@progress/kendo-vue-charts 3.3.2 → 3.3.3

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.
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@progress/kendo-drawing"),require("vue"),require("@progress/kendo-licensing"),require("@progress/kendo-vue-intl")):"function"==typeof define&&define.amd?define(["@progress/kendo-drawing","vue","@progress/kendo-licensing","@progress/kendo-vue-intl"],e):"object"==typeof exports?exports.KendoVueCharts=e(require("@progress/kendo-drawing"),require("vue"),require("@progress/kendo-licensing"),require("@progress/kendo-vue-intl")):t.KendoVueCharts=e(t.KendoDrawing,t.Vue,t.KendoLicensing,t.KendoVueIntl)}(window,(function(t,e,r,i){return function(t){var e={};function r(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,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(i,o,function(e){return t[e]}.bind(null,o));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=33)}([function(e,r){e.exports=t},function(t,e,r){"use strict";r.r(e),r.d(e,"classNames",(function(){return i})),r.d(e,"guid",(function(){return o})),r.d(e,"Keys",(function(){return n})),r.d(e,"noop",(function(){return j})),r.d(e,"getListeners",(function(){return L})),r.d(e,"hasListener",(function(){return E})),r.d(e,"canUseDOM",(function(){return a})),r.d(e,"focusFirstFocusableChild",(function(){return s})),r.d(e,"clone",(function(){return S})),r.d(e,"Draggable",(function(){return C})),r.d(e,"cloneArray",(function(){return A})),r.d(e,"cloneValue",(function(){return P})),r.d(e,"cloneObject",(function(){return O})),r.d(e,"cloneDate",(function(){return w})),r.d(e,"getTemplate",(function(){return R})),r.d(e,"templateRendering",(function(){return I})),r.d(e,"getTabIndex",(function(){return F})),r.d(e,"getDefaultSlots",(function(){return b})),r.d(e,"isRtl",(function(){return H})),r.d(e,"getDir",(function(){return U})),r.d(e,"getter",(function(){return M})),r.d(e,"setter",(function(){return N})),r.d(e,"validatePackage",(function(){return $})),r.d(e,"kendoThemeMaps",(function(){return G}));var i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter((function(t){return!0!==t&&!!t})).map((function(t){return Array.isArray(t)?i.apply(void 0,t):"object"==typeof t?Object.keys(t).map((function(e,r){return t[r]||t[e]&&e||null})).filter((function(t){return null!==t})).join(" "):t})).filter((function(t){return!!t})).join(" ")},o=function(){var t,e,r="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(r+="-"),r+=(12===t?4:16===t?3&e|8:e).toString(16);return r},n={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},a=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),s=function(t){if(t){var e=t.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');e.length&&e[0].focus&&e[0].focus()}},u=r(2),l=function(t,e){return function(r){return e(t(r))}},c=function(t,e,r){return t.addEventListener&&t.addEventListener(e,r)},p=function(t,e,r){return t&&t.removeEventListener&&t.removeEventListener(e,r)},h=function(){},f=function(t){return t.preventDefault()},d=/touch/;function v(t){return t.type.match(d)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var g=function(t){var e=this,r=t.press;void 0===r&&(r=h);var i=t.drag;void 0===i&&(i=h);var o=t.release;void 0===o&&(o=h);var n=t.mouseOnly;void 0===n&&(n=!1),this._pressHandler=l(v,r),this._dragHandler=l(v,i),this._releaseHandler=l(v,o),this._ignoreMouse=!1,this._mouseOnly=n,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var r=t.which;r&&r>1||e._ignoreMouse||(c(document,"mousemove",e._mousemove),c(document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){p(document,"mousemove",e._mousemove),p(document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(c(document,"pointermove",e._pointermove),c(document,"pointerup",e._pointerup),c(document,"pointercancel",e._pointerup),c(document,"contextmenu",f),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(p(document,"pointermove",e._pointermove),p(document,"pointerup",e._pointerup),p(document,"pointercancel",e._pointerup),p(document,"contextmenu",f),e._releaseHandler(t))}};g.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},g.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},g.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?c(t,"pointerdown",this._pointerdown):(c(t,"mousedown",this._mousedown),this._mouseOnly||(c(t,"touchstart",this._touchstart),c(t,"touchmove",this._touchmove),c(t,"touchend",this._touchend)))},g.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return p(t,"pointerdown",this._pointerdown),p(document,"pointermove",this._pointermove),p(document,"pointerup",this._pointerup),p(document,"contextmenu",f),void p(document,"pointercancel",this._pointerup);p(t,"mousedown",this._mousedown),this._mouseOnly||(p(t,"touchstart",this._touchstart),p(t,"touchmove",this._touchmove),p(t,"touchend",this._touchend))},g.prototype._usePointers=function(){return!this._mouseOnly&&g.supportPointerEvent()},g.prototype.update=function(t){var e=t.press;void 0===e&&(e=h);var r=t.drag;void 0===r&&(r=h);var i=t.release;void 0===i&&(i=h);var o=t.mouseOnly;void 0===o&&(o=!1),this._pressHandler=l(v,e),this._dragHandler=l(v,r),this._releaseHandler=l(v,i),this._mouseOnly=o},g.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},g.default=g;var y,m=g;function b(t){var e=t.$slots.default;return t.v3&&e&&"function"==typeof e?e():e}function x(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _=u.h,C=(x(y={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new m({press:this.press,drag:this.drag,release:this.release})},setup:_?function(){return{v3:!!_}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:_?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(t){this.element&&this.$emit("press",t,this.element)},drag:function(t){this.element&&this.$emit("drag",t,this.element)},release:function(t){this.element&&this.$emit("release",t,this.element)}}},"setup",_?function(){return{v3:!!_}}:void 0),x(y,"render",(function(t){return b(this)})),y),w=function(t){return t?new Date(t.getTime()):null};function S(t){var e={};return O(t,e),e}function O(t,e){for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];e[r]=P(i,e[r])}}function P(t,e){if(Array.isArray(t))return A(t);if(t instanceof Date)return w(t);if(t&&"object"==typeof t){var r=e||{};return O(t,r),r}return t}function A(t){return t.map((function(t){return P(t,void 0)}))}var j=function(){},k=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,T={};function M(t){if(T[t])return T[t];var e=[];return t.replace(k,(function(t,r,i,o){e.push(void 0!==r?r:i||o)})),T[t]=function(t){for(var r=t,i=0;i<e.length&&r;i++)r=r[e[i]];return r},T[t]}T.undefined=function(){};var V={};function N(t){if(V[t])return V[t];var e=[];return t.replace(k,(function(t,r,i,o){e.push(void 0!==r?r:i||o)})),V[t]=function(t,r){for(var i=t,o=e.length-1,n=0;n<o&&i;n++)i=i[e[n]]=i[e[n]]||{};i[e[o]]=r},V[t]}function E(t){return this.v3?Object.keys(this.$attrs).map((function(t){return t.toLowerCase()})).some((function(e){return e.endsWith(t.toLowerCase())})):this.$listeners[t]}function L(){if(this.v3){var t={};for(var e in this.$attrs)e.startsWith("on")&&(t[e]=this.$attrs[e]);return t}return this.$listeners}V.undefined=function(t){return t};var D=function(){return(D=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},B=u.h;function I(t,e){if(t){var r=B?this.$slots[t]||(t.toLowerCase?this.$slots[t.toLowerCase()]:null):this.$scopedSlots[t]||(t.toLowerCase?this.$scopedSlots[t.toLowerCase()]:null);return"string"==typeof t&&r?{kt:!0,type:"slot",render:r,listeners:e}:"string"==typeof t||"object"==typeof t||"function"==typeof t&&t.component?{kt:!0,type:"component",render:t,listeners:e}:{kt:!0,type:"renderFunction",render:t,listeners:e}}}function R(t){var e,r,i,o=t.h,n=t.template,a=t.defaultRendering,s=t.defaultSlots,u=t.additionalProps,l=t.additionalListeners,c=t.swapDefaultSlots;if(!n)return a;if(B){var p=a?a.props:{};e=D(D({},z(l)),n.listeners),r=D(D(D({},p),u),e),i=D(D({},r),e)}else{var h=a&&a.componentOptions,f=h?a.componentOptions.listeners:{},d=h?a.componentOptions.propsData:{};e=D(D(D(D({},f),l),z(l)),n.listeners),i={props:r=D(D(D({},d),u),e),on:e}}if("slot"===n.type){var v=n.render({props:r,listeners:e,methods:e,defaultSlots:s});return v?v[0]:void 0}return"renderFunction"===n.type?c?n.render(o,a,s,r,e):n.render(o,a,r,e,s):o(n.render,i,B?function(){return[s]}:[s])}function z(t){if(!t)return t;for(var e={},r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e["on"+o.charAt(0).toUpperCase()+o.slice(1)]=t[o]}return e}var F=function(t,e,r){var i="string"==typeof t?parseInt(t,void 0):t;if(NaN!==i)return void 0!==i?i:e?r?void 0:-1:0};function H(t){return Boolean(a&&t&&"rtl"===getComputedStyle(t).direction)}function U(t,e){if(!e&&a&&t){var r=window.getComputedStyle(t).direction;if(r)return r}return e}var K=r(10);function $(t){if(void 0!==K)K.validatePackage(t);else{var e="License activation failed for "+t.name+"\n";e+="The @progress/kendo-licensing script is not loaded.\n",e+="See "+t.licensingDocsUrl+" for more information.\n",console.warn(e)}}var G={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(t,r){t.exports=e},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.removeUndefinedProps=e.toggle=e.validateChildren=e.hasParent=void 0,e.hasParent=function(t,e){for(var r=t;r&&r!==e;)r=r.parentNode;return!!r},e.removeUndefinedProps=function(t){var e=i({},t);return Object.keys(e).forEach((function(t){void 0===e[t]&&delete e[t],"dataItems"===t&&(e.data=e[t],delete e[t]),"lineStyle"===t&&e[t]&&(e.style=e[t],delete e[t])})),e},e.validateChildren=function(t,e,r,i){var o=t[e];if(o&&Array.isArray(o))for(var n=0,a=o;n<a.length;n++){var s=a[n];if(!s.type||s.type!==i)return new Error(r+" children should be Array of type "+i.displayName+".")}return null};e.toggle=function(t){return void 0!==t&&!t}},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigurationVue2=e.Configuration=void 0;var s=a(r(2)),u=s.h,l=(s.ref,r(1)),c={name:"KendoConfiguration",props:{chartKey:String,config:{type:Object,default:function(){return{}}}},data:function(){return{childState:{},index:null}},provide:function(){return{addChild:this.addChildOption,removeChild:this.removeChildOption,childOption:!0}},inject:{childOption:{default:null},addChild:{default:l.noop},removeChild:{default:l.noop},child:{default:{}},parentKey:{default:null},chartCollection:{default:null},dispatchOptions:{default:null},childrenObserver:{default:null}},created:function(){this.currentIndex=void 0,this.uid=l.guid(),this.addChild&&this.addChild({chartKey:this.$props.chartKey,payload:Object.assign({},this.$props.config),uid:this.uid})},mounted:function(){this.dispatch()},watch:{config:function(t,e){JSON.stringify(t)!==JSON.stringify(e)&&this.dispatch()}},destroyed:u?void 0:function(){this.onDestroyed()},unmounted:function(){this.onDestroyed()},setup:u?function(){return{v3:!!u}}:void 0,render:function(t){return(u||t)("div",[l.getDefaultSlots(this)])},methods:{onDestroyed:function(){if(this.removeChild){this.removeChild({uid:this.uid});var t=this.$props,e=t.chartKey,r=t.parentStore;t.config;(r||this.dispatchOptions)({chartKey:e,parentKey:this.parentKey,chartCollectionIdxKey:this.chartCollection+"_",uid:this.uid})}},addChildOption:function(t){var e;this.childState=i(i({},this.childState),((e={})[t.chartKey]=t.payload,e)),this.dispatch()},removeChildOption:function(){this.childState={}},dispatch:function(){var t=this,e=this.$props,r=e.chartKey,i=e.parentStore,o=e.config,n=i||this.dispatchOptions;this.childOption?this.addChild({chartKey:r,payload:Object.assign({},o,this.childState)}):this.chartCollection?(this.currentIndex=this.child.collection.findIndex((function(e){return e.uid===t.uid})),n({chartKey:r,parentKey:this.parentKey,chartCollectionIdxKey:this.chartCollection+"_"+this.currentIndex,payload:Object.assign({},o,{uid:this.uid},this.childState)})):n({chartKey:r,payload:Object.assign({},o,this.childState)})}}};e.ConfigurationVue2=c;var p=c;e.Configuration=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseEvent=void 0;var i=function(t){this.target=t};e.BaseEvent=i},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.PreventableEvent=void 0;var n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.prevented=!1,e}return o(e,t),e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}(r(5).BaseEvent);e.PreventableEvent=n},function(t,e,r){"use strict";r.r(e),r.d(e,"autoMajorUnit",(function(){return It})),r.d(e,"Point",(function(){return Rt})),r.d(e,"Box",(function(){return Ft})),r.d(e,"Ring",(function(){return Ut})),r.d(e,"Sector",(function(){return Kt})),r.d(e,"ShapeBuilder",(function(){return Gt})),r.d(e,"ShapeElement",(function(){return Qt})),r.d(e,"ChartElement",(function(){return Yt})),r.d(e,"BoxElement",(function(){return qt})),r.d(e,"RootElement",(function(){return re})),r.d(e,"FloatElement",(function(){return oe})),r.d(e,"Text",(function(){return se})),r.d(e,"TextBox",(function(){return ce})),r.d(e,"Title",(function(){return he})),r.d(e,"AxisLabel",(function(){return de})),r.d(e,"Axis",(function(){return Ee})),r.d(e,"Note",(function(){return ge})),r.d(e,"CategoryAxis",(function(){return rr})),r.d(e,"DateCategoryAxis",(function(){return pr})),r.d(e,"DateValueAxis",(function(){return xr})),r.d(e,"NumericAxis",(function(){return mr})),r.d(e,"LogarithmicAxis",(function(){return Sr})),r.d(e,"PolarAxis",(function(){return kr})),r.d(e,"RadarCategoryAxis",(function(){return Ar})),r.d(e,"RadarNumericAxis",(function(){return Nr})),r.d(e,"RadarLogarithmicAxis",(function(){return Lr})),r.d(e,"CurveProcessor",(function(){return Br})),r.d(e,"Gradients",(function(){return Jt})),r.d(e,"rectToBox",(function(){return ue})),r.d(e,"ChartAxis",(function(){return Ir})),r.d(e,"ChartPane",(function(){return Fr})),r.d(e,"ChartPlotArea",(function(){return Hr})),r.d(e,"findAxisByName",(function(){return Rr})),r.d(e,"Aggregates",(function(){return $r})),r.d(e,"AreaChart",(function(){return Bi})),r.d(e,"AreaSegment",(function(){return Ni})),r.d(e,"AxisGroupRangeTracker",(function(){return Ii})),r.d(e,"Bar",(function(){return Ui})),r.d(e,"BarChart",(function(){return Zi})),r.d(e,"BarLabel",(function(){return zi})),r.d(e,"BoxPlotChart",(function(){return ao})),r.d(e,"BoxPlot",(function(){return oo})),r.d(e,"BubbleChart",(function(){return vo})),r.d(e,"Bullet",(function(){return bo})),r.d(e,"BulletChart",(function(){return _o})),r.d(e,"CandlestickChart",(function(){return ro})),r.d(e,"Candlestick",(function(){return Ji})),r.d(e,"CategoricalChart",(function(){return di})),r.d(e,"CategoricalErrorBar",(function(){return ci})),r.d(e,"CategoricalPlotArea",(function(){return Pn})),r.d(e,"Chart",(function(){return vs})),r.d(e,"ChartContainer",(function(){return ko})),r.d(e,"ClipAnimation",(function(){return ji})),r.d(e,"ClusterLayout",(function(){return Xi})),r.d(e,"Crosshair",(function(){return Ao})),r.d(e,"CrosshairTooltip",(function(){return Oo})),r.d(e,"DefaultAggregates",(function(){return en})),r.d(e,"DonutChart",(function(){return ma})),r.d(e,"DonutPlotArea",(function(){return ba})),r.d(e,"DonutSegment",(function(){return ga})),r.d(e,"ErrorBarBase",(function(){return li})),r.d(e,"ErrorRangeCalculator",(function(){return Zr})),r.d(e,"Highlight",(function(){return jn})),r.d(e,"SharedTooltip",(function(){return Yn})),r.d(e,"Legend",(function(){return Rn})),r.d(e,"LegendItem",(function(){return Bn})),r.d(e,"LegendLayout",(function(){return Dn})),r.d(e,"LineChart",(function(){return Vi})),r.d(e,"LinePoint",(function(){return mi})),r.d(e,"LineSegment",(function(){return xi})),r.d(e,"Pane",(function(){return Vo})),r.d(e,"PieAnimation",(function(){return Jn})),r.d(e,"PieChart",(function(){return fa})),r.d(e,"PieChartMixin",(function(){return ca})),r.d(e,"PiePlotArea",(function(){return da})),r.d(e,"PieSegment",(function(){return la})),r.d(e,"PlotAreaBase",(function(){return qo})),r.d(e,"PlotAreaEventsMixin",(function(){return Zo})),r.d(e,"PlotAreaFactory",(function(){return Fn})),r.d(e,"PointEventsMixin",(function(){return vi})),r.d(e,"RangeBar",(function(){return on})),r.d(e,"RangeBarChart",(function(){return an})),r.d(e,"RangeAreaPoint",(function(){return ln})),r.d(e,"RangeAreaChart",(function(){return vn})),r.d(e,"ScatterChart",(function(){return co})),r.d(e,"ScatterErrorBar",(function(){return so})),r.d(e,"ScatterLineChart",(function(){return ea})),r.d(e,"Selection",(function(){return $n})),r.d(e,"SeriesAggregator",(function(){return Jo})),r.d(e,"SeriesBinder",(function(){return Yr})),r.d(e,"SplineSegment",(function(){return Oi})),r.d(e,"SplineAreaSegment",(function(){return Di})),r.d(e,"StackWrap",(function(){return Wi})),r.d(e,"Tooltip",(function(){return Gn})),r.d(e,"OHLCChart",(function(){return yn})),r.d(e,"OHLCPoint",(function(){return gn})),r.d(e,"WaterfallChart",(function(){return xn})),r.d(e,"WaterfallSegment",(function(){return bn})),r.d(e,"XYPlotArea",(function(){return oa})),r.d(e,"MousewheelZoom",(function(){return Ln})),r.d(e,"ZoomSelection",(function(){return En})),r.d(e,"Pannable",(function(){return Vn})),r.d(e,"anyHasZIndex",(function(){return ki})),r.d(e,"appendIfNotNull",(function(){return No})),r.d(e,"areNumbers",(function(){return to})),r.d(e,"bindSegments",(function(){return Lo})),r.d(e,"categoriesCount",(function(){return hi})),r.d(e,"countNumbers",(function(){return Ur})),r.d(e,"equalsIgnoreCase",(function(){return Do})),r.d(e,"evalOptions",(function(){return pi})),r.d(e,"filterSeriesByType",(function(){return Bo})),r.d(e,"getDateField",(function(){return Io})),r.d(e,"getField",(function(){return Gr})),r.d(e,"hasGradientOverlay",(function(){return Fi})),r.d(e,"hasValue",(function(){return uo})),r.d(e,"isDateAxis",(function(){return Ro})),r.d(e,"segmentVisible",(function(){return Eo})),r.d(e,"singleItemOrArray",(function(){return zo})),r.d(e,"createOutOfRangePoints",(function(){return Ko})),r.d(e,"ChartService",(function(){return je})),r.d(e,"DomEventsBuilder",(function(){return Te})),r.d(e,"FormatService",(function(){return Se})),r.d(e,"IntlService",(function(){return xe})),r.d(e,"TemplateService",(function(){return F})),r.d(e,"Sparkline",(function(){return Cs})),r.d(e,"Navigator",(function(){return Ts})),r.d(e,"NavigatorHint",(function(){return Ps})),r.d(e,"StockChart",(function(){return Vs})),r.d(e,"constants",(function(){return i})),r.d(e,"Gauge",(function(){return Ks})),r.d(e,"LinearGauge",(function(){return du})),r.d(e,"LinearPointer",(function(){return eu})),r.d(e,"ArrowLinearPointer",(function(){return au})),r.d(e,"BarLinearPointer",(function(){return pu})),r.d(e,"LinearScale",(function(){return Zs})),r.d(e,"RadialGauge",(function(){return Mu})),r.d(e,"RadialPointer",(function(){return ju})),r.d(e,"RadialScale",(function(){return _u})),r.d(e,"ArcGauge",(function(){return Iu})),r.d(e,"RangePointer",(function(){return Bu})),r.d(e,"ArcScale",(function(){return Nu})),r.d(e,"CircularGauge",(function(){return Ru})),r.d(e,"Barcode",(function(){return Al})),r.d(e,"barcodeValidator",(function(){return kl})),r.d(e,"QRCode",(function(){return Mc})),r.d(e,"qrcodeValidator",(function(){return Vc})),r.d(e,"Map",(function(){return Uh})),r.d(e,"Location",(function(){return Hc})),r.d(e,"Extent",(function(){return Rp})),r.d(e,"addClass",(function(){return _})),r.d(e,"removeClass",(function(){return w})),r.d(e,"alignPathToPixel",(function(){return O})),r.d(e,"clockwise",(function(){return P})),r.d(e,"convertableToNumber",(function(){return k})),r.d(e,"deepExtend",(function(){return V})),r.d(e,"elementStyles",(function(){return B})),r.d(e,"getSpacing",(function(){return I})),r.d(e,"getTemplate",(function(){return H})),r.d(e,"getter",(function(){return $})),r.d(e,"grep",(function(){return G})),r.d(e,"hasClasses",(function(){return X})),r.d(e,"HashMap",(function(){return W})),r.d(e,"inArray",(function(){return q})),r.d(e,"interpolateValue",(function(){return Z})),r.d(e,"InstanceObserver",(function(){return J})),r.d(e,"isArray",(function(){return x})),r.d(e,"isFunction",(function(){return T})),r.d(e,"isNumber",(function(){return A})),r.d(e,"isObject",(function(){return N})),r.d(e,"isString",(function(){return j})),r.d(e,"map",(function(){return tt})),r.d(e,"mousewheelDelta",(function(){return rt})),r.d(e,"FontLoader",(function(){return _t})),r.d(e,"setDefaultOptions",(function(){return Ct})),r.d(e,"sparseArrayLimits",(function(){return wt})),r.d(e,"styleValue",(function(){return E})),r.d(e,"find",(function(){return St})),r.d(e,"elementScale",(function(){return jt})),r.d(e,"autoTextColor",(function(){return kt})),r.d(e,"createHashSet",(function(){return Lt})),r.d(e,"defaultErrorHandler",(function(){return Dt})),r.d(e,"keys",(function(){return Bt})),r.d(e,"append",(function(){return ot})),r.d(e,"bindEvents",(function(){return nt})),r.d(e,"Class",(function(){return S.Class})),r.d(e,"defined",(function(){return at})),r.d(e,"deg",(function(){return st})),r.d(e,"elementOffset",(function(){return ut})),r.d(e,"elementSize",(function(){return lt})),r.d(e,"eventCoordinates",(function(){return ct})),r.d(e,"eventElement",(function(){return pt})),r.d(e,"hashKey",(function(){return ht})),r.d(e,"last",(function(){return ft})),r.d(e,"limitValue",(function(){return dt})),r.d(e,"logToConsole",(function(){return S.logToConsole})),r.d(e,"objectKey",(function(){return vt})),r.d(e,"rad",(function(){return gt})),r.d(e,"round",(function(){return yt})),r.d(e,"unbindEvents",(function(){return mt})),r.d(e,"valueOrDefault",(function(){return bt})),r.d(e,"chartBaseTheme",(function(){return Wh}));var i={};r.r(i),r.d(i,"NAVIGATOR_AXIS",(function(){return js})),r.d(i,"NAVIGATOR_PANE",(function(){return As}));var o="arc",n="#000",a="bottom",s="center",u="circle",l="date",c=/\{\d+:?/,p="left",h=Number.MAX_VALUE,f=-Number.MAX_VALUE,d="right",v="top",g="value",y="#fff",m="x",b="y";function x(t){return Array.isArray(t)}function _(t,e){for(var r=x(e)?e:[e],i=0;i<r.length;i++){var o=r[i];-1===t.className.indexOf(o)&&(t.className+=" "+o)}}var C=/\s+/g;function w(t,e){t&&t.className&&(t.className=t.className.replace(e,"").replace(C," "))}var S=r(0);function O(t){var e=.5;t.options.stroke&&S.drawing.util.defined(t.options.stroke.width)&&t.options.stroke.width%2==0&&(e=0);for(var r=0;r<t.segments.length;r++)t.segments[r].anchor().round(0).translate(e,e);return t}function P(t,e){return-t.x*e.y+t.y*e.x<0}function A(t){return"number"==typeof t&&!isNaN(t)}function j(t){return"string"==typeof t}function k(t){return A(t)||j(t)&&isFinite(t)}function T(t){return"function"==typeof t}function M(t,e){for(var r in e){var i=e[r],o=typeof i,n=void 0;if((n="object"===o&&null!==i?i.constructor:null)&&n!==Array)if(i instanceof Date)t[r]=new Date(i.getTime());else if(T(i.clone))t[r]=i.clone();else{var a=t[r];t[r]="object"==typeof a&&a||{},M(t[r],i)}else"undefined"!==o&&(t[r]=i)}return t}function V(t){for(var e=arguments,r=arguments.length,i=1;i<r;i++)M(t,e[i]);return t}function N(t){return"object"==typeof t}function E(t){return A(t)?t+"px":t}var L=/width|height|top|left|bottom|right/i;function D(t){return L.test(t)}function B(t,e){var r=j(e)?[e]:e;if(x(r)){for(var i={},o=window.getComputedStyle(t),n=0;n<r.length;n++){var a=r[n];i[a]=D(a)?parseFloat(o[a]):o[a]}return i}if(N(e))for(var s in e)t.style[s]=E(e[s])}function I(t,e){void 0===e&&(e=0);var r={top:0,right:0,bottom:0,left:0};return"number"==typeof t?r.top=r[d]=r[a]=r[p]=t:(r.top=t.top||e,r[d]=t[d]||e,r[a]=t[a]||e,r[p]=t[p]||e),r}var R={compile:function(t){return t}},z=function(){};z.register=function(t){R=t},z.compile=function(t){return R.compile(t)};var F=z;function H(t){var e;return void 0===t&&(t={}),t.template?t.template=e=F.compile(t.template):T(t.content)&&(e=t.content),e}var U=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,K={};function $(t){if(K[t])return K[t];var e=[];return t.replace(U,(function(t,r,i,o){e.push(S.drawing.util.defined(r)?r:i||o)})),K[t]=function(t){for(var r=t,i=0;i<e.length&&r;i++)r=r[e[i]];return r},K[t]}function G(t,e){for(var r=t.length,i=[],o=0;o<r;o++)e(t[o])&&i.push(t[o]);return i}function X(t,e){if(t.className)for(var r=e.split(" "),i=0;i<r.length;i++)if(-1!==t.className.indexOf(r[i]))return!0}K[void 0]=function(t){return t};var Y=function(){this._map={}};Y.prototype.get=function(t){return this._map[this._key(t)]},Y.prototype.set=function(t,e){this._map[this._key(t)]=e},Y.prototype._key=function(t){return t instanceof Date?t.getTime():t};var W=Y;function q(t,e){if(e)return-1!==e.indexOf(t)}function Z(t,e,r){return S.drawing.util.round(t+(e-t)*r,3)}var Q=function(t,e){this.observer=t,this.handlerMap=V({},this.handlerMap,e)};Q.prototype.trigger=function(t,e){var r,i=this.observer,o=this.handlerMap;return o[t]?r=this.callObserver(o[t],e):i.trigger&&(r=this.callObserver("trigger",t,e)),r},Q.prototype.callObserver=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return this.observer[t].apply(this.observer,e)},Q.prototype.requiresHandlers=function(t){if(this.observer.requiresHandlers)return this.observer.requiresHandlers(t);for(var e=0;e<t.length;e++)if(this.handlerMap[t[e]])return!0};var J=Q;function tt(t,e){for(var r=t.length,i=[],o=0;o<r;o++){var n=e(t[o]);S.drawing.util.defined(n)&&i.push(n)}return i}var et=S.support.browser||{};function rt(t){var e=0;return t.wheelDelta?(e=-t.wheelDelta/120,et.webkit&&(e/=2*Math.max(window.devicePixelRatio,.625))):t.detail&&(e=t.detail/3),e=e>0?Math.ceil(e):Math.floor(e)}var it=S.drawing.util,ot=it.append,nt=it.bindEvents,at=it.defined,st=it.deg,ut=it.elementOffset,lt=it.elementSize,ct=it.eventCoordinates,pt=it.eventElement,ht=it.hashKey,ft=it.last,dt=it.limitValue,vt=it.objectKey,gt=it.rad,yt=it.round,mt=it.unbindEvents,bt=it.valueOrDefault,xt=function(){};xt.fetchFonts=function(t,e,r){void 0===r&&(r={depth:0});!t||r.depth>5||!document.fonts||Object.keys(t).forEach((function(i){var o=t[i];"dataSource"!==i&&"$"!==i[0]&&o&&("font"===i?e.push(o):"object"==typeof o&&(r.depth++,xt.fetchFonts(o,e,r),r.depth--))}))},xt.loadFonts=function(t,e){var r=[];if(t.length>0&&document.fonts){try{r=t.map((function(t){return document.fonts.load(t)}))}catch(t){Object(S.logToConsole)(t)}Promise.all(r).then(e,e)}else e()},xt.preloadFonts=function(t,e){var r=[];xt.fetchFonts(t,r),xt.loadFonts(r,e)};var _t=xt;function Ct(t,e){var r=t.prototype;r.options?r.options=V({},r.options,e):r.options=e}function wt(t){for(var e=h,r=f,i=0,o=t.length;i<o;i++){var n=t[i];null!==n&&isFinite(n)&&(e=Math.min(e,n),r=Math.max(r,n))}return{min:e===h?void 0:e,max:r===f?void 0:r}}function St(t,e){for(var r=0;r<t.length;r++){var i=t[r];if(e(i,r,t))return i}}var Ot=S.geometry.Matrix,Pt=/matrix\((.*)\)/;function At(t){var e=getComputedStyle(t).transform;return"none"===e?Ot.unit():function(t){var e=t.match(Pt);if(null===e||2!==e.length)return Ot.unit();var r=e[1].split(",").map((function(t){return parseFloat(t)}));return new(Function.prototype.bind.apply(Ot,[null].concat(r)))}(e)}function jt(t){if(!t)return Ot.unit();for(var e=At(t),r=t.parentElement;r;){var i=At(r);e=e.multiplyCopy(i),r=r.parentElement}return e.b=e.c=e.e=e.f=0,e}var kt=function(t){return new S.Color(t).isDark()?y:n},Tt={},Mt=function(t){this._index={},this._values=t?t.slice(0):[];for(var e=0;e<this._values.length;e++)this._index[this._values[e]]=e},Vt={size:{configurable:!0}};Mt.prototype.values=function(){return this._values.filter((function(t){return t!==Tt}))},Mt.prototype.has=function(t){return void 0!==this._index[t]},Mt.prototype.add=function(t){this.has(t)||(this._index[t]=this._values.length,this._values.push(t))},Mt.prototype.delete=function(t){var e=this._index[t];void 0!==e&&(this._values[e]=Tt,delete this._index[t])},Mt.prototype.clear=function(){this._index={},this._values=[]},Vt.size.get=function(){return this._values.length},Object.defineProperties(Mt.prototype,Vt);var Nt=function(t){this._set=new Set(t)},Et={size:{configurable:!0}};Nt.prototype.values=function(){return Array.from(this._set)},Nt.prototype.has=function(t){return this._set.has(t)},Nt.prototype.add=function(t){this._set.add(t)},Nt.prototype.delete=function(t){this._set.delete(t)},Nt.prototype.clear=function(){this._set.clear()},Et.size.get=function(){return this._set.size},Object.defineProperties(Nt.prototype,Et);function Lt(t){return function(){var t=!1;"function"==typeof Set&&(t=new Set([1]).has(1));return t}()?new Nt(t):new Mt(t)}function Dt(t){throw t}var Bt={INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110};function It(t,e){var r=yt(e-t,9);if(0===r){if(0===e)return.1;r=Math.abs(e)}var i=Math.pow(10,Math.floor(Math.log(r)/Math.log(10))),o=yt(r/i,10);return yt(i*(o<1.904762?.2:o<4.761904?.5:o<9.523809?1:2),10)}var Rt=function(t){function e(e,r){t.call(this),this.x=e||0,this.y=r||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y},e.prototype.rotate=function(t,e){var r=gt(e),i=Math.cos(r),o=Math.sin(r),n=t.x,a=t.y,s=this.x,u=this.y;return this.x=yt(n+(s-n)*i+(u-a)*o,3),this.y=yt(a+(u-a)*i-(s-n)*o,3),this},e.prototype.multiply=function(t){return this.x*=t,this.y*=t,this},e.prototype.distanceTo=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},e.onCircle=function(t,r,i){var o=gt(r);return new e(t.x-i*Math.cos(o),t.y-i*Math.sin(o))},e}(S.Class);function zt(t,e,r,i,o){var n=gt(o);return new Rt(r+(t-r)*Math.cos(n)+(e-i)*Math.sin(n),i-(t-r)*Math.sin(n)+(e-i)*Math.cos(n))}var Ft=function(t){function e(e,r,i,o){t.call(this),this.x1=e||0,this.y1=r||0,this.x2=i||0,this.y2=o||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.equals=function(t){return this.x1===t.x1&&this.x2===t.x2&&this.y1===t.y1&&this.y2===t.y2},e.prototype.width=function(){return this.x2-this.x1},e.prototype.height=function(){return this.y2-this.y1},e.prototype.translate=function(t,e){return this.x1+=t,this.x2+=t,this.y1+=e,this.y2+=e,this},e.prototype.move=function(t,e){var r=this.height(),i=this.width();return at(t)&&(this.x1=t,this.x2=this.x1+i),at(e)&&(this.y1=e,this.y2=this.y1+r),this},e.prototype.wrap=function(t){return this.x1=Math.min(this.x1,t.x1),this.y1=Math.min(this.y1,t.y1),this.x2=Math.max(this.x2,t.x2),this.y2=Math.max(this.y2,t.y2),this},e.prototype.wrapPoint=function(t){var r=x(t),i=r?t[0]:t.x,o=r?t[1]:t.y;return this.wrap(new e(i,o,i,o)),this},e.prototype.snapTo=function(t,e){return e!==m&&e||(this.x1=t.x1,this.x2=t.x2),e!==b&&e||(this.y1=t.y1,this.y2=t.y2),this},e.prototype.alignTo=function(t,e){var r=this.height(),i=this.width(),o=e===v||e===a?b:m,n=o===b?r:i;if(e===s){var u=t.center(),l=this.center();this.x1+=u.x-l.x,this.y1+=u.y-l.y}else this[o+1]=e===v||e===p?t[o+1]-n:t[o+2];return this.x2=this.x1+i,this.y2=this.y1+r,this},e.prototype.shrink=function(t,e){return this.x2-=t,this.y2-=e,this},e.prototype.expand=function(t,e){return this.shrink(-t,-e),this},e.prototype.pad=function(t){var e=I(t);return this.x1-=e.left,this.x2+=e.right,this.y1-=e.top,this.y2+=e.bottom,this},e.prototype.unpad=function(t){var e=I(t);return e.left=-e.left,e.top=-e.top,e.right=-e.right,e.bottom=-e.bottom,this.pad(e)},e.prototype.clone=function(){return new e(this.x1,this.y1,this.x2,this.y2)},e.prototype.center=function(){return new Rt(this.x1+this.width()/2,this.y1+this.height()/2)},e.prototype.containsPoint=function(t){return t.x>=this.x1&&t.x<=this.x2&&t.y>=this.y1&&t.y<=this.y2},e.prototype.points=function(){return[new Rt(this.x1,this.y1),new Rt(this.x2,this.y1),new Rt(this.x2,this.y2),new Rt(this.x1,this.y2)]},e.prototype.getHash=function(){return[this.x1,this.y1,this.x2,this.y2].join(",")},e.prototype.overlaps=function(t){return!(t.y2<this.y1||this.y2<t.y1||t.x2<this.x1||this.x2<t.x1)},e.prototype.rotate=function(t){var e=this.width(),r=this.height(),i=this.center(),o=i.x,n=i.y,a=zt(0,0,o,n,t),s=zt(e,0,o,n,t),u=zt(e,r,o,n,t),l=zt(0,r,o,n,t);return e=Math.max(a.x,s.x,u.x,l.x)-Math.min(a.x,s.x,u.x,l.x),r=Math.max(a.y,s.y,u.y,l.y)-Math.min(a.y,s.y,u.y,l.y),this.x2=this.x1+e,this.y2=this.y1+r,this},e.prototype.toRect=function(){return new S.geometry.Rect([this.x1,this.y1],[this.width(),this.height()])},e.prototype.hasSize=function(){return 0!==this.width()&&0!==this.height()},e.prototype.align=function(t,e,r){var i=e+1,o=e+2,n=e===m?"width":"height",u=this[n]();q(r,[p,v])?(this[i]=t[i],this[o]=this[i]+u):q(r,[d,a])?(this[o]=t[o],this[i]=this[o]-u):r===s&&(this[i]=t[i]+(t[n]()-u)/2,this[o]=this[i]+u)},e}(S.Class);function Ht(t,e){return t-e}var Ut=function(t){function e(e,r,i,o,n){t.call(this),this.center=e,this.innerRadius=r,this.radius=i,this.startAngle=o,this.angle=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.center,this.innerRadius,this.radius,this.startAngle,this.angle)},e.prototype.middle=function(){return this.startAngle+this.angle/2},e.prototype.setRadius=function(t,e){return e?this.innerRadius=t:this.radius=t,this},e.prototype.point=function(t,e){var r=gt(t),i=Math.cos(r),o=Math.sin(r),n=e?this.innerRadius:this.radius,a=yt(this.center.x-i*n,3),s=yt(this.center.y-o*n,3);return new Rt(a,s)},e.prototype.adjacentBox=function(t,e,r){var i=this.clone().expand(t),o=i.middle(),n=i.point(o),a=e/2,s=r/2,u=Math.sin(gt(o)),l=Math.cos(gt(o)),c=n.x-a,p=n.y-s;return Math.abs(u)<.9&&(c+=a*-l/Math.abs(l)),Math.abs(l)<.9&&(p+=s*-u/Math.abs(u)),new Ft(c,p,c+e,p+r)},e.prototype.containsPoint=function(t){var e=this.center,r=this.innerRadius,i=this.radius,o=this.startAngle,n=this.startAngle+this.angle,a=t.x-e.x,s=t.y-e.y,u=new Rt(a,s),l=this.point(o),c=new Rt(l.x-e.x,l.y-e.y),p=this.point(n),h=new Rt(p.x-e.x,p.y-e.y),f=yt(a*a+s*s,3);return(c.equals(u)||P(c,u))&&!P(h,u)&&f>=r*r&&f<=i*i},e.prototype.getBBox=function(){var t,e=new Ft(h,h,f,f),r=yt(this.startAngle%360),i=yt((r+this.angle)%360),o=this.innerRadius,n=[0,90,180,270,r,i].sort(Ht),a=n.indexOf(r),s=n.indexOf(i);t=r===i?n:a<s?n.slice(a,s+1):[].concat(n.slice(0,s+1),n.slice(a,n.length));for(var u=0;u<t.length;u++){var l=this.point(t[u]);e.wrapPoint(l),e.wrapPoint(l,o)}return o||e.wrapPoint(this.center),e},e.prototype.expand=function(t){return this.radius+=t,this},e}(S.Class),Kt=function(t){function e(e,r,i,o){t.call(this,e,0,r,i,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.expand=function(e){return t.prototype.expand.call(this,e)},e.prototype.clone=function(){return new e(this.center,this.radius,this.startAngle,this.angle)},e.prototype.setRadius=function(t){return this.radius=t,this},e}(Ut),$t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createRing=function(t,e){var r=t.startAngle+180,i=t.angle+r;t.angle>0&&r===i&&(i+=.001);var o=new S.geometry.Point(t.center.x,t.center.y),n=Math.max(t.radius,0),a=Math.max(t.innerRadius,0),s=new S.geometry.Arc(o,{startAngle:r,endAngle:i,radiusX:n,radiusY:n}),u=S.drawing.Path.fromArc(s,e).close();if(a){s.radiusX=s.radiusY=a;var l=s.pointAt(i);u.lineTo(l.x,l.y),u.arc(i,r,a,a,!0)}else u.lineTo(o.x,o.y);return u},e}(S.Class);$t.current=new $t;var Gt=$t,Xt=function(t){function e(e){t.call(this),this.children=[],this.options=V({},this.options,this.initUserOptions(e))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){return t},e.prototype.reflow=function(t){for(var e,r=this.children,i=0;i<r.length;i++){var o=r[i];o.reflow(t),e=e?e.wrap(o.box):o.box.clone()}this.box=e||t},e.prototype.destroy=function(){var t=this.children;this.animation&&this.animation.destroy();for(var e=0;e<t.length;e++)t[e].destroy()},e.prototype.getRoot=function(){var t=this.parent;return t?t.getRoot():null},e.prototype.getSender=function(){var t=this.getService();if(t)return t.sender},e.prototype.getService=function(){for(var t=this;t;){if(t.chartService)return t.chartService;t=t.parent}},e.prototype.translateChildren=function(t,e){for(var r=this.children,i=r.length,o=0;o<i;o++)r[o].box.translate(t,e)},e.prototype.append=function(){for(var t=arguments,e=this,r=0;r<arguments.length;r++){var i=t[r];e.children.push(i),i.parent=e}},e.prototype.renderVisual=function(){!1!==this.options.visible&&(this.createVisual(),this.addVisual(),this.renderChildren(),this.createAnimation(),this.renderComplete())},e.prototype.addVisual=function(){this.visual&&(this.visual.chartElement=this,this.parent&&this.parent.appendVisual(this.visual))},e.prototype.renderChildren=function(){for(var t=this.children,e=t.length,r=0;r<e;r++)t[r].renderVisual()},e.prototype.createVisual=function(){this.visual=new S.drawing.Group({zIndex:this.options.zIndex,visible:bt(this.options.visible,!0)})},e.prototype.createAnimation=function(){this.visual&&this.options.animation&&(this.animation=S.drawing.Animation.create(this.visual,this.options.animation))},e.prototype.appendVisual=function(t){t.chartElement||(t.chartElement=this),t.options.noclip?this.clipRoot().visual.append(t):at(t.options.zIndex)?this.stackRoot().stackVisual(t):this.isStackRoot?this.stackVisual(t):this.visual?this.visual.append(t):this.parent.appendVisual(t)},e.prototype.clipRoot=function(){return this.parent?this.parent.clipRoot():this},e.prototype.stackRoot=function(){return this.parent?this.parent.stackRoot():this},e.prototype.stackVisual=function(t){var e,r=t.options.zIndex||0,i=this.visual.children,o=i.length;for(e=0;e<o;e++){var n=i[e];if(bt(n.options.zIndex,0)>r)break}this.visual.insert(e,t)},e.prototype.traverse=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++){var o=e[i];t(o),o.traverse&&o.traverse(t)}},e.prototype.closest=function(t){for(var e=this,r=!1;e&&!r;)(r=t(e))||(e=e.parent);if(r)return e},e.prototype.renderComplete=function(){},e.prototype.hasHighlight=function(){var t=(this.options||{}).highlight;return!(!this.createHighlight||t&&!1===t.visible)},e.prototype.toggleHighlight=function(t,e){var r=this,i=(this.options||{}).highlight||{},o=i.visual,n=this._highlight;if(!n){var a={fill:{color:y,opacity:e||.2},stroke:{color:y,width:1,opacity:e||.2}};if(o){if(!(n=this._highlight=o(Object.assign(this.highlightVisualArgs(),{createVisual:function(){return r.createHighlight(a)},sender:this.getSender(),series:this.series,dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,runningTotal:this.runningTotal,total:this.total}))))return}else n=this._highlight=this.createHighlight(a);at(n.options.zIndex)||(n.options.zIndex=bt(i.zIndex,this.options.zIndex)),this.appendVisual(n)}n.visible(t)},e.prototype.createGradientOverlay=function(t,e,r){var i=new S.drawing.Path(Object.assign({stroke:{color:"none"},fill:this.createGradient(r),closed:t.options.closed},e));return i.segments.elements(t.segments.elements()),i},e.prototype.createGradient=function(t){if(this.parent)return this.parent.createGradient(t)},e.prototype.supportsPointInactiveOpacity=function(){return!0},e}(S.Class);Xt.prototype.options={};var Yt=Xt,Wt=function(t){function e(e){t.call(this,e),this.options.margin=I(this.options.margin),this.options.padding=I(this.options.padding)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){var r,i=this,o=this.options,n=o.width,a=o.height,s=o.shrinkToFit,u=n&&a,l=o.margin,c=o.padding,p=o.border.width,h=function(){i.align(e,m,o.align),i.align(e,b,o.vAlign),i.paddingBox=r.clone().unpad(l).unpad(p)},f=e.clone();u&&(f.x2=f.x1+n,f.y2=f.y1+a),s&&f.unpad(l).unpad(p).unpad(c),t.prototype.reflow.call(this,f),r=u?this.box=new Ft(0,0,n,a):this.box,s&&u?(h(),f=this.contentBox=this.paddingBox.clone().unpad(c)):(f=this.contentBox=r.clone(),r.pad(c).pad(p).pad(l),h()),this.translateChildren(r.x1-f.x1+l.left+p+c.left,r.y1-f.y1+l.top+p+c.top);for(var d=this.children,v=0;v<d.length;v++){var g=d[v];g.reflow(g.box)}},e.prototype.align=function(t,e,r){this.box.align(t,e,r)},e.prototype.hasBox=function(){var t=this.options;return t.border.width||t.background},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.options.visible&&this.hasBox()&&this.visual.append(S.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle()))},e.prototype.visualStyle=function(){var t=this.options,e=t.border||{};return{stroke:{width:e.width,color:e.color,opacity:bt(e.opacity,t.opacity),dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},cursor:t.cursor}},e}(Yt);Ct(Wt,{align:p,vAlign:v,margin:{},padding:{},border:{color:n,width:0},background:"",shrinkToFit:!1,width:0,height:0,visible:!0});var qt=Wt,Zt=function(t){function e(e,r){t.call(this,e),this.pointData=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getElement=function(){var t=this.options,e=this.paddingBox,r=t.type,i=t.rotation,o=e.center(),n=e.width()/2,a=e.height()/2;if(!t.visible||!this.hasBox())return null;var s,l=this.visualStyle();if(r===u)s=new S.drawing.Circle(new S.geometry.Circle([yt(e.x1+n,3),yt(e.y1+a,3)],Math.min(n,a)),l);else if("triangle"===r)s=S.drawing.Path.fromPoints([[e.x1+n,e.y1],[e.x1,e.y2],[e.x2,e.y2]],l).close();else if("cross"===r)(s=new S.drawing.MultiPath(l)).moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),s.moveTo(e.x1,e.y2).lineTo(e.x2,e.y1);else{var c=e.toRect();if("roundedRect"===r){var p=bt(t.borderRadius,c.width()/5);c.setCornerRadius(p)}s=S.drawing.Path.fromRect(c,l)}return i&&s.transform(S.geometry.transform().rotate(-i,[o.x,o.y])),s.options.zIndex=t.zIndex,s},e.prototype.createElement=function(){var t=this,e=this.options.visual,r=this.pointData||{};return e?e({value:r.value,dataItem:r.dataItem,sender:this.getSender(),series:r.series,category:r.category,rect:this.paddingBox.toRect(),options:this.visualOptions(),createVisual:function(){return t.getElement()}}):this.getElement()},e.prototype.visualOptions=function(){var t=this.options;return{background:t.background,border:t.border,margin:t.margin,padding:t.padding,type:t.type,size:t.width,visible:t.visible}},e.prototype.createVisual=function(){this.visual=this.createElement()},e}(qt);Ct(Zt,{type:u,align:s,vAlign:s});var Qt=Zt,Jt={glass:{type:"linear",rotation:0,stops:[{offset:0,color:y,opacity:0},{offset:.25,color:y,opacity:.3},{offset:1,color:y,opacity:0}]},sharpBevel:{type:"radial",stops:[{offset:0,color:y,opacity:.55},{offset:.65,color:y,opacity:0},{offset:.95,color:y,opacity:.25}]},roundedBevel:{type:"radial",stops:[{offset:.33,color:y,opacity:.06},{offset:.83,color:y,opacity:.2},{offset:.95,color:y,opacity:0}]},roundedGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:y,opacity:0},{offset:.5,color:y,opacity:.3},{offset:.99,color:y,opacity:0}]},sharpGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:y,opacity:.2},{offset:.15,color:y,opacity:.15},{offset:.17,color:y,opacity:.35},{offset:.85,color:y,opacity:.05},{offset:.87,color:y,opacity:.15},{offset:.99,color:y,opacity:0}]},bubbleShadow:{type:"radial",center:[.5,.5],radius:.5}};function te(t,e){if(t.x1===e.x1&&t.y1===e.y1&&t.x2===e.x2&&t.y2===e.y2)return e;var r=Math.min(t.x1,e.x1),i=Math.max(t.x1,e.x1),o=Math.min(t.x2,e.x2),n=Math.max(t.x2,e.x2),a=Math.min(t.y1,e.y1),s=Math.max(t.y1,e.y1),u=Math.min(t.y2,e.y2),l=Math.max(t.y2,e.y2),c=[];return c[0]=new Ft(i,a,o,s),c[1]=new Ft(r,s,i,u),c[2]=new Ft(o,s,n,u),c[3]=new Ft(i,u,o,l),t.x1===r&&t.y1===a||e.x1===r&&e.y1===a?(c[4]=new Ft(r,a,i,s),c[5]=new Ft(o,u,n,l)):(c[4]=new Ft(o,a,n,s),c[5]=new Ft(r,u,i,l)),G(c,(function(t){return t.height()>0&&t.width()>0}))[0]}var ee=function(t){function e(e){t.call(this,e);var r=this.options;r.width=parseInt(r.width,10),r.height=parseInt(r.height,10),this.gradients={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t=this.options,e=this.children,r=new Ft(0,0,t.width,t.height);this.box=r.unpad(t.margin);for(var i=0;i<e.length;i++)e[i].reflow(r),r=te(r,e[i].box)||new Ft},e.prototype.createVisual=function(){this.visual=new S.drawing.Group,this.createBackground()},e.prototype.createBackground=function(){var t=this.options,e=t.border||{},r=this.box.clone().pad(t.margin).unpad(e.width),i=S.drawing.Path.fromRect(r.toRect(),{stroke:{color:e.width?e.color:"",width:e.width,dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},zIndex:-10});this.visual.append(i)},e.prototype.getRoot=function(){return this},e.prototype.createGradient=function(t){var e,r=this.gradients,i=vt(t),o=Jt[t.gradient];if(r[i])e=r[i];else{var n=Object.assign({},o,t);"linear"===o.type?e=new S.drawing.LinearGradient(n):(t.innerRadius&&(n.stops=function(t){for(var e=t.stops,r=t.innerRadius/t.radius*100,i=e.length,o=[],n=0;n<i;n++){var a=Object.assign({},e[n]);a.offset=(a.offset*(100-r)+r)/100,o.push(a)}return o}(n)),(e=new S.drawing.RadialGradient(n)).supportVML=!1!==o.supportVML),r[i]=e}return e},e.prototype.cleanGradients=function(){var t=this.gradients;for(var e in t)t[e]._observers=[]},e.prototype.size=function(){var t=this.options;return new Ft(0,0,t.width,t.height)},e}(Yt);Ct(ee,{width:600,height:400,background:y,border:{color:n,width:0},margin:I(5),zIndex:-2});var re=ee,ie=function(t){function e(e){t.call(this,e),this._initDirection()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initDirection=function(){var t=this.options;t.vertical?(this.groupAxis=m,this.elementAxis=b,this.groupSizeField="width",this.elementSizeField="height",this.groupSpacing=t.spacing,this.elementSpacing=t.vSpacing):(this.groupAxis=b,this.elementAxis=m,this.groupSizeField="height",this.elementSizeField="width",this.groupSpacing=t.vSpacing,this.elementSpacing=t.spacing)},e.prototype.reflow=function(t){this.box=t.clone(),this.reflowChildren()},e.prototype.reflowChildren=function(){var t=this.box,e=this.elementAxis,r=this.groupAxis,i=this.elementSizeField,o=this.groupSizeField,n=this.groupOptions(),a=n.groups,s=n.groupsSize,u=n.maxGroupElementsSize,l=a.length,c=t[r+1]+this.alignStart(s,t[o]());if(l){for(var p=c,h=0;h<l;h++){for(var f=a[h],d=f.groupElements,v=t[e+1],g=d.length,y=0;y<g;y++){var m=d[y],b=this.elementSize(m),x=p+this.alignStart(b[o],f.groupSize),_=new Ft;_[r+1]=x,_[r+2]=x+b[o],_[e+1]=v,_[e+2]=v+b[i],m.reflow(_),v+=b[i]+this.elementSpacing}p+=f.groupSize+this.groupSpacing}t[r+1]=c,t[r+2]=c+s,t[e+2]=t[e+1]+u}},e.prototype.alignStart=function(t,e){var r=0,i=this.options.align;return i===d||i===a?r=e-t:i===s&&(r=(e-t)/2),r},e.prototype.groupOptions=function(){for(var t=this.box,e=this.children,r=this.elementSizeField,i=this.groupSizeField,o=this.elementSpacing,n=this.groupSpacing,a=yt(t[r]()),s=e.length,u=[],l=0,c=0,p=0,h=0,f=[],d=0;d<s;d++){var v=e[d];v.box||v.reflow(t);var g=this.elementSize(v);this.options.wrap&&yt(c+o+g[r])>a&&(u.push({groupElements:f,groupSize:l,groupElementsSize:c}),h=Math.max(h,c),p+=n+l,l=0,c=0,f=[]),l=Math.max(l,g[i]),c>0&&(c+=o),c+=g[r],f.push(v)}return u.push({groupElements:f,groupSize:l,groupElementsSize:c}),{groups:u,groupsSize:p+=l,maxGroupElementsSize:h=Math.max(h,c)}},e.prototype.elementSize=function(t){return{width:t.box.width(),height:t.box.height()}},e.prototype.createVisual=function(){},e}(Yt);Ct(ie,{vertical:!0,wrap:!0,vSpacing:0,spacing:0});var oe=ie,ne=S.drawing.Text,ae=function(t){function e(e,r){t.call(this,r),this.content=e,this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=e.size=S.drawing.util.measureText(this.content,{font:e.font});this.baseline=r.baseline,this.box=new Ft(t.x1,t.y1,t.x1+r.width,t.y1+r.height)},e.prototype.createVisual=function(){var t=this.options,e=t.font,r=t.color,i=t.opacity,o=t.cursor;this.visual=new ne(this.content,this.box.toRect().topLeft(),{font:e,fill:{color:r,opacity:i},cursor:o})},e}(Yt);Ct(ae,{font:"12px sans-serif",color:n});var se=ae;function ue(t){var e=t.origin,r=t.bottomRight();return new Ft(e.x,e.y,r.x,r.y)}var le=/\n/m,ce=function(t){function e(e,r,i){t.call(this,r),this.content=e,this.data=i,this._initContainer(),!1!==this.options._autoReflow&&this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initContainer=function(){var t=this.options,e=String(this.content).split(le),r=new oe({vertical:!0,align:t.align,wrap:!1}),i=V({},t,{opacity:1,animation:null});this.container=r,this.append(r);for(var o=0;o<e.length;o++){var n=new se(e[o].trim(),i);r.append(n)}},e.prototype.reflow=function(e){var r=this.options,i=r.visual;if(this.container.options.align=r.align,i&&!this._boxReflow){var o=e;o.hasSize()||(this._boxReflow=!0,this.reflow(o),this._boxReflow=!1,o=this.box);var n=this.visual=i(this.visualContext(o));n&&(o=ue(n.clippedBBox()||new S.geometry.Rect),n.options.zIndex=r.zIndex),this.box=this.contentBox=this.paddingBox=o}else if(t.prototype.reflow.call(this,e),r.rotation){var a=I(r.margin),s=this.box.unpad(a);this.targetBox=e,this.normalBox=s.clone(),(s=this.rotate()).translate(a.left-a.right,a.top-a.bottom),this.rotatedBox=s.clone(),s.pad(a)}},e.prototype.createVisual=function(){var t=this.options;if(this.visual=new S.drawing.Group({transform:this.rotationTransform(),zIndex:t.zIndex,noclip:t.noclip}),this.hasBox()){var e=S.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle());this.visual.append(e)}},e.prototype.renderVisual=function(){if(this.options.visible)if(this.options.visual){var e=this.visual;e&&!at(e.options.noclip)&&(e.options.noclip=this.options.noclip),this.addVisual(),this.createAnimation()}else t.prototype.renderVisual.call(this)},e.prototype.visualContext=function(t){var e=this,r={text:this.content,rect:t.toRect(),sender:this.getSender(),options:this.options,createVisual:function(){return e._boxReflow=!0,e.reflow(t),e._boxReflow=!1,e.getDefaultVisual()}};return this.data&&Object.assign(r,this.data),r},e.prototype.getDefaultVisual=function(){this.createVisual(),this.renderChildren();var t=this.visual;return delete this.visual,t},e.prototype.rotate=function(){var t=this.options;return this.box.rotate(t.rotation),this.align(this.targetBox,m,t.align),this.align(this.targetBox,b,t.vAlign),this.box},e.prototype.rotationTransform=function(){var t=this.options.rotation;if(!t)return null;var e=this.normalBox.center(),r=e.x,i=e.y,o=this.rotatedBox.center();return S.geometry.transform().translate(o.x-r,o.y-i).rotate(t,[r,i])},e}(qt),pe=function(t){function e(e){t.call(this,e),this.append(new ce(this.options.text,Object.assign({},this.options,{vAlign:this.options.position})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){t.prototype.reflow.call(this,e),this.box.snapTo(e,m)},e.buildTitle=function(t,r,i){var o,n=t;return"string"==typeof t&&(n={text:t}),(n=Object.assign({visible:!0},i,n))&&n.visible&&n.text&&(o=new e(n),r.append(o)),o},e}(Yt);Ct(pe,{color:n,position:v,align:s,margin:I(5),padding:I(5)});var he=pe,fe=function(t){function e(e,r,i,o,n){t.call(this,r,n),this.text=r,this.value=e,this.index=i,this.dataItem=o,this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.visualContext=function(e){var r=t.prototype.visualContext.call(this,e);return r.value=this.value,r.dataItem=this.dataItem,r.format=this.options.format,r.culture=this.options.culture,r},e.prototype.click=function(t,e){t.trigger("axisLabelClick",{element:pt(e),value:this.value,text:this.text,index:this.index,dataItem:this.dataItem,axis:this.parent.options})},e.prototype.rotate=function(){if(this.options.alignRotation!==s){var e=this.normalBox.toRect(),r=this.rotationTransform();this.box=ue(e.bbox(r.matrix()))}else t.prototype.rotate.call(this);return this.box},e.prototype.rotationTransform=function(){var e=this.options,r=e.rotation;if(!r)return null;if(e.alignRotation===s)return t.prototype.rotationTransform.call(this);var i=S.geometry.transform().rotate(r).matrix(),o=this.normalBox.toRect(),n=this.targetBox.toRect(),u=e.rotationOrigin||v,l=u===v||u===a?m:b,c=u===v||u===a?b:m,h=u===v||u===p?n.origin:n.bottomRight(),f=o.topLeft().transformCopy(i),d=o.topRight().transformCopy(i),g=o.bottomRight().transformCopy(i),y=o.bottomLeft().transformCopy(i),x=S.geometry.Rect.fromPoints(f,d,g,y),_={};_[c]=n.origin[c]-x.origin[c];var C,w,O=Math.abs(f[c]+_[c]-h[c]),P=Math.abs(d[c]+_[c]-h[c]);yt(O,10)===yt(P,10)?(C=f,w=d):P<O?(C=d,w=g):(C=f,w=y);var A=C[l]+(w[l]-C[l])/2;return _[l]=n.center()[l]-A,S.geometry.transform().translate(_.x,_.y).rotate(r)},e}(ce);Ct(fe,{_autoReflow:!1});var de=fe,ve=function(t){function e(e,r,i){t.call(this,r),this.fields=e,this.chartService=i,this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hide=function(){this.options.visible=!1},e.prototype.show=function(){this.options.visible=!0},e.prototype.render=function(){var t=this,e=this.options;if(e.visible){var r,i,o=e.label,n=e.icon,a=new Ft,s=function(){return t},l=n.size,c=this.fields.text;if(at(o)&&o.visible){var p=H(o);p?c=p(this.fields):o.format&&(c=this.chartService.format.auto(o.format,c)),o.color||(o.color="inside"===o.position?"#fff":n.background),this.label=new ce(c,V({},o)),this.label.aliasFor=s,"inside"!==o.position||at(l)||(n.type===u?l=Math.max(this.label.box.width(),this.label.box.height()):(r=this.label.box.width(),i=this.label.box.height()),a.wrap(this.label.box))}n.width=r||l||7,n.height=i||l||7;var h=new Qt(V({},n));h.aliasFor=s,this.marker=h,this.append(h),this.label&&this.append(this.label),h.reflow(new Ft),this.wrapperBox=a.wrap(h.box)}},e.prototype.reflow=function(t){var e,r,i,o=this.options,n=this.label,s=this.marker,u=this.wrapperBox,l=t.center(),c=o.line.length,h=o.position;o.visible&&(q(h,[p,d])?h===p?(i=u.alignTo(t,h).translate(-c,t.center().y-u.center().y),o.line.visible&&(e=[t.x1,l.y],this.linePoints=[e,[i.x2,l.y]],r=i.clone().wrapPoint(e))):(i=u.alignTo(t,h).translate(c,t.center().y-u.center().y),o.line.visible&&(e=[t.x2,l.y],this.linePoints=[e,[i.x1,l.y]],r=i.clone().wrapPoint(e))):h===a?(i=u.alignTo(t,h).translate(t.center().x-u.center().x,c),o.line.visible&&(e=[l.x,t.y2],this.linePoints=[e,[l.x,i.y1]],r=i.clone().wrapPoint(e))):(i=u.alignTo(t,h).translate(t.center().x-u.center().x,-c),o.line.visible&&(e=[l.x,t.y1],this.linePoints=[e,[l.x,i.y2]],r=i.clone().wrapPoint(e))),s&&s.reflow(i),n&&(n.reflow(i),s&&("outside"===o.label.position&&n.box.alignTo(s.box,h),n.reflow(n.box))),this.contentBox=i,this.targetBox=t,this.box=r||i)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.visual.options.noclip=this.options.noclip,this.options.visible&&this.createLine()},e.prototype.renderVisual=function(){var e=this,r=this.options,i=r.visual;r.visible&&i?(this.visual=i(Object.assign(this.fields,{sender:this.getSender(),rect:this.targetBox.toRect(),options:{background:r.background,border:r.background,icon:r.icon,label:r.label,line:r.line,position:r.position,visible:r.visible},createVisual:function(){e.createVisual(),e.renderChildren();var t=e.visual;return delete e.visual,t}})),this.addVisual()):t.prototype.renderVisual.call(this)},e.prototype.createLine=function(){var t=this.options.line;if(this.linePoints){var e=S.drawing.Path.fromPoints(this.linePoints,{stroke:{color:t.color,width:t.width,dashType:t.dashType}});O(e),this.visual.append(e)}},e.prototype.click=function(t,e){var r=this.eventArgs(e);t.trigger("noteClick",r)||e.preventDefault()},e.prototype.over=function(t,e){var r=this.eventArgs(e);t.trigger("noteHover",r)||e.preventDefault()},e.prototype.out=function(t,e){var r=this.eventArgs(e);t.trigger("noteLeave",r)},e.prototype.eventArgs=function(t){var e=this.options;return Object.assign(this.fields,{element:pt(t),text:at(e.label)?e.label.text:"",visual:this.visual})},e}(qt);Ct(ve,{icon:{visible:!0,type:u},label:{position:"inside",visible:!0,align:s,vAlign:s},line:{visible:!0},visible:!0,position:v,zIndex:2});var ge=ve,ye={format:function(t,e){return e},toString:function(t){return t},parseDate:function(t){return new Date(t)},firstDay:function(){return 0}},me=function(){},be={implementation:{configurable:!0}};me.register=function(t){ye=t},be.implementation.get=function(){return ye},Object.defineProperties(me,be);var xe=me,_e=/\{(\d+)(:[^\}]+)?\}/g,Ce=function(t){this._intlService=t},we={intl:{configurable:!0}};we.intl.get=function(){return this._intlService||xe.implementation},we.intl.set=function(t){this._intlService=t},Ce.prototype.auto=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var i=this.intl;return j(t)&&t.match(c)?i.format.apply(i,[t].concat(e)):i.toString(e[0],t)},Ce.prototype.localeAuto=function(t,e,r){var i=this.intl;return j(t)&&t.match(c)?t.replace(_e,(function(t,o,n){var a=e[parseInt(o,10)];return i.toString(a,n?n.substring(1):"",r)})):i.toString(e[0],t,r)},Object.defineProperties(Ce.prototype,we);var Se=Ce,Oe=function(t,e){void 0===e&&(e={}),this._intlService=e.intlService,this.sender=e.sender||t,this.format=new Se(e.intlService),this.chart=t,this.rtl=Boolean(e.rtl)},Pe={intl:{configurable:!0}};Pe.intl.get=function(){return this._intlService||xe.implementation},Pe.intl.set=function(t){this._intlService=t,this.format.intl=t},Oe.prototype.notify=function(t,e){this.chart&&this.chart.trigger(t,e)},Oe.prototype.isPannable=function(t){var e=((this.chart||{}).options||{}).pannable;return e&&e.lock!==t},Object.defineProperties(Oe.prototype,Pe);var Ae,je=Oe,ke=function(){};ke.register=function(t){Ae=t},ke.create=function(t,e){if(Ae)return Ae.create(t,e)};var Te=ke;function Me(t,e){var r=t.tickX,i=t.tickY,o=t.position,n=new S.drawing.Path({stroke:{width:e.width,color:e.color}});return t.vertical?n.moveTo(r,o).lineTo(r+e.size,o):n.moveTo(o,i).lineTo(o,i+e.size),O(n),n}function Ve(t,e){var r=t.lineStart,i=t.lineEnd,o=t.position,n=new S.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});return t.vertical?n.moveTo(r,o).lineTo(i,o):n.moveTo(o,r).lineTo(o,i),O(n),n}var Ne=function(t){function e(e,r){void 0===r&&(r=new je),t.call(this,e),this.chartService=r,this.options.visible||(this.options=V({},this.options,{labels:{visible:!1},line:{visible:!1},margin:0,majorTickSize:0,minorTickSize:0})),this.options.minorTicks=V({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.minorTickType},this.options.minorTicks,{size:this.options.minorTickSize,align:this.options.minorTickType}),this.options.majorTicks=V({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.majorTickType},this.options.majorTicks,{size:this.options.majorTickSize,align:this.options.majorTickType}),this.initFields(),this.options._deferLabels||this.createLabels(),this.createTitle(),this.createNotes()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.labelsCount()}},e.prototype.normalizeLabelRotation=function(t){var e=t.rotation;N(e)&&(t.alignRotation=e.align,t.rotation=e.angle)},e.prototype.createLabels=function(){var t=this.options,e=t.vertical?d:s,r=V({},t.labels,{align:e,zIndex:t.zIndex}),i=Math.max(1,r.step);if(this.clearLabels(),r.visible){this.normalizeLabelRotation(r),"auto"===r.rotation&&(r.rotation=0,t.autoRotateLabels=!0);for(var o=this.labelsRange(),n=o.min;n<o.max;n+=i){var a={index:n,count:o.max},u=this.createAxisLabel(n,r,a);u&&(this.append(u),this.labels.push(u))}}},e.prototype.clearLabels=function(){this.children=G(this.children,(function(t){return!(t instanceof de)})),this.labels=[]},e.prototype.clearTitle=function(){var t=this;this.title&&(this.children=G(this.children,(function(e){return e!==t.title})),this.title=void 0)},e.prototype.clear=function(){this.clearLabels(),this.clearTitle()},e.prototype.lineBox=function(){var t=this.options,e=this.box,r=t.vertical,i=t.labels.mirror,o=i?e.x1:e.x2,n=i?e.y2:e.y1,a=t.line.width||0;return r?new Ft(o,e.y1,o,e.y2-a):new Ft(e.x1,n,e.x2-a,n)},e.prototype.createTitle=function(){var t=this.options,e=V({rotation:t.vertical?-90:0,text:"",zIndex:1,visualSize:!0},t.title);if(e.visible&&e.text){var r=new ce(e.text,e);this.append(r),this.title=r}},e.prototype.createNotes=function(){var t=this.options,e=t.notes,r=e.data||[];this.notes=[];for(var i=0;i<r.length;i++){var o=V({},e,r[i]);o.value=this.parseNoteValue(o.value);var n=new ge({value:o.value,text:o.label.text,dataItem:o},o,this.chartService);n.options.visible&&(at(n.options.position)?t.vertical&&!q(n.options.position,[p,d])?n.options.position=t.reverse?p:d:t.vertical||q(n.options.position,[v,a])||(n.options.position=t.reverse?a:v):t.vertical?n.options.position=t.reverse?p:d:n.options.position=t.reverse?a:v,this.append(n),this.notes.push(n))}},e.prototype.parseNoteValue=function(t){return t},e.prototype.renderVisual=function(){t.prototype.renderVisual.call(this),this.createPlotBands()},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.createBackground(),this.createLine()},e.prototype.gridLinesVisual=function(){var t=this._gridLines;return t||(t=this._gridLines=new S.drawing.Group({zIndex:-2}),this.appendVisual(this._gridLines)),t},e.prototype.createTicks=function(t){var e=this.options,r=this.lineBox(),i=e.labels.mirror,o=e.majorTicks.visible?e.majorUnit:0,n={vertical:e.vertical};function a(e,o,a){var s=e.length,u=Math.max(1,o.step);if(o.visible)for(var l=o.skip;l<s;l+=u)at(a)&&l%a==0||(n.tickX=i?r.x2:r.x2-o.size,n.tickY=i?r.y1-o.size:r.y1,n.position=e[l],t.append(Me(n,o)))}a(this.getMajorTickPositions(),e.majorTicks),a(this.getMinorTickPositions(),e.minorTicks,o/e.minorUnit)},e.prototype.createLine=function(){var t=this.options,e=t.line,r=this.lineBox();if(e.width>0&&e.visible){var i=new S.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});i.moveTo(r.x1,r.y1).lineTo(r.x2,r.y2),t._alignLines&&O(i);var o=this._lineGroup=new S.drawing.Group;o.append(i),this.visual.append(o),this.createTicks(o)}},e.prototype.getActualTickSize=function(){var t=this.options,e=0;return t.majorTicks.visible&&t.minorTicks.visible?e=Math.max(t.majorTicks.size,t.minorTicks.size):t.majorTicks.visible?e=t.majorTicks.size:t.minorTicks.visible&&(e=t.minorTicks.size),e},e.prototype.createBackground=function(){var t=this.options,e=this.box,r=t.background;r&&(this._backgroundPath=S.drawing.Path.fromRect(e.toRect(),{fill:{color:r},stroke:null}),this.visual.append(this._backgroundPath))},e.prototype.createPlotBands=function(){var t=this,e=this.options,r=e.plotBands||[],i=e.vertical,o=this.plotArea;if(0!==r.length){for(var n=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),a=G(this.pane.axes,(function(e){return e.options.vertical!==t.options.vertical}))[0],s=0;s<r.length;s++){var u=r[s],l=void 0,c=void 0,h=u.label,f=void 0;if(i?(l=(a||o.axisX).lineBox(),c=t.getSlot(u.from,u.to,!0)):(l=t.getSlot(u.from,u.to,!0),c=(a||o.axisY).lineBox()),h&&(h.vAlign=h.position||p,f=t.createPlotBandLabel(h,u,new Ft(l.x1,c.y1,l.x2,c.y2))),0!==l.width()&&0!==c.height()){var d=new S.geometry.Rect([l.x1,c.y1],[l.width(),c.height()]),v=S.drawing.Path.fromRect(d,{fill:{color:u.color,opacity:u.opacity},stroke:null});n.append(v),f&&n.append(f)}}this.appendVisual(n)}},e.prototype.createPlotBandLabel=function(t,e,r){if(!1===t.visible)return null;var i,o=t.text;if(at(t)&&t.visible){var n=H(t);n?o=n({text:o,item:e}):t.format&&(o=this.chartService.format.auto(t.format,o)),t.color||(t.color=this.options.labels.color)}return(i=new ce(o,t)).reflow(r),i.renderVisual(),i.visual},e.prototype.createGridLines=function(t){var e=this.options,r=e.minorGridLines,i=e.majorGridLines,o=e.minorUnit,n=e.vertical,a=t.options.line.visible,s=i.visible?e.majorUnit:0,u=t.lineBox(),l=u[n?"y1":"x1"],c={lineStart:u[n?"x1":"y1"],lineEnd:u[n?"x2":"y2"],vertical:n},p=[],h=this.gridLinesVisual();function f(t,e,r){var i=t.length,o=Math.max(1,e.step);if(e.visible)for(var n=e.skip;n<i;n+=o){var s=yt(t[n]);q(s,p)||n%r==0||a&&l===s||(c.position=s,h.append(Ve(c,e)),p.push(s))}}return f(this.getMajorTickPositions(),i),f(this.getMinorTickPositions(),r,s/o),h.children},e.prototype.reflow=function(t){for(var e=this.options,r=this.labels,i=this.title,o=e.vertical,n=r.length,a=o?"width":"height",s=i?i.box[a]():0,u=this.getActualTickSize()+e.margin+s,l=((this.getRoot()||{}).box||t)[a](),c=0,p=0;p<n;p++){var h=r[p].box[a]();h+u<=l&&(c=Math.max(c,h))}this.box=o?new Ft(t.x1,t.y1,t.x1+c+u,t.y2):new Ft(t.x1,t.y1,t.x2,t.y1+c+u),this.arrangeTitle(),this.arrangeLabels(),this.arrangeNotes()},e.prototype.getLabelsTickPositions=function(){return this.getMajorTickPositions()},e.prototype.labelTickIndex=function(t){return t.index},e.prototype.arrangeLabels=function(){for(var t=this.options,e=this.labels,r=this.labelsBetweenTicks(),i=t.vertical,o=t.labels.mirror,n=this.getLabelsTickPositions(),a=0;a<e.length;a++){var s=e[a],u=this.labelTickIndex(s),l=i?s.box.height():s.box.width(),c=n[u],p=n[u+1],h=void 0,f=void 0;if(i){if(r)h=c+(p-c)/2-l/2;else h=c-l/2;f=h}else r?(h=c,f=p):f=(h=c-l/2)+l;this.positionLabel(s,o,h,f)}},e.prototype.positionLabel=function(t,e,r,i){void 0===i&&(i=r);var o,n=this.options,s=n.vertical,u=this.lineBox(),l=this.getActualTickSize()+n.margin;if(s){var c=u.x2;e?(c+=l,t.options.rotationOrigin=p):(c-=l+t.box.width(),t.options.rotationOrigin=d),o=t.box.move(c,r)}else{var h=u.y1;e?(h-=l+t.box.height(),t.options.rotationOrigin=a):(h+=l,t.options.rotationOrigin=v),o=new Ft(r,h,i,h+t.box.height())}t.reflow(o)},e.prototype.autoRotateLabelAngle=function(t,e){return t.width()<e?0:t.height()>e?-90:-45},e.prototype.autoRotateLabels=function(){if(!this.options.autoRotateLabels||this.options.vertical)return!1;for(var t=this.getMajorTickPositions(),e=this.labels,r=Math.min(e.length,t.length-1),i=0,o=0;o<r;o++){var n=Math.abs(t[o+1]-t[o]),a=e[o].box,s=this.autoRotateLabelAngle(a,n);if(0!==s&&(i=s),-90===i)break}if(0!==i){for(var u=0;u<e.length;u++)e[u].options.rotation=i,e[u].reflow(new Ft);return!0}},e.prototype.arrangeTitle=function(){var t=this.options,e=this.title,r=t.labels.mirror,i=t.vertical;e&&(i?(e.options.align=r?d:p,e.options.vAlign=e.options.position):(e.options.align=e.options.position,e.options.vAlign=r?v:a),e.reflow(this.box))},e.prototype.arrangeNotes=function(){for(var t=0;t<this.notes.length;t++){var e=this.notes[t],r=e.options.value,i=void 0;at(r)?(this.shouldRenderNote(r)?e.show():e.hide(),i=this.noteSlot(r)):e.hide(),e.reflow(i||this.lineBox())}},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.alignTo=function(t){var e=t.lineBox(),r=this.options.vertical,i=r?b:m;this.box.snapTo(e,i),r?this.box.shrink(0,this.lineBox().height()-e.height()):this.box.shrink(this.lineBox().width()-e.width(),0),this.box[i+1]-=this.lineBox()[i+1]-e[i+1],this.box[i+2]-=this.lineBox()[i+2]-e[i+2]},e.prototype.axisLabelText=function(t,e,r){var i,o=this,n=H(e),a=function(){return e.format?o.chartService.format.localeAuto(e.format,[t],e.culture):t};n?i=n(Object.assign({},r,{get text(){return a()},value:t,format:e.format,culture:e.culture})):i=a();return i},e.prototype.slot=function(t,e,r){var i=this.getSlot(t,e,r);if(i)return i.toRect()},e.prototype.contentBox=function(){var t=this.box.clone(),e=this.labels;if(e.length){var r=this.options.vertical?b:m;if(this.chartService.isPannable(r)){var i=this.maxLabelOffset();t[r+1]-=i.start,t[r+2]+=i.end}else{e[0].options.visible&&t.wrap(e[0].box);var o=e[e.length-1];o.options.visible&&t.wrap(o.box)}}return t},e.prototype.maxLabelOffset=function(){for(var t=this.options,e=t.vertical,r=t.reverse,i=this.labelsBetweenTicks(),o=this.getLabelsTickPositions(),n=e?b:m,a=this.labels,s=r?1:0,u=r?0:1,l=0,c=0,p=0;p<a.length;p++){var h=a[p],f=this.labelTickIndex(h),d=void 0,v=void 0;i?(d=o[f+s],v=o[f+u]):d=v=o[f],l=Math.max(l,d-h.box[n+1]),c=Math.max(c,h.box[n+2]-v)}return{start:l,end:c}},e.prototype.limitRange=function(t,e,r,i,o){var n=this.options;if(t<r&&o<0&&(!at(n.min)||n.min<=r)||i<e&&o>0&&(!at(n.max)||i<=n.max))return null;if(e<r&&o>0||i<t&&o<0)return{min:t,max:e};var a=e-t,s=t,u=e;return t<r&&o<0?(s=dt(t,r,i),u=dt(t+a,r+a,i)):e>i&&o>0&&(u=dt(e,r,i),s=dt(e-a,r,i-a)),{min:s,max:u}},e.prototype.valueRange=function(){return{min:this.seriesMin,max:this.seriesMax}},e.prototype.lineDir=function(){var t=this.options;return(t.vertical?-1:1)*(t.reverse?-1:1)},e.prototype.lineInfo=function(){var t=this.options.vertical,e=this.lineBox(),r=t?e.height():e.width(),i=t?b:m,o=this.lineDir(),n=i+(1===o?1:2).toString();return{axis:i,axisOrigin:n,axisDir:o,lineBox:e,lineSize:r,lineStart:e[n]}},e.prototype.pointOffset=function(t){var e=this.lineInfo(),r=e.axis,i=e.axisDir,o=e.axisOrigin,n=e.lineBox,a=e.lineSize;return(i>0?t[r]-n[o]:n[o]-t[r])/a},e.prototype.scaleToDelta=function(t,e){var r=dt(t,-.999,.999);return r>0?e*Math.min(1,r):e-e/(1+r)},e.prototype.labelsBetweenTicks=function(){return!this.options.justified},e.prototype.prepareUserOptions=function(){},e}(Yt);Ct(Ne,{labels:{visible:!0,rotation:0,mirror:!1,step:1,skip:0},line:{width:1,color:n,visible:!0},title:{visible:!0,position:s},majorTicks:{align:"outside",size:4,skip:0,step:1},minorTicks:{align:"outside",size:3,skip:0,step:1},axisCrossingValue:0,majorTickType:"outside",minorTickType:"none",majorGridLines:{skip:0,step:1},minorGridLines:{visible:!1,width:1,color:n,skip:0,step:1},margin:5,visible:!0,reverse:!1,justified:!0,notes:{label:{text:""}},_alignLines:!0,_deferLabels:!1});var Ee=Ne,Le="days",De="years",Be={years:31536e6,months:26784e5,weeks:6048e5,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1};function Ie(t,e){return t.getTime()-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset())}function Re(t,e){return new Date(t.getTime()+e)}function ze(t){var e;return t instanceof Date?e=t:t&&(e=new Date(t)),e}function Fe(t,e){return 0===e&&23===t.getHours()&&(t.setHours(t.getHours()+2),!0)}function He(t,e,r,i){var o=t;if(t){var n=ze(t),a=n.getHours();r===De?Fe(o=new Date(n.getFullYear()+e,0,1),0):"months"===r?Fe(o=new Date(n.getFullYear(),n.getMonth()+e,1),a):"weeks"===r?Fe(o=He(function(t,e){void 0===e&&(e=0);var r=0,i=t.getDay();if(!isNaN(i))for(;i!==e;)0===i?i=6:i--,r++;return Re(t,864e5*-r)}(n,i),7*e,Le),a):r===Le?Fe(o=new Date(n.getFullYear(),n.getMonth(),n.getDate()+e),a):"hours"===r?o=function(t,e){var r=new Date(t);r.setMinutes(0,0,0);var i=6e4*(t.getTimezoneOffset()-r.getTimezoneOffset());return Re(r,i+36e5*e)}(n,e):"minutes"===r?(o=Re(n,6e4*e)).getSeconds()>0&&o.setSeconds(0):"seconds"===r?o=Re(n,1e3*e):"milliseconds"===r&&(o=Re(n,e)),"milliseconds"!==r&&o.getMilliseconds()>0&&o.setMilliseconds(0)}return o}function Ue(t,e,r){return He(ze(t),0,e,r)}function Ke(t,e,r){var i=ze(t);return i&&Ue(i,e,r).getTime()===i.getTime()?i:He(i,1,e,r)}function $e(t,e){return t&&e?t.getTime()-e.getTime():-1}function Ge(t,e){return t.getTime()-e}function Xe(t){if(x(t)){for(var e=[],r=0;r<t.length;r++)e.push(Xe(t[r]));return e}if(t)return ze(t).getTime()}function Ye(t,e){return t&&e?Xe(t)===Xe(e):t===e}function We(t,e,r){return Ie(t,e)/Be[r]}function qe(t,e,r,i){var o=ze(t),n=ze(e);return("months"===r?o.getMonth()-n.getMonth()+12*(o.getFullYear()-n.getFullYear())+We(o,new Date(o.getFullYear(),o.getMonth()),Le)/new Date(o.getFullYear(),o.getMonth()+1,0).getDate():r===De?o.getFullYear()-n.getFullYear()+qe(o,new Date(o.getFullYear(),0),"months",1)/12:r===Le||"weeks"===r?We(o,n,r):Ge(o,e)/Be[r])/i}function Ze(t,e,r){return r===De?e.getFullYear()-t.getFullYear():"months"===r?12*Ze(t,e,De)+e.getMonth()-t.getMonth():r===Le?Math.floor(Ge(e,t)/864e5):Math.floor(Ge(e,t)/Be[r])}function Qe(t,e){return j(e)&&t.parseDate(e)||ze(e)}function Je(t,e){if(x(e)){for(var r=[],i=0;i<e.length;i++)r.push(Qe(t,e[i]));return r}return Qe(t,e)}function tr(t,e){return A(t.weekStartDay)?t.weekStartDay:e&&e.firstDay?e.firstDay():0}var er=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this._ticks={}},e.prototype.categoriesHash=function(){return""},e.prototype.clone=function(){var t=new e(Object.assign({},this.options,{categories:this.options.srcCategories}),this.chartService);return t.createLabels(),t},e.prototype.initUserOptions=function(t){var e=t.categories||[],r=at(t.min),i=at(t.max);if(t.srcCategories=t.categories=e,(r||i)&&e.length){var o,n=r?Math.floor(t.min):0;o=i?t.justified?Math.floor(t.max)+1:Math.ceil(t.max):e.length,t.categories=t.categories.slice(n,o)}return t},e.prototype.rangeIndices=function(){var t=this.options,e=t.categories.length||1;return{min:A(t.min)?t.min%1:0,max:A(t.max)&&t.max%1!=0&&t.max<this.totalRange().max?e-(1-t.max%1):e-(t.justified?1:0)}},e.prototype.totalRangeIndices=function(t){var e,r=this.options,i=A(r.min)?r.min:0;if(e=A(r.max)?r.max:A(r.min)?i+r.categories.length:this.totalRange().max||1,t){var o=this.totalRange();i=dt(i,0,o.max),e=dt(e,0,o.max)}return{min:i,max:e}},e.prototype.range=function(){var t=this.options;return{min:A(t.min)?t.min:0,max:A(t.max)?t.max:this.totalRange().max}},e.prototype.roundedRange=function(){return this.range()},e.prototype.totalRange=function(){var t=this.options;return{min:0,max:Math.max(this._seriesMax||0,t.srcCategories.length)-(t.justified?1:0)}},e.prototype.scaleOptions=function(){var t=this.rangeIndices(),e=t.min,r=t.max,i=this.lineBox();return{scale:(this.options.vertical?i.height():i.width())/(r-e||1)*(this.options.reverse?-1:1),box:i,min:e,max:r}},e.prototype.arrangeLabels=function(){t.prototype.arrangeLabels.call(this),this.hideOutOfRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){var t=this.box,e=this.labels;if(e.length>0){var r=this.options.vertical?b:m,i=t[r+1],o=t[r+2],n=e[0],a=ft(e);(n.box[r+1]>o||n.box[r+2]<i)&&(n.options.visible=!1),(a.box[r+1]>o||a.box[r+2]<i)&&(a.options.visible=!1)}},e.prototype.getMajorTickPositions=function(){return this.getTicks().majorTicks},e.prototype.getMinorTickPositions=function(){return this.getTicks().minorTicks},e.prototype.getLabelsTickPositions=function(){return this.getTicks().labelTicks},e.prototype.tickIndices=function(t){for(var e=this.rangeIndices(),r=e.min,i=e.max,o=Math.ceil(i),n=Math.floor(r),a=[];n<=o;)a.push(n),n+=t;return a},e.prototype.getTickPositions=function(t){for(var e=this.options,r=e.vertical,i=e.reverse,o=this.scaleOptions(),n=o.scale,a=o.box,s=o.min,u=a[(r?b:m)+(i?2:1)],l=this.tickIndices(t),c=[],p=0;p<l.length;p++)c.push(u+yt(n*(l[p]-s),3));return c},e.prototype.getTicks=function(){var t=this.options,e=this._ticks,r=this.rangeIndices(),i=this.lineBox(),o=i.getHash()+r.min+","+r.max+t.reverse+t.justified;if(e._hash!==o){var n=t.minorTicks.visible||t.minorGridLines.visible;e._hash=o,e.labelTicks=this.getTickPositions(1),e.majorTicks=this.filterOutOfRangePositions(e.labelTicks,i),e.minorTicks=n?this.filterOutOfRangePositions(this.getTickPositions(.5),i):[]}return e},e.prototype.filterOutOfRangePositions=function(t,e){if(!t.length)return t;for(var r=this.options.vertical?b:m,i=function(t){return e[r+1]<=t&&t<=e[r+2]},o=t.length-1,n=0;!i(t[n])&&n<=o;)n++;for(var a=o;!i(t[a])&&a>=0;)a--;return t.slice(n,a+1)},e.prototype.lineInfo=function(){var t=this.options,e=t.vertical,r=t.reverse,i=this.lineBox(),o=e?i.height():i.width(),n=e?b:m,a=r?-1:1,s=n+(1===a?1:2).toString();return{axis:n,axisOrigin:s,axisDir:a,lineBox:i,lineSize:o,lineStart:i[s]}},e.prototype.lineDir=function(){return this.options.reverse?-1:1},e.prototype.getSlot=function(t,e,r){var i=this.options,o=i.reverse,n=i.justified,a=this.scaleOptions(),s=a.scale,u=a.box,l=a.min,c=this.lineInfo(),p=c.axis,h=c.lineStart,f=u.clone(),d=!at(e),v=bt(t,0),g=bt(e,v);g=Math.max(g-1,v);var y=h+(v-l)*s,m=h+((g=Math.max(v,g))+1-l)*s;return d&&n&&(m=y),r&&(y=dt(y,u[p+1],u[p+2]),m=dt(m,u[p+1],u[p+2])),f[p+1]=o?m:y,f[p+2]=o?y:m,f},e.prototype.limitSlot=function(t){var e=this.options.vertical?b:m,r=this.lineBox(),i=t.clone();return i[e+1]=dt(t[e+1],r[e+1],r[e+2]),i[e+2]=dt(t[e+2],r[e+1],r[e+2]),i},e.prototype.slot=function(e,r,i){var o=Math.floor(this.options.min||0),n=e,a=r;return"string"==typeof n?n=this.categoryIndex(n):A(n)&&(n-=o),"string"==typeof a?a=this.categoryIndex(a):A(a)&&(a-=o),t.prototype.slot.call(this,n,a,i)},e.prototype.pointCategoryIndex=function(t){var e=this.options,r=e.reverse,i=e.justified,o=e.vertical?b:m,n=this.scaleOptions(),a=n.scale,s=n.box,u=n.min,l=n.max,c=r?l:u,p=s[o+1],h=s[o+2],f=t[o];if(f<p||f>h)return null;var d=c+(f-p)/a,v=d%1;return i?d=Math.round(d):0===v&&d>0&&d--,Math.floor(d)},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.options.categories[e]},e.prototype.categoryIndex=function(t){return this.totalIndex(t)-Math.floor(this.options.min||0)},e.prototype.categoryAt=function(t,e){var r=this.options;return(e?r.srcCategories:r.categories)[t]},e.prototype.categoriesCount=function(){return(this.options.categories||[]).length},e.prototype.translateRange=function(t){var e=this.options,r=this.lineBox(),i=e.vertical?r.height():r.width(),o=e.categories.length,n=yt(t/(i/o),10);return{min:n,max:o+n}},e.prototype.scaleRange=function(t,e){var r=Math.abs(this.pointOffset(e)),i=this.totalRangeIndices(),o=i.max-i.min,n=this.scaleToDelta(t,o),a=r*n,s=(1-r)*n,u=i.min+a,l=i.max-s;return l-u<.1&&(l=u+.1),{min:u,max:l}},e.prototype.zoomRange=function(t,e){var r=this.totalRange(),i=r.min,o=r.max,n=this.scaleRange(t,e);return{min:dt(n.min,i,o),max:dt(n.max,i,o)}},e.prototype.labelsCount=function(){var t=this.labelsRange();return t.max-t.min},e.prototype.labelsRange=function(){var t=this.options,e=t.justified,r=t.labels,i=this.totalRangeIndices(!0),o=i.min,n=i.max,a=Math.floor(o);return e?(o=Math.ceil(o),n=Math.floor(n)):(o=Math.floor(o),n=Math.ceil(n)),{min:(o>r.skip?r.skip+r.step*Math.ceil((o-r.skip)/r.step):r.skip)-a,max:(t.categories.length?n+(e?1:0):0)-a}},e.prototype.createAxisLabel=function(t,e,r){var i=this.options,o=i.dataItems?i.dataItems[t]:null,n=bt(i.categories[t],"");r.dataItem=o;var a=this.axisLabelText(n,e,r);return new de(n,a,t,o,e)},e.prototype.shouldRenderNote=function(t){var e=this.totalRangeIndices();return Math.floor(e.min)<=t&&t<=Math.ceil(e.max)},e.prototype.noteSlot=function(t){var e=this.options,r=t-Math.floor(e.min||0);return this.getSlot(r)},e.prototype.arrangeNotes=function(){t.prototype.arrangeNotes.call(this),this.hideOutOfRangeNotes()},e.prototype.hideOutOfRangeNotes=function(){var t=this.notes,e=this.box;if(t&&t.length)for(var r=this.options.vertical?b:m,i=e[r+1],o=e[r+2],n=0;n<t.length;n++){var a=t[n];a.box&&(o<a.box[r+1]||a.box[r+2]<i)&&a.hide()}},e.prototype.pan=function(t){var e=this.totalRangeIndices(!0),r=this.scaleOptions().scale,i=yt(t/r,10),o=this.totalRange(),n=e.min+i,a=e.max+i;return this.limitRange(n,a,0,o.max,i)},e.prototype.pointsRange=function(t,e){var r=this.options,i=r.reverse,o=r.vertical?b:m,n=this.totalRangeIndices(!0),a=this.scaleOptions(),s=a.scale,u=a.box[o+(i?2:1)],l=t[o]-u,c=e[o]-u,p=n.min+l/s,h=n.min+c/s,f=Math.min(p,h),d=Math.max(p,h);if(d-f>=.01)return{min:f,max:d}},e.prototype.valueRange=function(){return this.range()},e.prototype.totalIndex=function(t){var e=this.options;return this._categoriesMap?this._categoriesMap.get(t):function(t,e){if(t instanceof Date){for(var r=e.length,i=0;i<r;i++)if(Ye(e[i],t))return i;return-1}return e.indexOf(t)}(t,e.srcCategories)},e.prototype.currentRangeIndices=function(){var t=this.options,e=0;return A(t.min)&&(e=Math.floor(t.min)),{min:e,max:A(t.max)?t.justified?Math.floor(t.max):Math.ceil(t.max)-1:this.totalCount()-1}},e.prototype.mapCategories=function(){if(!this._categoriesMap)for(var t=this._categoriesMap=new W,e=this.options.srcCategories,r=0;r<e.length;r++)t.set(e[r],r)},e.prototype.totalCount=function(){return Math.max(this.options.srcCategories.length,this._seriesMax||0)},e}(Ee);Ct(er,{type:"category",vertical:!1,majorGridLines:{visible:!1,width:1,color:n},labels:{zIndex:1},justified:!1,_deferLabels:!0});var rr=er,ir={milliseconds:"HH:mm:ss.fff",seconds:"HH:mm:ss",minutes:"HH:mm",hours:"HH:mm",days:"M/d",weeks:"M/d",months:"MMM 'yy",years:"yyyy"},or=["milliseconds","seconds","minutes","hours",Le,"weeks","months",De];function nr(t){var e=t._range;return e||((e=t._range=wt(t)).min=ze(e.min),e.max=ze(e.max)),e}var ar=function(t){this.options=t};ar.prototype.displayIndices=function(){return{min:0,max:1}},ar.prototype.displayRange=function(){return{}},ar.prototype.total=function(){return{}},ar.prototype.valueRange=function(){return{}},ar.prototype.valueIndex=function(){return-1},ar.prototype.values=function(){return[]},ar.prototype.totalIndex=function(){return-1},ar.prototype.valuesCount=function(){return 0},ar.prototype.totalCount=function(){return 0},ar.prototype.dateAt=function(){return null};var sr=function(t,e,r){this.options=r,r.baseUnitStep=r.baseUnitStep||1;var i=r.roundToBaseUnit,o=r.justified;this.start=He(t,0,r.baseUnit,r.weekStartDay);var n=this.roundToTotalStep(e),a=!o&&Ye(e,n)&&!r.justifyEnd;this.end=this.roundToTotalStep(e,!o,a?1:0);var s=r.min||t;this.valueStart=this.roundToTotalStep(s),this.displayStart=i?this.valueStart:s;var u=r.max;if(u){var l=!o&&Ye(u,this.roundToTotalStep(u))?-1:0;this.valueEnd=this.roundToTotalStep(u,!1,l),this.displayEnd=i?this.roundToTotalStep(u,!o):r.max}else this.valueEnd=n,this.displayEnd=i||a?this.end:e;this.valueEnd<this.valueStart&&(this.valueEnd=this.valueStart),this.displayEnd<=this.displayStart&&(this.displayEnd=this.roundToTotalStep(this.displayStart,!1,1))};function ur(t,e,r){for(var i,o,n,a=nr(t.categories),s=(t.max||a.max)-(t.min||a.min),u=t.autoBaseUnitSteps,l=t.maxDateGroups,c="fit"===t.baseUnit,p=e?or.indexOf(e):0,h=c?or[p++]:t.baseUnit,f=s/Be[h],d=f;!o||f>=l;){i=i||u[h].slice(0);do{n=i.shift()}while(n&&e===h&&n<r);if(n)f=d/(o=n);else{if(h===ft(or)){o=Math.ceil(d/l);break}if(!c){f>l&&(o=Math.ceil(d/l));break}h=or[p++]||ft(or),d=s/Be[h],i=null}}t.baseUnitStep=o,t.baseUnit=h}function lr(t){var e=(t.baseUnit||"").toLowerCase();return"fit"!==e&&!q(e,or)&&function(t){for(var e,r,i=t.categories,o=at(i)?i.length:0,n=h,a=0;a<o;a++){var s=i[a];if(s&&e){var u=Ie(s,e);u>0&&(r=(n=Math.min(n,u))>=31536e6?De:n>=24192e5?"months":n>=6048e5?"weeks":n>=864e5?Le:n>=36e5?"hours":n>=6e4?"minutes":"seconds")}e=s}t.baseUnit=r||Le}(t),"fit"!==e&&"auto"!==t.baseUnitStep||ur(t),t}sr.prototype.displayRange=function(){return{min:this.displayStart,max:this.displayEnd}},sr.prototype.displayIndices=function(){if(!this._indices){var t=this.options,e=t.baseUnit,r=t.baseUnitStep,i=qe(this.displayStart,this.valueStart,e,r),o=qe(this.displayEnd,this.valueStart,e,r);this._indices={min:i,max:o}}return this._indices},sr.prototype.total=function(){return{min:this.start,max:this.end}},sr.prototype.totalCount=function(){return this.totalIndex(this.end)+(this.options.justified?1:0)},sr.prototype.valueRange=function(){return{min:this.valueStart,max:this.valueEnd}},sr.prototype.valueIndex=function(t){var e=this.options;return Math.floor(qe(t,this.valueStart,e.baseUnit,e.baseUnitStep))},sr.prototype.totalIndex=function(t){var e=this.options;return Math.floor(qe(t,this.start,e.baseUnit,e.baseUnitStep))},sr.prototype.dateIndex=function(t){var e=this.options;return qe(t,this.valueStart,e.baseUnit,e.baseUnitStep)},sr.prototype.valuesCount=function(){return this.valueIndex(this.valueEnd)+1},sr.prototype.values=function(){var t=this._values;if(!t){var e=this.options,r=this.valueRange();this._values=t=[];for(var i=r.min;i<=r.max;)t.push(i),i=He(i,e.baseUnitStep,e.baseUnit,e.weekStartDay)}return t},sr.prototype.dateAt=function(t,e){var r=this.options;return He(e?this.start:this.valueStart,r.baseUnitStep*t,r.baseUnit,r.weekStartDay)},sr.prototype.roundToTotalStep=function(t,e,r){var i=this.options,o=i.baseUnit,n=i.baseUnitStep,a=i.weekStartDay,s=this.start,u=qe(t,s,o,n),l=e?Math.ceil(u):Math.floor(u);return r&&(l+=r),He(s,l*n,o,a)};var cr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){var t=new e(Object.assign({},this.options),this.chartService);return t.createLabels(),t},e.prototype.categoriesHash=function(){var t=this.dataRange.total().min;return this.options.baseUnit+this.options.baseUnitStep+t},e.prototype.initUserOptions=function(t){return t},e.prototype.initFields=function(){t.prototype.initFields.call(this);var e=this.chartService,r=e.intl,i=this.options,o=i.categories||[];if(o._parsed||((o=Je(r,o))._parsed=!0),i=V({roundToBaseUnit:!0},i,{categories:o,min:Qe(r,i.min),max:Qe(r,i.max),weekStartDay:tr(i,r)}),e.panning&&e.isPannable(i.vertical?b:m)&&(i.roundToBaseUnit=!1),i.userSetBaseUnit=i.userSetBaseUnit||i.baseUnit,i.userSetBaseUnitStep=i.userSetBaseUnitStep||i.baseUnitStep,this.options=i,i.srcCategories=o,o.length>0){var n=nr(o),a=i.maxDivisions;if(this.dataRange=new sr(n.min,n.max,lr(i)),a){var s=this.dataRange.displayRange(),u=Object.assign({},i,{justified:!0,roundToBaseUnit:!1,baseUnit:"fit",min:s.min,max:s.max,maxDateGroups:a}),l=this.dataRange.options;ur(u,l.baseUnit,l.baseUnitStep),this.divisionRange=new sr(n.min,n.max,u)}else this.divisionRange=this.dataRange}else i.baseUnit=i.baseUnit||Le,this.dataRange=this.divisionRange=new ar(i);this.rangeLabels=[]},e.prototype.tickIndices=function(e){var r=this.dataRange,i=this.divisionRange,o=i.valuesCount();if(!this.options.maxDivisions||!o)return t.prototype.tickIndices.call(this,e);var n=[],a=i.values(),s=0;this.options.justified||(a=a.concat(i.dateAt(o)),s=.5);for(var u=0;u<a.length;u++)if(n.push(r.dateIndex(a[u])+s),1!==e&&u>=1){var l=n.length-1;n.splice(u,0,n[l-1]+(n[l]-n[l-1])*e)}return n},e.prototype.shouldRenderNote=function(t){var e=this.range(),r=this.options.categories||[];return $e(t,e.min)>=0&&$e(t,e.max)<=0&&r.length},e.prototype.parseNoteValue=function(t){return Qe(this.chartService.intl,t)},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.translateRange=function(t){var e=this.options,r=e.baseUnit,i=e.weekStartDay,o=e.vertical,n=this.lineBox(),a=o?n.height():n.width(),s=this.range(),u=a/(s.max-s.min),l=yt(t/u,10);if(s.min&&s.max){var c=Re(e.min||s.min,l),p=Re(e.max||s.max,l);s={min:He(c,0,r,i),max:He(p,0,r,i)}}return s},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.divisionRange.valuesCount()}},e.prototype.pan=function(t){if(this.isEmpty())return null;var e=this.options,r=this.lineBox(),i=e.vertical?r.height():r.width(),o=this.dataRange.displayRange(),n=o.min,a=o.max,s=this.dataRange.total(),u=yt(t/(i/(a-n)),10)*(e.reverse?-1:1),l=Re(n,u),c=Re(a,u),p=this.limitRange(Xe(l),Xe(c),Xe(s.min),Xe(s.max),u);return p?(p.min=ze(p.min),p.max=ze(p.max),p.baseUnit=e.baseUnit,p.baseUnitStep=e.baseUnitStep||1,p.userSetBaseUnit=e.userSetBaseUnit,p.userSetBaseUnitStep=e.userSetBaseUnitStep,p):void 0},e.prototype.pointsRange=function(e,r){if(this.isEmpty())return null;var i=t.prototype.pointsRange.call(this,e,r),o=this.dataRange.displayRange(),n=this.dataRange.displayIndices(),a=Ge(o.max,o.min)/(n.max-n.min),s=this.options;return{min:Re(o.min,i.min*a),max:Re(o.min,i.max*a),baseUnit:s.userSetBaseUnit||s.baseUnit,baseUnitStep:s.userSetBaseUnitStep||s.baseUnitStep}},e.prototype.scaleRange=function(t,e){if(this.isEmpty())return{};var r=this.options,i="fit"===r.userSetBaseUnit,o=this.dataRange.total(),n=this.dataRange.displayRange(),a=n.min,s=n.max,u=Math.abs(this.pointOffset(e)),l=s-a,c=this.scaleToDelta(t,l),p=Math.round(u*c),h=Math.round((1-u)*c),f=this.dataRange.options.baseUnit,d=new Date(a.getTime()+p),v=new Date(s.getTime()-h);if(i){var g,y,m=r.autoBaseUnitSteps,b=r.maxDateGroups,x=ft(m[f])*b*Be[f],_=Ge(s,a),C=Ge(v,d),w=or.indexOf(f);if(C<Be[f]&&"milliseconds"!==f)f=or[w-1],d=Re(a,y=(_-(b-1)*(g=ft(m[f]))*Be[f])/2),v=Re(s,-y);else if(C>x&&f!==De){var S=0;do{w++,f=or[w],S=0,y=2*Be[f];do{g=m[f][S],S++}while(S<m[f].length&&y*g<_)}while(f!==De&&y*g<_);(y=(y*g-_)/2)>0&&(d=Re(a,-y),v=Re(s,y),d=Re(d,dt(v,o.min,o.max)-v),v=Re(v,dt(d,o.min,o.max)-d))}}return d&&v&&Ge(v,d)>0?{min:d,max:v,baseUnit:r.userSetBaseUnit||r.baseUnit,baseUnitStep:r.userSetBaseUnitStep||r.baseUnitStep}:void 0},e.prototype.zoomRange=function(t,e){var r=this.dataRange.total(),i=this.scaleRange(t,e);return i&&(i.min<r.min&&(i.min=r.min),i.max>r.max&&(i.max=r.max)),i},e.prototype.range=function(){return this.dataRange.displayRange()},e.prototype.createLabels=function(){t.prototype.createLabels.call(this),this.createRangeLabels()},e.prototype.clearLabels=function(){t.prototype.clearLabels.call(this),this.rangeLabels=[]},e.prototype.arrangeLabels=function(){this.arrangeRangeLabels(),t.prototype.arrangeLabels.call(this)},e.prototype.arrangeRangeLabels=function(){var t=this.options,e=this.rangeLabels;if(0!==e.length){var r=this.lineBox(),i=t.vertical,o=t.rangeLabels.mirror||t.labels.mirror,n=e[0];if(n){var a=i?r.y1-n.box.height()/2:r.x1;this.positionLabel(n,o,a)}var s=e[1];if(s){var u=i?r.y2-s.box.height()/2:r.x2;this.positionLabel(s,o,u)}}},e.prototype.autoRotateLabels=function(){t.prototype.autoRotateLabels.call(this),this.autoRotateRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){t.prototype.hideOutOfRangeLabels.call(this),this.hideOverlappingLabels()},e.prototype.hideOverlappingLabels=function(){var t=this.rangeLabels,e=this.labels;if(0!==t.length){var r=t[0];if(r&&r.options.visible)for(var i=0;i<e.length;i++){if(!a(r,e[i]))break}var o=t[1];if(o&&o.options.visible)for(var n=e.length-1;n>0;--n){if(!a(o,e[n]))break}}function a(t,e){return!(e.options.visible&&!e.box.overlaps(t.box))&&(e.options.visible=!1,!0)}},e.prototype.contentBox=function(){for(var e=t.prototype.contentBox.call(this),r=this.rangeLabels,i=0;i<r.length;i++){var o=r[i];o.options.visible&&e.wrap(o.box)}return e},e.prototype.createAxisLabel=function(t,e,r){void 0===r&&(r={});var i=this.options,o=i.dataItems&&!i.maxDivisions?i.dataItems[t]:null,n=this.divisionRange.dateAt(t),a=e.dateFormats[this.divisionRange.options.baseUnit];e.format=e.format||a,r.dataItem=o;var s=this.axisLabelText(n,e,r);if(s)return new de(n,s,t,o,e)},e.prototype.createRangeLabels=function(){var t=this,e=this.divisionRange,r=e.displayStart,i=e.displayEnd,o=this.options,n=Object.assign({},o.labels,o.rangeLabels,{align:s,zIndex:o.zIndex});if(!0===n.visible){this.normalizeLabelRotation(n),n.alignRotation=s,"auto"===n.rotation&&(n.rotation=0,o.autoRotateRangeLabels=!0);var a=n.dateFormats[this.divisionRange.options.baseUnit];n.format=n.format||a;var u=function(e,r,i){if(i){var o=new de(r,i,e,null,n);t.append(o),t.rangeLabels.push(o)}};u(0,r,this.axisLabelText(r,n,{index:0,count:2})),u(1,i,this.axisLabelText(i,n,{index:1,count:2}))}},e.prototype.autoRotateRangeLabels=function(){var t=this,e=this.rangeLabels;if(this.options.autoRotateRangeLabels&&!this.options.vertical&&2===e.length){var r=function(e,r,i){var o=2*Math.abs(r[i+1]-r[i]),n=t.autoRotateLabelAngle(e.box,o);0!==n&&(e.options.rotation=n,e.reflow(new Ft))},i=this.getMajorTickPositions();r(e[0],i,0),r(e[1],i,i.length-2)}},e.prototype.categoryIndex=function(t){return this.dataRange.valueIndex(t)},e.prototype.slot=function(t,e,r){var i=this.dataRange,o=t,n=e;o instanceof Date&&(o=i.dateIndex(o)),n instanceof Date&&(n=i.dateIndex(n));var a=this.getSlot(o,n,r);if(a)return a.toRect()},e.prototype.getSlot=function(e,r,i){var o=e,n=r;return"object"==typeof o&&(o=this.categoryIndex(o)),"object"==typeof n&&(n=this.categoryIndex(n)),t.prototype.getSlot.call(this,o,n,i)},e.prototype.valueRange=function(){var t=nr(this.options.srcCategories);return{min:ze(t.min),max:ze(t.max)}},e.prototype.categoryAt=function(t,e){return this.dataRange.dateAt(t,e)},e.prototype.categoriesCount=function(){return this.dataRange.valuesCount()},e.prototype.rangeIndices=function(){return this.dataRange.displayIndices()},e.prototype.labelsBetweenTicks=function(){return!this.divisionRange.options.justified},e.prototype.prepareUserOptions=function(){this.isEmpty()||(this.options.categories=this.dataRange.values())},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.dataRange.dateAt(e)},e.prototype.totalIndex=function(t){return this.dataRange.totalIndex(t)},e.prototype.currentRangeIndices=function(){var t=this.dataRange.valueRange();return{min:this.dataRange.totalIndex(t.min),max:this.dataRange.totalIndex(t.max)}},e.prototype.totalRange=function(){return this.dataRange.total()},e.prototype.totalCount=function(){return this.dataRange.totalCount()},e.prototype.isEmpty=function(){return!this.options.srcCategories.length},e.prototype.roundedRange=function(){if(!1!==this.options.roundToBaseUnit||this.isEmpty())return this.range();var t=this.options,e=nr(t.srcCategories);return new sr(e.min,e.max,Object.assign({},t,{justified:!1,roundToBaseUnit:!0,justifyEnd:t.justified})).displayRange()},e}(rr);Ct(cr,{type:l,labels:{dateFormats:ir},rangeLabels:{visible:!1},autoBaseUnitSteps:{milliseconds:[1,10,100],seconds:[1,2,5,15,30],minutes:[1,2,5,15,30],hours:[1,2,3],days:[1,2,3],weeks:[1,2],months:[1,2,3,6],years:[1,2,3,5,10,25,50]},maxDateGroups:10});var pr=cr;function hr(t,e){return yt(Math.floor(t/e)*e,10)}function fr(t,e){return yt(Math.ceil(t/e)*e,10)}function dr(t){return Math.max(Math.min(t,3e5),-3e5)}var vr=Math.pow(10,-9),gr=function(t){function e(e,r,i,o){t.call(this,Object.assign({},i,{seriesMin:e,seriesMax:r}),o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=function(t,e,r){var i=r.narrowRange,o=function(t,e,r){if(!t&&!e)return 0;var i;if(t>=0&&e>=0){var o=t===e?0:t;if(!1===r||!r&&(e-o)/e>.2)return 0;i=Math.max(0,o-(e-o)/2)}else i=t;return i}(t,e,i),n=function(t,e,r){if(!t&&!e)return 1;var i;if(t<=0&&e<=0){var o=t===e?0:e,n=Math.abs((o-t)/o);if(!1===r||!r&&n>.2)return 0;i=Math.min(0,o-(t-o)/2)}else i=e;return i}(t,e,i),a=It(o,n),s={majorUnit:a};!1!==r.roundToMajorUnit&&(o<0&&yr(o,a,1/3)&&(o-=a),n>0&&yr(n,a,1/3)&&(n+=a));return s.min=hr(o,a),s.max=fr(n,a),s}(t.seriesMin,t.seriesMax,t);return this.totalOptions=function(t,e){return{min:at(e.min)?Math.min(t.min,e.min):t.min,max:at(e.max)?Math.max(t.max,e.max):t.max,majorUnit:t.majorUnit}}(e,t),function(t,e){var r,i,o=e;if(e){!function(t,e){for(var r=0;r<e.length;r++){var i=e[r];null===t[i]&&(t[i]=void 0)}}(e,["min","max"]),r=at(e.min),i=at(e.max);var n=r||i;n&&e.min===e.max&&(e.min>0?e.min=0:e.max=1),e.majorUnit?(t.min=hr(t.min,e.majorUnit),t.max=fr(t.max,e.majorUnit)):n&&(o=V(t,e),t.majorUnit=It(o.min,o.max))}t.minorUnit=(o.majorUnit||t.majorUnit)/5;var a=V(t,o);a.min>=a.max&&(r&&!i?a.max=a.min+a.majorUnit:!r&&i&&(a.min=a.max-a.majorUnit));return a}(e,t)},e.prototype.initFields=function(){this.totalMin=this.totalOptions.min,this.totalMax=this.totalOptions.max,this.totalMajorUnit=this.totalOptions.majorUnit,this.seriesMin=this.options.seriesMin,this.seriesMax=this.options.seriesMax},e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return 0},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){if(0===t)return 1;var e=this.options,r=e.max-e.min;return Math.floor(yt(r/t,3))+1},e.prototype.getTickPositions=function(t,e){var r=this.options,i=this.lineInfo(),o=i.axisDir,n=i.axisOrigin,a=i.lineBox,s=t*(i.lineSize/(r.max-r.min)),u=this.getDivisions(t),l=[],c=a[n],p=0;e&&(p=e/t);for(var h=0;h<u;h++)h%p!=0&&l.push(yt(c,3)),c+=s*o;return l},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,r){void 0===r&&(r=!1);var i=this.options,o=this.lineInfo(),n=o.axis,a=o.axisDir,s=o.lineBox,u=o.lineSize,l=o.lineStart,c=a*(u/(i.max-i.min)),p=bt(t,e||0),h=bt(e,t||0);r&&(p=dt(p,i.min,i.max),h=dt(h,i.min,i.max));var f=Math.min(p,h)-i.min,d=Math.max(p,h)-i.min,v=new Ft(s.x1,s.y1,s.x1,s.y1);return v[n+1]=dr(l+c*(a>0?f:d)),v[n+2]=dr(l+c*(a>0?d:f)),v},e.prototype.getValue=function(t){var e=this.options,r=Number(e.max),i=Number(e.min),o=this.pointOffset(t);return o<0||o>1?null:yt(i+o*(r-i),10)},e.prototype.translateRange=function(t){var e=this.options,r=e.vertical,i=e.reverse,o=e.max,n=e.min,a=this.lineInfo().lineSize,s=yt(t/(a/(o-n)),10);return!r&&!i||r&&i||(s=-s),{min:n+s,max:o+s,offset:s}},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,r){var i=this.options,o=yt(i.min+t*i.majorUnit,10),n=this.axisLabelText(o,e,r);return new de(o,n,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var r=this.getValue(t),i=this.getValue(e),o=Math.min(r,i),n=Math.max(r,i);if(this.isValidRange(o,n))return{min:o,max:n}},e.prototype.scaleRange=function(t,e){var r=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,o=this.scaleToDelta(t,i),n=r*o,a=(1-r)*o,s=yt(this.options.min+n,10),u=yt(this.options.max-a,10);return u-s<vr&&(u=s+vr),{min:s,max:u}},e.prototype.zoomRange=function(t,e){var r=this.totalMin,i=this.totalMax,o=this.scaleRange(t,e);return{min:dt(o.min,r,i),max:dt(o.max,r,i),narrowRange:!1}},e.prototype.isValidRange=function(t,e){return e-t>vr},e}(Ee);function yr(t,e,r){var i=yt(Math.abs(t%e),10);return 0===i||i>e*(1-r)}Ct(gr,{type:"numeric",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:n},labels:{format:"#.####################"},zIndex:1});var mr=gr,br=function(t){function e(e,r,i,o){var n=ze(e),a=ze(r),s=o.intl,u=i||{};u=function(t,e,r){var i=r.min||t,o=r.max||e,n=r.baseUnit||(o&&i?function(t){var e="hours";t>=31536e6?e=De:t>=26784e5?e="months":t>=6048e5?e="weeks":t>=864e5&&(e=Le);return e}(Ie(o,i)):"hours"),a=Be[n],s=r.weekStartDay||0,u=Ue(Xe(i)-1,n,s)||ze(o),l=Ke(Xe(o)+1,n,s),c=(r.majorUnit?r.majorUnit:void 0)||fr(It(u.getTime(),l.getTime()),a)/a,p=Ze(u,l,n),h=fr(p,c)-p,f=Math.floor(h/2),d=h-f;r.baseUnit||delete r.baseUnit;return r.baseUnit=r.baseUnit||n,r.min=r.min||He(u,-f,n,s),r.max=r.max||He(l,d,n,s),r.minorUnit=r.minorUnit||c/5,r.majorUnit=c,r}(n,a,u=V(u||{},{min:Qe(s,u.min),max:Qe(s,u.max),axisCrossingValue:Je(s,u.axisCrossingValues||u.axisCrossingValue),weekStartDay:tr(u,s)})),t.call(this,u,o),this.intlService=s,this.seriesMin=n,this.seriesMax=a;var l=u.weekStartDay||0;this.totalMin=Xe(Ue(Xe(n)-1,u.baseUnit,l)),this.totalMax=Xe(Ke(Xe(a)+1,u.baseUnit,l))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){var e=this.options;return Math.floor(Ze(e.min,e.max,e.baseUnit)/t+1)},e.prototype.getTickPositions=function(t){for(var e=this.options,r=this.lineInfo(),i=r.axisDir,o=r.lineSize,n=r.lineStart,a=this.getDivisions(t),s=o/Ge(e.max,e.min),u=e.weekStartDay||0,l=[n],c=1;c<a;c++){var p=n+Ge(He(e.min,c*t,e.baseUnit,u),e.min)*s*i;l.push(yt(p,3))}return l},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,r){return mr.prototype.getSlot.call(this,Qe(this.intlService,t),Qe(this.intlService,e),r)},e.prototype.getValue=function(t){var e=mr.prototype.getValue.call(this,t);return null!==e?ze(e):null},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,r){var i=this.options,o=t*i.majorUnit,n=i.weekStartDay||0,a=i.min;o>0&&(a=He(a,o,i.baseUnit,n));var s=e.dateFormats[i.baseUnit];e.format=e.format||s;var u=this.axisLabelText(a,e,r);return new de(a,u,t,null,e)},e.prototype.translateRange=function(t){var e=this.options,r=this.lineBox(),i=e.vertical,o=e.reverse,n=i?r.height():r.width(),a=this.range(),s=n/Ge(a.max,a.min),u=yt(t/s,10);return!i&&!o||i&&o||(u=-u),{min:Re(e.min,u),max:Re(e.max,u),offset:u}},e.prototype.shouldRenderNote=function(t){var e=this.range();return $e(t,e.min)>=0&&$e(t,e.max)<=0},e.prototype.pan=function(t){var e=this.translateRange(t,!0),r=this.limitRange(Xe(e.min),Xe(e.max),this.totalMin,this.totalMax,e.offset);if(r)return{min:ze(r.min),max:ze(r.max)}},e.prototype.pointsRange=function(t,e){var r=this.getValue(t),i=this.getValue(e),o=Math.min(r,i),n=Math.max(r,i);return{min:ze(o),max:ze(n)}},e.prototype.scaleRange=function(t,e){var r=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,o=this.scaleToDelta(t,i),n=r*o,a=(1-r)*o,s=ze(Xe(this.options.min)+n),u=ze(Xe(this.options.max)-a);return u-s<1e3&&(u=ze(Xe(s)+1e3)),{min:s,max:u}},e.prototype.zoomRange=function(t,e){var r=this.scaleRange(t,e);return{min:ze(dt(Xe(r.min),this.totalMin,this.totalMax)),max:ze(dt(Xe(r.max),this.totalMin,this.totalMax))}},e}(Ee);Ct(br,{type:l,majorGridLines:{visible:!0,width:1,color:n},labels:{dateFormats:ir}});var xr=br,_r=function(t){function e(e,r,i,o){var n=V({majorUnit:10,min:e,max:r},i),a=n.majorUnit,s=function(t,e){var r,i=yt(wr(t,e),10)%1;r=t<=0?e:0!==i&&(i<.3||i>.9)?Math.pow(e,wr(t,e)+.2):Math.pow(e,Math.ceil(wr(t,e)));return r}(r,a),u=function(t,e,r){var i=r.majorUnit,o=t;t<=0?o=e<=1?Math.pow(i,-2):1:r.narrowRange||(o=Math.pow(i,Math.floor(wr(t,i))));return o}(e,r,n),l=function(t,e,r,i){var o=r.min,n=r.max;at(r.axisCrossingValue)&&r.axisCrossingValue<=0&&Cr();at(i.max)?i.max<=0&&Cr():n=e;at(i.min)?i.min<=0&&Cr():o=t;return{min:o,max:n}}(u,s,n,i);n.max=l.max,n.min=l.min,n.minorUnit=i.minorUnit||yt(a-1,10),t.call(this,n,o),this.totalMin=at(i.min)?Math.min(u,i.min):u,this.totalMax=at(i.max)?Math.max(s,i.max):s,this.logMin=yt(wr(l.min,a),10),this.logMax=yt(wr(l.max,a),10),this.seriesMin=e,this.seriesMax=r,this.createLabels()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return this.options.min},e.prototype.getSlot=function(t,e,r){var i=this.options,o=this.logMin,n=this.logMax,a=i.majorUnit,s=i.min,u=i.max,l=this.lineInfo(),c=l.axis,p=l.axisDir,h=l.lineBox,f=l.lineSize,d=l.lineStart,v=p*(f/(n-o)),g=bt(t,e||1),y=bt(e,t||1);if(g<=0||y<=0)return null;r&&(g=dt(g,s,u),y=dt(y,s,u)),g=wr(g,a),y=wr(y,a);var m=Math.min(g,y)-o,b=Math.max(g,y)-o,x=new Ft(h.x1,h.y1,h.x1,h.y1);return x[c+1]=dr(d+v*(p>0?m:b)),x[c+2]=dr(d+v*(p>0?b:m)),x},e.prototype.getValue=function(t){var e=this.options,r=this.logMin,i=this.logMax,o=e.majorUnit,n=this.lineInfo(),a=n.axis,s=n.axisDir,u=n.lineStart,l=n.lineSize,c=(i-r)/l,p=s*(t[a]-u);if(p<0||p>l)return null;var h=r+p*c;return yt(Math.pow(o,h),10)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.translateRange=function(t){var e=this.options,r=this.logMin,i=this.logMax,o=e.reverse,n=e.vertical,a=e.majorUnit,s=this.lineBox(),u=n?s.height():s.width(),l=yt(t/(u/(i-r)),10);return!n&&!o||n&&o||(l=-l),{min:Math.pow(a,r+l),max:Math.pow(a,i+l),offset:l}},e.prototype.labelsCount=function(){var t=Math.floor(this.logMax);return Math.floor(t-this.logMin)+1},e.prototype.getMajorTickPositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),{step:1,skip:0}),t},e.prototype.createTicks=function(t){var e=this.options,r=e.majorTicks,i=e.minorTicks,o=e.vertical,n=e.labels.mirror,a=this.lineBox(),s={vertical:o};function u(e,r){s.tickX=n?a.x2:a.x2-r.size,s.tickY=n?a.y1-r.size:a.y1,s.position=e,t.append(Me(s,r))}return r.visible&&this.traverseMajorTicksPositions(u,r),i.visible&&this.traverseMinorTicksPositions(u,i),[]},e.prototype.createGridLines=function(t){var e=this.options,r=e.minorGridLines,i=e.majorGridLines,o=e.vertical,n=t.lineBox(),a={lineStart:n[o?"x1":"y1"],lineEnd:n[o?"x2":"y2"],vertical:o},s=[],u=this.gridLinesVisual();function l(t,e){q(t,s)||(a.position=t,u.append(Ve(a,e)),s.push(t))}return i.visible&&this.traverseMajorTicksPositions(l,i),r.visible&&this.traverseMinorTicksPositions(l,r),u.children},e.prototype.traverseMajorTicksPositions=function(t,e){for(var r=this.lineInfo(),i=r.lineStart,o=r.step,n=this.logMin,a=this.logMax,s=Math.ceil(n)+e.skip;s<=a;s+=e.step){t(yt(i+o*(s-n),10),e)}},e.prototype.traverseMinorTicksPositions=function(t,e){for(var r=this.options,i=r.min,o=r.max,n=r.minorUnit,a=r.majorUnit,s=this.lineInfo(),u=s.lineStart,l=s.step,c=this.logMin,p=this.logMax,h=Math.floor(c);h<p;h++)for(var f=this._minorIntervalOptions(h),d=e.skip;d<n;d+=e.step){var v=f.value+d*f.minorStep;if(v>o)break;if(v>=i)t(yt(u+l*(wr(v,a)-c),10),e)}},e.prototype.createAxisLabel=function(t,e,r){var i=Math.ceil(this.logMin+t),o=Math.pow(this.options.majorUnit,i),n=this.axisLabelText(o,e,r);return new de(o,n,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var r=this.getValue(t),i=this.getValue(e);return{min:Math.min(r,i),max:Math.max(r,i)}},e.prototype.scaleRange=function(t,e){var r=this.options.majorUnit,i=wr(this.options.min,r),o=wr(this.options.max,r),n=Math.abs(this.pointOffset(e)),a=o-i,s=this.scaleToDelta(t,a),u=Math.pow(r,i+n*s),l=Math.pow(r,o-(1-n)*s);return l-u<1e-6&&(l=u+1e-6),{min:u,max:l}},e.prototype.zoomRange=function(t,e){var r=this.scaleRange(t,e),i=this.totalMin,o=this.totalMax;return{min:dt(r.min,i,o),max:dt(r.max,i,o)}},e.prototype._minorIntervalOptions=function(t){var e=this.options,r=e.minorUnit,i=e.majorUnit,o=Math.pow(i,t);return{value:o,minorStep:(Math.pow(i,t+1)-o)/r}},e.prototype.lineInfo=function(){var e=t.prototype.lineInfo.call(this);return e.step=e.axisDir*(e.lineSize/(this.logMax-this.logMin)),e},e}(Ee);function Cr(){throw new Error("Non positive values cannot be used for a logarithmic axis")}function wr(t,e){return Math.log(t)/Math.log(e)}Ct(_r,{type:"log",majorUnit:10,minorUnit:1,axisCrossingValue:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:n},zIndex:1,_deferLabels:!0});var Sr=_r,Or={createGridLines:function(t){var e,r,i=this.options,o=Math.abs(this.box.center().y-t.lineBox().y1),n=[],a=!1;return i.majorGridLines.visible&&(e=this.majorGridLineAngles(t),a=!0,n=this.renderMajorGridLines(e,o,i.majorGridLines)),i.minorGridLines.visible&&(r=this.minorGridLineAngles(t,a),ot(n,this.renderMinorGridLines(r,o,i.minorGridLines,t,a))),n},renderMajorGridLines:function(t,e,r){return this.renderGridLines(t,e,r)},renderMinorGridLines:function(t,e,r,i,o){var n=this.radiusCallback&&this.radiusCallback(e,i,o);return this.renderGridLines(t,e,r,n)},renderGridLines:function(t,e,r,i){for(var o={stroke:{width:r.width,color:r.color,dashType:r.dashType}},n=this.box.center(),a=new S.geometry.Circle([n.x,n.y],e),s=this.gridLinesVisual(),u=0;u<t.length;u++){var l=new S.drawing.Path(o);i&&(a.radius=i(t[u])),l.moveTo(a.center).lineTo(a.pointAt(t[u]+180)),s.append(l)}return s.children},gridLineAngles:function(t,e,r,i,o){var n=this,a=this.intervals(e,r,i,o),s=t.options,u=s.visible&&!1!==(s.line||{}).visible;return tt(a,(function(t){var e=n.intervalAngle(t);if(!u||90!==e)return e}))}},Pr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.range=function(){return{min:0,max:this.options.categories.length}},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.lineBox=function(){return this.box},e.prototype.reflowLabels=function(){for(var t=this.labels,e=this.options.labels,r=e.skip||0,i=e.step||1,o=new Ft,n=0;n<t.length;n++){t[n].reflow(o);var a=t[n].box;t[n].reflow(this.getSlot(r+n*i).adjacentBox(0,a.width(),a.height()))}},e.prototype.intervals=function(t,e,r,i){void 0===i&&(i=!1);for(var o=this.options,n=o.categories.length/t||1,a=360/n,s=r||1,u=[],l=0,c=e||0;c<n;c+=s)l=o.reverse?360-c*a:c*a,l=yt(l,3)%360,i&&q(l,i)||u.push(l);return u},e.prototype.majorIntervals=function(){return this.intervals(1)},e.prototype.minorIntervals=function(){return this.intervals(.5)},e.prototype.intervalAngle=function(t){return(360+t+this.options.startAngle)%360},e.prototype.majorAngles=function(){var t=this;return tt(this.majorIntervals(),(function(e){return t.intervalAngle(e)}))},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,1,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var r=this.options,i=r.minorGridLines,o=r.majorGridLines,n=e?this.intervals(1,o.skip,o.step):null;return this.gridLineAngles(t,.5,i.skip,i.step,n)},e.prototype.radiusCallback=function(t,e,r){if(e.options.type!==o){var i=gt(360/(2*this.options.categories.length)),n=Math.cos(i)*t,a=this.majorAngles(),s=function(e){return!r&&q(e,a)?t:n};return s}},e.prototype.createPlotBands=function(){for(var t=this.options.plotBands||[],e=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),r=0;r<t.length;r++){var i=t[r],o=this.plotBandSlot(i),n=this.getSlot(i.from),a=i.from-Math.floor(i.from);o.startAngle+=a*n.angle;var s=Math.ceil(i.to)-i.to;o.angle-=(s+a)*n.angle;var u=Gt.current.createRing(o,{fill:{color:i.color,opacity:i.opacity},stroke:{opacity:i.opacity}});e.append(u)}this.appendVisual(e)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to-1)},e.prototype.getSlot=function(t,e){var r=this.options,i=r.justified,o=this.box,n=this.majorAngles(),a=n.length,s=360/a,u=t;r.reverse&&!i&&(u=(u+1)%a);var l=n[u=dt(Math.floor(u),0,a-1)];i&&(l-=s/2)<0&&(l+=360);var c=s*(dt(Math.ceil(e||u),u,a-1)-u+1);return new Ut(o.center(),0,o.height()/2,l,c)},e.prototype.slot=function(t,e){var r=this.getSlot(t,e),i=r.startAngle+180,o=i+r.angle;return new S.geometry.Arc([r.center.x,r.center.y],{startAngle:i,endAngle:o,radiusX:r.radius,radiusY:r.radius})},e.prototype.pointCategoryIndex=function(t){for(var e=this.options.categories.length,r=null,i=0;i<e;i++){if(this.getSlot(i).containsPoint(t)){r=i;break}}return r},e}(rr);Ct(Pr,{startAngle:90,labels:{margin:I(10)},majorGridLines:{visible:!0},justified:!0}),V(Pr.prototype,Or);var Ar=Pr,jr=function(t){function e(e,r){t.call(this,e,r);var i=this.options;i.minorUnit=i.minorUnit||i.majorUnit/2}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDivisions=function(t){return mr.prototype.getDivisions.call(this,t)-1},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.reflowLabels=function(){for(var t=this.options,e=this.labels,r=this.options.labels,i=r.skip||0,o=r.step||1,n=new Ft,a=this.intervals(t.majorUnit,i,o),s=0;s<e.length;s++){e[s].reflow(n);var u=e[s].box;e[s].reflow(this.getSlot(a[s]).adjacentBox(0,u.width(),u.height()))}},e.prototype.lineBox=function(){return this.box},e.prototype.intervals=function(t,e,r,i){void 0===i&&(i=!1);for(var o=this.options.min,n=this.getDivisions(t),a=[],s=r||1,u=e||0;u<n;u+=s){var l=(360+o+u*t)%360;i&&q(l,i)||a.push(l)}return a},e.prototype.majorIntervals=function(){return this.intervals(this.options.majorUnit)},e.prototype.minorIntervals=function(){return this.intervals(this.options.minorUnit)},e.prototype.intervalAngle=function(t){return(540-t-this.options.startAngle)%360},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,this.options.majorUnit,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var r=this.options,i=r.minorGridLines,o=r.majorGridLines,n=e?this.intervals(r.majorUnit,o.skip,o.step):null;return this.gridLineAngles(t,r.minorUnit,i.skip,i.step,n)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to)},e.prototype.getSlot=function(t,e){var r=this.options,i=this.box,o=r.startAngle,n=dt(t,r.min,r.max),a=dt(e||n,n,r.max);if(r.reverse&&(n*=-1,a*=-1),(a=(540-a-o)%360)<(n=(540-n-o)%360)){var s=n;n=a,a=s}return new Ut(i.center(),0,i.height()/2,n,a-n)},e.prototype.slot=function(t,e){void 0===e&&(e=t);var r,i,o=this.options,n=360-o.startAngle,a=this.getSlot(t,e),s=Math.min(t,e),u=Math.max(t,e);return o.reverse?(r=s,i=u):(r=360-u,i=360-s),r=(r+n)%360,i=(i+n)%360,new S.geometry.Arc([a.center.x,a.center.y],{startAngle:r,endAngle:i,radiusX:a.radius,radiusY:a.radius})},e.prototype.getValue=function(t){var e=this.options,r=this.box.center(),i=t.x-r.x,o=t.y-r.y,n=Math.round(st(Math.atan2(o,i))),a=e.startAngle;return e.reverse||(n*=-1,a*=-1),(n+a+360)%360},e.prototype.valueRange=function(){return{min:0,max:2*Math.PI}},e}(Ee);Ct(jr,{type:"polar",startAngle:0,reverse:!1,majorUnit:60,min:0,max:360,labels:{margin:I(10)},majorGridLines:{color:n,visible:!0,width:1},minorGridLines:{color:"#aaa"}}),V(jr.prototype,Or,{createPlotBands:Ar.prototype.createPlotBands,majorAngles:Ar.prototype.majorAngles,range:mr.prototype.range,labelsCount:mr.prototype.labelsCount,createAxisLabel:mr.prototype.createAxisLabel});var kr=jr;function Tr(t,e){return 180-Math.abs(Math.abs(t-e)-180)}var Mr={options:{majorGridLines:{visible:!0}},createPlotBands:function(){var t=this.options,e=t.majorGridLines.type,r=t.plotBands;void 0===r&&(r=[]);for(var i=this.plotArea.polarAxis,n=i.majorAngles(),a=i.box.center(),s=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),u=0;u<r.length;u++){var l=r[u],c={fill:{color:l.color,opacity:l.opacity},stroke:{opacity:l.opacity}},p=this.getSlot(l.from,l.to,!0),h=new Ut(a,a.y-p.y2,a.y-p.y1,0,360),f=void 0;f=e===o?Gt.current.createRing(h,c):S.drawing.Path.fromPoints(this.plotBandPoints(h,n),c).close(),s.append(f)}this.appendVisual(s)},plotBandPoints:function(t,e){for(var r=[],i=[],o=[t.center.x,t.center.y],n=new S.geometry.Circle(o,t.innerRadius),a=new S.geometry.Circle(o,t.radius),s=0;s<e.length;s++)r.push(n.pointAt(e[s]+180)),i.push(a.pointAt(e[s]+180));return r.reverse(),r.push(r[0]),i.push(i[0]),i.concat(r)},createGridLines:function(t){var e=this.options,r=this.radarMajorGridLinePositions(),i=t.majorAngles(),o=t.box.center(),n=[];if(e.majorGridLines.visible&&(n=this.renderGridLines(o,r,i,e.majorGridLines)),e.minorGridLines.visible){var a=this.radarMinorGridLinePositions();ot(n,this.renderGridLines(o,a,i,e.minorGridLines))}return n},renderGridLines:function(t,e,r,i){var n={stroke:{width:i.width,color:i.color,dashType:i.dashType}},a=i.skip;void 0===a&&(a=0);var s=i.step;void 0===s&&(s=0);for(var u=this.gridLinesVisual(),l=a;l<e.length;l+=s){var c=t.y-e[l];if(c>0){var p=new S.geometry.Circle([t.x,t.y],c);if(i.type===o)u.append(new S.drawing.Circle(p,n));else{for(var h=new S.drawing.Path(n),f=0;f<r.length;f++)h.lineTo(p.pointAt(r[f]+180));h.close(),u.append(h)}}}return u.children},getValue:function(t){var e=this.lineBox(),r=this.plotArea.polarAxis,i=r.majorAngles(),n=r.box.center(),a=t.distanceTo(n),s=a;if(this.options.majorGridLines.type!==o&&i.length>1){var u=t.x-n.x,l=t.y-n.y,c=(st(Math.atan2(l,u))+540)%360;i.sort((function(t,e){return Tr(t,c)-Tr(e,c)}));var p=90-Tr(i[0],i[1])/2,h=180-Tr(c,i[0])-p;s=a*(Math.sin(gt(h))/Math.sin(gt(p)))}return this.axisType().prototype.getValue.call(this,new Rt(e.x1,e.y2-s))}},Vr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.radarMinorGridLinePositions=function(){var t=this.options,e=0;return t.majorGridLines.visible&&(e=t.majorUnit),this.getTickPositions(t.minorUnit,e)},e.prototype.axisType=function(){return t},e}(mr);V(Vr.prototype,Mr);var Nr=Vr,Er=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),this.options.majorGridLines),t},e.prototype.radarMinorGridLinePositions=function(){var t=[];return this.traverseMinorTicksPositions((function(e){t.push(e)}),this.options.minorGridLines),t},e.prototype.axisType=function(){return t},e}(Sr);V(Er.prototype,Mr);var Lr=Er;function Dr(t){return t<=0?-1:1}var Br=function(t){function e(e){t.call(this),this.closed=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.process=function(t){var e=t.slice(0),r=[],i=this.closed,o=e.length;if(o>2&&(this.removeDuplicates(0,e),o=e.length),o<2||2===o&&e[0].equals(e[1]))return r;var n,a,s=e[0],u=e[1],l=e[2];for(r.push(new S.geometry.Segment(s));s.equals(e[o-1]);)i=!0,e.pop(),o--;if(2===o){var c=this.tangent(s,u,m,b);return ft(r).controlOut(this.firstControlPoint(c,s,u,m,b)),r.push(new S.geometry.Segment(u,this.secondControlPoint(c,s,u,m,b))),r}if(i){s=e[o-1],u=e[0],l=e[1];var p=this.controlPoints(s,u,l);n=p[1],a=p[0]}else{var h=this.tangent(s,u,m,b);n=this.firstControlPoint(h,s,u,m,b)}for(var f=n,d=0;d<=o-3;d++)if(this.removeDuplicates(d,e),d+3<=(o=e.length)){s=e[d],u=e[d+1],l=e[d+2];var v=this.controlPoints(s,u,l);ft(r).controlOut(f),f=v[1];var g=v[0];r.push(new S.geometry.Segment(u,g))}if(i){s=e[o-2],u=e[o-1],l=e[0];var y=this.controlPoints(s,u,l);ft(r).controlOut(f),r.push(new S.geometry.Segment(u,y[0])),ft(r).controlOut(y[1]),r.push(new S.geometry.Segment(l,a))}else{var x=this.tangent(u,l,m,b);ft(r).controlOut(f),r.push(new S.geometry.Segment(l,this.secondControlPoint(x,u,l,m,b)))}return r},e.prototype.removeDuplicates=function(t,e){for(;e[t+1]&&(e[t].equals(e[t+1])||e[t+1].equals(e[t+2]));)e.splice(t+1,1)},e.prototype.invertAxis=function(t,e,r){var i=!1;if(t.x===e.x)i=!0;else if(e.x===r.x)(e.y<r.y&&t.y<=e.y||r.y<e.y&&e.y<=t.y)&&(i=!0);else{var o=this.lineFunction(t,e),n=this.calculateFunction(o,r.x);t.y<=e.y&&r.y<=n||e.y<=t.y&&r.y>=n||(i=!0)}return i},e.prototype.isLine=function(t,e,r){var i=this.lineFunction(t,e),o=this.calculateFunction(i,r.x);return t.x===e.x&&e.x===r.x||yt(o,1)===yt(r.y,1)},e.prototype.lineFunction=function(t,e){var r=(e.y-t.y)/(e.x-t.x);return[t.y-r*t.x,r]},e.prototype.controlPoints=function(t,e,r){var i,o=m,n=b,a=!1,s=!1;if(this.isLine(t,e,r))i=this.tangent(t,e,m,b);else{var u={x:this.isMonotonicByField(t,e,r,m),y:this.isMonotonicByField(t,e,r,b)};if(u.x&&u.y)i=this.tangent(t,r,m,b),a=!0;else if(this.invertAxis(t,e,r)&&(o=b,n=m),u[o])i=0;else i=.01*(r[n]<t[n]&&t[n]<=e[n]||t[n]<r[n]&&e[n]<=t[n]?Dr((r[n]-t[n])*(e[o]-t[o])):-Dr((r[o]-t[o])*(e[n]-t[n]))),s=!0}var l=this.secondControlPoint(i,t,e,o,n);if(s){var c=o;o=n,n=c}var p=this.firstControlPoint(i,e,r,o,n);return a&&(this.restrictControlPoint(t,e,l,i),this.restrictControlPoint(e,r,p,i)),[l,p]},e.prototype.restrictControlPoint=function(t,e,r,i){t.y<e.y?e.y<r.y?(r.x=t.x+(e.y-t.y)/i,r.y=e.y):r.y<t.y&&(r.x=e.x-(e.y-t.y)/i,r.y=t.y):r.y<e.y?(r.x=t.x-(t.y-e.y)/i,r.y=e.y):t.y<r.y&&(r.x=e.x+(t.y-e.y)/i,r.y=t.y)},e.prototype.tangent=function(t,e,r,i){var o,n=e[r]-t[r],a=e[i]-t[i];return o=0===n?0:a/n,o},e.prototype.isMonotonicByField=function(t,e,r,i){return r[i]>e[i]&&e[i]>t[i]||r[i]<e[i]&&e[i]<t[i]},e.prototype.firstControlPoint=function(t,e,r,i,o){var n=e[i],a=.333*(r[i]-n);return this.point(n+a,e[o]+a*t,i,o)},e.prototype.secondControlPoint=function(t,e,r,i,o){var n=e[i],a=r[i],s=.333*(a-n);return this.point(a-s,r[o]-s*t,i,o)},e.prototype.point=function(t,e,r,i){var o=new S.geometry.Point;return o[r]=t,o[i]=e,o},e.prototype.calculateFunction=function(t,e){for(var r=t.length,i=0,o=0;o<r;o++)i+=Math.pow(e,o)*t[o];return i},e}(S.Class),Ir=function(t){function e(e){t.call(this),this._axis=e,this.options=e.options}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this._axis,r=e.getCategory?e.getCategory(t):e.getValue(t);return r},e.prototype.slot=function(t,e,r){return void 0===r&&(r=!0),this._axis.slot(t,e,r)},e.prototype.range=function(){return this._axis.range()},e.prototype.valueRange=function(){return this._axis.valueRange()},e}(S.Class);function Rr(t,e){for(var r=0;r<e.length;r++)if(e[r].options.name===t)return e[r].prepareUserOptions(),new Ir(e[r])}var zr=function(t){this.visual=t.visual,this.chartsVisual=t.chartContainer.visual,this._pane=t};zr.prototype.findAxisByName=function(t){return Rr(t,this._pane.axes)};var Fr=zr,Hr=function(t){function e(e){t.call(this),this._plotArea=e,this.visual=e.visual,this.backgroundVisual=e._bgVisual}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class);function Ur(t){for(var e=t.length,r=0,i=0;i<e;i++){A(t[i])&&r++}return r}var Kr={min:function(t){for(var e=t.length,r=h,i=0;i<e;i++){var o=t[i];A(o)&&(r=Math.min(r,o))}return r===h?t[0]:r},max:function(t){for(var e=t.length,r=f,i=0;i<e;i++){var o=t[i];A(o)&&(r=Math.max(r,o))}return r===f?t[0]:r},sum:function(t){for(var e=t.length,r=0,i=0;i<e;i++){var o=t[i];A(o)&&(r+=o)}return r},sumOrNull:function(t){var e=null;return Ur(t)&&(e=Kr.sum(t)),e},count:function(t){for(var e=t.length,r=0,i=0;i<e;i++){var o=t[i];null!==o&&at(o)&&r++}return r},avg:function(t){var e=Ur(t),r=t[0];return e>0&&(r=Kr.sum(t)/e),r},first:function(t){for(var e=t.length,r=0;r<e;r++){var i=t[r];if(null!==i&&at(i))return i}return t[0]}},$r=Kr;function Gr(t,e){return null===e?e:$(t)(e)}var Xr=function(t){function e(){t.call(this),this._valueFields={},this._otherFields={},this._nullValue={},this._undefinedValue={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e,r){void 0===e&&(e=[g]),void 0===r&&(r={});for(var i=0;i<t.length;i++){var o=t[i];this._valueFields[o]=e,this._otherFields[o]=r,this._nullValue[o]=this._makeValue(e,null),this._undefinedValue[o]=this._makeValue(e,void 0)}},e.prototype.canonicalFields=function(t){return this.valueFields(t).concat(this.otherFields(t))},e.prototype.valueFields=function(t){return this._valueFields[t.type]||[g]},e.prototype.otherFields=function(t){return this._otherFields[t.type]||[g]},e.prototype.bindPoint=function(t,e,r){var i,o,n=t.data,a=at(r)?r:n[e],s={valueFields:{value:a}},u=this.valueFields(t),l=this._otherFields[t.type];if(null===a)o=this._nullValue[t.type];else if(at(a)){if(Array.isArray(a)){var c=a.slice(u.length);o=this._bindFromArray(a,u),i=this._bindFromArray(c,l)}else if("object"==typeof a){var p=this.sourceFields(t,u),h=this.sourceFields(t,l);o=this._bindFromObject(a,u,p),i=this._bindFromObject(a,l,h)}}else o=this._undefinedValue[t.type];return at(o)&&(1===u.length?s.valueFields.value=o[u[0]]:s.valueFields=o),s.fields=i||{},s},e.prototype._makeValue=function(t,e){for(var r={},i=t.length,o=0;o<i;o++){r[t[o]]=e}return r},e.prototype._bindFromArray=function(t,e){var r={};if(e)for(var i=Math.min(e.length,t.length),o=0;o<i;o++)r[e[o]]=t[o];return r},e.prototype._bindFromObject=function(t,e,r){void 0===r&&(r=e);var i={};if(e)for(var o=e.length,n=0;n<o;n++){var a=e[n],s=r[n];null!==s&&(i[a]=Gr(s,t))}return i},e.prototype.sourceFields=function(t,e){var r=[];if(e)for(var i=e.length,o=0;o<i;o++){var n=e[o],a=n===g?"field":n+"Field";r.push(null!==t[a]?t[a]||n:null)}return r},e}(S.Class);Xr.current=new Xr;var Yr=Xr,Wr=/percent(?:\w*)\((\d+)\)/,qr=new RegExp("^stddev(?:\\((\\d+(?:\\.\\d+)?)\\))?$"),Zr=function(t){function e(e,r,i){t.call(this),this.initGlobalRanges(e,r,i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initGlobalRanges=function(t,e,r){var i=e.data,o=qr.exec(t);if(o){this.valueGetter=this.createValueGetter(e,r);var n=this.getAverage(i),a=this.getStandardDeviation(i,n,!1),s=o[1]?parseFloat(o[1]):1,u={low:n.value-a*s,high:n.value+a*s};this.globalRange=function(){return u}}else if(t.indexOf&&t.indexOf("stderr")>=0){this.valueGetter=this.createValueGetter(e,r);var l=this.getStandardError(i,this.getAverage(i));this.globalRange=function(t){return{low:t-l,high:t+l}}}},e.prototype.createValueGetter=function(t,e){var r,i=t.data,o=Yr.current,n=o.valueFields(t),a=at(i[0])?i[0]:{};if(x(a))r=$("["+(e?n.indexOf(e):0)+"]");else if(A(a))r=$();else if("object"==typeof a){r=$(o.sourceFields(t,n)[n.indexOf(e)])}return r},e.prototype.getErrorRange=function(t,e){var r,i,o;if(!at(e))return null;if(this.globalRange)return this.globalRange(t);if(x(e))r=t-e[0],i=t+e[1];else if(A(o=parseFloat(e)))r=t-o,i=t+o;else{if(!(o=Wr.exec(e)))throw new Error("Invalid ErrorBar value: "+e);var n=t*(parseFloat(o[1])/100);r=t-Math.abs(n),i=t+Math.abs(n)}return{low:r,high:i}},e.prototype.getStandardError=function(t,e){return this.getStandardDeviation(t,e,!0)/Math.sqrt(e.count)},e.prototype.getStandardDeviation=function(t,e,r){for(var i=t.length,o=r?e.count-1:e.count,n=0,a=0;a<i;a++){var s=this.valueGetter(t[a]);A(s)&&(n+=Math.pow(s-e.value,2))}return Math.sqrt(n/o)},e.prototype.getAverage=function(t){for(var e=t.length,r=0,i=0,o=0;o<e;o++){var n=this.valueGetter(t[o]);A(n)&&(r+=n,i++)}return{value:r/i,count:i}},e}(S.Class),Qr=S.support.browser||{},Jr=Qr.msie?.001:0,ti="zero",ei="bar",ri="column",ii="line",oi="pie",ni="verticalLine",ai=[ei,ri,"ohlc","candlestick","boxPlot","verticalBoxPlot","bullet","rangeColumn","rangeBar","waterfall","horizontalWaterfall"],si="DOMMouseScroll mousewheel",ui=function(t){function e(e,r,i,o,n,a){t.call(this,a),this.low=e,this.high=r,this.isVertical=i,this.chart=o,this.series=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,r=this.options.endCaps,i=this.isVertical,o=this.getAxis().getSlot(this.low,this.high),n=t.center(),a=this.getCapsWidth(t,i),s=i?n.x:n.y,u=s-a,l=s+a;i?(e=[new Rt(n.x,o.y1),new Rt(n.x,o.y2)],r&&e.push(new Rt(u,o.y1),new Rt(l,o.y1),new Rt(u,o.y2),new Rt(l,o.y2)),this.box=new Ft(u,o.y1,l,o.y2)):(e=[new Rt(o.x1,n.y),new Rt(o.x2,n.y)],r&&e.push(new Rt(o.x1,u),new Rt(o.x1,l),new Rt(o.x2,u),new Rt(o.x2,l)),this.box=new Ft(o.x1,u,o.x2,l)),this.linePoints=e},e.prototype.getCapsWidth=function(t,e){var r=e?t.width():t.height();return Math.min(Math.floor(r/2),4)||4},e.prototype.createVisual=function(){var t=this,e=this.options,r=e.visual;r?this.visual=r({low:this.low,high:this.high,rect:this.box.toRect(),sender:this.getSender(),options:{endCaps:e.endCaps,color:e.color,line:e.line},createVisual:function(){t.createDefaultVisual();var e=t.visual;return delete t.visual,e}}):this.createDefaultVisual()},e.prototype.createDefaultVisual=function(){var e=this.options,r=this.linePoints,i={stroke:{color:e.color,width:e.line.width,dashType:e.line.dashType}};t.prototype.createVisual.call(this);for(var o=0;o<r.length;o+=2){var n=new S.drawing.Path(i).moveTo(r[o].x,r[o].y).lineTo(r[o+1].x,r[o+1].y);O(n),this.visual.append(n)}},e}(Yt);Ct(ui,{animation:{type:"fadeIn",delay:600},endCaps:!0,line:{width:2},zIndex:1});var li=ui,ci=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){return this.chart.seriesValueAxis(this.series)},e}(li);function pi(t,e,r,i){void 0===r&&(r={}),void 0===i&&(i=!1);var o=r.defaults=r.defaults||{},n=r.depth=r.depth||0,a=!1;if(r.excluded=r.excluded||[],n>5)return null;for(var s in t)if(!q(s,r.excluded)&&t.hasOwnProperty(s)){var u=t[s];T(u)?(a=!0,i||(t[s]=bt(u(e),o[s]))):N(u)&&(i||(r.defaults=o[s]),r.depth++,a=pi(u,e,r,i)||a,r.depth--)}return a}function hi(t){for(var e=t.length,r=0,i=0;i<e;i++)r=Math.max(r,t[i].data.length);return r}var fi=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this.categoryAxis=e.seriesCategoryAxis(r.series[0]),this.valueAxisRanges={},this.points=[],this.categoryPoints=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.pointOptions=function(t,e){var r=this.seriesOptions[e];if(!r){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=r=V({},i,{vertical:!this.options.invertAxes},t)}return r},e.prototype.plotValue=function(t){if(!t)return 0;if(this.options.isStacked100&&A(t.value)){for(var e=t.categoryIx,r=this.categoryPoints[e],i=[],o=0,n=0;n<r.length;n++){var a=r[n];if(a){var s=t.series.stack,u=a.series.stack;if(s&&u&&s.group!==u.group)continue;A(a.value)&&(o+=Math.abs(a.value),i.push(Math.abs(a.value)))}}if(o>0)return t.value/o}return t.value},e.prototype.plotRange=function(t,e){void 0===e&&(e=0);var r=this.categoryPoints[t.categoryIx];if(this.options.isStacked){for(var i=this.plotValue(t),o=i>=0,n=e,a=!1,s=0;s<r.length;s++){var u=r[s];if(t===u)break;var l=t.series.stack,c=u.series.stack;if(l&&c){if("string"==typeof l&&l!==c)continue;if(l.group&&l.group!==c.group)continue}var p=this.plotValue(u);(p>=0&&o||p<0&&!o)&&(n+=p,i+=p,a=!0,this.options.isStacked100&&(i=Math.min(i,1)))}return a&&(n-=e),[n,i]}var h=t.series,f=this.seriesValueAxis(h),d=this.categoryAxisCrossingValue(f);return[d,k(t.value)?t.value:d]},e.prototype.stackLimits=function(t,e){for(var r=h,i=f,o=0;o<this.categoryPoints.length;o++){var n=this.categoryPoints[o];if(n)for(var a=0;a<n.length;a++){var s=n[a];if(s&&(s.series.stack===e||s.series.axis===t)){var u=this.plotRange(s,0)[1];at(u)&&isFinite(u)&&(i=Math.max(i,u),r=Math.min(r,u))}}}return{min:r,max:i}},e.prototype.updateStackRange=function(){var t=this.options,e=t.isStacked,r=t.series,i={};if(e)for(var o=0;o<r.length;o++){var n=r[o],a=n.axis,s=a+n.stack,u=i[s];if(!u){u=this.stackLimits(a,n.stack);var l=this.errorTotals;l&&(l.negative.length&&(u.min=Math.min(u.min,wt(l.negative).min)),l.positive.length&&(u.max=Math.max(u.max,wt(l.positive).max))),u.min!==h||u.max!==f?i[s]=u:u=null}u&&(this.valueAxisRanges[a]=u)}},e.prototype.addErrorBar=function(t,e,r){var i,o=t.value,n=t.series,a=t.seriesIx,s=t.options.errorBars,u=e.fields.errorLow,l=e.fields.errorHigh;A(u)&&A(l)?i={low:u,high:l}:s&&at(s.value)&&(this.seriesErrorRanges=this.seriesErrorRanges||[],this.seriesErrorRanges[a]=this.seriesErrorRanges[a]||new Zr(s.value,n,g),i=this.seriesErrorRanges[a].getErrorRange(o,s.value)),i&&(t.low=i.low,t.high=i.high,this.addPointErrorBar(t,r))},e.prototype.addPointErrorBar=function(t,e){var r=!this.options.invertAxes,i=t.options.errorBars,o=t.series,n=t.low,a=t.high;if(this.options.isStacked){var s=this.stackedErrorRange(t,e);n=s.low,a=s.high}else{var u={categoryIx:e,series:o};this.updateRange({value:n},u),this.updateRange({value:a},u)}var l=new ci(n,a,r,this,o,i);t.errorBars=[l],t.append(l)},e.prototype.stackedErrorRange=function(t,e){var r=this.plotRange(t,0)[1]-t.value,i=t.low+r,o=t.high+r;return this.errorTotals=this.errorTotals||{positive:[],negative:[]},i<0&&(this.errorTotals.negative[e]=Math.min(this.errorTotals.negative[e]||0,i)),o>0&&(this.errorTotals.positive[e]=Math.max(this.errorTotals.positive[e]||0,o)),{low:i,high:o}},e.prototype.addValue=function(t,e){var r=e.categoryIx,i=e.series,o=e.seriesIx,n=this.categoryPoints[r];n||(this.categoryPoints[r]=n=[]);var a=this.seriesPoints[o];a||(this.seriesPoints[o]=a=[]);var s=this.createPoint(t,e);s&&(Object.assign(s,e),s.owner=this,s.noteText=t.fields.noteText,at(s.dataItem)||(s.dataItem=i.data[r]),this.addErrorBar(s,t,r)),this.points.push(s),a.push(s),n.push(s),this.updateRange(t.valueFields,e)},e.prototype.evalPointOptions=function(t,e,r,i,o,n){var a={defaults:o._defaults,excluded:["data","aggregate","_events","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},s=this._evalSeries[n];at(s)||(this._evalSeries[n]=s=pi(t,{},a,!0));var u=t;return s&&pi(u=V({},u),{value:e,category:r,index:i,series:o,dataItem:o.data[i]},a),u},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=t.value,o=this.valueAxisRanges[r];isFinite(i)&&null!==i&&((o=this.valueAxisRanges[r]=o||{min:h,max:f}).min=Math.min(o.min,i),o.max=Math.max(o.max,i))},e.prototype.seriesValueAxis=function(t){var e=this.plotArea,r=t.axis,i=r?e.namedValueAxes[r]:e.valueAxis;if(!i)throw new Error("Unable to locate value axis with name "+r);return i},e.prototype.reflow=function(t){var e=this,r=this.categorySlots=[],i=this.points,o=this.categoryAxis,n=0;this.traverseDataPoints((function(t,a){var s=a.categoryIx,u=a.series,l=e.seriesValueAxis(u),c=i[n++],p=r[s];if(p||(r[s]=p=e.categorySlot(o,s,l)),c){var h=e.plotRange(c,l.startValue()),f=e.valueSlot(l,h);if(f){var d=e.pointSlot(p,f);c.aboveAxis=e.aboveAxis(c,l),c.stackValue=h[1],e.options.isStacked100&&(c.percentage=e.plotValue(c)),e.reflowPoint(c,d)}else c.visible=!1}})),this.reflowCategories(r),!this.options.clip&&this.options.limitPoints&&this.points.length&&this.limitPoints(),this.box=t},e.prototype.valueSlot=function(t,e){return t.getSlot(e[0],e[1],!this.options.clip)},e.prototype.limitPoints=function(){for(var t=this.categoryPoints,e=t[0].concat(ft(t)),r=0;r<e.length;r++)e[r]&&this.limitPoint(e[r])},e.prototype.limitPoint=function(t){var e=this.categoryAxis.limitSlot(t.box);e.equals(t.box)||t.reflow(e)},e.prototype.aboveAxis=function(t,e){var r=this.categoryAxisCrossingValue(e),i=t.value;return e.options.reverse?i<r:i>=r},e.prototype.categoryAxisCrossingValue=function(t){var e=this.categoryAxis,r=t.options;return[].concat(r.axisCrossingValues||r.axisCrossingValue)[e.axisIndex||0]||0},e.prototype.reflowPoint=function(t,e){t.reflow(e)},e.prototype.reflowCategories=function(){},e.prototype.pointSlot=function(t,e){var r=this.options.invertAxes,i=r?e:t,o=r?t:e;return new Ft(i.x1,o.y1,i.x2,o.y2)},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=hi(e),i=e.length,o=0;o<i;o++)this._outOfRangeCallback(e[o],"_outOfRangeMinPoint",o,t);for(var n=0;n<r;n++)for(var a=0;a<i;a++){var s=e[a],u=this.categoryAxis.categoryAt(n);t(this._bindPoint(s,a,n),{category:u,categoryIx:n,categoriesCount:r,series:s,seriesIx:a})}for(var l=0;l<i;l++)this._outOfRangeCallback(e[l],"_outOfRangeMaxPoint",l,t)},e.prototype._outOfRangeCallback=function(t,e,r,i){var o=t[e];if(o){var n=o.categoryIx;i(this._bindPoint(t,r,n,o.item),{category:o.category,categoryIx:n,series:t,seriesIx:r,dataItem:o.item})}},e.prototype._bindPoint=function(t,e,r,i){this._bindCache||(this._bindCache=[]);var o=this._bindCache[e];o||(o=this._bindCache[e]=[]);var n=o[r];return n||(n=o[r]=Yr.current.bindPoint(t,r,i)),n},e.prototype.formatPointValue=function(t,e){return null===t.value?"":this.chartService.format.auto(e,t.value)},e.prototype.pointValue=function(t){return t.valueFields.value},e}(Yt);Ct(fi,{series:[],invertAxes:!1,isStacked:!1,clip:!0,limitPoints:!0});var di=fi,vi={click:function(t,e){return t.trigger("seriesClick",this.eventArgs(e))},hover:function(t,e){return t.trigger("seriesHover",this.eventArgs(e))},over:function(t,e){return t.trigger("seriesOver",this.eventArgs(e))},out:function(t,e){return t.trigger("seriesLeave",this.eventArgs(e))},eventArgs:function(t){return{value:this.value,percentage:this.percentage,stackValue:this.stackValue,category:this.category,series:this.series,dataItem:this.dataItem,runningTotal:this.runningTotal,total:this.total,element:pt(t),originalEvent:t,point:this}}},gi={createNote:function(){var t=this.options.notes,e=this.noteText||t.label.text;!1!==t.visible&&at(e)&&null!==e&&(this.note=new ge({value:this.value,text:e,dataItem:this.dataItem,category:this.category,series:this.series},this.options.notes,this.owner.chartService),this.append(this.note))}},yi=function(t){function e(e,r){t.call(this),this.value=e,this.options=r,this.aboveAxis=bt(this.options.aboveAxis,!0),this.tooltipTracking=!0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options,e=t.markers,r=t.labels;if(!this._rendered){if(this._rendered=!0,e.visible&&e.size&&(this.marker=this.createMarker(),this.append(this.marker)),r.visible){var i=H(r),o=this.pointData(),n=this.value;i?n=i(o):r.format&&(n=this.formatValue(r.format)),this.label=new ce(n,V({align:s,vAlign:s,margin:{left:5,right:5},zIndex:bt(r.zIndex,this.series.zIndex)},r),o),this.append(this.label)}this.createNote(),this.errorBar&&this.append(this.errorBar)}},e.prototype.markerBorder=function(){var t=this.options.markers,e=t.background,r=V({color:this.color},t.border);return at(r.color)||(r.color=new S.Color(e).brightness(.8).toHex()),r},e.prototype.createVisual=function(){},e.prototype.createMarker=function(){var t=this.options.markers;return new Qt({type:t.type,width:t.size,height:t.size,rotation:t.rotation,background:t.background,border:this.markerBorder(),opacity:this.series.opacity||t.opacity,zIndex:bt(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category})},e.prototype.markerBox=function(){return this.marker||(this.marker=this.createMarker(),this.marker.reflow(this._childBox)),this.marker.box},e.prototype.reflow=function(t){var e=this.options,r=this.aboveAxis,i=e.vertical;this.render(),this.box=t;var o=t.clone();if(i?r?o.y1-=o.height():o.y2+=o.height():r?o.x1+=o.width():o.x2-=o.width(),this._childBox=o,this.marker&&this.marker.reflow(o),this.reflowLabel(o),this.errorBars)for(var n=0;n<this.errorBars.length;n++)this.errorBars[n].reflow(o);if(this.note){var a=this.markerBox();if(!e.markers.visible||!e.markers.size){var s=a.center();a=new Ft(s.x,s.y,s.x,s.y)}this.note.reflow(a)}},e.prototype.reflowLabel=function(t){var e=this.options,r=this.label,i=e.labels.position;r&&(i="below"===(i="above"===i?v:i)?a:i,r.reflow(t),r.box.alignTo(this.markerBox(),i),r.reflow(r.box))},e.prototype.createHighlight=function(){var t=this.options.highlight.markers,e=this.markerBorder().color,r=this.options.markers,i=r.size+(r.border.width||0)+(t.border.width||0),o=new Qt({type:r.type,width:i,height:i,rotation:r.rotation,background:t.color||e,border:{color:t.border.color,width:t.border.width,opacity:bt(t.border.opacity,1)},opacity:bt(t.opacity,1)});return o.reflow(this._childBox),o.getElement()},e.prototype.highlightVisual=function(){return(this.marker||{}).visual},e.prototype.highlightVisualArgs=function(){var t,e,r=this.marker;if(r)e=r.paddingBox.toRect(),t=r.visual;else{var i=this.options.markers.size,o=i/2,n=this.box.center();e=new S.geometry.Rect([n.x-o,n.y-o],[i,i])}return{options:this.options,rect:e,visual:t}},e.prototype.tooltipAnchor=function(){var t=this.markerBox(),e=this.owner.pane.clipBox();if(!e||e.overlaps(t)){var r,i,o=t.x2+5;return this.aboveAxis?(r=t.y1,i=a):(r=t.y2,i=v),{point:new Rt(o,r),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.markerBox().overlaps(t)},e.prototype.unclipElements=function(){this.label&&(this.label.options.noclip=!0),this.note&&(this.note.options.noclip=!0)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,series:this.series}},e}(Yt);yi.prototype.defaults={vertical:!0,markers:{visible:!0,background:y,size:8,type:u,border:{width:2},opacity:1},labels:{visible:!1,position:"above",margin:I(3),padding:I(4),animation:{type:"fadeIn",delay:600}},notes:{label:{}},highlight:{markers:{border:{color:"#fff",width:2}},zIndex:100},errorBars:{line:{width:1}}},V(yi.prototype,vi),V(yi.prototype,gi);var mi=yi,bi=function(t){function e(e,r,i){t.call(this),this.linePoints=e,this.series=r,this.seriesIx=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.toGeometryPoints(this.linePoints)},e.prototype.toGeometryPoints=function(t){for(var e=[],r=0,i=t.length;r<i;r++)t[r]&&!1!==t[r].visible&&e.push(t[r]._childBox.toRect().center());return e},e.prototype.createVisual=function(){var t=this,e=this.series.visual;e?(this.visual=e({points:this.toGeometryPoints(this.linePoints),series:this.series,sender:this.getSender(),createVisual:function(){return t.segmentVisual(),t.visual}}),this.visual&&!at(this.visual.options.zIndex)&&(this.visual.options.zIndex=this.series.zIndex)):this.segmentVisual()},e.prototype.segmentVisual=function(){var t=this.options,e=this.series,r=e.color,i=e._defaults;T(r)&&i&&(r=i.color);var o=S.drawing.Path.fromPoints(this.points(),{stroke:{color:r,width:e.width,opacity:e.opacity,dashType:e.dashType},zIndex:e.zIndex});t.closed&&o.close(),this.visual=o},e.prototype.aliasFor=function(t,e){return this.parent.getNearestPoint(e.x,e.y,this.seriesIx)},e}(Yt);Ct(bi,{closed:!1});var xi=bi;function _i(t,e,r,i,o){var n=t.box,a=new S.geometry.Point;return a[e]=n[e+r],a[i]=n[i+o],a}var Ci={calculateStepPoints:function(t){for(var e=this.parent.plotArea.seriesCategoryAxis(this.series).options,r=e.justified,i=e.vertical,o=e.reverse,n=i?m:b,a=i?b:m,s=o?2:1,u=s,l=_i(t[0],n,s,a,u),c=[l],p=1;p<t.length;p++){var h=_i(t[p],n,s,a,u);if(l[n]!==h[n]){var f=new S.geometry.Point;f[n]=l[n],f[a]=h[a],c.push(f,h)}l=h}return r?l!==ft(c)&&c.push(l):c.push(_i(ft(t),n,s,a,o?1:2)),c}},wi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.calculateStepPoints(this.linePoints)},e}(xi);V(wi.prototype,Ci);var Si=wi,Oi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.segmentVisual=function(){var t=this.series,e=t._defaults,r=t.color;T(r)&&e&&(r=e.color);var i=new Br(this.options.closed).process(this.points()),o=new S.drawing.Path({stroke:{color:r,width:t.width,opacity:t.opacity,dashType:t.dashType},zIndex:t.zIndex});o.segments.push.apply(o.segments,i),this.visual=o},e}(xi),Pi={renderSegments:function(){var t,e=this.options,r=this.seriesPoints,i=e.series,o=r.length;this._segments=[];for(var n=0;n<o;n++){for(var a=i[n],s=this.sortPoints(r[n]),u=s.length,l=[],c=0;c<u;c++){var p=s[c];p?l.push(p):"interpolate"!==this.seriesMissingValues(a)&&(l.length>1&&(t=this.createSegment(l,a,n,t),this._addSegment(t)),l=[])}l.length>1&&(t=this.createSegment(l,a,n,t),this._addSegment(t))}this.children.unshift.apply(this.children,this._segments)},_addSegment:function(t){this._segments.push(t),t.parent=this},sortPoints:function(t){return t},seriesMissingValues:function(t){var e=t.missingValues;return!e&&this.options.isStacked?ti:e||"interpolate"},getNearestPoint:function(t,e,r){for(var i,o=new Rt(t,e),n=this.seriesPoints[r],a=h,s=0;s<n.length;s++){var u=n[s];if(u&&at(u.value)&&null!==u.value&&!1!==u.visible){var l=u.box.center().distanceTo(o);l<a&&(i=u,a=l)}}return i}},Ai=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._setEnd(this.options.box.x1)},e.prototype.step=function(t){var e=this.options.box;this._setEnd(Z(e.x1,e.x2,t))},e.prototype._setEnd=function(t){var e=this.element,r=e.segments,i=r[1].anchor(),o=r[2].anchor();e.suspend(),i.setX(t),e.resume(),o.setX(t)},e}(S.drawing.Animation);Ct(Ai,{duration:600}),S.drawing.AnimationFactory.current.register("clip",Ai);var ji=Ai;function ki(t){for(var e=0;e<t.length;e++)if(at(t[e].zIndex))return!0}var Ti={createAnimation:function(){var t=this.getRoot();if(t&&!1!==(t.options||{}).transitions){var e=t.size(),r=S.drawing.Path.fromRect(e.toRect());this.visual.clip(r),this.animation=new ji(r,{box:e}),ki(this.options.series)&&this._setChildrenAnimation(r)}},_setChildrenAnimation:function(t){for(var e=this.animationPoints(),r=0;r<e.length;r++){var i=e[r];i&&i.visual&&at(i.visual.options.zIndex)&&i.visual.clip(t)}}},Mi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange(),this.renderSegments()},e.prototype.pointType=function(){return mi},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.seriesMissingValues(o),s=t.valueFields.value;if(!at(s)||null===s){if(a!==ti)return null;s=0}var u=this.pointOptions(o,n);u=this.evalPointOptions(u,s,i,r,o,n);var l=t.fields.color||o.color;T(o.color)&&(l=u.color);var c=new mi(s,u);return c.color=l,this.append(c),c},e.prototype.plotRange=function(t){var e=this.plotValue(t);if(this.options.isStacked)for(var r=t.categoryIx,i=this.categoryPoints[r],o=0;o<i.length;o++){var n=i[o];if(t===n)break;e+=this.plotValue(n),this.options.isStacked100&&(e=Math.min(e,1))}return[e,e]},e.prototype.createSegment=function(t,e,r){var i=e.style;return new("step"===i?Si:"smooth"===i?Oi:xi)(t,e,r)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++)e.push((t[r]||{}).marker);return e.concat(this._segments)},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(di);V(Mi.prototype,Pi,Ti);var Vi=Mi,Ni=function(t){function e(e,r,i,o,n){t.call(this,e,r,i),this.prevSegment=o,this.stackPoints=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){var t=this.series,e=t._defaults,r=t.line||{},i=t.color;T(i)&&e&&(i=e.color),this.visual=new S.drawing.Group({zIndex:t.zIndex}),this.createFill({fill:{color:i,opacity:t.opacity},stroke:null}),r.width>0&&!1!==r.visible&&this.createStroke({stroke:V({color:i,opacity:t.opacity,lineCap:"butt"},r)})},e.prototype.strokeSegments=function(){var t=this._strokeSegments;return t||(t=this._strokeSegments=this.createStrokeSegments()),t},e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.points())},e.prototype.stackSegments=function(){return this.prevSegment?this.prevSegment.createStackSegments(this.stackPoints):this.createStackSegments(this.stackPoints)},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.toGeometryPoints(t)).reverse()},e.prototype.segmentsFromPoints=function(t){return t.map((function(t){return new S.geometry.Segment(t)}))},e.prototype.createStroke=function(t){var e=new S.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),this.visual.append(e)},e.prototype.hasStackSegment=function(){return this.prevSegment||this.stackPoints&&this.stackPoints.length},e.prototype.createFill=function(t){var e=this.strokeSegments(),r=e.slice(0),i=this.hasStackSegment();if(i){var o=this.stackSegments();ot(r,o)}var n=new S.drawing.Path(t);n.segments.push.apply(n.segments,r),!i&&e.length>1&&this.fillToAxes(n),this.visual.append(n)},e.prototype.fillToAxes=function(t){var e=this.parent,r=e.options.invertAxes,i=e.seriesValueAxis(this.series),o=e.categoryAxisCrossingValue(i),n=i.getSlot(o,o,!0),a=this.strokeSegments(),s=a[0].anchor(),u=ft(a).anchor(),l=r?n.x1:n.y1;r?t.lineTo(l,u.y).lineTo(l,s.y):t.lineTo(u.x,l).lineTo(s.x,l)},e}(xi),Ei=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.linePoints))},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.calculateStepPoints(t)).reverse()},e}(Ni);V(Ei.prototype,Ci);var Li=Ei,Di=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){var t=new Br(this.options.closed),e=this.points();return t.process(e)},e.prototype.createStackSegments=function(){for(var t=this.strokeSegments(),e=[],r=t.length-1;r>=0;r--){var i=t[r];e.push(new S.geometry.Segment(i.anchor(),i.controlOut(),i.controlIn()))}return e},e}(Ni),Bi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,r,i){var o,n,a=this.options.isStacked,s=(e.line||{}).style;a&&r>0&&i&&("gap"!==this.seriesMissingValues(e)?(n=i.linePoints,o=i):n=this._gapStackPoints(t,r,s));return new("step"===s?Li:"smooth"===s?Di:Ni)(t,e,r,o,n)},e.prototype.reflow=function(e){t.prototype.reflow.call(this,e);var r=this._stackPoints;if(r)for(var i=0;i<r.length;i++){var o=r[i],n=this.categoryAxis.getSlot(o.categoryIx);o.reflow(n)}},e.prototype._gapStackPoints=function(t,e,r){var i=this.seriesPoints,o=t[0].categoryIx,n=t.length;o<0&&(o=0,n--);var a=o+n,s=this.seriesOptions[0]._outOfRangeMinPoint?1:0,u=[];this._stackPoints=this._stackPoints||[];for(var l=o;l<a;l++){var c=l+s,p=e,h=void 0;do{h=i[--p][c]}while(p>0&&!h);if(h)"step"!==r&&l>o&&!i[p][c-1]&&u.push(this._previousSegmentPoint(l,c,c-1,p)),u.push(h),"step"!==r&&l+1<a&&!i[p][c+1]&&u.push(this._previousSegmentPoint(l,c,c+1,p));else{var f=this._createGapStackPoint(l);this._stackPoints.push(f),u.push(f)}}return u},e.prototype._previousSegmentPoint=function(t,e,r,i){for(var o,n=this.seriesPoints,a=i;a>0&&!o;)o=n[--a][r];return o?o=n[a][e]:(o=this._createGapStackPoint(t),this._stackPoints.push(o)),o},e.prototype._createGapStackPoint=function(t){var e=this.pointOptions({},0),r=new mi(0,e);return r.categoryIx=t,r.series={},r},e.prototype.seriesMissingValues=function(t){return t.missingValues||ti},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(Vi),Ii=function(t){function e(){t.call(this),this.axisRanges={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.update=function(t){var e=this.axisRanges;for(var r in t){var i=t[r],o=e[r];e[r]=o=o||{min:h,max:f},o.min=Math.min(o.min,i.min),o.max=Math.max(o.max,i.max)}},e.prototype.reset=function(t){this.axisRanges[t]=void 0},e.prototype.query=function(t){return this.axisRanges[t]},e}(S.Class),Ri=function(t){function e(e,r,i){t.call(this,r),this.textBox=new ce(e,this.options,i),this.append(this.textBox)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){this.textBox.options.noclip=this.options.noclip},e.prototype.reflow=function(t){var e=this.options,r=e.vertical,i=e.aboveAxis,o=this.children[0],n=o.options,u=o.box,l=o.options.padding,c=t;n.align=r?s:p,n.vAlign=r?v:s,"insideEnd"===e.position?r?(n.vAlign=v,!i&&u.height()<t.height()&&(n.vAlign=a)):n.align=i?d:p:e.position===s?(n.vAlign=s,n.align=s):"insideBase"===e.position?r?n.vAlign=i?a:v:n.align=i?p:d:"outsideEnd"===e.position&&(r?c=i?new Ft(t.x1,t.y1-u.height(),t.x2,t.y1):new Ft(t.x1,t.y2,t.x2,t.y2+u.height()):(n.align=s,c=i?new Ft(t.x2,t.y1,t.x2+u.width(),t.y2):new Ft(t.x1-u.width(),t.y1,t.x1,t.y2))),e.rotation||(r?l.left=l.right=(c.width()-o.contentBox.width())/2:l.top=l.bottom=(c.height()-o.contentBox.height())/2),o.reflow(c)},e.prototype.alignToClipBox=function(t){var e=this.options.vertical?b:m,r=e+"1",i=e+"2",o=this.children[0],n=this.parent.box;if(n[r]<t[r]||t[i]<n[i]){var a=o.paddingBox.clone();a[r]=Math.max(n[r],t[r]),a[i]=Math.min(n[i],t[i]),this.reflow(a)}},e}(Yt);Ct(Ri,{position:"outsideEnd",margin:I(3),padding:I(4),color:n,background:"",border:{width:1,color:""},aboveAxis:!0,vertical:!1,animation:{type:"fadeIn",delay:600},zIndex:2});var zi=Ri;function Fi(t){var e=t.overlay;return e&&e.gradient&&"none"!==e.gradient}var Hi=function(t){function e(e,r){t.call(this),this.options=r,this.color=r.color||y,this.aboveAxis=bt(this.options.aboveAxis,!0),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createLabel(),this.createNote(),this.errorBar&&this.append(this.errorBar))},e.prototype.createLabel=function(){var t=this.options,e=t.labels;if(e.visible){var r,i=this.pointData(),o=H(e);r=o?o(i):this.formatValue(e.format),this.label=new zi(r,V({vertical:t.vertical},e),i),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;if(this.box=t,e&&(e.options.aboveAxis=this.aboveAxis,e.reflow(t)),this.note&&this.note.reflow(t),this.errorBars)for(var r=0;r<this.errorBars.length;r++)this.errorBars[r].reflow(t)},e.prototype.createVisual=function(){var e=this,r=this.box,i=this.options,o=i.visual;if(!1!==this.visible)if(t.prototype.createVisual.call(this),o){var n=this.rectVisual=o({category:this.category,dataItem:this.dataItem,value:this.value,sender:this.getSender(),series:this.series,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,rect:r.toRect(),createVisual:function(){var t=new S.drawing.Group;return e.createRect(t),t},options:i});n&&this.visual.append(n)}else r.width()>0&&r.height()>0&&this.createRect(this.visual)},e.prototype.createRect=function(t){var e=this.options,r=e.border,i=at(r.opacity)?r.opacity:e.opacity,o=this.box.toRect();o.size.width=Math.round(o.size.width);var n=this.rectVisual=S.drawing.Path.fromRect(o,{fill:{color:this.color,opacity:e.opacity},stroke:{color:this.getBorderColor(),width:r.width,opacity:i,dashType:r.dashType}}),a=this.box.width(),s=this.box.height();if((e.vertical?a:s)>6&&(O(n),(a<1||s<1)&&(n.options.stroke.lineJoin="round")),t.append(n),Fi(e)){var u=this.createGradientOverlay(n,{baseColor:this.color},V({end:e.vertical?void 0:[0,1]},e.overlay));t.append(u)}},e.prototype.createHighlight=function(t){return O(S.drawing.Path.fromRect(this.box.toRect(),t))},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.getBorderColor=function(){var t=this.color,e=this.options.border,r=e._brightness||.8,i=e.color;return at(i)||(i=new S.Color(t).brightness(r).toHex()),i},e.prototype.tooltipAnchor=function(){var t,e,r=this.options,i=this.box,o=this.aboveAxis,n=this.owner.pane.clipBox()||i,s=p,u=v;if(r.vertical)t=Math.min(i.x2,n.x2)+5,o?e=Math.max(i.y1,n.y1):(e=Math.min(i.y2,n.y2),u=a);else{var l=Math.max(i.x1,n.x1),c=Math.min(i.x2,n.x2);r.isStacked?(u=a,o?(s=d,t=c):t=l,e=Math.max(i.y1,n.y1)-5):(o?t=c+5:(t=l-5,s=d),e=Math.max(i.y1,n.y1))}return{point:new Rt(t,e),align:{horizontal:s,vertical:u}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,series:this.series}},e}(Yt);V(Hi.prototype,vi),V(Hi.prototype,gi),Hi.prototype.defaults={border:{width:1},vertical:!0,overlay:{gradient:"glass"},labels:{visible:!1,format:"{0}"},opacity:1,notes:{label:{}}};var Ui=Hi;function Ki(t,e){t.forEach(e)}function $i(t,e){for(var r=t.length,i=r-1;i>=0;i--)e(t[i],i-r-1)}var Gi=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?$i:Ki}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=e.vertical,i=e.gap,o=e.spacing,n=this.children,a=n.length,s=r?b:m,u=a+i+o*(a-1),l=(r?t.height():t.width())/u,c=t[s+1]+l*(i/2);this.forEach(n,(function(e,r){var i=(e.box||t).clone();i[s+1]=c,i[s+2]=c+l,e.reflow(i),r<a-1&&(c+=l*o),c+=l}))},e}(Yt);Ct(Gi,{vertical:!1,gap:0,spacing:0});var Xi=Gi,Yi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){for(var e=this.options.vertical?m:b,r=this.children,i=r.length,o=this.box=new Ft,n=0;n<i;n++){var a=r[n];if(!1!==a.visible){var s=a.box.clone();s.snapTo(t,e),0===n&&(o=this.box=s.clone()),a.reflow(s),o.wrap(s)}}},e}(Yt);Ct(Yi,{vertical:!0});var Wi=Yi,qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange()},e.prototype.pointType=function(){return Ui},e.prototype.clusterType=function(){return Xi},e.prototype.stackType=function(){return Wi},e.prototype.stackLimits=function(e,r){return t.prototype.stackLimits.call(this,e,r)},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.options,s=this.children,u=a.isStacked,l=this.pointValue(t),c=this.pointOptions(o,n),p=c.labels;u&&"outsideEnd"===p.position&&(p.position="insideEnd"),c.isStacked=u;var h=t.fields.color||o.color;l<0&&c.negativeColor&&(h=c.negativeColor),c=this.evalPointOptions(c,l,i,r,o,n),T(o.color)&&(h=c.color);var f=new(this.pointType())(l,c);f.color=h;var d=s[r];d||(d=new(this.clusterType())({vertical:a.invertAxes,gap:a.gap,spacing:a.spacing,rtl:!a.invertAxes&&(this.chartService||{}).rtl}),this.append(d));u?this.getStackWrap(o,d).append(f):d.append(f);return f},e.prototype.getStackWrap=function(t,e){var r,i=t.stack,o=i&&i.group||i,n=e.children;if("string"==typeof o){for(var a=0;a<n.length;a++)if(n[a]._stackGroup===o){r=n[a];break}}else r=n[0];r||((r=new(this.stackType())({vertical:!this.options.invertAxes}))._stackGroup=o,e.append(r));return r},e.prototype.categorySlot=function(t,e,r){var i=this.options,o=t.getSlot(e),n=r.startValue();if(i.isStacked){var a=r.getSlot(n,n,!0),s=i.invertAxes?m:b;o[s+1]=o[s+2]=a[s+1]}return o},e.prototype.reflowCategories=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++)e[i].reflow(t[i])},e.prototype.createAnimation=function(){this._setAnimationOptions(),t.prototype.createAnimation.call(this),ki(this.options.series)&&this._setChildrenAnimation()},e.prototype._setChildrenAnimation=function(){for(var t=this.points,e=0;e<t.length;e++){var r=t[e],i=r.visual;i&&at(i.options.zIndex)&&(r.options.animation=this.options.animation,r.createAnimation())}},e.prototype._setAnimationOptions=function(){var t,e=this.options,r=e.animation||{};if(e.isStacked){var i=this.seriesValueAxis(e.series[0]);t=i.getSlot(i.startValue())}else t=this.categoryAxis.getSlot(0);r.origin=new S.geometry.Point(t.x1,t.y1),r.vertical=!e.invertAxes},e}(di);Ct(qi,{animation:{type:ei}});var Zi=qi,Qi=function(t){function e(e,r){t.call(this,r),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=this.value,i=this.owner.seriesValueAxis(e),o=i.getSlot(r.open,r.close),n=i.getSlot(r.low,r.high);o.x1=n.x1=t.x1,o.x2=n.x2=t.x2,this.realBody=o;var a=n.center().x,s=[];s.push([[a,n.y1],[a,o.y1]]),s.push([[a,o.y2],[a,n.y2]]),this.lines=s,this.box=n.clone().wrap(o),this._rendered||(this._rendered=!0,this.createNote()),this.reflowNote()},e.prototype.reflowNote=function(){this.note&&this.note.reflow(this.box)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this._mainVisual=this.mainVisual(this.options),this.visual.append(this._mainVisual),this.createOverlay()},e.prototype.mainVisual=function(t){var e=new S.drawing.Group;return this.createBody(e,t),this.createLines(e,t),e},e.prototype.createBody=function(t,e){var r=S.drawing.Path.fromRect(this.realBody.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&r.options.set("stroke",{color:this.getBorderColor(),width:e.border.width,dashType:e.border.dashType,opacity:bt(e.border.opacity,e.opacity)}),O(r),t.append(r),Fi(e)&&t.append(this.createGradientOverlay(r,{baseColor:this.color},V({end:e.vertical?void 0:[0,1]},e.overlay)))},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.lines,e.line)},e.prototype.drawLines=function(t,e,r,i){if(r)for(var o={stroke:{color:i.color||this.color,opacity:bt(i.opacity,e.opacity),width:i.width,dashType:i.dashType,lineCap:"butt"}},n=0;n<r.length;n++){var a=S.drawing.Path.fromPoints(r[n],o);O(a),t.append(a)}},e.prototype.getBorderColor=function(){var t=this.options.border,e=t.color;return at(e)||(e=new S.Color(this.color).brightness(t._brightness).toHex()),e},e.prototype.createOverlay=function(){var t=S.drawing.Path.fromRect(this.box.toRect(),{fill:{color:y,opacity:0},stroke:null});this.visual.append(t)},e.prototype.createHighlight=function(){var t=this.options.highlight,e=this.color;this.color=t.color||this.color;var r=this.mainVisual(V({},this.options,{line:{color:this.getBorderColor()}},t));return this.color=e,r},e.prototype.highlightVisual=function(){return this._mainVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this._mainVisual}},e.prototype.tooltipAnchor=function(){var t=this.box,e=this.owner.pane.clipBox()||t;return{point:new Rt(t.x2+5,Math.max(t.y1,e.y1)+5),align:{horizontal:p,vertical:v}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e}(Yt);Ct(Qi,{vertical:!0,border:{_brightness:.8},line:{width:2},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{4:d}</th></tr><tr><td>Open:</td><td>{0:C}</td></tr><tr><td>High:</td><td>{1:C}</td></tr><tr><td>Low:</td><td>{2:C}</td></tr><tr><td>Close:</td><td>{3:C}</td></tr></table>"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}}}),V(Qi.prototype,vi),V(Qi.prototype,gi);var Ji=Qi;function to(t){return Ur(t)===t.length}var eo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++)e[i].reflow(t[i])},e.prototype.addValue=function(t,e){var r,i=e.categoryIx,o=e.category,n=e.series,a=e.seriesIx,s=this.children,u=this.options,l=t.valueFields,c=to(this.splitValue(l)),p=n.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),c&&(r=this.createPoint(t,e));var f=s[i];f||(f=new Xi({vertical:u.invertAxes,gap:u.gap,spacing:u.spacing,rtl:!u.invertAxes&&(this.chartService||{}).rtl}),this.append(f)),r&&(this.updateRange(l,e),f.append(r),r.categoryIx=i,r.category=o,r.series=n,r.seriesIx=a,r.owner=this,r.dataItem=p,r.noteText=t.fields.noteText),this.points.push(r),h.push(r)},e.prototype.pointType=function(){return Ji},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.pointType(),s=t.valueFields,u=V({},o),l=t.fields.color||o.color;u=this.evalPointOptions(u,s,i,r,o,n),"candlestick"===o.type&&s.open>s.close&&(l=t.fields.downColor||o.downColor||o.color),T(o.color)&&(l=u.color),u.vertical=!this.options.invertAxes;var c=new a(s,u);return c.color=l,c},e.prototype.splitValue=function(t){return[t.low,t.open,t.close,t.high]},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=this.splitValue(t),o=this.valueAxisRanges[r];o=this.valueAxisRanges[r]=o||{min:h,max:f},o=this.valueAxisRanges[r]={min:Math.min.apply(Math,i.concat([o.min])),max:Math.max.apply(Math,i.concat([o.max]))}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.open,r.high,r.low,r.close,t.category)},e.prototype.animationPoints=function(){return this.points},e}(di);V(eo.prototype,Ti);var ro=eo,io=function(t){function e(e,r){t.call(this,e,r),this.createNote()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,r,i=this.options,o=this.value,n=this.owner.seriesValueAxis(i);this.boxSlot=r=n.getSlot(o.q1,o.q3),this.realBody=r,this.reflowBoxSlot(t),this.whiskerSlot=e=n.getSlot(o.lower,o.upper),this.reflowWhiskerSlot(t);var a=n.getSlot(o.median);if(o.mean){var s=n.getSlot(o.mean);this.meanPoints=this.calcMeanPoints(t,s)}this.whiskerPoints=this.calcWhiskerPoints(r,e),this.medianPoints=this.calcMedianPoints(t,a),this.box=e.clone().wrap(r),this.reflowNote()},e.prototype.reflowBoxSlot=function(t){this.boxSlot.x1=t.x1,this.boxSlot.x2=t.x2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.x1=t.x1,this.whiskerSlot.x2=t.x2},e.prototype.calcMeanPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.calcWhiskerPoints=function(t,e){var r=e.center().x;return[[[r-5,e.y1],[r+5,e.y1],[r,e.y1],[r,t.y1]],[[r-5,e.y2],[r+5,e.y2],[r,e.y2],[r,t.y2]]]},e.prototype.calcMedianPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.renderOutliers=function(t){for(var e=this.value,r=e.outliers||[],i=3*Math.abs(e.q3-e.q1),o=[],n=t.markers||{},a=0;a<r.length;a++){var s=r[a],u=V({},(n=s<e.q3+i&&s>e.q1-i?t.outliers:t.extremes).border);at(u.color)||(at(this.color)?u.color=this.color:u.color=new S.Color(n.background).brightness(.8).toHex());var l=new Qt({type:n.type,width:n.size,height:n.size,rotation:n.rotation,background:n.background,border:u,opacity:n.opacity});l.value=s,o.push(l)}return this.reflowOutliers(o),o},e.prototype.reflowOutliers=function(t){for(var e=this.owner.seriesValueAxis(this.options),r=this.box.center(),i=0;i<t.length;i++){var o=t[i].value,n=e.getSlot(o);this.options.vertical?n.move(r.x):n.move(void 0,r.y),this.box=this.box.wrap(n),t[i].reflow(n)}},e.prototype.mainVisual=function(e){for(var r=t.prototype.mainVisual.call(this,e),i=this.renderOutliers(e),o=0;o<i.length;o++){var n=i[o].getElement();n&&r.append(n)}return r},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.whiskerPoints,e.whiskers),this.drawLines(t,e,this.medianPoints,e.median),this.drawLines(t,e,this.meanPoints,e.mean)},e.prototype.getBorderColor=function(){return(this.options.border||{}).color?this.options.border.color:this.color?this.color:t.prototype.getBorderColor.call(this)},e}(Ji);Ct(io,{border:{_brightness:.8},line:{width:2},median:{color:"#f6f6f6"},mean:{width:2,dashType:"dash",color:"#f6f6f6"},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{6:d}</th></tr><tr><td>Lower:</td><td>{0:C}</td></tr><tr><td>Q1:</td><td>{1:C}</td></tr><tr><td>Median:</td><td>{2:C}</td></tr><tr><td>Mean:</td><td>{5:C}</td></tr><tr><td>Q3:</td><td>{3:C}</td></tr><tr><td>Upper:</td><td>{4:C}</td></tr></table>"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}},outliers:{visible:!0,size:8,type:"cross",background:y,border:{width:2,opacity:1},opacity:0},extremes:{visible:!0,size:8,type:u,background:y,border:{width:2,opacity:1},opacity:0}}),V(io.prototype,vi);var oo=io,no=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowBoxSlot=function(t){this.boxSlot.y1=t.y1,this.boxSlot.y2=t.y2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.y1=t.y1,this.whiskerSlot.y2=t.y2},e.prototype.calcMeanPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e.prototype.calcWhiskerPoints=function(t,e){var r=e.center().y;return[[[e.x1,r-5],[e.x1,r+5],[e.x1,r],[t.x1,r]],[[e.x2,r-5],[e.x2,r+5],[e.x2,r],[t.x2,r]]]},e.prototype.calcMedianPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e}(oo),ao=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e){var r,i=e.categoryIx,o=e.category,n=e.series,a=e.seriesIx,s=this.children,u=this.options,l=t.valueFields,c=to(this.splitValue(l)),p=n.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),c&&(r=this.createPoint(t,e));var f=s[i];f||(f=new Xi({vertical:u.invertAxes,gap:u.gap,spacing:u.spacing,rtl:!u.invertAxes&&(this.chartService||{}).rtl}),this.append(f)),r&&(this.updateRange(l,e),f.append(r),r.categoryIx=i,r.category=o,r.series=n,r.seriesIx=a,r.owner=this,r.dataItem=p),this.points.push(r),h.push(r)},e.prototype.pointType=function(){return this.options.invertAxes?no:oo},e.prototype.splitValue=function(t){return[t.lower,t.q1,t.median,t.q3,t.upper]},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=this.valueAxisRanges[r],o=this.splitValue(t).concat(this.filterOutliers(t.outliers));at(t.mean)&&(o=o.concat(t.mean)),i=this.valueAxisRanges[r]=i||{min:h,max:f},i=this.valueAxisRanges[r]={min:Math.min.apply(Math,o.concat([i.min])),max:Math.max.apply(Math,o.concat([i.max]))}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.lower,r.q1,r.median,r.q3,r.upper,r.mean,t.category)},e.prototype.filterOutliers=function(t){for(var e=(t||[]).length,r=[],i=0;i<e;i++){var o=t[i];at(o)&&null!==o&&r.push(o)}return r},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(ro),so=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){var t=this.chart.seriesAxes(this.series);return this.isVertical?t.y:t.x},e}(li);function uo(t){return at(t)&&null!==t}var lo=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.xAxisRanges={},this.yAxisRanges={},this.points=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[]},e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.addErrorBar=function(t,e,r){var i,o=t.value[e],n=e+"Value",a=e+"ErrorLow",s=e+"ErrorHigh",u=r.seriesIx,l=r.series,c=t.options.errorBars,p=r[a],h=r[s];A(o)&&(A(p)&&A(h)&&(i={low:p,high:h}),c&&at(c[n])&&(this.seriesErrorRanges=this.seriesErrorRanges||{x:[],y:[]},this.seriesErrorRanges[e][u]=this.seriesErrorRanges[e][u]||new Zr(c[n],l,e),i=this.seriesErrorRanges[e][u].getErrorRange(o,c[n])),i&&this.addPointErrorBar(i,t,e))},e.prototype.addPointErrorBar=function(t,e,r){var i=t.low,o=t.high,n=e.series,a=e.options.errorBars,s=r===b,u={};e[r+"Low"]=i,e[r+"High"]=o,e.errorBars=e.errorBars||[];var l=new so(i,o,s,this,n,a);e.errorBars.push(l),e.append(l),u[r]=i,this.updateRange(u,n),u[r]=o,this.updateRange(u,n)},e.prototype.addValue=function(t,e){var r,i=t.x,o=t.y,n=e.seriesIx,a=this.options.series[n],s=this.seriesMissingValues(a),u=this.seriesPoints[n],l=t;uo(i)&&uo(o)||(l=this.createMissingValue(l,s)),l&&((r=this.createPoint(l,e))&&(Object.assign(r,e),this.addErrorBar(r,m,e),this.addErrorBar(r,b,e)),this.updateRange(l,e.series)),this.points.push(r),u.push(r)},e.prototype.seriesMissingValues=function(t){return t.missingValues},e.prototype.createMissingValue=function(){},e.prototype.updateRange=function(t,e){var r=this.chartService.intl,i=e.xAxis,o=e.yAxis,n=t.x,a=t.y,s=this.xAxisRanges[i],u=this.yAxisRanges[o];uo(n)&&(s=this.xAxisRanges[i]=s||{min:h,max:f},j(n)&&(n=Qe(r,n)),s.min=Math.min(s.min,n),s.max=Math.max(s.max,n)),uo(a)&&(u=this.yAxisRanges[o]=u||{min:h,max:f},j(a)&&(a=Qe(r,a)),u.min=Math.min(u.min,a),u.max=Math.max(u.max,a))},e.prototype.evalPointOptions=function(t,e,r){var i=r.series,o=r.seriesIx,n={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},a=this._evalSeries[o];at(a)||(this._evalSeries[o]=a=pi(t,{},n,!0));var s=t;return a&&pi(s=V({},t),{value:e,series:i,dataItem:r.dataItem},n),s},e.prototype.pointType=function(){return mi},e.prototype.pointOptions=function(t,e){var r=this.seriesOptions[e];if(!r){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=r=V({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return r},e.prototype.createPoint=function(t,e){var r=e.series,i=this.pointOptions(r,e.seriesIx),o=e.color||r.color;i=this.evalPointOptions(i,t,e),T(r.color)&&(o=i.color);var n=new mi(t,i);return n.color=o,this.append(n),n},e.prototype.seriesAxes=function(t){var e=t.xAxis,r=t.yAxis,i=this.plotArea,o=e?i.namedXAxes[e]:i.axisX,n=r?i.namedYAxes[r]:i.axisY;if(!o)throw new Error("Unable to locate X axis with name "+e);if(!n)throw new Error("Unable to locate Y axis with name "+r);return{x:o,y:n}},e.prototype.reflow=function(t){var e=this,r=this.points,i=!this.options.clip,o=0;this.traverseDataPoints((function(t,n){var a=r[o++],s=e.seriesAxes(n.series),u=s.x.getSlot(t.x,t.x,i),l=s.y.getSlot(t.y,t.y,i);if(a)if(u&&l){var c=e.pointSlot(u,l);a.reflow(c)}else a.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new Ft(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=this.seriesPoints,i=0;i<e.length;i++){var o=e[i];r[i]||(r[i]=[]);for(var n=0;n<o.data.length;n++){var a=this._bindPoint(o,i,n),s=a.valueFields,u=a.fields;t(s,V({pointIx:n,series:o,seriesIx:i,dataItem:o.data[n],owner:this},u))}}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.x,r.y)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++)e.push((t[r]||{}).marker);return e},e}(Yt);Ct(lo,{series:[],tooltip:{format:"{0}, {1}"},labels:{format:"{0}, {1}"},clip:!0}),V(lo.prototype,Ti,{_bindPoint:di.prototype._bindPoint});var co=lo,po=function(t){function e(e,r){t.call(this,e,r),this.category=e.category}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createHighlight=function(){var t=this.options.highlight,e=t.border,r=this.options.markers,i=this.box.center(),o=(r.size+r.border.width+e.width)/2,n=new S.drawing.Group,a=new S.drawing.Circle(new S.geometry.Circle([i.x,i.y+o/5+e.width/2],o+e.width/2),{stroke:{color:"none"},fill:this.createGradient({gradient:"bubbleShadow",color:r.background,stops:[{offset:0,color:r.background,opacity:.3},{offset:1,color:r.background,opacity:0}]})}),s=new S.drawing.Circle(new S.geometry.Circle([i.x,i.y],o),{stroke:{color:e.color||new S.Color(r.background).brightness(.8).toHex(),width:e.width,opacity:e.opacity},fill:{color:r.background,opacity:t.opacity}});return n.append(a,s),n},e}(mi);po.prototype.defaults=V({},po.prototype.defaults,{labels:{position:s},highlight:{opacity:1,border:{color:"#fff",width:2,opacity:1}}}),po.prototype.defaults.highlight.zIndex=void 0;var ho=po,fo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this._maxSize=f,t.prototype._initFields.call(this)},e.prototype.addValue=function(e,r){null!==e.size&&(e.size>0||e.size<0&&r.series.negativeValues.visible)?(this._maxSize=Math.max(this._maxSize,Math.abs(e.size)),t.prototype.addValue.call(this,e,r)):(this.points.push(null),this.seriesPoints[r.seriesIx].push(null))},e.prototype.reflow=function(e){this.updateBubblesSize(e),t.prototype.reflow.call(this,e)},e.prototype.pointType=function(){return ho},e.prototype.createPoint=function(t,e){var r=e.series,i=r.data.length,o=e.pointIx*(600/i),n={delay:o,duration:600-o,type:"bubble"},a=e.color||r.color;t.size<0&&r.negativeValues.visible&&(a=bt(r.negativeValues.color,a));var s=V({labels:{animation:{delay:o,duration:600-o}}},this.pointOptions(r,e.seriesIx),{markers:{type:u,border:r.border,opacity:r.opacity,animation:n}});s=this.evalPointOptions(s,t,e),T(r.color)&&(a=s.color),s.markers.background=a;var l=new ho(t,s);return l.color=a,this.append(l),l},e.prototype.updateBubblesSize=function(t){for(var e=this.options.series,r=Math.min(t.width(),t.height()),i=0;i<e.length;i++)for(var o=e[i],n=this.seriesPoints[i],a=(o.minSize||Math.max(.02*r,10))/2,s=(o.maxSize||.2*r)/2,u=Math.PI*a*a,l=(Math.PI*s*s-u)/this._maxSize,c=0;c<n.length;c++){var p=n[c];if(p){var h=Math.abs(p.value.size)*l,f=Math.sqrt((u+h)/Math.PI),d=bt(p.options.zIndex,0)+(1-f/s);V(p.options,{zIndex:d,markers:{size:2*f,zIndex:d},labels:{zIndex:d+1}})}}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.x,r.y,r.size,t.category)},e.prototype.createAnimation=function(){},e.prototype.createVisual=function(){},e}(co);Ct(fo,{tooltip:{format:"{3}"},labels:{format:"{3}"}});var vo=fo,go=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Qt);V(go.prototype,vi);var yo=go,mo=function(t){function e(e,r){t.call(this,r),this.aboveAxis=this.options.aboveAxis,this.color=r.color||y,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options;this._rendered||(this._rendered=!0,at(this.value.target)&&(this.target=new yo({type:t.target.shape,background:t.target.color||this.color,opacity:t.opacity,zIndex:t.zIndex,border:t.target.border,vAlign:v,align:d}),this.target.value=this.value,this.target.dataItem=this.dataItem,this.target.series=this.series,this.append(this.target)),this.createNote())},e.prototype.reflow=function(t){this.render();var e=this.options,r=this.target,i=this.owner,o=e.invertAxes,n=i.seriesValueAxis(this.options),a=i.categorySlot(i.categoryAxis,e.categoryIx,n),s=n.getSlot(this.value.target),u=o?s:a,l=o?a:s;if(r){var c=new Ft(u.x1,l.y1,u.x2,l.y2);r.options.height=o?c.height():e.target.line.width,r.options.width=o?e.target.line.width:c.width(),r.reflow(c)}this.note&&this.note.reflow(t),this.box=t},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options,r=S.drawing.Path.fromRect(this.box.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&r.options.set("stroke",{color:e.border.color||this.color,width:e.border.width,dashType:e.border.dashType,opacity:bt(e.border.opacity,e.opacity)}),this.bodyVisual=r,O(r),this.visual.append(r)},e.prototype.createAnimation=function(){this.bodyVisual&&(this.animation=S.drawing.Animation.create(this.bodyVisual,this.options.animation))},e.prototype.createHighlight=function(t){return S.drawing.Path.fromRect(this.box.toRect(),t)},e.prototype.highlightVisual=function(){return this.bodyVisual},e.prototype.highlightVisualArgs=function(){return{rect:this.box.toRect(),visual:this.bodyVisual,options:this.options}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(Yt);mo.prototype.tooltipAnchor=Ui.prototype.tooltipAnchor,Ct(mo,{border:{width:1},vertical:!1,opacity:1,target:{shape:"",border:{width:0,color:"green"},line:{width:2}},tooltip:{format:"Current: {0}<br />Target: {1}"}}),V(mo.prototype,vi),V(mo.prototype,gi);var bo=mo,xo=function(t){function e(e,r){!function(t){for(var e=t.series,r=0;r<e.length;r++){var i=e[r],o=i.data;!o||x(o[0])||N(o[0])||(i.data=[o])}}(r),t.call(this,e,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++)e[i].reflow(t[i])},e.prototype.plotRange=function(t){var e=t.series,r=this.seriesValueAxis(e),i=this.categoryAxisCrossingValue(r);return[i,t.value.current||i]},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.options,s=this.children,u=t.valueFields,l=V({vertical:!a.invertAxes,overlay:o.overlay,categoryIx:r,invertAxes:a.invertAxes},o),c=t.fields.color||o.color;l=this.evalPointOptions(l,u,i,r,o,n),T(o.color)&&(c=l.color);var p=new bo(u,l);p.color=c;var h=s[r];return h||(h=new Xi({vertical:a.invertAxes,gap:a.gap,spacing:a.spacing,rtl:!a.invertAxes&&(this.chartService||{}).rtl}),this.append(h)),h.append(p),p},e.prototype.updateRange=function(t,e){var r=t.current,i=t.target,o=e.series.axis,n=this.valueAxisRanges[o];at(r)&&!isNaN(r)&&at(i&&!isNaN(i))&&((n=this.valueAxisRanges[o]=n||{min:h,max:f}).min=Math.min(n.min,r,i),n.max=Math.max(n.max,r,i))},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value.current,t.value.target)},e.prototype.pointValue=function(t){return t.valueFields.current},e.prototype.aboveAxis=function(t){return t.value.current>0},e.prototype.createAnimation=function(){var t=this.points;this._setAnimationOptions();for(var e=0;e<t.length;e++){var r=t[e];r.options.animation=this.options.animation,r.createAnimation()}},e}(di);xo.prototype._setAnimationOptions=Zi.prototype._setAnimationOptions,Ct(xo,{animation:{type:ei}});var _o=xo,Co=function(t){function e(e,r){t.call(this),this.chartService=e,this.options=V({},this.options,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getStyle=function(t,e){var r=t.background,i=t.border.color;if(e){var o=e.color||e.options.color;r=bt(r,o),i=bt(i,o)}var n=I(t.padding||{},"auto");return{backgroundColor:r,borderColor:i,font:t.font,color:t.color,opacity:t.opacity,borderWidth:E(t.border.width),paddingTop:E(n.top),paddingBottom:E(n.bottom),paddingLeft:E(n.left),paddingRight:E(n.right)}},e.prototype.show=function(t,e,r){t.format=e.format;var i=this.getStyle(e,r);t.style=i;var o=new S.Color(i.backgroundColor);at(e.color)||o.isDark()||(t.className="k-chart-tooltip-inverse"),this.chartService.notify("showTooltip",t),this.visible=!0},e.prototype.hide=function(){this.chartService&&this.chartService.notify("hideTooltip"),this.visible=!1},e.prototype.destroy=function(){delete this.chartService},e}(S.Class);Ct(Co,{border:{width:1},opacity:1});var wo=Co,So=function(t){function e(e,r,i){t.call(this,e,i),this.crosshair=r,this.formatService=e.format,this.initAxisName()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initAxisName=function(){var t,e=this.crosshair.axis;t=e.plotArea.categoryAxis?e.getCategory?"categoryAxis":"valueAxis":e.options.vertical?"yAxis":"xAxis",this.axisName=t},e.prototype.showAt=function(t){var e=this.crosshair.axis,r=this.options,i=e[r.stickyMode?"getCategory":"getValue"](t),o=i;r.format?o=this.formatService.auto(r.format,i):e.options.type===l&&(o=this.formatService.auto(e.options.labels.dateFormats[e.options.baseUnit],i)),this.show({point:t,anchor:this.getAnchor(),crosshair:this.crosshair,value:o,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex},this.options)},e.prototype.hide=function(){this.chartService.notify("hideTooltip",{crosshair:this.crosshair,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex})},e.prototype.getAnchor=function(){var t,e,r,i=this.crosshair,o=this.options,n=o.position,u=o.padding,l=!i.axis.options.vertical,c=i.line.bbox();return l?(t=s,n===a?(e=v,r=c.bottomLeft().translate(0,u)):(e=a,r=c.topLeft().translate(0,-u))):(e=s,n===p?(t=d,r=c.topLeft().translate(-u,0)):(t=p,r=c.topRight().translate(u,0))),{point:r,align:{horizontal:t,vertical:e}}},e}(wo);Ct(So,{padding:10});var Oo=So,Po=function(t){function e(e,r,i){t.call(this,i),this.axis=r,this.stickyMode=r instanceof rr;var o=this.options.tooltip;o.visible&&(this.tooltip=new Oo(e,this,V({},o,{stickyMode:this.stickyMode})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t){this.point=t,this.moveLine(),this.line.visible(!0),this.tooltip&&this.tooltip.showAt(t)},e.prototype.hide=function(){this.line.visible(!1),this.tooltip&&this.tooltip.hide()},e.prototype.moveLine=function(){var t,e=this.axis,r=this.point,i=e.options.vertical,o=this.getBox(),n=i?b:m,a=new S.geometry.Point(o.x1,o.y1);if(t=i?new S.geometry.Point(o.x2,o.y1):new S.geometry.Point(o.x1,o.y2),r)if(this.stickyMode){var s=e.getSlot(e.pointCategoryIndex(r));a[n]=t[n]=s.center()[n]}else a[n]=t[n]=r[n];this.box=o,this.line.moveTo(a).lineTo(t)},e.prototype.getBox=function(){for(var t,e=this.axis,r=e.pane.axes,i=r.length,o=e.options.vertical,n=e.lineBox().clone(),a=o?m:b,s=0;s<i;s++){var u=r[s];u.options.vertical!==o&&(t?t.wrap(u.lineBox()):t=u.lineBox().clone())}return n[a+1]=t[a+1],n[a+2]=t[a+2],n},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options;this.line=new S.drawing.Path({stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType},visible:!1}),this.moveLine(),this.visual.append(this.line)},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),t.prototype.destroy.call(this)},e}(Yt);Ct(Po,{color:n,width:2,zIndex:-1,tooltip:{visible:!1}});var Ao=Po,jo=function(t){function e(e,r){t.call(this,e),this.pane=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.shouldClip=function(){for(var t=this.children,e=t.length,r=0;r<e;r++)if(!0===t[r].options.clip)return!0;return!1},e.prototype._clipBox=function(){return this.pane.chartsBox()},e.prototype.createVisual=function(){if(this.visual=new S.drawing.Group({zIndex:0}),this.shouldClip()){var t=(this.clipBox=this._clipBox()).toRect(),e=S.drawing.Path.fromRect(t);O(e),this.visual.clip(e),this.unclipLabels()}},e.prototype.stackRoot=function(){return this},e.prototype.unclipLabels=function(){for(var t=this.children,e=this.clipBox,r=0;r<t.length;r++)for(var i=t[r].points||{},o=i.length,n=0;n<o;n++){var a=i[n];if(a&&!1!==a.visible&&a.overlapsBox&&a.overlapsBox(e))if(a.unclipElements)a.unclipElements();else{var s=a.label,u=a.note;s&&s.options.visible&&(s.alignToClipBox&&s.alignToClipBox(e),s.options.noclip=!0),u&&u.options.visible&&(u.options.noclip=!0)}}},e.prototype.destroy=function(){t.prototype.destroy.call(this),delete this.parent},e}(Yt);jo.prototype.isStackRoot=!0;var ko=jo,To=function(t){function e(e){t.call(this,e),this.id="pane"+Mo++,this.createTitle(),this.content=new Yt,this.chartContainer=new ko({},this),this.append(this.content),this.axes=[],this.charts=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createTitle=function(){var t=this.options.title;N(t)&&(t=V({},t,{align:t.position,position:v})),this.title=he.buildTitle(t,this,e.prototype.options.title)},e.prototype.appendAxis=function(t){this.content.append(t),this.axes.push(t),t.pane=this},e.prototype.appendAxisAt=function(t,e){this.content.append(t),this.axes.splice(e,0,t),t.pane=this},e.prototype.appendChart=function(t){this.chartContainer.parent!==this.content&&this.content.append(this.chartContainer),this.charts.push(t),this.chartContainer.append(t),t.pane=this},e.prototype.empty=function(){var t=this.parent;if(t){for(var e=0;e<this.axes.length;e++)t.removeAxis(this.axes[e]);for(var r=0;r<this.charts.length;r++)t.removeChart(this.charts[r])}this.axes=[],this.charts=[],this.content.destroy(),this.content.children=[],this.chartContainer.children=[]},e.prototype.reflow=function(e){var r;ft(this.children)===this.content&&(r=this.children.pop()),t.prototype.reflow.call(this,e),r&&this.children.push(r),this.title&&(this.contentBox.y1+=this.title.box.height())},e.prototype.visualStyle=function(){var e=t.prototype.visualStyle.call(this);return e.zIndex=-10,e},e.prototype.renderComplete=function(){this.options.visible&&this.createGridLines()},e.prototype.stackRoot=function(){return this},e.prototype.clipRoot=function(){return this},e.prototype.createGridLines=function(){for(var t=this.axes,e=t.concat(this.parent.axes),r=[],i=[],o=0;o<t.length;o++)for(var n=t[o],a=n.options.vertical,s=a?r:i,u=0;u<e.length;u++)if(0===s.length){var l=e[u];a!==l.options.vertical&&ot(s,n.createGridLines(l))}},e.prototype.refresh=function(){this.visual.clear(),this.content.parent=null,this.content.createGradient=this.createGradient.bind(this),this.content.renderVisual(),this.content.parent=this,this.title&&this.visual.append(this.title.visual),this.visual.append(this.content.visual),this.renderComplete(),this.notifyRender()},e.prototype.chartsBox=function(){for(var t=this.axes,e=t.length,r=new Ft,i=0;i<e;i++){var o=t[i],n=o.options.vertical?b:m,a=o.lineBox();r[n+1]=a[n+1],r[n+2]=a[n+2]}if(0===r.x2)for(var s=this.parent.axes,u=s.length,l=0;l<u;l++){var c=s[l];if(!c.options.vertical){var p=c.lineBox();r.x1=p.x1,r.x2=p.x2}}return r},e.prototype.clipBox=function(){return this.chartContainer.clipBox},e.prototype.notifyRender=function(){var t=this.getService();t&&t.notify("paneRender",{pane:new Fr(this),index:this.paneIndex,name:this.options.name})},e}(qt),Mo=1;To.prototype.isStackRoot=!0,Ct(To,{zIndex:-1,shrinkToFit:!0,title:{align:p},visible:!0});var Vo=To;function No(t,e){null!==e&&t.push(e)}function Eo(t,e,r){var i=e.visible;if(at(i))return i;var o=t.pointVisibility;return o?o[r]:void 0}function Lo(t){for(var e=t.data,r=[],i=0,o=0,n=0;n<e.length;n++){var a=Yr.current.bindPoint(t,n),s=a.valueFields.value;j(s)&&(s=parseFloat(s)),A(s)?(a.visible=!1!==Eo(t,a.fields,n),a.value=Math.abs(s),r.push(a),a.visible&&(i+=a.value),0!==s&&o++):r.push(null)}return{total:i,points:r,count:o}}function Do(t,e){return t&&e?t.toLowerCase()===e.toLowerCase():t===e}function Bo(t,e){for(var r=[],i=[].concat(e),o=0;o<t.length;o++){var n=t[o];q(n.type,i)&&r.push(n)}return r}function Io(t,e,r){if(null===e)return e;var i="_date_"+t,o=e[i];return o||(o=Qe(r,$(t)(e)),e[i]=o),o}function Ro(t,e){var r=t.type,i=e instanceof Date;return!r&&i||Do(r,l)}function zo(t){return 1===t.length?t[0]:t}var Fo=/area/i;function Ho(t,e){var r=Yr.current.bindPoint(t,null,e).valueFields;for(var i in r)if(k(r[i]))return!0}function Uo(t){var e,r,i=t.start,o=t.dir,n=t.min,a=t.max,s=t.getter,u=t.hasItem,l=t.series,c=i;do{u(c+=o)&&(e=Ho(l,(r=s(c)).item))}while(n<=c&&c<=a&&!e);if(e)return r}function Ko(t,e,r,i,o){var n=e.min,a=e.max,s=n>0&&n<r,u=a+1<r;if(s||u){var l,c,p;if("interpolate"!==function(t){return t.missingValues?t.missingValues:Fo.test(t.type)||t.stack?ti:"interpolate"}(t))s&&(l=i(n-1)),u&&(c=i(a+1));else s&&(l=Ho(t,(p=i(n-1)).item)?p:Uo({start:n,dir:-1,min:0,max:r-1,getter:i,hasItem:o,series:t})),u&&(c=Ho(t,(p=i(a+1)).item)?p:Uo({start:a,dir:1,min:0,max:r-1,getter:i,hasItem:o,series:t}));l&&(t._outOfRangeMinPoint=l),c&&(t._outOfRangeMaxPoint=c)}}var $o=function(t){function e(e,r,i){t.call(this,r),this.initFields(e,r),this.series=e,this.initSeries(),this.charts=[],this.options.legend=this.options.legend||{},this.options.legend.items=[],this.axes=[],this.crosshairs=[],this.chartService=i,this.originalOptions=r,this.createPanes(),this.render(),this.createCrosshairs()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.initSeries=function(){for(var t=this.series,e=0;e<t.length;e++)t[e].index=e},e.prototype.createPanes=function(){for(var t=this.options.title||{},e=this.options.paneDefaults,r=this.options.panes||[],i=Math.max(r.length,1),o=[],n=V({title:{color:t.color}},e),a=0;a<i;a++){var s=V({},n,r[a]);j(s.title)&&(s.title=V({text:s.title},n.title));var u=new Vo(s);u.paneIndex=a,o.push(u),this.append(u)}this.panes=o},e.prototype.crosshairOptions=function(t){return t.options.crosshair},e.prototype.createCrosshairs=function(t){void 0===t&&(t=this.panes);for(var e=0;e<t.length;e++)for(var r=t[e],i=0;i<r.axes.length;i++){var o=r.axes[i],n=this.crosshairOptions(o);if(n&&n.visible){var a=new Ao(this.chartService,o,n);this.crosshairs.push(a),r.content.append(a)}}},e.prototype.removeCrosshairs=function(t){for(var e=this.crosshairs,r=t.axes,i=e.length-1;i>=0;i--)for(var o=0;o<r.length;o++)if(e[i].axis===r[o]){e.splice(i,1);break}},e.prototype.hideCrosshairs=function(){for(var t=this.crosshairs,e=0;e<t.length;e++)t[e].hide()},e.prototype.findPane=function(t){for(var e,r=this.panes,i=0;i<r.length;i++)if(r[i].options.name===t){e=r[i];break}return e||r[0]},e.prototype.findPointPane=function(t){for(var e,r=this.panes,i=0;i<r.length;i++)if(r[i].box.containsPoint(t)){e=r[i];break}return e},e.prototype.appendAxis=function(t){this.findPane(t.options.pane).appendAxis(t),this.axes.push(t),t.plotArea=this},e.prototype.removeAxis=function(t){for(var e=[],r=0;r<this.axes.length;r++){var i=this.axes[r];t!==i?e.push(i):i.destroy()}this.axes=e},e.prototype.appendChart=function(t,e){this.charts.push(t),e?e.appendChart(t):this.append(t)},e.prototype.removeChart=function(t){for(var e=[],r=0;r<this.charts.length;r++){var i=this.charts[r];i!==t?e.push(i):i.destroy()}this.charts=e},e.prototype.addToLegend=function(t){for(var e=t.length,r=this.options.legend,i=r.labels||{},o=r.inactiveItems||{},n=o.labels||{},a=[],s=0;s<e;s++){var u=t[s],l=!1!==u.visible;if(!1!==u.visibleInLegend){var c=u.name,p=l?H(i):H(n)||H(i);p&&(c=p({text:uo(c)?c:"",series:u}));var h=u._defaults,f=u.color;T(f)&&h&&(f=h.color);var d=void 0,v=void 0;l?(d={},v=f):(d={color:n.color,font:n.font},v=o.markers.color),uo(c)&&""!==c&&a.push({text:c,labels:d,markerColor:v,series:u,active:l})}}ot(r.items,a)},e.prototype.groupAxes=function(t){for(var e=[],r=[],i=0;i<t.length;i++)for(var o=t[i].axes,n=0;n<o.length;n++){var a=o[n];a.options.vertical?r.push(a):e.push(a)}return{x:e,y:r,any:e.concat(r)}},e.prototype.groupSeriesByPane=function(){for(var t=this.series,e={},r=0;r<t.length;r++){var i=t[r],o=this.seriesPaneName(i);e[o]?e[o].push(i):e[o]=[i]}return e},e.prototype.filterVisibleSeries=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];!1!==i.visible&&e.push(i)}return e},e.prototype.reflow=function(t){var e=this.options.plotArea,r=this.panes,i=I(e.margin);this.box=t.clone().unpad(i),this.reflowPanes(),this.detachLabels(),this.reflowAxes(r),this.reflowCharts(r)},e.prototype.redraw=function(t){var e=[].concat(t);this.initSeries();var r=this.getRoot();r&&r.cleanGradients();for(var i=0;i<e.length;i++)this.removeCrosshairs(e[i]),e[i].empty();this.render(e),this.detachLabels(),this.reflowAxes(this.panes),this.reflowCharts(e),this.createCrosshairs(e);for(var o=0;o<e.length;o++)e[o].refresh()},e.prototype.axisCrossingValues=function(t,e){for(var r=t.options,i=[].concat(r.axisCrossingValues||r.axisCrossingValue),o=e.length-i.length,n=i[0]||0,a=0;a<o;a++)i.push(n);return i},e.prototype.alignAxisTo=function(t,e,r,i){var o=t.getSlot(r,r,!0),n=t.options.reverse?2:1,a=e.getSlot(i,i,!0),s=e.options.reverse?2:1,u=t.box.translate(a[m+s]-o[m+n],a[b+s]-o[b+n]);t.pane!==e.pane&&u.translate(0,t.pane.box.y1-e.pane.box.y1),t.reflow(u)},e.prototype.alignAxes=function(t,e){for(var r=t[0],i=e[0],o=this.axisCrossingValues(r,e),n=this.axisCrossingValues(i,t),s={},u={},l={},c={},h=0;h<e.length;h++){var f=e[h],g=f.pane,y=g.id,m=!1!==f.options.visible,b=Yo(t,g)||r,x=o;b!==r&&(x=this.axisCrossingValues(b,e)),this.alignAxisTo(f,b,n[h],x[h]),f.options._overlap||(yt(f.lineBox().x1)===yt(b.lineBox().x1)&&(s[y]&&f.reflow(f.box.alignTo(s[y].box,p).translate(-f.options.margin,0)),m&&(s[y]=f)),yt(f.lineBox().x2)===yt(b.lineBox().x2)&&(f._mirrored||(f.options.labels.mirror=!f.options.labels.mirror,f._mirrored=!0),this.alignAxisTo(f,b,n[h],x[h]),u[y]&&f.reflow(f.box.alignTo(u[y].box,d).translate(f.options.margin,0)),m&&(u[y]=f)),0!==h&&i.pane===f.pane&&(f.alignTo(i),f.reflow(f.box)))}for(var _=0;_<t.length;_++){var C=t[_],w=C.pane,S=w.id,O=!1!==C.options.visible,P=Yo(e,w)||i,A=n;P!==i&&(A=this.axisCrossingValues(P,t)),this.alignAxisTo(C,P,o[_],A[_]),C.options._overlap||(yt(C.lineBox().y1)===yt(P.lineBox().y1)&&(C._mirrored||(C.options.labels.mirror=!C.options.labels.mirror,C._mirrored=!0),this.alignAxisTo(C,P,o[_],A[_]),l[S]&&C.reflow(C.box.alignTo(l[S].box,v).translate(0,-C.options.margin)),O&&(l[S]=C)),yt(C.lineBox().y2,3)===yt(P.lineBox().y2,3)&&(c[S]&&C.reflow(C.box.alignTo(c[S].box,a).translate(0,C.options.margin)),O&&(c[S]=C)),0!==_&&(C.alignTo(r),C.reflow(C.box)))}},e.prototype.shrinkAxisWidth=function(t){for(var e=this.groupAxes(t).any,r=Xo(e),i=0,o=0;o<t.length;o++){var n=t[o];n.axes.length>0&&(i=Math.max(i,r.width()-n.contentBox.width()))}if(0!==i)for(var a=0;a<e.length;a++){var s=e[a];s.options.vertical||s.reflow(s.box.shrink(i,0))}},e.prototype.shrinkAxisHeight=function(t){for(var e,r=0;r<t.length;r++){var i=t[r],o=i.axes,n=Math.max(0,Xo(o).height()-i.contentBox.height());if(0!==n){for(var a=0;a<o.length;a++){var s=o[a];s.options.vertical&&s.reflow(s.box.shrink(0,n))}e=!0}}return e},e.prototype.fitAxes=function(t){for(var e=this.groupAxes(t).any,r=0,i=0;i<t.length;i++){var o=t[i],n=o.axes,a=o.contentBox;if(n.length>0){var s=Xo(n),u=Math.max(a.y1-s.y1,a.y2-s.y2);r=Math.max(r,a.x1-s.x1);for(var l=0;l<n.length;l++){var c=n[l];c.reflow(c.box.translate(0,u))}}}for(var p=0;p<e.length;p++){var h=e[p];h.reflow(h.box.translate(r,0))}},e.prototype.reflowAxes=function(t){for(var e=this.groupAxes(t),r=0;r<t.length;r++)this.reflowPaneAxes(t[r]);e.x.length>0&&e.y.length>0&&(this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t),this.autoRotateAxisLabels(e),this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t)&&this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t),this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t)&&this.alignAxes(e.x,e.y),this.fitAxes(t))},e.prototype.autoRotateAxisLabels=function(t){for(var e,r=this.panes,i=Wo(r),o=0;o<i.length;o++){i[o].autoRotateLabels()&&(e=!0)}if(e){for(var n=0;n<r.length;n++)this.reflowPaneAxes(r[n]);t.x.length>0&&t.y.length>0&&(this.alignAxes(t.x,t.y),this.shrinkAxisWidth(r))}},e.prototype.reflowPaneAxes=function(t){var e=t.axes,r=e.length;if(r>0)for(var i=0;i<r;i++)e[i].reflow(t.contentBox)},e.prototype.reflowCharts=function(t){for(var e=this.charts,r=e.length,i=this.box,o=0;o<r;o++){var n=e[o].pane;n&&!q(n,t)||e[o].reflow(i)}},e.prototype.reflowPanes=function(){for(var t=this.box,e=this.panes,r=e.length,i=t.height(),o=0,n=t.y1,a=0;a<r;a++){var s=e[a],u=s.options.height;if(s.options.width=t.width(),s.options.height){if(u.indexOf&&u.indexOf("%")){var l=parseInt(u,10)/100;s.options.height=l*t.height()}s.reflow(t.clone()),i-=s.options.height}else o++}for(var c=0;c<r;c++){var p=e[c];p.options.height||(p.options.height=i/o)}for(var h=0;h<r;h++){var f=e[h],d=t.clone().move(t.x1,n);f.reflow(d),n+=f.options.height}},e.prototype.backgroundBox=function(){for(var t,e=this.axes,r=e.length,i=0;i<r;i++)for(var o=e[i],n=0;n<r;n++){var a=e[n];if(o.options.vertical!==a.options.vertical){var s=o.lineBox().clone().wrap(a.lineBox());t=t?t.wrap(s):s}}return t||this.box},e.prototype.chartsBoxes=function(){for(var t=this.panes,e=[],r=0;r<t.length;r++)e.push(t[r].chartsBox());return e},e.prototype.addBackgroundPaths=function(t){for(var e=this.chartsBoxes(),r=0;r<e.length;r++)t.paths.push(S.drawing.Path.fromRect(e[r].toRect()))},e.prototype.backgroundContainsPoint=function(t){for(var e=this.chartsBoxes(),r=0;r<e.length;r++)if(e[r].containsPoint(t))return!0},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e,r=this.options.plotArea,i=r.opacity,o=r.background,n=r.border;void 0===n&&(n={}),""!==(e=o)&&null!==e&&"none"!==e&&"transparent"!==e&&at(e)||(o=y,i=0);var a=this._bgVisual=new S.drawing.MultiPath({fill:{color:o,opacity:i},stroke:{color:n.width?n.color:"",width:n.width,dashType:n.dashType},zIndex:-1});this.addBackgroundPaths(a),this.appendVisual(a)},e.prototype.pointsByCategoryIndex=function(t){var e=this.charts,r=[];if(null!==t)for(var i=0;i<e.length;i++){if("_navigator"!==e[i].pane.options.name){var o=e[i].categoryPoints[t];if(o&&o.length)for(var n=0;n<o.length;n++){var a=o[n];a&&at(a.value)&&null!==a.value&&r.push(a)}}}return r},e.prototype.pointsBySeriesIndex=function(t){return this.filterPoints((function(e){return e.series.index===t}))},e.prototype.pointsBySeriesName=function(t){return this.filterPoints((function(e){return e.series.name===t}))},e.prototype.filterPoints=function(t){for(var e=this.charts,r=[],i=0;i<e.length;i++)for(var o=e[i].points,n=0;n<o.length;n++){var a=o[n];a&&!1!==a.visible&&t(a)&&r.push(a)}return r},e.prototype.findPoint=function(t){for(var e=this.charts,r=0;r<e.length;r++)for(var i=e[r].points,o=0;o<i.length;o++){var n=i[o];if(n&&!1!==n.visible&&t(n))return n}},e.prototype.paneByPoint=function(t){for(var e=this.panes,r=0;r<e.length;r++){var i=e[r];if(i.box.containsPoint(t))return i}},e.prototype.detachLabels=function(){var t=this.groupAxes(this.panes),e=t.x,r=t.y;this.detachAxisGroupLabels(r,e),this.detachAxisGroupLabels(e,r)},e.prototype.detachAxisGroupLabels=function(t,e){for(var r=0,i=0;i<t.length;i++){var o=t[i],n=o.pane,a=Yo(e,n)||e[0],s=i+r,u=this.createLabelAxis(o,s,a);if(u){r++;var l=n.axes.indexOf(o)+r;n.appendAxisAt(u,l)}}},e.prototype.createLabelAxis=function(t,e,r){var i=t.options.labels,o=i.position,n="end"!==o&&"start"!==o,a=i.visible;if(n||!1===a)return null;var s=this.groupAxes(this.panes),u=r.options.vertical?s.x:s.y,l=this.axisCrossingValues(r,u),c="end"===o,p=r.range(),h=c?p.max:p.min;if(dt(l[e],p.min,p.max)-h==0)return null;l.splice(e+1,0,h),r.options.axisCrossingValues=l;var f=t.clone();return t.clear(),f.options.name=void 0,f.options.line.visible=!1,f.options.crosshair=void 0,f.options.notes=void 0,f.options.plotBands=void 0,f},e}(Yt);function Go(t){return!t.pane.axes.some((function(e){return e.options.vertical===t.options.vertical&&e!==t&&!1!==e.options.visible}))}function Xo(t){for(var e,r=t.length,i=0;i<r;i++){var o=t[i],n=!1!==o.options.visible;if(n||Go(o)){var a=n?o.contentBox():o.lineBox();e?e.wrap(a):e=a.clone()}}return e||new Ft}function Yo(t,e){for(var r=0;r<t.length;r++){var i=t[r];if(i&&i.pane===e)return i}}var Wo=function(t){return t.reduce((function(t,e){return t.concat(e.axes)}),[])};Ct($o,{series:[],plotArea:{margin:{}},background:"",border:{color:n,width:0},paneDefaults:{title:{}},legend:{inactiveItems:{labels:{color:"#919191"},markers:{color:"#919191"}}}});var qo=$o,Zo={hover:function(t,e){this._dispatchEvent(t,e,"plotAreaHover")},click:function(t,e){this._dispatchEvent(t,e,"plotAreaClick")}};function Qo(t,e,r){var i=e,o=t;if(t.indexOf(".")>-1){for(var n=t.split(".");n.length>1;)o=n.shift(),at(i[o])||(i[o]={}),i=i[o];o=n.shift()}i[o]=r}var Jo=function(t){function e(e,r,i){t.call(this);var o=r.canonicalFields(e),n=r.valueFields(e),a=r.sourceFields(e,o),s=this._seriesFields=[],u=i.query(e.type),l=e.aggregate||u;this._series=e,this._binder=r;for(var c=0;c<o.length;c++){var p=o[c],h=void 0;if(N(l))h=l[p];else{if(0!==c&&!q(p,n))break;h=l}h&&s.push({canonicalName:p,name:a[c],transform:T(h)?h:$r[h]})}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aggregatePoints=function(t,e){var r=this._series,i=this._seriesFields,o=this._bindPoints(t||[]),n=o.dataItems[0],a={};if(n&&!A(n)&&!x(n)){var s=function(){};s.prototype=n,a=new s}for(var u=0;u<i.length;u++){var l=i[u],c=this._bindField(o.values,l.canonicalName),p=l.transform(c,r,o.dataItems,e);if(!(null===p||!N(p)||at(p.length)||p instanceof Date)){a=p;break}at(p)&&Qo(l.name,a,p)}return a},e.prototype._bindPoints=function(t){for(var e=this._binder,r=this._series,i=[],o=[],n=0;n<t.length;n++){var a=t[n];i.push(e.bindPoint(r,a)),o.push(r.data[a])}return{values:i,dataItems:o}},e.prototype._bindField=function(t,e){for(var r=[],i=t.length,o=0;o<i;o++){var n=t[o],a=n.valueFields,s=void 0;s=at(a[e])?a[e]:n.fields[e],r.push(s)}return r},e}(S.Class),tn=function(t){function e(){t.call(this),this._defaults={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){for(var r=0;r<t.length;r++)this._defaults[t[r]]=e},e.prototype.query=function(t){return this._defaults[t]},e}(S.Class);tn.current=new tn;var en=tn,rn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createLabel=function(){var t=this.options.labels,e=V({},t,t.from),r=V({},t,t.to);e.visible&&(this.labelFrom=this._createLabel(e),this.append(this.labelFrom)),r.visible&&(this.labelTo=this._createLabel(r),this.append(this.labelTo))},e.prototype._createLabel=function(t){var e,r=H(t),i=this.pointData();return e=r?r(i):this.formatValue(t.format),new zi(e,V({vertical:this.options.vertical},t),i)},e.prototype.reflow=function(t){this.render();var e=this.labelFrom,r=this.labelTo,i=this.value;this.box=t,e&&(e.options.aboveAxis=i.from>i.to,e.reflow(t)),r&&(r.options.aboveAxis=i.to>i.from,r.reflow(t)),this.note&&this.note.reflow(t)},e}(Ui);rn.prototype.defaults=V({},rn.prototype.defaults,{labels:{format:"{0} - {1}"},tooltip:{format:"{1}"}});var on=rn,nn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return on},e.prototype.pointValue=function(t){return t.valueFields},e.prototype.formatPointValue=function(t,e){return null===t.value.from&&null===t.value.to?"":this.chartService.format.auto(e,t.value.from,t.value.to)},e.prototype.plotRange=function(t){return t?[t.value.from,t.value.to]:0},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=t.from,o=t.to,n=this.valueAxisRanges[r];null!==t&&A(i)&&A(o)&&((n=this.valueAxisRanges[r]=n||{min:h,max:f}).min=Math.min(n.min,i),n.max=Math.max(n.max,i),n.min=Math.min(n.min,o),n.max=Math.max(n.max,o))},e.prototype.aboveAxis=function(t){var e=t.value;return e.from<e.to},e}(Zi);nn.prototype.plotLimits=di.prototype.plotLimits;var an=nn,sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aliasFor=function(){return this.parent},e}(mi),un=function(t){function e(e,r){t.call(this),this.value=e,this.options=r,this.aboveAxis=bt(this.options.aboveAxis,!0),this.tooltipTracking=!0,this.initLabelsFormat()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){if(!this._rendered){this._rendered=!0;var t=this.options,e=t.markers,r=t.labels,i=this.value,o=this.fromPoint=new sn(i,V({},this.options,{labels:r.from,markers:e.from})),n=this.toPoint=new sn(i,V({},this.options,{labels:r.to,markers:e.to}));this.copyFields(o),this.copyFields(n),this.append(o),this.append(n)}},e.prototype.reflow=function(t){this.render();var e=t.from,r=t.to;this.positionLabels(e,r),this.fromPoint.reflow(e),this.toPoint.reflow(r),this.box=this.fromPoint.markerBox().clone().wrap(this.toPoint.markerBox())},e.prototype.createHighlight=function(){var t=new S.drawing.Group;return t.append(this.fromPoint.createHighlight()),t.append(this.toPoint.createHighlight()),t},e.prototype.highlightVisual=function(){return this.visual},e.prototype.highlightVisualArgs=function(){return{options:this.options,from:this.fromPoint.highlightVisualArgs(),to:this.toPoint.highlightVisualArgs()}},e.prototype.tooltipAnchor=function(){var t=this.owner.pane.clipBox();if(!t||t.overlaps(this.box)){var e,r,i,o=this.box,n=o.center();return this.options.vertical?(e=n.x,r=o.y1-5,i=a):(e=o.x2+5,r=n.y,i=s),{point:new Rt(e,r),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){this.fromPoint.unclipElements(),this.toPoint.unclipElements()},e.prototype.initLabelsFormat=function(){var t=this.options.labels;t.format||(t.from&&t.from.format||(t.from=Object.assign({},t.from,{format:"{0}"})),t.to&&t.to.format||(t.to=Object.assign({},t.to,{format:"{1}"})))},e.prototype.positionLabels=function(t,e){var r,i,o=this.options,n=o.labels,a=o.vertical;"auto"===n.position&&(a?e.y1<=t.y1?(i="above",r="below"):(i="below",r="above"):e.x1<=t.x1?(i=p,r=d):(i=d,r=p),n.from&&n.from.position||(this.fromPoint.options.labels.position=r),n.to&&n.to.position||(this.toPoint.options.labels.position=i))},e.prototype.copyFields=function(t){t.dataItem=this.dataItem,t.category=this.category,t.series=this.series,t.color=this.color,t.owner=this.owner},e}(Yt);V(un.prototype,vi),V(un.prototype,gi),un.prototype.defaults={markers:{visible:!1,background:y,size:8,type:u,border:{width:2},opacity:1},labels:{visible:!1,margin:I(3),padding:I(4),animation:{type:"fadeIn",delay:600},position:"auto"},notes:{label:{}},highlight:{markers:{border:{color:y,width:2}},zIndex:100},tooltip:{format:"{0} - {1}"}};var ln=un,cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.toGeometryPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.toGeometryPoints(this.fromPoints().reverse()))),t},e.prototype.createStroke=function(t){var e=new S.drawing.Path(t),r=new S.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),r.segments.push.apply(r.segments,this.stackSegments()),this.visual.append(e),this.visual.append(r)},e.prototype.hasStackSegment=function(){return!0},e.prototype.fromPoints=function(){return this.linePoints.map((function(t){return t.fromPoint}))},e.prototype.toPoints=function(){return this.linePoints.map((function(t){return t.toPoint}))},e}(Ni),pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.createCurveSegments(this.toPoints())},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.createCurveSegments(this.fromPoints().reverse())),t},e.prototype.createCurveSegments=function(t){return(new Br).process(this.toGeometryPoints(t))},e}(cn),hn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.calculateStepPoints(this.fromPoints()))).reverse(),t},e}(cn);V(hn.prototype,Ci);var fn=hn,dn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.pointType=function(){return ln},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=t.valueFields;if(!uo(a.from)&&!uo(a.to)){if(this.seriesMissingValues(o)!==ti)return null;a={from:0,to:0}}var s=this.pointOptions(o,n);s=this.evalPointOptions(s,a,i,r,o,n);var u=t.fields.color||o.color;T(o.color)&&(u=s.color);var l=new ln(a,s);return l.color=u,this.append(l),l},e.prototype.createSegment=function(t,e,r){var i=(e.line||{}).style;return new("smooth"===i?pn:"step"===i?fn:cn)(t,e,r)},e.prototype.plotRange=function(t,e){return t?[t.value.from,t.value.to]:[e,e]},e.prototype.valueSlot=function(t,e){var r=t.getSlot(e[0],e[0],!this.options.clip),i=t.getSlot(e[1],e[1],!this.options.clip);if(r&&i)return{from:r,to:i}},e.prototype.pointSlot=function(t,e){var r,i,o=e.from,n=e.to;return this.options.invertAxes?(r=new Ft(o.x1,t.y1,o.x2,t.y2),i=new Ft(n.x1,t.y1,n.x2,t.y2)):(r=new Ft(t.x1,o.y1,t.x2,o.y2),i=new Ft(t.x1,n.y1,t.x2,n.y2)),{from:r,to:i}},e.prototype.addValue=function(e,r){var i=e.valueFields;A(i.from)||(i.from=i.to),A(i.to)||(i.to=i.from),t.prototype.addValue.call(this,e,r)},e.prototype.updateRange=function(t,e){if(null!==t&&A(t.from)&&A(t.to)){var r=e.series.axis,i=this.valueAxisRanges[r]=this.valueAxisRanges[r]||{min:h,max:f},o=t.from,n=t.to;i.min=Math.min(i.min,o,n),i.max=Math.max(i.max,o,n)}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.from,r.to)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++){var i=t[r];i&&(e.push((i.fromPoint||{}).marker),e.push((i.toPoint||{}).marker))}return e.concat(this._segments)},e}(di);V(dn.prototype,Pi,Ti);var vn=dn,gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=this.value,i=this.owner.seriesValueAxis(e),o=[],n=[],a=[],s=i.getSlot(r.low,r.high),u=i.getSlot(r.open,r.open),l=i.getSlot(r.close,r.close);u.x1=l.x1=s.x1=t.x1,u.x2=l.x2=s.x2=t.x2;var c=s.center().x;o.push([u.x1,u.y1]),o.push([c,u.y1]),n.push([c,l.y1]),n.push([l.x2,l.y1]),a.push([c,s.y1]),a.push([c,s.y2]),this.lines=[o,n,a],this.box=s.clone().wrap(u.clone().wrap(l)),this.reflowNote()},e.prototype.createBody=function(){},e}(Ji),yn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return gn},e}(ro),mn=function(t){function e(e,r,i){t.call(this),this.from=e,this.to=r,this.series=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.linePoints=function(){var t=this.from,e=this.from.box,r=this.to.box,i=[];if(t.isVertical){var o=t.aboveAxis?e.y1:e.y2;i.push([e.x1,o],[r.x2,o])}else{var n=t.aboveAxis?e.x2:e.x1;i.push([n,e.y1],[n,r.y2])}return i},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.series.line||{},r=S.drawing.Path.fromPoints(this.linePoints(),{stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType}});O(r),this.visual.append(r)},e}(Yt);Ct(mn,{animation:{type:"fadeIn",delay:600}});var bn=mn,xn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.createSegments()},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=hi(e),i=!this.options.invertAxes,o=0;o<e.length;o++)for(var n=e[o],a=0,s=0,u=0;u<r;u++){var l=Yr.current.bindPoint(n,u),c=l.valueFields.value,p=l.fields.summary,h=a,f=void 0;p?"total"===p.toLowerCase()?(l.valueFields.value=a,h=0,f=a):(l.valueFields.value=s,f=h-s,s=0):A(c)&&(s+=c,f=a+=c),t(l,{category:this.categoryAxis.categoryAt(u),categoryIx:u,series:n,seriesIx:o,total:a,runningTotal:s,from:h,to:f,isVertical:i})}},e.prototype.updateRange=function(e,r){t.prototype.updateRange.call(this,{value:r.to},r)},e.prototype.aboveAxis=function(t){return t.value>=0},e.prototype.plotRange=function(t){return[t.from,t.to]},e.prototype.createSegments=function(){for(var t=this.options.series,e=this.seriesPoints,r=this.segments=[],i=0;i<t.length;i++){var o=t[i],n=e[i];if(n)for(var a=void 0,s=0;s<n.length;s++){var u=n[s];if(u&&a){var l=new bn(a,u,o);r.push(l),this.append(l)}a=u}}},e}(Zi),_n=["area","verticalArea","rangeArea","verticalRangeArea"],Cn=[ii,ni].concat(_n),wn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(t){if(this.namedCategoryAxes={},this.namedValueAxes={},this.valueAxisRangeTracker=new Ii,t.length>0){this.invertAxes=q(t[0].type,[ei,"bullet",ni,"verticalArea","verticalRangeArea","rangeBar","horizontalWaterfall","verticalBoxPlot"]);for(var e=0;e<t.length;e++){var r=t[e].stack;if(r&&"100%"===r.type){this.stack100=!0;break}}}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.createCategoryAxes(t),this.aggregateCategories(t),this.createCategoryAxesLabels(t),this.createCharts(t),this.createValueAxes(t)},e.prototype.removeAxis=function(e){var r=e.options.name;t.prototype.removeAxis.call(this,e),e instanceof rr?delete this.namedCategoryAxes[r]:(this.valueAxisRangeTracker.reset(r),delete this.namedValueAxes[r]),e===this.categoryAxis&&delete this.categoryAxis,e===this.valueAxis&&delete this.valueAxis},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),r=0;r<t.length;r++){var i=t[r],o=e[i.options.name||"default"]||[];this.addToLegend(o);var n=this.filterVisibleSeries(o);if(n)for(var a=this.groupSeriesByCategoryAxis(n),s=0;s<a.length;s++)this.createChartGroup(a[s],i)}},e.prototype.createChartGroup=function(t,e){this.createAreaChart(Bo(t,["area","verticalArea"]),e),this.createRangeAreaChart(Bo(t,["rangeArea","verticalRangeArea"]),e),this.createBarChart(Bo(t,[ri,ei]),e),this.createRangeBarChart(Bo(t,["rangeColumn","rangeBar"]),e),this.createBulletChart(Bo(t,["bullet","verticalBullet"]),e),this.createCandlestickChart(Bo(t,"candlestick"),e),this.createBoxPlotChart(Bo(t,["boxPlot","verticalBoxPlot"]),e),this.createOHLCChart(Bo(t,"ohlc"),e),this.createWaterfallChart(Bo(t,["waterfall","horizontalWaterfall"]),e),this.createLineChart(Bo(t,[ii,ni]),e)},e.prototype.aggregateCategories=function(t){var e=this.srcSeries||this.series,r=[];this._currentPointsCache={},this._seriesPointsCache=this._seriesPointsCache||{};for(var i=0;i<e.length;i++){var o=e[i],n=this.seriesCategoryAxis(o),a=this.findPane(n.options.pane);o=(Do(n.options.type,l)||o.categoryField)&&q(a,t)?this.aggregateSeries(o,n):this.filterSeries(o,n),r.push(o)}this._seriesPointsCache=this._currentPointsCache,this._currentPointsCache=null,this.srcSeries=e,this.series=r},e.prototype.filterSeries=function(t,e){var r=(t.data||{}).length;if(e._seriesMax=Math.max(e._seriesMax||0,r),!A(e.options.min)&&!A(e.options.max))return t;var i=e.currentRangeIndices(),o=q(t.type,Cn),n=V({},t);return n.data=(n.data||[]).slice(i.min,i.max+1),o&&Ko(n,i,r,(function(r){return{item:t.data[r],category:e.categoryAt(r,!0),categoryIx:r-i.min}}),(function(e){return at(t.data[e])})),n},e.prototype.clearSeriesPointsCache=function(){this._seriesPointsCache={}},e.prototype.seriesSourcePoints=function(t,e){var r=t.index+";"+e.categoriesHash();if(this._seriesPointsCache[r])return this._currentPointsCache[r]=this._seriesPointsCache[r],this._seriesPointsCache[r];var i=e.options,o=i.srcCategories,n=Do(i.type,l),a=t.data,s=n?Io:Gr,u=[];n||e.mapCategories();for(var c=0;c<a.length;c++){var p=void 0;if(p=t.categoryField?s(t.categoryField,a[c],this.chartService.intl):o[c],at(p)&&null!==p){var h=e.totalIndex(p);u[h]=u[h]||{items:[],category:p},u[h].items.push(c)}}return this._currentPointsCache[r]=u,u},e.prototype.aggregateSeries=function(t,e){if(!t.data.length)return t;for(var r=this.seriesSourcePoints(t,e),i=V({},t),o=new Jo(V({},t),Yr.current,en.current),n=i.data=[],a=e.options.dataItems||[],s=e.currentRangeIndices(),u=function(t){var i=t-s.min,n=r[t];if(n||(n=r[t]={}),n.categoryIx=i,!n.item){var a=e.categoryAt(t,!0);n.category=a,n.item=o.aggregatePoints(n.items,a)}return n},l=s.min;l<=s.max;l++){var c=u(l);n[c.categoryIx]=c.item,c.items&&c.items.length&&(a[c.categoryIx]=c.item)}return q(i.type,Cn)&&Ko(i,s,e.totalCount(),u,(function(t){return r[t]})),e.options.dataItems=a,i},e.prototype.appendChart=function(e,r){var i=e.options.series,o=this.seriesCategoryAxis(i[0]),n=o.options.categories,a=Math.max(0,hi(i)-n.length);if(a>0)for(n=o.options.categories=o.options.categories.slice(0);a--;)n.push("");this.valueAxisRangeTracker.update(e.valueAxisRanges),t.prototype.appendChart.call(this,e,r)},e.prototype.seriesPaneName=function(t){var e=this.options,r=t.axis,i=G([].concat(e.valueAxis),(function(t){return t.name===r}))[0],o=((e.panes||[{}])[0]||{}).name||"default";return(i||{}).pane||o},e.prototype.seriesCategoryAxis=function(t){var e=t.categoryAxis,r=e?this.namedCategoryAxes[e]:this.categoryAxis;if(!r)throw new Error("Unable to locate category axis with name "+e);return r},e.prototype.stackableChartOptions=function(t,e){var r=t.stack;return{isStacked:r,isStacked100:r&&"100%"===r.type,clip:e.options.clip}},e.prototype.groupSeriesByCategoryAxis=function(t){for(var e=[],r={},i=0;i<t.length;i++){var o=t[i].categoryAxis||"$$default$$";r.hasOwnProperty(o)||(r[o]=!0,e.push(o))}for(var n=[],a=0;a<e.length;a++){var s=On(t,e[a],a);0!==s.length&&n.push(s)}return n},e.prototype.createBarChart=function(t,e){if(0!==t.length){var r=t[0],i=new Zi(this,Object.assign({series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing},this.stackableChartOptions(r,e)));this.appendChart(i,e)}},e.prototype.createRangeBarChart=function(t,e){if(0!==t.length){var r=t[0],i=new an(this,{series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing});this.appendChart(i,e)}},e.prototype.createBulletChart=function(t,e){if(0!==t.length){var r=t[0],i=new _o(this,{series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var r=t[0],i=new Vi(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(r,e)));this.appendChart(i,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var r=t[0],i=new Bi(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(r,e)));this.appendChart(i,e)}},e.prototype.createRangeAreaChart=function(t,e){if(0!==t.length){var r=new vn(this,{invertAxes:this.invertAxes,series:t,clip:e.options.clip});this.appendChart(r,e)}},e.prototype.createOHLCChart=function(t,e){if(0!==t.length){var r=t[0],i=new yn(this,{invertAxes:this.invertAxes,gap:r.gap,series:t,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createCandlestickChart=function(t,e){if(0!==t.length){var r=t[0],i=new ro(this,{invertAxes:this.invertAxes,gap:r.gap,series:t,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createBoxPlotChart=function(t,e){if(0!==t.length){var r=t[0],i=new ao(this,{invertAxes:this.invertAxes,gap:r.gap,series:t,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createWaterfallChart=function(t,e){if(0!==t.length){var r=t[0],i=new xn(this,{series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing});this.appendChart(i,e)}},e.prototype.axisRequiresRounding=function(t,e){for(var r=Bo(this.series,ai),i=0;i<this.series.length;i++){var o=this.series[i];if(q(o.type,_n)){var n=o.line;n&&"step"===n.style&&r.push(o)}}for(var a=0;a<r.length;a++){var s=r[a].categoryAxis||"";if(s===t||!s&&0===e)return!0}},e.prototype.aggregatedAxis=function(t,e){for(var r=this.series,i=0;i<r.length;i++){var o=r[i].categoryAxis||"";if((o===t||!o&&0===e)&&r[i].categoryField)return!0}},e.prototype.createCategoryAxesLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e]instanceof rr&&t[e].createLabels()},e.prototype.createCategoryAxes=function(t){for(var e=this.invertAxes,r=[].concat(this.options.categoryAxis),i=[],o=0;o<r.length;o++){var n=r[o];if(q(this.findPane(n.pane),t)){var a=n.name,s=n.categories;void 0===s&&(s=[]),n=V({vertical:e,reverse:!e&&this.chartService.rtl,axisCrossingValue:e?h:0},n),at(n.justified)||(n.justified=this.isJustified()),this.axisRequiresRounding(a,o)&&(n.justified=!1);var u=void 0;if(u=Ro(n,s[0])?new pr(n,this.chartService):new rr(n,this.chartService),r[o].categories=u.options.srcCategories,a){if(this.namedCategoryAxes[a])throw new Error("Category axis with name "+a+" is already defined");this.namedCategoryAxes[a]=u}u.axisIndex=o,i.push(u),this.appendAxis(u)}}var l=this.categoryAxis||i[0];this.categoryAxis=l,e?this.axisY=l:this.axisX=l},e.prototype.isJustified=function(){for(var t=this.series,e=0;e<t.length;e++){if(!q(t[e].type,_n))return!1}return!0},e.prototype.createValueAxes=function(t){var e=this.valueAxisRangeTracker,r=e.query(),i=[].concat(this.options.valueAxis),o=this.invertAxes,n={vertical:!o,reverse:o&&this.chartService.rtl},a=[];this.stack100&&(n.roundToMajorUnit=!1,n.labels={format:"P0"});for(var s=0;s<i.length;s++){var u=i[s];if(q(this.findPane(u.pane),t)){var l=u.name,c=Do(u.type,"log")?{min:.1,max:1}:{min:0,max:1},p=e.query(l)||r||c;0===s&&p&&r&&(p.min=Math.min(p.min,r.min),p.max=Math.max(p.max,r.max));var h=new(Do(u.type,"log")?Sr:mr)(p.min,p.max,V({},n,u),this.chartService);if(l){if(this.namedValueAxes[l])throw new Error("Value axis with name "+l+" is already defined");this.namedValueAxes[l]=h}h.axisIndex=s,a.push(h),this.appendAxis(h)}}var f=this.valueAxis||a[0];this.valueAxis=f,o?this.axisX=f:this.axisY=f},e.prototype._dispatchEvent=function(t,e,r){var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.pointPane(o),a=[],s=[];if(n){for(var u=n.axes,l=0;l<u.length;l++){var c=u[l];c.getValue?No(s,c.getValue(o)):No(a,c.getCategory(o))}0===a.length&&No(a,this.categoryAxis.getCategory(o)),a.length>0&&s.length>0&&t.trigger(r,{element:pt(e),originalEvent:e,category:zo(a),value:zo(s)})}},e.prototype.pointPane=function(t){for(var e=this.panes,r=0;r<e.length;r++){var i=e[r];if(i.contentBox.containsPoint(t))return i}},e.prototype.updateAxisOptions=function(t,e){Sn(this.options,t,e),Sn(this.originalOptions,t,e)},e}(qo);function Sn(t,e,r){V([].concat(e instanceof rr?t.categoryAxis:t.valueAxis)[e.axisIndex],r)}function On(t,e,r){return G(t,(function(t){return 0===r&&!t.categoryAxis||t.categoryAxis===e}))}Ct(wn,{categoryAxis:{},valueAxis:{}}),V(wn.prototype,Zo);var Pn=wn;function An(){this._defaultPrevented=!0}var jn=function(t){function e(){t.call(this),this._points=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._points=[]},e.prototype.show=function(t,e){var r=[].concat(t);this.hide();for(var i=0;i<r.length;i++){var o=r[i];o&&o.toggleHighlight&&o.hasHighlight()&&(this.togglePointHighlight(o,!0,e),this._points.push(o))}},e.prototype.togglePointHighlight=function(t,e,r){var i=(t.options.highlight||{}).toggle;if(i){var o={category:t.category,series:t.series,dataItem:t.dataItem,value:t.value,stackValue:t.stackValue,preventDefault:An,visual:t.highlightVisual(),show:e};i(o),o._defaultPrevented||t.toggleHighlight(e,r)}else t.toggleHighlight(e,r)},e.prototype.hide=function(){for(var t=this._points;t.length;)this.togglePointHighlight(t.pop(),!1)},e.prototype.isHighlighted=function(t){for(var e=this._points,r=0;r<e.length;r++){if(t===e[r])return!0}return!1},e}(S.Class);function kn(t,e){var r=(e||"").toLowerCase(),i=t.event;return"none"===r&&!(i.ctrlKey||i.shiftKey||i.altKey)||i[r+"Key"]}function Tn(t){for(var e={},r=0;r<t.length;r++){var i=t[r];i.axis.options.name&&(e[i.axis.options.name]={min:i.range.min,max:i.range.max})}return e}var Mn=function(t){function e(e,r){t.call(this),this.plotArea=e,this.options=V({},this.options,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.start=function(t){return this._active=kn(t,this.options.key),this._active},e.prototype.move=function(t){if(this._active){var e=this.axisRanges=this._panAxes(t,m).concat(this._panAxes(t,b));if(e.length)return this.axisRanges=e,Tn(e)}},e.prototype.end=function(){var t=this._active;return this._active=!1,t},e.prototype.pan=function(){var t=this.plotArea,e=this.axisRanges;if(e.length){for(var r=0;r<e.length;r++){var i=e[r];t.updateAxisOptions(i.axis,i.range)}t.redraw(t.panes)}},e.prototype.destroy=function(){delete this.plotArea},e.prototype._panAxes=function(t,e){var r=this.plotArea,i=-t[e].delta,o=(this.options.lock||"").toLowerCase(),n=[];if(0!==i&&(o||"").toLowerCase()!==e)for(var a=r.axes,s=0;s<a.length;s++){var u=a[s];if(e===m&&!u.options.vertical||e===b&&u.options.vertical){var l=u.pan(i);l&&(l.limitRange=!0,n.push({axis:u,range:l}))}}return n},e}(S.Class);Mn.prototype.options={key:"none",lock:"none"};var Vn=Mn,Nn=function(t){function e(e,r){t.call(this),this.chart=e,this.options=V({},this.options,r),this.createElement()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElement=function(){var t=this._marquee=document.createElement("div");t.className="k-marquee";var e=document.createElement("div");e.className="k-marquee-color",t.appendChild(e)},e.prototype.removeElement=function(){this._marquee.parentNode&&this._marquee.parentNode.removeChild(this._marquee)},e.prototype.setStyles=function(t){B(this._marquee,t)},e.prototype.start=function(t){if(kn(t,this.options.key)){var e=this.chart,r=e._eventCoordinates(t),i=this._zoomPane=e._plotArea.paneByPoint(r),o=i?i.chartsBox().clone():null;if(i&&o){var n=this._elementOffset();return o.translate(n.left,n.top),this._zoomPaneClipBox=o,document.body.appendChild(this._marquee),this.setStyles({left:t.pageX+1,top:t.pageY+1,width:0,height:0}),!0}}return!1},e.prototype._elementOffset=function(){var t=this.chart.element,e=B(t,["paddingLeft","paddingTop"]),r=e.paddingLeft,i=e.paddingTop,o=ut(t);return{left:r+o.left,top:i+o.top}},e.prototype.move=function(t){this._zoomPane&&this.setStyles(this._selectionPosition(t))},e.prototype.end=function(t){if(this._zoomPane){var e=this._elementOffset(),r=this._selectionPosition(t);r.left-=e.left,r.top-=e.top;var i={x:r.left,y:r.top},o={x:r.left+r.width,y:r.top+r.height};return this._updateAxisRanges(i,o),this.removeElement(),delete this._zoomPane,Tn(this.axisRanges)}},e.prototype.zoom=function(){var t=this.axisRanges;if(t&&t.length){for(var e=this.chart._plotArea,r=0;r<t.length;r++){var i=t[r];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){this.removeElement(),delete this._marquee,delete this.chart},e.prototype._updateAxisRanges=function(t,e){for(var r=(this.options.lock||"").toLowerCase(),i=[],o=this._zoomPane.axes,n=0;n<o.length;n++){var a=o[n],s=a.options.vertical;if((r!==m||s)&&(r!==b||!s)&&at(a.axisIndex)){var u=a.pointsRange(t,e);u&&i.push({axis:a,range:u})}}this.axisRanges=i},e.prototype._selectionPosition=function(t){var e=this._zoomPaneClipBox,r={x:t.x.startLocation,y:t.y.startLocation},i=t.x.location,o=t.y.location,n=(this.options.lock||"").toLowerCase(),a=Math.min(r.x,i),s=Math.min(r.y,o),u=Math.abs(r.x-i),l=Math.abs(r.y-o);return n===m&&(a=e.x1,u=e.width()),n===b&&(s=e.y1,l=e.height()),i>e.x2&&(u=e.x2-r.x),i<e.x1&&(u=r.x-e.x1),o>e.y2&&(l=e.y2-r.y),o<e.y1&&(l=r.y-e.y1),{left:Math.max(a,e.x1),top:Math.max(s,e.y1),width:u,height:l}},e}(S.Class);Nn.prototype.options={key:"shift",lock:"none"};var En=Nn,Ln=function(t){function e(e,r){t.call(this),this.chart=e,this.options=V({rate:.3},this.options,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.updateRanges=function(t,e){for(var r=(this.options.lock||"").toLowerCase(),i=[],o=this.chart._plotArea.axes,n=0;n<o.length;n++){var a=o[n],s=a.options.vertical;if((r!==m||s)&&(r!==b||!s)&&a.zoomRange){var u=dt(this.options.rate,.01,.9),l=a.zoomRange(-t*u,e);l&&i.push({axis:a,range:l})}}return this.axisRanges=i,Tn(i)},e.prototype.zoom=function(){var t=this.axisRanges,e=this.chart._plotArea;if(t&&t.length&&e.updateAxisOptions){for(var r=0;r<t.length;r++){var i=t[r];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){delete this.chart},e}(S.Class),Dn=function(t){function e(e,r){t.call(this,e),this.chartService=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.children,e=this.options,r=e.vertical;this.visual=new S.drawing.Layout(null,{spacing:r?0:e.spacing,lineSpacing:r?e.spacing:0,orientation:r?"vertical":"horizontal",reverse:e.rtl,alignItems:r?"start":"center"});for(var i=0;i<t.length;i++){var o=t[i];o.reflow(new Ft),o.renderVisual()}},e.prototype.reflow=function(t){this.visual.rect(t.toRect()),this.visual.reflow();var e=this.visual.clippedBBox();this.box=e?ue(e):new Ft},e.prototype.renderVisual=function(){this.addVisual()},e.prototype.createVisual=function(){},e}(Yt),Bn=function(t){function e(e){t.call(this,e),this.createContainer(),e.rtl?(this.createLabel(),this.createMarker()):(this.createMarker(),this.createLabel())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainer=function(){this.container=new oe({vertical:!1,wrap:!1,align:s,spacing:this.options.spacing}),this.append(this.container)},e.prototype.createMarker=function(){this.container.append(new Qt(this.markerOptions()))},e.prototype.markerOptions=function(){var t=this.options,e=t.markerColor;return V({},t.markers,{background:e,border:{color:e}})},e.prototype.createLabel=function(){var t=this.options,e=V({},t.labels);this.container.append(new ce(t.text,e))},e.prototype.renderComplete=function(){t.prototype.renderComplete.call(this);var e=this.options.cursor||{},r=this._itemOverlay=S.drawing.Path.fromRect(this.container.box.toRect(),{fill:{color:y,opacity:0},stroke:null,cursor:e.style||e});this.appendVisual(r)},e.prototype.click=function(t,e){var r=this.eventArgs(e);!t.trigger("legendItemClick",r)&&e&&"contextmenu"===e.type&&e.preventDefault()},e.prototype.over=function(t,e){var r=this.eventArgs(e);return t.trigger("legendItemHover",r)||t._legendItemHover(r.seriesIndex,r.pointIndex),!0},e.prototype.out=function(t,e){t._unsetActivePoint(),t.trigger("legendItemLeave",this.eventArgs(e))},e.prototype.eventArgs=function(t){var e=this.options;return{element:pt(t),text:e.text,series:e.series,seriesIndex:e.series.index,pointIndex:e.pointIndex}},e.prototype.renderVisual=function(){var e=this,r=this.options,i=r.visual;i?(this.visual=i({active:r.active,series:r.series,sender:this.getSender(),pointIndex:r.pointIndex,options:{markers:this.markerOptions(),labels:r.labels},createVisual:function(){e.createVisual(),e.renderChildren(),e.renderComplete();var t=e.visual;return delete e.visual,t}}),this.addVisual()):t.prototype.renderVisual.call(this)},e}(qt),In=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,e),this.chartService=r,q(this.options.position,[v,d,a,p,"custom"])||(this.options.position=d),this.createContainers(),this.createLegendTitle(e.title),this.createItems()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainers=function(){var t=this.options,e=t.position,r=t.align,i=e,o=s;"custom"===e?i=p:q(e,[v,a])?(i="start"===r?p:"end"===r?d:s,o=e):r&&("start"===r?o=v:"end"===r&&(o=a)),this.container=new qt({margin:t.margin,padding:t.padding,background:t.background,border:t.border,vAlign:o,align:i,zIndex:t.zIndex,shrinkToFit:!0}),this.hasTitle()?this.itemsContainer=new qt({vAlign:o,align:i,zIndex:t.zIndex,shrinkToFit:!0}):this.itemsContainer=this.container,this.append(this.container)},e.prototype.createItems=function(){var t=this.getService(),e=this.options,r=this.isVertical(),i=new Dn({vertical:r,spacing:e.spacing,rtl:t.rtl},t),o=e.items;e.reverse&&(o=o.slice(0).reverse());for(var n=o.length,a=0;a<n;a++){var s=o[a];i.append(new Bn(V({},{markers:e.markers,labels:e.labels,rtl:t.rtl},e.item,s)))}i.render(),this.itemsContainer.append(i)},e.prototype.isVertical=function(){var t=this.options,e=t.orientation,r=t.position;return"custom"===r&&"horizontal"!==e||(at(e)?"horizontal"!==e:q(r,[p,d]))},e.prototype.hasItems=function(){return this.container.children[0].children.length>0},e.prototype.reflow=function(t){var e=this.options,r=t.clone();this.hasItems()?("custom"===e.position?(this.containerCustomReflow(r),this.box=r):this.containerReflow(r),this.hasTitle()&&this.title.reflow(new Ft(this.container.box.x1,this.title.box.y1,this.container.box.x2,this.title.box.y2))):this.box=r},e.prototype.containerReflow=function(t){var e=this.options,r=this.container,i=e.position,o=e.width,n=e.height,s=i===v||i===a?m:b,u=this.isVertical(),l=t.clone(),c=t.clone();i!==p&&i!==d||(c.y1=l.y1=0),u&&n?(c.y2=c.y1+n,c.align(l,b,r.options.vAlign)):!u&&o&&(c.x2=c.x1+o,c.align(l,m,r.options.align)),r.reflow(c);var h=(c=r.box).clone();(e.offsetX||e.offsetY)&&(c.translate(e.offsetX,e.offsetY),r.reflow(c)),h[s+1]=t[s+1],h[s+2]=t[s+2],this.box=h},e.prototype.containerCustomReflow=function(t){var e=this.options,r=this.container,i=e.offsetX,o=e.offsetY,n=e.width,a=e.height,s=this.isVertical(),u=t.clone();s&&a?u.y2=u.y1+a:!s&&n&&(u.x2=u.x1+n),r.reflow(u),u=r.box,r.reflow(new Ft(i,o,i+u.width(),o+u.height()))},e.prototype.renderVisual=function(){this.hasItems()&&t.prototype.renderVisual.call(this)},e.prototype.createLegendTitle=function(t){var e=V({},{color:n,position:v,align:s},t),r=e.text;if(t&&!1!==t.visible){if(at(e)&&e.visible){var i=H(e);i?r=i({text:r}):e.format&&(r=this.chartService.format.auto(e.format,r))}this.title=new ce(r,e),this.createTitleLayout(),this.appendTitleLayoutContent()}},e.prototype.createTitleLayout=function(){this.layout=new oe({vertical:!0,wrap:!1}),this.container.append(this.layout)},e.prototype.hasTitle=function(){return Boolean(this.options.title&&!1!==this.options.title.visible)},e.prototype.appendTitleLayoutContent=function(){this.options.title.position===a?(this.layout.append(this.itemsContainer),this.layout.append(this.title)):(this.layout.append(this.title),this.layout.append(this.itemsContainer))},e}(Yt);Ct(In,{position:d,items:[],offsetX:0,offsetY:0,margin:I(5),padding:I(5),border:{color:n,width:0},item:{cursor:"pointer",spacing:6},spacing:6,background:"",zIndex:1,markers:{border:{width:0},width:15,height:3,type:"rect",align:p,vAlign:s}});var Rn=In,zn=function(t){function e(){t.call(this),this._registry=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){this._registry.push({type:t,seriesTypes:e})},e.prototype.create=function(t,e,r){for(var i,o=this._registry,n=o[0],a=0;a<o.length;a++){var s=o[a];if((i=Bo(t,s.seriesTypes)).length>0){n=s;break}}return new n.type(i,e,r)},e}(S.Class);zn.current=new zn;var Fn=zn;function Hn(t){var e=document.createElement("div");return t&&(e.className=t),e}function Un(t){for(var e=t;e&&!X(e,"k-handle");)e=e.parentNode;return e}var Kn=function(t){function e(e,r,i,o){t.call(this);var n=e.element;this.options=V({},this.options,i),this.chart=e,this.observer=o,this.chartElement=n,this.categoryAxis=r,this._dateAxis=this.categoryAxis instanceof pr,this.initOptions(),this.visible=this.options.visible&&n.offsetHeight,this.visible&&(this.createElements(),this.set(this._index(this.options.from),this._index(this.options.to)),this.bindEvents())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onPane=function(t){return this.categoryAxis.pane===t},e.prototype.createElements=function(){var t=this.options,e=this.wrapper=Hn("k-selector");B(e,{top:t.offset.top,left:t.offset.left,width:t.width,height:t.height,direction:"ltr"});var r=this.selection=Hn("k-selection");this.leftMask=Hn("k-mask"),this.rightMask=Hn("k-mask"),e.appendChild(this.leftMask),e.appendChild(this.rightMask),e.appendChild(r),r.appendChild(Hn("k-selection-bg"));var i=this.leftHandle=Hn("k-handle k-left-handle"),o=this.rightHandle=Hn("k-handle k-right-handle");i.appendChild(Hn()),o.appendChild(Hn()),r.appendChild(i),r.appendChild(o),this.chartElement.appendChild(e);var n=B(r,["borderLeftWidth","borderRightWidth","height"]),a=B(i,"height").height,s=B(o,"height").height;t.selection={border:{left:n.borderLeftWidth,right:n.borderRightWidth}},B(i,{top:(n.height-a)/2}),B(o,{top:(n.height-s)/2}),e.style.cssText=e.style.cssText},e.prototype.bindEvents=function(){var t;!1!==this.options.mousewheel&&(this._mousewheelHandler=this._mousewheel.bind(this),nt(this.wrapper,((t={})[si]=this._mousewheelHandler,t))),this._domEvents=Te.create(this.wrapper,{stopPropagation:!0,start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),press:this._press.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)})},e.prototype.initOptions=function(){var t=this.options,e=this.categoryAxis.pane.chartsBox(),r=this.chart.chartService.intl;this._dateAxis&&V(t,{min:Qe(r,t.min),max:Qe(r,t.max),from:Qe(r,t.from),to:Qe(r,t.to)});var i=B(this.chartElement,["paddingLeft","paddingTop"]),o=i.paddingLeft,n=i.paddingTop;this.options=V({},{width:e.width(),height:e.height()+.1,padding:{left:o,top:n},offset:{left:e.x1+o,top:e.y1+n},from:t.min,to:t.max},t)},e.prototype.destroy=function(){var t;this._domEvents&&(this._domEvents.destroy(),delete this._domEvents),clearTimeout(this._mwTimeout),this._state=null,this.wrapper&&(this._mousewheelHandler&&(mt(this.wrapper,((t={})[si]=this._mousewheelHandler,t)),this._mousewheelHandler=null),this.chartElement.removeChild(this.wrapper),this.wrapper=null)},e.prototype._rangeEventArgs=function(t){return{axis:this.categoryAxis.options,from:this._value(t.from),to:this._value(t.to)}},e.prototype._start=function(t){var e=this.options,r=pt(t);if(!this._state&&r){this.chart._unsetActivePoint(),this._state={moveTarget:Un(r)||r,startLocation:t.x?t.x.location:0,range:{from:this._index(e.from),to:this._index(e.to)}};var i=this._rangeEventArgs({from:this._index(e.from),to:this._index(e.to)});this.trigger("selectStart",i)&&(this._state=null)}},e.prototype._press=function(t){var e;(e=this._state?this._state.moveTarget:Un(pt(t)))&&_(e,"k-handle-active")},e.prototype._move=function(t){if(this._state){var e=this._state,r=this.options,i=this.categoryAxis,o=e.range,n=e.moveTarget,a=i.options.reverse,s=this._index(r.from),u=this._index(r.to),l=this._index(r.min),c=this._index(r.max),p=e.startLocation-t.x.location,h=o.from,f=o.to,d=o.to-o.from,v=B(this.wrapper,"width").width/(i.categoriesCount()-1),g=Math.round(p/v)*(a?-1:1);if(n){var y=X(n,"k-left-handle"),m=X(n,"k-right-handle");X(n,"k-selection k-selection-bg")?(o.from=Math.min(Math.max(l,s-g),c-d),o.to=Math.min(o.from+d,c)):y&&!a||m&&a?(o.from=Math.min(Math.max(l,s-g),c-1),o.to=Math.max(o.from+1,o.to)):(y&&a||m&&!a)&&(o.to=Math.min(Math.max(l+1,u-g),c),o.from=Math.min(o.to-1,o.from)),o.from===h&&o.to===f||(this.move(o.from,o.to),this.trigger("select",this._rangeEventArgs(o)))}}},e.prototype._end=function(){if(this._state){var t=this._state.moveTarget;t&&w(t,"k-handle-active");var e=this._state.range;this.set(e.from,e.to),this.trigger("selectEnd",this._rangeEventArgs(e)),delete this._state}},e.prototype._tap=function(t){var e=this.options,r=this.categoryAxis,i=this.chart._eventCoordinates(t),o=r.pointCategoryIndex(new Rt(i.x,r.box.y1)),n=this._index(e.from),a=this._index(e.to),s=this._index(e.min),u=this._index(e.max),l=a-n,c=n+l/2,p={},h=3===t.event.which,f=Math.round(c-o);this._state||h||(this.chart._unsetActivePoint(),r.options.justified||f--,p.from=Math.min(Math.max(s,n-f),u-l),p.to=Math.min(p.from+l,u),this._start(t),this._state&&(this._state.range=p,this.trigger("select",this._rangeEventArgs(p)),this._end()))},e.prototype._mousewheel=function(t){var e=this,r=rt(t);if(this._start({target:this.selection}),this._state){var i=this._state.range;t.preventDefault(),t.stopPropagation(),Math.abs(r)>1&&(r*=3),this.options.mousewheel.reverse&&(r*=-1),this.expand(r)&&this.trigger("select",{axis:this.categoryAxis.options,delta:r,originalEvent:t,from:this._value(i.from),to:this._value(i.to)}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._end()}),150)}},e.prototype._gesturestart=function(t){var e=this.options;this._state={range:{from:this._index(e.from),to:this._index(e.to)}};var r=this._rangeEventArgs(this._state.range);this.trigger("selectStart",r)?this._state=null:t.preventDefault()},e.prototype._gestureend=function(){this._state&&(this.trigger("selectEnd",this._rangeEventArgs(this._state.range)),delete this._state)},e.prototype._gesturechange=function(t){var e=this.chart,r=this._state,i=this.options,o=this.categoryAxis,n=r.range,a=e._toModelCoordinates(t.touches[0].x.location).x,s=e._toModelCoordinates(t.touches[1].x.location).x,u=Math.min(a,s),l=Math.max(a,s);t.preventDefault(),n.from=o.pointCategoryIndex(new Rt(u))||i.min,n.to=o.pointCategoryIndex(new Rt(l))||i.max,this.move(n.from,n.to),this.trigger("select",this._rangeEventArgs(n))},e.prototype._index=function(t){var e=t;return t instanceof Date&&(e=this.categoryAxis.categoryIndex(t)),e},e.prototype._value=function(t){var e=t;return this._dateAxis&&(e=this.categoryAxis.categoryAt(t))>this.options.max&&(e=this.options.max),e},e.prototype._slot=function(t){var e=this.categoryAxis,r=this._index(t);return e.getSlot(r,r,!0)},e.prototype.move=function(t,e){var r=this.options,i=this.categoryAxis.options.reverse,o=r.offset,n=r.padding,a=r.selection.border,s=i?e:t,u=i?t:e,l="x"+(i?2:1),c=this._slot(s),p=yt(c[l]-o.left+n.left);B(this.leftMask,{width:p}),B(this.selection,{left:p}),c=this._slot(u);var h=yt(r.width-(c[l]-o.left+n.left));B(this.rightMask,{width:h});var f=r.width-h;f!==r.width&&(f+=a.right),B(this.rightMask,{left:f}),B(this.selection,{width:Math.max(r.width-(p+h)-a.right,0)})},e.prototype.set=function(t,e){var r=this.options,i=this._index(r.min),o=this._index(r.max),n=dt(this._index(t),i,o),a=dt(this._index(e),n+1,o);r.visible&&this.move(n,a),r.from=this._value(n),r.to=this._value(a)},e.prototype.expand=function(t){var e=this.options,r=this._index(e.min),i=this._index(e.max),o=e.mousewheel.zoom,n=this._index(e.from),a=this._index(e.to),s={from:n,to:a},u=V({},s);if(this._state&&(s=this._state.range),o!==d&&(s.from=dt(dt(n-t,0,a-1),r,i)),o!==p&&(s.to=dt(dt(a+t,s.from+1,i),r,i)),s.from!==u.from||s.to!==u.to)return this.set(s.from,s.to),!0},e.prototype.zoom=function(t,e){var r=this.options,i=this._index(r.min),o=this._index(r.max),n=this._index(r.from),a=this._index(r.to),s={from:n,to:a},u=V({},s),l=this.categoryAxis.options.reverse,c=m+(l?"2":"1"),p=this.categoryAxis.lineBox(),h=Math.abs(p[c]-e.x),f=p.width(),d=yt(h/f,2),v=yt(d*t),g=yt((1-d)*t);if(this._state&&(s=this._state.range),s.from=dt(dt(n-v,0,a-1),i,o),s.to=dt(dt(a+g,s.from+1,o),i,o),s.from!==u.from||s.to!==u.to)return this.set(s.from,s.to),!0},e.prototype.trigger=function(t,e){return(this.observer||this.chart).trigger(t,e)},e}(S.Class);Ct(Kn,{visible:!0,mousewheel:{zoom:"both"},min:f,max:h});var $n=Kn,Gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.show=function(e){if(e&&e.tooltipAnchor&&(!this._current||this._current!==e)){var r=V({},this.options,e.options.tooltip),i=e.tooltipAnchor();i?(this._current=e,t.prototype.show.call(this,{point:e,anchor:i},r,e)):this.hide()}},e.prototype.hide=function(){delete this._current,t.prototype.hide.call(this)},e}(wo),Xn=function(t){function e(e,r){t.call(this,e.chartService,r),this.plotArea=e,this.formatService=e.chartService.format}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t,e){var r=G(t,(function(t){var e=t.series.tooltip;return!(e&&!1===e.visible)}));if(r.length>0){var i=r[0],o=this.plotArea.categoryAxis.getSlot(i.categoryIx),n=e?this._slotAnchor(e,o):this._defaultAnchor(i,o);this.show({anchor:n,shared:!0,points:t,category:i.category,categoryText:this.formatService.auto(this.options.categoryFormat,i.category),series:this.plotArea.series},this.options)}},e.prototype._slotAnchor=function(t,e){return this.plotArea.categoryAxis.options.vertical||(t.x=e.center().x),{point:t,align:{horizontal:"left",vertical:"center"}}},e.prototype._defaultAnchor=function(t,e){var r=t.owner.pane.chartsBox(),i=this.plotArea.categoryAxis.options.vertical,o=r.center(),n=e.center();return{point:i?new Rt(o.x,n.y):new Rt(n.x,o.y),align:{horizontal:"center",vertical:"center"}}},e}(wo);Ct(Xn,{categoryFormat:"{0:d}"});var Yn=Xn,Wn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.element,e=this.options;if(t.bbox()){this.origin=e.origin;var r=e.vertical?b:m,i=this.fromScale=new S.geometry.Point(1,1);i[r]=Jr,t.transform(S.geometry.transform().scale(i.x,i.y))}else this.abort()},e.prototype.step=function(t){var e=Z(this.fromScale.x,1,t),r=Z(this.fromScale.y,1,t);this.element.transform(S.geometry.transform().scale(e,r,this.origin))},e.prototype.abort=function(){t.prototype.abort.call(this),this.element.transform(null)},e}(S.drawing.Animation);Ct(Wn,{duration:600}),S.drawing.AnimationFactory.current.register(ei,Wn);var qn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.center=this.element.bbox().center();this.element.transform(S.geometry.transform().scale(Jr,Jr,t))},e.prototype.step=function(t){this.element.transform(S.geometry.transform().scale(t,t,this.center))},e}(S.drawing.Animation);Ct(qn,{easing:"easeOutElastic"}),S.drawing.AnimationFactory.current.register("bubble",qn);var Zn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.fadeTo=this.element.opacity(),this.element.opacity(0)},e.prototype.step=function(t){this.element.opacity(t*this.fadeTo)},e}(S.drawing.Animation);Ct(Zn,{duration:200,easing:"linear"}),S.drawing.AnimationFactory.current.register("fadeIn",Zn);var Qn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.element.transform(S.geometry.transform().scale(Jr,Jr,this.options.center))},e.prototype.step=function(t){this.element.transform(S.geometry.transform().scale(t,t,this.options.center))},e}(S.drawing.Animation);Ct(Qn,{easing:"easeOutElastic",duration:600}),S.drawing.AnimationFactory.current.register(oi,Qn);var Jn=Qn,ta=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.createSegment=function(t,e,r){return new("smooth"===e.style?Oi:xi)(t,e,r)},e.prototype.animationPoints=function(){return t.prototype.animationPoints.call(this).concat(this._segments)},e.prototype.createMissingValue=function(t,e){if(e===ti){var r={x:t.x,y:t.y};return uo(r.x)||(r.x=0),uo(r.y)||(r.y=0),r}},e}(co);V(ta.prototype,Pi);var ea=ta,ra=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={},this.xAxisRangeTracker=new Ii,this.yAxisRangeTracker=new Ii},e.prototype.render=function(t){void 0===t&&(t=this.panes);for(var e=this.groupSeriesByPane(),r=0;r<t.length;r++){var i=t[r],o=e[i.options.name||"default"]||[];this.addToLegend(o);var n=this.filterVisibleSeries(o);n&&(this.createScatterChart(Bo(n,"scatter"),i),this.createScatterLineChart(Bo(n,"scatterLine"),i),this.createBubbleChart(Bo(n,"bubble"),i))}this.createAxes(t)},e.prototype.appendChart=function(e,r){this.xAxisRangeTracker.update(e.xAxisRanges),this.yAxisRangeTracker.update(e.yAxisRanges),t.prototype.appendChart.call(this,e,r)},e.prototype.removeAxis=function(e){var r=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?(this.yAxisRangeTracker.reset(r),delete this.namedYAxes[r]):(this.xAxisRangeTracker.reset(r),delete this.namedXAxes[r]),e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype.seriesPaneName=function(t){var e=this.options,r=t.xAxis,i=G([].concat(e.xAxis),(function(t){return t.name===r}))[0],o=t.yAxis,n=G([].concat(e.yAxis),(function(t){return t.name===o}))[0],a=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(n||{}).pane||a},e.prototype.createScatterChart=function(t,e){t.length>0&&this.appendChart(new co(this,{series:t,clip:e.options.clip}),e)},e.prototype.createScatterLineChart=function(t,e){t.length>0&&this.appendChart(new ea(this,{series:t,clip:e.options.clip}),e)},e.prototype.createBubbleChart=function(t,e){t.length>0&&this.appendChart(new vo(this,{series:t,clip:e.options.clip}),e)},e.prototype.createXYAxis=function(t,e,r){for(var i,o=t.name,n=e?this.namedYAxes:this.namedXAxes,a=e?this.yAxisRangeTracker:this.xAxisRangeTracker,s=V({reverse:!e&&this.chartService.rtl},t,{vertical:e}),u=Do(s.type,"log"),c=a.query(),p=u?{min:.1,max:1}:{min:0,max:1},h=a.query(o)||c||p,f=[s.min,s.max],d=this.series,v=0;v<d.length;v++){var g=d[v],y=g[e?"yAxis":"xAxis"];if(y===s.name||0===r&&!y){var m=Yr.current.bindPoint(g,0).valueFields;f.push(m[e?"y":"x"]);break}}0===r&&c&&(h.min=Math.min(h.min,c.min),h.max=Math.max(h.max,c.max));for(var b=0;b<f.length;b++)if(f[b]instanceof Date){i=!0;break}var x=new(Do(s.type,l)||!s.type&&i?xr:u?Sr:mr)(h.min,h.max,s,this.chartService);if(x.axisIndex=r,o){if(n[o])throw new Error((e?"Y":"X")+" axis with name "+o+" is already defined");n[o]=x}return this.appendAxis(x),x},e.prototype.createAxes=function(t){for(var e=this.options,r=[].concat(e.xAxis),i=[],o=[].concat(e.yAxis),n=[],a=0;a<r.length;a++){q(this.findPane(r[a].pane),t)&&i.push(this.createXYAxis(r[a],!1,a))}for(var s=0;s<o.length;s++){q(this.findPane(o[s].pane),t)&&n.push(this.createXYAxis(o[s],!0,s))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||n[0]},e.prototype._dispatchEvent=function(t,e,r){for(var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.axes,a=n.length,s=[],u=[],l=0;l<a;l++){var c=n[l],p=c.options.vertical?u:s,h=c.getValue(o);null!==h&&p.push(h)}s.length>0&&u.length>0&&t.trigger(r,{element:pt(e),originalEvent:e,x:zo(s),y:zo(u)})},e.prototype.updateAxisOptions=function(t,e){var r=t.options.vertical,i=this.groupAxes(this.panes),o=(r?i.y:i.x).indexOf(t);ia(this.options,o,r,e),ia(this.originalOptions,o,r,e)},e}(qo);function ia(t,e,r,i){V([].concat(r?t.yAxis:t.xAxis)[e],i)}Ct(ra,{xAxis:{},yAxis:{}}),V(ra.prototype,Zo);var oa=ra,na=function(t){function e(e,r,i){t.call(this,i),this.value=e,this.sector=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options.labels,e=this.owner.chartService,r=this.value;if(!this._rendered&&!1!==this.visible){this._rendered=!0;var i=H(t),o=this.pointData();if(i?r=i(o):t.format&&(r=e.format.auto(t.format,r)),t.visible&&(r||0===r)){if(t.position===s||"insideEnd"===t.position)t.color||(t.color=kt(this.options.color)),t.background||(t.background=this.options.color);else{var n=e.theme.seriesDefaults.labels;t.color=t.color||n.color,t.background=t.background||n.background}this.label=new ce(r,V({},t,{align:s,vAlign:"",animation:{type:"fadeIn",delay:this.animationDelay}}),o),this.append(this.label)}}},e.prototype.reflow=function(t){this.render(),this.box=t,this.reflowLabel()},e.prototype.reflowLabel=function(){var t=this.options.labels,e=this.label,r=this.sector.clone(),i=t.distance,o=r.middle();if(e){var n,a=e.box.height(),u=e.box.width();if(t.position===s)r.radius=Math.abs((r.radius-a)/2)+a,n=r.point(o),e.reflow(new Ft(n.x,n.y-a/2,n.x,n.y));else if("insideEnd"===t.position)r.radius=r.radius-a/2,n=r.point(o),e.reflow(new Ft(n.x,n.y-a/2,n.x,n.y));else{var l;(n=r.clone().expand(i).point(o)).x>=r.center.x?(l=n.x+u,e.orientation=d):(l=n.x-u,e.orientation=p),e.reflow(new Ft(l,n.y-a,n.x,n.y))}}},e.prototype.createVisual=function(){var e=this,r=this.sector,i=this.options;if(t.prototype.createVisual.call(this),this.value)if(i.visual){var o=(r.startAngle+180)%360,n=i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,center:new S.geometry.Point(r.center.x,r.center.y),radius:r.radius,innerRadius:r.innerRadius,startAngle:o,endAngle:o+r.angle,options:i,sender:this.getSender(),createVisual:function(){var t=new S.drawing.Group;return e.createSegmentVisual(t),t}});n&&this.visual.append(n)}else this.createSegmentVisual(this.visual)},e.prototype.createSegmentVisual=function(t){var e=this.sector,r=this.options,i=r.border||{},o=i.width>0?{stroke:{color:i.color,width:i.width,opacity:i.opacity,dashType:i.dashType}}:{},n=r.color,a={color:n,opacity:r.opacity},s=this.createSegment(e,V({fill:a,stroke:{opacity:r.opacity},zIndex:r.zIndex},o));t.append(s),Fi(r)&&t.append(this.createGradientOverlay(s,{baseColor:n,fallbackFill:a},V({center:[e.center.x,e.center.y],innerRadius:e.innerRadius,radius:e.radius,userSpace:!0},r.overlay)))},e.prototype.createSegment=function(t,e){return e.singleSegment?new S.drawing.Circle(new S.geometry.Circle(new S.geometry.Point(t.center.x,t.center.y),t.radius),e):Gt.current.createRing(t,e)},e.prototype.createAnimation=function(){var e=this.options,r=this.sector.center;V(e,{animation:{center:[r.x,r.y],delay:this.animationDelay}}),t.prototype.createAnimation.call(this)},e.prototype.createHighlight=function(t){var e=this.options.highlight||{},r=e.border||{};return this.createSegment(this.sector,V({},t,{fill:{color:e.color,opacity:e.opacity},stroke:{opacity:r.opacity,width:r.width,color:r.color}}))},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=this.sector;return{options:this.options,radius:t.radius,innerRadius:t.innerRadius,center:new S.geometry.Point(t.center.x,t.center.y),startAngle:t.startAngle,endAngle:t.angle+t.startAngle,visual:this.visual}},e.prototype.tooltipAnchor=function(){var t=this.sector.clone().expand(5),e=t.middle();return{point:t.point(e),align:ua(e+180)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,series:this.series,percentage:this.percentage}},e}(Yt),aa=yt(gt(30),10),sa=yt(gt(60),10);function ua(t){var e=gt(t),r=yt(Math.sin(e),10),i=yt(Math.cos(e),10);return{horizontal:Math.abs(r)>sa?s:i<0?d:p,vertical:Math.abs(r)<aa?s:r<0?a:v}}Ct(na,{color:y,overlay:{gradient:"roundedBevel"},border:{width:.5},labels:{visible:!1,distance:35,font:"12px sans-serif",margin:I(.5),align:u,zIndex:1,position:"outsideEnd"},animation:{type:oi},highlight:{visible:!0,border:{width:1}},visible:!0}),V(na.prototype,vi);var la=na,ca={createLegendItem:function(t,e,r){var i=this.options.legend||{},o=i.labels||{},n=i.inactiveItems||{},a=n.labels||{};if(r&&!1!==r.visibleInLegend){var s,u,l=!1!==r.visible,c=l?H(o):H(a)||H(o),p=r.category;c&&(p=c({text:p,series:r.series,dataItem:r.dataItem,percentage:r.percentage,value:t})),l?(s={},u=e.color):(s={color:a.color,font:a.font},u=(n.markers||{}).color),uo(p)&&""!==p&&this.legendItems.push({active:l,pointIndex:r.index,text:p,series:r.series,markerColor:u,labels:s})}}},pa=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this.points=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.traverseDataPoints=function(t){var e=this.options,r=this.plotArea.options.seriesColors;void 0===r&&(r=[]);for(var i=r.length,o=e.series,n=o.length,a=0;a<n;a++){var u=o[a],l=u.data,c=Lo(u),p=c.total,h=c.points,f=c.count,d=360/p,v=void 0;isFinite(d)||(v=360/f);var g=void 0;g=at(u.startAngle)?u.startAngle:e.startAngle,a!==n-1&&"outsideEnd"===u.labels.position&&(u.labels.position=s);for(var y=0;y<h.length;y++){var m=h[y];if(m){var b=m.fields,x=m.value,_=m.visible,C=0!==x?v||x*d:0,w=1!==l.length&&Boolean(b.explode);T(u.color)||(u.color=b.color||r[y%i]),t(m.valueFields.value,new Ut(null,0,0,g,C),{owner:this,category:at(b.category)?b.category:"",index:y,series:u,seriesIx:a,dataItem:l[y],percentage:0!==p?x/p:0,explode:w,visibleInLegend:b.visibleInLegend,visible:_,zIndex:n-a,animationDelay:this.animationDelay(y,a,n)}),!1!==_&&(g+=C)}}}},e.prototype.evalSegmentOptions=function(t,e,r){var i=r.series;pi(t,{value:e,series:i,dataItem:r.dataItem,category:r.category,percentage:r.percentage},{defaults:i._defaults,excluded:["data","content","template","visual","toggle"]})},e.prototype.addValue=function(t,e,r){var i=V({},r.series,{index:r.index});if(this.evalSegmentOptions(i,t,r),this.createLegendItem(t,i,r),!1!==r.visible){var o=new la(t,e,i);Object.assign(o,r),this.append(o),this.points.push(o)}},e.prototype.reflow=function(t){var e=this.options,r=this.points,i=this.seriesConfigs;void 0===i&&(i=[]);var o=r.length,n=t.clone(),a=Math.min(n.width(),n.height()),s=a/2,u=a-.85*a,l=new Ft(n.x1,n.y1,n.x1+a,n.y1+a),c=l.center(),p=n.center(),h=e.series.length,f=[],v=[],g=bt(e.padding,u);this.targetBox=t,g=g>s-5?s-5:g,l.translate(p.x-c.x,p.y-c.y);for(var y=s-g,m=new Rt(y+l.x1+g,y+l.y1+g),b=0;b<o;b++){var x=r[b],_=x.sector,C=x.seriesIx;if(_.radius=y,_.center=m,i.length){var w=i[C];_.innerRadius=w.innerRadius,_.radius=w.radius}C===h-1&&x.explode&&(_.center=_.clone().setRadius(.15*_.radius).point(_.middle())),x.reflow(l);var S=x.label;S&&"outsideEnd"===S.options.position&&C===h-1&&(S.orientation===d?v.push(S):f.push(S))}f.length>0&&(f.sort(this.labelComparator(!0)),this.leftLabelsReflow(f)),v.length>0&&(v.sort(this.labelComparator(!1)),this.rightLabelsReflow(v)),this.box=l},e.prototype.leftLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.rightLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.distanceBetweenLabels=function(t){var e=ft(this.points),r=e.sector,i=t.length-1,o=r.radius+e.options.labels.distance,n=[],a=t[0].box,s=yt(a.y1-(r.center.y-o-a.height()-a.height()/2));n.push(s);for(var u=0;u<i;u++){var l=t[u+1].box;a=t[u].box,s=yt(l.y1-a.y2),n.push(s)}return s=yt(r.center.y+o-t[i].box.y2-t[i].box.height()/2),n.push(s),n},e.prototype.distributeLabels=function(t,e){for(var r,i,o,n=t.length,a=0;a<n;a++)for(o=-t[a],r=i=a;o>0&&(r>=0||i<n);)o=this._takeDistance(t,a,--r,o),o=this._takeDistance(t,a,++i,o);this.reflowLabels(t,e)},e.prototype._takeDistance=function(t,e,r,i){var o=i;if(t[r]>0){var n=Math.min(t[r],o);o-=n,t[r]-=n,t[e]+=n}return o},e.prototype.reflowLabels=function(t,e){var r,i=ft(this.points),o=i.sector,n=i.options.labels,a=e.length,s=n.distance,l=o.center.y-(o.radius+s)-e[0].box.height();t[0]+=2;for(var c=0;c<a;c++){var p=e[c],h=p.box;l+=t[c],r=this.hAlignLabel(h.x2,o.clone().expand(s),l,l+h.height(),p.orientation===d),p.orientation===d?(n.align!==u&&(r=o.radius+o.center.x+s),p.reflow(new Ft(r+h.width(),l,r,l))):(n.align!==u&&(r=o.center.x-o.radius-s),p.reflow(new Ft(r-h.width(),l,r,l))),l+=h.height()}},e.prototype.createVisual=function(){var e=this.options.connectors,r=this.points,i=r.length;t.prototype.createVisual.call(this),this._connectorLines=[];for(var o=0;o<i;o++){var n=r[o],a=n.sector,s=n.label,u=a.middle(),l=(n.options.connectors||{}).color||e.color;if(s){var c=new S.drawing.Path({stroke:{color:l,width:e.width},animation:{type:"fadeIn",delay:n.animationDelay}});if("outsideEnd"===s.options.position){var p=s.box,h=a.center,f=a.point(u),v=new Rt(p.x1,p.center().y),g=void 0,y=void 0,m=void 0;f=a.clone().expand(e.padding).point(u),c.moveTo(f.x,f.y),s.orientation===d?(m=ha(h,f,v,y=new Rt(p.x1-e.padding,p.center().y)),v=new Rt(y.x-4,y.y),(m=m||v).x=Math.min(m.x,v.x),this.pointInCircle(m,a.center,a.radius+4)||m.x<a.center.x?(g=a.center.x+a.radius+4,n.options.labels.align!==ri?g<v.x?c.lineTo(g,f.y):c.lineTo(f.x+8,f.y):c.lineTo(g,f.y),c.lineTo(v.x,y.y)):(m.y=y.y,c.lineTo(m.x,m.y))):(m=ha(h,f,v,y=new Rt(p.x2+e.padding,p.center().y)),v=new Rt(y.x+4,y.y),(m=m||v).x=Math.max(m.x,v.x),this.pointInCircle(m,a.center,a.radius+4)||m.x>a.center.x?(g=a.center.x-a.radius-4,n.options.labels.align!==ri?g>v.x?c.lineTo(g,f.y):c.lineTo(f.x-8,f.y):c.lineTo(g,f.y),c.lineTo(v.x,y.y)):(m.y=y.y,c.lineTo(m.x,m.y))),c.lineTo(y.x,y.y),this._connectorLines.push(c),this.visual.append(c)}}}},e.prototype.renderVisual=function(){if(t.prototype.renderVisual.call(this),St(this.options.series,(function(t){return t.autoFit}))){var e=this.targetBox,r=this.box.center(),i=this.visual.bbox();if(!i)return;var o=i.bottomRight(),n=Math.min((r.y-e.y1)/(r.y-i.origin.y),(e.y2-r.y)/(o.y-r.y),(r.x-e.x1)/(r.x-i.origin.x),(e.x2-r.x)/(o.x-r.x));n<1&&this.visual.transform(S.geometry.transform().scale(n,n,[r.x,r.y]))}},e.prototype.labelComparator=function(t){var e=t?-1:1;return function(t,r){return((t.parent.sector.middle()+270)%360-(r.parent.sector.middle()+270)%360)*e}},e.prototype.hAlignLabel=function(t,e,r,i,o){var n=e.radius,a=e.center,s=a.x,u=a.y,l=Math.min(Math.abs(u-r),Math.abs(u-i));return l>n?t:s+Math.sqrt(n*n-l*l)*(o?1:-1)},e.prototype.pointInCircle=function(t,e,r){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<Math.pow(r,2)},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.animationDelay=function(t){return 70*t},e.prototype.stackRoot=function(){return this},e}(Yt);function ha(t,e,r,i){var o,n=(i.x-r.x)*(t.y-r.y)-(i.y-r.y)*(t.x-r.x),a=(i.y-r.y)*(e.x-t.x)-(i.x-r.x)*(e.y-t.y);if(0!==a){var s=n/a;o=new Rt(t.x+s*(e.x-t.x),t.y+s*(e.y-t.y))}return o}Ct(pa,{startAngle:90,connectors:{width:2,color:"#939393",padding:8},inactiveItems:{markers:{},labels:{}}}),V(pa.prototype,ca),pa.prototype.isStackRoot=!0;var fa=pa,da=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createPieChart(this.series)},e.prototype.createPieChart=function(t){var e=t[0],r=new fa(this,{series:t,padding:e.padding,startAngle:e.startAngle,connectors:e.connectors,legend:this.options.legend});this.appendChart(r)},e.prototype.appendChart=function(e,r){t.prototype.appendChart.call(this,e,r),ot(this.options.legend.items,e.legendItems)},e}(qo),va=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowLabel=function(){var e=this.options.labels,r=this.label,i=this.sector.clone(),o=i.middle();if(r){var n=r.box.height();if(e.position===s){i.radius-=(i.radius-i.innerRadius)/2;var a=i.point(o);r.reflow(new Ft(a.x,a.y-n/2,a.x,a.y))}else t.prototype.reflowLabel.call(this)}},e.prototype.createSegment=function(t,e){return Gt.current.createRing(t,e)},e}(la);Ct(va,{overlay:{gradient:"roundedGlass"},labels:{position:s},animation:{type:oi}}),V(va.prototype,vi);var ga=va,ya=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e,r){var i=V({},r.series,{index:r.index});if(this.evalSegmentOptions(i,t,r),this.createLegendItem(t,i,r),t&&!1!==r.visible){var o=new ga(t,e,i);Object.assign(o,r),this.append(o),this.points.push(o)}},e.prototype.reflow=function(e){for(var r,i=this.options,o=e.clone(),n=Math.min(o.width(),o.height()),a=n/2,s=n-.85*n,u=i.series,l=u.length,c=bt(i.padding,s),p=a-(c=c>a-5?a-5:c),h=0,f=0;f<l;f++){var d=u[f];0===f&&at(d.holeSize)&&(r=d.holeSize,p-=d.holeSize),at(d.size)?p-=d.size:h++,at(d.margin)&&f!==l-1&&(p-=d.margin)}at(r)||(p-=r=.75*((a-c)/(l+.75)));var v,g=r,y=0;this.seriesConfigs=[];for(var m=0;m<l;m++){var b=u[m];v=(g+=y)+bt(b.size,p/h),this.seriesConfigs.push({innerRadius:g,radius:v}),y=b.margin||0,g=v}t.prototype.reflow.call(this,e)},e.prototype.animationDelay=function(t,e,r){return 50*t+600*(e+1)/(r+1)},e}(fa);Ct(ya,{startAngle:90,connectors:{width:2,color:"#939393",padding:8}});var ma=ya,ba=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createDonutChart(this.series)},e.prototype.createDonutChart=function(t){var e=t[0],r=new ma(this,{series:t,padding:e.padding,connectors:e.connectors,legend:this.options.legend});this.appendChart(r)},e}(da),xa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.valueAxisRangeTracker=new Ii},e.prototype.render=function(){this.addToLegend(this.series),this.createPolarAxis(),this.createCharts(),this.createValueAxis()},e.prototype.alignAxes=function(){var t=this.valueAxis,e=t.range(),r=t.options.reverse?e.max:e.min,i=t.getSlot(r),o=this.polarAxis.getSlot(0).center,n=t.box.translate(o.x-i.x1,o.y-i.y1);t.reflow(n)},e.prototype.createValueAxis=function(){var t,e,r=this.valueAxisRangeTracker,i=r.query(),o=this.valueAxisOptions({roundToMajorUnit:!1,zIndex:-1});"log"===o.type?(t=Lr,e={min:.1,max:1}):(t=Nr,e={min:0,max:1});var n=r.query(name)||i||e;n&&i&&(n.min=Math.min(n.min,i.min),n.max=Math.max(n.max,i.max));var a=new t(n.min,n.max,o,this.chartService);this.valueAxis=a,this.appendAxis(a)},e.prototype.reflowAxes=function(){var t=this.options.plotArea,e=this.valueAxis,r=this.polarAxis,i=this.box,o=.15*Math.min(i.width(),i.height()),n=I(t.padding||{},o),a=i.clone().unpad(n),u=a.clone();u.y2=u.y1+Math.min(u.width(),u.height()),u.align(a,b,s);var l=u.clone().shrink(0,u.height()/2);r.reflow(u),e.reflow(l);var c=e.lineBox().height()-e.box.height();e.reflow(e.box.unpad({top:c})),this.axisBox=u,this.alignAxes(u)},e.prototype.backgroundBox=function(){return this.box},e.prototype.detachLabels=function(){},e}(qo),_a=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var r=t.center.y-e.y1,i=Rt.onCircle(t.center,t.startAngle,r);return new Ft(i.x,i.y,i.x,i.y)},e}(co);Ct(_a,{clip:!1});var Ca=_a,wa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(ea);wa.prototype.pointSlot=Ca.prototype.pointSlot,Ct(wa,{clip:!1});var Sa=wa,Oa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this._polarAxisCenter();t.lineTo(e.x,e.y)},e.prototype._polarAxisCenter=function(){return this.parent.plotArea.polarAxis.box.center()},e.prototype.strokeSegments=function(){var t=this._strokeSegments;if(!t){var e=this._polarAxisCenter(),r=new Br(!1),i=this.points();i.push(e),(t=this._strokeSegments=r.process(i)).pop()}return t},e}(Di),Pa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this.parent.plotArea.polarAxis.box.center(),r=new S.geometry.Segment([e.x,e.y]);t.segments.unshift(r),t.segments.push(r)},e}(Ni);function Aa(t,e){return t.value.x-e.value.x}var ja=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,r){return"smooth"===(e.line||{}).style?new Oa(t,e,r):new Pa(t,e,r)},e.prototype.createMissingValue=function(t,e){var r;return uo(t.x)&&"interpolate"!==e&&(r={x:t.x,y:t.y},e===ti&&(r.y=0)),r},e.prototype.seriesMissingValues=function(t){return t.missingValues||ti},e.prototype._hasMissingValuesGap=function(){for(var t=this.options.series,e=0;e<t.length;e++)if("gap"===this.seriesMissingValues(t[e]))return!0},e.prototype.sortPoints=function(t){if(t.sort(Aa),this._hasMissingValuesGap())for(var e=0;e<t.length;e++){var r=t[e];if(r)uo(r.value.y)||"gap"!==this.seriesMissingValues(r.series)||delete t[e]}return t},e}(Sa),ka=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new kr(this.options.xAxis,this.chartService);this.polarAxis=t,this.axisX=t,this.appendAxis(t)},e.prototype.valueAxisOptions=function(t){return V(t,{majorGridLines:{type:o},minorGridLines:{type:o}},this.options.yAxis)},e.prototype.createValueAxis=function(){t.prototype.createValueAxis.call(this),this.axisY=this.valueAxis},e.prototype.appendChart=function(t,e){this.valueAxisRangeTracker.update(t.yAxisRanges),qo.prototype.appendChart.call(this,t,e)},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createLineChart(Bo(t,["polarLine"]),e),this.createScatterChart(Bo(t,["polarScatter"]),e),this.createAreaChart(Bo(t,["polarArea"]),e)},e.prototype.createLineChart=function(t,e){if(0!==t.length){var r=new Sa(this,{series:t});this.appendChart(r,e)}},e.prototype.createScatterChart=function(t,e){if(0!==t.length){var r=new Ca(this,{series:t});this.appendChart(r,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var r=new ja(this,{series:t});this.appendChart(r,e)}},e.prototype._dispatchEvent=function(t,e,r){var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.axisX.getValue(o),a=this.axisY.getValue(o);null!==n&&null!==a&&t.trigger(r,{element:pt(e),x:n,y:a})},e.prototype.createCrosshairs=function(){},e}(xa);Ct(ka,{xAxis:{},yAxis:{}}),V(ka.prototype,Zo);var Ta=ka;var Ma=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var r=t.center.y-e.y1,i=Rt.onCircle(t.center,t.middle(),r);return new Ft(i.x,i.y,i.x,i.y)},e.prototype.renderSegments=function(){if(t.prototype.renderSegments.call(this),this._segments&&this._segments.length>1)for(var e=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];e[i.seriesIx]=e[i.seriesIx]||[],e[i.seriesIx].push(i)}return e}(this._segments),r=0;r<e.length;r++){var i=e[r];if(i&&i.length>1){var o=i[0].linePoints[0],n=ft(i),a=ft(n.linePoints),s=0===o.categoryIx,u=a.categoryIx===a.categoriesCount-1;s&&u&&ft(i).linePoints.push(o)}}},e.prototype.createSegment=function(t,e,r){var i=new("smooth"===e.style?Oi:xi)(t,e,r),o=this.seriesMissingValues(e);return t.length!==e.data.length&&"interpolate"!==o||(i.options.closed=!0),i},e}(Vi);Ct(Ma,{clip:!1,limitPoints:!1});var Va=Ma,Na=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Di),Ea=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Ni),La=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,r,i){var o,n,a,s=this.options.isStacked,u=(e.line||{}).style;return s&&r>0&&i&&(n=i.linePoints.slice(0),o=i),"smooth"===u?(a=new Na(t,e,r,o,n)).options.closed=!0:(t.push(t[0]),a=new Ea(t,e,r,o,n)),a},e.prototype.seriesMissingValues=function(t){return t.missingValues||ti},e}(Va),Da=function(t){function e(e,r){t.call(this,e,null,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(ga);Ct(Da,{overlay:{gradient:"none"},labels:{distance:10}});var Ba=Da,Ia=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?$i:Ki}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=this.children,i=e.gap,o=e.spacing,n=r.length,a=n+i+o*(n-1),s=t.angle/a,u=t.startAngle+s*(i/2);this.forEach(r,(function(e){var r=t.clone();r.startAngle=u,r.angle=s,e.sector&&(r.radius=e.sector.radius),e.reflow(r),e.sector=r,u+=s+s*o}))},e}(Yt);Ct(Ia,{gap:1,spacing:0});var Ra=Ia,za=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options.reverse,r=this.children,i=r.length,o=e?i-1:0,n=e?-1:1;this.box=new Ft;for(var a=o;a>=0&&a<i;a+=n){var s=r[a].sector;s.startAngle=t.startAngle,s.angle=t.angle}},e}(Yt),Fa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return Ba},e.prototype.clusterType=function(){return Ra},e.prototype.stackType=function(){return za},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.pointSlot=function(t,e){var r=t.clone(),i=t.center.y;return r.radius=i-e.y1,r.innerRadius=i-e.y2,r},e.prototype.reflowPoint=function(t,e){t.sector=e,t.reflow()},e.prototype.createAnimation=function(){this.options.animation.center=this.box.toRect().center(),t.prototype.createAnimation.call(this)},e}(Zi);Fa.prototype.reflow=di.prototype.reflow,Ct(Fa,{clip:!1,limitPoints:!1,animation:{type:"pie"}});var Ha=Fa,Ua=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new Ar(this.options.categoryAxis,this.chartService);this.polarAxis=t,this.categoryAxis=t,this.appendAxis(t),this.aggregateCategories(),this.createCategoryAxesLabels()},e.prototype.valueAxisOptions=function(t){return this._hasBarCharts&&V(t,{majorGridLines:{type:o},minorGridLines:{type:o}}),this._isStacked100&&V(t,{roundToMajorUnit:!1,labels:{format:"P0"}}),V(t,this.options.valueAxis)},e.prototype.aggregateCategories=function(){Pn.prototype.aggregateCategories.call(this,this.panes)},e.prototype.createCategoryAxesLabels=function(){Pn.prototype.createCategoryAxesLabels.call(this,this.panes)},e.prototype.filterSeries=function(t){return t},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createAreaChart(Bo(t,["radarArea"]),e),this.createLineChart(Bo(t,["radarLine"]),e),this.createBarChart(Bo(t,["radarColumn"]),e)},e.prototype.chartOptions=function(t){var e={series:t},r=t[0];if(r){var i=this.filterVisibleSeries(t),o=r.stack;e.isStacked=o&&i.length>1,e.isStacked100=o&&"100%"===o.type&&i.length>1,e.isStacked100&&(this._isStacked100=!0)}return e},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var r=new La(this,this.chartOptions(t));this.appendChart(r,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var r=new Va(this,this.chartOptions(t));this.appendChart(r,e)}},e.prototype.createBarChart=function(t,e){if(0!==t.length){var r=t[0],i=this.chartOptions(t);i.gap=r.gap,i.spacing=r.spacing;var o=new Ha(this,i);this.appendChart(o,e),this._hasBarCharts=!0}},e.prototype.seriesCategoryAxis=function(){return this.categoryAxis},e.prototype._dispatchEvent=function(t,e,r){var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.categoryAxis.getCategory(o),a=this.valueAxis.getValue(o);null!==n&&null!==a&&t.trigger(r,{element:pt(e),category:n,value:a})},e.prototype.createCrosshairs=function(){},e}(xa);V(Ua.prototype,Zo,{appendChart:Pn.prototype.appendChart,aggregateSeries:Pn.prototype.aggregateSeries,seriesSourcePoints:Pn.prototype.seriesSourcePoints}),Ct(Ua,{categoryAxis:{categories:[]},valueAxis:{}});var Ka=Ua,$a=function(t){function e(e,r,i){t.call(this,r),this.value=e,this.options.index=i.index}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.points,r=this.children[0];this.box=new Ft(e[0].x,e[0].y,e[1].x,e[2].y),r&&r.reflow(new Ft(t.x1,e[0].y,t.x2,e[2].y))},e.prototype.createVisual=function(){var e,r=this,i=this.options;t.prototype.createVisual.call(this),(e=i.visual?i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,points:this.points,options:i,sender:this.getSender(),createVisual:function(){return r.createPath()}}):this.createPath())&&this.visual.append(e)},e.prototype.createPath=function(){var t=this.options,e=t.border;return S.drawing.Path.fromPoints(this.points,{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.color,opacity:e.opacity,width:e.width}}).close()},e.prototype.createHighlight=function(t){return S.drawing.Path.fromPoints(this.points,t)},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=S.drawing.Path.fromPoints(this.points).close();return{options:this.options,path:t}},e.prototype.tooltipAnchor=function(){var t=this.box;return{point:new Rt(t.center().x,t.y1),align:{horizontal:"center",vertical:"top"}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(Yt);Ct($a,{color:y,border:{width:1}}),V($a.prototype,vi);var Ga=$a,Xa=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.points=[],this.labels=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.render=function(){var t=this.options,e=this.plotArea.options.seriesColors;void 0===e&&(e=[]);var r=t.series[0],i=r.data;if(i)for(var o=Lo(r),n=o.total,a=o.points,s=0;s<a.length;s++){var u=a[s];if(u){var l=u.fields;T(r.color)||(r.color=l.color||e[s%e.length]),l=V({index:s,owner:this,series:r,dataItem:i[s],percentage:u.value/n},l,{visible:u.visible});var c=u.valueFields.value,p=this.createSegment(c,l),h=this.createLabel(c,l);p&&h&&p.append(h)}}},e.prototype.evalSegmentOptions=function(t,e,r){var i=r.series;pi(t,{value:e,series:i,dataItem:r.dataItem,index:r.index},{defaults:i._defaults,excluded:["data","content","template","toggle","visual"]})},e.prototype.createSegment=function(t,e){var r=V({},e.series);if(this.evalSegmentOptions(r,t,e),this.createLegendItem(t,r,e),!1!==e.visible){var i=new Ga(t,r,e);return Object.assign(i,e),this.append(i),this.points.push(i),i}},e.prototype.createLabel=function(t,e){var r=e.series,i=e.dataItem,o=V({},this.options.labels,r.labels),n=t;if(o.visible){var a=H(o),s={dataItem:i,value:t,percentage:e.percentage,category:e.category,series:r};a?n=a(s):o.format&&(n=this.plotArea.chartService.format.auto(o.format,n)),o.color||(o.color=kt(r.color),o.background||(o.background=r.color)),this.evalSegmentOptions(o,t,e);var u=new ce(n,V({vAlign:o.position},o),s);return this.labels.push(u),u}},e.prototype.labelPadding=function(){for(var t=this.labels,e={left:0,right:0},r=0;r<t.length;r++){var i=t[r].options.align;if(i!==s){var o=t[r].box.width();i===p?e.left=Math.max(e.left,o):e.right=Math.max(e.right,o)}}return e},e.prototype.dynamicSlopeReflow=function(t,e,r){for(var i=this.options,o=this.points,n=o.length,a=o[0],s=a,u=0;u<o.length;u++)o[u].percentage>s.percentage&&(s=o[u]);for(var l=a.percentage/s.percentage*e,c=(e-l)/2,p=0,h=0;h<n;h++){var f=o[h].percentage,d=o[h+1],v=d?d.percentage:f,g=o[h].points=[],y=i.dynamicHeight?r*f:r/n,m=void 0;m=dt(m=f?(e-l*(v/f))/2:v?0:e/2,0,e),g.push(new S.geometry.Point(t.x1+c,t.y1+p)),g.push(new S.geometry.Point(t.x1+e-c,t.y1+p)),g.push(new S.geometry.Point(t.x1+e-m,t.y1+y+p)),g.push(new S.geometry.Point(t.x1+m,t.y1+y+p)),c=m,p+=y+i.segmentSpacing,l=dt(e-2*m,0,e)}},e.prototype.constantSlopeReflow=function(t,e,r){for(var i=this.options,o=this.points,n=o.length,a=i.neckRatio<=1,s=a?i.neckRatio*e:e,u=a?0:(e-e/i.neckRatio)/2,l=((a?e:e-2*u)-s)/2,c=0,p=0;p<n;p++){var h=o[p].points=[],f=o[p].percentage,d=i.dynamicHeight?l*f:l/n,v=i.dynamicHeight?r*f:r/n;h.push(new S.geometry.Point(t.x1+u,t.y1+c)),h.push(new S.geometry.Point(t.x1+e-u,t.y1+c)),h.push(new S.geometry.Point(t.x1+e-u-d,t.y1+v+c)),h.push(new S.geometry.Point(t.x1+u+d,t.y1+v+c)),u+=d,c+=v+i.segmentSpacing}},e.prototype.reflow=function(t){var e=this.points,r=e.length;if(r){var i=this.options,o=t.clone().unpad(this.labelPadding()),n=o.height()-i.segmentSpacing*(r-1),a=o.width();i.dynamicSlope?this.dynamicSlopeReflow(o,a,n):this.constantSlopeReflow(o,a,n);for(var s=0;s<r;s++)e[s].reflow(t)}},e}(Yt);Ct(Xa,{neckRatio:.3,width:300,dynamicSlope:!1,dynamicHeight:!0,segmentSpacing:0,labels:{visible:!1,align:s,position:s,zIndex:1}}),V(Xa.prototype,ca);var Ya=Xa,Wa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createFunnelChart(this.series)},e.prototype.createFunnelChart=function(t){var e=t[0],r=new Ya(this,{series:t,legend:this.options.legend,neckRatio:e.neckRatio,dynamicHeight:e.dynamicHeight,dynamicSlope:e.dynamicSlope,segmentSpacing:e.segmentSpacing,highlight:e.highlight});this.appendChart(r)},e.prototype.appendChart=function(e,r){t.prototype.appendChart.call(this,e,r),ot(this.options.legend.items,e.legendItems)},e}(qo),qa=function(t,e){void 0===e&&(e=.05);var r=Object(S.parseColor)(t),i=1-e;return function(t){var e=r.toHSL(),o=100-e.l,n=i-t;return e.l+=Math.min(n*o,o),e.toCss()}},Za=function(t){function e(e,r){t.call(this),this.options=r,this.color=r.color||y,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createMarker(),this.createLabel(),this.createNote())},e.prototype.createLabel=function(){var t=this.options.labels;if(t.visible){var e,r=this.pointData(),i=H(t),o=t.color;e=i?i(r):this.formatValue(t.format),o||(o=kt(this.color)),this.label=new ce(e,V({align:s,vAlign:s,margin:{left:5,right:5},zIndex:bt(t.zIndex,this.series.zIndex)},t,{color:o}),r),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;this.box=t,e&&e.reflow(this.markerBox()),this.note&&this.note.reflow(t),this.marker.reflow(this.markerBox())},e.prototype.markerBox=function(){var t=this.options.markers,e=t.border,r=this.box.toRect(),i="roundedRect"===bt(t.type,"rect"),o=bt(e.width,i?1:0),n=Math.round(o/2);if(t.size){var a=r.center();r.size.width=r.size.height=t.size,r.origin.x=Math.round(a.x-r.size.width/2),r.origin.y=Math.round(a.y-r.size.height/2)}return r.size.width-=o,r.size.height-=o,r.origin.y+=n+.5,r.origin.x+=n+.5,ue(r)},e.prototype.markerBorder=function(){var t=this.options,e=t.markers.border,r=bt(e.opacity,t.opacity);return{color:e.color||this.color,width:e.width,opacity:r,dashType:e.dashType}},e.prototype.createMarker=function(){var t=this.options,e=t.markers,r=new Qt({type:bt(e.type,"rect"),width:e.size,height:e.size,rotation:e.rotation,background:this.color,border:this.markerBorder(),borderRadius:e.borderRadius,opacity:this.series.opacity||t.opacity,zIndex:bt(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category});this.marker=r,this.append(r)},e.prototype.createHighlight=function(t){var e=this.options,r=this.options.highlight.markers||this.options.markers,i=new Qt({type:bt(r.type,"rect"),width:r.size,height:r.size,rotation:r.rotation,background:r.color||this.color,border:this.markerBorder(),borderRadius:r.borderRadius,opacity:this.series.opacity||e.opacity,zIndex:bt(e.zIndex,this.series.zIndex)});i.reflow(this.markerBox());var o=i.getElement();return o.options.fill=t.fill,o.options.stroke=t.stroke,o},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.tooltipAnchor=function(){var t=this.box.center().x,e=this.box.y1-5;return{point:new Rt(t,e),align:{horizontal:s,vertical:a}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){},e.prototype.pointData=function(){return{x:this.value.x,y:this.value.y,value:this.value.value,dataItem:this.dataItem,series:this.series}},e}(Yt);V(Za.prototype,vi),V(Za.prototype,gi),Za.prototype.defaults={markers:{type:"rect",borderRadius:4,border:{color:"transparent"}},padding:{top:1},labels:{visible:!1,padding:3},opacity:1,notes:{label:{}}};var Qa=Za,Ja=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.points=[],this.seriesOptions=[],this.valueRange={min:h,max:f},this._evalSeries=[]},e.prototype.render=function(){this.setRange(),this.traverseDataPoints(this.addValue.bind(this))},e.prototype.setRange=function(){for(var t=this.options.series,e=0;e<t.length;e++)for(var r=t[e],i=0;i<r.data.length;i++){var o=this._bindPoint(r,e,i).valueFields;at(o.value)&&null!==o.value&&(this.valueRange.min=Math.min(this.valueRange.min,o.value),this.valueRange.max=Math.max(this.valueRange.max,o.value))}},e.prototype.addValue=function(t,e){var r;t&&at(t.value)&&null!==t.value&&(r=this.createPoint(t,e))&&Object.assign(r,e),this.points.push(r)},e.prototype.evalPointOptions=function(t,e,r){var i=r.series,o=r.seriesIx,n={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle"]},a=this._evalSeries[o];at(a)||(this._evalSeries[o]=a=pi(t,{},n,!0));var s=t;return a&&pi(s=V({},t),{value:e,series:i,dataItem:r.dataItem,min:this.valueRange.min,max:this.valueRange.max},n),s},e.prototype.pointType=function(){return Qa},e.prototype.pointOptions=function(t,e){var r=this.seriesOptions[e];if(!r){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=r=V({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return r},e.prototype.createPoint=function(t,e){var r=e.series,i=this.pointOptions(r,e.seriesIx),o=e.color||r.color;if(i=this.evalPointOptions(i,t,e),T(r.color))o=i.color;else if(0!==this.valueRange.max){o=qa(o)(t.value/this.valueRange.max)}var n=new Qa(t,i);return n.color=o,this.append(n),n},e.prototype.seriesAxes=function(t){var e=t.xAxis,r=t.yAxis,i=this.plotArea,o=e?i.namedXAxes[e]:i.axisX,n=r?i.namedYAxes[r]:i.axisY;if(!o)throw new Error("Unable to locate X axis with name "+e);if(!n)throw new Error("Unable to locate Y axis with name "+r);return{xAxis:o,yAxis:n}},e.prototype.reflow=function(t){var e=this,r=this.points,i=!this.options.clip,o=0;this.traverseDataPoints((function(t,n){var a=r[o++],s=e.seriesAxes(n.series),u=s.xAxis,l=s.yAxis,c=u.categoryIndex(t.x),p=l.categoryIndex(t.y),h=u.getSlot(c,c,i),f=l.getSlot(p,p,i);if(a)if(h&&f){var d=e.pointSlot(h,f);a.reflow(d)}else a.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new Ft(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=0;r<e.length;r++)for(var i=e[r],o=this.seriesAxes(i),n=o.xAxis,a=o.yAxis,s=n.currentRangeIndices(),u=a.currentRangeIndices(),l=0;l<i.data.length;l++){var c=this._bindPoint(i,r,l),p=c.valueFields,h=c.fields,f=n.totalIndex(p.x),d=a.totalIndex(p.y),v=s.min<=f&&f<=s.max,g=u.min<=d&&d<=u.max;v&&g&&t(p,V({pointIx:l,series:i,seriesIx:r,dataItem:i.data[l],owner:this},h))}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.x,r.y,r.value)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++)e.push((t[r]||{}).marker);return e},e}(Yt);Ct(Ja,{series:[],tooltip:{format:"{0}, {1}: {2}"},labels:{format:"{2}"},clip:!0}),V(Ja.prototype,{_bindPoint:di.prototype._bindPoint});var ts=Ja,es=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.bindCategories(),this.createAxes(t),this.createCharts(t),this.createAxisLabels()},e.prototype.bindCategories=function(){for(var t=this.srcSeries||this.series,e=0;e<t.length;e++){for(var r=t[e],i=r.data||[],o=this.seriesAxes(r),n=o.xAxis,a=o.yAxis,s=Lt(n.categories||[]),u=Lt(a.categories||[]),l=0;l<i.length;l++){var c=Yr.current.bindPoint(r,l).valueFields,p=c.x,h=c.y;s.has(p)||s.add(p),u.has(h)||u.add(h)}n.categories=s.values(),a.categories=u.values()}},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),r=0;r<t.length;r++){var i=t[r],o=e[i.options.name||"default"]||[];this.addToLegend(o);var n=this.filterVisibleSeries(o);n&&this.createHeatmapChart(Bo(n,["heatmap"]),i)}},e.prototype.createHeatmapChart=function(t,e){var r=new ts(this,{series:t});this.appendChart(r,e)},e.prototype.seriesPaneName=function(t){var e=this.options,r=t.xAxis,i=G([].concat(e.xAxis),(function(t){return t.name===r}))[0],o=t.yAxis,n=G([].concat(e.yAxis),(function(t){return t.name===o}))[0],a=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(n||{}).pane||a},e.prototype.seriesAxes=function(t){var e,r,i=this.options,o=[].concat(i.xAxis),n=t.xAxis;e=n?o.find((function(t){return t.name===n})):o[0];var a=[].concat(i.yAxis),s=t.yAxis;if(r=s?a.find((function(t){return t.name===s})):a[0],!e)throw new Error("Unable to locate X axis with name "+n);if(!r)throw new Error("Unable to locate Y axis with name "+s);return{xAxis:e,yAxis:r}},e.prototype.createAxisLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e].createLabels()},e.prototype.createXYAxis=function(t,e,r){for(var i,o=t.name,n=e?this.namedYAxes:this.namedXAxes,a=Object.assign({axisCrossingValue:0},t,{vertical:e,reverse:e||this.chartService.rtl?!t.reverse:t.reverse,justified:!1}),s=a.categories?a.categories[0]:null,u=[a.min,a.max,s],c=this.series,p=0;p<c.length;p++){var h=c[p],f=h[e?"yAxis":"xAxis"];if(f===a.name||0===r&&!f){var d=Yr.current.bindPoint(h,0).valueFields;u.push(d[e?"y":"x"]);break}}for(var v=0;v<u.length;v++)if(u[v]instanceof Date){i=!0;break}var g=new(Do(a.type,l)||!a.type&&i?pr:rr)(a,this.chartService);if(g.axisIndex=r,o){if(n[o])throw new Error((e?"Y":"X")+" axis with name "+o+" is already defined");n[o]=g}return this.appendAxis(g),g.mapCategories(),g},e.prototype.createAxes=function(t){for(var e=this.options,r=[].concat(e.xAxis),i=[],o=[].concat(e.yAxis),n=[],a=0;a<r.length;a++){q(this.findPane(r[a].pane),t)&&i.push(this.createXYAxis(r[a],!1,a))}for(var s=0;s<o.length;s++){q(this.findPane(o[s].pane),t)&&n.push(this.createXYAxis(o[s],!0,s))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||n[0]},e.prototype.removeAxis=function(e){var r=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?delete this.namedYAxes[r]:delete this.namedXAxes[r],e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype._dispatchEvent=function(t,e,r){for(var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.axes,a=n.length,s=[],u=[],l=0;l<a;l++){var c=n[l];No(c.options.vertical?u:s,c.getCategory(o))}s.length>0&&u.length>0&&t.trigger(r,{element:pt(e),originalEvent:e,x:zo(s),y:zo(u)})},e.prototype.updateAxisOptions=function(t,e){var r=t.options.vertical,i=this.groupAxes(this.panes),o=(r?i.y:i.x).indexOf(t);rs(this.options,o,r,e),rs(this.originalOptions,o,r,e)},e.prototype.crosshairOptions=function(t){return Object.assign({},t.options.crosshair,{zIndex:0})},e}(qo);function rs(t,e,r,i){V([].concat(r?t.yAxis:t.xAxis)[e],i)}Ct(es,{xAxis:{},yAxis:{}}),V(es.prototype,Zo);var is=es,os="color",ns="first",as="max";Fn.current.register(Pn,[ei,ri,ii,ni,"area","verticalArea","candlestick","ohlc","bullet","verticalBullet","boxPlot","verticalBoxPlot","rangeColumn","rangeBar","waterfall","horizontalWaterfall","rangeArea","verticalRangeArea"]),Fn.current.register(oa,["scatter","scatterLine","bubble"]),Fn.current.register(da,[oi]),Fn.current.register(ba,["donut"]),Fn.current.register(Wa,["funnel"]),Fn.current.register(Ta,["polarArea","polarLine","polarScatter"]),Fn.current.register(Ka,["radarArea","radarColumn","radarLine"]),Fn.current.register(is,["heatmap"]),Yr.current.register([ei,ri,ii,ni,"area","verticalArea"],[g],["category",os,"noteText","errorLow","errorHigh"]),Yr.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],["from","to"],["category",os,"noteText"]),Yr.current.register(["waterfall","horizontalWaterfall"],[g],["category",os,"noteText","summary"]),Yr.current.register(["polarArea","polarLine","polarScatter"],[m,b],[os]),Yr.current.register(["radarArea","radarColumn","radarLine"],[g],[os]),Yr.current.register(["funnel"],[g],["category",os,"visibleInLegend","visible"]),en.current.register([ei,ri,ii,ni,"area","verticalArea","waterfall","horizontalWaterfall"],{value:as,color:ns,noteText:ns,errorLow:"min",errorHigh:as}),en.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],{from:"min",to:as,color:ns,noteText:ns}),en.current.register(["radarArea","radarColumn","radarLine"],{value:as,color:ns}),Yr.current.register(["scatter","scatterLine","bubble"],[m,b],[os,"noteText","xErrorLow","xErrorHigh","yErrorLow","yErrorHigh"]),Yr.current.register(["bubble"],[m,b,"size"],[os,"category","noteText"]),Yr.current.register(["heatmap"],[m,b,g],[os,"noteText"]),Yr.current.register(["candlestick","ohlc"],["open","high","low","close"],["category",os,"downColor","noteText"]),en.current.register(["candlestick","ohlc"],{open:as,high:as,low:"min",close:as,color:ns,downColor:ns,noteText:ns}),Yr.current.register(["boxPlot","verticalBoxPlot"],["lower","q1","median","q3","upper","mean","outliers"],["category",os,"noteText"]),en.current.register(["boxPlot","verticalBoxPlot"],{lower:as,q1:as,median:as,q3:as,upper:as,mean:as,outliers:ns,color:ns,noteText:ns}),Yr.current.register(["bullet","verticalBullet"],["current","target"],["category",os,"visibleInLegend","noteText"]),en.current.register(["bullet","verticalBullet"],{current:as,target:as,color:ns,noteText:ns}),Yr.current.register([oi,"donut"],[g],["category",os,"explode","visibleInLegend","visible"]);var ss=["category",g,m,b],us=function(t){function e(e,r,i,o){var n=this;void 0===o&&(o={}),t.call(this),this.observers=[],this.addObserver(o.observer),this.chartService=new je(this,o),this.chartService.theme=i,this._initElement(e);var a=V({},this.options,r);this._originalOptions=V({},a),this._theme=i,this._initTheme(a,i),this._initHandlers(),this._initSurface(),this.bindCategories(),_t.preloadFonts(r,(function(){n.fontLoaded=!0,n._destroyed||(n.trigger("init"),n._redraw(),n._attachEvents())}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initElement=function(t){for(this._setElementClass(t),t.style.position="relative";t.firstChild;)t.removeChild(t.firstChild);this.element=t},e.prototype._setElementClass=function(t){_(t,"k-chart")},e.prototype._initTheme=function(t,e){for(var r=[],i=t.series||[],o=0;o<i.length;o++)r.push(Object.assign({},i[o]));t.series=r,function(t){for(var e=ss,r=0;r<e.length;r++){var i=e[r]+"Axes";t[i]&&(t[e[r]+"Axis"]=t[i],delete t[i])}}(t),this.applyDefaults(t,e),null===t.seriesColors&&delete t.seriesColors,this.options=V({},e,t),this.applySeriesColors()},e.prototype.getSize=function(){var t=this.options.chartArea||{};return{width:t.width?parseInt(t.width,10):Math.floor(this.element.offsetWidth),height:t.height?parseInt(t.height,10):Math.floor(this.element.offsetHeight)}},e.prototype.resize=function(t){var e=this.getSize(),r=this._size,i=e.width>0||e.height>0;t||i&&(!r||e.width!==r.width||e.height!==r.height)?(this._size=e,this._resize(e,t),this.trigger("resize",e)):i&&this._selections&&St(this._selections,(function(t){return!t.visible}))&&(this._destroySelections(),this._setupSelection())},e.prototype._resize=function(){this._noTransitionsRedraw()},e.prototype.redraw=function(t){if(this.applyDefaults(this.options),this.applySeriesColors(),t){var e=this._model._plotArea,r=e.findPane(t);e.redraw(r)}else this._redraw()},e.prototype.getAxis=function(t){return Rr(t,this._plotArea.axes)},e.prototype.findAxisByName=function(t){return this.getAxis(t)},e.prototype.findPaneByName=function(t){for(var e=this._plotArea.panes,r=0;r<e.length;r++)if(e[r].options.name===t)return new Fr(e[r])},e.prototype.findPaneByIndex=function(t){var e=this._plotArea.panes;if(e[t])return new Fr(e[t])},e.prototype.plotArea=function(){return new Hr(this._plotArea)},e.prototype.toggleHighlight=function(t,e){var r,i,o,n=this._plotArea,a=(n.srcSeries||n.series||[])[0];T(e)?r=n.filterPoints(e):(N(e)?(i=e.series,o=e.category):i=o=e,r="donut"===a.type?ls(n.pointsBySeriesName(i),o):a.type===oi||"funnel"===a.type?ls((n.charts[0]||{}).points,o):n.pointsBySeriesName(i));r&&this.togglePointsHighlight(t,r)},e.prototype.togglePointsHighlight=function(t,e){for(var r=this._highlight,i=0;i<e.length;i++)r.togglePointHighlight(e[i],t)},e.prototype.showTooltip=function(t){var e,r,i=this._sharedTooltip(),o=this._tooltip,n=this._plotArea;if(T(t)?(e=n.findPoint(t))&&i&&(r=e.categoryIx):i&&at(t)&&(r=n.categoryAxis.categoryIndex(t)),i){if(r>=0){var a=this._plotArea.pointsByCategoryIndex(r);o.showAt(a)}}else e&&o.show(e)},e.prototype.hideTooltip=function(){this._tooltip.hide()},e.prototype._initSurface=function(){var t=this.surface,e=this._surfaceWrap(),r=this.options.chartArea||{};r.width&&lt(e,{width:r.width}),r.height&&lt(e,{height:r.height}),t&&t.options.type===this.options.renderAs?(this.surface.clear(),this.surface.resize()):(this._destroySurface(),this.surface=S.drawing.Surface.create(e,{type:this.options.renderAs}),this.surface.bind("mouseenter",this._surfaceMouseenterHandler),this.surface.bind("mouseleave",this._surfaceMouseleaveHandler))},e.prototype._surfaceWrap=function(){return this.element},e.prototype._redraw=function(){var t=this._getModel();this._size={width:t.options.width,height:t.options.height},this._destroyView(),this._model=t,this._plotArea=t._plotArea,t.renderVisual(),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.setup()})),this._initSurface(),this.surface.draw(t.visual),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.play()})),this._tooltip=this._createTooltip(),this._highlight=new jn,this._setupSelection(),this._createPannable(),this._createZoomSelection(),this._createMousewheelZoom(),this.trigger("render"),ds(this._plotArea.panes),this._navState||this._cancelDomEvents()},e.prototype.exportVisual=function(t){var e;if(t&&(t.width||t.height||t.options)){var r=this.options,i=V({},t.options,{chartArea:{width:t.width,height:t.height}});fs(this._originalOptions,i),this.options=V({},this._originalOptions,i),this._initTheme(this.options,this._theme),this.bindCategories();var o=this._getModel();o.renderVisual(),ds(o._plotArea.panes),e=o.visual,this.options=r}else e=this.surface.exportVisual();return e},e.prototype._sharedTooltip=function(){return this._plotArea instanceof Pn&&this.options.tooltip&&this.options.tooltip.shared},e.prototype._createPannable=function(){var t=this.options;!1!==t.pannable&&(this._pannable=new Vn(this._plotArea,t.pannable))},e.prototype._createZoomSelection=function(){var t=this.options.zoomable,e=(t||{}).selection;!1!==t&&!1!==e&&(this._zoomSelection=new En(this,e))},e.prototype._createMousewheelZoom=function(){var t=this.options.zoomable,e=(t||{}).mousewheel;!1!==t&&!1!==e&&(this._mousewheelZoom=new Ln(this,e))},e.prototype._toggleDragZoomEvents=function(){var t=this.options.pannable,e=this.options.zoomable,r=(e||{}).selection,i=(e||{}).mousewheel,o=!(t||!1!==e&&!1!==r||this.requiresHandlers(["dragStart","drag","dragEnd"])),n=(!1===e||!1===i)&&!this.requiresHandlers(["zoomStart","zoom","zoomEnd"]),a=this.element;this._dragZoomEnabled&&o&&n?(a.style.touchAction=this._touchAction||"",this._dragZoomEnabled=!1):this._dragZoomEnabled||o&&n||(a.style.touchAction="none",this._dragZoomEnabled=!0),this._toggleDomEvents(!o,!n)},e.prototype._toggleDomEvents=function(t,e){var r=this.domEvents;r&&(r.toggleDrag&&r.toggleDrag(t),r.toggleZoom&&r.toggleZoom(e))},e.prototype._createTooltip=function(){var t=this.options.tooltip;return this._sharedTooltip()?this._createSharedTooltip(t):new Gn(this.chartService,t)},e.prototype._createSharedTooltip=function(t){return new Yn(this._plotArea,t)},e.prototype.applyDefaults=function(t,e){!function(t,e){var r,i,o,n=(e||{}).axisDefaults||{};function a(t){var e=(t||{}).color||i.color,o=V({},n,n[r],i,i[r],{line:{color:e},labels:{color:e},title:{color:e}},t);return delete o[r],o}for(var s=0;s<ss.length;s++)r=ss[s]+"Axis",i=t.axisDefaults||{},o=(o=[].concat(t[r])).map(a),t[r]=o.length>1?o:o[0]}(t,e),function(t,e){var r=t.series,i=r.length,o=t.seriesDefaults,n=V({},t.seriesDefaults),a=e?V({},e.seriesDefaults):{},s=V({},a);cs(n),cs(s);for(var u=0;u<i;u++){var l=r[u].type||t.seriesDefaults.type,c=V({data:[]},s,a[l],{tooltip:t.tooltip},n,o[l]);r[u]._defaults=c,r[u]=V({},c,r[u]),r[u].data=r[u].data||[]}}(t,e)},e.prototype.applySeriesColors=function(){for(var t=this.options,e=t.series,r=t.seriesColors||[],i=0;i<e.length;i++){var o=e[i],n=r[i%r.length],a=o._defaults;o.color=o.color||n,a&&(a.color=a.color||n)}},e.prototype._getModel=function(){var t=this.options,e=this._createPlotArea(),r=new re(this._modelOptions());return r.chart=this,r._plotArea=e,he.buildTitle(t.title,r),t.legend&&t.legend.visible&&r.append(new Rn(e.options.legend,this.chartService)),r.append(e),r.reflow(),r},e.prototype._modelOptions=function(){var t=this.options,e=this.getSize();return V({transitions:t.transitions,width:e.width||600,height:e.height||400},t.chartArea)},e.prototype._createPlotArea=function(t){var e=this.options;return Fn.current.create(t?[]:e.series,e,this.chartService)},e.prototype._setupSelection=function(){for(var t=this._plotArea.axes,e=this._selections=[],r=0;r<t.length;r++){var i=t[r],o=i.options;if(i instanceof rr&&o.select&&!o.vertical){var n=i.range(),a=new $n(this,i,V({min:n.min,max:n.max},o.select));e.push(a)}}},e.prototype._selectStart=function(t){return this.trigger("selectStart",t)},e.prototype._select=function(t){return this.trigger("select",t)},e.prototype._selectEnd=function(t){return this.trigger("selectEnd",t)},e.prototype._initHandlers=function(){this._clickHandler=this._click.bind(this),this._mousewheelHandler=this._mousewheel.bind(this),this._mouseleaveHandler=this._mouseleave.bind(this),this._surfaceMouseenterHandler=this._mouseover.bind(this),this._surfaceMouseleaveHandler=this._mouseout.bind(this),this._mousemove=Object(S.throttle)(this._mousemove.bind(this),20)},e.prototype.addObserver=function(t){t&&this.observers.push(t)},e.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},e.prototype.requiresHandlers=function(t){for(var e=this.observers,r=0;r<e.length;r++)if(e[r].requiresHandlers(t))return!0},e.prototype.trigger=function(t,e){void 0===e&&(e={}),"showTooltip"===t&&(e.anchor.point=this._toDocumentCoordinates(e.anchor.point)),e.sender=this;for(var r=this.observers,i=!1,o=0;o<r.length;o++)r[o].trigger(t,e)&&(i=!0);return i},e.prototype._attachEvents=function(){var t,e,r=this.element;this._touchAction=r.style.touchAction,nt(r,((t={}).contextmenu=this._clickHandler,t[si]=this._mousewheelHandler,t.mouseleave=this._mouseleaveHandler,t)),this._shouldAttachMouseMove()&&nt(r,((e={}).mousemove=this._mousemove,e)),this.domEvents=Te.create(this.element,{start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)}),this._toggleDragZoomEvents()},e.prototype._mouseleave=function(t){this._hoveredPoint&&(this._hoveredPoint.out(this,t),this._hoveredPoint=null),this._plotArea.hovered&&(this.trigger("plotAreaLeave"),this._plotArea.hovered=!1)},e.prototype._cancelDomEvents=function(){this.domEvents&&this.domEvents.cancel&&this.domEvents.cancel()},e.prototype._gesturestart=function(t){this._mousewheelZoom&&!this._stopChartHandlers(t)&&(this._gestureDistance=t.distance,this._unsetActivePoint(),this.surface.suspendTracking())},e.prototype._gestureend=function(t){this._zooming&&!this._stopChartHandlers(t)&&(this.surface&&this.surface.resumeTracking(),this._zooming=!1,this.trigger("zoomEnd",{}))},e.prototype._gesturechange=function(t){var e=this._mousewheelZoom;if(e&&!this._stopChartHandlers(t)){t.preventDefault();var r=this._gestureDistance,i=-t.distance/r+1;if(Math.abs(i)>=.1){i=Math.round(10*i),this._gestureDistance=t.distance;var o={delta:i,axisRanges:ps(this._plotArea.axes),originalEvent:t};if(this._zooming||!this.trigger("zoomStart",o)){var n=this._eventCoordinates(t);this._zooming||(this._zooming=!0),(o.axisRanges=e.updateRanges(i,n))&&!this.trigger("zoom",o)&&e.zoom()}}}},e.prototype._mouseout=function(t){if(t.element){var e=this._drawingChartElement(t.element,t);e&&e.leave&&e.leave(this,t.originalEvent)}},e.prototype._start=function(t){var e=this._eventCoordinates(t);!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(e)&&(this.requiresHandlers(["dragStart","drag","dragEnd"])&&this._startNavigation(t,e,"dragStart"),this._pannable&&this._pannable.start(t)&&(this.surface.suspendTracking(),this._unsetActivePoint(),this._suppressHover=!0,this.chartService.panning=!0),this._zoomSelection&&this._zoomSelection.start(t)&&this.trigger("zoomStart",{axisRanges:ps(this._plotArea.axes),originalEvent:t}))},e.prototype._move=function(t){var e=this._navState,r=this._pannable;if(!this._stopChartHandlers(t)){if(r){var i=r.move(t);i&&!this.trigger("drag",{axisRanges:i,originalEvent:t})&&r.pan()}else if(e){for(var o={},n=e.axes,a=0;a<n.length;a++){var s=n[a];if(s.options.name){var u=s.options.vertical?t.y:t.x,l=u.startLocation-u.location;0!==l&&(o[s.options.name]=s.translateRange(l))}}e.axisRanges=o,this.trigger("drag",{axisRanges:o,originalEvent:t})}this._zoomSelection&&this._zoomSelection.move(t)}},e.prototype._end=function(t){if(!this._stopChartHandlers(t)){var e=this._pannable;if(e&&e.end(t)?(this.surface.resumeTracking(),this.trigger("dragEnd",{axisRanges:ps(this._plotArea.axes),originalEvent:t}),this._suppressHover=!1,this.chartService.panning=!1):this._endNavigation(t,"dragEnd"),this._zoomSelection){var r=this._zoomSelection.end(t);r&&!this.trigger("zoom",{axisRanges:r,originalEvent:t})&&(this._zoomSelection.zoom(),this.trigger("zoomEnd",{axisRanges:r,originalEvent:t}))}}},e.prototype._stopChartHandlers=function(t){var e=this._selections||[];if(!e.length)return!1;var r=this._eventCoordinates(t),i=this._plotArea.paneByPoint(r);if(i)for(var o=0;o<e.length;o++)if(e[o].onPane(i))return!0},e.prototype._mousewheelZoomRate=function(){var t=(this.options.zoomable||{}).mousewheel||{};return bt(t.rate,.3)},e.prototype._mousewheel=function(t){var e=this,r=rt(t),i=this._mousewheelZoom,o=this._eventCoordinates(t);if(!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(o))if(i){var n={delta:r,axisRanges:ps(this._plotArea.axes),originalEvent:t};!this._zooming&&this.trigger("zoomStart",n)||(t.preventDefault(),this._zooming||(this._unsetActivePoint(),this.surface.suspendTracking(),this._zooming=!0),this._mwTimeout&&clearTimeout(this._mwTimeout),n.axisRanges=i.updateRanges(r,o),n.axisRanges&&!this.trigger("zoom",n)&&i.zoom(),this._mwTimeout=setTimeout((function(){e.trigger("zoomEnd",n),e._zooming=!1,e.surface&&e.surface.resumeTracking()}),150))}else{var a=this._navState;if(!a)this._startNavigation(t,o,"zoomStart")||(a=this._navState);if(a){var s=a.totalDelta||r;a.totalDelta=s+r;for(var u=this._navState.axes,l={},c=0;c<u.length;c++){var p=u[c],h=p.options.name;h&&(l[h]=p.scaleRange(-s*e._mousewheelZoomRate(),o))}this.trigger("zoom",{delta:r,axisRanges:l,originalEvent:t}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._endNavigation(t,"zoomEnd")}),150)}}},e.prototype._startNavigation=function(t,e,r){var i=this._model._plotArea,o=i.findPointPane(e),n=i.axes.slice(0);if(o){var a=ps(n);this.trigger(r,{axisRanges:a,originalEvent:t})?this._cancelDomEvents():(this._suppressHover=!0,this._unsetActivePoint(),this._navState={axisRanges:a,pane:o,axes:n})}},e.prototype._endNavigation=function(t,e){this._navState&&(this.trigger(e,{axisRanges:this._navState.axisRanges,originalEvent:t}),this._suppressHover=!1,this._navState=null)},e.prototype._getChartElement=function(t,e){var r=this.surface.eventTarget(t);if(r)return this._drawingChartElement(r,t,e)},e.prototype._drawingChartElement=function(t,e,r){for(var i,o=t;o&&!i;)i=o.chartElement,o=o.parent;if(i)return i.aliasFor&&(i=i.aliasFor(e,this._eventCoordinates(e))),r&&(i=i.closest(r))&&i.aliasFor&&(i=i.aliasFor()),i},e.prototype._eventCoordinates=function(t){var e=ct(t);return this._toModelCoordinates(e.x,e.y)},e.prototype._elementPadding=function(){if(!this._padding){var t=B(this.element,["paddingLeft","paddingTop"]),e=t.paddingLeft,r=t.paddingTop;this._padding={top:r,left:e}}return this._padding},e.prototype._toDocumentCoordinates=function(t){var e=this._elementPadding(),r=ut(this.element);return{left:yt(t.x+e.left+r.left),top:yt(t.y+e.top+r.top)}},e.prototype._toModelCoordinates=function(t,e){var r=this.element,i=ut(r),o=this._elementPadding(),n=jt(r).invert(),a=new S.geometry.Point(t-i.left-o.left,e-i.top-o.top).transform(n);return new Rt(a.x,a.y)},e.prototype._tap=function(t){var e=this,r=this.surface.eventTarget(t),i=this._drawingChartElement(r,t),o=this._sharedTooltip();this._startHover(r,t)||o||this._unsetActivePoint(),o&&this._trackSharedTooltip(this._eventCoordinates(t),t,!0),this._propagateClick(i,t),this.handlingTap=!0,setTimeout((function(){e.handlingTap=!1}),0)},e.prototype._click=function(t){var e=this._getChartElement(t);this._propagateClick(e,t)},e.prototype._propagateClick=function(t,e){for(var r=t;r;)r.click&&r.click(this,e),r=r.parent},e.prototype._startHover=function(t,e){if(this._suppressHover)return!1;var r=this._drawingChartElement(t,e,(function(t){return(t.hover||t.over)&&!(t instanceof qo)})),i=this._activePoint,o=this._plotArea.series.length>1,n=this._hasInactiveOpacity();return this._updateHoveredPoint(r,e),r&&i!==r&&r.hover?(this._activePoint=r,this._sharedTooltip()||r.hover(this,e)||(this._displayTooltip(r),n?this._displayInactiveOpacity(r,o):this._highlight.show(r))):!r&&n&&(o&&this._activeChartInstance&&(this._updateSeriesOpacity(r,!0),this._applySeriesOpacity(this._activeChartInstance.children,null,!0),this._activeChartInstance=null),this._highlight&&this._highlight.hide(),this._activePoint=null),r},e.prototype._displayTooltip=function(t){V({},this.options.tooltip,t.options.tooltip).visible&&this._tooltip.show(t)},e.prototype._displayInactiveOpacity=function(t,e,r){var i=this._activeChartInstance=this._chartInstanceFromPoint(t);if(i)if(e)this._updateSeriesOpacity(t),this._applySeriesOpacity(i.children,null,!0),this._applySeriesOpacity(i.children,t.series),this._highlight.show(r||t);else{var o;if(!i.supportsPointInactiveOpacity())return void this._highlight.show(t);(o=this._getInactivePoints(t,i))&&o.length&&this._highlight.show(o,1-this._getInactiveOpacityForSeries(t.series))}},e.prototype._getInactivePoints=function(t,e){return this._getAllPointsOfType(e,t.constructor).filter((function(e){return e!==t}))},e.prototype._getAllPointsOfType=function(t,e){for(var r=[],i=0;i<t.children.length;i++){var o=t.children[i];o.constructor===e?r.push(o):o.children&&o.children.length&&(r=r.concat(this._getAllPointsOfType(o,e)))}return r},e.prototype._updateHoveredPoint=function(t,e){var r=this._hoveredPoint;r&&r!==t&&(r.out(this,e),this._hoveredPoint=null),t&&r!==t&&t.over&&(this._hoveredPoint=t,t.over(this,e))},e.prototype._updateSeriesOpacity=function(t,e){for(var r=this._plotArea,i=r.series.length,o=0;o<i;o++){var n=r.series[o],a=this._getDefaultOpacityForSeries(n),s=this._getInactiveOpacityForSeries(n);e||n===t.series?(n.opacity=a,n.line&&(n.line.opacity=a)):(n.defaultOpacity=a,n.opacity=s,n.line&&(n.line.opacity=s))}},e.prototype._applySeriesOpacity=function(t,e,r,i){for(var o=0;o<t.length;o++){var n=t[o],a=n.series||i;if(a&&(a.highlight||{}).visible&&n.visual){var s=i?i.opacity:n.series.opacity;(a!==e||r)&&n.visual.opacity(r?1:s)}n.children&&n.children.length&&this._applySeriesOpacity(n.children,e,r,n.series)}},e.prototype._chartInstanceFromPoint=function(t){for(var e=t.parent;e&&!e.plotArea;)e=e.parent;return e},e.prototype._hasInactiveOpacity=function(){var t=void 0!==this.options.seriesDefaults.highlight.inactiveOpacity,e=this.options.series.filter((function(t){return void 0!==t.highlight.inactiveOpacity})).length>0;return t||e},e.prototype._getInactiveOpacityForSeries=function(t){var e=this.options.seriesDefaults.highlight.inactiveOpacity;return t.highlight.inactiveOpacity||e||t.opacity||1},e.prototype._getDefaultOpacityForSeries=function(t){return t.defaultOpacity||t.opacity||1},e.prototype._mouseover=function(t){var e,r=this._startHover(t.element,t.originalEvent);r&&r.tooltipTracking&&!this._mouseMoveTrackHandler&&!this._sharedTooltip()&&(this._mouseMoveTrackHandler=this._mouseMoveTracking.bind(this),nt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)))},e.prototype._mouseMoveTracking=function(t){var e,r=this.options,i=this._tooltip,o=this._highlight,n=this._activePoint,a=this._eventCoordinates(t);if(this._plotArea.box.containsPoint(a)){if(n&&n.tooltipTracking&&n.series&&n.parent.getNearestPoint){var s=n.parent.getNearestPoint(a.x,a.y,n.seriesIx);if(s&&s!==n)if(this._activePoint=s,!s.hover(this,t))V({},r.tooltip,s.options.tooltip).visible&&i.show(s),o.show(s)}}else mt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._unsetActivePoint(),this._mouseMoveTrackHandler=null},e.prototype._mousemove=function(t){var e=this._eventCoordinates(t),r=this._plotArea;if(this._trackCrosshairs(e),r.hover){var i=r.backgroundContainsPoint(e);i?(r.hovered=!0,this._plotArea.hover(this,t)):r.hovered&&!i&&(this.trigger("plotAreaLeave"),r.hovered=!1)}this._sharedTooltip()&&this._trackSharedTooltip(e,t)},e.prototype._trackCrosshairs=function(t){for(var e=this._plotArea.crosshairs,r=0;r<e.length;r++){var i=e[r];i.box.containsPoint(t)?i.showAt(t):i.hide()}},e.prototype._trackSharedTooltip=function(t,e,r){if(!this._suppressHover){var i=this.options.tooltip,o=this._plotArea,n=this._plotArea.categoryAxis,a=this._tooltip,s=this._highlight;if(o.backgroundContainsPoint(t)){var u=n.pointCategoryIndex(t);if(u!==this._tooltipCategoryIx||!this._sharedHighlight&&r){var l=o.pointsByCategoryIndex(u),c=l.map((function(t){return t.eventArgs(e)})),p=c[0]||{};p.categoryPoints=c,l.length>0&&!this.trigger("seriesHover",p)?(i.visible&&a.showAt(l,t),s.show(l),this._sharedHighlight=!0):a.hide(),this._tooltipCategoryIx=u}else r&&this._sharedHighlight&&(s.hide(),a.hide(),this._sharedHighlight=!1)}else this._sharedHighlight&&(s.hide(),a.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1)}},e.prototype.hideElements=function(t){var e=this._plotArea;this._mousemove.cancel(),e.hideCrosshairs(),this._unsetActivePoint(t)},e.prototype._unsetActivePoint=function(t){var e=this._tooltip,r=this._highlight;this._activePoint=null,this._hoveredPoint=null,!e||t&&t.keepTooltipOpen||e.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1,r&&r.hide()},e.prototype._deferRedraw=function(){this._redraw()},e.prototype._clearRedrawTimeout=function(){this._redrawTimeout&&(clearInterval(this._redrawTimeout),this._redrawTimeout=null)},e.prototype.bindCategories=function(){for(var t=this.options,e=[].concat(t.categoryAxis),r=0;r<e.length;r++){var i=e[r];!1!==i.autoBind&&this.bindCategoryAxisFromSeries(i,r)}},e.prototype.bindCategoryAxisFromSeries=function(t,e){for(var r,i=this.options.series,o=i.length,n=new W,a=[],s=!1,u=0;u<o;u++){var l=i[u],c=l.categoryAxis===t.name||!l.categoryAxis&&0===e,p=l.data,h=p.length,f=l.categoryField&&c;if(s=f||s,f&&h>0)for(var d=(r=Ro(t,Gr(l.categoryField,p[0])))?Io:Gr,v=0;v<h;v++){var g=p[v],y=d(l.categoryField,g,this.chartService.intl);!r&&n.get(y)||(a.push([y,g]),r||n.set(y,!0))}}if(a.length>0){r&&(a=function(t,e){void 0===e&&(e=$e);for(var r=function(t,e){void 0===e&&(e=$e);for(var r=1,i=t.length;r<i;r++)if(e(t[r],t[r-1])<0){t.sort(e);break}return t}(t,e),i=r.length,o=i>0?[r[0]]:[],n=1;n<i;n++)0!==e(r[n],ft(o))&&o.push(r[n]);return o}(a,(function(t,e){return $e(t[0],e[0])})));var m=function(t){for(var e=t.length,r=[],i=0;i<e;i++)for(var o=t[i],n=o.length,a=0;a<n;a++)r[a]=r[a]||[],r[a].push(o[a]);return r}(a);t.categories=m[0]}else s&&(t.categories=[])},e.prototype._isBindable=function(t){for(var e=Yr.current.valueFields(t),r=!0,i=0;i<e.length;i++){var o=e[i];if(o===g?o="field":o+="Field",!at(t[o])){r=!1;break}}return r},e.prototype._noTransitionsRedraw=function(){var t,e=this.options;!1!==e.transitions&&(e.transitions=!1,t=!0),this._redraw(),t&&(e.transitions=!0)},e.prototype._legendItemHover=function(t,e){var r,i=this._plotArea,o=this._highlight,n=(i.srcSeries||i.series)[t];if(r=q(n.type,[oi,"donut","funnel"])?i.findPoint((function(r){return r.series.index===t&&r.index===e})):i.pointsBySeriesIndex(t),this._hasInactiveOpacity()&&n.visible&&r){var a=i.series.length>1,s=r.length?r[0]:r;this._displayInactiveOpacity(s,a,r)}else o.show(r)},e.prototype._shouldAttachMouseMove=function(){return this._plotArea.crosshairs.length||this._tooltip&&this._sharedTooltip()||this.requiresHandlers(["plotAreaHover","plotAreaLeave"])},e.prototype.updateMouseMoveHandler=function(){var t,e;mt(this.element,((t={}).mousemove=this._mousemove,t)),this._shouldAttachMouseMove()&&nt(this.element,((e={}).mousemove=this._mousemove,e))},e.prototype.applyOptions=function(t,e){fs(this._originalOptions,t),this._originalOptions=V(this._originalOptions,t),this.options=V({},this._originalOptions),e&&(this._theme=e,this.chartService.theme=e),this._initTheme(this.options,this._theme),this._toggleDragZoomEvents()},e.prototype.setOptions=function(t,e){this.applyOptions(t,e),this.bindCategories(),this.redraw(),this.updateMouseMoveHandler()},e.prototype.setDirection=function(t){this.chartService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&this._destroySurface()},e.prototype.setIntlService=function(t){this.chartService.intl=t},e.prototype.noTransitionsRedraw=function(){this._noTransitionsRedraw()},e.prototype.destroy=function(){var t,e;this._destroyed=!0,mt(this.element,((t={}).contextmenu=this._clickHandler,t[si]=this._mousewheelHandler,t.mousemove=this._mousemove,t.mouseleave=this._mouseleaveHandler,t)),this.domEvents&&(this.domEvents.destroy(),delete this.domEvents),this._mouseMoveTrackHandler&&mt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._destroyView(),this._destroySurface(),this._clearRedrawTimeout()},e.prototype._destroySurface=function(){var t=this.surface;t&&(t.unbind("mouseenter",this._surfaceMouseenterHandler),t.unbind("mouseleave",this._surfaceMouseleaveHandler),t.destroy(),this.surface=null)},e.prototype._destroySelections=function(){var t=this._selections;if(t)for(;t.length>0;)t.shift().destroy()},e.prototype._destroyView=function(){var t=this._model;t&&(t.destroy(),this._model=null),this._unsetActivePoint(),this._destroySelections(),this._tooltip&&this._tooltip.destroy(),this._highlight&&this._highlight.destroy(),this._zoomSelection&&(this._zoomSelection.destroy(),delete this._zoomSelection),this._pannable&&(this._pannable.destroy(),delete this._pannable),this._mousewheelZoom&&(this._mousewheelZoom.destroy(),delete this._mousewheelZoom)},e}(S.Class);function ls(t,e){if(t)for(var r=0;r<t.length;r++)if(t[r].category===e)return[t[r]]}function cs(t){delete t.bar,delete t.column,delete t.rangeColumn,delete t.line,delete t.verticalLine,delete t.pie,delete t.donut,delete t.area,delete t.verticalArea,delete t.scatter,delete t.scatterLine,delete t.bubble,delete t.candlestick,delete t.ohlc,delete t.boxPlot,delete t.bullet,delete t.verticalBullet,delete t.polarArea,delete t.polarLine,delete t.radarArea,delete t.radarLine,delete t.waterfall}function ps(t){for(var e={},r=0;r<t.length;r++){var i=t[r],o=i.options.name;o&&(e[o]=i.range())}return e}var hs=["data","categories"];function fs(t,e){for(var r in e)if(!q(r,hs)&&e.hasOwnProperty(r)){var i=e[r],o=t[r];if(at(o)){var n=null===i;n||!at(i)?(delete t[r],n&&delete e[r]):o&&N(i)&&N(o)&&fs(o,i)}}}function ds(t){for(var e=0;e<t.length;e++)t[e].notifyRender()}Ct(us,{renderAs:"",chartArea:{},legend:{visible:!0,labels:{}},categoryAxis:{},seriesDefaults:{type:ri,data:[],highlight:{visible:!0},labels:{},negativeValues:{visible:!1}},series:[],seriesColors:null,tooltip:{visible:!1},transitions:!0,valueAxis:{},plotArea:{},title:{},xAxis:{},yAxis:{},panes:[{}],pannable:!1,zoomable:!1});var vs=us,gs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._slotAnchor=function(t,e){var r=this.plotArea.categoryAxis.options.vertical,i=r?{horizontal:"left",vertical:"center"}:{horizontal:"center",vertical:"bottom"};return{point:r?new Rt(this.plotArea.box.x2,e.center().y):new Rt(e.center().x,-2),align:i}},e.prototype._defaultAnchor=function(t,e){return this._slotAnchor({},e)},e}(Yn),ys=[ei,"bullet"];function ms(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];e[r]=i.style.display,i.style.display="none"}return e}function bs(t,e){for(var r=0;r<t.length;r++)t[r].style.display=e[r]}function xs(t){return A(t)?[t]:t}var _s=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._setElementClass=function(t){_(t,"k-sparkline")},e.prototype._initElement=function(e){t.prototype._initElement.call(this,e),this._initialWidth=Math.floor(lt(e).width)},e.prototype._resize=function(){var e=this.element,r=ms(e.childNodes);this._initialWidth=Math.floor(lt(e).width),bs(e.childNodes,r),t.prototype._resize.call(this)},e.prototype._modelOptions=function(){var t=this.options,e=this._surfaceWrap(),r=ms(e.childNodes),i=document.createElement("span");i.innerHTML="&nbsp;",e.appendChild(i);var o=V({width:this._autoWidth,height:lt(e).height,transitions:t.transitions},t.chartArea,{inline:!0,align:!1});return lt(e,{width:o.width,height:o.height}),e.removeChild(i),bs(e.childNodes,r),this.surface&&this.surface.resize(),o},e.prototype._surfaceWrap=function(){if(!this.stage){var t=this.stage=document.createElement("span");this.element.appendChild(t)}return this.stage},e.prototype._createPlotArea=function(e){var r=t.prototype._createPlotArea.call(this,e);return this._autoWidth=this._initialWidth||this._calculateWidth(r),r},e.prototype._calculateWidth=function(t){for(var e=this.options,r=I(e.chartArea.margin),i=t.charts,o=this._surfaceWrap(),n=0,a=0;a<i.length;a++){var s=i[a],u=(s.options.series||[])[0];if(u){if(u.type===ei)return 150;if("bullet"===u.type)return 150;if(u.type===oi)return lt(o).height;var l=s.categoryAxis;if(l){var c=l.categoriesCount()*(!s.options.isStacked&&q(u.type,[ri,"verticalBullet"])?s.seriesOptions.length:1);n=Math.max(n,c)}}}var p=n*e.pointWidth;return p>0&&(p+=r.left+r.right),p},e.prototype._createSharedTooltip=function(t){return new gs(this._plotArea,t)},e.normalizeOptions=function(t){var e=xs(t);return(e=x(e)?{seriesDefaults:{data:e}}:V({},e)).series||(e.series=[{data:xs(e.data)}]),V(e,{seriesDefaults:{type:e.type}}),(q(e.series[0].type,ys)||q(e.seriesDefaults.type,ys))&&(e=V({},{categoryAxis:{crosshair:{visible:!1}}},e)),e},e}(vs);Ct(_s,{chartArea:{margin:2},axisDefaults:{visible:!1,majorGridLines:{visible:!1},valueAxis:{narrowRange:!0}},seriesDefaults:{type:"line",area:{line:{width:.5}},bar:{stack:!0},padding:2,width:.5,overlay:{gradient:null},highlight:{visible:!1},border:{width:0},markers:{size:2,visible:!1}},tooltip:{visible:!0,shared:!0},categoryAxis:{crosshair:{visible:!0,tooltip:{visible:!1}}},legend:{visible:!1},transitions:!1,pointWidth:5,panes:[{clip:!1}]});var Cs=_s,ws=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._initialOpacity=parseFloat(B(this.element,"opacity").opacity)},e.prototype.step=function(t){B(this.element,{opacity:String(Z(this._initialOpacity,0,t))})},e.prototype.abort=function(){t.prototype.abort.call(this),B(this.element,{display:"none",opacity:String(this._initialOpacity)})},e.prototype.cancel=function(){t.prototype.abort.call(this),B(this.element,{opacity:String(this._initialOpacity)})},e}(S.drawing.Animation);function Ss(t,e){var r=document.createElement("div");return r.className=t,e&&(r.style.cssText=e),r}var Os=function(t){function e(e,r,i){t.call(this),this.options=V({},this.options,i),this.container=e,this.chartService=r;var o=B(e,["paddingLeft","paddingTop"]);this.chartPadding={top:o.paddingTop,left:o.paddingLeft},this.createElements(),e.appendChild(this.element)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElements=function(){var t=this.element=Ss("k-navigator-hint","display: none; position: absolute; top: 1px; left: 1px;"),e=this.tooltip=Ss("k-tooltip k-chart-tooltip"),r=this.scroll=Ss("k-scroll");e.innerHTML="&nbsp;",t.appendChild(e),t.appendChild(r)},e.prototype.show=function(t,e,r){var i=this.element,o=this.options,n=this.scroll,a=this.tooltip,s=ze(Xe(t)+Xe(e-t)/2),u=.4*r.width(),l=r.center().x-u,c=(r.center().x-l)/(o.max-o.min),p=s-o.min,h=this.chartService.intl.format(o.format,t,e),f=H(o);this.clearHideTimeout(),this._visible||(B(i,{visibility:"hidden",display:"block"}),this._visible=!0),f&&(h=f({from:t,to:e})),a.innerHTML=h,B(a,{left:r.center().x-a.offsetWidth/2,top:r.y1});var d=B(a,["marginTop","borderTopWidth","height"]);B(n,{width:u,left:l+p*c,top:r.y1+d.marginTop+d.borderTopWidth+d.height/2}),B(i,{visibility:"visible"})},e.prototype.clearHideTimeout=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideAnimation&&this._hideAnimation.cancel()},e.prototype.hide=function(){var t=this;this.clearHideTimeout(),this._hideTimeout=setTimeout((function(){t._visible=!1,t._hideAnimation=new ws(t.element),t._hideAnimation.setup(),t._hideAnimation.play()}),this.options.hideDelay)},e.prototype.destroy=function(){this.clearHideTimeout(),this.container&&this.container.removeChild(this.element),delete this.container,delete this.chartService,delete this.element,delete this.tooltip,delete this.scroll},e}(S.Class);Ct(Os,{format:"{0:d} - {1:d}",hideDelay:500});var Ps=Os,As="_navigator",js=As;function ks(){}var Ts=function(t){function e(e){var r;t.call(this),this.chart=e;var i=this.options=V({},this.options,e.options.navigator),o=i.select;o&&(o.from=this.parseDate(o.from),o.to=this.parseDate(o.to)),at(i.hint.visible)||(i.hint.visible=i.visible),this.chartObserver=new J(this,((r={}).drag="_drag",r.dragEnd="_dragEnd",r.zoom="_zoom",r.zoomEnd="_zoomEnd",r)),e.addObserver(this.chartObserver)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.parseDate=function(t){return Qe(this.chart.chartService.intl,t)},e.prototype.clean=function(){this.selection&&(this.selection.destroy(),this.selection=null),this.hint&&(this.hint.destroy(),this.hint=null)},e.prototype.destroy=function(){this.chart&&(this.chart.removeObserver(this.chartObserver),delete this.chart),this.clean()},e.prototype.redraw=function(){this._redrawSelf(),this.initSelection()},e.prototype.initSelection=function(){var t,e=this.chart,r=this.options,i=this.mainAxis(),o=i.roundedRange(),n=o.min,a=o.max,s=r.select,u=s.from,l=s.to,c=s.mousewheel,p=(t=i,ks.prototype=t,new ks);0!==i.categoriesCount()&&(this.clean(),p.box=i.box,this.selection=new $n(e,p,{min:n,max:a,from:u||n,to:l||a,mousewheel:bt(c,{zoom:"left"}),visible:r.visible},new J(this,{selectStart:"_selectStart",select:"_select",selectEnd:"_selectEnd"})),r.hint.visible&&(this.hint=new Ps(e.element,e.chartService,{min:n,max:a,template:H(r.hint),format:r.hint.format})))},e.prototype.setRange=function(){var t=this.chart._createPlotArea(!0).namedCategoryAxes[js].roundedRange(),e=t.min,r=t.max,i=this.options.select||{},o=i.from||e;o<e&&(o=e);var n=i.to||r;n>r&&(n=r),this.options.select=V({},i,{from:o,to:n}),this.filterAxes()},e.prototype._redrawSelf=function(t){var e=this.chart._plotArea;e&&e.redraw(ft(e.panes),t)},e.prototype.redrawSlaves=function(){var t=this.chart,e=t._plotArea,r=e.panes.slice(0,-1);e.srcSeries=t.options.series,e.options.categoryAxis=t.options.categoryAxis,e.clearSeriesPointsCache(),e.redraw(r)},e.prototype._drag=function(t){var e,r=this.chart,i=this.selection,o=r._eventCoordinates(t.originalEvent),n=this.mainAxis(),a=n.roundedRange(),s=n.pane.box.containsPoint(o),u=r._plotArea.categoryAxis,l=t.axisRanges[u.options.name],c=this.options.select;if(l&&!s&&i){e=c.from&&c.to?Xe(c.to)-Xe(c.from):Xe(i.options.to)-Xe(i.options.from);var p=ze(dt(Xe(l.min),a.min,Xe(a.max)-e)),h=ze(dt(Xe(p)+e,Xe(a.min)+e,a.max));this.options.select={from:p,to:h},this.options.liveDrag&&(this.filterAxes(),this.redrawSlaves()),i.set(p,h),this.showHint(p,h)}},e.prototype._dragEnd=function(){this.filterAxes(),this.filter(),this.redrawSlaves(),this.hint&&this.hint.hide()},e.prototype.readSelection=function(){var t=this.selection.options,e=t.from,r=t.to,i=this.options.select;i.from=e,i.to=r},e.prototype.filterAxes=function(){var t=this.options.select;void 0===t&&(t={});for(var e=this.chart.options.categoryAxis,r=t.from,i=t.to,o=0;o<e.length;o++){var n=e[o];n.pane!==As&&(n.min=r,n.max=i)}},e.prototype.filter=function(){var t=this.chart,e=this.options.select;if(t.requiresHandlers(["navigatorFilter"])){var r=this.mainAxis(),i={from:e.from,to:e.to};if("category"!==r.options.type){var o=new pr(V({baseUnit:"fit"},t.options.categoryAxis[0],{categories:[e.from,e.to]}),t.chartService).options;i.from=He(o.min,-o.baseUnitStep,o.baseUnit),i.to=He(o.max,o.baseUnitStep,o.baseUnit)}this.chart.trigger("navigatorFilter",i)}},e.prototype._zoom=function(t){var e=this.chart._plotArea.categoryAxis,r=this.selection,i=this.options,o=i.select,n=i.liveDrag,a=this.mainAxis(),s=t.delta;if(r){var u=a.categoryIndex(r.options.from),l=a.categoryIndex(r.options.to),c=this.chart._eventCoordinates(t.originalEvent);t.originalEvent.preventDefault(),Math.abs(s)>1&&(s*=3),l-u>1?(r.zoom(s,c),this.readSelection()):(e.options.min=o.from,o.from=e.scaleRange(-t.delta*this.chart._mousewheelZoomRate(),c).min),n&&(this.filterAxes(),this.redrawSlaves()),r.set(o.from,o.to),this.showHint(this.options.select.from,this.options.select.to)}},e.prototype._zoomEnd=function(t){this._dragEnd(t)},e.prototype.showHint=function(t,e){var r=this.chart._plotArea;this.hint&&this.hint.show(t,e,r.backgroundBox())},e.prototype._selectStart=function(t){return this.chart._selectStart(t)},e.prototype._select=function(t){return this.showHint(t.from,t.to),this.chart._select(t)},e.prototype._selectEnd=function(t){return this.hint&&this.hint.hide(),this.readSelection(),this.filterAxes(),this.filter(),this.redrawSlaves(),this.chart._selectEnd(t)},e.prototype.mainAxis=function(){var t=this.chart._plotArea;if(t)return t.namedCategoryAxes[js]},e.prototype.select=function(t,e){var r=this.options.select;return t&&e&&(r.from=this.parseDate(t),r.to=this.parseDate(e),this.filterAxes(),this.filter(),this.redrawSlaves(),this.selection.set(t,e)),{from:r.from,to:r.to}},e.setup=function(t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),!t.__navi){t.__navi=!0;var i=V({},r.navigator,t.navigator),o=t.panes=[].concat(t.panes),n=V({},i.pane,{name:As});i.visible||(n.visible=!1,n.height=.1),o.push(n),e.attachAxes(t,i),e.attachSeries(t,i,r)}},e.attachAxes=function(t,e){var r=e.series||[],i=t.categoryAxis=[].concat(t.categoryAxis),o=t.valueAxis=[].concat(t.valueAxis),n=0===Bo(r,ai).length,a=V({type:"date",pane:As,roundToBaseUnit:!n,justified:n,_collapse:!1,majorTicks:{visible:!0},tooltip:{visible:!1},labels:{step:1},autoBind:e.autoBindElements,autoBaseUnitSteps:{minutes:[1],hours:[1,2],days:[1,2],weeks:[],months:[1],years:[1]}}),s=e.categoryAxis;i.push(V({},a,{maxDateGroups:200},s,{name:js,title:null,baseUnit:"fit",baseUnitStep:"auto",labels:{visible:!1},majorTicks:{visible:!1}}),V({},a,s,{name:js+"_labels",maxDateGroups:20,baseUnitStep:"auto",labels:{position:""},plotBands:[],autoBaseUnitSteps:{minutes:[]},_overlap:!0}),V({},a,s,{name:js+"_ticks",maxDateGroups:200,majorTicks:{width:.5},plotBands:[],title:null,labels:{visible:!1,mirror:!0},_overlap:!0})),o.push(V({name:js,pane:As,majorGridLines:{visible:!1},visible:!1},e.valueAxis))},e.attachSeries=function(t,e,r){for(var i=t.series=t.series||[],o=[].concat(e.series||[]),n=r.seriesColors,a=e.seriesDefaults,s=0;s<o.length;s++)i.push(V({color:n[s%n.length],categoryField:e.dateField,visibleInLegend:!1,tooltip:{visible:!1}},a,o[s],{axis:js,categoryAxis:js,autoBind:e.autoBindElements}))},e}(S.Class),Ms=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.applyDefaults=function(e,r){var i=lt(this.element).width||600,o=r,n={seriesDefaults:{categoryField:e.dateField},axisDefaults:{categoryAxis:{name:"default",majorGridLines:{visible:!1},labels:{step:2},majorTicks:{visible:!1},maxDateGroups:Math.floor(i/28)}}};o&&(o=V({},o,n)),Ts.setup(e,o),t.prototype.applyDefaults.call(this,e,o)},e.prototype._setElementClass=function(t){_(t,"k-chart k-stockchart")},e.prototype.setOptions=function(e){this.destroyNavigator(),t.prototype.setOptions.call(this,e)},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this.options.transitions=!1,this._fullRedraw(),this.options.transitions=t},e.prototype._resize=function(){this.noTransitionsRedraw()},e.prototype._redraw=function(){var t=this.navigator;!this._dirty()&&t&&t.options.partialRedraw?t.redrawSlaves():this._fullRedraw()},e.prototype._dirty=function(){var t=this.options,e=G([].concat(t.series,t.navigator.series),(function(t){return t&&t.visible})).length,r=this._seriesCount!==e;return this._seriesCount=e,r},e.prototype._fullRedraw=function(){var e=this.navigator;e||(e=this.navigator=new Ts(this),this.trigger("navigatorCreated",{navigator:e})),e.clean(),e.setRange(),t.prototype._redraw.call(this),e.initSelection()},e.prototype._trackSharedTooltip=function(e){var r=this._plotArea.paneByPoint(e);r&&r.options.name===As?this._unsetActivePoint():t.prototype._trackSharedTooltip.call(this,e)},e.prototype.bindCategories=function(){t.prototype.bindCategories.call(this),this.copyNavigatorCategories()},e.prototype.copyNavigatorCategories=function(){for(var t,e=[].concat(this.options.categoryAxis),r=0;r<e.length;r++){var i=e[r];i.name===js?t=i.categories:t&&i.pane===As&&(i.categories=t)}},e.prototype.destroyNavigator=function(){this.navigator&&(this.navigator.destroy(),this.navigator=null)},e.prototype.destroy=function(){this.destroyNavigator(),t.prototype.destroy.call(this)},e.prototype._stopChartHandlers=function(e){var r=this._eventCoordinates(e),i=this._plotArea.paneByPoint(r);return t.prototype._stopChartHandlers.call(this,e)||i&&i.options.name===As},e.prototype._toggleDragZoomEvents=function(){this._dragZoomEnabled||(this.element.style.touchAction="none",this._dragZoomEnabled=!0)},e}(vs);Ct(Ms,{dateField:"date",axisDefaults:{categoryAxis:{type:"date",baseUnit:"fit",justified:!0},valueAxis:{narrowRange:!0,labels:{format:"C"}}},navigator:{select:{},seriesDefaults:{markers:{visible:!1},tooltip:{visible:!0},line:{width:2}},hint:{},visible:!0},tooltip:{visible:!0},legend:{visible:!1}});var Vs=Ms,Ns=Math.PI/180;function Es(t,e){var r=t.getOrigin(),i=t.getSize(),o=I(e);return t.setOrigin([r.x-o.left,r.y-o.top]),t.setSize([i.width+(o.left+o.right),i.height+(o.top+o.bottom)]),t}var Ls=S.drawing.Group,Ds=S.drawing.Path,Bs=S.drawing.Text;function Is(t,e){var r=t.box,i=t.children[0].box,o=e.border||{},n=e.background||"",a=Ds.fromRect(new S.geometry.Rect([r.x1,r.y1],[r.width(),r.height()]),{stroke:{}}),s=new Bs(t.text,new S.geometry.Point(i.x1,i.y1),{font:e.font,fill:{color:e.color}}),u=Es(s.bbox().clone(),e.padding),l=Ds.fromRect(u,{stroke:{color:o.width?o.color:"",width:o.width,opacity:o.opacity,dashType:o.dashType,lineJoin:"round",lineCap:"round"},fill:{color:n}}),c=new Ls;return c.append(a),c.append(l),c.append(s),c}function Rs(t,e,r){var i=at(t.from)?t.from:f,o=at(t.to)?t.to:h;return t.from=Math.max(Math.min(o,i),e),t.to=Math.min(Math.max(o,i),r),t}function zs(t,e){var r=I(e);return r.left=-r.left,r.top=-r.top,r.right=-r.right,r.bottom=-r.bottom,Es(t,r)}var Fs=S.drawing.Path,Hs=S.drawing.Surface,Us=function(t){function e(e,r,i,o){void 0===o&&(o={}),t.call(this),this.element=e,this.theme=i,this.contextService=new je(this,o),this._originalOptions=V({},this.options,r),this.options=V({},this._originalOptions),this._initTheme(i),this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.surface&&(this.surface.destroy(),this.surface=null),delete this.element,delete this.surfaceElement},e.prototype.value=function(t){var e=this.pointers[0];if(0===arguments.length)return e.value();e.value(t),this._setValueOptions(t)},e.prototype._draw=function(){var t=this.surface;t.clear(),t.draw(this._visuals)},e.prototype.exportVisual=function(){return this._visuals},e.prototype.allValues=function(t){var e=this.pointers,r=[];if(0===arguments.length){for(var i=0;i<e.length;i++)r.push(e[i].value());return r}if(x(t))for(var o=0;o<t.length;o++)A(t[o])&&e[o].value(t[o]);this._setValueOptions(t)},e.prototype._setValueOptions=function(t){for(var e=[].concat(this.options.pointer),r=[].concat(t),i=0;i<r.length;i++)e[i].value=r[i]},e.prototype.resize=function(){this.noTransitionsRedraw()},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this._toggleTransitions(!1),this.redraw(),this._toggleTransitions(t)},e.prototype.redraw=function(){var t=this._surfaceSize(),e=new S.geometry.Rect([0,0],[t.width,t.height]);this._initSurface(),this.gaugeArea=this._createGaugeArea(),this._createModel();var r=zs(e.bbox(),this._gaugeAreaMargin);this.reflow(r)},e.prototype.setOptions=function(t,e){this._originalOptions=V(this._originalOptions,t),this.options=V({},this._originalOptions),this._initTheme(e),this.redraw()},e.prototype.setDirection=function(t){this.contextService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&(this.surface.destroy(),this.surface=null)},e.prototype.setIntlService=function(t){this.contextService.intl=t},e.prototype._initTheme=function(t){var e=t||this.theme||{};this.theme=e,this.options=V({},e,this.options);var r=this.options,i=r.pointer;if(x(i)){for(var o=[],n=0;n<i.length;n++)o.push(V({},e.pointer,i[n]));r.pointer=o}},e.prototype._createGaugeArea=function(){var t=this.options.gaugeArea,e=this.surface.size(),r=t.border||{},i=new S.geometry.Rect([0,0],[e.width,e.height]);return this._gaugeAreaMargin=t.margin||5,r.width>0&&(i=zs(i,r.width)),Fs.fromRect(i,{stroke:{color:r.width?r.color:"",width:r.width,dashType:r.dashType,lineJoin:"round",lineCap:"round"},fill:{color:t.background}})},e.prototype._initSurface=function(){var t=this.options,e=this.surface,r=this._surfaceElement(),i=this._surfaceSize();lt(r,i),e&&e.options.type===t.renderAs?(this.surface.clear(),this.surface.resize()):(e&&e.destroy(),this.surface=Hs.create(r,{type:t.renderAs}))},e.prototype._surfaceSize=function(){var t=this.options,e=this._getSize();return t.gaugeArea&&V(e,t.gaugeArea),e},e.prototype._surfaceElement=function(){return this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.element.appendChild(this.surfaceElement)),this.surfaceElement},e.prototype.getSize=function(){return this._getSize()},e.prototype._getSize=function(){var t=this.element,e=this._defaultSize(),r=t.offsetWidth,i=t.offsetHeight;return r||(r=e.width),i||(i=e.height),{width:r,height:i}},e.prototype._defaultSize=function(){return{width:200,height:200}},e.prototype._toggleTransitions=function(t){this.options.transitions=t;for(var e=0;e<this.pointers.length;e++)this.pointers[e].options.animation.transitions=t},e}(S.Class);Ct(Us,{plotArea:{},theme:"default",renderAs:"",pointer:{},scale:{},gaugeArea:{}});var Ks=Us,$s=S.drawing.Path,Gs=S.drawing.Group,Xs=S.geometry.Point;function Ys(t,e){var r,i,o=t.position,n=t.tickX,a=t.tickY;return t.vertical?(r=new Xs(n,o),i=new Xs(n+e.size,o)):(r=new Xs(o,a),i=new Xs(o,a+e.size)),new $s({stroke:{color:e.color,width:e.width}}).moveTo(r).lineTo(i)}function Ws(t,e,r,i){var o=e.length;if(i.visible)for(var n=r.mirror,a=r.lineBox,s=i.skip;s<o;s+=i.step)s%i.skipUnit!=0&&(r.tickX=n?a.x2:a.x2-i.size,r.tickY=n?a.y1-i.size:a.y1,r.position=e[s],t.append(Ys(r,i)))}var qs=function(t){function e(e,r){var i=e||{};!at(i.reverse)&&!1===i.vertical&&(r||{}).rtl&&(i=Object.assign({},i,{reverse:!0})),t.call(this,0,1,i,r),this.options.minorUnit=this.options.minorUnit||this.options.majorUnit/10}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=V({},this.options,t);return(e=V({},e,{labels:{mirror:e.mirror}})).majorUnit=e.majorUnit||It(e.min,e.max),e},e.prototype.initFields=function(){},e.prototype.render=function(){var t=this.elements=new Gs,e=this.renderLabels(),r=this.renderLine(),i=this.renderTicks(),o=this.renderRanges();return t.append(r,e,i,o),t},e.prototype.renderRanges=function(){for(var t=this.options,e=t.min,r=t.max,i=t.vertical,o=t.labels.mirror,n=t.ranges||[],a=new Gs,s=n.length,u=t.rangeSize||t.minorTicks.size/2,l=0;l<s;l++){var c=Rs(n[l],e,r),p=this.getSlot(c.from,c.to),h=i?this.lineBox():p,f=i?p:this.lineBox();i?h.x1-=u*(o?-1:1):f.y2+=u*(o?-1:1),a.append($s.fromRect(new S.geometry.Rect([h.x1,f.y1],[h.x2-h.x1,f.y2-f.y1]),{fill:{color:c.color,opacity:c.opacity},stroke:{}}))}return a},e.prototype.renderLabels=function(){for(var t=this.labels,e=this.options,r=new Gs,i=0;i<t.length;i++)r.append(Is(t[i],e.labels));return r},e.prototype.renderLine=function(){var t=this.options.line,e=this.lineBox(),r=new Gs;if(t.width>0&&t.visible){var i=new $s({stroke:{color:t.color,dashType:t.dashType,width:t.width}});i.moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),r.append(i)}return r},e.prototype.renderTicks=function(){var t=new Gs,e=this.options,r=e.majorTicks.visible?e.majorUnit:0,i={vertical:e.vertical,mirror:e.labels.mirror,lineBox:this.lineBox()};return Ws(t,this.getMajorTickPositions(),i,e.majorTicks),Ws(t,this.getMinorTickPositions(),i,V({},{skipUnit:r/e.minorUnit},e.minorTicks)),t},e}(mr);Ct(qs,{min:0,max:50,majorTicks:{size:15,align:"inside",color:n,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:n,width:.5,visible:!0},line:{width:.5},labels:{position:"inside",padding:2},mirror:!1,_alignLines:!1});var Zs=qs,Qs=function(t){function e(e,r){t.call(this);var i=e.options,o=i.min,n=i.max,a=this.options=V({},this.options,r);a.fill=a.color,this.scale=e,at(a.value)?a.value=dt(a.value,o,n):a.value=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this.options,r=e.value;if(0===arguments.length)return r;var i=this.scale.options,o=i.min,n=i.max;e._oldValue=at(e._oldValue)?e.value:o,e.value=dt(t,o,n),this.elements&&this.repaint()},e}(S.Class);Ct(Qs,{color:n});var Js=Qs,tu=function(t){function e(e,r){t.call(this,e,r),this.options=V({track:{visible:at(r.track)}},this.options)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t,e,r,i=this.options,o=this.scale,n=o.options,a=n.mirror,s=n.vertical,u=o.lineBox(),l=i.track.size||i.size,c=i.size/2,p=I(i.margin),h=s?p[a?"left":"right"]:p[a?"bottom":"top"];h=a?-h:h,s?(r=new Ft(u.x1+h,u.y1,u.x1+h,u.y2),a?r.x1-=l:r.x2+=l,"barPointer"!==i.shape&&(t=e=new Ft(u.x2+h,u.y1-c,u.x2+h,u.y2+c))):(r=new Ft(u.x1,u.y1-h,u.x2,u.y1-h),a?r.y2+=l:r.y1-=l,"barPointer"!==i.shape&&(t=e=new Ft(u.x1-c,u.y1-h,u.x2+c,u.y1-h))),this.trackBox=r,this.pointerRangeBox=e,this.box=t||r.clone().pad(i.border.width)},e.prototype.getElementOptions=function(){var t=this.options;return{fill:{color:t.color,opacity:t.opacity},stroke:at(t.border)?{color:t.border.width?t.border.color||t.color:"",width:t.border.width,dashType:t.border.dashType,opacity:t.opacity}:null}},e.prototype._margin=function(){var t=this.scale,e=this.options,r=t.options,i=r.mirror,o=r.vertical,n=I(e.margin);return o?n[i?"left":"right"]:n[i?"bottom":"top"]},e}(Js);Ct(tu,{shape:"barPointer",track:{border:{width:1}},color:n,border:{width:1},opacity:1,margin:I(3),animation:{type:"barPointer"},visible:!0});var eu=tu,ru=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=t.margin,r=t.from,i=t.to,o=t.vertical,n=o?"x1":"y1";t.mirror===o?(r[n]-=e,i[n]-=e):(r[n]+=e,i[n]+=e);var a=this.fromScale=new S.geometry.Point(r.x1,r.y1),s=this.toScale=new S.geometry.Point(i.x1,i.y1);0!==t.duration&&(t.duration=Math.max(a.distanceTo(s)/t.duration*1e3,1))},e.prototype.step=function(t){var e=Z(this.fromScale.x,this.toScale.x,t),r=Z(this.fromScale.y,this.toScale.y,t);this.element.transform(S.geometry.transform().translate(e,r))},e}(S.drawing.Animation);Ct(ru,{easing:"linear",duration:250}),S.drawing.AnimationFactory.current.register("arrowPointer",ru);var iu=ru,ou=S.geometry.Point,nu=S.drawing.Path,au=function(t){function e(e,r){t.call(this,e,r),at(this.options.size)||(this.options.size=.6*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(){var t=this.scale,e=this.options.size,r=e/2,i=t.options.mirror?-1:1;return t.options.vertical?[new ou(0,0-r),new ou(0-i*e,0),new ou(0,0+r)]:[new ou(0-r,0),new ou(0,0+i*e),new ou(0+r,0)]},e.prototype.repaint=function(){var t=this.scale,e=this.options,r=new iu(this.elements,V(e.animation,{vertical:t.options.vertical,mirror:t.options.mirror,margin:this._margin(e.margin),from:t.getSlot(e._oldValue),to:t.getSlot(e.value)}));!1===e.animation.transitions&&(r.options.duration=0),r.setup(),r.play()},e.prototype.render=function(){var t=this.scale,e=this.options,r=this.getElementOptions(),i=this.pointerShape(e.value);e.animation.type="arrowPointer";var o=new nu({stroke:r.stroke,fill:r.fill}).moveTo(i[0]).lineTo(i[1]).lineTo(i[2]).close(),n=t.getSlot(e.value);return o.transform(S.geometry.transform().translate(n.x1,n.y1)),this.elements=o,o},e}(eu),su=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=this.axis=t.vertical?b:m,r=this.to=t.newPoints[0][e],i=this.from=t.oldPoints[0][e];0!==t.duration&&(t.duration=Math.max(Math.abs(r-i)/t.speed*1e3,1)),this._set(i)},e.prototype.step=function(t){var e=Z(this.from,this.to,t);this._set(e)},e.prototype._set=function(t){var e="set"+this.axis.toUpperCase(),r=this.options.newPoints;r[0][e](t),r[1][e](t)},e}(S.drawing.Animation);Ct(su,{easing:"linear",speed:250}),S.drawing.AnimationFactory.current.register("barPointer",su);var uu=su,lu=S.drawing.Group,cu=S.drawing.Path,pu=function(t){function e(e,r){t.call(this,e,r),at(this.options.size)||(this.options.size=.3*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(t){var e=this.scale,r=this.options,i=e.options,o=i.mirror,n=i.vertical,a=o===n?-1:1,s=r.size*a,u=e.getSlot(e.options.min),l=e.getSlot(t),c=n?b:m,p=n?m:b,h=this._margin()*a,f=new S.geometry.Point;f[c]=u[c+"1"],f[p]=u[p+"1"];var d=new S.geometry.Point;d[c]=l[c+"1"],d[p]=l[p+"1"],n?(f.translate(h,0),d.translate(h,0)):(f.translate(0,h),d.translate(0,h));var v=d.clone(),g=f.clone();return n?(v.translate(s,0),g.translate(s,0)):(v.translate(0,s),g.translate(0,s)),[f,d,v,g]},e.prototype.repaint=function(){var t=this.scale,e=this.options,r=this.pointerShape(e.value),i=this.pointerPath,o=this.pointerShape(e._oldValue);i.moveTo(r[0]).lineTo(r[1]).lineTo(r[2]).lineTo(r[3]).close();var n=new uu(i,V(e.animation,{reverse:t.options.reverse,vertical:t.options.vertical,oldPoints:[o[1],o[2]],newPoints:[r[1],r[2]]}));!1===e.animation.transitions&&(n.options.duration=0),n.setup(),n.play()},e.prototype.render=function(){var t=new lu,e=this.getElementOptions();this.options.track.visible&&t.append(this.renderTrack());var r=this.pointerPath=new cu({stroke:e.stroke,fill:e.fill});return t.append(r),this.elements=t,t},e.prototype.renderTrack=function(){var t=this.options.track,e=t.border||{},r=this.trackBox.clone().pad(e.width||0);return new cu.fromRect(r.toRect(),{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.width?e.color||t.color:"",width:e.width,dashType:e.dashType}})},e}(eu),hu=S.drawing.Group,fu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers,r=t.origin.x,i=t.origin.y,o=new Ft(r,i,r+t.width(),i+t.height());this.scale.reflow(o),this._shrinkScaleWidth(o);for(var n=0;n<e.length;n++)e[n].reflow();this.bbox=this._getBox(o),this._alignElements(),this._shrinkElements(),this._buildVisual(),this._draw()},e.prototype._buildVisual=function(){var t=new hu,e=this.scale.render(),r=this.pointers;t.append(this.gaugeArea),t.append(e);for(var i=0;i<r.length;i++){var o=r[i];t.append(o.render()),o.value(o.options.value)}this._visuals=t},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Zs(t.scale,this.contextService);this.pointers=[];var r=t.pointer;r=x(r)?r:[r];for(var i=0;i<r.length;i++){var o=V({},r[i],{animation:{transitions:t.transitions}}),n="arrow"===o.shape?au:pu;this.pointers.push(new n(e,o))}},e.prototype._defaultSize=function(){var t=this.options.scale.vertical;return{width:t?60:200,height:t?200:60}},e.prototype._getBox=function(t){for(var e,r=this.scale,i=this.pointers,o=t.center(),n=i[0].box.clone().wrap(r.box),a=0;a<i.length;a++)n.wrap(i[a].box.clone());return r.options.vertical?(e=n.width()/2,n=new Ft(o.x-e,t.y1,o.x+e,t.y2)):(e=n.height()/2,n=new Ft(t.x1,o.y-e,t.x2,o.y+e)),n},e.prototype._alignElements=function(){for(var t,e=this.scale,r=this.pointers,i=e.box,o=r[0].box.clone().wrap(e.box),n=this.bbox,a=0;a<r.length;a++)o.wrap(r[a].box.clone());e.options.vertical?(t=n.center().x-o.center().x,e.reflow(new Ft(i.x1+t,n.y1,i.x2+t,n.y2))):(t=n.center().y-o.center().y,e.reflow(new Ft(i.x1,i.y1+t,i.x2,i.y2+t)));for(var s=0;s<r.length;s++)r[s].reflow(this.bbox)},e.prototype._shrinkScaleWidth=function(t){var e=this.scale;if(!e.options.vertical){var r=e.contentBox().width()-t.width();r>0&&(e.box.shrink(r,0),e.box.alignTo(t,"center"),e.reflow(e.box))}},e.prototype._shrinkElements=function(){for(var t=this.scale,e=this.pointers,r=t.box.clone(),i=t.options.vertical?"y":"x",o=e[0].box,n=0;n<e.length;n++)o.wrap(e[n].box.clone());r[i+1]+=Math.max(r[i+1]-o[i+1],0),r[i+2]-=Math.max(o[i+2]-r[i+2],0),t.reflow(r);for(var a=0;a<e.length;a++)e[a].reflow(this.bbox)},e}(Ks);Ct(fu,{transitions:!0,gaugeArea:{background:""},scale:{vertical:!0}});var du=fu,vu=S.drawing.Arc,gu=S.drawing.Path,yu=S.drawing.Group;function mu(t,e,r,i){var o=new yu,n=t.center,a=t.getRadiusX();if(i.visible)for(var s=0;s<e.length;s++){var u=t.pointAt(e[s]),l=new S.geometry.Point(n.x+a-i.size,n.y).rotate(e[s],n);o.append(new gu({stroke:{color:i.color,width:i.width}}).moveTo(u).lineTo(l))}return o}function bu(t,e,r,i){return{from:t,to:e,color:r,opacity:i}}var xu=function(t){function e(e,r){t.call(this,0,1,e,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=V({},this.options,t);return e.majorUnit=e.majorUnit||It(e.min,e.max),e.minorUnit=e.minorUnit||e.majorUnit/10,e},e.prototype.initFields=function(){},e.prototype.render=function(t,e){var r=this.renderArc(t,e);this.bbox=r.bbox(),this.labelElements=this.renderLabels(),this.ticks=this.renderTicks(),this.ranges=this.renderRanges()},e.prototype.reflow=function(t){var e=t.center(),r=Math.min(t.height(),t.width())/2;if(!at(this.bbox))return this.render(e,r);this.bbox=this.arc.bbox(),this.radius(this.arc.getRadiusX()),this.repositionRanges(),this.renderLabels()},e.prototype.slotAngle=function(t){var e=this.options,r=e.min,i=e.max,o=e.reverse,n=e.startAngle,a=e.endAngle,s=a-n;return(o?a-(t-r)/(i-r)*s:(t-r)/(i-r)*s+n)+180},e.prototype.hasRanges=function(){var t=this.options.ranges;return t&&t.length},e.prototype.ticksSize=function(){var t=this.options,e=t.majorTicks,r=t.minorTicks,i=0;return e.visible&&(i=e.size),r.visible&&(i=Math.max(r.size,i)),i},e.prototype.labelsCount=function(){var e=t.prototype.labelsCount.call(this),r=this.options;return r.endAngle-r.startAngle>=360&&r.max%r.majorUnit==0&&(e-=1),e},e.prototype.renderLabels=function(){var t=this.options,e=this.arc.clone(),r=e.getRadiusX(),i=this.tickAngles(e,t.majorUnit),o=t.rangeSize=t.rangeSize||.1*r,n=new yu,a=.05*r;at(t.rangeDistance)?a=t.rangeDistance:t.rangeDistance=a;var s=t.labels,u="inside"===s.position,l=at(this.labelElements);u&&(r-=this.ticksSize(),this.hasRanges()&&!l&&(r-=o+a),e.setRadiusX(r).setRadiusY(r));for(var c=this.labels,p=c.length,h=I(s.padding),f=(h.left+h.right)/2,d=(h.top+h.bottom)/2,v=0;v<p;v++){var g=c[v],y=g.box.width()/2,m=g.box.height()/2,b=i[v],x=(b-180)*Ns,_=e.pointAt(b),C=_.x+Math.cos(x)*(y+f)*(u?1:-1),w=_.y+Math.sin(x)*(m+d)*(u?1:-1);g.reflow(new Ft(C-y,w-m,C+y,w+m));var O=new S.geometry.Point(g.box.x1,g.box.y1),P=void 0;if(l){var A=(P=this.labelElements.children[v]).bbox().origin,j=P.transform()||S.geometry.transform();j.translate(O.x-A.x,O.y-A.y),P.transform(j)}else P=Is(g,t.labels),n.append(P);this.bbox=S.geometry.Rect.union(this.bbox,P.bbox())}return n},e.prototype.repositionRanges=function(){var t=this.ranges.children;if(t.length>0){var e=this.options,r=e.rangeDistance,i=e.rangeSize,o=this.getRangeRadius();"inside"===this.options.labels.position&&(o+=i+r);for(var n=o+i/2,a=0;a<t.length;a++)t[a]._geometry.setRadiusX(n).setRadiusY(n);this.bbox=S.geometry.Rect.union(this.bbox,this.ranges.bbox())}},e.prototype.renderRanges=function(){var t=this.rangeSegments(),e=t.length,r=new yu;if(e){var i=this.options,o=i.rangeSize,n=i.reverse,a=i.rangeDistance,s=this.getRangeRadius();this.radius(this.radius()-o-a);for(var u=0;u<e;u++){var l=t[u],c=this.slotAngle(l[n?"to":"from"]),p=this.slotAngle(l[n?"from":"to"]);p-c!=0&&r.append(this.createRange(c,p,s,l))}}return r},e.prototype.createRange=function(t,e,r,i){var o=this.options.rangeSize,n=new S.geometry.Arc(this.arc.center,{radiusX:r+o/2,radiusY:r+o/2,startAngle:t,endAngle:e});return new vu(n,{stroke:{width:o,color:i.color,opacity:i.opacity,lineCap:i.lineCap}})},e.prototype.rangeSegments=function(){var t=this.options,e=t.ranges||[],r=e.length,i=[];if(r){var o=t.min,n=t.max,a=t.rangePlaceholderColor;i.push(bu(o,n,a));for(var s=0;s<r;s++)for(var u=Rs(e[s],o,n),l=i.length,c=0;c<l;c++){var p=i[c];if(p.from<=u.from&&u.from<=p.to){i.push(bu(u.from,u.to,u.color,u.opacity)),p.from<=u.to&&u.to<=p.to&&i.push(bu(u.to,p.to,a,u.opacity)),p.to=u.from;break}}}return i},e.prototype.getRangeRadius=function(){var t=this.arc,e=this.options,r=e.rangeSize,i=e.rangeDistance,o=e.majorTicks.size;return"outside"===e.labels.position?t.getRadiusX()-o-i-r:t.getRadiusX()-r},e.prototype.renderArc=function(t,e){var r=this.options;return this.arc=new S.geometry.Arc(t,{radiusX:e,radiusY:e,startAngle:r.startAngle+180,endAngle:r.endAngle+180})},e.prototype.renderTicks=function(){var t=this.arc,e=this.options,r=t.clone();this.majorTickAngles=this.tickAngles(t,e.majorUnit),this.majorTicks=mu(r,this.majorTickAngles,e.majorUnit,e.majorTicks);var i=new yu;i.append(this.majorTicks);var o=e.majorTicks.size,n=e.minorTicks.size;if(this._tickDifference=o-n,"outside"===e.labels.position){var a=r.getRadiusX();r.setRadiusX(a-o+n).setRadiusY(a-o+n)}return this.minorTickAngles=this.normalizeTickAngles(this.tickAngles(t,e.minorUnit)),this.minorTicks=mu(r,this.minorTickAngles,e.minorUnit,e.minorTicks),i.append(this.minorTicks),i},e.prototype.normalizeTickAngles=function(t){for(var e=this.options,r=e.majorUnit/e.minorUnit,i=t.length-1;i>=0;i--)i%r==0&&t.splice(i,1);return t},e.prototype.tickAngles=function(t,e){var r=this.options,i=r.reverse,o=r.max-r.min,n=t.endAngle-t.startAngle,a=o/e,s=t.startAngle,u=n/a;i&&(s+=n,u=-u),n>=360&&r.max%e==0&&(a-=1);for(var l=[],c=0;c<a;c++)l.push(yt(s,3)),s+=u;return yt(s)<=t.endAngle&&l.push(s),l},e.prototype.radius=function(t){if(!t)return this.arc.getRadiusX();this.arc.setRadiusX(t).setRadiusY(t),this.repositionTicks(this.majorTicks.children,this.majorTickAngles),this.repositionTicks(this.minorTicks.children,this.minorTickAngles,!0)},e.prototype.repositionTicks=function(t,e,r){var i=r&&this._tickDifference||0,o=this.arc,n=o.getRadiusX();r&&"outside"===this.options.labels.position&&0!==i&&(o=this.arc.clone()).setRadiusX(n-i).setRadiusY(n-i);for(var a=0;a<t.length;a++){var s=o.pointAt(e[a]),u=t[a].segments,l=s.x-u[0].anchor().x,c=s.y-u[0].anchor().y;t[a].transform((new S.geometry.transform).translate(l,c))}},e}(mr);Ct(xu,{min:0,max:100,majorTicks:{size:15,align:"inside",color:n,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:n,width:.5,visible:!0},startAngle:-30,endAngle:210,labels:{position:"inside",padding:2}});var _u=xu,Cu=function(t){function e(e,r){t.call(this,e,r);var i=this.options;i.duration=Math.max(Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3,1)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,r=Z(e.oldAngle,e.newAngle,t);this.element.transform(S.geometry.transform().rotate(r,e.center))},e}(S.drawing.Animation);Ct(Cu,{easing:"linear",duration:150}),S.drawing.AnimationFactory.current.register("radialPointer",Cu);var wu=Cu,Su=S.drawing.Circle,Ou=S.drawing.Group,Pu=S.drawing.Path,Au=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setAngle=function(t){this.elements.transform(S.geometry.transform().rotate(t,this.center))},e.prototype.repaint=function(){var t=this.scale,e=this.options,r=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);!1===e.animation.transitions?this.setAngle(i):new wu(this.elements,V(e.animation,{oldAngle:r,newAngle:i})).play()},e.prototype.render=function(){var t=this.scale,e=this.options,r=new Ou;return!1!==e.animation&&V(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),r.append(this._renderNeedle(),this._renderCap()),this.elements=r,this.setAngle(Ns),r},e.prototype.reflow=function(t){var e=this.center=t.center,r=dt(this.options.length||1,.1,1.5),i=this.radius=t.getRadiusX()*r,o=this.capSize=Math.round(i*this.options.cap.size);this.bbox=S.geometry.Rect.fromPoints(new S.geometry.Point(e.x-o,e.y-o),new S.geometry.Point(e.x+o,e.y+o))},e.prototype._renderNeedle=function(){var t=this.scale.options.minorTicks.size,e=this.center,r=this.options.color,i=new Pu({fill:{color:r},stroke:{color:r,width:.5}});return i.moveTo(e.x+this.radius-t,e.y).lineTo(e.x,e.y-this.capSize/2).lineTo(e.x,e.y+this.capSize/2).close(),i},e.prototype._renderCap=function(){var t=this.options,e=t.cap.color||t.color,r=new S.geometry.Circle(this.center,this.capSize);return new Su(r,{fill:{color:e},stroke:{color:e}})},e}(Js);Ct(Au,{cap:{size:.05},arrow:{width:16,height:14},animation:{type:"radialPointer",duration:150}});var ju=Au,ku=S.drawing.Group,Tu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers;this.scale.reflow(t),this._initialPlotArea=this.scale.bbox;for(var r=0;r<e.length;r++)e[r].reflow(this.scale.arc),this._initialPlotArea=S.geometry.Rect.union(this._initialPlotArea,e[r].bbox);this.fitScale(t),this.alignScale(t),this._buildVisual(this.gaugeArea,e,this.scale),this._draw()},e.prototype._buildVisual=function(t,e,r){var i=this._visuals=new ku;i.append(t),i.append(r.ticks),i.append(r.ranges),this._buildPointers(e),i.append(r.labelElements)},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var r=t[e];r.render(),this._visuals.append(r.elements),r.value(r.options.value)}},e.prototype.fitScale=function(t){for(var e,r,i,o,n,a=this.scale.arc,s=this._initialPlotArea,u=Math.abs(this.getDiff(s,t)),l=yt(u,3),c=yt(-u,3),p=0,h=0;!(!(h++<100)||(p=n===i?p+1:0)>5||l!==o&&0<=(e=this.getPlotBox(l,t,a))&&e<=2||c!==o&&0<=(i=this.getPlotBox(c,t,a))&&i<=2||(o=e>0&&i>0?2*l:e<0&&i<0?2*c:yt((l+c)/2||1,3),0<=(r=this.getPlotBox(o,t,a))&&r<=2));)n=i,r>0?(c=o,i=r):(l=o,e=r)},e.prototype.getPlotBox=function(t,e,r){var i=this.scale,o=this.pointers,n=r.getRadiusX(),a=r.clone();a.setRadiusX(n+t).setRadiusY(n+t),i.arc=a,i.reflow(e),this.plotBbox=i.bbox;for(var s=0;s<o.length;s++)o[s].reflow(a),this.plotBbox=S.geometry.Rect.union(this.plotBbox,o[s].bbox);return this.getDiff(this.plotBbox,e)},e.prototype.getDiff=function(t,e){return Math.min(e.width()-t.width(),e.height()-t.height())},e.prototype.alignScale=function(t){var e=this.plotBbox.center(),r=t.center(),i=e.x-r.x,o=e.y-r.y,n=this.scale,a=this.pointers;n.arc.center.x-=i,n.arc.center.y-=o,n.reflow(t);for(var s=0;s<a.length;s++)a[s].reflow(n.arc),this.plotBbox=S.geometry.Rect.union(n.bbox,a[s].bbox)},e.prototype._createModel=function(){var t=this.options,e=t.pointer,r=this.scale=new _u(t.scale,this.contextService);this.pointers=[];for(var i=x(e)?e:[e],o=0;o<i.length;o++){var n=new ju(r,V({},i[o],{animation:{transitions:t.transitions}}));this.pointers.push(n)}},e}(Ks);Ct(Tu,{transitions:!0,gaugeArea:{background:""}});var Mu=Tu,Vu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.rangeSegments=function(){var t=this.options;return[{from:t.min,to:t.max,color:t.rangePlaceholderColor,lineCap:t.rangeLineCap}]},e.prototype.hasRanges=function(){return!0},e.prototype.placeholderRangeAngle=function(t){var e=this.ranges.children[0].geometry();this.options.reverse?e.setEndAngle(t):e.setStartAngle(t)},e.prototype.addRange=function(t,e,r){var i=this.options.reverse,o=this.slotAngle(i?e:t),n=this.slotAngle(i?t:e),a=this.createRange(o,n,this.getRangeRadius(),r);return this.ranges.append(a),a},e}(_u);Ct(Vu,{min:0,max:100,majorTicks:{visible:!1},minorTicks:{visible:!1},labels:{visible:!1},startAngle:0,endAngle:180,rangeLineCap:"round"});var Nu=Vu,Eu=function(t){function e(e,r){t.call(this,e,r);var i=this.options,o=Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3;i.duration=dt(o,150,800);var n=e.elements.options.get("stroke.color"),a=e.currentColor();n!==a&&(this.startColor=new S.Color(n),this.color=new S.Color(a))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,r=this.startColor,i=this.color,o=Z(e.oldAngle,e.newAngle,t);if(this.element.angle(o),i){var n=yt(Z(r.r,i.r,t)),a=yt(Z(r.g,i.g,t)),s=yt(Z(r.b,i.b,t));this.element.stroke(new S.Color(n,a,s).toHex())}},e}(S.drawing.Animation);Ct(Eu,{easing:"linear",duration:150}),S.drawing.AnimationFactory.current.register("radialRangePointer",Eu);var Lu=Eu,Du=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.repaint=function(){var t=this.scale,e=this.options,r=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);this.animation&&this.animation.abort(),!1===e.animation.transitions?(this.angle(i),this.stroke(this.currentColor())):(this.animation=new Lu(this,V(e.animation,{oldAngle:r,newAngle:i})),this.animation.play())},e.prototype.angle=function(t){var e=this.elements.geometry();this.scale.options.reverse?e.setStartAngle(t):e.setEndAngle(t),this.scale.placeholderRangeAngle(t)},e.prototype.stroke=function(t){this.elements.stroke(t)},e.prototype.render=function(){if(!this.elements){var t=this.scale,e=this.options;!1!==e.animation&&V(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),this.elements=t.addRange(t.options.min,this.options.value,{color:this.currentColor(),opacity:e.opacity,lineCap:t.options.rangeLineCap})}},e.prototype.currentColor=function(){var t=this.scale.options,e=t.min,r=t.max,i=this.options,o=i.colors,n=i.color,a=i.value,s=A(a)?a:e;if(o)for(var u=0;u<o.length;u++){var l=o[u],c=l.color,p=l.from;void 0===p&&(p=e);var h=l.to;if(void 0===h&&(h=r),p<=s&&s<=h)return c}return n},e.prototype.reflow=function(){this.render(),this.bbox=this.elements.bbox()},e}(Js);Ct(Du,{animation:{type:"radialRangePointer",duration:150}});var Bu=Du,Iu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initTheme=function(e){t.prototype._initTheme.call(this,e),this.options.color=this.options.color||(this.theme.pointer||{}).color},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Nu(t.scale,this.contextService),r=new Bu(e,V({},{colors:t.colors,color:t.color,value:t.value,opacity:t.opacity,animation:{transitions:t.transitions}}));this.pointers=[r]},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var r=t[e];r.render(),r.value(r.options.value)}},e.prototype._setValueOptions=function(t){this.options.value=t},e.prototype.currentColor=function(){var t=this.pointers[0];if(t)return t.currentColor()},e.prototype.centerLabelPosition=function(t,e){var r=this.getSize(),i=this.scale.arc.center,o=i.x-t/2,n=i.y-e/2;if(t<r.width){var a=o+t;o=Math.max(o,0),a>r.width&&(o-=a-r.width)}if(e<r.height){var s=this.scale.bbox,u=s.bottomRight().y,l=n+e;n=Math.max(n,s.origin.y),l>u&&(n-=l-u)}return{left:o,top:n}},e}(Mu),Ru=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._createModel=function(){var e=this.options.scale;"number"!=typeof e.startAngle&&(e.startAngle=90),e.endAngle=e.startAngle+360,t.prototype._createModel.call(this)},e}(Iu),zu=function(t){function e(e){t.call(this),this.setOptions(e),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.setOptions=function(t){this.options=Object.assign({},this.options,t),this.quietZoneLength=this.options.addQuietZone?2*this.options.quietZoneLength:0},e.prototype.encode=function(t,e,r){var i=at(t)?String(t):t;return this.initValue(i,e,r),this.options.addQuietZone&&this.addQuietZone(),this.addData(),this.options.addQuietZone&&this.addQuietZone(),{baseUnit:this.baseUnit,pattern:this.pattern}},e.prototype.initValue=function(){},e.prototype.addQuietZone=function(){this.pattern.push(this.options.quietZoneLength||10)},e.prototype.addData=function(){},e.prototype.invalidCharacterError=function(t){throw new Error('Character "'+t+'" is not valid for symbology '+this.name+".")},e}(S.Class);Ct(zu,{quietZoneLength:10,addQuietZone:!0,addCheckSum:!0});var Fu=Object.assign,Hu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Fu(this,{name:"Code 11",characterMap:["111121","211121","121121","221111","112121","212111","122111","111221","211211","211111","112111"],cCheckSumTotal:10,kCheckSumTotal:9,kCheckSumMinLength:10,checkSumMod:11,DASH_VALUE:10,DASH:"-",START:"112211",STOP:"11221"})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.width=e,this.totalUnits=0},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addCheckSum=function(){var t=this.value,e=t.length,r=this.getWeightedSum(t,e,this.cCheckSumTotal)%this.checkSumMod;if(this.checksum=String(r),this.addPattern(this.characterMap[r]),++e>=this.kCheckSumMinLength){var i=(r+this.getWeightedSum(t,e,this.kCheckSumTotal))%this.checkSumMod;this.checksum+=i,this.addPattern(this.characterMap[i])}},e.prototype.getWeightedSum=function(t,e,r){for(var i=0,o=0;o<t.length;o++)i+=this.weightedValue(this.getValue(t.charAt(o)),e,o,r);return i},e.prototype.weightedValue=function(t,e,r,i){return((e-r)%i||i)*t},e.prototype.getValue=function(t){return isNaN(t)?(t!==this.DASH&&this.invalidCharacterError(t),this.DASH_VALUE):parseInt(t,10)},e.prototype.addCharacter=function(t){var e=this.getValue(t),r=this.characterMap[e];this.addPattern(r)},e.prototype.addPattern=function(t){for(var e,r=0;r<t.length;r++)e=parseInt(t.charAt(r),10),this.pattern.push(e),this.totalUnits+=e},e}(zu);Ct(Hu,{addCheckSum:!0});var Uu=Object.assign,Ku=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Uu(this,{minBaseUnitLength:.7})},e.prototype.addData=function(){var t=this.value;this.addStart();for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.pushCheckSum(),this.addStop(),this.prepareValues()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addBase(e)},e.prototype.addBase=function(){},e}(zu),$u=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Uu(this,{name:"Code 39",checkSumMod:43,minRatio:2.5,maxRatio:3,gapWidth:1,splitCharacter:"|",patternMappings:{b:"1|",w:"1|",B:"ratio|",W:"ratio|"},characterMap:{0:{pattern:"bwbWBwBwb",value:0},1:{pattern:"BwbWbwbwB",value:1},2:{pattern:"bwBWbwbwB",value:2},3:{pattern:"BwBWbwbwb",value:3},4:{pattern:"bwbWBwbwB",value:4},5:{pattern:"BwbWBwbwb",value:5},6:{pattern:"bwBWBwbwb",value:6},7:{pattern:"bwbWbwBwB",value:7},8:{pattern:"BwbWbwBwb",value:8},9:{pattern:"bwBWbwBwb",value:9},A:{pattern:"BwbwbWbwB",value:10},B:{pattern:"bwBwbWbwB",value:11},C:{pattern:"BwBwbWbwb",value:12},D:{pattern:"bwbwBWbwB",value:13},E:{pattern:"BwbwBWbwb",value:14},F:{pattern:"bwBwBWbwb",value:15},G:{pattern:"bwbwbWBwB",value:16},H:{pattern:"BwbwbWBwb",value:17},I:{pattern:"bwBwbWBwb",value:18},J:{pattern:"bwbwBWBwb",value:19},K:{pattern:"BwbwbwbWB",value:20},L:{pattern:"bwBwbwbWB",value:21},M:{pattern:"BwBwbwbWb",value:22},N:{pattern:"bwbwBwbWB",value:23},O:{pattern:"BwbwBwbWb",value:24},P:{pattern:"bwBwBwbWb",value:25},Q:{pattern:"bwbwbwBWB",value:26},R:{pattern:"BwbwbwBWb",value:27},S:{pattern:"bwBwbwBWb",value:28},T:{pattern:"bwbwBwBWb",value:29},U:{pattern:"BWbwbwbwB",value:30},V:{pattern:"bWBwbwbwB",value:31},W:{pattern:"BWBwbwbwb",value:32},X:{pattern:"bWbwBwbwB",value:33},Y:{pattern:"BWbwBwbwb",value:34},Z:{pattern:"bWBwBwbwb",value:35},"-":{pattern:"bWbwbwBwB",value:36},".":{pattern:"BWbwbwBwb",value:37}," ":{pattern:"bWBwbwBwb",value:38},$:{pattern:"bWbWbWbwb",value:39},"/":{pattern:"bWbWbwbWb",value:40},"+":{pattern:"bWbwbWbWb",value:41},"%":{pattern:"bwbWbWbWb",value:42},START:{pattern:"bWbwBwBwb"}}})},e.prototype.initValue=function(t,e,r){this.width=e,this.height=r,this.value=t,this.dataLength=t.length,this.pattern=[],this.patternString=""},e.prototype.prepareValues=function(){var t,e=this.minBaseUnitLength,r=this.minRatio,i=Math.ceil(Math.max(.15*this.width,24)),o=this.maxRatio;if(this.height<i)throw new Error("Insufficient height for Code39 encoding: the current height is "+this.height+"px and the minimum height is "+i+"px.");for(t=this.getBaseUnit(o);t<e&&o>r;)o=parseFloat((o-.1).toFixed(1)),t=this.getBaseUnit(o);if(t<e){var n=Math.ceil(this.getBaseWidth(r)*e);throw new Error("Insufficient width for Code39 encoding: the current width is "+this.width+'px and the minimum width for value "'+this.value+'" is '+n+"px.")}this.ratio=o,this.baseUnit=t,this.patternString=this.patternString.substring(0,this.patternString.length-1),this.pattern=this.pattern.concat(this.patternString.replace(/ratio/g,o).split(this.splitCharacter))},e.prototype.getBaseUnit=function(t){return this.width/this.getBaseWidth(t)},e.prototype.getBaseWidth=function(t){var e=3*(t+2);return this.quietZoneLength+e*(this.dataLength+2)+this.gapWidth*(this.dataLength+1)},e.prototype.addStart=function(){this.addPattern(this.characterMap.START.pattern),this.addCharacterGap()},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.addCharacterGap()},e.prototype.addStop=function(){this.addPattern(this.characterMap.START.pattern)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.patternString+=this.patternMappings[t.charAt(e)]},e.prototype.addCharacterGap=function(){this.patternString+=this.gapWidth+this.splitCharacter},e}(Ku);Ct($u,{addCheckSum:!1});var Gu={addCharacter:function(t){this.characterMap[t]?this.addBase(this.characterMap[t]):t.charCodeAt(0)>127?this.invalidCharacterError(t):this.addExtended(t.charCodeAt(0))},addExtended:function(t){for(var e,r=0;r<this.extendedMappings.length;r++)if(e=this.extendedMappings[r].call(this,t)){for(var i=0;i<e.length;i++){var o=e[i];this.addBase(o)}return void(this.dataLength+=e.length-1)}},extendedMappings:[function(t){if(97<=t&&t<=122)return[this.characterMap[this.shiftCharacters[0]],this.characterMap[String.fromCharCode(t-32)]]},function(t){if(33<=t&&t<=58)return[this.characterMap[this.shiftCharacters[1]],this.characterMap[String.fromCharCode(t+32)]]},function(t){if(1<=t&&t<=26)return[this.characterMap[this.shiftCharacters[2]],this.characterMap[String.fromCharCode(t+64)]]},function(t){var e,r;if(this.specialAsciiCodes[t]){e=[];for(var i=0;i<this.specialAsciiCodes[t].length;i++)e.push(this.characterMap[this.shiftCharacters[3]]),e.push(this.characterMap[this.specialAsciiCodes[t][i]])}else r=6*Math.floor(t/32)+(t-27)%32+64,e=[this.characterMap[this.shiftCharacters[3]],this.characterMap[String.fromCharCode(r)]];return e}],specialAsciiCodes:{0:["U"],64:["V"],96:["W"],127:["T","X","Y","Z"]},shiftValuesAsciiCodes:{39:36,40:47,41:43,42:37},characterMap:{"+":!1,"/":!1,$:!1,"%":!1},shiftCharacters:["SHIFT0","SHIFT1","SHIFT2","SHIFT3"]},Xu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,Gu,{name:"Code 39 extended",characterMap:{SHIFT0:{pattern:"bWbwbWbWb",value:41},SHIFT1:{pattern:"bWbWbwbWb",value:40},SHIFT2:{pattern:"bWbWbWbwb",value:39},SHIFT3:{pattern:"bwbWbWbWb",value:42}}})},e}($u),Yu=Object.assign,Wu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Yu(this,{name:"Code 93",cCheckSumTotal:20,kCheckSumTotal:15,checkSumMod:47,characterMap:{0:{pattern:"131112",value:0},1:{pattern:"111213",value:1},2:{pattern:"111312",value:2},3:{pattern:"111411",value:3},4:{pattern:"121113",value:4},5:{pattern:"121212",value:5},6:{pattern:"121311",value:6},7:{pattern:"111114",value:7},8:{pattern:"131211",value:8},9:{pattern:"141111",value:9},A:{pattern:"211113",value:10},B:{pattern:"211212",value:11},C:{pattern:"211311",value:12},D:{pattern:"221112",value:13},E:{pattern:"221211",value:14},F:{pattern:"231111",value:15},G:{pattern:"112113",value:16},H:{pattern:"112212",value:17},I:{pattern:"112311",value:18},J:{pattern:"122112",value:19},K:{pattern:"132111",value:20},L:{pattern:"111123",value:21},M:{pattern:"111222",value:22},N:{pattern:"111321",value:23},O:{pattern:"121122",value:24},P:{pattern:"131121",value:25},Q:{pattern:"212112",value:26},R:{pattern:"212211",value:27},S:{pattern:"211122",value:28},T:{pattern:"211221",value:29},U:{pattern:"221121",value:30},V:{pattern:"222111",value:31},W:{pattern:"112122",value:32},X:{pattern:"112221",value:33},Y:{pattern:"122121",value:34},Z:{pattern:"123111",value:35},"-":{pattern:"121131",value:36},".":{pattern:"311112",value:37}," ":{pattern:"311211",value:38},$:{pattern:"321111",value:39},"/":{pattern:"112131",value:40},"+":{pattern:"113121",value:41},"%":{pattern:"211131",value:42},SHIFT0:{pattern:"122211",value:46},SHIFT1:{pattern:"311121",value:45},SHIFT2:{pattern:"121221",value:43},SHIFT3:{pattern:"312111",value:44},START:{pattern:"111141"},TERMINATION_BAR:"1"}})},e.prototype.initValue=function(t,e,r){this.value=t,this.width=e,this.height=r,this.pattern=[],this.values=[],this.dataLength=t.length},e.prototype.prepareValues=function(){var t=Math.ceil(Math.max(.15*this.width,24));if(this.height<t)throw new Error("Insufficient height for Code93 encoding: the current height is "+this.height+"px, the minimum required height is "+t+"px.");if(this.setBaseUnit(),this.baseUnit<this.minBaseUnitLength){var e=Math.ceil(this.minBaseUnitLength*(this.width/this.baseUnit));throw new Error("Insufficient width for Code93 encoding: the current width is "+this.width+'px and the minimum required width for value "'+this.value+'" is '+e+"px.")}},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(9*(this.dataLength+2+2)+this.quietZoneLength+1)},e.prototype.addStart=function(){var t=this.characterMap.START.pattern;this.addPattern(t)},e.prototype.addStop=function(){this.addStart(),this.pattern.push(this.characterMap.TERMINATION_BAR)},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.values.push(t.value)},e.prototype.pushCheckSum=function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var r=0;r<e.length;r++)t=this.characterMap[this._findCharacterByValue(e[r])],this.addPattern(t.pattern)},e.prototype._getCheckValues=function(){var t,e,r=this.values,i=r.length,o=0;for(e=i-1;e>=0;e--)o+=this.weightedValue(r[e],i-e,this.cCheckSumTotal);for(t=o%this.checkSumMod,o=this.weightedValue(t,1,this.kCheckSumTotal),e=i-1;e>=0;e--)o+=this.weightedValue(r[e],i-e+1,this.kCheckSumTotal);return[t,o%this.checkSumMod]},e.prototype._findCharacterByValue=function(t){for(var e in this.characterMap)if(this.characterMap[e].value===t)return e},e.prototype.weightedValue=function(t,e,r){return(e%r||r)*t},e.prototype.addPattern=function(t){for(var e,r=0;r<t.length;r++)e=parseInt(t.charAt(r),10),this.pattern.push(e)},e}(Ku),qu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,Gu,{name:"Code 93 extended",pushCheckSum:function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var r=0;r<e.length;r++)if(t=e[r],this.shiftValuesAsciiCodes[t])this.addExtended(this.shiftValuesAsciiCodes[t]);else{var i=this._findCharacterByValue(t);this.addPattern(this.characterMap[i].pattern)}}})},e}(Wu),Zu=/^\d+$/,Qu=Object.assign,Ju=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Qu(this,{name:"Postnet",START:"2",VALID_CODE_LENGTHS:[5,9,11],DIGIT_SEPARATOR:"-",characterMap:["22111","11122","11212","11221","12112","12121","12211","21112","21121","21211"]})},e.prototype.initValue=function(t,e,r){this.height=r,this.width=e,this.baseHeight=r/2,this.value=t.replace(new RegExp(this.DIGIT_SEPARATOR,"g"),""),this.pattern=[],this.validate(this.value),this.checkSum=0,this.setBaseUnit()},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.START),this.pattern.pop()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];this.checkSum+=parseInt(t,10),this.addPattern(e)},e.prototype.addCheckSum=function(){this.checksum=(10-this.checkSum%10)%10,this.addCharacter(this.checksum)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(10*(this.value.length+1)+3+this.quietZoneLength)},e.prototype.validate=function(t){if(Zu.test(t)||this.invalidCharacterError(t.match(/[^0-9]/)[0]),!q(t.length,this.VALID_CODE_LENGTHS))throw new Error("Invalid value length. Valid lengths for the Postnet symbology are "+this.VALID_CODE_LENGTHS.join(",")+".")},e.prototype.addPattern=function(t){for(var e,r=0;r<t.length;r++)e=this.height-this.baseHeight*t.charAt(r),this.pattern.push({width:1,y1:e,y2:this.height}),this.pattern.push(1)},e}(zu),tl=/^\d+$/,el=/^[a-z0-9]+$/i,rl=Object.assign,il=function(t){function e(e){t.call(this),this.encoding=e,this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.addStart=function(){},e.prototype.is=function(){},e.prototype.isCode=function(){return!1},e.prototype.move=function(){},e.prototype.pushState=function(){},e}(S.Class),ol=function(t){function e(e,r){t.call(this,e),this.states=r,this._initMoves(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,{FNC4:"FNC4",SHIFT:98})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var r=t.charCodeAt(e);return this.isCode(r)},e.prototype.move=function(t){for(var e=0;!this._moves[e].call(this,t)&&e<this._moves.length;)e++},e.prototype.pushState=function(t){var e,r=this.states,i=t.value,o=i.length;if(q("C",r)){var n=i.substr(t.index).match(/\d{4,}/g);n&&(o=i.indexOf(n[0],t.index))}for(;(e=t.value.charCodeAt(t.index))>=0&&this.isCode(e)&&t.index<o;)this.encoding.addPattern(this.getValue(e)),t.index++},e.prototype._initMoves=function(t){this._moves=[],q(this.FNC4,t)&&this._moves.push(this._moveFNC),q(this.shiftKey,t)&&this._moves.push(this._shiftState),this._moves.push(this._moveState)},e.prototype._moveFNC=function(t){if(t.fnc)return t.fnc=!1,t.previousState===this.key},e.prototype._shiftState=function(t){if(t.previousState===this.shiftKey&&(t.index+1>=t.value.length||this.encoding[this.shiftKey].is(t.value,t.index+1)))return this.encoding.addPattern(this.SHIFT),t.shifted=!0,!0},e.prototype._moveState=function(){return this.encoding.addPattern(this.MOVE),!0},e}(il),nl={};nl.A=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"A",shiftKey:"B",MOVE:101,START:103})},e.prototype.isCode=function(t){return 0<=t&&t<96},e.prototype.getValue=function(t){return t<32?t+64:t-32},e}(ol),nl.B=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"B",shiftKey:"A",MOVE:100,START:104})},e.prototype.isCode=function(t){return 32<=t&&t<128},e.prototype.getValue=function(t){return t-32},e}(ol),nl.C=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"C",MOVE:99,START:105})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var r=hl(t,e,4);return(e+4<=t.length||2===t.length)&&tl.test(r)},e.prototype.move=function(){this.encoding.addPattern(this.MOVE)},e.prototype.pushState=function(t){for(var e;(e=hl(t.value,t.index,2))&&tl.test(e)&&2===e.length;)this.encoding.addPattern(parseInt(e,10)),t.index+=2},e.prototype.getValue=function(t){return t},e}(il),nl.FNC4=function(t){function e(e,r){t.call(this,e),this._initSubStates(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"FNC4",dependentStates:["A","B"]})},e.prototype.addStart=function(t){var e=t.value.charCodeAt(0)-128,r=this._getSubState(e);this.encoding[r].addStart()},e.prototype.is=function(t,e){var r=t.charCodeAt(e);return this.isCode(r)},e.prototype.isCode=function(t){return 128<=t&&t<256},e.prototype.pushState=function(t){var e,r=this._initSubState(t),i=this.encoding,o=r.value.length;if(t.index+=o,o<3)for(;r.index<o;r.index++)e=r.value.charCodeAt(r.index),r.state=this._getSubState(e),r.previousState!==r.state&&(r.previousState=r.state,i[r.state].move(r)),i.addPattern(i[r.state].MOVE),i.addPattern(i[r.state].getValue(e));else r.state!==r.previousState&&i[r.state].move(r),this._pushStart(r),i.pushData(r,this.subStates),t.index<t.value.length&&this._pushStart(r);t.fnc=!0,t.state=r.state},e.prototype._pushStart=function(t){this.encoding.addPattern(this.encoding[t.state].MOVE),this.encoding.addPattern(this.encoding[t.state].MOVE)},e.prototype._initSubState=function(t){var e={value:this._getAll(t.value,t.index),index:0};return e.state=this._getSubState(e.value.charCodeAt(0)),e.previousState=t.previousState===this.key?e.state:t.previousState,e},e.prototype._initSubStates=function(t){this.subStates=[];for(var e=0;e<t.length;e++)q(t[e],this.dependentStates)&&this.subStates.push(t[e])},e.prototype._getSubState=function(t){for(var e=0;e<this.subStates.length;e++)if(this.encoding[this.subStates[e]].isCode(t))return this.subStates[e]},e.prototype._getAll=function(t,e){for(var r,i="",o=e;(r=t.charCodeAt(o++))&&this.isCode(r);)i+=String.fromCharCode(r-128);return i},e}(il),nl.FNC1=function(t){function e(e,r){t.call(this,e),this.states=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"FNC1",startState:"C",startAI:"(",endAI:")",dependentStates:["C","B"],applicationIdentifiers:{22:{max:29,type:"alphanumeric"},402:{length:17},7004:{max:4,type:"alphanumeric"},242:{max:6,type:"alphanumeric"},8020:{max:25,type:"alphanumeric"},703:{min:3,max:30,type:"alphanumeric"},8008:{min:8,max:12,type:"alphanumeric"},253:{min:13,max:17,type:"alphanumeric"},8003:{min:14,max:30,type:"alphanumeric"},multiKey:[{ids:["15","17","8005","8100"],ranges:[[11,13],[310,316],[320,336],[340,369]],type:{length:6}},{ids:["240","241","250","251","400","401","403","7002","8004","8007","8110"],ranges:[[-9]],type:{max:30,type:"alphanumeric"}},{ids:["7001"],ranges:[[410,414]],type:{length:13}},{ids:["10","21","254","420","8002"],type:{max:20,type:"alphanumeric"}},{ids:["00","8006","8017","8018"],type:{length:18}},{ids:["01","02","8001"],type:{length:14}},{ids:["422"],ranges:[[424,426]],type:{length:3}},{ids:["20","8102"],type:{length:2}},{ids:["30","37"],type:{max:8,type:"alphanumeric"}},{ids:["390","392"],type:{max:15,type:"alphanumeric"}},{ids:["421","423"],type:{min:3,max:15,type:"alphanumeric"}},{ids:["391","393"],type:{min:3,max:18,type:"alphanumeric"}},{ids:["7003","8101"],type:{length:10}}]},START:102})},e.prototype.addStart=function(){this.encoding[this.startState].addStart()},e.prototype.is=function(){return q(this.key,this.states)},e.prototype.pushState=function(t){var e,r,i,o=this.encoding,n=t.value.replace(/\s/g,""),a=new RegExp("["+this.startAI+this.endAI+"]","g"),s=t.index,u={state:this.startState};o.addPattern(this.START);for(;;){if(u.index=0,(e=(i=n.charAt(s)===this.startAI?2:0)>0?this.getBySeparator(n,s):this.getByLength(n,s)).ai.length)r=s+i+e.id.length+e.ai.length;else if((r=n.indexOf(this.startAI,s+1))<0){if(s+e.ai.max+e.id.length+i<n.length)throw new Error("Separators are required after variable length identifiers");r=n.length}if(u.value=n.substring(s,r).replace(a,""),this.validate(e,u.value),o.pushData(u,this.dependentStates),r>=n.length)break;s=r,u.state!==this.startState&&(o[this.startState].move(u),u.state=this.startState),e.ai.length||o.addPattern(this.START)}t.index=t.value.length},e.prototype.validate=function(t,e){var r=e.substr(t.id.length),i=t.ai;if(!i.type&&!tl.test(r))throw new Error("Application identifier "+t.id+" is numeric only but contains non numeric character(s).");if("alphanumeric"===i.type&&!el.test(r))throw new Error("Application identifier "+t.id+" is alphanumeric only but contains non alphanumeric character(s).");if(i.length&&i.length!==r.length)throw new Error("Application identifier "+t.id+" must be "+i.length+" characters long.");if(i.min&&i.min>r.length)throw new Error("Application identifier "+t.id+" must be at least "+i.min+" characters long.");if(i.max&&i.max<r.length)throw new Error("Application identifier "+t.id+" must be at most "+i.max+" characters long.")},e.prototype.getByLength=function(t,e){for(var r,i,o=2;o<=4;o++)if(r=hl(t,e,o),i=this.getApplicationIdentifier(r)||this.getApplicationIdentifier(r.substring(0,r.length-1)))return{id:r,ai:i};this.unsupportedAIError(r)},e.prototype.unsupportedAIError=function(t){throw new Error("'"+t+"' is not a supported Application Identifier")},e.prototype.getBySeparator=function(t,e){var r=t.indexOf(this.startAI,e),i=t.indexOf(this.endAI,r),o=t.substring(r+1,i),n=this.getApplicationIdentifier(o)||this.getApplicationIdentifier(o.substr(o.length-1));return n||this.unsupportedAIError(o),{ai:n,id:o}},e.prototype.getApplicationIdentifier=function(t){var e=this.applicationIdentifiers,r=e.multiKey;if(e[t])return e[t];for(var i=0;i<r.length;i++){if(r[i].ids&&q(t,r[i].ids))return r[i].type;if(r[i].ranges)for(var o=r[i].ranges,n=0;n<o.length;n++)if(o[n][0]<=t&&t<=o[n][1])return r[i].type}},e}(il);var al=function(t){function e(e){t.call(this,e),this._initStates()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{characterMap:[212222,222122,222221,121223,121322,131222,122213,122312,132212,221213,221312,231212,112232,122132,122231,113222,123122,123221,223211,221132,221231,213212,223112,312131,311222,321122,321221,312212,322112,322211,212123,212321,232121,111323,131123,131321,112313,132113,132311,211313,231113,231311,112133,112331,132131,113123,113321,133121,313121,211331,231131,213113,213311,213131,311123,311321,331121,312113,312311,332111,314111,221411,431111,111224,111422,121124,121421,141122,141221,112214,112412,122114,122411,142112,142211,241211,221114,413111,241112,134111,111242,121142,121241,114212,124112,124211,411212,421112,421211,212141,214121,412121,111143,111341,131141,114113,114311,411113,411311,113141,114131,311141,411131,211412,211214,211232,2331112],STOP:106})},e.prototype._initStates=function(){for(var t=0;t<this.states.length;t++)this[this.states[t]]=new nl[this.states[t]](this,this.states)},e.prototype.initValue=function(t,e,r){this.pattern=[],this.value=t,this.width=e,this.height=r,this.checkSum=0,this.totalUnits=0,this.index=0,this.position=1},e.prototype.addData=function(){var t={value:this.value,index:0,state:""};0!==this.value.length&&(t.state=t.previousState=this.getNextState(t,this.states),this.addStart(t),this.pushData(t,this.states),this.addCheckSum(),this.addStop(),this.setBaseUnit())},e.prototype.pushData=function(t,e){for(;this[t.state].pushState(t),!(t.index>=t.value.length);)if(t.shifted){var r=t.state;t.state=t.previousState,t.previousState=r,t.shifted=!1}else t.previousState=t.state,t.state=this.getNextState(t,e),this[t.state].move(t)},e.prototype.addStart=function(t){this[t.state].addStart(t),this.position=1},e.prototype.addCheckSum=function(){this.checksum=this.checkSum%103,this.addPattern(this.checksum)},e.prototype.addStop=function(){this.addPattern(this.STOP)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addPattern=function(t){for(var e,r=this.characterMap[t].toString(),i=0;i<r.length;i++)e=parseInt(r.charAt(i),10),this.pattern.push(e),this.totalUnits+=e;this.checkSum+=t*this.position++},e.prototype.getNextState=function(t,e){for(var r=0;r<e.length;r++)if(this[e[r]].is(t.value,t.index))return e[r];this.invalidCharacterError(t.value.charAt(t.index))},e}(zu),sl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128 A",states:["A"]})},e}(al),ul=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128 B",states:["B"]})},e}(al),ll=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128 C",states:["C"]})},e}(al),cl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128",states:["C","B","A","FNC4"]})},e}(al),pl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code GS1-128",states:["FNC1","C","B"]})},e}(al);function hl(t,e,r){return t.substring(e,e+r)}var fl=Object.assign,dl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{characterMap:["12121212","12121221","12122112","12122121","12211212","12211221","12212112","12212121","21121212","21121221"],START:"21",STOP:"121",checkSumType:"",checkSums:bl})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.checkSumLength=0,this.width=e},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(12*(this.value.length+this.checkSumLength)+this.quietZoneLength+7)},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addPattern(e)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.pattern.push(parseInt(t.charAt(e),10))},e.prototype.addCheckSum=function(){var t=this.checkSums[this.checkSumType].call(this.checkSums,this.value);this.checksum=t.join("");for(var e=0;e<t.length;e++)this.checkSumLength++,this.addPattern(this.characterMap[t[e]])},e}(zu),vl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo10",checkSumType:"Modulo10"})},e}(dl),gl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo11",checkSumType:"Modulo11"})},e}(dl),yl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo10 Modulo10",checkSumType:"Modulo10Modulo10"})},e}(dl),ml=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo11 Modulo10",checkSumType:"Modulo11Modulo10"})},e}(dl),bl={Modulo10:function(t){var e,r,i,o=[0,""],n=t.length%2;for(e=0;e<t.length;e++)o[(e+n)%2]+=parseInt(t.charAt(e),10);for(i=o[0],r=(2*o[1]).toString(),e=0;e<r.length;e++)i+=parseInt(r.charAt(e),10);return[(10-i%10)%10]},Modulo11:function(t){for(var e,r=0,i=t.length,o=0;o<i;o++)r+=(((i-o)%6||6)+1)*t.charAt(o);return 10!==(e=(11-r%11)%11)?[e]:[1,0]},Modulo11Modulo10:function(t){var e,r=this.Modulo11(t);return e=t+r[0],r.concat(this.Modulo10(e))},Modulo10Modulo10:function(t){var e,r=this.Modulo10(t);return e=t+r[0],r.concat(this.Modulo10(e))}},xl=Object.assign,_l=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),xl(this,{name:"EAN 13",keyTable:["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"],characterMap:{digits:[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],start:[1,1,1],middle:[1,1,1,1,1]}})},e.prototype.initValue=function(t,e,r){var i=String(t);if(12!==i.length||/\D/.test(i))throw new Error('The value of the "EAN13" encoding should be 12 symbols');this.pattern=[],this.options.height=r,this.baseUnit=e/(95+this.quietZoneLength),this.value=i,this.checksum=this.calculateChecksum(),this.leftKey=i[0],this.leftPart=i.substr(1,6),this.rightPart=i.substr(7)+this.checksum},e.prototype.addData=function(){this.addPieces(this.characterMap.start),this.addSide(this.leftPart,this.leftKey),this.addPieces(this.characterMap.middle),this.addSide(this.rightPart),this.addPieces(this.characterMap.start)},e.prototype.addSide=function(t,e){for(var r=0;r<t.length;r++)e&&parseInt(this.keyTable[e].charAt(r),10)?this.addPieces(Array.prototype.slice.call(this.characterMap.digits[t.charAt(r)]).reverse(),!0):this.addPieces(this.characterMap.digits[t.charAt(r)],!0)},e.prototype.addPieces=function(t,e){for(var r=0;r<t.length;r++)e?this.pattern.push({y1:0,y2:.95*this.options.height,width:t[r]}):this.pattern.push(t[r])},e.prototype.calculateChecksum=function(){for(var t=0,e=0,r=this.value.split("").reverse().join(""),i=0;i<r.length;i++)i%2?e+=parseInt(r.charAt(i),10):t+=parseInt(r.charAt(i),10);return(10-(3*t+e)%10)%10},e}(zu),Cl=Object.assign,wl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Cl(this,{name:"EAN 8"})},e.prototype.initValue=function(t,e,r){if(7!==t.length||/\D/.test(t))throw new Error("Invalid value provided");this.value=t,this.options.height=r,this.checksum=this.calculateChecksum(this.value),this.leftPart=this.value.substr(0,4),this.rightPart=this.value.substr(4)+this.checksum,this.pattern=[],this.baseUnit=e/(67+this.quietZoneLength)},e}(_l),Sl={code11:Hu,code39:$u,code39extended:Xu,code93:Wu,code93extended:qu,code128:cl,code128a:sl,code128b:ul,code128c:ll};function Ol(t,e){var r=t.style.display;"canvas"===e&&(t.style.display="block");var i={width:t.clientWidth,height:t.clientHeight};return t.style.display=r,i}Sl["gs1-128"]=pl,Sl.msimod10=vl,Sl.msimod11=gl,Sl.msimod1010=yl,Sl.msimod1110=ml,Sl.postnet=Ju,Sl.ean8=wl,Sl.ean13=_l;var Pl=function(t){function e(e,r,i){void 0===i&&(i=Dt),t.call(this),this.options=V({},this.options,r),this.element=e,this.onError=i,this._initElement(),this._initSurface(),this._setOptions(r),r&&at(r.value)&&this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){_(this.element,"k-barcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return S.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.setOptions=function(t){this._setOptions(t),this._initSurface(),this.redraw()},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t.width,height:t.height}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype._render=function(){var t,e,r=this.options,i=r.value,o=r.text,n=I(o.margin),a=this._getSize(),s=r.border||{},u=this.encoding,l=new Ft(0,0,a.width,a.height).unpad(s.width).unpad(r.padding),c=l.height(),p=new S.drawing.Group;this.contentBox=l,p.append(this._getBackground(a)),o.visible&&(c-=S.drawing.util.measureText(i,{font:o.font}).height+n.top+n.bottom);try{t=u.encode(i,l.width(),c)}catch(t){return this.onError(t),p}return o.visible&&(e=i,r.checksum&&at(u.checksum)&&(e+=" "+u.checksum),p.append(this._getText(e))),this.barHeight=c,this._bandsGroup=this._getBands(t.pattern,t.baseUnit),p.append(this._bandsGroup),p},e.prototype.exportVisual=function(){return this._render()},e.prototype._getSize=function(){var t=Ol(this.element,this.options.renderAs),e=new S.geometry.Size(300,100);return t.width>0&&(e.width=t.width),t.height>0&&(e.height=t.height),this.options.width&&(e.width=this.options.width),this.options.height&&(e.height=this.options.height),e},e.prototype.value=function(t){if(!at(t))return this.options.value;this.options.value=String(t),this.redraw()},e.prototype._getBands=function(t,e){for(var r,i,o=this.contentBox,n=o.x1,a=new S.drawing.Group,s=0;s<t.length;s++){if(r=(i=N(t[s])?t[s]:{width:t[s],y1:0,y2:this.barHeight}).width*e,s%2){var u=S.geometry.Rect.fromPoints(new S.geometry.Point(n,i.y1+o.y1),new S.geometry.Point(n+r,i.y2+o.y1)),l=S.drawing.Path.fromRect(u,{fill:{color:this.options.color},stroke:null});a.append(l)}n+=r}return a},e.prototype._getBackground=function(t){var e=this.options,r=e.border||{},i=new Ft(0,0,t.width,t.height).unpad(r.width/2);return S.drawing.Path.fromRect(i.toRect(),{fill:{color:e.background},stroke:{color:r.width?r.color:"",width:r.width,dashType:r.dashType}})},e.prototype._getText=function(t){var e=this.options.text,r=this._textbox=new ce(t,{font:e.font,color:e.color,align:"center",vAlign:"bottom",margin:e.margin});return r.reflow(this.contentBox),r.renderVisual(),r.visual},e.prototype._setOptions=function(t){if(this.type=(t.type||this.options.type).toLowerCase(),"upca"===this.type&&(this.type="ean13",t.value="0"+t.value),"upce"===this.type&&(this.type="ean8",t.value="0"+t.value),!Sl[this.type])throw new Error("Encoding '"+this.type+"' is not supported.");this.encoding=new Sl[this.type],this.options=V({},this.options,t)},e}(S.Class);Ct(Pl,{name:"Barcode",renderAs:"svg",value:"",type:"code39",checksum:!1,width:0,height:0,color:"black",background:"white",text:{visible:!0,font:"16px Consolas, Monaco, Sans Mono, monospace, sans-serif",color:"black",margin:{top:0,bottom:0,left:0,right:0}},border:{width:0,dashType:"solid",color:"black"},padding:{top:0,bottom:0,left:0,right:0}});var Al=Pl,jl={width:500,height:100};var kl=function(t,e){if(void 0===e&&(e=jl),!t)throw new Error("Please specify barcode type to validate.");var r=t.toLowerCase(),i="";if("upca"===r?(r="ean13",i="0"):"upce"===r&&(r="ean8",i="0"),!Sl[r])throw new Error("Encoding '"+t+"' is not supported.");return function(t,e,r){return function(i){try{t.encode(r+i,e.width,e.height)}catch(t){return{valid:!1,error:t}}return{valid:!0}}}(new Sl[r],e,i)},Tl=Object.assign;function Ml(t,e){for(var r=[],i=0;i<t.length;)r.push(t.substring(i,i+e)),i+=e;return r}function Vl(t,e){var r=Number(t).toString(2);return r.length<e&&(r=new Array(e-r.length+1).join(0)+r),r}function Nl(t){return parseInt(t,2)}var El=function(t){function e(e){t.call(this),this.matrix=e,this.row=e.length-1,this.column=e.length-1,this.startColumn=this.column,this.dir=-1,this.c=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.move=function(){this.row+=this.dir*this.c,this.c^=1,this.column=this.startColumn-this.c},e.prototype.getNextCell=function(){for(;void 0!==this.matrix[this.row][this.column];)this.move(),(this.row<0||this.row>=this.matrix.length)&&(this.dir=-this.dir,this.startColumn-=8!==this.startColumn?2:3,this.column=this.startColumn,this.row=this.dir<0?this.matrix.length-1:0);return{row:this.row,column:this.column}},e.prototype.getNextRemainderCell=function(){if(this.move(),void 0===this.matrix[this.row][this.column])return{row:this.row,column:this.column}},e}(S.Class),Ll=function(t){function e(e,r){t.call(this),this.dataString=e,this.version=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class),Dl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getEncodingResult=function(t,e){var r=function(t){var e,r=[],i=0,o=t;r.push(lc(o,8,5,8,e)),e=r[0].mode,o=o.substr(r[0].modeString.length);for(;o.length>0;){var n=lc(o,17,9,16,e);n.mode!==e?(e=n.mode,r.push(n),i++):r[i].modeString+=n.modeString,o=o.substr(n.modeString.length)}return r}(t),i=cc(function(t){for(var e,r=0,i=0;i<t.length;i++)e=Fl[t[i].mode],r+=e.getStringBitsLength(t[i].modeString.length);return Math.ceil(r/8)}(r),e),o=function(t,e){for(var r,i="",o=0;o<t.length;o++)r=Fl[t[o].mode],i+=r.encode(t[o].modeString,e);return i}(r,i);return new Ll(o,i)},e}(S.Class),Bl=function(t){function e(){t.call(this),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Tl(this,{modeIndicator:"",bitsInCharacterCount:[]})},e.prototype.getVersionIndex=function(t){return t<10?0:t>26?2:1},e.prototype.getBitsCharacterCount=function(t){return this.bitsInCharacterCount[this.getVersionIndex(t||40)]},e.prototype.getModeCountString=function(t,e){return this.modeIndicator+Vl(t,this.getBitsCharacterCount(e))},e.prototype.encode=function(){},e.prototype.getStringBitsLength=function(){},e.prototype.getValue=function(){},e}(S.Class),Il=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tl(this,{bitsInCharacterCount:[10,12,14],modeIndicator:"0001"})},e.prototype.getValue=function(t){return parseInt(t,10)},e.prototype.encode=function(t,e){var r,i=Ml(t,3),o=this.getModeCountString(t.length,e);for(r=0;r<i.length-1;r++)o+=Vl(i[r],10);return o+Vl(i[r],1+3*i[r].length)},e.prototype.getStringBitsLength=function(t,e){var r=t%3;return 4+this.getBitsCharacterCount(e)+10*Math.floor(t/3)+3*r+(0===r?0:1)},e}(Bl),Rl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tl(this,{characters:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:18,J:19,K:20,L:21,M:22,N:23,O:24,P:25,Q:26,R:27,S:28,T:29,U:30,V:31,W:32,X:33,Y:34,Z:35," ":36,$:37,"%":38,"*":39,"+":40,"-":41,".":42,"/":43,":":44},bitsInCharacterCount:[9,11,13],modeIndicator:"0010"})},e.prototype.getValue=function(t){return this.characters[t]},e.prototype.encode=function(t,e){var r,i=Ml(t,2),o=this.getModeCountString(t.length,e);for(r=0;r<i.length-1;r++)o+=Vl(45*this.getValue(i[r].charAt(0))+this.getValue(i[r].charAt(1)),11);return o+Vl(2===i[r].length?45*this.getValue(i[r].charAt(0))+this.getValue(i[r].charAt(1)):this.getValue(i[r].charAt(0)),1+5*i[r].length)},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+11*Math.floor(t/2)+t%2*6},e}(Bl),zl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tl(this,{bitsInCharacterCount:[8,16,16],modeIndicator:"0100"})},e.prototype.getValue=function(t){var e=t.charCodeAt(0);if(e<=127||160<=e&&e<=255)return e;throw new Error('Unsupported character in QR Code: "'+t+'".')},e.prototype.encode=function(t,e){for(var r=this.getModeCountString(t.length,e),i=0;i<t.length;i++)r+=Vl(this.getValue(t.charAt(i)),8);return r},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+8*t},e}(Bl),Fl={};Fl.numeric=new Il,Fl.alphanumeric=new Rl,Fl.byte=new zl;var Hl=function(t){function e(){t.call(this),this.initProperties(),this.mode=Fl[this.encodingMode]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Tl(this,{encodingMode:"byte",utfBOM:"111011111011101110111111",initialModeCountStringLength:20,ranges:[128,2048,65536,2097152,67108864]})},e.prototype.getEncodingResult=function(t,e){var r=this.encode(t),i=cc(this.getDataCodewordsCount(r),e),o=this.mode.getModeCountString(r.length/8,i)+r;return new Ll(o,i)},e.prototype.getDataCodewordsCount=function(t){var e=t.length;return Math.ceil((this.initialModeCountStringLength+e)/8)},e.prototype.encode=function(t){for(var e=this.utfBOM,r=0;r<t.length;r++)e+=this.encodeCharacter(t.charCodeAt(r));return e},e.prototype.encodeCharacter=function(t){var e=this.getBytesCount(t),r=e-1,i="";if(1===e)i=Vl(t,8);else{for(var o=8-e,n=0;n<r;n++)i=Vl(t>>6*n&63|128,8)+i;i=(t>>6*r|255>>o<<o).toString(2)+i}return i},e.prototype.getBytesCount=function(t){for(var e=this.ranges,r=0;r<e.length;r++)if(t<e[r])return r+1},e}(S.Class),Ul=[{L:{groups:[[1,19]],totalDataCodewords:19,errorCodewordsPerBlock:7},M:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:10},Q:{groups:[[1,13]],totalDataCodewords:13,errorCodewordsPerBlock:13},H:{groups:[[1,9]],totalDataCodewords:9,errorCodewordsPerBlock:17}},{L:{groups:[[1,34]],totalDataCodewords:34,errorCodewordsPerBlock:10},M:{groups:[[1,28]],totalDataCodewords:28,errorCodewordsPerBlock:16},Q:{groups:[[1,22]],totalDataCodewords:22,errorCodewordsPerBlock:22},H:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:28}},{L:{groups:[[1,55]],totalDataCodewords:55,errorCodewordsPerBlock:15},M:{groups:[[1,44]],totalDataCodewords:44,errorCodewordsPerBlock:26},Q:{groups:[[2,17]],totalDataCodewords:34,errorCodewordsPerBlock:18},H:{groups:[[2,13]],totalDataCodewords:26,errorCodewordsPerBlock:22}},{L:{groups:[[1,80]],totalDataCodewords:80,errorCodewordsPerBlock:20},M:{groups:[[2,32]],totalDataCodewords:64,errorCodewordsPerBlock:18},Q:{groups:[[2,24]],totalDataCodewords:48,errorCodewordsPerBlock:26},H:{groups:[[4,9]],totalDataCodewords:36,errorCodewordsPerBlock:16}},{L:{groups:[[1,108]],totalDataCodewords:108,errorCodewordsPerBlock:26},M:{groups:[[2,43]],totalDataCodewords:86,errorCodewordsPerBlock:24},Q:{groups:[[2,15],[2,16]],totalDataCodewords:62,errorCodewordsPerBlock:18},H:{groups:[[2,11],[2,12]],totalDataCodewords:46,errorCodewordsPerBlock:22}},{L:{groups:[[2,68]],totalDataCodewords:136,errorCodewordsPerBlock:18},M:{groups:[[4,27]],totalDataCodewords:108,errorCodewordsPerBlock:16},Q:{groups:[[4,19]],totalDataCodewords:76,errorCodewordsPerBlock:24},H:{groups:[[4,15]],totalDataCodewords:60,errorCodewordsPerBlock:28}},{L:{groups:[[2,78]],totalDataCodewords:156,errorCodewordsPerBlock:20},M:{groups:[[4,31]],totalDataCodewords:124,errorCodewordsPerBlock:18},Q:{groups:[[2,14],[4,15]],totalDataCodewords:88,errorCodewordsPerBlock:18},H:{groups:[[4,13],[1,14]],totalDataCodewords:66,errorCodewordsPerBlock:26}},{L:{groups:[[2,97]],totalDataCodewords:194,errorCodewordsPerBlock:24},M:{groups:[[2,38],[2,39]],totalDataCodewords:154,errorCodewordsPerBlock:22},Q:{groups:[[4,18],[2,19]],totalDataCodewords:110,errorCodewordsPerBlock:22},H:{groups:[[4,14],[2,15]],totalDataCodewords:86,errorCodewordsPerBlock:26}},{L:{groups:[[2,116]],totalDataCodewords:232,errorCodewordsPerBlock:30},M:{groups:[[3,36],[2,37]],totalDataCodewords:182,errorCodewordsPerBlock:22},Q:{groups:[[4,16],[4,17]],totalDataCodewords:132,errorCodewordsPerBlock:20},H:{groups:[[4,12],[4,13]],totalDataCodewords:100,errorCodewordsPerBlock:24}},{L:{groups:[[2,68],[2,69]],totalDataCodewords:274,errorCodewordsPerBlock:18},M:{groups:[[4,43],[1,44]],totalDataCodewords:216,errorCodewordsPerBlock:26},Q:{groups:[[6,19],[2,20]],totalDataCodewords:154,errorCodewordsPerBlock:24},H:{groups:[[6,15],[2,16]],totalDataCodewords:122,errorCodewordsPerBlock:28}},{L:{groups:[[4,81]],totalDataCodewords:324,errorCodewordsPerBlock:20},M:{groups:[[1,50],[4,51]],totalDataCodewords:254,errorCodewordsPerBlock:30},Q:{groups:[[4,22],[4,23]],totalDataCodewords:180,errorCodewordsPerBlock:28},H:{groups:[[3,12],[8,13]],totalDataCodewords:140,errorCodewordsPerBlock:24}},{L:{groups:[[2,92],[2,93]],totalDataCodewords:370,errorCodewordsPerBlock:24},M:{groups:[[6,36],[2,37]],totalDataCodewords:290,errorCodewordsPerBlock:22},Q:{groups:[[4,20],[6,21]],totalDataCodewords:206,errorCodewordsPerBlock:26},H:{groups:[[7,14],[4,15]],totalDataCodewords:158,errorCodewordsPerBlock:28}},{L:{groups:[[4,107]],totalDataCodewords:428,errorCodewordsPerBlock:26},M:{groups:[[8,37],[1,38]],totalDataCodewords:334,errorCodewordsPerBlock:22},Q:{groups:[[8,20],[4,21]],totalDataCodewords:244,errorCodewordsPerBlock:24},H:{groups:[[12,11],[4,12]],totalDataCodewords:180,errorCodewordsPerBlock:22}},{L:{groups:[[3,115],[1,116]],totalDataCodewords:461,errorCodewordsPerBlock:30},M:{groups:[[4,40],[5,41]],totalDataCodewords:365,errorCodewordsPerBlock:24},Q:{groups:[[11,16],[5,17]],totalDataCodewords:261,errorCodewordsPerBlock:20},H:{groups:[[11,12],[5,13]],totalDataCodewords:197,errorCodewordsPerBlock:24}},{L:{groups:[[5,87],[1,88]],totalDataCodewords:523,errorCodewordsPerBlock:22},M:{groups:[[5,41],[5,42]],totalDataCodewords:415,errorCodewordsPerBlock:24},Q:{groups:[[5,24],[7,25]],totalDataCodewords:295,errorCodewordsPerBlock:30},H:{groups:[[11,12],[7,13]],totalDataCodewords:223,errorCodewordsPerBlock:24}},{L:{groups:[[5,98],[1,99]],totalDataCodewords:589,errorCodewordsPerBlock:24},M:{groups:[[7,45],[3,46]],totalDataCodewords:453,errorCodewordsPerBlock:28},Q:{groups:[[15,19],[2,20]],totalDataCodewords:325,errorCodewordsPerBlock:24},H:{groups:[[3,15],[13,16]],totalDataCodewords:253,errorCodewordsPerBlock:30}},{L:{groups:[[1,107],[5,108]],totalDataCodewords:647,errorCodewordsPerBlock:28},M:{groups:[[10,46],[1,47]],totalDataCodewords:507,errorCodewordsPerBlock:28},Q:{groups:[[1,22],[15,23]],totalDataCodewords:367,errorCodewordsPerBlock:28},H:{groups:[[2,14],[17,15]],totalDataCodewords:283,errorCodewordsPerBlock:28}},{L:{groups:[[5,120],[1,121]],totalDataCodewords:721,errorCodewordsPerBlock:30},M:{groups:[[9,43],[4,44]],totalDataCodewords:563,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[1,23]],totalDataCodewords:397,errorCodewordsPerBlock:28},H:{groups:[[2,14],[19,15]],totalDataCodewords:313,errorCodewordsPerBlock:28}},{L:{groups:[[3,113],[4,114]],totalDataCodewords:795,errorCodewordsPerBlock:28},M:{groups:[[3,44],[11,45]],totalDataCodewords:627,errorCodewordsPerBlock:26},Q:{groups:[[17,21],[4,22]],totalDataCodewords:445,errorCodewordsPerBlock:26},H:{groups:[[9,13],[16,14]],totalDataCodewords:341,errorCodewordsPerBlock:26}},{L:{groups:[[3,107],[5,108]],totalDataCodewords:861,errorCodewordsPerBlock:28},M:{groups:[[3,41],[13,42]],totalDataCodewords:669,errorCodewordsPerBlock:26},Q:{groups:[[15,24],[5,25]],totalDataCodewords:485,errorCodewordsPerBlock:30},H:{groups:[[15,15],[10,16]],totalDataCodewords:385,errorCodewordsPerBlock:28}},{L:{groups:[[4,116],[4,117]],totalDataCodewords:932,errorCodewordsPerBlock:28},M:{groups:[[17,42]],totalDataCodewords:714,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[6,23]],totalDataCodewords:512,errorCodewordsPerBlock:28},H:{groups:[[19,16],[6,17]],totalDataCodewords:406,errorCodewordsPerBlock:30}},{L:{groups:[[2,111],[7,112]],totalDataCodewords:1006,errorCodewordsPerBlock:28},M:{groups:[[17,46]],totalDataCodewords:782,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[16,25]],totalDataCodewords:568,errorCodewordsPerBlock:30},H:{groups:[[34,13]],totalDataCodewords:442,errorCodewordsPerBlock:24}},{L:{groups:[[4,121],[5,122]],totalDataCodewords:1094,errorCodewordsPerBlock:30},M:{groups:[[4,47],[14,48]],totalDataCodewords:860,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[14,25]],totalDataCodewords:614,errorCodewordsPerBlock:30},H:{groups:[[16,15],[14,16]],totalDataCodewords:464,errorCodewordsPerBlock:30}},{L:{groups:[[6,117],[4,118]],totalDataCodewords:1174,errorCodewordsPerBlock:30},M:{groups:[[6,45],[14,46]],totalDataCodewords:914,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[16,25]],totalDataCodewords:664,errorCodewordsPerBlock:30},H:{groups:[[30,16],[2,17]],totalDataCodewords:514,errorCodewordsPerBlock:30}},{L:{groups:[[8,106],[4,107]],totalDataCodewords:1276,errorCodewordsPerBlock:26},M:{groups:[[8,47],[13,48]],totalDataCodewords:1e3,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[22,25]],totalDataCodewords:718,errorCodewordsPerBlock:30},H:{groups:[[22,15],[13,16]],totalDataCodewords:538,errorCodewordsPerBlock:30}},{L:{groups:[[10,114],[2,115]],totalDataCodewords:1370,errorCodewordsPerBlock:28},M:{groups:[[19,46],[4,47]],totalDataCodewords:1062,errorCodewordsPerBlock:28},Q:{groups:[[28,22],[6,23]],totalDataCodewords:754,errorCodewordsPerBlock:28},H:{groups:[[33,16],[4,17]],totalDataCodewords:596,errorCodewordsPerBlock:30}},{L:{groups:[[8,122],[4,123]],totalDataCodewords:1468,errorCodewordsPerBlock:30},M:{groups:[[22,45],[3,46]],totalDataCodewords:1128,errorCodewordsPerBlock:28},Q:{groups:[[8,23],[26,24]],totalDataCodewords:808,errorCodewordsPerBlock:30},H:{groups:[[12,15],[28,16]],totalDataCodewords:628,errorCodewordsPerBlock:30}},{L:{groups:[[3,117],[10,118]],totalDataCodewords:1531,errorCodewordsPerBlock:30},M:{groups:[[3,45],[23,46]],totalDataCodewords:1193,errorCodewordsPerBlock:28},Q:{groups:[[4,24],[31,25]],totalDataCodewords:871,errorCodewordsPerBlock:30},H:{groups:[[11,15],[31,16]],totalDataCodewords:661,errorCodewordsPerBlock:30}},{L:{groups:[[7,116],[7,117]],totalDataCodewords:1631,errorCodewordsPerBlock:30},M:{groups:[[21,45],[7,46]],totalDataCodewords:1267,errorCodewordsPerBlock:28},Q:{groups:[[1,23],[37,24]],totalDataCodewords:911,errorCodewordsPerBlock:30},H:{groups:[[19,15],[26,16]],totalDataCodewords:701,errorCodewordsPerBlock:30}},{L:{groups:[[5,115],[10,116]],totalDataCodewords:1735,errorCodewordsPerBlock:30},M:{groups:[[19,47],[10,48]],totalDataCodewords:1373,errorCodewordsPerBlock:28},Q:{groups:[[15,24],[25,25]],totalDataCodewords:985,errorCodewordsPerBlock:30},H:{groups:[[23,15],[25,16]],totalDataCodewords:745,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[3,116]],totalDataCodewords:1843,errorCodewordsPerBlock:30},M:{groups:[[2,46],[29,47]],totalDataCodewords:1455,errorCodewordsPerBlock:28},Q:{groups:[[42,24],[1,25]],totalDataCodewords:1033,errorCodewordsPerBlock:30},H:{groups:[[23,15],[28,16]],totalDataCodewords:793,errorCodewordsPerBlock:30}},{L:{groups:[[17,115]],totalDataCodewords:1955,errorCodewordsPerBlock:30},M:{groups:[[10,46],[23,47]],totalDataCodewords:1541,errorCodewordsPerBlock:28},Q:{groups:[[10,24],[35,25]],totalDataCodewords:1115,errorCodewordsPerBlock:30},H:{groups:[[19,15],[35,16]],totalDataCodewords:845,errorCodewordsPerBlock:30}},{L:{groups:[[17,115],[1,116]],totalDataCodewords:2071,errorCodewordsPerBlock:30},M:{groups:[[14,46],[21,47]],totalDataCodewords:1631,errorCodewordsPerBlock:28},Q:{groups:[[29,24],[19,25]],totalDataCodewords:1171,errorCodewordsPerBlock:30},H:{groups:[[11,15],[46,16]],totalDataCodewords:901,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[6,116]],totalDataCodewords:2191,errorCodewordsPerBlock:30},M:{groups:[[14,46],[23,47]],totalDataCodewords:1725,errorCodewordsPerBlock:28},Q:{groups:[[44,24],[7,25]],totalDataCodewords:1231,errorCodewordsPerBlock:30},H:{groups:[[59,16],[1,17]],totalDataCodewords:961,errorCodewordsPerBlock:30}},{L:{groups:[[12,121],[7,122]],totalDataCodewords:2306,errorCodewordsPerBlock:30},M:{groups:[[12,47],[26,48]],totalDataCodewords:1812,errorCodewordsPerBlock:28},Q:{groups:[[39,24],[14,25]],totalDataCodewords:1286,errorCodewordsPerBlock:30},H:{groups:[[22,15],[41,16]],totalDataCodewords:986,errorCodewordsPerBlock:30}},{L:{groups:[[6,121],[14,122]],totalDataCodewords:2434,errorCodewordsPerBlock:30},M:{groups:[[6,47],[34,48]],totalDataCodewords:1914,errorCodewordsPerBlock:28},Q:{groups:[[46,24],[10,25]],totalDataCodewords:1354,errorCodewordsPerBlock:30},H:{groups:[[2,15],[64,16]],totalDataCodewords:1054,errorCodewordsPerBlock:30}},{L:{groups:[[17,122],[4,123]],totalDataCodewords:2566,errorCodewordsPerBlock:30},M:{groups:[[29,46],[14,47]],totalDataCodewords:1992,errorCodewordsPerBlock:28},Q:{groups:[[49,24],[10,25]],totalDataCodewords:1426,errorCodewordsPerBlock:30},H:{groups:[[24,15],[46,16]],totalDataCodewords:1096,errorCodewordsPerBlock:30}},{L:{groups:[[4,122],[18,123]],totalDataCodewords:2702,errorCodewordsPerBlock:30},M:{groups:[[13,46],[32,47]],totalDataCodewords:2102,errorCodewordsPerBlock:28},Q:{groups:[[48,24],[14,25]],totalDataCodewords:1502,errorCodewordsPerBlock:30},H:{groups:[[42,15],[32,16]],totalDataCodewords:1142,errorCodewordsPerBlock:30}},{L:{groups:[[20,117],[4,118]],totalDataCodewords:2812,errorCodewordsPerBlock:30},M:{groups:[[40,47],[7,48]],totalDataCodewords:2216,errorCodewordsPerBlock:28},Q:{groups:[[43,24],[22,25]],totalDataCodewords:1582,errorCodewordsPerBlock:30},H:{groups:[[10,15],[67,16]],totalDataCodewords:1222,errorCodewordsPerBlock:30}},{L:{groups:[[19,118],[6,119]],totalDataCodewords:2956,errorCodewordsPerBlock:30},M:{groups:[[18,47],[31,48]],totalDataCodewords:2334,errorCodewordsPerBlock:28},Q:{groups:[[34,24],[34,25]],totalDataCodewords:1666,errorCodewordsPerBlock:30},H:{groups:[[20,15],[61,16]],totalDataCodewords:1276,errorCodewordsPerBlock:30}}],Kl={1:0},$l={0:1},Gl={15:20,16:20,18:24,19:24,22:20,24:22,26:24,28:20,30:20,31:24,32:28,33:24,36:18,37:22,39:20,40:24},Xl=[1,0,1,1,1],Yl=[1,0,1],Wl={L:"01",M:"00",Q:"11",H:"10"},ql=["11101100","00010001"],Zl=[function(t,e){return(t+e)%2==0},function(t,e){return t%2==0},function(t,e){return e%3==0},function(t,e){return(t+e)%3==0},function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0},function(t,e){return t*e%2+t*e%3==0},function(t,e){return(t*e%2+t*e%3)%2==0},function(t,e){return((t+e)%2+t*e%3)%2==0}],Ql=/^\d+/,Jl=new RegExp("^[A-Z $%*+./:-]+"),tc=new RegExp("^[A-Z0-9 $%*+./:-]+"),ec=new RegExp("^[^A-Z0-9 $%*+./:-]+"),rc=[[1,0],[1,25,0]];function ic(t,e,r,i){for(var o=0;o<t.length;o++)t[o][r][i]=e}function oc(t,e,r,i){for(var o=0;o<Zl.length;o++)t[o][r][i]=Zl[o](r,i)?1^e:parseInt(e,10)}function nc(t,e){for(var r=[],i=t.length-2;i>=0;i--)r[i]=t[i]^e[i];return r}function ac(t,e){for(var r=[],i=0;i<t.length;i++)for(var o=0;o<e.length;o++)void 0===r[i+o]?r[i+o]=(t[i]+(e[o]>=0?e[o]:0))%255:r[i+o]=Kl[$l[r[i+o]]^$l[(t[i]+e[o])%255]];return r}function sc(t,e){var r=[],i=t.length-1;do{r[i]=$l[(t[i]+e)%255],i--}while(void 0!==t[i]);return r}function uc(t,e){var r,i,o=rc[e-1],n=new Array(e).concat(t),a=new Array(n.length-o.length).concat(o),s=t.length,u=[];for(i=0;i<s;i++)r=sc(a,Kl[n[n.length-1]]),a.splice(0,1),n=nc(r,n);for(i=n.length-1;i>=0;i--)u[e-1-i]=Vl(n[i],8);return u}function lc(t,e,r,i,o){var n,a,s=Ql.exec(t),u=s?s[0]:"",l=Jl.exec(t),c=l?l[0]:"",p=tc.exec(t),h=p?p[0]:"";return u&&(u.length>=e||t.length===u.length||u.length>=r&&!tc.test(t.charAt(u.length)))?(n="numeric",a=u):h&&(t.length===h.length||h.length>=i||"alphanumeric"===o)?(n="alphanumeric",a=u||c):(n="byte",a=h?h+ec.exec(t.substring(h.length))[0]:ec.exec(t)[0]),{mode:n,modeString:a}}function cc(t,e){var r=0,i=Ul.length-1,o=Math.floor(Ul.length/2);do{t<Ul[o][e].totalDataCodewords?i=o:r=o,o=r+Math.floor((i-r)/2)}while(i-r>1);return t<=Ul[r][e].totalDataCodewords?o+1:i+1}function pc(t,e,r){var i=Nl(e),o=e.length-1,n=t<<o,a=Vl(t,r-o),s=function(t,e){var r=e.toString(2).length,i=t.toString(2).length,o=t;do{i=(o^=e<<i-r).toString(2).length}while(i>=r);return o}(n,i);return s=a+Vl(s,o)}function hc(t,e){return parseInt(t.charAt(e),10)}function fc(t,e){var r,i,o=t[0],n=0,a=e.length;for(r=0,i=8;r<=8;r++)6!==r&&ic(t,hc(e,a-1-n++),r,i);for(r=8,i=7;i>=0;i--)6!==i&&ic(t,hc(e,a-1-n++),r,i);for(n=0,i=o.length-1,r=8;i>=o.length-8;i--)ic(t,hc(e,a-1-n++),r,i);for(ic(t,1,o.length-8,8),r=o.length-7,i=8;r<o.length;r++)ic(t,hc(e,a-1-n++),r,i)}function dc(t,e){for(var r,i,o,n=t[0].length,a=n-11,s=n-11,u=0;u<e.length;u++)r=Math.floor(u/3),i=u%3,ic(t,o=hc(e,e.length-u-1),0+r,a+i),ic(t,o,s+i,0+r)}function vc(t,e,r,i){for(var o,n=e.length+2,a=e.length+1,s=0;s<e.length;s++)for(var u=s;u<n-s;u++)ic(t,o=e[s],r+u,i+s),ic(t,o,r+s,i+u),ic(t,o,r+a-u,i+a-s),ic(t,o,r+a-s,i+a-u)}function gc(t,e,r,i){var o=r,n=i,a=t[0];do{ic(t,0,o,i),ic(t,0,r,n),o+=e[0],n+=e[1]}while(o>=0&&o<a.length)}function yc(t,e,r,i,o){e[t][i]=(e[t][i]<<1^o)%128,93===e[t][i]&&(r[t]+=40)}function mc(t,e,r,i,o,n){r[t][n]===i?o[t][n]++:(r[t][n]=i,o[t][n]>=5&&(e[t]+=3+o[t][n]-5),o[t][n]=1)}function bc(t,e){var r=Math.floor(t/e*100),i=r%5,o=Math.abs(r-i-50),n=Math.abs(r+5-i-50);return 10*Math.min(o/5,n/5)}function xc(t,e,r){var i=function(t){return t&&t.toLowerCase().indexOf("utf_8")>=0?new Hl:new Dl}(r).getEncodingResult(t,e),o=i.version,n=Ul[o-1][e],a=function(t,e){for(var r,i,o,n,a,s=0,u=[],l=[],c=e.groups,p=0;p<c.length;p++){o=c[p][0];for(var h=0;h<o;h++){i=c[p][1],r=[],n=[];for(var f=1;f<=i;f++)a=t.substring(s,s+8),r.push(a),n[i-f]=Nl(a),s+=8;u.push(r),l.push(uc(n,e.errorCodewordsPerBlock))}}return[u,l]}(function(t,e){for(var r=8*e,i=0,o=0,n=t;n.length<r&&i<"0000".length;)n+="0000".charAt(i++);for(n.length%8!=0&&(n+=new Array(9-n.length%8).join("0"));n.length<r;)n+=ql[o],o^=1;return n}(i.dataString,n.totalDataCodewords),n),s=function(t){for(var e=[],r=17+4*t,i=0;i<Zl.length;i++){e[i]=new Array(r);for(var o=0;o<r;o++)e[i][o]=new Array(r)}return e}(o);!function(t){var e=t[0].length;vc(t,Xl,0,0),gc(t,[-1,-1],7,7),vc(t,Xl,e-7,0),gc(t,[1,-1],e-8,7),vc(t,Xl,0,e-7),gc(t,[-1,1],7,e-8)}(s),function(t,e){if(!(e<2)){var r,i,o=t[0],n=o.length,a=Math.floor(e/7),s=[6],u=0;for((r=Gl[e])?i=(n-13-r)/a:r=i=(n-13)/(a+1),s.push(s[u++]+r);s[u]+i<n;)s.push(s[u++]+i);for(var l=0;l<s.length;l++)for(var c=0;c<s.length;c++)void 0===o[s[l]][s[c]]&&vc(t,Yl,s[l]-2,s[c]-2)}}(s,o),function(t){for(var e=1,r=t[0].length,i=8;i<r-8;i++)ic(t,e,6,i),ic(t,e,i,6),e^=1}(s),o>=7&&dc(s,Vl(0,18)),fc(s,Vl(0,15)),function(t,e){for(var r,i,o,n=new El(t[0]),a=0;a<e.length;a++)for(r=e[a],i=0;r.length>0;){for(var s=0;s<r.length;s++)for(var u=0;u<8;u++)o=n.getNextCell(),oc(t,r[s][i].charAt(u),o.row,o.column);for(i++;r[0]&&i===r[0].length;)r.splice(0,1)}for(;o=n.getNextRemainderCell();)oc(t,0,o.row,o.column)}(s,a);var u=function(t){var e,r,i=[],o=[],n=[],a=[],s=[],u=t[0].length;for(r=0;r<t.length;r++)i[r]=0,n[r]=0,s[r]=[0,0],a[r]=[0,0],o[r]=[];for(var l=0;l<u;l++)for(var c=0;c<u;c++)for(var p=0;p<t.length;p++)e=t[p],n[p]+=parseInt(e[l][c],10),o[p][0]===e[l][c]&&l+1<u&&c-1>=0&&e[l+1][c]===o[p][0]&&e[l+1][c-1]===o[p][0]&&(i[p]+=3),yc(p,a,i,0,e[l][c]),yc(p,a,i,1,e[c][l]),mc(p,i,o,e[l][c],s,0),mc(p,i,o,e[c][l],s,1);var h,f=u*u,d=Number.MAX_VALUE;for(r=0;r<i.length;r++)i[r]+=bc(n[r],f),i[r]<d&&(d=i[r],h=r);return h}(s),l=s[u];return o>=7&&dc([l],function(t){return pc(t,"1111100100101",18)}(o)),fc([l],function(t){var e,r="";if(0===Nl(t))return"101010000010010";e=pc(Nl(t),"10100110111",15);for(var i=0;i<e.length;i++)r+=e.charAt(i)^"101010000010010".charAt(i);return r}(Wl[e]+Vl(u,3))),l}!function(){var t,e;for(e=1;e<255;e++)(t=2*$l[e-1])>255&&(t^=285),$l[e]=t,Kl[t]=e;t=2*$l[e-1]^285,$l[e]=t,$l[-1]=0}(),function(){for(var t=2;t<=68;t++){var e=rc[t-1],r=[t,0];rc[t]=ac(e,r)}}();var _c=Math.round,Cc=[[0,1],[1,1],[1,2],[2,2],[2,1],[3,1],[3,0],[2,0],[2,-1],[1,-1],[1,0]],wc=[[0,1],[1,1],[1,0]],Sc=200,Oc="L",Pc="#fff",Ac="#000",jc=1,kc=7,Tc=function(t){function e(e,r,i){void 0===i&&(i=Dt),t.call(this),this.options=V({},this.options,r),this.element=e,this.wrapper=this.element,this.onError=i,this._initElement(),this._initSurface(),this.setOptions(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){_(this.element,"k-qrcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return S.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t,height:t}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){var t=this.element,e=t.clientWidth,r=t.clientHeight,i={width:0,height:0};return e>0&&(i.width=e),r&&(i.height=r),i},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype.exportVisual=function(){return this._render()},e.prototype._render=function(){var t,e,r,i,o,n=this._value,a=this.options.border||{},s=this.options.padding||0,u=a.width||0;a.width=u;var l=new S.drawing.Group;try{n&&(r=xc(n,this.options.errorCorrection,this.options.encoding),o=(i=this._getSize())-2*(u+s),t=this._calculateBaseUnit(o,r.length),e=u+s+(o-r.length*t)/2,l.append(this._renderBackground(i,a)),l.append(this._renderMatrix(r,t,e)),this._hasCustomLogo()?l.append(this._renderLogo(i,t)):this._isSwiss()&&l.append(this._renderSwissCode(i,t)))}catch(t){this.onError(t)}return l},e.prototype._renderLogo=function(t,e){var r,i=_c(t/2),o=this._getLogoSize(e*kc),n=this.options.overlay.imageUrl,a={x:i-o.width/2,y:i-o.height/2};return r=new S.geometry.Rect(new S.geometry.Point(a.x,a.y),new S.geometry.Size(o.width,o.height)),new S.drawing.Image(n,r)},e.prototype._renderSwissCode=function(t,e){var r=this._getLogoSize(e*kc),i=(r=Math.max(r.width,r.height))/4,o=i/2,n=t/2,a={},s=new S.drawing.Group;return a.x=a.y=Math.ceil(n-e-r/2),s.append(this._renderShape(a,Math.ceil(r+2*e),wc,"#fff")),a.x=a.y=n-r/2,s.append(this._renderShape(a,r,wc,this.options.color)),a.x=n+o-r/2,a.y=n+o+i-r/2,s.append(this._renderShape(a,i,Cc,"#fff")),s},e.prototype._renderShape=function(t,e,r,i){var o=new S.drawing.MultiPath({fill:{color:i},stroke:null});o.moveTo(t.x,t.y);for(var n=0;n<r.length;n++)o.lineTo(t.x+e*r[n][0],t.y+e*r[n][1]);return o.close(),o},e.prototype._getSize=function(){var t;if(this.options.size)t=parseInt(this.options.size,10);else{var e=Ol(this.element,this.options.renderAs),r=Math.min(e.width,e.height);t=r>0?r:Sc}return t},e.prototype._calculateBaseUnit=function(t,e){var r=Math.floor(t/e);if(r<jc){var i=Math.ceil(e*jc);this.onError(new Error("Insufficient size for QR Code: the current size is "+t+"px and the minimum size is "+i+"px."))}else r*e>=t&&r-1>=jc&&r--;return r},e.prototype._renderMatrix=function(t,e,r){for(var i=new S.drawing.MultiPath({fill:{color:this.options.color},stroke:null}),o=0;o<t.length;o++)for(var n=r+o*e,a=0;a<t.length;){for(;0===t[o][a]&&a<t.length;)a++;if(a<t.length){for(var s=a;1===t[o][a];)a++;var u=_c(r+s*e),l=_c(n),c=_c(r+a*e),p=_c(n+e);i.moveTo(u,l).lineTo(u,p).lineTo(c,p).lineTo(c,l).close()}}return i},e.prototype._renderBackground=function(t,e){var r=new Ft(0,0,t,t).unpad(e.width/2);return S.drawing.Path.fromRect(r.toRect(),{fill:{color:this.options.background},stroke:{color:e.color,width:e.width}})},e.prototype.setOptions=function(t){var e=t||{};this.options=Tl(this.options,e),void 0!==t.value&&(this._value=String(this.options.value)),this._initSurface(),this.redraw()},e.prototype.value=function(t){if(void 0===t)return this._value;this._value=String(t),this.redraw()},e.prototype._hasCustomLogo=function(){return Boolean(this.options.overlay.imageUrl)},e.prototype._isSwiss=function(){return"swiss"===this.options.overlay.type},e.prototype._getLogoSize=function(t){var e=this.options.overlay.width,r=this.options.overlay.height;return e||r?e&&!r?r=e:!e&&r&&(e=r):e=r=t,{width:e,height:r}},e}(S.Class);Ct(Tc,{name:"QRCode",renderAs:"svg",encoding:"ISO_8859_1",value:"",errorCorrection:Oc,background:Pc,color:Ac,size:"",padding:0,border:{color:"",width:0},overlay:{type:"image",imageUrl:"",width:0,height:0}});var Mc=Tc;var Vc=function(t){return void 0===t&&(t="ISO_8859_1"),function(e){try{xc(e,"L",t)}catch(t){return{valid:!1,error:t}}return{valid:!0}}},Nc={WGS84:{a:6378137,b:6356752.314245179,f:.0033528106647474805,e:.08181919084262149}};function Ec(t){return t*t}var Lc=Math,Dc=Lc.abs,Bc=Lc.atan,Ic=Lc.atan2,Rc=Lc.cos,zc=Lc.sin,Fc=Lc.tan,Hc=function(t){function e(e,r){t.call(this),this.initProperties(),1===arguments.length?(this.lat=e[0],this.lng=e[1]):(this.lat=e,this.lng=r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){V(this,{DISTANCE_ITERATIONS:100,DISTANCE_CONVERGENCE:1e-12,DISTANCE_PRECISION:2,FORMAT:"{0:N6}{1:N6}"})},e.prototype.toArray=function(){return[this.lat,this.lng]},e.prototype.equals=function(t){return t&&t.lat===this.lat&&t.lng===this.lng},e.prototype.clone=function(){return new e(this.lat,this.lng)},e.prototype.round=function(t){return this.lng=yt(this.lng,t),this.lat=yt(this.lat,t),this},e.prototype.wrap=function(){return this.lng=this.lng%180,this.lat=this.lat%90,this},e.prototype.distanceTo=function(t,e){return this.greatCircleTo(t,e).distance},e.prototype.destination=function(t,r,i){var o=gt(r),n=i||Nc.WGS84,a=gt(this.lat),s=gt(this.lng),u=t/n.a,l=Lc.asin(zc(a)*Rc(u)+Rc(a)*zc(u)*Rc(o)),c=s+Ic(zc(o)*zc(u)*Rc(a),Rc(u)-zc(a)*zc(l));return new e(st(l),st(c))},e.prototype.greatCircleTo=function(t,r){var i=e.create(i),o=r||Nc.WGS84;if(!i||this.clone().round(8).equals(i.clone().round(8)))return{distance:0,azimuthFrom:0,azimuthTo:0};for(var n,a,s,u,l,c,p,h,f=o.a,d=o.b,v=o.f,g=gt(i.lng-this.lng),y=Bc((1-v)*Fc(gt(this.lat))),m=zc(y),b=Rc(y),x=Bc((1-v)*Fc(gt(i.lat))),_=zc(x),C=Rc(x),w=g,S=this.DISTANCE_ITERATIONS,O=!1;!O&&S-- >0;){a=zc(w),s=Rc(w),u=Lc.sqrt(Ec(C*a)+Ec(b*_-m*C*s)),h=Ic(u,c=m*_+b*C*s);var P=b*C*a/u;p=0,0!==(l=1-Ec(P))&&(p=c-2*m*_/l),n=w;var A=v/16*l*(4+v*(4-3*l));w=g+(1-A)*v*P*(h+A*u*(p+A*c*(2*Ec(p)-1))),O=Dc(w-n)<=this.DISTANCE_CONVERGENCE}var j=l*(Ec(f)-Ec(d))/Ec(d),k=1+j/16384*(4096+j*(j*(320-175*j)-768)),T=j/1024*(256+j*(j*(74-47*j)-128)),M=T*u*(p+T/4*(c*(2*Ec(p)-1)-T/6*p*(4*Ec(u)-3)*(4*Ec(p)-3))),V=Ic(C*a,b*_-m*C*s),N=Ic(b*a,-m*C+b*_*s);return{distance:yt(d*k*(h-M),this.DISTANCE_PRECISION),azimuthFrom:st(V),azimuthTo:st(N)}},e.prototype.toString=function(){return String(this.lat)+","+String(this.lng)},e.fromLngLat=function(t){return new e(t[1],t[0])},e.fromLatLng=function(t){return new e(t[0],t[1])},e.create=function(t,r){if(at(t))return t instanceof e?t.clone():1===arguments.length&&2===t.length?e.fromLatLng(t):new e(t,r)},e}(S.Class),Uc=Math,Kc=Uc.atan,$c=Uc.exp,Gc=Uc.pow,Xc=Uc.sin,Yc=Uc.log,Wc=Uc.tan,qc=S.geometry.Point,Zc=Uc.PI,Qc=Zc/2,Jc=Zc/4,tp=Zc/180,ep=Nc.WGS84,rp=function(t){function e(e){t.call(this),this.initProperties(),this._initOptions(e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.initProperties=function(){V(this,{MAX_LNG:180,MAX_LAT:85.0840590501,INVERSE_ITERATIONS:15,INVERSE_CONVERGENCE:1e-12})},e.prototype.forward=function(t,e){var r=this.options,i=r.datum.a,o=r.centralMeridian,n=dt(t.lat,-this.MAX_LAT,this.MAX_LAT),a=e?dt(t.lng,-this.MAX_LNG,this.MAX_LNG):t.lng,s=gt(a-o)*i,u=this._projectLat(n);return new qc(s,u)},e.prototype._projectLat=function(t){var e=this.options.datum,r=e.e,i=e.a,o=gt(t),n=Wc(Jc+o/2),a=r*Xc(o),s=Gc((1-a)/(1+a),r/2);return i*Yc(n*s)},e.prototype.inverse=function(t,e){var r=this.options,i=r.datum.a,o=r.centralMeridian,n=t.x/(tp*i)+o,a=dt(this._inverseY(t.y),-this.MAX_LAT,this.MAX_LAT);return e&&(n=dt(n,-this.MAX_LNG,this.MAX_LNG)),new Hc(a,n)},e.prototype._inverseY=function(t){var e,r=this.options.datum,i=r.a,o=r.e,n=o/2,a=$c(-t/i),s=Qc-2*Kc(a);for(e=0;e<=this.INVERSE_ITERATIONS;e++){var u=o*Xc(s),l=Gc((1-u)/(1+u),n),c=Qc-2*Kc(a*l)-s;if(s+=c,Uc.abs(c)<=this.INVERSE_CONVERGENCE)break}return st(s)},e}(S.Class);Ct(rp,{centralMeridian:0,datum:ep});var ip=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,{MAX_LAT:85.0511287798})},e.prototype._projectLat=function(t){var e=this.options.datum.a,r=gt(t),i=Wc(Jc+r/2);return e*Yc(i)},e.prototype._inverseY=function(t){var e=this.options.datum.a,r=$c(-t/e);return st(Qc-2*Kc(r))},e}(rp),op=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.forward=function(t){return new qc(t.lng,t.lat)},e.prototype.inverse=function(t){return new Hc(t.y,t.x)},e}(S.Class),np=function(t){function e(){t.call(this);var e=this._proj=new ip,r=this.c=2*Zc*e.options.datum.a;this._tm=S.geometry.transform().translate(.5,.5).scale(1/r,-1/r),this._itm=S.geometry.transform().scale(r,-r).translate(-.5,-.5)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t,e,r){return this._proj.forward(t,r).transform(this._tm).scale(e||1)},e.prototype.toLocation=function(t,e,r){var i=t.clone().scale(1/(e||1)).transform(this._itm);return this._proj.inverse(i,r)},e}(S.Class),ap=(function(t){function e(){t.call(this),this._proj=new rp}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t){return this._proj.forward(t)},e.prototype.toLocation=function(t){return this._proj.inverse(t)}}(S.Class),function(t){function e(){t.call(this),this._proj=new op}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t){return this._proj.forward(t)},e.prototype.toLocation=function(t){return this._proj.inverse(t)}}(S.Class),Object.defineProperty),sp=(Object.assign,function(t){var e=document.createElement("div");return e.innerHTML=t,e.firstChild}),up=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},lp=function(t,e){e.insertBefore(t,e.firstChild)},cp=function(t){return t.replace(/([a-z][A-Z])/g,(function(t){return t.charAt(0)+"-"+t.charAt(1).toLowerCase()}))},pp=function(t){return t&&String(t).endsWith("px")?t:String(t)+"px"},hp=function(t){var e,r=!1,i=[],o={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)\.?(\d+(\.\d+)?)?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},n={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},a={tablet:/playbook|ipad|fire/i},s={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(var u in o)if(o.hasOwnProperty(u)&&(i=t.match(o[u]))){if("windows"===u&&"plugins"in navigator)return!1;(r={}).device=u,r.tablet=fp(u,a,!1),r.browser=fp(t,s,"default"),r.name=fp(u,n),r[r.name]=!0,r.majorVersion=i[2],r.minorVersion=(i[3]||"0").replace("_","."),e=r.minorVersion.replace(".","").substr(0,2),r.flatVersion=r.majorVersion+e+new Array(3-(e.length<3?e.length:2)).join("0");break}return r};function fp(t,e,r){for(var i in e)if(e.hasOwnProperty(i)&&e[i].test(t))return i;return void 0!==r?r:t}var dp=function(){var t={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},e=vp();return e.touch&&(e.mobileOS.ios||e.mobileOS.android)?t={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:e.pointers?t={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:e.msPointers&&(t={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),t},vp=function(){var t=hp(navigator.userAgent),e=function(t){var e=!1,r=[],i={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in i)if(i.hasOwnProperty(o)&&(r=t.match(i[o]))){(e={})[o]=!0,e[r[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,e.version=parseInt(document.documentMode||r[2],10);break}return e}(navigator.userAgent),r=e.chrome,i=e.crios,o=e.mozilla,n=e.safari,a={};a.mobileOS=t,a.touch="ontouchstart"in window,a.pointers=!r&&!i&&!o&&!n&&window.PointerEvent,a.msPointers=!r&&window.MSPointerEvent,a.mouseAndTouchPresent=a.touch&&!(a.mobileOS.ios||a.mobileOS.android),a.eventCapture=document.documentElement.addEventListener;var s=document.createElement("table"),u=a.transitions=!1,l=a.transforms=!1;return["Moz","webkit","O","ms"].forEach((function(t){var e="string"==typeof s.style[t+"Transition"];if(e||"string"==typeof s.style[t+"Transform"]){var r=t.toLowerCase();return l={css:"ms"!==r?"-"+r+"-":"",prefix:t,event:"o"===r||"webkit"===r?r:""},e&&((u=l).event=u.event?u.event+"TransitionEnd":"transitionend"),!1}})),s=null,a.transforms=l,a.transitions=u,a.delayedClick=function(){if(a.touch){if(a.mobileOS.ios)return!0;if(a.mobileOS.android){if(!a.browser.chrome)return!0;if(a.browser.version<32)return!1;var t=document.querySelector("meta[name=viewport]");return!(t?t.getAttribute("content"):"").match(/user-scalable=no/i)}}return!1},a},gp=function(t,e){return t.bind(e)};var yp=function(t,e,r,i,o){mp(t,e,r,i,o)},mp=function(t,e,r,i,o){(x(e)?e:(e||"").split(" ")).forEach((function(e){bp(t,e,r,i,o)}))},bp=function(t,e,r,i,o){var n,a=i;r&&T(r)&&!i?a=r:r&&"string"==typeof r&&T(a)&&(n=r),t.addEventListener(e,(function(e){var r=e.target?e.target.closest(n):null;if(!n||n&&e.target&&r){var i=n?r:e.currentTarget;ap(e,"currentTarget",{value:i}),ap(e,"delegateTarget",{value:t}),a(e)}}),Boolean(o))},xp=function(t,e,r,i,o){_p(t,e,r,i,o)},_p=function(t,e,r,i){(x(e)?e:(e||"").split(" ")).forEach((function(e){Cp(t,e,r,i)}))},Cp=function(t,e,r,i){t.removeEventListener(e,r,Boolean(i))},wp=function(t){var e=dp(navigator.userAgent);return t.replace(/([^ ]+)/g,(function(t){return e[t]||t}))},Sp=function(t,e){var r=t.prototype;r.events?e.forEach((function(t){r.events.indexOf(t)<0&&r.events.push(t)})):r.events=e},Op=function(){return Number(new Date)},Pp=function(){},Ap=function(){this._defaultPrevented=!0},jp=function(){return!0===this._defaultPrevented},kp=function(t){function e(){t.call(this),this._events={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.unbind()},e.prototype.bind=function(t,e,r){var i,o,n,a,s=this,u="string"==typeof t?[t]:t||[],l="function"==typeof e;if(void 0===e){for(i in t)s.bind(i,t[i]);return s}var c=function(){var t=u[i];(a=l?e:e[t])&&(r&&(n=a,(a=function(){s.unbind(t,a),n.apply(s,arguments)}).original=n),(s._events[t]=s._events[t]||[]).push(a))};for(i=0,o=u.length;i<o;i++)c();return s},e.prototype.one=function(t,e){return this.bind(t,e,!0)},e.prototype.first=function(t,e){var r,i,o,n="string"==typeof t?[t]:t,a="function"==typeof e;for(r=0,i=n.length;r<i;r++){var s=n[r];(o=a?e:e[s])&&(this._events[s]=this._events[s]||[]).unshift(o)}return this},e.prototype.trigger=function(t,e){var r,i,o=this._events[t];if(o){var n=e||{};for(n.sender=this,n._defaultPrevented=!1,n.preventDefault=Ap,n.isDefaultPrevented=jp,r=0,i=(o=o.slice()).length;r<i;r++)o[r].call(this,n);return!0===n._defaultPrevented}return!1},e.prototype.unbind=function(t,e){var r,i=this._events[t];if(void 0===t)this._events={};else if(i)if(e)for(r=i.length-1;r>=0;r--)i[r]!==e&&i[r].original!==e||i.splice(r,1);else this._events[t]=[];return this},e.prototype._setEvents=function(t){for(var e=(this.events||[]).length,r=0;r<e;r++){var i=this.events[r];this.options[i]&&t[i]&&(this.unbind(i,this.options[i]),this._events&&this._events[i]&&delete this._events[i])}this.bind(this.events,t)},e}(S.Class),Tp=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r),this.items=[],_(this.element,"k-widget k-attribution")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.filter=function(t,e){this._extent=t,this._zoom=e,this._render()},e.prototype.add=function(t){var e=t;at(t)&&("string"==typeof t&&(e={text:t}),this.items.push(e),this._render())},e.prototype.remove=function(t){for(var e=[],r=0;r<this.items.length;r++){var i=this.items[r];i.text!==t&&e.push(i)}this.items=e,this._render()},e.prototype.clear=function(){this.items=[],up(this.element)},e.prototype._render=function(){for(var t=[],e=0;e<this.items.length;e++){var r=this.items[e],i=this._itemText(r);""!==i&&t.push(i)}t.length>0?(up(this.element),function(t,e){var r=document.createElement("div");for(r.innerHTML=t;r.childNodes.length>0;)e.appendChild(r.childNodes[0])}(t.join(this.options.separator),this.element),this.showElement()):this.hideElement()},e.prototype.hideElement=function(){this.element.style.display="none"},e.prototype.showElement=function(){this.element.style.display=""},e.prototype._itemText=function(t){var e="",r=this._inZoomLevel(t.minZoom,t.maxZoom),i=this._inArea(t.extent);return r&&i&&(e+=t.text),e},e.prototype._inZoomLevel=function(t,e){var r=bt(t,-Number.MAX_VALUE),i=bt(e,Number.MAX_VALUE);return this._zoom>r&&this._zoom<i},e.prototype._inArea=function(t){var e=!0;return t&&(e=t.contains(this._extent)),e},e}(kp);Ct(Tp,{name:"Attribution",separator:"&nbsp;|&nbsp;"});var Mp={up:{className:"k-navigator-n",iconClass:"k-i-arrow-n"},down:{className:"k-navigator-s",iconClass:"k-i-arrow-s"},right:{className:"k-navigator-e",iconClass:"k-i-arrow-e"},left:{className:"k-navigator-w",iconClass:"k-i-arrow-w"}};function Vp(t){var e='<button class="k-button k-button-square k-rounded-full k-button-flat k-button-flat-base k-icon-button '+Mp[t].className+'" aria-label="move '+t+'"><span class="k-icon '+Mp[t].iconClass+'" /></button>';return sp(e)}var Np=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r);var i=Vp("up"),o=Vp("right"),n=Vp("down"),a=Vp("left");this.element.appendChild(i),this.element.appendChild(o),this.element.appendChild(n),this.element.appendChild(a),_(this.element,"k-widget k-navigator"),yp(this.element,"click",".k-button",gp(this._click,this));var s=this.element.parentNode.closest("[data-role]");this._keyroot=s||this.element,this._tabindex(this._keyroot),this._keydownHandler=gp(this._keydown,this),yp(this._keyroot,"keydown",this._keydownHandler)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.dispose()},e.prototype.dispose=function(){xp(this._keyroot,"keydown",this._keydownHandler)},e.prototype._tabindex=function(t){var e=t||this.wrapper||this.element,r=this.element,i=e.getAttribute("tabindex")||r.getAttribute("tabindex");r.removeAttribute("tabindex"),e.setAttribute("tabindex",isNaN(i)?0:i)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._pan=function(t,e){var r=this.options.panStep;this.trigger("pan",{x:t*r,y:e*r})},e.prototype._click=function(t){var e=0,r=0,i=t.currentTarget;i.matches(".k-navigator-n")?r=1:i.matches(".k-navigator-s")?r=-1:i.matches(".k-navigator-e")?e=1:i.matches(".k-navigator-w")&&(e=-1),this._pan(e,r),t.preventDefault()},e.prototype._keydown=function(t){switch(t.which){case Bt.UP:this._pan(0,1),t.preventDefault();break;case Bt.DOWN:this._pan(0,-1),t.preventDefault();break;case Bt.RIGHT:this._pan(1,0),t.preventDefault();break;case Bt.LEFT:this._pan(-1,0),t.preventDefault()}},e}(kp);function Ep(t,e){return sp('<button class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-zoom-'+t+'" title="zoom-'+t+'" aria-label="zoom-'+t+'"><span class="k-icon '+e+'"></span></button>')}Ct(Np,{name:"Navigator",panStep:1}),Sp(Np,["pan"]);var Lp=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r);var i=Ep("in","k-i-plus"),o=Ep("out","k-i-minus");this.element.appendChild(i),this.element.appendChild(o),_(this.element,"k-widget k-zoom-control k-button-group k-group-horizontal"),this._clickHandler=this._click.bind(this),yp(this.element,"click",".k-button",this._clickHandler);var n=this.element.parentNode.closest("[data-role]");this._keyroot=n||this.element,this._tabindex(this._keyroot),this._keydownHandler=this._keydown.bind(this),yp(this._keyroot,"keydown",this._keydownHandler)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.element&&xp(this.element,"click",this._clickHandler),this._keyroot&&xp(this._keyroot,"keydown",this._keydownHandler)},e.prototype._tabindex=function(t){var e=t||this.wrapper||this.element,r=this.element,i=e.getAttribute("tabindex")||r.getAttribute("tabindex");r.removeAttribute("tabindex"),e.setAttribute("tabindex",isNaN(i)?0:i)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._change=function(t){var e=this.options.zoomStep;this.trigger("change",{delta:t*e})},e.prototype._click=function(t){var e=1;X(t.currentTarget,"k-zoom-out")&&(e=-1),this._change(e),t.preventDefault()},e.prototype._keydown=function(t){switch(t.which){case Bt.NUMPAD_PLUS:case 187:case 61:this._change(1);break;case Bt.NUMPAD_MINUS:case 189:case 173:this._change(-1)}},e}(kp);Ct(Lp,{name:"ZoomControl",zoomStep:1}),Sp(Lp,["change"]);var Dp=Math,Bp=Dp.max,Ip=Dp.min,Rp=function(t){function e(e,r){t.call(this);var i=Hc.create(e),o=Hc.create(r);i.lng+180>o.lng+180&&i.lat+90<o.lat+90?(this.se=i,this.nw=o):(this.se=o,this.nw=i)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={World:{configurable:!0}};return e.prototype.contains=function(t){var e=this.nw,r=this.se,i=bt(t.lng,t[1]),o=bt(t.lat,t[0]);return t&&i+180>=e.lng+180&&i+180<=r.lng+180&&o+90>=r.lat+90&&o+90<=e.lat+90},e.prototype.center=function(){var t=this.nw,e=this.se,r=t.lng+(e.lng-t.lng)/2,i=t.lat+(e.lat-t.lat)/2;return new Hc(i,r)},e.prototype.containsAny=function(t){for(var e=!1,r=0;r<t.length;r++)e=e||this.contains(t[r]);return e},e.prototype.include=function(t){var e=this.nw,r=this.se,i=bt(t.lng,t[1]),o=bt(t.lat,t[0]);e.lng=Ip(e.lng,i),e.lat=Bp(e.lat,o),r.lng=Bp(r.lng,i),r.lat=Ip(r.lat,o)},e.prototype.includeAll=function(t){for(var e=0;e<t.length;e++)this.include(t[e])},e.prototype.edges=function(){var t=this.nw,e=this.se;return{nw:this.nw,ne:new Hc(t.lat,e.lng),se:this.se,sw:new Hc(e.lat,t.lng)}},e.prototype.toArray=function(){var t=this.nw,e=this.se;return[t,new Hc(t.lat,e.lng),e,new Hc(e.lat,t.lng)]},e.prototype.overlaps=function(t){return this.containsAny(t.toArray())||t.containsAny(this.toArray())},e.create=function(t,r){return t instanceof e?t:t&&r?new e(t,r):t&&4===t.length&&!r?new e([t[0],t[1]],[t[2],t[3]]):void 0},r.World.get=function(){return new e([90,-180],[-90,180])},Object.defineProperties(e,r),e}(S.Class),zp=function(t){function e(e,r){t.call(this),this.support=vp(),this._initOptions(r),this.map=e;var i=document.createElement("div");_(i,"k-layer"),i.style.zIndex=this.options.zIndex,i.style.opacity=this.options.opacity,this.element=i,e.scrollElement.appendChild(this.element),this._beforeReset=this._beforeReset.bind(this),this._reset=this._reset.bind(this),this._resize=this._resize.bind(this),this._panEnd=this._panEnd.bind(this),this._activate(),this._updateAttribution()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._deactivate()},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.show=function(){this.reset(),this._activate(),this._applyExtent(!0)},e.prototype.hide=function(){this._deactivate(),this._setVisibility(!1)},e.prototype.reset=function(){this._beforeReset(),this._reset()},e.prototype._reset=function(){this._applyExtent()},e.prototype._beforeReset=function(){},e.prototype._resize=function(){},e.prototype._panEnd=function(){this._applyExtent()},e.prototype._applyExtent=function(){var t=this.options,e=this.map.zoom(),r=!at(t.minZoom)||e>=t.minZoom,i=!at(t.maxZoom)||e<=t.maxZoom,o=Rp.create(t.extent),n=!o||o.overlaps(this.map.extent());this._setVisibility(r&&i&&n)},e.prototype._setVisibility=function(t){this.element.style.display=t?"":"none"},e.prototype._activate=function(){var t=this.map;this._deactivate(),t.bind("beforeReset",this._beforeReset),t.bind("reset",this._reset),t.bind("resize",this._resize),t.bind("panEnd",this._panEnd)},e.prototype._deactivate=function(){var t=this.map;t.unbind("beforeReset",this._beforeReset),t.unbind("reset",this._reset),t.unbind("resize",this._resize),t.unbind("panEnd",this._panEnd)},e.prototype._updateAttribution=function(){var t=this.map.attribution;t&&t.add(this.options.attribution)},e.prototype._readData=function(){return this.options.data||[]},e.prototype._hasData=function(){return this._data&&this._data.length>0},e}(S.Class),Fp=Math,Hp=S.geometry.Point;function Up(t){return T(t)?t:F.compile(t)}function Kp(t){return new Hp(yt(t.x),yt(t.y))}function $p(t){var e=t;return"string"!=typeof t&&(e+="px"),e}var Gp=function(t){function e(e,r){t.call(this,e,r),"string"==typeof this.options.subdomains&&(this.options.subdomains=this.options.subdomains.split(""));var i=this._viewType();this._view=new i(this.element,this.options)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),this._view.destroy(),this._view=null},e.prototype._beforeReset=function(){var t=this.map,e=t.locationToLayer(t.extent().nw).round();this._view.viewOrigin(e)},e.prototype._reset=function(){t.prototype._reset.call(this),this._updateView(),this._view.reset()},e.prototype._viewType=function(){return Xp},e.prototype._activate=function(){t.prototype._activate.call(this),this.support.mobileOS||(this._pan||(this._pan=Object(S.throttle)(this._render.bind(this),100)),this.map.bind("pan",this._pan))},e.prototype._deactivate=function(){t.prototype._deactivate.call(this),this._pan&&this.map.unbind("pan",this._pan)},e.prototype._updateView=function(){var t=this._view,e=this.map,r=e.extent(),i={nw:e.locationToLayer(r.nw).round(),se:e.locationToLayer(r.se).round()};t.center(e.locationToLayer(e.center())),t.extent(i),t.zoom(e.zoom())},e.prototype._resize=function(){this._render()},e.prototype._panEnd=function(e){t.prototype._panEnd.call(this,e),this._render()},e.prototype._render=function(){this._updateView(),this._view.render()},e}(zp);Ct(Gp,{tileSize:256,subdomains:["a","b","c"],urlTemplate:"",zIndex:1});var Xp=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r),this.pool=new Wp}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.center=function(t){this._center=t},e.prototype.extent=function(t){this._extent=t},e.prototype.viewOrigin=function(t){this._viewOrigin=t},e.prototype.zoom=function(t){this._zoom=t},e.prototype.pointToTileIndex=function(t){return new Hp(Fp.floor(t.x/this.options.tileSize),Fp.floor(t.y/this.options.tileSize))},e.prototype.tileCount=function(){var t=this.size(),e=this.pointToTileIndex(this._extent.nw),r=this._extent.nw,i=this.indexToPoint(e).translate(-r.x,-r.y);return{x:Fp.ceil((Fp.abs(i.x)+t.width)/this.options.tileSize),y:Fp.ceil((Fp.abs(i.y)+t.height)/this.options.tileSize)}},e.prototype.size=function(){var t=this._extent.nw,e=this._extent.se.clone().translate(-t.x,-t.y);return{width:e.x,height:e.y}},e.prototype.indexToPoint=function(t){var e=t.x,r=t.y;return new Hp(e*this.options.tileSize,r*this.options.tileSize)},e.prototype.subdomainText=function(){var t=this.options.subdomains;return t[this.subdomainIndex++%t.length]},e.prototype.destroy=function(){up(this.element),this.pool.empty()},e.prototype.reset=function(){this.pool.reset(),this.subdomainIndex=0,this.render()},e.prototype.render=function(){var t,e,r,i=this.tileCount(),o=this.pointToTileIndex(this._extent.nw);for(e=0;e<i.x;e++)for(r=0;r<i.y;r++)(t=this.createTile({x:o.x+e,y:o.y+r})).visible||t.show()},e.prototype.createTile=function(t){var e=this.tileOptions(t),r=this.pool.get(this._center,e);return r.element.parentNode||this.element.append(r.element),r},e.prototype.tileOptions=function(t){var e=this.wrapIndex(t),r=this.indexToPoint(t),i=this._viewOrigin,o=r.clone().translate(-i.x,-i.y);return{index:e,currentIndex:t,point:r,offset:Kp(o),zoom:this._zoom,size:this.options.tileSize,subdomain:this.subdomainText(),urlTemplate:this.options.urlTemplate,errorUrlTemplate:this.options.errorUrlTemplate}},e.prototype.wrapIndex=function(t){var e=Fp.pow(2,this._zoom);return{x:this.wrapValue(t.x,e),y:dt(t.y,0,e-1)}},e.prototype.wrapValue=function(t,e){var r=Fp.abs(t)%e;return t>=0?r:e-(0===r?e:r)},e}(S.Class),Yp=function(t){function e(e,r){t.call(this),this.id=e,this.visible=!0,this._initOptions(r),this.createElement(),this.show()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){var t=this.element,e=t?t.parentNode:null;t&&(e&&e.removeChild(t),this.element=null)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.createElement=function(){var t=document.createElement("img"),e=this.options.size+"px";t.style.position="absolute",t.style.display="block",t.style.width=t.style.maxWidth=e,t.style.height=t.style.maxHeight=e,this.element=t},e.prototype.show=function(){var t=this.element;t.style.top=$p(this.options.offset.y),t.style.left=$p(this.options.offset.x);var e=this.url();e&&t.setAttribute("src",e),t.style.visibility="visible",this.visible=!0},e.prototype.hide=function(){this.element.style.visibility="hidden",this.visible=!1},e.prototype.url=function(){return Up(this.options.urlTemplate)(this.urlOptions())},e.prototype.errorUrl=function(){return Up(this.options.errorUrlTemplate)(this.urlOptions())},e.prototype.urlOptions=function(){var t=this.options;return{zoom:t.zoom,subdomain:t.subdomain,z:t.zoom,x:t.index.x,y:t.index.y,s:t.subdomain,quadkey:t.quadkey,q:t.quadkey,culture:t.culture,c:t.culture}},e}(S.Class);Ct(Yp,{urlTemplate:"",errorUrlTemplate:""});var Wp=function(t){function e(){t.call(this),this._items=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._items.length>=this.options.maxSize&&this._remove(t),this._create(e)},e.prototype.empty=function(){for(var t=this._items,e=0;e<t.length;e++)t[e].destroy();this._items=[]},e.prototype.reset=function(){for(var t=this._items,e=0;e<t.length;e++)t[e].hide()},e.prototype._create=function(t){for(var e,r=this._items,i=ht(t.point.toString()+t.offset.toString()+t.zoom+t.urlTemplate),o=0;o<r.length;o++)if(r[o].id===i){e=r[o];break}return e?e.show():(e=new Yp(i,t),this._items.push(e)),e},e.prototype._remove=function(t){for(var e=this._items,r=-1,i=-1,o=0;o<e.length;o++){var n=e[o].options.point.distanceTo(t);n>r&&!e[o].visible&&(i=o,r=n)}-1!==i&&(e[i].destroy(),e.splice(i,1))},e}(S.Class);Ct(Wp,{maxSize:100});var qp=Object.assign,Zp=function(t){function e(e,r){t.call(this);var i=this,o=e[0]||e;i.capture=!1;var n=dp(navigator.userAgent);o.addEventListener?(n.down.split(" ").forEach((function(t){o.addEventListener(t,gp(i._press,i),!0)})),n.up.split(" ").forEach((function(t){o.addEventListener(t,gp(i._release,i),!0)}))):(n.down.split(" ").forEach((function(t){o.attachEvent(t,gp(i._press,i))})),n.up.split(" ").forEach((function(t){o.attachEvent(t,gp(i._release,i))}))),i.bind(["press","release"],r||{})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.captureNext=function(){this.capture=!0},e.prototype.cancelCapture=function(){this.capture=!1},e.prototype._press=function(t){this.trigger("press"),this.capture&&t.preventDefault()},e.prototype._release=function(t){this.trigger("release"),this.capture&&(t.preventDefault(),this.cancelCapture())},e}(kp),Qp=function(t){function e(e){t.call(this);this.forcedEnabled=!1,qp(this,e),this.scale=1,this.horizontal?(this.measure="offsetWidth",this.scrollSize="scrollWidth",this.axis="x"):(this.measure="offsetHeight",this.scrollSize="scrollHeight",this.axis="y")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.makeVirtual=function(){qp(this,{virtual:!0,forcedEnabled:!0,_virtualMin:0,_virtualMax:0})},e.prototype.virtualSize=function(t,e){this._virtualMin===t&&this._virtualMax===e||(this._virtualMin=t,this._virtualMax=e,this.update())},e.prototype.outOfBounds=function(t){return t>this.max||t<this.min},e.prototype.forceEnabled=function(){this.forcedEnabled=!0},e.prototype.getSize=function(){return this.container[this.measure]},e.prototype.getTotal=function(){return this.element[this.scrollSize]},e.prototype.rescale=function(t){this.scale=t},e.prototype.update=function(t){var e=this.virtual?this._virtualMax:this.getTotal(),r=e*this.scale,i=this.getSize();(0!==e||this.forcedEnabled)&&(this.max=this.virtual?-this._virtualMin:0,this.size=i,this.total=r,this.min=Math.min(this.max,i-r),this.minScale=i/e,this.centerOffset=(r-i)/2,this.enabled=this.forcedEnabled||r>i,t||this.trigger("change",this))},e}(kp),Jp=function(t){function e(e){t.call(this);this.x=new Qp(qp({horizontal:!0},e)),this.y=new Qp(qp({horizontal:!1},e)),this.container=e.container,this.forcedMinScale=e.minScale,this.maxScale=e.maxScale||100,this.bind("change",e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.rescale=function(t){this.x.rescale(t),this.y.rescale(t),this.refresh()},e.prototype.centerCoordinates=function(){return{x:Math.min(0,-this.x.centerOffset),y:Math.min(0,-this.y.centerOffset)}},e.prototype.refresh=function(){this.x.update(),this.y.update(),this.enabled=this.x.enabled||this.y.enabled,this.minScale=this.forcedMinScale||Math.min(this.x.minScale,this.y.minScale),this.fitScale=Math.max(this.x.minScale,this.y.minScale),this.trigger("change")},e}(kp),th=function(t){function e(e){t.call(this),qp(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.outOfBounds=function(){return this.dimension.outOfBounds(this.movable[this.axis])},e.prototype.dragMove=function(t){var e=this.dimension,r=this.axis,i=this.movable,o=i[r]+t;if(e.enabled){var n=t;(o<e.min&&t<0||o>e.max&&t>0)&&(n*=this.resistance),i.translateAxis(r,n),this.trigger("change",this)}},e}(kp),eh=function(t){function e(e){t.call(this);var r,i,o,n,a=this;qp(a,{elastic:!0},e),o=a.elastic?.5:0,n=a.movable,a.x=r=new th({axis:"x",dimension:a.dimensions.x,resistance:o,movable:n}),a.y=i=new th({axis:"y",dimension:a.dimensions.y,resistance:o,movable:n}),a.userEvents.bind(["press","move","end","gesturestart","gesturechange"],{gesturestart:function(t){a.gesture=t,a.offset=ut(a.dimensions.container)},press:function(t){var e=t.event.target.closest("a");e&&e.matches("[data-navigate-on-press=true]")&&t.sender.cancel()},gesturechange:function(t){var e,o=a.gesture,s=o.center,u=t.center,l=t.distance/o.distance,c=a.dimensions.minScale,p=a.dimensions.maxScale;n.scale<=c&&l<1&&(l+=.8*(1-l)),n.scale*l>=p&&(l=p/n.scale);var h=n.x+a.offset.left,f=n.y+a.offset.top;e={x:(h-s.x)*l+u.x-h,y:(f-s.y)*l+u.y-f},n.scaleWith(l),r.dragMove(e.x),i.dragMove(e.y),a.dimensions.rescale(n.scale),a.gesture=t,t.preventDefault()},move:function(t){t.event.target.tagName.match(/textarea|input/i)||(r.dimension.enabled||i.dimension.enabled?(r.dragMove(t.x.delta),i.dragMove(t.y.delta),t.preventDefault()):t.touch.skip())},end:function(t){t.preventDefault()}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class),rh=function(t,e,r){return"translate3d("+t+"px,"+e+"px,0) scale("+r+")"},ih=function(t){function e(e){t.call(this);this.support=vp(),this.transformStyle=this.support.transitions.prefix+"Transform",this.element=e,this.element.style.webkitTransformOrigin="left top",this.x=0,this.y=0,this.scale=1;var r=rh(this.x,this.y,this.scale);this.element.style[this.transformStyle]=r,this._saveCoordinates(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.translateAxis=function(t,e){this[t]+=e,this.refresh()},e.prototype.scaleTo=function(t){this.scale=t,this.refresh()},e.prototype.scaleWith=function(t){this.scale*=t,this.refresh()},e.prototype.translate=function(t){this.x+=t.x,this.y+=t.y,this.refresh()},e.prototype.moveAxis=function(t,e){this[t]=e,this.refresh()},e.prototype.moveTo=function(t){qp(this,t),this.refresh()},e.prototype.refresh=function(){var t,e=this.x,r=this.y;this.round&&(e=Math.round(e),r=Math.round(r)),(t=rh(e,r,this.scale))!==this.coordinates&&(this.element.style[this.transformStyle]=t,this._saveCoordinates(t),this.trigger("change"))},e.prototype._saveCoordinates=function(t){this.coordinates=t},e}(kp),oh=S.drawing.Group,nh=function(t){function e(e,r){t.call(this,e,r),this._pan=gp(this._pan,this),this.surface=S.drawing.Surface.create(this.element,{width:e.scrollElement.clientWidth,height:e.scrollElement.clientHeight}),this._initRoot(),this.movable=new ih(this.surface.element),this._markers=[],this._click=this._handler("shapeClick"),this.surface.bind("click",this._click),this._mouseenter=this._handler("shapeMouseEnter"),this.surface.bind("mouseenter",this._mouseenter),this._mouseleave=this._handler("shapeMouseLeave"),this.surface.bind("mouseleave",this._mouseleave)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),this.surface.destroy()},e.prototype._reset=function(){t.prototype._reset.call(this),this._translateSurface(),this._data=this._readData(),this._hasData()&&this._load(this._data)},e.prototype._initRoot=function(){this._root=new oh,this.surface.draw(this._root)},e.prototype._beforeReset=function(){this.surface.clear(),this._initRoot()},e.prototype._resize=function(){this.surface.size(this.map.size())},e.prototype._readData=function(){var e=t.prototype._readData.call(this);return"FeatureCollection"===e.type?e.features:"GeometryCollection"===e.type?e.geometries:e},e.prototype._load=function(t){this._data=t,this._clearMarkers(),this._loader||(this._loader=new ah(this.map,this.options.style,this));for(var e=new oh,r=0;r<t.length;r++){var i=this._loader.parse(t[r]);i&&e.append(i)}this._root.clear(),this._root.append(e)},e.prototype.shapeCreated=function(t){var e=!1;if(t instanceof S.drawing.Circle&&this.map.options.renderPointsAsMarkers&&(e=at(this._createMarker(t))),!e){var r={layer:this,shape:t};e=this.map.trigger("shapeCreated",r)}return e},e.prototype.featureCreated=function(t){t.layer=this,this.map.trigger("shapeFeatureCreated",t)},e.prototype._createMarker=function(t){var e=this.map.markers.bind({location:t.location},t.dataItem);return e&&this._markers.push(e),e},e.prototype._clearMarkers=function(){for(var t=0;t<this._markers.length;t++)this.map.markers.remove(this._markers[t]);this._markers=[]},e.prototype._pan=function(){this._panning||(this._panning=!0,this.surface.suspendTracking())},e.prototype._panEnd=function(e){t.prototype._panEnd.call(this,e),this._translateSurface(),this.surface.resumeTracking(),this._panning=!1},e.prototype._translateSurface=function(){var t=this.map,e=t.locationToView(t.extent().nw);this.surface.translate&&(this.surface.translate(e),this.movable.moveTo({x:e.x,y:e.y}))},e.prototype._handler=function(t){var e=this;return function(r){if(r.element){var i={layer:e,layerIndex:(e.map.layers||[]).indexOf(e),shape:r.element,shapeIndex:(e._data||[]).indexOf(r.element.dataItem),originalEvent:r.originalEvent};e.map.trigger(t,i)}}},e.prototype._activate=function(){t.prototype._activate.call(this),this._panHandler=gp(this._pan,this),this.map.bind("pan",this.panHandler)},e.prototype._deactivate=function(){t.prototype._deactivate.call(this),this.map.unbind("pan",this._panHandler)},e}(zp);Ct(nh,{autoBind:!0,zIndex:100});var ah=function(t){function e(e,r,i){t.call(this),this.observer=i,this.locator=e,this.style=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.parse=function(t){var e=new oh,r=!0;return"Feature"===t.type?(r=!1,this._loadGeometryTo(e,t.geometry,t),this._featureCreated(e,t)):this._loadGeometryTo(e,t,t),r&&e.children.length<2&&(e=e.children[0]),e},e.prototype._shapeCreated=function(t){var e=!1;return this.observer&&this.observer.shapeCreated&&(e=this.observer.shapeCreated(t)),e},e.prototype._featureCreated=function(t,e){this.observer&&this.observer.featureCreated&&this.observer.featureCreated({group:t,dataItem:e,properties:e.properties})},e.prototype._loadGeometryTo=function(t,e,r){var i,o,n=e.coordinates;switch(e.type){case"LineString":o=this._loadPolygon(t,[n],r),this._setLineFill(o);break;case"MultiLineString":for(i=0;i<n.length;i++)o=this._loadPolygon(t,[n[i]],r),this._setLineFill(o);break;case"Polygon":this._loadPolygon(t,n,r);break;case"MultiPolygon":for(i=0;i<n.length;i++)this._loadPolygon(t,n[i],r);break;case"Point":this._loadPoint(t,n,r);break;case"MultiPoint":for(i=0;i<n.length;i++)this._loadPoint(t,n[i],r)}},e.prototype._setLineFill=function(t){var e=t.segments;(e.length<4||!e[0].anchor().equals(ft(e).anchor()))&&(t.options.fill=null)},e.prototype._loadShape=function(t,e){return this._shapeCreated(e)||t.append(e),e},e.prototype._loadPolygon=function(t,e,r){var i=this._buildPolygon(e);return i.dataItem=r,this._loadShape(t,i)},e.prototype._buildPolygon=function(t){for(var e=new(t.length>1?S.drawing.MultiPath:S.drawing.Path)(this.style),r=0;r<t.length;r++)for(var i=0;i<t[r].length;i++){var o=this.locator.locationToView(Hc.fromLngLat(t[r][i]));0===i?e.moveTo(o.x,o.y):e.lineTo(o.x,o.y)}return e},e.prototype._loadPoint=function(t,e,r){var i=Hc.fromLngLat(e),o=this.locator.locationToView(i),n=new S.geometry.Circle(o,10),a=new S.drawing.Circle(n,this.style);return a.dataItem=r,a.location=i,this._loadShape(t,a)},e}(S.Class),sh=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._readData=function(){return this.options.data||[]},e.prototype._load=function(t){if(this._data=t,this.surface.clear(),0!==t.length){var e=this.options,r=$(e.valueField),i=t.slice(0);i.sort((function(t,e){return r(e)-r(t)}));for(var o,n=this._scaleType(),a=$(this.options.locationField),s=0;s<i.length;s++){var u=i[s],l=a(u),c=r(u);if(at(l)&&at(c)){o||(o=new n([0,c],[e.minSize,e.maxSize])),l=Hc.create(l);var p=this.map.locationToView(l),h=o.map(c),f=this._createSymbol({center:p,size:h,style:e.style,dataItem:u,location:l});f.dataItem=u,f.location=l,f.value=c,this._drawSymbol(f)}}}},e.prototype._scaleType=function(){var t=this.options.scale;return T(t)?t:uh[t]},e.prototype._createSymbol=function(t){var e=this.options.symbol;return T(e)||(e=lh[e]),e(t)},e.prototype._drawSymbol=function(t){var e={layer:this,shape:t};this.map.trigger("shapeCreated",e)||this.surface.draw(t)},e}(nh);Ct(sh,{locationField:"location",valueField:"value",minSize:0,maxSize:100,scale:"sqrt",symbol:"circle",zIndex:200});var uh={sqrt:function(t){function e(e,r){t.call(this),this._domain=e,this._range=r;var i=Math.sqrt(e[1])-Math.sqrt(e[0]),o=r[1]-r[0];this._ratio=o/i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.map=function(t){var e=(Math.sqrt(t)-Math.sqrt(this._domain[0]))*this._ratio;return this._range[0]+e},e}(S.Class)},lh={circle:function(t){var e=new S.geometry.Circle(t.center,t.size/2);return new S.drawing.Circle(e,t.style)},square:function(t){var e=new S.drawing.Path(t.style),r=t.size/2,i=t.center;return e.moveTo(i.x-r,i.y-r).lineTo(i.x+r,i.y-r).lineTo(i.x+r,i.y+r).lineTo(i.x-r,i.y+r).close(),e}},ch=Object.assign,ph=function(t){function e(e,r){t.call(this,e,r),this._markerClickHandler=gp(this._markerClick,this),yp(this.element,"click",".k-marker",this._markerClickHandler),this.items=[],this._load(this._readData())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),xp(this.element,"click",this._markerClickHandler),this.clear()},e.prototype.add=function(t){if(!x(t))return this._addOne(t);for(var e=0;e<t.length;e++)this._addOne(t[e])},e.prototype.remove=function(t){t.destroy();var e=(this.items||[]).indexOf(t);e>-1&&this.items.splice(e,1)},e.prototype.clear=function(){for(var t=0;t<this.items.length;t++)this.items[t].destroy();this.items=[]},e.prototype.update=function(t){var e=t.location();if(e){t.showAt(this.map.locationToView(e));var r={marker:t,layer:this};this.map.trigger("markerActivate",r)}},e.prototype._reset=function(){t.prototype._reset.call(this);for(var e=this.items,r=0;r<e.length;r++)this.update(e[r])},e.prototype.bind=function(t,e){var r=hh.create(t,this.options);r.dataItem=e;var i={marker:r,layer:this};if(!this.map.trigger("markerCreated",i))return this.add(r),r},e.prototype._addOne=function(t){var e=hh.create(t,this.options);return e.addTo(this),e},e.prototype._readData=function(){return this.options.data||[]},e.prototype._load=function(t){this._data=t,this.clear();for(var e=$(this.options.locationField),r=$(this.options.titleField),i=0;i<t.length;i++){var o=t[i];this.bind({location:e(o),title:r(o)},o)}},e.prototype._markerClick=function(t){var e=this.map.layers||[],r=t.target._kendoNode,i={layer:this,layerIndex:e.indexOf(this),marker:r,markerIndex:(this.items||[]).indexOf(r),originalEvent:t};this.map.trigger("markerClick",i)},e.prototype._markerMouseEnter=function(t){var e=this._createMarkerEventArgs(t);this.map.trigger("markerMouseEnter",e)},e.prototype._markerMouseLeave=function(t){var e=this._createMarkerEventArgs(t);this.map.trigger("markerMouseLeave",e)},e.prototype._createMarkerEventArgs=function(t){var e=t.marker;return ch({},{layer:this,layerIndex:this.map.layers.indexOf(this),marker:e,markerIndex:(this.items||[]).indexOf(e)},t)},e}(zp);Ct(ph,{zIndex:1e3,autoBind:!0,locationField:"location",titleField:"title"});var hh=function(t){function e(e){t.call(this),this.options=e||{}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.layer=null,this.unbindEvents(),this.hide()},e.prototype.addTo=function(t){this.layer=t.markers||t,this.layer.items.push(this),this.layer.update(this)},e.prototype.location=function(t){return t?(this.options.location=Hc.create(t).toArray(),this.layer&&this.layer.update(this),this):Hc.create(this.options.location)},e.prototype.showAt=function(t){this.render(),this.element.style.left=pp(Math.round(t.x)),this.element.style.top=pp(Math.round(t.y)),this.tooltip&&this.tooltip.popup&&this.tooltip.popup._position()},e.prototype.hide=function(){this.element&&(this.element.remove(),this.element=null),this.tooltip&&(this.tooltip.destroy(),this.tooltip=null)},e.prototype.bindEvents=function(){this.element&&(this._mouseEnterHandler=gp(this._mouseEnter,this),yp(this.element,"mouseenter",".k-marker",this._mouseEnterHandler),this._mouseLeaveHandler=gp(this._mouseLeave,this),yp(this.element,"mouseleave",".k-marker",this._mouseLeaveHandler))},e.prototype.unbindEvents=function(){this.element&&(xp(this.element,"mouseenter",this._mouseEnterHandler),xp(this.element,"mouseleave",this._mouseLeaveHandler))},e.prototype.render=function(){if(!this.element){var t=this.options,e=this.layer,r=document.createElement("span");_(r,"k-marker k-icon k-i-marker-"+cp(t.shape||"pin")),r.setAttribute("title",t.title);var i=t.attributes||{};Object.keys(i).forEach((function(t){r.setAttributett(t,i[t])})),r._kendoNode=this,r.style.zIndex=t.zIndex,this.element=r,e&&e.element.appendChild(this.element),this.bindEvents(),this.renderTooltip()}},e.prototype._mouseEnter=function(t){var e=this._createEventArgs(t);this.layer._markerMouseEnter(e)},e.prototype._mouseLeave=function(t){var e=this._createEventArgs(t);this.layer._markerMouseLeave(e)},e.prototype._createEventArgs=function(t){return{marker:this,originalEvent:t}},e.prototype.renderTooltip=function(){},e.create=function(t,r){return t instanceof e?t:new e(V({},r,t))},e}(S.Class),fh=Object.assign;function dh(t){window.requestAnimationFrame(t)}var vh=function(t){function e(){t.call(this);this._tickProxy=gp(this._tick,this),this._started=!1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.tick=function(){},e.prototype.done=function(){},e.prototype.onEnd=function(){},e.prototype.onCancel=function(){},e.prototype.start=function(){this.enabled()&&(this.done()?this.onEnd():(this._started=!0,dh(this._tickProxy)))},e.prototype.enabled=function(){return!0},e.prototype.cancel=function(){this._started=!1,this.onCancel()},e.prototype._tick=function(){this._started&&(this.tick(),this.done()?(this._started=!1,this.onEnd()):dh(this._tickProxy))},e}(S.Class),gh=function(t){function e(e){t.call(this),fh(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.done=function(){return this.timePassed()>=this.duration},e.prototype.timePassed=function(){return Math.min(this.duration,Op()-this.startDate)},e.prototype.moveTo=function(t){var e=this.movable;this.initial=e[this.axis],this.delta=t.location-this.initial,this.duration="number"==typeof t.duration?t.duration:300,this.tick=this._easeProxy(t.ease),this.startDate=Op(),this.start()},e.prototype._easeProxy=function(t){var e=this;return function(){e.movable.moveAxis(e.axis,t(e.timePassed(),e.initial,e.delta,e.duration))}},e.easeOutExpo=function(t,e,r,i){return t===i?e+r:r*(1-Math.pow(2,-10*t/i))+e},e}(vh),yh=Object.assign,mh=function(t){t.preventDefault()},bh=800,xh=0,_h={api:0,touch:0,mouse:9,pointer:9};function Ch(t){var e,r,i,o=vp(),n=[],a=t.originalEvent||t,s=t.currentTarget,u=0;if(t.api)n.push({id:2,event:t,target:t.target,currentTarget:t.target,location:t,type:"api"});else if(t.type.match(/touch/))for(e=(r=a?a.changedTouches:[]).length;u<e;u++)i=r[u],n.push({location:i,event:t,target:i.target,currentTarget:s,id:i.identifier,type:"touch"});else o.pointers||o.msPointers?n.push({location:a,event:t,target:t.target,currentTarget:s,id:a.pointerId,type:"pointer"}):n.push({id:1,event:t,target:t.target,currentTarget:s,location:t,type:"mouse"});return n}var wh=function(t){function e(e,r){t.call(this);this.support=vp(),this.invalidZeroEvents=this.support.mobileOS&&this.support.mobileOS.android,this.axis=e,this._updateLocationData(r),this.startLocation=this.location,this.velocity=this.delta=0,this.timeStamp=Op()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.move=function(t){var e=t["page"+this.axis],r=Op(),i=r-this.timeStamp||1;!e&&this.invalidZeroEvents||(this.delta=e-this.location,this._updateLocationData(t),this.initialDelta=e-this.startLocation,this.velocity=this.delta/i,this.timeStamp=r)},e.prototype._updateLocationData=function(t){var e=this.axis;this.location=t["page"+e],this.client=t["client"+e],this.screen=t["screen"+e]},e}(S.Class),Sh=function(t){function e(e,r,i){t.call(this),yh(this,{x:new wh("X",i.location),y:new wh("Y",i.location),type:i.type,useClickAsTap:e.useClickAsTap,threshold:e.threshold||_h[i.type],userEvents:e,target:r,currentTarget:i.currentTarget,initialTouch:i.target,id:i.id,pressEvent:i,_clicks:e._clicks,supportDoubleTap:e.supportDoubleTap,_moved:!1,_finished:!1})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.press=function(){this._holdTimeout=setTimeout(gp(this._hold,this),this.userEvents.minHold),this._trigger("press",this.pressEvent)},e.prototype._tap=function(t){var e=this;e.userEvents._clicks++,1===e.userEvents._clicks&&(e._clickTimeout=setTimeout((function(){1===e.userEvents._clicks?e._trigger("tap",t):e._trigger("doubleTap",t),e.userEvents._clicks=0}),300))},e.prototype._hold=function(){this._trigger("hold",this.pressEvent)},e.prototype.move=function(t){var e="api"!==t.type&&this.userEvents._shouldNotMove;if(!this._finished&&!e){if(this.x.move(t.location),this.y.move(t.location),!this._moved){if(this._withinIgnoreThreshold())return;if(Ph.current&&Ph.current!==this.userEvents)return this.dispose();this._start(t)}this._finished||this._trigger("move",t)}},e.prototype.end=function(t){this.endTime=Op(),this._finished||(this._finished=!0,this._trigger("release",t),this._moved?this._trigger("end",t):this.useClickAsTap||(this.supportDoubleTap?this._tap(t):this._trigger("tap",t)),clearTimeout(this._holdTimeout),this.dispose())},e.prototype.dispose=function(){var t=this.userEvents.touches||[];this._finished=!0,this.pressEvent=null,clearTimeout(this._holdTimeout);var e=t.indexOf(this);t.splice(e,1)},e.prototype.skip=function(){this.dispose()},e.prototype.cancel=function(){this.dispose()},e.prototype.isMoved=function(){return this._moved},e.prototype._start=function(t){clearTimeout(this._holdTimeout),this.startTime=Op(),this._moved=!0,this._trigger("start",t)},e.prototype._trigger=function(t,e){var r=e.event,i={touch:this,x:this.x,y:this.y,target:this.target,event:r};this.userEvents.notify(t,i)&&r.preventDefault()},e.prototype._withinIgnoreThreshold=function(){var t=this.x.initialDelta,e=this.y.initialDelta;return Math.sqrt(t*t+e*e)<=this.threshold},e}(S.Class);function Oh(t){for(var e=dp(navigator.userAgent).up.split(" "),r=0,i=e.length;r<i;r++)t(e[r])}var Ph=function(t){function e(e,r){t.call(this);var i,o=vp();this.support=o,r=r||{},this.options=r,i=this.filter=r.filter,this.threshold=r.threshold||xh,this.minHold=r.minHold||bh,this.touches=[],this._maxTouches=r.multiTouch?2:1,this.allowSelection=r.allowSelection,this.captureUpIfMoved=r.captureUpIfMoved,this.useClickAsTap=!r.fastTap&&!o.delayedClick(),this._clicks=0,this.supportDoubleTap=r.supportDoubleTap;var n=!o.touch||o.mouseAndTouchPresent;if(yh(this,{element:e,surface:r.global&&n?e.ownerDocument.documentElement:r.surface||e,stopPropagation:r.stopPropagation,pressed:!1}),this._surfaceMoveHandler=gp(this._move,this),yp(this.surface,wp("move"),this._surfaceMoveHandler),this._surfaceEndHandler=gp(this._end,this),yp(this.surface,wp("up cancel"),this._surfaceEndHandler),this._elementStartHandler=gp(this._start,this),yp(e,wp("down"),i,this._elementStartHandler),this.useClickAsTap&&(this._elementClickHandler=gp(this._click,this),yp(e,wp("click"),i,this._elementClickHandler)),o.pointers||o.msPointers)if(o.browser.version<11){e.style["-ms-touch-action"]=r.touchAction&&"none"!==r.touchAction?"pinch-zoom double-tap-zoom "+r.touchAction:"pinch-zoom double-tap-zoom"}else e.style["touch-action"]=r.touchAction||"none";if(r.preventDragEvent&&(this._elementDragStartHandler=mh,yp(e,wp("dragstart"),this._elementDragStartHandler)),this._elementSelectHandler=gp(this._select,this),yp(e,wp("mousedown"),i,this._elementSelectHandler),this.captureUpIfMoved&&o.eventCapture){var a=this.surface,s=gp(this.preventIfMoving,this);Oh((function(t){a.addEventListener(t,s,!0)}))}this.bind(["press","hold","tap","doubleTap","start","move","end","release","cancel","gesturestart","gesturechange","gestureend","gesturetap","select"],r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.preventIfMoving=function(t){this._isMoved()&&t.preventDefault()},e.prototype.destroy=function(){var t=this,e=this.options,r=this.element;if(!t._destroyed){if(t._destroyed=!0,t.captureUpIfMoved&&this.support.eventCapture){var i=t.surface;Oh((function(e){i.removeEventListener(e,t.preventIfMoving)}))}xp(t.surface,wp("move"),this._surfaceMoveHandler),xp(t.surface,wp("up cancel"),this._surfaceEndHandler),xp(r,wp("down"),this._elementStartHandler),t.useClickAsTap&&xp(r,wp("click"),this._elementClickHandler),e.preventDragEvent&&xp(r,wp("dragstart"),this._elementDragStartHandler),xp(r,wp("mousedown"),this._elementSelectHandler),t._disposeAll(),t.unbind(),delete t.surface,delete t.element,delete t.currentTarget}},e.prototype.capture=function(){e.current=this},e.prototype.cancel=function(){this._disposeAll(),this.trigger("cancel")},e.prototype.notify=function(t,e){var r,i,o,n,a,s,u,l,c=this.touches,p=t;if(this._isMultiTouch()){switch(p){case"move":p="gesturechange";break;case"end":p="gestureend";break;case"tap":p="gesturetap"}yh(e,{touches:c},(r=c[0],i=c[1],o=r.x.location,n=r.y.location,a=i.x.location,s=i.y.location,u=o-a,l=n-s,{center:{x:(o+a)/2,y:(n+s)/2},distance:Math.sqrt(u*u+l*l)}))}return this.trigger(p,yh(e,{type:p}))},e.prototype.press=function(t,e,r){this._apiCall("_start",t,e,r)},e.prototype.move=function(t,e){this._apiCall("_move",t,e)},e.prototype.end=function(t,e){this._apiCall("_end",t,e)},e.prototype._isMultiTouch=function(){return this.touches.length>1},e.prototype._maxTouchesReached=function(){return this.touches.length>=this._maxTouches},e.prototype._disposeAll=function(){for(var t=this.touches;t.length>0;)t.pop().dispose()},e.prototype._isMoved=function(){return G(this.touches,(function(t){return t.isMoved()})).length},e.prototype._select=function(t){this.allowSelection&&!this.trigger("select",{event:t})||t.preventDefault()},e.prototype._start=function(t){var r,i,o=0,n=this.filter,a=Ch(t),s=a.length,u=t.which;if(!(u&&u>1||this._maxTouchesReached()))for(e.current=null,this.currentTarget=t.currentTarget,this.stopPropagation&&t.stopPropagation();o<s&&!this._maxTouchesReached();o++)i=a[o],(r=n?i.currentTarget:this.element)&&0===r.length||(i=new Sh(this,r,i),this.touches.push(i),i.press(),this._isMultiTouch()&&this.notify("gesturestart",{}))},e.prototype._move=function(t){this._eachTouch("move",t)},e.prototype._end=function(t){this._eachTouch("end",t)},e.prototype._click=function(t){var e={touch:{initialTouch:t.target,target:t.currentTarget,endTime:Op(),x:{location:t.pageX,client:t.clientX},y:{location:t.pageY,client:t.clientY}},x:t.pageX,y:t.pageY,target:t.currentTarget,event:t,type:"tap"};this.trigger("tap",e)&&t.preventDefault()},e.prototype._eachTouch=function(t,e){var r,i,o,n,a={},s=Ch(e),u=this.touches;for(r=0;r<u.length;r++)a[(i=u[r]).id]=i;for(r=0;r<s.length;r++)(n=a[(o=s[r]).id])&&n[t](o)},e.prototype._apiCall=function(t,e,r,i){this[t]({api:!0,pageX:e,pageY:r,clientX:e,clientY:r,target:i||this.element,stopPropagation:Pp,preventDefault:Pp})},e.defaultThreshold=function(t){xh=t},e.minHold=function(t){bh=t},e}(kp),Ah=Object.assign,jh=Math.abs,kh=function(t){function e(e){t.call(this,e);Ah(this,e),this.userEvents.bind("gestureend",this.start.bind(this)),this.tapCapture.bind("press",this.cancel.bind(this))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.enabled=function(){return this.movable.scale<this.dimensions.minScale},e.prototype.done=function(){return this.dimensions.minScale-this.movable.scale<.01},e.prototype.tick=function(){var t=this.movable;t.scaleWith(1.1),this.dimensions.rescale(t.scale)},e.prototype.onEnd=function(){var t=this.movable;t.scaleTo(this.dimensions.minScale),this.dimensions.rescale(t.scale)},e}(vh),Th=function(t){function e(e){t.call(this);var r=this;Ah(r,e,{transition:new gh({axis:e.axis,movable:e.movable,onEnd:function(){r._end()}})}),r.tapCapture.bind("press",(function(){r.cancel()})),r.userEvents.bind("end",gp(r.start,r)),r.userEvents.bind("gestureend",gp(r.start,r)),r.userEvents.bind("tap",gp(r.onEnd,r))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onCancel=function(){this.transition.cancel()},e.prototype.freeze=function(t){this.cancel(),this._moveTo(t)},e.prototype.onEnd=function(){this.paneAxis.outOfBounds()?this._snapBack():this._end()},e.prototype.done=function(){return jh(this.velocity)<1},e.prototype.start=function(e){var r;this.dimension.enabled&&(this.paneAxis.outOfBounds()?this.transition._started?(this.transition.cancel(),this.velocity=Math.min(e.touch[this.axis].velocity*this.velocityMultiplier,55),t.prototype.start.call(this)):this._snapBack():(r=2===e.touch.id?0:e.touch[this.axis].velocity,this.velocity=Math.max(Math.min(r*this.velocityMultiplier,55),-55),this.tapCapture.captureNext(),t.prototype.start.call(this)))},e.prototype.tick=function(){var t=this.dimension,e=this.paneAxis.outOfBounds()?.5:this.friction,r=this.velocity*=e,i=this.movable[this.axis]+r;!this.elastic&&t.outOfBounds(i)&&(i=Math.max(Math.min(i,t.max),t.min),this.velocity=0),this.movable.moveAxis(this.axis,i)},e.prototype._end=function(){this.tapCapture.cancelCapture(),this.end()},e.prototype._snapBack=function(){var t=this.dimension,e=this.movable[this.axis]>t.max?t.max:t.min;this._moveTo(e)},e.prototype._moveTo=function(t){this.transition.moveTo({location:t,duration:500,ease:gh.easeOutExpo})},e}(vh),Mh=function(t){function e(e){t.call(this,e);Ah(this,e,{origin:{},destination:{},offset:{}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.tick=function(){this._updateCoordinates(),this.moveTo(this.origin)},e.prototype.done=function(){return jh(this.offset.y)<5&&jh(this.offset.x)<5},e.prototype.onEnd=function(){this.moveTo(this.destination),this.callback&&this.callback.call()},e.prototype.setCoordinates=function(t,e){this.offset={},this.origin=t,this.destination=e},e.prototype.setCallback=function(t){t&&T(t)?this.callback=t:t=void 0},e.prototype._updateCoordinates=function(){this.offset={x:(this.destination.x-this.origin.x)/4,y:(this.destination.y-this.origin.y)/4},this.origin={y:this.origin.y+this.offset.y,x:this.origin.x+this.offset.x}},e}(vh),Vh=function(t){function e(e){t.call(this);var r="x"===e.axis,i=sp('<div class="km-touch-scrollbar km-'+(r?"horizontal":"vertical")+'-scrollbar" />');Ah(this,e,{element:i,elementSize:0,movable:new ih(i),scrollMovable:e.movable,alwaysVisible:e.alwaysVisible,size:r?"width":"height"}),this.scrollMovable.bind("change",this.refresh.bind(this)),this.container.appendChild(i),e.alwaysVisible&&this.show()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.refresh=function(){var t=this.axis,e=this.dimension,r=e.size,i=this.scrollMovable,o=r/e.total,n=Math.round(-i[t]*o),a=Math.round(r*o);this.element.style.display=o>=1?"none":"",n+a>r?a=r-n:n<0&&(a+=n,n=0),this.elementSize!==a&&(this.element.style[this.size]=a+"px",this.elementSize=a),this.movable.moveAxis(t,n)},e.prototype.show=function(){this.element.style.opacity=.7,this.element.style.visibility="visible"},e.prototype.hide=function(){this.alwaysVisible||(this.element.style.opacity=0)},e}(S.Class),Nh=function(t){function e(e,r){t.call(this);var i=this;this.element=e,this._initOptions(r);var o,n,a=(o=navigator.userAgent,(n=hp(o)).ios||n.android);i._native=i.options.useNative&&a;var s=sp('<div class="km-scroll-header"/>');if(i._native)return _(e,"km-native-scroller"),lp(s,e),void Ah(i,{scrollElement:e,fixedContainer:e.children[0]});e.style.overflow="hidden",_(e,"km-scroll-wrapper"),function(t,e){for(t.appendChild(e);t.firstChild!==e;)e.appendChild(t.firstChild)}(e,sp('<div class="km-scroll-container"/>')),lp(s,e);var u=e.children[1],l=new Zp(e),c=new ih(u),p=new Jp({element:u,container:e,forcedEnabled:i.options.zoom}),h=this.options.avoidScrolling,f=new Ph(e,{touchAction:"pan-y",fastTap:!0,allowSelection:!0,preventDragEvent:!0,captureUpIfMoved:!0,multiTouch:i.options.zoom,supportDoubleTap:i.options.supportDoubleTap,start:function(t){p.refresh();var e=jh(t.x.velocity),r=jh(t.y.velocity),o=2*e>=r,n=2*r>=e;!function(t,e){return t===e||function(t,e){if(!e)return!1;for(var r=e.parentNode;null!==r;){if(r===t)return!0;r=r.parentNode}return!1}(t,e)}(i.fixedContainer,t.event.target)&&!h(t)&&i.enabled&&(p.x.enabled&&o||p.y.enabled&&n)?f.capture():f.cancel()}}),d=new eh({movable:c,dimensions:p,userEvents:f,elastic:i.options.elastic}),v=new kh({movable:c,dimensions:p,userEvents:f,tapCapture:l}),g=new Mh({moveTo:function(t){i.scrollTo(t.x,t.y)}});c.bind("change",(function(){i.scrollTop=-c.y,i.scrollLeft=-c.x,i.trigger("scroll",{scrollTop:i.scrollTop,scrollLeft:i.scrollLeft})})),i.options.mousewheelScrolling&&(this._wheelScrollHandler=this._wheelScroll.bind(this),yp(e,"DOMMouseScroll mousewheel",this._wheelScrollHandler)),Ah(i,{movable:c,dimensions:p,zoomSnapBack:v,animatedScroller:g,userEvents:f,pane:d,tapCapture:l,pulled:!1,enabled:!0,scrollElement:u,scrollTop:0,scrollLeft:0,fixedContainer:e.children[0]}),i._initAxis("x"),i._initAxis("y"),i._wheelEnd=function(){i._wheel=!1,i.userEvents.end(0,i._wheelY)},p.refresh(),i.options.pullToRefresh&&i._initPullToRefresh()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._wheelScroll=function(t){if(!t.ctrlKey){this._wheel||(this._wheel=!0,this._wheelY=0,this.userEvents.press(0,this._wheelY)),clearTimeout(this._wheelTimeout),this._wheelTimeout=setTimeout(this._wheelEnd,50);var e=function(t){var e,r=t.originalEvent||t,i=r.wheelDeltaY;return r.wheelDelta?(void 0===i||i)&&(e=r.wheelDelta):r.detail&&r.axis===r.VERTICAL_AXIS&&(e=10*-r.detail),e}(t);e&&(this._wheelY+=e,this.userEvents.move(0,this._wheelY)),t.preventDefault()}},e.prototype.makeVirtual=function(){this.dimensions.y.makeVirtual()},e.prototype.virtualSize=function(t,e){this.dimensions.y.virtualSize(t,e)},e.prototype.height=function(){return this.dimensions.y.size},e.prototype.scrollHeight=function(){return this.scrollElement.scrollHeight},e.prototype.scrollWidth=function(){return this.scrollElement.scrollWidth},e.prototype._resize=function(){this._native||this.contentResized()},e.prototype.setOptions=function(t){this._initOptions(t),t.pullToRefresh&&this._initPullToRefresh()},e.prototype.reset=function(){this._native?this.scrollElement.scrollTop(0):(this.movable.moveTo({x:0,y:0}),this._scale(1))},e.prototype.contentResized=function(){this.dimensions.refresh(),this.pane.x.outOfBounds()&&this.movable.moveAxis("x",this.dimensions.x.min),this.pane.y.outOfBounds()&&this.movable.moveAxis("y",this.dimensions.y.min)},e.prototype.zoomOut=function(){var t=this.dimensions;t.refresh(),this._scale(t.fitScale),this.movable.moveTo(t.centerCoordinates())},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.scrollTo=function(t,e){this._native?(this.scrollElement.scrollLeft(jh(t)),this.scrollElement.scrollTop(jh(e))):(this.dimensions.refresh(),this.movable.moveTo({x:t,y:e}))},e.prototype.animatedScrollTo=function(t,e,r){var i,o;this._native?this.scrollTo(t,e):(i={x:this.movable.x,y:this.movable.y},o={x:t,y:e},this.animatedScroller.setCoordinates(i,o),this.animatedScroller.setCallback(r),this.animatedScroller.start())},e.prototype.pullHandled=function(){},e.prototype.destroy=function(){var t=this.element;xp(t,"DOMMouseScroll mousewheel",this._wheelScrollHandler),this.userEvents&&this.userEvents.destroy()},e.prototype._scale=function(t){this.dimensions.rescale(t),this.movable.scaleTo(t)},e.prototype._initPullToRefresh=function(){},e.prototype._dragEnd=function(){},e.prototype._paneChange=function(){},e.prototype._initAxis=function(t){var e=this,r=e.movable,i=e.dimensions[t],o=e.tapCapture,n=e.pane[t],a=new Vh({axis:t,movable:r,dimension:i,container:e.element,alwaysVisible:e.options.visibleScrollHints});i.bind("change",(function(){a.refresh()})),n.bind("change",(function(){a.show()})),e[t+"inertia"]=new Th({axis:t,paneAxis:n,movable:r,tapCapture:o,userEvents:e.userEvents,dimension:i,elastic:e.options.elastic,friction:e.options.friction||.96,velocityMultiplier:e.options.velocityMultiplier||10,end:function(){a.hide(),e.trigger("scrollEnd",{axis:t,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft})}})},e}(kp);Ct(Nh,{name:"Scroller",zoom:!1,pullOffset:140,visibleScrollHints:!1,elastic:!0,useNative:!1,mousewheelScrolling:!0,avoidScrolling:function(){return!1},pullToRefresh:!1,messages:{pullTemplate:"Pull to refresh",releaseTemplate:"Release to refresh",refreshTemplate:"Refreshing"}}),Sp(Nh,["pull","scroll","resize"]);var Eh=function(t,e){void 0===e&&(e={}),this.sender=e.sender||t,this.widget=t,this.rtl=Boolean(e.rtl)};Eh.prototype.notify=function(t,e){this.widget&&this.widget.trigger(t,e)};var Lh=Eh,Dh=Math,Bh=Dh.min,Ih=Dh.pow,Rh=S.geometry.Point,zh={bubble:sh,shape:nh,tile:Gp};function Fh(t){var e=[];if(t)for(var r=cp(t).split("-"),i=0;i<r.length;i++)e.push("k-pos-"+r[i]);return e.join(" ")}zh.marker=ph;var Hh=function(t){function e(e,r,i,o){void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o={}),t.call(this),this._init(e,r,i,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.scroller.destroy(),this.navigator&&this.navigator.destroy(),this.attribution&&this.attribution.destroy(),this.zoomControl&&this.zoomControl.destroy(),x(this.markers)?this.markers.forEach((function(t){t.destroy()})):this.markers.destroy();for(var e=0;e<this.layers.length;e++)this.layers[e].destroy();xp(this.element,"DOMMouseScroll mousewheel",this._mousewheelHandler),t.prototype.destroy.call(this)},e.prototype._init=function(t,e,r,i){void 0===e&&(e={}),void 0===r&&(r={}),void 0===i&&(i={}),this.support=vp(),this.context=i,this.initObserver(i),this.initServices(i),this._initOptions(e),this._setEvents(e),this.crs=new np,this._initElement(t),this._viewOrigin=this._getOrigin(),this._initScroller(),this._initMarkers(),this._initControls(),this._initLayers(),this._reset(),this._mousewheelHandler=this._mousewheel.bind(this),yp(this.element,"DOMMouseScroll mousewheel",this._mousewheelHandler)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._initElement=function(t){this.element=t,_(t,"k-map"),t.style.position="relative",t.setAttribute("data-role","map"),up(t);var e=sp("<div />");this.element.appendChild(e)},e.prototype.initServices=function(t){void 0===t&&(t={}),this.widgetService=new Lh(this,t)},e.prototype.initObserver=function(t){void 0===t&&(t={}),this.observers=[],this.addObserver(t.observer)},e.prototype.addObserver=function(t){t&&this.observers.push(t)},e.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},e.prototype.requiresHandlers=function(t){for(var e=this.observers,r=0;r<e.length;r++)if(e[r].requiresHandlers(t))return!0},e.prototype.trigger=function(e,r){void 0===r&&(r={}),r.sender=this;for(var i=this.observers,o=!1,n=0;n<i.length;n++)i[n].trigger(e,r)&&(o=!0);return o||t.prototype.trigger.call(this,e,r),o},e.prototype._notifyObserver=function(t,e){void 0===e&&(e={}),e.sender=this;for(var r=this.observers,i=!1,o=0;o<r.length;o++)r[o].trigger(t,e)&&(i=!0);return i},e.prototype.zoom=function(t){var e,r=this.options;if(at(t)){var i=Dh.round(dt(t,r.minZoom,r.maxZoom));r.zoom!==i&&(r.zoom=i,this._reset()),e=this}else e=r.zoom;return e},e.prototype.center=function(t){var e;return t?(this.options.center=Hc.create(t).toArray(),this._reset(),e=this):e=Hc.create(this.options.center),e},e.prototype.extent=function(t){var e;return t?(this._setExtent(t),e=this):e=this._getExtent(),e},e.prototype.setOptions=function(t){void 0===t&&(t={});var e=this.element;this.destroy(),up(e),this._init(e,t,{},this.context),this._reset()},e.prototype.locationToLayer=function(t,e){var r=!this.options.wraparound,i=Hc.create(t);return this.crs.toPoint(i,this._layerSize(e),r)},e.prototype.layerToLocation=function(t,e){var r=!this.options.wraparound,i=Rh.create(t);return this.crs.toLocation(i,this._layerSize(e),r)},e.prototype.locationToView=function(t){var e=Hc.create(t),r=this.locationToLayer(this._viewOrigin);return this.locationToLayer(e).translateWith(r.scale(-1))},e.prototype.viewToLocation=function(t,e){var r=this.locationToLayer(this._getOrigin(),e),i=Rh.create(t).clone().translateWith(r);return this.layerToLocation(i,e)},e.prototype.eventOffset=function(t){var e,r,i=ut(this.element);if(t.x&&t.x.location||t.y&&t.y.location)e=t.x.location-i.left,r=t.y.location-i.top;else{var o=t.originalEvent||t;e=bt(o.pageX,o.clientX)-i.left,r=bt(o.pageY,o.clientY)-i.top}return new S.geometry.Point(e,r)},e.prototype.eventToView=function(t){var e=this.eventOffset(t);return this.locationToView(this.viewToLocation(e))},e.prototype.eventToLayer=function(t){return this.locationToLayer(this.eventToLocation(t))},e.prototype.eventToLocation=function(t){var e=this.eventOffset(t);return this.viewToLocation(e)},e.prototype.viewSize=function(){var t=this.element,e=this._layerSize(),r=t.clientWidth;return this.options.wraparound||(r=Bh(e,r)),{width:r,height:Bh(e,t.clientHeight)}},e.prototype.exportVisual=function(){return this._reset(),!1},e.prototype._setOrigin=function(t,e){var r,i=this.viewSize(),o=this._origin=Hc.create(t);return(r=this.locationToLayer(o,e)).x+=i.width/2,r.y+=i.height/2,this.options.center=this.layerToLocation(r,e).toArray(),this},e.prototype._getOrigin=function(t){var e,r=this.viewSize();return!t&&this._origin||((e=this.locationToLayer(this.center())).x-=r.width/2,e.y-=r.height/2,this._origin=this.layerToLocation(e)),this._origin},e.prototype._setExtent=function(t){var e=Rp.create(t),r=e.se.clone();this.options.wraparound&&r.lng<0&&t.nw.lng>0&&(r.lng=180+(180+r.lng));var i=new Rp(e.nw,r);this.center(i.center());var o,n=this.element.clientWidth,a=this.element.clientHeight;for(o=this.options.maxZoom;o>=this.options.minZoom;o--){var s=this.locationToLayer(i.nw,o),u=this.locationToLayer(i.se,o),l=Dh.abs(u.x-s.x),c=Dh.abs(u.y-s.y);if(l<=n&&c<=a)break}this.zoom(o)},e.prototype._getExtent=function(){var t=this._getOrigin(),e=this.locationToLayer(t),r=this.viewSize();e.x+=r.width,e.y+=r.height;var i=this.layerToLocation(e);return new Rp(t,i)},e.prototype._zoomAround=function(t,e){this._setOrigin(this.layerToLocation(t,e),e),this.zoom(e)},e.prototype._initControls=function(){var t=this.options.controls;t.attribution&&this._createAttribution(t.attribution),this.support.mobileOS||(t.navigator&&this._createNavigator(t.navigator),t.zoom&&this._createZoomControl(t.zoom))},e.prototype._createControlElement=function(t,e){var r=t.position||e,i="."+Fh(r).replace(" ","."),o=this.element.querySelector(".k-map-controls"+i)||[];if(0===o.length){var n=document.createElement("div");_(n,"k-map-controls "+Fh(r)),o=n,this.element.appendChild(o)}var a=document.createElement("div");return o.appendChild(a),a},e.prototype._createAttribution=function(t){var e=this._createControlElement(t,"bottomRight");this.attribution=new Tp(e,t)},e.prototype._createNavigator=function(t){var e=this._createControlElement(t,"topLeft"),r=this.navigator=new Np(e,t);this._navigatorPan=this._navigatorPan.bind(this),r.bind("pan",this._navigatorPan),this._navigatorCenter=this._navigatorCenter.bind(this),r.bind("center",this._navigatorCenter)},e.prototype._navigatorPan=function(t){var e=this.scroller,r=e.scrollLeft+t.x,i=e.scrollTop-t.y,o=this._virtualSize,n=this.element.clientWidth,a=this.element.clientHeight;r=dt(r,o.x.min,o.x.max-n),i=dt(i,o.y.min,o.y.max-a),this.scroller.one("scroll",gp(this._scrollEnd,this)),this.scroller.scrollTo(-r,-i)},e.prototype._navigatorCenter=function(){this.center(this.options.center)},e.prototype._createZoomControl=function(t){var e=this._createControlElement(t,"topLeft"),r=this.zoomControl=new Lp(e,t);this._zoomControlChange=this._zoomControlChange.bind(this),r.bind("change",this._zoomControlChange)},e.prototype._zoomControlChange=function(t){this.trigger("zoomStart",{originalEvent:t})||(this.zoom(this.zoom()+t.delta),this.trigger("zoomEnd",{originalEvent:t}))},e.prototype._initScroller=function(){var t=this.support.mobileOS?.93:.9,e=!1!==this.options.zoomable,r=this.scroller=new Nh(this.element.children[0],{friction:t,velocityMultiplier:5,zoom:e,mousewheelScrolling:!1,supportDoubleTap:!0});r.bind("scroll",gp(this._scroll,this)),r.bind("scrollEnd",gp(this._scrollEnd,this)),r.userEvents.bind("gesturestart",gp(this._scaleStart,this)),r.userEvents.bind("gestureend",gp(this._scale,this)),r.userEvents.bind("doubleTap",gp(this._doubleTap,this)),r.userEvents.bind("tap",gp(this._tap,this)),this.scrollElement=r.scrollElement},e.prototype._initLayers=function(){for(var t=this.options.layers,e=this.layers=[],r=0;r<t.length;r++){var i=t[r],o=this._createLayer(i);e.push(o)}},e.prototype._createLayer=function(t){var e=t.type||"shape",r=this.options.layerDefaults[e],i=V({},"marker"===e?this.options.markerDefaults:r,t),o=new(0,zh[e])(this,i);return"marker"===e&&(this.markers=o),o},e.prototype._initMarkers=function(){(this.options.layers||[]).filter((function(t){return t&&"marker"===t.type})).length>0||(this.markers=new ph(this,this.options.markerDefaults),this.markers.add(this.options.markers))},e.prototype._scroll=function(t){var e=this.locationToLayer(this._viewOrigin).round(),r=t.sender.movable,i=new S.geometry.Point(r.x,r.y).scale(-1).scale(1/r.scale);e.x+=i.x,e.y+=i.y,this._scrollOffset=i,this._setOrigin(this.layerToLocation(e)),this.trigger("pan",{originalEvent:t,origin:this._getOrigin(),center:this.center()})},e.prototype._scrollEnd=function(t){this._scrollOffset&&this._panComplete()&&(this._scrollOffset=null,this._panEndTimestamp=Op(),this.trigger("panEnd",{originalEvent:t,origin:this._getOrigin(),center:this.center()}))},e.prototype._panComplete=function(){return Op()-(this._panEndTimestamp||0)>50},e.prototype._scaleStart=function(t){if(this.trigger("zoomStart",{originalEvent:t})){var e=t.touches[1];e&&e.cancel()}},e.prototype._scale=function(t){var e=this.scroller.movable.scale,r=this._scaleToZoom(e),i=new S.geometry.Point(t.center.x,t.center.y),o=this.viewToLocation(i,r),n=this.locationToLayer(o,r).translate(-i.x,-i.y);this._zoomAround(n,r),this.trigger("zoomEnd",{originalEvent:t})},e.prototype._scaleToZoom=function(t){var e=this._layerSize()*t/this.options.minSize,r=Dh.log(e)/Dh.log(2);return Dh.round(r)},e.prototype._reset=function(){this.attribution&&this.attribution.filter(this.center(),this.zoom()),this._viewOrigin=this._getOrigin(!0),this._resetScroller(),this.trigger("beforeReset"),this.trigger("reset")},e.prototype._resetScroller=function(){var t=this.scroller,e=t.dimensions.x,r=t.dimensions.y,i=this._layerSize(),o=this.extent().nw,n=this.locationToLayer(o).round();t.movable.round=!0,t.reset(),t.userEvents.cancel();var a=this.zoom();t.dimensions.forcedMinScale=Ih(2,this.options.minZoom-a),t.dimensions.maxScale=Ih(2,this.options.maxZoom-a);var s={min:-n.x,max:i-n.x},u={min:-n.y,max:i-n.y};if(this.options.wraparound&&(s.max=20*i,s.min=-s.max),!1===this.options.pannable){var l=this.viewSize();s.min=u.min=0,s.max=l.width,u.max=l.height}e.makeVirtual(),r.makeVirtual(),e.virtualSize(s.min,s.max),r.virtualSize(u.min,u.max),this._virtualSize={x:s,y:u}},e.prototype._renderLayers=function(){},e.prototype._layerSize=function(t){var e=bt(t,this.options.zoom);return this.options.minSize*Ih(2,e)},e.prototype._tap=function(t){if(this._panComplete()){var e=this.eventOffset(t);this.trigger("click",{originalEvent:t,location:this.viewToLocation(e)})}},e.prototype._doubleTap=function(t){if(!1!==this.options.zoomable&&!this.trigger("zoomStart",{originalEvent:t})){var e=this.zoom()+1,r=this.eventOffset(t),i=this.viewToLocation(r),o=this.locationToLayer(i,e).translate(-r.x,-r.y);this._zoomAround(o,e),this.trigger("zoomEnd",{originalEvent:t})}},e.prototype._mousewheel=function(t){t.preventDefault();var e=rt(t)>0?-1:1,r=this.options,i=this.zoom(),o=dt(i+e,r.minZoom,r.maxZoom);if(!1!==r.zoomable&&o!==i&&!this.trigger("zoomStart",{originalEvent:t})){var n=this.eventOffset(t),a=this.viewToLocation(n),s=this.locationToLayer(a,o).translate(-n.x,-n.y);this._zoomAround(s,o),this.trigger("zoomEnd",{originalEvent:t})}},e}(kp);Ct(Hh,{name:"Map",controls:{attribution:!0,navigator:{panStep:100},zoom:!0},layers:[],layerDefaults:{shape:{style:{fill:{color:"#fff"},stroke:{color:"#aaa",width:.5}}},bubble:{style:{fill:{color:"#fff",opacity:.5},stroke:{color:"#aaa",width:.5}}},marker:{shape:"pinTarget",tooltip:{position:"top"}}},center:[0,0],zoom:3,minSize:256,minZoom:1,maxZoom:19,markers:[],markerDefaults:{shape:"pinTarget",tooltip:{position:"top"}},wraparound:!0,renderPointsAsMarkers:!1}),Sp(Hh,["beforeReset","click","markerActivate","markerClick","markerCreated","markerMouseEnter","markerMouseLeave","pan","panEnd","reset","shapeClick","shapeCreated","shapeFeatureCreated","shapeMouseEnter","shapeMouseLeave","zoomEnd","zoomStart"]);var Uh=Hh,Kh="Arial, Helvetica, sans-serif",$h="12px "+Kh,Gh="16px "+Kh,Xh=function(){return{icon:{border:{width:1}},label:{font:$h,padding:3},line:{length:10,width:2},visible:!0}},Yh=function(t){return{visible:!0,labels:{font:"11px Arial, Helvetica, sans-serif"},overlay:t.gradients?{}:{gradient:"none"},area:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},rangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalRangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},bar:{gap:1.5,spacing:.4},boxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},bubble:{border:{width:0},labels:{background:"transparent"},opacity:.6},bullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},candlestick:{border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},line:{width:2}},line:{color:"#000",width:1},spacing:.3},column:{gap:1.5,spacing:.4},heatmap:{labels:{color:"",background:"transparent",visible:!0},highlight:{border:{width:0}}},pie:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},donut:{margin:1},funnel:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},horizontalWaterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4},line:{width:2},notes:Xh(),ohlc:{gap:1,highlight:{line:{opacity:1,width:3}},line:{width:1},spacing:.3},radarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},radarLine:{markers:{visible:!1},width:2},polarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},polarLine:{markers:{visible:!1},width:2},rangeBar:{gap:1.5,spacing:.4},rangeColumn:{gap:1.5,spacing:.4},scatterLine:{width:1},verticalArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalBoxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},verticalBullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},verticalLine:{width:2},waterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4}}},Wh=function(t){return void 0===t&&(t={}),{axisDefaults:{labels:{font:$h},notes:Xh(),title:{font:Gh,margin:5}},categoryAxis:{majorGridLines:{visible:!0}},navigator:{pane:{height:90,margin:{top:10}}},seriesDefaults:Yh(t),title:{font:Gh},legend:{labels:{font:$h}}}}},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.CollectionConfigurationVue2=e.CollectionConfiguration=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(1)),l={name:"KendoCollectionConfiguration",props:{chartKey:String,parentKey:String,parentStore:Object},provide:function(){return{childOption:!1,chartCollection:this.$props.chartKey,parentKey:this.$props.parentKey,child:this.child,addChild:this.addChild,removeChild:this.removeChild}},inject:{dispatchOptions:{default:null},observersStore:{default:null},childrenObserver:{default:null}},created:function(){(0,this.dispatchOptions)({chartKey:this.$props.chartKey,payload:[]})},data:function(){return{child:{collection:[]}}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){return(s||t)("div",[u.getDefaultSlots(this)," "])},methods:{addChild:function(t){this.child.collection.push(t)},removeChild:function(t){var e=this.child.collection.findIndex((function(e){return e.uid===t.uid}));this.child.collection.splice(e,1)}}};e.CollectionConfigurationVue2=l;var c=l;e.CollectionConfiguration=c},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e},s=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.BaseChartVue2=e.BaseChart=void 0;var u=a(r(2)).h,l=r(35),c=r(7),p=r(1),h=r(3),f=r(36),d=r(38),v=r(40),g=r(41),y=s(r(42)),m=r(43),b=r(3);r(44);var x=r(45),_=r(47),C=r(1),w=r(49),S={name:"KendoBaseChart",props:{deriveOptionsFromParent:{type:Function,default:void 0},chartConstructor:{type:[Object,Function],default:function(){}},className:String,chartStyle:Object,wrapper:String,getTarget:{type:Function,default:void 0},dataItems:{type:Array,default:function(){}},dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}},allListeners:{type:Object,default:void 0}},inject:{kendoIntlService:{default:null}},provide:function(){return{optionsState:this.optionsState,dispatchOptions:this.dispatchOptions,observersState:this.observersState,dispatchObservers:this.dispatchObservers,childrenObserver:this.childrenObserver,chartRefresh:this.refresh}},created:function(){this.chartInstance=null,this.element=null,this.suppressTransitions=!1,C.validatePackage(w.packageMetadata),this.themeStore=y.default(m.themeReducer),this.chartObserver=new c.InstanceObserver(this,{render:"onRender",legendItemClick:"onLegendItemClick"})},data:function(){return{optionsState:{},observersState:[],childrenObserver:new c.InstanceObserver(this,{onMouseLeave:"onChildMouseLeave"})}},mounted:function(){this.element=this.v3?this.elementRef:this.$refs.element,g.loadTheme(this.themeStore,this.instantiateCoreChart),window.addEventListener("resize",this.onWindowResize)},destroyed:u?void 0:function(){this.onDestroyed()},unmounted:function(){this.onDestroyed()},updated:function(){if(null!==this.chartInstance){var t=l.provideIntlService(this),e=this.chartInstance.chartService;t.locale!==e._intlService.locale&&(this.chartInstance.chartService._intlService=t,this.chartInstance.chartService.format._intlService=t,this.chartInstance.noTransitionsRedraw()),this.refresh()}},setup:u?function(){return{v3:!!u}}:void 0,render:function(t){var e=u||t,r=p.getDefaultSlots(this),o=this.$props,n=o.chartStyle,a=void 0===n?{}:n,s=o.className,l=o.wrapper,c=Object.assign({},a,{position:"relative"});return e(l,{style:c,class:s,key:"chartElement"},[e(x.SeriesTooltip,{key:"seriesTooltip"}),e(_.CrosshairContainer,{key:"crosshairTooltips",optionsState:i({},this.optionsState),attrs:this.v3?void 0:{optionsState:i({},this.optionsState)}}),function(){var t=this;return e("div",{onMouseleave:this.onChartMouseLeave,on:this.v3?void 0:{mouseleave:this.onChartMouseLeave},ref:this.v3?function(e){t.elementRef=e}:"element",class:"k-chart-surface"},[r])}.call(this)])},methods:{dispatchOptions:function(t){m.optionsReducer(this.optionsState,t)},dispatchObservers:function(t){this.observersState=m.observersReducer(this.observersState,t)},onDestroyed:function(){null!==this.chartInstance&&(this.chartInstance.destroy(),this.chartInstance=null),window.removeEventListener("resize",this.onWindowResize)},getDirection:function(t){return void 0!==t?"rtl"===t:p.isRtl(this.element)},getChartOptions:function(){var t=this.$props,e=t.renderAs,r=t.pannable,i=t.zoomable,o=t.paneDefaults,n=t.panes,a=t.transitions,s=t.seriesColors,u=t.seriesDefaults,l=t.axisDefaults,c=t.deriveOptionsFromParent,p={};return void 0!==e&&(p.renderAs=e),void 0!==r&&(p.pannable=r),void 0!==i&&(p.zoomable=i),void 0!==o&&(p.paneDefaults=o),void 0!==n&&(p.panes=n),void 0!==a&&(p.transitions=a),void 0!==s&&(p.seriesColors=s),void 0!==u&&(p.seriesDefaults=u),void 0!==l&&(p.axisDefaults=l),p=Object.assign(p,this.optionsState),c&&(p=c(p)),p},refresh:function(){if(null!==this.chartInstance){var t=this.themeStore.getState(),e=this.getChartOptions(),r=e.transitions;this.suppressTransitions&&(e.transitions=!1),p.hasListener.call(this,"refresh")?this.trigger("refresh",{chartOptions:e,themeOptions:t,chartInstance:this.chartInstance}):this.chartInstance.setOptions(e,t),this.suppressTransitions&&(e.transitions=r,this.suppressTransitions=!1)}},instantiateCoreChart:function(){var t=this.$props,e=t.dir,r=t.chartConstructor,i=this.getChartOptions(),o=null;this.element&&(o=this.element.lastElementChild)&&this.element.removeChild(o),this.chartInstance=new r(this.element,i,this.themeStore.getState(),{rtl:this.getDirection(e),intlService:l.provideIntlService(this),observer:this.chartObserver,sender:this}),this.element&&o&&this.element.appendChild(o)},trigger:function(t,e){for(var r=this.$props.getTarget(),i=d.create(t,e,r),o=this.observersState,n=!1,a=0;a<o.length;a++)o[a].trigger(t,e)&&(n=!0);return!1===n&&i?(this.$emit("basechartevent",t.toLowerCase(),i),i.isDefaultPrevented&&i.isDefaultPrevented()):n},triggerDomEvent:function(t,e){for(var r=this.observersState,i=!1,o=0;o<r.length;o++)r[o].trigger(t,e)&&(i=!0);return i},onRender:function(t){null!==this.chartInstance&&(this.surface=t.sender.surface,this.trigger("render",t))},hasListener:function(t){return!!this.$props.allListeners&&Object.keys(this.$props.allListeners).some((function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))},onLegendItemClick:function(t){if(null!==this.chartInstance)if(this.hasListener("legendItemClick"))this.trigger("legendItemClick",t);else{var e=this.optionsState.series;if(!e)return;var r={},i=t.seriesIndex,o=t.pointIndex,n=e[i];if(void 0===o)r=Object.assign({},n,{visible:b.toggle(n.visible)});else{var a=n.pointVisibility=n.pointVisibility||[];a[o]=b.toggle(a[o]),r=Object.assign({},n)}this.dispatchOptions({chartCollectionIdxKey:"series_"+i,payload:r}),this.suppressTransitions=!0,this.refresh()}},onWindowResize:function(){null!==this.chartInstance&&this.chartInstance.resize()},onChartMouseLeave:function(t){var e=v.toDomEvent(this,t);this.triggerDomEvent("onMouseLeave",e)?t.preventDefault():null!==this.chartInstance&&this.chartInstance.hideElements()},onChildMouseLeave:function(t){var e=t.event;return this.chartInstance&&!h.hasParent(e.relatedTarget,this.element)&&this.chartInstance.hideElements(),!1},requiresHandlers:function(t){for(var e=0;e<t.length;e++){var r=t[e];if(this.hasListener(r))return!0}return!1}}};e.BaseChartVue2=S;var O=S;e.BaseChart=O,c.DomEventsBuilder.register(f.DomEventsBuilder)},function(t,e){t.exports=r},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.AxisLabelClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.dataItem=e.dataItem,i.index=e.index,i.text=e.text,i.value=e.value,i}return o(e,t),e}(r(5).BaseEvent);e.AxisLabelClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DragEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.DragEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DragEndEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(5).BaseEvent);e.DragEndEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DragStartEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.DragStartEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegendItemHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return o(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(r(6).PreventableEvent);e.LegendItemHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegendItemClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return o(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(r(6).PreventableEvent);e.LegendItemClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.NavigatorFilterEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(5).BaseEvent);e.NavigatorFilterEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.NoteClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.dataItem=e.dataItem,i.series=e.series,i.value=e.value,i.visual=e.visual,i}return o(e,t),e}(r(5).BaseEvent);e.NoteClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.NoteHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.dataItem=e.dataItem,i.series=e.series,i.value=e.value,i.visual=e.visual,i}return o(e,t),e}(r(5).BaseEvent);e.NoteHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.PlotAreaClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.nativeEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return o(e,t),e}(r(5).BaseEvent);e.PlotAreaClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.PlotAreaHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.nativeEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return o(e,t),e}(r(5).BaseEvent);e.PlotAreaHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.RenderEvent=void 0;var n=function(t){function e(e,r){return t.call(this,r)||this}return o(e,t),e}(r(5).BaseEvent);e.RenderEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(6).PreventableEvent);e.SelectEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEndEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(5).BaseEvent);e.SelectEndEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SelectStartEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(6).PreventableEvent);e.SelectStartEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SeriesClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.dataItem=e.dataItem,i.nativeEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return o(e,t),e}(r(5).BaseEvent);e.SeriesClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SeriesHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.categoryPoints=e.categoryPoints,i.dataItem=e.dataItem,i.nativeEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return o(e,t),e}(r(6).PreventableEvent);e.SeriesHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.delta=e.delta,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.ZoomEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomEndEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(5).BaseEvent);e.ZoomEndEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomStartEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.ZoomStartEvent=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipPoint=void 0;var i=function(){function t(t,e){this.value=t.value,this.category=t.category,this.categoryIndex=t.categoryIx,this.series=t.series,this.dataItem=t.dataItem,this.percentage=t.percentage,this.runningTotal=t.runningTotal,this.total=t.total,this.low=t.low,this.high=t.high,this.xLow=t.xLow,this.xHigh=t.xHigh,this.yLow=t.yLow,this.yHigh=t.yHigh,this.point=t,this.format=((t.options||{}).tooltip||{}).format||e}return Object.defineProperty(t.prototype,"formattedValue",{get:function(){return this.format?this.point.formatValue(this.format):String(this.value)},enumerable:!1,configurable:!0}),t}();e.TooltipPoint=i},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipPopupVue2=e.TooltipPopup=void 0;var a=n(r(2)).h,s=r(7),u=r(3),l=r(180),c=r(1),p={horizontal:"fit",vertical:"fit"},h="k-chart-tooltip",f={name:"KendoTooltipPopup",props:{className:String,popupShown:Boolean,popupAlign:{type:Object,default:function(){}},popupOffset:{type:Object},popupStyles:{type:Object},popupContent:Function},inject:{options:{default:{state:{}}},dispatchOptions:{default:null},observersState:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created:function(){this.chartObserver=new s.InstanceObserver(this,{onMouseLeave:"onChartMouseLeave"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},destroyed:a?void 0:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},unmounted:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=this,r=this,i=a||t,o=c.getDefaultSlots(this),n=this.$props,s=n.popupShown,u=n.popupAlign,f=n.popupOffset,d=n.popupStyles,v=(n.popupContent,n.className),g=[h,v].join(" ").trim();return i(l.Popup,{animate:!1,attrs:this.v3?void 0:{animate:!1,popupAlign:u,offset:f,show:s,collision:p},popupAlign:u,offset:f,show:s,collision:p,class:"k-chart-tooltip-wrapper"},this.v3?function(){return[i("div",{class:g,style:d,onMouseleave:e.onMouseLeave,on:e.v3?void 0:{mouseleave:e.onMouseLeave},ref:function(t){return r.element=t}},[o])]}:[i("div",{class:g,style:d,onMouseleave:e.onMouseLeave,on:e.v3?void 0:{mouseleave:e.onMouseLeave},ref:function(t){return r.element=t}},[o])])},methods:{onChartMouseLeave:function(t){var e=t.event;return!!u.hasParent(e.relatedTarget,this.element)},onMouseLeave:function(t){}}};e.TooltipPopupVue2=f;var d=f;e.TooltipPopup=d},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||i(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.StockChartVue2=e.StockChart=e.SparklineVue2=e.Sparkline=e.ChartVue2=e.Chart=void 0;var n=r(34);Object.defineProperty(e,"Chart",{enumerable:!0,get:function(){return n.Chart}}),Object.defineProperty(e,"ChartVue2",{enumerable:!0,get:function(){return n.ChartVue2}});var a=r(51);Object.defineProperty(e,"Sparkline",{enumerable:!0,get:function(){return a.Sparkline}}),Object.defineProperty(e,"SparklineVue2",{enumerable:!0,get:function(){return a.SparklineVue2}});var s=r(52);Object.defineProperty(e,"StockChart",{enumerable:!0,get:function(){return s.StockChart}}),Object.defineProperty(e,"StockChartVue2",{enumerable:!0,get:function(){return s.StockChartVue2}}),o(r(53),e),o(r(54),e),o(r(176),e),o(r(177),e),o(r(178),e),o(r(179),e)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartVue2=e.Chart=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(9)),l=r(50),c=r(7),p=r(1),h={name:"KendoChart",props:{donutCenterRender:[String,Function,Object],dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},updated:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},mounted:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},methods:{chartInstance:function(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface:function(){return null!==this.baseChart?this.baseChart.surface:null},element:function(){return null!==this.baseChart?this.baseChart.element:null},getTarget:function(){return this},handleBaseChartEvents:function(t,e){this.$emit(t,e)}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=this,r=this,i=s||t,o=p.getDefaultSlots(this),n=this.$props,a=n.donutCenterRender,h=n.dir,f=n.renderAs,d=n.pannable,v=n.zoomable,g=n.seriesColors,y=n.transitions,m=n.paneDefaults,b=n.panes,x=n.seriesDefaults,_=n.axisDefaults,C=a?p.templateRendering.call(this,a,p.getListeners.call(this)):null;return i(u.BaseChart,{dir:h,attrs:this.v3?void 0:{dir:h,renderAs:f,pannable:d,zoomable:v,seriesColors:g,transitions:y,paneDefaults:m,panes:b,seriesDefaults:x,axisDefaults:_,chartConstructor:c.Chart,getTarget:this.getTarget,wrapper:"div",allListeners:p.getListeners.call(this)},renderAs:f,pannable:d,zoomable:v,seriesColors:g,transitions:y,paneDefaults:m,panes:b,seriesDefaults:x,axisDefaults:_,ref:this.v3?function(t){r.baseChartRef=t}:"baseChart",chartConstructor:c.Chart,getTarget:this.getTarget,wrapper:"div",class:p.classNames("k-chart k-widget"),onBasechartevent:this.handleBaseChartEvents,on:this.v3?void 0:{basechartevent:this.handleBaseChartEvents},allListeners:p.getListeners.call(this)},this.v3?function(){return[o,i(l.DonutCenter,{render:C,attrs:e.v3?void 0:{render:C}})]}:[o,i(l.DonutCenter,{render:C,attrs:e.v3?void 0:{render:C}})])}};e.ChartVue2=h;var f=h;e.Chart=f},function(t,e){t.exports=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEventsBuilder=void 0;var i=r(37),o=function(){function t(){}return t.create=function(t,e){if("undefined"!=typeof window){var r=window.Hammer;if(!r)return void 0;var o=new r(t,{recognizers:[[r.Tap],[r.Pan],[r.Pinch],[r.Press,{time:0}]]});return new i.DomEvents(o,e)}},t}();e.DomEventsBuilder=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEvents=void 0;var i=function(t){return{x:{location:t.pageX},y:{location:t.pageY}}};function o(t,e){for(var r=0;r<t.length;r++)if(e[t[r]])return!0;return!1}var n=[{end:"panend",move:"panmove",start:"panstart"},{gesturechange:"pinchmove",gestureend:"pinchend",gesturestart:"pinchstart"},{press:"press"},{tap:"tap"}],a=function(){function t(t,e){this.hammerInstance=t,this.eventHandlers={},this.tap=this.tap.bind(this),this.press=this.press.bind(this),this.panstart=this.panstart.bind(this),this.panmove=this.panmove.bind(this),this.panend=this.panend.bind(this),this.pinchstart=this.pinchstart.bind(this),this.pinchmove=this.pinchmove.bind(this),this.pinchend=this.pinchend.bind(this),e&&this.bind(e)}return t.prototype.tap=function(t){this.trigger("tap",t)},t.prototype.press=function(t){this.trigger("press",t)},t.prototype.panstart=function(t){delete this.previous,this.previous=this.trigger("start",t)},t.prototype.panmove=function(t){this.previous=this.trigger("move",t)},t.prototype.panend=function(t){this.trigger("end",t),delete this.previous},t.prototype.pinchstart=function(t){this.trigger("gesturestart",t)},t.prototype.pinchmove=function(t){this.trigger("gesturechange",t)},t.prototype.pinchend=function(t){this.trigger("gestureend",t)},t.prototype.trigger=function(t,e){var r=function(t,e){var r=t.pointers,o=r[0],n=o.pageX,a=o.pageY,s=0;if(r.length>1){var u=r[0],l=r[1];s=Math.sqrt(Math.pow(u.pageX-l.pageX,2)+Math.pow(u.pageY-l.pageY,2))}return{distance:s,event:t.srcEvent,preventDefault:function(){t.preventDefault()},target:t.target,touches:r.map(i),type:t.type,x:{delta:e?n-e.x.location:0,initialDelta:t.deltaX,location:n,startLocation:n-t.deltaX},y:{delta:e?a-e.y.location:0,initialDelta:t.deltaY,location:a,startLocation:a-t.deltaY}}}(e,this.previous);return this.eventHandlers[t]&&this.eventHandlers[t](r),r},t.prototype.bind=function(t){void 0===t&&(t={}),this.unbind(),this.eventHandlers=t;for(var e=0;e<n.length;e++){var r=n[e],i=Object.keys(r);if(o(i,t))for(var a=0;a<i.length;a++){var s=r[i[a]];this.hammerInstance.on(s,this[s])}}},t.prototype.unbind=function(){this.hammerInstance&&this.hammerInstance.off(),this.eventHandlers={}},t.prototype.destroy=function(){this.hammerInstance&&(this.hammerInstance.destroy(),delete this.hammerInstance),delete this.eventHandlers},t.prototype.toggleDrag=function(t){this.toggle("pan",t)},t.prototype.toggleZoom=function(t){this.toggle("pinch",t)},t.prototype.toggle=function(t,e){this.hammerInstance&&this.hammerInstance.get(t).set({enable:e})},t}();e.DomEvents=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=void 0;var i=r(11),o=r(12),n=r(13),a=r(14),s=r(15),u=r(16),l=r(39),c=r(17),p=r(18),h=r(19),f=r(20),d=r(21),v=r(22),g=r(23),y=r(24),m=r(25),b=r(26),x=r(27),_=r(28),C=r(29),w=r(30),S={axisLabelClick:i.AxisLabelClickEvent,drag:o.DragEvent,dragEnd:n.DragEndEvent,dragStart:a.DragStartEvent,legendItemHover:s.LegendItemHoverEvent,legendItemClick:u.LegendItemClickEvent,legendItemLeave:l.LegendItemLeaveEvent,navigatorFilter:c.NavigatorFilterEvent,noteClick:p.NoteClickEvent,noteHover:h.NoteHoverEvent,plotAreaClick:f.PlotAreaClickEvent,plotAreaHover:d.PlotAreaHoverEvent,render:v.RenderEvent,select:g.SelectEvent,selectEnd:y.SelectEndEvent,selectStart:m.SelectStartEvent,seriesClick:b.SeriesClickEvent,seriesHover:x.SeriesHoverEvent,zoom:_.ZoomEvent,zoomEnd:C.ZoomEndEvent,zoomStart:w.ZoomStartEvent};e.create=function(t,e,r){if(S[t])return new S[t](e,r)}},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegendItemLeaveEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return o(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(r(6).PreventableEvent);e.LegendItemLeaveEvent=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toDomEvent=e.DomEvent=void 0;var i=function(t,e){this.sender=t,this.event=e};e.DomEvent=i,e.toDomEvent=function(t,e){return new i(t,e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loadTheme=void 0;var i=r(7),o=function(t){return t.fontWeight+" "+t.fontSize+" "+t.fontFamily},n=function(t){return window.getComputedStyle(t).backgroundColor},a='\n <div class="k-var--accent"></div>\n <div class="k-var--base"></div>\n <div class="k-var--background"></div>\n\n <div class="k-var--normal-background"></div>\n <div class="k-var--normal-text-color"></div>\n <div class="k-var--hover-background"></div>\n <div class="k-var--hover-text-color"></div>\n <div class="k-var--selected-background"></div>\n <div class="k-var--selected-text-color"></div>\n <div class="k-var--chart-error-bars-background"></div>\n <div class="k-var--chart-notes-background"></div>\n <div class="k-var--chart-notes-border"></div>\n <div class="k-var--chart-notes-lines"></div>\n <div class="k-var--chart-crosshair-background"></div>\n\n <div class="k-var--chart-inactive"></div>\n <div class="k-var--chart-major-lines"></div>\n <div class="k-var--chart-minor-lines"></div>\n <div class="k-var--chart-area-opacity"></div>\n <div class="k-var--chart-area-inactive-opacity"></div>\n <div class="k-var--chart-line-inactive-opacity"></div>\n\n <div class="k-widget k-chart">\n <div class="k-var--chart-font"></div>\n <div class="k-var--chart-title-font"></div>\n <div class="k-var--chart-pane-title-font"></div>\n <div class="k-var--chart-label-font"></div>\n </div>\n\n <div class="k-var--series-unset"></div>\n <div class="k-var--series">\n '+function(){for(var t='\n <div class="k-var--series-a"></div>\n <div class="k-var--series-b"></div>\n <div class="k-var--series-c"></div>\n <div class="k-var--series-d"></div>\n <div class="k-var--series-e"></div>\n <div class="k-var--series-f"></div>\n',e=0;e<30;e++)t+='\n <div class="k-var--series-'+(e+1)+'"></div>';return t}()+"\n </div>\n",s=function(){function t(t){this.store=t}return t.prototype.setStyle=function(t,e){this.store.dispatch({type:"set",payload:{field:t,value:e}})},t.prototype.setColors=function(){this.mapColor("axisDefaults.crosshair.color","chart-crosshair-background"),this.mapColor("axisDefaults.labels.color","normal-text-color"),this.mapColor("axisDefaults.line.color","chart-major-lines"),this.mapColor("axisDefaults.majorGridLines.color","chart-major-lines"),this.mapColor("axisDefaults.minorGridLines.color","chart-minor-lines"),this.mapColor("axisDefaults.notes.icon.background","chart-notes-background"),this.mapColor("axisDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("axisDefaults.notes.line.color","chart-notes-lines"),this.mapColor("axisDefaults.title.color","normal-text-color"),this.mapColor("chartArea.background","background"),this.mapColor("legend.inactiveItems.labels.color","chart-inactive"),this.mapColor("legend.inactiveItems.markers.color","chart-inactive"),this.mapColor("legend.labels.color","normal-text-color"),this.mapColor("seriesDefaults.boxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.boxPlot.mean.color","base"),this.mapColor("seriesDefaults.boxPlot.median.color","base"),this.mapColor("seriesDefaults.boxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.bullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.candlestick.downColor","normal-text-color"),this.mapColor("seriesDefaults.candlestick.line.color","normal-text-color"),this.mapColor("seriesDefaults.errorBars.color","chart-error-bars-background"),this.mapColor("seriesDefaults.horizontalWaterfall.line.color","chart-major-lines"),this.mapColor("seriesDefaults.icon.border.color","chart-major-lines"),this.mapColor("seriesDefaults.labels.background","background"),this.mapColor("seriesDefaults.labels.color","normal-text-color"),this.mapColor("seriesDefaults.notes.icon.background","chart-notes-background"),this.mapColor("seriesDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("seriesDefaults.notes.line.color","chart-notes-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.mean.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.median.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.verticalBullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.waterfall.line.color","chart-major-lines"),this.mapColor("title.color","normal-text-color");var t=parseFloat(this.queryStyle("chart-area-opacity").opacity);isNaN(t)||(this.setStyle("seriesDefaults.area.opacity",t),this.setStyle("seriesDefaults.radarArea.opacity",t),this.setStyle("seriesDefaults.verticalArea.opacity",t),this.setStyle("seriesDefaults.labels.opacity",t)),this.setInactiveOpacity(["area","verticalArea"],"chart-area-inactive-opacity"),this.setInactiveOpacity(["line","verticalLine"],"chart-line-inactive-opacity")},t.prototype.setFonts=function(){var t=o(this.queryStyle("chart-font")),e=o(this.queryStyle("chart-title-font")),r=o(this.queryStyle("chart-pane-title-font")),i=o(this.queryStyle("chart-label-font"));this.setStyle("axisDefaults.labels.font",i),this.setStyle("axisDefaults.notes.label.font",t),this.setStyle("axisDefaults.title.font",t),this.setStyle("legend.labels.font",t),this.setStyle("seriesDefaults.labels.font",i),this.setStyle("seriesDefaults.notes.label.font",t),this.setStyle("title.font",e),this.setStyle("paneDefaults.title.font",r)},t.prototype.setSeriesColors=function(){var t=this.element,e=[].slice.call(t.querySelectorAll(".k-var--series div")),r=n(t.querySelector(".k-var--series-unset")),i=e.reduce((function(t,e){var i=function(t){var e=t.match(/series-([a-z])$/);if(null!==e)return e[1].toLowerCase().charCodeAt(0)-"a".charCodeAt(0);var r=t.split("--series-")[1];return parseInt(r,10)-1}(e.className),o=n(e);return o!==r&&(t[i]=o),t}),[]);this.setStyle("seriesColors",i)},t.prototype.mapColor=function(t,e){this.setStyle(t,this.queryStyle(e).backgroundColor)},t.prototype.queryStyle=function(t){var e=this.element;return window.getComputedStyle(e.querySelector(".k-var--"+t))},t.prototype.setInactiveOpacity=function(t,e){var r=this,i=parseFloat(this.queryStyle(e).opacity);!isNaN(i)&&i<1&&t.forEach((function(t){return r.setStyle("seriesDefaults."+t+".highlight.inactiveOpacity",i)}))},t}();e.loadTheme=function(t,e){var r=new s(t);if("undefined"!=typeof document){var o=r.element=document.createElement("div");o.style.display="none",o.innerHTML=a,document.body.appendChild(o);try{t.dispatch({type:"push",payload:i.chartBaseTheme()}),r.setColors(),r.setFonts(),r.setSeriesColors()}finally{document.body.removeChild(r.element),delete r.element,e()}}else t.dispatch({type:"push",payload:i.chartBaseTheme()})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.THROTTLE_MS=void 0;var i=r(1);e.THROTTLE_MS=1e3/60;e.default=function(t){var r,o,n=[],a=function(a){r=t(r,a),i.canUseDOM&&(window.clearTimeout(o),o=window.setTimeout((function(){return n.forEach((function(t){return t()}))}),e.THROTTLE_MS))};return a({}),{getState:function(){return r},dispatch:a,subscribe:function(t){return n.push(t),function(){return n=n.filter((function(e){return e!==t}))}}}}},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<r;e++)for(var n=arguments[e],a=0,s=n.length;a<s;a++,o++)i[o]=n[a];return i};Object.defineProperty(e,"__esModule",{value:!0}),e.observersReducer=e.themeReducer=e.optionsReducer=void 0;e.optionsReducer=function(t,e){return e.chartCollectionIdxKey?n.collectionConfigurationItem(t,e):e.chartKey?n.configurationItem(t,e):{}};e.themeReducer=function(t,e){if(!e.type)return{};switch(e.type){case"set":return n.themeItem(t,e);case"push":return Object.assign(t,e.payload);default:return t}};e.observersReducer=function(t,e){if(!e.type)return[];switch(e.type){case"add":return o(t,[e.payload]);case"remove":return t.filter((function(t){return t!==e.payload}));default:return t}};var n={configurationItem:function(t,e){var r,o;return t[e.chartKey]&&Object.keys(t[e.chartKey]).length?Object.assign(t,((r={})[e.chartKey]=i(i({},t[e.chartKey]),e.payload),r)):Object.assign(t,((o={})[e.chartKey]=e.payload,o))},collectionConfigurationItem:function(t,e){var r,i,o,n=!1,a=e.chartCollectionIdxKey.split("_"),s=a[0],u=a[1],l=(e.parentKey?t[e.parentKey]&&t[e.parentKey][s]||[]:t[s]).map((function(t,r){return parseInt(u,10)===r||e.payload&&e.payload.uid===t.uid?(n=!0,e.payload):t}));if(!1!==n||e.uid||l.splice(parseInt(u,10),0,e.payload),e.uid){var c=l.findIndex((function(t){return t.uid===e.uid}));c>-1&&l.splice(c,1)}return e.parentKey?Object.assign(t,((r={})[e.parentKey]=((i={})[s]=l,i),r)):Object.assign(t,((o={})[s]=l,o))},themeItem:function(t,e){for(var r={},i=Object.assign(r,t),o=e.payload,n=o.field,a=o.value,s=n.split("."),u=s.shift();s.length>0;)r=r[u]=r[u]||{},u=s.shift();return r[u]=a,i}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(7),o=i.DateCategoryAxis.prototype.options.labels.dateFormats,n=i.DateValueAxis.prototype.options.labels.dateFormats,a={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(o,a),Object.assign(n,a)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.SeriesTooltipVue2=e.SeriesTooltip=void 0;var a=n(r(2)).h,s=r(1),u=r(7),l=r(31),c=r(46),p=r(32),h={name:"KendoSeriesTooltip",data:function(){return{popupShown:!1,popupAlign:void 0,popupOffset:void 0,popupContext:{},popupStyles:void 0,className:void 0,shared:void 0}},inject:{optionsState:{default:{}},observersState:{default:null},dispatchObservers:{default:null}},mounted:function(){this.chartObserver=new u.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},destroyed:a?void 0:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},unmounted:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e,r=this,i=a||t,o=this.popupShown?function(){var t=this.findRenderFunction();if(this.shared){var e=i(c.SharedTooltipContent,{categoryText:this.popupContext.categoryText,attrs:this.v3?void 0:{categoryText:this.popupContext.categoryText,colorMarker:this.popupContext.colorMarker,colspan:this.popupContext.colspan,nameColumn:this.popupContext.nameColumn,points:this.popupContext.points},colorMarker:this.popupContext.colorMarker,colspan:this.popupContext.colspan,nameColumn:this.popupContext.nameColumn,points:this.popupContext.points});return s.getTemplate.call(this,{h:i,template:t,defaultRendering:e,additionalProps:Object.assign({},this.popupContext)})}var r=this.popupContext.point,o=this.findRenderFunctionByIndex(r.series.index),n=i("span",{domProps:{innerHTML:this.popupContext.point.formattedValue},innerHTML:this.popupContext.point.formattedValue});return null!==o?s.getTemplate.call(this,{h:i,template:o,defaultRendering:n,additionalProps:Object.assign({},this.popupContext)}):null!==t?s.getTemplate.call(this,{h:i,template:t,defaultRendering:n,additionalProps:Object.assign({},this.popupContext)}):n}:Function.prototype,n=s.classNames(((e={})["k-chart-shared-tooltip"]=this.shared,e["k-chart-tooltip-inverse"]=!!this.className,e));return i(p.TooltipPopup,{popupShown:this.popupShown,attrs:this.v3?void 0:{popupShown:this.popupShown,popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:n},popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:n},this.v3?function(){return[o.call(r)]}:[o.call(r)])},methods:{onShowTooltip:function(t){var e,r=t.anchor,i=t.style,o=t.shared,n=t.className;t.crosshair||(e=o?this.createSharedTooltipContext(t):this.createTooltipContext(t),this.popupShown=!0,this.popupAlign=r.align,this.popupOffset=r.point,this.popupContext=e,this.popupStyles=i,this.className=n,this.shared=o)},onHideTooltip:function(){this.popupShown=!1,this.popupStyles={},this.className=void 0},createSharedTooltipContext:function(t){var e=t.points,r=t.categoryText,i=e.filter((function(t){return void 0!==t.series.name})).length>0,o=t.series.length>1,n=1;return i&&n++,o&&n++,{categoryText:r,colorMarker:o,colspan:n,nameColumn:i,points:t.points.map((function(e){return new l.TooltipPoint(e,t.format)}))}},createTooltipContext:function(t){var e=t.point,r=t.format;return{point:new l.TooltipPoint(e,r)}},findRenderFunctionByIndex:function(t){var e=this.optionsState.series;return void 0!==e&&Array.isArray(e)&&void 0!==e[t]&&e[t].hasOwnProperty("tooltip")&&e[t].tooltip.hasOwnProperty("render")?e[t].tooltip.render:null},findRenderFunction:function(){var t=this.optionsState.tooltip;return void 0!==t&&t.hasOwnProperty("render")?t.render:null}}};e.SeriesTooltipVue2=h;var f=h;e.SeriesTooltip=f},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.SharedTooltipContentVue2=e.SharedTooltipContent=void 0;var a=n(r(2)).h,s={name:"KendoSharedTooltipPopup",props:{categoryText:String,colorMarker:{type:Boolean,default:void 0},colspan:Number,nameColumn:{type:Boolean,default:void 0},points:Array},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=this.$props,i=r.categoryText,o=r.colorMarker,n=r.colspan,s=r.nameColumn,u=r.points;return e("table",[e("thead",[e("tr",[e("th",{colSpan:n,attrs:this.v3?void 0:{colSpan:n}},[i])])]),e("tbody",[u.map(function(t,r){var i=e("span",{domProps:{innerHTML:t.formattedValue},innerHTML:t.formattedValue});return e("tr",{key:r},[o&&e("td",[e("span",{class:"k-chart-shared-tooltip-marker",style:{backgroundColor:t.series.color}})]),s&&e("td",[t.series.name]),i])}.bind(this),this)])])}};e.SharedTooltipContentVue2=s;var u=s;e.SharedTooltipContent=u},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.CrosshairContainerVue2=e.CrosshairContainer=void 0;var a=n(r(2)).h,s=r(48),u=["categoryAxis","valueAxis","xAxis","yAxis"];function l(t,e){var r=[];if(t[e])for(var i=[].concat(t[e]),o=0;o<i.length;o++){var n=(i[o].crosshair||{}).tooltip;n&&n.visible&&r.push({index:o,name:e})}return r}var c={name:"KendoCrosshairContainer",props:{optionsState:Object},computed:{tooltips:function(){return function(t){for(var e={},r=0;r<u.length;r++)for(var i=l(t,u[r]),o=0;o<i.length;o++){var n=i[o];e[n.name+n.index]=n}return e}(this.optionsState)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=Object.keys(this.tooltips).map((function(t){return e(s.CrosshairTooltip,{index:this.tooltips[t].index,attrs:this.v3?void 0:{index:this.tooltips[t].index,name:this.tooltips[t].name},name:this.tooltips[t].name,key:t})}),this);return e("div",[r])}};e.CrosshairContainerVue2=c;var p=c;e.CrosshairContainer=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.CrosshairTooltipVue2=e.CrosshairTooltip=void 0;var a=n(r(2)).h,s=r(1),u=r(7),l=r(32),c={name:"KendoCrosshairTooltip",props:{index:Number,name:String},data:function(){return{popupShown:!1,popupAlign:void 0,popupOffset:void 0,popupContent:void 0,popupStyles:void 0,className:void 0}},inject:{optionsState:{default:{}},dispatchOptions:{default:null},observersStore:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created:function(){this.chartObserver=new u.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},destroyed:a?void 0:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},unmounted:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e,r=a||t,i=(s.getDefaultSlots(this),this.popupShown?this.popupContent:Function.prototype),o=s.classNames(((e={})["k-chart-crosshair-tooltip"]=!0,e["k-chart-tooltip-inverse"]=!!this.className,e));return r(l.TooltipPopup,{popupShown:this.popupShown,attrs:this.v3?void 0:{popupShown:this.popupShown,popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:o},popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:o},this.v3?function(){return[i]}:[i])},methods:{onShowTooltip:function(t){var e=t.anchor,r=t.style,i=t.className,o=t.crosshair,n=t.axisName,a=t.axisIndex,s=t.value,u=this.$props,l=u.name,c=u.index;o&&n===l&&a===c&&(this.popupShown=!0,this.popupAlign=e.align,this.popupOffset=e.point,this.popupContent=s,this.popupStyles=r,this.className=i)},onHideTooltip:function(){this.popupShown=!1,this.popupStyles={},this.className=void 0}}};e.CrosshairTooltipVue2=c;var p=c;e.CrosshairTooltip=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata=void 0,e.packageMetadata={name:"@progress/kendo-vue-charts",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1653315108,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.DonutCenterVue2=e.DonutCenter=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(7)),l=r(1),c={name:"KendoDonutCenter",props:{render:[String,Function,Object]},data:function(){return{donutCenterStyles:null}},inject:{optionsState:{default:{}},dispatchOptions:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created:function(){this.dispatchObservers({type:"add",payload:new u.InstanceObserver(this,{render:"onRender"})})},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=this.$props.render,i=e("span"),o=l.getTemplate.call(this,{h:e,template:r,defaultRendering:null});return r&&this.donutCenterStyles&&(i=e("div",{class:"k-chart-donut-center",style:this.donutCenterStyles},[o])),i},methods:{onRender:function(t){var e=this.optionsState.series,r=Array.isArray(e)?e[0]:null,i=t.sender._plotArea.charts;if(r&&"donut"===r.type&&0!==i[0].points.length){var o=i[0].points[0].sector,n=o.innerRadius,a=o.center.y-n,s=o.center.x-n,u=2*n;this.donutCenterStyles={height:u+"px",left:s+"px",top:a+"px",width:u+"px"}}}}};e.DonutCenterVue2=c;var p=c;e.DonutCenter=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.SparklineVue2=e.Sparkline=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(9)),l=r(7),c=r(1),p={name:"KendoSparkline",props:{dataItems:{type:Array,default:function(){}},type:String,dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},updated:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},mounted:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},methods:{chartInstance:function(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface:function(){return null!==this.baseChart?this.baseChart.surface:null},element:function(){return null!==this.baseChart?this.baseChart.element:null},getTarget:function(){return this},deriveOptionsFromParent:function(t){var e=this.$props,r=e.type,i=e.dataItems,o=Object.assign({},t,{type:r,data:i});return l.Sparkline.normalizeOptions(o)},handleBaseChartEvents:function(t,e){this.$emit(t,e)}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=this,r=s||t,i=c.getDefaultSlots(this),o=this.$props,n=o.dataItems,a=o.dir,p=o.renderAs,h=o.pannable,f=o.zoomable,d=o.seriesColors,v=o.transitions,g=o.paneDefaults,y=o.panes,m=o.seriesDefaults,b=o.axisDefaults;return r(u.BaseChart,{dataItems:n,attrs:this.v3?void 0:{dataItems:n,dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,chartConstructor:l.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent},dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,ref:this.v3?function(t){e.baseChartRef=t}:"baseChart",chartConstructor:l.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent,class:c.classNames("k-sparkline k-widget"),onBasechartevent:this.handleBaseChartEvents,on:this.v3?void 0:{basechartevent:this.handleBaseChartEvents}},this.v3?function(){return[i]}:[i])}};e.SparklineVue2=p;var h=p;e.Sparkline=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.StockChartVue2=e.StockChart=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(9)),l=r(7),c=r(1),p={autoBindElements:!0,liveDrag:!1,partialRedraw:!0},h={name:"KendoStockChart",props:{partialRedraw:{type:Boolean,default:void 0},dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},methods:{chartInstance:function(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface:function(){return null!==this.baseChart?this.baseChart.surface:null},element:function(){return null!==this.baseChart?this.baseChart.element:null},getTarget:function(){return this},deriveOptionsFromParent:function(t){var e=Object.assign({},t.navigator||{},p);return Object.assign({},t,{navigator:e})},onRefresh:function(t,e,r){this.$props.partialRedraw?(r.applyOptions(t),r.bindCategories(),r.navigator.redrawSlaves()):r.setOptions(t,e)},handleBaseChartEvents:function(t,e){this.$emit(t,e)}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=this,r=s||t,i=c.getDefaultSlots(this),o=this.$props,n=o.partialRedraw,a=o.dir,p=o.renderAs,h=o.pannable,f=o.zoomable,d=o.seriesColors,v=o.transitions,g=o.paneDefaults,y=o.panes,m=o.seriesDefaults,b=o.axisDefaults;return r(u.BaseChart,{partialRedraw:n,attrs:this.v3?void 0:{partialRedraw:n,dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,chartConstructor:l.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent},dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,ref:this.v3?function(t){e.baseChartRef=t}:"baseChart",chartConstructor:l.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent,onRefresh:this.onRefresh,on:this.v3?void 0:{refresh:this.onRefresh,basechartevent:this.handleBaseChartEvents},class:c.classNames("k-stockchart k-widget"),onBasechartevent:this.handleBaseChartEvents},this.v3?function(){return[i]}:[i])}};e.StockChartVue2=h;var f=h;e.StockChart=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipPoint=void 0;var i=r(31);Object.defineProperty(e,"TooltipPoint",{enumerable:!0,get:function(){return i.TooltipPoint}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||i(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartZoomableVue2=e.ChartZoomable=e.ChartYAxisItemVue2=e.ChartYAxisItem=e.ChartYAxisVue2=e.ChartYAxis=e.ChartXAxisItemVue2=e.ChartXAxisItem=e.ChartXAxisVue2=e.ChartXAxis=e.ChartValueAxisItemVue2=e.ChartValueAxisItem=e.ChartValueAxisVue2=e.ChartValueAxis=e.ChartTooltipVue2=e.ChartTooltip=e.ChartTitleVue2=e.ChartTitle=e.ChartSeriesItemVue2=e.ChartSeriesItem=e.ChartSeriesDefaultsVue2=e.ChartSeriesDefaults=e.ChartSeriesVue2=e.ChartSeries=e.ChartPlotAreaVue2=e.ChartPlotArea=e.ChartPanesVue2=e.ChartPanes=e.ChartPaneDefaultsVue2=e.ChartPaneDefaults=e.ChartPaneVue2=e.ChartPane=e.ChartNavigatorVue2=e.ChartNavigator=e.ChartLegendVue2=e.ChartLegend=e.ChartCategoryAxisItemVue2=e.ChartCategoryAxisItem=e.ChartCategoryAxisVue2=e.ChartCategoryAxis=e.ChartAxisDefaultsVue2=e.ChartAxisDefaults=e.ChartAreaVue2=e.ChartArea=void 0;var n=r(55);Object.defineProperty(e,"ChartArea",{enumerable:!0,get:function(){return n.ChartArea}}),Object.defineProperty(e,"ChartAreaVue2",{enumerable:!0,get:function(){return n.ChartAreaVue2}});var a=r(56);Object.defineProperty(e,"ChartAxisDefaults",{enumerable:!0,get:function(){return a.ChartAxisDefaults}}),Object.defineProperty(e,"ChartAxisDefaultsVue2",{enumerable:!0,get:function(){return a.ChartAxisDefaultsVue2}});var s=r(57);Object.defineProperty(e,"ChartCategoryAxis",{enumerable:!0,get:function(){return s.ChartCategoryAxis}}),Object.defineProperty(e,"ChartCategoryAxisVue2",{enumerable:!0,get:function(){return s.ChartCategoryAxisVue2}});var u=r(58);Object.defineProperty(e,"ChartCategoryAxisItem",{enumerable:!0,get:function(){return u.ChartCategoryAxisItem}}),Object.defineProperty(e,"ChartCategoryAxisItemVue2",{enumerable:!0,get:function(){return u.ChartCategoryAxisItemVue2}});var l=r(59);Object.defineProperty(e,"ChartLegend",{enumerable:!0,get:function(){return l.ChartLegend}}),Object.defineProperty(e,"ChartLegendVue2",{enumerable:!0,get:function(){return l.ChartLegendVue2}});var c=r(60);Object.defineProperty(e,"ChartNavigator",{enumerable:!0,get:function(){return c.ChartNavigator}}),Object.defineProperty(e,"ChartNavigatorVue2",{enumerable:!0,get:function(){return c.ChartNavigatorVue2}});var p=r(61);Object.defineProperty(e,"ChartPane",{enumerable:!0,get:function(){return p.ChartPane}}),Object.defineProperty(e,"ChartPaneVue2",{enumerable:!0,get:function(){return p.ChartPaneVue2}});var h=r(62);Object.defineProperty(e,"ChartPaneDefaults",{enumerable:!0,get:function(){return h.ChartPaneDefaults}}),Object.defineProperty(e,"ChartPaneDefaultsVue2",{enumerable:!0,get:function(){return h.ChartPaneDefaultsVue2}});var f=r(63);Object.defineProperty(e,"ChartPanes",{enumerable:!0,get:function(){return f.ChartPanes}}),Object.defineProperty(e,"ChartPanesVue2",{enumerable:!0,get:function(){return f.ChartPanesVue2}});var d=r(64);Object.defineProperty(e,"ChartPlotArea",{enumerable:!0,get:function(){return d.ChartPlotArea}}),Object.defineProperty(e,"ChartPlotAreaVue2",{enumerable:!0,get:function(){return d.ChartPlotAreaVue2}});var v=r(65);Object.defineProperty(e,"ChartSeries",{enumerable:!0,get:function(){return v.ChartSeries}}),Object.defineProperty(e,"ChartSeriesVue2",{enumerable:!0,get:function(){return v.ChartSeriesVue2}});var g=r(66);Object.defineProperty(e,"ChartSeriesDefaults",{enumerable:!0,get:function(){return g.ChartSeriesDefaults}}),Object.defineProperty(e,"ChartSeriesDefaultsVue2",{enumerable:!0,get:function(){return g.ChartSeriesDefaultsVue2}});var y=r(67);Object.defineProperty(e,"ChartSeriesItem",{enumerable:!0,get:function(){return y.ChartSeriesItem}}),Object.defineProperty(e,"ChartSeriesItemVue2",{enumerable:!0,get:function(){return y.ChartSeriesItemVue2}});var m=r(68);Object.defineProperty(e,"ChartTitle",{enumerable:!0,get:function(){return m.ChartTitle}}),Object.defineProperty(e,"ChartTitleVue2",{enumerable:!0,get:function(){return m.ChartTitleVue2}});var b=r(69);Object.defineProperty(e,"ChartTooltip",{enumerable:!0,get:function(){return b.ChartTooltip}}),Object.defineProperty(e,"ChartTooltipVue2",{enumerable:!0,get:function(){return b.ChartTooltipVue2}});var x=r(70);Object.defineProperty(e,"ChartValueAxis",{enumerable:!0,get:function(){return x.ChartValueAxis}}),Object.defineProperty(e,"ChartValueAxisVue2",{enumerable:!0,get:function(){return x.ChartValueAxisVue2}});var _=r(71);Object.defineProperty(e,"ChartValueAxisItem",{enumerable:!0,get:function(){return _.ChartValueAxisItem}}),Object.defineProperty(e,"ChartValueAxisItemVue2",{enumerable:!0,get:function(){return _.ChartValueAxisItemVue2}});var C=r(72);Object.defineProperty(e,"ChartXAxis",{enumerable:!0,get:function(){return C.ChartXAxis}}),Object.defineProperty(e,"ChartXAxisVue2",{enumerable:!0,get:function(){return C.ChartXAxisVue2}});var w=r(73);Object.defineProperty(e,"ChartXAxisItem",{enumerable:!0,get:function(){return w.ChartXAxisItem}}),Object.defineProperty(e,"ChartXAxisItemVue2",{enumerable:!0,get:function(){return w.ChartXAxisItemVue2}});var S=r(74);Object.defineProperty(e,"ChartYAxis",{enumerable:!0,get:function(){return S.ChartYAxis}}),Object.defineProperty(e,"ChartYAxisVue2",{enumerable:!0,get:function(){return S.ChartYAxisVue2}});var O=r(75);Object.defineProperty(e,"ChartYAxisItem",{enumerable:!0,get:function(){return O.ChartYAxisItem}}),Object.defineProperty(e,"ChartYAxisItemVue2",{enumerable:!0,get:function(){return O.ChartYAxisItemVue2}});var P=r(76);Object.defineProperty(e,"ChartZoomable",{enumerable:!0,get:function(){return P.ChartZoomable}}),Object.defineProperty(e,"ChartZoomableVue2",{enumerable:!0,get:function(){return P.ChartZoomableVue2}}),o(r(77),e),o(r(82),e),o(r(92),e),o(r(94),e),o(r(96),e),o(r(100),e),o(r(108),e),o(r(121),e),o(r(129),e),o(r(137),e),o(r(145),e)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAreaVue2=e.ChartArea=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartArea",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},opacity:{type:Number,default:void 0},width:{type:Number,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"chartArea"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"chartArea"}},[r])}};e.ChartAreaVue2=c;var p=c;e.ChartArea=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsVue2=e.ChartAxisDefaults=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaults",props:{background:{type:String,default:void 0},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},narrowRange:{type:Boolean,default:void 0},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:void 0},startAngle:{type:Number,default:void 0},visible:{type:Boolean,default:void 0},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"axisDefaults"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"axisDefaults"}},[r])}};e.ChartAxisDefaultsVue2=c;var p=c;e.ChartAxisDefaults=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisVue2=e.ChartCategoryAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartCategoryAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"categoryAxis",attrs:this.v3?void 0:{chartKey:"categoryAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartCategoryAxisVue2=l;var c=l;e.ChartCategoryAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisItemVue2=e.ChartCategoryAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisItem",props:{autoBaseUnitSteps:{type:Object,default:function(){}},axisCrossingValue:{type:[Object,Array,Date,Number],default:function(){}},background:{type:String,default:function(){}},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},baseUnitStep:{type:[Number,String],default:function(){}},categories:{type:[Array,Object],default:function(){}},color:{type:String,default:function(){}},justified:{type:Boolean,default:function(){}},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},max:{type:[Number,Object,String,Date],default:function(){}},maxDateGroups:{type:Number,default:function(){}},maxDivisions:{type:Number,default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},name:{type:String,default:void 0},rangeLabels:{type:Object,default:function(){}},pane:{type:String,default:function(){}},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},roundToBaseUnit:{type:Boolean,default:function(){}},startAngle:{type:Number,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["category","date"].includes(t)}},visible:{type:Boolean,default:function(){}},weekStartDay:{type:Number,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},select:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartCategoryAxisItemVue2=c;var p=c;e.ChartCategoryAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendVue2=e.ChartLegend=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegend",props:{align:{type:String,default:function(){},validator:function(t){return["start","center","end"].includes(t)}},background:{type:String,default:void 0},border:{type:Object,default:function(){}},height:{type:Number,default:void 0},labels:{type:Object,default:function(){}},margin:{type:[Object,Number],default:function(){}},offsetX:{type:Number,default:void 0},offsetY:{type:Number,default:void 0},orientation:{type:String,default:function(){},validator:function(t){return["vertical","horizontal"].includes(t)}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right","custom"].includes(t)}},reverse:{type:Boolean,default:void 0},visible:{type:Boolean,default:!0},width:{type:Number,default:void 0},inactiveItems:{type:Object,default:function(){}},item:{type:Object,default:function(){}},spacing:{type:Number,default:void 0},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"legend"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"legend"}},[r])}};e.ChartLegendVue2=c;var p=c;e.ChartLegend=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorVue2=e.ChartNavigator=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigator",props:{visible:{type:Boolean,default:!0},categoryAxis:{type:Object,default:function(){}},hint:{type:Object,default:function(){}},pane:{type:Object,default:function(){}},select:{type:Object,default:function(){}},series:{type:[Object,Array],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"navigator"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"navigator"}},[r])}};e.ChartNavigatorVue2=c;var p=c;e.ChartNavigator=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneVue2=e.ChartPane=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPane",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},clip:{type:Boolean,default:void 0},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},name:{type:String,default:void 0},padding:{type:[Object,Number],default:function(){}},title:{type:[Object,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartPaneVue2=c;var p=c;e.ChartPane=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneDefaultsVue2=e.ChartPaneDefaults=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPaneDefaults",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},clip:{type:Boolean,default:void 0},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},name:{type:String,default:void 0},padding:{type:[Object,Number],default:function(){}},title:{type:[Object,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"paneDefaults"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"paneDefaults"}},[r])}};e.ChartPaneDefaultsVue2=c;var p=c;e.ChartPaneDefaults=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPanesVue2=e.ChartPanes=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartPanes",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"panes",attrs:this.v3?void 0:{chartKey:"panes"}},this.v3?function(){return[r]}:[r])}};e.ChartPanesVue2=l;var c=l;e.ChartPanes=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPlotAreaVue2=e.ChartPlotArea=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPlotArea",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},margin:{type:[Object,Number],default:function(){}},opacity:{type:Number,default:void 0},padding:{type:[Object,Number],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"plotArea"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"plotArea"}},[r])}};e.ChartPlotAreaVue2=c;var p=c;e.ChartPlotArea=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesVue2=e.ChartSeries=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartSeries",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"series",attrs:this.v3?void 0:{chartKey:"series"}},this.v3?function(){return[r]}:[r])}};e.ChartSeriesVue2=l;var c=l;e.ChartSeries=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsVue2=e.ChartSeriesDefaults=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaults",props:{border:{type:Object,default:function(){}},gap:Number,overlay:{type:Object,default:function(){}},spacing:Number,stack:{type:[Boolean,String,Object],default:function(){}},type:{type:String,default:function(){},validator:function(t){return["area","bar","boxPlot","bubble","bullet","candlestick","column","donut","funnel","horizontalWaterfall","line","ohlc","pie","polarArea","polarLine","polarScatter","radarArea","radarColumn","radarLine","rangeArea","rangeBar","rangeColumn","scatter","scatterLine","verticalArea","verticalBoxPlot","verticalBullet","verticalLine","verticalRangeArea","waterfall"].includes(t)}},visual:{type:Function,default:void 0},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"seriesDefaults"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"seriesDefaults"}},[r])}};e.ChartSeriesDefaultsVue2=c;var p=c;e.ChartSeriesDefaults=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesItemVue2=e.ChartSeriesItem=void 0;var a=n(r(2)),s=a.h,u=(a.reactive,r(4)),l=r(1),c=r(3),p={name:"KendoChartSeriesItem",props:{aggregate:{type:[String,Function,Object],default:function(){}},axis:String,border:{type:Object,default:function(){}},categoryAxis:String,categoryField:String,closeField:String,color:{type:[String,Function],default:function(){}},colorField:String,connectors:{type:Object,default:function(){}},currentField:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},dataItems:{type:Array,default:function(){}},downColor:String,downColorField:String,dynamicHeight:{type:Boolean,default:void 0},dynamicSlope:{type:Boolean,default:void 0},errorHighField:String,errorLowField:String,explodeField:String,field:String,fromField:String,gap:Number,highField:String,holeSize:Number,line:{type:Object,default:function(){}},lowField:String,lowerField:String,margin:{type:[Object,Number],default:function(){}},maxSize:Number,meanField:String,medianField:String,minSize:Number,missingValues:{type:String,default:function(){},validator:function(t){return["gap","interpolate","zero"].includes(t)}},name:String,neckRatio:Number,negativeColor:String,negativeValues:{type:Object,default:function(){}},noteTextField:String,opacity:Number,openField:String,outliersField:String,overlay:{type:Object,default:function(){}},padding:Number,q1Field:String,q3Field:String,segmentSpacing:Number,size:Number,sizeField:String,spacing:Number,stack:{type:[Boolean,String,Object],default:function(){}},startAngle:Number,lineStyle:{type:String,default:function(){},validator:function(t){return["normal","step","smooth"].includes(t)}},summaryField:String,target:{type:Object,default:function(){}},toField:String,type:{type:String,default:function(){},validator:function(t){return["area","bar","boxPlot","bubble","bullet","candlestick","column","donut","funnel","horizontalWaterfall","line","ohlc","pie","polarArea","polarLine","polarScatter","radarArea","radarColumn","radarLine","rangeArea","rangeBar","rangeColumn","scatter","scatterLine","verticalArea","verticalBoxPlot","verticalBullet","verticalLine","verticalRangeArea","waterfall"].includes(t)}},upperField:String,visible:{type:Boolean,default:void 0},visibleInLegend:{type:Boolean,default:void 0},visibleInLegendField:String,visual:{type:Function,default:void 0},width:Number,xAxis:String,xErrorHighField:String,xErrorLowField:String,xField:String,yAxis:String,yErrorHighField:String,yErrorLowField:String,yField:String,zIndex:Number,errorBars:{type:Object,default:function(){}},extremes:{type:Object,default:function(){}},highlight:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},markers:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},outliers:{type:Object,default:function(){}},tooltip:{type:Object,default:function(){}}},inject:{chartRefresh:{default:l.noop}},watch:{dataItems:{handler:function(){this.chartRefresh()},deep:!0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),i=c.removeUndefinedProps(this.$props);return this.v3?e(u.Configuration,{config:i},(function(){return r})):e(u.Configuration,{props:{config:i}},[r])}};e.ChartSeriesItemVue2=p;var h=p;e.ChartSeriesItem=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartTitleVue2=e.ChartTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartTitle",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},align:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},color:{type:String,default:void 0},font:{type:String,default:void 0},position:{type:String,default:function(){},validator:function(t){return["top","bottom"].includes(t)}},text:{type:String,default:void 0},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartTitleVue2=c;var p=c;e.ChartTitle=p},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartTooltipVue2=e.ChartTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartTooltip",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},padding:{type:[Object,Number],default:function(){}},color:{type:String,default:void 0},render:[String,Function,Object],font:{type:String,default:void 0},format:{type:String,default:void 0},opacity:{type:Number,default:void 0},shared:{type:Boolean,default:void 0},visible:{type:Boolean,default:!0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartTooltipVue2=p;var h=p;e.ChartTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisVue2=e.ChartValueAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartValueAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"valueAxis",attrs:this.v3?void 0:{chartKey:"valueAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartValueAxisVue2=l;var c=l;e.ChartValueAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisItemVue2=e.ChartValueAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisItem",props:{axisCrossingValue:{type:[Array,Object,Date,Number],default:function(){}},background:{type:String,default:void 0},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},majorUnit:{type:Number,default:void 0},max:{type:[Number,Object,String,Date],default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},minorUnit:{type:Number,default:void 0},name:{type:String,default:void 0},narrowRange:{type:Boolean,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["numeric","log"].includes(t)}},visible:{type:Boolean,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartValueAxisItemVue2=c;var p=c;e.ChartValueAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisVue2=e.ChartXAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartXAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"xAxis",attrs:this.v3?void 0:{chartKey:"xAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartXAxisVue2=l;var c=l;e.ChartXAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisItemVue2=e.ChartXAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisItem",props:{axisCrossingValue:{type:[Array,Object,Date,Number],default:function(){}},background:{type:String,default:void 0},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},majorUnit:{type:Number,default:void 0},max:{type:[Number,Object,String,Date],default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},minorUnit:{type:Number,default:void 0},name:{type:String,default:void 0},narrowRange:{type:Boolean,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},startAngle:{type:Number,default:void 0},reverse:{type:Boolean,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["numeric","log","date"].includes(t)}},visible:{type:Boolean,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartXAxisItemVue2=c;var p=c;e.ChartXAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisVue2=e.ChartYAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartYAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"yAxis",attrs:this.v3?void 0:{chartKey:"yAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartYAxisVue2=l;var c=l;e.ChartYAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisItemVue2=e.ChartYAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisItem",props:{axisCrossingValue:{type:[Array,Object,Date,Number],default:function(){}},background:{type:String,default:void 0},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},majorUnit:{type:Number,default:void 0},max:{type:[Number,Object,String,Date],default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},minorUnit:{type:Number,default:void 0},name:{type:String,default:void 0},narrowRange:{type:Boolean,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["numeric","log","date"].includes(t)}},visible:{type:Boolean,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartYAxisItemVue2=c;var p=c;e.ChartYAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartZoomableVue2=e.ChartZoomable=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartZoomable",props:{mousewheel:{type:[Boolean,Object],default:function(){}},selection:{type:[Boolean,Object],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"zoomable"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"zoomable"}},[r])}};e.ChartZoomableVue2=c;var p=c;e.ChartZoomable=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsCrosshairTooltipVue2=e.ChartAxisDefaultsCrosshairTooltip=e.ChartAxisDefaultsCrosshairVue2=e.ChartAxisDefaultsCrosshair=e.ChartAxisDefaultsLabelsVue2=e.ChartAxisDefaultsLabels=e.ChartAxisDefaultsTitleVue2=e.ChartAxisDefaultsTitle=void 0;var i=r(78);Object.defineProperty(e,"ChartAxisDefaultsTitle",{enumerable:!0,get:function(){return i.ChartAxisDefaultsTitle}}),Object.defineProperty(e,"ChartAxisDefaultsTitleVue2",{enumerable:!0,get:function(){return i.ChartAxisDefaultsTitleVue2}});var o=r(79);Object.defineProperty(e,"ChartAxisDefaultsLabels",{enumerable:!0,get:function(){return o.ChartAxisDefaultsLabels}}),Object.defineProperty(e,"ChartAxisDefaultsLabelsVue2",{enumerable:!0,get:function(){return o.ChartAxisDefaultsLabelsVue2}});var n=r(80);Object.defineProperty(e,"ChartAxisDefaultsCrosshair",{enumerable:!0,get:function(){return n.ChartAxisDefaultsCrosshair}}),Object.defineProperty(e,"ChartAxisDefaultsCrosshairVue2",{enumerable:!0,get:function(){return n.ChartAxisDefaultsCrosshairVue2}});var a=r(81);Object.defineProperty(e,"ChartAxisDefaultsCrosshairTooltip",{enumerable:!0,get:function(){return a.ChartAxisDefaultsCrosshairTooltip}}),Object.defineProperty(e,"ChartAxisDefaultsCrosshairTooltipVue2",{enumerable:!0,get:function(){return a.ChartAxisDefaultsCrosshairTooltipVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsTitleVue2=e.ChartAxisDefaultsTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartAxisDefaultsTitleVue2=c;var p=c;e.ChartAxisDefaultsTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsLabelsVue2=e.ChartAxisDefaultsLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsLabels",props:{content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:Boolean,padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartAxisDefaultsLabelsVue2=c;var p=c;e.ChartAxisDefaultsLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsCrosshairVue2=e.ChartAxisDefaultsCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartAxisDefaultsCrosshairVue2=c;var p=c;e.ChartAxisDefaultsCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsCrosshairTooltipVue2=e.ChartAxisDefaultsCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartAxisDefaultsCrosshairTooltipVue2=c;var p=c;e.ChartAxisDefaultsCrosshairTooltip=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisRangeLabelsVue2=e.ChartCategoryAxisRangeLabels=e.ChartCategoryAxisNotesLabelVue2=e.ChartCategoryAxisNotesLabel=e.ChartCategoryAxisNotesIconVue2=e.ChartCategoryAxisNotesIcon=e.ChartCategoryAxisNotesVue2=e.ChartCategoryAxisNotes=e.ChartCategoryAxisLabelsVue2=e.ChartCategoryAxisLabels=e.ChartCategoryAxisTitleVue2=e.ChartCategoryAxisTitle=e.ChartCategoryAxisSelectVue2=e.ChartCategoryAxisSelect=e.ChartCategoryAxisCrosshairTooltipVue2=e.ChartCategoryAxisCrosshairTooltip=e.ChartCategoryAxisCrosshairVue2=e.ChartCategoryAxisCrosshair=void 0;var i=r(83);Object.defineProperty(e,"ChartCategoryAxisCrosshair",{enumerable:!0,get:function(){return i.ChartCategoryAxisCrosshair}}),Object.defineProperty(e,"ChartCategoryAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartCategoryAxisCrosshairVue2}});var o=r(84);Object.defineProperty(e,"ChartCategoryAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartCategoryAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartCategoryAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartCategoryAxisCrosshairTooltipVue2}});var n=r(85);Object.defineProperty(e,"ChartCategoryAxisSelect",{enumerable:!0,get:function(){return n.ChartCategoryAxisSelect}}),Object.defineProperty(e,"ChartCategoryAxisSelectVue2",{enumerable:!0,get:function(){return n.ChartCategoryAxisSelectVue2}});var a=r(86);Object.defineProperty(e,"ChartCategoryAxisTitle",{enumerable:!0,get:function(){return a.ChartCategoryAxisTitle}}),Object.defineProperty(e,"ChartCategoryAxisTitleVue2",{enumerable:!0,get:function(){return a.ChartCategoryAxisTitleVue2}});var s=r(87);Object.defineProperty(e,"ChartCategoryAxisLabels",{enumerable:!0,get:function(){return s.ChartCategoryAxisLabels}}),Object.defineProperty(e,"ChartCategoryAxisLabelsVue2",{enumerable:!0,get:function(){return s.ChartCategoryAxisLabelsVue2}});var u=r(88);Object.defineProperty(e,"ChartCategoryAxisNotes",{enumerable:!0,get:function(){return u.ChartCategoryAxisNotes}}),Object.defineProperty(e,"ChartCategoryAxisNotesVue2",{enumerable:!0,get:function(){return u.ChartCategoryAxisNotesVue2}});var l=r(89);Object.defineProperty(e,"ChartCategoryAxisNotesIcon",{enumerable:!0,get:function(){return l.ChartCategoryAxisNotesIcon}}),Object.defineProperty(e,"ChartCategoryAxisNotesIconVue2",{enumerable:!0,get:function(){return l.ChartCategoryAxisNotesIconVue2}});var c=r(90);Object.defineProperty(e,"ChartCategoryAxisNotesLabel",{enumerable:!0,get:function(){return c.ChartCategoryAxisNotesLabel}}),Object.defineProperty(e,"ChartCategoryAxisNotesLabelVue2",{enumerable:!0,get:function(){return c.ChartCategoryAxisNotesLabelVue2}});var p=r(91);Object.defineProperty(e,"ChartCategoryAxisRangeLabels",{enumerable:!0,get:function(){return p.ChartCategoryAxisRangeLabels}}),Object.defineProperty(e,"ChartCategoryAxisRangeLabelsVue2",{enumerable:!0,get:function(){return p.ChartCategoryAxisRangeLabelsVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisCrosshairVue2=e.ChartCategoryAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartCategoryAxisCrosshairVue2=c;var p=c;e.ChartCategoryAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisCrosshairTooltipVue2=e.ChartCategoryAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartCategoryAxisCrosshairTooltipVue2=c;var p=c;e.ChartCategoryAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisSelectVue2=e.ChartCategoryAxisSelect=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisSelect",props:{from:{type:[Object,Number,String],default:function(){}},max:{type:[Object,Number,String,Date],default:function(){}},min:{type:[Object,Number,String,Date],default:function(){}},mousewheel:{type:[Object,Boolean],default:function(){}},to:{type:[Object,Number,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"select"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"select"}},[r])}};e.ChartCategoryAxisSelectVue2=c;var p=c;e.ChartCategoryAxisSelect=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisTitleVue2=e.ChartCategoryAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartCategoryAxisTitleVue2=c;var p=c;e.ChartCategoryAxisTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisLabelsVue2=e.ChartCategoryAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartCategoryAxisLabelsVue2=c;var p=c;e.ChartCategoryAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisNotesVue2=e.ChartCategoryAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartCategoryAxisNotesVue2=c;var p=c;e.ChartCategoryAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisNotesIconVue2=e.ChartCategoryAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartCategoryAxisNotesIconVue2=c;var p=c;e.ChartCategoryAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisNotesLabelVue2=e.ChartCategoryAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartCategoryAxisNotesLabelVue2=c;var p=c;e.ChartCategoryAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisRangeLabelsVue2=e.ChartCategoryAxisRangeLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisRangeLabels",props:{position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},skip:Number,step:Number,visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"rangeLabels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"rangeLabels"}},[r])}};e.ChartCategoryAxisRangeLabelsVue2=c;var p=c;e.ChartCategoryAxisRangeLabels=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneTitleVue2=e.ChartPaneTitle=void 0;var i=r(93);Object.defineProperty(e,"ChartPaneTitle",{enumerable:!0,get:function(){return i.ChartPaneTitle}}),Object.defineProperty(e,"ChartPaneTitleVue2",{enumerable:!0,get:function(){return i.ChartPaneTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneTitleVue2=e.ChartPaneTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPaneTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartPaneTitleVue2=c;var p=c;e.ChartPaneTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneDefaultsTitleVue2=e.ChartPaneDefaultsTitle=void 0;var i=r(95);Object.defineProperty(e,"ChartPaneDefaultsTitle",{enumerable:!0,get:function(){return i.ChartPaneDefaultsTitle}}),Object.defineProperty(e,"ChartPaneDefaultsTitleVue2",{enumerable:!0,get:function(){return i.ChartPaneDefaultsTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneDefaultsTitleVue2=e.ChartPaneDefaultsTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPaneDefaultsTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartPaneDefaultsTitleVue2=c;var p=c;e.ChartPaneDefaultsTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendInactiveItemsVue2=e.ChartLegendInactiveItems=e.ChartLegendTitleVue2=e.ChartLegendTitle=e.ChartLegendItemVue2=e.ChartLegendItem=void 0;var i=r(97);Object.defineProperty(e,"ChartLegendItem",{enumerable:!0,get:function(){return i.ChartLegendItem}}),Object.defineProperty(e,"ChartLegendItemVue2",{enumerable:!0,get:function(){return i.ChartLegendItemVue2}});var o=r(98);Object.defineProperty(e,"ChartLegendTitle",{enumerable:!0,get:function(){return o.ChartLegendTitle}}),Object.defineProperty(e,"ChartLegendTitleVue2",{enumerable:!0,get:function(){return o.ChartLegendTitleVue2}});var n=r(99);Object.defineProperty(e,"ChartLegendInactiveItems",{enumerable:!0,get:function(){return n.ChartLegendInactiveItems}}),Object.defineProperty(e,"ChartLegendInactiveItemsVue2",{enumerable:!0,get:function(){return n.ChartLegendInactiveItemsVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendItemVue2=e.ChartLegendItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegendItem",props:{cursor:String,visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"item"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"item"}},[r])}};e.ChartLegendItemVue2=c;var p=c;e.ChartLegendItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendTitleVue2=e.ChartLegendTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegendTitle",props:{align:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartLegendTitleVue2=c;var p=c;e.ChartLegendTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendInactiveItemsVue2=e.ChartLegendInactiveItems=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegendInactiveItems",props:{labels:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"inactiveItems"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"inactiveItems"}},[r])}};e.ChartLegendInactiveItemsVue2=c;var p=c;e.ChartLegendInactiveItems=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesLabelVue2=e.ChartSeriesDefaultsNotesLabel=e.ChartSeriesDefaultsNotesIconVue2=e.ChartSeriesDefaultsNotesIcon=e.ChartSeriesDefaultsNotesVue2=e.ChartSeriesDefaultsNotes=e.ChartSeriesDefaultsLabelsToVue2=e.ChartSeriesDefaultsLabelsTo=e.ChartSeriesDefaultsLabelsFromVue2=e.ChartSeriesDefaultsLabelsFrom=e.ChartSeriesDefaultsLabelsVue2=e.ChartSeriesDefaultsLabels=e.ChartSeriesDefaultsItemTooltipVue2=e.ChartSeriesDefaultsItemTooltip=void 0;var i=r(101);Object.defineProperty(e,"ChartSeriesDefaultsItemTooltip",{enumerable:!0,get:function(){return i.ChartSeriesDefaultsItemTooltip}}),Object.defineProperty(e,"ChartSeriesDefaultsItemTooltipVue2",{enumerable:!0,get:function(){return i.ChartSeriesDefaultsItemTooltipVue2}});var o=r(102);Object.defineProperty(e,"ChartSeriesDefaultsLabels",{enumerable:!0,get:function(){return o.ChartSeriesDefaultsLabels}}),Object.defineProperty(e,"ChartSeriesDefaultsLabelsVue2",{enumerable:!0,get:function(){return o.ChartSeriesDefaultsLabelsVue2}});var n=r(103);Object.defineProperty(e,"ChartSeriesDefaultsLabelsFrom",{enumerable:!0,get:function(){return n.ChartSeriesDefaultsLabelsFrom}}),Object.defineProperty(e,"ChartSeriesDefaultsLabelsFromVue2",{enumerable:!0,get:function(){return n.ChartSeriesDefaultsLabelsFromVue2}});var a=r(104);Object.defineProperty(e,"ChartSeriesDefaultsLabelsTo",{enumerable:!0,get:function(){return a.ChartSeriesDefaultsLabelsTo}}),Object.defineProperty(e,"ChartSeriesDefaultsLabelsToVue2",{enumerable:!0,get:function(){return a.ChartSeriesDefaultsLabelsToVue2}});var s=r(105);Object.defineProperty(e,"ChartSeriesDefaultsNotes",{enumerable:!0,get:function(){return s.ChartSeriesDefaultsNotes}}),Object.defineProperty(e,"ChartSeriesDefaultsNotesVue2",{enumerable:!0,get:function(){return s.ChartSeriesDefaultsNotesVue2}});var u=r(106);Object.defineProperty(e,"ChartSeriesDefaultsNotesIcon",{enumerable:!0,get:function(){return u.ChartSeriesDefaultsNotesIcon}}),Object.defineProperty(e,"ChartSeriesDefaultsNotesIconVue2",{enumerable:!0,get:function(){return u.ChartSeriesDefaultsNotesIconVue2}});var l=r(107);Object.defineProperty(e,"ChartSeriesDefaultsNotesLabel",{enumerable:!0,get:function(){return l.ChartSeriesDefaultsNotesLabel}}),Object.defineProperty(e,"ChartSeriesDefaultsNotesLabelVue2",{enumerable:!0,get:function(){return l.ChartSeriesDefaultsNotesLabelVue2}})},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsItemTooltipVue2=e.ChartSeriesDefaultsItemTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartSeriesDefaultsItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0},render:[String,Number,Object]},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartSeriesDefaultsItemTooltipVue2=p;var h=p;e.ChartSeriesDefaultsItemTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsLabelsVue2=e.ChartSeriesDefaultsLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartSeriesDefaultsLabelsVue2=c;var p=c;e.ChartSeriesDefaultsLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsLabelsFromVue2=e.ChartSeriesDefaultsLabelsFrom=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"from"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"from"}},[r])}};e.ChartSeriesDefaultsLabelsFromVue2=c;var p=c;e.ChartSeriesDefaultsLabelsFrom=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsLabelsToVue2=e.ChartSeriesDefaultsLabelsTo=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"to"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"to"}},[r])}};e.ChartSeriesDefaultsLabelsToVue2=c;var p=c;e.ChartSeriesDefaultsLabelsTo=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesVue2=e.ChartSeriesDefaultsNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsNotes",props:{line:{type:Object,default:function(){}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartSeriesDefaultsNotesVue2=c;var p=c;e.ChartSeriesDefaultsNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesIconVue2=e.ChartSeriesDefaultsNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartSeriesDefaultsNotesIconVue2=c;var p=c;e.ChartSeriesDefaultsNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesLabelVue2=e.ChartSeriesDefaultsNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartSeriesDefaultsNotesLabelVue2=c;var p=c;e.ChartSeriesDefaultsNotesLabel=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesIconVue2=e.ChartSeriesNotesIcon=e.ChartSeriesNotesLabelVue2=e.ChartSeriesNotesLabel=e.ChartSeriesLabelsToVue2=e.ChartSeriesLabelsTo=e.ChartSeriesLabelsFromVue2=e.ChartSeriesLabelsFrom=e.ChartSeriesErrorBarsVue2=e.ChartSeriesErrorBars=e.ChartSeriesExtremesVue2=e.ChartSeriesExtremes=e.ChartSeriesHighlightVue2=e.ChartSeriesHighlight=e.ChartSeriesLabelsVue2=e.ChartSeriesLabels=e.ChartSeriesMarkersVue2=e.ChartSeriesMarkers=e.ChartSeriesNotesVue2=e.ChartSeriesNotes=e.ChartSeriesItemOutliersVue2=e.ChartSeriesItemOutliers=e.ChartSeriesItemTooltipVue2=e.ChartSeriesItemTooltip=void 0;var i=r(109);Object.defineProperty(e,"ChartSeriesItemTooltip",{enumerable:!0,get:function(){return i.ChartSeriesItemTooltip}}),Object.defineProperty(e,"ChartSeriesItemTooltipVue2",{enumerable:!0,get:function(){return i.ChartSeriesItemTooltipVue2}});var o=r(110);Object.defineProperty(e,"ChartSeriesItemOutliers",{enumerable:!0,get:function(){return o.ChartSeriesItemOutliers}}),Object.defineProperty(e,"ChartSeriesItemOutliersVue2",{enumerable:!0,get:function(){return o.ChartSeriesItemOutliersVue2}});var n=r(111);Object.defineProperty(e,"ChartSeriesNotes",{enumerable:!0,get:function(){return n.ChartSeriesNotes}}),Object.defineProperty(e,"ChartSeriesNotesVue2",{enumerable:!0,get:function(){return n.ChartSeriesNotesVue2}});var a=r(112);Object.defineProperty(e,"ChartSeriesMarkers",{enumerable:!0,get:function(){return a.ChartSeriesMarkers}}),Object.defineProperty(e,"ChartSeriesMarkersVue2",{enumerable:!0,get:function(){return a.ChartSeriesMarkersVue2}});var s=r(113);Object.defineProperty(e,"ChartSeriesLabels",{enumerable:!0,get:function(){return s.ChartSeriesLabels}}),Object.defineProperty(e,"ChartSeriesLabelsVue2",{enumerable:!0,get:function(){return s.ChartSeriesLabelsVue2}});var u=r(114);Object.defineProperty(e,"ChartSeriesHighlight",{enumerable:!0,get:function(){return u.ChartSeriesHighlight}}),Object.defineProperty(e,"ChartSeriesHighlightVue2",{enumerable:!0,get:function(){return u.ChartSeriesHighlightVue2}});var l=r(115);Object.defineProperty(e,"ChartSeriesExtremes",{enumerable:!0,get:function(){return l.ChartSeriesExtremes}}),Object.defineProperty(e,"ChartSeriesExtremesVue2",{enumerable:!0,get:function(){return l.ChartSeriesExtremesVue2}});var c=r(116);Object.defineProperty(e,"ChartSeriesErrorBars",{enumerable:!0,get:function(){return c.ChartSeriesErrorBars}}),Object.defineProperty(e,"ChartSeriesErrorBarsVue2",{enumerable:!0,get:function(){return c.ChartSeriesErrorBarsVue2}});var p=r(117);Object.defineProperty(e,"ChartSeriesLabelsFrom",{enumerable:!0,get:function(){return p.ChartSeriesLabelsFrom}}),Object.defineProperty(e,"ChartSeriesLabelsFromVue2",{enumerable:!0,get:function(){return p.ChartSeriesLabelsFromVue2}});var h=r(118);Object.defineProperty(e,"ChartSeriesLabelsTo",{enumerable:!0,get:function(){return h.ChartSeriesLabelsTo}}),Object.defineProperty(e,"ChartSeriesLabelsToVue2",{enumerable:!0,get:function(){return h.ChartSeriesLabelsToVue2}});var f=r(119);Object.defineProperty(e,"ChartSeriesNotesLabel",{enumerable:!0,get:function(){return f.ChartSeriesNotesLabel}}),Object.defineProperty(e,"ChartSeriesNotesLabelVue2",{enumerable:!0,get:function(){return f.ChartSeriesNotesLabelVue2}});var d=r(120);Object.defineProperty(e,"ChartSeriesNotesIcon",{enumerable:!0,get:function(){return d.ChartSeriesNotesIcon}}),Object.defineProperty(e,"ChartSeriesNotesIconVue2",{enumerable:!0,get:function(){return d.ChartSeriesNotesIconVue2}})},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesItemTooltipVue2=e.ChartSeriesItemTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartSeriesItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},render:[String,Number,Object],visible:{type:Boolean,default:!0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartSeriesItemTooltipVue2=p;var h=p;e.ChartSeriesItemTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesItemOutliersVue2=e.ChartSeriesItemOutliers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesItemOutliers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"outliers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"outliers"}},[r])}};e.ChartSeriesItemOutliersVue2=c;var p=c;e.ChartSeriesItemOutliers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesVue2=e.ChartSeriesNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesNotes",props:{line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartSeriesNotesVue2=c;var p=c;e.ChartSeriesNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesMarkersVue2=e.ChartSeriesMarkers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesMarkers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"markers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"markers"}},[r])}};e.ChartSeriesMarkersVue2=c;var p=c;e.ChartSeriesMarkers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesLabelsVue2=e.ChartSeriesLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesLabels",props:{align:{type:String,default:function(){},validator:function(t){return["circle","column","center","right","left"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},distance:Number,font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["auto","above","below","center","insideBase","insideEnd","left","outsideEnd","right","top","bottom"].includes(t)}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartSeriesLabelsVue2=c;var p=c;e.ChartSeriesLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesHighlightVue2=e.ChartSeriesHighlight=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesHighlight",props:{border:{type:Object,default:function(){}},color:String,line:{type:Object,default:function(){}},opacity:Number,toggle:{type:Function,default:void 0},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"highlight"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"highlight"}},[r])}};e.ChartSeriesHighlightVue2=c;var p=c;e.ChartSeriesHighlight=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesExtremesVue2=e.ChartSeriesExtremes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesExtremes",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"extremes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"extremes"}},[r])}};e.ChartSeriesExtremesVue2=c;var p=c;e.ChartSeriesExtremes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesErrorBarsVue2=e.ChartSeriesErrorBars=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesErrorBars",props:{color:String,endCaps:{type:Boolean,default:void 0},line:{type:Object,default:function(){}},value:String,visual:{type:Function,default:void 0},xValue:String,yValue:String},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"errorBars"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"errorBars"}},[r])}};e.ChartSeriesErrorBarsVue2=c;var p=c;e.ChartSeriesErrorBars=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesLabelsFromVue2=e.ChartSeriesLabelsFrom=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"from"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"from"}},[r])}};e.ChartSeriesLabelsFromVue2=c;var p=c;e.ChartSeriesLabelsFrom=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesLabelsToVue2=e.ChartSeriesLabelsTo=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"to"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"to"}},[r])}};e.ChartSeriesLabelsToVue2=c;var p=c;e.ChartSeriesLabelsTo=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesLabelVue2=e.ChartSeriesNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartSeriesNotesLabelVue2=c;var p=c;e.ChartSeriesNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesIconVue2=e.ChartSeriesNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartSeriesNotesIconVue2=c;var p=c;e.ChartSeriesNotesIcon=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesLabelVue2=e.ChartValueAxisNotesLabel=e.ChartValueAxisNotesIconVue2=e.ChartValueAxisNotesIcon=e.ChartValueAxisNotesVue2=e.ChartValueAxisNotes=e.ChartValueAxisLabelsVue2=e.ChartValueAxisLabels=e.ChartValueAxisTitleVue2=e.ChartValueAxisTitle=e.ChartValueAxisCrosshairTooltipVue2=e.ChartValueAxisCrosshairTooltip=e.ChartValueAxisCrosshairVue2=e.ChartValueAxisCrosshair=void 0;var i=r(122);Object.defineProperty(e,"ChartValueAxisCrosshair",{enumerable:!0,get:function(){return i.ChartValueAxisCrosshair}}),Object.defineProperty(e,"ChartValueAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartValueAxisCrosshairVue2}});var o=r(123);Object.defineProperty(e,"ChartValueAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartValueAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartValueAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartValueAxisCrosshairTooltipVue2}});var n=r(124);Object.defineProperty(e,"ChartValueAxisLabels",{enumerable:!0,get:function(){return n.ChartValueAxisLabels}}),Object.defineProperty(e,"ChartValueAxisLabelsVue2",{enumerable:!0,get:function(){return n.ChartValueAxisLabelsVue2}});var a=r(125);Object.defineProperty(e,"ChartValueAxisNotes",{enumerable:!0,get:function(){return a.ChartValueAxisNotes}}),Object.defineProperty(e,"ChartValueAxisNotesVue2",{enumerable:!0,get:function(){return a.ChartValueAxisNotesVue2}});var s=r(126);Object.defineProperty(e,"ChartValueAxisNotesIcon",{enumerable:!0,get:function(){return s.ChartValueAxisNotesIcon}}),Object.defineProperty(e,"ChartValueAxisNotesIconVue2",{enumerable:!0,get:function(){return s.ChartValueAxisNotesIconVue2}});var u=r(127);Object.defineProperty(e,"ChartValueAxisNotesLabel",{enumerable:!0,get:function(){return u.ChartValueAxisNotesLabel}}),Object.defineProperty(e,"ChartValueAxisNotesLabelVue2",{enumerable:!0,get:function(){return u.ChartValueAxisNotesLabelVue2}});var l=r(128);Object.defineProperty(e,"ChartValueAxisTitle",{enumerable:!0,get:function(){return l.ChartValueAxisTitle}}),Object.defineProperty(e,"ChartValueAxisTitleVue2",{enumerable:!0,get:function(){return l.ChartValueAxisTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisCrosshairVue2=e.ChartValueAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisCrosshair",props:{color:String,opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartValueAxisCrosshairVue2=c;var p=c;e.ChartValueAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisCrosshairTooltipVue2=e.ChartValueAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartValueAxisCrosshairTooltipVue2=c;var p=c;e.ChartValueAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisLabelsVue2=e.ChartValueAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartValueAxisLabelsVue2=c;var p=c;e.ChartValueAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesVue2=e.ChartValueAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartValueAxisNotesVue2=c;var p=c;e.ChartValueAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesIconVue2=e.ChartValueAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartValueAxisNotesIconVue2=c;var p=c;e.ChartValueAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesLabelVue2=e.ChartValueAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartValueAxisNotesLabelVue2=c;var p=c;e.ChartValueAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisTitleVue2=e.ChartValueAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartValueAxisTitleVue2=c;var p=c;e.ChartValueAxisTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesLabelVue2=e.ChartXAxisNotesLabel=e.ChartXAxisNotesIconVue2=e.ChartXAxisNotesIcon=e.ChartXAxisNotesVue2=e.ChartXAxisNotes=e.ChartXAxisLabelsVue2=e.ChartXAxisLabels=e.ChartXAxisTitleVue2=e.ChartXAxisTitle=e.ChartXAxisCrosshairTooltipVue2=e.ChartXAxisCrosshairTooltip=e.ChartXAxisCrosshairVue2=e.ChartXAxisCrosshair=void 0;var i=r(130);Object.defineProperty(e,"ChartXAxisCrosshair",{enumerable:!0,get:function(){return i.ChartXAxisCrosshair}}),Object.defineProperty(e,"ChartXAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartXAxisCrosshairVue2}});var o=r(131);Object.defineProperty(e,"ChartXAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartXAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartXAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartXAxisCrosshairTooltipVue2}});var n=r(132);Object.defineProperty(e,"ChartXAxisLabels",{enumerable:!0,get:function(){return n.ChartXAxisLabels}}),Object.defineProperty(e,"ChartXAxisLabelsVue2",{enumerable:!0,get:function(){return n.ChartXAxisLabelsVue2}});var a=r(133);Object.defineProperty(e,"ChartXAxisNotes",{enumerable:!0,get:function(){return a.ChartXAxisNotes}}),Object.defineProperty(e,"ChartXAxisNotesVue2",{enumerable:!0,get:function(){return a.ChartXAxisNotesVue2}});var s=r(134);Object.defineProperty(e,"ChartXAxisNotesIcon",{enumerable:!0,get:function(){return s.ChartXAxisNotesIcon}}),Object.defineProperty(e,"ChartXAxisNotesIconVue2",{enumerable:!0,get:function(){return s.ChartXAxisNotesIconVue2}});var u=r(135);Object.defineProperty(e,"ChartXAxisNotesLabel",{enumerable:!0,get:function(){return u.ChartXAxisNotesLabel}}),Object.defineProperty(e,"ChartXAxisNotesLabelVue2",{enumerable:!0,get:function(){return u.ChartXAxisNotesLabelVue2}});var l=r(136);Object.defineProperty(e,"ChartXAxisTitle",{enumerable:!0,get:function(){return l.ChartXAxisTitle}}),Object.defineProperty(e,"ChartXAxisTitleVue2",{enumerable:!0,get:function(){return l.ChartXAxisTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisCrosshairVue2=e.ChartXAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisCrosshair",props:{color:String,opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartXAxisCrosshairVue2=c;var p=c;e.ChartXAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisCrosshairTooltipVue2=e.ChartXAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartXAxisCrosshairTooltipVue2=c;var p=c;e.ChartXAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisLabelsVue2=e.ChartXAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartXAxisLabelsVue2=c;var p=c;e.ChartXAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesVue2=e.ChartXAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartXAxisNotesVue2=c;var p=c;e.ChartXAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesIconVue2=e.ChartXAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartXAxisNotesIconVue2=c;var p=c;e.ChartXAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesLabelVue2=e.ChartXAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartXAxisNotesLabelVue2=c;var p=c;e.ChartXAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisTitleVue2=e.ChartXAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartXAxisTitleVue2=c;var p=c;e.ChartXAxisTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesLabelVue2=e.ChartYAxisNotesLabel=e.ChartYAxisNotesIconVue2=e.ChartYAxisNotesIcon=e.ChartYAxisNotesVue2=e.ChartYAxisNotes=e.ChartYAxisLabelsVue2=e.ChartYAxisLabels=e.ChartYAxisTitleVue2=e.ChartYAxisTitle=e.ChartYAxisCrosshairTooltipVue2=e.ChartYAxisCrosshairTooltip=e.ChartYAxisCrosshairVue2=e.ChartYAxisCrosshair=void 0;var i=r(138);Object.defineProperty(e,"ChartYAxisCrosshair",{enumerable:!0,get:function(){return i.ChartYAxisCrosshair}}),Object.defineProperty(e,"ChartYAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartYAxisCrosshairVue2}});var o=r(139);Object.defineProperty(e,"ChartYAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartYAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartYAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartYAxisCrosshairTooltipVue2}});var n=r(140);Object.defineProperty(e,"ChartYAxisLabels",{enumerable:!0,get:function(){return n.ChartYAxisLabels}}),Object.defineProperty(e,"ChartYAxisLabelsVue2",{enumerable:!0,get:function(){return n.ChartYAxisLabelsVue2}});var a=r(141);Object.defineProperty(e,"ChartYAxisNotes",{enumerable:!0,get:function(){return a.ChartYAxisNotes}}),Object.defineProperty(e,"ChartYAxisNotesVue2",{enumerable:!0,get:function(){return a.ChartYAxisNotesVue2}});var s=r(142);Object.defineProperty(e,"ChartYAxisNotesIcon",{enumerable:!0,get:function(){return s.ChartYAxisNotesIcon}}),Object.defineProperty(e,"ChartYAxisNotesIconVue2",{enumerable:!0,get:function(){return s.ChartYAxisNotesIconVue2}});var u=r(143);Object.defineProperty(e,"ChartYAxisNotesLabel",{enumerable:!0,get:function(){return u.ChartYAxisNotesLabel}}),Object.defineProperty(e,"ChartYAxisNotesLabelVue2",{enumerable:!0,get:function(){return u.ChartYAxisNotesLabelVue2}});var l=r(144);Object.defineProperty(e,"ChartYAxisTitle",{enumerable:!0,get:function(){return l.ChartYAxisTitle}}),Object.defineProperty(e,"ChartYAxisTitleVue2",{enumerable:!0,get:function(){return l.ChartYAxisTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisCrosshairVue2=e.ChartYAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisCrosshair",props:{color:String,opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartYAxisCrosshairVue2=c;var p=c;e.ChartYAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisCrosshairTooltipVue2=e.ChartYAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartYAxisCrosshairTooltipVue2=c;var p=c;e.ChartYAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisLabelsVue2=e.ChartYAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartYAxisLabelsVue2=c;var p=c;e.ChartYAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesVue2=e.ChartYAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartYAxisNotesVue2=c;var p=c;e.ChartYAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesIconVue2=e.ChartYAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartYAxisNotesIconVue2=c;var p=c;e.ChartYAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesLabelVue2=e.ChartYAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartYAxisNotesLabelVue2=c;var p=c;e.ChartYAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisTitleVue2=e.ChartYAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartYAxisTitleVue2=c;var p=c;e.ChartYAxisTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||i(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemVue2=e.ChartNavigatorSeriesItem=e.ChartNavigatorSeriesVue2=e.ChartNavigatorSeries=e.ChartNavigatorSelectVue2=e.ChartNavigatorSelect=e.ChartNavigatorPaneVue2=e.ChartNavigatorPane=e.ChartNavigatorHintVue2=e.ChartNavigatorHint=e.ChartNavigatorCategoryAxisVue2=e.ChartNavigatorCategoryAxis=void 0;var n=r(146);Object.defineProperty(e,"ChartNavigatorCategoryAxis",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxis}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisVue2",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxisVue2}});var a=r(147);Object.defineProperty(e,"ChartNavigatorHint",{enumerable:!0,get:function(){return a.ChartNavigatorHint}}),Object.defineProperty(e,"ChartNavigatorHintVue2",{enumerable:!0,get:function(){return a.ChartNavigatorHintVue2}});var s=r(148);Object.defineProperty(e,"ChartNavigatorPane",{enumerable:!0,get:function(){return s.ChartNavigatorPane}}),Object.defineProperty(e,"ChartNavigatorPaneVue2",{enumerable:!0,get:function(){return s.ChartNavigatorPaneVue2}});var u=r(149);Object.defineProperty(e,"ChartNavigatorSelect",{enumerable:!0,get:function(){return u.ChartNavigatorSelect}}),Object.defineProperty(e,"ChartNavigatorSelectVue2",{enumerable:!0,get:function(){return u.ChartNavigatorSelectVue2}});var l=r(150);Object.defineProperty(e,"ChartNavigatorSeries",{enumerable:!0,get:function(){return l.ChartNavigatorSeries}}),Object.defineProperty(e,"ChartNavigatorSeriesVue2",{enumerable:!0,get:function(){return l.ChartNavigatorSeriesVue2}});var c=r(151);Object.defineProperty(e,"ChartNavigatorSeriesItem",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesItem}}),Object.defineProperty(e,"ChartNavigatorSeriesItemVue2",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesItemVue2}}),o(r(152),e),o(r(161),e),o(r(163),e)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisVue2=e.ChartNavigatorCategoryAxis=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxis",props:{autoBaseUnitSteps:{type:Object,default:function(){}},axisCrossingValue:{type:[Object,Array,Date,Number],default:function(){}},background:{type:String,default:void 0},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},baseUnitStep:{type:[Number,String],default:function(){}},categories:{type:Array,default:function(){}},color:{type:String,default:void 0},justified:{type:Boolean,default:function(){}},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},max:{type:[Number,Object,String,Date],default:function(){}},maxDateGroups:{type:Number,default:void 0},maxDivisions:{type:Number,default:void 0},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},name:{type:Object,default:function(){}},rangeLabels:{type:Object,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},roundToBaseUnit:{type:Boolean,default:function(){}},startAngle:{type:Number,default:void 0},type:{type:String,default:function(){},validator:function(t){return["category","date"].includes(t)}},visible:{type:Boolean,default:function(){}},weekStartDay:{type:Number,default:void 0},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},select:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"categoryAxis"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"categoryAxis"}},[r])}};e.ChartNavigatorCategoryAxisVue2=c;var p=c;e.ChartNavigatorCategoryAxis=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorHintVue2=e.ChartNavigatorHint=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorHint",props:{content:{type:Function,default:void 0},format:String,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"hint"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"hint"}},[r])}};e.ChartNavigatorHintVue2=c;var p=c;e.ChartNavigatorHint=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorPaneVue2=e.ChartNavigatorPane=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorPane",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},clip:{type:Boolean,default:void 0},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},name:{type:String,default:void 0},padding:{type:[Object,Number],default:function(){}},title:{type:[Object,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"pane"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"pane"}},[r])}};e.ChartNavigatorPaneVue2=c;var p=c;e.ChartNavigatorPane=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSelectVue2=e.ChartNavigatorSelect=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSelect",props:{from:{type:Date,default:function(){}},mousewheel:{type:[Object,Boolean],default:function(){}},to:{type:Date,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"select"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"select"}},[r])}};e.ChartNavigatorSelectVue2=c;var p=c;e.ChartNavigatorSelect=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesVue2=e.ChartNavigatorSeries=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartNavigatorSeries",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"series",attrs:this.v3?void 0:{chartKey:"series",parentKey:"navigator"},parentKey:"navigator"},this.v3?function(){return[r]}:[r])}};e.ChartNavigatorSeriesVue2=l;var c=l;e.ChartNavigatorSeries=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemVue2=e.ChartNavigatorSeriesItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesItem",props:{aggregate:{type:[String,Function,Object],default:function(){}},axis:String,border:{type:Object,default:function(){}},categoryAxis:String,categoryField:String,closeField:String,color:{type:[String,Function],default:function(){}},colorField:String,connectors:{type:Object,default:function(){}},currentField:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},dataItems:{type:Array,default:function(){}},downColor:String,downColorField:String,dynamicHeight:{type:Boolean,default:void 0},dynamicSlope:{type:Boolean,default:void 0},errorHighField:String,errorLowField:String,explodeField:String,field:String,fromField:String,gap:Number,highField:String,holeSize:Number,line:{type:Object,default:function(){}},lowField:String,lowerField:String,margin:{type:[Object,Number],default:function(){}},maxSize:Number,meanField:String,medianField:String,minSize:Number,missingValues:{type:String,default:function(){},validator:function(t){return["gap","interpolate","zero"].includes(t)}},name:String,neckRatio:Number,negativeColor:String,negativeValues:{type:Object,default:function(){}},noteTextField:String,opacity:Number,openField:String,outliersField:String,overlay:{type:Object,default:function(){}},padding:Number,q1Field:String,q3Field:String,segmentSpacing:Number,size:Number,sizeField:String,spacing:Number,stack:{type:[Boolean,String,Object],default:function(){}},startAngle:Number,lineStyle:{type:String,default:function(){},validator:function(t){return["normal","step","smooth"].includes(t)}},summaryField:String,target:{type:Object,default:function(){}},toField:String,type:{type:String,default:function(){},validator:function(t){return["area","bar","boxPlot","bubble","bullet","candlestick","column","donut","funnel","horizontalWaterfall","line","ohlc","pie","polarArea","polarLine","polarScatter","radarArea","radarColumn","radarLine","rangeArea","rangeBar","rangeColumn","scatter","scatterLine","verticalArea","verticalBoxPlot","verticalBullet","verticalLine","verticalRangeArea","waterfall"].includes(t)}},upperField:String,visible:{type:Boolean,default:void 0},visibleInLegend:{type:Boolean,default:void 0},visibleInLegendField:String,visual:{type:Function,default:void 0},width:Number,xAxis:String,xErrorHighField:String,xErrorLowField:String,xField:String,yAxis:String,yErrorHighField:String,yErrorLowField:String,yField:String,zIndex:Number,errorBars:{type:Object,default:function(){}},extremes:{type:Object,default:function(){}},highlight:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},markers:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},outliers:{type:Object,default:function(){}},tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartNavigatorSeriesItemVue2=c;var p=c;e.ChartNavigatorSeriesItem=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesLabelVue2=e.ChartNavigatorCategoryAxisNotesLabel=e.ChartNavigatorCategoryAxisNotesIconVue2=e.ChartNavigatorCategoryAxisNotesIcon=e.ChartNavigatorCategoryAxisNotesVue2=e.ChartNavigatorCategoryAxisNotes=e.ChartNavigatorCategoryAxisLabelsVue2=e.ChartNavigatorCategoryAxisLabels=e.ChartNavigatorCategoryAxisTitleVue2=e.ChartNavigatorCategoryAxisTitle=e.ChartNavigatorCategoryAxisSelectVue2=e.ChartNavigatorCategoryAxisSelect=e.ChartNavigatorCategoryAxisCrosshairTooltipVue2=e.ChartNavigatorCategoryAxisCrosshairTooltip=e.ChartNavigatorCategoryAxisCrosshairVue2=e.ChartNavigatorCategoryAxisCrosshair=void 0;var i=r(153);Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshair",{enumerable:!0,get:function(){return i.ChartNavigatorCategoryAxisCrosshair}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartNavigatorCategoryAxisCrosshairVue2}});var o=r(154);Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartNavigatorCategoryAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartNavigatorCategoryAxisCrosshairTooltipVue2}});var n=r(155);Object.defineProperty(e,"ChartNavigatorCategoryAxisSelect",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxisSelect}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisSelectVue2",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxisSelectVue2}});var a=r(156);Object.defineProperty(e,"ChartNavigatorCategoryAxisTitle",{enumerable:!0,get:function(){return a.ChartNavigatorCategoryAxisTitle}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisTitleVue2",{enumerable:!0,get:function(){return a.ChartNavigatorCategoryAxisTitleVue2}});var s=r(157);Object.defineProperty(e,"ChartNavigatorCategoryAxisLabels",{enumerable:!0,get:function(){return s.ChartNavigatorCategoryAxisLabels}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisLabelsVue2",{enumerable:!0,get:function(){return s.ChartNavigatorCategoryAxisLabelsVue2}});var u=r(158);Object.defineProperty(e,"ChartNavigatorCategoryAxisNotes",{enumerable:!0,get:function(){return u.ChartNavigatorCategoryAxisNotes}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesVue2",{enumerable:!0,get:function(){return u.ChartNavigatorCategoryAxisNotesVue2}});var l=r(159);Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesIcon",{enumerable:!0,get:function(){return l.ChartNavigatorCategoryAxisNotesIcon}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesIconVue2",{enumerable:!0,get:function(){return l.ChartNavigatorCategoryAxisNotesIconVue2}});var c=r(160);Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesLabel",{enumerable:!0,get:function(){return c.ChartNavigatorCategoryAxisNotesLabel}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesLabelVue2",{enumerable:!0,get:function(){return c.ChartNavigatorCategoryAxisNotesLabelVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisCrosshairVue2=e.ChartNavigatorCategoryAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartNavigatorCategoryAxisCrosshairVue2=c;var p=c;e.ChartNavigatorCategoryAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisCrosshairTooltipVue2=e.ChartNavigatorCategoryAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartNavigatorCategoryAxisCrosshairTooltipVue2=c;var p=c;e.ChartNavigatorCategoryAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisSelectVue2=e.ChartNavigatorCategoryAxisSelect=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisSelect",props:{from:{type:[Object,Number,String],default:function(){}},max:{type:[Object,Number,String,Date],default:function(){}},min:{type:[Object,Number,String,Date],default:function(){}},mousewheel:{type:[Object,Boolean],default:function(){}},to:{type:[Object,Number,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"select"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"select"}},[r])}};e.ChartNavigatorCategoryAxisSelectVue2=c;var p=c;e.ChartNavigatorCategoryAxisSelect=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisTitleVue2=e.ChartNavigatorCategoryAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartNavigatorCategoryAxisTitleVue2=c;var p=c;e.ChartNavigatorCategoryAxisTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisLabelsVue2=e.ChartNavigatorCategoryAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["circle","column","center","right","left"].includes(t)}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartNavigatorCategoryAxisLabelsVue2=c;var p=c;e.ChartNavigatorCategoryAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesVue2=e.ChartNavigatorCategoryAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartNavigatorCategoryAxisNotesVue2=c;var p=c;e.ChartNavigatorCategoryAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesIconVue2=e.ChartNavigatorCategoryAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartNavigatorCategoryAxisNotesIconVue2=c;var p=c;e.ChartNavigatorCategoryAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesLabelVue2=e.ChartNavigatorCategoryAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartNavigatorCategoryAxisNotesLabelVue2=c;var p=c;e.ChartNavigatorCategoryAxisNotesLabel=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorPaneTitleVue2=e.ChartNavigatorPaneTitle=void 0;var i=r(162);Object.defineProperty(e,"ChartNavigatorPaneTitle",{enumerable:!0,get:function(){return i.ChartNavigatorPaneTitle}}),Object.defineProperty(e,"ChartNavigatorPaneTitleVue2",{enumerable:!0,get:function(){return i.ChartNavigatorPaneTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorPaneTitleVue2=e.ChartNavigatorPaneTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorPaneTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartNavigatorPaneTitleVue2=c;var p=c;e.ChartNavigatorPaneTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesIconVue2=e.ChartNavigatorSeriesNotesIcon=e.ChartNavigatorSeriesNotesLabelVue2=e.ChartNavigatorSeriesNotesLabel=e.ChartNavigatorSeriesLabelsToVue2=e.ChartNavigatorSeriesLabelsTo=e.ChartNavigatorSeriesLabelsFromVue2=e.ChartNavigatorSeriesLabelsFrom=e.ChartNavigatorSeriesErrorBarsVue2=e.ChartNavigatorSeriesErrorBars=e.ChartNavigatorSeriesExtremesVue2=e.ChartNavigatorSeriesExtremes=e.ChartNavigatorSeriesHighlightVue2=e.ChartNavigatorSeriesHighlight=e.ChartNavigatorSeriesLabelsVue2=e.ChartNavigatorSeriesLabels=e.ChartNavigatorSeriesMarkersVue2=e.ChartNavigatorSeriesMarkers=e.ChartNavigatorSeriesNotesVue2=e.ChartNavigatorSeriesNotes=e.ChartNavigatorSeriesItemOutliersVue2=e.ChartNavigatorSeriesItemOutliers=e.ChartNavigatorSeriesItemTooltipVue2=e.ChartNavigatorSeriesItemTooltip=void 0;var i=r(164);Object.defineProperty(e,"ChartNavigatorSeriesItemTooltip",{enumerable:!0,get:function(){return i.ChartNavigatorSeriesItemTooltip}}),Object.defineProperty(e,"ChartNavigatorSeriesItemTooltipVue2",{enumerable:!0,get:function(){return i.ChartNavigatorSeriesItemTooltipVue2}});var o=r(165);Object.defineProperty(e,"ChartNavigatorSeriesItemOutliers",{enumerable:!0,get:function(){return o.ChartNavigatorSeriesItemOutliers}}),Object.defineProperty(e,"ChartNavigatorSeriesItemOutliersVue2",{enumerable:!0,get:function(){return o.ChartNavigatorSeriesItemOutliersVue2}});var n=r(166);Object.defineProperty(e,"ChartNavigatorSeriesNotes",{enumerable:!0,get:function(){return n.ChartNavigatorSeriesNotes}}),Object.defineProperty(e,"ChartNavigatorSeriesNotesVue2",{enumerable:!0,get:function(){return n.ChartNavigatorSeriesNotesVue2}});var a=r(167);Object.defineProperty(e,"ChartNavigatorSeriesMarkers",{enumerable:!0,get:function(){return a.ChartNavigatorSeriesMarkers}}),Object.defineProperty(e,"ChartNavigatorSeriesMarkersVue2",{enumerable:!0,get:function(){return a.ChartNavigatorSeriesMarkersVue2}});var s=r(168);Object.defineProperty(e,"ChartNavigatorSeriesLabels",{enumerable:!0,get:function(){return s.ChartNavigatorSeriesLabels}}),Object.defineProperty(e,"ChartNavigatorSeriesLabelsVue2",{enumerable:!0,get:function(){return s.ChartNavigatorSeriesLabelsVue2}});var u=r(169);Object.defineProperty(e,"ChartNavigatorSeriesHighlight",{enumerable:!0,get:function(){return u.ChartNavigatorSeriesHighlight}}),Object.defineProperty(e,"ChartNavigatorSeriesHighlightVue2",{enumerable:!0,get:function(){return u.ChartNavigatorSeriesHighlightVue2}});var l=r(170);Object.defineProperty(e,"ChartNavigatorSeriesExtremes",{enumerable:!0,get:function(){return l.ChartNavigatorSeriesExtremes}}),Object.defineProperty(e,"ChartNavigatorSeriesExtremesVue2",{enumerable:!0,get:function(){return l.ChartNavigatorSeriesExtremesVue2}});var c=r(171);Object.defineProperty(e,"ChartNavigatorSeriesErrorBars",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesErrorBars}}),Object.defineProperty(e,"ChartNavigatorSeriesErrorBarsVue2",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesErrorBarsVue2}});var p=r(172);Object.defineProperty(e,"ChartNavigatorSeriesLabelsFrom",{enumerable:!0,get:function(){return p.ChartNavigatorSeriesLabelsFrom}}),Object.defineProperty(e,"ChartNavigatorSeriesLabelsFromVue2",{enumerable:!0,get:function(){return p.ChartNavigatorSeriesLabelsFromVue2}});var h=r(173);Object.defineProperty(e,"ChartNavigatorSeriesLabelsTo",{enumerable:!0,get:function(){return h.ChartNavigatorSeriesLabelsTo}}),Object.defineProperty(e,"ChartNavigatorSeriesLabelsToVue2",{enumerable:!0,get:function(){return h.ChartNavigatorSeriesLabelsToVue2}});var f=r(174);Object.defineProperty(e,"ChartNavigatorSeriesNotesLabel",{enumerable:!0,get:function(){return f.ChartNavigatorSeriesNotesLabel}}),Object.defineProperty(e,"ChartNavigatorSeriesNotesLabelVue2",{enumerable:!0,get:function(){return f.ChartNavigatorSeriesNotesLabelVue2}});var d=r(175);Object.defineProperty(e,"ChartNavigatorSeriesNotesIcon",{enumerable:!0,get:function(){return d.ChartNavigatorSeriesNotesIcon}}),Object.defineProperty(e,"ChartNavigatorSeriesNotesIconVue2",{enumerable:!0,get:function(){return d.ChartNavigatorSeriesNotesIconVue2}})},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemTooltipVue2=e.ChartNavigatorSeriesItemTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartNavigatorSeriesItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},render:[String,Number,Object],visible:{type:Boolean,default:void 0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartNavigatorSeriesItemTooltipVue2=p;var h=p;e.ChartNavigatorSeriesItemTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemOutliersVue2=e.ChartNavigatorSeriesItemOutliers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesItemOutliers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"outliers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"outliers"}},[r])}};e.ChartNavigatorSeriesItemOutliersVue2=c;var p=c;e.ChartNavigatorSeriesItemOutliers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesVue2=e.ChartNavigatorSeriesNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesNotes",props:{line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartNavigatorSeriesNotesVue2=c;var p=c;e.ChartNavigatorSeriesNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesMarkersVue2=e.ChartNavigatorSeriesMarkers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesMarkers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"markers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"markers"}},[r])}};e.ChartNavigatorSeriesMarkersVue2=c;var p=c;e.ChartNavigatorSeriesMarkers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesLabelsVue2=e.ChartNavigatorSeriesLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesLabels",props:{align:{type:String,default:function(){},validator:function(t){return["circle","column","center","right","left"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},distance:Number,font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["auto","above","below","center","insideBase","insideEnd","left","outsideEnd","right","top","bottom"].includes(t)}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartNavigatorSeriesLabelsVue2=c;var p=c;e.ChartNavigatorSeriesLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesHighlightVue2=e.ChartNavigatorSeriesHighlight=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesHighlight",props:{border:{type:Object,default:function(){}},color:String,line:{type:Object,default:function(){}},opacity:Number,toggle:{type:Function,default:void 0},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"highlight"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"highlight"}},[r])}};e.ChartNavigatorSeriesHighlightVue2=c;var p=c;e.ChartNavigatorSeriesHighlight=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesExtremesVue2=e.ChartNavigatorSeriesExtremes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesExtremes",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"extremes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"extremes"}},[r])}};e.ChartNavigatorSeriesExtremesVue2=c;var p=c;e.ChartNavigatorSeriesExtremes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesErrorBarsVue2=e.ChartNavigatorSeriesErrorBars=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesErrorBars",props:{color:String,endCaps:{type:Boolean,default:void 0},line:{type:Object,default:function(){}},value:String,visual:{type:Function,default:void 0},xValue:String,yValue:String},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"errorBars"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"errorBars"}},[r])}};e.ChartNavigatorSeriesErrorBarsVue2=c;var p=c;e.ChartNavigatorSeriesErrorBars=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesLabelsFromVue2=e.ChartNavigatorSeriesLabelsFrom=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"from"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"from"}},[r])}};e.ChartNavigatorSeriesLabelsFromVue2=c;var p=c;e.ChartNavigatorSeriesLabelsFrom=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesLabelsToVue2=e.ChartNavigatorSeriesLabelsTo=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"to"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"to"}},[r])}};e.ChartNavigatorSeriesLabelsToVue2=c;var p=c;e.ChartNavigatorSeriesLabelsTo=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesLabelVue2=e.ChartNavigatorSeriesNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartNavigatorSeriesNotesLabelVue2=c;var p=c;e.ChartNavigatorSeriesNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesIconVue2=e.ChartNavigatorSeriesNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartNavigatorSeriesNotesIconVue2=c;var p=c;e.ChartNavigatorSeriesNotesIcon=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(11);Object.defineProperty(e,"AxisLabelClickEvent",{enumerable:!0,get:function(){return i.AxisLabelClickEvent}});var o=r(13);Object.defineProperty(e,"DragEndEvent",{enumerable:!0,get:function(){return o.DragEndEvent}});var n=r(12);Object.defineProperty(e,"DragEvent",{enumerable:!0,get:function(){return n.DragEvent}});var a=r(14);Object.defineProperty(e,"DragStartEvent",{enumerable:!0,get:function(){return a.DragStartEvent}});var s=r(16);Object.defineProperty(e,"LegendItemClickEvent",{enumerable:!0,get:function(){return s.LegendItemClickEvent}});var u=r(15);Object.defineProperty(e,"LegendItemHoverEvent",{enumerable:!0,get:function(){return u.LegendItemHoverEvent}});var l=r(17);Object.defineProperty(e,"NavigatorFilterEvent",{enumerable:!0,get:function(){return l.NavigatorFilterEvent}});var c=r(18);Object.defineProperty(e,"NoteClickEvent",{enumerable:!0,get:function(){return c.NoteClickEvent}});var p=r(19);Object.defineProperty(e,"NoteHoverEvent",{enumerable:!0,get:function(){return p.NoteHoverEvent}});var h=r(20);Object.defineProperty(e,"PlotAreaClickEvent",{enumerable:!0,get:function(){return h.PlotAreaClickEvent}});var f=r(21);Object.defineProperty(e,"PlotAreaHoverEvent",{enumerable:!0,get:function(){return f.PlotAreaHoverEvent}});var d=r(22);Object.defineProperty(e,"RenderEvent",{enumerable:!0,get:function(){return d.RenderEvent}});var v=r(24);Object.defineProperty(e,"SelectEndEvent",{enumerable:!0,get:function(){return v.SelectEndEvent}});var g=r(23);Object.defineProperty(e,"SelectEvent",{enumerable:!0,get:function(){return g.SelectEvent}});var y=r(25);Object.defineProperty(e,"SelectStartEvent",{enumerable:!0,get:function(){return y.SelectStartEvent}});var m=r(26);Object.defineProperty(e,"SeriesClickEvent",{enumerable:!0,get:function(){return m.SeriesClickEvent}});var b=r(27);Object.defineProperty(e,"SeriesHoverEvent",{enumerable:!0,get:function(){return b.SeriesHoverEvent}});var x=r(29);Object.defineProperty(e,"ZoomEndEvent",{enumerable:!0,get:function(){return x.ZoomEndEvent}});var _=r(28);Object.defineProperty(e,"ZoomEvent",{enumerable:!0,get:function(){return _.ZoomEvent}});var C=r(30);Object.defineProperty(e,"ZoomStartEvent",{enumerable:!0,get:function(){return C.ZoomStartEvent}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.exportVisual=e.findPaneByName=e.findPaneByIndex=e.findAxisByName=void 0;e.findAxisByName=function(t,e){if(t&&null!==t.chartInstance())return t.chartInstance().findAxisByName(e)};e.findPaneByIndex=function(t,e){if(t&&null!==t.chartInstance())return t.chartInstance().findPaneByIndex(e)};e.findPaneByName=function(t,e){if(t&&null!==t.chartInstance())return t.chartInstance().findPaneByName(e)};e.exportVisual=function(t,e){if(void 0===e&&(e={}),t&&null!==t.chartInstance())return t.chartInstance().exportVisual(e)}},function(t,e,r){"use strict";r.r(e),r.d(e,"Popup",(function(){return Et})),r.d(e,"PopupVue2",(function(){return Nt}));var i=r(2),o=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+r+i},n=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.offsetWidth+r+i},a={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},s=r(1),u=function(){return(u=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},l=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r},c=i,p=c.h,h=c.ref,f=c.Transition,d=a,v={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:p?function(){return{v3:!!p,elementRef:h(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(t){this.$emit("beforeenter",{animatedElement:t,target:this})},onEnter:function(t){this.animationStep="entering",this.$emit("entering",{animatedElement:t,target:this})},onAfterEnter:function(t){this.animationStep="entered",this.$emit("entered",{animatedElement:t,target:this})},onBeforeLeave:function(t){this.$emit("exit",{animatedElement:t,target:this})},onLeave:function(t){this.animationStep="exiting",this.$emit("exiting",{animatedElement:t,target:this})},onAfterLeave:function(t){this.animationStep="exited",this.$emit("exited",{animatedElement:t,target:this})}},render:function(t){var e=this,r=p||t,i=this.$props,o=i.appear,n=i.enter,a=i.exit,c=i.transitionName,h=i.transitionEnterDuration,v=i.transitionExitDuration,g=(i.className,i.componentChildClassName),y=(i.mountOnEnter,i.unmountOnExit,i.animationEnteringStyle),m=i.animationEnteredStyle,b=i.animationExitingStyle,x=i.animationExitedStyle,_=(l(i,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(s.getDefaultSlots)(this)),C=this.v3?o:!!_,w=this.v3?f:"transition",S=[g,d["child-animation-container"]],O=n?h:0,P=a?v:0,A=[u({transitionDelay:"0ms",transitionDuration:C?O+"ms":P+"ms"},this.$props.transitionStyle),{entering:u({transitionDuration:O+"ms"},y),entered:u({},m),exiting:u({transitionDuration:P+"ms"},b),exited:u({},x)}[this.animationStep]],j={enter:O,leave:P},k=[C?r("div",{style:A,class:S,ref:this.v3?function(t){e.elementRef=t}:"element"},[_]):null];return r(w,{duration:j,attrs:this.v3?null:{duration:j,name:c,appear:o,appearClass:d[c+"-appear"]||c+"-appear",appearToClass:d[c+"-appear-active"]||c+"-appear-active",enterClass:d[c+"-enter"]||c+"-enter",enterToClass:d[c+"-enter-active"]||c+"-enter-active",leaveClass:d[c+"-exit"]||c+"-exit",leaveToClass:d[c+"-exit-active"]||c+"-exit-active"},name:c,appear:o,appearFromClass:d[c+"-appear"]||c+"-appear",enterFromClass:d[c+"-enter"]||c+"-enter",leaveFromClass:d[c+"-exit"]||c+"-exit",appearToClass:d[c+"-appear-active"]||c+"-appear-active",enterToClass:d[c+"-enter-active"]||c+"-enter-active",leaveToClass:d[c+"-exit-active"]||c+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return k}:k)}},g={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1653315057,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},y=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r},m=i.h,b=a,x={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:m?function(){return{v3:!!m}}:void 0,created:function(){Object(s.validatePackage)(g)},render:function(t){var e=m||t,r=Object(s.getDefaultSlots)(this),i=this.$props,o=(i.id,i.tag,i.className),n=(i.childFactory,i.stackChildren,i.componentChildStyle,i.componentChildClassName,y(i,["id","tag","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[b["animation-container"],b["animation-container-relative"],o]);return e("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:n},[e(v,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[r]}:[r])])}},_=i.h,C=(Boolean,Boolean,Boolean,function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r}),w=i.h,S=(Boolean,Boolean,Boolean,i.h),O={position:"absolute",top:"0",left:"0"},P=(Boolean,Boolean,Boolean,function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r}),A=i.h,j={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:A?function(){return{v3:!!A}}:void 0,render:function(t){var e=A||t,r=Object(s.getDefaultSlots)(this),i=this.$props,o=(i.direction,i.id),n=(P(i,["direction","id"]),"slide-"+this.$props.direction);return e(x,{id:o,attrs:this.v3?void 0:{id:o,transitionName:n,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:n,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[r]}:[r])}},k=i.h,T={position:"absolute",top:"0",left:"0"},M=(Boolean,Boolean,Boolean,Boolean,function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r}),V=i.h,N=function(){},E=(Boolean,Boolean,Boolean,"bottom"),L="center",D="middle",B="left",I="right",R="top",z=function(t){var e=t.anchorRect,r=t.anchorAlign,i=t.elementRect,o=t.elementAlign,n=t.margin;void 0===n&&(n={});var a=r.horizontal,s=r.vertical,u=o.horizontal,l=o.vertical,c=n.horizontal||0,p=n.vertical||0,h=e.top,f=e.left;return s===E&&(h+=e.height),s!==L&&s!==D||(h+=Math.round(e.height/2)),l===E&&(h-=i.height,p*=-1),l!==L&&l!==D||(h-=Math.round(i.height/2),p*=-1),a===I&&(f+=e.width),a!==L&&a!==D||(f+=Math.round(e.width/2)),u===I&&(f-=i.width,c*=-1),u!==L&&u!==D||(f-=Math.round(i.width/2),c*=-1),{top:h+p,left:f+c}};function F(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}function H(t){return t.ownerDocument||t.document||t}var U=function(t){return H(t).defaultView},K=function(t){return H(t).documentElement},$=0;function G(){if(!$&&"undefined"!=typeof document){var t=document.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",document.body.appendChild(t),$=t.offsetWidth-t.scrollWidth,document.body.removeChild(t)}return $}function X(t){var e=U(t),r=K(t),i={height:e.innerHeight,width:e.innerWidth};return r.scrollHeight-r.clientHeight>0&&(i.width-=G()),i}var Y=function(t){if(!t.getBoundingClientRect){var e=X(t);return{bottom:e.height,left:0,right:e.width,top:0}}var r=t.getBoundingClientRect();return{bottom:r.bottom,left:r.left,right:r.right,top:r.top}},W=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||K(t)},q=function(t){return W(t)===t.ownerDocument.body},Z=function(t){var e=t.getBoundingClientRect(),r=e.left,i=e.top;return e.height||e.width||(e=function(t){var e=t.style,r=e.display,i=e.left,o=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var n=t.getBoundingClientRect();return t.style.display=r,t.style.left=i,t.style.position=o,n}(t)),{top:i,left:r,height:e.height,width:e.width}},Q=function(t,e){for(var r=[],i=t.parentNode;i&&(r.push(i),i!==e);)i=i.parentNode;return r};function J(t){var e=K(t),r=U(t);return{x:r.pageXOffset||e.scrollLeft||0,y:r.pageYOffset||e.scrollTop||0}}var tt=function(t){return t===(t.ownerDocument||{}).body?J(t):{x:t.scrollLeft,y:t.scrollTop}};var et=function(t,e){var r=U(t),i=r.getComputedStyle(t),o=Z(t),n=e||W(t),a=t.ownerDocument,s=n!==a.body&&n!==a.documentElement,u={top:0,left:0};if("fixed"!==i.position&&s){var l=r.getComputedStyle(n);(u=Z(n)).top+=parseInt(l.borderTopWidth,10),u.left+=parseInt(l.borderLeftWidth,10)}return{top:o.top-u.top,left:o.left-u.left,height:o.height,width:o.width}},rt=function(t,e){return t?tt(t):function(t){var e=W(t);return e?tt(e):{x:0,y:0}}(e)},it=function(t,e,r){void 0===r&&(r=1);var i=e?W(e):null,o=et(t,i),n=o.top,a=o.left,s=o.height,u=o.width,l=rt(i,t),c=l.x,p=l.y,h=t.ownerDocument,f=i===h.body||i===h.documentElement?1:r;return{top:n+p*f,left:a+c*f,height:s,width:u}};function ot(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}var nt="fit",at="flip",st=function(t,e,r){var i=0;return t+e>r&&(i=r-(t+e)),t<0&&(i=-t),i},ut=function(t){var e=t.offset,r=t.size,i=t.anchorSize,o=t.viewPortSize,n=t.anchorAlignPoint,a=t.elementAlignPoint,s=0,u=2*t.margin;if(a!==n&&!(a===L||a===D)&&!(n===L||n===D)){var l=n===R||n===B;e<0&&l?e+(s=r+i+u)+r>o&&(s=0):e>=0&&!l&&(e+r>o&&(s+=-(i+r+u)),e+s<0&&(s=0))}return s},lt=function(t){var e=t.anchorRect,r=t.anchorAlign,i=t.elementRect,o=t.elementAlign,n=t.collisions,a=t.viewPort,s=t.margin;void 0===s&&(s={});var u=i.top,l=i.left,c=i.height,p=i.width,h=a.height,f=a.width,d=s.horizontal||0,v=s.vertical||0,g=0,y=0,m=n.vertical===nt,b=n.horizontal===nt,x=n.vertical===at,_=n.horizontal===at;m&&(y+=st(u,c,h)),b&&(g+=st(l,p,f)),x&&(y+=ut({margin:v,offset:u,size:c,anchorSize:e.height,viewPortSize:h,anchorAlignPoint:r.vertical,elementAlignPoint:o.vertical})),_&&(g+=ut({margin:d,offset:l,size:p,anchorSize:e.width,viewPortSize:f,anchorAlignPoint:r.horizontal,elementAlignPoint:o.horizontal}));var C=x&&0!==y,w=_&&0!==g,S=m&&0!==y,O=b&&0!==g;return{flipped:w||C,fitted:S||O,flip:{horizontal:w,vertical:C},fit:{horizontal:O,vertical:S},offset:{left:g,top:y}}},ct=function(t){for(var e=[],r=t.parentNode.firstElementChild;r;)r!==t&&e.push(r),r=r.nextElementSibling;return e},pt=function(t,e){for(var r,i,o=Q(t),n=e;n&&(r=ct(n),!(i=o.reduce((function(t,e){return t.concat(r.filter((function(t){return t===e})))}),[])[0]));)n=n.parentElement;return i};ht=function(t){if(!vt())return!1;var e=t?t.ownerDocument:document;if(!e||!e.body)return!1;var r=e.createElement("div");r.style.transform="matrix(10, 0, 0, 10, 0, 0)",r.innerHTML='<div style="position: fixed; top: 10px;">child</div>',e.body.appendChild(r);var i=10!==r.children[0].getBoundingClientRect().top;return e.body.removeChild(r),i},dt=!1;var ht,ft,dt,vt=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},gt=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},yt=function(){return"undefined"!=typeof document&&!!document.body},mt=function(){return"undefined"!=typeof window},bt=/auto|scroll/,xt=function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY},_t=function(){if(!yt())return!1;var t=document.createElement("div");if(t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML="<div>child</div>",document.body.appendChild(t),t&&t.firstChild){var e=t.firstChild;e.style.position="fixed",e.style.top="10px"}var r=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),r}(),Ct="fit",wt="flip",St="left",Ot="bottom",Pt="top",At=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,r=t.element,i=t.anchorAlign,o=t.elementAlign,n=t.offset,a=!this._dom.hasOffsetParent(r)?this.absoluteRect(e,r,n):this.relativeRect(e,r,n);return this._dom.align({anchorAlign:i,anchorRect:a,elementAlign:o,elementRect:this._dom.offset(r)})},t.prototype.absoluteRect=function(t,e,r){var i=this._dom,o=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t}(gt(i.offset(t),r),i.stackingElementOffset(e)),n=i.stackingElementScroll(e),a=i.addScroll(o,n),s=this.elementScrollPosition(t,e),u=i.removeScroll(a,s);return u.left+=window.scrollX||window.pageXOffset,u.top+=window.scrollY||window.pageYOffset,u},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,r){return gt(this._dom.position(t,e),r)},t}(),jt=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return z(t)},t.prototype.boundingOffset=function(t){return Y(t)},t.prototype.getWindow=function(){return mt()?window:null},t.prototype.isBodyOffset=function(t){return q(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?Z(t):null},t.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,r=e.left,i=e.top;t.style.left="0px",t.style.top="0px";var o=Z(t);return t.style.left=r,t.style.top=i,o},t.prototype.position=function(t,e){if(!t||!e)return null;var r=pt(t,e);return it(t,r)},t.prototype.relativeOffset=function(t,e){return r=this.offset(t),i=e,o=this.isBodyOffset(t),n=r.top,a=r.left,o&&(a=0,n=0),{top:n+i.top,left:a+i.left,height:r.height,width:r.width};var r,i,o,n,a},t.prototype.addScroll=function(t,e){return F(t,e)},t.prototype.removeScroll=function(t,e){return ot(t,e)},t.prototype.restrictToView=function(t){return lt(t)},t.prototype.scrollPosition=function(t){return J(t)},t.prototype.scrollableParents=function(t){return function(t){var e=[];if(!yt()||!mt())return e;for(var r=t.parentElement;r;)bt.test(xt(r))&&e.push(r),r=r.parentElement;return e.push(window),e}(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?Z(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.prototype.getRelativeContextElement=function(t){if(!t||!_t)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return X(t)},t.prototype.zIndex=function(t,e){return function(t,e){if(!t||!yt()||!mt())return null;var r=pt(t,e);if(!r)return null;var i=[t].concat(Q(t,r)).reduce((function(t,e){var r=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(r,10);return i>t?i:t}),0);return i?i+1:null}(t,e)},t.prototype.zoomLevel=function(){return yt()&&mt()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t}(),kt=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e,r,i=t.anchor,o=t.currentLocation,n=t.element,a=t.anchorAlign,s=t.elementAlign,u=t.collisions,l=this._dom,c=t.viewPort||l.stackingElementViewPort(n)||l.windowViewPort(n),p=gt(l.offset(i),o),h=(e=l.staticOffset(n),(r=o)?{height:e.height,left:r.left,top:r.top,width:e.width}:e),f=this.elementRect(n,h),d=l.restrictToView({anchorAlign:a,anchorRect:p,collisions:u,elementAlign:s,elementRect:f,viewPort:c});return{flipped:d.flipped,offset:l.addOffset(h,d.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}(),Tt={name:"@progress/kendo-vue-popup",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1653315073,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},Mt=i.h,Vt={left:-1e3,top:0},Nt={name:"Popup",props:{appendTo:{type:String,default:""},anchor:{type:String,default:""},className:String,id:String,popupClass:String,collision:{type:Object,default:function(){return{horizontal:Ct,vertical:wt}}},anchorAlign:{type:Object,default:function(){return{horizontal:St,vertical:Ot}}},popupAlign:{type:Object,default:function(){return{horizontal:St,vertical:Pt}}},offset:{type:Object,default:function(){return Vt}},show:{type:Boolean,default:!1},animate:{type:[Boolean,Object],default:function(){return!0}},direction:{type:String,default:"down"},transition:{type:String,default:"expand"}},inject:{kCurrentZIndex:{default:null}},data:function(){return{hasMounted:!1}},created:function(){Object(s.validatePackage)(Tt),this.mountedAppendTo=void 0,this.mountedAnchor=void 0,this._initiallyMountedContent=void 0,this._flipped=!1,this._offsetTop=0,this._offsetLeft=-1e3,this._exitingAnimation=!1,this._prevShow=!1,this._prevShow=this.$props.show,this._domService=new jt,this._alignService=new At(this._domService),this._positionService=new kt(this._domService),this.reposition=function(t,e,r){var i,o,n,a;void 0===r&&(r={});var s=0;r=r||{};var u=function(){s=!1===r.leading?0:(new Date).getTime(),i=null,a=t.apply(o,n),i||(o=n=null)};return function(){var l=(new Date).getTime();s||!1!==r.leading||(s=l);var c=e-(l-s);return o=this,n=arguments,c<=0||c>e?(i&&(clearTimeout(i),i=null),s=l,a=t.apply(o,n),i||(o=n=null)):i||!1===r.trailing||(i=setTimeout(u,c)),a}}(this.reposition.bind(this),1e3/60)},setup:Mt?function(){return{v3:!!Mt}}:void 0,mounted:function(){s.canUseDOM&&(this.mountedAppendTo=this.$props.appendTo?this.getParentRef(this.$props.appendTo):document.body,this.mountedAnchor=this.$props.anchor?this.getParentRef(this.$props.anchor):document.body),this._parentElement=this.$el.parentElement,this._initiallyMountedContent=this.$el.cloneNode(!0),this.hasMounted=!0,this.mountedAppendTo.appendChild(this.$el)},updated:function(){this._prevShow=this.$props.show},destroyed:Mt?void 0:function(){this.detachRepositionHandlers()},beforeDestroy:Mt?void 0:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},unmounted:function(){this.detachRepositionHandlers()},beforeUnmount:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},methods:{onOpened:function(){var t=this.$el;this.$props.show&&t.classList.add("k-animation-container-shown"),this.attachRepositionHandlers(t),this.$emit("open",{target:this})},onClosing:function(){this.$props.show||this.$el.classList.remove("k-animation-container-shown");this.detachRepositionHandlers()},onClosed:function(){this._exitingAnimation&&(this._exitingAnimation=!1,this.$forceUpdate()),this.$emit("close",{target:this})},transitionDuration:function(){var t=this.$props.animate,e=0,r=0;return t&&(!0===t?e=r=void 0:(e=t.openDuration,r=t.closeDuration)),{transitionEnterDuration:e,transitionExitDuration:r}},getParentRef:function(t){for(var e=this.$parent;!e.$refs[t];){if(e&&e.kendoAnchorRef)return e.kendoAnchorRef;if(!(e=e.$parent)&&s.canUseDOM)return document.body}return e.$refs[t].$el||e.$refs[t]},position:function(t,e,r){var i=t.anchorAlign,o=t.popupAlign,n=t.collision,a=t.offset,s=r?this.v3?this.mountedAnchor:this.getParentRef(r):document.body,u=this._alignService.alignElement({anchor:r?s:void 0,element:e,elementAlign:o,anchorAlign:i,offset:a});return this._positionService.positionElement({anchor:s,anchorAlign:i,collisions:n,element:e,currentLocation:u,elementAlign:o})},calculatePosition:function(t,e){if(!e||!mt()||!s.canUseDOM)return{flipped:!1,offset:t.offset};var r=Object(s.getDefaultSlots)(this),i=document.createElement("div"),o=this.$el&&this.$el.firstChild&&this.$el.firstChild.firstChild?this.$el.firstChild.firstChild.cloneNode(!0):null,n=o&&o.getBoundingClientRect?o:this._initiallyMountedContent;if(n)i.appendChild(n);else{var a=this.v3?r&&r[0].props?r[0].props.class:"":r&&r[0].data?r[0].data.staticClass:"",u=this.v3?this.$props.popupClass?this.$props.popupClass:"":r&&r[0].data?r[0].data.class:"";i.innerHTML='<div class="k-animation-container k-animation-container-relative">\t\n <div class="k-popup k-animation-container k-animation-container-relative">\n <div class="'+a+" "+u+'" >\n </div>\t\n </div>\t\n </div>'}if(e.appendChild(i),i&&i.firstChild){var l=i.firstChild;l.style.position="absolute",l.style.visibility="hidden",l.style.display="block",l.style.left="-1000",l.style.top="0";var c=this.v3?r&&r[0].props?r[0].props.style:{}:r[0].data?r[0].data.style:{};if(c)for(var p=0,h=Object.entries(c);p<h.length;p++){var f=h[p],d=f[0],v=f[1];l.style[d]=v}}var g=this.position(t,i.firstChild,this.$props.anchor);return i.parentNode.removeChild(i),g},attachRepositionHandlers:function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.$props.anchor?this.mountedAnchor:t),this._scrollableParents.map((function(t){return t.addEventListener("scroll",e.reposition)})),window.addEventListener("resize",this.reposition)},detachRepositionHandlers:function(){var t=this;this._scrollableParents&&(this._scrollableParents.map((function(e){return e.removeEventListener("scroll",t.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},reposition:function(){this.$forceUpdate()},getCurrentZIndex:function(){return this.kCurrentZIndex?this.kCurrentZIndex+1:100}},render:function(t){var e=Mt||t,r=this.$props,i=r.className,o=r.popupClass,n=r.show,a=r.id,u=Object(s.getDefaultSlots)(this),l=this.v3||n?u:null,c=mt()?this.$props.appendTo?this.mountedAppendTo||this.getParentRef(this.$props.appendTo):document.body:void 0;if(this.$props.show){var p=this.calculatePosition(this.$props,c);this._offsetLeft=p.offset.left,this._offsetTop=p.offset.top,this._flipped=!!p.flipped}var h=this._flipped?"up":"down",f=this.transitionDuration(),d=f.transitionEnterDuration,v=f.transitionExitDuration,g=this.getCurrentZIndex();return this._exitingAnimation=this._exitingAnimation||this._prevShow&&!n,this.hasMounted?n||this._exitingAnimation&&c?e(j,{id:a,attrs:this.v3?void 0:{id:a,componentChildClassName:[o,"k-popup"],className:i,direction:h,transitionEnterDuration:d,transitionExitDuration:v,appear:n},componentChildClassName:[o,"k-popup"],className:i,onEntered:this.onOpened,on:this.v3?void 0:{entered:this.onOpened,exiting:this.onClosing,exited:this.onClosed},onExiting:this.onClosing,onExited:this.onClosed,direction:h,style:{zIndex:g,position:"absolute",top:this._offsetTop+"px",left:this._offsetLeft+"px"},transitionEnterDuration:d,transitionExitDuration:v,appear:n},this.v3?function(){return[l]}:[l]):null:e("div",{style:{display:"none"},class:i},[e("div",{class:[o,"k-popup"]},[u])])}},Et=Nt}])}));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@progress/kendo-drawing"),require("vue"),require("@progress/kendo-licensing"),require("@progress/kendo-vue-intl")):"function"==typeof define&&define.amd?define(["@progress/kendo-drawing","vue","@progress/kendo-licensing","@progress/kendo-vue-intl"],e):"object"==typeof exports?exports.KendoVueCharts=e(require("@progress/kendo-drawing"),require("vue"),require("@progress/kendo-licensing"),require("@progress/kendo-vue-intl")):t.KendoVueCharts=e(t.KendoDrawing,t.Vue,t.KendoLicensing,t.KendoVueIntl)}(window,(function(t,e,r,i){return function(t){var e={};function r(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,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(i,o,function(e){return t[e]}.bind(null,o));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=33)}([function(e,r){e.exports=t},function(t,e,r){"use strict";r.r(e),r.d(e,"classNames",(function(){return i})),r.d(e,"guid",(function(){return o})),r.d(e,"Keys",(function(){return n})),r.d(e,"noop",(function(){return j})),r.d(e,"getListeners",(function(){return L})),r.d(e,"hasListener",(function(){return E})),r.d(e,"canUseDOM",(function(){return a})),r.d(e,"focusFirstFocusableChild",(function(){return s})),r.d(e,"clone",(function(){return S})),r.d(e,"Draggable",(function(){return C})),r.d(e,"cloneArray",(function(){return A})),r.d(e,"cloneValue",(function(){return P})),r.d(e,"cloneObject",(function(){return O})),r.d(e,"cloneDate",(function(){return w})),r.d(e,"getTemplate",(function(){return z})),r.d(e,"templateRendering",(function(){return R})),r.d(e,"templateDefinition",(function(){return I})),r.d(e,"getTabIndex",(function(){return H})),r.d(e,"getDefaultSlots",(function(){return b})),r.d(e,"isRtl",(function(){return U})),r.d(e,"getDir",(function(){return K})),r.d(e,"getter",(function(){return M})),r.d(e,"setter",(function(){return N})),r.d(e,"validatePackage",(function(){return G})),r.d(e,"kendoThemeMaps",(function(){return X}));var i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t.filter((function(t){return!0!==t&&!!t})).map((function(t){return Array.isArray(t)?i.apply(void 0,t):"object"==typeof t?Object.keys(t).map((function(e,r){return t[r]||t[e]&&e||null})).filter((function(t){return null!==t})).join(" "):t})).filter((function(t){return!!t})).join(" ")},o=function(){var t,e,r="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(r+="-"),r+=(12===t?4:16===t?3&e|8:e).toString(16);return r},n={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},a=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),s=function(t){if(t){var e=t.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');e.length&&e[0].focus&&e[0].focus()}},u=r(2),l=function(t,e){return function(r){return e(t(r))}},c=function(t,e,r){return t.addEventListener&&t.addEventListener(e,r)},p=function(t,e,r){return t&&t.removeEventListener&&t.removeEventListener(e,r)},h=function(){},f=function(t){return t.preventDefault()},d=/touch/;function v(t){return t.type.match(d)?{pageX:t.changedTouches[0].pageX,pageY:t.changedTouches[0].pageY,clientX:t.changedTouches[0].clientX,clientY:t.changedTouches[0].clientY,type:t.type,originalEvent:t,isTouch:!0}:{pageX:t.pageX,pageY:t.pageY,clientX:t.clientX,clientY:t.clientY,offsetX:t.offsetX,offsetY:t.offsetY,type:t.type,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey,originalEvent:t}}var g=function(t){var e=this,r=t.press;void 0===r&&(r=h);var i=t.drag;void 0===i&&(i=h);var o=t.release;void 0===o&&(o=h);var n=t.mouseOnly;void 0===n&&(n=!1),this._pressHandler=l(v,r),this._dragHandler=l(v,i),this._releaseHandler=l(v,o),this._ignoreMouse=!1,this._mouseOnly=n,this._touchstart=function(t){1===t.touches.length&&e._pressHandler(t)},this._touchmove=function(t){1===t.touches.length&&e._dragHandler(t)},this._touchend=function(t){0===t.touches.length&&1===t.changedTouches.length&&(e._releaseHandler(t),e._ignoreMouse=!0,setTimeout(e._restoreMouse,2e3))},this._restoreMouse=function(){e._ignoreMouse=!1},this._mousedown=function(t){var r=t.which;r&&r>1||e._ignoreMouse||(c(document,"mousemove",e._mousemove),c(document,"mouseup",e._mouseup),e._pressHandler(t))},this._mousemove=function(t){e._dragHandler(t)},this._mouseup=function(t){p(document,"mousemove",e._mousemove),p(document,"mouseup",e._mouseup),e._releaseHandler(t)},this._pointerdown=function(t){t.isPrimary&&0===t.button&&(c(document,"pointermove",e._pointermove),c(document,"pointerup",e._pointerup),c(document,"pointercancel",e._pointerup),c(document,"contextmenu",f),e._pressHandler(t))},this._pointermove=function(t){t.isPrimary&&e._dragHandler(t)},this._pointerup=function(t){t.isPrimary&&(p(document,"pointermove",e._pointermove),p(document,"pointerup",e._pointerup),p(document,"pointercancel",e._pointerup),p(document,"contextmenu",f),e._releaseHandler(t))}};g.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},g.prototype.bindTo=function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,this._bindToCurrent())},g.prototype._bindToCurrent=function(){var t=this._element;this._usePointers()?c(t,"pointerdown",this._pointerdown):(c(t,"mousedown",this._mousedown),this._mouseOnly||(c(t,"touchstart",this._touchstart),c(t,"touchmove",this._touchmove),c(t,"touchend",this._touchend)))},g.prototype._unbindFromCurrent=function(){var t=this._element;if(this._usePointers())return p(t,"pointerdown",this._pointerdown),p(document,"pointermove",this._pointermove),p(document,"pointerup",this._pointerup),p(document,"contextmenu",f),void p(document,"pointercancel",this._pointerup);p(t,"mousedown",this._mousedown),this._mouseOnly||(p(t,"touchstart",this._touchstart),p(t,"touchmove",this._touchmove),p(t,"touchend",this._touchend))},g.prototype._usePointers=function(){return!this._mouseOnly&&g.supportPointerEvent()},g.prototype.update=function(t){var e=t.press;void 0===e&&(e=h);var r=t.drag;void 0===r&&(r=h);var i=t.release;void 0===i&&(i=h);var o=t.mouseOnly;void 0===o&&(o=!1),this._pressHandler=l(v,e),this._dragHandler=l(v,r),this._releaseHandler=l(v,i),this._mouseOnly=o},g.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},g.default=g;var y,m=g;function b(t){var e=t.$slots.default;return t.v3&&e&&"function"==typeof e?e():e}function x(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _=u.h,C=(x(y={emits:{press:null,drag:null,release:null},inheritAttrs:!1,created:function(){this.element=null,this.draggable=new m({press:this.press,drag:this.drag,release:this.release})},setup:_?function(){return{v3:!!_}}:void 0,mounted:function(){this.$el&&(this.element=3===this.$el.nodeType?this.$el.nextElementSibling:this.$el,this.draggable.bindTo(this.element))},destroyed:_?void 0:function(){this.draggable.destroy()},unmounted:function(){this.draggable.destroy()},methods:{press:function(t){this.element&&this.$emit("press",t,this.element)},drag:function(t){this.element&&this.$emit("drag",t,this.element)},release:function(t){this.element&&this.$emit("release",t,this.element)}}},"setup",_?function(){return{v3:!!_}}:void 0),x(y,"render",(function(t){return b(this)})),y),w=function(t){return t?new Date(t.getTime()):null};function S(t){var e={};return O(t,e),e}function O(t,e){for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];e[r]=P(i,e[r])}}function P(t,e){if(Array.isArray(t))return A(t);if(t instanceof Date)return w(t);if(t&&"object"==typeof t){var r=e||{};return O(t,r),r}return t}function A(t){return t.map((function(t){return P(t,void 0)}))}var j=function(){},k=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,T={};function M(t){if(T[t])return T[t];var e=[];return t.replace(k,(function(t,r,i,o){e.push(void 0!==r?r:i||o)})),T[t]=function(t){for(var r=t,i=0;i<e.length&&r;i++)r=r[e[i]];return r},T[t]}T.undefined=function(){};var V={};function N(t){if(V[t])return V[t];var e=[];return t.replace(k,(function(t,r,i,o){e.push(void 0!==r?r:i||o)})),V[t]=function(t,r){for(var i=t,o=e.length-1,n=0;n<o&&i;n++)i=i[e[n]]=i[e[n]]||{};i[e[o]]=r},V[t]}function E(t){return this.v3?Object.keys(this.$attrs).map((function(t){return t.toLowerCase()})).some((function(e){return e.endsWith(t.toLowerCase())})):this.$listeners[t]}function L(){if(this.v3){var t={};for(var e in this.$attrs)e.startsWith("on")&&(t[e]=this.$attrs[e]);return t}return this.$listeners}V.undefined=function(t){return t};var D=function(){return(D=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},B=u.h,I={type:[String,Function,Object,Boolean],default:function(){}};function R(t,e){if(t||!1===t){var r=B?this.$slots[t]||(t.toLowerCase?this.$slots[t.toLowerCase()]:null):this.$scopedSlots[t]||(t.toLowerCase?this.$scopedSlots[t.toLowerCase()]:null);return"string"==typeof t&&r?{kt:!0,type:"slot",render:r,listeners:e}:"string"==typeof t||"object"==typeof t||"function"==typeof t&&t.component?{kt:!0,type:"component",render:t,listeners:e}:{kt:!0,type:"renderFunction",render:t,listeners:e}}}function z(t){var e,r,i,o=t.h,n=t.template,a=t.defaultRendering,s=t.defaultSlots,u=t.additionalProps,l=t.additionalListeners,c=t.swapDefaultSlots;if(!n||n&&!0===n.render)return a;if(B){var p=a?a.props:{};e=D(D({},F(l)),n.listeners),r=D(D(D({},p),u),e),i=D(D({},r),e)}else{var h=a&&a.componentOptions,f=h?a.componentOptions.listeners:{},d=h?a.componentOptions.propsData:{};e=D(D(D(D({},f),l),F(l)),n.listeners),i={props:r=D(D(D({},d),u),e),on:e}}if("slot"===n.type){var v=n.render({props:r,listeners:e,methods:e,defaultSlots:s});return v?v[0]:void 0}return"renderFunction"===n.type?c?n.render?n.render(o,a,s,r,e):void 0:n.render?n.render(o,a,r,e,s):void 0:o(n.render,i,B?function(){return[s]}:[s])}function F(t){if(!t)return t;for(var e={},r=Object.keys(t),i=0;i<r.length;i++){var o=r[i];e["on"+o.charAt(0).toUpperCase()+o.slice(1)]=t[o]}return e}var H=function(t,e,r){var i="string"==typeof t?parseInt(t,void 0):t;if(NaN!==i)return void 0!==i?i:e?r?void 0:-1:0};function U(t){return Boolean(a&&t&&"rtl"===getComputedStyle(t).direction)}function K(t,e){if(!e&&a&&t){var r=window.getComputedStyle(t).direction;if(r)return r}return e}var $=r(10);function G(t){if(void 0!==$)$.validatePackage(t);else{var e="License activation failed for "+t.name+"\n";e+="The @progress/kendo-licensing script is not loaded.\n",e+="See "+t.licensingDocsUrl+" for more information.\n",console.warn(e)}}var X={sizeMap:{small:"sm",medium:"md",large:"lg"},roundedMap:{small:"sm",medium:"md",large:"lg"}}},function(t,r){t.exports=e},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.removeUndefinedProps=e.toggle=e.validateChildren=e.hasParent=void 0,e.hasParent=function(t,e){for(var r=t;r&&r!==e;)r=r.parentNode;return!!r},e.removeUndefinedProps=function(t){var e=i({},t);return Object.keys(e).forEach((function(t){void 0===e[t]&&delete e[t],"dataItems"===t&&(e.data=e[t],delete e[t]),"lineStyle"===t&&e[t]&&(e.style=e[t],delete e[t])})),e},e.validateChildren=function(t,e,r,i){var o=t[e];if(o&&Array.isArray(o))for(var n=0,a=o;n<a.length;n++){var s=a[n];if(!s.type||s.type!==i)return new Error(r+" children should be Array of type "+i.displayName+".")}return null};e.toggle=function(t){return void 0!==t&&!t}},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigurationVue2=e.Configuration=void 0;var s=a(r(2)),u=s.h,l=(s.ref,r(1)),c={name:"KendoConfiguration",props:{chartKey:String,config:{type:Object,default:function(){return{}}}},data:function(){return{childState:{},index:null}},provide:function(){return{addChild:this.addChildOption,removeChild:this.removeChildOption,childOption:!0}},inject:{childOption:{default:null},addChild:{default:l.noop},removeChild:{default:l.noop},child:{default:{}},parentKey:{default:null},chartCollection:{default:null},dispatchOptions:{default:null},childrenObserver:{default:null}},created:function(){this.currentIndex=void 0,this.uid=l.guid(),this.addChild&&this.addChild({chartKey:this.$props.chartKey,payload:Object.assign({},this.$props.config),uid:this.uid})},mounted:function(){this.dispatch()},watch:{config:function(t,e){JSON.stringify(t)!==JSON.stringify(e)&&this.dispatch()}},destroyed:u?void 0:function(){this.onDestroyed()},unmounted:function(){this.onDestroyed()},setup:u?function(){return{v3:!!u}}:void 0,render:function(t){return(u||t)("div",[l.getDefaultSlots(this)])},methods:{onDestroyed:function(){if(this.removeChild){this.removeChild({uid:this.uid});var t=this.$props,e=t.chartKey,r=t.parentStore;t.config;(r||this.dispatchOptions)({chartKey:e,parentKey:this.parentKey,chartCollectionIdxKey:this.chartCollection+"_",uid:this.uid})}},addChildOption:function(t){var e;this.childState=i(i({},this.childState),((e={})[t.chartKey]=t.payload,e)),this.dispatch()},removeChildOption:function(){this.childState={}},dispatch:function(){var t=this,e=this.$props,r=e.chartKey,i=e.parentStore,o=e.config,n=i||this.dispatchOptions;this.childOption?this.addChild({chartKey:r,payload:Object.assign({},o,this.childState)}):this.chartCollection?(this.currentIndex=this.child.collection.findIndex((function(e){return e.uid===t.uid})),n({chartKey:r,parentKey:this.parentKey,chartCollectionIdxKey:this.chartCollection+"_"+this.currentIndex,payload:Object.assign({},o,{uid:this.uid},this.childState)})):n({chartKey:r,payload:Object.assign({},o,this.childState)})}}};e.ConfigurationVue2=c;var p=c;e.Configuration=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaseEvent=void 0;var i=function(t){this.target=t};e.BaseEvent=i},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.PreventableEvent=void 0;var n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.prevented=!1,e}return o(e,t),e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}(r(5).BaseEvent);e.PreventableEvent=n},function(t,e,r){"use strict";r.r(e),r.d(e,"autoMajorUnit",(function(){return It})),r.d(e,"Point",(function(){return Rt})),r.d(e,"Box",(function(){return Ft})),r.d(e,"Ring",(function(){return Ut})),r.d(e,"Sector",(function(){return Kt})),r.d(e,"ShapeBuilder",(function(){return Gt})),r.d(e,"ShapeElement",(function(){return Qt})),r.d(e,"ChartElement",(function(){return Yt})),r.d(e,"BoxElement",(function(){return qt})),r.d(e,"RootElement",(function(){return re})),r.d(e,"FloatElement",(function(){return oe})),r.d(e,"Text",(function(){return se})),r.d(e,"TextBox",(function(){return ce})),r.d(e,"Title",(function(){return he})),r.d(e,"AxisLabel",(function(){return de})),r.d(e,"Axis",(function(){return Ee})),r.d(e,"Note",(function(){return ge})),r.d(e,"CategoryAxis",(function(){return rr})),r.d(e,"DateCategoryAxis",(function(){return pr})),r.d(e,"DateValueAxis",(function(){return xr})),r.d(e,"NumericAxis",(function(){return mr})),r.d(e,"LogarithmicAxis",(function(){return Sr})),r.d(e,"PolarAxis",(function(){return kr})),r.d(e,"RadarCategoryAxis",(function(){return Ar})),r.d(e,"RadarNumericAxis",(function(){return Nr})),r.d(e,"RadarLogarithmicAxis",(function(){return Lr})),r.d(e,"CurveProcessor",(function(){return Br})),r.d(e,"Gradients",(function(){return Jt})),r.d(e,"rectToBox",(function(){return ue})),r.d(e,"ChartAxis",(function(){return Ir})),r.d(e,"ChartPane",(function(){return Fr})),r.d(e,"ChartPlotArea",(function(){return Hr})),r.d(e,"findAxisByName",(function(){return Rr})),r.d(e,"Aggregates",(function(){return $r})),r.d(e,"AreaChart",(function(){return Bi})),r.d(e,"AreaSegment",(function(){return Ni})),r.d(e,"AxisGroupRangeTracker",(function(){return Ii})),r.d(e,"Bar",(function(){return Ui})),r.d(e,"BarChart",(function(){return Zi})),r.d(e,"BarLabel",(function(){return zi})),r.d(e,"BoxPlotChart",(function(){return ao})),r.d(e,"BoxPlot",(function(){return oo})),r.d(e,"BubbleChart",(function(){return vo})),r.d(e,"Bullet",(function(){return bo})),r.d(e,"BulletChart",(function(){return _o})),r.d(e,"CandlestickChart",(function(){return ro})),r.d(e,"Candlestick",(function(){return Ji})),r.d(e,"CategoricalChart",(function(){return di})),r.d(e,"CategoricalErrorBar",(function(){return ci})),r.d(e,"CategoricalPlotArea",(function(){return Pn})),r.d(e,"Chart",(function(){return vs})),r.d(e,"ChartContainer",(function(){return ko})),r.d(e,"ClipAnimation",(function(){return ji})),r.d(e,"ClusterLayout",(function(){return Xi})),r.d(e,"Crosshair",(function(){return Ao})),r.d(e,"CrosshairTooltip",(function(){return Oo})),r.d(e,"DefaultAggregates",(function(){return en})),r.d(e,"DonutChart",(function(){return ma})),r.d(e,"DonutPlotArea",(function(){return ba})),r.d(e,"DonutSegment",(function(){return ga})),r.d(e,"ErrorBarBase",(function(){return li})),r.d(e,"ErrorRangeCalculator",(function(){return Zr})),r.d(e,"Highlight",(function(){return jn})),r.d(e,"SharedTooltip",(function(){return Yn})),r.d(e,"Legend",(function(){return Rn})),r.d(e,"LegendItem",(function(){return Bn})),r.d(e,"LegendLayout",(function(){return Dn})),r.d(e,"LineChart",(function(){return Vi})),r.d(e,"LinePoint",(function(){return mi})),r.d(e,"LineSegment",(function(){return xi})),r.d(e,"Pane",(function(){return Vo})),r.d(e,"PieAnimation",(function(){return Jn})),r.d(e,"PieChart",(function(){return fa})),r.d(e,"PieChartMixin",(function(){return ca})),r.d(e,"PiePlotArea",(function(){return da})),r.d(e,"PieSegment",(function(){return la})),r.d(e,"PlotAreaBase",(function(){return qo})),r.d(e,"PlotAreaEventsMixin",(function(){return Zo})),r.d(e,"PlotAreaFactory",(function(){return Fn})),r.d(e,"PointEventsMixin",(function(){return vi})),r.d(e,"RangeBar",(function(){return on})),r.d(e,"RangeBarChart",(function(){return an})),r.d(e,"RangeAreaPoint",(function(){return ln})),r.d(e,"RangeAreaChart",(function(){return vn})),r.d(e,"ScatterChart",(function(){return co})),r.d(e,"ScatterErrorBar",(function(){return so})),r.d(e,"ScatterLineChart",(function(){return ea})),r.d(e,"Selection",(function(){return $n})),r.d(e,"SeriesAggregator",(function(){return Jo})),r.d(e,"SeriesBinder",(function(){return Yr})),r.d(e,"SplineSegment",(function(){return Oi})),r.d(e,"SplineAreaSegment",(function(){return Di})),r.d(e,"StackWrap",(function(){return Wi})),r.d(e,"Tooltip",(function(){return Gn})),r.d(e,"OHLCChart",(function(){return yn})),r.d(e,"OHLCPoint",(function(){return gn})),r.d(e,"WaterfallChart",(function(){return xn})),r.d(e,"WaterfallSegment",(function(){return bn})),r.d(e,"XYPlotArea",(function(){return oa})),r.d(e,"MousewheelZoom",(function(){return Ln})),r.d(e,"ZoomSelection",(function(){return En})),r.d(e,"Pannable",(function(){return Vn})),r.d(e,"anyHasZIndex",(function(){return ki})),r.d(e,"appendIfNotNull",(function(){return No})),r.d(e,"areNumbers",(function(){return to})),r.d(e,"bindSegments",(function(){return Lo})),r.d(e,"categoriesCount",(function(){return hi})),r.d(e,"countNumbers",(function(){return Ur})),r.d(e,"equalsIgnoreCase",(function(){return Do})),r.d(e,"evalOptions",(function(){return pi})),r.d(e,"filterSeriesByType",(function(){return Bo})),r.d(e,"getDateField",(function(){return Io})),r.d(e,"getField",(function(){return Gr})),r.d(e,"hasGradientOverlay",(function(){return Fi})),r.d(e,"hasValue",(function(){return uo})),r.d(e,"isDateAxis",(function(){return Ro})),r.d(e,"segmentVisible",(function(){return Eo})),r.d(e,"singleItemOrArray",(function(){return zo})),r.d(e,"createOutOfRangePoints",(function(){return Ko})),r.d(e,"ChartService",(function(){return je})),r.d(e,"DomEventsBuilder",(function(){return Te})),r.d(e,"FormatService",(function(){return Se})),r.d(e,"IntlService",(function(){return xe})),r.d(e,"TemplateService",(function(){return F})),r.d(e,"Sparkline",(function(){return Cs})),r.d(e,"Navigator",(function(){return Ts})),r.d(e,"NavigatorHint",(function(){return Ps})),r.d(e,"StockChart",(function(){return Vs})),r.d(e,"constants",(function(){return i})),r.d(e,"Gauge",(function(){return Ks})),r.d(e,"LinearGauge",(function(){return du})),r.d(e,"LinearPointer",(function(){return eu})),r.d(e,"ArrowLinearPointer",(function(){return au})),r.d(e,"BarLinearPointer",(function(){return pu})),r.d(e,"LinearScale",(function(){return Zs})),r.d(e,"RadialGauge",(function(){return Mu})),r.d(e,"RadialPointer",(function(){return ju})),r.d(e,"RadialScale",(function(){return _u})),r.d(e,"ArcGauge",(function(){return Iu})),r.d(e,"RangePointer",(function(){return Bu})),r.d(e,"ArcScale",(function(){return Nu})),r.d(e,"CircularGauge",(function(){return Ru})),r.d(e,"Barcode",(function(){return Al})),r.d(e,"barcodeValidator",(function(){return kl})),r.d(e,"QRCode",(function(){return Mc})),r.d(e,"qrcodeValidator",(function(){return Vc})),r.d(e,"Map",(function(){return Uh})),r.d(e,"Location",(function(){return Hc})),r.d(e,"Extent",(function(){return Rp})),r.d(e,"addClass",(function(){return _})),r.d(e,"removeClass",(function(){return w})),r.d(e,"alignPathToPixel",(function(){return O})),r.d(e,"clockwise",(function(){return P})),r.d(e,"convertableToNumber",(function(){return k})),r.d(e,"deepExtend",(function(){return V})),r.d(e,"elementStyles",(function(){return B})),r.d(e,"getSpacing",(function(){return I})),r.d(e,"getTemplate",(function(){return H})),r.d(e,"getter",(function(){return $})),r.d(e,"grep",(function(){return G})),r.d(e,"hasClasses",(function(){return X})),r.d(e,"HashMap",(function(){return W})),r.d(e,"inArray",(function(){return q})),r.d(e,"interpolateValue",(function(){return Z})),r.d(e,"InstanceObserver",(function(){return J})),r.d(e,"isArray",(function(){return x})),r.d(e,"isFunction",(function(){return T})),r.d(e,"isNumber",(function(){return A})),r.d(e,"isObject",(function(){return N})),r.d(e,"isString",(function(){return j})),r.d(e,"map",(function(){return tt})),r.d(e,"mousewheelDelta",(function(){return rt})),r.d(e,"FontLoader",(function(){return _t})),r.d(e,"setDefaultOptions",(function(){return Ct})),r.d(e,"sparseArrayLimits",(function(){return wt})),r.d(e,"styleValue",(function(){return E})),r.d(e,"find",(function(){return St})),r.d(e,"elementScale",(function(){return jt})),r.d(e,"autoTextColor",(function(){return kt})),r.d(e,"createHashSet",(function(){return Lt})),r.d(e,"defaultErrorHandler",(function(){return Dt})),r.d(e,"keys",(function(){return Bt})),r.d(e,"append",(function(){return ot})),r.d(e,"bindEvents",(function(){return nt})),r.d(e,"Class",(function(){return S.Class})),r.d(e,"defined",(function(){return at})),r.d(e,"deg",(function(){return st})),r.d(e,"elementOffset",(function(){return ut})),r.d(e,"elementSize",(function(){return lt})),r.d(e,"eventCoordinates",(function(){return ct})),r.d(e,"eventElement",(function(){return pt})),r.d(e,"hashKey",(function(){return ht})),r.d(e,"last",(function(){return ft})),r.d(e,"limitValue",(function(){return dt})),r.d(e,"logToConsole",(function(){return S.logToConsole})),r.d(e,"objectKey",(function(){return vt})),r.d(e,"rad",(function(){return gt})),r.d(e,"round",(function(){return yt})),r.d(e,"unbindEvents",(function(){return mt})),r.d(e,"valueOrDefault",(function(){return bt})),r.d(e,"chartBaseTheme",(function(){return Wh}));var i={};r.r(i),r.d(i,"NAVIGATOR_AXIS",(function(){return js})),r.d(i,"NAVIGATOR_PANE",(function(){return As}));var o="arc",n="#000",a="bottom",s="center",u="circle",l="date",c=/\{\d+:?/,p="left",h=Number.MAX_VALUE,f=-Number.MAX_VALUE,d="right",v="top",g="value",y="#fff",m="x",b="y";function x(t){return Array.isArray(t)}function _(t,e){for(var r=x(e)?e:[e],i=0;i<r.length;i++){var o=r[i];-1===t.className.indexOf(o)&&(t.className+=" "+o)}}var C=/\s+/g;function w(t,e){t&&t.className&&(t.className=t.className.replace(e,"").replace(C," "))}var S=r(0);function O(t){var e=.5;t.options.stroke&&S.drawing.util.defined(t.options.stroke.width)&&t.options.stroke.width%2==0&&(e=0);for(var r=0;r<t.segments.length;r++)t.segments[r].anchor().round(0).translate(e,e);return t}function P(t,e){return-t.x*e.y+t.y*e.x<0}function A(t){return"number"==typeof t&&!isNaN(t)}function j(t){return"string"==typeof t}function k(t){return A(t)||j(t)&&isFinite(t)}function T(t){return"function"==typeof t}function M(t,e){for(var r in e){var i=e[r],o=typeof i,n=void 0;if((n="object"===o&&null!==i?i.constructor:null)&&n!==Array)if(i instanceof Date)t[r]=new Date(i.getTime());else if(T(i.clone))t[r]=i.clone();else{var a=t[r];t[r]="object"==typeof a&&a||{},M(t[r],i)}else"undefined"!==o&&(t[r]=i)}return t}function V(t){for(var e=arguments,r=arguments.length,i=1;i<r;i++)M(t,e[i]);return t}function N(t){return"object"==typeof t}function E(t){return A(t)?t+"px":t}var L=/width|height|top|left|bottom|right/i;function D(t){return L.test(t)}function B(t,e){var r=j(e)?[e]:e;if(x(r)){for(var i={},o=window.getComputedStyle(t),n=0;n<r.length;n++){var a=r[n];i[a]=D(a)?parseFloat(o[a]):o[a]}return i}if(N(e))for(var s in e)t.style[s]=E(e[s])}function I(t,e){void 0===e&&(e=0);var r={top:0,right:0,bottom:0,left:0};return"number"==typeof t?r.top=r[d]=r[a]=r[p]=t:(r.top=t.top||e,r[d]=t[d]||e,r[a]=t[a]||e,r[p]=t[p]||e),r}var R={compile:function(t){return t}},z=function(){};z.register=function(t){R=t},z.compile=function(t){return R.compile(t)};var F=z;function H(t){var e;return void 0===t&&(t={}),t.template?t.template=e=F.compile(t.template):T(t.content)&&(e=t.content),e}var U=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,K={};function $(t){if(K[t])return K[t];var e=[];return t.replace(U,(function(t,r,i,o){e.push(S.drawing.util.defined(r)?r:i||o)})),K[t]=function(t){for(var r=t,i=0;i<e.length&&r;i++)r=r[e[i]];return r},K[t]}function G(t,e){for(var r=t.length,i=[],o=0;o<r;o++)e(t[o])&&i.push(t[o]);return i}function X(t,e){if(t.className)for(var r=e.split(" "),i=0;i<r.length;i++)if(-1!==t.className.indexOf(r[i]))return!0}K[void 0]=function(t){return t};var Y=function(){this._map={}};Y.prototype.get=function(t){return this._map[this._key(t)]},Y.prototype.set=function(t,e){this._map[this._key(t)]=e},Y.prototype._key=function(t){return t instanceof Date?t.getTime():t};var W=Y;function q(t,e){if(e)return-1!==e.indexOf(t)}function Z(t,e,r){return S.drawing.util.round(t+(e-t)*r,3)}var Q=function(t,e){this.observer=t,this.handlerMap=V({},this.handlerMap,e)};Q.prototype.trigger=function(t,e){var r,i=this.observer,o=this.handlerMap;return o[t]?r=this.callObserver(o[t],e):i.trigger&&(r=this.callObserver("trigger",t,e)),r},Q.prototype.callObserver=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];return this.observer[t].apply(this.observer,e)},Q.prototype.requiresHandlers=function(t){if(this.observer.requiresHandlers)return this.observer.requiresHandlers(t);for(var e=0;e<t.length;e++)if(this.handlerMap[t[e]])return!0};var J=Q;function tt(t,e){for(var r=t.length,i=[],o=0;o<r;o++){var n=e(t[o]);S.drawing.util.defined(n)&&i.push(n)}return i}var et=S.support.browser||{};function rt(t){var e=0;return t.wheelDelta?(e=-t.wheelDelta/120,et.webkit&&(e/=2*Math.max(window.devicePixelRatio,.625))):t.detail&&(e=t.detail/3),e=e>0?Math.ceil(e):Math.floor(e)}var it=S.drawing.util,ot=it.append,nt=it.bindEvents,at=it.defined,st=it.deg,ut=it.elementOffset,lt=it.elementSize,ct=it.eventCoordinates,pt=it.eventElement,ht=it.hashKey,ft=it.last,dt=it.limitValue,vt=it.objectKey,gt=it.rad,yt=it.round,mt=it.unbindEvents,bt=it.valueOrDefault,xt=function(){};xt.fetchFonts=function(t,e,r){void 0===r&&(r={depth:0});!t||r.depth>5||!document.fonts||Object.keys(t).forEach((function(i){var o=t[i];"dataSource"!==i&&"$"!==i[0]&&o&&("font"===i?e.push(o):"object"==typeof o&&(r.depth++,xt.fetchFonts(o,e,r),r.depth--))}))},xt.loadFonts=function(t,e){var r=[];if(t.length>0&&document.fonts){try{r=t.map((function(t){return document.fonts.load(t)}))}catch(t){Object(S.logToConsole)(t)}Promise.all(r).then(e,e)}else e()},xt.preloadFonts=function(t,e){var r=[];xt.fetchFonts(t,r),xt.loadFonts(r,e)};var _t=xt;function Ct(t,e){var r=t.prototype;r.options?r.options=V({},r.options,e):r.options=e}function wt(t){for(var e=h,r=f,i=0,o=t.length;i<o;i++){var n=t[i];null!==n&&isFinite(n)&&(e=Math.min(e,n),r=Math.max(r,n))}return{min:e===h?void 0:e,max:r===f?void 0:r}}function St(t,e){for(var r=0;r<t.length;r++){var i=t[r];if(e(i,r,t))return i}}var Ot=S.geometry.Matrix,Pt=/matrix\((.*)\)/;function At(t){var e=getComputedStyle(t).transform;return"none"===e?Ot.unit():function(t){var e=t.match(Pt);if(null===e||2!==e.length)return Ot.unit();var r=e[1].split(",").map((function(t){return parseFloat(t)}));return new(Function.prototype.bind.apply(Ot,[null].concat(r)))}(e)}function jt(t){if(!t)return Ot.unit();for(var e=At(t),r=t.parentElement;r;){var i=At(r);e=e.multiplyCopy(i),r=r.parentElement}return e.b=e.c=e.e=e.f=0,e}var kt=function(t){return new S.Color(t).isDark()?y:n},Tt={},Mt=function(t){this._index={},this._values=t?t.slice(0):[];for(var e=0;e<this._values.length;e++)this._index[this._values[e]]=e},Vt={size:{configurable:!0}};Mt.prototype.values=function(){return this._values.filter((function(t){return t!==Tt}))},Mt.prototype.has=function(t){return void 0!==this._index[t]},Mt.prototype.add=function(t){this.has(t)||(this._index[t]=this._values.length,this._values.push(t))},Mt.prototype.delete=function(t){var e=this._index[t];void 0!==e&&(this._values[e]=Tt,delete this._index[t])},Mt.prototype.clear=function(){this._index={},this._values=[]},Vt.size.get=function(){return this._values.length},Object.defineProperties(Mt.prototype,Vt);var Nt=function(t){this._set=new Set(t)},Et={size:{configurable:!0}};Nt.prototype.values=function(){return Array.from(this._set)},Nt.prototype.has=function(t){return this._set.has(t)},Nt.prototype.add=function(t){this._set.add(t)},Nt.prototype.delete=function(t){this._set.delete(t)},Nt.prototype.clear=function(){this._set.clear()},Et.size.get=function(){return this._set.size},Object.defineProperties(Nt.prototype,Et);function Lt(t){return function(){var t=!1;"function"==typeof Set&&(t=new Set([1]).has(1));return t}()?new Nt(t):new Mt(t)}function Dt(t){throw t}var Bt={INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110};function It(t,e){var r=yt(e-t,9);if(0===r){if(0===e)return.1;r=Math.abs(e)}var i=Math.pow(10,Math.floor(Math.log(r)/Math.log(10))),o=yt(r/i,10);return yt(i*(o<1.904762?.2:o<4.761904?.5:o<9.523809?1:2),10)}var Rt=function(t){function e(e,r){t.call(this),this.x=e||0,this.y=r||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.equals=function(t){return t&&this.x===t.x&&this.y===t.y},e.prototype.rotate=function(t,e){var r=gt(e),i=Math.cos(r),o=Math.sin(r),n=t.x,a=t.y,s=this.x,u=this.y;return this.x=yt(n+(s-n)*i+(u-a)*o,3),this.y=yt(a+(u-a)*i-(s-n)*o,3),this},e.prototype.multiply=function(t){return this.x*=t,this.y*=t,this},e.prototype.distanceTo=function(t){var e=this.x-t.x,r=this.y-t.y;return Math.sqrt(e*e+r*r)},e.onCircle=function(t,r,i){var o=gt(r);return new e(t.x-i*Math.cos(o),t.y-i*Math.sin(o))},e}(S.Class);function zt(t,e,r,i,o){var n=gt(o);return new Rt(r+(t-r)*Math.cos(n)+(e-i)*Math.sin(n),i-(t-r)*Math.sin(n)+(e-i)*Math.cos(n))}var Ft=function(t){function e(e,r,i,o){t.call(this),this.x1=e||0,this.y1=r||0,this.x2=i||0,this.y2=o||0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.equals=function(t){return this.x1===t.x1&&this.x2===t.x2&&this.y1===t.y1&&this.y2===t.y2},e.prototype.width=function(){return this.x2-this.x1},e.prototype.height=function(){return this.y2-this.y1},e.prototype.translate=function(t,e){return this.x1+=t,this.x2+=t,this.y1+=e,this.y2+=e,this},e.prototype.move=function(t,e){var r=this.height(),i=this.width();return at(t)&&(this.x1=t,this.x2=this.x1+i),at(e)&&(this.y1=e,this.y2=this.y1+r),this},e.prototype.wrap=function(t){return this.x1=Math.min(this.x1,t.x1),this.y1=Math.min(this.y1,t.y1),this.x2=Math.max(this.x2,t.x2),this.y2=Math.max(this.y2,t.y2),this},e.prototype.wrapPoint=function(t){var r=x(t),i=r?t[0]:t.x,o=r?t[1]:t.y;return this.wrap(new e(i,o,i,o)),this},e.prototype.snapTo=function(t,e){return e!==m&&e||(this.x1=t.x1,this.x2=t.x2),e!==b&&e||(this.y1=t.y1,this.y2=t.y2),this},e.prototype.alignTo=function(t,e){var r=this.height(),i=this.width(),o=e===v||e===a?b:m,n=o===b?r:i;if(e===s){var u=t.center(),l=this.center();this.x1+=u.x-l.x,this.y1+=u.y-l.y}else this[o+1]=e===v||e===p?t[o+1]-n:t[o+2];return this.x2=this.x1+i,this.y2=this.y1+r,this},e.prototype.shrink=function(t,e){return this.x2-=t,this.y2-=e,this},e.prototype.expand=function(t,e){return this.shrink(-t,-e),this},e.prototype.pad=function(t){var e=I(t);return this.x1-=e.left,this.x2+=e.right,this.y1-=e.top,this.y2+=e.bottom,this},e.prototype.unpad=function(t){var e=I(t);return e.left=-e.left,e.top=-e.top,e.right=-e.right,e.bottom=-e.bottom,this.pad(e)},e.prototype.clone=function(){return new e(this.x1,this.y1,this.x2,this.y2)},e.prototype.center=function(){return new Rt(this.x1+this.width()/2,this.y1+this.height()/2)},e.prototype.containsPoint=function(t){return t.x>=this.x1&&t.x<=this.x2&&t.y>=this.y1&&t.y<=this.y2},e.prototype.points=function(){return[new Rt(this.x1,this.y1),new Rt(this.x2,this.y1),new Rt(this.x2,this.y2),new Rt(this.x1,this.y2)]},e.prototype.getHash=function(){return[this.x1,this.y1,this.x2,this.y2].join(",")},e.prototype.overlaps=function(t){return!(t.y2<this.y1||this.y2<t.y1||t.x2<this.x1||this.x2<t.x1)},e.prototype.rotate=function(t){var e=this.width(),r=this.height(),i=this.center(),o=i.x,n=i.y,a=zt(0,0,o,n,t),s=zt(e,0,o,n,t),u=zt(e,r,o,n,t),l=zt(0,r,o,n,t);return e=Math.max(a.x,s.x,u.x,l.x)-Math.min(a.x,s.x,u.x,l.x),r=Math.max(a.y,s.y,u.y,l.y)-Math.min(a.y,s.y,u.y,l.y),this.x2=this.x1+e,this.y2=this.y1+r,this},e.prototype.toRect=function(){return new S.geometry.Rect([this.x1,this.y1],[this.width(),this.height()])},e.prototype.hasSize=function(){return 0!==this.width()&&0!==this.height()},e.prototype.align=function(t,e,r){var i=e+1,o=e+2,n=e===m?"width":"height",u=this[n]();q(r,[p,v])?(this[i]=t[i],this[o]=this[i]+u):q(r,[d,a])?(this[o]=t[o],this[i]=this[o]-u):r===s&&(this[i]=t[i]+(t[n]()-u)/2,this[o]=this[i]+u)},e}(S.Class);function Ht(t,e){return t-e}var Ut=function(t){function e(e,r,i,o,n){t.call(this),this.center=e,this.innerRadius=r,this.radius=i,this.startAngle=o,this.angle=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.center,this.innerRadius,this.radius,this.startAngle,this.angle)},e.prototype.middle=function(){return this.startAngle+this.angle/2},e.prototype.setRadius=function(t,e){return e?this.innerRadius=t:this.radius=t,this},e.prototype.point=function(t,e){var r=gt(t),i=Math.cos(r),o=Math.sin(r),n=e?this.innerRadius:this.radius,a=yt(this.center.x-i*n,3),s=yt(this.center.y-o*n,3);return new Rt(a,s)},e.prototype.adjacentBox=function(t,e,r){var i=this.clone().expand(t),o=i.middle(),n=i.point(o),a=e/2,s=r/2,u=Math.sin(gt(o)),l=Math.cos(gt(o)),c=n.x-a,p=n.y-s;return Math.abs(u)<.9&&(c+=a*-l/Math.abs(l)),Math.abs(l)<.9&&(p+=s*-u/Math.abs(u)),new Ft(c,p,c+e,p+r)},e.prototype.containsPoint=function(t){var e=this.center,r=this.innerRadius,i=this.radius,o=this.startAngle,n=this.startAngle+this.angle,a=t.x-e.x,s=t.y-e.y,u=new Rt(a,s),l=this.point(o),c=new Rt(l.x-e.x,l.y-e.y),p=this.point(n),h=new Rt(p.x-e.x,p.y-e.y),f=yt(a*a+s*s,3);return(c.equals(u)||P(c,u))&&!P(h,u)&&f>=r*r&&f<=i*i},e.prototype.getBBox=function(){var t,e=new Ft(h,h,f,f),r=yt(this.startAngle%360),i=yt((r+this.angle)%360),o=this.innerRadius,n=[0,90,180,270,r,i].sort(Ht),a=n.indexOf(r),s=n.indexOf(i);t=r===i?n:a<s?n.slice(a,s+1):[].concat(n.slice(0,s+1),n.slice(a,n.length));for(var u=0;u<t.length;u++){var l=this.point(t[u]);e.wrapPoint(l),e.wrapPoint(l,o)}return o||e.wrapPoint(this.center),e},e.prototype.expand=function(t){return this.radius+=t,this},e}(S.Class),Kt=function(t){function e(e,r,i,o){t.call(this,e,0,r,i,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.expand=function(e){return t.prototype.expand.call(this,e)},e.prototype.clone=function(){return new e(this.center,this.radius,this.startAngle,this.angle)},e.prototype.setRadius=function(t){return this.radius=t,this},e}(Ut),$t=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createRing=function(t,e){var r=t.startAngle+180,i=t.angle+r;t.angle>0&&r===i&&(i+=.001);var o=new S.geometry.Point(t.center.x,t.center.y),n=Math.max(t.radius,0),a=Math.max(t.innerRadius,0),s=new S.geometry.Arc(o,{startAngle:r,endAngle:i,radiusX:n,radiusY:n}),u=S.drawing.Path.fromArc(s,e).close();if(a){s.radiusX=s.radiusY=a;var l=s.pointAt(i);u.lineTo(l.x,l.y),u.arc(i,r,a,a,!0)}else u.lineTo(o.x,o.y);return u},e}(S.Class);$t.current=new $t;var Gt=$t,Xt=function(t){function e(e){t.call(this),this.children=[],this.options=V({},this.options,this.initUserOptions(e))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){return t},e.prototype.reflow=function(t){for(var e,r=this.children,i=0;i<r.length;i++){var o=r[i];o.reflow(t),e=e?e.wrap(o.box):o.box.clone()}this.box=e||t},e.prototype.destroy=function(){var t=this.children;this.animation&&this.animation.destroy();for(var e=0;e<t.length;e++)t[e].destroy()},e.prototype.getRoot=function(){var t=this.parent;return t?t.getRoot():null},e.prototype.getSender=function(){var t=this.getService();if(t)return t.sender},e.prototype.getService=function(){for(var t=this;t;){if(t.chartService)return t.chartService;t=t.parent}},e.prototype.translateChildren=function(t,e){for(var r=this.children,i=r.length,o=0;o<i;o++)r[o].box.translate(t,e)},e.prototype.append=function(){for(var t=arguments,e=this,r=0;r<arguments.length;r++){var i=t[r];e.children.push(i),i.parent=e}},e.prototype.renderVisual=function(){!1!==this.options.visible&&(this.createVisual(),this.addVisual(),this.renderChildren(),this.createAnimation(),this.renderComplete())},e.prototype.addVisual=function(){this.visual&&(this.visual.chartElement=this,this.parent&&this.parent.appendVisual(this.visual))},e.prototype.renderChildren=function(){for(var t=this.children,e=t.length,r=0;r<e;r++)t[r].renderVisual()},e.prototype.createVisual=function(){this.visual=new S.drawing.Group({zIndex:this.options.zIndex,visible:bt(this.options.visible,!0)})},e.prototype.createAnimation=function(){this.visual&&this.options.animation&&(this.animation=S.drawing.Animation.create(this.visual,this.options.animation))},e.prototype.appendVisual=function(t){t.chartElement||(t.chartElement=this),t.options.noclip?this.clipRoot().visual.append(t):at(t.options.zIndex)?this.stackRoot().stackVisual(t):this.isStackRoot?this.stackVisual(t):this.visual?this.visual.append(t):this.parent.appendVisual(t)},e.prototype.clipRoot=function(){return this.parent?this.parent.clipRoot():this},e.prototype.stackRoot=function(){return this.parent?this.parent.stackRoot():this},e.prototype.stackVisual=function(t){var e,r=t.options.zIndex||0,i=this.visual.children,o=i.length;for(e=0;e<o;e++){var n=i[e];if(bt(n.options.zIndex,0)>r)break}this.visual.insert(e,t)},e.prototype.traverse=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++){var o=e[i];t(o),o.traverse&&o.traverse(t)}},e.prototype.closest=function(t){for(var e=this,r=!1;e&&!r;)(r=t(e))||(e=e.parent);if(r)return e},e.prototype.renderComplete=function(){},e.prototype.hasHighlight=function(){var t=(this.options||{}).highlight;return!(!this.createHighlight||t&&!1===t.visible)},e.prototype.toggleHighlight=function(t,e){var r=this,i=(this.options||{}).highlight||{},o=i.visual,n=this._highlight;if(!n){var a={fill:{color:y,opacity:e||.2},stroke:{color:y,width:1,opacity:e||.2}};if(o){if(!(n=this._highlight=o(Object.assign(this.highlightVisualArgs(),{createVisual:function(){return r.createHighlight(a)},sender:this.getSender(),series:this.series,dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,runningTotal:this.runningTotal,total:this.total}))))return}else n=this._highlight=this.createHighlight(a);at(n.options.zIndex)||(n.options.zIndex=bt(i.zIndex,this.options.zIndex)),this.appendVisual(n)}n.visible(t)},e.prototype.createGradientOverlay=function(t,e,r){var i=new S.drawing.Path(Object.assign({stroke:{color:"none"},fill:this.createGradient(r),closed:t.options.closed},e));return i.segments.elements(t.segments.elements()),i},e.prototype.createGradient=function(t){if(this.parent)return this.parent.createGradient(t)},e.prototype.supportsPointInactiveOpacity=function(){return!0},e}(S.Class);Xt.prototype.options={};var Yt=Xt,Wt=function(t){function e(e){t.call(this,e),this.options.margin=I(this.options.margin),this.options.padding=I(this.options.padding)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){var r,i=this,o=this.options,n=o.width,a=o.height,s=o.shrinkToFit,u=n&&a,l=o.margin,c=o.padding,p=o.border.width,h=function(){i.align(e,m,o.align),i.align(e,b,o.vAlign),i.paddingBox=r.clone().unpad(l).unpad(p)},f=e.clone();u&&(f.x2=f.x1+n,f.y2=f.y1+a),s&&f.unpad(l).unpad(p).unpad(c),t.prototype.reflow.call(this,f),r=u?this.box=new Ft(0,0,n,a):this.box,s&&u?(h(),f=this.contentBox=this.paddingBox.clone().unpad(c)):(f=this.contentBox=r.clone(),r.pad(c).pad(p).pad(l),h()),this.translateChildren(r.x1-f.x1+l.left+p+c.left,r.y1-f.y1+l.top+p+c.top);for(var d=this.children,v=0;v<d.length;v++){var g=d[v];g.reflow(g.box)}},e.prototype.align=function(t,e,r){this.box.align(t,e,r)},e.prototype.hasBox=function(){var t=this.options;return t.border.width||t.background},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.options.visible&&this.hasBox()&&this.visual.append(S.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle()))},e.prototype.visualStyle=function(){var t=this.options,e=t.border||{};return{stroke:{width:e.width,color:e.color,opacity:bt(e.opacity,t.opacity),dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},cursor:t.cursor}},e}(Yt);Ct(Wt,{align:p,vAlign:v,margin:{},padding:{},border:{color:n,width:0},background:"",shrinkToFit:!1,width:0,height:0,visible:!0});var qt=Wt,Zt=function(t){function e(e,r){t.call(this,e),this.pointData=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getElement=function(){var t=this.options,e=this.paddingBox,r=t.type,i=t.rotation,o=e.center(),n=e.width()/2,a=e.height()/2;if(!t.visible||!this.hasBox())return null;var s,l=this.visualStyle();if(r===u)s=new S.drawing.Circle(new S.geometry.Circle([yt(e.x1+n,3),yt(e.y1+a,3)],Math.min(n,a)),l);else if("triangle"===r)s=S.drawing.Path.fromPoints([[e.x1+n,e.y1],[e.x1,e.y2],[e.x2,e.y2]],l).close();else if("cross"===r)(s=new S.drawing.MultiPath(l)).moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),s.moveTo(e.x1,e.y2).lineTo(e.x2,e.y1);else{var c=e.toRect();if("roundedRect"===r){var p=bt(t.borderRadius,c.width()/5);c.setCornerRadius(p)}s=S.drawing.Path.fromRect(c,l)}return i&&s.transform(S.geometry.transform().rotate(-i,[o.x,o.y])),s.options.zIndex=t.zIndex,s},e.prototype.createElement=function(){var t=this,e=this.options.visual,r=this.pointData||{};return e?e({value:r.value,dataItem:r.dataItem,sender:this.getSender(),series:r.series,category:r.category,rect:this.paddingBox.toRect(),options:this.visualOptions(),createVisual:function(){return t.getElement()}}):this.getElement()},e.prototype.visualOptions=function(){var t=this.options;return{background:t.background,border:t.border,margin:t.margin,padding:t.padding,type:t.type,size:t.width,visible:t.visible}},e.prototype.createVisual=function(){this.visual=this.createElement()},e}(qt);Ct(Zt,{type:u,align:s,vAlign:s});var Qt=Zt,Jt={glass:{type:"linear",rotation:0,stops:[{offset:0,color:y,opacity:0},{offset:.25,color:y,opacity:.3},{offset:1,color:y,opacity:0}]},sharpBevel:{type:"radial",stops:[{offset:0,color:y,opacity:.55},{offset:.65,color:y,opacity:0},{offset:.95,color:y,opacity:.25}]},roundedBevel:{type:"radial",stops:[{offset:.33,color:y,opacity:.06},{offset:.83,color:y,opacity:.2},{offset:.95,color:y,opacity:0}]},roundedGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:y,opacity:0},{offset:.5,color:y,opacity:.3},{offset:.99,color:y,opacity:0}]},sharpGlass:{type:"radial",supportVML:!1,stops:[{offset:0,color:y,opacity:.2},{offset:.15,color:y,opacity:.15},{offset:.17,color:y,opacity:.35},{offset:.85,color:y,opacity:.05},{offset:.87,color:y,opacity:.15},{offset:.99,color:y,opacity:0}]},bubbleShadow:{type:"radial",center:[.5,.5],radius:.5}};function te(t,e){if(t.x1===e.x1&&t.y1===e.y1&&t.x2===e.x2&&t.y2===e.y2)return e;var r=Math.min(t.x1,e.x1),i=Math.max(t.x1,e.x1),o=Math.min(t.x2,e.x2),n=Math.max(t.x2,e.x2),a=Math.min(t.y1,e.y1),s=Math.max(t.y1,e.y1),u=Math.min(t.y2,e.y2),l=Math.max(t.y2,e.y2),c=[];return c[0]=new Ft(i,a,o,s),c[1]=new Ft(r,s,i,u),c[2]=new Ft(o,s,n,u),c[3]=new Ft(i,u,o,l),t.x1===r&&t.y1===a||e.x1===r&&e.y1===a?(c[4]=new Ft(r,a,i,s),c[5]=new Ft(o,u,n,l)):(c[4]=new Ft(o,a,n,s),c[5]=new Ft(r,u,i,l)),G(c,(function(t){return t.height()>0&&t.width()>0}))[0]}var ee=function(t){function e(e){t.call(this,e);var r=this.options;r.width=parseInt(r.width,10),r.height=parseInt(r.height,10),this.gradients={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t=this.options,e=this.children,r=new Ft(0,0,t.width,t.height);this.box=r.unpad(t.margin);for(var i=0;i<e.length;i++)e[i].reflow(r),r=te(r,e[i].box)||new Ft},e.prototype.createVisual=function(){this.visual=new S.drawing.Group,this.createBackground()},e.prototype.createBackground=function(){var t=this.options,e=t.border||{},r=this.box.clone().pad(t.margin).unpad(e.width),i=S.drawing.Path.fromRect(r.toRect(),{stroke:{color:e.width?e.color:"",width:e.width,dashType:e.dashType},fill:{color:t.background,opacity:t.opacity},zIndex:-10});this.visual.append(i)},e.prototype.getRoot=function(){return this},e.prototype.createGradient=function(t){var e,r=this.gradients,i=vt(t),o=Jt[t.gradient];if(r[i])e=r[i];else{var n=Object.assign({},o,t);"linear"===o.type?e=new S.drawing.LinearGradient(n):(t.innerRadius&&(n.stops=function(t){for(var e=t.stops,r=t.innerRadius/t.radius*100,i=e.length,o=[],n=0;n<i;n++){var a=Object.assign({},e[n]);a.offset=(a.offset*(100-r)+r)/100,o.push(a)}return o}(n)),(e=new S.drawing.RadialGradient(n)).supportVML=!1!==o.supportVML),r[i]=e}return e},e.prototype.cleanGradients=function(){var t=this.gradients;for(var e in t)t[e]._observers=[]},e.prototype.size=function(){var t=this.options;return new Ft(0,0,t.width,t.height)},e}(Yt);Ct(ee,{width:600,height:400,background:y,border:{color:n,width:0},margin:I(5),zIndex:-2});var re=ee,ie=function(t){function e(e){t.call(this,e),this._initDirection()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initDirection=function(){var t=this.options;t.vertical?(this.groupAxis=m,this.elementAxis=b,this.groupSizeField="width",this.elementSizeField="height",this.groupSpacing=t.spacing,this.elementSpacing=t.vSpacing):(this.groupAxis=b,this.elementAxis=m,this.groupSizeField="height",this.elementSizeField="width",this.groupSpacing=t.vSpacing,this.elementSpacing=t.spacing)},e.prototype.reflow=function(t){this.box=t.clone(),this.reflowChildren()},e.prototype.reflowChildren=function(){var t=this.box,e=this.elementAxis,r=this.groupAxis,i=this.elementSizeField,o=this.groupSizeField,n=this.groupOptions(),a=n.groups,s=n.groupsSize,u=n.maxGroupElementsSize,l=a.length,c=t[r+1]+this.alignStart(s,t[o]());if(l){for(var p=c,h=0;h<l;h++){for(var f=a[h],d=f.groupElements,v=t[e+1],g=d.length,y=0;y<g;y++){var m=d[y],b=this.elementSize(m),x=p+this.alignStart(b[o],f.groupSize),_=new Ft;_[r+1]=x,_[r+2]=x+b[o],_[e+1]=v,_[e+2]=v+b[i],m.reflow(_),v+=b[i]+this.elementSpacing}p+=f.groupSize+this.groupSpacing}t[r+1]=c,t[r+2]=c+s,t[e+2]=t[e+1]+u}},e.prototype.alignStart=function(t,e){var r=0,i=this.options.align;return i===d||i===a?r=e-t:i===s&&(r=(e-t)/2),r},e.prototype.groupOptions=function(){for(var t=this.box,e=this.children,r=this.elementSizeField,i=this.groupSizeField,o=this.elementSpacing,n=this.groupSpacing,a=yt(t[r]()),s=e.length,u=[],l=0,c=0,p=0,h=0,f=[],d=0;d<s;d++){var v=e[d];v.box||v.reflow(t);var g=this.elementSize(v);this.options.wrap&&yt(c+o+g[r])>a&&(u.push({groupElements:f,groupSize:l,groupElementsSize:c}),h=Math.max(h,c),p+=n+l,l=0,c=0,f=[]),l=Math.max(l,g[i]),c>0&&(c+=o),c+=g[r],f.push(v)}return u.push({groupElements:f,groupSize:l,groupElementsSize:c}),{groups:u,groupsSize:p+=l,maxGroupElementsSize:h=Math.max(h,c)}},e.prototype.elementSize=function(t){return{width:t.box.width(),height:t.box.height()}},e.prototype.createVisual=function(){},e}(Yt);Ct(ie,{vertical:!0,wrap:!0,vSpacing:0,spacing:0});var oe=ie,ne=S.drawing.Text,ae=function(t){function e(e,r){t.call(this,r),this.content=e,this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=e.size=S.drawing.util.measureText(this.content,{font:e.font});this.baseline=r.baseline,this.box=new Ft(t.x1,t.y1,t.x1+r.width,t.y1+r.height)},e.prototype.createVisual=function(){var t=this.options,e=t.font,r=t.color,i=t.opacity,o=t.cursor;this.visual=new ne(this.content,this.box.toRect().topLeft(),{font:e,fill:{color:r,opacity:i},cursor:o})},e}(Yt);Ct(ae,{font:"12px sans-serif",color:n});var se=ae;function ue(t){var e=t.origin,r=t.bottomRight();return new Ft(e.x,e.y,r.x,r.y)}var le=/\n/m,ce=function(t){function e(e,r,i){t.call(this,r),this.content=e,this.data=i,this._initContainer(),!1!==this.options._autoReflow&&this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initContainer=function(){var t=this.options,e=String(this.content).split(le),r=new oe({vertical:!0,align:t.align,wrap:!1}),i=V({},t,{opacity:1,animation:null});this.container=r,this.append(r);for(var o=0;o<e.length;o++){var n=new se(e[o].trim(),i);r.append(n)}},e.prototype.reflow=function(e){var r=this.options,i=r.visual;if(this.container.options.align=r.align,i&&!this._boxReflow){var o=e;o.hasSize()||(this._boxReflow=!0,this.reflow(o),this._boxReflow=!1,o=this.box);var n=this.visual=i(this.visualContext(o));n&&(o=ue(n.clippedBBox()||new S.geometry.Rect),n.options.zIndex=r.zIndex),this.box=this.contentBox=this.paddingBox=o}else if(t.prototype.reflow.call(this,e),r.rotation){var a=I(r.margin),s=this.box.unpad(a);this.targetBox=e,this.normalBox=s.clone(),(s=this.rotate()).translate(a.left-a.right,a.top-a.bottom),this.rotatedBox=s.clone(),s.pad(a)}},e.prototype.createVisual=function(){var t=this.options;if(this.visual=new S.drawing.Group({transform:this.rotationTransform(),zIndex:t.zIndex,noclip:t.noclip}),this.hasBox()){var e=S.drawing.Path.fromRect(this.paddingBox.toRect(),this.visualStyle());this.visual.append(e)}},e.prototype.renderVisual=function(){if(this.options.visible)if(this.options.visual){var e=this.visual;e&&!at(e.options.noclip)&&(e.options.noclip=this.options.noclip),this.addVisual(),this.createAnimation()}else t.prototype.renderVisual.call(this)},e.prototype.visualContext=function(t){var e=this,r={text:this.content,rect:t.toRect(),sender:this.getSender(),options:this.options,createVisual:function(){return e._boxReflow=!0,e.reflow(t),e._boxReflow=!1,e.getDefaultVisual()}};return this.data&&Object.assign(r,this.data),r},e.prototype.getDefaultVisual=function(){this.createVisual(),this.renderChildren();var t=this.visual;return delete this.visual,t},e.prototype.rotate=function(){var t=this.options;return this.box.rotate(t.rotation),this.align(this.targetBox,m,t.align),this.align(this.targetBox,b,t.vAlign),this.box},e.prototype.rotationTransform=function(){var t=this.options.rotation;if(!t)return null;var e=this.normalBox.center(),r=e.x,i=e.y,o=this.rotatedBox.center();return S.geometry.transform().translate(o.x-r,o.y-i).rotate(t,[r,i])},e}(qt),pe=function(t){function e(e){t.call(this,e),this.append(new ce(this.options.text,Object.assign({},this.options,{vAlign:this.options.position})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(e){t.prototype.reflow.call(this,e),this.box.snapTo(e,m)},e.buildTitle=function(t,r,i){var o,n=t;return"string"==typeof t&&(n={text:t}),(n=Object.assign({visible:!0},i,n))&&n.visible&&n.text&&(o=new e(n),r.append(o)),o},e}(Yt);Ct(pe,{color:n,position:v,align:s,margin:I(5),padding:I(5)});var he=pe,fe=function(t){function e(e,r,i,o,n){t.call(this,r,n),this.text=r,this.value=e,this.index=i,this.dataItem=o,this.reflow(new Ft)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.visualContext=function(e){var r=t.prototype.visualContext.call(this,e);return r.value=this.value,r.dataItem=this.dataItem,r.format=this.options.format,r.culture=this.options.culture,r},e.prototype.click=function(t,e){t.trigger("axisLabelClick",{element:pt(e),value:this.value,text:this.text,index:this.index,dataItem:this.dataItem,axis:this.parent.options})},e.prototype.rotate=function(){if(this.options.alignRotation!==s){var e=this.normalBox.toRect(),r=this.rotationTransform();this.box=ue(e.bbox(r.matrix()))}else t.prototype.rotate.call(this);return this.box},e.prototype.rotationTransform=function(){var e=this.options,r=e.rotation;if(!r)return null;if(e.alignRotation===s)return t.prototype.rotationTransform.call(this);var i=S.geometry.transform().rotate(r).matrix(),o=this.normalBox.toRect(),n=this.targetBox.toRect(),u=e.rotationOrigin||v,l=u===v||u===a?m:b,c=u===v||u===a?b:m,h=u===v||u===p?n.origin:n.bottomRight(),f=o.topLeft().transformCopy(i),d=o.topRight().transformCopy(i),g=o.bottomRight().transformCopy(i),y=o.bottomLeft().transformCopy(i),x=S.geometry.Rect.fromPoints(f,d,g,y),_={};_[c]=n.origin[c]-x.origin[c];var C,w,O=Math.abs(f[c]+_[c]-h[c]),P=Math.abs(d[c]+_[c]-h[c]);yt(O,10)===yt(P,10)?(C=f,w=d):P<O?(C=d,w=g):(C=f,w=y);var A=C[l]+(w[l]-C[l])/2;return _[l]=n.center()[l]-A,S.geometry.transform().translate(_.x,_.y).rotate(r)},e}(ce);Ct(fe,{_autoReflow:!1});var de=fe,ve=function(t){function e(e,r,i){t.call(this,r),this.fields=e,this.chartService=i,this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hide=function(){this.options.visible=!1},e.prototype.show=function(){this.options.visible=!0},e.prototype.render=function(){var t=this,e=this.options;if(e.visible){var r,i,o=e.label,n=e.icon,a=new Ft,s=function(){return t},l=n.size,c=this.fields.text;if(at(o)&&o.visible){var p=H(o);p?c=p(this.fields):o.format&&(c=this.chartService.format.auto(o.format,c)),o.color||(o.color="inside"===o.position?"#fff":n.background),this.label=new ce(c,V({},o)),this.label.aliasFor=s,"inside"!==o.position||at(l)||(n.type===u?l=Math.max(this.label.box.width(),this.label.box.height()):(r=this.label.box.width(),i=this.label.box.height()),a.wrap(this.label.box))}n.width=r||l||7,n.height=i||l||7;var h=new Qt(V({},n));h.aliasFor=s,this.marker=h,this.append(h),this.label&&this.append(this.label),h.reflow(new Ft),this.wrapperBox=a.wrap(h.box)}},e.prototype.reflow=function(t){var e,r,i,o=this.options,n=this.label,s=this.marker,u=this.wrapperBox,l=t.center(),c=o.line.length,h=o.position;o.visible&&(q(h,[p,d])?h===p?(i=u.alignTo(t,h).translate(-c,t.center().y-u.center().y),o.line.visible&&(e=[t.x1,l.y],this.linePoints=[e,[i.x2,l.y]],r=i.clone().wrapPoint(e))):(i=u.alignTo(t,h).translate(c,t.center().y-u.center().y),o.line.visible&&(e=[t.x2,l.y],this.linePoints=[e,[i.x1,l.y]],r=i.clone().wrapPoint(e))):h===a?(i=u.alignTo(t,h).translate(t.center().x-u.center().x,c),o.line.visible&&(e=[l.x,t.y2],this.linePoints=[e,[l.x,i.y1]],r=i.clone().wrapPoint(e))):(i=u.alignTo(t,h).translate(t.center().x-u.center().x,-c),o.line.visible&&(e=[l.x,t.y1],this.linePoints=[e,[l.x,i.y2]],r=i.clone().wrapPoint(e))),s&&s.reflow(i),n&&(n.reflow(i),s&&("outside"===o.label.position&&n.box.alignTo(s.box,h),n.reflow(n.box))),this.contentBox=i,this.targetBox=t,this.box=r||i)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.visual.options.noclip=this.options.noclip,this.options.visible&&this.createLine()},e.prototype.renderVisual=function(){var e=this,r=this.options,i=r.visual;r.visible&&i?(this.visual=i(Object.assign(this.fields,{sender:this.getSender(),rect:this.targetBox.toRect(),options:{background:r.background,border:r.background,icon:r.icon,label:r.label,line:r.line,position:r.position,visible:r.visible},createVisual:function(){e.createVisual(),e.renderChildren();var t=e.visual;return delete e.visual,t}})),this.addVisual()):t.prototype.renderVisual.call(this)},e.prototype.createLine=function(){var t=this.options.line;if(this.linePoints){var e=S.drawing.Path.fromPoints(this.linePoints,{stroke:{color:t.color,width:t.width,dashType:t.dashType}});O(e),this.visual.append(e)}},e.prototype.click=function(t,e){var r=this.eventArgs(e);t.trigger("noteClick",r)||e.preventDefault()},e.prototype.over=function(t,e){var r=this.eventArgs(e);t.trigger("noteHover",r)||e.preventDefault()},e.prototype.out=function(t,e){var r=this.eventArgs(e);t.trigger("noteLeave",r)},e.prototype.eventArgs=function(t){var e=this.options;return Object.assign(this.fields,{element:pt(t),text:at(e.label)?e.label.text:"",visual:this.visual})},e}(qt);Ct(ve,{icon:{visible:!0,type:u},label:{position:"inside",visible:!0,align:s,vAlign:s},line:{visible:!0},visible:!0,position:v,zIndex:2});var ge=ve,ye={format:function(t,e){return e},toString:function(t){return t},parseDate:function(t){return new Date(t)},firstDay:function(){return 0}},me=function(){},be={implementation:{configurable:!0}};me.register=function(t){ye=t},be.implementation.get=function(){return ye},Object.defineProperties(me,be);var xe=me,_e=/\{(\d+)(:[^\}]+)?\}/g,Ce=function(t){this._intlService=t},we={intl:{configurable:!0}};we.intl.get=function(){return this._intlService||xe.implementation},we.intl.set=function(t){this._intlService=t},Ce.prototype.auto=function(t){for(var e=[],r=arguments.length-1;r-- >0;)e[r]=arguments[r+1];var i=this.intl;return j(t)&&t.match(c)?i.format.apply(i,[t].concat(e)):i.toString(e[0],t)},Ce.prototype.localeAuto=function(t,e,r){var i=this.intl;return j(t)&&t.match(c)?t.replace(_e,(function(t,o,n){var a=e[parseInt(o,10)];return i.toString(a,n?n.substring(1):"",r)})):i.toString(e[0],t,r)},Object.defineProperties(Ce.prototype,we);var Se=Ce,Oe=function(t,e){void 0===e&&(e={}),this._intlService=e.intlService,this.sender=e.sender||t,this.format=new Se(e.intlService),this.chart=t,this.rtl=Boolean(e.rtl)},Pe={intl:{configurable:!0}};Pe.intl.get=function(){return this._intlService||xe.implementation},Pe.intl.set=function(t){this._intlService=t,this.format.intl=t},Oe.prototype.notify=function(t,e){this.chart&&this.chart.trigger(t,e)},Oe.prototype.isPannable=function(t){var e=((this.chart||{}).options||{}).pannable;return e&&e.lock!==t},Object.defineProperties(Oe.prototype,Pe);var Ae,je=Oe,ke=function(){};ke.register=function(t){Ae=t},ke.create=function(t,e){if(Ae)return Ae.create(t,e)};var Te=ke;function Me(t,e){var r=t.tickX,i=t.tickY,o=t.position,n=new S.drawing.Path({stroke:{width:e.width,color:e.color}});return t.vertical?n.moveTo(r,o).lineTo(r+e.size,o):n.moveTo(o,i).lineTo(o,i+e.size),O(n),n}function Ve(t,e){var r=t.lineStart,i=t.lineEnd,o=t.position,n=new S.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});return t.vertical?n.moveTo(r,o).lineTo(i,o):n.moveTo(o,r).lineTo(o,i),O(n),n}var Ne=function(t){function e(e,r){void 0===r&&(r=new je),t.call(this,e),this.chartService=r,this.options.visible||(this.options=V({},this.options,{labels:{visible:!1},line:{visible:!1},margin:0,majorTickSize:0,minorTickSize:0})),this.options.minorTicks=V({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.minorTickType},this.options.minorTicks,{size:this.options.minorTickSize,align:this.options.minorTickType}),this.options.majorTicks=V({},{color:this.options.line.color,width:this.options.line.width,visible:"none"!==this.options.majorTickType},this.options.majorTicks,{size:this.options.majorTickSize,align:this.options.majorTickType}),this.initFields(),this.options._deferLabels||this.createLabels(),this.createTitle(),this.createNotes()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.labelsCount()}},e.prototype.normalizeLabelRotation=function(t){var e=t.rotation;N(e)&&(t.alignRotation=e.align,t.rotation=e.angle)},e.prototype.createLabels=function(){var t=this.options,e=t.vertical?d:s,r=V({},t.labels,{align:e,zIndex:t.zIndex}),i=Math.max(1,r.step);if(this.clearLabels(),r.visible){this.normalizeLabelRotation(r),"auto"===r.rotation&&(r.rotation=0,t.autoRotateLabels=!0);for(var o=this.labelsRange(),n=o.min;n<o.max;n+=i){var a={index:n,count:o.max},u=this.createAxisLabel(n,r,a);u&&(this.append(u),this.labels.push(u))}}},e.prototype.clearLabels=function(){this.children=G(this.children,(function(t){return!(t instanceof de)})),this.labels=[]},e.prototype.clearTitle=function(){var t=this;this.title&&(this.children=G(this.children,(function(e){return e!==t.title})),this.title=void 0)},e.prototype.clear=function(){this.clearLabels(),this.clearTitle()},e.prototype.lineBox=function(){var t=this.options,e=this.box,r=t.vertical,i=t.labels.mirror,o=i?e.x1:e.x2,n=i?e.y2:e.y1,a=t.line.width||0;return r?new Ft(o,e.y1,o,e.y2-a):new Ft(e.x1,n,e.x2-a,n)},e.prototype.createTitle=function(){var t=this.options,e=V({rotation:t.vertical?-90:0,text:"",zIndex:1,visualSize:!0},t.title);if(e.visible&&e.text){var r=new ce(e.text,e);this.append(r),this.title=r}},e.prototype.createNotes=function(){var t=this.options,e=t.notes,r=e.data||[];this.notes=[];for(var i=0;i<r.length;i++){var o=V({},e,r[i]);o.value=this.parseNoteValue(o.value);var n=new ge({value:o.value,text:o.label.text,dataItem:o},o,this.chartService);n.options.visible&&(at(n.options.position)?t.vertical&&!q(n.options.position,[p,d])?n.options.position=t.reverse?p:d:t.vertical||q(n.options.position,[v,a])||(n.options.position=t.reverse?a:v):t.vertical?n.options.position=t.reverse?p:d:n.options.position=t.reverse?a:v,this.append(n),this.notes.push(n))}},e.prototype.parseNoteValue=function(t){return t},e.prototype.renderVisual=function(){t.prototype.renderVisual.call(this),this.createPlotBands()},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this.createBackground(),this.createLine()},e.prototype.gridLinesVisual=function(){var t=this._gridLines;return t||(t=this._gridLines=new S.drawing.Group({zIndex:-2}),this.appendVisual(this._gridLines)),t},e.prototype.createTicks=function(t){var e=this.options,r=this.lineBox(),i=e.labels.mirror,o=e.majorTicks.visible?e.majorUnit:0,n={vertical:e.vertical};function a(e,o,a){var s=e.length,u=Math.max(1,o.step);if(o.visible)for(var l=o.skip;l<s;l+=u)at(a)&&l%a==0||(n.tickX=i?r.x2:r.x2-o.size,n.tickY=i?r.y1-o.size:r.y1,n.position=e[l],t.append(Me(n,o)))}a(this.getMajorTickPositions(),e.majorTicks),a(this.getMinorTickPositions(),e.minorTicks,o/e.minorUnit)},e.prototype.createLine=function(){var t=this.options,e=t.line,r=this.lineBox();if(e.width>0&&e.visible){var i=new S.drawing.Path({stroke:{width:e.width,color:e.color,dashType:e.dashType}});i.moveTo(r.x1,r.y1).lineTo(r.x2,r.y2),t._alignLines&&O(i);var o=this._lineGroup=new S.drawing.Group;o.append(i),this.visual.append(o),this.createTicks(o)}},e.prototype.getActualTickSize=function(){var t=this.options,e=0;return t.majorTicks.visible&&t.minorTicks.visible?e=Math.max(t.majorTicks.size,t.minorTicks.size):t.majorTicks.visible?e=t.majorTicks.size:t.minorTicks.visible&&(e=t.minorTicks.size),e},e.prototype.createBackground=function(){var t=this.options,e=this.box,r=t.background;r&&(this._backgroundPath=S.drawing.Path.fromRect(e.toRect(),{fill:{color:r},stroke:null}),this.visual.append(this._backgroundPath))},e.prototype.createPlotBands=function(){var t=this,e=this.options,r=e.plotBands||[],i=e.vertical,o=this.plotArea;if(0!==r.length){for(var n=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),a=G(this.pane.axes,(function(e){return e.options.vertical!==t.options.vertical}))[0],s=0;s<r.length;s++){var u=r[s],l=void 0,c=void 0,h=u.label,f=void 0;if(i?(l=(a||o.axisX).lineBox(),c=t.getSlot(u.from,u.to,!0)):(l=t.getSlot(u.from,u.to,!0),c=(a||o.axisY).lineBox()),h&&(h.vAlign=h.position||p,f=t.createPlotBandLabel(h,u,new Ft(l.x1,c.y1,l.x2,c.y2))),0!==l.width()&&0!==c.height()){var d=new S.geometry.Rect([l.x1,c.y1],[l.width(),c.height()]),v=S.drawing.Path.fromRect(d,{fill:{color:u.color,opacity:u.opacity},stroke:null});n.append(v),f&&n.append(f)}}this.appendVisual(n)}},e.prototype.createPlotBandLabel=function(t,e,r){if(!1===t.visible)return null;var i,o=t.text;if(at(t)&&t.visible){var n=H(t);n?o=n({text:o,item:e}):t.format&&(o=this.chartService.format.auto(t.format,o)),t.color||(t.color=this.options.labels.color)}return(i=new ce(o,t)).reflow(r),i.renderVisual(),i.visual},e.prototype.createGridLines=function(t){var e=this.options,r=e.minorGridLines,i=e.majorGridLines,o=e.minorUnit,n=e.vertical,a=t.options.line.visible,s=i.visible?e.majorUnit:0,u=t.lineBox(),l=u[n?"y1":"x1"],c={lineStart:u[n?"x1":"y1"],lineEnd:u[n?"x2":"y2"],vertical:n},p=[],h=this.gridLinesVisual();function f(t,e,r){var i=t.length,o=Math.max(1,e.step);if(e.visible)for(var n=e.skip;n<i;n+=o){var s=yt(t[n]);q(s,p)||n%r==0||a&&l===s||(c.position=s,h.append(Ve(c,e)),p.push(s))}}return f(this.getMajorTickPositions(),i),f(this.getMinorTickPositions(),r,s/o),h.children},e.prototype.reflow=function(t){for(var e=this.options,r=this.labels,i=this.title,o=e.vertical,n=r.length,a=o?"width":"height",s=i?i.box[a]():0,u=this.getActualTickSize()+e.margin+s,l=((this.getRoot()||{}).box||t)[a](),c=0,p=0;p<n;p++){var h=r[p].box[a]();h+u<=l&&(c=Math.max(c,h))}this.box=o?new Ft(t.x1,t.y1,t.x1+c+u,t.y2):new Ft(t.x1,t.y1,t.x2,t.y1+c+u),this.arrangeTitle(),this.arrangeLabels(),this.arrangeNotes()},e.prototype.getLabelsTickPositions=function(){return this.getMajorTickPositions()},e.prototype.labelTickIndex=function(t){return t.index},e.prototype.arrangeLabels=function(){for(var t=this.options,e=this.labels,r=this.labelsBetweenTicks(),i=t.vertical,o=t.labels.mirror,n=this.getLabelsTickPositions(),a=0;a<e.length;a++){var s=e[a],u=this.labelTickIndex(s),l=i?s.box.height():s.box.width(),c=n[u],p=n[u+1],h=void 0,f=void 0;if(i){if(r)h=c+(p-c)/2-l/2;else h=c-l/2;f=h}else r?(h=c,f=p):f=(h=c-l/2)+l;this.positionLabel(s,o,h,f)}},e.prototype.positionLabel=function(t,e,r,i){void 0===i&&(i=r);var o,n=this.options,s=n.vertical,u=this.lineBox(),l=this.getActualTickSize()+n.margin;if(s){var c=u.x2;e?(c+=l,t.options.rotationOrigin=p):(c-=l+t.box.width(),t.options.rotationOrigin=d),o=t.box.move(c,r)}else{var h=u.y1;e?(h-=l+t.box.height(),t.options.rotationOrigin=a):(h+=l,t.options.rotationOrigin=v),o=new Ft(r,h,i,h+t.box.height())}t.reflow(o)},e.prototype.autoRotateLabelAngle=function(t,e){return t.width()<e?0:t.height()>e?-90:-45},e.prototype.autoRotateLabels=function(){if(!this.options.autoRotateLabels||this.options.vertical)return!1;for(var t=this.getMajorTickPositions(),e=this.labels,r=Math.min(e.length,t.length-1),i=0,o=0;o<r;o++){var n=Math.abs(t[o+1]-t[o]),a=e[o].box,s=this.autoRotateLabelAngle(a,n);if(0!==s&&(i=s),-90===i)break}if(0!==i){for(var u=0;u<e.length;u++)e[u].options.rotation=i,e[u].reflow(new Ft);return!0}},e.prototype.arrangeTitle=function(){var t=this.options,e=this.title,r=t.labels.mirror,i=t.vertical;e&&(i?(e.options.align=r?d:p,e.options.vAlign=e.options.position):(e.options.align=e.options.position,e.options.vAlign=r?v:a),e.reflow(this.box))},e.prototype.arrangeNotes=function(){for(var t=0;t<this.notes.length;t++){var e=this.notes[t],r=e.options.value,i=void 0;at(r)?(this.shouldRenderNote(r)?e.show():e.hide(),i=this.noteSlot(r)):e.hide(),e.reflow(i||this.lineBox())}},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.alignTo=function(t){var e=t.lineBox(),r=this.options.vertical,i=r?b:m;this.box.snapTo(e,i),r?this.box.shrink(0,this.lineBox().height()-e.height()):this.box.shrink(this.lineBox().width()-e.width(),0),this.box[i+1]-=this.lineBox()[i+1]-e[i+1],this.box[i+2]-=this.lineBox()[i+2]-e[i+2]},e.prototype.axisLabelText=function(t,e,r){var i,o=this,n=H(e),a=function(){return e.format?o.chartService.format.localeAuto(e.format,[t],e.culture):t};n?i=n(Object.assign({},r,{get text(){return a()},value:t,format:e.format,culture:e.culture})):i=a();return i},e.prototype.slot=function(t,e,r){var i=this.getSlot(t,e,r);if(i)return i.toRect()},e.prototype.contentBox=function(){var t=this.box.clone(),e=this.labels;if(e.length){var r=this.options.vertical?b:m;if(this.chartService.isPannable(r)){var i=this.maxLabelOffset();t[r+1]-=i.start,t[r+2]+=i.end}else{e[0].options.visible&&t.wrap(e[0].box);var o=e[e.length-1];o.options.visible&&t.wrap(o.box)}}return t},e.prototype.maxLabelOffset=function(){for(var t=this.options,e=t.vertical,r=t.reverse,i=this.labelsBetweenTicks(),o=this.getLabelsTickPositions(),n=e?b:m,a=this.labels,s=r?1:0,u=r?0:1,l=0,c=0,p=0;p<a.length;p++){var h=a[p],f=this.labelTickIndex(h),d=void 0,v=void 0;i?(d=o[f+s],v=o[f+u]):d=v=o[f],l=Math.max(l,d-h.box[n+1]),c=Math.max(c,h.box[n+2]-v)}return{start:l,end:c}},e.prototype.limitRange=function(t,e,r,i,o){var n=this.options;if(t<r&&o<0&&(!at(n.min)||n.min<=r)||i<e&&o>0&&(!at(n.max)||i<=n.max))return null;if(e<r&&o>0||i<t&&o<0)return{min:t,max:e};var a=e-t,s=t,u=e;return t<r&&o<0?(s=dt(t,r,i),u=dt(t+a,r+a,i)):e>i&&o>0&&(u=dt(e,r,i),s=dt(e-a,r,i-a)),{min:s,max:u}},e.prototype.valueRange=function(){return{min:this.seriesMin,max:this.seriesMax}},e.prototype.lineDir=function(){var t=this.options;return(t.vertical?-1:1)*(t.reverse?-1:1)},e.prototype.lineInfo=function(){var t=this.options.vertical,e=this.lineBox(),r=t?e.height():e.width(),i=t?b:m,o=this.lineDir(),n=i+(1===o?1:2).toString();return{axis:i,axisOrigin:n,axisDir:o,lineBox:e,lineSize:r,lineStart:e[n]}},e.prototype.pointOffset=function(t){var e=this.lineInfo(),r=e.axis,i=e.axisDir,o=e.axisOrigin,n=e.lineBox,a=e.lineSize;return(i>0?t[r]-n[o]:n[o]-t[r])/a},e.prototype.scaleToDelta=function(t,e){var r=dt(t,-.999,.999);return r>0?e*Math.min(1,r):e-e/(1+r)},e.prototype.labelsBetweenTicks=function(){return!this.options.justified},e.prototype.prepareUserOptions=function(){},e}(Yt);Ct(Ne,{labels:{visible:!0,rotation:0,mirror:!1,step:1,skip:0},line:{width:1,color:n,visible:!0},title:{visible:!0,position:s},majorTicks:{align:"outside",size:4,skip:0,step:1},minorTicks:{align:"outside",size:3,skip:0,step:1},axisCrossingValue:0,majorTickType:"outside",minorTickType:"none",majorGridLines:{skip:0,step:1},minorGridLines:{visible:!1,width:1,color:n,skip:0,step:1},margin:5,visible:!0,reverse:!1,justified:!0,notes:{label:{text:""}},_alignLines:!0,_deferLabels:!1});var Ee=Ne,Le="days",De="years",Be={years:31536e6,months:26784e5,weeks:6048e5,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1};function Ie(t,e){return t.getTime()-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset())}function Re(t,e){return new Date(t.getTime()+e)}function ze(t){var e;return t instanceof Date?e=t:t&&(e=new Date(t)),e}function Fe(t,e){return 0===e&&23===t.getHours()&&(t.setHours(t.getHours()+2),!0)}function He(t,e,r,i){var o=t;if(t){var n=ze(t),a=n.getHours();r===De?Fe(o=new Date(n.getFullYear()+e,0,1),0):"months"===r?Fe(o=new Date(n.getFullYear(),n.getMonth()+e,1),a):"weeks"===r?Fe(o=He(function(t,e){void 0===e&&(e=0);var r=0,i=t.getDay();if(!isNaN(i))for(;i!==e;)0===i?i=6:i--,r++;return Re(t,864e5*-r)}(n,i),7*e,Le),a):r===Le?Fe(o=new Date(n.getFullYear(),n.getMonth(),n.getDate()+e),a):"hours"===r?o=function(t,e){var r=new Date(t);r.setMinutes(0,0,0);var i=6e4*(t.getTimezoneOffset()-r.getTimezoneOffset());return Re(r,i+36e5*e)}(n,e):"minutes"===r?(o=Re(n,6e4*e)).getSeconds()>0&&o.setSeconds(0):"seconds"===r?o=Re(n,1e3*e):"milliseconds"===r&&(o=Re(n,e)),"milliseconds"!==r&&o.getMilliseconds()>0&&o.setMilliseconds(0)}return o}function Ue(t,e,r){return He(ze(t),0,e,r)}function Ke(t,e,r){var i=ze(t);return i&&Ue(i,e,r).getTime()===i.getTime()?i:He(i,1,e,r)}function $e(t,e){return t&&e?t.getTime()-e.getTime():-1}function Ge(t,e){return t.getTime()-e}function Xe(t){if(x(t)){for(var e=[],r=0;r<t.length;r++)e.push(Xe(t[r]));return e}if(t)return ze(t).getTime()}function Ye(t,e){return t&&e?Xe(t)===Xe(e):t===e}function We(t,e,r){return Ie(t,e)/Be[r]}function qe(t,e,r,i){var o=ze(t),n=ze(e);return("months"===r?o.getMonth()-n.getMonth()+12*(o.getFullYear()-n.getFullYear())+We(o,new Date(o.getFullYear(),o.getMonth()),Le)/new Date(o.getFullYear(),o.getMonth()+1,0).getDate():r===De?o.getFullYear()-n.getFullYear()+qe(o,new Date(o.getFullYear(),0),"months",1)/12:r===Le||"weeks"===r?We(o,n,r):Ge(o,e)/Be[r])/i}function Ze(t,e,r){return r===De?e.getFullYear()-t.getFullYear():"months"===r?12*Ze(t,e,De)+e.getMonth()-t.getMonth():r===Le?Math.floor(Ge(e,t)/864e5):Math.floor(Ge(e,t)/Be[r])}function Qe(t,e){return j(e)&&t.parseDate(e)||ze(e)}function Je(t,e){if(x(e)){for(var r=[],i=0;i<e.length;i++)r.push(Qe(t,e[i]));return r}return Qe(t,e)}function tr(t,e){return A(t.weekStartDay)?t.weekStartDay:e&&e.firstDay?e.firstDay():0}var er=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this._ticks={}},e.prototype.categoriesHash=function(){return""},e.prototype.clone=function(){var t=new e(Object.assign({},this.options,{categories:this.options.srcCategories}),this.chartService);return t.createLabels(),t},e.prototype.initUserOptions=function(t){var e=t.categories||[],r=at(t.min),i=at(t.max);if(t.srcCategories=t.categories=e,(r||i)&&e.length){var o,n=r?Math.floor(t.min):0;o=i?t.justified?Math.floor(t.max)+1:Math.ceil(t.max):e.length,t.categories=t.categories.slice(n,o)}return t},e.prototype.rangeIndices=function(){var t=this.options,e=t.categories.length||1;return{min:A(t.min)?t.min%1:0,max:A(t.max)&&t.max%1!=0&&t.max<this.totalRange().max?e-(1-t.max%1):e-(t.justified?1:0)}},e.prototype.totalRangeIndices=function(t){var e,r=this.options,i=A(r.min)?r.min:0;if(e=A(r.max)?r.max:A(r.min)?i+r.categories.length:this.totalRange().max||1,t){var o=this.totalRange();i=dt(i,0,o.max),e=dt(e,0,o.max)}return{min:i,max:e}},e.prototype.range=function(){var t=this.options;return{min:A(t.min)?t.min:0,max:A(t.max)?t.max:this.totalRange().max}},e.prototype.roundedRange=function(){return this.range()},e.prototype.totalRange=function(){var t=this.options;return{min:0,max:Math.max(this._seriesMax||0,t.srcCategories.length)-(t.justified?1:0)}},e.prototype.scaleOptions=function(){var t=this.rangeIndices(),e=t.min,r=t.max,i=this.lineBox();return{scale:(this.options.vertical?i.height():i.width())/(r-e||1)*(this.options.reverse?-1:1),box:i,min:e,max:r}},e.prototype.arrangeLabels=function(){t.prototype.arrangeLabels.call(this),this.hideOutOfRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){var t=this.box,e=this.labels;if(e.length>0){var r=this.options.vertical?b:m,i=t[r+1],o=t[r+2],n=e[0],a=ft(e);(n.box[r+1]>o||n.box[r+2]<i)&&(n.options.visible=!1),(a.box[r+1]>o||a.box[r+2]<i)&&(a.options.visible=!1)}},e.prototype.getMajorTickPositions=function(){return this.getTicks().majorTicks},e.prototype.getMinorTickPositions=function(){return this.getTicks().minorTicks},e.prototype.getLabelsTickPositions=function(){return this.getTicks().labelTicks},e.prototype.tickIndices=function(t){for(var e=this.rangeIndices(),r=e.min,i=e.max,o=Math.ceil(i),n=Math.floor(r),a=[];n<=o;)a.push(n),n+=t;return a},e.prototype.getTickPositions=function(t){for(var e=this.options,r=e.vertical,i=e.reverse,o=this.scaleOptions(),n=o.scale,a=o.box,s=o.min,u=a[(r?b:m)+(i?2:1)],l=this.tickIndices(t),c=[],p=0;p<l.length;p++)c.push(u+yt(n*(l[p]-s),3));return c},e.prototype.getTicks=function(){var t=this.options,e=this._ticks,r=this.rangeIndices(),i=this.lineBox(),o=i.getHash()+r.min+","+r.max+t.reverse+t.justified;if(e._hash!==o){var n=t.minorTicks.visible||t.minorGridLines.visible;e._hash=o,e.labelTicks=this.getTickPositions(1),e.majorTicks=this.filterOutOfRangePositions(e.labelTicks,i),e.minorTicks=n?this.filterOutOfRangePositions(this.getTickPositions(.5),i):[]}return e},e.prototype.filterOutOfRangePositions=function(t,e){if(!t.length)return t;for(var r=this.options.vertical?b:m,i=function(t){return e[r+1]<=t&&t<=e[r+2]},o=t.length-1,n=0;!i(t[n])&&n<=o;)n++;for(var a=o;!i(t[a])&&a>=0;)a--;return t.slice(n,a+1)},e.prototype.lineInfo=function(){var t=this.options,e=t.vertical,r=t.reverse,i=this.lineBox(),o=e?i.height():i.width(),n=e?b:m,a=r?-1:1,s=n+(1===a?1:2).toString();return{axis:n,axisOrigin:s,axisDir:a,lineBox:i,lineSize:o,lineStart:i[s]}},e.prototype.lineDir=function(){return this.options.reverse?-1:1},e.prototype.getSlot=function(t,e,r){var i=this.options,o=i.reverse,n=i.justified,a=this.scaleOptions(),s=a.scale,u=a.box,l=a.min,c=this.lineInfo(),p=c.axis,h=c.lineStart,f=u.clone(),d=!at(e),v=bt(t,0),g=bt(e,v);g=Math.max(g-1,v);var y=h+(v-l)*s,m=h+((g=Math.max(v,g))+1-l)*s;return d&&n&&(m=y),r&&(y=dt(y,u[p+1],u[p+2]),m=dt(m,u[p+1],u[p+2])),f[p+1]=o?m:y,f[p+2]=o?y:m,f},e.prototype.limitSlot=function(t){var e=this.options.vertical?b:m,r=this.lineBox(),i=t.clone();return i[e+1]=dt(t[e+1],r[e+1],r[e+2]),i[e+2]=dt(t[e+2],r[e+1],r[e+2]),i},e.prototype.slot=function(e,r,i){var o=Math.floor(this.options.min||0),n=e,a=r;return"string"==typeof n?n=this.categoryIndex(n):A(n)&&(n-=o),"string"==typeof a?a=this.categoryIndex(a):A(a)&&(a-=o),t.prototype.slot.call(this,n,a,i)},e.prototype.pointCategoryIndex=function(t){var e=this.options,r=e.reverse,i=e.justified,o=e.vertical?b:m,n=this.scaleOptions(),a=n.scale,s=n.box,u=n.min,l=n.max,c=r?l:u,p=s[o+1],h=s[o+2],f=t[o];if(f<p||f>h)return null;var d=c+(f-p)/a,v=d%1;return i?d=Math.round(d):0===v&&d>0&&d--,Math.floor(d)},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.options.categories[e]},e.prototype.categoryIndex=function(t){return this.totalIndex(t)-Math.floor(this.options.min||0)},e.prototype.categoryAt=function(t,e){var r=this.options;return(e?r.srcCategories:r.categories)[t]},e.prototype.categoriesCount=function(){return(this.options.categories||[]).length},e.prototype.translateRange=function(t){var e=this.options,r=this.lineBox(),i=e.vertical?r.height():r.width(),o=e.categories.length,n=yt(t/(i/o),10);return{min:n,max:o+n}},e.prototype.scaleRange=function(t,e){var r=Math.abs(this.pointOffset(e)),i=this.totalRangeIndices(),o=i.max-i.min,n=this.scaleToDelta(t,o),a=r*n,s=(1-r)*n,u=i.min+a,l=i.max-s;return l-u<.1&&(l=u+.1),{min:u,max:l}},e.prototype.zoomRange=function(t,e){var r=this.totalRange(),i=r.min,o=r.max,n=this.scaleRange(t,e);return{min:dt(n.min,i,o),max:dt(n.max,i,o)}},e.prototype.labelsCount=function(){var t=this.labelsRange();return t.max-t.min},e.prototype.labelsRange=function(){var t=this.options,e=t.justified,r=t.labels,i=this.totalRangeIndices(!0),o=i.min,n=i.max,a=Math.floor(o);return e?(o=Math.ceil(o),n=Math.floor(n)):(o=Math.floor(o),n=Math.ceil(n)),{min:(o>r.skip?r.skip+r.step*Math.ceil((o-r.skip)/r.step):r.skip)-a,max:(t.categories.length?n+(e?1:0):0)-a}},e.prototype.createAxisLabel=function(t,e,r){var i=this.options,o=i.dataItems?i.dataItems[t]:null,n=bt(i.categories[t],"");r.dataItem=o;var a=this.axisLabelText(n,e,r);return new de(n,a,t,o,e)},e.prototype.shouldRenderNote=function(t){var e=this.totalRangeIndices();return Math.floor(e.min)<=t&&t<=Math.ceil(e.max)},e.prototype.noteSlot=function(t){var e=this.options,r=t-Math.floor(e.min||0);return this.getSlot(r)},e.prototype.arrangeNotes=function(){t.prototype.arrangeNotes.call(this),this.hideOutOfRangeNotes()},e.prototype.hideOutOfRangeNotes=function(){var t=this.notes,e=this.box;if(t&&t.length)for(var r=this.options.vertical?b:m,i=e[r+1],o=e[r+2],n=0;n<t.length;n++){var a=t[n];a.box&&(o<a.box[r+1]||a.box[r+2]<i)&&a.hide()}},e.prototype.pan=function(t){var e=this.totalRangeIndices(!0),r=this.scaleOptions().scale,i=yt(t/r,10),o=this.totalRange(),n=e.min+i,a=e.max+i;return this.limitRange(n,a,0,o.max,i)},e.prototype.pointsRange=function(t,e){var r=this.options,i=r.reverse,o=r.vertical?b:m,n=this.totalRangeIndices(!0),a=this.scaleOptions(),s=a.scale,u=a.box[o+(i?2:1)],l=t[o]-u,c=e[o]-u,p=n.min+l/s,h=n.min+c/s,f=Math.min(p,h),d=Math.max(p,h);if(d-f>=.01)return{min:f,max:d}},e.prototype.valueRange=function(){return this.range()},e.prototype.totalIndex=function(t){var e=this.options;return this._categoriesMap?this._categoriesMap.get(t):function(t,e){if(t instanceof Date){for(var r=e.length,i=0;i<r;i++)if(Ye(e[i],t))return i;return-1}return e.indexOf(t)}(t,e.srcCategories)},e.prototype.currentRangeIndices=function(){var t=this.options,e=0;return A(t.min)&&(e=Math.floor(t.min)),{min:e,max:A(t.max)?t.justified?Math.floor(t.max):Math.ceil(t.max)-1:this.totalCount()-1}},e.prototype.mapCategories=function(){if(!this._categoriesMap)for(var t=this._categoriesMap=new W,e=this.options.srcCategories,r=0;r<e.length;r++)t.set(e[r],r)},e.prototype.totalCount=function(){return Math.max(this.options.srcCategories.length,this._seriesMax||0)},e}(Ee);Ct(er,{type:"category",vertical:!1,majorGridLines:{visible:!1,width:1,color:n},labels:{zIndex:1},justified:!1,_deferLabels:!0});var rr=er,ir={milliseconds:"HH:mm:ss.fff",seconds:"HH:mm:ss",minutes:"HH:mm",hours:"HH:mm",days:"M/d",weeks:"M/d",months:"MMM 'yy",years:"yyyy"},or=["milliseconds","seconds","minutes","hours",Le,"weeks","months",De];function nr(t){var e=t._range;return e||((e=t._range=wt(t)).min=ze(e.min),e.max=ze(e.max)),e}var ar=function(t){this.options=t};ar.prototype.displayIndices=function(){return{min:0,max:1}},ar.prototype.displayRange=function(){return{}},ar.prototype.total=function(){return{}},ar.prototype.valueRange=function(){return{}},ar.prototype.valueIndex=function(){return-1},ar.prototype.values=function(){return[]},ar.prototype.totalIndex=function(){return-1},ar.prototype.valuesCount=function(){return 0},ar.prototype.totalCount=function(){return 0},ar.prototype.dateAt=function(){return null};var sr=function(t,e,r){this.options=r,r.baseUnitStep=r.baseUnitStep||1;var i=r.roundToBaseUnit,o=r.justified;this.start=He(t,0,r.baseUnit,r.weekStartDay);var n=this.roundToTotalStep(e),a=!o&&Ye(e,n)&&!r.justifyEnd;this.end=this.roundToTotalStep(e,!o,a?1:0);var s=r.min||t;this.valueStart=this.roundToTotalStep(s),this.displayStart=i?this.valueStart:s;var u=r.max;if(u){var l=!o&&Ye(u,this.roundToTotalStep(u))?-1:0;this.valueEnd=this.roundToTotalStep(u,!1,l),this.displayEnd=i?this.roundToTotalStep(u,!o):r.max}else this.valueEnd=n,this.displayEnd=i||a?this.end:e;this.valueEnd<this.valueStart&&(this.valueEnd=this.valueStart),this.displayEnd<=this.displayStart&&(this.displayEnd=this.roundToTotalStep(this.displayStart,!1,1))};function ur(t,e,r){for(var i,o,n,a=nr(t.categories),s=(t.max||a.max)-(t.min||a.min),u=t.autoBaseUnitSteps,l=t.maxDateGroups,c="fit"===t.baseUnit,p=e?or.indexOf(e):0,h=c?or[p++]:t.baseUnit,f=s/Be[h],d=f;!o||f>=l;){i=i||u[h].slice(0);do{n=i.shift()}while(n&&e===h&&n<r);if(n)f=d/(o=n);else{if(h===ft(or)){o=Math.ceil(d/l);break}if(!c){f>l&&(o=Math.ceil(d/l));break}h=or[p++]||ft(or),d=s/Be[h],i=null}}t.baseUnitStep=o,t.baseUnit=h}function lr(t){var e=(t.baseUnit||"").toLowerCase();return"fit"!==e&&!q(e,or)&&function(t){for(var e,r,i=t.categories,o=at(i)?i.length:0,n=h,a=0;a<o;a++){var s=i[a];if(s&&e){var u=Ie(s,e);u>0&&(r=(n=Math.min(n,u))>=31536e6?De:n>=24192e5?"months":n>=6048e5?"weeks":n>=864e5?Le:n>=36e5?"hours":n>=6e4?"minutes":"seconds")}e=s}t.baseUnit=r||Le}(t),"fit"!==e&&"auto"!==t.baseUnitStep||ur(t),t}sr.prototype.displayRange=function(){return{min:this.displayStart,max:this.displayEnd}},sr.prototype.displayIndices=function(){if(!this._indices){var t=this.options,e=t.baseUnit,r=t.baseUnitStep,i=qe(this.displayStart,this.valueStart,e,r),o=qe(this.displayEnd,this.valueStart,e,r);this._indices={min:i,max:o}}return this._indices},sr.prototype.total=function(){return{min:this.start,max:this.end}},sr.prototype.totalCount=function(){return this.totalIndex(this.end)+(this.options.justified?1:0)},sr.prototype.valueRange=function(){return{min:this.valueStart,max:this.valueEnd}},sr.prototype.valueIndex=function(t){var e=this.options;return Math.floor(qe(t,this.valueStart,e.baseUnit,e.baseUnitStep))},sr.prototype.totalIndex=function(t){var e=this.options;return Math.floor(qe(t,this.start,e.baseUnit,e.baseUnitStep))},sr.prototype.dateIndex=function(t){var e=this.options;return qe(t,this.valueStart,e.baseUnit,e.baseUnitStep)},sr.prototype.valuesCount=function(){return this.valueIndex(this.valueEnd)+1},sr.prototype.values=function(){var t=this._values;if(!t){var e=this.options,r=this.valueRange();this._values=t=[];for(var i=r.min;i<=r.max;)t.push(i),i=He(i,e.baseUnitStep,e.baseUnit,e.weekStartDay)}return t},sr.prototype.dateAt=function(t,e){var r=this.options;return He(e?this.start:this.valueStart,r.baseUnitStep*t,r.baseUnit,r.weekStartDay)},sr.prototype.roundToTotalStep=function(t,e,r){var i=this.options,o=i.baseUnit,n=i.baseUnitStep,a=i.weekStartDay,s=this.start,u=qe(t,s,o,n),l=e?Math.ceil(u):Math.floor(u);return r&&(l+=r),He(s,l*n,o,a)};var cr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){var t=new e(Object.assign({},this.options),this.chartService);return t.createLabels(),t},e.prototype.categoriesHash=function(){var t=this.dataRange.total().min;return this.options.baseUnit+this.options.baseUnitStep+t},e.prototype.initUserOptions=function(t){return t},e.prototype.initFields=function(){t.prototype.initFields.call(this);var e=this.chartService,r=e.intl,i=this.options,o=i.categories||[];if(o._parsed||((o=Je(r,o))._parsed=!0),i=V({roundToBaseUnit:!0},i,{categories:o,min:Qe(r,i.min),max:Qe(r,i.max),weekStartDay:tr(i,r)}),e.panning&&e.isPannable(i.vertical?b:m)&&(i.roundToBaseUnit=!1),i.userSetBaseUnit=i.userSetBaseUnit||i.baseUnit,i.userSetBaseUnitStep=i.userSetBaseUnitStep||i.baseUnitStep,this.options=i,i.srcCategories=o,o.length>0){var n=nr(o),a=i.maxDivisions;if(this.dataRange=new sr(n.min,n.max,lr(i)),a){var s=this.dataRange.displayRange(),u=Object.assign({},i,{justified:!0,roundToBaseUnit:!1,baseUnit:"fit",min:s.min,max:s.max,maxDateGroups:a}),l=this.dataRange.options;ur(u,l.baseUnit,l.baseUnitStep),this.divisionRange=new sr(n.min,n.max,u)}else this.divisionRange=this.dataRange}else i.baseUnit=i.baseUnit||Le,this.dataRange=this.divisionRange=new ar(i);this.rangeLabels=[]},e.prototype.tickIndices=function(e){var r=this.dataRange,i=this.divisionRange,o=i.valuesCount();if(!this.options.maxDivisions||!o)return t.prototype.tickIndices.call(this,e);var n=[],a=i.values(),s=0;this.options.justified||(a=a.concat(i.dateAt(o)),s=.5);for(var u=0;u<a.length;u++)if(n.push(r.dateIndex(a[u])+s),1!==e&&u>=1){var l=n.length-1;n.splice(u,0,n[l-1]+(n[l]-n[l-1])*e)}return n},e.prototype.shouldRenderNote=function(t){var e=this.range(),r=this.options.categories||[];return $e(t,e.min)>=0&&$e(t,e.max)<=0&&r.length},e.prototype.parseNoteValue=function(t){return Qe(this.chartService.intl,t)},e.prototype.noteSlot=function(t){return this.getSlot(t)},e.prototype.translateRange=function(t){var e=this.options,r=e.baseUnit,i=e.weekStartDay,o=e.vertical,n=this.lineBox(),a=o?n.height():n.width(),s=this.range(),u=a/(s.max-s.min),l=yt(t/u,10);if(s.min&&s.max){var c=Re(e.min||s.min,l),p=Re(e.max||s.max,l);s={min:He(c,0,r,i),max:He(p,0,r,i)}}return s},e.prototype.labelsRange=function(){return{min:this.options.labels.skip,max:this.divisionRange.valuesCount()}},e.prototype.pan=function(t){if(this.isEmpty())return null;var e=this.options,r=this.lineBox(),i=e.vertical?r.height():r.width(),o=this.dataRange.displayRange(),n=o.min,a=o.max,s=this.dataRange.total(),u=yt(t/(i/(a-n)),10)*(e.reverse?-1:1),l=Re(n,u),c=Re(a,u),p=this.limitRange(Xe(l),Xe(c),Xe(s.min),Xe(s.max),u);return p?(p.min=ze(p.min),p.max=ze(p.max),p.baseUnit=e.baseUnit,p.baseUnitStep=e.baseUnitStep||1,p.userSetBaseUnit=e.userSetBaseUnit,p.userSetBaseUnitStep=e.userSetBaseUnitStep,p):void 0},e.prototype.pointsRange=function(e,r){if(this.isEmpty())return null;var i=t.prototype.pointsRange.call(this,e,r),o=this.dataRange.displayRange(),n=this.dataRange.displayIndices(),a=Ge(o.max,o.min)/(n.max-n.min),s=this.options;return{min:Re(o.min,i.min*a),max:Re(o.min,i.max*a),baseUnit:s.userSetBaseUnit||s.baseUnit,baseUnitStep:s.userSetBaseUnitStep||s.baseUnitStep}},e.prototype.scaleRange=function(t,e){if(this.isEmpty())return{};var r=this.options,i="fit"===r.userSetBaseUnit,o=this.dataRange.total(),n=this.dataRange.displayRange(),a=n.min,s=n.max,u=Math.abs(this.pointOffset(e)),l=s-a,c=this.scaleToDelta(t,l),p=Math.round(u*c),h=Math.round((1-u)*c),f=this.dataRange.options.baseUnit,d=new Date(a.getTime()+p),v=new Date(s.getTime()-h);if(i){var g,y,m=r.autoBaseUnitSteps,b=r.maxDateGroups,x=ft(m[f])*b*Be[f],_=Ge(s,a),C=Ge(v,d),w=or.indexOf(f);if(C<Be[f]&&"milliseconds"!==f)f=or[w-1],d=Re(a,y=(_-(b-1)*(g=ft(m[f]))*Be[f])/2),v=Re(s,-y);else if(C>x&&f!==De){var S=0;do{w++,f=or[w],S=0,y=2*Be[f];do{g=m[f][S],S++}while(S<m[f].length&&y*g<_)}while(f!==De&&y*g<_);(y=(y*g-_)/2)>0&&(d=Re(a,-y),v=Re(s,y),d=Re(d,dt(v,o.min,o.max)-v),v=Re(v,dt(d,o.min,o.max)-d))}}return d&&v&&Ge(v,d)>0?{min:d,max:v,baseUnit:r.userSetBaseUnit||r.baseUnit,baseUnitStep:r.userSetBaseUnitStep||r.baseUnitStep}:void 0},e.prototype.zoomRange=function(t,e){var r=this.dataRange.total(),i=this.scaleRange(t,e);return i&&(i.min<r.min&&(i.min=r.min),i.max>r.max&&(i.max=r.max)),i},e.prototype.range=function(){return this.dataRange.displayRange()},e.prototype.createLabels=function(){t.prototype.createLabels.call(this),this.createRangeLabels()},e.prototype.clearLabels=function(){t.prototype.clearLabels.call(this),this.rangeLabels=[]},e.prototype.arrangeLabels=function(){this.arrangeRangeLabels(),t.prototype.arrangeLabels.call(this)},e.prototype.arrangeRangeLabels=function(){var t=this.options,e=this.rangeLabels;if(0!==e.length){var r=this.lineBox(),i=t.vertical,o=t.rangeLabels.mirror||t.labels.mirror,n=e[0];if(n){var a=i?r.y1-n.box.height()/2:r.x1;this.positionLabel(n,o,a)}var s=e[1];if(s){var u=i?r.y2-s.box.height()/2:r.x2;this.positionLabel(s,o,u)}}},e.prototype.autoRotateLabels=function(){t.prototype.autoRotateLabels.call(this),this.autoRotateRangeLabels()},e.prototype.hideOutOfRangeLabels=function(){t.prototype.hideOutOfRangeLabels.call(this),this.hideOverlappingLabels()},e.prototype.hideOverlappingLabels=function(){var t=this.rangeLabels,e=this.labels;if(0!==t.length){var r=t[0];if(r&&r.options.visible)for(var i=0;i<e.length;i++){if(!a(r,e[i]))break}var o=t[1];if(o&&o.options.visible)for(var n=e.length-1;n>0;--n){if(!a(o,e[n]))break}}function a(t,e){return!(e.options.visible&&!e.box.overlaps(t.box))&&(e.options.visible=!1,!0)}},e.prototype.contentBox=function(){for(var e=t.prototype.contentBox.call(this),r=this.rangeLabels,i=0;i<r.length;i++){var o=r[i];o.options.visible&&e.wrap(o.box)}return e},e.prototype.createAxisLabel=function(t,e,r){void 0===r&&(r={});var i=this.options,o=i.dataItems&&!i.maxDivisions?i.dataItems[t]:null,n=this.divisionRange.dateAt(t),a=e.dateFormats[this.divisionRange.options.baseUnit];e.format=e.format||a,r.dataItem=o;var s=this.axisLabelText(n,e,r);if(s)return new de(n,s,t,o,e)},e.prototype.createRangeLabels=function(){var t=this,e=this.divisionRange,r=e.displayStart,i=e.displayEnd,o=this.options,n=Object.assign({},o.labels,o.rangeLabels,{align:s,zIndex:o.zIndex});if(!0===n.visible){this.normalizeLabelRotation(n),n.alignRotation=s,"auto"===n.rotation&&(n.rotation=0,o.autoRotateRangeLabels=!0);var a=n.dateFormats[this.divisionRange.options.baseUnit];n.format=n.format||a;var u=function(e,r,i){if(i){var o=new de(r,i,e,null,n);t.append(o),t.rangeLabels.push(o)}};u(0,r,this.axisLabelText(r,n,{index:0,count:2})),u(1,i,this.axisLabelText(i,n,{index:1,count:2}))}},e.prototype.autoRotateRangeLabels=function(){var t=this,e=this.rangeLabels;if(this.options.autoRotateRangeLabels&&!this.options.vertical&&2===e.length){var r=function(e,r,i){var o=2*Math.abs(r[i+1]-r[i]),n=t.autoRotateLabelAngle(e.box,o);0!==n&&(e.options.rotation=n,e.reflow(new Ft))},i=this.getMajorTickPositions();r(e[0],i,0),r(e[1],i,i.length-2)}},e.prototype.categoryIndex=function(t){return this.dataRange.valueIndex(t)},e.prototype.slot=function(t,e,r){var i=this.dataRange,o=t,n=e;o instanceof Date&&(o=i.dateIndex(o)),n instanceof Date&&(n=i.dateIndex(n));var a=this.getSlot(o,n,r);if(a)return a.toRect()},e.prototype.getSlot=function(e,r,i){var o=e,n=r;return"object"==typeof o&&(o=this.categoryIndex(o)),"object"==typeof n&&(n=this.categoryIndex(n)),t.prototype.getSlot.call(this,o,n,i)},e.prototype.valueRange=function(){var t=nr(this.options.srcCategories);return{min:ze(t.min),max:ze(t.max)}},e.prototype.categoryAt=function(t,e){return this.dataRange.dateAt(t,e)},e.prototype.categoriesCount=function(){return this.dataRange.valuesCount()},e.prototype.rangeIndices=function(){return this.dataRange.displayIndices()},e.prototype.labelsBetweenTicks=function(){return!this.divisionRange.options.justified},e.prototype.prepareUserOptions=function(){this.isEmpty()||(this.options.categories=this.dataRange.values())},e.prototype.getCategory=function(t){var e=this.pointCategoryIndex(t);return null===e?null:this.dataRange.dateAt(e)},e.prototype.totalIndex=function(t){return this.dataRange.totalIndex(t)},e.prototype.currentRangeIndices=function(){var t=this.dataRange.valueRange();return{min:this.dataRange.totalIndex(t.min),max:this.dataRange.totalIndex(t.max)}},e.prototype.totalRange=function(){return this.dataRange.total()},e.prototype.totalCount=function(){return this.dataRange.totalCount()},e.prototype.isEmpty=function(){return!this.options.srcCategories.length},e.prototype.roundedRange=function(){if(!1!==this.options.roundToBaseUnit||this.isEmpty())return this.range();var t=this.options,e=nr(t.srcCategories);return new sr(e.min,e.max,Object.assign({},t,{justified:!1,roundToBaseUnit:!0,justifyEnd:t.justified})).displayRange()},e}(rr);Ct(cr,{type:l,labels:{dateFormats:ir},rangeLabels:{visible:!1},autoBaseUnitSteps:{milliseconds:[1,10,100],seconds:[1,2,5,15,30],minutes:[1,2,5,15,30],hours:[1,2,3],days:[1,2,3],weeks:[1,2],months:[1,2,3,6],years:[1,2,3,5,10,25,50]},maxDateGroups:10});var pr=cr;function hr(t,e){return yt(Math.floor(t/e)*e,10)}function fr(t,e){return yt(Math.ceil(t/e)*e,10)}function dr(t){return Math.max(Math.min(t,3e5),-3e5)}var vr=Math.pow(10,-9),gr=function(t){function e(e,r,i,o){t.call(this,Object.assign({},i,{seriesMin:e,seriesMax:r}),o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=function(t,e,r){var i=r.narrowRange,o=function(t,e,r){if(!t&&!e)return 0;var i;if(t>=0&&e>=0){var o=t===e?0:t;if(!1===r||!r&&(e-o)/e>.2)return 0;i=Math.max(0,o-(e-o)/2)}else i=t;return i}(t,e,i),n=function(t,e,r){if(!t&&!e)return 1;var i;if(t<=0&&e<=0){var o=t===e?0:e,n=Math.abs((o-t)/o);if(!1===r||!r&&n>.2)return 0;i=Math.min(0,o-(t-o)/2)}else i=e;return i}(t,e,i),a=It(o,n),s={majorUnit:a};!1!==r.roundToMajorUnit&&(o<0&&yr(o,a,1/3)&&(o-=a),n>0&&yr(n,a,1/3)&&(n+=a));return s.min=hr(o,a),s.max=fr(n,a),s}(t.seriesMin,t.seriesMax,t);return this.totalOptions=function(t,e){return{min:at(e.min)?Math.min(t.min,e.min):t.min,max:at(e.max)?Math.max(t.max,e.max):t.max,majorUnit:t.majorUnit}}(e,t),function(t,e){var r,i,o=e;if(e){!function(t,e){for(var r=0;r<e.length;r++){var i=e[r];null===t[i]&&(t[i]=void 0)}}(e,["min","max"]),r=at(e.min),i=at(e.max);var n=r||i;n&&e.min===e.max&&(e.min>0?e.min=0:e.max=1),e.majorUnit?(t.min=hr(t.min,e.majorUnit),t.max=fr(t.max,e.majorUnit)):n&&(o=V(t,e),t.majorUnit=It(o.min,o.max))}t.minorUnit=(o.majorUnit||t.majorUnit)/5;var a=V(t,o);a.min>=a.max&&(r&&!i?a.max=a.min+a.majorUnit:!r&&i&&(a.min=a.max-a.majorUnit));return a}(e,t)},e.prototype.initFields=function(){this.totalMin=this.totalOptions.min,this.totalMax=this.totalOptions.max,this.totalMajorUnit=this.totalOptions.majorUnit,this.seriesMin=this.options.seriesMin,this.seriesMax=this.options.seriesMax},e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return 0},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){if(0===t)return 1;var e=this.options,r=e.max-e.min;return Math.floor(yt(r/t,3))+1},e.prototype.getTickPositions=function(t,e){var r=this.options,i=this.lineInfo(),o=i.axisDir,n=i.axisOrigin,a=i.lineBox,s=t*(i.lineSize/(r.max-r.min)),u=this.getDivisions(t),l=[],c=a[n],p=0;e&&(p=e/t);for(var h=0;h<u;h++)h%p!=0&&l.push(yt(c,3)),c+=s*o;return l},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,r){void 0===r&&(r=!1);var i=this.options,o=this.lineInfo(),n=o.axis,a=o.axisDir,s=o.lineBox,u=o.lineSize,l=o.lineStart,c=a*(u/(i.max-i.min)),p=bt(t,e||0),h=bt(e,t||0);r&&(p=dt(p,i.min,i.max),h=dt(h,i.min,i.max));var f=Math.min(p,h)-i.min,d=Math.max(p,h)-i.min,v=new Ft(s.x1,s.y1,s.x1,s.y1);return v[n+1]=dr(l+c*(a>0?f:d)),v[n+2]=dr(l+c*(a>0?d:f)),v},e.prototype.getValue=function(t){var e=this.options,r=Number(e.max),i=Number(e.min),o=this.pointOffset(t);return o<0||o>1?null:yt(i+o*(r-i),10)},e.prototype.translateRange=function(t){var e=this.options,r=e.vertical,i=e.reverse,o=e.max,n=e.min,a=this.lineInfo().lineSize,s=yt(t/(a/(o-n)),10);return!r&&!i||r&&i||(s=-s),{min:n+s,max:o+s,offset:s}},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,r){var i=this.options,o=yt(i.min+t*i.majorUnit,10),n=this.axisLabelText(o,e,r);return new de(o,n,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var r=this.getValue(t),i=this.getValue(e),o=Math.min(r,i),n=Math.max(r,i);if(this.isValidRange(o,n))return{min:o,max:n}},e.prototype.scaleRange=function(t,e){var r=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,o=this.scaleToDelta(t,i),n=r*o,a=(1-r)*o,s=yt(this.options.min+n,10),u=yt(this.options.max-a,10);return u-s<vr&&(u=s+vr),{min:s,max:u}},e.prototype.zoomRange=function(t,e){var r=this.totalMin,i=this.totalMax,o=this.scaleRange(t,e);return{min:dt(o.min,r,i),max:dt(o.max,r,i),narrowRange:!1}},e.prototype.isValidRange=function(t,e){return e-t>vr},e}(Ee);function yr(t,e,r){var i=yt(Math.abs(t%e),10);return 0===i||i>e*(1-r)}Ct(gr,{type:"numeric",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:n},labels:{format:"#.####################"},zIndex:1});var mr=gr,br=function(t){function e(e,r,i,o){var n=ze(e),a=ze(r),s=o.intl,u=i||{};u=function(t,e,r){var i=r.min||t,o=r.max||e,n=r.baseUnit||(o&&i?function(t){var e="hours";t>=31536e6?e=De:t>=26784e5?e="months":t>=6048e5?e="weeks":t>=864e5&&(e=Le);return e}(Ie(o,i)):"hours"),a=Be[n],s=r.weekStartDay||0,u=Ue(Xe(i)-1,n,s)||ze(o),l=Ke(Xe(o)+1,n,s),c=(r.majorUnit?r.majorUnit:void 0)||fr(It(u.getTime(),l.getTime()),a)/a,p=Ze(u,l,n),h=fr(p,c)-p,f=Math.floor(h/2),d=h-f;r.baseUnit||delete r.baseUnit;return r.baseUnit=r.baseUnit||n,r.min=r.min||He(u,-f,n,s),r.max=r.max||He(l,d,n,s),r.minorUnit=r.minorUnit||c/5,r.majorUnit=c,r}(n,a,u=V(u||{},{min:Qe(s,u.min),max:Qe(s,u.max),axisCrossingValue:Je(s,u.axisCrossingValues||u.axisCrossingValue),weekStartDay:tr(u,s)})),t.call(this,u,o),this.intlService=s,this.seriesMin=n,this.seriesMax=a;var l=u.weekStartDay||0;this.totalMin=Xe(Ue(Xe(n)-1,u.baseUnit,l)),this.totalMax=Xe(Ke(Xe(a)+1,u.baseUnit,l))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.getDivisions=function(t){var e=this.options;return Math.floor(Ze(e.min,e.max,e.baseUnit)/t+1)},e.prototype.getTickPositions=function(t){for(var e=this.options,r=this.lineInfo(),i=r.axisDir,o=r.lineSize,n=r.lineStart,a=this.getDivisions(t),s=o/Ge(e.max,e.min),u=e.weekStartDay||0,l=[n],c=1;c<a;c++){var p=n+Ge(He(e.min,c*t,e.baseUnit,u),e.min)*s*i;l.push(yt(p,3))}return l},e.prototype.getMajorTickPositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.getMinorTickPositions=function(){return this.getTickPositions(this.options.minorUnit)},e.prototype.getSlot=function(t,e,r){return mr.prototype.getSlot.call(this,Qe(this.intlService,t),Qe(this.intlService,e),r)},e.prototype.getValue=function(t){var e=mr.prototype.getValue.call(this,t);return null!==e?ze(e):null},e.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},e.prototype.createAxisLabel=function(t,e,r){var i=this.options,o=t*i.majorUnit,n=i.weekStartDay||0,a=i.min;o>0&&(a=He(a,o,i.baseUnit,n));var s=e.dateFormats[i.baseUnit];e.format=e.format||s;var u=this.axisLabelText(a,e,r);return new de(a,u,t,null,e)},e.prototype.translateRange=function(t){var e=this.options,r=this.lineBox(),i=e.vertical,o=e.reverse,n=i?r.height():r.width(),a=this.range(),s=n/Ge(a.max,a.min),u=yt(t/s,10);return!i&&!o||i&&o||(u=-u),{min:Re(e.min,u),max:Re(e.max,u),offset:u}},e.prototype.shouldRenderNote=function(t){var e=this.range();return $e(t,e.min)>=0&&$e(t,e.max)<=0},e.prototype.pan=function(t){var e=this.translateRange(t,!0),r=this.limitRange(Xe(e.min),Xe(e.max),this.totalMin,this.totalMax,e.offset);if(r)return{min:ze(r.min),max:ze(r.max)}},e.prototype.pointsRange=function(t,e){var r=this.getValue(t),i=this.getValue(e),o=Math.min(r,i),n=Math.max(r,i);return{min:ze(o),max:ze(n)}},e.prototype.scaleRange=function(t,e){var r=Math.abs(this.pointOffset(e)),i=this.options.max-this.options.min,o=this.scaleToDelta(t,i),n=r*o,a=(1-r)*o,s=ze(Xe(this.options.min)+n),u=ze(Xe(this.options.max)-a);return u-s<1e3&&(u=ze(Xe(s)+1e3)),{min:s,max:u}},e.prototype.zoomRange=function(t,e){var r=this.scaleRange(t,e);return{min:ze(dt(Xe(r.min),this.totalMin,this.totalMax)),max:ze(dt(Xe(r.max),this.totalMin,this.totalMax))}},e}(Ee);Ct(br,{type:l,majorGridLines:{visible:!0,width:1,color:n},labels:{dateFormats:ir}});var xr=br,_r=function(t){function e(e,r,i,o){var n=V({majorUnit:10,min:e,max:r},i),a=n.majorUnit,s=function(t,e){var r,i=yt(wr(t,e),10)%1;r=t<=0?e:0!==i&&(i<.3||i>.9)?Math.pow(e,wr(t,e)+.2):Math.pow(e,Math.ceil(wr(t,e)));return r}(r,a),u=function(t,e,r){var i=r.majorUnit,o=t;t<=0?o=e<=1?Math.pow(i,-2):1:r.narrowRange||(o=Math.pow(i,Math.floor(wr(t,i))));return o}(e,r,n),l=function(t,e,r,i){var o=r.min,n=r.max;at(r.axisCrossingValue)&&r.axisCrossingValue<=0&&Cr();at(i.max)?i.max<=0&&Cr():n=e;at(i.min)?i.min<=0&&Cr():o=t;return{min:o,max:n}}(u,s,n,i);n.max=l.max,n.min=l.min,n.minorUnit=i.minorUnit||yt(a-1,10),t.call(this,n,o),this.totalMin=at(i.min)?Math.min(u,i.min):u,this.totalMax=at(i.max)?Math.max(s,i.max):s,this.logMin=yt(wr(l.min,a),10),this.logMax=yt(wr(l.max,a),10),this.seriesMin=e,this.seriesMax=r,this.createLabels()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},e.prototype.startValue=function(){return this.options.min},e.prototype.getSlot=function(t,e,r){var i=this.options,o=this.logMin,n=this.logMax,a=i.majorUnit,s=i.min,u=i.max,l=this.lineInfo(),c=l.axis,p=l.axisDir,h=l.lineBox,f=l.lineSize,d=l.lineStart,v=p*(f/(n-o)),g=bt(t,e||1),y=bt(e,t||1);if(g<=0||y<=0)return null;r&&(g=dt(g,s,u),y=dt(y,s,u)),g=wr(g,a),y=wr(y,a);var m=Math.min(g,y)-o,b=Math.max(g,y)-o,x=new Ft(h.x1,h.y1,h.x1,h.y1);return x[c+1]=dr(d+v*(p>0?m:b)),x[c+2]=dr(d+v*(p>0?b:m)),x},e.prototype.getValue=function(t){var e=this.options,r=this.logMin,i=this.logMax,o=e.majorUnit,n=this.lineInfo(),a=n.axis,s=n.axisDir,u=n.lineStart,l=n.lineSize,c=(i-r)/l,p=s*(t[a]-u);if(p<0||p>l)return null;var h=r+p*c;return yt(Math.pow(o,h),10)},e.prototype.range=function(){var t=this.options;return{min:t.min,max:t.max}},e.prototype.translateRange=function(t){var e=this.options,r=this.logMin,i=this.logMax,o=e.reverse,n=e.vertical,a=e.majorUnit,s=this.lineBox(),u=n?s.height():s.width(),l=yt(t/(u/(i-r)),10);return!n&&!o||n&&o||(l=-l),{min:Math.pow(a,r+l),max:Math.pow(a,i+l),offset:l}},e.prototype.labelsCount=function(){var t=Math.floor(this.logMax);return Math.floor(t-this.logMin)+1},e.prototype.getMajorTickPositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),{step:1,skip:0}),t},e.prototype.createTicks=function(t){var e=this.options,r=e.majorTicks,i=e.minorTicks,o=e.vertical,n=e.labels.mirror,a=this.lineBox(),s={vertical:o};function u(e,r){s.tickX=n?a.x2:a.x2-r.size,s.tickY=n?a.y1-r.size:a.y1,s.position=e,t.append(Me(s,r))}return r.visible&&this.traverseMajorTicksPositions(u,r),i.visible&&this.traverseMinorTicksPositions(u,i),[]},e.prototype.createGridLines=function(t){var e=this.options,r=e.minorGridLines,i=e.majorGridLines,o=e.vertical,n=t.lineBox(),a={lineStart:n[o?"x1":"y1"],lineEnd:n[o?"x2":"y2"],vertical:o},s=[],u=this.gridLinesVisual();function l(t,e){q(t,s)||(a.position=t,u.append(Ve(a,e)),s.push(t))}return i.visible&&this.traverseMajorTicksPositions(l,i),r.visible&&this.traverseMinorTicksPositions(l,r),u.children},e.prototype.traverseMajorTicksPositions=function(t,e){for(var r=this.lineInfo(),i=r.lineStart,o=r.step,n=this.logMin,a=this.logMax,s=Math.ceil(n)+e.skip;s<=a;s+=e.step){t(yt(i+o*(s-n),10),e)}},e.prototype.traverseMinorTicksPositions=function(t,e){for(var r=this.options,i=r.min,o=r.max,n=r.minorUnit,a=r.majorUnit,s=this.lineInfo(),u=s.lineStart,l=s.step,c=this.logMin,p=this.logMax,h=Math.floor(c);h<p;h++)for(var f=this._minorIntervalOptions(h),d=e.skip;d<n;d+=e.step){var v=f.value+d*f.minorStep;if(v>o)break;if(v>=i)t(yt(u+l*(wr(v,a)-c),10),e)}},e.prototype.createAxisLabel=function(t,e,r){var i=Math.ceil(this.logMin+t),o=Math.pow(this.options.majorUnit,i),n=this.axisLabelText(o,e,r);return new de(o,n,t,null,e)},e.prototype.shouldRenderNote=function(t){var e=this.range();return e.min<=t&&t<=e.max},e.prototype.pan=function(t){var e=this.translateRange(t);return this.limitRange(e.min,e.max,this.totalMin,this.totalMax,e.offset)},e.prototype.pointsRange=function(t,e){var r=this.getValue(t),i=this.getValue(e);return{min:Math.min(r,i),max:Math.max(r,i)}},e.prototype.scaleRange=function(t,e){var r=this.options.majorUnit,i=wr(this.options.min,r),o=wr(this.options.max,r),n=Math.abs(this.pointOffset(e)),a=o-i,s=this.scaleToDelta(t,a),u=Math.pow(r,i+n*s),l=Math.pow(r,o-(1-n)*s);return l-u<1e-6&&(l=u+1e-6),{min:u,max:l}},e.prototype.zoomRange=function(t,e){var r=this.scaleRange(t,e),i=this.totalMin,o=this.totalMax;return{min:dt(r.min,i,o),max:dt(r.max,i,o)}},e.prototype._minorIntervalOptions=function(t){var e=this.options,r=e.minorUnit,i=e.majorUnit,o=Math.pow(i,t);return{value:o,minorStep:(Math.pow(i,t+1)-o)/r}},e.prototype.lineInfo=function(){var e=t.prototype.lineInfo.call(this);return e.step=e.axisDir*(e.lineSize/(this.logMax-this.logMin)),e},e}(Ee);function Cr(){throw new Error("Non positive values cannot be used for a logarithmic axis")}function wr(t,e){return Math.log(t)/Math.log(e)}Ct(_r,{type:"log",majorUnit:10,minorUnit:1,axisCrossingValue:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:n},zIndex:1,_deferLabels:!0});var Sr=_r,Or={createGridLines:function(t){var e,r,i=this.options,o=Math.abs(this.box.center().y-t.lineBox().y1),n=[],a=!1;return i.majorGridLines.visible&&(e=this.majorGridLineAngles(t),a=!0,n=this.renderMajorGridLines(e,o,i.majorGridLines)),i.minorGridLines.visible&&(r=this.minorGridLineAngles(t,a),ot(n,this.renderMinorGridLines(r,o,i.minorGridLines,t,a))),n},renderMajorGridLines:function(t,e,r){return this.renderGridLines(t,e,r)},renderMinorGridLines:function(t,e,r,i,o){var n=this.radiusCallback&&this.radiusCallback(e,i,o);return this.renderGridLines(t,e,r,n)},renderGridLines:function(t,e,r,i){for(var o={stroke:{width:r.width,color:r.color,dashType:r.dashType}},n=this.box.center(),a=new S.geometry.Circle([n.x,n.y],e),s=this.gridLinesVisual(),u=0;u<t.length;u++){var l=new S.drawing.Path(o);i&&(a.radius=i(t[u])),l.moveTo(a.center).lineTo(a.pointAt(t[u]+180)),s.append(l)}return s.children},gridLineAngles:function(t,e,r,i,o){var n=this,a=this.intervals(e,r,i,o),s=t.options,u=s.visible&&!1!==(s.line||{}).visible;return tt(a,(function(t){var e=n.intervalAngle(t);if(!u||90!==e)return e}))}},Pr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.range=function(){return{min:0,max:this.options.categories.length}},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.lineBox=function(){return this.box},e.prototype.reflowLabels=function(){for(var t=this.labels,e=this.options.labels,r=e.skip||0,i=e.step||1,o=new Ft,n=0;n<t.length;n++){t[n].reflow(o);var a=t[n].box;t[n].reflow(this.getSlot(r+n*i).adjacentBox(0,a.width(),a.height()))}},e.prototype.intervals=function(t,e,r,i){void 0===i&&(i=!1);for(var o=this.options,n=o.categories.length/t||1,a=360/n,s=r||1,u=[],l=0,c=e||0;c<n;c+=s)l=o.reverse?360-c*a:c*a,l=yt(l,3)%360,i&&q(l,i)||u.push(l);return u},e.prototype.majorIntervals=function(){return this.intervals(1)},e.prototype.minorIntervals=function(){return this.intervals(.5)},e.prototype.intervalAngle=function(t){return(360+t+this.options.startAngle)%360},e.prototype.majorAngles=function(){var t=this;return tt(this.majorIntervals(),(function(e){return t.intervalAngle(e)}))},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,1,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var r=this.options,i=r.minorGridLines,o=r.majorGridLines,n=e?this.intervals(1,o.skip,o.step):null;return this.gridLineAngles(t,.5,i.skip,i.step,n)},e.prototype.radiusCallback=function(t,e,r){if(e.options.type!==o){var i=gt(360/(2*this.options.categories.length)),n=Math.cos(i)*t,a=this.majorAngles(),s=function(e){return!r&&q(e,a)?t:n};return s}},e.prototype.createPlotBands=function(){for(var t=this.options.plotBands||[],e=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),r=0;r<t.length;r++){var i=t[r],o=this.plotBandSlot(i),n=this.getSlot(i.from),a=i.from-Math.floor(i.from);o.startAngle+=a*n.angle;var s=Math.ceil(i.to)-i.to;o.angle-=(s+a)*n.angle;var u=Gt.current.createRing(o,{fill:{color:i.color,opacity:i.opacity},stroke:{opacity:i.opacity}});e.append(u)}this.appendVisual(e)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to-1)},e.prototype.getSlot=function(t,e){var r=this.options,i=r.justified,o=this.box,n=this.majorAngles(),a=n.length,s=360/a,u=t;r.reverse&&!i&&(u=(u+1)%a);var l=n[u=dt(Math.floor(u),0,a-1)];i&&(l-=s/2)<0&&(l+=360);var c=s*(dt(Math.ceil(e||u),u,a-1)-u+1);return new Ut(o.center(),0,o.height()/2,l,c)},e.prototype.slot=function(t,e){var r=this.getSlot(t,e),i=r.startAngle+180,o=i+r.angle;return new S.geometry.Arc([r.center.x,r.center.y],{startAngle:i,endAngle:o,radiusX:r.radius,radiusY:r.radius})},e.prototype.pointCategoryIndex=function(t){for(var e=this.options.categories.length,r=null,i=0;i<e;i++){if(this.getSlot(i).containsPoint(t)){r=i;break}}return r},e}(rr);Ct(Pr,{startAngle:90,labels:{margin:I(10)},majorGridLines:{visible:!0},justified:!0}),V(Pr.prototype,Or);var Ar=Pr,jr=function(t){function e(e,r){t.call(this,e,r);var i=this.options;i.minorUnit=i.minorUnit||i.majorUnit/2}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDivisions=function(t){return mr.prototype.getDivisions.call(this,t)-1},e.prototype.reflow=function(t){this.box=t,this.reflowLabels()},e.prototype.reflowLabels=function(){for(var t=this.options,e=this.labels,r=this.options.labels,i=r.skip||0,o=r.step||1,n=new Ft,a=this.intervals(t.majorUnit,i,o),s=0;s<e.length;s++){e[s].reflow(n);var u=e[s].box;e[s].reflow(this.getSlot(a[s]).adjacentBox(0,u.width(),u.height()))}},e.prototype.lineBox=function(){return this.box},e.prototype.intervals=function(t,e,r,i){void 0===i&&(i=!1);for(var o=this.options.min,n=this.getDivisions(t),a=[],s=r||1,u=e||0;u<n;u+=s){var l=(360+o+u*t)%360;i&&q(l,i)||a.push(l)}return a},e.prototype.majorIntervals=function(){return this.intervals(this.options.majorUnit)},e.prototype.minorIntervals=function(){return this.intervals(this.options.minorUnit)},e.prototype.intervalAngle=function(t){return(540-t-this.options.startAngle)%360},e.prototype.createLine=function(){return[]},e.prototype.majorGridLineAngles=function(t){var e=this.options.majorGridLines;return this.gridLineAngles(t,this.options.majorUnit,e.skip,e.step)},e.prototype.minorGridLineAngles=function(t,e){var r=this.options,i=r.minorGridLines,o=r.majorGridLines,n=e?this.intervals(r.majorUnit,o.skip,o.step):null;return this.gridLineAngles(t,r.minorUnit,i.skip,i.step,n)},e.prototype.plotBandSlot=function(t){return this.getSlot(t.from,t.to)},e.prototype.getSlot=function(t,e){var r=this.options,i=this.box,o=r.startAngle,n=dt(t,r.min,r.max),a=dt(e||n,n,r.max);if(r.reverse&&(n*=-1,a*=-1),(a=(540-a-o)%360)<(n=(540-n-o)%360)){var s=n;n=a,a=s}return new Ut(i.center(),0,i.height()/2,n,a-n)},e.prototype.slot=function(t,e){void 0===e&&(e=t);var r,i,o=this.options,n=360-o.startAngle,a=this.getSlot(t,e),s=Math.min(t,e),u=Math.max(t,e);return o.reverse?(r=s,i=u):(r=360-u,i=360-s),r=(r+n)%360,i=(i+n)%360,new S.geometry.Arc([a.center.x,a.center.y],{startAngle:r,endAngle:i,radiusX:a.radius,radiusY:a.radius})},e.prototype.getValue=function(t){var e=this.options,r=this.box.center(),i=t.x-r.x,o=t.y-r.y,n=Math.round(st(Math.atan2(o,i))),a=e.startAngle;return e.reverse||(n*=-1,a*=-1),(n+a+360)%360},e.prototype.valueRange=function(){return{min:0,max:2*Math.PI}},e}(Ee);Ct(jr,{type:"polar",startAngle:0,reverse:!1,majorUnit:60,min:0,max:360,labels:{margin:I(10)},majorGridLines:{color:n,visible:!0,width:1},minorGridLines:{color:"#aaa"}}),V(jr.prototype,Or,{createPlotBands:Ar.prototype.createPlotBands,majorAngles:Ar.prototype.majorAngles,range:mr.prototype.range,labelsCount:mr.prototype.labelsCount,createAxisLabel:mr.prototype.createAxisLabel});var kr=jr;function Tr(t,e){return 180-Math.abs(Math.abs(t-e)-180)}var Mr={options:{majorGridLines:{visible:!0}},createPlotBands:function(){var t=this.options,e=t.majorGridLines.type,r=t.plotBands;void 0===r&&(r=[]);for(var i=this.plotArea.polarAxis,n=i.majorAngles(),a=i.box.center(),s=this._plotbandGroup=new S.drawing.Group({zIndex:-1}),u=0;u<r.length;u++){var l=r[u],c={fill:{color:l.color,opacity:l.opacity},stroke:{opacity:l.opacity}},p=this.getSlot(l.from,l.to,!0),h=new Ut(a,a.y-p.y2,a.y-p.y1,0,360),f=void 0;f=e===o?Gt.current.createRing(h,c):S.drawing.Path.fromPoints(this.plotBandPoints(h,n),c).close(),s.append(f)}this.appendVisual(s)},plotBandPoints:function(t,e){for(var r=[],i=[],o=[t.center.x,t.center.y],n=new S.geometry.Circle(o,t.innerRadius),a=new S.geometry.Circle(o,t.radius),s=0;s<e.length;s++)r.push(n.pointAt(e[s]+180)),i.push(a.pointAt(e[s]+180));return r.reverse(),r.push(r[0]),i.push(i[0]),i.concat(r)},createGridLines:function(t){var e=this.options,r=this.radarMajorGridLinePositions(),i=t.majorAngles(),o=t.box.center(),n=[];if(e.majorGridLines.visible&&(n=this.renderGridLines(o,r,i,e.majorGridLines)),e.minorGridLines.visible){var a=this.radarMinorGridLinePositions();ot(n,this.renderGridLines(o,a,i,e.minorGridLines))}return n},renderGridLines:function(t,e,r,i){var n={stroke:{width:i.width,color:i.color,dashType:i.dashType}},a=i.skip;void 0===a&&(a=0);var s=i.step;void 0===s&&(s=0);for(var u=this.gridLinesVisual(),l=a;l<e.length;l+=s){var c=t.y-e[l];if(c>0){var p=new S.geometry.Circle([t.x,t.y],c);if(i.type===o)u.append(new S.drawing.Circle(p,n));else{for(var h=new S.drawing.Path(n),f=0;f<r.length;f++)h.lineTo(p.pointAt(r[f]+180));h.close(),u.append(h)}}}return u.children},getValue:function(t){var e=this.lineBox(),r=this.plotArea.polarAxis,i=r.majorAngles(),n=r.box.center(),a=t.distanceTo(n),s=a;if(this.options.majorGridLines.type!==o&&i.length>1){var u=t.x-n.x,l=t.y-n.y,c=(st(Math.atan2(l,u))+540)%360;i.sort((function(t,e){return Tr(t,c)-Tr(e,c)}));var p=90-Tr(i[0],i[1])/2,h=180-Tr(c,i[0])-p;s=a*(Math.sin(gt(h))/Math.sin(gt(p)))}return this.axisType().prototype.getValue.call(this,new Rt(e.x1,e.y2-s))}},Vr=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){return this.getTickPositions(this.options.majorUnit)},e.prototype.radarMinorGridLinePositions=function(){var t=this.options,e=0;return t.majorGridLines.visible&&(e=t.majorUnit),this.getTickPositions(t.minorUnit,e)},e.prototype.axisType=function(){return t},e}(mr);V(Vr.prototype,Mr);var Nr=Vr,Er=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.radarMajorGridLinePositions=function(){var t=[];return this.traverseMajorTicksPositions((function(e){t.push(e)}),this.options.majorGridLines),t},e.prototype.radarMinorGridLinePositions=function(){var t=[];return this.traverseMinorTicksPositions((function(e){t.push(e)}),this.options.minorGridLines),t},e.prototype.axisType=function(){return t},e}(Sr);V(Er.prototype,Mr);var Lr=Er;function Dr(t){return t<=0?-1:1}var Br=function(t){function e(e){t.call(this),this.closed=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.process=function(t){var e=t.slice(0),r=[],i=this.closed,o=e.length;if(o>2&&(this.removeDuplicates(0,e),o=e.length),o<2||2===o&&e[0].equals(e[1]))return r;var n,a,s=e[0],u=e[1],l=e[2];for(r.push(new S.geometry.Segment(s));s.equals(e[o-1]);)i=!0,e.pop(),o--;if(2===o){var c=this.tangent(s,u,m,b);return ft(r).controlOut(this.firstControlPoint(c,s,u,m,b)),r.push(new S.geometry.Segment(u,this.secondControlPoint(c,s,u,m,b))),r}if(i){s=e[o-1],u=e[0],l=e[1];var p=this.controlPoints(s,u,l);n=p[1],a=p[0]}else{var h=this.tangent(s,u,m,b);n=this.firstControlPoint(h,s,u,m,b)}for(var f=n,d=0;d<=o-3;d++)if(this.removeDuplicates(d,e),d+3<=(o=e.length)){s=e[d],u=e[d+1],l=e[d+2];var v=this.controlPoints(s,u,l);ft(r).controlOut(f),f=v[1];var g=v[0];r.push(new S.geometry.Segment(u,g))}if(i){s=e[o-2],u=e[o-1],l=e[0];var y=this.controlPoints(s,u,l);ft(r).controlOut(f),r.push(new S.geometry.Segment(u,y[0])),ft(r).controlOut(y[1]),r.push(new S.geometry.Segment(l,a))}else{var x=this.tangent(u,l,m,b);ft(r).controlOut(f),r.push(new S.geometry.Segment(l,this.secondControlPoint(x,u,l,m,b)))}return r},e.prototype.removeDuplicates=function(t,e){for(;e[t+1]&&(e[t].equals(e[t+1])||e[t+1].equals(e[t+2]));)e.splice(t+1,1)},e.prototype.invertAxis=function(t,e,r){var i=!1;if(t.x===e.x)i=!0;else if(e.x===r.x)(e.y<r.y&&t.y<=e.y||r.y<e.y&&e.y<=t.y)&&(i=!0);else{var o=this.lineFunction(t,e),n=this.calculateFunction(o,r.x);t.y<=e.y&&r.y<=n||e.y<=t.y&&r.y>=n||(i=!0)}return i},e.prototype.isLine=function(t,e,r){var i=this.lineFunction(t,e),o=this.calculateFunction(i,r.x);return t.x===e.x&&e.x===r.x||yt(o,1)===yt(r.y,1)},e.prototype.lineFunction=function(t,e){var r=(e.y-t.y)/(e.x-t.x);return[t.y-r*t.x,r]},e.prototype.controlPoints=function(t,e,r){var i,o=m,n=b,a=!1,s=!1;if(this.isLine(t,e,r))i=this.tangent(t,e,m,b);else{var u={x:this.isMonotonicByField(t,e,r,m),y:this.isMonotonicByField(t,e,r,b)};if(u.x&&u.y)i=this.tangent(t,r,m,b),a=!0;else if(this.invertAxis(t,e,r)&&(o=b,n=m),u[o])i=0;else i=.01*(r[n]<t[n]&&t[n]<=e[n]||t[n]<r[n]&&e[n]<=t[n]?Dr((r[n]-t[n])*(e[o]-t[o])):-Dr((r[o]-t[o])*(e[n]-t[n]))),s=!0}var l=this.secondControlPoint(i,t,e,o,n);if(s){var c=o;o=n,n=c}var p=this.firstControlPoint(i,e,r,o,n);return a&&(this.restrictControlPoint(t,e,l,i),this.restrictControlPoint(e,r,p,i)),[l,p]},e.prototype.restrictControlPoint=function(t,e,r,i){t.y<e.y?e.y<r.y?(r.x=t.x+(e.y-t.y)/i,r.y=e.y):r.y<t.y&&(r.x=e.x-(e.y-t.y)/i,r.y=t.y):r.y<e.y?(r.x=t.x-(t.y-e.y)/i,r.y=e.y):t.y<r.y&&(r.x=e.x+(t.y-e.y)/i,r.y=t.y)},e.prototype.tangent=function(t,e,r,i){var o,n=e[r]-t[r],a=e[i]-t[i];return o=0===n?0:a/n,o},e.prototype.isMonotonicByField=function(t,e,r,i){return r[i]>e[i]&&e[i]>t[i]||r[i]<e[i]&&e[i]<t[i]},e.prototype.firstControlPoint=function(t,e,r,i,o){var n=e[i],a=.333*(r[i]-n);return this.point(n+a,e[o]+a*t,i,o)},e.prototype.secondControlPoint=function(t,e,r,i,o){var n=e[i],a=r[i],s=.333*(a-n);return this.point(a-s,r[o]-s*t,i,o)},e.prototype.point=function(t,e,r,i){var o=new S.geometry.Point;return o[r]=t,o[i]=e,o},e.prototype.calculateFunction=function(t,e){for(var r=t.length,i=0,o=0;o<r;o++)i+=Math.pow(e,o)*t[o];return i},e}(S.Class),Ir=function(t){function e(e){t.call(this),this._axis=e,this.options=e.options}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this._axis,r=e.getCategory?e.getCategory(t):e.getValue(t);return r},e.prototype.slot=function(t,e,r){return void 0===r&&(r=!0),this._axis.slot(t,e,r)},e.prototype.range=function(){return this._axis.range()},e.prototype.valueRange=function(){return this._axis.valueRange()},e}(S.Class);function Rr(t,e){for(var r=0;r<e.length;r++)if(e[r].options.name===t)return e[r].prepareUserOptions(),new Ir(e[r])}var zr=function(t){this.visual=t.visual,this.chartsVisual=t.chartContainer.visual,this._pane=t};zr.prototype.findAxisByName=function(t){return Rr(t,this._pane.axes)};var Fr=zr,Hr=function(t){function e(e){t.call(this),this._plotArea=e,this.visual=e.visual,this.backgroundVisual=e._bgVisual}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class);function Ur(t){for(var e=t.length,r=0,i=0;i<e;i++){A(t[i])&&r++}return r}var Kr={min:function(t){for(var e=t.length,r=h,i=0;i<e;i++){var o=t[i];A(o)&&(r=Math.min(r,o))}return r===h?t[0]:r},max:function(t){for(var e=t.length,r=f,i=0;i<e;i++){var o=t[i];A(o)&&(r=Math.max(r,o))}return r===f?t[0]:r},sum:function(t){for(var e=t.length,r=0,i=0;i<e;i++){var o=t[i];A(o)&&(r+=o)}return r},sumOrNull:function(t){var e=null;return Ur(t)&&(e=Kr.sum(t)),e},count:function(t){for(var e=t.length,r=0,i=0;i<e;i++){var o=t[i];null!==o&&at(o)&&r++}return r},avg:function(t){var e=Ur(t),r=t[0];return e>0&&(r=Kr.sum(t)/e),r},first:function(t){for(var e=t.length,r=0;r<e;r++){var i=t[r];if(null!==i&&at(i))return i}return t[0]}},$r=Kr;function Gr(t,e){return null===e?e:$(t)(e)}var Xr=function(t){function e(){t.call(this),this._valueFields={},this._otherFields={},this._nullValue={},this._undefinedValue={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e,r){void 0===e&&(e=[g]),void 0===r&&(r={});for(var i=0;i<t.length;i++){var o=t[i];this._valueFields[o]=e,this._otherFields[o]=r,this._nullValue[o]=this._makeValue(e,null),this._undefinedValue[o]=this._makeValue(e,void 0)}},e.prototype.canonicalFields=function(t){return this.valueFields(t).concat(this.otherFields(t))},e.prototype.valueFields=function(t){return this._valueFields[t.type]||[g]},e.prototype.otherFields=function(t){return this._otherFields[t.type]||[g]},e.prototype.bindPoint=function(t,e,r){var i,o,n=t.data,a=at(r)?r:n[e],s={valueFields:{value:a}},u=this.valueFields(t),l=this._otherFields[t.type];if(null===a)o=this._nullValue[t.type];else if(at(a)){if(Array.isArray(a)){var c=a.slice(u.length);o=this._bindFromArray(a,u),i=this._bindFromArray(c,l)}else if("object"==typeof a){var p=this.sourceFields(t,u),h=this.sourceFields(t,l);o=this._bindFromObject(a,u,p),i=this._bindFromObject(a,l,h)}}else o=this._undefinedValue[t.type];return at(o)&&(1===u.length?s.valueFields.value=o[u[0]]:s.valueFields=o),s.fields=i||{},s},e.prototype._makeValue=function(t,e){for(var r={},i=t.length,o=0;o<i;o++){r[t[o]]=e}return r},e.prototype._bindFromArray=function(t,e){var r={};if(e)for(var i=Math.min(e.length,t.length),o=0;o<i;o++)r[e[o]]=t[o];return r},e.prototype._bindFromObject=function(t,e,r){void 0===r&&(r=e);var i={};if(e)for(var o=e.length,n=0;n<o;n++){var a=e[n],s=r[n];null!==s&&(i[a]=Gr(s,t))}return i},e.prototype.sourceFields=function(t,e){var r=[];if(e)for(var i=e.length,o=0;o<i;o++){var n=e[o],a=n===g?"field":n+"Field";r.push(null!==t[a]?t[a]||n:null)}return r},e}(S.Class);Xr.current=new Xr;var Yr=Xr,Wr=/percent(?:\w*)\((\d+)\)/,qr=new RegExp("^stddev(?:\\((\\d+(?:\\.\\d+)?)\\))?$"),Zr=function(t){function e(e,r,i){t.call(this),this.initGlobalRanges(e,r,i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initGlobalRanges=function(t,e,r){var i=e.data,o=qr.exec(t);if(o){this.valueGetter=this.createValueGetter(e,r);var n=this.getAverage(i),a=this.getStandardDeviation(i,n,!1),s=o[1]?parseFloat(o[1]):1,u={low:n.value-a*s,high:n.value+a*s};this.globalRange=function(){return u}}else if(t.indexOf&&t.indexOf("stderr")>=0){this.valueGetter=this.createValueGetter(e,r);var l=this.getStandardError(i,this.getAverage(i));this.globalRange=function(t){return{low:t-l,high:t+l}}}},e.prototype.createValueGetter=function(t,e){var r,i=t.data,o=Yr.current,n=o.valueFields(t),a=at(i[0])?i[0]:{};if(x(a))r=$("["+(e?n.indexOf(e):0)+"]");else if(A(a))r=$();else if("object"==typeof a){r=$(o.sourceFields(t,n)[n.indexOf(e)])}return r},e.prototype.getErrorRange=function(t,e){var r,i,o;if(!at(e))return null;if(this.globalRange)return this.globalRange(t);if(x(e))r=t-e[0],i=t+e[1];else if(A(o=parseFloat(e)))r=t-o,i=t+o;else{if(!(o=Wr.exec(e)))throw new Error("Invalid ErrorBar value: "+e);var n=t*(parseFloat(o[1])/100);r=t-Math.abs(n),i=t+Math.abs(n)}return{low:r,high:i}},e.prototype.getStandardError=function(t,e){return this.getStandardDeviation(t,e,!0)/Math.sqrt(e.count)},e.prototype.getStandardDeviation=function(t,e,r){for(var i=t.length,o=r?e.count-1:e.count,n=0,a=0;a<i;a++){var s=this.valueGetter(t[a]);A(s)&&(n+=Math.pow(s-e.value,2))}return Math.sqrt(n/o)},e.prototype.getAverage=function(t){for(var e=t.length,r=0,i=0,o=0;o<e;o++){var n=this.valueGetter(t[o]);A(n)&&(r+=n,i++)}return{value:r/i,count:i}},e}(S.Class),Qr=S.support.browser||{},Jr=Qr.msie?.001:0,ti="zero",ei="bar",ri="column",ii="line",oi="pie",ni="verticalLine",ai=[ei,ri,"ohlc","candlestick","boxPlot","verticalBoxPlot","bullet","rangeColumn","rangeBar","waterfall","horizontalWaterfall"],si="DOMMouseScroll mousewheel",ui=function(t){function e(e,r,i,o,n,a){t.call(this,a),this.low=e,this.high=r,this.isVertical=i,this.chart=o,this.series=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,r=this.options.endCaps,i=this.isVertical,o=this.getAxis().getSlot(this.low,this.high),n=t.center(),a=this.getCapsWidth(t,i),s=i?n.x:n.y,u=s-a,l=s+a;i?(e=[new Rt(n.x,o.y1),new Rt(n.x,o.y2)],r&&e.push(new Rt(u,o.y1),new Rt(l,o.y1),new Rt(u,o.y2),new Rt(l,o.y2)),this.box=new Ft(u,o.y1,l,o.y2)):(e=[new Rt(o.x1,n.y),new Rt(o.x2,n.y)],r&&e.push(new Rt(o.x1,u),new Rt(o.x1,l),new Rt(o.x2,u),new Rt(o.x2,l)),this.box=new Ft(o.x1,u,o.x2,l)),this.linePoints=e},e.prototype.getCapsWidth=function(t,e){var r=e?t.width():t.height();return Math.min(Math.floor(r/2),4)||4},e.prototype.createVisual=function(){var t=this,e=this.options,r=e.visual;r?this.visual=r({low:this.low,high:this.high,rect:this.box.toRect(),sender:this.getSender(),options:{endCaps:e.endCaps,color:e.color,line:e.line},createVisual:function(){t.createDefaultVisual();var e=t.visual;return delete t.visual,e}}):this.createDefaultVisual()},e.prototype.createDefaultVisual=function(){var e=this.options,r=this.linePoints,i={stroke:{color:e.color,width:e.line.width,dashType:e.line.dashType}};t.prototype.createVisual.call(this);for(var o=0;o<r.length;o+=2){var n=new S.drawing.Path(i).moveTo(r[o].x,r[o].y).lineTo(r[o+1].x,r[o+1].y);O(n),this.visual.append(n)}},e}(Yt);Ct(ui,{animation:{type:"fadeIn",delay:600},endCaps:!0,line:{width:2},zIndex:1});var li=ui,ci=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){return this.chart.seriesValueAxis(this.series)},e}(li);function pi(t,e,r,i){void 0===r&&(r={}),void 0===i&&(i=!1);var o=r.defaults=r.defaults||{},n=r.depth=r.depth||0,a=!1;if(r.excluded=r.excluded||[],n>5)return null;for(var s in t)if(!q(s,r.excluded)&&t.hasOwnProperty(s)){var u=t[s];T(u)?(a=!0,i||(t[s]=bt(u(e),o[s]))):N(u)&&(i||(r.defaults=o[s]),r.depth++,a=pi(u,e,r,i)||a,r.depth--)}return a}function hi(t){for(var e=t.length,r=0,i=0;i<e;i++)r=Math.max(r,t[i].data.length);return r}var fi=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this.categoryAxis=e.seriesCategoryAxis(r.series[0]),this.valueAxisRanges={},this.points=[],this.categoryPoints=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.pointOptions=function(t,e){var r=this.seriesOptions[e];if(!r){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=r=V({},i,{vertical:!this.options.invertAxes},t)}return r},e.prototype.plotValue=function(t){if(!t)return 0;if(this.options.isStacked100&&A(t.value)){for(var e=t.categoryIx,r=this.categoryPoints[e],i=[],o=0,n=0;n<r.length;n++){var a=r[n];if(a){var s=t.series.stack,u=a.series.stack;if(s&&u&&s.group!==u.group)continue;A(a.value)&&(o+=Math.abs(a.value),i.push(Math.abs(a.value)))}}if(o>0)return t.value/o}return t.value},e.prototype.plotRange=function(t,e){void 0===e&&(e=0);var r=this.categoryPoints[t.categoryIx];if(this.options.isStacked){for(var i=this.plotValue(t),o=i>=0,n=e,a=!1,s=0;s<r.length;s++){var u=r[s];if(t===u)break;var l=t.series.stack,c=u.series.stack;if(l&&c){if("string"==typeof l&&l!==c)continue;if(l.group&&l.group!==c.group)continue}var p=this.plotValue(u);(p>=0&&o||p<0&&!o)&&(n+=p,i+=p,a=!0,this.options.isStacked100&&(i=Math.min(i,1)))}return a&&(n-=e),[n,i]}var h=t.series,f=this.seriesValueAxis(h),d=this.categoryAxisCrossingValue(f);return[d,k(t.value)?t.value:d]},e.prototype.stackLimits=function(t,e){for(var r=h,i=f,o=0;o<this.categoryPoints.length;o++){var n=this.categoryPoints[o];if(n)for(var a=0;a<n.length;a++){var s=n[a];if(s&&(s.series.stack===e||s.series.axis===t)){var u=this.plotRange(s,0)[1];at(u)&&isFinite(u)&&(i=Math.max(i,u),r=Math.min(r,u))}}}return{min:r,max:i}},e.prototype.updateStackRange=function(){var t=this.options,e=t.isStacked,r=t.series,i={};if(e)for(var o=0;o<r.length;o++){var n=r[o],a=n.axis,s=a+n.stack,u=i[s];if(!u){u=this.stackLimits(a,n.stack);var l=this.errorTotals;l&&(l.negative.length&&(u.min=Math.min(u.min,wt(l.negative).min)),l.positive.length&&(u.max=Math.max(u.max,wt(l.positive).max))),u.min!==h||u.max!==f?i[s]=u:u=null}u&&(this.valueAxisRanges[a]=u)}},e.prototype.addErrorBar=function(t,e,r){var i,o=t.value,n=t.series,a=t.seriesIx,s=t.options.errorBars,u=e.fields.errorLow,l=e.fields.errorHigh;A(u)&&A(l)?i={low:u,high:l}:s&&at(s.value)&&(this.seriesErrorRanges=this.seriesErrorRanges||[],this.seriesErrorRanges[a]=this.seriesErrorRanges[a]||new Zr(s.value,n,g),i=this.seriesErrorRanges[a].getErrorRange(o,s.value)),i&&(t.low=i.low,t.high=i.high,this.addPointErrorBar(t,r))},e.prototype.addPointErrorBar=function(t,e){var r=!this.options.invertAxes,i=t.options.errorBars,o=t.series,n=t.low,a=t.high;if(this.options.isStacked){var s=this.stackedErrorRange(t,e);n=s.low,a=s.high}else{var u={categoryIx:e,series:o};this.updateRange({value:n},u),this.updateRange({value:a},u)}var l=new ci(n,a,r,this,o,i);t.errorBars=[l],t.append(l)},e.prototype.stackedErrorRange=function(t,e){var r=this.plotRange(t,0)[1]-t.value,i=t.low+r,o=t.high+r;return this.errorTotals=this.errorTotals||{positive:[],negative:[]},i<0&&(this.errorTotals.negative[e]=Math.min(this.errorTotals.negative[e]||0,i)),o>0&&(this.errorTotals.positive[e]=Math.max(this.errorTotals.positive[e]||0,o)),{low:i,high:o}},e.prototype.addValue=function(t,e){var r=e.categoryIx,i=e.series,o=e.seriesIx,n=this.categoryPoints[r];n||(this.categoryPoints[r]=n=[]);var a=this.seriesPoints[o];a||(this.seriesPoints[o]=a=[]);var s=this.createPoint(t,e);s&&(Object.assign(s,e),s.owner=this,s.noteText=t.fields.noteText,at(s.dataItem)||(s.dataItem=i.data[r]),this.addErrorBar(s,t,r)),this.points.push(s),a.push(s),n.push(s),this.updateRange(t.valueFields,e)},e.prototype.evalPointOptions=function(t,e,r,i,o,n){var a={defaults:o._defaults,excluded:["data","aggregate","_events","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},s=this._evalSeries[n];at(s)||(this._evalSeries[n]=s=pi(t,{},a,!0));var u=t;return s&&pi(u=V({},u),{value:e,category:r,index:i,series:o,dataItem:o.data[i]},a),u},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=t.value,o=this.valueAxisRanges[r];isFinite(i)&&null!==i&&((o=this.valueAxisRanges[r]=o||{min:h,max:f}).min=Math.min(o.min,i),o.max=Math.max(o.max,i))},e.prototype.seriesValueAxis=function(t){var e=this.plotArea,r=t.axis,i=r?e.namedValueAxes[r]:e.valueAxis;if(!i)throw new Error("Unable to locate value axis with name "+r);return i},e.prototype.reflow=function(t){var e=this,r=this.categorySlots=[],i=this.points,o=this.categoryAxis,n=0;this.traverseDataPoints((function(t,a){var s=a.categoryIx,u=a.series,l=e.seriesValueAxis(u),c=i[n++],p=r[s];if(p||(r[s]=p=e.categorySlot(o,s,l)),c){var h=e.plotRange(c,l.startValue()),f=e.valueSlot(l,h);if(f){var d=e.pointSlot(p,f);c.aboveAxis=e.aboveAxis(c,l),c.stackValue=h[1],e.options.isStacked100&&(c.percentage=e.plotValue(c)),e.reflowPoint(c,d)}else c.visible=!1}})),this.reflowCategories(r),!this.options.clip&&this.options.limitPoints&&this.points.length&&this.limitPoints(),this.box=t},e.prototype.valueSlot=function(t,e){return t.getSlot(e[0],e[1],!this.options.clip)},e.prototype.limitPoints=function(){for(var t=this.categoryPoints,e=t[0].concat(ft(t)),r=0;r<e.length;r++)e[r]&&this.limitPoint(e[r])},e.prototype.limitPoint=function(t){var e=this.categoryAxis.limitSlot(t.box);e.equals(t.box)||t.reflow(e)},e.prototype.aboveAxis=function(t,e){var r=this.categoryAxisCrossingValue(e),i=t.value;return e.options.reverse?i<r:i>=r},e.prototype.categoryAxisCrossingValue=function(t){var e=this.categoryAxis,r=t.options;return[].concat(r.axisCrossingValues||r.axisCrossingValue)[e.axisIndex||0]||0},e.prototype.reflowPoint=function(t,e){t.reflow(e)},e.prototype.reflowCategories=function(){},e.prototype.pointSlot=function(t,e){var r=this.options.invertAxes,i=r?e:t,o=r?t:e;return new Ft(i.x1,o.y1,i.x2,o.y2)},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=hi(e),i=e.length,o=0;o<i;o++)this._outOfRangeCallback(e[o],"_outOfRangeMinPoint",o,t);for(var n=0;n<r;n++)for(var a=0;a<i;a++){var s=e[a],u=this.categoryAxis.categoryAt(n);t(this._bindPoint(s,a,n),{category:u,categoryIx:n,categoriesCount:r,series:s,seriesIx:a})}for(var l=0;l<i;l++)this._outOfRangeCallback(e[l],"_outOfRangeMaxPoint",l,t)},e.prototype._outOfRangeCallback=function(t,e,r,i){var o=t[e];if(o){var n=o.categoryIx;i(this._bindPoint(t,r,n,o.item),{category:o.category,categoryIx:n,series:t,seriesIx:r,dataItem:o.item})}},e.prototype._bindPoint=function(t,e,r,i){this._bindCache||(this._bindCache=[]);var o=this._bindCache[e];o||(o=this._bindCache[e]=[]);var n=o[r];return n||(n=o[r]=Yr.current.bindPoint(t,r,i)),n},e.prototype.formatPointValue=function(t,e){return null===t.value?"":this.chartService.format.auto(e,t.value)},e.prototype.pointValue=function(t){return t.valueFields.value},e}(Yt);Ct(fi,{series:[],invertAxes:!1,isStacked:!1,clip:!0,limitPoints:!0});var di=fi,vi={click:function(t,e){return t.trigger("seriesClick",this.eventArgs(e))},hover:function(t,e){return t.trigger("seriesHover",this.eventArgs(e))},over:function(t,e){return t.trigger("seriesOver",this.eventArgs(e))},out:function(t,e){return t.trigger("seriesLeave",this.eventArgs(e))},eventArgs:function(t){return{value:this.value,percentage:this.percentage,stackValue:this.stackValue,category:this.category,series:this.series,dataItem:this.dataItem,runningTotal:this.runningTotal,total:this.total,element:pt(t),originalEvent:t,point:this}}},gi={createNote:function(){var t=this.options.notes,e=this.noteText||t.label.text;!1!==t.visible&&at(e)&&null!==e&&(this.note=new ge({value:this.value,text:e,dataItem:this.dataItem,category:this.category,series:this.series},this.options.notes,this.owner.chartService),this.append(this.note))}},yi=function(t){function e(e,r){t.call(this),this.value=e,this.options=r,this.aboveAxis=bt(this.options.aboveAxis,!0),this.tooltipTracking=!0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options,e=t.markers,r=t.labels;if(!this._rendered){if(this._rendered=!0,e.visible&&e.size&&(this.marker=this.createMarker(),this.append(this.marker)),r.visible){var i=H(r),o=this.pointData(),n=this.value;i?n=i(o):r.format&&(n=this.formatValue(r.format)),this.label=new ce(n,V({align:s,vAlign:s,margin:{left:5,right:5},zIndex:bt(r.zIndex,this.series.zIndex)},r),o),this.append(this.label)}this.createNote(),this.errorBar&&this.append(this.errorBar)}},e.prototype.markerBorder=function(){var t=this.options.markers,e=t.background,r=V({color:this.color},t.border);return at(r.color)||(r.color=new S.Color(e).brightness(.8).toHex()),r},e.prototype.createVisual=function(){},e.prototype.createMarker=function(){var t=this.options.markers;return new Qt({type:t.type,width:t.size,height:t.size,rotation:t.rotation,background:t.background,border:this.markerBorder(),opacity:this.series.opacity||t.opacity,zIndex:bt(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category})},e.prototype.markerBox=function(){return this.marker||(this.marker=this.createMarker(),this.marker.reflow(this._childBox)),this.marker.box},e.prototype.reflow=function(t){var e=this.options,r=this.aboveAxis,i=e.vertical;this.render(),this.box=t;var o=t.clone();if(i?r?o.y1-=o.height():o.y2+=o.height():r?o.x1+=o.width():o.x2-=o.width(),this._childBox=o,this.marker&&this.marker.reflow(o),this.reflowLabel(o),this.errorBars)for(var n=0;n<this.errorBars.length;n++)this.errorBars[n].reflow(o);if(this.note){var a=this.markerBox();if(!e.markers.visible||!e.markers.size){var s=a.center();a=new Ft(s.x,s.y,s.x,s.y)}this.note.reflow(a)}},e.prototype.reflowLabel=function(t){var e=this.options,r=this.label,i=e.labels.position;r&&(i="below"===(i="above"===i?v:i)?a:i,r.reflow(t),r.box.alignTo(this.markerBox(),i),r.reflow(r.box))},e.prototype.createHighlight=function(){var t=this.options.highlight.markers,e=this.markerBorder().color,r=this.options.markers,i=r.size+(r.border.width||0)+(t.border.width||0),o=new Qt({type:r.type,width:i,height:i,rotation:r.rotation,background:t.color||e,border:{color:t.border.color,width:t.border.width,opacity:bt(t.border.opacity,1)},opacity:bt(t.opacity,1)});return o.reflow(this._childBox),o.getElement()},e.prototype.highlightVisual=function(){return(this.marker||{}).visual},e.prototype.highlightVisualArgs=function(){var t,e,r=this.marker;if(r)e=r.paddingBox.toRect(),t=r.visual;else{var i=this.options.markers.size,o=i/2,n=this.box.center();e=new S.geometry.Rect([n.x-o,n.y-o],[i,i])}return{options:this.options,rect:e,visual:t}},e.prototype.tooltipAnchor=function(){var t=this.markerBox(),e=this.owner.pane.clipBox();if(!e||e.overlaps(t)){var r,i,o=t.x2+5;return this.aboveAxis?(r=t.y1,i=a):(r=t.y2,i=v),{point:new Rt(o,r),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.markerBox().overlaps(t)},e.prototype.unclipElements=function(){this.label&&(this.label.options.noclip=!0),this.note&&(this.note.options.noclip=!0)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,series:this.series}},e}(Yt);yi.prototype.defaults={vertical:!0,markers:{visible:!0,background:y,size:8,type:u,border:{width:2},opacity:1},labels:{visible:!1,position:"above",margin:I(3),padding:I(4),animation:{type:"fadeIn",delay:600}},notes:{label:{}},highlight:{markers:{border:{color:"#fff",width:2}},zIndex:100},errorBars:{line:{width:1}}},V(yi.prototype,vi),V(yi.prototype,gi);var mi=yi,bi=function(t){function e(e,r,i){t.call(this),this.linePoints=e,this.series=r,this.seriesIx=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.toGeometryPoints(this.linePoints)},e.prototype.toGeometryPoints=function(t){for(var e=[],r=0,i=t.length;r<i;r++)t[r]&&!1!==t[r].visible&&e.push(t[r]._childBox.toRect().center());return e},e.prototype.createVisual=function(){var t=this,e=this.series.visual;e?(this.visual=e({points:this.toGeometryPoints(this.linePoints),series:this.series,sender:this.getSender(),createVisual:function(){return t.segmentVisual(),t.visual}}),this.visual&&!at(this.visual.options.zIndex)&&(this.visual.options.zIndex=this.series.zIndex)):this.segmentVisual()},e.prototype.segmentVisual=function(){var t=this.options,e=this.series,r=e.color,i=e._defaults;T(r)&&i&&(r=i.color);var o=S.drawing.Path.fromPoints(this.points(),{stroke:{color:r,width:e.width,opacity:e.opacity,dashType:e.dashType},zIndex:e.zIndex});t.closed&&o.close(),this.visual=o},e.prototype.aliasFor=function(t,e){return this.parent.getNearestPoint(e.x,e.y,this.seriesIx)},e}(Yt);Ct(bi,{closed:!1});var xi=bi;function _i(t,e,r,i,o){var n=t.box,a=new S.geometry.Point;return a[e]=n[e+r],a[i]=n[i+o],a}var Ci={calculateStepPoints:function(t){for(var e=this.parent.plotArea.seriesCategoryAxis(this.series).options,r=e.justified,i=e.vertical,o=e.reverse,n=i?m:b,a=i?b:m,s=o?2:1,u=s,l=_i(t[0],n,s,a,u),c=[l],p=1;p<t.length;p++){var h=_i(t[p],n,s,a,u);if(l[n]!==h[n]){var f=new S.geometry.Point;f[n]=l[n],f[a]=h[a],c.push(f,h)}l=h}return r?l!==ft(c)&&c.push(l):c.push(_i(ft(t),n,s,a,o?1:2)),c}},wi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.points=function(){return this.calculateStepPoints(this.linePoints)},e}(xi);V(wi.prototype,Ci);var Si=wi,Oi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.segmentVisual=function(){var t=this.series,e=t._defaults,r=t.color;T(r)&&e&&(r=e.color);var i=new Br(this.options.closed).process(this.points()),o=new S.drawing.Path({stroke:{color:r,width:t.width,opacity:t.opacity,dashType:t.dashType},zIndex:t.zIndex});o.segments.push.apply(o.segments,i),this.visual=o},e}(xi),Pi={renderSegments:function(){var t,e=this.options,r=this.seriesPoints,i=e.series,o=r.length;this._segments=[];for(var n=0;n<o;n++){for(var a=i[n],s=this.sortPoints(r[n]),u=s.length,l=[],c=0;c<u;c++){var p=s[c];p?l.push(p):"interpolate"!==this.seriesMissingValues(a)&&(l.length>1&&(t=this.createSegment(l,a,n,t),this._addSegment(t)),l=[])}l.length>1&&(t=this.createSegment(l,a,n,t),this._addSegment(t))}this.children.unshift.apply(this.children,this._segments)},_addSegment:function(t){this._segments.push(t),t.parent=this},sortPoints:function(t){return t},seriesMissingValues:function(t){var e=t.missingValues;return!e&&this.options.isStacked?ti:e||"interpolate"},getNearestPoint:function(t,e,r){for(var i,o=new Rt(t,e),n=this.seriesPoints[r],a=h,s=0;s<n.length;s++){var u=n[s];if(u&&at(u.value)&&null!==u.value&&!1!==u.visible){var l=u.box.center().distanceTo(o);l<a&&(i=u,a=l)}}return i}},Ai=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._setEnd(this.options.box.x1)},e.prototype.step=function(t){var e=this.options.box;this._setEnd(Z(e.x1,e.x2,t))},e.prototype._setEnd=function(t){var e=this.element,r=e.segments,i=r[1].anchor(),o=r[2].anchor();e.suspend(),i.setX(t),e.resume(),o.setX(t)},e}(S.drawing.Animation);Ct(Ai,{duration:600}),S.drawing.AnimationFactory.current.register("clip",Ai);var ji=Ai;function ki(t){for(var e=0;e<t.length;e++)if(at(t[e].zIndex))return!0}var Ti={createAnimation:function(){var t=this.getRoot();if(t&&!1!==(t.options||{}).transitions){var e=t.size(),r=S.drawing.Path.fromRect(e.toRect());this.visual.clip(r),this.animation=new ji(r,{box:e}),ki(this.options.series)&&this._setChildrenAnimation(r)}},_setChildrenAnimation:function(t){for(var e=this.animationPoints(),r=0;r<e.length;r++){var i=e[r];i&&i.visual&&at(i.visual.options.zIndex)&&i.visual.clip(t)}}},Mi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange(),this.renderSegments()},e.prototype.pointType=function(){return mi},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.seriesMissingValues(o),s=t.valueFields.value;if(!at(s)||null===s){if(a!==ti)return null;s=0}var u=this.pointOptions(o,n);u=this.evalPointOptions(u,s,i,r,o,n);var l=t.fields.color||o.color;T(o.color)&&(l=u.color);var c=new mi(s,u);return c.color=l,this.append(c),c},e.prototype.plotRange=function(t){var e=this.plotValue(t);if(this.options.isStacked)for(var r=t.categoryIx,i=this.categoryPoints[r],o=0;o<i.length;o++){var n=i[o];if(t===n)break;e+=this.plotValue(n),this.options.isStacked100&&(e=Math.min(e,1))}return[e,e]},e.prototype.createSegment=function(t,e,r){var i=e.style;return new("step"===i?Si:"smooth"===i?Oi:xi)(t,e,r)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++)e.push((t[r]||{}).marker);return e.concat(this._segments)},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(di);V(Mi.prototype,Pi,Ti);var Vi=Mi,Ni=function(t){function e(e,r,i,o,n){t.call(this,e,r,i),this.prevSegment=o,this.stackPoints=n}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){var t=this.series,e=t._defaults,r=t.line||{},i=t.color;T(i)&&e&&(i=e.color),this.visual=new S.drawing.Group({zIndex:t.zIndex}),this.createFill({fill:{color:i,opacity:t.opacity},stroke:null}),r.width>0&&!1!==r.visible&&this.createStroke({stroke:V({color:i,opacity:t.opacity,lineCap:"butt"},r)})},e.prototype.strokeSegments=function(){var t=this._strokeSegments;return t||(t=this._strokeSegments=this.createStrokeSegments()),t},e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.points())},e.prototype.stackSegments=function(){return this.prevSegment?this.prevSegment.createStackSegments(this.stackPoints):this.createStackSegments(this.stackPoints)},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.toGeometryPoints(t)).reverse()},e.prototype.segmentsFromPoints=function(t){return t.map((function(t){return new S.geometry.Segment(t)}))},e.prototype.createStroke=function(t){var e=new S.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),this.visual.append(e)},e.prototype.hasStackSegment=function(){return this.prevSegment||this.stackPoints&&this.stackPoints.length},e.prototype.createFill=function(t){var e=this.strokeSegments(),r=e.slice(0),i=this.hasStackSegment();if(i){var o=this.stackSegments();ot(r,o)}var n=new S.drawing.Path(t);n.segments.push.apply(n.segments,r),!i&&e.length>1&&this.fillToAxes(n),this.visual.append(n)},e.prototype.fillToAxes=function(t){var e=this.parent,r=e.options.invertAxes,i=e.seriesValueAxis(this.series),o=e.categoryAxisCrossingValue(i),n=i.getSlot(o,o,!0),a=this.strokeSegments(),s=a[0].anchor(),u=ft(a).anchor(),l=r?n.x1:n.y1;r?t.lineTo(l,u.y).lineTo(l,s.y):t.lineTo(u.x,l).lineTo(s.x,l)},e}(xi),Ei=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.linePoints))},e.prototype.createStackSegments=function(t){return this.segmentsFromPoints(this.calculateStepPoints(t)).reverse()},e}(Ni);V(Ei.prototype,Ci);var Li=Ei,Di=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){var t=new Br(this.options.closed),e=this.points();return t.process(e)},e.prototype.createStackSegments=function(){for(var t=this.strokeSegments(),e=[],r=t.length-1;r>=0;r--){var i=t[r];e.push(new S.geometry.Segment(i.anchor(),i.controlOut(),i.controlIn()))}return e},e}(Ni),Bi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,r,i){var o,n,a=this.options.isStacked,s=(e.line||{}).style;a&&r>0&&i&&("gap"!==this.seriesMissingValues(e)?(n=i.linePoints,o=i):n=this._gapStackPoints(t,r,s));return new("step"===s?Li:"smooth"===s?Di:Ni)(t,e,r,o,n)},e.prototype.reflow=function(e){t.prototype.reflow.call(this,e);var r=this._stackPoints;if(r)for(var i=0;i<r.length;i++){var o=r[i],n=this.categoryAxis.getSlot(o.categoryIx);o.reflow(n)}},e.prototype._gapStackPoints=function(t,e,r){var i=this.seriesPoints,o=t[0].categoryIx,n=t.length;o<0&&(o=0,n--);var a=o+n,s=this.seriesOptions[0]._outOfRangeMinPoint?1:0,u=[];this._stackPoints=this._stackPoints||[];for(var l=o;l<a;l++){var c=l+s,p=e,h=void 0;do{h=i[--p][c]}while(p>0&&!h);if(h)"step"!==r&&l>o&&!i[p][c-1]&&u.push(this._previousSegmentPoint(l,c,c-1,p)),u.push(h),"step"!==r&&l+1<a&&!i[p][c+1]&&u.push(this._previousSegmentPoint(l,c,c+1,p));else{var f=this._createGapStackPoint(l);this._stackPoints.push(f),u.push(f)}}return u},e.prototype._previousSegmentPoint=function(t,e,r,i){for(var o,n=this.seriesPoints,a=i;a>0&&!o;)o=n[--a][r];return o?o=n[a][e]:(o=this._createGapStackPoint(t),this._stackPoints.push(o)),o},e.prototype._createGapStackPoint=function(t){var e=this.pointOptions({},0),r=new mi(0,e);return r.categoryIx=t,r.series={},r},e.prototype.seriesMissingValues=function(t){return t.missingValues||ti},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(Vi),Ii=function(t){function e(){t.call(this),this.axisRanges={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.update=function(t){var e=this.axisRanges;for(var r in t){var i=t[r],o=e[r];e[r]=o=o||{min:h,max:f},o.min=Math.min(o.min,i.min),o.max=Math.max(o.max,i.max)}},e.prototype.reset=function(t){this.axisRanges[t]=void 0},e.prototype.query=function(t){return this.axisRanges[t]},e}(S.Class),Ri=function(t){function e(e,r,i){t.call(this,r),this.textBox=new ce(e,this.options,i),this.append(this.textBox)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createVisual=function(){this.textBox.options.noclip=this.options.noclip},e.prototype.reflow=function(t){var e=this.options,r=e.vertical,i=e.aboveAxis,o=this.children[0],n=o.options,u=o.box,l=o.options.padding,c=t;n.align=r?s:p,n.vAlign=r?v:s,"insideEnd"===e.position?r?(n.vAlign=v,!i&&u.height()<t.height()&&(n.vAlign=a)):n.align=i?d:p:e.position===s?(n.vAlign=s,n.align=s):"insideBase"===e.position?r?n.vAlign=i?a:v:n.align=i?p:d:"outsideEnd"===e.position&&(r?c=i?new Ft(t.x1,t.y1-u.height(),t.x2,t.y1):new Ft(t.x1,t.y2,t.x2,t.y2+u.height()):(n.align=s,c=i?new Ft(t.x2,t.y1,t.x2+u.width(),t.y2):new Ft(t.x1-u.width(),t.y1,t.x1,t.y2))),e.rotation||(r?l.left=l.right=(c.width()-o.contentBox.width())/2:l.top=l.bottom=(c.height()-o.contentBox.height())/2),o.reflow(c)},e.prototype.alignToClipBox=function(t){var e=this.options.vertical?b:m,r=e+"1",i=e+"2",o=this.children[0],n=this.parent.box;if(n[r]<t[r]||t[i]<n[i]){var a=o.paddingBox.clone();a[r]=Math.max(n[r],t[r]),a[i]=Math.min(n[i],t[i]),this.reflow(a)}},e}(Yt);Ct(Ri,{position:"outsideEnd",margin:I(3),padding:I(4),color:n,background:"",border:{width:1,color:""},aboveAxis:!0,vertical:!1,animation:{type:"fadeIn",delay:600},zIndex:2});var zi=Ri;function Fi(t){var e=t.overlay;return e&&e.gradient&&"none"!==e.gradient}var Hi=function(t){function e(e,r){t.call(this),this.options=r,this.color=r.color||y,this.aboveAxis=bt(this.options.aboveAxis,!0),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createLabel(),this.createNote(),this.errorBar&&this.append(this.errorBar))},e.prototype.createLabel=function(){var t=this.options,e=t.labels;if(e.visible){var r,i=this.pointData(),o=H(e);r=o?o(i):this.formatValue(e.format),this.label=new zi(r,V({vertical:t.vertical},e),i),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;if(this.box=t,e&&(e.options.aboveAxis=this.aboveAxis,e.reflow(t)),this.note&&this.note.reflow(t),this.errorBars)for(var r=0;r<this.errorBars.length;r++)this.errorBars[r].reflow(t)},e.prototype.createVisual=function(){var e=this,r=this.box,i=this.options,o=i.visual;if(!1!==this.visible)if(t.prototype.createVisual.call(this),o){var n=this.rectVisual=o({category:this.category,dataItem:this.dataItem,value:this.value,sender:this.getSender(),series:this.series,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,rect:r.toRect(),createVisual:function(){var t=new S.drawing.Group;return e.createRect(t),t},options:i});n&&this.visual.append(n)}else r.width()>0&&r.height()>0&&this.createRect(this.visual)},e.prototype.createRect=function(t){var e=this.options,r=e.border,i=at(r.opacity)?r.opacity:e.opacity,o=this.box.toRect();o.size.width=Math.round(o.size.width);var n=this.rectVisual=S.drawing.Path.fromRect(o,{fill:{color:this.color,opacity:e.opacity},stroke:{color:this.getBorderColor(),width:r.width,opacity:i,dashType:r.dashType}}),a=this.box.width(),s=this.box.height();if((e.vertical?a:s)>6&&(O(n),(a<1||s<1)&&(n.options.stroke.lineJoin="round")),t.append(n),Fi(e)){var u=this.createGradientOverlay(n,{baseColor:this.color},V({end:e.vertical?void 0:[0,1]},e.overlay));t.append(u)}},e.prototype.createHighlight=function(t){return O(S.drawing.Path.fromRect(this.box.toRect(),t))},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.getBorderColor=function(){var t=this.color,e=this.options.border,r=e._brightness||.8,i=e.color;return at(i)||(i=new S.Color(t).brightness(r).toHex()),i},e.prototype.tooltipAnchor=function(){var t,e,r=this.options,i=this.box,o=this.aboveAxis,n=this.owner.pane.clipBox()||i,s=p,u=v;if(r.vertical)t=Math.min(i.x2,n.x2)+5,o?e=Math.max(i.y1,n.y1):(e=Math.min(i.y2,n.y2),u=a);else{var l=Math.max(i.x1,n.x1),c=Math.min(i.x2,n.x2);r.isStacked?(u=a,o?(s=d,t=c):t=l,e=Math.max(i.y1,n.y1)-5):(o?t=c+5:(t=l-5,s=d),e=Math.max(i.y1,n.y1))}return{point:new Rt(t,e),align:{horizontal:s,vertical:u}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,percentage:this.percentage,stackValue:this.stackValue,runningTotal:this.runningTotal,total:this.total,series:this.series}},e}(Yt);V(Hi.prototype,vi),V(Hi.prototype,gi),Hi.prototype.defaults={border:{width:1},vertical:!0,overlay:{gradient:"glass"},labels:{visible:!1,format:"{0}"},opacity:1,notes:{label:{}}};var Ui=Hi;function Ki(t,e){t.forEach(e)}function $i(t,e){for(var r=t.length,i=r-1;i>=0;i--)e(t[i],i-r-1)}var Gi=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?$i:Ki}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=e.vertical,i=e.gap,o=e.spacing,n=this.children,a=n.length,s=r?b:m,u=a+i+o*(a-1),l=(r?t.height():t.width())/u,c=t[s+1]+l*(i/2);this.forEach(n,(function(e,r){var i=(e.box||t).clone();i[s+1]=c,i[s+2]=c+l,e.reflow(i),r<a-1&&(c+=l*o),c+=l}))},e}(Yt);Ct(Gi,{vertical:!1,gap:0,spacing:0});var Xi=Gi,Yi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){for(var e=this.options.vertical?m:b,r=this.children,i=r.length,o=this.box=new Ft,n=0;n<i;n++){var a=r[n];if(!1!==a.visible){var s=a.box.clone();s.snapTo(t,e),0===n&&(o=this.box=s.clone()),a.reflow(s),o.wrap(s)}}},e}(Yt);Ct(Yi,{vertical:!0});var Wi=Yi,qi=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.updateStackRange()},e.prototype.pointType=function(){return Ui},e.prototype.clusterType=function(){return Xi},e.prototype.stackType=function(){return Wi},e.prototype.stackLimits=function(e,r){return t.prototype.stackLimits.call(this,e,r)},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.options,s=this.children,u=a.isStacked,l=this.pointValue(t),c=this.pointOptions(o,n),p=c.labels;u&&"outsideEnd"===p.position&&(p.position="insideEnd"),c.isStacked=u;var h=t.fields.color||o.color;l<0&&c.negativeColor&&(h=c.negativeColor),c=this.evalPointOptions(c,l,i,r,o,n),T(o.color)&&(h=c.color);var f=new(this.pointType())(l,c);f.color=h;var d=s[r];d||(d=new(this.clusterType())({vertical:a.invertAxes,gap:a.gap,spacing:a.spacing,rtl:!a.invertAxes&&(this.chartService||{}).rtl}),this.append(d));u?this.getStackWrap(o,d).append(f):d.append(f);return f},e.prototype.getStackWrap=function(t,e){var r,i=t.stack,o=i&&i.group||i,n=e.children;if("string"==typeof o){for(var a=0;a<n.length;a++)if(n[a]._stackGroup===o){r=n[a];break}}else r=n[0];r||((r=new(this.stackType())({vertical:!this.options.invertAxes}))._stackGroup=o,e.append(r));return r},e.prototype.categorySlot=function(t,e,r){var i=this.options,o=t.getSlot(e),n=r.startValue();if(i.isStacked){var a=r.getSlot(n,n,!0),s=i.invertAxes?m:b;o[s+1]=o[s+2]=a[s+1]}return o},e.prototype.reflowCategories=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++)e[i].reflow(t[i])},e.prototype.createAnimation=function(){this._setAnimationOptions(),t.prototype.createAnimation.call(this),ki(this.options.series)&&this._setChildrenAnimation()},e.prototype._setChildrenAnimation=function(){for(var t=this.points,e=0;e<t.length;e++){var r=t[e],i=r.visual;i&&at(i.options.zIndex)&&(r.options.animation=this.options.animation,r.createAnimation())}},e.prototype._setAnimationOptions=function(){var t,e=this.options,r=e.animation||{};if(e.isStacked){var i=this.seriesValueAxis(e.series[0]);t=i.getSlot(i.startValue())}else t=this.categoryAxis.getSlot(0);r.origin=new S.geometry.Point(t.x1,t.y1),r.vertical=!e.invertAxes},e}(di);Ct(qi,{animation:{type:ei}});var Zi=qi,Qi=function(t){function e(e,r){t.call(this,r),this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=this.value,i=this.owner.seriesValueAxis(e),o=i.getSlot(r.open,r.close),n=i.getSlot(r.low,r.high);o.x1=n.x1=t.x1,o.x2=n.x2=t.x2,this.realBody=o;var a=n.center().x,s=[];s.push([[a,n.y1],[a,o.y1]]),s.push([[a,o.y2],[a,n.y2]]),this.lines=s,this.box=n.clone().wrap(o),this._rendered||(this._rendered=!0,this.createNote()),this.reflowNote()},e.prototype.reflowNote=function(){this.note&&this.note.reflow(this.box)},e.prototype.createVisual=function(){t.prototype.createVisual.call(this),this._mainVisual=this.mainVisual(this.options),this.visual.append(this._mainVisual),this.createOverlay()},e.prototype.mainVisual=function(t){var e=new S.drawing.Group;return this.createBody(e,t),this.createLines(e,t),e},e.prototype.createBody=function(t,e){var r=S.drawing.Path.fromRect(this.realBody.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&r.options.set("stroke",{color:this.getBorderColor(),width:e.border.width,dashType:e.border.dashType,opacity:bt(e.border.opacity,e.opacity)}),O(r),t.append(r),Fi(e)&&t.append(this.createGradientOverlay(r,{baseColor:this.color},V({end:e.vertical?void 0:[0,1]},e.overlay)))},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.lines,e.line)},e.prototype.drawLines=function(t,e,r,i){if(r)for(var o={stroke:{color:i.color||this.color,opacity:bt(i.opacity,e.opacity),width:i.width,dashType:i.dashType,lineCap:"butt"}},n=0;n<r.length;n++){var a=S.drawing.Path.fromPoints(r[n],o);O(a),t.append(a)}},e.prototype.getBorderColor=function(){var t=this.options.border,e=t.color;return at(e)||(e=new S.Color(this.color).brightness(t._brightness).toHex()),e},e.prototype.createOverlay=function(){var t=S.drawing.Path.fromRect(this.box.toRect(),{fill:{color:y,opacity:0},stroke:null});this.visual.append(t)},e.prototype.createHighlight=function(){var t=this.options.highlight,e=this.color;this.color=t.color||this.color;var r=this.mainVisual(V({},this.options,{line:{color:this.getBorderColor()}},t));return this.color=e,r},e.prototype.highlightVisual=function(){return this._mainVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this._mainVisual}},e.prototype.tooltipAnchor=function(){var t=this.box,e=this.owner.pane.clipBox()||t;return{point:new Rt(t.x2+5,Math.max(t.y1,e.y1)+5),align:{horizontal:p,vertical:v}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e}(Yt);Ct(Qi,{vertical:!0,border:{_brightness:.8},line:{width:2},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{4:d}</th></tr><tr><td>Open:</td><td>{0:C}</td></tr><tr><td>High:</td><td>{1:C}</td></tr><tr><td>Low:</td><td>{2:C}</td></tr><tr><td>Close:</td><td>{3:C}</td></tr></table>"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}}}),V(Qi.prototype,vi),V(Qi.prototype,gi);var Ji=Qi;function to(t){return Ur(t)===t.length}var eo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++)e[i].reflow(t[i])},e.prototype.addValue=function(t,e){var r,i=e.categoryIx,o=e.category,n=e.series,a=e.seriesIx,s=this.children,u=this.options,l=t.valueFields,c=to(this.splitValue(l)),p=n.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),c&&(r=this.createPoint(t,e));var f=s[i];f||(f=new Xi({vertical:u.invertAxes,gap:u.gap,spacing:u.spacing,rtl:!u.invertAxes&&(this.chartService||{}).rtl}),this.append(f)),r&&(this.updateRange(l,e),f.append(r),r.categoryIx=i,r.category=o,r.series=n,r.seriesIx=a,r.owner=this,r.dataItem=p,r.noteText=t.fields.noteText),this.points.push(r),h.push(r)},e.prototype.pointType=function(){return Ji},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.pointType(),s=t.valueFields,u=V({},o),l=t.fields.color||o.color;u=this.evalPointOptions(u,s,i,r,o,n),"candlestick"===o.type&&s.open>s.close&&(l=t.fields.downColor||o.downColor||o.color),T(o.color)&&(l=u.color),u.vertical=!this.options.invertAxes;var c=new a(s,u);return c.color=l,c},e.prototype.splitValue=function(t){return[t.low,t.open,t.close,t.high]},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=this.splitValue(t),o=this.valueAxisRanges[r];o=this.valueAxisRanges[r]=o||{min:h,max:f},o=this.valueAxisRanges[r]={min:Math.min.apply(Math,i.concat([o.min])),max:Math.max.apply(Math,i.concat([o.max]))}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.open,r.high,r.low,r.close,t.category)},e.prototype.animationPoints=function(){return this.points},e}(di);V(eo.prototype,Ti);var ro=eo,io=function(t){function e(e,r){t.call(this,e,r),this.createNote()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e,r,i=this.options,o=this.value,n=this.owner.seriesValueAxis(i);this.boxSlot=r=n.getSlot(o.q1,o.q3),this.realBody=r,this.reflowBoxSlot(t),this.whiskerSlot=e=n.getSlot(o.lower,o.upper),this.reflowWhiskerSlot(t);var a=n.getSlot(o.median);if(o.mean){var s=n.getSlot(o.mean);this.meanPoints=this.calcMeanPoints(t,s)}this.whiskerPoints=this.calcWhiskerPoints(r,e),this.medianPoints=this.calcMedianPoints(t,a),this.box=e.clone().wrap(r),this.reflowNote()},e.prototype.reflowBoxSlot=function(t){this.boxSlot.x1=t.x1,this.boxSlot.x2=t.x2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.x1=t.x1,this.whiskerSlot.x2=t.x2},e.prototype.calcMeanPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.calcWhiskerPoints=function(t,e){var r=e.center().x;return[[[r-5,e.y1],[r+5,e.y1],[r,e.y1],[r,t.y1]],[[r-5,e.y2],[r+5,e.y2],[r,e.y2],[r,t.y2]]]},e.prototype.calcMedianPoints=function(t,e){return[[[t.x1,e.y1],[t.x2,e.y1]]]},e.prototype.renderOutliers=function(t){for(var e=this.value,r=e.outliers||[],i=3*Math.abs(e.q3-e.q1),o=[],n=t.markers||{},a=0;a<r.length;a++){var s=r[a],u=V({},(n=s<e.q3+i&&s>e.q1-i?t.outliers:t.extremes).border);at(u.color)||(at(this.color)?u.color=this.color:u.color=new S.Color(n.background).brightness(.8).toHex());var l=new Qt({type:n.type,width:n.size,height:n.size,rotation:n.rotation,background:n.background,border:u,opacity:n.opacity});l.value=s,o.push(l)}return this.reflowOutliers(o),o},e.prototype.reflowOutliers=function(t){for(var e=this.owner.seriesValueAxis(this.options),r=this.box.center(),i=0;i<t.length;i++){var o=t[i].value,n=e.getSlot(o);this.options.vertical?n.move(r.x):n.move(void 0,r.y),this.box=this.box.wrap(n),t[i].reflow(n)}},e.prototype.mainVisual=function(e){for(var r=t.prototype.mainVisual.call(this,e),i=this.renderOutliers(e),o=0;o<i.length;o++){var n=i[o].getElement();n&&r.append(n)}return r},e.prototype.createLines=function(t,e){this.drawLines(t,e,this.whiskerPoints,e.whiskers),this.drawLines(t,e,this.medianPoints,e.median),this.drawLines(t,e,this.meanPoints,e.mean)},e.prototype.getBorderColor=function(){return(this.options.border||{}).color?this.options.border.color:this.color?this.color:t.prototype.getBorderColor.call(this)},e}(Ji);Ct(io,{border:{_brightness:.8},line:{width:2},median:{color:"#f6f6f6"},mean:{width:2,dashType:"dash",color:"#f6f6f6"},overlay:{gradient:"glass"},tooltip:{format:"<table><tr><th colspan='2'>{6:d}</th></tr><tr><td>Lower:</td><td>{0:C}</td></tr><tr><td>Q1:</td><td>{1:C}</td></tr><tr><td>Median:</td><td>{2:C}</td></tr><tr><td>Mean:</td><td>{5:C}</td></tr><tr><td>Q3:</td><td>{3:C}</td></tr><tr><td>Upper:</td><td>{4:C}</td></tr></table>"},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}},outliers:{visible:!0,size:8,type:"cross",background:y,border:{width:2,opacity:1},opacity:0},extremes:{visible:!0,size:8,type:u,background:y,border:{width:2,opacity:1},opacity:0}}),V(io.prototype,vi);var oo=io,no=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowBoxSlot=function(t){this.boxSlot.y1=t.y1,this.boxSlot.y2=t.y2},e.prototype.reflowWhiskerSlot=function(t){this.whiskerSlot.y1=t.y1,this.whiskerSlot.y2=t.y2},e.prototype.calcMeanPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e.prototype.calcWhiskerPoints=function(t,e){var r=e.center().y;return[[[e.x1,r-5],[e.x1,r+5],[e.x1,r],[t.x1,r]],[[e.x2,r-5],[e.x2,r+5],[e.x2,r],[t.x2,r]]]},e.prototype.calcMedianPoints=function(t,e){return[[[e.x1,t.y1],[e.x1,t.y2]]]},e}(oo),ao=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e){var r,i=e.categoryIx,o=e.category,n=e.series,a=e.seriesIx,s=this.children,u=this.options,l=t.valueFields,c=to(this.splitValue(l)),p=n.data[i],h=this.categoryPoints[i];h||(this.categoryPoints[i]=h=[]),c&&(r=this.createPoint(t,e));var f=s[i];f||(f=new Xi({vertical:u.invertAxes,gap:u.gap,spacing:u.spacing,rtl:!u.invertAxes&&(this.chartService||{}).rtl}),this.append(f)),r&&(this.updateRange(l,e),f.append(r),r.categoryIx=i,r.category=o,r.series=n,r.seriesIx=a,r.owner=this,r.dataItem=p),this.points.push(r),h.push(r)},e.prototype.pointType=function(){return this.options.invertAxes?no:oo},e.prototype.splitValue=function(t){return[t.lower,t.q1,t.median,t.q3,t.upper]},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=this.valueAxisRanges[r],o=this.splitValue(t).concat(this.filterOutliers(t.outliers));at(t.mean)&&(o=o.concat(t.mean)),i=this.valueAxisRanges[r]=i||{min:h,max:f},i=this.valueAxisRanges[r]={min:Math.min.apply(Math,o.concat([i.min])),max:Math.max.apply(Math,o.concat([i.max]))}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.lower,r.q1,r.median,r.q3,r.upper,r.mean,t.category)},e.prototype.filterOutliers=function(t){for(var e=(t||[]).length,r=[],i=0;i<e;i++){var o=t[i];at(o)&&null!==o&&r.push(o)}return r},e.prototype.supportsPointInactiveOpacity=function(){return!1},e}(ro),so=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getAxis=function(){var t=this.chart.seriesAxes(this.series);return this.isVertical?t.y:t.x},e}(li);function uo(t){return at(t)&&null!==t}var lo=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.xAxisRanges={},this.yAxisRanges={},this.points=[],this.seriesPoints=[],this.seriesOptions=[],this._evalSeries=[]},e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.addErrorBar=function(t,e,r){var i,o=t.value[e],n=e+"Value",a=e+"ErrorLow",s=e+"ErrorHigh",u=r.seriesIx,l=r.series,c=t.options.errorBars,p=r[a],h=r[s];A(o)&&(A(p)&&A(h)&&(i={low:p,high:h}),c&&at(c[n])&&(this.seriesErrorRanges=this.seriesErrorRanges||{x:[],y:[]},this.seriesErrorRanges[e][u]=this.seriesErrorRanges[e][u]||new Zr(c[n],l,e),i=this.seriesErrorRanges[e][u].getErrorRange(o,c[n])),i&&this.addPointErrorBar(i,t,e))},e.prototype.addPointErrorBar=function(t,e,r){var i=t.low,o=t.high,n=e.series,a=e.options.errorBars,s=r===b,u={};e[r+"Low"]=i,e[r+"High"]=o,e.errorBars=e.errorBars||[];var l=new so(i,o,s,this,n,a);e.errorBars.push(l),e.append(l),u[r]=i,this.updateRange(u,n),u[r]=o,this.updateRange(u,n)},e.prototype.addValue=function(t,e){var r,i=t.x,o=t.y,n=e.seriesIx,a=this.options.series[n],s=this.seriesMissingValues(a),u=this.seriesPoints[n],l=t;uo(i)&&uo(o)||(l=this.createMissingValue(l,s)),l&&((r=this.createPoint(l,e))&&(Object.assign(r,e),this.addErrorBar(r,m,e),this.addErrorBar(r,b,e)),this.updateRange(l,e.series)),this.points.push(r),u.push(r)},e.prototype.seriesMissingValues=function(t){return t.missingValues},e.prototype.createMissingValue=function(){},e.prototype.updateRange=function(t,e){var r=this.chartService.intl,i=e.xAxis,o=e.yAxis,n=t.x,a=t.y,s=this.xAxisRanges[i],u=this.yAxisRanges[o];uo(n)&&(s=this.xAxisRanges[i]=s||{min:h,max:f},j(n)&&(n=Qe(r,n)),s.min=Math.min(s.min,n),s.max=Math.max(s.max,n)),uo(a)&&(u=this.yAxisRanges[o]=u||{min:h,max:f},j(a)&&(a=Qe(r,a)),u.min=Math.min(u.min,a),u.max=Math.max(u.max,a))},e.prototype.evalPointOptions=function(t,e,r){var i=r.series,o=r.seriesIx,n={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle","_outOfRangeMinPoint","_outOfRangeMaxPoint"]},a=this._evalSeries[o];at(a)||(this._evalSeries[o]=a=pi(t,{},n,!0));var s=t;return a&&pi(s=V({},t),{value:e,series:i,dataItem:r.dataItem},n),s},e.prototype.pointType=function(){return mi},e.prototype.pointOptions=function(t,e){var r=this.seriesOptions[e];if(!r){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=r=V({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return r},e.prototype.createPoint=function(t,e){var r=e.series,i=this.pointOptions(r,e.seriesIx),o=e.color||r.color;i=this.evalPointOptions(i,t,e),T(r.color)&&(o=i.color);var n=new mi(t,i);return n.color=o,this.append(n),n},e.prototype.seriesAxes=function(t){var e=t.xAxis,r=t.yAxis,i=this.plotArea,o=e?i.namedXAxes[e]:i.axisX,n=r?i.namedYAxes[r]:i.axisY;if(!o)throw new Error("Unable to locate X axis with name "+e);if(!n)throw new Error("Unable to locate Y axis with name "+r);return{x:o,y:n}},e.prototype.reflow=function(t){var e=this,r=this.points,i=!this.options.clip,o=0;this.traverseDataPoints((function(t,n){var a=r[o++],s=e.seriesAxes(n.series),u=s.x.getSlot(t.x,t.x,i),l=s.y.getSlot(t.y,t.y,i);if(a)if(u&&l){var c=e.pointSlot(u,l);a.reflow(c)}else a.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new Ft(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=this.seriesPoints,i=0;i<e.length;i++){var o=e[i];r[i]||(r[i]=[]);for(var n=0;n<o.data.length;n++){var a=this._bindPoint(o,i,n),s=a.valueFields,u=a.fields;t(s,V({pointIx:n,series:o,seriesIx:i,dataItem:o.data[n],owner:this},u))}}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.x,r.y)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++)e.push((t[r]||{}).marker);return e},e}(Yt);Ct(lo,{series:[],tooltip:{format:"{0}, {1}"},labels:{format:"{0}, {1}"},clip:!0}),V(lo.prototype,Ti,{_bindPoint:di.prototype._bindPoint});var co=lo,po=function(t){function e(e,r){t.call(this,e,r),this.category=e.category}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createHighlight=function(){var t=this.options.highlight,e=t.border,r=this.options.markers,i=this.box.center(),o=(r.size+r.border.width+e.width)/2,n=new S.drawing.Group,a=new S.drawing.Circle(new S.geometry.Circle([i.x,i.y+o/5+e.width/2],o+e.width/2),{stroke:{color:"none"},fill:this.createGradient({gradient:"bubbleShadow",color:r.background,stops:[{offset:0,color:r.background,opacity:.3},{offset:1,color:r.background,opacity:0}]})}),s=new S.drawing.Circle(new S.geometry.Circle([i.x,i.y],o),{stroke:{color:e.color||new S.Color(r.background).brightness(.8).toHex(),width:e.width,opacity:e.opacity},fill:{color:r.background,opacity:t.opacity}});return n.append(a,s),n},e}(mi);po.prototype.defaults=V({},po.prototype.defaults,{labels:{position:s},highlight:{opacity:1,border:{color:"#fff",width:2,opacity:1}}}),po.prototype.defaults.highlight.zIndex=void 0;var ho=po,fo=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this._maxSize=f,t.prototype._initFields.call(this)},e.prototype.addValue=function(e,r){null!==e.size&&(e.size>0||e.size<0&&r.series.negativeValues.visible)?(this._maxSize=Math.max(this._maxSize,Math.abs(e.size)),t.prototype.addValue.call(this,e,r)):(this.points.push(null),this.seriesPoints[r.seriesIx].push(null))},e.prototype.reflow=function(e){this.updateBubblesSize(e),t.prototype.reflow.call(this,e)},e.prototype.pointType=function(){return ho},e.prototype.createPoint=function(t,e){var r=e.series,i=r.data.length,o=e.pointIx*(600/i),n={delay:o,duration:600-o,type:"bubble"},a=e.color||r.color;t.size<0&&r.negativeValues.visible&&(a=bt(r.negativeValues.color,a));var s=V({labels:{animation:{delay:o,duration:600-o}}},this.pointOptions(r,e.seriesIx),{markers:{type:u,border:r.border,opacity:r.opacity,animation:n}});s=this.evalPointOptions(s,t,e),T(r.color)&&(a=s.color),s.markers.background=a;var l=new ho(t,s);return l.color=a,this.append(l),l},e.prototype.updateBubblesSize=function(t){for(var e=this.options.series,r=Math.min(t.width(),t.height()),i=0;i<e.length;i++)for(var o=e[i],n=this.seriesPoints[i],a=(o.minSize||Math.max(.02*r,10))/2,s=(o.maxSize||.2*r)/2,u=Math.PI*a*a,l=(Math.PI*s*s-u)/this._maxSize,c=0;c<n.length;c++){var p=n[c];if(p){var h=Math.abs(p.value.size)*l,f=Math.sqrt((u+h)/Math.PI),d=bt(p.options.zIndex,0)+(1-f/s);V(p.options,{zIndex:d,markers:{size:2*f,zIndex:d},labels:{zIndex:d+1}})}}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.x,r.y,r.size,t.category)},e.prototype.createAnimation=function(){},e.prototype.createVisual=function(){},e}(co);Ct(fo,{tooltip:{format:"{3}"},labels:{format:"{3}"}});var vo=fo,go=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Qt);V(go.prototype,vi);var yo=go,mo=function(t){function e(e,r){t.call(this,r),this.aboveAxis=this.options.aboveAxis,this.color=r.color||y,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options;this._rendered||(this._rendered=!0,at(this.value.target)&&(this.target=new yo({type:t.target.shape,background:t.target.color||this.color,opacity:t.opacity,zIndex:t.zIndex,border:t.target.border,vAlign:v,align:d}),this.target.value=this.value,this.target.dataItem=this.dataItem,this.target.series=this.series,this.append(this.target)),this.createNote())},e.prototype.reflow=function(t){this.render();var e=this.options,r=this.target,i=this.owner,o=e.invertAxes,n=i.seriesValueAxis(this.options),a=i.categorySlot(i.categoryAxis,e.categoryIx,n),s=n.getSlot(this.value.target),u=o?s:a,l=o?a:s;if(r){var c=new Ft(u.x1,l.y1,u.x2,l.y2);r.options.height=o?c.height():e.target.line.width,r.options.width=o?e.target.line.width:c.width(),r.reflow(c)}this.note&&this.note.reflow(t),this.box=t},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options,r=S.drawing.Path.fromRect(this.box.toRect(),{fill:{color:this.color,opacity:e.opacity},stroke:null});e.border.width>0&&r.options.set("stroke",{color:e.border.color||this.color,width:e.border.width,dashType:e.border.dashType,opacity:bt(e.border.opacity,e.opacity)}),this.bodyVisual=r,O(r),this.visual.append(r)},e.prototype.createAnimation=function(){this.bodyVisual&&(this.animation=S.drawing.Animation.create(this.bodyVisual,this.options.animation))},e.prototype.createHighlight=function(t){return S.drawing.Path.fromRect(this.box.toRect(),t)},e.prototype.highlightVisual=function(){return this.bodyVisual},e.prototype.highlightVisualArgs=function(){return{rect:this.box.toRect(),visual:this.bodyVisual,options:this.options}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(Yt);mo.prototype.tooltipAnchor=Ui.prototype.tooltipAnchor,Ct(mo,{border:{width:1},vertical:!1,opacity:1,target:{shape:"",border:{width:0,color:"green"},line:{width:2}},tooltip:{format:"Current: {0}<br />Target: {1}"}}),V(mo.prototype,vi),V(mo.prototype,gi);var bo=mo,xo=function(t){function e(e,r){!function(t){for(var e=t.series,r=0;r<e.length;r++){var i=e[r],o=i.data;!o||x(o[0])||N(o[0])||(i.data=[o])}}(r),t.call(this,e,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowCategories=function(t){for(var e=this.children,r=e.length,i=0;i<r;i++)e[i].reflow(t[i])},e.prototype.plotRange=function(t){var e=t.series,r=this.seriesValueAxis(e),i=this.categoryAxisCrossingValue(r);return[i,t.value.current||i]},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=this.options,s=this.children,u=t.valueFields,l=V({vertical:!a.invertAxes,overlay:o.overlay,categoryIx:r,invertAxes:a.invertAxes},o),c=t.fields.color||o.color;l=this.evalPointOptions(l,u,i,r,o,n),T(o.color)&&(c=l.color);var p=new bo(u,l);p.color=c;var h=s[r];return h||(h=new Xi({vertical:a.invertAxes,gap:a.gap,spacing:a.spacing,rtl:!a.invertAxes&&(this.chartService||{}).rtl}),this.append(h)),h.append(p),p},e.prototype.updateRange=function(t,e){var r=t.current,i=t.target,o=e.series.axis,n=this.valueAxisRanges[o];at(r)&&!isNaN(r)&&at(i&&!isNaN(i))&&((n=this.valueAxisRanges[o]=n||{min:h,max:f}).min=Math.min(n.min,r,i),n.max=Math.max(n.max,r,i))},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value.current,t.value.target)},e.prototype.pointValue=function(t){return t.valueFields.current},e.prototype.aboveAxis=function(t){return t.value.current>0},e.prototype.createAnimation=function(){var t=this.points;this._setAnimationOptions();for(var e=0;e<t.length;e++){var r=t[e];r.options.animation=this.options.animation,r.createAnimation()}},e}(di);xo.prototype._setAnimationOptions=Zi.prototype._setAnimationOptions,Ct(xo,{animation:{type:ei}});var _o=xo,Co=function(t){function e(e,r){t.call(this),this.chartService=e,this.options=V({},this.options,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getStyle=function(t,e){var r=t.background,i=t.border.color;if(e){var o=e.color||e.options.color;r=bt(r,o),i=bt(i,o)}var n=I(t.padding||{},"auto");return{backgroundColor:r,borderColor:i,font:t.font,color:t.color,opacity:t.opacity,borderWidth:E(t.border.width),paddingTop:E(n.top),paddingBottom:E(n.bottom),paddingLeft:E(n.left),paddingRight:E(n.right)}},e.prototype.show=function(t,e,r){t.format=e.format;var i=this.getStyle(e,r);t.style=i;var o=new S.Color(i.backgroundColor);at(e.color)||o.isDark()||(t.className="k-chart-tooltip-inverse"),this.chartService.notify("showTooltip",t),this.visible=!0},e.prototype.hide=function(){this.chartService&&this.chartService.notify("hideTooltip"),this.visible=!1},e.prototype.destroy=function(){delete this.chartService},e}(S.Class);Ct(Co,{border:{width:1},opacity:1});var wo=Co,So=function(t){function e(e,r,i){t.call(this,e,i),this.crosshair=r,this.formatService=e.format,this.initAxisName()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initAxisName=function(){var t,e=this.crosshair.axis;t=e.plotArea.categoryAxis?e.getCategory?"categoryAxis":"valueAxis":e.options.vertical?"yAxis":"xAxis",this.axisName=t},e.prototype.showAt=function(t){var e=this.crosshair.axis,r=this.options,i=e[r.stickyMode?"getCategory":"getValue"](t),o=i;r.format?o=this.formatService.auto(r.format,i):e.options.type===l&&(o=this.formatService.auto(e.options.labels.dateFormats[e.options.baseUnit],i)),this.show({point:t,anchor:this.getAnchor(),crosshair:this.crosshair,value:o,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex},this.options)},e.prototype.hide=function(){this.chartService.notify("hideTooltip",{crosshair:this.crosshair,axisName:this.axisName,axisIndex:this.crosshair.axis.axisIndex})},e.prototype.getAnchor=function(){var t,e,r,i=this.crosshair,o=this.options,n=o.position,u=o.padding,l=!i.axis.options.vertical,c=i.line.bbox();return l?(t=s,n===a?(e=v,r=c.bottomLeft().translate(0,u)):(e=a,r=c.topLeft().translate(0,-u))):(e=s,n===p?(t=d,r=c.topLeft().translate(-u,0)):(t=p,r=c.topRight().translate(u,0))),{point:r,align:{horizontal:t,vertical:e}}},e}(wo);Ct(So,{padding:10});var Oo=So,Po=function(t){function e(e,r,i){t.call(this,i),this.axis=r,this.stickyMode=r instanceof rr;var o=this.options.tooltip;o.visible&&(this.tooltip=new Oo(e,this,V({},o,{stickyMode:this.stickyMode})))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t){this.point=t,this.moveLine(),this.line.visible(!0),this.tooltip&&this.tooltip.showAt(t)},e.prototype.hide=function(){this.line.visible(!1),this.tooltip&&this.tooltip.hide()},e.prototype.moveLine=function(){var t,e=this.axis,r=this.point,i=e.options.vertical,o=this.getBox(),n=i?b:m,a=new S.geometry.Point(o.x1,o.y1);if(t=i?new S.geometry.Point(o.x2,o.y1):new S.geometry.Point(o.x1,o.y2),r)if(this.stickyMode){var s=e.getSlot(e.pointCategoryIndex(r));a[n]=t[n]=s.center()[n]}else a[n]=t[n]=r[n];this.box=o,this.line.moveTo(a).lineTo(t)},e.prototype.getBox=function(){for(var t,e=this.axis,r=e.pane.axes,i=r.length,o=e.options.vertical,n=e.lineBox().clone(),a=o?m:b,s=0;s<i;s++){var u=r[s];u.options.vertical!==o&&(t?t.wrap(u.lineBox()):t=u.lineBox().clone())}return n[a+1]=t[a+1],n[a+2]=t[a+2],n},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.options;this.line=new S.drawing.Path({stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType},visible:!1}),this.moveLine(),this.visual.append(this.line)},e.prototype.destroy=function(){this.tooltip&&this.tooltip.destroy(),t.prototype.destroy.call(this)},e}(Yt);Ct(Po,{color:n,width:2,zIndex:-1,tooltip:{visible:!1}});var Ao=Po,jo=function(t){function e(e,r){t.call(this,e),this.pane=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.shouldClip=function(){for(var t=this.children,e=t.length,r=0;r<e;r++)if(!0===t[r].options.clip)return!0;return!1},e.prototype._clipBox=function(){return this.pane.chartsBox()},e.prototype.createVisual=function(){if(this.visual=new S.drawing.Group({zIndex:0}),this.shouldClip()){var t=(this.clipBox=this._clipBox()).toRect(),e=S.drawing.Path.fromRect(t);O(e),this.visual.clip(e),this.unclipLabels()}},e.prototype.stackRoot=function(){return this},e.prototype.unclipLabels=function(){for(var t=this.children,e=this.clipBox,r=0;r<t.length;r++)for(var i=t[r].points||{},o=i.length,n=0;n<o;n++){var a=i[n];if(a&&!1!==a.visible&&a.overlapsBox&&a.overlapsBox(e))if(a.unclipElements)a.unclipElements();else{var s=a.label,u=a.note;s&&s.options.visible&&(s.alignToClipBox&&s.alignToClipBox(e),s.options.noclip=!0),u&&u.options.visible&&(u.options.noclip=!0)}}},e.prototype.destroy=function(){t.prototype.destroy.call(this),delete this.parent},e}(Yt);jo.prototype.isStackRoot=!0;var ko=jo,To=function(t){function e(e){t.call(this,e),this.id="pane"+Mo++,this.createTitle(),this.content=new Yt,this.chartContainer=new ko({},this),this.append(this.content),this.axes=[],this.charts=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createTitle=function(){var t=this.options.title;N(t)&&(t=V({},t,{align:t.position,position:v})),this.title=he.buildTitle(t,this,e.prototype.options.title)},e.prototype.appendAxis=function(t){this.content.append(t),this.axes.push(t),t.pane=this},e.prototype.appendAxisAt=function(t,e){this.content.append(t),this.axes.splice(e,0,t),t.pane=this},e.prototype.appendChart=function(t){this.chartContainer.parent!==this.content&&this.content.append(this.chartContainer),this.charts.push(t),this.chartContainer.append(t),t.pane=this},e.prototype.empty=function(){var t=this.parent;if(t){for(var e=0;e<this.axes.length;e++)t.removeAxis(this.axes[e]);for(var r=0;r<this.charts.length;r++)t.removeChart(this.charts[r])}this.axes=[],this.charts=[],this.content.destroy(),this.content.children=[],this.chartContainer.children=[]},e.prototype.reflow=function(e){var r;ft(this.children)===this.content&&(r=this.children.pop()),t.prototype.reflow.call(this,e),r&&this.children.push(r),this.title&&(this.contentBox.y1+=this.title.box.height())},e.prototype.visualStyle=function(){var e=t.prototype.visualStyle.call(this);return e.zIndex=-10,e},e.prototype.renderComplete=function(){this.options.visible&&this.createGridLines()},e.prototype.stackRoot=function(){return this},e.prototype.clipRoot=function(){return this},e.prototype.createGridLines=function(){for(var t=this.axes,e=t.concat(this.parent.axes),r=[],i=[],o=0;o<t.length;o++)for(var n=t[o],a=n.options.vertical,s=a?r:i,u=0;u<e.length;u++)if(0===s.length){var l=e[u];a!==l.options.vertical&&ot(s,n.createGridLines(l))}},e.prototype.refresh=function(){this.visual.clear(),this.content.parent=null,this.content.createGradient=this.createGradient.bind(this),this.content.renderVisual(),this.content.parent=this,this.title&&this.visual.append(this.title.visual),this.visual.append(this.content.visual),this.renderComplete(),this.notifyRender()},e.prototype.chartsBox=function(){for(var t=this.axes,e=t.length,r=new Ft,i=0;i<e;i++){var o=t[i],n=o.options.vertical?b:m,a=o.lineBox();r[n+1]=a[n+1],r[n+2]=a[n+2]}if(0===r.x2)for(var s=this.parent.axes,u=s.length,l=0;l<u;l++){var c=s[l];if(!c.options.vertical){var p=c.lineBox();r.x1=p.x1,r.x2=p.x2}}return r},e.prototype.clipBox=function(){return this.chartContainer.clipBox},e.prototype.notifyRender=function(){var t=this.getService();t&&t.notify("paneRender",{pane:new Fr(this),index:this.paneIndex,name:this.options.name})},e}(qt),Mo=1;To.prototype.isStackRoot=!0,Ct(To,{zIndex:-1,shrinkToFit:!0,title:{align:p},visible:!0});var Vo=To;function No(t,e){null!==e&&t.push(e)}function Eo(t,e,r){var i=e.visible;if(at(i))return i;var o=t.pointVisibility;return o?o[r]:void 0}function Lo(t){for(var e=t.data,r=[],i=0,o=0,n=0;n<e.length;n++){var a=Yr.current.bindPoint(t,n),s=a.valueFields.value;j(s)&&(s=parseFloat(s)),A(s)?(a.visible=!1!==Eo(t,a.fields,n),a.value=Math.abs(s),r.push(a),a.visible&&(i+=a.value),0!==s&&o++):r.push(null)}return{total:i,points:r,count:o}}function Do(t,e){return t&&e?t.toLowerCase()===e.toLowerCase():t===e}function Bo(t,e){for(var r=[],i=[].concat(e),o=0;o<t.length;o++){var n=t[o];q(n.type,i)&&r.push(n)}return r}function Io(t,e,r){if(null===e)return e;var i="_date_"+t,o=e[i];return o||(o=Qe(r,$(t)(e)),e[i]=o),o}function Ro(t,e){var r=t.type,i=e instanceof Date;return!r&&i||Do(r,l)}function zo(t){return 1===t.length?t[0]:t}var Fo=/area/i;function Ho(t,e){var r=Yr.current.bindPoint(t,null,e).valueFields;for(var i in r)if(k(r[i]))return!0}function Uo(t){var e,r,i=t.start,o=t.dir,n=t.min,a=t.max,s=t.getter,u=t.hasItem,l=t.series,c=i;do{u(c+=o)&&(e=Ho(l,(r=s(c)).item))}while(n<=c&&c<=a&&!e);if(e)return r}function Ko(t,e,r,i,o){var n=e.min,a=e.max,s=n>0&&n<r,u=a+1<r;if(s||u){var l,c,p;if("interpolate"!==function(t){return t.missingValues?t.missingValues:Fo.test(t.type)||t.stack?ti:"interpolate"}(t))s&&(l=i(n-1)),u&&(c=i(a+1));else s&&(l=Ho(t,(p=i(n-1)).item)?p:Uo({start:n,dir:-1,min:0,max:r-1,getter:i,hasItem:o,series:t})),u&&(c=Ho(t,(p=i(a+1)).item)?p:Uo({start:a,dir:1,min:0,max:r-1,getter:i,hasItem:o,series:t}));l&&(t._outOfRangeMinPoint=l),c&&(t._outOfRangeMaxPoint=c)}}var $o=function(t){function e(e,r,i){t.call(this,r),this.initFields(e,r),this.series=e,this.initSeries(),this.charts=[],this.options.legend=this.options.legend||{},this.options.legend.items=[],this.axes=[],this.crosshairs=[],this.chartService=i,this.originalOptions=r,this.createPanes(),this.render(),this.createCrosshairs()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){},e.prototype.initSeries=function(){for(var t=this.series,e=0;e<t.length;e++)t[e].index=e},e.prototype.createPanes=function(){for(var t=this.options.title||{},e=this.options.paneDefaults,r=this.options.panes||[],i=Math.max(r.length,1),o=[],n=V({title:{color:t.color}},e),a=0;a<i;a++){var s=V({},n,r[a]);j(s.title)&&(s.title=V({text:s.title},n.title));var u=new Vo(s);u.paneIndex=a,o.push(u),this.append(u)}this.panes=o},e.prototype.crosshairOptions=function(t){return t.options.crosshair},e.prototype.createCrosshairs=function(t){void 0===t&&(t=this.panes);for(var e=0;e<t.length;e++)for(var r=t[e],i=0;i<r.axes.length;i++){var o=r.axes[i],n=this.crosshairOptions(o);if(n&&n.visible){var a=new Ao(this.chartService,o,n);this.crosshairs.push(a),r.content.append(a)}}},e.prototype.removeCrosshairs=function(t){for(var e=this.crosshairs,r=t.axes,i=e.length-1;i>=0;i--)for(var o=0;o<r.length;o++)if(e[i].axis===r[o]){e.splice(i,1);break}},e.prototype.hideCrosshairs=function(){for(var t=this.crosshairs,e=0;e<t.length;e++)t[e].hide()},e.prototype.findPane=function(t){for(var e,r=this.panes,i=0;i<r.length;i++)if(r[i].options.name===t){e=r[i];break}return e||r[0]},e.prototype.findPointPane=function(t){for(var e,r=this.panes,i=0;i<r.length;i++)if(r[i].box.containsPoint(t)){e=r[i];break}return e},e.prototype.appendAxis=function(t){this.findPane(t.options.pane).appendAxis(t),this.axes.push(t),t.plotArea=this},e.prototype.removeAxis=function(t){for(var e=[],r=0;r<this.axes.length;r++){var i=this.axes[r];t!==i?e.push(i):i.destroy()}this.axes=e},e.prototype.appendChart=function(t,e){this.charts.push(t),e?e.appendChart(t):this.append(t)},e.prototype.removeChart=function(t){for(var e=[],r=0;r<this.charts.length;r++){var i=this.charts[r];i!==t?e.push(i):i.destroy()}this.charts=e},e.prototype.addToLegend=function(t){for(var e=t.length,r=this.options.legend,i=r.labels||{},o=r.inactiveItems||{},n=o.labels||{},a=[],s=0;s<e;s++){var u=t[s],l=!1!==u.visible;if(!1!==u.visibleInLegend){var c=u.name,p=l?H(i):H(n)||H(i);p&&(c=p({text:uo(c)?c:"",series:u}));var h=u._defaults,f=u.color;T(f)&&h&&(f=h.color);var d=void 0,v=void 0;l?(d={},v=f):(d={color:n.color,font:n.font},v=o.markers.color),uo(c)&&""!==c&&a.push({text:c,labels:d,markerColor:v,series:u,active:l})}}ot(r.items,a)},e.prototype.groupAxes=function(t){for(var e=[],r=[],i=0;i<t.length;i++)for(var o=t[i].axes,n=0;n<o.length;n++){var a=o[n];a.options.vertical?r.push(a):e.push(a)}return{x:e,y:r,any:e.concat(r)}},e.prototype.groupSeriesByPane=function(){for(var t=this.series,e={},r=0;r<t.length;r++){var i=t[r],o=this.seriesPaneName(i);e[o]?e[o].push(i):e[o]=[i]}return e},e.prototype.filterVisibleSeries=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];!1!==i.visible&&e.push(i)}return e},e.prototype.reflow=function(t){var e=this.options.plotArea,r=this.panes,i=I(e.margin);this.box=t.clone().unpad(i),this.reflowPanes(),this.detachLabels(),this.reflowAxes(r),this.reflowCharts(r)},e.prototype.redraw=function(t){var e=[].concat(t);this.initSeries();var r=this.getRoot();r&&r.cleanGradients();for(var i=0;i<e.length;i++)this.removeCrosshairs(e[i]),e[i].empty();this.render(e),this.detachLabels(),this.reflowAxes(this.panes),this.reflowCharts(e),this.createCrosshairs(e);for(var o=0;o<e.length;o++)e[o].refresh()},e.prototype.axisCrossingValues=function(t,e){for(var r=t.options,i=[].concat(r.axisCrossingValues||r.axisCrossingValue),o=e.length-i.length,n=i[0]||0,a=0;a<o;a++)i.push(n);return i},e.prototype.alignAxisTo=function(t,e,r,i){var o=t.getSlot(r,r,!0),n=t.options.reverse?2:1,a=e.getSlot(i,i,!0),s=e.options.reverse?2:1,u=t.box.translate(a[m+s]-o[m+n],a[b+s]-o[b+n]);t.pane!==e.pane&&u.translate(0,t.pane.box.y1-e.pane.box.y1),t.reflow(u)},e.prototype.alignAxes=function(t,e){for(var r=t[0],i=e[0],o=this.axisCrossingValues(r,e),n=this.axisCrossingValues(i,t),s={},u={},l={},c={},h=0;h<e.length;h++){var f=e[h],g=f.pane,y=g.id,m=!1!==f.options.visible,b=Yo(t,g)||r,x=o;b!==r&&(x=this.axisCrossingValues(b,e)),this.alignAxisTo(f,b,n[h],x[h]),f.options._overlap||(yt(f.lineBox().x1)===yt(b.lineBox().x1)&&(s[y]&&f.reflow(f.box.alignTo(s[y].box,p).translate(-f.options.margin,0)),m&&(s[y]=f)),yt(f.lineBox().x2)===yt(b.lineBox().x2)&&(f._mirrored||(f.options.labels.mirror=!f.options.labels.mirror,f._mirrored=!0),this.alignAxisTo(f,b,n[h],x[h]),u[y]&&f.reflow(f.box.alignTo(u[y].box,d).translate(f.options.margin,0)),m&&(u[y]=f)),0!==h&&i.pane===f.pane&&(f.alignTo(i),f.reflow(f.box)))}for(var _=0;_<t.length;_++){var C=t[_],w=C.pane,S=w.id,O=!1!==C.options.visible,P=Yo(e,w)||i,A=n;P!==i&&(A=this.axisCrossingValues(P,t)),this.alignAxisTo(C,P,o[_],A[_]),C.options._overlap||(yt(C.lineBox().y1)===yt(P.lineBox().y1)&&(C._mirrored||(C.options.labels.mirror=!C.options.labels.mirror,C._mirrored=!0),this.alignAxisTo(C,P,o[_],A[_]),l[S]&&C.reflow(C.box.alignTo(l[S].box,v).translate(0,-C.options.margin)),O&&(l[S]=C)),yt(C.lineBox().y2,3)===yt(P.lineBox().y2,3)&&(c[S]&&C.reflow(C.box.alignTo(c[S].box,a).translate(0,C.options.margin)),O&&(c[S]=C)),0!==_&&(C.alignTo(r),C.reflow(C.box)))}},e.prototype.shrinkAxisWidth=function(t){for(var e=this.groupAxes(t).any,r=Xo(e),i=0,o=0;o<t.length;o++){var n=t[o];n.axes.length>0&&(i=Math.max(i,r.width()-n.contentBox.width()))}if(0!==i)for(var a=0;a<e.length;a++){var s=e[a];s.options.vertical||s.reflow(s.box.shrink(i,0))}},e.prototype.shrinkAxisHeight=function(t){for(var e,r=0;r<t.length;r++){var i=t[r],o=i.axes,n=Math.max(0,Xo(o).height()-i.contentBox.height());if(0!==n){for(var a=0;a<o.length;a++){var s=o[a];s.options.vertical&&s.reflow(s.box.shrink(0,n))}e=!0}}return e},e.prototype.fitAxes=function(t){for(var e=this.groupAxes(t).any,r=0,i=0;i<t.length;i++){var o=t[i],n=o.axes,a=o.contentBox;if(n.length>0){var s=Xo(n),u=Math.max(a.y1-s.y1,a.y2-s.y2);r=Math.max(r,a.x1-s.x1);for(var l=0;l<n.length;l++){var c=n[l];c.reflow(c.box.translate(0,u))}}}for(var p=0;p<e.length;p++){var h=e[p];h.reflow(h.box.translate(r,0))}},e.prototype.reflowAxes=function(t){for(var e=this.groupAxes(t),r=0;r<t.length;r++)this.reflowPaneAxes(t[r]);e.x.length>0&&e.y.length>0&&(this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t),this.autoRotateAxisLabels(e),this.alignAxes(e.x,e.y),this.shrinkAxisWidth(t)&&this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t),this.alignAxes(e.x,e.y),this.shrinkAxisHeight(t)&&this.alignAxes(e.x,e.y),this.fitAxes(t))},e.prototype.autoRotateAxisLabels=function(t){for(var e,r=this.panes,i=Wo(r),o=0;o<i.length;o++){i[o].autoRotateLabels()&&(e=!0)}if(e){for(var n=0;n<r.length;n++)this.reflowPaneAxes(r[n]);t.x.length>0&&t.y.length>0&&(this.alignAxes(t.x,t.y),this.shrinkAxisWidth(r))}},e.prototype.reflowPaneAxes=function(t){var e=t.axes,r=e.length;if(r>0)for(var i=0;i<r;i++)e[i].reflow(t.contentBox)},e.prototype.reflowCharts=function(t){for(var e=this.charts,r=e.length,i=this.box,o=0;o<r;o++){var n=e[o].pane;n&&!q(n,t)||e[o].reflow(i)}},e.prototype.reflowPanes=function(){for(var t=this.box,e=this.panes,r=e.length,i=t.height(),o=0,n=t.y1,a=0;a<r;a++){var s=e[a],u=s.options.height;if(s.options.width=t.width(),s.options.height){if(u.indexOf&&u.indexOf("%")){var l=parseInt(u,10)/100;s.options.height=l*t.height()}s.reflow(t.clone()),i-=s.options.height}else o++}for(var c=0;c<r;c++){var p=e[c];p.options.height||(p.options.height=i/o)}for(var h=0;h<r;h++){var f=e[h],d=t.clone().move(t.x1,n);f.reflow(d),n+=f.options.height}},e.prototype.backgroundBox=function(){for(var t,e=this.axes,r=e.length,i=0;i<r;i++)for(var o=e[i],n=0;n<r;n++){var a=e[n];if(o.options.vertical!==a.options.vertical){var s=o.lineBox().clone().wrap(a.lineBox());t=t?t.wrap(s):s}}return t||this.box},e.prototype.chartsBoxes=function(){for(var t=this.panes,e=[],r=0;r<t.length;r++)e.push(t[r].chartsBox());return e},e.prototype.addBackgroundPaths=function(t){for(var e=this.chartsBoxes(),r=0;r<e.length;r++)t.paths.push(S.drawing.Path.fromRect(e[r].toRect()))},e.prototype.backgroundContainsPoint=function(t){for(var e=this.chartsBoxes(),r=0;r<e.length;r++)if(e[r].containsPoint(t))return!0},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e,r=this.options.plotArea,i=r.opacity,o=r.background,n=r.border;void 0===n&&(n={}),""!==(e=o)&&null!==e&&"none"!==e&&"transparent"!==e&&at(e)||(o=y,i=0);var a=this._bgVisual=new S.drawing.MultiPath({fill:{color:o,opacity:i},stroke:{color:n.width?n.color:"",width:n.width,dashType:n.dashType},zIndex:-1});this.addBackgroundPaths(a),this.appendVisual(a)},e.prototype.pointsByCategoryIndex=function(t){var e=this.charts,r=[];if(null!==t)for(var i=0;i<e.length;i++){if("_navigator"!==e[i].pane.options.name){var o=e[i].categoryPoints[t];if(o&&o.length)for(var n=0;n<o.length;n++){var a=o[n];a&&at(a.value)&&null!==a.value&&r.push(a)}}}return r},e.prototype.pointsBySeriesIndex=function(t){return this.filterPoints((function(e){return e.series.index===t}))},e.prototype.pointsBySeriesName=function(t){return this.filterPoints((function(e){return e.series.name===t}))},e.prototype.filterPoints=function(t){for(var e=this.charts,r=[],i=0;i<e.length;i++)for(var o=e[i].points,n=0;n<o.length;n++){var a=o[n];a&&!1!==a.visible&&t(a)&&r.push(a)}return r},e.prototype.findPoint=function(t){for(var e=this.charts,r=0;r<e.length;r++)for(var i=e[r].points,o=0;o<i.length;o++){var n=i[o];if(n&&!1!==n.visible&&t(n))return n}},e.prototype.paneByPoint=function(t){for(var e=this.panes,r=0;r<e.length;r++){var i=e[r];if(i.box.containsPoint(t))return i}},e.prototype.detachLabels=function(){var t=this.groupAxes(this.panes),e=t.x,r=t.y;this.detachAxisGroupLabels(r,e),this.detachAxisGroupLabels(e,r)},e.prototype.detachAxisGroupLabels=function(t,e){for(var r=0,i=0;i<t.length;i++){var o=t[i],n=o.pane,a=Yo(e,n)||e[0],s=i+r,u=this.createLabelAxis(o,s,a);if(u){r++;var l=n.axes.indexOf(o)+r;n.appendAxisAt(u,l)}}},e.prototype.createLabelAxis=function(t,e,r){var i=t.options.labels,o=i.position,n="end"!==o&&"start"!==o,a=i.visible;if(n||!1===a)return null;var s=this.groupAxes(this.panes),u=r.options.vertical?s.x:s.y,l=this.axisCrossingValues(r,u),c="end"===o,p=r.range(),h=c?p.max:p.min;if(dt(l[e],p.min,p.max)-h==0)return null;l.splice(e+1,0,h),r.options.axisCrossingValues=l;var f=t.clone();return t.clear(),f.options.name=void 0,f.options.line.visible=!1,f.options.crosshair=void 0,f.options.notes=void 0,f.options.plotBands=void 0,f},e}(Yt);function Go(t){return!t.pane.axes.some((function(e){return e.options.vertical===t.options.vertical&&e!==t&&!1!==e.options.visible}))}function Xo(t){for(var e,r=t.length,i=0;i<r;i++){var o=t[i],n=!1!==o.options.visible;if(n||Go(o)){var a=n?o.contentBox():o.lineBox();e?e.wrap(a):e=a.clone()}}return e||new Ft}function Yo(t,e){for(var r=0;r<t.length;r++){var i=t[r];if(i&&i.pane===e)return i}}var Wo=function(t){return t.reduce((function(t,e){return t.concat(e.axes)}),[])};Ct($o,{series:[],plotArea:{margin:{}},background:"",border:{color:n,width:0},paneDefaults:{title:{}},legend:{inactiveItems:{labels:{color:"#919191"},markers:{color:"#919191"}}}});var qo=$o,Zo={hover:function(t,e){this._dispatchEvent(t,e,"plotAreaHover")},click:function(t,e){this._dispatchEvent(t,e,"plotAreaClick")}};function Qo(t,e,r){var i=e,o=t;if(t.indexOf(".")>-1){for(var n=t.split(".");n.length>1;)o=n.shift(),at(i[o])||(i[o]={}),i=i[o];o=n.shift()}i[o]=r}var Jo=function(t){function e(e,r,i){t.call(this);var o=r.canonicalFields(e),n=r.valueFields(e),a=r.sourceFields(e,o),s=this._seriesFields=[],u=i.query(e.type),l=e.aggregate||u;this._series=e,this._binder=r;for(var c=0;c<o.length;c++){var p=o[c],h=void 0;if(N(l))h=l[p];else{if(0!==c&&!q(p,n))break;h=l}h&&s.push({canonicalName:p,name:a[c],transform:T(h)?h:$r[h]})}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aggregatePoints=function(t,e){var r=this._series,i=this._seriesFields,o=this._bindPoints(t||[]),n=o.dataItems[0],a={};if(n&&!A(n)&&!x(n)){var s=function(){};s.prototype=n,a=new s}for(var u=0;u<i.length;u++){var l=i[u],c=this._bindField(o.values,l.canonicalName),p=l.transform(c,r,o.dataItems,e);if(!(null===p||!N(p)||at(p.length)||p instanceof Date)){a=p;break}at(p)&&Qo(l.name,a,p)}return a},e.prototype._bindPoints=function(t){for(var e=this._binder,r=this._series,i=[],o=[],n=0;n<t.length;n++){var a=t[n];i.push(e.bindPoint(r,a)),o.push(r.data[a])}return{values:i,dataItems:o}},e.prototype._bindField=function(t,e){for(var r=[],i=t.length,o=0;o<i;o++){var n=t[o],a=n.valueFields,s=void 0;s=at(a[e])?a[e]:n.fields[e],r.push(s)}return r},e}(S.Class),tn=function(t){function e(){t.call(this),this._defaults={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){for(var r=0;r<t.length;r++)this._defaults[t[r]]=e},e.prototype.query=function(t){return this._defaults[t]},e}(S.Class);tn.current=new tn;var en=tn,rn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createLabel=function(){var t=this.options.labels,e=V({},t,t.from),r=V({},t,t.to);e.visible&&(this.labelFrom=this._createLabel(e),this.append(this.labelFrom)),r.visible&&(this.labelTo=this._createLabel(r),this.append(this.labelTo))},e.prototype._createLabel=function(t){var e,r=H(t),i=this.pointData();return e=r?r(i):this.formatValue(t.format),new zi(e,V({vertical:this.options.vertical},t),i)},e.prototype.reflow=function(t){this.render();var e=this.labelFrom,r=this.labelTo,i=this.value;this.box=t,e&&(e.options.aboveAxis=i.from>i.to,e.reflow(t)),r&&(r.options.aboveAxis=i.to>i.from,r.reflow(t)),this.note&&this.note.reflow(t)},e}(Ui);rn.prototype.defaults=V({},rn.prototype.defaults,{labels:{format:"{0} - {1}"},tooltip:{format:"{1}"}});var on=rn,nn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return on},e.prototype.pointValue=function(t){return t.valueFields},e.prototype.formatPointValue=function(t,e){return null===t.value.from&&null===t.value.to?"":this.chartService.format.auto(e,t.value.from,t.value.to)},e.prototype.plotRange=function(t){return t?[t.value.from,t.value.to]:0},e.prototype.updateRange=function(t,e){var r=e.series.axis,i=t.from,o=t.to,n=this.valueAxisRanges[r];null!==t&&A(i)&&A(o)&&((n=this.valueAxisRanges[r]=n||{min:h,max:f}).min=Math.min(n.min,i),n.max=Math.max(n.max,i),n.min=Math.min(n.min,o),n.max=Math.max(n.max,o))},e.prototype.aboveAxis=function(t){var e=t.value;return e.from<e.to},e}(Zi);nn.prototype.plotLimits=di.prototype.plotLimits;var an=nn,sn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.aliasFor=function(){return this.parent},e}(mi),un=function(t){function e(e,r){t.call(this),this.value=e,this.options=r,this.aboveAxis=bt(this.options.aboveAxis,!0),this.tooltipTracking=!0,this.initLabelsFormat()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){if(!this._rendered){this._rendered=!0;var t=this.options,e=t.markers,r=t.labels,i=this.value,o=this.fromPoint=new sn(i,V({},this.options,{labels:r.from,markers:e.from})),n=this.toPoint=new sn(i,V({},this.options,{labels:r.to,markers:e.to}));this.copyFields(o),this.copyFields(n),this.append(o),this.append(n)}},e.prototype.reflow=function(t){this.render();var e=t.from,r=t.to;this.positionLabels(e,r),this.fromPoint.reflow(e),this.toPoint.reflow(r),this.box=this.fromPoint.markerBox().clone().wrap(this.toPoint.markerBox())},e.prototype.createHighlight=function(){var t=new S.drawing.Group;return t.append(this.fromPoint.createHighlight()),t.append(this.toPoint.createHighlight()),t},e.prototype.highlightVisual=function(){return this.visual},e.prototype.highlightVisualArgs=function(){return{options:this.options,from:this.fromPoint.highlightVisualArgs(),to:this.toPoint.highlightVisualArgs()}},e.prototype.tooltipAnchor=function(){var t=this.owner.pane.clipBox();if(!t||t.overlaps(this.box)){var e,r,i,o=this.box,n=o.center();return this.options.vertical?(e=n.x,r=o.y1-5,i=a):(e=o.x2+5,r=n.y,i=s),{point:new Rt(e,r),align:{horizontal:"left",vertical:i}}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){this.fromPoint.unclipElements(),this.toPoint.unclipElements()},e.prototype.initLabelsFormat=function(){var t=this.options.labels;t.format||(t.from&&t.from.format||(t.from=Object.assign({},t.from,{format:"{0}"})),t.to&&t.to.format||(t.to=Object.assign({},t.to,{format:"{1}"})))},e.prototype.positionLabels=function(t,e){var r,i,o=this.options,n=o.labels,a=o.vertical;"auto"===n.position&&(a?e.y1<=t.y1?(i="above",r="below"):(i="below",r="above"):e.x1<=t.x1?(i=p,r=d):(i=d,r=p),n.from&&n.from.position||(this.fromPoint.options.labels.position=r),n.to&&n.to.position||(this.toPoint.options.labels.position=i))},e.prototype.copyFields=function(t){t.dataItem=this.dataItem,t.category=this.category,t.series=this.series,t.color=this.color,t.owner=this.owner},e}(Yt);V(un.prototype,vi),V(un.prototype,gi),un.prototype.defaults={markers:{visible:!1,background:y,size:8,type:u,border:{width:2},opacity:1},labels:{visible:!1,margin:I(3),padding:I(4),animation:{type:"fadeIn",delay:600},position:"auto"},notes:{label:{}},highlight:{markers:{border:{color:y,width:2}},zIndex:100},tooltip:{format:"{0} - {1}"}};var ln=un,cn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.toGeometryPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.toGeometryPoints(this.fromPoints().reverse()))),t},e.prototype.createStroke=function(t){var e=new S.drawing.Path(t),r=new S.drawing.Path(t);e.segments.push.apply(e.segments,this.strokeSegments()),r.segments.push.apply(r.segments,this.stackSegments()),this.visual.append(e),this.visual.append(r)},e.prototype.hasStackSegment=function(){return!0},e.prototype.fromPoints=function(){return this.linePoints.map((function(t){return t.fromPoint}))},e.prototype.toPoints=function(){return this.linePoints.map((function(t){return t.toPoint}))},e}(Ni),pn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.createCurveSegments(this.toPoints())},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.createCurveSegments(this.fromPoints().reverse())),t},e.prototype.createCurveSegments=function(t){return(new Br).process(this.toGeometryPoints(t))},e}(cn),hn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createStrokeSegments=function(){return this.segmentsFromPoints(this.calculateStepPoints(this.toPoints()))},e.prototype.stackSegments=function(){var t=this.fromSegments;return this.fromSegments||(t=this.fromSegments=this.segmentsFromPoints(this.calculateStepPoints(this.fromPoints()))).reverse(),t},e}(cn);V(hn.prototype,Ci);var fn=hn,dn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.pointType=function(){return ln},e.prototype.createPoint=function(t,e){var r=e.categoryIx,i=e.category,o=e.series,n=e.seriesIx,a=t.valueFields;if(!uo(a.from)&&!uo(a.to)){if(this.seriesMissingValues(o)!==ti)return null;a={from:0,to:0}}var s=this.pointOptions(o,n);s=this.evalPointOptions(s,a,i,r,o,n);var u=t.fields.color||o.color;T(o.color)&&(u=s.color);var l=new ln(a,s);return l.color=u,this.append(l),l},e.prototype.createSegment=function(t,e,r){var i=(e.line||{}).style;return new("smooth"===i?pn:"step"===i?fn:cn)(t,e,r)},e.prototype.plotRange=function(t,e){return t?[t.value.from,t.value.to]:[e,e]},e.prototype.valueSlot=function(t,e){var r=t.getSlot(e[0],e[0],!this.options.clip),i=t.getSlot(e[1],e[1],!this.options.clip);if(r&&i)return{from:r,to:i}},e.prototype.pointSlot=function(t,e){var r,i,o=e.from,n=e.to;return this.options.invertAxes?(r=new Ft(o.x1,t.y1,o.x2,t.y2),i=new Ft(n.x1,t.y1,n.x2,t.y2)):(r=new Ft(t.x1,o.y1,t.x2,o.y2),i=new Ft(t.x1,n.y1,t.x2,n.y2)),{from:r,to:i}},e.prototype.addValue=function(e,r){var i=e.valueFields;A(i.from)||(i.from=i.to),A(i.to)||(i.to=i.from),t.prototype.addValue.call(this,e,r)},e.prototype.updateRange=function(t,e){if(null!==t&&A(t.from)&&A(t.to)){var r=e.series.axis,i=this.valueAxisRanges[r]=this.valueAxisRanges[r]||{min:h,max:f},o=t.from,n=t.to;i.min=Math.min(i.min,o,n),i.max=Math.max(i.max,o,n)}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.from,r.to)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++){var i=t[r];i&&(e.push((i.fromPoint||{}).marker),e.push((i.toPoint||{}).marker))}return e.concat(this._segments)},e}(di);V(dn.prototype,Pi,Ti);var vn=dn,gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=this.value,i=this.owner.seriesValueAxis(e),o=[],n=[],a=[],s=i.getSlot(r.low,r.high),u=i.getSlot(r.open,r.open),l=i.getSlot(r.close,r.close);u.x1=l.x1=s.x1=t.x1,u.x2=l.x2=s.x2=t.x2;var c=s.center().x;o.push([u.x1,u.y1]),o.push([c,u.y1]),n.push([c,l.y1]),n.push([l.x2,l.y1]),a.push([c,s.y1]),a.push([c,s.y2]),this.lines=[o,n,a],this.box=s.clone().wrap(u.clone().wrap(l)),this.reflowNote()},e.prototype.createBody=function(){},e}(Ji),yn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return gn},e}(ro),mn=function(t){function e(e,r,i){t.call(this),this.from=e,this.to=r,this.series=i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.linePoints=function(){var t=this.from,e=this.from.box,r=this.to.box,i=[];if(t.isVertical){var o=t.aboveAxis?e.y1:e.y2;i.push([e.x1,o],[r.x2,o])}else{var n=t.aboveAxis?e.x2:e.x1;i.push([n,e.y1],[n,r.y2])}return i},e.prototype.createVisual=function(){t.prototype.createVisual.call(this);var e=this.series.line||{},r=S.drawing.Path.fromPoints(this.linePoints(),{stroke:{color:e.color,width:e.width,opacity:e.opacity,dashType:e.dashType}});O(r),this.visual.append(r)},e}(Yt);Ct(mn,{animation:{type:"fadeIn",delay:600}});var bn=mn,xn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.createSegments()},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=hi(e),i=!this.options.invertAxes,o=0;o<e.length;o++)for(var n=e[o],a=0,s=0,u=0;u<r;u++){var l=Yr.current.bindPoint(n,u),c=l.valueFields.value,p=l.fields.summary,h=a,f=void 0;p?"total"===p.toLowerCase()?(l.valueFields.value=a,h=0,f=a):(l.valueFields.value=s,f=h-s,s=0):A(c)&&(s+=c,f=a+=c),t(l,{category:this.categoryAxis.categoryAt(u),categoryIx:u,series:n,seriesIx:o,total:a,runningTotal:s,from:h,to:f,isVertical:i})}},e.prototype.updateRange=function(e,r){t.prototype.updateRange.call(this,{value:r.to},r)},e.prototype.aboveAxis=function(t){return t.value>=0},e.prototype.plotRange=function(t){return[t.from,t.to]},e.prototype.createSegments=function(){for(var t=this.options.series,e=this.seriesPoints,r=this.segments=[],i=0;i<t.length;i++){var o=t[i],n=e[i];if(n)for(var a=void 0,s=0;s<n.length;s++){var u=n[s];if(u&&a){var l=new bn(a,u,o);r.push(l),this.append(l)}a=u}}},e}(Zi),_n=["area","verticalArea","rangeArea","verticalRangeArea"],Cn=[ii,ni].concat(_n),wn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(t){if(this.namedCategoryAxes={},this.namedValueAxes={},this.valueAxisRangeTracker=new Ii,t.length>0){this.invertAxes=q(t[0].type,[ei,"bullet",ni,"verticalArea","verticalRangeArea","rangeBar","horizontalWaterfall","verticalBoxPlot"]);for(var e=0;e<t.length;e++){var r=t[e].stack;if(r&&"100%"===r.type){this.stack100=!0;break}}}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.createCategoryAxes(t),this.aggregateCategories(t),this.createCategoryAxesLabels(t),this.createCharts(t),this.createValueAxes(t)},e.prototype.removeAxis=function(e){var r=e.options.name;t.prototype.removeAxis.call(this,e),e instanceof rr?delete this.namedCategoryAxes[r]:(this.valueAxisRangeTracker.reset(r),delete this.namedValueAxes[r]),e===this.categoryAxis&&delete this.categoryAxis,e===this.valueAxis&&delete this.valueAxis},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),r=0;r<t.length;r++){var i=t[r],o=e[i.options.name||"default"]||[];this.addToLegend(o);var n=this.filterVisibleSeries(o);if(n)for(var a=this.groupSeriesByCategoryAxis(n),s=0;s<a.length;s++)this.createChartGroup(a[s],i)}},e.prototype.createChartGroup=function(t,e){this.createAreaChart(Bo(t,["area","verticalArea"]),e),this.createRangeAreaChart(Bo(t,["rangeArea","verticalRangeArea"]),e),this.createBarChart(Bo(t,[ri,ei]),e),this.createRangeBarChart(Bo(t,["rangeColumn","rangeBar"]),e),this.createBulletChart(Bo(t,["bullet","verticalBullet"]),e),this.createCandlestickChart(Bo(t,"candlestick"),e),this.createBoxPlotChart(Bo(t,["boxPlot","verticalBoxPlot"]),e),this.createOHLCChart(Bo(t,"ohlc"),e),this.createWaterfallChart(Bo(t,["waterfall","horizontalWaterfall"]),e),this.createLineChart(Bo(t,[ii,ni]),e)},e.prototype.aggregateCategories=function(t){var e=this.srcSeries||this.series,r=[];this._currentPointsCache={},this._seriesPointsCache=this._seriesPointsCache||{};for(var i=0;i<e.length;i++){var o=e[i],n=this.seriesCategoryAxis(o),a=this.findPane(n.options.pane);o=(Do(n.options.type,l)||o.categoryField)&&q(a,t)?this.aggregateSeries(o,n):this.filterSeries(o,n),r.push(o)}this._seriesPointsCache=this._currentPointsCache,this._currentPointsCache=null,this.srcSeries=e,this.series=r},e.prototype.filterSeries=function(t,e){var r=(t.data||{}).length;if(e._seriesMax=Math.max(e._seriesMax||0,r),!A(e.options.min)&&!A(e.options.max))return t;var i=e.currentRangeIndices(),o=q(t.type,Cn),n=V({},t);return n.data=(n.data||[]).slice(i.min,i.max+1),o&&Ko(n,i,r,(function(r){return{item:t.data[r],category:e.categoryAt(r,!0),categoryIx:r-i.min}}),(function(e){return at(t.data[e])})),n},e.prototype.clearSeriesPointsCache=function(){this._seriesPointsCache={}},e.prototype.seriesSourcePoints=function(t,e){var r=t.index+";"+e.categoriesHash();if(this._seriesPointsCache[r])return this._currentPointsCache[r]=this._seriesPointsCache[r],this._seriesPointsCache[r];var i=e.options,o=i.srcCategories,n=Do(i.type,l),a=t.data,s=n?Io:Gr,u=[];n||e.mapCategories();for(var c=0;c<a.length;c++){var p=void 0;if(p=t.categoryField?s(t.categoryField,a[c],this.chartService.intl):o[c],at(p)&&null!==p){var h=e.totalIndex(p);u[h]=u[h]||{items:[],category:p},u[h].items.push(c)}}return this._currentPointsCache[r]=u,u},e.prototype.aggregateSeries=function(t,e){if(!t.data.length)return t;for(var r=this.seriesSourcePoints(t,e),i=V({},t),o=new Jo(V({},t),Yr.current,en.current),n=i.data=[],a=e.options.dataItems||[],s=e.currentRangeIndices(),u=function(t){var i=t-s.min,n=r[t];if(n||(n=r[t]={}),n.categoryIx=i,!n.item){var a=e.categoryAt(t,!0);n.category=a,n.item=o.aggregatePoints(n.items,a)}return n},l=s.min;l<=s.max;l++){var c=u(l);n[c.categoryIx]=c.item,c.items&&c.items.length&&(a[c.categoryIx]=c.item)}return q(i.type,Cn)&&Ko(i,s,e.totalCount(),u,(function(t){return r[t]})),e.options.dataItems=a,i},e.prototype.appendChart=function(e,r){var i=e.options.series,o=this.seriesCategoryAxis(i[0]),n=o.options.categories,a=Math.max(0,hi(i)-n.length);if(a>0)for(n=o.options.categories=o.options.categories.slice(0);a--;)n.push("");this.valueAxisRangeTracker.update(e.valueAxisRanges),t.prototype.appendChart.call(this,e,r)},e.prototype.seriesPaneName=function(t){var e=this.options,r=t.axis,i=G([].concat(e.valueAxis),(function(t){return t.name===r}))[0],o=((e.panes||[{}])[0]||{}).name||"default";return(i||{}).pane||o},e.prototype.seriesCategoryAxis=function(t){var e=t.categoryAxis,r=e?this.namedCategoryAxes[e]:this.categoryAxis;if(!r)throw new Error("Unable to locate category axis with name "+e);return r},e.prototype.stackableChartOptions=function(t,e){var r=t.stack;return{isStacked:r,isStacked100:r&&"100%"===r.type,clip:e.options.clip}},e.prototype.groupSeriesByCategoryAxis=function(t){for(var e=[],r={},i=0;i<t.length;i++){var o=t[i].categoryAxis||"$$default$$";r.hasOwnProperty(o)||(r[o]=!0,e.push(o))}for(var n=[],a=0;a<e.length;a++){var s=On(t,e[a],a);0!==s.length&&n.push(s)}return n},e.prototype.createBarChart=function(t,e){if(0!==t.length){var r=t[0],i=new Zi(this,Object.assign({series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing},this.stackableChartOptions(r,e)));this.appendChart(i,e)}},e.prototype.createRangeBarChart=function(t,e){if(0!==t.length){var r=t[0],i=new an(this,{series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing});this.appendChart(i,e)}},e.prototype.createBulletChart=function(t,e){if(0!==t.length){var r=t[0],i=new _o(this,{series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var r=t[0],i=new Vi(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(r,e)));this.appendChart(i,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var r=t[0],i=new Bi(this,Object.assign({invertAxes:this.invertAxes,series:t},this.stackableChartOptions(r,e)));this.appendChart(i,e)}},e.prototype.createRangeAreaChart=function(t,e){if(0!==t.length){var r=new vn(this,{invertAxes:this.invertAxes,series:t,clip:e.options.clip});this.appendChart(r,e)}},e.prototype.createOHLCChart=function(t,e){if(0!==t.length){var r=t[0],i=new yn(this,{invertAxes:this.invertAxes,gap:r.gap,series:t,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createCandlestickChart=function(t,e){if(0!==t.length){var r=t[0],i=new ro(this,{invertAxes:this.invertAxes,gap:r.gap,series:t,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createBoxPlotChart=function(t,e){if(0!==t.length){var r=t[0],i=new ao(this,{invertAxes:this.invertAxes,gap:r.gap,series:t,spacing:r.spacing,clip:e.options.clip});this.appendChart(i,e)}},e.prototype.createWaterfallChart=function(t,e){if(0!==t.length){var r=t[0],i=new xn(this,{series:t,invertAxes:this.invertAxes,gap:r.gap,spacing:r.spacing});this.appendChart(i,e)}},e.prototype.axisRequiresRounding=function(t,e){for(var r=Bo(this.series,ai),i=0;i<this.series.length;i++){var o=this.series[i];if(q(o.type,_n)){var n=o.line;n&&"step"===n.style&&r.push(o)}}for(var a=0;a<r.length;a++){var s=r[a].categoryAxis||"";if(s===t||!s&&0===e)return!0}},e.prototype.aggregatedAxis=function(t,e){for(var r=this.series,i=0;i<r.length;i++){var o=r[i].categoryAxis||"";if((o===t||!o&&0===e)&&r[i].categoryField)return!0}},e.prototype.createCategoryAxesLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e]instanceof rr&&t[e].createLabels()},e.prototype.createCategoryAxes=function(t){for(var e=this.invertAxes,r=[].concat(this.options.categoryAxis),i=[],o=0;o<r.length;o++){var n=r[o];if(q(this.findPane(n.pane),t)){var a=n.name,s=n.categories;void 0===s&&(s=[]),n=V({vertical:e,reverse:!e&&this.chartService.rtl,axisCrossingValue:e?h:0},n),at(n.justified)||(n.justified=this.isJustified()),this.axisRequiresRounding(a,o)&&(n.justified=!1);var u=void 0;if(u=Ro(n,s[0])?new pr(n,this.chartService):new rr(n,this.chartService),r[o].categories=u.options.srcCategories,a){if(this.namedCategoryAxes[a])throw new Error("Category axis with name "+a+" is already defined");this.namedCategoryAxes[a]=u}u.axisIndex=o,i.push(u),this.appendAxis(u)}}var l=this.categoryAxis||i[0];this.categoryAxis=l,e?this.axisY=l:this.axisX=l},e.prototype.isJustified=function(){for(var t=this.series,e=0;e<t.length;e++){if(!q(t[e].type,_n))return!1}return!0},e.prototype.createValueAxes=function(t){var e=this.valueAxisRangeTracker,r=e.query(),i=[].concat(this.options.valueAxis),o=this.invertAxes,n={vertical:!o,reverse:o&&this.chartService.rtl},a=[];this.stack100&&(n.roundToMajorUnit=!1,n.labels={format:"P0"});for(var s=0;s<i.length;s++){var u=i[s];if(q(this.findPane(u.pane),t)){var l=u.name,c=Do(u.type,"log")?{min:.1,max:1}:{min:0,max:1},p=e.query(l)||r||c;0===s&&p&&r&&(p.min=Math.min(p.min,r.min),p.max=Math.max(p.max,r.max));var h=new(Do(u.type,"log")?Sr:mr)(p.min,p.max,V({},n,u),this.chartService);if(l){if(this.namedValueAxes[l])throw new Error("Value axis with name "+l+" is already defined");this.namedValueAxes[l]=h}h.axisIndex=s,a.push(h),this.appendAxis(h)}}var f=this.valueAxis||a[0];this.valueAxis=f,o?this.axisX=f:this.axisY=f},e.prototype._dispatchEvent=function(t,e,r){var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.pointPane(o),a=[],s=[];if(n){for(var u=n.axes,l=0;l<u.length;l++){var c=u[l];c.getValue?No(s,c.getValue(o)):No(a,c.getCategory(o))}0===a.length&&No(a,this.categoryAxis.getCategory(o)),a.length>0&&s.length>0&&t.trigger(r,{element:pt(e),originalEvent:e,category:zo(a),value:zo(s)})}},e.prototype.pointPane=function(t){for(var e=this.panes,r=0;r<e.length;r++){var i=e[r];if(i.contentBox.containsPoint(t))return i}},e.prototype.updateAxisOptions=function(t,e){Sn(this.options,t,e),Sn(this.originalOptions,t,e)},e}(qo);function Sn(t,e,r){V([].concat(e instanceof rr?t.categoryAxis:t.valueAxis)[e.axisIndex],r)}function On(t,e,r){return G(t,(function(t){return 0===r&&!t.categoryAxis||t.categoryAxis===e}))}Ct(wn,{categoryAxis:{},valueAxis:{}}),V(wn.prototype,Zo);var Pn=wn;function An(){this._defaultPrevented=!0}var jn=function(t){function e(){t.call(this),this._points=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._points=[]},e.prototype.show=function(t,e){var r=[].concat(t);this.hide();for(var i=0;i<r.length;i++){var o=r[i];o&&o.toggleHighlight&&o.hasHighlight()&&(this.togglePointHighlight(o,!0,e),this._points.push(o))}},e.prototype.togglePointHighlight=function(t,e,r){var i=(t.options.highlight||{}).toggle;if(i){var o={category:t.category,series:t.series,dataItem:t.dataItem,value:t.value,stackValue:t.stackValue,preventDefault:An,visual:t.highlightVisual(),show:e};i(o),o._defaultPrevented||t.toggleHighlight(e,r)}else t.toggleHighlight(e,r)},e.prototype.hide=function(){for(var t=this._points;t.length;)this.togglePointHighlight(t.pop(),!1)},e.prototype.isHighlighted=function(t){for(var e=this._points,r=0;r<e.length;r++){if(t===e[r])return!0}return!1},e}(S.Class);function kn(t,e){var r=(e||"").toLowerCase(),i=t.event;return"none"===r&&!(i.ctrlKey||i.shiftKey||i.altKey)||i[r+"Key"]}function Tn(t){for(var e={},r=0;r<t.length;r++){var i=t[r];i.axis.options.name&&(e[i.axis.options.name]={min:i.range.min,max:i.range.max})}return e}var Mn=function(t){function e(e,r){t.call(this),this.plotArea=e,this.options=V({},this.options,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.start=function(t){return this._active=kn(t,this.options.key),this._active},e.prototype.move=function(t){if(this._active){var e=this.axisRanges=this._panAxes(t,m).concat(this._panAxes(t,b));if(e.length)return this.axisRanges=e,Tn(e)}},e.prototype.end=function(){var t=this._active;return this._active=!1,t},e.prototype.pan=function(){var t=this.plotArea,e=this.axisRanges;if(e.length){for(var r=0;r<e.length;r++){var i=e[r];t.updateAxisOptions(i.axis,i.range)}t.redraw(t.panes)}},e.prototype.destroy=function(){delete this.plotArea},e.prototype._panAxes=function(t,e){var r=this.plotArea,i=-t[e].delta,o=(this.options.lock||"").toLowerCase(),n=[];if(0!==i&&(o||"").toLowerCase()!==e)for(var a=r.axes,s=0;s<a.length;s++){var u=a[s];if(e===m&&!u.options.vertical||e===b&&u.options.vertical){var l=u.pan(i);l&&(l.limitRange=!0,n.push({axis:u,range:l}))}}return n},e}(S.Class);Mn.prototype.options={key:"none",lock:"none"};var Vn=Mn,Nn=function(t){function e(e,r){t.call(this),this.chart=e,this.options=V({},this.options,r),this.createElement()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElement=function(){var t=this._marquee=document.createElement("div");t.className="k-marquee";var e=document.createElement("div");e.className="k-marquee-color",t.appendChild(e)},e.prototype.removeElement=function(){this._marquee.parentNode&&this._marquee.parentNode.removeChild(this._marquee)},e.prototype.setStyles=function(t){B(this._marquee,t)},e.prototype.start=function(t){if(kn(t,this.options.key)){var e=this.chart,r=e._eventCoordinates(t),i=this._zoomPane=e._plotArea.paneByPoint(r),o=i?i.chartsBox().clone():null;if(i&&o){var n=this._elementOffset();return o.translate(n.left,n.top),this._zoomPaneClipBox=o,document.body.appendChild(this._marquee),this.setStyles({left:t.pageX+1,top:t.pageY+1,width:0,height:0}),!0}}return!1},e.prototype._elementOffset=function(){var t=this.chart.element,e=B(t,["paddingLeft","paddingTop"]),r=e.paddingLeft,i=e.paddingTop,o=ut(t);return{left:r+o.left,top:i+o.top}},e.prototype.move=function(t){this._zoomPane&&this.setStyles(this._selectionPosition(t))},e.prototype.end=function(t){if(this._zoomPane){var e=this._elementOffset(),r=this._selectionPosition(t);r.left-=e.left,r.top-=e.top;var i={x:r.left,y:r.top},o={x:r.left+r.width,y:r.top+r.height};return this._updateAxisRanges(i,o),this.removeElement(),delete this._zoomPane,Tn(this.axisRanges)}},e.prototype.zoom=function(){var t=this.axisRanges;if(t&&t.length){for(var e=this.chart._plotArea,r=0;r<t.length;r++){var i=t[r];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){this.removeElement(),delete this._marquee,delete this.chart},e.prototype._updateAxisRanges=function(t,e){for(var r=(this.options.lock||"").toLowerCase(),i=[],o=this._zoomPane.axes,n=0;n<o.length;n++){var a=o[n],s=a.options.vertical;if((r!==m||s)&&(r!==b||!s)&&at(a.axisIndex)){var u=a.pointsRange(t,e);u&&i.push({axis:a,range:u})}}this.axisRanges=i},e.prototype._selectionPosition=function(t){var e=this._zoomPaneClipBox,r={x:t.x.startLocation,y:t.y.startLocation},i=t.x.location,o=t.y.location,n=(this.options.lock||"").toLowerCase(),a=Math.min(r.x,i),s=Math.min(r.y,o),u=Math.abs(r.x-i),l=Math.abs(r.y-o);return n===m&&(a=e.x1,u=e.width()),n===b&&(s=e.y1,l=e.height()),i>e.x2&&(u=e.x2-r.x),i<e.x1&&(u=r.x-e.x1),o>e.y2&&(l=e.y2-r.y),o<e.y1&&(l=r.y-e.y1),{left:Math.max(a,e.x1),top:Math.max(s,e.y1),width:u,height:l}},e}(S.Class);Nn.prototype.options={key:"shift",lock:"none"};var En=Nn,Ln=function(t){function e(e,r){t.call(this),this.chart=e,this.options=V({rate:.3},this.options,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.updateRanges=function(t,e){for(var r=(this.options.lock||"").toLowerCase(),i=[],o=this.chart._plotArea.axes,n=0;n<o.length;n++){var a=o[n],s=a.options.vertical;if((r!==m||s)&&(r!==b||!s)&&a.zoomRange){var u=dt(this.options.rate,.01,.9),l=a.zoomRange(-t*u,e);l&&i.push({axis:a,range:l})}}return this.axisRanges=i,Tn(i)},e.prototype.zoom=function(){var t=this.axisRanges,e=this.chart._plotArea;if(t&&t.length&&e.updateAxisOptions){for(var r=0;r<t.length;r++){var i=t[r];e.updateAxisOptions(i.axis,i.range)}e.redraw(e.panes)}},e.prototype.destroy=function(){delete this.chart},e}(S.Class),Dn=function(t){function e(e,r){t.call(this,e),this.chartService=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.children,e=this.options,r=e.vertical;this.visual=new S.drawing.Layout(null,{spacing:r?0:e.spacing,lineSpacing:r?e.spacing:0,orientation:r?"vertical":"horizontal",reverse:e.rtl,alignItems:r?"start":"center"});for(var i=0;i<t.length;i++){var o=t[i];o.reflow(new Ft),o.renderVisual()}},e.prototype.reflow=function(t){this.visual.rect(t.toRect()),this.visual.reflow();var e=this.visual.clippedBBox();this.box=e?ue(e):new Ft},e.prototype.renderVisual=function(){this.addVisual()},e.prototype.createVisual=function(){},e}(Yt),Bn=function(t){function e(e){t.call(this,e),this.createContainer(),e.rtl?(this.createLabel(),this.createMarker()):(this.createMarker(),this.createLabel())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainer=function(){this.container=new oe({vertical:!1,wrap:!1,align:s,spacing:this.options.spacing}),this.append(this.container)},e.prototype.createMarker=function(){this.container.append(new Qt(this.markerOptions()))},e.prototype.markerOptions=function(){var t=this.options,e=t.markerColor;return V({},t.markers,{background:e,border:{color:e}})},e.prototype.createLabel=function(){var t=this.options,e=V({},t.labels);this.container.append(new ce(t.text,e))},e.prototype.renderComplete=function(){t.prototype.renderComplete.call(this);var e=this.options.cursor||{},r=this._itemOverlay=S.drawing.Path.fromRect(this.container.box.toRect(),{fill:{color:y,opacity:0},stroke:null,cursor:e.style||e});this.appendVisual(r)},e.prototype.click=function(t,e){var r=this.eventArgs(e);!t.trigger("legendItemClick",r)&&e&&"contextmenu"===e.type&&e.preventDefault()},e.prototype.over=function(t,e){var r=this.eventArgs(e);return t.trigger("legendItemHover",r)||t._legendItemHover(r.seriesIndex,r.pointIndex),!0},e.prototype.out=function(t,e){t._unsetActivePoint(),t.trigger("legendItemLeave",this.eventArgs(e))},e.prototype.eventArgs=function(t){var e=this.options;return{element:pt(t),text:e.text,series:e.series,seriesIndex:e.series.index,pointIndex:e.pointIndex}},e.prototype.renderVisual=function(){var e=this,r=this.options,i=r.visual;i?(this.visual=i({active:r.active,series:r.series,sender:this.getSender(),pointIndex:r.pointIndex,options:{markers:this.markerOptions(),labels:r.labels},createVisual:function(){e.createVisual(),e.renderChildren(),e.renderComplete();var t=e.visual;return delete e.visual,t}}),this.addVisual()):t.prototype.renderVisual.call(this)},e}(qt),In=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,e),this.chartService=r,q(this.options.position,[v,d,a,p,"custom"])||(this.options.position=d),this.createContainers(),this.createLegendTitle(e.title),this.createItems()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createContainers=function(){var t=this.options,e=t.position,r=t.align,i=e,o=s;"custom"===e?i=p:q(e,[v,a])?(i="start"===r?p:"end"===r?d:s,o=e):r&&("start"===r?o=v:"end"===r&&(o=a)),this.container=new qt({margin:t.margin,padding:t.padding,background:t.background,border:t.border,vAlign:o,align:i,zIndex:t.zIndex,shrinkToFit:!0}),this.hasTitle()?this.itemsContainer=new qt({vAlign:o,align:i,zIndex:t.zIndex,shrinkToFit:!0}):this.itemsContainer=this.container,this.append(this.container)},e.prototype.createItems=function(){var t=this.getService(),e=this.options,r=this.isVertical(),i=new Dn({vertical:r,spacing:e.spacing,rtl:t.rtl},t),o=e.items;e.reverse&&(o=o.slice(0).reverse());for(var n=o.length,a=0;a<n;a++){var s=o[a];i.append(new Bn(V({},{markers:e.markers,labels:e.labels,rtl:t.rtl},e.item,s)))}i.render(),this.itemsContainer.append(i)},e.prototype.isVertical=function(){var t=this.options,e=t.orientation,r=t.position;return"custom"===r&&"horizontal"!==e||(at(e)?"horizontal"!==e:q(r,[p,d]))},e.prototype.hasItems=function(){return this.container.children[0].children.length>0},e.prototype.reflow=function(t){var e=this.options,r=t.clone();this.hasItems()?("custom"===e.position?(this.containerCustomReflow(r),this.box=r):this.containerReflow(r),this.hasTitle()&&this.title.reflow(new Ft(this.container.box.x1,this.title.box.y1,this.container.box.x2,this.title.box.y2))):this.box=r},e.prototype.containerReflow=function(t){var e=this.options,r=this.container,i=e.position,o=e.width,n=e.height,s=i===v||i===a?m:b,u=this.isVertical(),l=t.clone(),c=t.clone();i!==p&&i!==d||(c.y1=l.y1=0),u&&n?(c.y2=c.y1+n,c.align(l,b,r.options.vAlign)):!u&&o&&(c.x2=c.x1+o,c.align(l,m,r.options.align)),r.reflow(c);var h=(c=r.box).clone();(e.offsetX||e.offsetY)&&(c.translate(e.offsetX,e.offsetY),r.reflow(c)),h[s+1]=t[s+1],h[s+2]=t[s+2],this.box=h},e.prototype.containerCustomReflow=function(t){var e=this.options,r=this.container,i=e.offsetX,o=e.offsetY,n=e.width,a=e.height,s=this.isVertical(),u=t.clone();s&&a?u.y2=u.y1+a:!s&&n&&(u.x2=u.x1+n),r.reflow(u),u=r.box,r.reflow(new Ft(i,o,i+u.width(),o+u.height()))},e.prototype.renderVisual=function(){this.hasItems()&&t.prototype.renderVisual.call(this)},e.prototype.createLegendTitle=function(t){var e=V({},{color:n,position:v,align:s},t),r=e.text;if(t&&!1!==t.visible){if(at(e)&&e.visible){var i=H(e);i?r=i({text:r}):e.format&&(r=this.chartService.format.auto(e.format,r))}this.title=new ce(r,e),this.createTitleLayout(),this.appendTitleLayoutContent()}},e.prototype.createTitleLayout=function(){this.layout=new oe({vertical:!0,wrap:!1}),this.container.append(this.layout)},e.prototype.hasTitle=function(){return Boolean(this.options.title&&!1!==this.options.title.visible)},e.prototype.appendTitleLayoutContent=function(){this.options.title.position===a?(this.layout.append(this.itemsContainer),this.layout.append(this.title)):(this.layout.append(this.title),this.layout.append(this.itemsContainer))},e}(Yt);Ct(In,{position:d,items:[],offsetX:0,offsetY:0,margin:I(5),padding:I(5),border:{color:n,width:0},item:{cursor:"pointer",spacing:6},spacing:6,background:"",zIndex:1,markers:{border:{width:0},width:15,height:3,type:"rect",align:p,vAlign:s}});var Rn=In,zn=function(t){function e(){t.call(this),this._registry=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.register=function(t,e){this._registry.push({type:t,seriesTypes:e})},e.prototype.create=function(t,e,r){for(var i,o=this._registry,n=o[0],a=0;a<o.length;a++){var s=o[a];if((i=Bo(t,s.seriesTypes)).length>0){n=s;break}}return new n.type(i,e,r)},e}(S.Class);zn.current=new zn;var Fn=zn;function Hn(t){var e=document.createElement("div");return t&&(e.className=t),e}function Un(t){for(var e=t;e&&!X(e,"k-handle");)e=e.parentNode;return e}var Kn=function(t){function e(e,r,i,o){t.call(this);var n=e.element;this.options=V({},this.options,i),this.chart=e,this.observer=o,this.chartElement=n,this.categoryAxis=r,this._dateAxis=this.categoryAxis instanceof pr,this.initOptions(),this.visible=this.options.visible&&n.offsetHeight,this.visible&&(this.createElements(),this.set(this._index(this.options.from),this._index(this.options.to)),this.bindEvents())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onPane=function(t){return this.categoryAxis.pane===t},e.prototype.createElements=function(){var t=this.options,e=this.wrapper=Hn("k-selector");B(e,{top:t.offset.top,left:t.offset.left,width:t.width,height:t.height,direction:"ltr"});var r=this.selection=Hn("k-selection");this.leftMask=Hn("k-mask"),this.rightMask=Hn("k-mask"),e.appendChild(this.leftMask),e.appendChild(this.rightMask),e.appendChild(r),r.appendChild(Hn("k-selection-bg"));var i=this.leftHandle=Hn("k-handle k-left-handle"),o=this.rightHandle=Hn("k-handle k-right-handle");i.appendChild(Hn()),o.appendChild(Hn()),r.appendChild(i),r.appendChild(o),this.chartElement.appendChild(e);var n=B(r,["borderLeftWidth","borderRightWidth","height"]),a=B(i,"height").height,s=B(o,"height").height;t.selection={border:{left:n.borderLeftWidth,right:n.borderRightWidth}},B(i,{top:(n.height-a)/2}),B(o,{top:(n.height-s)/2}),e.style.cssText=e.style.cssText},e.prototype.bindEvents=function(){var t;!1!==this.options.mousewheel&&(this._mousewheelHandler=this._mousewheel.bind(this),nt(this.wrapper,((t={})[si]=this._mousewheelHandler,t))),this._domEvents=Te.create(this.wrapper,{stopPropagation:!0,start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),press:this._press.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)})},e.prototype.initOptions=function(){var t=this.options,e=this.categoryAxis.pane.chartsBox(),r=this.chart.chartService.intl;this._dateAxis&&V(t,{min:Qe(r,t.min),max:Qe(r,t.max),from:Qe(r,t.from),to:Qe(r,t.to)});var i=B(this.chartElement,["paddingLeft","paddingTop"]),o=i.paddingLeft,n=i.paddingTop;this.options=V({},{width:e.width(),height:e.height()+.1,padding:{left:o,top:n},offset:{left:e.x1+o,top:e.y1+n},from:t.min,to:t.max},t)},e.prototype.destroy=function(){var t;this._domEvents&&(this._domEvents.destroy(),delete this._domEvents),clearTimeout(this._mwTimeout),this._state=null,this.wrapper&&(this._mousewheelHandler&&(mt(this.wrapper,((t={})[si]=this._mousewheelHandler,t)),this._mousewheelHandler=null),this.chartElement.removeChild(this.wrapper),this.wrapper=null)},e.prototype._rangeEventArgs=function(t){return{axis:this.categoryAxis.options,from:this._value(t.from),to:this._value(t.to)}},e.prototype._start=function(t){var e=this.options,r=pt(t);if(!this._state&&r){this.chart._unsetActivePoint(),this._state={moveTarget:Un(r)||r,startLocation:t.x?t.x.location:0,range:{from:this._index(e.from),to:this._index(e.to)}};var i=this._rangeEventArgs({from:this._index(e.from),to:this._index(e.to)});this.trigger("selectStart",i)&&(this._state=null)}},e.prototype._press=function(t){var e;(e=this._state?this._state.moveTarget:Un(pt(t)))&&_(e,"k-handle-active")},e.prototype._move=function(t){if(this._state){var e=this._state,r=this.options,i=this.categoryAxis,o=e.range,n=e.moveTarget,a=i.options.reverse,s=this._index(r.from),u=this._index(r.to),l=this._index(r.min),c=this._index(r.max),p=e.startLocation-t.x.location,h=o.from,f=o.to,d=o.to-o.from,v=B(this.wrapper,"width").width/(i.categoriesCount()-1),g=Math.round(p/v)*(a?-1:1);if(n){var y=X(n,"k-left-handle"),m=X(n,"k-right-handle");X(n,"k-selection k-selection-bg")?(o.from=Math.min(Math.max(l,s-g),c-d),o.to=Math.min(o.from+d,c)):y&&!a||m&&a?(o.from=Math.min(Math.max(l,s-g),c-1),o.to=Math.max(o.from+1,o.to)):(y&&a||m&&!a)&&(o.to=Math.min(Math.max(l+1,u-g),c),o.from=Math.min(o.to-1,o.from)),o.from===h&&o.to===f||(this.move(o.from,o.to),this.trigger("select",this._rangeEventArgs(o)))}}},e.prototype._end=function(){if(this._state){var t=this._state.moveTarget;t&&w(t,"k-handle-active");var e=this._state.range;this.set(e.from,e.to),this.trigger("selectEnd",this._rangeEventArgs(e)),delete this._state}},e.prototype._tap=function(t){var e=this.options,r=this.categoryAxis,i=this.chart._eventCoordinates(t),o=r.pointCategoryIndex(new Rt(i.x,r.box.y1)),n=this._index(e.from),a=this._index(e.to),s=this._index(e.min),u=this._index(e.max),l=a-n,c=n+l/2,p={},h=3===t.event.which,f=Math.round(c-o);this._state||h||(this.chart._unsetActivePoint(),r.options.justified||f--,p.from=Math.min(Math.max(s,n-f),u-l),p.to=Math.min(p.from+l,u),this._start(t),this._state&&(this._state.range=p,this.trigger("select",this._rangeEventArgs(p)),this._end()))},e.prototype._mousewheel=function(t){var e=this,r=rt(t);if(this._start({target:this.selection}),this._state){var i=this._state.range;t.preventDefault(),t.stopPropagation(),Math.abs(r)>1&&(r*=3),this.options.mousewheel.reverse&&(r*=-1),this.expand(r)&&this.trigger("select",{axis:this.categoryAxis.options,delta:r,originalEvent:t,from:this._value(i.from),to:this._value(i.to)}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._end()}),150)}},e.prototype._gesturestart=function(t){var e=this.options;this._state={range:{from:this._index(e.from),to:this._index(e.to)}};var r=this._rangeEventArgs(this._state.range);this.trigger("selectStart",r)?this._state=null:t.preventDefault()},e.prototype._gestureend=function(){this._state&&(this.trigger("selectEnd",this._rangeEventArgs(this._state.range)),delete this._state)},e.prototype._gesturechange=function(t){var e=this.chart,r=this._state,i=this.options,o=this.categoryAxis,n=r.range,a=e._toModelCoordinates(t.touches[0].x.location).x,s=e._toModelCoordinates(t.touches[1].x.location).x,u=Math.min(a,s),l=Math.max(a,s);t.preventDefault(),n.from=o.pointCategoryIndex(new Rt(u))||i.min,n.to=o.pointCategoryIndex(new Rt(l))||i.max,this.move(n.from,n.to),this.trigger("select",this._rangeEventArgs(n))},e.prototype._index=function(t){var e=t;return t instanceof Date&&(e=this.categoryAxis.categoryIndex(t)),e},e.prototype._value=function(t){var e=t;return this._dateAxis&&(e=this.categoryAxis.categoryAt(t))>this.options.max&&(e=this.options.max),e},e.prototype._slot=function(t){var e=this.categoryAxis,r=this._index(t);return e.getSlot(r,r,!0)},e.prototype.move=function(t,e){var r=this.options,i=this.categoryAxis.options.reverse,o=r.offset,n=r.padding,a=r.selection.border,s=i?e:t,u=i?t:e,l="x"+(i?2:1),c=this._slot(s),p=yt(c[l]-o.left+n.left);B(this.leftMask,{width:p}),B(this.selection,{left:p}),c=this._slot(u);var h=yt(r.width-(c[l]-o.left+n.left));B(this.rightMask,{width:h});var f=r.width-h;f!==r.width&&(f+=a.right),B(this.rightMask,{left:f}),B(this.selection,{width:Math.max(r.width-(p+h)-a.right,0)})},e.prototype.set=function(t,e){var r=this.options,i=this._index(r.min),o=this._index(r.max),n=dt(this._index(t),i,o),a=dt(this._index(e),n+1,o);r.visible&&this.move(n,a),r.from=this._value(n),r.to=this._value(a)},e.prototype.expand=function(t){var e=this.options,r=this._index(e.min),i=this._index(e.max),o=e.mousewheel.zoom,n=this._index(e.from),a=this._index(e.to),s={from:n,to:a},u=V({},s);if(this._state&&(s=this._state.range),o!==d&&(s.from=dt(dt(n-t,0,a-1),r,i)),o!==p&&(s.to=dt(dt(a+t,s.from+1,i),r,i)),s.from!==u.from||s.to!==u.to)return this.set(s.from,s.to),!0},e.prototype.zoom=function(t,e){var r=this.options,i=this._index(r.min),o=this._index(r.max),n=this._index(r.from),a=this._index(r.to),s={from:n,to:a},u=V({},s),l=this.categoryAxis.options.reverse,c=m+(l?"2":"1"),p=this.categoryAxis.lineBox(),h=Math.abs(p[c]-e.x),f=p.width(),d=yt(h/f,2),v=yt(d*t),g=yt((1-d)*t);if(this._state&&(s=this._state.range),s.from=dt(dt(n-v,0,a-1),i,o),s.to=dt(dt(a+g,s.from+1,o),i,o),s.from!==u.from||s.to!==u.to)return this.set(s.from,s.to),!0},e.prototype.trigger=function(t,e){return(this.observer||this.chart).trigger(t,e)},e}(S.Class);Ct(Kn,{visible:!0,mousewheel:{zoom:"both"},min:f,max:h});var $n=Kn,Gn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.show=function(e){if(e&&e.tooltipAnchor&&(!this._current||this._current!==e)){var r=V({},this.options,e.options.tooltip),i=e.tooltipAnchor();i?(this._current=e,t.prototype.show.call(this,{point:e,anchor:i},r,e)):this.hide()}},e.prototype.hide=function(){delete this._current,t.prototype.hide.call(this)},e}(wo),Xn=function(t){function e(e,r){t.call(this,e.chartService,r),this.plotArea=e,this.formatService=e.chartService.format}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.showAt=function(t,e){var r=G(t,(function(t){var e=t.series.tooltip;return!(e&&!1===e.visible)}));if(r.length>0){var i=r[0],o=this.plotArea.categoryAxis.getSlot(i.categoryIx),n=e?this._slotAnchor(e,o):this._defaultAnchor(i,o);this.show({anchor:n,shared:!0,points:t,category:i.category,categoryText:this.formatService.auto(this.options.categoryFormat,i.category),series:this.plotArea.series},this.options)}},e.prototype._slotAnchor=function(t,e){return this.plotArea.categoryAxis.options.vertical||(t.x=e.center().x),{point:t,align:{horizontal:"left",vertical:"center"}}},e.prototype._defaultAnchor=function(t,e){var r=t.owner.pane.chartsBox(),i=this.plotArea.categoryAxis.options.vertical,o=r.center(),n=e.center();return{point:i?new Rt(o.x,n.y):new Rt(n.x,o.y),align:{horizontal:"center",vertical:"center"}}},e}(wo);Ct(Xn,{categoryFormat:"{0:d}"});var Yn=Xn,Wn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.element,e=this.options;if(t.bbox()){this.origin=e.origin;var r=e.vertical?b:m,i=this.fromScale=new S.geometry.Point(1,1);i[r]=Jr,t.transform(S.geometry.transform().scale(i.x,i.y))}else this.abort()},e.prototype.step=function(t){var e=Z(this.fromScale.x,1,t),r=Z(this.fromScale.y,1,t);this.element.transform(S.geometry.transform().scale(e,r,this.origin))},e.prototype.abort=function(){t.prototype.abort.call(this),this.element.transform(null)},e}(S.drawing.Animation);Ct(Wn,{duration:600}),S.drawing.AnimationFactory.current.register(ei,Wn);var qn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.center=this.element.bbox().center();this.element.transform(S.geometry.transform().scale(Jr,Jr,t))},e.prototype.step=function(t){this.element.transform(S.geometry.transform().scale(t,t,this.center))},e}(S.drawing.Animation);Ct(qn,{easing:"easeOutElastic"}),S.drawing.AnimationFactory.current.register("bubble",qn);var Zn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.fadeTo=this.element.opacity(),this.element.opacity(0)},e.prototype.step=function(t){this.element.opacity(t*this.fadeTo)},e}(S.drawing.Animation);Ct(Zn,{duration:200,easing:"linear"}),S.drawing.AnimationFactory.current.register("fadeIn",Zn);var Qn=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this.element.transform(S.geometry.transform().scale(Jr,Jr,this.options.center))},e.prototype.step=function(t){this.element.transform(S.geometry.transform().scale(t,t,this.options.center))},e}(S.drawing.Animation);Ct(Qn,{easing:"easeOutElastic",duration:600}),S.drawing.AnimationFactory.current.register(oi,Qn);var Jn=Qn,ta=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){t.prototype.render.call(this),this.renderSegments()},e.prototype.createSegment=function(t,e,r){return new("smooth"===e.style?Oi:xi)(t,e,r)},e.prototype.animationPoints=function(){return t.prototype.animationPoints.call(this).concat(this._segments)},e.prototype.createMissingValue=function(t,e){if(e===ti){var r={x:t.x,y:t.y};return uo(r.x)||(r.x=0),uo(r.y)||(r.y=0),r}},e}(co);V(ta.prototype,Pi);var ea=ta,ra=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={},this.xAxisRangeTracker=new Ii,this.yAxisRangeTracker=new Ii},e.prototype.render=function(t){void 0===t&&(t=this.panes);for(var e=this.groupSeriesByPane(),r=0;r<t.length;r++){var i=t[r],o=e[i.options.name||"default"]||[];this.addToLegend(o);var n=this.filterVisibleSeries(o);n&&(this.createScatterChart(Bo(n,"scatter"),i),this.createScatterLineChart(Bo(n,"scatterLine"),i),this.createBubbleChart(Bo(n,"bubble"),i))}this.createAxes(t)},e.prototype.appendChart=function(e,r){this.xAxisRangeTracker.update(e.xAxisRanges),this.yAxisRangeTracker.update(e.yAxisRanges),t.prototype.appendChart.call(this,e,r)},e.prototype.removeAxis=function(e){var r=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?(this.yAxisRangeTracker.reset(r),delete this.namedYAxes[r]):(this.xAxisRangeTracker.reset(r),delete this.namedXAxes[r]),e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype.seriesPaneName=function(t){var e=this.options,r=t.xAxis,i=G([].concat(e.xAxis),(function(t){return t.name===r}))[0],o=t.yAxis,n=G([].concat(e.yAxis),(function(t){return t.name===o}))[0],a=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(n||{}).pane||a},e.prototype.createScatterChart=function(t,e){t.length>0&&this.appendChart(new co(this,{series:t,clip:e.options.clip}),e)},e.prototype.createScatterLineChart=function(t,e){t.length>0&&this.appendChart(new ea(this,{series:t,clip:e.options.clip}),e)},e.prototype.createBubbleChart=function(t,e){t.length>0&&this.appendChart(new vo(this,{series:t,clip:e.options.clip}),e)},e.prototype.createXYAxis=function(t,e,r){for(var i,o=t.name,n=e?this.namedYAxes:this.namedXAxes,a=e?this.yAxisRangeTracker:this.xAxisRangeTracker,s=V({reverse:!e&&this.chartService.rtl},t,{vertical:e}),u=Do(s.type,"log"),c=a.query(),p=u?{min:.1,max:1}:{min:0,max:1},h=a.query(o)||c||p,f=[s.min,s.max],d=this.series,v=0;v<d.length;v++){var g=d[v],y=g[e?"yAxis":"xAxis"];if(y===s.name||0===r&&!y){var m=Yr.current.bindPoint(g,0).valueFields;f.push(m[e?"y":"x"]);break}}0===r&&c&&(h.min=Math.min(h.min,c.min),h.max=Math.max(h.max,c.max));for(var b=0;b<f.length;b++)if(f[b]instanceof Date){i=!0;break}var x=new(Do(s.type,l)||!s.type&&i?xr:u?Sr:mr)(h.min,h.max,s,this.chartService);if(x.axisIndex=r,o){if(n[o])throw new Error((e?"Y":"X")+" axis with name "+o+" is already defined");n[o]=x}return this.appendAxis(x),x},e.prototype.createAxes=function(t){for(var e=this.options,r=[].concat(e.xAxis),i=[],o=[].concat(e.yAxis),n=[],a=0;a<r.length;a++){q(this.findPane(r[a].pane),t)&&i.push(this.createXYAxis(r[a],!1,a))}for(var s=0;s<o.length;s++){q(this.findPane(o[s].pane),t)&&n.push(this.createXYAxis(o[s],!0,s))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||n[0]},e.prototype._dispatchEvent=function(t,e,r){for(var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.axes,a=n.length,s=[],u=[],l=0;l<a;l++){var c=n[l],p=c.options.vertical?u:s,h=c.getValue(o);null!==h&&p.push(h)}s.length>0&&u.length>0&&t.trigger(r,{element:pt(e),originalEvent:e,x:zo(s),y:zo(u)})},e.prototype.updateAxisOptions=function(t,e){var r=t.options.vertical,i=this.groupAxes(this.panes),o=(r?i.y:i.x).indexOf(t);ia(this.options,o,r,e),ia(this.originalOptions,o,r,e)},e}(qo);function ia(t,e,r,i){V([].concat(r?t.yAxis:t.xAxis)[e],i)}Ct(ra,{xAxis:{},yAxis:{}}),V(ra.prototype,Zo);var oa=ra,na=function(t){function e(e,r,i){t.call(this,i),this.value=e,this.sector=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.options.labels,e=this.owner.chartService,r=this.value;if(!this._rendered&&!1!==this.visible){this._rendered=!0;var i=H(t),o=this.pointData();if(i?r=i(o):t.format&&(r=e.format.auto(t.format,r)),t.visible&&(r||0===r)){if(t.position===s||"insideEnd"===t.position)t.color||(t.color=kt(this.options.color)),t.background||(t.background=this.options.color);else{var n=e.theme.seriesDefaults.labels;t.color=t.color||n.color,t.background=t.background||n.background}this.label=new ce(r,V({},t,{align:s,vAlign:"",animation:{type:"fadeIn",delay:this.animationDelay}}),o),this.append(this.label)}}},e.prototype.reflow=function(t){this.render(),this.box=t,this.reflowLabel()},e.prototype.reflowLabel=function(){var t=this.options.labels,e=this.label,r=this.sector.clone(),i=t.distance,o=r.middle();if(e){var n,a=e.box.height(),u=e.box.width();if(t.position===s)r.radius=Math.abs((r.radius-a)/2)+a,n=r.point(o),e.reflow(new Ft(n.x,n.y-a/2,n.x,n.y));else if("insideEnd"===t.position)r.radius=r.radius-a/2,n=r.point(o),e.reflow(new Ft(n.x,n.y-a/2,n.x,n.y));else{var l;(n=r.clone().expand(i).point(o)).x>=r.center.x?(l=n.x+u,e.orientation=d):(l=n.x-u,e.orientation=p),e.reflow(new Ft(l,n.y-a,n.x,n.y))}}},e.prototype.createVisual=function(){var e=this,r=this.sector,i=this.options;if(t.prototype.createVisual.call(this),this.value)if(i.visual){var o=(r.startAngle+180)%360,n=i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,center:new S.geometry.Point(r.center.x,r.center.y),radius:r.radius,innerRadius:r.innerRadius,startAngle:o,endAngle:o+r.angle,options:i,sender:this.getSender(),createVisual:function(){var t=new S.drawing.Group;return e.createSegmentVisual(t),t}});n&&this.visual.append(n)}else this.createSegmentVisual(this.visual)},e.prototype.createSegmentVisual=function(t){var e=this.sector,r=this.options,i=r.border||{},o=i.width>0?{stroke:{color:i.color,width:i.width,opacity:i.opacity,dashType:i.dashType}}:{},n=r.color,a={color:n,opacity:r.opacity},s=this.createSegment(e,V({fill:a,stroke:{opacity:r.opacity},zIndex:r.zIndex},o));t.append(s),Fi(r)&&t.append(this.createGradientOverlay(s,{baseColor:n,fallbackFill:a},V({center:[e.center.x,e.center.y],innerRadius:e.innerRadius,radius:e.radius,userSpace:!0},r.overlay)))},e.prototype.createSegment=function(t,e){return e.singleSegment?new S.drawing.Circle(new S.geometry.Circle(new S.geometry.Point(t.center.x,t.center.y),t.radius),e):Gt.current.createRing(t,e)},e.prototype.createAnimation=function(){var e=this.options,r=this.sector.center;V(e,{animation:{center:[r.x,r.y],delay:this.animationDelay}}),t.prototype.createAnimation.call(this)},e.prototype.createHighlight=function(t){var e=this.options.highlight||{},r=e.border||{};return this.createSegment(this.sector,V({},t,{fill:{color:e.color,opacity:e.opacity},stroke:{opacity:r.opacity,width:r.width,color:r.color}}))},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=this.sector;return{options:this.options,radius:t.radius,innerRadius:t.innerRadius,center:new S.geometry.Point(t.center.x,t.center.y),startAngle:t.startAngle,endAngle:t.angle+t.startAngle,visual:this.visual}},e.prototype.tooltipAnchor=function(){var t=this.sector.clone().expand(5),e=t.middle();return{point:t.point(e),align:ua(e+180)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.pointData=function(){return{dataItem:this.dataItem,category:this.category,value:this.value,series:this.series,percentage:this.percentage}},e}(Yt),aa=yt(gt(30),10),sa=yt(gt(60),10);function ua(t){var e=gt(t),r=yt(Math.sin(e),10),i=yt(Math.cos(e),10);return{horizontal:Math.abs(r)>sa?s:i<0?d:p,vertical:Math.abs(r)<aa?s:r<0?a:v}}Ct(na,{color:y,overlay:{gradient:"roundedBevel"},border:{width:.5},labels:{visible:!1,distance:35,font:"12px sans-serif",margin:I(.5),align:u,zIndex:1,position:"outsideEnd"},animation:{type:oi},highlight:{visible:!0,border:{width:1}},visible:!0}),V(na.prototype,vi);var la=na,ca={createLegendItem:function(t,e,r){var i=this.options.legend||{},o=i.labels||{},n=i.inactiveItems||{},a=n.labels||{};if(r&&!1!==r.visibleInLegend){var s,u,l=!1!==r.visible,c=l?H(o):H(a)||H(o),p=r.category;c&&(p=c({text:p,series:r.series,dataItem:r.dataItem,percentage:r.percentage,value:t})),l?(s={},u=e.color):(s={color:a.color,font:a.font},u=(n.markers||{}).color),uo(p)&&""!==p&&this.legendItems.push({active:l,pointIndex:r.index,text:p,series:r.series,markerColor:u,labels:s})}}},pa=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this.points=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.traverseDataPoints(this.addValue.bind(this))},e.prototype.traverseDataPoints=function(t){var e=this.options,r=this.plotArea.options.seriesColors;void 0===r&&(r=[]);for(var i=r.length,o=e.series,n=o.length,a=0;a<n;a++){var u=o[a],l=u.data,c=Lo(u),p=c.total,h=c.points,f=c.count,d=360/p,v=void 0;isFinite(d)||(v=360/f);var g=void 0;g=at(u.startAngle)?u.startAngle:e.startAngle,a!==n-1&&"outsideEnd"===u.labels.position&&(u.labels.position=s);for(var y=0;y<h.length;y++){var m=h[y];if(m){var b=m.fields,x=m.value,_=m.visible,C=0!==x?v||x*d:0,w=1!==l.length&&Boolean(b.explode);T(u.color)||(u.color=b.color||r[y%i]),t(m.valueFields.value,new Ut(null,0,0,g,C),{owner:this,category:at(b.category)?b.category:"",index:y,series:u,seriesIx:a,dataItem:l[y],percentage:0!==p?x/p:0,explode:w,visibleInLegend:b.visibleInLegend,visible:_,zIndex:n-a,animationDelay:this.animationDelay(y,a,n)}),!1!==_&&(g+=C)}}}},e.prototype.evalSegmentOptions=function(t,e,r){var i=r.series;pi(t,{value:e,series:i,dataItem:r.dataItem,category:r.category,percentage:r.percentage},{defaults:i._defaults,excluded:["data","content","template","visual","toggle"]})},e.prototype.addValue=function(t,e,r){var i=V({},r.series,{index:r.index});if(this.evalSegmentOptions(i,t,r),this.createLegendItem(t,i,r),!1!==r.visible){var o=new la(t,e,i);Object.assign(o,r),this.append(o),this.points.push(o)}},e.prototype.reflow=function(t){var e=this.options,r=this.points,i=this.seriesConfigs;void 0===i&&(i=[]);var o=r.length,n=t.clone(),a=Math.min(n.width(),n.height()),s=a/2,u=a-.85*a,l=new Ft(n.x1,n.y1,n.x1+a,n.y1+a),c=l.center(),p=n.center(),h=e.series.length,f=[],v=[],g=bt(e.padding,u);this.targetBox=t,g=g>s-5?s-5:g,l.translate(p.x-c.x,p.y-c.y);for(var y=s-g,m=new Rt(y+l.x1+g,y+l.y1+g),b=0;b<o;b++){var x=r[b],_=x.sector,C=x.seriesIx;if(_.radius=y,_.center=m,i.length){var w=i[C];_.innerRadius=w.innerRadius,_.radius=w.radius}C===h-1&&x.explode&&(_.center=_.clone().setRadius(.15*_.radius).point(_.middle())),x.reflow(l);var S=x.label;S&&"outsideEnd"===S.options.position&&C===h-1&&(S.orientation===d?v.push(S):f.push(S))}f.length>0&&(f.sort(this.labelComparator(!0)),this.leftLabelsReflow(f)),v.length>0&&(v.sort(this.labelComparator(!1)),this.rightLabelsReflow(v)),this.box=l},e.prototype.leftLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.rightLabelsReflow=function(t){var e=this.distanceBetweenLabels(t);this.distributeLabels(e,t)},e.prototype.distanceBetweenLabels=function(t){var e=ft(this.points),r=e.sector,i=t.length-1,o=r.radius+e.options.labels.distance,n=[],a=t[0].box,s=yt(a.y1-(r.center.y-o-a.height()-a.height()/2));n.push(s);for(var u=0;u<i;u++){var l=t[u+1].box;a=t[u].box,s=yt(l.y1-a.y2),n.push(s)}return s=yt(r.center.y+o-t[i].box.y2-t[i].box.height()/2),n.push(s),n},e.prototype.distributeLabels=function(t,e){for(var r,i,o,n=t.length,a=0;a<n;a++)for(o=-t[a],r=i=a;o>0&&(r>=0||i<n);)o=this._takeDistance(t,a,--r,o),o=this._takeDistance(t,a,++i,o);this.reflowLabels(t,e)},e.prototype._takeDistance=function(t,e,r,i){var o=i;if(t[r]>0){var n=Math.min(t[r],o);o-=n,t[r]-=n,t[e]+=n}return o},e.prototype.reflowLabels=function(t,e){var r,i=ft(this.points),o=i.sector,n=i.options.labels,a=e.length,s=n.distance,l=o.center.y-(o.radius+s)-e[0].box.height();t[0]+=2;for(var c=0;c<a;c++){var p=e[c],h=p.box;l+=t[c],r=this.hAlignLabel(h.x2,o.clone().expand(s),l,l+h.height(),p.orientation===d),p.orientation===d?(n.align!==u&&(r=o.radius+o.center.x+s),p.reflow(new Ft(r+h.width(),l,r,l))):(n.align!==u&&(r=o.center.x-o.radius-s),p.reflow(new Ft(r-h.width(),l,r,l))),l+=h.height()}},e.prototype.createVisual=function(){var e=this.options.connectors,r=this.points,i=r.length;t.prototype.createVisual.call(this),this._connectorLines=[];for(var o=0;o<i;o++){var n=r[o],a=n.sector,s=n.label,u=a.middle(),l=(n.options.connectors||{}).color||e.color;if(s){var c=new S.drawing.Path({stroke:{color:l,width:e.width},animation:{type:"fadeIn",delay:n.animationDelay}});if("outsideEnd"===s.options.position){var p=s.box,h=a.center,f=a.point(u),v=new Rt(p.x1,p.center().y),g=void 0,y=void 0,m=void 0;f=a.clone().expand(e.padding).point(u),c.moveTo(f.x,f.y),s.orientation===d?(m=ha(h,f,v,y=new Rt(p.x1-e.padding,p.center().y)),v=new Rt(y.x-4,y.y),(m=m||v).x=Math.min(m.x,v.x),this.pointInCircle(m,a.center,a.radius+4)||m.x<a.center.x?(g=a.center.x+a.radius+4,n.options.labels.align!==ri?g<v.x?c.lineTo(g,f.y):c.lineTo(f.x+8,f.y):c.lineTo(g,f.y),c.lineTo(v.x,y.y)):(m.y=y.y,c.lineTo(m.x,m.y))):(m=ha(h,f,v,y=new Rt(p.x2+e.padding,p.center().y)),v=new Rt(y.x+4,y.y),(m=m||v).x=Math.max(m.x,v.x),this.pointInCircle(m,a.center,a.radius+4)||m.x>a.center.x?(g=a.center.x-a.radius-4,n.options.labels.align!==ri?g>v.x?c.lineTo(g,f.y):c.lineTo(f.x-8,f.y):c.lineTo(g,f.y),c.lineTo(v.x,y.y)):(m.y=y.y,c.lineTo(m.x,m.y))),c.lineTo(y.x,y.y),this._connectorLines.push(c),this.visual.append(c)}}}},e.prototype.renderVisual=function(){if(t.prototype.renderVisual.call(this),St(this.options.series,(function(t){return t.autoFit}))){var e=this.targetBox,r=this.box.center(),i=this.visual.bbox();if(!i)return;var o=i.bottomRight(),n=Math.min((r.y-e.y1)/(r.y-i.origin.y),(e.y2-r.y)/(o.y-r.y),(r.x-e.x1)/(r.x-i.origin.x),(e.x2-r.x)/(o.x-r.x));n<1&&this.visual.transform(S.geometry.transform().scale(n,n,[r.x,r.y]))}},e.prototype.labelComparator=function(t){var e=t?-1:1;return function(t,r){return((t.parent.sector.middle()+270)%360-(r.parent.sector.middle()+270)%360)*e}},e.prototype.hAlignLabel=function(t,e,r,i,o){var n=e.radius,a=e.center,s=a.x,u=a.y,l=Math.min(Math.abs(u-r),Math.abs(u-i));return l>n?t:s+Math.sqrt(n*n-l*l)*(o?1:-1)},e.prototype.pointInCircle=function(t,e,r){return Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)<Math.pow(r,2)},e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.animationDelay=function(t){return 70*t},e.prototype.stackRoot=function(){return this},e}(Yt);function ha(t,e,r,i){var o,n=(i.x-r.x)*(t.y-r.y)-(i.y-r.y)*(t.x-r.x),a=(i.y-r.y)*(e.x-t.x)-(i.x-r.x)*(e.y-t.y);if(0!==a){var s=n/a;o=new Rt(t.x+s*(e.x-t.x),t.y+s*(e.y-t.y))}return o}Ct(pa,{startAngle:90,connectors:{width:2,color:"#939393",padding:8},inactiveItems:{markers:{},labels:{}}}),V(pa.prototype,ca),pa.prototype.isStackRoot=!0;var fa=pa,da=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createPieChart(this.series)},e.prototype.createPieChart=function(t){var e=t[0],r=new fa(this,{series:t,padding:e.padding,startAngle:e.startAngle,connectors:e.connectors,legend:this.options.legend});this.appendChart(r)},e.prototype.appendChart=function(e,r){t.prototype.appendChart.call(this,e,r),ot(this.options.legend.items,e.legendItems)},e}(qo),va=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflowLabel=function(){var e=this.options.labels,r=this.label,i=this.sector.clone(),o=i.middle();if(r){var n=r.box.height();if(e.position===s){i.radius-=(i.radius-i.innerRadius)/2;var a=i.point(o);r.reflow(new Ft(a.x,a.y-n/2,a.x,a.y))}else t.prototype.reflowLabel.call(this)}},e.prototype.createSegment=function(t,e){return Gt.current.createRing(t,e)},e}(la);Ct(va,{overlay:{gradient:"roundedGlass"},labels:{position:s},animation:{type:oi}}),V(va.prototype,vi);var ga=va,ya=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.addValue=function(t,e,r){var i=V({},r.series,{index:r.index});if(this.evalSegmentOptions(i,t,r),this.createLegendItem(t,i,r),t&&!1!==r.visible){var o=new ga(t,e,i);Object.assign(o,r),this.append(o),this.points.push(o)}},e.prototype.reflow=function(e){for(var r,i=this.options,o=e.clone(),n=Math.min(o.width(),o.height()),a=n/2,s=n-.85*n,u=i.series,l=u.length,c=bt(i.padding,s),p=a-(c=c>a-5?a-5:c),h=0,f=0;f<l;f++){var d=u[f];0===f&&at(d.holeSize)&&(r=d.holeSize,p-=d.holeSize),at(d.size)?p-=d.size:h++,at(d.margin)&&f!==l-1&&(p-=d.margin)}at(r)||(p-=r=.75*((a-c)/(l+.75)));var v,g=r,y=0;this.seriesConfigs=[];for(var m=0;m<l;m++){var b=u[m];v=(g+=y)+bt(b.size,p/h),this.seriesConfigs.push({innerRadius:g,radius:v}),y=b.margin||0,g=v}t.prototype.reflow.call(this,e)},e.prototype.animationDelay=function(t,e,r){return 50*t+600*(e+1)/(r+1)},e}(fa);Ct(ya,{startAngle:90,connectors:{width:2,color:"#939393",padding:8}});var ma=ya,ba=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createDonutChart(this.series)},e.prototype.createDonutChart=function(t){var e=t[0],r=new ma(this,{series:t,padding:e.padding,connectors:e.connectors,legend:this.options.legend});this.appendChart(r)},e}(da),xa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.valueAxisRangeTracker=new Ii},e.prototype.render=function(){this.addToLegend(this.series),this.createPolarAxis(),this.createCharts(),this.createValueAxis()},e.prototype.alignAxes=function(){var t=this.valueAxis,e=t.range(),r=t.options.reverse?e.max:e.min,i=t.getSlot(r),o=this.polarAxis.getSlot(0).center,n=t.box.translate(o.x-i.x1,o.y-i.y1);t.reflow(n)},e.prototype.createValueAxis=function(){var t,e,r=this.valueAxisRangeTracker,i=r.query(),o=this.valueAxisOptions({roundToMajorUnit:!1,zIndex:-1});"log"===o.type?(t=Lr,e={min:.1,max:1}):(t=Nr,e={min:0,max:1});var n=r.query(name)||i||e;n&&i&&(n.min=Math.min(n.min,i.min),n.max=Math.max(n.max,i.max));var a=new t(n.min,n.max,o,this.chartService);this.valueAxis=a,this.appendAxis(a)},e.prototype.reflowAxes=function(){var t=this.options.plotArea,e=this.valueAxis,r=this.polarAxis,i=this.box,o=.15*Math.min(i.width(),i.height()),n=I(t.padding||{},o),a=i.clone().unpad(n),u=a.clone();u.y2=u.y1+Math.min(u.width(),u.height()),u.align(a,b,s);var l=u.clone().shrink(0,u.height()/2);r.reflow(u),e.reflow(l);var c=e.lineBox().height()-e.box.height();e.reflow(e.box.unpad({top:c})),this.axisBox=u,this.alignAxes(u)},e.prototype.backgroundBox=function(){return this.box},e.prototype.detachLabels=function(){},e}(qo),_a=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var r=t.center.y-e.y1,i=Rt.onCircle(t.center,t.startAngle,r);return new Ft(i.x,i.y,i.x,i.y)},e}(co);Ct(_a,{clip:!1});var Ca=_a,wa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(ea);wa.prototype.pointSlot=Ca.prototype.pointSlot,Ct(wa,{clip:!1});var Sa=wa,Oa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this._polarAxisCenter();t.lineTo(e.x,e.y)},e.prototype._polarAxisCenter=function(){return this.parent.plotArea.polarAxis.box.center()},e.prototype.strokeSegments=function(){var t=this._strokeSegments;if(!t){var e=this._polarAxisCenter(),r=new Br(!1),i=this.points();i.push(e),(t=this._strokeSegments=r.process(i)).pop()}return t},e}(Di),Pa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(t){var e=this.parent.plotArea.polarAxis.box.center(),r=new S.geometry.Segment([e.x,e.y]);t.segments.unshift(r),t.segments.push(r)},e}(Ni);function Aa(t,e){return t.value.x-e.value.x}var ja=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,r){return"smooth"===(e.line||{}).style?new Oa(t,e,r):new Pa(t,e,r)},e.prototype.createMissingValue=function(t,e){var r;return uo(t.x)&&"interpolate"!==e&&(r={x:t.x,y:t.y},e===ti&&(r.y=0)),r},e.prototype.seriesMissingValues=function(t){return t.missingValues||ti},e.prototype._hasMissingValuesGap=function(){for(var t=this.options.series,e=0;e<t.length;e++)if("gap"===this.seriesMissingValues(t[e]))return!0},e.prototype.sortPoints=function(t){if(t.sort(Aa),this._hasMissingValuesGap())for(var e=0;e<t.length;e++){var r=t[e];if(r)uo(r.value.y)||"gap"!==this.seriesMissingValues(r.series)||delete t[e]}return t},e}(Sa),ka=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new kr(this.options.xAxis,this.chartService);this.polarAxis=t,this.axisX=t,this.appendAxis(t)},e.prototype.valueAxisOptions=function(t){return V(t,{majorGridLines:{type:o},minorGridLines:{type:o}},this.options.yAxis)},e.prototype.createValueAxis=function(){t.prototype.createValueAxis.call(this),this.axisY=this.valueAxis},e.prototype.appendChart=function(t,e){this.valueAxisRangeTracker.update(t.yAxisRanges),qo.prototype.appendChart.call(this,t,e)},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createLineChart(Bo(t,["polarLine"]),e),this.createScatterChart(Bo(t,["polarScatter"]),e),this.createAreaChart(Bo(t,["polarArea"]),e)},e.prototype.createLineChart=function(t,e){if(0!==t.length){var r=new Sa(this,{series:t});this.appendChart(r,e)}},e.prototype.createScatterChart=function(t,e){if(0!==t.length){var r=new Ca(this,{series:t});this.appendChart(r,e)}},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var r=new ja(this,{series:t});this.appendChart(r,e)}},e.prototype._dispatchEvent=function(t,e,r){var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.axisX.getValue(o),a=this.axisY.getValue(o);null!==n&&null!==a&&t.trigger(r,{element:pt(e),x:n,y:a})},e.prototype.createCrosshairs=function(){},e}(xa);Ct(ka,{xAxis:{},yAxis:{}}),V(ka.prototype,Zo);var Ta=ka;var Ma=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointSlot=function(t,e){var r=t.center.y-e.y1,i=Rt.onCircle(t.center,t.middle(),r);return new Ft(i.x,i.y,i.x,i.y)},e.prototype.renderSegments=function(){if(t.prototype.renderSegments.call(this),this._segments&&this._segments.length>1)for(var e=function(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];e[i.seriesIx]=e[i.seriesIx]||[],e[i.seriesIx].push(i)}return e}(this._segments),r=0;r<e.length;r++){var i=e[r];if(i&&i.length>1){var o=i[0].linePoints[0],n=ft(i),a=ft(n.linePoints),s=0===o.categoryIx,u=a.categoryIx===a.categoriesCount-1;s&&u&&ft(i).linePoints.push(o)}}},e.prototype.createSegment=function(t,e,r){var i=new("smooth"===e.style?Oi:xi)(t,e,r),o=this.seriesMissingValues(e);return t.length!==e.data.length&&"interpolate"!==o||(i.options.closed=!0),i},e}(Vi);Ct(Ma,{clip:!1,limitPoints:!1});var Va=Ma,Na=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Di),Ea=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.fillToAxes=function(){},e}(Ni),La=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createSegment=function(t,e,r,i){var o,n,a,s=this.options.isStacked,u=(e.line||{}).style;return s&&r>0&&i&&(n=i.linePoints.slice(0),o=i),"smooth"===u?(a=new Na(t,e,r,o,n)).options.closed=!0:(t.push(t[0]),a=new Ea(t,e,r,o,n)),a},e.prototype.seriesMissingValues=function(t){return t.missingValues||ti},e}(Va),Da=function(t){function e(e,r){t.call(this,e,null,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(ga);Ct(Da,{overlay:{gradient:"none"},labels:{distance:10}});var Ba=Da,Ia=function(t){function e(e){t.call(this,e),this.forEach=e.rtl?$i:Ki}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options,r=this.children,i=e.gap,o=e.spacing,n=r.length,a=n+i+o*(n-1),s=t.angle/a,u=t.startAngle+s*(i/2);this.forEach(r,(function(e){var r=t.clone();r.startAngle=u,r.angle=s,e.sector&&(r.radius=e.sector.radius),e.reflow(r),e.sector=r,u+=s+s*o}))},e}(Yt);Ct(Ia,{gap:1,spacing:0});var Ra=Ia,za=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.options.reverse,r=this.children,i=r.length,o=e?i-1:0,n=e?-1:1;this.box=new Ft;for(var a=o;a>=0&&a<i;a+=n){var s=r[a].sector;s.startAngle=t.startAngle,s.angle=t.angle}},e}(Yt),Fa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointType=function(){return Ba},e.prototype.clusterType=function(){return Ra},e.prototype.stackType=function(){return za},e.prototype.categorySlot=function(t,e){return t.getSlot(e)},e.prototype.pointSlot=function(t,e){var r=t.clone(),i=t.center.y;return r.radius=i-e.y1,r.innerRadius=i-e.y2,r},e.prototype.reflowPoint=function(t,e){t.sector=e,t.reflow()},e.prototype.createAnimation=function(){this.options.animation.center=this.box.toRect().center(),t.prototype.createAnimation.call(this)},e}(Zi);Fa.prototype.reflow=di.prototype.reflow,Ct(Fa,{clip:!1,limitPoints:!1,animation:{type:"pie"}});var Ha=Fa,Ua=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createPolarAxis=function(){var t=new Ar(this.options.categoryAxis,this.chartService);this.polarAxis=t,this.categoryAxis=t,this.appendAxis(t),this.aggregateCategories(),this.createCategoryAxesLabels()},e.prototype.valueAxisOptions=function(t){return this._hasBarCharts&&V(t,{majorGridLines:{type:o},minorGridLines:{type:o}}),this._isStacked100&&V(t,{roundToMajorUnit:!1,labels:{format:"P0"}}),V(t,this.options.valueAxis)},e.prototype.aggregateCategories=function(){Pn.prototype.aggregateCategories.call(this,this.panes)},e.prototype.createCategoryAxesLabels=function(){Pn.prototype.createCategoryAxesLabels.call(this,this.panes)},e.prototype.filterSeries=function(t){return t},e.prototype.createCharts=function(){var t=this.filterVisibleSeries(this.series),e=this.panes[0];this.createAreaChart(Bo(t,["radarArea"]),e),this.createLineChart(Bo(t,["radarLine"]),e),this.createBarChart(Bo(t,["radarColumn"]),e)},e.prototype.chartOptions=function(t){var e={series:t},r=t[0];if(r){var i=this.filterVisibleSeries(t),o=r.stack;e.isStacked=o&&i.length>1,e.isStacked100=o&&"100%"===o.type&&i.length>1,e.isStacked100&&(this._isStacked100=!0)}return e},e.prototype.createAreaChart=function(t,e){if(0!==t.length){var r=new La(this,this.chartOptions(t));this.appendChart(r,e)}},e.prototype.createLineChart=function(t,e){if(0!==t.length){var r=new Va(this,this.chartOptions(t));this.appendChart(r,e)}},e.prototype.createBarChart=function(t,e){if(0!==t.length){var r=t[0],i=this.chartOptions(t);i.gap=r.gap,i.spacing=r.spacing;var o=new Ha(this,i);this.appendChart(o,e),this._hasBarCharts=!0}},e.prototype.seriesCategoryAxis=function(){return this.categoryAxis},e.prototype._dispatchEvent=function(t,e,r){var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.categoryAxis.getCategory(o),a=this.valueAxis.getValue(o);null!==n&&null!==a&&t.trigger(r,{element:pt(e),category:n,value:a})},e.prototype.createCrosshairs=function(){},e}(xa);V(Ua.prototype,Zo,{appendChart:Pn.prototype.appendChart,aggregateSeries:Pn.prototype.aggregateSeries,seriesSourcePoints:Pn.prototype.seriesSourcePoints}),Ct(Ua,{categoryAxis:{categories:[]},valueAxis:{}});var Ka=Ua,$a=function(t){function e(e,r,i){t.call(this,r),this.value=e,this.options.index=i.index}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.points,r=this.children[0];this.box=new Ft(e[0].x,e[0].y,e[1].x,e[2].y),r&&r.reflow(new Ft(t.x1,e[0].y,t.x2,e[2].y))},e.prototype.createVisual=function(){var e,r=this,i=this.options;t.prototype.createVisual.call(this),(e=i.visual?i.visual({category:this.category,dataItem:this.dataItem,value:this.value,series:this.series,percentage:this.percentage,points:this.points,options:i,sender:this.getSender(),createVisual:function(){return r.createPath()}}):this.createPath())&&this.visual.append(e)},e.prototype.createPath=function(){var t=this.options,e=t.border;return S.drawing.Path.fromPoints(this.points,{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.color,opacity:e.opacity,width:e.width}}).close()},e.prototype.createHighlight=function(t){return S.drawing.Path.fromPoints(this.points,t)},e.prototype.highlightVisual=function(){return this.visual.children[0]},e.prototype.highlightVisualArgs=function(){var t=S.drawing.Path.fromPoints(this.points).close();return{options:this.options,path:t}},e.prototype.tooltipAnchor=function(){var t=this.box;return{point:new Rt(t.center().x,t.y1),align:{horizontal:"center",vertical:"top"}}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e}(Yt);Ct($a,{color:y,border:{width:1}}),V($a.prototype,vi);var Ga=$a,Xa=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.points=[],this.labels=[],this.legendItems=[],this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.formatPointValue=function(t,e){return this.chartService.format.auto(e,t.value)},e.prototype.render=function(){var t=this.options,e=this.plotArea.options.seriesColors;void 0===e&&(e=[]);var r=t.series[0],i=r.data;if(i)for(var o=Lo(r),n=o.total,a=o.points,s=0;s<a.length;s++){var u=a[s];if(u){var l=u.fields;T(r.color)||(r.color=l.color||e[s%e.length]),l=V({index:s,owner:this,series:r,dataItem:i[s],percentage:u.value/n},l,{visible:u.visible});var c=u.valueFields.value,p=this.createSegment(c,l),h=this.createLabel(c,l);p&&h&&p.append(h)}}},e.prototype.evalSegmentOptions=function(t,e,r){var i=r.series;pi(t,{value:e,series:i,dataItem:r.dataItem,index:r.index},{defaults:i._defaults,excluded:["data","content","template","toggle","visual"]})},e.prototype.createSegment=function(t,e){var r=V({},e.series);if(this.evalSegmentOptions(r,t,e),this.createLegendItem(t,r,e),!1!==e.visible){var i=new Ga(t,r,e);return Object.assign(i,e),this.append(i),this.points.push(i),i}},e.prototype.createLabel=function(t,e){var r=e.series,i=e.dataItem,o=V({},this.options.labels,r.labels),n=t;if(o.visible){var a=H(o),s={dataItem:i,value:t,percentage:e.percentage,category:e.category,series:r};a?n=a(s):o.format&&(n=this.plotArea.chartService.format.auto(o.format,n)),o.color||(o.color=kt(r.color),o.background||(o.background=r.color)),this.evalSegmentOptions(o,t,e);var u=new ce(n,V({vAlign:o.position},o),s);return this.labels.push(u),u}},e.prototype.labelPadding=function(){for(var t=this.labels,e={left:0,right:0},r=0;r<t.length;r++){var i=t[r].options.align;if(i!==s){var o=t[r].box.width();i===p?e.left=Math.max(e.left,o):e.right=Math.max(e.right,o)}}return e},e.prototype.dynamicSlopeReflow=function(t,e,r){for(var i=this.options,o=this.points,n=o.length,a=o[0],s=a,u=0;u<o.length;u++)o[u].percentage>s.percentage&&(s=o[u]);for(var l=a.percentage/s.percentage*e,c=(e-l)/2,p=0,h=0;h<n;h++){var f=o[h].percentage,d=o[h+1],v=d?d.percentage:f,g=o[h].points=[],y=i.dynamicHeight?r*f:r/n,m=void 0;m=dt(m=f?(e-l*(v/f))/2:v?0:e/2,0,e),g.push(new S.geometry.Point(t.x1+c,t.y1+p)),g.push(new S.geometry.Point(t.x1+e-c,t.y1+p)),g.push(new S.geometry.Point(t.x1+e-m,t.y1+y+p)),g.push(new S.geometry.Point(t.x1+m,t.y1+y+p)),c=m,p+=y+i.segmentSpacing,l=dt(e-2*m,0,e)}},e.prototype.constantSlopeReflow=function(t,e,r){for(var i=this.options,o=this.points,n=o.length,a=i.neckRatio<=1,s=a?i.neckRatio*e:e,u=a?0:(e-e/i.neckRatio)/2,l=((a?e:e-2*u)-s)/2,c=0,p=0;p<n;p++){var h=o[p].points=[],f=o[p].percentage,d=i.dynamicHeight?l*f:l/n,v=i.dynamicHeight?r*f:r/n;h.push(new S.geometry.Point(t.x1+u,t.y1+c)),h.push(new S.geometry.Point(t.x1+e-u,t.y1+c)),h.push(new S.geometry.Point(t.x1+e-u-d,t.y1+v+c)),h.push(new S.geometry.Point(t.x1+u+d,t.y1+v+c)),u+=d,c+=v+i.segmentSpacing}},e.prototype.reflow=function(t){var e=this.points,r=e.length;if(r){var i=this.options,o=t.clone().unpad(this.labelPadding()),n=o.height()-i.segmentSpacing*(r-1),a=o.width();i.dynamicSlope?this.dynamicSlopeReflow(o,a,n):this.constantSlopeReflow(o,a,n);for(var s=0;s<r;s++)e[s].reflow(t)}},e}(Yt);Ct(Xa,{neckRatio:.3,width:300,dynamicSlope:!1,dynamicHeight:!0,segmentSpacing:0,labels:{visible:!1,align:s,position:s,zIndex:1}}),V(Xa.prototype,ca);var Ya=Xa,Wa=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this.createFunnelChart(this.series)},e.prototype.createFunnelChart=function(t){var e=t[0],r=new Ya(this,{series:t,legend:this.options.legend,neckRatio:e.neckRatio,dynamicHeight:e.dynamicHeight,dynamicSlope:e.dynamicSlope,segmentSpacing:e.segmentSpacing,highlight:e.highlight});this.appendChart(r)},e.prototype.appendChart=function(e,r){t.prototype.appendChart.call(this,e,r),ot(this.options.legend.items,e.legendItems)},e}(qo),qa=function(t,e){void 0===e&&(e=.05);var r=Object(S.parseColor)(t),i=1-e;return function(t){var e=r.toHSL(),o=100-e.l,n=i-t;return e.l+=Math.min(n*o,o),e.toCss()}},Za=function(t){function e(e,r){t.call(this),this.options=r,this.color=r.color||y,this.value=e}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){this._rendered||(this._rendered=!0,this.createMarker(),this.createLabel(),this.createNote())},e.prototype.createLabel=function(){var t=this.options.labels;if(t.visible){var e,r=this.pointData(),i=H(t),o=t.color;e=i?i(r):this.formatValue(t.format),o||(o=kt(this.color)),this.label=new ce(e,V({align:s,vAlign:s,margin:{left:5,right:5},zIndex:bt(t.zIndex,this.series.zIndex)},t,{color:o}),r),this.append(this.label)}},e.prototype.formatValue=function(t){return this.owner.formatPointValue(this,t)},e.prototype.reflow=function(t){this.render();var e=this.label;this.box=t,e&&e.reflow(this.markerBox()),this.note&&this.note.reflow(t),this.marker.reflow(this.markerBox())},e.prototype.markerBox=function(){var t=this.options.markers,e=t.border,r=this.box.toRect(),i="roundedRect"===bt(t.type,"rect"),o=bt(e.width,i?1:0),n=Math.round(o/2);if(t.size){var a=r.center();r.size.width=r.size.height=t.size,r.origin.x=Math.round(a.x-r.size.width/2),r.origin.y=Math.round(a.y-r.size.height/2)}return r.size.width-=o,r.size.height-=o,r.origin.y+=n+.5,r.origin.x+=n+.5,ue(r)},e.prototype.markerBorder=function(){var t=this.options,e=t.markers.border,r=bt(e.opacity,t.opacity);return{color:e.color||this.color,width:e.width,opacity:r,dashType:e.dashType}},e.prototype.createMarker=function(){var t=this.options,e=t.markers,r=new Qt({type:bt(e.type,"rect"),width:e.size,height:e.size,rotation:e.rotation,background:this.color,border:this.markerBorder(),borderRadius:e.borderRadius,opacity:this.series.opacity||t.opacity,zIndex:bt(t.zIndex,this.series.zIndex),animation:t.animation,visual:t.visual},{dataItem:this.dataItem,value:this.value,series:this.series,category:this.category});this.marker=r,this.append(r)},e.prototype.createHighlight=function(t){var e=this.options,r=this.options.highlight.markers||this.options.markers,i=new Qt({type:bt(r.type,"rect"),width:r.size,height:r.size,rotation:r.rotation,background:r.color||this.color,border:this.markerBorder(),borderRadius:r.borderRadius,opacity:this.series.opacity||e.opacity,zIndex:bt(e.zIndex,this.series.zIndex)});i.reflow(this.markerBox());var o=i.getElement();return o.options.fill=t.fill,o.options.stroke=t.stroke,o},e.prototype.highlightVisual=function(){return this.rectVisual},e.prototype.highlightVisualArgs=function(){return{options:this.options,rect:this.box.toRect(),visual:this.rectVisual}},e.prototype.tooltipAnchor=function(){var t=this.box.center().x,e=this.box.y1-5;return{point:new Rt(t,e),align:{horizontal:s,vertical:a}}},e.prototype.overlapsBox=function(t){return this.box.overlaps(t)},e.prototype.unclipElements=function(){},e.prototype.pointData=function(){return{x:this.value.x,y:this.value.y,value:this.value.value,dataItem:this.dataItem,series:this.series}},e}(Yt);V(Za.prototype,vi),V(Za.prototype,gi),Za.prototype.defaults={markers:{type:"rect",borderRadius:4,border:{color:"transparent"}},padding:{top:1},labels:{visible:!1,padding:3},opacity:1,notes:{label:{}}};var Qa=Za,Ja=function(t){function e(e,r){t.call(this,r),this.plotArea=e,this.chartService=e.chartService,this._initFields(),this.render()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initFields=function(){this.points=[],this.seriesOptions=[],this.valueRange={min:h,max:f},this._evalSeries=[]},e.prototype.render=function(){this.setRange(),this.traverseDataPoints(this.addValue.bind(this))},e.prototype.setRange=function(){for(var t=this.options.series,e=0;e<t.length;e++)for(var r=t[e],i=0;i<r.data.length;i++){var o=this._bindPoint(r,e,i).valueFields;at(o.value)&&null!==o.value&&(this.valueRange.min=Math.min(this.valueRange.min,o.value),this.valueRange.max=Math.max(this.valueRange.max,o.value))}},e.prototype.addValue=function(t,e){var r;t&&at(t.value)&&null!==t.value&&(r=this.createPoint(t,e))&&Object.assign(r,e),this.points.push(r)},e.prototype.evalPointOptions=function(t,e,r){var i=r.series,o=r.seriesIx,n={defaults:i._defaults,excluded:["data","tooltip","content","template","visual","toggle"]},a=this._evalSeries[o];at(a)||(this._evalSeries[o]=a=pi(t,{},n,!0));var s=t;return a&&pi(s=V({},t),{value:e,series:i,dataItem:r.dataItem,min:this.valueRange.min,max:this.valueRange.max},n),s},e.prototype.pointType=function(){return Qa},e.prototype.pointOptions=function(t,e){var r=this.seriesOptions[e];if(!r){var i=this.pointType().prototype.defaults;this.seriesOptions[e]=r=V({},i,{markers:{opacity:t.opacity},tooltip:{format:this.options.tooltip.format},labels:{format:this.options.labels.format}},t)}return r},e.prototype.createPoint=function(t,e){var r=e.series,i=this.pointOptions(r,e.seriesIx),o=e.color||r.color;if(i=this.evalPointOptions(i,t,e),T(r.color))o=i.color;else if(0!==this.valueRange.max){o=qa(o)(t.value/this.valueRange.max)}var n=new Qa(t,i);return n.color=o,this.append(n),n},e.prototype.seriesAxes=function(t){var e=t.xAxis,r=t.yAxis,i=this.plotArea,o=e?i.namedXAxes[e]:i.axisX,n=r?i.namedYAxes[r]:i.axisY;if(!o)throw new Error("Unable to locate X axis with name "+e);if(!n)throw new Error("Unable to locate Y axis with name "+r);return{xAxis:o,yAxis:n}},e.prototype.reflow=function(t){var e=this,r=this.points,i=!this.options.clip,o=0;this.traverseDataPoints((function(t,n){var a=r[o++],s=e.seriesAxes(n.series),u=s.xAxis,l=s.yAxis,c=u.categoryIndex(t.x),p=l.categoryIndex(t.y),h=u.getSlot(c,c,i),f=l.getSlot(p,p,i);if(a)if(h&&f){var d=e.pointSlot(h,f);a.reflow(d)}else a.visible=!1})),this.box=t},e.prototype.pointSlot=function(t,e){return new Ft(t.x1,e.y1,t.x2,e.y2)},e.prototype.traverseDataPoints=function(t){for(var e=this.options.series,r=0;r<e.length;r++)for(var i=e[r],o=this.seriesAxes(i),n=o.xAxis,a=o.yAxis,s=n.currentRangeIndices(),u=a.currentRangeIndices(),l=0;l<i.data.length;l++){var c=this._bindPoint(i,r,l),p=c.valueFields,h=c.fields,f=n.totalIndex(p.x),d=a.totalIndex(p.y),v=s.min<=f&&f<=s.max,g=u.min<=d&&d<=u.max;v&&g&&t(p,V({pointIx:l,series:i,seriesIx:r,dataItem:i.data[l],owner:this},h))}},e.prototype.formatPointValue=function(t,e){var r=t.value;return this.chartService.format.auto(e,r.x,r.y,r.value)},e.prototype.animationPoints=function(){for(var t=this.points,e=[],r=0;r<t.length;r++)e.push((t[r]||{}).marker);return e},e}(Yt);Ct(Ja,{series:[],tooltip:{format:"{0}, {1}: {2}"},labels:{format:"{2}"},clip:!0}),V(Ja.prototype,{_bindPoint:di.prototype._bindPoint});var ts=Ja,es=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initFields=function(){this.namedXAxes={},this.namedYAxes={}},e.prototype.render=function(t){void 0===t&&(t=this.panes),this.bindCategories(),this.createAxes(t),this.createCharts(t),this.createAxisLabels()},e.prototype.bindCategories=function(){for(var t=this.srcSeries||this.series,e=0;e<t.length;e++){for(var r=t[e],i=r.data||[],o=this.seriesAxes(r),n=o.xAxis,a=o.yAxis,s=Lt(n.categories||[]),u=Lt(a.categories||[]),l=0;l<i.length;l++){var c=Yr.current.bindPoint(r,l).valueFields,p=c.x,h=c.y;s.has(p)||s.add(p),u.has(h)||u.add(h)}n.categories=s.values(),a.categories=u.values()}},e.prototype.createCharts=function(t){for(var e=this.groupSeriesByPane(),r=0;r<t.length;r++){var i=t[r],o=e[i.options.name||"default"]||[];this.addToLegend(o);var n=this.filterVisibleSeries(o);n&&this.createHeatmapChart(Bo(n,["heatmap"]),i)}},e.prototype.createHeatmapChart=function(t,e){var r=new ts(this,{series:t});this.appendChart(r,e)},e.prototype.seriesPaneName=function(t){var e=this.options,r=t.xAxis,i=G([].concat(e.xAxis),(function(t){return t.name===r}))[0],o=t.yAxis,n=G([].concat(e.yAxis),(function(t){return t.name===o}))[0],a=(e.panes||[{}])[0].name||"default";return(i||{}).pane||(n||{}).pane||a},e.prototype.seriesAxes=function(t){var e,r,i=this.options,o=[].concat(i.xAxis),n=t.xAxis;e=n?o.find((function(t){return t.name===n})):o[0];var a=[].concat(i.yAxis),s=t.yAxis;if(r=s?a.find((function(t){return t.name===s})):a[0],!e)throw new Error("Unable to locate X axis with name "+n);if(!r)throw new Error("Unable to locate Y axis with name "+s);return{xAxis:e,yAxis:r}},e.prototype.createAxisLabels=function(){for(var t=this.axes,e=0;e<t.length;e++)t[e].createLabels()},e.prototype.createXYAxis=function(t,e,r){for(var i,o=t.name,n=e?this.namedYAxes:this.namedXAxes,a=Object.assign({axisCrossingValue:0},t,{vertical:e,reverse:e||this.chartService.rtl?!t.reverse:t.reverse,justified:!1}),s=a.categories?a.categories[0]:null,u=[a.min,a.max,s],c=this.series,p=0;p<c.length;p++){var h=c[p],f=h[e?"yAxis":"xAxis"];if(f===a.name||0===r&&!f){var d=Yr.current.bindPoint(h,0).valueFields;u.push(d[e?"y":"x"]);break}}for(var v=0;v<u.length;v++)if(u[v]instanceof Date){i=!0;break}var g=new(Do(a.type,l)||!a.type&&i?pr:rr)(a,this.chartService);if(g.axisIndex=r,o){if(n[o])throw new Error((e?"Y":"X")+" axis with name "+o+" is already defined");n[o]=g}return this.appendAxis(g),g.mapCategories(),g},e.prototype.createAxes=function(t){for(var e=this.options,r=[].concat(e.xAxis),i=[],o=[].concat(e.yAxis),n=[],a=0;a<r.length;a++){q(this.findPane(r[a].pane),t)&&i.push(this.createXYAxis(r[a],!1,a))}for(var s=0;s<o.length;s++){q(this.findPane(o[s].pane),t)&&n.push(this.createXYAxis(o[s],!0,s))}this.axisX=this.axisX||i[0],this.axisY=this.axisY||n[0]},e.prototype.removeAxis=function(e){var r=e.options.name;t.prototype.removeAxis.call(this,e),e.options.vertical?delete this.namedYAxes[r]:delete this.namedXAxes[r],e===this.axisX&&delete this.axisX,e===this.axisY&&delete this.axisY},e.prototype._dispatchEvent=function(t,e,r){for(var i=t._eventCoordinates(e),o=new Rt(i.x,i.y),n=this.axes,a=n.length,s=[],u=[],l=0;l<a;l++){var c=n[l];No(c.options.vertical?u:s,c.getCategory(o))}s.length>0&&u.length>0&&t.trigger(r,{element:pt(e),originalEvent:e,x:zo(s),y:zo(u)})},e.prototype.updateAxisOptions=function(t,e){var r=t.options.vertical,i=this.groupAxes(this.panes),o=(r?i.y:i.x).indexOf(t);rs(this.options,o,r,e),rs(this.originalOptions,o,r,e)},e.prototype.crosshairOptions=function(t){return Object.assign({},t.options.crosshair,{zIndex:0})},e}(qo);function rs(t,e,r,i){V([].concat(r?t.yAxis:t.xAxis)[e],i)}Ct(es,{xAxis:{},yAxis:{}}),V(es.prototype,Zo);var is=es,os="color",ns="first",as="max";Fn.current.register(Pn,[ei,ri,ii,ni,"area","verticalArea","candlestick","ohlc","bullet","verticalBullet","boxPlot","verticalBoxPlot","rangeColumn","rangeBar","waterfall","horizontalWaterfall","rangeArea","verticalRangeArea"]),Fn.current.register(oa,["scatter","scatterLine","bubble"]),Fn.current.register(da,[oi]),Fn.current.register(ba,["donut"]),Fn.current.register(Wa,["funnel"]),Fn.current.register(Ta,["polarArea","polarLine","polarScatter"]),Fn.current.register(Ka,["radarArea","radarColumn","radarLine"]),Fn.current.register(is,["heatmap"]),Yr.current.register([ei,ri,ii,ni,"area","verticalArea"],[g],["category",os,"noteText","errorLow","errorHigh"]),Yr.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],["from","to"],["category",os,"noteText"]),Yr.current.register(["waterfall","horizontalWaterfall"],[g],["category",os,"noteText","summary"]),Yr.current.register(["polarArea","polarLine","polarScatter"],[m,b],[os]),Yr.current.register(["radarArea","radarColumn","radarLine"],[g],[os]),Yr.current.register(["funnel"],[g],["category",os,"visibleInLegend","visible"]),en.current.register([ei,ri,ii,ni,"area","verticalArea","waterfall","horizontalWaterfall"],{value:as,color:ns,noteText:ns,errorLow:"min",errorHigh:as}),en.current.register(["rangeColumn","rangeBar","rangeArea","verticalRangeArea"],{from:"min",to:as,color:ns,noteText:ns}),en.current.register(["radarArea","radarColumn","radarLine"],{value:as,color:ns}),Yr.current.register(["scatter","scatterLine","bubble"],[m,b],[os,"noteText","xErrorLow","xErrorHigh","yErrorLow","yErrorHigh"]),Yr.current.register(["bubble"],[m,b,"size"],[os,"category","noteText"]),Yr.current.register(["heatmap"],[m,b,g],[os,"noteText"]),Yr.current.register(["candlestick","ohlc"],["open","high","low","close"],["category",os,"downColor","noteText"]),en.current.register(["candlestick","ohlc"],{open:as,high:as,low:"min",close:as,color:ns,downColor:ns,noteText:ns}),Yr.current.register(["boxPlot","verticalBoxPlot"],["lower","q1","median","q3","upper","mean","outliers"],["category",os,"noteText"]),en.current.register(["boxPlot","verticalBoxPlot"],{lower:as,q1:as,median:as,q3:as,upper:as,mean:as,outliers:ns,color:ns,noteText:ns}),Yr.current.register(["bullet","verticalBullet"],["current","target"],["category",os,"visibleInLegend","noteText"]),en.current.register(["bullet","verticalBullet"],{current:as,target:as,color:ns,noteText:ns}),Yr.current.register([oi,"donut"],[g],["category",os,"explode","visibleInLegend","visible"]);var ss=["category",g,m,b],us=function(t){function e(e,r,i,o){var n=this;void 0===o&&(o={}),t.call(this),this.observers=[],this.addObserver(o.observer),this.chartService=new je(this,o),this.chartService.theme=i,this._initElement(e);var a=V({},this.options,r);this._originalOptions=V({},a),this._theme=i,this._initTheme(a,i),this._initHandlers(),this._initSurface(),this.bindCategories(),_t.preloadFonts(r,(function(){n.fontLoaded=!0,n._destroyed||(n.trigger("init"),n._redraw(),n._attachEvents())}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initElement=function(t){for(this._setElementClass(t),t.style.position="relative";t.firstChild;)t.removeChild(t.firstChild);this.element=t},e.prototype._setElementClass=function(t){_(t,"k-chart")},e.prototype._initTheme=function(t,e){for(var r=[],i=t.series||[],o=0;o<i.length;o++)r.push(Object.assign({},i[o]));t.series=r,function(t){for(var e=ss,r=0;r<e.length;r++){var i=e[r]+"Axes";t[i]&&(t[e[r]+"Axis"]=t[i],delete t[i])}}(t),this.applyDefaults(t,e),null===t.seriesColors&&delete t.seriesColors,this.options=V({},e,t),this.applySeriesColors()},e.prototype.getSize=function(){var t=this.options.chartArea||{};return{width:t.width?parseInt(t.width,10):Math.floor(this.element.offsetWidth),height:t.height?parseInt(t.height,10):Math.floor(this.element.offsetHeight)}},e.prototype.resize=function(t){var e=this.getSize(),r=this._size,i=e.width>0||e.height>0;t||i&&(!r||e.width!==r.width||e.height!==r.height)?(this._size=e,this._resize(e,t),this.trigger("resize",e)):i&&this._selections&&St(this._selections,(function(t){return!t.visible}))&&(this._destroySelections(),this._setupSelection())},e.prototype._resize=function(){this._noTransitionsRedraw()},e.prototype.redraw=function(t){if(this.applyDefaults(this.options),this.applySeriesColors(),t){var e=this._model._plotArea,r=e.findPane(t);e.redraw(r)}else this._redraw()},e.prototype.getAxis=function(t){return Rr(t,this._plotArea.axes)},e.prototype.findAxisByName=function(t){return this.getAxis(t)},e.prototype.findPaneByName=function(t){for(var e=this._plotArea.panes,r=0;r<e.length;r++)if(e[r].options.name===t)return new Fr(e[r])},e.prototype.findPaneByIndex=function(t){var e=this._plotArea.panes;if(e[t])return new Fr(e[t])},e.prototype.plotArea=function(){return new Hr(this._plotArea)},e.prototype.toggleHighlight=function(t,e){var r,i,o,n=this._plotArea,a=(n.srcSeries||n.series||[])[0];T(e)?r=n.filterPoints(e):(N(e)?(i=e.series,o=e.category):i=o=e,r="donut"===a.type?ls(n.pointsBySeriesName(i),o):a.type===oi||"funnel"===a.type?ls((n.charts[0]||{}).points,o):n.pointsBySeriesName(i));r&&this.togglePointsHighlight(t,r)},e.prototype.togglePointsHighlight=function(t,e){for(var r=this._highlight,i=0;i<e.length;i++)r.togglePointHighlight(e[i],t)},e.prototype.showTooltip=function(t){var e,r,i=this._sharedTooltip(),o=this._tooltip,n=this._plotArea;if(T(t)?(e=n.findPoint(t))&&i&&(r=e.categoryIx):i&&at(t)&&(r=n.categoryAxis.categoryIndex(t)),i){if(r>=0){var a=this._plotArea.pointsByCategoryIndex(r);o.showAt(a)}}else e&&o.show(e)},e.prototype.hideTooltip=function(){this._tooltip.hide()},e.prototype._initSurface=function(){var t=this.surface,e=this._surfaceWrap(),r=this.options.chartArea||{};r.width&&lt(e,{width:r.width}),r.height&&lt(e,{height:r.height}),t&&t.options.type===this.options.renderAs?(this.surface.clear(),this.surface.resize()):(this._destroySurface(),this.surface=S.drawing.Surface.create(e,{type:this.options.renderAs}),this.surface.bind("mouseenter",this._surfaceMouseenterHandler),this.surface.bind("mouseleave",this._surfaceMouseleaveHandler))},e.prototype._surfaceWrap=function(){return this.element},e.prototype._redraw=function(){var t=this._getModel();this._size={width:t.options.width,height:t.options.height},this._destroyView(),this._model=t,this._plotArea=t._plotArea,t.renderVisual(),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.setup()})),this._initSurface(),this.surface.draw(t.visual),!1!==this.options.transitions&&t.traverse((function(t){t.animation&&t.animation.play()})),this._tooltip=this._createTooltip(),this._highlight=new jn,this._setupSelection(),this._createPannable(),this._createZoomSelection(),this._createMousewheelZoom(),this.trigger("render"),ds(this._plotArea.panes),this._navState||this._cancelDomEvents()},e.prototype.exportVisual=function(t){var e;if(t&&(t.width||t.height||t.options)){var r=this.options,i=V({},t.options,{chartArea:{width:t.width,height:t.height}});fs(this._originalOptions,i),this.options=V({},this._originalOptions,i),this._initTheme(this.options,this._theme),this.bindCategories();var o=this._getModel();o.renderVisual(),ds(o._plotArea.panes),e=o.visual,this.options=r}else e=this.surface.exportVisual();return e},e.prototype._sharedTooltip=function(){return this._plotArea instanceof Pn&&this.options.tooltip&&this.options.tooltip.shared},e.prototype._createPannable=function(){var t=this.options;!1!==t.pannable&&(this._pannable=new Vn(this._plotArea,t.pannable))},e.prototype._createZoomSelection=function(){var t=this.options.zoomable,e=(t||{}).selection;!1!==t&&!1!==e&&(this._zoomSelection=new En(this,e))},e.prototype._createMousewheelZoom=function(){var t=this.options.zoomable,e=(t||{}).mousewheel;!1!==t&&!1!==e&&(this._mousewheelZoom=new Ln(this,e))},e.prototype._toggleDragZoomEvents=function(){var t=this.options.pannable,e=this.options.zoomable,r=(e||{}).selection,i=(e||{}).mousewheel,o=!(t||!1!==e&&!1!==r||this.requiresHandlers(["dragStart","drag","dragEnd"])),n=(!1===e||!1===i)&&!this.requiresHandlers(["zoomStart","zoom","zoomEnd"]),a=this.element;this._dragZoomEnabled&&o&&n?(a.style.touchAction=this._touchAction||"",this._dragZoomEnabled=!1):this._dragZoomEnabled||o&&n||(a.style.touchAction="none",this._dragZoomEnabled=!0),this._toggleDomEvents(!o,!n)},e.prototype._toggleDomEvents=function(t,e){var r=this.domEvents;r&&(r.toggleDrag&&r.toggleDrag(t),r.toggleZoom&&r.toggleZoom(e))},e.prototype._createTooltip=function(){var t=this.options.tooltip;return this._sharedTooltip()?this._createSharedTooltip(t):new Gn(this.chartService,t)},e.prototype._createSharedTooltip=function(t){return new Yn(this._plotArea,t)},e.prototype.applyDefaults=function(t,e){!function(t,e){var r,i,o,n=(e||{}).axisDefaults||{};function a(t){var e=(t||{}).color||i.color,o=V({},n,n[r],i,i[r],{line:{color:e},labels:{color:e},title:{color:e}},t);return delete o[r],o}for(var s=0;s<ss.length;s++)r=ss[s]+"Axis",i=t.axisDefaults||{},o=(o=[].concat(t[r])).map(a),t[r]=o.length>1?o:o[0]}(t,e),function(t,e){var r=t.series,i=r.length,o=t.seriesDefaults,n=V({},t.seriesDefaults),a=e?V({},e.seriesDefaults):{},s=V({},a);cs(n),cs(s);for(var u=0;u<i;u++){var l=r[u].type||t.seriesDefaults.type,c=V({data:[]},s,a[l],{tooltip:t.tooltip},n,o[l]);r[u]._defaults=c,r[u]=V({},c,r[u]),r[u].data=r[u].data||[]}}(t,e)},e.prototype.applySeriesColors=function(){for(var t=this.options,e=t.series,r=t.seriesColors||[],i=0;i<e.length;i++){var o=e[i],n=r[i%r.length],a=o._defaults;o.color=o.color||n,a&&(a.color=a.color||n)}},e.prototype._getModel=function(){var t=this.options,e=this._createPlotArea(),r=new re(this._modelOptions());return r.chart=this,r._plotArea=e,he.buildTitle(t.title,r),t.legend&&t.legend.visible&&r.append(new Rn(e.options.legend,this.chartService)),r.append(e),r.reflow(),r},e.prototype._modelOptions=function(){var t=this.options,e=this.getSize();return V({transitions:t.transitions,width:e.width||600,height:e.height||400},t.chartArea)},e.prototype._createPlotArea=function(t){var e=this.options;return Fn.current.create(t?[]:e.series,e,this.chartService)},e.prototype._setupSelection=function(){for(var t=this._plotArea.axes,e=this._selections=[],r=0;r<t.length;r++){var i=t[r],o=i.options;if(i instanceof rr&&o.select&&!o.vertical){var n=i.range(),a=new $n(this,i,V({min:n.min,max:n.max},o.select));e.push(a)}}},e.prototype._selectStart=function(t){return this.trigger("selectStart",t)},e.prototype._select=function(t){return this.trigger("select",t)},e.prototype._selectEnd=function(t){return this.trigger("selectEnd",t)},e.prototype._initHandlers=function(){this._clickHandler=this._click.bind(this),this._mousewheelHandler=this._mousewheel.bind(this),this._mouseleaveHandler=this._mouseleave.bind(this),this._surfaceMouseenterHandler=this._mouseover.bind(this),this._surfaceMouseleaveHandler=this._mouseout.bind(this),this._mousemove=Object(S.throttle)(this._mousemove.bind(this),20)},e.prototype.addObserver=function(t){t&&this.observers.push(t)},e.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},e.prototype.requiresHandlers=function(t){for(var e=this.observers,r=0;r<e.length;r++)if(e[r].requiresHandlers(t))return!0},e.prototype.trigger=function(t,e){void 0===e&&(e={}),"showTooltip"===t&&(e.anchor.point=this._toDocumentCoordinates(e.anchor.point)),e.sender=this;for(var r=this.observers,i=!1,o=0;o<r.length;o++)r[o].trigger(t,e)&&(i=!0);return i},e.prototype._attachEvents=function(){var t,e,r=this.element;this._touchAction=r.style.touchAction,nt(r,((t={}).contextmenu=this._clickHandler,t[si]=this._mousewheelHandler,t.mouseleave=this._mouseleaveHandler,t)),this._shouldAttachMouseMove()&&nt(r,((e={}).mousemove=this._mousemove,e)),this.domEvents=Te.create(this.element,{start:this._start.bind(this),move:this._move.bind(this),end:this._end.bind(this),tap:this._tap.bind(this),gesturestart:this._gesturestart.bind(this),gesturechange:this._gesturechange.bind(this),gestureend:this._gestureend.bind(this)}),this._toggleDragZoomEvents()},e.prototype._mouseleave=function(t){this._hoveredPoint&&(this._hoveredPoint.out(this,t),this._hoveredPoint=null),this._plotArea.hovered&&(this.trigger("plotAreaLeave"),this._plotArea.hovered=!1)},e.prototype._cancelDomEvents=function(){this.domEvents&&this.domEvents.cancel&&this.domEvents.cancel()},e.prototype._gesturestart=function(t){this._mousewheelZoom&&!this._stopChartHandlers(t)&&(this._gestureDistance=t.distance,this._unsetActivePoint(),this.surface.suspendTracking())},e.prototype._gestureend=function(t){this._zooming&&!this._stopChartHandlers(t)&&(this.surface&&this.surface.resumeTracking(),this._zooming=!1,this.trigger("zoomEnd",{}))},e.prototype._gesturechange=function(t){var e=this._mousewheelZoom;if(e&&!this._stopChartHandlers(t)){t.preventDefault();var r=this._gestureDistance,i=-t.distance/r+1;if(Math.abs(i)>=.1){i=Math.round(10*i),this._gestureDistance=t.distance;var o={delta:i,axisRanges:ps(this._plotArea.axes),originalEvent:t};if(this._zooming||!this.trigger("zoomStart",o)){var n=this._eventCoordinates(t);this._zooming||(this._zooming=!0),(o.axisRanges=e.updateRanges(i,n))&&!this.trigger("zoom",o)&&e.zoom()}}}},e.prototype._mouseout=function(t){if(t.element){var e=this._drawingChartElement(t.element,t);e&&e.leave&&e.leave(this,t.originalEvent)}},e.prototype._start=function(t){var e=this._eventCoordinates(t);!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(e)&&(this.requiresHandlers(["dragStart","drag","dragEnd"])&&this._startNavigation(t,e,"dragStart"),this._pannable&&this._pannable.start(t)&&(this.surface.suspendTracking(),this._unsetActivePoint(),this._suppressHover=!0,this.chartService.panning=!0),this._zoomSelection&&this._zoomSelection.start(t)&&this.trigger("zoomStart",{axisRanges:ps(this._plotArea.axes),originalEvent:t}))},e.prototype._move=function(t){var e=this._navState,r=this._pannable;if(!this._stopChartHandlers(t)){if(r){var i=r.move(t);i&&!this.trigger("drag",{axisRanges:i,originalEvent:t})&&r.pan()}else if(e){for(var o={},n=e.axes,a=0;a<n.length;a++){var s=n[a];if(s.options.name){var u=s.options.vertical?t.y:t.x,l=u.startLocation-u.location;0!==l&&(o[s.options.name]=s.translateRange(l))}}e.axisRanges=o,this.trigger("drag",{axisRanges:o,originalEvent:t})}this._zoomSelection&&this._zoomSelection.move(t)}},e.prototype._end=function(t){if(!this._stopChartHandlers(t)){var e=this._pannable;if(e&&e.end(t)?(this.surface.resumeTracking(),this.trigger("dragEnd",{axisRanges:ps(this._plotArea.axes),originalEvent:t}),this._suppressHover=!1,this.chartService.panning=!1):this._endNavigation(t,"dragEnd"),this._zoomSelection){var r=this._zoomSelection.end(t);r&&!this.trigger("zoom",{axisRanges:r,originalEvent:t})&&(this._zoomSelection.zoom(),this.trigger("zoomEnd",{axisRanges:r,originalEvent:t}))}}},e.prototype._stopChartHandlers=function(t){var e=this._selections||[];if(!e.length)return!1;var r=this._eventCoordinates(t),i=this._plotArea.paneByPoint(r);if(i)for(var o=0;o<e.length;o++)if(e[o].onPane(i))return!0},e.prototype._mousewheelZoomRate=function(){var t=(this.options.zoomable||{}).mousewheel||{};return bt(t.rate,.3)},e.prototype._mousewheel=function(t){var e=this,r=rt(t),i=this._mousewheelZoom,o=this._eventCoordinates(t);if(!this._stopChartHandlers(t)&&this._plotArea.backgroundContainsPoint(o))if(i){var n={delta:r,axisRanges:ps(this._plotArea.axes),originalEvent:t};!this._zooming&&this.trigger("zoomStart",n)||(t.preventDefault(),this._zooming||(this._unsetActivePoint(),this.surface.suspendTracking(),this._zooming=!0),this._mwTimeout&&clearTimeout(this._mwTimeout),n.axisRanges=i.updateRanges(r,o),n.axisRanges&&!this.trigger("zoom",n)&&i.zoom(),this._mwTimeout=setTimeout((function(){e.trigger("zoomEnd",n),e._zooming=!1,e.surface&&e.surface.resumeTracking()}),150))}else{var a=this._navState;if(!a)this._startNavigation(t,o,"zoomStart")||(a=this._navState);if(a){var s=a.totalDelta||r;a.totalDelta=s+r;for(var u=this._navState.axes,l={},c=0;c<u.length;c++){var p=u[c],h=p.options.name;h&&(l[h]=p.scaleRange(-s*e._mousewheelZoomRate(),o))}this.trigger("zoom",{delta:r,axisRanges:l,originalEvent:t}),this._mwTimeout&&clearTimeout(this._mwTimeout),this._mwTimeout=setTimeout((function(){e._endNavigation(t,"zoomEnd")}),150)}}},e.prototype._startNavigation=function(t,e,r){var i=this._model._plotArea,o=i.findPointPane(e),n=i.axes.slice(0);if(o){var a=ps(n);this.trigger(r,{axisRanges:a,originalEvent:t})?this._cancelDomEvents():(this._suppressHover=!0,this._unsetActivePoint(),this._navState={axisRanges:a,pane:o,axes:n})}},e.prototype._endNavigation=function(t,e){this._navState&&(this.trigger(e,{axisRanges:this._navState.axisRanges,originalEvent:t}),this._suppressHover=!1,this._navState=null)},e.prototype._getChartElement=function(t,e){var r=this.surface.eventTarget(t);if(r)return this._drawingChartElement(r,t,e)},e.prototype._drawingChartElement=function(t,e,r){for(var i,o=t;o&&!i;)i=o.chartElement,o=o.parent;if(i)return i.aliasFor&&(i=i.aliasFor(e,this._eventCoordinates(e))),r&&(i=i.closest(r))&&i.aliasFor&&(i=i.aliasFor()),i},e.prototype._eventCoordinates=function(t){var e=ct(t);return this._toModelCoordinates(e.x,e.y)},e.prototype._elementPadding=function(){if(!this._padding){var t=B(this.element,["paddingLeft","paddingTop"]),e=t.paddingLeft,r=t.paddingTop;this._padding={top:r,left:e}}return this._padding},e.prototype._toDocumentCoordinates=function(t){var e=this._elementPadding(),r=ut(this.element);return{left:yt(t.x+e.left+r.left),top:yt(t.y+e.top+r.top)}},e.prototype._toModelCoordinates=function(t,e){var r=this.element,i=ut(r),o=this._elementPadding(),n=jt(r).invert(),a=new S.geometry.Point(t-i.left-o.left,e-i.top-o.top).transform(n);return new Rt(a.x,a.y)},e.prototype._tap=function(t){var e=this,r=this.surface.eventTarget(t),i=this._drawingChartElement(r,t),o=this._sharedTooltip();this._startHover(r,t)||o||this._unsetActivePoint(),o&&this._trackSharedTooltip(this._eventCoordinates(t),t,!0),this._propagateClick(i,t),this.handlingTap=!0,setTimeout((function(){e.handlingTap=!1}),0)},e.prototype._click=function(t){var e=this._getChartElement(t);this._propagateClick(e,t)},e.prototype._propagateClick=function(t,e){for(var r=t;r;)r.click&&r.click(this,e),r=r.parent},e.prototype._startHover=function(t,e){if(this._suppressHover)return!1;var r=this._drawingChartElement(t,e,(function(t){return(t.hover||t.over)&&!(t instanceof qo)})),i=this._activePoint,o=this._plotArea.series.length>1,n=this._hasInactiveOpacity();return this._updateHoveredPoint(r,e),r&&i!==r&&r.hover?(this._activePoint=r,this._sharedTooltip()||r.hover(this,e)||(this._displayTooltip(r),n?this._displayInactiveOpacity(r,o):this._highlight.show(r))):!r&&n&&(o&&this._activeChartInstance&&(this._updateSeriesOpacity(r,!0),this._applySeriesOpacity(this._activeChartInstance.children,null,!0),this._activeChartInstance=null),this._highlight&&this._highlight.hide(),this._activePoint=null),r},e.prototype._displayTooltip=function(t){V({},this.options.tooltip,t.options.tooltip).visible&&this._tooltip.show(t)},e.prototype._displayInactiveOpacity=function(t,e,r){var i=this._activeChartInstance=this._chartInstanceFromPoint(t);if(i)if(e)this._updateSeriesOpacity(t),this._applySeriesOpacity(i.children,null,!0),this._applySeriesOpacity(i.children,t.series),this._highlight.show(r||t);else{var o;if(!i.supportsPointInactiveOpacity())return void this._highlight.show(t);(o=this._getInactivePoints(t,i))&&o.length&&this._highlight.show(o,1-this._getInactiveOpacityForSeries(t.series))}},e.prototype._getInactivePoints=function(t,e){return this._getAllPointsOfType(e,t.constructor).filter((function(e){return e!==t}))},e.prototype._getAllPointsOfType=function(t,e){for(var r=[],i=0;i<t.children.length;i++){var o=t.children[i];o.constructor===e?r.push(o):o.children&&o.children.length&&(r=r.concat(this._getAllPointsOfType(o,e)))}return r},e.prototype._updateHoveredPoint=function(t,e){var r=this._hoveredPoint;r&&r!==t&&(r.out(this,e),this._hoveredPoint=null),t&&r!==t&&t.over&&(this._hoveredPoint=t,t.over(this,e))},e.prototype._updateSeriesOpacity=function(t,e){for(var r=this._plotArea,i=r.series.length,o=0;o<i;o++){var n=r.series[o],a=this._getDefaultOpacityForSeries(n),s=this._getInactiveOpacityForSeries(n);e||n===t.series?(n.opacity=a,n.line&&(n.line.opacity=a)):(n.defaultOpacity=a,n.opacity=s,n.line&&(n.line.opacity=s))}},e.prototype._applySeriesOpacity=function(t,e,r,i){for(var o=0;o<t.length;o++){var n=t[o],a=n.series||i;if(a&&(a.highlight||{}).visible&&n.visual){var s=i?i.opacity:n.series.opacity;(a!==e||r)&&n.visual.opacity(r?1:s)}n.children&&n.children.length&&this._applySeriesOpacity(n.children,e,r,n.series)}},e.prototype._chartInstanceFromPoint=function(t){for(var e=t.parent;e&&!e.plotArea;)e=e.parent;return e},e.prototype._hasInactiveOpacity=function(){var t=void 0!==this.options.seriesDefaults.highlight.inactiveOpacity,e=this.options.series.filter((function(t){return void 0!==t.highlight.inactiveOpacity})).length>0;return t||e},e.prototype._getInactiveOpacityForSeries=function(t){var e=this.options.seriesDefaults.highlight.inactiveOpacity;return t.highlight.inactiveOpacity||e||t.opacity||1},e.prototype._getDefaultOpacityForSeries=function(t){return t.defaultOpacity||t.opacity||1},e.prototype._mouseover=function(t){var e,r=this._startHover(t.element,t.originalEvent);r&&r.tooltipTracking&&!this._mouseMoveTrackHandler&&!this._sharedTooltip()&&(this._mouseMoveTrackHandler=this._mouseMoveTracking.bind(this),nt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)))},e.prototype._mouseMoveTracking=function(t){var e,r=this.options,i=this._tooltip,o=this._highlight,n=this._activePoint,a=this._eventCoordinates(t);if(this._plotArea.box.containsPoint(a)){if(n&&n.tooltipTracking&&n.series&&n.parent.getNearestPoint){var s=n.parent.getNearestPoint(a.x,a.y,n.seriesIx);if(s&&s!==n)if(this._activePoint=s,!s.hover(this,t))V({},r.tooltip,s.options.tooltip).visible&&i.show(s),o.show(s)}}else mt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._unsetActivePoint(),this._mouseMoveTrackHandler=null},e.prototype._mousemove=function(t){var e=this._eventCoordinates(t),r=this._plotArea;if(this._trackCrosshairs(e),r.hover){var i=r.backgroundContainsPoint(e);i?(r.hovered=!0,this._plotArea.hover(this,t)):r.hovered&&!i&&(this.trigger("plotAreaLeave"),r.hovered=!1)}this._sharedTooltip()&&this._trackSharedTooltip(e,t)},e.prototype._trackCrosshairs=function(t){for(var e=this._plotArea.crosshairs,r=0;r<e.length;r++){var i=e[r];i.box.containsPoint(t)?i.showAt(t):i.hide()}},e.prototype._trackSharedTooltip=function(t,e,r){if(!this._suppressHover){var i=this.options.tooltip,o=this._plotArea,n=this._plotArea.categoryAxis,a=this._tooltip,s=this._highlight;if(o.backgroundContainsPoint(t)){var u=n.pointCategoryIndex(t);if(u!==this._tooltipCategoryIx||!this._sharedHighlight&&r){var l=o.pointsByCategoryIndex(u),c=l.map((function(t){return t.eventArgs(e)})),p=c[0]||{};p.categoryPoints=c,l.length>0&&!this.trigger("seriesHover",p)?(i.visible&&a.showAt(l,t),s.show(l),this._sharedHighlight=!0):a.hide(),this._tooltipCategoryIx=u}else r&&this._sharedHighlight&&(s.hide(),a.hide(),this._sharedHighlight=!1)}else this._sharedHighlight&&(s.hide(),a.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1)}},e.prototype.hideElements=function(t){var e=this._plotArea;this._mousemove.cancel(),e.hideCrosshairs(),this._unsetActivePoint(t)},e.prototype._unsetActivePoint=function(t){var e=this._tooltip,r=this._highlight;this._activePoint=null,this._hoveredPoint=null,!e||t&&t.keepTooltipOpen||e.hide(),this._tooltipCategoryIx=null,this._sharedHighlight=!1,r&&r.hide()},e.prototype._deferRedraw=function(){this._redraw()},e.prototype._clearRedrawTimeout=function(){this._redrawTimeout&&(clearInterval(this._redrawTimeout),this._redrawTimeout=null)},e.prototype.bindCategories=function(){for(var t=this.options,e=[].concat(t.categoryAxis),r=0;r<e.length;r++){var i=e[r];!1!==i.autoBind&&this.bindCategoryAxisFromSeries(i,r)}},e.prototype.bindCategoryAxisFromSeries=function(t,e){for(var r,i=this.options.series,o=i.length,n=new W,a=[],s=!1,u=0;u<o;u++){var l=i[u],c=l.categoryAxis===t.name||!l.categoryAxis&&0===e,p=l.data,h=p.length,f=l.categoryField&&c;if(s=f||s,f&&h>0)for(var d=(r=Ro(t,Gr(l.categoryField,p[0])))?Io:Gr,v=0;v<h;v++){var g=p[v],y=d(l.categoryField,g,this.chartService.intl);!r&&n.get(y)||(a.push([y,g]),r||n.set(y,!0))}}if(a.length>0){r&&(a=function(t,e){void 0===e&&(e=$e);for(var r=function(t,e){void 0===e&&(e=$e);for(var r=1,i=t.length;r<i;r++)if(e(t[r],t[r-1])<0){t.sort(e);break}return t}(t,e),i=r.length,o=i>0?[r[0]]:[],n=1;n<i;n++)0!==e(r[n],ft(o))&&o.push(r[n]);return o}(a,(function(t,e){return $e(t[0],e[0])})));var m=function(t){for(var e=t.length,r=[],i=0;i<e;i++)for(var o=t[i],n=o.length,a=0;a<n;a++)r[a]=r[a]||[],r[a].push(o[a]);return r}(a);t.categories=m[0]}else s&&(t.categories=[])},e.prototype._isBindable=function(t){for(var e=Yr.current.valueFields(t),r=!0,i=0;i<e.length;i++){var o=e[i];if(o===g?o="field":o+="Field",!at(t[o])){r=!1;break}}return r},e.prototype._noTransitionsRedraw=function(){var t,e=this.options;!1!==e.transitions&&(e.transitions=!1,t=!0),this._redraw(),t&&(e.transitions=!0)},e.prototype._legendItemHover=function(t,e){var r,i=this._plotArea,o=this._highlight,n=(i.srcSeries||i.series)[t];if(r=q(n.type,[oi,"donut","funnel"])?i.findPoint((function(r){return r.series.index===t&&r.index===e})):i.pointsBySeriesIndex(t),this._hasInactiveOpacity()&&n.visible&&r){var a=i.series.length>1,s=r.length?r[0]:r;this._displayInactiveOpacity(s,a,r)}else o.show(r)},e.prototype._shouldAttachMouseMove=function(){return this._plotArea.crosshairs.length||this._tooltip&&this._sharedTooltip()||this.requiresHandlers(["plotAreaHover","plotAreaLeave"])},e.prototype.updateMouseMoveHandler=function(){var t,e;mt(this.element,((t={}).mousemove=this._mousemove,t)),this._shouldAttachMouseMove()&&nt(this.element,((e={}).mousemove=this._mousemove,e))},e.prototype.applyOptions=function(t,e){fs(this._originalOptions,t),this._originalOptions=V(this._originalOptions,t),this.options=V({},this._originalOptions),e&&(this._theme=e,this.chartService.theme=e),this._initTheme(this.options,this._theme),this._toggleDragZoomEvents()},e.prototype.setOptions=function(t,e){this.applyOptions(t,e),this.bindCategories(),this.redraw(),this.updateMouseMoveHandler()},e.prototype.setDirection=function(t){this.chartService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&this._destroySurface()},e.prototype.setIntlService=function(t){this.chartService.intl=t},e.prototype.noTransitionsRedraw=function(){this._noTransitionsRedraw()},e.prototype.destroy=function(){var t,e;this._destroyed=!0,mt(this.element,((t={}).contextmenu=this._clickHandler,t[si]=this._mousewheelHandler,t.mousemove=this._mousemove,t.mouseleave=this._mouseleaveHandler,t)),this.domEvents&&(this.domEvents.destroy(),delete this.domEvents),this._mouseMoveTrackHandler&&mt(document,((e={}).mousemove=this._mouseMoveTrackHandler,e)),this._destroyView(),this._destroySurface(),this._clearRedrawTimeout()},e.prototype._destroySurface=function(){var t=this.surface;t&&(t.unbind("mouseenter",this._surfaceMouseenterHandler),t.unbind("mouseleave",this._surfaceMouseleaveHandler),t.destroy(),this.surface=null)},e.prototype._destroySelections=function(){var t=this._selections;if(t)for(;t.length>0;)t.shift().destroy()},e.prototype._destroyView=function(){var t=this._model;t&&(t.destroy(),this._model=null),this._unsetActivePoint(),this._destroySelections(),this._tooltip&&this._tooltip.destroy(),this._highlight&&this._highlight.destroy(),this._zoomSelection&&(this._zoomSelection.destroy(),delete this._zoomSelection),this._pannable&&(this._pannable.destroy(),delete this._pannable),this._mousewheelZoom&&(this._mousewheelZoom.destroy(),delete this._mousewheelZoom)},e}(S.Class);function ls(t,e){if(t)for(var r=0;r<t.length;r++)if(t[r].category===e)return[t[r]]}function cs(t){delete t.bar,delete t.column,delete t.rangeColumn,delete t.line,delete t.verticalLine,delete t.pie,delete t.donut,delete t.area,delete t.verticalArea,delete t.scatter,delete t.scatterLine,delete t.bubble,delete t.candlestick,delete t.ohlc,delete t.boxPlot,delete t.bullet,delete t.verticalBullet,delete t.polarArea,delete t.polarLine,delete t.radarArea,delete t.radarLine,delete t.waterfall}function ps(t){for(var e={},r=0;r<t.length;r++){var i=t[r],o=i.options.name;o&&(e[o]=i.range())}return e}var hs=["data","categories"];function fs(t,e){for(var r in e)if(!q(r,hs)&&e.hasOwnProperty(r)){var i=e[r],o=t[r];if(at(o)){var n=null===i;n||!at(i)?(delete t[r],n&&delete e[r]):o&&N(i)&&N(o)&&fs(o,i)}}}function ds(t){for(var e=0;e<t.length;e++)t[e].notifyRender()}Ct(us,{renderAs:"",chartArea:{},legend:{visible:!0,labels:{}},categoryAxis:{},seriesDefaults:{type:ri,data:[],highlight:{visible:!0},labels:{},negativeValues:{visible:!1}},series:[],seriesColors:null,tooltip:{visible:!1},transitions:!0,valueAxis:{},plotArea:{},title:{},xAxis:{},yAxis:{},panes:[{}],pannable:!1,zoomable:!1});var vs=us,gs=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._slotAnchor=function(t,e){var r=this.plotArea.categoryAxis.options.vertical,i=r?{horizontal:"left",vertical:"center"}:{horizontal:"center",vertical:"bottom"};return{point:r?new Rt(this.plotArea.box.x2,e.center().y):new Rt(e.center().x,-2),align:i}},e.prototype._defaultAnchor=function(t,e){return this._slotAnchor({},e)},e}(Yn),ys=[ei,"bullet"];function ms(t){for(var e=[],r=0;r<t.length;r++){var i=t[r];e[r]=i.style.display,i.style.display="none"}return e}function bs(t,e){for(var r=0;r<t.length;r++)t[r].style.display=e[r]}function xs(t){return A(t)?[t]:t}var _s=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._setElementClass=function(t){_(t,"k-sparkline")},e.prototype._initElement=function(e){t.prototype._initElement.call(this,e),this._initialWidth=Math.floor(lt(e).width)},e.prototype._resize=function(){var e=this.element,r=ms(e.childNodes);this._initialWidth=Math.floor(lt(e).width),bs(e.childNodes,r),t.prototype._resize.call(this)},e.prototype._modelOptions=function(){var t=this.options,e=this._surfaceWrap(),r=ms(e.childNodes),i=document.createElement("span");i.innerHTML="&nbsp;",e.appendChild(i);var o=V({width:this._autoWidth,height:lt(e).height,transitions:t.transitions},t.chartArea,{inline:!0,align:!1});return lt(e,{width:o.width,height:o.height}),e.removeChild(i),bs(e.childNodes,r),this.surface&&this.surface.resize(),o},e.prototype._surfaceWrap=function(){if(!this.stage){var t=this.stage=document.createElement("span");this.element.appendChild(t)}return this.stage},e.prototype._createPlotArea=function(e){var r=t.prototype._createPlotArea.call(this,e);return this._autoWidth=this._initialWidth||this._calculateWidth(r),r},e.prototype._calculateWidth=function(t){for(var e=this.options,r=I(e.chartArea.margin),i=t.charts,o=this._surfaceWrap(),n=0,a=0;a<i.length;a++){var s=i[a],u=(s.options.series||[])[0];if(u){if(u.type===ei)return 150;if("bullet"===u.type)return 150;if(u.type===oi)return lt(o).height;var l=s.categoryAxis;if(l){var c=l.categoriesCount()*(!s.options.isStacked&&q(u.type,[ri,"verticalBullet"])?s.seriesOptions.length:1);n=Math.max(n,c)}}}var p=n*e.pointWidth;return p>0&&(p+=r.left+r.right),p},e.prototype._createSharedTooltip=function(t){return new gs(this._plotArea,t)},e.normalizeOptions=function(t){var e=xs(t);return(e=x(e)?{seriesDefaults:{data:e}}:V({},e)).series||(e.series=[{data:xs(e.data)}]),V(e,{seriesDefaults:{type:e.type}}),(q(e.series[0].type,ys)||q(e.seriesDefaults.type,ys))&&(e=V({},{categoryAxis:{crosshair:{visible:!1}}},e)),e},e}(vs);Ct(_s,{chartArea:{margin:2},axisDefaults:{visible:!1,majorGridLines:{visible:!1},valueAxis:{narrowRange:!0}},seriesDefaults:{type:"line",area:{line:{width:.5}},bar:{stack:!0},padding:2,width:.5,overlay:{gradient:null},highlight:{visible:!1},border:{width:0},markers:{size:2,visible:!1}},tooltip:{visible:!0,shared:!0},categoryAxis:{crosshair:{visible:!0,tooltip:{visible:!1}}},legend:{visible:!1},transitions:!1,pointWidth:5,panes:[{clip:!1}]});var Cs=_s,ws=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){this._initialOpacity=parseFloat(B(this.element,"opacity").opacity)},e.prototype.step=function(t){B(this.element,{opacity:String(Z(this._initialOpacity,0,t))})},e.prototype.abort=function(){t.prototype.abort.call(this),B(this.element,{display:"none",opacity:String(this._initialOpacity)})},e.prototype.cancel=function(){t.prototype.abort.call(this),B(this.element,{opacity:String(this._initialOpacity)})},e}(S.drawing.Animation);function Ss(t,e){var r=document.createElement("div");return r.className=t,e&&(r.style.cssText=e),r}var Os=function(t){function e(e,r,i){t.call(this),this.options=V({},this.options,i),this.container=e,this.chartService=r;var o=B(e,["paddingLeft","paddingTop"]);this.chartPadding={top:o.paddingTop,left:o.paddingLeft},this.createElements(),e.appendChild(this.element)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createElements=function(){var t=this.element=Ss("k-navigator-hint","display: none; position: absolute; top: 1px; left: 1px;"),e=this.tooltip=Ss("k-tooltip k-chart-tooltip"),r=this.scroll=Ss("k-scroll");e.innerHTML="&nbsp;",t.appendChild(e),t.appendChild(r)},e.prototype.show=function(t,e,r){var i=this.element,o=this.options,n=this.scroll,a=this.tooltip,s=ze(Xe(t)+Xe(e-t)/2),u=.4*r.width(),l=r.center().x-u,c=(r.center().x-l)/(o.max-o.min),p=s-o.min,h=this.chartService.intl.format(o.format,t,e),f=H(o);this.clearHideTimeout(),this._visible||(B(i,{visibility:"hidden",display:"block"}),this._visible=!0),f&&(h=f({from:t,to:e})),a.innerHTML=h,B(a,{left:r.center().x-a.offsetWidth/2,top:r.y1});var d=B(a,["marginTop","borderTopWidth","height"]);B(n,{width:u,left:l+p*c,top:r.y1+d.marginTop+d.borderTopWidth+d.height/2}),B(i,{visibility:"visible"})},e.prototype.clearHideTimeout=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideAnimation&&this._hideAnimation.cancel()},e.prototype.hide=function(){var t=this;this.clearHideTimeout(),this._hideTimeout=setTimeout((function(){t._visible=!1,t._hideAnimation=new ws(t.element),t._hideAnimation.setup(),t._hideAnimation.play()}),this.options.hideDelay)},e.prototype.destroy=function(){this.clearHideTimeout(),this.container&&this.container.removeChild(this.element),delete this.container,delete this.chartService,delete this.element,delete this.tooltip,delete this.scroll},e}(S.Class);Ct(Os,{format:"{0:d} - {1:d}",hideDelay:500});var Ps=Os,As="_navigator",js=As;function ks(){}var Ts=function(t){function e(e){var r;t.call(this),this.chart=e;var i=this.options=V({},this.options,e.options.navigator),o=i.select;o&&(o.from=this.parseDate(o.from),o.to=this.parseDate(o.to)),at(i.hint.visible)||(i.hint.visible=i.visible),this.chartObserver=new J(this,((r={}).drag="_drag",r.dragEnd="_dragEnd",r.zoom="_zoom",r.zoomEnd="_zoomEnd",r)),e.addObserver(this.chartObserver)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.parseDate=function(t){return Qe(this.chart.chartService.intl,t)},e.prototype.clean=function(){this.selection&&(this.selection.destroy(),this.selection=null),this.hint&&(this.hint.destroy(),this.hint=null)},e.prototype.destroy=function(){this.chart&&(this.chart.removeObserver(this.chartObserver),delete this.chart),this.clean()},e.prototype.redraw=function(){this._redrawSelf(),this.initSelection()},e.prototype.initSelection=function(){var t,e=this.chart,r=this.options,i=this.mainAxis(),o=i.roundedRange(),n=o.min,a=o.max,s=r.select,u=s.from,l=s.to,c=s.mousewheel,p=(t=i,ks.prototype=t,new ks);0!==i.categoriesCount()&&(this.clean(),p.box=i.box,this.selection=new $n(e,p,{min:n,max:a,from:u||n,to:l||a,mousewheel:bt(c,{zoom:"left"}),visible:r.visible},new J(this,{selectStart:"_selectStart",select:"_select",selectEnd:"_selectEnd"})),r.hint.visible&&(this.hint=new Ps(e.element,e.chartService,{min:n,max:a,template:H(r.hint),format:r.hint.format})))},e.prototype.setRange=function(){var t=this.chart._createPlotArea(!0).namedCategoryAxes[js].roundedRange(),e=t.min,r=t.max,i=this.options.select||{},o=i.from||e;o<e&&(o=e);var n=i.to||r;n>r&&(n=r),this.options.select=V({},i,{from:o,to:n}),this.filterAxes()},e.prototype._redrawSelf=function(t){var e=this.chart._plotArea;e&&e.redraw(ft(e.panes),t)},e.prototype.redrawSlaves=function(){var t=this.chart,e=t._plotArea,r=e.panes.slice(0,-1);e.srcSeries=t.options.series,e.options.categoryAxis=t.options.categoryAxis,e.clearSeriesPointsCache(),e.redraw(r)},e.prototype._drag=function(t){var e,r=this.chart,i=this.selection,o=r._eventCoordinates(t.originalEvent),n=this.mainAxis(),a=n.roundedRange(),s=n.pane.box.containsPoint(o),u=r._plotArea.categoryAxis,l=t.axisRanges[u.options.name],c=this.options.select;if(l&&!s&&i){e=c.from&&c.to?Xe(c.to)-Xe(c.from):Xe(i.options.to)-Xe(i.options.from);var p=ze(dt(Xe(l.min),a.min,Xe(a.max)-e)),h=ze(dt(Xe(p)+e,Xe(a.min)+e,a.max));this.options.select={from:p,to:h},this.options.liveDrag&&(this.filterAxes(),this.redrawSlaves()),i.set(p,h),this.showHint(p,h)}},e.prototype._dragEnd=function(){this.filterAxes(),this.filter(),this.redrawSlaves(),this.hint&&this.hint.hide()},e.prototype.readSelection=function(){var t=this.selection.options,e=t.from,r=t.to,i=this.options.select;i.from=e,i.to=r},e.prototype.filterAxes=function(){var t=this.options.select;void 0===t&&(t={});for(var e=this.chart.options.categoryAxis,r=t.from,i=t.to,o=0;o<e.length;o++){var n=e[o];n.pane!==As&&(n.min=r,n.max=i)}},e.prototype.filter=function(){var t=this.chart,e=this.options.select;if(t.requiresHandlers(["navigatorFilter"])){var r=this.mainAxis(),i={from:e.from,to:e.to};if("category"!==r.options.type){var o=new pr(V({baseUnit:"fit"},t.options.categoryAxis[0],{categories:[e.from,e.to]}),t.chartService).options;i.from=He(o.min,-o.baseUnitStep,o.baseUnit),i.to=He(o.max,o.baseUnitStep,o.baseUnit)}this.chart.trigger("navigatorFilter",i)}},e.prototype._zoom=function(t){var e=this.chart._plotArea.categoryAxis,r=this.selection,i=this.options,o=i.select,n=i.liveDrag,a=this.mainAxis(),s=t.delta;if(r){var u=a.categoryIndex(r.options.from),l=a.categoryIndex(r.options.to),c=this.chart._eventCoordinates(t.originalEvent);t.originalEvent.preventDefault(),Math.abs(s)>1&&(s*=3),l-u>1?(r.zoom(s,c),this.readSelection()):(e.options.min=o.from,o.from=e.scaleRange(-t.delta*this.chart._mousewheelZoomRate(),c).min),n&&(this.filterAxes(),this.redrawSlaves()),r.set(o.from,o.to),this.showHint(this.options.select.from,this.options.select.to)}},e.prototype._zoomEnd=function(t){this._dragEnd(t)},e.prototype.showHint=function(t,e){var r=this.chart._plotArea;this.hint&&this.hint.show(t,e,r.backgroundBox())},e.prototype._selectStart=function(t){return this.chart._selectStart(t)},e.prototype._select=function(t){return this.showHint(t.from,t.to),this.chart._select(t)},e.prototype._selectEnd=function(t){return this.hint&&this.hint.hide(),this.readSelection(),this.filterAxes(),this.filter(),this.redrawSlaves(),this.chart._selectEnd(t)},e.prototype.mainAxis=function(){var t=this.chart._plotArea;if(t)return t.namedCategoryAxes[js]},e.prototype.select=function(t,e){var r=this.options.select;return t&&e&&(r.from=this.parseDate(t),r.to=this.parseDate(e),this.filterAxes(),this.filter(),this.redrawSlaves(),this.selection.set(t,e)),{from:r.from,to:r.to}},e.setup=function(t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),!t.__navi){t.__navi=!0;var i=V({},r.navigator,t.navigator),o=t.panes=[].concat(t.panes),n=V({},i.pane,{name:As});i.visible||(n.visible=!1,n.height=.1),o.push(n),e.attachAxes(t,i),e.attachSeries(t,i,r)}},e.attachAxes=function(t,e){var r=e.series||[],i=t.categoryAxis=[].concat(t.categoryAxis),o=t.valueAxis=[].concat(t.valueAxis),n=0===Bo(r,ai).length,a=V({type:"date",pane:As,roundToBaseUnit:!n,justified:n,_collapse:!1,majorTicks:{visible:!0},tooltip:{visible:!1},labels:{step:1},autoBind:e.autoBindElements,autoBaseUnitSteps:{minutes:[1],hours:[1,2],days:[1,2],weeks:[],months:[1],years:[1]}}),s=e.categoryAxis;i.push(V({},a,{maxDateGroups:200},s,{name:js,title:null,baseUnit:"fit",baseUnitStep:"auto",labels:{visible:!1},majorTicks:{visible:!1}}),V({},a,s,{name:js+"_labels",maxDateGroups:20,baseUnitStep:"auto",labels:{position:""},plotBands:[],autoBaseUnitSteps:{minutes:[]},_overlap:!0}),V({},a,s,{name:js+"_ticks",maxDateGroups:200,majorTicks:{width:.5},plotBands:[],title:null,labels:{visible:!1,mirror:!0},_overlap:!0})),o.push(V({name:js,pane:As,majorGridLines:{visible:!1},visible:!1},e.valueAxis))},e.attachSeries=function(t,e,r){for(var i=t.series=t.series||[],o=[].concat(e.series||[]),n=r.seriesColors,a=e.seriesDefaults,s=0;s<o.length;s++)i.push(V({color:n[s%n.length],categoryField:e.dateField,visibleInLegend:!1,tooltip:{visible:!1}},a,o[s],{axis:js,categoryAxis:js,autoBind:e.autoBindElements}))},e}(S.Class),Ms=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.applyDefaults=function(e,r){var i=lt(this.element).width||600,o=r,n={seriesDefaults:{categoryField:e.dateField},axisDefaults:{categoryAxis:{name:"default",majorGridLines:{visible:!1},labels:{step:2},majorTicks:{visible:!1},maxDateGroups:Math.floor(i/28)}}};o&&(o=V({},o,n)),Ts.setup(e,o),t.prototype.applyDefaults.call(this,e,o)},e.prototype._setElementClass=function(t){_(t,"k-chart k-stockchart")},e.prototype.setOptions=function(e){this.destroyNavigator(),t.prototype.setOptions.call(this,e)},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this.options.transitions=!1,this._fullRedraw(),this.options.transitions=t},e.prototype._resize=function(){this.noTransitionsRedraw()},e.prototype._redraw=function(){var t=this.navigator;!this._dirty()&&t&&t.options.partialRedraw?t.redrawSlaves():this._fullRedraw()},e.prototype._dirty=function(){var t=this.options,e=G([].concat(t.series,t.navigator.series),(function(t){return t&&t.visible})).length,r=this._seriesCount!==e;return this._seriesCount=e,r},e.prototype._fullRedraw=function(){var e=this.navigator;e||(e=this.navigator=new Ts(this),this.trigger("navigatorCreated",{navigator:e})),e.clean(),e.setRange(),t.prototype._redraw.call(this),e.initSelection()},e.prototype._trackSharedTooltip=function(e){var r=this._plotArea.paneByPoint(e);r&&r.options.name===As?this._unsetActivePoint():t.prototype._trackSharedTooltip.call(this,e)},e.prototype.bindCategories=function(){t.prototype.bindCategories.call(this),this.copyNavigatorCategories()},e.prototype.copyNavigatorCategories=function(){for(var t,e=[].concat(this.options.categoryAxis),r=0;r<e.length;r++){var i=e[r];i.name===js?t=i.categories:t&&i.pane===As&&(i.categories=t)}},e.prototype.destroyNavigator=function(){this.navigator&&(this.navigator.destroy(),this.navigator=null)},e.prototype.destroy=function(){this.destroyNavigator(),t.prototype.destroy.call(this)},e.prototype._stopChartHandlers=function(e){var r=this._eventCoordinates(e),i=this._plotArea.paneByPoint(r);return t.prototype._stopChartHandlers.call(this,e)||i&&i.options.name===As},e.prototype._toggleDragZoomEvents=function(){this._dragZoomEnabled||(this.element.style.touchAction="none",this._dragZoomEnabled=!0)},e}(vs);Ct(Ms,{dateField:"date",axisDefaults:{categoryAxis:{type:"date",baseUnit:"fit",justified:!0},valueAxis:{narrowRange:!0,labels:{format:"C"}}},navigator:{select:{},seriesDefaults:{markers:{visible:!1},tooltip:{visible:!0},line:{width:2}},hint:{},visible:!0},tooltip:{visible:!0},legend:{visible:!1}});var Vs=Ms,Ns=Math.PI/180;function Es(t,e){var r=t.getOrigin(),i=t.getSize(),o=I(e);return t.setOrigin([r.x-o.left,r.y-o.top]),t.setSize([i.width+(o.left+o.right),i.height+(o.top+o.bottom)]),t}var Ls=S.drawing.Group,Ds=S.drawing.Path,Bs=S.drawing.Text;function Is(t,e){var r=t.box,i=t.children[0].box,o=e.border||{},n=e.background||"",a=Ds.fromRect(new S.geometry.Rect([r.x1,r.y1],[r.width(),r.height()]),{stroke:{}}),s=new Bs(t.text,new S.geometry.Point(i.x1,i.y1),{font:e.font,fill:{color:e.color}}),u=Es(s.bbox().clone(),e.padding),l=Ds.fromRect(u,{stroke:{color:o.width?o.color:"",width:o.width,opacity:o.opacity,dashType:o.dashType,lineJoin:"round",lineCap:"round"},fill:{color:n}}),c=new Ls;return c.append(a),c.append(l),c.append(s),c}function Rs(t,e,r){var i=at(t.from)?t.from:f,o=at(t.to)?t.to:h;return t.from=Math.max(Math.min(o,i),e),t.to=Math.min(Math.max(o,i),r),t}function zs(t,e){var r=I(e);return r.left=-r.left,r.top=-r.top,r.right=-r.right,r.bottom=-r.bottom,Es(t,r)}var Fs=S.drawing.Path,Hs=S.drawing.Surface,Us=function(t){function e(e,r,i,o){void 0===o&&(o={}),t.call(this),this.element=e,this.theme=i,this.contextService=new je(this,o),this._originalOptions=V({},this.options,r),this.options=V({},this._originalOptions),this._initTheme(i),this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.surface&&(this.surface.destroy(),this.surface=null),delete this.element,delete this.surfaceElement},e.prototype.value=function(t){var e=this.pointers[0];if(0===arguments.length)return e.value();e.value(t),this._setValueOptions(t)},e.prototype._draw=function(){var t=this.surface;t.clear(),t.draw(this._visuals)},e.prototype.exportVisual=function(){return this._visuals},e.prototype.allValues=function(t){var e=this.pointers,r=[];if(0===arguments.length){for(var i=0;i<e.length;i++)r.push(e[i].value());return r}if(x(t))for(var o=0;o<t.length;o++)A(t[o])&&e[o].value(t[o]);this._setValueOptions(t)},e.prototype._setValueOptions=function(t){for(var e=[].concat(this.options.pointer),r=[].concat(t),i=0;i<r.length;i++)e[i].value=r[i]},e.prototype.resize=function(){this.noTransitionsRedraw()},e.prototype.noTransitionsRedraw=function(){var t=this.options.transitions;this._toggleTransitions(!1),this.redraw(),this._toggleTransitions(t)},e.prototype.redraw=function(){var t=this._surfaceSize(),e=new S.geometry.Rect([0,0],[t.width,t.height]);this._initSurface(),this.gaugeArea=this._createGaugeArea(),this._createModel();var r=zs(e.bbox(),this._gaugeAreaMargin);this.reflow(r)},e.prototype.setOptions=function(t,e){this._originalOptions=V(this._originalOptions,t),this.options=V({},this._originalOptions),this._initTheme(e),this.redraw()},e.prototype.setDirection=function(t){this.contextService.rtl=Boolean(t),this.surface&&"svg"===this.surface.type&&(this.surface.destroy(),this.surface=null)},e.prototype.setIntlService=function(t){this.contextService.intl=t},e.prototype._initTheme=function(t){var e=t||this.theme||{};this.theme=e,this.options=V({},e,this.options);var r=this.options,i=r.pointer;if(x(i)){for(var o=[],n=0;n<i.length;n++)o.push(V({},e.pointer,i[n]));r.pointer=o}},e.prototype._createGaugeArea=function(){var t=this.options.gaugeArea,e=this.surface.size(),r=t.border||{},i=new S.geometry.Rect([0,0],[e.width,e.height]);return this._gaugeAreaMargin=t.margin||5,r.width>0&&(i=zs(i,r.width)),Fs.fromRect(i,{stroke:{color:r.width?r.color:"",width:r.width,dashType:r.dashType,lineJoin:"round",lineCap:"round"},fill:{color:t.background}})},e.prototype._initSurface=function(){var t=this.options,e=this.surface,r=this._surfaceElement(),i=this._surfaceSize();lt(r,i),e&&e.options.type===t.renderAs?(this.surface.clear(),this.surface.resize()):(e&&e.destroy(),this.surface=Hs.create(r,{type:t.renderAs}))},e.prototype._surfaceSize=function(){var t=this.options,e=this._getSize();return t.gaugeArea&&V(e,t.gaugeArea),e},e.prototype._surfaceElement=function(){return this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.element.appendChild(this.surfaceElement)),this.surfaceElement},e.prototype.getSize=function(){return this._getSize()},e.prototype._getSize=function(){var t=this.element,e=this._defaultSize(),r=t.offsetWidth,i=t.offsetHeight;return r||(r=e.width),i||(i=e.height),{width:r,height:i}},e.prototype._defaultSize=function(){return{width:200,height:200}},e.prototype._toggleTransitions=function(t){this.options.transitions=t;for(var e=0;e<this.pointers.length;e++)this.pointers[e].options.animation.transitions=t},e}(S.Class);Ct(Us,{plotArea:{},theme:"default",renderAs:"",pointer:{},scale:{},gaugeArea:{}});var Ks=Us,$s=S.drawing.Path,Gs=S.drawing.Group,Xs=S.geometry.Point;function Ys(t,e){var r,i,o=t.position,n=t.tickX,a=t.tickY;return t.vertical?(r=new Xs(n,o),i=new Xs(n+e.size,o)):(r=new Xs(o,a),i=new Xs(o,a+e.size)),new $s({stroke:{color:e.color,width:e.width}}).moveTo(r).lineTo(i)}function Ws(t,e,r,i){var o=e.length;if(i.visible)for(var n=r.mirror,a=r.lineBox,s=i.skip;s<o;s+=i.step)s%i.skipUnit!=0&&(r.tickX=n?a.x2:a.x2-i.size,r.tickY=n?a.y1-i.size:a.y1,r.position=e[s],t.append(Ys(r,i)))}var qs=function(t){function e(e,r){var i=e||{};!at(i.reverse)&&!1===i.vertical&&(r||{}).rtl&&(i=Object.assign({},i,{reverse:!0})),t.call(this,0,1,i,r),this.options.minorUnit=this.options.minorUnit||this.options.majorUnit/10}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=V({},this.options,t);return(e=V({},e,{labels:{mirror:e.mirror}})).majorUnit=e.majorUnit||It(e.min,e.max),e},e.prototype.initFields=function(){},e.prototype.render=function(){var t=this.elements=new Gs,e=this.renderLabels(),r=this.renderLine(),i=this.renderTicks(),o=this.renderRanges();return t.append(r,e,i,o),t},e.prototype.renderRanges=function(){for(var t=this.options,e=t.min,r=t.max,i=t.vertical,o=t.labels.mirror,n=t.ranges||[],a=new Gs,s=n.length,u=t.rangeSize||t.minorTicks.size/2,l=0;l<s;l++){var c=Rs(n[l],e,r),p=this.getSlot(c.from,c.to),h=i?this.lineBox():p,f=i?p:this.lineBox();i?h.x1-=u*(o?-1:1):f.y2+=u*(o?-1:1),a.append($s.fromRect(new S.geometry.Rect([h.x1,f.y1],[h.x2-h.x1,f.y2-f.y1]),{fill:{color:c.color,opacity:c.opacity},stroke:{}}))}return a},e.prototype.renderLabels=function(){for(var t=this.labels,e=this.options,r=new Gs,i=0;i<t.length;i++)r.append(Is(t[i],e.labels));return r},e.prototype.renderLine=function(){var t=this.options.line,e=this.lineBox(),r=new Gs;if(t.width>0&&t.visible){var i=new $s({stroke:{color:t.color,dashType:t.dashType,width:t.width}});i.moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),r.append(i)}return r},e.prototype.renderTicks=function(){var t=new Gs,e=this.options,r=e.majorTicks.visible?e.majorUnit:0,i={vertical:e.vertical,mirror:e.labels.mirror,lineBox:this.lineBox()};return Ws(t,this.getMajorTickPositions(),i,e.majorTicks),Ws(t,this.getMinorTickPositions(),i,V({},{skipUnit:r/e.minorUnit},e.minorTicks)),t},e}(mr);Ct(qs,{min:0,max:50,majorTicks:{size:15,align:"inside",color:n,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:n,width:.5,visible:!0},line:{width:.5},labels:{position:"inside",padding:2},mirror:!1,_alignLines:!1});var Zs=qs,Qs=function(t){function e(e,r){t.call(this);var i=e.options,o=i.min,n=i.max,a=this.options=V({},this.options,r);a.fill=a.color,this.scale=e,at(a.value)?a.value=dt(a.value,o,n):a.value=o}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.value=function(t){var e=this.options,r=e.value;if(0===arguments.length)return r;var i=this.scale.options,o=i.min,n=i.max;e._oldValue=at(e._oldValue)?e.value:o,e.value=dt(t,o,n),this.elements&&this.repaint()},e}(S.Class);Ct(Qs,{color:n});var Js=Qs,tu=function(t){function e(e,r){t.call(this,e,r),this.options=V({track:{visible:at(r.track)}},this.options)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(){var t,e,r,i=this.options,o=this.scale,n=o.options,a=n.mirror,s=n.vertical,u=o.lineBox(),l=i.track.size||i.size,c=i.size/2,p=I(i.margin),h=s?p[a?"left":"right"]:p[a?"bottom":"top"];h=a?-h:h,s?(r=new Ft(u.x1+h,u.y1,u.x1+h,u.y2),a?r.x1-=l:r.x2+=l,"barPointer"!==i.shape&&(t=e=new Ft(u.x2+h,u.y1-c,u.x2+h,u.y2+c))):(r=new Ft(u.x1,u.y1-h,u.x2,u.y1-h),a?r.y2+=l:r.y1-=l,"barPointer"!==i.shape&&(t=e=new Ft(u.x1-c,u.y1-h,u.x2+c,u.y1-h))),this.trackBox=r,this.pointerRangeBox=e,this.box=t||r.clone().pad(i.border.width)},e.prototype.getElementOptions=function(){var t=this.options;return{fill:{color:t.color,opacity:t.opacity},stroke:at(t.border)?{color:t.border.width?t.border.color||t.color:"",width:t.border.width,dashType:t.border.dashType,opacity:t.opacity}:null}},e.prototype._margin=function(){var t=this.scale,e=this.options,r=t.options,i=r.mirror,o=r.vertical,n=I(e.margin);return o?n[i?"left":"right"]:n[i?"bottom":"top"]},e}(Js);Ct(tu,{shape:"barPointer",track:{border:{width:1}},color:n,border:{width:1},opacity:1,margin:I(3),animation:{type:"barPointer"},visible:!0});var eu=tu,ru=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=t.margin,r=t.from,i=t.to,o=t.vertical,n=o?"x1":"y1";t.mirror===o?(r[n]-=e,i[n]-=e):(r[n]+=e,i[n]+=e);var a=this.fromScale=new S.geometry.Point(r.x1,r.y1),s=this.toScale=new S.geometry.Point(i.x1,i.y1);0!==t.duration&&(t.duration=Math.max(a.distanceTo(s)/t.duration*1e3,1))},e.prototype.step=function(t){var e=Z(this.fromScale.x,this.toScale.x,t),r=Z(this.fromScale.y,this.toScale.y,t);this.element.transform(S.geometry.transform().translate(e,r))},e}(S.drawing.Animation);Ct(ru,{easing:"linear",duration:250}),S.drawing.AnimationFactory.current.register("arrowPointer",ru);var iu=ru,ou=S.geometry.Point,nu=S.drawing.Path,au=function(t){function e(e,r){t.call(this,e,r),at(this.options.size)||(this.options.size=.6*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(){var t=this.scale,e=this.options.size,r=e/2,i=t.options.mirror?-1:1;return t.options.vertical?[new ou(0,0-r),new ou(0-i*e,0),new ou(0,0+r)]:[new ou(0-r,0),new ou(0,0+i*e),new ou(0+r,0)]},e.prototype.repaint=function(){var t=this.scale,e=this.options,r=new iu(this.elements,V(e.animation,{vertical:t.options.vertical,mirror:t.options.mirror,margin:this._margin(e.margin),from:t.getSlot(e._oldValue),to:t.getSlot(e.value)}));!1===e.animation.transitions&&(r.options.duration=0),r.setup(),r.play()},e.prototype.render=function(){var t=this.scale,e=this.options,r=this.getElementOptions(),i=this.pointerShape(e.value);e.animation.type="arrowPointer";var o=new nu({stroke:r.stroke,fill:r.fill}).moveTo(i[0]).lineTo(i[1]).lineTo(i[2]).close(),n=t.getSlot(e.value);return o.transform(S.geometry.transform().translate(n.x1,n.y1)),this.elements=o,o},e}(eu),su=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setup=function(){var t=this.options,e=this.axis=t.vertical?b:m,r=this.to=t.newPoints[0][e],i=this.from=t.oldPoints[0][e];0!==t.duration&&(t.duration=Math.max(Math.abs(r-i)/t.speed*1e3,1)),this._set(i)},e.prototype.step=function(t){var e=Z(this.from,this.to,t);this._set(e)},e.prototype._set=function(t){var e="set"+this.axis.toUpperCase(),r=this.options.newPoints;r[0][e](t),r[1][e](t)},e}(S.drawing.Animation);Ct(su,{easing:"linear",speed:250}),S.drawing.AnimationFactory.current.register("barPointer",su);var uu=su,lu=S.drawing.Group,cu=S.drawing.Path,pu=function(t){function e(e,r){t.call(this,e,r),at(this.options.size)||(this.options.size=.3*this.scale.options.majorTicks.size)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.pointerShape=function(t){var e=this.scale,r=this.options,i=e.options,o=i.mirror,n=i.vertical,a=o===n?-1:1,s=r.size*a,u=e.getSlot(e.options.min),l=e.getSlot(t),c=n?b:m,p=n?m:b,h=this._margin()*a,f=new S.geometry.Point;f[c]=u[c+"1"],f[p]=u[p+"1"];var d=new S.geometry.Point;d[c]=l[c+"1"],d[p]=l[p+"1"],n?(f.translate(h,0),d.translate(h,0)):(f.translate(0,h),d.translate(0,h));var v=d.clone(),g=f.clone();return n?(v.translate(s,0),g.translate(s,0)):(v.translate(0,s),g.translate(0,s)),[f,d,v,g]},e.prototype.repaint=function(){var t=this.scale,e=this.options,r=this.pointerShape(e.value),i=this.pointerPath,o=this.pointerShape(e._oldValue);i.moveTo(r[0]).lineTo(r[1]).lineTo(r[2]).lineTo(r[3]).close();var n=new uu(i,V(e.animation,{reverse:t.options.reverse,vertical:t.options.vertical,oldPoints:[o[1],o[2]],newPoints:[r[1],r[2]]}));!1===e.animation.transitions&&(n.options.duration=0),n.setup(),n.play()},e.prototype.render=function(){var t=new lu,e=this.getElementOptions();this.options.track.visible&&t.append(this.renderTrack());var r=this.pointerPath=new cu({stroke:e.stroke,fill:e.fill});return t.append(r),this.elements=t,t},e.prototype.renderTrack=function(){var t=this.options.track,e=t.border||{},r=this.trackBox.clone().pad(e.width||0);return new cu.fromRect(r.toRect(),{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.width?e.color||t.color:"",width:e.width,dashType:e.dashType}})},e}(eu),hu=S.drawing.Group,fu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers,r=t.origin.x,i=t.origin.y,o=new Ft(r,i,r+t.width(),i+t.height());this.scale.reflow(o),this._shrinkScaleWidth(o);for(var n=0;n<e.length;n++)e[n].reflow();this.bbox=this._getBox(o),this._alignElements(),this._shrinkElements(),this._buildVisual(),this._draw()},e.prototype._buildVisual=function(){var t=new hu,e=this.scale.render(),r=this.pointers;t.append(this.gaugeArea),t.append(e);for(var i=0;i<r.length;i++){var o=r[i];t.append(o.render()),o.value(o.options.value)}this._visuals=t},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Zs(t.scale,this.contextService);this.pointers=[];var r=t.pointer;r=x(r)?r:[r];for(var i=0;i<r.length;i++){var o=V({},r[i],{animation:{transitions:t.transitions}}),n="arrow"===o.shape?au:pu;this.pointers.push(new n(e,o))}},e.prototype._defaultSize=function(){var t=this.options.scale.vertical;return{width:t?60:200,height:t?200:60}},e.prototype._getBox=function(t){for(var e,r=this.scale,i=this.pointers,o=t.center(),n=i[0].box.clone().wrap(r.box),a=0;a<i.length;a++)n.wrap(i[a].box.clone());return r.options.vertical?(e=n.width()/2,n=new Ft(o.x-e,t.y1,o.x+e,t.y2)):(e=n.height()/2,n=new Ft(t.x1,o.y-e,t.x2,o.y+e)),n},e.prototype._alignElements=function(){for(var t,e=this.scale,r=this.pointers,i=e.box,o=r[0].box.clone().wrap(e.box),n=this.bbox,a=0;a<r.length;a++)o.wrap(r[a].box.clone());e.options.vertical?(t=n.center().x-o.center().x,e.reflow(new Ft(i.x1+t,n.y1,i.x2+t,n.y2))):(t=n.center().y-o.center().y,e.reflow(new Ft(i.x1,i.y1+t,i.x2,i.y2+t)));for(var s=0;s<r.length;s++)r[s].reflow(this.bbox)},e.prototype._shrinkScaleWidth=function(t){var e=this.scale;if(!e.options.vertical){var r=e.contentBox().width()-t.width();r>0&&(e.box.shrink(r,0),e.box.alignTo(t,"center"),e.reflow(e.box))}},e.prototype._shrinkElements=function(){for(var t=this.scale,e=this.pointers,r=t.box.clone(),i=t.options.vertical?"y":"x",o=e[0].box,n=0;n<e.length;n++)o.wrap(e[n].box.clone());r[i+1]+=Math.max(r[i+1]-o[i+1],0),r[i+2]-=Math.max(o[i+2]-r[i+2],0),t.reflow(r);for(var a=0;a<e.length;a++)e[a].reflow(this.bbox)},e}(Ks);Ct(fu,{transitions:!0,gaugeArea:{background:""},scale:{vertical:!0}});var du=fu,vu=S.drawing.Arc,gu=S.drawing.Path,yu=S.drawing.Group;function mu(t,e,r,i){var o=new yu,n=t.center,a=t.getRadiusX();if(i.visible)for(var s=0;s<e.length;s++){var u=t.pointAt(e[s]),l=new S.geometry.Point(n.x+a-i.size,n.y).rotate(e[s],n);o.append(new gu({stroke:{color:i.color,width:i.width}}).moveTo(u).lineTo(l))}return o}function bu(t,e,r,i){return{from:t,to:e,color:r,opacity:i}}var xu=function(t){function e(e,r){t.call(this,0,1,e,r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=V({},this.options,t);return e.majorUnit=e.majorUnit||It(e.min,e.max),e.minorUnit=e.minorUnit||e.majorUnit/10,e},e.prototype.initFields=function(){},e.prototype.render=function(t,e){var r=this.renderArc(t,e);this.bbox=r.bbox(),this.labelElements=this.renderLabels(),this.ticks=this.renderTicks(),this.ranges=this.renderRanges()},e.prototype.reflow=function(t){var e=t.center(),r=Math.min(t.height(),t.width())/2;if(!at(this.bbox))return this.render(e,r);this.bbox=this.arc.bbox(),this.radius(this.arc.getRadiusX()),this.repositionRanges(),this.renderLabels()},e.prototype.slotAngle=function(t){var e=this.options,r=e.min,i=e.max,o=e.reverse,n=e.startAngle,a=e.endAngle,s=a-n;return(o?a-(t-r)/(i-r)*s:(t-r)/(i-r)*s+n)+180},e.prototype.hasRanges=function(){var t=this.options.ranges;return t&&t.length},e.prototype.ticksSize=function(){var t=this.options,e=t.majorTicks,r=t.minorTicks,i=0;return e.visible&&(i=e.size),r.visible&&(i=Math.max(r.size,i)),i},e.prototype.labelsCount=function(){var e=t.prototype.labelsCount.call(this),r=this.options;return r.endAngle-r.startAngle>=360&&r.max%r.majorUnit==0&&(e-=1),e},e.prototype.renderLabels=function(){var t=this.options,e=this.arc.clone(),r=e.getRadiusX(),i=this.tickAngles(e,t.majorUnit),o=t.rangeSize=t.rangeSize||.1*r,n=new yu,a=.05*r;at(t.rangeDistance)?a=t.rangeDistance:t.rangeDistance=a;var s=t.labels,u="inside"===s.position,l=at(this.labelElements);u&&(r-=this.ticksSize(),this.hasRanges()&&!l&&(r-=o+a),e.setRadiusX(r).setRadiusY(r));for(var c=this.labels,p=c.length,h=I(s.padding),f=(h.left+h.right)/2,d=(h.top+h.bottom)/2,v=0;v<p;v++){var g=c[v],y=g.box.width()/2,m=g.box.height()/2,b=i[v],x=(b-180)*Ns,_=e.pointAt(b),C=_.x+Math.cos(x)*(y+f)*(u?1:-1),w=_.y+Math.sin(x)*(m+d)*(u?1:-1);g.reflow(new Ft(C-y,w-m,C+y,w+m));var O=new S.geometry.Point(g.box.x1,g.box.y1),P=void 0;if(l){var A=(P=this.labelElements.children[v]).bbox().origin,j=P.transform()||S.geometry.transform();j.translate(O.x-A.x,O.y-A.y),P.transform(j)}else P=Is(g,t.labels),n.append(P);this.bbox=S.geometry.Rect.union(this.bbox,P.bbox())}return n},e.prototype.repositionRanges=function(){var t=this.ranges.children;if(t.length>0){var e=this.options,r=e.rangeDistance,i=e.rangeSize,o=this.getRangeRadius();"inside"===this.options.labels.position&&(o+=i+r);for(var n=o+i/2,a=0;a<t.length;a++)t[a]._geometry.setRadiusX(n).setRadiusY(n);this.bbox=S.geometry.Rect.union(this.bbox,this.ranges.bbox())}},e.prototype.renderRanges=function(){var t=this.rangeSegments(),e=t.length,r=new yu;if(e){var i=this.options,o=i.rangeSize,n=i.reverse,a=i.rangeDistance,s=this.getRangeRadius();this.radius(this.radius()-o-a);for(var u=0;u<e;u++){var l=t[u],c=this.slotAngle(l[n?"to":"from"]),p=this.slotAngle(l[n?"from":"to"]);p-c!=0&&r.append(this.createRange(c,p,s,l))}}return r},e.prototype.createRange=function(t,e,r,i){var o=this.options.rangeSize,n=new S.geometry.Arc(this.arc.center,{radiusX:r+o/2,radiusY:r+o/2,startAngle:t,endAngle:e});return new vu(n,{stroke:{width:o,color:i.color,opacity:i.opacity,lineCap:i.lineCap}})},e.prototype.rangeSegments=function(){var t=this.options,e=t.ranges||[],r=e.length,i=[];if(r){var o=t.min,n=t.max,a=t.rangePlaceholderColor;i.push(bu(o,n,a));for(var s=0;s<r;s++)for(var u=Rs(e[s],o,n),l=i.length,c=0;c<l;c++){var p=i[c];if(p.from<=u.from&&u.from<=p.to){i.push(bu(u.from,u.to,u.color,u.opacity)),p.from<=u.to&&u.to<=p.to&&i.push(bu(u.to,p.to,a,u.opacity)),p.to=u.from;break}}}return i},e.prototype.getRangeRadius=function(){var t=this.arc,e=this.options,r=e.rangeSize,i=e.rangeDistance,o=e.majorTicks.size;return"outside"===e.labels.position?t.getRadiusX()-o-i-r:t.getRadiusX()-r},e.prototype.renderArc=function(t,e){var r=this.options;return this.arc=new S.geometry.Arc(t,{radiusX:e,radiusY:e,startAngle:r.startAngle+180,endAngle:r.endAngle+180})},e.prototype.renderTicks=function(){var t=this.arc,e=this.options,r=t.clone();this.majorTickAngles=this.tickAngles(t,e.majorUnit),this.majorTicks=mu(r,this.majorTickAngles,e.majorUnit,e.majorTicks);var i=new yu;i.append(this.majorTicks);var o=e.majorTicks.size,n=e.minorTicks.size;if(this._tickDifference=o-n,"outside"===e.labels.position){var a=r.getRadiusX();r.setRadiusX(a-o+n).setRadiusY(a-o+n)}return this.minorTickAngles=this.normalizeTickAngles(this.tickAngles(t,e.minorUnit)),this.minorTicks=mu(r,this.minorTickAngles,e.minorUnit,e.minorTicks),i.append(this.minorTicks),i},e.prototype.normalizeTickAngles=function(t){for(var e=this.options,r=e.majorUnit/e.minorUnit,i=t.length-1;i>=0;i--)i%r==0&&t.splice(i,1);return t},e.prototype.tickAngles=function(t,e){var r=this.options,i=r.reverse,o=r.max-r.min,n=t.endAngle-t.startAngle,a=o/e,s=t.startAngle,u=n/a;i&&(s+=n,u=-u),n>=360&&r.max%e==0&&(a-=1);for(var l=[],c=0;c<a;c++)l.push(yt(s,3)),s+=u;return yt(s)<=t.endAngle&&l.push(s),l},e.prototype.radius=function(t){if(!t)return this.arc.getRadiusX();this.arc.setRadiusX(t).setRadiusY(t),this.repositionTicks(this.majorTicks.children,this.majorTickAngles),this.repositionTicks(this.minorTicks.children,this.minorTickAngles,!0)},e.prototype.repositionTicks=function(t,e,r){var i=r&&this._tickDifference||0,o=this.arc,n=o.getRadiusX();r&&"outside"===this.options.labels.position&&0!==i&&(o=this.arc.clone()).setRadiusX(n-i).setRadiusY(n-i);for(var a=0;a<t.length;a++){var s=o.pointAt(e[a]),u=t[a].segments,l=s.x-u[0].anchor().x,c=s.y-u[0].anchor().y;t[a].transform((new S.geometry.transform).translate(l,c))}},e}(mr);Ct(xu,{min:0,max:100,majorTicks:{size:15,align:"inside",color:n,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:n,width:.5,visible:!0},startAngle:-30,endAngle:210,labels:{position:"inside",padding:2}});var _u=xu,Cu=function(t){function e(e,r){t.call(this,e,r);var i=this.options;i.duration=Math.max(Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3,1)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,r=Z(e.oldAngle,e.newAngle,t);this.element.transform(S.geometry.transform().rotate(r,e.center))},e}(S.drawing.Animation);Ct(Cu,{easing:"linear",duration:150}),S.drawing.AnimationFactory.current.register("radialPointer",Cu);var wu=Cu,Su=S.drawing.Circle,Ou=S.drawing.Group,Pu=S.drawing.Path,Au=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setAngle=function(t){this.elements.transform(S.geometry.transform().rotate(t,this.center))},e.prototype.repaint=function(){var t=this.scale,e=this.options,r=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);!1===e.animation.transitions?this.setAngle(i):new wu(this.elements,V(e.animation,{oldAngle:r,newAngle:i})).play()},e.prototype.render=function(){var t=this.scale,e=this.options,r=new Ou;return!1!==e.animation&&V(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),r.append(this._renderNeedle(),this._renderCap()),this.elements=r,this.setAngle(Ns),r},e.prototype.reflow=function(t){var e=this.center=t.center,r=dt(this.options.length||1,.1,1.5),i=this.radius=t.getRadiusX()*r,o=this.capSize=Math.round(i*this.options.cap.size);this.bbox=S.geometry.Rect.fromPoints(new S.geometry.Point(e.x-o,e.y-o),new S.geometry.Point(e.x+o,e.y+o))},e.prototype._renderNeedle=function(){var t=this.scale.options.minorTicks.size,e=this.center,r=this.options.color,i=new Pu({fill:{color:r},stroke:{color:r,width:.5}});return i.moveTo(e.x+this.radius-t,e.y).lineTo(e.x,e.y-this.capSize/2).lineTo(e.x,e.y+this.capSize/2).close(),i},e.prototype._renderCap=function(){var t=this.options,e=t.cap.color||t.color,r=new S.geometry.Circle(this.center,this.capSize);return new Su(r,{fill:{color:e},stroke:{color:e}})},e}(Js);Ct(Au,{cap:{size:.05},arrow:{width:16,height:14},animation:{type:"radialPointer",duration:150}});var ju=Au,ku=S.drawing.Group,Tu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.reflow=function(t){var e=this.pointers;this.scale.reflow(t),this._initialPlotArea=this.scale.bbox;for(var r=0;r<e.length;r++)e[r].reflow(this.scale.arc),this._initialPlotArea=S.geometry.Rect.union(this._initialPlotArea,e[r].bbox);this.fitScale(t),this.alignScale(t),this._buildVisual(this.gaugeArea,e,this.scale),this._draw()},e.prototype._buildVisual=function(t,e,r){var i=this._visuals=new ku;i.append(t),i.append(r.ticks),i.append(r.ranges),this._buildPointers(e),i.append(r.labelElements)},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var r=t[e];r.render(),this._visuals.append(r.elements),r.value(r.options.value)}},e.prototype.fitScale=function(t){for(var e,r,i,o,n,a=this.scale.arc,s=this._initialPlotArea,u=Math.abs(this.getDiff(s,t)),l=yt(u,3),c=yt(-u,3),p=0,h=0;!(!(h++<100)||(p=n===i?p+1:0)>5||l!==o&&0<=(e=this.getPlotBox(l,t,a))&&e<=2||c!==o&&0<=(i=this.getPlotBox(c,t,a))&&i<=2||(o=e>0&&i>0?2*l:e<0&&i<0?2*c:yt((l+c)/2||1,3),0<=(r=this.getPlotBox(o,t,a))&&r<=2));)n=i,r>0?(c=o,i=r):(l=o,e=r)},e.prototype.getPlotBox=function(t,e,r){var i=this.scale,o=this.pointers,n=r.getRadiusX(),a=r.clone();a.setRadiusX(n+t).setRadiusY(n+t),i.arc=a,i.reflow(e),this.plotBbox=i.bbox;for(var s=0;s<o.length;s++)o[s].reflow(a),this.plotBbox=S.geometry.Rect.union(this.plotBbox,o[s].bbox);return this.getDiff(this.plotBbox,e)},e.prototype.getDiff=function(t,e){return Math.min(e.width()-t.width(),e.height()-t.height())},e.prototype.alignScale=function(t){var e=this.plotBbox.center(),r=t.center(),i=e.x-r.x,o=e.y-r.y,n=this.scale,a=this.pointers;n.arc.center.x-=i,n.arc.center.y-=o,n.reflow(t);for(var s=0;s<a.length;s++)a[s].reflow(n.arc),this.plotBbox=S.geometry.Rect.union(n.bbox,a[s].bbox)},e.prototype._createModel=function(){var t=this.options,e=t.pointer,r=this.scale=new _u(t.scale,this.contextService);this.pointers=[];for(var i=x(e)?e:[e],o=0;o<i.length;o++){var n=new ju(r,V({},i[o],{animation:{transitions:t.transitions}}));this.pointers.push(n)}},e}(Ks);Ct(Tu,{transitions:!0,gaugeArea:{background:""}});var Mu=Tu,Vu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.rangeSegments=function(){var t=this.options;return[{from:t.min,to:t.max,color:t.rangePlaceholderColor,lineCap:t.rangeLineCap}]},e.prototype.hasRanges=function(){return!0},e.prototype.placeholderRangeAngle=function(t){var e=this.ranges.children[0].geometry();this.options.reverse?e.setEndAngle(t):e.setStartAngle(t)},e.prototype.addRange=function(t,e,r){var i=this.options.reverse,o=this.slotAngle(i?e:t),n=this.slotAngle(i?t:e),a=this.createRange(o,n,this.getRangeRadius(),r);return this.ranges.append(a),a},e}(_u);Ct(Vu,{min:0,max:100,majorTicks:{visible:!1},minorTicks:{visible:!1},labels:{visible:!1},startAngle:0,endAngle:180,rangeLineCap:"round"});var Nu=Vu,Eu=function(t){function e(e,r){t.call(this,e,r);var i=this.options,o=Math.abs(i.newAngle-i.oldAngle)/i.duration*1e3;i.duration=dt(o,150,800);var n=e.elements.options.get("stroke.color"),a=e.currentColor();n!==a&&(this.startColor=new S.Color(n),this.color=new S.Color(a))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.step=function(t){var e=this.options,r=this.startColor,i=this.color,o=Z(e.oldAngle,e.newAngle,t);if(this.element.angle(o),i){var n=yt(Z(r.r,i.r,t)),a=yt(Z(r.g,i.g,t)),s=yt(Z(r.b,i.b,t));this.element.stroke(new S.Color(n,a,s).toHex())}},e}(S.drawing.Animation);Ct(Eu,{easing:"linear",duration:150}),S.drawing.AnimationFactory.current.register("radialRangePointer",Eu);var Lu=Eu,Du=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.repaint=function(){var t=this.scale,e=this.options,r=t.slotAngle(e._oldValue),i=t.slotAngle(e.value);this.animation&&this.animation.abort(),!1===e.animation.transitions?(this.angle(i),this.stroke(this.currentColor())):(this.animation=new Lu(this,V(e.animation,{oldAngle:r,newAngle:i})),this.animation.play())},e.prototype.angle=function(t){var e=this.elements.geometry();this.scale.options.reverse?e.setStartAngle(t):e.setEndAngle(t),this.scale.placeholderRangeAngle(t)},e.prototype.stroke=function(t){this.elements.stroke(t)},e.prototype.render=function(){if(!this.elements){var t=this.scale,e=this.options;!1!==e.animation&&V(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),this.elements=t.addRange(t.options.min,this.options.value,{color:this.currentColor(),opacity:e.opacity,lineCap:t.options.rangeLineCap})}},e.prototype.currentColor=function(){var t=this.scale.options,e=t.min,r=t.max,i=this.options,o=i.colors,n=i.color,a=i.value,s=A(a)?a:e;if(o)for(var u=0;u<o.length;u++){var l=o[u],c=l.color,p=l.from;void 0===p&&(p=e);var h=l.to;if(void 0===h&&(h=r),p<=s&&s<=h)return c}return n},e.prototype.reflow=function(){this.render(),this.bbox=this.elements.bbox()},e}(Js);Ct(Du,{animation:{type:"radialRangePointer",duration:150}});var Bu=Du,Iu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initTheme=function(e){t.prototype._initTheme.call(this,e),this.options.color=this.options.color||(this.theme.pointer||{}).color},e.prototype._createModel=function(){var t=this.options,e=this.scale=new Nu(t.scale,this.contextService),r=new Bu(e,V({},{colors:t.colors,color:t.color,value:t.value,opacity:t.opacity,animation:{transitions:t.transitions}}));this.pointers=[r]},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var r=t[e];r.render(),r.value(r.options.value)}},e.prototype._setValueOptions=function(t){this.options.value=t},e.prototype.currentColor=function(){var t=this.pointers[0];if(t)return t.currentColor()},e.prototype.centerLabelPosition=function(t,e){var r=this.getSize(),i=this.scale.arc.center,o=i.x-t/2,n=i.y-e/2;if(t<r.width){var a=o+t;o=Math.max(o,0),a>r.width&&(o-=a-r.width)}if(e<r.height){var s=this.scale.bbox,u=s.bottomRight().y,l=n+e;n=Math.max(n,s.origin.y),l>u&&(n-=l-u)}return{left:o,top:n}},e}(Mu),Ru=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._createModel=function(){var e=this.options.scale;"number"!=typeof e.startAngle&&(e.startAngle=90),e.endAngle=e.startAngle+360,t.prototype._createModel.call(this)},e}(Iu),zu=function(t){function e(e){t.call(this),this.setOptions(e),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.setOptions=function(t){this.options=Object.assign({},this.options,t),this.quietZoneLength=this.options.addQuietZone?2*this.options.quietZoneLength:0},e.prototype.encode=function(t,e,r){var i=at(t)?String(t):t;return this.initValue(i,e,r),this.options.addQuietZone&&this.addQuietZone(),this.addData(),this.options.addQuietZone&&this.addQuietZone(),{baseUnit:this.baseUnit,pattern:this.pattern}},e.prototype.initValue=function(){},e.prototype.addQuietZone=function(){this.pattern.push(this.options.quietZoneLength||10)},e.prototype.addData=function(){},e.prototype.invalidCharacterError=function(t){throw new Error('Character "'+t+'" is not valid for symbology '+this.name+".")},e}(S.Class);Ct(zu,{quietZoneLength:10,addQuietZone:!0,addCheckSum:!0});var Fu=Object.assign,Hu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Fu(this,{name:"Code 11",characterMap:["111121","211121","121121","221111","112121","212111","122111","111221","211211","211111","112111"],cCheckSumTotal:10,kCheckSumTotal:9,kCheckSumMinLength:10,checkSumMod:11,DASH_VALUE:10,DASH:"-",START:"112211",STOP:"11221"})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.width=e,this.totalUnits=0},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addCheckSum=function(){var t=this.value,e=t.length,r=this.getWeightedSum(t,e,this.cCheckSumTotal)%this.checkSumMod;if(this.checksum=String(r),this.addPattern(this.characterMap[r]),++e>=this.kCheckSumMinLength){var i=(r+this.getWeightedSum(t,e,this.kCheckSumTotal))%this.checkSumMod;this.checksum+=i,this.addPattern(this.characterMap[i])}},e.prototype.getWeightedSum=function(t,e,r){for(var i=0,o=0;o<t.length;o++)i+=this.weightedValue(this.getValue(t.charAt(o)),e,o,r);return i},e.prototype.weightedValue=function(t,e,r,i){return((e-r)%i||i)*t},e.prototype.getValue=function(t){return isNaN(t)?(t!==this.DASH&&this.invalidCharacterError(t),this.DASH_VALUE):parseInt(t,10)},e.prototype.addCharacter=function(t){var e=this.getValue(t),r=this.characterMap[e];this.addPattern(r)},e.prototype.addPattern=function(t){for(var e,r=0;r<t.length;r++)e=parseInt(t.charAt(r),10),this.pattern.push(e),this.totalUnits+=e},e}(zu);Ct(Hu,{addCheckSum:!0});var Uu=Object.assign,Ku=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Uu(this,{minBaseUnitLength:.7})},e.prototype.addData=function(){var t=this.value;this.addStart();for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.pushCheckSum(),this.addStop(),this.prepareValues()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addBase(e)},e.prototype.addBase=function(){},e}(zu),$u=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Uu(this,{name:"Code 39",checkSumMod:43,minRatio:2.5,maxRatio:3,gapWidth:1,splitCharacter:"|",patternMappings:{b:"1|",w:"1|",B:"ratio|",W:"ratio|"},characterMap:{0:{pattern:"bwbWBwBwb",value:0},1:{pattern:"BwbWbwbwB",value:1},2:{pattern:"bwBWbwbwB",value:2},3:{pattern:"BwBWbwbwb",value:3},4:{pattern:"bwbWBwbwB",value:4},5:{pattern:"BwbWBwbwb",value:5},6:{pattern:"bwBWBwbwb",value:6},7:{pattern:"bwbWbwBwB",value:7},8:{pattern:"BwbWbwBwb",value:8},9:{pattern:"bwBWbwBwb",value:9},A:{pattern:"BwbwbWbwB",value:10},B:{pattern:"bwBwbWbwB",value:11},C:{pattern:"BwBwbWbwb",value:12},D:{pattern:"bwbwBWbwB",value:13},E:{pattern:"BwbwBWbwb",value:14},F:{pattern:"bwBwBWbwb",value:15},G:{pattern:"bwbwbWBwB",value:16},H:{pattern:"BwbwbWBwb",value:17},I:{pattern:"bwBwbWBwb",value:18},J:{pattern:"bwbwBWBwb",value:19},K:{pattern:"BwbwbwbWB",value:20},L:{pattern:"bwBwbwbWB",value:21},M:{pattern:"BwBwbwbWb",value:22},N:{pattern:"bwbwBwbWB",value:23},O:{pattern:"BwbwBwbWb",value:24},P:{pattern:"bwBwBwbWb",value:25},Q:{pattern:"bwbwbwBWB",value:26},R:{pattern:"BwbwbwBWb",value:27},S:{pattern:"bwBwbwBWb",value:28},T:{pattern:"bwbwBwBWb",value:29},U:{pattern:"BWbwbwbwB",value:30},V:{pattern:"bWBwbwbwB",value:31},W:{pattern:"BWBwbwbwb",value:32},X:{pattern:"bWbwBwbwB",value:33},Y:{pattern:"BWbwBwbwb",value:34},Z:{pattern:"bWBwBwbwb",value:35},"-":{pattern:"bWbwbwBwB",value:36},".":{pattern:"BWbwbwBwb",value:37}," ":{pattern:"bWBwbwBwb",value:38},$:{pattern:"bWbWbWbwb",value:39},"/":{pattern:"bWbWbwbWb",value:40},"+":{pattern:"bWbwbWbWb",value:41},"%":{pattern:"bwbWbWbWb",value:42},START:{pattern:"bWbwBwBwb"}}})},e.prototype.initValue=function(t,e,r){this.width=e,this.height=r,this.value=t,this.dataLength=t.length,this.pattern=[],this.patternString=""},e.prototype.prepareValues=function(){var t,e=this.minBaseUnitLength,r=this.minRatio,i=Math.ceil(Math.max(.15*this.width,24)),o=this.maxRatio;if(this.height<i)throw new Error("Insufficient height for Code39 encoding: the current height is "+this.height+"px and the minimum height is "+i+"px.");for(t=this.getBaseUnit(o);t<e&&o>r;)o=parseFloat((o-.1).toFixed(1)),t=this.getBaseUnit(o);if(t<e){var n=Math.ceil(this.getBaseWidth(r)*e);throw new Error("Insufficient width for Code39 encoding: the current width is "+this.width+'px and the minimum width for value "'+this.value+'" is '+n+"px.")}this.ratio=o,this.baseUnit=t,this.patternString=this.patternString.substring(0,this.patternString.length-1),this.pattern=this.pattern.concat(this.patternString.replace(/ratio/g,o).split(this.splitCharacter))},e.prototype.getBaseUnit=function(t){return this.width/this.getBaseWidth(t)},e.prototype.getBaseWidth=function(t){var e=3*(t+2);return this.quietZoneLength+e*(this.dataLength+2)+this.gapWidth*(this.dataLength+1)},e.prototype.addStart=function(){this.addPattern(this.characterMap.START.pattern),this.addCharacterGap()},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.addCharacterGap()},e.prototype.addStop=function(){this.addPattern(this.characterMap.START.pattern)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.patternString+=this.patternMappings[t.charAt(e)]},e.prototype.addCharacterGap=function(){this.patternString+=this.gapWidth+this.splitCharacter},e}(Ku);Ct($u,{addCheckSum:!1});var Gu={addCharacter:function(t){this.characterMap[t]?this.addBase(this.characterMap[t]):t.charCodeAt(0)>127?this.invalidCharacterError(t):this.addExtended(t.charCodeAt(0))},addExtended:function(t){for(var e,r=0;r<this.extendedMappings.length;r++)if(e=this.extendedMappings[r].call(this,t)){for(var i=0;i<e.length;i++){var o=e[i];this.addBase(o)}return void(this.dataLength+=e.length-1)}},extendedMappings:[function(t){if(97<=t&&t<=122)return[this.characterMap[this.shiftCharacters[0]],this.characterMap[String.fromCharCode(t-32)]]},function(t){if(33<=t&&t<=58)return[this.characterMap[this.shiftCharacters[1]],this.characterMap[String.fromCharCode(t+32)]]},function(t){if(1<=t&&t<=26)return[this.characterMap[this.shiftCharacters[2]],this.characterMap[String.fromCharCode(t+64)]]},function(t){var e,r;if(this.specialAsciiCodes[t]){e=[];for(var i=0;i<this.specialAsciiCodes[t].length;i++)e.push(this.characterMap[this.shiftCharacters[3]]),e.push(this.characterMap[this.specialAsciiCodes[t][i]])}else r=6*Math.floor(t/32)+(t-27)%32+64,e=[this.characterMap[this.shiftCharacters[3]],this.characterMap[String.fromCharCode(r)]];return e}],specialAsciiCodes:{0:["U"],64:["V"],96:["W"],127:["T","X","Y","Z"]},shiftValuesAsciiCodes:{39:36,40:47,41:43,42:37},characterMap:{"+":!1,"/":!1,$:!1,"%":!1},shiftCharacters:["SHIFT0","SHIFT1","SHIFT2","SHIFT3"]},Xu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,Gu,{name:"Code 39 extended",characterMap:{SHIFT0:{pattern:"bWbwbWbWb",value:41},SHIFT1:{pattern:"bWbWbwbWb",value:40},SHIFT2:{pattern:"bWbWbWbwb",value:39},SHIFT3:{pattern:"bwbWbWbWb",value:42}}})},e}($u),Yu=Object.assign,Wu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Yu(this,{name:"Code 93",cCheckSumTotal:20,kCheckSumTotal:15,checkSumMod:47,characterMap:{0:{pattern:"131112",value:0},1:{pattern:"111213",value:1},2:{pattern:"111312",value:2},3:{pattern:"111411",value:3},4:{pattern:"121113",value:4},5:{pattern:"121212",value:5},6:{pattern:"121311",value:6},7:{pattern:"111114",value:7},8:{pattern:"131211",value:8},9:{pattern:"141111",value:9},A:{pattern:"211113",value:10},B:{pattern:"211212",value:11},C:{pattern:"211311",value:12},D:{pattern:"221112",value:13},E:{pattern:"221211",value:14},F:{pattern:"231111",value:15},G:{pattern:"112113",value:16},H:{pattern:"112212",value:17},I:{pattern:"112311",value:18},J:{pattern:"122112",value:19},K:{pattern:"132111",value:20},L:{pattern:"111123",value:21},M:{pattern:"111222",value:22},N:{pattern:"111321",value:23},O:{pattern:"121122",value:24},P:{pattern:"131121",value:25},Q:{pattern:"212112",value:26},R:{pattern:"212211",value:27},S:{pattern:"211122",value:28},T:{pattern:"211221",value:29},U:{pattern:"221121",value:30},V:{pattern:"222111",value:31},W:{pattern:"112122",value:32},X:{pattern:"112221",value:33},Y:{pattern:"122121",value:34},Z:{pattern:"123111",value:35},"-":{pattern:"121131",value:36},".":{pattern:"311112",value:37}," ":{pattern:"311211",value:38},$:{pattern:"321111",value:39},"/":{pattern:"112131",value:40},"+":{pattern:"113121",value:41},"%":{pattern:"211131",value:42},SHIFT0:{pattern:"122211",value:46},SHIFT1:{pattern:"311121",value:45},SHIFT2:{pattern:"121221",value:43},SHIFT3:{pattern:"312111",value:44},START:{pattern:"111141"},TERMINATION_BAR:"1"}})},e.prototype.initValue=function(t,e,r){this.value=t,this.width=e,this.height=r,this.pattern=[],this.values=[],this.dataLength=t.length},e.prototype.prepareValues=function(){var t=Math.ceil(Math.max(.15*this.width,24));if(this.height<t)throw new Error("Insufficient height for Code93 encoding: the current height is "+this.height+"px, the minimum required height is "+t+"px.");if(this.setBaseUnit(),this.baseUnit<this.minBaseUnitLength){var e=Math.ceil(this.minBaseUnitLength*(this.width/this.baseUnit));throw new Error("Insufficient width for Code93 encoding: the current width is "+this.width+'px and the minimum required width for value "'+this.value+'" is '+e+"px.")}},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(9*(this.dataLength+2+2)+this.quietZoneLength+1)},e.prototype.addStart=function(){var t=this.characterMap.START.pattern;this.addPattern(t)},e.prototype.addStop=function(){this.addStart(),this.pattern.push(this.characterMap.TERMINATION_BAR)},e.prototype.addBase=function(t){this.addPattern(t.pattern),this.values.push(t.value)},e.prototype.pushCheckSum=function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var r=0;r<e.length;r++)t=this.characterMap[this._findCharacterByValue(e[r])],this.addPattern(t.pattern)},e.prototype._getCheckValues=function(){var t,e,r=this.values,i=r.length,o=0;for(e=i-1;e>=0;e--)o+=this.weightedValue(r[e],i-e,this.cCheckSumTotal);for(t=o%this.checkSumMod,o=this.weightedValue(t,1,this.kCheckSumTotal),e=i-1;e>=0;e--)o+=this.weightedValue(r[e],i-e+1,this.kCheckSumTotal);return[t,o%this.checkSumMod]},e.prototype._findCharacterByValue=function(t){for(var e in this.characterMap)if(this.characterMap[e].value===t)return e},e.prototype.weightedValue=function(t,e,r){return(e%r||r)*t},e.prototype.addPattern=function(t){for(var e,r=0;r<t.length;r++)e=parseInt(t.charAt(r),10),this.pattern.push(e)},e}(Ku),qu=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,Gu,{name:"Code 93 extended",pushCheckSum:function(){var t,e=this._getCheckValues();this.checksum=e.join("");for(var r=0;r<e.length;r++)if(t=e[r],this.shiftValuesAsciiCodes[t])this.addExtended(this.shiftValuesAsciiCodes[t]);else{var i=this._findCharacterByValue(t);this.addPattern(this.characterMap[i].pattern)}}})},e}(Wu),Zu=/^\d+$/,Qu=Object.assign,Ju=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Qu(this,{name:"Postnet",START:"2",VALID_CODE_LENGTHS:[5,9,11],DIGIT_SEPARATOR:"-",characterMap:["22111","11122","11212","11221","12112","12121","12211","21112","21121","21211"]})},e.prototype.initValue=function(t,e,r){this.height=r,this.width=e,this.baseHeight=r/2,this.value=t.replace(new RegExp(this.DIGIT_SEPARATOR,"g"),""),this.pattern=[],this.validate(this.value),this.checkSum=0,this.setBaseUnit()},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.START),this.pattern.pop()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];this.checkSum+=parseInt(t,10),this.addPattern(e)},e.prototype.addCheckSum=function(){this.checksum=(10-this.checkSum%10)%10,this.addCharacter(this.checksum)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(10*(this.value.length+1)+3+this.quietZoneLength)},e.prototype.validate=function(t){if(Zu.test(t)||this.invalidCharacterError(t.match(/[^0-9]/)[0]),!q(t.length,this.VALID_CODE_LENGTHS))throw new Error("Invalid value length. Valid lengths for the Postnet symbology are "+this.VALID_CODE_LENGTHS.join(",")+".")},e.prototype.addPattern=function(t){for(var e,r=0;r<t.length;r++)e=this.height-this.baseHeight*t.charAt(r),this.pattern.push({width:1,y1:e,y2:this.height}),this.pattern.push(1)},e}(zu),tl=/^\d+$/,el=/^[a-z0-9]+$/i,rl=Object.assign,il=function(t){function e(e){t.call(this),this.encoding=e,this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){},e.prototype.addStart=function(){},e.prototype.is=function(){},e.prototype.isCode=function(){return!1},e.prototype.move=function(){},e.prototype.pushState=function(){},e}(S.Class),ol=function(t){function e(e,r){t.call(this,e),this.states=r,this._initMoves(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,{FNC4:"FNC4",SHIFT:98})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var r=t.charCodeAt(e);return this.isCode(r)},e.prototype.move=function(t){for(var e=0;!this._moves[e].call(this,t)&&e<this._moves.length;)e++},e.prototype.pushState=function(t){var e,r=this.states,i=t.value,o=i.length;if(q("C",r)){var n=i.substr(t.index).match(/\d{4,}/g);n&&(o=i.indexOf(n[0],t.index))}for(;(e=t.value.charCodeAt(t.index))>=0&&this.isCode(e)&&t.index<o;)this.encoding.addPattern(this.getValue(e)),t.index++},e.prototype._initMoves=function(t){this._moves=[],q(this.FNC4,t)&&this._moves.push(this._moveFNC),q(this.shiftKey,t)&&this._moves.push(this._shiftState),this._moves.push(this._moveState)},e.prototype._moveFNC=function(t){if(t.fnc)return t.fnc=!1,t.previousState===this.key},e.prototype._shiftState=function(t){if(t.previousState===this.shiftKey&&(t.index+1>=t.value.length||this.encoding[this.shiftKey].is(t.value,t.index+1)))return this.encoding.addPattern(this.SHIFT),t.shifted=!0,!0},e.prototype._moveState=function(){return this.encoding.addPattern(this.MOVE),!0},e}(il),nl={};nl.A=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"A",shiftKey:"B",MOVE:101,START:103})},e.prototype.isCode=function(t){return 0<=t&&t<96},e.prototype.getValue=function(t){return t<32?t+64:t-32},e}(ol),nl.B=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"B",shiftKey:"A",MOVE:100,START:104})},e.prototype.isCode=function(t){return 32<=t&&t<128},e.prototype.getValue=function(t){return t-32},e}(ol),nl.C=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"C",MOVE:99,START:105})},e.prototype.addStart=function(){this.encoding.addPattern(this.START)},e.prototype.is=function(t,e){var r=hl(t,e,4);return(e+4<=t.length||2===t.length)&&tl.test(r)},e.prototype.move=function(){this.encoding.addPattern(this.MOVE)},e.prototype.pushState=function(t){for(var e;(e=hl(t.value,t.index,2))&&tl.test(e)&&2===e.length;)this.encoding.addPattern(parseInt(e,10)),t.index+=2},e.prototype.getValue=function(t){return t},e}(il),nl.FNC4=function(t){function e(e,r){t.call(this,e),this._initSubStates(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"FNC4",dependentStates:["A","B"]})},e.prototype.addStart=function(t){var e=t.value.charCodeAt(0)-128,r=this._getSubState(e);this.encoding[r].addStart()},e.prototype.is=function(t,e){var r=t.charCodeAt(e);return this.isCode(r)},e.prototype.isCode=function(t){return 128<=t&&t<256},e.prototype.pushState=function(t){var e,r=this._initSubState(t),i=this.encoding,o=r.value.length;if(t.index+=o,o<3)for(;r.index<o;r.index++)e=r.value.charCodeAt(r.index),r.state=this._getSubState(e),r.previousState!==r.state&&(r.previousState=r.state,i[r.state].move(r)),i.addPattern(i[r.state].MOVE),i.addPattern(i[r.state].getValue(e));else r.state!==r.previousState&&i[r.state].move(r),this._pushStart(r),i.pushData(r,this.subStates),t.index<t.value.length&&this._pushStart(r);t.fnc=!0,t.state=r.state},e.prototype._pushStart=function(t){this.encoding.addPattern(this.encoding[t.state].MOVE),this.encoding.addPattern(this.encoding[t.state].MOVE)},e.prototype._initSubState=function(t){var e={value:this._getAll(t.value,t.index),index:0};return e.state=this._getSubState(e.value.charCodeAt(0)),e.previousState=t.previousState===this.key?e.state:t.previousState,e},e.prototype._initSubStates=function(t){this.subStates=[];for(var e=0;e<t.length;e++)q(t[e],this.dependentStates)&&this.subStates.push(t[e])},e.prototype._getSubState=function(t){for(var e=0;e<this.subStates.length;e++)if(this.encoding[this.subStates[e]].isCode(t))return this.subStates[e]},e.prototype._getAll=function(t,e){for(var r,i="",o=e;(r=t.charCodeAt(o++))&&this.isCode(r);)i+=String.fromCharCode(r-128);return i},e}(il),nl.FNC1=function(t){function e(e,r){t.call(this,e),this.states=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{key:"FNC1",startState:"C",startAI:"(",endAI:")",dependentStates:["C","B"],applicationIdentifiers:{22:{max:29,type:"alphanumeric"},402:{length:17},7004:{max:4,type:"alphanumeric"},242:{max:6,type:"alphanumeric"},8020:{max:25,type:"alphanumeric"},703:{min:3,max:30,type:"alphanumeric"},8008:{min:8,max:12,type:"alphanumeric"},253:{min:13,max:17,type:"alphanumeric"},8003:{min:14,max:30,type:"alphanumeric"},multiKey:[{ids:["15","17","8005","8100"],ranges:[[11,13],[310,316],[320,336],[340,369]],type:{length:6}},{ids:["240","241","250","251","400","401","403","7002","8004","8007","8110"],ranges:[[-9]],type:{max:30,type:"alphanumeric"}},{ids:["7001"],ranges:[[410,414]],type:{length:13}},{ids:["10","21","254","420","8002"],type:{max:20,type:"alphanumeric"}},{ids:["00","8006","8017","8018"],type:{length:18}},{ids:["01","02","8001"],type:{length:14}},{ids:["422"],ranges:[[424,426]],type:{length:3}},{ids:["20","8102"],type:{length:2}},{ids:["30","37"],type:{max:8,type:"alphanumeric"}},{ids:["390","392"],type:{max:15,type:"alphanumeric"}},{ids:["421","423"],type:{min:3,max:15,type:"alphanumeric"}},{ids:["391","393"],type:{min:3,max:18,type:"alphanumeric"}},{ids:["7003","8101"],type:{length:10}}]},START:102})},e.prototype.addStart=function(){this.encoding[this.startState].addStart()},e.prototype.is=function(){return q(this.key,this.states)},e.prototype.pushState=function(t){var e,r,i,o=this.encoding,n=t.value.replace(/\s/g,""),a=new RegExp("["+this.startAI+this.endAI+"]","g"),s=t.index,u={state:this.startState};o.addPattern(this.START);for(;;){if(u.index=0,(e=(i=n.charAt(s)===this.startAI?2:0)>0?this.getBySeparator(n,s):this.getByLength(n,s)).ai.length)r=s+i+e.id.length+e.ai.length;else if((r=n.indexOf(this.startAI,s+1))<0){if(s+e.ai.max+e.id.length+i<n.length)throw new Error("Separators are required after variable length identifiers");r=n.length}if(u.value=n.substring(s,r).replace(a,""),this.validate(e,u.value),o.pushData(u,this.dependentStates),r>=n.length)break;s=r,u.state!==this.startState&&(o[this.startState].move(u),u.state=this.startState),e.ai.length||o.addPattern(this.START)}t.index=t.value.length},e.prototype.validate=function(t,e){var r=e.substr(t.id.length),i=t.ai;if(!i.type&&!tl.test(r))throw new Error("Application identifier "+t.id+" is numeric only but contains non numeric character(s).");if("alphanumeric"===i.type&&!el.test(r))throw new Error("Application identifier "+t.id+" is alphanumeric only but contains non alphanumeric character(s).");if(i.length&&i.length!==r.length)throw new Error("Application identifier "+t.id+" must be "+i.length+" characters long.");if(i.min&&i.min>r.length)throw new Error("Application identifier "+t.id+" must be at least "+i.min+" characters long.");if(i.max&&i.max<r.length)throw new Error("Application identifier "+t.id+" must be at most "+i.max+" characters long.")},e.prototype.getByLength=function(t,e){for(var r,i,o=2;o<=4;o++)if(r=hl(t,e,o),i=this.getApplicationIdentifier(r)||this.getApplicationIdentifier(r.substring(0,r.length-1)))return{id:r,ai:i};this.unsupportedAIError(r)},e.prototype.unsupportedAIError=function(t){throw new Error("'"+t+"' is not a supported Application Identifier")},e.prototype.getBySeparator=function(t,e){var r=t.indexOf(this.startAI,e),i=t.indexOf(this.endAI,r),o=t.substring(r+1,i),n=this.getApplicationIdentifier(o)||this.getApplicationIdentifier(o.substr(o.length-1));return n||this.unsupportedAIError(o),{ai:n,id:o}},e.prototype.getApplicationIdentifier=function(t){var e=this.applicationIdentifiers,r=e.multiKey;if(e[t])return e[t];for(var i=0;i<r.length;i++){if(r[i].ids&&q(t,r[i].ids))return r[i].type;if(r[i].ranges)for(var o=r[i].ranges,n=0;n<o.length;n++)if(o[n][0]<=t&&t<=o[n][1])return r[i].type}},e}(il);var al=function(t){function e(e){t.call(this,e),this._initStates()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{characterMap:[212222,222122,222221,121223,121322,131222,122213,122312,132212,221213,221312,231212,112232,122132,122231,113222,123122,123221,223211,221132,221231,213212,223112,312131,311222,321122,321221,312212,322112,322211,212123,212321,232121,111323,131123,131321,112313,132113,132311,211313,231113,231311,112133,112331,132131,113123,113321,133121,313121,211331,231131,213113,213311,213131,311123,311321,331121,312113,312311,332111,314111,221411,431111,111224,111422,121124,121421,141122,141221,112214,112412,122114,122411,142112,142211,241211,221114,413111,241112,134111,111242,121142,121241,114212,124112,124211,411212,421112,421211,212141,214121,412121,111143,111341,131141,114113,114311,411113,411311,113141,114131,311141,411131,211412,211214,211232,2331112],STOP:106})},e.prototype._initStates=function(){for(var t=0;t<this.states.length;t++)this[this.states[t]]=new nl[this.states[t]](this,this.states)},e.prototype.initValue=function(t,e,r){this.pattern=[],this.value=t,this.width=e,this.height=r,this.checkSum=0,this.totalUnits=0,this.index=0,this.position=1},e.prototype.addData=function(){var t={value:this.value,index:0,state:""};0!==this.value.length&&(t.state=t.previousState=this.getNextState(t,this.states),this.addStart(t),this.pushData(t,this.states),this.addCheckSum(),this.addStop(),this.setBaseUnit())},e.prototype.pushData=function(t,e){for(;this[t.state].pushState(t),!(t.index>=t.value.length);)if(t.shifted){var r=t.state;t.state=t.previousState,t.previousState=r,t.shifted=!1}else t.previousState=t.state,t.state=this.getNextState(t,e),this[t.state].move(t)},e.prototype.addStart=function(t){this[t.state].addStart(t),this.position=1},e.prototype.addCheckSum=function(){this.checksum=this.checkSum%103,this.addPattern(this.checksum)},e.prototype.addStop=function(){this.addPattern(this.STOP)},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(this.totalUnits+this.quietZoneLength)},e.prototype.addPattern=function(t){for(var e,r=this.characterMap[t].toString(),i=0;i<r.length;i++)e=parseInt(r.charAt(i),10),this.pattern.push(e),this.totalUnits+=e;this.checkSum+=t*this.position++},e.prototype.getNextState=function(t,e){for(var r=0;r<e.length;r++)if(this[e[r]].is(t.value,t.index))return e[r];this.invalidCharacterError(t.value.charAt(t.index))},e}(zu),sl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128 A",states:["A"]})},e}(al),ul=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128 B",states:["B"]})},e}(al),ll=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128 C",states:["C"]})},e}(al),cl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code 128",states:["C","B","A","FNC4"]})},e}(al),pl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),rl(this,{name:"Code GS1-128",states:["FNC1","C","B"]})},e}(al);function hl(t,e,r){return t.substring(e,e+r)}var fl=Object.assign,dl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{characterMap:["12121212","12121221","12122112","12122121","12211212","12211221","12212112","12212121","21121212","21121221"],START:"21",STOP:"121",checkSumType:"",checkSums:bl})},e.prototype.initValue=function(t,e){this.pattern=[],this.value=t,this.checkSumLength=0,this.width=e},e.prototype.setBaseUnit=function(){this.baseUnit=this.width/(12*(this.value.length+this.checkSumLength)+this.quietZoneLength+7)},e.prototype.addData=function(){var t=this.value;this.addPattern(this.START);for(var e=0;e<t.length;e++)this.addCharacter(t.charAt(e));this.options.addCheckSum&&this.addCheckSum(),this.addPattern(this.STOP),this.setBaseUnit()},e.prototype.addCharacter=function(t){var e=this.characterMap[t];e||this.invalidCharacterError(t),this.addPattern(e)},e.prototype.addPattern=function(t){for(var e=0;e<t.length;e++)this.pattern.push(parseInt(t.charAt(e),10))},e.prototype.addCheckSum=function(){var t=this.checkSums[this.checkSumType].call(this.checkSums,this.value);this.checksum=t.join("");for(var e=0;e<t.length;e++)this.checkSumLength++,this.addPattern(this.characterMap[t[e]])},e}(zu),vl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo10",checkSumType:"Modulo10"})},e}(dl),gl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo11",checkSumType:"Modulo11"})},e}(dl),yl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo10 Modulo10",checkSumType:"Modulo10Modulo10"})},e}(dl),ml=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),fl(this,{name:"MSI Modulo11 Modulo10",checkSumType:"Modulo11Modulo10"})},e}(dl),bl={Modulo10:function(t){var e,r,i,o=[0,""],n=t.length%2;for(e=0;e<t.length;e++)o[(e+n)%2]+=parseInt(t.charAt(e),10);for(i=o[0],r=(2*o[1]).toString(),e=0;e<r.length;e++)i+=parseInt(r.charAt(e),10);return[(10-i%10)%10]},Modulo11:function(t){for(var e,r=0,i=t.length,o=0;o<i;o++)r+=(((i-o)%6||6)+1)*t.charAt(o);return 10!==(e=(11-r%11)%11)?[e]:[1,0]},Modulo11Modulo10:function(t){var e,r=this.Modulo11(t);return e=t+r[0],r.concat(this.Modulo10(e))},Modulo10Modulo10:function(t){var e,r=this.Modulo10(t);return e=t+r[0],r.concat(this.Modulo10(e))}},xl=Object.assign,_l=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),xl(this,{name:"EAN 13",keyTable:["000000","001011","001101","001110","010011","011001","011100","010101","010110","011010"],characterMap:{digits:[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],start:[1,1,1],middle:[1,1,1,1,1]}})},e.prototype.initValue=function(t,e,r){var i=String(t);if(12!==i.length||/\D/.test(i))throw new Error('The value of the "EAN13" encoding should be 12 symbols');this.pattern=[],this.options.height=r,this.baseUnit=e/(95+this.quietZoneLength),this.value=i,this.checksum=this.calculateChecksum(),this.leftKey=i[0],this.leftPart=i.substr(1,6),this.rightPart=i.substr(7)+this.checksum},e.prototype.addData=function(){this.addPieces(this.characterMap.start),this.addSide(this.leftPart,this.leftKey),this.addPieces(this.characterMap.middle),this.addSide(this.rightPart),this.addPieces(this.characterMap.start)},e.prototype.addSide=function(t,e){for(var r=0;r<t.length;r++)e&&parseInt(this.keyTable[e].charAt(r),10)?this.addPieces(Array.prototype.slice.call(this.characterMap.digits[t.charAt(r)]).reverse(),!0):this.addPieces(this.characterMap.digits[t.charAt(r)],!0)},e.prototype.addPieces=function(t,e){for(var r=0;r<t.length;r++)e?this.pattern.push({y1:0,y2:.95*this.options.height,width:t[r]}):this.pattern.push(t[r])},e.prototype.calculateChecksum=function(){for(var t=0,e=0,r=this.value.split("").reverse().join(""),i=0;i<r.length;i++)i%2?e+=parseInt(r.charAt(i),10):t+=parseInt(r.charAt(i),10);return(10-(3*t+e)%10)%10},e}(zu),Cl=Object.assign,wl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Cl(this,{name:"EAN 8"})},e.prototype.initValue=function(t,e,r){if(7!==t.length||/\D/.test(t))throw new Error("Invalid value provided");this.value=t,this.options.height=r,this.checksum=this.calculateChecksum(this.value),this.leftPart=this.value.substr(0,4),this.rightPart=this.value.substr(4)+this.checksum,this.pattern=[],this.baseUnit=e/(67+this.quietZoneLength)},e}(_l),Sl={code11:Hu,code39:$u,code39extended:Xu,code93:Wu,code93extended:qu,code128:cl,code128a:sl,code128b:ul,code128c:ll};function Ol(t,e){var r=t.style.display;"canvas"===e&&(t.style.display="block");var i={width:t.clientWidth,height:t.clientHeight};return t.style.display=r,i}Sl["gs1-128"]=pl,Sl.msimod10=vl,Sl.msimod11=gl,Sl.msimod1010=yl,Sl.msimod1110=ml,Sl.postnet=Ju,Sl.ean8=wl,Sl.ean13=_l;var Pl=function(t){function e(e,r,i){void 0===i&&(i=Dt),t.call(this),this.options=V({},this.options,r),this.element=e,this.onError=i,this._initElement(),this._initSurface(),this._setOptions(r),r&&at(r.value)&&this.redraw()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){_(this.element,"k-barcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return S.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.setOptions=function(t){this._setOptions(t),this._initSurface(),this.redraw()},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t.width,height:t.height}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){return{width:this.element.offsetWidth,height:this.element.offsetHeight}},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype._render=function(){var t,e,r=this.options,i=r.value,o=r.text,n=I(o.margin),a=this._getSize(),s=r.border||{},u=this.encoding,l=new Ft(0,0,a.width,a.height).unpad(s.width).unpad(r.padding),c=l.height(),p=new S.drawing.Group;this.contentBox=l,p.append(this._getBackground(a)),o.visible&&(c-=S.drawing.util.measureText(i,{font:o.font}).height+n.top+n.bottom);try{t=u.encode(i,l.width(),c)}catch(t){return this.onError(t),p}return o.visible&&(e=i,r.checksum&&at(u.checksum)&&(e+=" "+u.checksum),p.append(this._getText(e))),this.barHeight=c,this._bandsGroup=this._getBands(t.pattern,t.baseUnit),p.append(this._bandsGroup),p},e.prototype.exportVisual=function(){return this._render()},e.prototype._getSize=function(){var t=Ol(this.element,this.options.renderAs),e=new S.geometry.Size(300,100);return t.width>0&&(e.width=t.width),t.height>0&&(e.height=t.height),this.options.width&&(e.width=this.options.width),this.options.height&&(e.height=this.options.height),e},e.prototype.value=function(t){if(!at(t))return this.options.value;this.options.value=String(t),this.redraw()},e.prototype._getBands=function(t,e){for(var r,i,o=this.contentBox,n=o.x1,a=new S.drawing.Group,s=0;s<t.length;s++){if(r=(i=N(t[s])?t[s]:{width:t[s],y1:0,y2:this.barHeight}).width*e,s%2){var u=S.geometry.Rect.fromPoints(new S.geometry.Point(n,i.y1+o.y1),new S.geometry.Point(n+r,i.y2+o.y1)),l=S.drawing.Path.fromRect(u,{fill:{color:this.options.color},stroke:null});a.append(l)}n+=r}return a},e.prototype._getBackground=function(t){var e=this.options,r=e.border||{},i=new Ft(0,0,t.width,t.height).unpad(r.width/2);return S.drawing.Path.fromRect(i.toRect(),{fill:{color:e.background},stroke:{color:r.width?r.color:"",width:r.width,dashType:r.dashType}})},e.prototype._getText=function(t){var e=this.options.text,r=this._textbox=new ce(t,{font:e.font,color:e.color,align:"center",vAlign:"bottom",margin:e.margin});return r.reflow(this.contentBox),r.renderVisual(),r.visual},e.prototype._setOptions=function(t){if(this.type=(t.type||this.options.type).toLowerCase(),"upca"===this.type&&(this.type="ean13",t.value="0"+t.value),"upce"===this.type&&(this.type="ean8",t.value="0"+t.value),!Sl[this.type])throw new Error("Encoding '"+this.type+"' is not supported.");this.encoding=new Sl[this.type],this.options=V({},this.options,t)},e}(S.Class);Ct(Pl,{name:"Barcode",renderAs:"svg",value:"",type:"code39",checksum:!1,width:0,height:0,color:"black",background:"white",text:{visible:!0,font:"16px Consolas, Monaco, Sans Mono, monospace, sans-serif",color:"black",margin:{top:0,bottom:0,left:0,right:0}},border:{width:0,dashType:"solid",color:"black"},padding:{top:0,bottom:0,left:0,right:0}});var Al=Pl,jl={width:500,height:100};var kl=function(t,e){if(void 0===e&&(e=jl),!t)throw new Error("Please specify barcode type to validate.");var r=t.toLowerCase(),i="";if("upca"===r?(r="ean13",i="0"):"upce"===r&&(r="ean8",i="0"),!Sl[r])throw new Error("Encoding '"+t+"' is not supported.");return function(t,e,r){return function(i){try{t.encode(r+i,e.width,e.height)}catch(t){return{valid:!1,error:t}}return{valid:!0}}}(new Sl[r],e,i)},Tl=Object.assign;function Ml(t,e){for(var r=[],i=0;i<t.length;)r.push(t.substring(i,i+e)),i+=e;return r}function Vl(t,e){var r=Number(t).toString(2);return r.length<e&&(r=new Array(e-r.length+1).join(0)+r),r}function Nl(t){return parseInt(t,2)}var El=function(t){function e(e){t.call(this),this.matrix=e,this.row=e.length-1,this.column=e.length-1,this.startColumn=this.column,this.dir=-1,this.c=0}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.move=function(){this.row+=this.dir*this.c,this.c^=1,this.column=this.startColumn-this.c},e.prototype.getNextCell=function(){for(;void 0!==this.matrix[this.row][this.column];)this.move(),(this.row<0||this.row>=this.matrix.length)&&(this.dir=-this.dir,this.startColumn-=8!==this.startColumn?2:3,this.column=this.startColumn,this.row=this.dir<0?this.matrix.length-1:0);return{row:this.row,column:this.column}},e.prototype.getNextRemainderCell=function(){if(this.move(),void 0===this.matrix[this.row][this.column])return{row:this.row,column:this.column}},e}(S.Class),Ll=function(t){function e(e,r){t.call(this),this.dataString=e,this.version=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class),Dl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getEncodingResult=function(t,e){var r=function(t){var e,r=[],i=0,o=t;r.push(lc(o,8,5,8,e)),e=r[0].mode,o=o.substr(r[0].modeString.length);for(;o.length>0;){var n=lc(o,17,9,16,e);n.mode!==e?(e=n.mode,r.push(n),i++):r[i].modeString+=n.modeString,o=o.substr(n.modeString.length)}return r}(t),i=cc(function(t){for(var e,r=0,i=0;i<t.length;i++)e=Fl[t[i].mode],r+=e.getStringBitsLength(t[i].modeString.length);return Math.ceil(r/8)}(r),e),o=function(t,e){for(var r,i="",o=0;o<t.length;o++)r=Fl[t[o].mode],i+=r.encode(t[o].modeString,e);return i}(r,i);return new Ll(o,i)},e}(S.Class),Bl=function(t){function e(){t.call(this),this.initProperties()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Tl(this,{modeIndicator:"",bitsInCharacterCount:[]})},e.prototype.getVersionIndex=function(t){return t<10?0:t>26?2:1},e.prototype.getBitsCharacterCount=function(t){return this.bitsInCharacterCount[this.getVersionIndex(t||40)]},e.prototype.getModeCountString=function(t,e){return this.modeIndicator+Vl(t,this.getBitsCharacterCount(e))},e.prototype.encode=function(){},e.prototype.getStringBitsLength=function(){},e.prototype.getValue=function(){},e}(S.Class),Il=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tl(this,{bitsInCharacterCount:[10,12,14],modeIndicator:"0001"})},e.prototype.getValue=function(t){return parseInt(t,10)},e.prototype.encode=function(t,e){var r,i=Ml(t,3),o=this.getModeCountString(t.length,e);for(r=0;r<i.length-1;r++)o+=Vl(i[r],10);return o+Vl(i[r],1+3*i[r].length)},e.prototype.getStringBitsLength=function(t,e){var r=t%3;return 4+this.getBitsCharacterCount(e)+10*Math.floor(t/3)+3*r+(0===r?0:1)},e}(Bl),Rl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tl(this,{characters:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:18,J:19,K:20,L:21,M:22,N:23,O:24,P:25,Q:26,R:27,S:28,T:29,U:30,V:31,W:32,X:33,Y:34,Z:35," ":36,$:37,"%":38,"*":39,"+":40,"-":41,".":42,"/":43,":":44},bitsInCharacterCount:[9,11,13],modeIndicator:"0010"})},e.prototype.getValue=function(t){return this.characters[t]},e.prototype.encode=function(t,e){var r,i=Ml(t,2),o=this.getModeCountString(t.length,e);for(r=0;r<i.length-1;r++)o+=Vl(45*this.getValue(i[r].charAt(0))+this.getValue(i[r].charAt(1)),11);return o+Vl(2===i[r].length?45*this.getValue(i[r].charAt(0))+this.getValue(i[r].charAt(1)):this.getValue(i[r].charAt(0)),1+5*i[r].length)},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+11*Math.floor(t/2)+t%2*6},e}(Bl),zl=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),Tl(this,{bitsInCharacterCount:[8,16,16],modeIndicator:"0100"})},e.prototype.getValue=function(t){var e=t.charCodeAt(0);if(e<=127||160<=e&&e<=255)return e;throw new Error('Unsupported character in QR Code: "'+t+'".')},e.prototype.encode=function(t,e){for(var r=this.getModeCountString(t.length,e),i=0;i<t.length;i++)r+=Vl(this.getValue(t.charAt(i)),8);return r},e.prototype.getStringBitsLength=function(t,e){return 4+this.getBitsCharacterCount(e)+8*t},e}(Bl),Fl={};Fl.numeric=new Il,Fl.alphanumeric=new Rl,Fl.byte=new zl;var Hl=function(t){function e(){t.call(this),this.initProperties(),this.mode=Fl[this.encodingMode]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){Tl(this,{encodingMode:"byte",utfBOM:"111011111011101110111111",initialModeCountStringLength:20,ranges:[128,2048,65536,2097152,67108864]})},e.prototype.getEncodingResult=function(t,e){var r=this.encode(t),i=cc(this.getDataCodewordsCount(r),e),o=this.mode.getModeCountString(r.length/8,i)+r;return new Ll(o,i)},e.prototype.getDataCodewordsCount=function(t){var e=t.length;return Math.ceil((this.initialModeCountStringLength+e)/8)},e.prototype.encode=function(t){for(var e=this.utfBOM,r=0;r<t.length;r++)e+=this.encodeCharacter(t.charCodeAt(r));return e},e.prototype.encodeCharacter=function(t){var e=this.getBytesCount(t),r=e-1,i="";if(1===e)i=Vl(t,8);else{for(var o=8-e,n=0;n<r;n++)i=Vl(t>>6*n&63|128,8)+i;i=(t>>6*r|255>>o<<o).toString(2)+i}return i},e.prototype.getBytesCount=function(t){for(var e=this.ranges,r=0;r<e.length;r++)if(t<e[r])return r+1},e}(S.Class),Ul=[{L:{groups:[[1,19]],totalDataCodewords:19,errorCodewordsPerBlock:7},M:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:10},Q:{groups:[[1,13]],totalDataCodewords:13,errorCodewordsPerBlock:13},H:{groups:[[1,9]],totalDataCodewords:9,errorCodewordsPerBlock:17}},{L:{groups:[[1,34]],totalDataCodewords:34,errorCodewordsPerBlock:10},M:{groups:[[1,28]],totalDataCodewords:28,errorCodewordsPerBlock:16},Q:{groups:[[1,22]],totalDataCodewords:22,errorCodewordsPerBlock:22},H:{groups:[[1,16]],totalDataCodewords:16,errorCodewordsPerBlock:28}},{L:{groups:[[1,55]],totalDataCodewords:55,errorCodewordsPerBlock:15},M:{groups:[[1,44]],totalDataCodewords:44,errorCodewordsPerBlock:26},Q:{groups:[[2,17]],totalDataCodewords:34,errorCodewordsPerBlock:18},H:{groups:[[2,13]],totalDataCodewords:26,errorCodewordsPerBlock:22}},{L:{groups:[[1,80]],totalDataCodewords:80,errorCodewordsPerBlock:20},M:{groups:[[2,32]],totalDataCodewords:64,errorCodewordsPerBlock:18},Q:{groups:[[2,24]],totalDataCodewords:48,errorCodewordsPerBlock:26},H:{groups:[[4,9]],totalDataCodewords:36,errorCodewordsPerBlock:16}},{L:{groups:[[1,108]],totalDataCodewords:108,errorCodewordsPerBlock:26},M:{groups:[[2,43]],totalDataCodewords:86,errorCodewordsPerBlock:24},Q:{groups:[[2,15],[2,16]],totalDataCodewords:62,errorCodewordsPerBlock:18},H:{groups:[[2,11],[2,12]],totalDataCodewords:46,errorCodewordsPerBlock:22}},{L:{groups:[[2,68]],totalDataCodewords:136,errorCodewordsPerBlock:18},M:{groups:[[4,27]],totalDataCodewords:108,errorCodewordsPerBlock:16},Q:{groups:[[4,19]],totalDataCodewords:76,errorCodewordsPerBlock:24},H:{groups:[[4,15]],totalDataCodewords:60,errorCodewordsPerBlock:28}},{L:{groups:[[2,78]],totalDataCodewords:156,errorCodewordsPerBlock:20},M:{groups:[[4,31]],totalDataCodewords:124,errorCodewordsPerBlock:18},Q:{groups:[[2,14],[4,15]],totalDataCodewords:88,errorCodewordsPerBlock:18},H:{groups:[[4,13],[1,14]],totalDataCodewords:66,errorCodewordsPerBlock:26}},{L:{groups:[[2,97]],totalDataCodewords:194,errorCodewordsPerBlock:24},M:{groups:[[2,38],[2,39]],totalDataCodewords:154,errorCodewordsPerBlock:22},Q:{groups:[[4,18],[2,19]],totalDataCodewords:110,errorCodewordsPerBlock:22},H:{groups:[[4,14],[2,15]],totalDataCodewords:86,errorCodewordsPerBlock:26}},{L:{groups:[[2,116]],totalDataCodewords:232,errorCodewordsPerBlock:30},M:{groups:[[3,36],[2,37]],totalDataCodewords:182,errorCodewordsPerBlock:22},Q:{groups:[[4,16],[4,17]],totalDataCodewords:132,errorCodewordsPerBlock:20},H:{groups:[[4,12],[4,13]],totalDataCodewords:100,errorCodewordsPerBlock:24}},{L:{groups:[[2,68],[2,69]],totalDataCodewords:274,errorCodewordsPerBlock:18},M:{groups:[[4,43],[1,44]],totalDataCodewords:216,errorCodewordsPerBlock:26},Q:{groups:[[6,19],[2,20]],totalDataCodewords:154,errorCodewordsPerBlock:24},H:{groups:[[6,15],[2,16]],totalDataCodewords:122,errorCodewordsPerBlock:28}},{L:{groups:[[4,81]],totalDataCodewords:324,errorCodewordsPerBlock:20},M:{groups:[[1,50],[4,51]],totalDataCodewords:254,errorCodewordsPerBlock:30},Q:{groups:[[4,22],[4,23]],totalDataCodewords:180,errorCodewordsPerBlock:28},H:{groups:[[3,12],[8,13]],totalDataCodewords:140,errorCodewordsPerBlock:24}},{L:{groups:[[2,92],[2,93]],totalDataCodewords:370,errorCodewordsPerBlock:24},M:{groups:[[6,36],[2,37]],totalDataCodewords:290,errorCodewordsPerBlock:22},Q:{groups:[[4,20],[6,21]],totalDataCodewords:206,errorCodewordsPerBlock:26},H:{groups:[[7,14],[4,15]],totalDataCodewords:158,errorCodewordsPerBlock:28}},{L:{groups:[[4,107]],totalDataCodewords:428,errorCodewordsPerBlock:26},M:{groups:[[8,37],[1,38]],totalDataCodewords:334,errorCodewordsPerBlock:22},Q:{groups:[[8,20],[4,21]],totalDataCodewords:244,errorCodewordsPerBlock:24},H:{groups:[[12,11],[4,12]],totalDataCodewords:180,errorCodewordsPerBlock:22}},{L:{groups:[[3,115],[1,116]],totalDataCodewords:461,errorCodewordsPerBlock:30},M:{groups:[[4,40],[5,41]],totalDataCodewords:365,errorCodewordsPerBlock:24},Q:{groups:[[11,16],[5,17]],totalDataCodewords:261,errorCodewordsPerBlock:20},H:{groups:[[11,12],[5,13]],totalDataCodewords:197,errorCodewordsPerBlock:24}},{L:{groups:[[5,87],[1,88]],totalDataCodewords:523,errorCodewordsPerBlock:22},M:{groups:[[5,41],[5,42]],totalDataCodewords:415,errorCodewordsPerBlock:24},Q:{groups:[[5,24],[7,25]],totalDataCodewords:295,errorCodewordsPerBlock:30},H:{groups:[[11,12],[7,13]],totalDataCodewords:223,errorCodewordsPerBlock:24}},{L:{groups:[[5,98],[1,99]],totalDataCodewords:589,errorCodewordsPerBlock:24},M:{groups:[[7,45],[3,46]],totalDataCodewords:453,errorCodewordsPerBlock:28},Q:{groups:[[15,19],[2,20]],totalDataCodewords:325,errorCodewordsPerBlock:24},H:{groups:[[3,15],[13,16]],totalDataCodewords:253,errorCodewordsPerBlock:30}},{L:{groups:[[1,107],[5,108]],totalDataCodewords:647,errorCodewordsPerBlock:28},M:{groups:[[10,46],[1,47]],totalDataCodewords:507,errorCodewordsPerBlock:28},Q:{groups:[[1,22],[15,23]],totalDataCodewords:367,errorCodewordsPerBlock:28},H:{groups:[[2,14],[17,15]],totalDataCodewords:283,errorCodewordsPerBlock:28}},{L:{groups:[[5,120],[1,121]],totalDataCodewords:721,errorCodewordsPerBlock:30},M:{groups:[[9,43],[4,44]],totalDataCodewords:563,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[1,23]],totalDataCodewords:397,errorCodewordsPerBlock:28},H:{groups:[[2,14],[19,15]],totalDataCodewords:313,errorCodewordsPerBlock:28}},{L:{groups:[[3,113],[4,114]],totalDataCodewords:795,errorCodewordsPerBlock:28},M:{groups:[[3,44],[11,45]],totalDataCodewords:627,errorCodewordsPerBlock:26},Q:{groups:[[17,21],[4,22]],totalDataCodewords:445,errorCodewordsPerBlock:26},H:{groups:[[9,13],[16,14]],totalDataCodewords:341,errorCodewordsPerBlock:26}},{L:{groups:[[3,107],[5,108]],totalDataCodewords:861,errorCodewordsPerBlock:28},M:{groups:[[3,41],[13,42]],totalDataCodewords:669,errorCodewordsPerBlock:26},Q:{groups:[[15,24],[5,25]],totalDataCodewords:485,errorCodewordsPerBlock:30},H:{groups:[[15,15],[10,16]],totalDataCodewords:385,errorCodewordsPerBlock:28}},{L:{groups:[[4,116],[4,117]],totalDataCodewords:932,errorCodewordsPerBlock:28},M:{groups:[[17,42]],totalDataCodewords:714,errorCodewordsPerBlock:26},Q:{groups:[[17,22],[6,23]],totalDataCodewords:512,errorCodewordsPerBlock:28},H:{groups:[[19,16],[6,17]],totalDataCodewords:406,errorCodewordsPerBlock:30}},{L:{groups:[[2,111],[7,112]],totalDataCodewords:1006,errorCodewordsPerBlock:28},M:{groups:[[17,46]],totalDataCodewords:782,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[16,25]],totalDataCodewords:568,errorCodewordsPerBlock:30},H:{groups:[[34,13]],totalDataCodewords:442,errorCodewordsPerBlock:24}},{L:{groups:[[4,121],[5,122]],totalDataCodewords:1094,errorCodewordsPerBlock:30},M:{groups:[[4,47],[14,48]],totalDataCodewords:860,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[14,25]],totalDataCodewords:614,errorCodewordsPerBlock:30},H:{groups:[[16,15],[14,16]],totalDataCodewords:464,errorCodewordsPerBlock:30}},{L:{groups:[[6,117],[4,118]],totalDataCodewords:1174,errorCodewordsPerBlock:30},M:{groups:[[6,45],[14,46]],totalDataCodewords:914,errorCodewordsPerBlock:28},Q:{groups:[[11,24],[16,25]],totalDataCodewords:664,errorCodewordsPerBlock:30},H:{groups:[[30,16],[2,17]],totalDataCodewords:514,errorCodewordsPerBlock:30}},{L:{groups:[[8,106],[4,107]],totalDataCodewords:1276,errorCodewordsPerBlock:26},M:{groups:[[8,47],[13,48]],totalDataCodewords:1e3,errorCodewordsPerBlock:28},Q:{groups:[[7,24],[22,25]],totalDataCodewords:718,errorCodewordsPerBlock:30},H:{groups:[[22,15],[13,16]],totalDataCodewords:538,errorCodewordsPerBlock:30}},{L:{groups:[[10,114],[2,115]],totalDataCodewords:1370,errorCodewordsPerBlock:28},M:{groups:[[19,46],[4,47]],totalDataCodewords:1062,errorCodewordsPerBlock:28},Q:{groups:[[28,22],[6,23]],totalDataCodewords:754,errorCodewordsPerBlock:28},H:{groups:[[33,16],[4,17]],totalDataCodewords:596,errorCodewordsPerBlock:30}},{L:{groups:[[8,122],[4,123]],totalDataCodewords:1468,errorCodewordsPerBlock:30},M:{groups:[[22,45],[3,46]],totalDataCodewords:1128,errorCodewordsPerBlock:28},Q:{groups:[[8,23],[26,24]],totalDataCodewords:808,errorCodewordsPerBlock:30},H:{groups:[[12,15],[28,16]],totalDataCodewords:628,errorCodewordsPerBlock:30}},{L:{groups:[[3,117],[10,118]],totalDataCodewords:1531,errorCodewordsPerBlock:30},M:{groups:[[3,45],[23,46]],totalDataCodewords:1193,errorCodewordsPerBlock:28},Q:{groups:[[4,24],[31,25]],totalDataCodewords:871,errorCodewordsPerBlock:30},H:{groups:[[11,15],[31,16]],totalDataCodewords:661,errorCodewordsPerBlock:30}},{L:{groups:[[7,116],[7,117]],totalDataCodewords:1631,errorCodewordsPerBlock:30},M:{groups:[[21,45],[7,46]],totalDataCodewords:1267,errorCodewordsPerBlock:28},Q:{groups:[[1,23],[37,24]],totalDataCodewords:911,errorCodewordsPerBlock:30},H:{groups:[[19,15],[26,16]],totalDataCodewords:701,errorCodewordsPerBlock:30}},{L:{groups:[[5,115],[10,116]],totalDataCodewords:1735,errorCodewordsPerBlock:30},M:{groups:[[19,47],[10,48]],totalDataCodewords:1373,errorCodewordsPerBlock:28},Q:{groups:[[15,24],[25,25]],totalDataCodewords:985,errorCodewordsPerBlock:30},H:{groups:[[23,15],[25,16]],totalDataCodewords:745,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[3,116]],totalDataCodewords:1843,errorCodewordsPerBlock:30},M:{groups:[[2,46],[29,47]],totalDataCodewords:1455,errorCodewordsPerBlock:28},Q:{groups:[[42,24],[1,25]],totalDataCodewords:1033,errorCodewordsPerBlock:30},H:{groups:[[23,15],[28,16]],totalDataCodewords:793,errorCodewordsPerBlock:30}},{L:{groups:[[17,115]],totalDataCodewords:1955,errorCodewordsPerBlock:30},M:{groups:[[10,46],[23,47]],totalDataCodewords:1541,errorCodewordsPerBlock:28},Q:{groups:[[10,24],[35,25]],totalDataCodewords:1115,errorCodewordsPerBlock:30},H:{groups:[[19,15],[35,16]],totalDataCodewords:845,errorCodewordsPerBlock:30}},{L:{groups:[[17,115],[1,116]],totalDataCodewords:2071,errorCodewordsPerBlock:30},M:{groups:[[14,46],[21,47]],totalDataCodewords:1631,errorCodewordsPerBlock:28},Q:{groups:[[29,24],[19,25]],totalDataCodewords:1171,errorCodewordsPerBlock:30},H:{groups:[[11,15],[46,16]],totalDataCodewords:901,errorCodewordsPerBlock:30}},{L:{groups:[[13,115],[6,116]],totalDataCodewords:2191,errorCodewordsPerBlock:30},M:{groups:[[14,46],[23,47]],totalDataCodewords:1725,errorCodewordsPerBlock:28},Q:{groups:[[44,24],[7,25]],totalDataCodewords:1231,errorCodewordsPerBlock:30},H:{groups:[[59,16],[1,17]],totalDataCodewords:961,errorCodewordsPerBlock:30}},{L:{groups:[[12,121],[7,122]],totalDataCodewords:2306,errorCodewordsPerBlock:30},M:{groups:[[12,47],[26,48]],totalDataCodewords:1812,errorCodewordsPerBlock:28},Q:{groups:[[39,24],[14,25]],totalDataCodewords:1286,errorCodewordsPerBlock:30},H:{groups:[[22,15],[41,16]],totalDataCodewords:986,errorCodewordsPerBlock:30}},{L:{groups:[[6,121],[14,122]],totalDataCodewords:2434,errorCodewordsPerBlock:30},M:{groups:[[6,47],[34,48]],totalDataCodewords:1914,errorCodewordsPerBlock:28},Q:{groups:[[46,24],[10,25]],totalDataCodewords:1354,errorCodewordsPerBlock:30},H:{groups:[[2,15],[64,16]],totalDataCodewords:1054,errorCodewordsPerBlock:30}},{L:{groups:[[17,122],[4,123]],totalDataCodewords:2566,errorCodewordsPerBlock:30},M:{groups:[[29,46],[14,47]],totalDataCodewords:1992,errorCodewordsPerBlock:28},Q:{groups:[[49,24],[10,25]],totalDataCodewords:1426,errorCodewordsPerBlock:30},H:{groups:[[24,15],[46,16]],totalDataCodewords:1096,errorCodewordsPerBlock:30}},{L:{groups:[[4,122],[18,123]],totalDataCodewords:2702,errorCodewordsPerBlock:30},M:{groups:[[13,46],[32,47]],totalDataCodewords:2102,errorCodewordsPerBlock:28},Q:{groups:[[48,24],[14,25]],totalDataCodewords:1502,errorCodewordsPerBlock:30},H:{groups:[[42,15],[32,16]],totalDataCodewords:1142,errorCodewordsPerBlock:30}},{L:{groups:[[20,117],[4,118]],totalDataCodewords:2812,errorCodewordsPerBlock:30},M:{groups:[[40,47],[7,48]],totalDataCodewords:2216,errorCodewordsPerBlock:28},Q:{groups:[[43,24],[22,25]],totalDataCodewords:1582,errorCodewordsPerBlock:30},H:{groups:[[10,15],[67,16]],totalDataCodewords:1222,errorCodewordsPerBlock:30}},{L:{groups:[[19,118],[6,119]],totalDataCodewords:2956,errorCodewordsPerBlock:30},M:{groups:[[18,47],[31,48]],totalDataCodewords:2334,errorCodewordsPerBlock:28},Q:{groups:[[34,24],[34,25]],totalDataCodewords:1666,errorCodewordsPerBlock:30},H:{groups:[[20,15],[61,16]],totalDataCodewords:1276,errorCodewordsPerBlock:30}}],Kl={1:0},$l={0:1},Gl={15:20,16:20,18:24,19:24,22:20,24:22,26:24,28:20,30:20,31:24,32:28,33:24,36:18,37:22,39:20,40:24},Xl=[1,0,1,1,1],Yl=[1,0,1],Wl={L:"01",M:"00",Q:"11",H:"10"},ql=["11101100","00010001"],Zl=[function(t,e){return(t+e)%2==0},function(t,e){return t%2==0},function(t,e){return e%3==0},function(t,e){return(t+e)%3==0},function(t,e){return(Math.floor(t/2)+Math.floor(e/3))%2==0},function(t,e){return t*e%2+t*e%3==0},function(t,e){return(t*e%2+t*e%3)%2==0},function(t,e){return((t+e)%2+t*e%3)%2==0}],Ql=/^\d+/,Jl=new RegExp("^[A-Z $%*+./:-]+"),tc=new RegExp("^[A-Z0-9 $%*+./:-]+"),ec=new RegExp("^[^A-Z0-9 $%*+./:-]+"),rc=[[1,0],[1,25,0]];function ic(t,e,r,i){for(var o=0;o<t.length;o++)t[o][r][i]=e}function oc(t,e,r,i){for(var o=0;o<Zl.length;o++)t[o][r][i]=Zl[o](r,i)?1^e:parseInt(e,10)}function nc(t,e){for(var r=[],i=t.length-2;i>=0;i--)r[i]=t[i]^e[i];return r}function ac(t,e){for(var r=[],i=0;i<t.length;i++)for(var o=0;o<e.length;o++)void 0===r[i+o]?r[i+o]=(t[i]+(e[o]>=0?e[o]:0))%255:r[i+o]=Kl[$l[r[i+o]]^$l[(t[i]+e[o])%255]];return r}function sc(t,e){var r=[],i=t.length-1;do{r[i]=$l[(t[i]+e)%255],i--}while(void 0!==t[i]);return r}function uc(t,e){var r,i,o=rc[e-1],n=new Array(e).concat(t),a=new Array(n.length-o.length).concat(o),s=t.length,u=[];for(i=0;i<s;i++)r=sc(a,Kl[n[n.length-1]]),a.splice(0,1),n=nc(r,n);for(i=n.length-1;i>=0;i--)u[e-1-i]=Vl(n[i],8);return u}function lc(t,e,r,i,o){var n,a,s=Ql.exec(t),u=s?s[0]:"",l=Jl.exec(t),c=l?l[0]:"",p=tc.exec(t),h=p?p[0]:"";return u&&(u.length>=e||t.length===u.length||u.length>=r&&!tc.test(t.charAt(u.length)))?(n="numeric",a=u):h&&(t.length===h.length||h.length>=i||"alphanumeric"===o)?(n="alphanumeric",a=u||c):(n="byte",a=h?h+ec.exec(t.substring(h.length))[0]:ec.exec(t)[0]),{mode:n,modeString:a}}function cc(t,e){var r=0,i=Ul.length-1,o=Math.floor(Ul.length/2);do{t<Ul[o][e].totalDataCodewords?i=o:r=o,o=r+Math.floor((i-r)/2)}while(i-r>1);return t<=Ul[r][e].totalDataCodewords?o+1:i+1}function pc(t,e,r){var i=Nl(e),o=e.length-1,n=t<<o,a=Vl(t,r-o),s=function(t,e){var r=e.toString(2).length,i=t.toString(2).length,o=t;do{i=(o^=e<<i-r).toString(2).length}while(i>=r);return o}(n,i);return s=a+Vl(s,o)}function hc(t,e){return parseInt(t.charAt(e),10)}function fc(t,e){var r,i,o=t[0],n=0,a=e.length;for(r=0,i=8;r<=8;r++)6!==r&&ic(t,hc(e,a-1-n++),r,i);for(r=8,i=7;i>=0;i--)6!==i&&ic(t,hc(e,a-1-n++),r,i);for(n=0,i=o.length-1,r=8;i>=o.length-8;i--)ic(t,hc(e,a-1-n++),r,i);for(ic(t,1,o.length-8,8),r=o.length-7,i=8;r<o.length;r++)ic(t,hc(e,a-1-n++),r,i)}function dc(t,e){for(var r,i,o,n=t[0].length,a=n-11,s=n-11,u=0;u<e.length;u++)r=Math.floor(u/3),i=u%3,ic(t,o=hc(e,e.length-u-1),0+r,a+i),ic(t,o,s+i,0+r)}function vc(t,e,r,i){for(var o,n=e.length+2,a=e.length+1,s=0;s<e.length;s++)for(var u=s;u<n-s;u++)ic(t,o=e[s],r+u,i+s),ic(t,o,r+s,i+u),ic(t,o,r+a-u,i+a-s),ic(t,o,r+a-s,i+a-u)}function gc(t,e,r,i){var o=r,n=i,a=t[0];do{ic(t,0,o,i),ic(t,0,r,n),o+=e[0],n+=e[1]}while(o>=0&&o<a.length)}function yc(t,e,r,i,o){e[t][i]=(e[t][i]<<1^o)%128,93===e[t][i]&&(r[t]+=40)}function mc(t,e,r,i,o,n){r[t][n]===i?o[t][n]++:(r[t][n]=i,o[t][n]>=5&&(e[t]+=3+o[t][n]-5),o[t][n]=1)}function bc(t,e){var r=Math.floor(t/e*100),i=r%5,o=Math.abs(r-i-50),n=Math.abs(r+5-i-50);return 10*Math.min(o/5,n/5)}function xc(t,e,r){var i=function(t){return t&&t.toLowerCase().indexOf("utf_8")>=0?new Hl:new Dl}(r).getEncodingResult(t,e),o=i.version,n=Ul[o-1][e],a=function(t,e){for(var r,i,o,n,a,s=0,u=[],l=[],c=e.groups,p=0;p<c.length;p++){o=c[p][0];for(var h=0;h<o;h++){i=c[p][1],r=[],n=[];for(var f=1;f<=i;f++)a=t.substring(s,s+8),r.push(a),n[i-f]=Nl(a),s+=8;u.push(r),l.push(uc(n,e.errorCodewordsPerBlock))}}return[u,l]}(function(t,e){for(var r=8*e,i=0,o=0,n=t;n.length<r&&i<"0000".length;)n+="0000".charAt(i++);for(n.length%8!=0&&(n+=new Array(9-n.length%8).join("0"));n.length<r;)n+=ql[o],o^=1;return n}(i.dataString,n.totalDataCodewords),n),s=function(t){for(var e=[],r=17+4*t,i=0;i<Zl.length;i++){e[i]=new Array(r);for(var o=0;o<r;o++)e[i][o]=new Array(r)}return e}(o);!function(t){var e=t[0].length;vc(t,Xl,0,0),gc(t,[-1,-1],7,7),vc(t,Xl,e-7,0),gc(t,[1,-1],e-8,7),vc(t,Xl,0,e-7),gc(t,[-1,1],7,e-8)}(s),function(t,e){if(!(e<2)){var r,i,o=t[0],n=o.length,a=Math.floor(e/7),s=[6],u=0;for((r=Gl[e])?i=(n-13-r)/a:r=i=(n-13)/(a+1),s.push(s[u++]+r);s[u]+i<n;)s.push(s[u++]+i);for(var l=0;l<s.length;l++)for(var c=0;c<s.length;c++)void 0===o[s[l]][s[c]]&&vc(t,Yl,s[l]-2,s[c]-2)}}(s,o),function(t){for(var e=1,r=t[0].length,i=8;i<r-8;i++)ic(t,e,6,i),ic(t,e,i,6),e^=1}(s),o>=7&&dc(s,Vl(0,18)),fc(s,Vl(0,15)),function(t,e){for(var r,i,o,n=new El(t[0]),a=0;a<e.length;a++)for(r=e[a],i=0;r.length>0;){for(var s=0;s<r.length;s++)for(var u=0;u<8;u++)o=n.getNextCell(),oc(t,r[s][i].charAt(u),o.row,o.column);for(i++;r[0]&&i===r[0].length;)r.splice(0,1)}for(;o=n.getNextRemainderCell();)oc(t,0,o.row,o.column)}(s,a);var u=function(t){var e,r,i=[],o=[],n=[],a=[],s=[],u=t[0].length;for(r=0;r<t.length;r++)i[r]=0,n[r]=0,s[r]=[0,0],a[r]=[0,0],o[r]=[];for(var l=0;l<u;l++)for(var c=0;c<u;c++)for(var p=0;p<t.length;p++)e=t[p],n[p]+=parseInt(e[l][c],10),o[p][0]===e[l][c]&&l+1<u&&c-1>=0&&e[l+1][c]===o[p][0]&&e[l+1][c-1]===o[p][0]&&(i[p]+=3),yc(p,a,i,0,e[l][c]),yc(p,a,i,1,e[c][l]),mc(p,i,o,e[l][c],s,0),mc(p,i,o,e[c][l],s,1);var h,f=u*u,d=Number.MAX_VALUE;for(r=0;r<i.length;r++)i[r]+=bc(n[r],f),i[r]<d&&(d=i[r],h=r);return h}(s),l=s[u];return o>=7&&dc([l],function(t){return pc(t,"1111100100101",18)}(o)),fc([l],function(t){var e,r="";if(0===Nl(t))return"101010000010010";e=pc(Nl(t),"10100110111",15);for(var i=0;i<e.length;i++)r+=e.charAt(i)^"101010000010010".charAt(i);return r}(Wl[e]+Vl(u,3))),l}!function(){var t,e;for(e=1;e<255;e++)(t=2*$l[e-1])>255&&(t^=285),$l[e]=t,Kl[t]=e;t=2*$l[e-1]^285,$l[e]=t,$l[-1]=0}(),function(){for(var t=2;t<=68;t++){var e=rc[t-1],r=[t,0];rc[t]=ac(e,r)}}();var _c=Math.round,Cc=[[0,1],[1,1],[1,2],[2,2],[2,1],[3,1],[3,0],[2,0],[2,-1],[1,-1],[1,0]],wc=[[0,1],[1,1],[1,0]],Sc=200,Oc="L",Pc="#fff",Ac="#000",jc=1,kc=7,Tc=function(t){function e(e,r,i){void 0===i&&(i=Dt),t.call(this),this.options=V({},this.options,r),this.element=e,this.wrapper=this.element,this.onError=i,this._initElement(),this._initSurface(),this.setOptions(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._destroySurface()},e.prototype._initElement=function(){_(this.element,"k-qrcode")},e.prototype._initSurface=function(){var t=this.options,e=this.surface;e&&e.options.type===t.renderAs||(this._destroySurface(),this._initSurfaceElement(),this.surface=this._createSurface())},e.prototype._createSurface=function(){return S.drawing.Surface.create(this.surfaceElement,{type:this.options.renderAs})},e.prototype._destroySurface=function(){this.surface&&(this.surface.destroy(),this.surface=null,this._destroySurfaceElement())},e.prototype._initSurfaceElement=function(){this.surfaceElement||(this.surfaceElement=document.createElement("div"),this.surfaceElement.style.position="relative",this.element.appendChild(this.surfaceElement))},e.prototype._destroySurfaceElement=function(){this.surfaceElement&&this.surfaceElement.parentNode&&(this.surfaceElement.parentNode.removeChild(this.surfaceElement),this.surfaceElement=null)},e.prototype.redraw=function(){var t=this._getSize();this.surface.clear(),this.surface.setSize({width:t,height:t}),this.createVisual(),this.surface.draw(this.visual)},e.prototype.getSize=function(){var t=this.element,e=t.clientWidth,r=t.clientHeight,i={width:0,height:0};return e>0&&(i.width=e),r&&(i.height=r),i},e.prototype._resize=function(){this.redraw()},e.prototype.createVisual=function(){this.visual=this._render()},e.prototype.exportVisual=function(){return this._render()},e.prototype._render=function(){var t,e,r,i,o,n=this._value,a=this.options.border||{},s=this.options.padding||0,u=a.width||0;a.width=u;var l=new S.drawing.Group;try{n&&(r=xc(n,this.options.errorCorrection,this.options.encoding),o=(i=this._getSize())-2*(u+s),t=this._calculateBaseUnit(o,r.length),e=u+s+(o-r.length*t)/2,l.append(this._renderBackground(i,a)),l.append(this._renderMatrix(r,t,e)),this._hasCustomLogo()?l.append(this._renderLogo(i,t)):this._isSwiss()&&l.append(this._renderSwissCode(i,t)))}catch(t){this.onError(t)}return l},e.prototype._renderLogo=function(t,e){var r,i=_c(t/2),o=this._getLogoSize(e*kc),n=this.options.overlay.imageUrl,a={x:i-o.width/2,y:i-o.height/2};return r=new S.geometry.Rect(new S.geometry.Point(a.x,a.y),new S.geometry.Size(o.width,o.height)),new S.drawing.Image(n,r)},e.prototype._renderSwissCode=function(t,e){var r=this._getLogoSize(e*kc),i=(r=Math.max(r.width,r.height))/4,o=i/2,n=t/2,a={},s=new S.drawing.Group;return a.x=a.y=Math.ceil(n-e-r/2),s.append(this._renderShape(a,Math.ceil(r+2*e),wc,"#fff")),a.x=a.y=n-r/2,s.append(this._renderShape(a,r,wc,this.options.color)),a.x=n+o-r/2,a.y=n+o+i-r/2,s.append(this._renderShape(a,i,Cc,"#fff")),s},e.prototype._renderShape=function(t,e,r,i){var o=new S.drawing.MultiPath({fill:{color:i},stroke:null});o.moveTo(t.x,t.y);for(var n=0;n<r.length;n++)o.lineTo(t.x+e*r[n][0],t.y+e*r[n][1]);return o.close(),o},e.prototype._getSize=function(){var t;if(this.options.size)t=parseInt(this.options.size,10);else{var e=Ol(this.element,this.options.renderAs),r=Math.min(e.width,e.height);t=r>0?r:Sc}return t},e.prototype._calculateBaseUnit=function(t,e){var r=Math.floor(t/e);if(r<jc){var i=Math.ceil(e*jc);this.onError(new Error("Insufficient size for QR Code: the current size is "+t+"px and the minimum size is "+i+"px."))}else r*e>=t&&r-1>=jc&&r--;return r},e.prototype._renderMatrix=function(t,e,r){for(var i=new S.drawing.MultiPath({fill:{color:this.options.color},stroke:null}),o=0;o<t.length;o++)for(var n=r+o*e,a=0;a<t.length;){for(;0===t[o][a]&&a<t.length;)a++;if(a<t.length){for(var s=a;1===t[o][a];)a++;var u=_c(r+s*e),l=_c(n),c=_c(r+a*e),p=_c(n+e);i.moveTo(u,l).lineTo(u,p).lineTo(c,p).lineTo(c,l).close()}}return i},e.prototype._renderBackground=function(t,e){var r=new Ft(0,0,t,t).unpad(e.width/2);return S.drawing.Path.fromRect(r.toRect(),{fill:{color:this.options.background},stroke:{color:e.color,width:e.width}})},e.prototype.setOptions=function(t){var e=t||{};this.options=Tl(this.options,e),void 0!==t.value&&(this._value=String(this.options.value)),this._initSurface(),this.redraw()},e.prototype.value=function(t){if(void 0===t)return this._value;this._value=String(t),this.redraw()},e.prototype._hasCustomLogo=function(){return Boolean(this.options.overlay.imageUrl)},e.prototype._isSwiss=function(){return"swiss"===this.options.overlay.type},e.prototype._getLogoSize=function(t){var e=this.options.overlay.width,r=this.options.overlay.height;return e||r?e&&!r?r=e:!e&&r&&(e=r):e=r=t,{width:e,height:r}},e}(S.Class);Ct(Tc,{name:"QRCode",renderAs:"svg",encoding:"ISO_8859_1",value:"",errorCorrection:Oc,background:Pc,color:Ac,size:"",padding:0,border:{color:"",width:0},overlay:{type:"image",imageUrl:"",width:0,height:0}});var Mc=Tc;var Vc=function(t){return void 0===t&&(t="ISO_8859_1"),function(e){try{xc(e,"L",t)}catch(t){return{valid:!1,error:t}}return{valid:!0}}},Nc={WGS84:{a:6378137,b:6356752.314245179,f:.0033528106647474805,e:.08181919084262149}};function Ec(t){return t*t}var Lc=Math,Dc=Lc.abs,Bc=Lc.atan,Ic=Lc.atan2,Rc=Lc.cos,zc=Lc.sin,Fc=Lc.tan,Hc=function(t){function e(e,r){t.call(this),this.initProperties(),1===arguments.length?(this.lat=e[0],this.lng=e[1]):(this.lat=e,this.lng=r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){V(this,{DISTANCE_ITERATIONS:100,DISTANCE_CONVERGENCE:1e-12,DISTANCE_PRECISION:2,FORMAT:"{0:N6}{1:N6}"})},e.prototype.toArray=function(){return[this.lat,this.lng]},e.prototype.equals=function(t){return t&&t.lat===this.lat&&t.lng===this.lng},e.prototype.clone=function(){return new e(this.lat,this.lng)},e.prototype.round=function(t){return this.lng=yt(this.lng,t),this.lat=yt(this.lat,t),this},e.prototype.wrap=function(){return this.lng=this.lng%180,this.lat=this.lat%90,this},e.prototype.distanceTo=function(t,e){return this.greatCircleTo(t,e).distance},e.prototype.destination=function(t,r,i){var o=gt(r),n=i||Nc.WGS84,a=gt(this.lat),s=gt(this.lng),u=t/n.a,l=Lc.asin(zc(a)*Rc(u)+Rc(a)*zc(u)*Rc(o)),c=s+Ic(zc(o)*zc(u)*Rc(a),Rc(u)-zc(a)*zc(l));return new e(st(l),st(c))},e.prototype.greatCircleTo=function(t,r){var i=e.create(i),o=r||Nc.WGS84;if(!i||this.clone().round(8).equals(i.clone().round(8)))return{distance:0,azimuthFrom:0,azimuthTo:0};for(var n,a,s,u,l,c,p,h,f=o.a,d=o.b,v=o.f,g=gt(i.lng-this.lng),y=Bc((1-v)*Fc(gt(this.lat))),m=zc(y),b=Rc(y),x=Bc((1-v)*Fc(gt(i.lat))),_=zc(x),C=Rc(x),w=g,S=this.DISTANCE_ITERATIONS,O=!1;!O&&S-- >0;){a=zc(w),s=Rc(w),u=Lc.sqrt(Ec(C*a)+Ec(b*_-m*C*s)),h=Ic(u,c=m*_+b*C*s);var P=b*C*a/u;p=0,0!==(l=1-Ec(P))&&(p=c-2*m*_/l),n=w;var A=v/16*l*(4+v*(4-3*l));w=g+(1-A)*v*P*(h+A*u*(p+A*c*(2*Ec(p)-1))),O=Dc(w-n)<=this.DISTANCE_CONVERGENCE}var j=l*(Ec(f)-Ec(d))/Ec(d),k=1+j/16384*(4096+j*(j*(320-175*j)-768)),T=j/1024*(256+j*(j*(74-47*j)-128)),M=T*u*(p+T/4*(c*(2*Ec(p)-1)-T/6*p*(4*Ec(u)-3)*(4*Ec(p)-3))),V=Ic(C*a,b*_-m*C*s),N=Ic(b*a,-m*C+b*_*s);return{distance:yt(d*k*(h-M),this.DISTANCE_PRECISION),azimuthFrom:st(V),azimuthTo:st(N)}},e.prototype.toString=function(){return String(this.lat)+","+String(this.lng)},e.fromLngLat=function(t){return new e(t[1],t[0])},e.fromLatLng=function(t){return new e(t[0],t[1])},e.create=function(t,r){if(at(t))return t instanceof e?t.clone():1===arguments.length&&2===t.length?e.fromLatLng(t):new e(t,r)},e}(S.Class),Uc=Math,Kc=Uc.atan,$c=Uc.exp,Gc=Uc.pow,Xc=Uc.sin,Yc=Uc.log,Wc=Uc.tan,qc=S.geometry.Point,Zc=Uc.PI,Qc=Zc/2,Jc=Zc/4,tp=Zc/180,ep=Nc.WGS84,rp=function(t){function e(e){t.call(this),this.initProperties(),this._initOptions(e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.initProperties=function(){V(this,{MAX_LNG:180,MAX_LAT:85.0840590501,INVERSE_ITERATIONS:15,INVERSE_CONVERGENCE:1e-12})},e.prototype.forward=function(t,e){var r=this.options,i=r.datum.a,o=r.centralMeridian,n=dt(t.lat,-this.MAX_LAT,this.MAX_LAT),a=e?dt(t.lng,-this.MAX_LNG,this.MAX_LNG):t.lng,s=gt(a-o)*i,u=this._projectLat(n);return new qc(s,u)},e.prototype._projectLat=function(t){var e=this.options.datum,r=e.e,i=e.a,o=gt(t),n=Wc(Jc+o/2),a=r*Xc(o),s=Gc((1-a)/(1+a),r/2);return i*Yc(n*s)},e.prototype.inverse=function(t,e){var r=this.options,i=r.datum.a,o=r.centralMeridian,n=t.x/(tp*i)+o,a=dt(this._inverseY(t.y),-this.MAX_LAT,this.MAX_LAT);return e&&(n=dt(n,-this.MAX_LNG,this.MAX_LNG)),new Hc(a,n)},e.prototype._inverseY=function(t){var e,r=this.options.datum,i=r.a,o=r.e,n=o/2,a=$c(-t/i),s=Qc-2*Kc(a);for(e=0;e<=this.INVERSE_ITERATIONS;e++){var u=o*Xc(s),l=Gc((1-u)/(1+u),n),c=Qc-2*Kc(a*l)-s;if(s+=c,Uc.abs(c)<=this.INVERSE_CONVERGENCE)break}return st(s)},e}(S.Class);Ct(rp,{centralMeridian:0,datum:ep});var ip=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initProperties=function(){t.prototype.initProperties.call(this),V(this,{MAX_LAT:85.0511287798})},e.prototype._projectLat=function(t){var e=this.options.datum.a,r=gt(t),i=Wc(Jc+r/2);return e*Yc(i)},e.prototype._inverseY=function(t){var e=this.options.datum.a,r=$c(-t/e);return st(Qc-2*Kc(r))},e}(rp),op=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.forward=function(t){return new qc(t.lng,t.lat)},e.prototype.inverse=function(t){return new Hc(t.y,t.x)},e}(S.Class),np=function(t){function e(){t.call(this);var e=this._proj=new ip,r=this.c=2*Zc*e.options.datum.a;this._tm=S.geometry.transform().translate(.5,.5).scale(1/r,-1/r),this._itm=S.geometry.transform().scale(r,-r).translate(-.5,-.5)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t,e,r){return this._proj.forward(t,r).transform(this._tm).scale(e||1)},e.prototype.toLocation=function(t,e,r){var i=t.clone().scale(1/(e||1)).transform(this._itm);return this._proj.inverse(i,r)},e}(S.Class),ap=(function(t){function e(){t.call(this),this._proj=new rp}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t){return this._proj.forward(t)},e.prototype.toLocation=function(t){return this._proj.inverse(t)}}(S.Class),function(t){function e(){t.call(this),this._proj=new op}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toPoint=function(t){return this._proj.forward(t)},e.prototype.toLocation=function(t){return this._proj.inverse(t)}}(S.Class),Object.defineProperty),sp=(Object.assign,function(t){var e=document.createElement("div");return e.innerHTML=t,e.firstChild}),up=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},lp=function(t,e){e.insertBefore(t,e.firstChild)},cp=function(t){return t.replace(/([a-z][A-Z])/g,(function(t){return t.charAt(0)+"-"+t.charAt(1).toLowerCase()}))},pp=function(t){return t&&String(t).endsWith("px")?t:String(t)+"px"},hp=function(t){var e,r=!1,i=[],o={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)\.?(\d+(\.\d+)?)?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},n={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},a={tablet:/playbook|ipad|fire/i},s={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(var u in o)if(o.hasOwnProperty(u)&&(i=t.match(o[u]))){if("windows"===u&&"plugins"in navigator)return!1;(r={}).device=u,r.tablet=fp(u,a,!1),r.browser=fp(t,s,"default"),r.name=fp(u,n),r[r.name]=!0,r.majorVersion=i[2],r.minorVersion=(i[3]||"0").replace("_","."),e=r.minorVersion.replace(".","").substr(0,2),r.flatVersion=r.majorVersion+e+new Array(3-(e.length<3?e.length:2)).join("0");break}return r};function fp(t,e,r){for(var i in e)if(e.hasOwnProperty(i)&&e[i].test(t))return i;return void 0!==r?r:t}var dp=function(){var t={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},e=vp();return e.touch&&(e.mobileOS.ios||e.mobileOS.android)?t={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:e.pointers?t={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:e.msPointers&&(t={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),t},vp=function(){var t=hp(navigator.userAgent),e=function(t){var e=!1,r=[],i={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in i)if(i.hasOwnProperty(o)&&(r=t.match(i[o]))){(e={})[o]=!0,e[r[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,e.version=parseInt(document.documentMode||r[2],10);break}return e}(navigator.userAgent),r=e.chrome,i=e.crios,o=e.mozilla,n=e.safari,a={};a.mobileOS=t,a.touch="ontouchstart"in window,a.pointers=!r&&!i&&!o&&!n&&window.PointerEvent,a.msPointers=!r&&window.MSPointerEvent,a.mouseAndTouchPresent=a.touch&&!(a.mobileOS.ios||a.mobileOS.android),a.eventCapture=document.documentElement.addEventListener;var s=document.createElement("table"),u=a.transitions=!1,l=a.transforms=!1;return["Moz","webkit","O","ms"].forEach((function(t){var e="string"==typeof s.style[t+"Transition"];if(e||"string"==typeof s.style[t+"Transform"]){var r=t.toLowerCase();return l={css:"ms"!==r?"-"+r+"-":"",prefix:t,event:"o"===r||"webkit"===r?r:""},e&&((u=l).event=u.event?u.event+"TransitionEnd":"transitionend"),!1}})),s=null,a.transforms=l,a.transitions=u,a.delayedClick=function(){if(a.touch){if(a.mobileOS.ios)return!0;if(a.mobileOS.android){if(!a.browser.chrome)return!0;if(a.browser.version<32)return!1;var t=document.querySelector("meta[name=viewport]");return!(t?t.getAttribute("content"):"").match(/user-scalable=no/i)}}return!1},a},gp=function(t,e){return t.bind(e)};var yp=function(t,e,r,i,o){mp(t,e,r,i,o)},mp=function(t,e,r,i,o){(x(e)?e:(e||"").split(" ")).forEach((function(e){bp(t,e,r,i,o)}))},bp=function(t,e,r,i,o){var n,a=i;r&&T(r)&&!i?a=r:r&&"string"==typeof r&&T(a)&&(n=r),t.addEventListener(e,(function(e){var r=e.target?e.target.closest(n):null;if(!n||n&&e.target&&r){var i=n?r:e.currentTarget;ap(e,"currentTarget",{value:i}),ap(e,"delegateTarget",{value:t}),a(e)}}),Boolean(o))},xp=function(t,e,r,i,o){_p(t,e,r,i,o)},_p=function(t,e,r,i){(x(e)?e:(e||"").split(" ")).forEach((function(e){Cp(t,e,r,i)}))},Cp=function(t,e,r,i){t.removeEventListener(e,r,Boolean(i))},wp=function(t){var e=dp(navigator.userAgent);return t.replace(/([^ ]+)/g,(function(t){return e[t]||t}))},Sp=function(t,e){var r=t.prototype;r.events?e.forEach((function(t){r.events.indexOf(t)<0&&r.events.push(t)})):r.events=e},Op=function(){return Number(new Date)},Pp=function(){},Ap=function(){this._defaultPrevented=!0},jp=function(){return!0===this._defaultPrevented},kp=function(t){function e(){t.call(this),this._events={}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.unbind()},e.prototype.bind=function(t,e,r){var i,o,n,a,s=this,u="string"==typeof t?[t]:t||[],l="function"==typeof e;if(void 0===e){for(i in t)s.bind(i,t[i]);return s}var c=function(){var t=u[i];(a=l?e:e[t])&&(r&&(n=a,(a=function(){s.unbind(t,a),n.apply(s,arguments)}).original=n),(s._events[t]=s._events[t]||[]).push(a))};for(i=0,o=u.length;i<o;i++)c();return s},e.prototype.one=function(t,e){return this.bind(t,e,!0)},e.prototype.first=function(t,e){var r,i,o,n="string"==typeof t?[t]:t,a="function"==typeof e;for(r=0,i=n.length;r<i;r++){var s=n[r];(o=a?e:e[s])&&(this._events[s]=this._events[s]||[]).unshift(o)}return this},e.prototype.trigger=function(t,e){var r,i,o=this._events[t];if(o){var n=e||{};for(n.sender=this,n._defaultPrevented=!1,n.preventDefault=Ap,n.isDefaultPrevented=jp,r=0,i=(o=o.slice()).length;r<i;r++)o[r].call(this,n);return!0===n._defaultPrevented}return!1},e.prototype.unbind=function(t,e){var r,i=this._events[t];if(void 0===t)this._events={};else if(i)if(e)for(r=i.length-1;r>=0;r--)i[r]!==e&&i[r].original!==e||i.splice(r,1);else this._events[t]=[];return this},e.prototype._setEvents=function(t){for(var e=(this.events||[]).length,r=0;r<e;r++){var i=this.events[r];this.options[i]&&t[i]&&(this.unbind(i,this.options[i]),this._events&&this._events[i]&&delete this._events[i])}this.bind(this.events,t)},e}(S.Class),Tp=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r),this.items=[],_(this.element,"k-widget k-attribution")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.filter=function(t,e){this._extent=t,this._zoom=e,this._render()},e.prototype.add=function(t){var e=t;at(t)&&("string"==typeof t&&(e={text:t}),this.items.push(e),this._render())},e.prototype.remove=function(t){for(var e=[],r=0;r<this.items.length;r++){var i=this.items[r];i.text!==t&&e.push(i)}this.items=e,this._render()},e.prototype.clear=function(){this.items=[],up(this.element)},e.prototype._render=function(){for(var t=[],e=0;e<this.items.length;e++){var r=this.items[e],i=this._itemText(r);""!==i&&t.push(i)}t.length>0?(up(this.element),function(t,e){var r=document.createElement("div");for(r.innerHTML=t;r.childNodes.length>0;)e.appendChild(r.childNodes[0])}(t.join(this.options.separator),this.element),this.showElement()):this.hideElement()},e.prototype.hideElement=function(){this.element.style.display="none"},e.prototype.showElement=function(){this.element.style.display=""},e.prototype._itemText=function(t){var e="",r=this._inZoomLevel(t.minZoom,t.maxZoom),i=this._inArea(t.extent);return r&&i&&(e+=t.text),e},e.prototype._inZoomLevel=function(t,e){var r=bt(t,-Number.MAX_VALUE),i=bt(e,Number.MAX_VALUE);return this._zoom>r&&this._zoom<i},e.prototype._inArea=function(t){var e=!0;return t&&(e=t.contains(this._extent)),e},e}(kp);Ct(Tp,{name:"Attribution",separator:"&nbsp;|&nbsp;"});var Mp={up:{className:"k-navigator-n",iconClass:"k-i-arrow-n"},down:{className:"k-navigator-s",iconClass:"k-i-arrow-s"},right:{className:"k-navigator-e",iconClass:"k-i-arrow-e"},left:{className:"k-navigator-w",iconClass:"k-i-arrow-w"}};function Vp(t){var e='<button class="k-button k-button-square k-rounded-full k-button-flat k-button-flat-base k-icon-button '+Mp[t].className+'" aria-label="move '+t+'"><span class="k-icon '+Mp[t].iconClass+'" /></button>';return sp(e)}var Np=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r);var i=Vp("up"),o=Vp("right"),n=Vp("down"),a=Vp("left");this.element.appendChild(i),this.element.appendChild(o),this.element.appendChild(n),this.element.appendChild(a),_(this.element,"k-widget k-navigator"),yp(this.element,"click",".k-button",gp(this._click,this));var s=this.element.parentNode.closest("[data-role]");this._keyroot=s||this.element,this._tabindex(this._keyroot),this._keydownHandler=gp(this._keydown,this),yp(this._keyroot,"keydown",this._keydownHandler)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.dispose()},e.prototype.dispose=function(){xp(this._keyroot,"keydown",this._keydownHandler)},e.prototype._tabindex=function(t){var e=t||this.wrapper||this.element,r=this.element,i=e.getAttribute("tabindex")||r.getAttribute("tabindex");r.removeAttribute("tabindex"),e.setAttribute("tabindex",isNaN(i)?0:i)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._pan=function(t,e){var r=this.options.panStep;this.trigger("pan",{x:t*r,y:e*r})},e.prototype._click=function(t){var e=0,r=0,i=t.currentTarget;i.matches(".k-navigator-n")?r=1:i.matches(".k-navigator-s")?r=-1:i.matches(".k-navigator-e")?e=1:i.matches(".k-navigator-w")&&(e=-1),this._pan(e,r),t.preventDefault()},e.prototype._keydown=function(t){switch(t.which){case Bt.UP:this._pan(0,1),t.preventDefault();break;case Bt.DOWN:this._pan(0,-1),t.preventDefault();break;case Bt.RIGHT:this._pan(1,0),t.preventDefault();break;case Bt.LEFT:this._pan(-1,0),t.preventDefault()}},e}(kp);function Ep(t,e){return sp('<button class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-zoom-'+t+'" title="zoom-'+t+'" aria-label="zoom-'+t+'"><span class="k-icon '+e+'"></span></button>')}Ct(Np,{name:"Navigator",panStep:1}),Sp(Np,["pan"]);var Lp=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r);var i=Ep("in","k-i-plus"),o=Ep("out","k-i-minus");this.element.appendChild(i),this.element.appendChild(o),_(this.element,"k-widget k-zoom-control k-button-group k-group-horizontal"),this._clickHandler=this._click.bind(this),yp(this.element,"click",".k-button",this._clickHandler);var n=this.element.parentNode.closest("[data-role]");this._keyroot=n||this.element,this._tabindex(this._keyroot),this._keydownHandler=this._keydown.bind(this),yp(this._keyroot,"keydown",this._keydownHandler)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.element&&xp(this.element,"click",this._clickHandler),this._keyroot&&xp(this._keyroot,"keydown",this._keydownHandler)},e.prototype._tabindex=function(t){var e=t||this.wrapper||this.element,r=this.element,i=e.getAttribute("tabindex")||r.getAttribute("tabindex");r.removeAttribute("tabindex"),e.setAttribute("tabindex",isNaN(i)?0:i)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._change=function(t){var e=this.options.zoomStep;this.trigger("change",{delta:t*e})},e.prototype._click=function(t){var e=1;X(t.currentTarget,"k-zoom-out")&&(e=-1),this._change(e),t.preventDefault()},e.prototype._keydown=function(t){switch(t.which){case Bt.NUMPAD_PLUS:case 187:case 61:this._change(1);break;case Bt.NUMPAD_MINUS:case 189:case 173:this._change(-1)}},e}(kp);Ct(Lp,{name:"ZoomControl",zoomStep:1}),Sp(Lp,["change"]);var Dp=Math,Bp=Dp.max,Ip=Dp.min,Rp=function(t){function e(e,r){t.call(this);var i=Hc.create(e),o=Hc.create(r);i.lng+180>o.lng+180&&i.lat+90<o.lat+90?(this.se=i,this.nw=o):(this.se=o,this.nw=i)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={World:{configurable:!0}};return e.prototype.contains=function(t){var e=this.nw,r=this.se,i=bt(t.lng,t[1]),o=bt(t.lat,t[0]);return t&&i+180>=e.lng+180&&i+180<=r.lng+180&&o+90>=r.lat+90&&o+90<=e.lat+90},e.prototype.center=function(){var t=this.nw,e=this.se,r=t.lng+(e.lng-t.lng)/2,i=t.lat+(e.lat-t.lat)/2;return new Hc(i,r)},e.prototype.containsAny=function(t){for(var e=!1,r=0;r<t.length;r++)e=e||this.contains(t[r]);return e},e.prototype.include=function(t){var e=this.nw,r=this.se,i=bt(t.lng,t[1]),o=bt(t.lat,t[0]);e.lng=Ip(e.lng,i),e.lat=Bp(e.lat,o),r.lng=Bp(r.lng,i),r.lat=Ip(r.lat,o)},e.prototype.includeAll=function(t){for(var e=0;e<t.length;e++)this.include(t[e])},e.prototype.edges=function(){var t=this.nw,e=this.se;return{nw:this.nw,ne:new Hc(t.lat,e.lng),se:this.se,sw:new Hc(e.lat,t.lng)}},e.prototype.toArray=function(){var t=this.nw,e=this.se;return[t,new Hc(t.lat,e.lng),e,new Hc(e.lat,t.lng)]},e.prototype.overlaps=function(t){return this.containsAny(t.toArray())||t.containsAny(this.toArray())},e.create=function(t,r){return t instanceof e?t:t&&r?new e(t,r):t&&4===t.length&&!r?new e([t[0],t[1]],[t[2],t[3]]):void 0},r.World.get=function(){return new e([90,-180],[-90,180])},Object.defineProperties(e,r),e}(S.Class),zp=function(t){function e(e,r){t.call(this),this.support=vp(),this._initOptions(r),this.map=e;var i=document.createElement("div");_(i,"k-layer"),i.style.zIndex=this.options.zIndex,i.style.opacity=this.options.opacity,this.element=i,e.scrollElement.appendChild(this.element),this._beforeReset=this._beforeReset.bind(this),this._reset=this._reset.bind(this),this._resize=this._resize.bind(this),this._panEnd=this._panEnd.bind(this),this._activate(),this._updateAttribution()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this._deactivate()},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.show=function(){this.reset(),this._activate(),this._applyExtent(!0)},e.prototype.hide=function(){this._deactivate(),this._setVisibility(!1)},e.prototype.reset=function(){this._beforeReset(),this._reset()},e.prototype._reset=function(){this._applyExtent()},e.prototype._beforeReset=function(){},e.prototype._resize=function(){},e.prototype._panEnd=function(){this._applyExtent()},e.prototype._applyExtent=function(){var t=this.options,e=this.map.zoom(),r=!at(t.minZoom)||e>=t.minZoom,i=!at(t.maxZoom)||e<=t.maxZoom,o=Rp.create(t.extent),n=!o||o.overlaps(this.map.extent());this._setVisibility(r&&i&&n)},e.prototype._setVisibility=function(t){this.element.style.display=t?"":"none"},e.prototype._activate=function(){var t=this.map;this._deactivate(),t.bind("beforeReset",this._beforeReset),t.bind("reset",this._reset),t.bind("resize",this._resize),t.bind("panEnd",this._panEnd)},e.prototype._deactivate=function(){var t=this.map;t.unbind("beforeReset",this._beforeReset),t.unbind("reset",this._reset),t.unbind("resize",this._resize),t.unbind("panEnd",this._panEnd)},e.prototype._updateAttribution=function(){var t=this.map.attribution;t&&t.add(this.options.attribution)},e.prototype._readData=function(){return this.options.data||[]},e.prototype._hasData=function(){return this._data&&this._data.length>0},e}(S.Class),Fp=Math,Hp=S.geometry.Point;function Up(t){return T(t)?t:F.compile(t)}function Kp(t){return new Hp(yt(t.x),yt(t.y))}function $p(t){var e=t;return"string"!=typeof t&&(e+="px"),e}var Gp=function(t){function e(e,r){t.call(this,e,r),"string"==typeof this.options.subdomains&&(this.options.subdomains=this.options.subdomains.split(""));var i=this._viewType();this._view=new i(this.element,this.options)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),this._view.destroy(),this._view=null},e.prototype._beforeReset=function(){var t=this.map,e=t.locationToLayer(t.extent().nw).round();this._view.viewOrigin(e)},e.prototype._reset=function(){t.prototype._reset.call(this),this._updateView(),this._view.reset()},e.prototype._viewType=function(){return Xp},e.prototype._activate=function(){t.prototype._activate.call(this),this.support.mobileOS||(this._pan||(this._pan=Object(S.throttle)(this._render.bind(this),100)),this.map.bind("pan",this._pan))},e.prototype._deactivate=function(){t.prototype._deactivate.call(this),this._pan&&this.map.unbind("pan",this._pan)},e.prototype._updateView=function(){var t=this._view,e=this.map,r=e.extent(),i={nw:e.locationToLayer(r.nw).round(),se:e.locationToLayer(r.se).round()};t.center(e.locationToLayer(e.center())),t.extent(i),t.zoom(e.zoom())},e.prototype._resize=function(){this._render()},e.prototype._panEnd=function(e){t.prototype._panEnd.call(this,e),this._render()},e.prototype._render=function(){this._updateView(),this._view.render()},e}(zp);Ct(Gp,{tileSize:256,subdomains:["a","b","c"],urlTemplate:"",zIndex:1});var Xp=function(t){function e(e,r){t.call(this),this.element=e,this._initOptions(r),this.pool=new Wp}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.center=function(t){this._center=t},e.prototype.extent=function(t){this._extent=t},e.prototype.viewOrigin=function(t){this._viewOrigin=t},e.prototype.zoom=function(t){this._zoom=t},e.prototype.pointToTileIndex=function(t){return new Hp(Fp.floor(t.x/this.options.tileSize),Fp.floor(t.y/this.options.tileSize))},e.prototype.tileCount=function(){var t=this.size(),e=this.pointToTileIndex(this._extent.nw),r=this._extent.nw,i=this.indexToPoint(e).translate(-r.x,-r.y);return{x:Fp.ceil((Fp.abs(i.x)+t.width)/this.options.tileSize),y:Fp.ceil((Fp.abs(i.y)+t.height)/this.options.tileSize)}},e.prototype.size=function(){var t=this._extent.nw,e=this._extent.se.clone().translate(-t.x,-t.y);return{width:e.x,height:e.y}},e.prototype.indexToPoint=function(t){var e=t.x,r=t.y;return new Hp(e*this.options.tileSize,r*this.options.tileSize)},e.prototype.subdomainText=function(){var t=this.options.subdomains;return t[this.subdomainIndex++%t.length]},e.prototype.destroy=function(){up(this.element),this.pool.empty()},e.prototype.reset=function(){this.pool.reset(),this.subdomainIndex=0,this.render()},e.prototype.render=function(){var t,e,r,i=this.tileCount(),o=this.pointToTileIndex(this._extent.nw);for(e=0;e<i.x;e++)for(r=0;r<i.y;r++)(t=this.createTile({x:o.x+e,y:o.y+r})).visible||t.show()},e.prototype.createTile=function(t){var e=this.tileOptions(t),r=this.pool.get(this._center,e);return r.element.parentNode||this.element.append(r.element),r},e.prototype.tileOptions=function(t){var e=this.wrapIndex(t),r=this.indexToPoint(t),i=this._viewOrigin,o=r.clone().translate(-i.x,-i.y);return{index:e,currentIndex:t,point:r,offset:Kp(o),zoom:this._zoom,size:this.options.tileSize,subdomain:this.subdomainText(),urlTemplate:this.options.urlTemplate,errorUrlTemplate:this.options.errorUrlTemplate}},e.prototype.wrapIndex=function(t){var e=Fp.pow(2,this._zoom);return{x:this.wrapValue(t.x,e),y:dt(t.y,0,e-1)}},e.prototype.wrapValue=function(t,e){var r=Fp.abs(t)%e;return t>=0?r:e-(0===r?e:r)},e}(S.Class),Yp=function(t){function e(e,r){t.call(this),this.id=e,this.visible=!0,this._initOptions(r),this.createElement(),this.show()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){var t=this.element,e=t?t.parentNode:null;t&&(e&&e.removeChild(t),this.element=null)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype.createElement=function(){var t=document.createElement("img"),e=this.options.size+"px";t.style.position="absolute",t.style.display="block",t.style.width=t.style.maxWidth=e,t.style.height=t.style.maxHeight=e,this.element=t},e.prototype.show=function(){var t=this.element;t.style.top=$p(this.options.offset.y),t.style.left=$p(this.options.offset.x);var e=this.url();e&&t.setAttribute("src",e),t.style.visibility="visible",this.visible=!0},e.prototype.hide=function(){this.element.style.visibility="hidden",this.visible=!1},e.prototype.url=function(){return Up(this.options.urlTemplate)(this.urlOptions())},e.prototype.errorUrl=function(){return Up(this.options.errorUrlTemplate)(this.urlOptions())},e.prototype.urlOptions=function(){var t=this.options;return{zoom:t.zoom,subdomain:t.subdomain,z:t.zoom,x:t.index.x,y:t.index.y,s:t.subdomain,quadkey:t.quadkey,q:t.quadkey,culture:t.culture,c:t.culture}},e}(S.Class);Ct(Yp,{urlTemplate:"",errorUrlTemplate:""});var Wp=function(t){function e(){t.call(this),this._items=[]}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t,e){return this._items.length>=this.options.maxSize&&this._remove(t),this._create(e)},e.prototype.empty=function(){for(var t=this._items,e=0;e<t.length;e++)t[e].destroy();this._items=[]},e.prototype.reset=function(){for(var t=this._items,e=0;e<t.length;e++)t[e].hide()},e.prototype._create=function(t){for(var e,r=this._items,i=ht(t.point.toString()+t.offset.toString()+t.zoom+t.urlTemplate),o=0;o<r.length;o++)if(r[o].id===i){e=r[o];break}return e?e.show():(e=new Yp(i,t),this._items.push(e)),e},e.prototype._remove=function(t){for(var e=this._items,r=-1,i=-1,o=0;o<e.length;o++){var n=e[o].options.point.distanceTo(t);n>r&&!e[o].visible&&(i=o,r=n)}-1!==i&&(e[i].destroy(),e.splice(i,1))},e}(S.Class);Ct(Wp,{maxSize:100});var qp=Object.assign,Zp=function(t){function e(e,r){t.call(this);var i=this,o=e[0]||e;i.capture=!1;var n=dp(navigator.userAgent);o.addEventListener?(n.down.split(" ").forEach((function(t){o.addEventListener(t,gp(i._press,i),!0)})),n.up.split(" ").forEach((function(t){o.addEventListener(t,gp(i._release,i),!0)}))):(n.down.split(" ").forEach((function(t){o.attachEvent(t,gp(i._press,i))})),n.up.split(" ").forEach((function(t){o.attachEvent(t,gp(i._release,i))}))),i.bind(["press","release"],r||{})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.captureNext=function(){this.capture=!0},e.prototype.cancelCapture=function(){this.capture=!1},e.prototype._press=function(t){this.trigger("press"),this.capture&&t.preventDefault()},e.prototype._release=function(t){this.trigger("release"),this.capture&&(t.preventDefault(),this.cancelCapture())},e}(kp),Qp=function(t){function e(e){t.call(this);this.forcedEnabled=!1,qp(this,e),this.scale=1,this.horizontal?(this.measure="offsetWidth",this.scrollSize="scrollWidth",this.axis="x"):(this.measure="offsetHeight",this.scrollSize="scrollHeight",this.axis="y")}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.makeVirtual=function(){qp(this,{virtual:!0,forcedEnabled:!0,_virtualMin:0,_virtualMax:0})},e.prototype.virtualSize=function(t,e){this._virtualMin===t&&this._virtualMax===e||(this._virtualMin=t,this._virtualMax=e,this.update())},e.prototype.outOfBounds=function(t){return t>this.max||t<this.min},e.prototype.forceEnabled=function(){this.forcedEnabled=!0},e.prototype.getSize=function(){return this.container[this.measure]},e.prototype.getTotal=function(){return this.element[this.scrollSize]},e.prototype.rescale=function(t){this.scale=t},e.prototype.update=function(t){var e=this.virtual?this._virtualMax:this.getTotal(),r=e*this.scale,i=this.getSize();(0!==e||this.forcedEnabled)&&(this.max=this.virtual?-this._virtualMin:0,this.size=i,this.total=r,this.min=Math.min(this.max,i-r),this.minScale=i/e,this.centerOffset=(r-i)/2,this.enabled=this.forcedEnabled||r>i,t||this.trigger("change",this))},e}(kp),Jp=function(t){function e(e){t.call(this);this.x=new Qp(qp({horizontal:!0},e)),this.y=new Qp(qp({horizontal:!1},e)),this.container=e.container,this.forcedMinScale=e.minScale,this.maxScale=e.maxScale||100,this.bind("change",e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.rescale=function(t){this.x.rescale(t),this.y.rescale(t),this.refresh()},e.prototype.centerCoordinates=function(){return{x:Math.min(0,-this.x.centerOffset),y:Math.min(0,-this.y.centerOffset)}},e.prototype.refresh=function(){this.x.update(),this.y.update(),this.enabled=this.x.enabled||this.y.enabled,this.minScale=this.forcedMinScale||Math.min(this.x.minScale,this.y.minScale),this.fitScale=Math.max(this.x.minScale,this.y.minScale),this.trigger("change")},e}(kp),th=function(t){function e(e){t.call(this),qp(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.outOfBounds=function(){return this.dimension.outOfBounds(this.movable[this.axis])},e.prototype.dragMove=function(t){var e=this.dimension,r=this.axis,i=this.movable,o=i[r]+t;if(e.enabled){var n=t;(o<e.min&&t<0||o>e.max&&t>0)&&(n*=this.resistance),i.translateAxis(r,n),this.trigger("change",this)}},e}(kp),eh=function(t){function e(e){t.call(this);var r,i,o,n,a=this;qp(a,{elastic:!0},e),o=a.elastic?.5:0,n=a.movable,a.x=r=new th({axis:"x",dimension:a.dimensions.x,resistance:o,movable:n}),a.y=i=new th({axis:"y",dimension:a.dimensions.y,resistance:o,movable:n}),a.userEvents.bind(["press","move","end","gesturestart","gesturechange"],{gesturestart:function(t){a.gesture=t,a.offset=ut(a.dimensions.container)},press:function(t){var e=t.event.target.closest("a");e&&e.matches("[data-navigate-on-press=true]")&&t.sender.cancel()},gesturechange:function(t){var e,o=a.gesture,s=o.center,u=t.center,l=t.distance/o.distance,c=a.dimensions.minScale,p=a.dimensions.maxScale;n.scale<=c&&l<1&&(l+=.8*(1-l)),n.scale*l>=p&&(l=p/n.scale);var h=n.x+a.offset.left,f=n.y+a.offset.top;e={x:(h-s.x)*l+u.x-h,y:(f-s.y)*l+u.y-f},n.scaleWith(l),r.dragMove(e.x),i.dragMove(e.y),a.dimensions.rescale(n.scale),a.gesture=t,t.preventDefault()},move:function(t){t.event.target.tagName.match(/textarea|input/i)||(r.dimension.enabled||i.dimension.enabled?(r.dragMove(t.x.delta),i.dragMove(t.y.delta),t.preventDefault()):t.touch.skip())},end:function(t){t.preventDefault()}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(S.Class),rh=function(t,e,r){return"translate3d("+t+"px,"+e+"px,0) scale("+r+")"},ih=function(t){function e(e){t.call(this);this.support=vp(),this.transformStyle=this.support.transitions.prefix+"Transform",this.element=e,this.element.style.webkitTransformOrigin="left top",this.x=0,this.y=0,this.scale=1;var r=rh(this.x,this.y,this.scale);this.element.style[this.transformStyle]=r,this._saveCoordinates(r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.translateAxis=function(t,e){this[t]+=e,this.refresh()},e.prototype.scaleTo=function(t){this.scale=t,this.refresh()},e.prototype.scaleWith=function(t){this.scale*=t,this.refresh()},e.prototype.translate=function(t){this.x+=t.x,this.y+=t.y,this.refresh()},e.prototype.moveAxis=function(t,e){this[t]=e,this.refresh()},e.prototype.moveTo=function(t){qp(this,t),this.refresh()},e.prototype.refresh=function(){var t,e=this.x,r=this.y;this.round&&(e=Math.round(e),r=Math.round(r)),(t=rh(e,r,this.scale))!==this.coordinates&&(this.element.style[this.transformStyle]=t,this._saveCoordinates(t),this.trigger("change"))},e.prototype._saveCoordinates=function(t){this.coordinates=t},e}(kp),oh=S.drawing.Group,nh=function(t){function e(e,r){t.call(this,e,r),this._pan=gp(this._pan,this),this.surface=S.drawing.Surface.create(this.element,{width:e.scrollElement.clientWidth,height:e.scrollElement.clientHeight}),this._initRoot(),this.movable=new ih(this.surface.element),this._markers=[],this._click=this._handler("shapeClick"),this.surface.bind("click",this._click),this._mouseenter=this._handler("shapeMouseEnter"),this.surface.bind("mouseenter",this._mouseenter),this._mouseleave=this._handler("shapeMouseLeave"),this.surface.bind("mouseleave",this._mouseleave)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),this.surface.destroy()},e.prototype._reset=function(){t.prototype._reset.call(this),this._translateSurface(),this._data=this._readData(),this._hasData()&&this._load(this._data)},e.prototype._initRoot=function(){this._root=new oh,this.surface.draw(this._root)},e.prototype._beforeReset=function(){this.surface.clear(),this._initRoot()},e.prototype._resize=function(){this.surface.size(this.map.size())},e.prototype._readData=function(){var e=t.prototype._readData.call(this);return"FeatureCollection"===e.type?e.features:"GeometryCollection"===e.type?e.geometries:e},e.prototype._load=function(t){this._data=t,this._clearMarkers(),this._loader||(this._loader=new ah(this.map,this.options.style,this));for(var e=new oh,r=0;r<t.length;r++){var i=this._loader.parse(t[r]);i&&e.append(i)}this._root.clear(),this._root.append(e)},e.prototype.shapeCreated=function(t){var e=!1;if(t instanceof S.drawing.Circle&&this.map.options.renderPointsAsMarkers&&(e=at(this._createMarker(t))),!e){var r={layer:this,shape:t};e=this.map.trigger("shapeCreated",r)}return e},e.prototype.featureCreated=function(t){t.layer=this,this.map.trigger("shapeFeatureCreated",t)},e.prototype._createMarker=function(t){var e=this.map.markers.bind({location:t.location},t.dataItem);return e&&this._markers.push(e),e},e.prototype._clearMarkers=function(){for(var t=0;t<this._markers.length;t++)this.map.markers.remove(this._markers[t]);this._markers=[]},e.prototype._pan=function(){this._panning||(this._panning=!0,this.surface.suspendTracking())},e.prototype._panEnd=function(e){t.prototype._panEnd.call(this,e),this._translateSurface(),this.surface.resumeTracking(),this._panning=!1},e.prototype._translateSurface=function(){var t=this.map,e=t.locationToView(t.extent().nw);this.surface.translate&&(this.surface.translate(e),this.movable.moveTo({x:e.x,y:e.y}))},e.prototype._handler=function(t){var e=this;return function(r){if(r.element){var i={layer:e,layerIndex:(e.map.layers||[]).indexOf(e),shape:r.element,shapeIndex:(e._data||[]).indexOf(r.element.dataItem),originalEvent:r.originalEvent};e.map.trigger(t,i)}}},e.prototype._activate=function(){t.prototype._activate.call(this),this._panHandler=gp(this._pan,this),this.map.bind("pan",this.panHandler)},e.prototype._deactivate=function(){t.prototype._deactivate.call(this),this.map.unbind("pan",this._panHandler)},e}(zp);Ct(nh,{autoBind:!0,zIndex:100});var ah=function(t){function e(e,r,i){t.call(this),this.observer=i,this.locator=e,this.style=r}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.parse=function(t){var e=new oh,r=!0;return"Feature"===t.type?(r=!1,this._loadGeometryTo(e,t.geometry,t),this._featureCreated(e,t)):this._loadGeometryTo(e,t,t),r&&e.children.length<2&&(e=e.children[0]),e},e.prototype._shapeCreated=function(t){var e=!1;return this.observer&&this.observer.shapeCreated&&(e=this.observer.shapeCreated(t)),e},e.prototype._featureCreated=function(t,e){this.observer&&this.observer.featureCreated&&this.observer.featureCreated({group:t,dataItem:e,properties:e.properties})},e.prototype._loadGeometryTo=function(t,e,r){var i,o,n=e.coordinates;switch(e.type){case"LineString":o=this._loadPolygon(t,[n],r),this._setLineFill(o);break;case"MultiLineString":for(i=0;i<n.length;i++)o=this._loadPolygon(t,[n[i]],r),this._setLineFill(o);break;case"Polygon":this._loadPolygon(t,n,r);break;case"MultiPolygon":for(i=0;i<n.length;i++)this._loadPolygon(t,n[i],r);break;case"Point":this._loadPoint(t,n,r);break;case"MultiPoint":for(i=0;i<n.length;i++)this._loadPoint(t,n[i],r)}},e.prototype._setLineFill=function(t){var e=t.segments;(e.length<4||!e[0].anchor().equals(ft(e).anchor()))&&(t.options.fill=null)},e.prototype._loadShape=function(t,e){return this._shapeCreated(e)||t.append(e),e},e.prototype._loadPolygon=function(t,e,r){var i=this._buildPolygon(e);return i.dataItem=r,this._loadShape(t,i)},e.prototype._buildPolygon=function(t){for(var e=new(t.length>1?S.drawing.MultiPath:S.drawing.Path)(this.style),r=0;r<t.length;r++)for(var i=0;i<t[r].length;i++){var o=this.locator.locationToView(Hc.fromLngLat(t[r][i]));0===i?e.moveTo(o.x,o.y):e.lineTo(o.x,o.y)}return e},e.prototype._loadPoint=function(t,e,r){var i=Hc.fromLngLat(e),o=this.locator.locationToView(i),n=new S.geometry.Circle(o,10),a=new S.drawing.Circle(n,this.style);return a.dataItem=r,a.location=i,this._loadShape(t,a)},e}(S.Class),sh=function(t){function e(){t.apply(this,arguments)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._readData=function(){return this.options.data||[]},e.prototype._load=function(t){if(this._data=t,this.surface.clear(),0!==t.length){var e=this.options,r=$(e.valueField),i=t.slice(0);i.sort((function(t,e){return r(e)-r(t)}));for(var o,n=this._scaleType(),a=$(this.options.locationField),s=0;s<i.length;s++){var u=i[s],l=a(u),c=r(u);if(at(l)&&at(c)){o||(o=new n([0,c],[e.minSize,e.maxSize])),l=Hc.create(l);var p=this.map.locationToView(l),h=o.map(c),f=this._createSymbol({center:p,size:h,style:e.style,dataItem:u,location:l});f.dataItem=u,f.location=l,f.value=c,this._drawSymbol(f)}}}},e.prototype._scaleType=function(){var t=this.options.scale;return T(t)?t:uh[t]},e.prototype._createSymbol=function(t){var e=this.options.symbol;return T(e)||(e=lh[e]),e(t)},e.prototype._drawSymbol=function(t){var e={layer:this,shape:t};this.map.trigger("shapeCreated",e)||this.surface.draw(t)},e}(nh);Ct(sh,{locationField:"location",valueField:"value",minSize:0,maxSize:100,scale:"sqrt",symbol:"circle",zIndex:200});var uh={sqrt:function(t){function e(e,r){t.call(this),this._domain=e,this._range=r;var i=Math.sqrt(e[1])-Math.sqrt(e[0]),o=r[1]-r[0];this._ratio=o/i}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.map=function(t){var e=(Math.sqrt(t)-Math.sqrt(this._domain[0]))*this._ratio;return this._range[0]+e},e}(S.Class)},lh={circle:function(t){var e=new S.geometry.Circle(t.center,t.size/2);return new S.drawing.Circle(e,t.style)},square:function(t){var e=new S.drawing.Path(t.style),r=t.size/2,i=t.center;return e.moveTo(i.x-r,i.y-r).lineTo(i.x+r,i.y-r).lineTo(i.x+r,i.y+r).lineTo(i.x-r,i.y+r).close(),e}},ch=Object.assign,ph=function(t){function e(e,r){t.call(this,e,r),this._markerClickHandler=gp(this._markerClick,this),yp(this.element,"click",".k-marker",this._markerClickHandler),this.items=[],this._load(this._readData())}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){t.prototype.destroy.call(this),xp(this.element,"click",this._markerClickHandler),this.clear()},e.prototype.add=function(t){if(!x(t))return this._addOne(t);for(var e=0;e<t.length;e++)this._addOne(t[e])},e.prototype.remove=function(t){t.destroy();var e=(this.items||[]).indexOf(t);e>-1&&this.items.splice(e,1)},e.prototype.clear=function(){for(var t=0;t<this.items.length;t++)this.items[t].destroy();this.items=[]},e.prototype.update=function(t){var e=t.location();if(e){t.showAt(this.map.locationToView(e));var r={marker:t,layer:this};this.map.trigger("markerActivate",r)}},e.prototype._reset=function(){t.prototype._reset.call(this);for(var e=this.items,r=0;r<e.length;r++)this.update(e[r])},e.prototype.bind=function(t,e){var r=hh.create(t,this.options);r.dataItem=e;var i={marker:r,layer:this};if(!this.map.trigger("markerCreated",i))return this.add(r),r},e.prototype._addOne=function(t){var e=hh.create(t,this.options);return e.addTo(this),e},e.prototype._readData=function(){return this.options.data||[]},e.prototype._load=function(t){this._data=t,this.clear();for(var e=$(this.options.locationField),r=$(this.options.titleField),i=0;i<t.length;i++){var o=t[i];this.bind({location:e(o),title:r(o)},o)}},e.prototype._markerClick=function(t){var e=this.map.layers||[],r=t.target._kendoNode,i={layer:this,layerIndex:e.indexOf(this),marker:r,markerIndex:(this.items||[]).indexOf(r),originalEvent:t};this.map.trigger("markerClick",i)},e.prototype._markerMouseEnter=function(t){var e=this._createMarkerEventArgs(t);this.map.trigger("markerMouseEnter",e)},e.prototype._markerMouseLeave=function(t){var e=this._createMarkerEventArgs(t);this.map.trigger("markerMouseLeave",e)},e.prototype._createMarkerEventArgs=function(t){var e=t.marker;return ch({},{layer:this,layerIndex:this.map.layers.indexOf(this),marker:e,markerIndex:(this.items||[]).indexOf(e)},t)},e}(zp);Ct(ph,{zIndex:1e3,autoBind:!0,locationField:"location",titleField:"title"});var hh=function(t){function e(e){t.call(this),this.options=e||{}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.layer=null,this.unbindEvents(),this.hide()},e.prototype.addTo=function(t){this.layer=t.markers||t,this.layer.items.push(this),this.layer.update(this)},e.prototype.location=function(t){return t?(this.options.location=Hc.create(t).toArray(),this.layer&&this.layer.update(this),this):Hc.create(this.options.location)},e.prototype.showAt=function(t){this.render(),this.element.style.left=pp(Math.round(t.x)),this.element.style.top=pp(Math.round(t.y)),this.tooltip&&this.tooltip.popup&&this.tooltip.popup._position()},e.prototype.hide=function(){this.element&&(this.element.remove(),this.element=null),this.tooltip&&(this.tooltip.destroy(),this.tooltip=null)},e.prototype.bindEvents=function(){this.element&&(this._mouseEnterHandler=gp(this._mouseEnter,this),yp(this.element,"mouseenter",".k-marker",this._mouseEnterHandler),this._mouseLeaveHandler=gp(this._mouseLeave,this),yp(this.element,"mouseleave",".k-marker",this._mouseLeaveHandler))},e.prototype.unbindEvents=function(){this.element&&(xp(this.element,"mouseenter",this._mouseEnterHandler),xp(this.element,"mouseleave",this._mouseLeaveHandler))},e.prototype.render=function(){if(!this.element){var t=this.options,e=this.layer,r=document.createElement("span");_(r,"k-marker k-icon k-i-marker-"+cp(t.shape||"pin")),r.setAttribute("title",t.title);var i=t.attributes||{};Object.keys(i).forEach((function(t){r.setAttributett(t,i[t])})),r._kendoNode=this,r.style.zIndex=t.zIndex,this.element=r,e&&e.element.appendChild(this.element),this.bindEvents(),this.renderTooltip()}},e.prototype._mouseEnter=function(t){var e=this._createEventArgs(t);this.layer._markerMouseEnter(e)},e.prototype._mouseLeave=function(t){var e=this._createEventArgs(t);this.layer._markerMouseLeave(e)},e.prototype._createEventArgs=function(t){return{marker:this,originalEvent:t}},e.prototype.renderTooltip=function(){},e.create=function(t,r){return t instanceof e?t:new e(V({},r,t))},e}(S.Class),fh=Object.assign;function dh(t){window.requestAnimationFrame(t)}var vh=function(t){function e(){t.call(this);this._tickProxy=gp(this._tick,this),this._started=!1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.tick=function(){},e.prototype.done=function(){},e.prototype.onEnd=function(){},e.prototype.onCancel=function(){},e.prototype.start=function(){this.enabled()&&(this.done()?this.onEnd():(this._started=!0,dh(this._tickProxy)))},e.prototype.enabled=function(){return!0},e.prototype.cancel=function(){this._started=!1,this.onCancel()},e.prototype._tick=function(){this._started&&(this.tick(),this.done()?(this._started=!1,this.onEnd()):dh(this._tickProxy))},e}(S.Class),gh=function(t){function e(e){t.call(this),fh(this,e)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.done=function(){return this.timePassed()>=this.duration},e.prototype.timePassed=function(){return Math.min(this.duration,Op()-this.startDate)},e.prototype.moveTo=function(t){var e=this.movable;this.initial=e[this.axis],this.delta=t.location-this.initial,this.duration="number"==typeof t.duration?t.duration:300,this.tick=this._easeProxy(t.ease),this.startDate=Op(),this.start()},e.prototype._easeProxy=function(t){var e=this;return function(){e.movable.moveAxis(e.axis,t(e.timePassed(),e.initial,e.delta,e.duration))}},e.easeOutExpo=function(t,e,r,i){return t===i?e+r:r*(1-Math.pow(2,-10*t/i))+e},e}(vh),yh=Object.assign,mh=function(t){t.preventDefault()},bh=800,xh=0,_h={api:0,touch:0,mouse:9,pointer:9};function Ch(t){var e,r,i,o=vp(),n=[],a=t.originalEvent||t,s=t.currentTarget,u=0;if(t.api)n.push({id:2,event:t,target:t.target,currentTarget:t.target,location:t,type:"api"});else if(t.type.match(/touch/))for(e=(r=a?a.changedTouches:[]).length;u<e;u++)i=r[u],n.push({location:i,event:t,target:i.target,currentTarget:s,id:i.identifier,type:"touch"});else o.pointers||o.msPointers?n.push({location:a,event:t,target:t.target,currentTarget:s,id:a.pointerId,type:"pointer"}):n.push({id:1,event:t,target:t.target,currentTarget:s,location:t,type:"mouse"});return n}var wh=function(t){function e(e,r){t.call(this);this.support=vp(),this.invalidZeroEvents=this.support.mobileOS&&this.support.mobileOS.android,this.axis=e,this._updateLocationData(r),this.startLocation=this.location,this.velocity=this.delta=0,this.timeStamp=Op()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.move=function(t){var e=t["page"+this.axis],r=Op(),i=r-this.timeStamp||1;!e&&this.invalidZeroEvents||(this.delta=e-this.location,this._updateLocationData(t),this.initialDelta=e-this.startLocation,this.velocity=this.delta/i,this.timeStamp=r)},e.prototype._updateLocationData=function(t){var e=this.axis;this.location=t["page"+e],this.client=t["client"+e],this.screen=t["screen"+e]},e}(S.Class),Sh=function(t){function e(e,r,i){t.call(this),yh(this,{x:new wh("X",i.location),y:new wh("Y",i.location),type:i.type,useClickAsTap:e.useClickAsTap,threshold:e.threshold||_h[i.type],userEvents:e,target:r,currentTarget:i.currentTarget,initialTouch:i.target,id:i.id,pressEvent:i,_clicks:e._clicks,supportDoubleTap:e.supportDoubleTap,_moved:!1,_finished:!1})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.press=function(){this._holdTimeout=setTimeout(gp(this._hold,this),this.userEvents.minHold),this._trigger("press",this.pressEvent)},e.prototype._tap=function(t){var e=this;e.userEvents._clicks++,1===e.userEvents._clicks&&(e._clickTimeout=setTimeout((function(){1===e.userEvents._clicks?e._trigger("tap",t):e._trigger("doubleTap",t),e.userEvents._clicks=0}),300))},e.prototype._hold=function(){this._trigger("hold",this.pressEvent)},e.prototype.move=function(t){var e="api"!==t.type&&this.userEvents._shouldNotMove;if(!this._finished&&!e){if(this.x.move(t.location),this.y.move(t.location),!this._moved){if(this._withinIgnoreThreshold())return;if(Ph.current&&Ph.current!==this.userEvents)return this.dispose();this._start(t)}this._finished||this._trigger("move",t)}},e.prototype.end=function(t){this.endTime=Op(),this._finished||(this._finished=!0,this._trigger("release",t),this._moved?this._trigger("end",t):this.useClickAsTap||(this.supportDoubleTap?this._tap(t):this._trigger("tap",t)),clearTimeout(this._holdTimeout),this.dispose())},e.prototype.dispose=function(){var t=this.userEvents.touches||[];this._finished=!0,this.pressEvent=null,clearTimeout(this._holdTimeout);var e=t.indexOf(this);t.splice(e,1)},e.prototype.skip=function(){this.dispose()},e.prototype.cancel=function(){this.dispose()},e.prototype.isMoved=function(){return this._moved},e.prototype._start=function(t){clearTimeout(this._holdTimeout),this.startTime=Op(),this._moved=!0,this._trigger("start",t)},e.prototype._trigger=function(t,e){var r=e.event,i={touch:this,x:this.x,y:this.y,target:this.target,event:r};this.userEvents.notify(t,i)&&r.preventDefault()},e.prototype._withinIgnoreThreshold=function(){var t=this.x.initialDelta,e=this.y.initialDelta;return Math.sqrt(t*t+e*e)<=this.threshold},e}(S.Class);function Oh(t){for(var e=dp(navigator.userAgent).up.split(" "),r=0,i=e.length;r<i;r++)t(e[r])}var Ph=function(t){function e(e,r){t.call(this);var i,o=vp();this.support=o,r=r||{},this.options=r,i=this.filter=r.filter,this.threshold=r.threshold||xh,this.minHold=r.minHold||bh,this.touches=[],this._maxTouches=r.multiTouch?2:1,this.allowSelection=r.allowSelection,this.captureUpIfMoved=r.captureUpIfMoved,this.useClickAsTap=!r.fastTap&&!o.delayedClick(),this._clicks=0,this.supportDoubleTap=r.supportDoubleTap;var n=!o.touch||o.mouseAndTouchPresent;if(yh(this,{element:e,surface:r.global&&n?e.ownerDocument.documentElement:r.surface||e,stopPropagation:r.stopPropagation,pressed:!1}),this._surfaceMoveHandler=gp(this._move,this),yp(this.surface,wp("move"),this._surfaceMoveHandler),this._surfaceEndHandler=gp(this._end,this),yp(this.surface,wp("up cancel"),this._surfaceEndHandler),this._elementStartHandler=gp(this._start,this),yp(e,wp("down"),i,this._elementStartHandler),this.useClickAsTap&&(this._elementClickHandler=gp(this._click,this),yp(e,wp("click"),i,this._elementClickHandler)),o.pointers||o.msPointers)if(o.browser.version<11){e.style["-ms-touch-action"]=r.touchAction&&"none"!==r.touchAction?"pinch-zoom double-tap-zoom "+r.touchAction:"pinch-zoom double-tap-zoom"}else e.style["touch-action"]=r.touchAction||"none";if(r.preventDragEvent&&(this._elementDragStartHandler=mh,yp(e,wp("dragstart"),this._elementDragStartHandler)),this._elementSelectHandler=gp(this._select,this),yp(e,wp("mousedown"),i,this._elementSelectHandler),this.captureUpIfMoved&&o.eventCapture){var a=this.surface,s=gp(this.preventIfMoving,this);Oh((function(t){a.addEventListener(t,s,!0)}))}this.bind(["press","hold","tap","doubleTap","start","move","end","release","cancel","gesturestart","gesturechange","gestureend","gesturetap","select"],r)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.preventIfMoving=function(t){this._isMoved()&&t.preventDefault()},e.prototype.destroy=function(){var t=this,e=this.options,r=this.element;if(!t._destroyed){if(t._destroyed=!0,t.captureUpIfMoved&&this.support.eventCapture){var i=t.surface;Oh((function(e){i.removeEventListener(e,t.preventIfMoving)}))}xp(t.surface,wp("move"),this._surfaceMoveHandler),xp(t.surface,wp("up cancel"),this._surfaceEndHandler),xp(r,wp("down"),this._elementStartHandler),t.useClickAsTap&&xp(r,wp("click"),this._elementClickHandler),e.preventDragEvent&&xp(r,wp("dragstart"),this._elementDragStartHandler),xp(r,wp("mousedown"),this._elementSelectHandler),t._disposeAll(),t.unbind(),delete t.surface,delete t.element,delete t.currentTarget}},e.prototype.capture=function(){e.current=this},e.prototype.cancel=function(){this._disposeAll(),this.trigger("cancel")},e.prototype.notify=function(t,e){var r,i,o,n,a,s,u,l,c=this.touches,p=t;if(this._isMultiTouch()){switch(p){case"move":p="gesturechange";break;case"end":p="gestureend";break;case"tap":p="gesturetap"}yh(e,{touches:c},(r=c[0],i=c[1],o=r.x.location,n=r.y.location,a=i.x.location,s=i.y.location,u=o-a,l=n-s,{center:{x:(o+a)/2,y:(n+s)/2},distance:Math.sqrt(u*u+l*l)}))}return this.trigger(p,yh(e,{type:p}))},e.prototype.press=function(t,e,r){this._apiCall("_start",t,e,r)},e.prototype.move=function(t,e){this._apiCall("_move",t,e)},e.prototype.end=function(t,e){this._apiCall("_end",t,e)},e.prototype._isMultiTouch=function(){return this.touches.length>1},e.prototype._maxTouchesReached=function(){return this.touches.length>=this._maxTouches},e.prototype._disposeAll=function(){for(var t=this.touches;t.length>0;)t.pop().dispose()},e.prototype._isMoved=function(){return G(this.touches,(function(t){return t.isMoved()})).length},e.prototype._select=function(t){this.allowSelection&&!this.trigger("select",{event:t})||t.preventDefault()},e.prototype._start=function(t){var r,i,o=0,n=this.filter,a=Ch(t),s=a.length,u=t.which;if(!(u&&u>1||this._maxTouchesReached()))for(e.current=null,this.currentTarget=t.currentTarget,this.stopPropagation&&t.stopPropagation();o<s&&!this._maxTouchesReached();o++)i=a[o],(r=n?i.currentTarget:this.element)&&0===r.length||(i=new Sh(this,r,i),this.touches.push(i),i.press(),this._isMultiTouch()&&this.notify("gesturestart",{}))},e.prototype._move=function(t){this._eachTouch("move",t)},e.prototype._end=function(t){this._eachTouch("end",t)},e.prototype._click=function(t){var e={touch:{initialTouch:t.target,target:t.currentTarget,endTime:Op(),x:{location:t.pageX,client:t.clientX},y:{location:t.pageY,client:t.clientY}},x:t.pageX,y:t.pageY,target:t.currentTarget,event:t,type:"tap"};this.trigger("tap",e)&&t.preventDefault()},e.prototype._eachTouch=function(t,e){var r,i,o,n,a={},s=Ch(e),u=this.touches;for(r=0;r<u.length;r++)a[(i=u[r]).id]=i;for(r=0;r<s.length;r++)(n=a[(o=s[r]).id])&&n[t](o)},e.prototype._apiCall=function(t,e,r,i){this[t]({api:!0,pageX:e,pageY:r,clientX:e,clientY:r,target:i||this.element,stopPropagation:Pp,preventDefault:Pp})},e.defaultThreshold=function(t){xh=t},e.minHold=function(t){bh=t},e}(kp),Ah=Object.assign,jh=Math.abs,kh=function(t){function e(e){t.call(this,e);Ah(this,e),this.userEvents.bind("gestureend",this.start.bind(this)),this.tapCapture.bind("press",this.cancel.bind(this))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.enabled=function(){return this.movable.scale<this.dimensions.minScale},e.prototype.done=function(){return this.dimensions.minScale-this.movable.scale<.01},e.prototype.tick=function(){var t=this.movable;t.scaleWith(1.1),this.dimensions.rescale(t.scale)},e.prototype.onEnd=function(){var t=this.movable;t.scaleTo(this.dimensions.minScale),this.dimensions.rescale(t.scale)},e}(vh),Th=function(t){function e(e){t.call(this);var r=this;Ah(r,e,{transition:new gh({axis:e.axis,movable:e.movable,onEnd:function(){r._end()}})}),r.tapCapture.bind("press",(function(){r.cancel()})),r.userEvents.bind("end",gp(r.start,r)),r.userEvents.bind("gestureend",gp(r.start,r)),r.userEvents.bind("tap",gp(r.onEnd,r))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.onCancel=function(){this.transition.cancel()},e.prototype.freeze=function(t){this.cancel(),this._moveTo(t)},e.prototype.onEnd=function(){this.paneAxis.outOfBounds()?this._snapBack():this._end()},e.prototype.done=function(){return jh(this.velocity)<1},e.prototype.start=function(e){var r;this.dimension.enabled&&(this.paneAxis.outOfBounds()?this.transition._started?(this.transition.cancel(),this.velocity=Math.min(e.touch[this.axis].velocity*this.velocityMultiplier,55),t.prototype.start.call(this)):this._snapBack():(r=2===e.touch.id?0:e.touch[this.axis].velocity,this.velocity=Math.max(Math.min(r*this.velocityMultiplier,55),-55),this.tapCapture.captureNext(),t.prototype.start.call(this)))},e.prototype.tick=function(){var t=this.dimension,e=this.paneAxis.outOfBounds()?.5:this.friction,r=this.velocity*=e,i=this.movable[this.axis]+r;!this.elastic&&t.outOfBounds(i)&&(i=Math.max(Math.min(i,t.max),t.min),this.velocity=0),this.movable.moveAxis(this.axis,i)},e.prototype._end=function(){this.tapCapture.cancelCapture(),this.end()},e.prototype._snapBack=function(){var t=this.dimension,e=this.movable[this.axis]>t.max?t.max:t.min;this._moveTo(e)},e.prototype._moveTo=function(t){this.transition.moveTo({location:t,duration:500,ease:gh.easeOutExpo})},e}(vh),Mh=function(t){function e(e){t.call(this,e);Ah(this,e,{origin:{},destination:{},offset:{}})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.tick=function(){this._updateCoordinates(),this.moveTo(this.origin)},e.prototype.done=function(){return jh(this.offset.y)<5&&jh(this.offset.x)<5},e.prototype.onEnd=function(){this.moveTo(this.destination),this.callback&&this.callback.call()},e.prototype.setCoordinates=function(t,e){this.offset={},this.origin=t,this.destination=e},e.prototype.setCallback=function(t){t&&T(t)?this.callback=t:t=void 0},e.prototype._updateCoordinates=function(){this.offset={x:(this.destination.x-this.origin.x)/4,y:(this.destination.y-this.origin.y)/4},this.origin={y:this.origin.y+this.offset.y,x:this.origin.x+this.offset.x}},e}(vh),Vh=function(t){function e(e){t.call(this);var r="x"===e.axis,i=sp('<div class="km-touch-scrollbar km-'+(r?"horizontal":"vertical")+'-scrollbar" />');Ah(this,e,{element:i,elementSize:0,movable:new ih(i),scrollMovable:e.movable,alwaysVisible:e.alwaysVisible,size:r?"width":"height"}),this.scrollMovable.bind("change",this.refresh.bind(this)),this.container.appendChild(i),e.alwaysVisible&&this.show()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.refresh=function(){var t=this.axis,e=this.dimension,r=e.size,i=this.scrollMovable,o=r/e.total,n=Math.round(-i[t]*o),a=Math.round(r*o);this.element.style.display=o>=1?"none":"",n+a>r?a=r-n:n<0&&(a+=n,n=0),this.elementSize!==a&&(this.element.style[this.size]=a+"px",this.elementSize=a),this.movable.moveAxis(t,n)},e.prototype.show=function(){this.element.style.opacity=.7,this.element.style.visibility="visible"},e.prototype.hide=function(){this.alwaysVisible||(this.element.style.opacity=0)},e}(S.Class),Nh=function(t){function e(e,r){t.call(this);var i=this;this.element=e,this._initOptions(r);var o,n,a=(o=navigator.userAgent,(n=hp(o)).ios||n.android);i._native=i.options.useNative&&a;var s=sp('<div class="km-scroll-header"/>');if(i._native)return _(e,"km-native-scroller"),lp(s,e),void Ah(i,{scrollElement:e,fixedContainer:e.children[0]});e.style.overflow="hidden",_(e,"km-scroll-wrapper"),function(t,e){for(t.appendChild(e);t.firstChild!==e;)e.appendChild(t.firstChild)}(e,sp('<div class="km-scroll-container"/>')),lp(s,e);var u=e.children[1],l=new Zp(e),c=new ih(u),p=new Jp({element:u,container:e,forcedEnabled:i.options.zoom}),h=this.options.avoidScrolling,f=new Ph(e,{touchAction:"pan-y",fastTap:!0,allowSelection:!0,preventDragEvent:!0,captureUpIfMoved:!0,multiTouch:i.options.zoom,supportDoubleTap:i.options.supportDoubleTap,start:function(t){p.refresh();var e=jh(t.x.velocity),r=jh(t.y.velocity),o=2*e>=r,n=2*r>=e;!function(t,e){return t===e||function(t,e){if(!e)return!1;for(var r=e.parentNode;null!==r;){if(r===t)return!0;r=r.parentNode}return!1}(t,e)}(i.fixedContainer,t.event.target)&&!h(t)&&i.enabled&&(p.x.enabled&&o||p.y.enabled&&n)?f.capture():f.cancel()}}),d=new eh({movable:c,dimensions:p,userEvents:f,elastic:i.options.elastic}),v=new kh({movable:c,dimensions:p,userEvents:f,tapCapture:l}),g=new Mh({moveTo:function(t){i.scrollTo(t.x,t.y)}});c.bind("change",(function(){i.scrollTop=-c.y,i.scrollLeft=-c.x,i.trigger("scroll",{scrollTop:i.scrollTop,scrollLeft:i.scrollLeft})})),i.options.mousewheelScrolling&&(this._wheelScrollHandler=this._wheelScroll.bind(this),yp(e,"DOMMouseScroll mousewheel",this._wheelScrollHandler)),Ah(i,{movable:c,dimensions:p,zoomSnapBack:v,animatedScroller:g,userEvents:f,pane:d,tapCapture:l,pulled:!1,enabled:!0,scrollElement:u,scrollTop:0,scrollLeft:0,fixedContainer:e.children[0]}),i._initAxis("x"),i._initAxis("y"),i._wheelEnd=function(){i._wheel=!1,i.userEvents.end(0,i._wheelY)},p.refresh(),i.options.pullToRefresh&&i._initPullToRefresh()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._wheelScroll=function(t){if(!t.ctrlKey){this._wheel||(this._wheel=!0,this._wheelY=0,this.userEvents.press(0,this._wheelY)),clearTimeout(this._wheelTimeout),this._wheelTimeout=setTimeout(this._wheelEnd,50);var e=function(t){var e,r=t.originalEvent||t,i=r.wheelDeltaY;return r.wheelDelta?(void 0===i||i)&&(e=r.wheelDelta):r.detail&&r.axis===r.VERTICAL_AXIS&&(e=10*-r.detail),e}(t);e&&(this._wheelY+=e,this.userEvents.move(0,this._wheelY)),t.preventDefault()}},e.prototype.makeVirtual=function(){this.dimensions.y.makeVirtual()},e.prototype.virtualSize=function(t,e){this.dimensions.y.virtualSize(t,e)},e.prototype.height=function(){return this.dimensions.y.size},e.prototype.scrollHeight=function(){return this.scrollElement.scrollHeight},e.prototype.scrollWidth=function(){return this.scrollElement.scrollWidth},e.prototype._resize=function(){this._native||this.contentResized()},e.prototype.setOptions=function(t){this._initOptions(t),t.pullToRefresh&&this._initPullToRefresh()},e.prototype.reset=function(){this._native?this.scrollElement.scrollTop(0):(this.movable.moveTo({x:0,y:0}),this._scale(1))},e.prototype.contentResized=function(){this.dimensions.refresh(),this.pane.x.outOfBounds()&&this.movable.moveAxis("x",this.dimensions.x.min),this.pane.y.outOfBounds()&&this.movable.moveAxis("y",this.dimensions.y.min)},e.prototype.zoomOut=function(){var t=this.dimensions;t.refresh(),this._scale(t.fitScale),this.movable.moveTo(t.centerCoordinates())},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.scrollTo=function(t,e){this._native?(this.scrollElement.scrollLeft(jh(t)),this.scrollElement.scrollTop(jh(e))):(this.dimensions.refresh(),this.movable.moveTo({x:t,y:e}))},e.prototype.animatedScrollTo=function(t,e,r){var i,o;this._native?this.scrollTo(t,e):(i={x:this.movable.x,y:this.movable.y},o={x:t,y:e},this.animatedScroller.setCoordinates(i,o),this.animatedScroller.setCallback(r),this.animatedScroller.start())},e.prototype.pullHandled=function(){},e.prototype.destroy=function(){var t=this.element;xp(t,"DOMMouseScroll mousewheel",this._wheelScrollHandler),this.userEvents&&this.userEvents.destroy()},e.prototype._scale=function(t){this.dimensions.rescale(t),this.movable.scaleTo(t)},e.prototype._initPullToRefresh=function(){},e.prototype._dragEnd=function(){},e.prototype._paneChange=function(){},e.prototype._initAxis=function(t){var e=this,r=e.movable,i=e.dimensions[t],o=e.tapCapture,n=e.pane[t],a=new Vh({axis:t,movable:r,dimension:i,container:e.element,alwaysVisible:e.options.visibleScrollHints});i.bind("change",(function(){a.refresh()})),n.bind("change",(function(){a.show()})),e[t+"inertia"]=new Th({axis:t,paneAxis:n,movable:r,tapCapture:o,userEvents:e.userEvents,dimension:i,elastic:e.options.elastic,friction:e.options.friction||.96,velocityMultiplier:e.options.velocityMultiplier||10,end:function(){a.hide(),e.trigger("scrollEnd",{axis:t,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft})}})},e}(kp);Ct(Nh,{name:"Scroller",zoom:!1,pullOffset:140,visibleScrollHints:!1,elastic:!0,useNative:!1,mousewheelScrolling:!0,avoidScrolling:function(){return!1},pullToRefresh:!1,messages:{pullTemplate:"Pull to refresh",releaseTemplate:"Release to refresh",refreshTemplate:"Refreshing"}}),Sp(Nh,["pull","scroll","resize"]);var Eh=function(t,e){void 0===e&&(e={}),this.sender=e.sender||t,this.widget=t,this.rtl=Boolean(e.rtl)};Eh.prototype.notify=function(t,e){this.widget&&this.widget.trigger(t,e)};var Lh=Eh,Dh=Math,Bh=Dh.min,Ih=Dh.pow,Rh=S.geometry.Point,zh={bubble:sh,shape:nh,tile:Gp};function Fh(t){var e=[];if(t)for(var r=cp(t).split("-"),i=0;i<r.length;i++)e.push("k-pos-"+r[i]);return e.join(" ")}zh.marker=ph;var Hh=function(t){function e(e,r,i,o){void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o={}),t.call(this),this._init(e,r,i,o)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.destroy=function(){this.scroller.destroy(),this.navigator&&this.navigator.destroy(),this.attribution&&this.attribution.destroy(),this.zoomControl&&this.zoomControl.destroy(),x(this.markers)?this.markers.forEach((function(t){t.destroy()})):this.markers.destroy();for(var e=0;e<this.layers.length;e++)this.layers[e].destroy();xp(this.element,"DOMMouseScroll mousewheel",this._mousewheelHandler),t.prototype.destroy.call(this)},e.prototype._init=function(t,e,r,i){void 0===e&&(e={}),void 0===r&&(r={}),void 0===i&&(i={}),this.support=vp(),this.context=i,this.initObserver(i),this.initServices(i),this._initOptions(e),this._setEvents(e),this.crs=new np,this._initElement(t),this._viewOrigin=this._getOrigin(),this._initScroller(),this._initMarkers(),this._initControls(),this._initLayers(),this._reset(),this._mousewheelHandler=this._mousewheel.bind(this),yp(this.element,"DOMMouseScroll mousewheel",this._mousewheelHandler)},e.prototype._initOptions=function(t){this.options=V({},this.options,t)},e.prototype._initElement=function(t){this.element=t,_(t,"k-map"),t.style.position="relative",t.setAttribute("data-role","map"),up(t);var e=sp("<div />");this.element.appendChild(e)},e.prototype.initServices=function(t){void 0===t&&(t={}),this.widgetService=new Lh(this,t)},e.prototype.initObserver=function(t){void 0===t&&(t={}),this.observers=[],this.addObserver(t.observer)},e.prototype.addObserver=function(t){t&&this.observers.push(t)},e.prototype.removeObserver=function(t){var e=this.observers.indexOf(t);e>=0&&this.observers.splice(e,1)},e.prototype.requiresHandlers=function(t){for(var e=this.observers,r=0;r<e.length;r++)if(e[r].requiresHandlers(t))return!0},e.prototype.trigger=function(e,r){void 0===r&&(r={}),r.sender=this;for(var i=this.observers,o=!1,n=0;n<i.length;n++)i[n].trigger(e,r)&&(o=!0);return o||t.prototype.trigger.call(this,e,r),o},e.prototype._notifyObserver=function(t,e){void 0===e&&(e={}),e.sender=this;for(var r=this.observers,i=!1,o=0;o<r.length;o++)r[o].trigger(t,e)&&(i=!0);return i},e.prototype.zoom=function(t){var e,r=this.options;if(at(t)){var i=Dh.round(dt(t,r.minZoom,r.maxZoom));r.zoom!==i&&(r.zoom=i,this._reset()),e=this}else e=r.zoom;return e},e.prototype.center=function(t){var e;return t?(this.options.center=Hc.create(t).toArray(),this._reset(),e=this):e=Hc.create(this.options.center),e},e.prototype.extent=function(t){var e;return t?(this._setExtent(t),e=this):e=this._getExtent(),e},e.prototype.setOptions=function(t){void 0===t&&(t={});var e=this.element;this.destroy(),up(e),this._init(e,t,{},this.context),this._reset()},e.prototype.locationToLayer=function(t,e){var r=!this.options.wraparound,i=Hc.create(t);return this.crs.toPoint(i,this._layerSize(e),r)},e.prototype.layerToLocation=function(t,e){var r=!this.options.wraparound,i=Rh.create(t);return this.crs.toLocation(i,this._layerSize(e),r)},e.prototype.locationToView=function(t){var e=Hc.create(t),r=this.locationToLayer(this._viewOrigin);return this.locationToLayer(e).translateWith(r.scale(-1))},e.prototype.viewToLocation=function(t,e){var r=this.locationToLayer(this._getOrigin(),e),i=Rh.create(t).clone().translateWith(r);return this.layerToLocation(i,e)},e.prototype.eventOffset=function(t){var e,r,i=ut(this.element);if(t.x&&t.x.location||t.y&&t.y.location)e=t.x.location-i.left,r=t.y.location-i.top;else{var o=t.originalEvent||t;e=bt(o.pageX,o.clientX)-i.left,r=bt(o.pageY,o.clientY)-i.top}return new S.geometry.Point(e,r)},e.prototype.eventToView=function(t){var e=this.eventOffset(t);return this.locationToView(this.viewToLocation(e))},e.prototype.eventToLayer=function(t){return this.locationToLayer(this.eventToLocation(t))},e.prototype.eventToLocation=function(t){var e=this.eventOffset(t);return this.viewToLocation(e)},e.prototype.viewSize=function(){var t=this.element,e=this._layerSize(),r=t.clientWidth;return this.options.wraparound||(r=Bh(e,r)),{width:r,height:Bh(e,t.clientHeight)}},e.prototype.exportVisual=function(){return this._reset(),!1},e.prototype._setOrigin=function(t,e){var r,i=this.viewSize(),o=this._origin=Hc.create(t);return(r=this.locationToLayer(o,e)).x+=i.width/2,r.y+=i.height/2,this.options.center=this.layerToLocation(r,e).toArray(),this},e.prototype._getOrigin=function(t){var e,r=this.viewSize();return!t&&this._origin||((e=this.locationToLayer(this.center())).x-=r.width/2,e.y-=r.height/2,this._origin=this.layerToLocation(e)),this._origin},e.prototype._setExtent=function(t){var e=Rp.create(t),r=e.se.clone();this.options.wraparound&&r.lng<0&&t.nw.lng>0&&(r.lng=180+(180+r.lng));var i=new Rp(e.nw,r);this.center(i.center());var o,n=this.element.clientWidth,a=this.element.clientHeight;for(o=this.options.maxZoom;o>=this.options.minZoom;o--){var s=this.locationToLayer(i.nw,o),u=this.locationToLayer(i.se,o),l=Dh.abs(u.x-s.x),c=Dh.abs(u.y-s.y);if(l<=n&&c<=a)break}this.zoom(o)},e.prototype._getExtent=function(){var t=this._getOrigin(),e=this.locationToLayer(t),r=this.viewSize();e.x+=r.width,e.y+=r.height;var i=this.layerToLocation(e);return new Rp(t,i)},e.prototype._zoomAround=function(t,e){this._setOrigin(this.layerToLocation(t,e),e),this.zoom(e)},e.prototype._initControls=function(){var t=this.options.controls;t.attribution&&this._createAttribution(t.attribution),this.support.mobileOS||(t.navigator&&this._createNavigator(t.navigator),t.zoom&&this._createZoomControl(t.zoom))},e.prototype._createControlElement=function(t,e){var r=t.position||e,i="."+Fh(r).replace(" ","."),o=this.element.querySelector(".k-map-controls"+i)||[];if(0===o.length){var n=document.createElement("div");_(n,"k-map-controls "+Fh(r)),o=n,this.element.appendChild(o)}var a=document.createElement("div");return o.appendChild(a),a},e.prototype._createAttribution=function(t){var e=this._createControlElement(t,"bottomRight");this.attribution=new Tp(e,t)},e.prototype._createNavigator=function(t){var e=this._createControlElement(t,"topLeft"),r=this.navigator=new Np(e,t);this._navigatorPan=this._navigatorPan.bind(this),r.bind("pan",this._navigatorPan),this._navigatorCenter=this._navigatorCenter.bind(this),r.bind("center",this._navigatorCenter)},e.prototype._navigatorPan=function(t){var e=this.scroller,r=e.scrollLeft+t.x,i=e.scrollTop-t.y,o=this._virtualSize,n=this.element.clientWidth,a=this.element.clientHeight;r=dt(r,o.x.min,o.x.max-n),i=dt(i,o.y.min,o.y.max-a),this.scroller.one("scroll",gp(this._scrollEnd,this)),this.scroller.scrollTo(-r,-i)},e.prototype._navigatorCenter=function(){this.center(this.options.center)},e.prototype._createZoomControl=function(t){var e=this._createControlElement(t,"topLeft"),r=this.zoomControl=new Lp(e,t);this._zoomControlChange=this._zoomControlChange.bind(this),r.bind("change",this._zoomControlChange)},e.prototype._zoomControlChange=function(t){this.trigger("zoomStart",{originalEvent:t})||(this.zoom(this.zoom()+t.delta),this.trigger("zoomEnd",{originalEvent:t}))},e.prototype._initScroller=function(){var t=this.support.mobileOS?.93:.9,e=!1!==this.options.zoomable,r=this.scroller=new Nh(this.element.children[0],{friction:t,velocityMultiplier:5,zoom:e,mousewheelScrolling:!1,supportDoubleTap:!0});r.bind("scroll",gp(this._scroll,this)),r.bind("scrollEnd",gp(this._scrollEnd,this)),r.userEvents.bind("gesturestart",gp(this._scaleStart,this)),r.userEvents.bind("gestureend",gp(this._scale,this)),r.userEvents.bind("doubleTap",gp(this._doubleTap,this)),r.userEvents.bind("tap",gp(this._tap,this)),this.scrollElement=r.scrollElement},e.prototype._initLayers=function(){for(var t=this.options.layers,e=this.layers=[],r=0;r<t.length;r++){var i=t[r],o=this._createLayer(i);e.push(o)}},e.prototype._createLayer=function(t){var e=t.type||"shape",r=this.options.layerDefaults[e],i=V({},"marker"===e?this.options.markerDefaults:r,t),o=new(0,zh[e])(this,i);return"marker"===e&&(this.markers=o),o},e.prototype._initMarkers=function(){(this.options.layers||[]).filter((function(t){return t&&"marker"===t.type})).length>0||(this.markers=new ph(this,this.options.markerDefaults),this.markers.add(this.options.markers))},e.prototype._scroll=function(t){var e=this.locationToLayer(this._viewOrigin).round(),r=t.sender.movable,i=new S.geometry.Point(r.x,r.y).scale(-1).scale(1/r.scale);e.x+=i.x,e.y+=i.y,this._scrollOffset=i,this._setOrigin(this.layerToLocation(e)),this.trigger("pan",{originalEvent:t,origin:this._getOrigin(),center:this.center()})},e.prototype._scrollEnd=function(t){this._scrollOffset&&this._panComplete()&&(this._scrollOffset=null,this._panEndTimestamp=Op(),this.trigger("panEnd",{originalEvent:t,origin:this._getOrigin(),center:this.center()}))},e.prototype._panComplete=function(){return Op()-(this._panEndTimestamp||0)>50},e.prototype._scaleStart=function(t){if(this.trigger("zoomStart",{originalEvent:t})){var e=t.touches[1];e&&e.cancel()}},e.prototype._scale=function(t){var e=this.scroller.movable.scale,r=this._scaleToZoom(e),i=new S.geometry.Point(t.center.x,t.center.y),o=this.viewToLocation(i,r),n=this.locationToLayer(o,r).translate(-i.x,-i.y);this._zoomAround(n,r),this.trigger("zoomEnd",{originalEvent:t})},e.prototype._scaleToZoom=function(t){var e=this._layerSize()*t/this.options.minSize,r=Dh.log(e)/Dh.log(2);return Dh.round(r)},e.prototype._reset=function(){this.attribution&&this.attribution.filter(this.center(),this.zoom()),this._viewOrigin=this._getOrigin(!0),this._resetScroller(),this.trigger("beforeReset"),this.trigger("reset")},e.prototype._resetScroller=function(){var t=this.scroller,e=t.dimensions.x,r=t.dimensions.y,i=this._layerSize(),o=this.extent().nw,n=this.locationToLayer(o).round();t.movable.round=!0,t.reset(),t.userEvents.cancel();var a=this.zoom();t.dimensions.forcedMinScale=Ih(2,this.options.minZoom-a),t.dimensions.maxScale=Ih(2,this.options.maxZoom-a);var s={min:-n.x,max:i-n.x},u={min:-n.y,max:i-n.y};if(this.options.wraparound&&(s.max=20*i,s.min=-s.max),!1===this.options.pannable){var l=this.viewSize();s.min=u.min=0,s.max=l.width,u.max=l.height}e.makeVirtual(),r.makeVirtual(),e.virtualSize(s.min,s.max),r.virtualSize(u.min,u.max),this._virtualSize={x:s,y:u}},e.prototype._renderLayers=function(){},e.prototype._layerSize=function(t){var e=bt(t,this.options.zoom);return this.options.minSize*Ih(2,e)},e.prototype._tap=function(t){if(this._panComplete()){var e=this.eventOffset(t);this.trigger("click",{originalEvent:t,location:this.viewToLocation(e)})}},e.prototype._doubleTap=function(t){if(!1!==this.options.zoomable&&!this.trigger("zoomStart",{originalEvent:t})){var e=this.zoom()+1,r=this.eventOffset(t),i=this.viewToLocation(r),o=this.locationToLayer(i,e).translate(-r.x,-r.y);this._zoomAround(o,e),this.trigger("zoomEnd",{originalEvent:t})}},e.prototype._mousewheel=function(t){t.preventDefault();var e=rt(t)>0?-1:1,r=this.options,i=this.zoom(),o=dt(i+e,r.minZoom,r.maxZoom);if(!1!==r.zoomable&&o!==i&&!this.trigger("zoomStart",{originalEvent:t})){var n=this.eventOffset(t),a=this.viewToLocation(n),s=this.locationToLayer(a,o).translate(-n.x,-n.y);this._zoomAround(s,o),this.trigger("zoomEnd",{originalEvent:t})}},e}(kp);Ct(Hh,{name:"Map",controls:{attribution:!0,navigator:{panStep:100},zoom:!0},layers:[],layerDefaults:{shape:{style:{fill:{color:"#fff"},stroke:{color:"#aaa",width:.5}}},bubble:{style:{fill:{color:"#fff",opacity:.5},stroke:{color:"#aaa",width:.5}}},marker:{shape:"pinTarget",tooltip:{position:"top"}}},center:[0,0],zoom:3,minSize:256,minZoom:1,maxZoom:19,markers:[],markerDefaults:{shape:"pinTarget",tooltip:{position:"top"}},wraparound:!0,renderPointsAsMarkers:!1}),Sp(Hh,["beforeReset","click","markerActivate","markerClick","markerCreated","markerMouseEnter","markerMouseLeave","pan","panEnd","reset","shapeClick","shapeCreated","shapeFeatureCreated","shapeMouseEnter","shapeMouseLeave","zoomEnd","zoomStart"]);var Uh=Hh,Kh="Arial, Helvetica, sans-serif",$h="12px "+Kh,Gh="16px "+Kh,Xh=function(){return{icon:{border:{width:1}},label:{font:$h,padding:3},line:{length:10,width:2},visible:!0}},Yh=function(t){return{visible:!0,labels:{font:"11px Arial, Helvetica, sans-serif"},overlay:t.gradients?{}:{gradient:"none"},area:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},rangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalRangeArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},bar:{gap:1.5,spacing:.4},boxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},bubble:{border:{width:0},labels:{background:"transparent"},opacity:.6},bullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},candlestick:{border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},line:{width:2}},line:{color:"#000",width:1},spacing:.3},column:{gap:1.5,spacing:.4},heatmap:{labels:{color:"",background:"transparent",visible:!0},highlight:{border:{width:0}}},pie:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},donut:{margin:1},funnel:{labels:{background:"",color:"",padding:{top:5,bottom:5,left:7,right:7}}},horizontalWaterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4},line:{width:2},notes:Xh(),ohlc:{gap:1,highlight:{line:{opacity:1,width:3}},line:{width:1},spacing:.3},radarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},radarLine:{markers:{visible:!1},width:2},polarArea:{line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.5},polarLine:{markers:{visible:!1},width:2},rangeBar:{gap:1.5,spacing:.4},rangeColumn:{gap:1.5,spacing:.4},scatterLine:{width:1},verticalArea:{highlight:{markers:{border:{}}},line:{opacity:1,width:0},markers:{size:6,visible:!1},opacity:.4},verticalBoxPlot:{outliersField:"",meanField:"",border:{_brightness:.8,width:1},downColor:"#fff",gap:1,highlight:{border:{opacity:1,width:2},whiskers:{width:3},mean:{width:2},median:{width:2}},mean:{width:2},median:{width:2},spacing:.3,whiskers:{width:2}},verticalBullet:{gap:1.5,spacing:.4,target:{color:"#ff0000"}},verticalLine:{width:2},waterfall:{gap:.5,line:{color:"#000",width:1},spacing:.4}}},Wh=function(t){return void 0===t&&(t={}),{axisDefaults:{labels:{font:$h},notes:Xh(),title:{font:Gh,margin:5}},categoryAxis:{majorGridLines:{visible:!0}},navigator:{pane:{height:90,margin:{top:10}}},seriesDefaults:Yh(t),title:{font:Gh},legend:{labels:{font:$h}}}}},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.CollectionConfigurationVue2=e.CollectionConfiguration=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(1)),l={name:"KendoCollectionConfiguration",props:{chartKey:String,parentKey:String,parentStore:Object},provide:function(){return{childOption:!1,chartCollection:this.$props.chartKey,parentKey:this.$props.parentKey,child:this.child,addChild:this.addChild,removeChild:this.removeChild}},inject:{dispatchOptions:{default:null},observersStore:{default:null},childrenObserver:{default:null}},created:function(){(0,this.dispatchOptions)({chartKey:this.$props.chartKey,payload:[]})},data:function(){return{child:{collection:[]}}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){return(s||t)("div",[u.getDefaultSlots(this)," "])},methods:{addChild:function(t){this.child.collection.push(t)},removeChild:function(t){var e=this.child.collection.findIndex((function(e){return e.uid===t.uid}));this.child.collection.splice(e,1)}}};e.CollectionConfigurationVue2=l;var c=l;e.CollectionConfiguration=c},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e},s=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.BaseChartVue2=e.BaseChart=void 0;var u=a(r(2)).h,l=r(35),c=r(7),p=r(1),h=r(3),f=r(36),d=r(38),v=r(40),g=r(41),y=s(r(42)),m=r(43),b=r(3);r(44);var x=r(45),_=r(47),C=r(1),w=r(49),S={name:"KendoBaseChart",props:{deriveOptionsFromParent:{type:Function,default:void 0},chartConstructor:{type:[Object,Function],default:function(){}},className:String,chartStyle:Object,wrapper:String,getTarget:{type:Function,default:void 0},dataItems:{type:Array,default:function(){}},dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}},allListeners:{type:Object,default:void 0}},inject:{kendoIntlService:{default:null}},provide:function(){return{optionsState:this.optionsState,dispatchOptions:this.dispatchOptions,observersState:this.observersState,dispatchObservers:this.dispatchObservers,childrenObserver:this.childrenObserver,chartRefresh:this.refresh}},created:function(){this.chartInstance=null,this.element=null,this.suppressTransitions=!1,C.validatePackage(w.packageMetadata),this.themeStore=y.default(m.themeReducer),this.chartObserver=new c.InstanceObserver(this,{render:"onRender",legendItemClick:"onLegendItemClick"})},data:function(){return{optionsState:{},observersState:[],childrenObserver:new c.InstanceObserver(this,{onMouseLeave:"onChildMouseLeave"})}},mounted:function(){this.element=this.v3?this.elementRef:this.$refs.element,g.loadTheme(this.themeStore,this.instantiateCoreChart),window.addEventListener("resize",this.onWindowResize)},destroyed:u?void 0:function(){this.onDestroyed()},unmounted:function(){this.onDestroyed()},updated:function(){if(null!==this.chartInstance){var t=l.provideIntlService(this),e=this.chartInstance.chartService;t.locale!==e._intlService.locale&&(this.chartInstance.chartService._intlService=t,this.chartInstance.chartService.format._intlService=t,this.chartInstance.noTransitionsRedraw()),this.refresh()}},setup:u?function(){return{v3:!!u}}:void 0,render:function(t){var e=u||t,r=p.getDefaultSlots(this),o=this.$props,n=o.chartStyle,a=void 0===n?{}:n,s=o.className,l=o.wrapper,c=Object.assign({},a,{position:"relative"});return e(l,{style:c,class:s,key:"chartElement"},[e(x.SeriesTooltip,{key:"seriesTooltip"}),e(_.CrosshairContainer,{key:"crosshairTooltips",optionsState:i({},this.optionsState),attrs:this.v3?void 0:{optionsState:i({},this.optionsState)}}),function(){var t=this;return e("div",{onMouseleave:this.onChartMouseLeave,on:this.v3?void 0:{mouseleave:this.onChartMouseLeave},ref:this.v3?function(e){t.elementRef=e}:"element",class:"k-chart-surface"},[r])}.call(this)])},methods:{dispatchOptions:function(t){m.optionsReducer(this.optionsState,t)},dispatchObservers:function(t){this.observersState=m.observersReducer(this.observersState,t)},onDestroyed:function(){null!==this.chartInstance&&(this.chartInstance.destroy(),this.chartInstance=null),window.removeEventListener("resize",this.onWindowResize)},getDirection:function(t){return void 0!==t?"rtl"===t:p.isRtl(this.element)},getChartOptions:function(){var t=this.$props,e=t.renderAs,r=t.pannable,i=t.zoomable,o=t.paneDefaults,n=t.panes,a=t.transitions,s=t.seriesColors,u=t.seriesDefaults,l=t.axisDefaults,c=t.deriveOptionsFromParent,p={};return void 0!==e&&(p.renderAs=e),void 0!==r&&(p.pannable=r),void 0!==i&&(p.zoomable=i),void 0!==o&&(p.paneDefaults=o),void 0!==n&&(p.panes=n),void 0!==a&&(p.transitions=a),void 0!==s&&(p.seriesColors=s),void 0!==u&&(p.seriesDefaults=u),void 0!==l&&(p.axisDefaults=l),p=Object.assign(p,this.optionsState),c&&(p=c(p)),p},refresh:function(){if(null!==this.chartInstance){var t=this.themeStore.getState(),e=this.getChartOptions(),r=e.transitions;this.suppressTransitions&&(e.transitions=!1),p.hasListener.call(this,"refresh")?this.trigger("refresh",{chartOptions:e,themeOptions:t,chartInstance:this.chartInstance}):this.chartInstance.setOptions(e,t),this.suppressTransitions&&(e.transitions=r,this.suppressTransitions=!1)}},instantiateCoreChart:function(){var t=this.$props,e=t.dir,r=t.chartConstructor,i=this.getChartOptions(),o=null;this.element&&(o=this.element.lastElementChild)&&this.element.removeChild(o),this.chartInstance=new r(this.element,i,this.themeStore.getState(),{rtl:this.getDirection(e),intlService:l.provideIntlService(this),observer:this.chartObserver,sender:this}),this.element&&o&&this.element.appendChild(o)},trigger:function(t,e){for(var r=this.$props.getTarget(),i=d.create(t,e,r),o=this.observersState,n=!1,a=0;a<o.length;a++)o[a].trigger(t,e)&&(n=!0);return!1===n&&i?(this.$emit("basechartevent",t.toLowerCase(),i),i.isDefaultPrevented&&i.isDefaultPrevented()):n},triggerDomEvent:function(t,e){for(var r=this.observersState,i=!1,o=0;o<r.length;o++)r[o].trigger(t,e)&&(i=!0);return i},onRender:function(t){null!==this.chartInstance&&(this.surface=t.sender.surface,this.trigger("render",t))},hasListener:function(t){return!!this.$props.allListeners&&Object.keys(this.$props.allListeners).some((function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))},onLegendItemClick:function(t){if(null!==this.chartInstance)if(this.hasListener("legendItemClick"))this.trigger("legendItemClick",t);else{var e=this.optionsState.series;if(!e)return;var r={},i=t.seriesIndex,o=t.pointIndex,n=e[i];if(void 0===o)r=Object.assign({},n,{visible:b.toggle(n.visible)});else{var a=n.pointVisibility=n.pointVisibility||[];a[o]=b.toggle(a[o]),r=Object.assign({},n)}this.dispatchOptions({chartCollectionIdxKey:"series_"+i,payload:r}),this.suppressTransitions=!0,this.refresh()}},onWindowResize:function(){null!==this.chartInstance&&this.chartInstance.resize()},onChartMouseLeave:function(t){var e=v.toDomEvent(this,t);this.triggerDomEvent("onMouseLeave",e)?t.preventDefault():null!==this.chartInstance&&this.chartInstance.hideElements()},onChildMouseLeave:function(t){var e=t.event;return this.chartInstance&&!h.hasParent(e.relatedTarget,this.element)&&this.chartInstance.hideElements(),!1},requiresHandlers:function(t){for(var e=0;e<t.length;e++){var r=t[e];if(this.hasListener(r))return!0}return!1}}};e.BaseChartVue2=S;var O=S;e.BaseChart=O,c.DomEventsBuilder.register(f.DomEventsBuilder)},function(t,e){t.exports=r},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.AxisLabelClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.dataItem=e.dataItem,i.index=e.index,i.text=e.text,i.value=e.value,i}return o(e,t),e}(r(5).BaseEvent);e.AxisLabelClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DragEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.DragEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DragEndEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(5).BaseEvent);e.DragEndEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.DragStartEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.DragStartEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegendItemHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return o(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(r(6).PreventableEvent);e.LegendItemHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegendItemClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return o(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(r(6).PreventableEvent);e.LegendItemClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.NavigatorFilterEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(5).BaseEvent);e.NavigatorFilterEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.NoteClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.dataItem=e.dataItem,i.series=e.series,i.value=e.value,i.visual=e.visual,i}return o(e,t),e}(r(5).BaseEvent);e.NoteClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.NoteHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.dataItem=e.dataItem,i.series=e.series,i.value=e.value,i.visual=e.visual,i}return o(e,t),e}(r(5).BaseEvent);e.NoteHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.PlotAreaClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.nativeEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return o(e,t),e}(r(5).BaseEvent);e.PlotAreaClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.PlotAreaHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.nativeEvent=e.originalEvent,i.value=e.value,i.x=e.x,i.y=e.y,i}return o(e,t),e}(r(5).BaseEvent);e.PlotAreaHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.RenderEvent=void 0;var n=function(t){function e(e,r){return t.call(this,r)||this}return o(e,t),e}(r(5).BaseEvent);e.RenderEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(6).PreventableEvent);e.SelectEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SelectEndEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(5).BaseEvent);e.SelectEndEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SelectStartEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axis=e.axis,i.from=e.from,i.to=e.to,i}return o(e,t),e}(r(6).PreventableEvent);e.SelectStartEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SeriesClickEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.dataItem=e.dataItem,i.nativeEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return o(e,t),e}(r(5).BaseEvent);e.SeriesClickEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.SeriesHoverEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.category=e.category,i.categoryPoints=e.categoryPoints,i.dataItem=e.dataItem,i.nativeEvent=e.originalEvent,i.percentage=e.percentage,i.point=e.point,i.series=e.series,i.stackValue=e.stackValue,i.value=e.value,i}return o(e,t),e}(r(6).PreventableEvent);e.SeriesHoverEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.delta=e.delta,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.ZoomEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomEndEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(5).BaseEvent);e.ZoomEndEvent=n},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomStartEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.axisRanges=e.axisRanges,i.nativeEvent=e.originalEvent,i}return o(e,t),e}(r(6).PreventableEvent);e.ZoomStartEvent=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipPoint=void 0;var i=function(){function t(t,e){this.value=t.value,this.category=t.category,this.categoryIndex=t.categoryIx,this.series=t.series,this.dataItem=t.dataItem,this.percentage=t.percentage,this.runningTotal=t.runningTotal,this.total=t.total,this.low=t.low,this.high=t.high,this.xLow=t.xLow,this.xHigh=t.xHigh,this.yLow=t.yLow,this.yHigh=t.yHigh,this.point=t,this.format=((t.options||{}).tooltip||{}).format||e}return Object.defineProperty(t.prototype,"formattedValue",{get:function(){return this.format?this.point.formatValue(this.format):String(this.value)},enumerable:!1,configurable:!0}),t}();e.TooltipPoint=i},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipPopupVue2=e.TooltipPopup=void 0;var a=n(r(2)).h,s=r(7),u=r(3),l=r(180),c=r(1),p={horizontal:"fit",vertical:"fit"},h="k-chart-tooltip",f={name:"KendoTooltipPopup",props:{className:String,popupShown:Boolean,popupAlign:{type:Object,default:function(){}},popupOffset:{type:Object},popupStyles:{type:Object},popupContent:Function},inject:{options:{default:{state:{}}},dispatchOptions:{default:null},observersState:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created:function(){this.chartObserver=new s.InstanceObserver(this,{onMouseLeave:"onChartMouseLeave"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},destroyed:a?void 0:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},unmounted:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=this,r=this,i=a||t,o=c.getDefaultSlots(this),n=this.$props,s=n.popupShown,u=n.popupAlign,f=n.popupOffset,d=n.popupStyles,v=(n.popupContent,n.className),g=[h,v].join(" ").trim();return i(l.Popup,{animate:!1,attrs:this.v3?void 0:{animate:!1,popupAlign:u,offset:f,show:s,collision:p},popupAlign:u,offset:f,show:s,collision:p,class:"k-chart-tooltip-wrapper"},this.v3?function(){return[i("div",{class:g,style:d,onMouseleave:e.onMouseLeave,on:e.v3?void 0:{mouseleave:e.onMouseLeave},ref:function(t){return r.element=t}},[o])]}:[i("div",{class:g,style:d,onMouseleave:e.onMouseLeave,on:e.v3?void 0:{mouseleave:e.onMouseLeave},ref:function(t){return r.element=t}},[o])])},methods:{onChartMouseLeave:function(t){var e=t.event;return!!u.hasParent(e.relatedTarget,this.element)},onMouseLeave:function(t){}}};e.TooltipPopupVue2=f;var d=f;e.TooltipPopup=d},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||i(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.StockChartVue2=e.StockChart=e.SparklineVue2=e.Sparkline=e.ChartVue2=e.Chart=void 0;var n=r(34);Object.defineProperty(e,"Chart",{enumerable:!0,get:function(){return n.Chart}}),Object.defineProperty(e,"ChartVue2",{enumerable:!0,get:function(){return n.ChartVue2}});var a=r(51);Object.defineProperty(e,"Sparkline",{enumerable:!0,get:function(){return a.Sparkline}}),Object.defineProperty(e,"SparklineVue2",{enumerable:!0,get:function(){return a.SparklineVue2}});var s=r(52);Object.defineProperty(e,"StockChart",{enumerable:!0,get:function(){return s.StockChart}}),Object.defineProperty(e,"StockChartVue2",{enumerable:!0,get:function(){return s.StockChartVue2}}),o(r(53),e),o(r(54),e),o(r(176),e),o(r(177),e),o(r(178),e),o(r(179),e)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartVue2=e.Chart=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(9)),l=r(50),c=r(7),p=r(1),h={name:"KendoChart",props:{donutCenterRender:[String,Function,Object],dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},updated:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},mounted:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},methods:{chartInstance:function(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface:function(){return null!==this.baseChart?this.baseChart.surface:null},element:function(){return null!==this.baseChart?this.baseChart.element:null},getTarget:function(){return this},handleBaseChartEvents:function(t,e){this.$emit(t,e)}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=this,r=this,i=s||t,o=p.getDefaultSlots(this),n=this.$props,a=n.donutCenterRender,h=n.dir,f=n.renderAs,d=n.pannable,v=n.zoomable,g=n.seriesColors,y=n.transitions,m=n.paneDefaults,b=n.panes,x=n.seriesDefaults,_=n.axisDefaults,C=a?p.templateRendering.call(this,a,p.getListeners.call(this)):null;return i(u.BaseChart,{dir:h,attrs:this.v3?void 0:{dir:h,renderAs:f,pannable:d,zoomable:v,seriesColors:g,transitions:y,paneDefaults:m,panes:b,seriesDefaults:x,axisDefaults:_,chartConstructor:c.Chart,getTarget:this.getTarget,wrapper:"div",allListeners:p.getListeners.call(this)},renderAs:f,pannable:d,zoomable:v,seriesColors:g,transitions:y,paneDefaults:m,panes:b,seriesDefaults:x,axisDefaults:_,ref:this.v3?function(t){r.baseChartRef=t}:"baseChart",chartConstructor:c.Chart,getTarget:this.getTarget,wrapper:"div",class:p.classNames("k-chart k-widget"),onBasechartevent:this.handleBaseChartEvents,on:this.v3?void 0:{basechartevent:this.handleBaseChartEvents},allListeners:p.getListeners.call(this)},this.v3?function(){return[o,i(l.DonutCenter,{render:C,attrs:e.v3?void 0:{render:C}})]}:[o,i(l.DonutCenter,{render:C,attrs:e.v3?void 0:{render:C}})])}};e.ChartVue2=h;var f=h;e.Chart=f},function(t,e){t.exports=i},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEventsBuilder=void 0;var i=r(37),o=function(){function t(){}return t.create=function(t,e){if("undefined"!=typeof window){var r=window.Hammer;if(!r)return void 0;var o=new r(t,{recognizers:[[r.Tap],[r.Pan],[r.Pinch],[r.Press,{time:0}]]});return new i.DomEvents(o,e)}},t}();e.DomEventsBuilder=o},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomEvents=void 0;var i=function(t){return{x:{location:t.pageX},y:{location:t.pageY}}};function o(t,e){for(var r=0;r<t.length;r++)if(e[t[r]])return!0;return!1}var n=[{end:"panend",move:"panmove",start:"panstart"},{gesturechange:"pinchmove",gestureend:"pinchend",gesturestart:"pinchstart"},{press:"press"},{tap:"tap"}],a=function(){function t(t,e){this.hammerInstance=t,this.eventHandlers={},this.tap=this.tap.bind(this),this.press=this.press.bind(this),this.panstart=this.panstart.bind(this),this.panmove=this.panmove.bind(this),this.panend=this.panend.bind(this),this.pinchstart=this.pinchstart.bind(this),this.pinchmove=this.pinchmove.bind(this),this.pinchend=this.pinchend.bind(this),e&&this.bind(e)}return t.prototype.tap=function(t){this.trigger("tap",t)},t.prototype.press=function(t){this.trigger("press",t)},t.prototype.panstart=function(t){delete this.previous,this.previous=this.trigger("start",t)},t.prototype.panmove=function(t){this.previous=this.trigger("move",t)},t.prototype.panend=function(t){this.trigger("end",t),delete this.previous},t.prototype.pinchstart=function(t){this.trigger("gesturestart",t)},t.prototype.pinchmove=function(t){this.trigger("gesturechange",t)},t.prototype.pinchend=function(t){this.trigger("gestureend",t)},t.prototype.trigger=function(t,e){var r=function(t,e){var r=t.pointers,o=r[0],n=o.pageX,a=o.pageY,s=0;if(r.length>1){var u=r[0],l=r[1];s=Math.sqrt(Math.pow(u.pageX-l.pageX,2)+Math.pow(u.pageY-l.pageY,2))}return{distance:s,event:t.srcEvent,preventDefault:function(){t.preventDefault()},target:t.target,touches:r.map(i),type:t.type,x:{delta:e?n-e.x.location:0,initialDelta:t.deltaX,location:n,startLocation:n-t.deltaX},y:{delta:e?a-e.y.location:0,initialDelta:t.deltaY,location:a,startLocation:a-t.deltaY}}}(e,this.previous);return this.eventHandlers[t]&&this.eventHandlers[t](r),r},t.prototype.bind=function(t){void 0===t&&(t={}),this.unbind(),this.eventHandlers=t;for(var e=0;e<n.length;e++){var r=n[e],i=Object.keys(r);if(o(i,t))for(var a=0;a<i.length;a++){var s=r[i[a]];this.hammerInstance.on(s,this[s])}}},t.prototype.unbind=function(){this.hammerInstance&&this.hammerInstance.off(),this.eventHandlers={}},t.prototype.destroy=function(){this.hammerInstance&&(this.hammerInstance.destroy(),delete this.hammerInstance),delete this.eventHandlers},t.prototype.toggleDrag=function(t){this.toggle("pan",t)},t.prototype.toggleZoom=function(t){this.toggle("pinch",t)},t.prototype.toggle=function(t,e){this.hammerInstance&&this.hammerInstance.get(t).set({enable:e})},t}();e.DomEvents=a},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.create=void 0;var i=r(11),o=r(12),n=r(13),a=r(14),s=r(15),u=r(16),l=r(39),c=r(17),p=r(18),h=r(19),f=r(20),d=r(21),v=r(22),g=r(23),y=r(24),m=r(25),b=r(26),x=r(27),_=r(28),C=r(29),w=r(30),S={axisLabelClick:i.AxisLabelClickEvent,drag:o.DragEvent,dragEnd:n.DragEndEvent,dragStart:a.DragStartEvent,legendItemHover:s.LegendItemHoverEvent,legendItemClick:u.LegendItemClickEvent,legendItemLeave:l.LegendItemLeaveEvent,navigatorFilter:c.NavigatorFilterEvent,noteClick:p.NoteClickEvent,noteHover:h.NoteHoverEvent,plotAreaClick:f.PlotAreaClickEvent,plotAreaHover:d.PlotAreaHoverEvent,render:v.RenderEvent,select:g.SelectEvent,selectEnd:y.SelectEndEvent,selectStart:m.SelectStartEvent,seriesClick:b.SeriesClickEvent,seriesHover:x.SeriesHoverEvent,zoom:_.ZoomEvent,zoomEnd:C.ZoomEndEvent,zoomStart:w.ZoomStartEvent};e.create=function(t,e,r){if(S[t])return new S[t](e,r)}},function(t,e,r){"use strict";var i,o=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),e.LegendItemLeaveEvent=void 0;var n=function(t){function e(e,r){var i=t.call(this,r)||this;return i.series=e.series,i.seriesIndex=e.seriesIndex,i.pointIndex=e.pointIndex,i.text=e.text,i}return o(e,t),e.prototype.preventDefault=function(){t.prototype.preventDefault.call(this)},e}(r(6).PreventableEvent);e.LegendItemLeaveEvent=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toDomEvent=e.DomEvent=void 0;var i=function(t,e){this.sender=t,this.event=e};e.DomEvent=i,e.toDomEvent=function(t,e){return new i(t,e)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loadTheme=void 0;var i=r(7),o=function(t){return t.fontWeight+" "+t.fontSize+" "+t.fontFamily},n=function(t){return window.getComputedStyle(t).backgroundColor},a='\n <div class="k-var--accent"></div>\n <div class="k-var--base"></div>\n <div class="k-var--background"></div>\n\n <div class="k-var--normal-background"></div>\n <div class="k-var--normal-text-color"></div>\n <div class="k-var--hover-background"></div>\n <div class="k-var--hover-text-color"></div>\n <div class="k-var--selected-background"></div>\n <div class="k-var--selected-text-color"></div>\n <div class="k-var--chart-error-bars-background"></div>\n <div class="k-var--chart-notes-background"></div>\n <div class="k-var--chart-notes-border"></div>\n <div class="k-var--chart-notes-lines"></div>\n <div class="k-var--chart-crosshair-background"></div>\n\n <div class="k-var--chart-inactive"></div>\n <div class="k-var--chart-major-lines"></div>\n <div class="k-var--chart-minor-lines"></div>\n <div class="k-var--chart-area-opacity"></div>\n <div class="k-var--chart-area-inactive-opacity"></div>\n <div class="k-var--chart-line-inactive-opacity"></div>\n\n <div class="k-widget k-chart">\n <div class="k-var--chart-font"></div>\n <div class="k-var--chart-title-font"></div>\n <div class="k-var--chart-pane-title-font"></div>\n <div class="k-var--chart-label-font"></div>\n </div>\n\n <div class="k-var--series-unset"></div>\n <div class="k-var--series">\n '+function(){for(var t='\n <div class="k-var--series-a"></div>\n <div class="k-var--series-b"></div>\n <div class="k-var--series-c"></div>\n <div class="k-var--series-d"></div>\n <div class="k-var--series-e"></div>\n <div class="k-var--series-f"></div>\n',e=0;e<30;e++)t+='\n <div class="k-var--series-'+(e+1)+'"></div>';return t}()+"\n </div>\n",s=function(){function t(t){this.store=t}return t.prototype.setStyle=function(t,e){this.store.dispatch({type:"set",payload:{field:t,value:e}})},t.prototype.setColors=function(){this.mapColor("axisDefaults.crosshair.color","chart-crosshair-background"),this.mapColor("axisDefaults.labels.color","normal-text-color"),this.mapColor("axisDefaults.line.color","chart-major-lines"),this.mapColor("axisDefaults.majorGridLines.color","chart-major-lines"),this.mapColor("axisDefaults.minorGridLines.color","chart-minor-lines"),this.mapColor("axisDefaults.notes.icon.background","chart-notes-background"),this.mapColor("axisDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("axisDefaults.notes.line.color","chart-notes-lines"),this.mapColor("axisDefaults.title.color","normal-text-color"),this.mapColor("chartArea.background","background"),this.mapColor("legend.inactiveItems.labels.color","chart-inactive"),this.mapColor("legend.inactiveItems.markers.color","chart-inactive"),this.mapColor("legend.labels.color","normal-text-color"),this.mapColor("seriesDefaults.boxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.boxPlot.mean.color","base"),this.mapColor("seriesDefaults.boxPlot.median.color","base"),this.mapColor("seriesDefaults.boxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.bullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.candlestick.downColor","normal-text-color"),this.mapColor("seriesDefaults.candlestick.line.color","normal-text-color"),this.mapColor("seriesDefaults.errorBars.color","chart-error-bars-background"),this.mapColor("seriesDefaults.horizontalWaterfall.line.color","chart-major-lines"),this.mapColor("seriesDefaults.icon.border.color","chart-major-lines"),this.mapColor("seriesDefaults.labels.background","background"),this.mapColor("seriesDefaults.labels.color","normal-text-color"),this.mapColor("seriesDefaults.notes.icon.background","chart-notes-background"),this.mapColor("seriesDefaults.notes.icon.border.color","chart-notes-border"),this.mapColor("seriesDefaults.notes.line.color","chart-notes-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.downColor","chart-major-lines"),this.mapColor("seriesDefaults.verticalBoxPlot.mean.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.median.color","base"),this.mapColor("seriesDefaults.verticalBoxPlot.whiskers.color","accent"),this.mapColor("seriesDefaults.verticalBullet.target.color","normal-text-color"),this.mapColor("seriesDefaults.waterfall.line.color","chart-major-lines"),this.mapColor("title.color","normal-text-color");var t=parseFloat(this.queryStyle("chart-area-opacity").opacity);isNaN(t)||(this.setStyle("seriesDefaults.area.opacity",t),this.setStyle("seriesDefaults.radarArea.opacity",t),this.setStyle("seriesDefaults.verticalArea.opacity",t),this.setStyle("seriesDefaults.labels.opacity",t)),this.setInactiveOpacity(["area","verticalArea"],"chart-area-inactive-opacity"),this.setInactiveOpacity(["line","verticalLine"],"chart-line-inactive-opacity")},t.prototype.setFonts=function(){var t=o(this.queryStyle("chart-font")),e=o(this.queryStyle("chart-title-font")),r=o(this.queryStyle("chart-pane-title-font")),i=o(this.queryStyle("chart-label-font"));this.setStyle("axisDefaults.labels.font",i),this.setStyle("axisDefaults.notes.label.font",t),this.setStyle("axisDefaults.title.font",t),this.setStyle("legend.labels.font",t),this.setStyle("seriesDefaults.labels.font",i),this.setStyle("seriesDefaults.notes.label.font",t),this.setStyle("title.font",e),this.setStyle("paneDefaults.title.font",r)},t.prototype.setSeriesColors=function(){var t=this.element,e=[].slice.call(t.querySelectorAll(".k-var--series div")),r=n(t.querySelector(".k-var--series-unset")),i=e.reduce((function(t,e){var i=function(t){var e=t.match(/series-([a-z])$/);if(null!==e)return e[1].toLowerCase().charCodeAt(0)-"a".charCodeAt(0);var r=t.split("--series-")[1];return parseInt(r,10)-1}(e.className),o=n(e);return o!==r&&(t[i]=o),t}),[]);this.setStyle("seriesColors",i)},t.prototype.mapColor=function(t,e){this.setStyle(t,this.queryStyle(e).backgroundColor)},t.prototype.queryStyle=function(t){var e=this.element;return window.getComputedStyle(e.querySelector(".k-var--"+t))},t.prototype.setInactiveOpacity=function(t,e){var r=this,i=parseFloat(this.queryStyle(e).opacity);!isNaN(i)&&i<1&&t.forEach((function(t){return r.setStyle("seriesDefaults."+t+".highlight.inactiveOpacity",i)}))},t}();e.loadTheme=function(t,e){var r=new s(t);if("undefined"!=typeof document){var o=r.element=document.createElement("div");o.style.display="none",o.innerHTML=a,document.body.appendChild(o);try{t.dispatch({type:"push",payload:i.chartBaseTheme()}),r.setColors(),r.setFonts(),r.setSeriesColors()}finally{document.body.removeChild(r.element),delete r.element,e()}}else t.dispatch({type:"push",payload:i.chartBaseTheme()})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.THROTTLE_MS=void 0;var i=r(1);e.THROTTLE_MS=1e3/60;e.default=function(t){var r,o,n=[],a=function(a){r=t(r,a),i.canUseDOM&&(window.clearTimeout(o),o=window.setTimeout((function(){return n.forEach((function(t){return t()}))}),e.THROTTLE_MS))};return a({}),{getState:function(){return r},dispatch:a,subscribe:function(t){return n.push(t),function(){return n=n.filter((function(e){return e!==t}))}}}}},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=function(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var i=Array(t),o=0;for(e=0;e<r;e++)for(var n=arguments[e],a=0,s=n.length;a<s;a++,o++)i[o]=n[a];return i};Object.defineProperty(e,"__esModule",{value:!0}),e.observersReducer=e.themeReducer=e.optionsReducer=void 0;e.optionsReducer=function(t,e){return e.chartCollectionIdxKey?n.collectionConfigurationItem(t,e):e.chartKey?n.configurationItem(t,e):{}};e.themeReducer=function(t,e){if(!e.type)return{};switch(e.type){case"set":return n.themeItem(t,e);case"push":return Object.assign(t,e.payload);default:return t}};e.observersReducer=function(t,e){if(!e.type)return[];switch(e.type){case"add":return o(t,[e.payload]);case"remove":return t.filter((function(t){return t!==e.payload}));default:return t}};var n={configurationItem:function(t,e){var r,o;return t[e.chartKey]&&Object.keys(t[e.chartKey]).length?Object.assign(t,((r={})[e.chartKey]=i(i({},t[e.chartKey]),e.payload),r)):Object.assign(t,((o={})[e.chartKey]=e.payload,o))},collectionConfigurationItem:function(t,e){var r,i,o,n=!1,a=e.chartCollectionIdxKey.split("_"),s=a[0],u=a[1],l=(e.parentKey?t[e.parentKey]&&t[e.parentKey][s]||[]:t[s]).map((function(t,r){return parseInt(u,10)===r||e.payload&&e.payload.uid===t.uid?(n=!0,e.payload):t}));if(!1!==n||e.uid||l.splice(parseInt(u,10),0,e.payload),e.uid){var c=l.findIndex((function(t){return t.uid===e.uid}));c>-1&&l.splice(c,1)}return e.parentKey?Object.assign(t,((r={})[e.parentKey]=((i={})[s]=l,i),r)):Object.assign(t,((o={})[s]=l,o))},themeItem:function(t,e){for(var r={},i=Object.assign(r,t),o=e.payload,n=o.field,a=o.value,s=n.split("."),u=s.shift();s.length>0;)r=r[u]=r[u]||{},u=s.shift();return r[u]=a,i}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(7),o=i.DateCategoryAxis.prototype.options.labels.dateFormats,n=i.DateValueAxis.prototype.options.labels.dateFormats,a={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(o,a),Object.assign(n,a)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.SeriesTooltipVue2=e.SeriesTooltip=void 0;var a=n(r(2)).h,s=r(1),u=r(7),l=r(31),c=r(46),p=r(32),h={name:"KendoSeriesTooltip",data:function(){return{popupShown:!1,popupAlign:void 0,popupOffset:void 0,popupContext:{},popupStyles:void 0,className:void 0,shared:void 0}},inject:{optionsState:{default:{}},observersState:{default:null},dispatchObservers:{default:null}},mounted:function(){this.chartObserver=new u.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},destroyed:a?void 0:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},unmounted:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e,r=this,i=a||t,o=this.popupShown?function(){var t=this.findRenderFunction();if(this.shared){var e=i(c.SharedTooltipContent,{categoryText:this.popupContext.categoryText,attrs:this.v3?void 0:{categoryText:this.popupContext.categoryText,colorMarker:this.popupContext.colorMarker,colspan:this.popupContext.colspan,nameColumn:this.popupContext.nameColumn,points:this.popupContext.points},colorMarker:this.popupContext.colorMarker,colspan:this.popupContext.colspan,nameColumn:this.popupContext.nameColumn,points:this.popupContext.points});return s.getTemplate.call(this,{h:i,template:t,defaultRendering:e,additionalProps:Object.assign({},this.popupContext)})}var r=this.popupContext.point,o=this.findRenderFunctionByIndex(r.series.index),n=i("span",{domProps:{innerHTML:this.popupContext.point.formattedValue},innerHTML:this.popupContext.point.formattedValue});return null!==o?s.getTemplate.call(this,{h:i,template:o,defaultRendering:n,additionalProps:Object.assign({},this.popupContext)}):null!==t?s.getTemplate.call(this,{h:i,template:t,defaultRendering:n,additionalProps:Object.assign({},this.popupContext)}):n}:Function.prototype,n=s.classNames(((e={})["k-chart-shared-tooltip"]=this.shared,e["k-chart-tooltip-inverse"]=!!this.className,e));return i(p.TooltipPopup,{popupShown:this.popupShown,attrs:this.v3?void 0:{popupShown:this.popupShown,popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:n},popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:n},this.v3?function(){return[o.call(r)]}:[o.call(r)])},methods:{onShowTooltip:function(t){var e,r=t.anchor,i=t.style,o=t.shared,n=t.className;t.crosshair||(e=o?this.createSharedTooltipContext(t):this.createTooltipContext(t),this.popupShown=!0,this.popupAlign=r.align,this.popupOffset=r.point,this.popupContext=e,this.popupStyles=i,this.className=n,this.shared=o)},onHideTooltip:function(){this.popupShown=!1,this.popupStyles={},this.className=void 0},createSharedTooltipContext:function(t){var e=t.points,r=t.categoryText,i=e.filter((function(t){return void 0!==t.series.name})).length>0,o=t.series.length>1,n=1;return i&&n++,o&&n++,{categoryText:r,colorMarker:o,colspan:n,nameColumn:i,points:t.points.map((function(e){return new l.TooltipPoint(e,t.format)}))}},createTooltipContext:function(t){var e=t.point,r=t.format;return{point:new l.TooltipPoint(e,r)}},findRenderFunctionByIndex:function(t){var e=this.optionsState.series;return void 0!==e&&Array.isArray(e)&&void 0!==e[t]&&e[t].hasOwnProperty("tooltip")&&e[t].tooltip.hasOwnProperty("render")?e[t].tooltip.render:null},findRenderFunction:function(){var t=this.optionsState.tooltip;return void 0!==t&&t.hasOwnProperty("render")?t.render:null}}};e.SeriesTooltipVue2=h;var f=h;e.SeriesTooltip=f},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.SharedTooltipContentVue2=e.SharedTooltipContent=void 0;var a=n(r(2)).h,s={name:"KendoSharedTooltipPopup",props:{categoryText:String,colorMarker:{type:Boolean,default:void 0},colspan:Number,nameColumn:{type:Boolean,default:void 0},points:Array},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=this.$props,i=r.categoryText,o=r.colorMarker,n=r.colspan,s=r.nameColumn,u=r.points;return e("table",[e("thead",[e("tr",[e("th",{colSpan:n,attrs:this.v3?void 0:{colSpan:n}},[i])])]),e("tbody",[u.map(function(t,r){var i=e("span",{domProps:{innerHTML:t.formattedValue},innerHTML:t.formattedValue});return e("tr",{key:r},[o&&e("td",[e("span",{class:"k-chart-shared-tooltip-marker",style:{backgroundColor:t.series.color}})]),s&&e("td",[t.series.name]),i])}.bind(this),this)])])}};e.SharedTooltipContentVue2=s;var u=s;e.SharedTooltipContent=u},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.CrosshairContainerVue2=e.CrosshairContainer=void 0;var a=n(r(2)).h,s=r(48),u=["categoryAxis","valueAxis","xAxis","yAxis"];function l(t,e){var r=[];if(t[e])for(var i=[].concat(t[e]),o=0;o<i.length;o++){var n=(i[o].crosshair||{}).tooltip;n&&n.visible&&r.push({index:o,name:e})}return r}var c={name:"KendoCrosshairContainer",props:{optionsState:Object},computed:{tooltips:function(){return function(t){for(var e={},r=0;r<u.length;r++)for(var i=l(t,u[r]),o=0;o<i.length;o++){var n=i[o];e[n.name+n.index]=n}return e}(this.optionsState)}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=Object.keys(this.tooltips).map((function(t){return e(s.CrosshairTooltip,{index:this.tooltips[t].index,attrs:this.v3?void 0:{index:this.tooltips[t].index,name:this.tooltips[t].name},name:this.tooltips[t].name,key:t})}),this);return e("div",[r])}};e.CrosshairContainerVue2=c;var p=c;e.CrosshairContainer=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.CrosshairTooltipVue2=e.CrosshairTooltip=void 0;var a=n(r(2)).h,s=r(1),u=r(7),l=r(32),c={name:"KendoCrosshairTooltip",props:{index:Number,name:String},data:function(){return{popupShown:!1,popupAlign:void 0,popupOffset:void 0,popupContent:void 0,popupStyles:void 0,className:void 0}},inject:{optionsState:{default:{}},dispatchOptions:{default:null},observersStore:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created:function(){this.chartObserver=new u.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.dispatchObservers({type:"add",payload:this.chartObserver})},destroyed:a?void 0:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},unmounted:function(){this.dispatchObservers({type:"remove",payload:this.chartObserver})},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e,r=a||t,i=(s.getDefaultSlots(this),this.popupShown?this.popupContent:Function.prototype),o=s.classNames(((e={})["k-chart-crosshair-tooltip"]=!0,e["k-chart-tooltip-inverse"]=!!this.className,e));return r(l.TooltipPopup,{popupShown:this.popupShown,attrs:this.v3?void 0:{popupShown:this.popupShown,popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:o},popupAlign:this.popupAlign,popupOffset:this.popupOffset,popupStyles:this.popupStyles,className:o},this.v3?function(){return[i]}:[i])},methods:{onShowTooltip:function(t){var e=t.anchor,r=t.style,i=t.className,o=t.crosshair,n=t.axisName,a=t.axisIndex,s=t.value,u=this.$props,l=u.name,c=u.index;o&&n===l&&a===c&&(this.popupShown=!0,this.popupAlign=e.align,this.popupOffset=e.point,this.popupContent=s,this.popupStyles=r,this.className=i)},onHideTooltip:function(){this.popupShown=!1,this.popupStyles={},this.className=void 0}}};e.CrosshairTooltipVue2=c;var p=c;e.CrosshairTooltip=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.packageMetadata=void 0,e.packageMetadata={name:"@progress/kendo-vue-charts",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1653913790,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"}},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.DonutCenterVue2=e.DonutCenter=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(7)),l=r(1),c={name:"KendoDonutCenter",props:{render:[String,Function,Object]},data:function(){return{donutCenterStyles:null}},inject:{optionsState:{default:{}},dispatchOptions:{default:null},dispatchObservers:{default:null},childrenObserver:{default:null}},created:function(){this.dispatchObservers({type:"add",payload:new u.InstanceObserver(this,{render:"onRender"})})},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=this.$props.render,i=e("span"),o=l.getTemplate.call(this,{h:e,template:r,defaultRendering:null});return r&&this.donutCenterStyles&&(i=e("div",{class:"k-chart-donut-center",style:this.donutCenterStyles},[o])),i},methods:{onRender:function(t){var e=this.optionsState.series,r=Array.isArray(e)?e[0]:null,i=t.sender._plotArea.charts;if(r&&"donut"===r.type&&0!==i[0].points.length){var o=i[0].points[0].sector,n=o.innerRadius,a=o.center.y-n,s=o.center.x-n,u=2*n;this.donutCenterStyles={height:u+"px",left:s+"px",top:a+"px",width:u+"px"}}}}};e.DonutCenterVue2=c;var p=c;e.DonutCenter=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.SparklineVue2=e.Sparkline=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(9)),l=r(7),c=r(1),p={name:"KendoSparkline",props:{dataItems:{type:Array,default:function(){}},type:String,dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},updated:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},mounted:function(){this.baseChart=this.v3?this.baseChartRef:this.$refs.baseChart},methods:{chartInstance:function(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface:function(){return null!==this.baseChart?this.baseChart.surface:null},element:function(){return null!==this.baseChart?this.baseChart.element:null},getTarget:function(){return this},deriveOptionsFromParent:function(t){var e=this.$props,r=e.type,i=e.dataItems,o=Object.assign({},t,{type:r,data:i});return l.Sparkline.normalizeOptions(o)},handleBaseChartEvents:function(t,e){this.$emit(t,e)}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=this,r=s||t,i=c.getDefaultSlots(this),o=this.$props,n=o.dataItems,a=o.dir,p=o.renderAs,h=o.pannable,f=o.zoomable,d=o.seriesColors,v=o.transitions,g=o.paneDefaults,y=o.panes,m=o.seriesDefaults,b=o.axisDefaults;return r(u.BaseChart,{dataItems:n,attrs:this.v3?void 0:{dataItems:n,dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,chartConstructor:l.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent},dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,ref:this.v3?function(t){e.baseChartRef=t}:"baseChart",chartConstructor:l.Sparkline,getTarget:this.getTarget,wrapper:"span",deriveOptionsFromParent:this.deriveOptionsFromParent,class:c.classNames("k-sparkline k-widget"),onBasechartevent:this.handleBaseChartEvents,on:this.v3?void 0:{basechartevent:this.handleBaseChartEvents}},this.v3?function(){return[i]}:[i])}};e.SparklineVue2=p;var h=p;e.Sparkline=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.StockChartVue2=e.StockChart=void 0;var a=n(r(2)),s=a.h,u=(a.ref,r(9)),l=r(7),c=r(1),p={autoBindElements:!0,liveDrag:!1,partialRedraw:!0},h={name:"KendoStockChart",props:{partialRedraw:{type:Boolean,default:void 0},dir:String,renderAs:{type:String,default:void 0,validator:function(t){return["svg","canvas"].includes(t)}},pannable:{type:[Boolean,Object],default:function(){}},zoomable:{type:[Boolean,Object],default:function(){}},seriesColors:{type:Array,default:function(){}},transitions:{type:Boolean,default:!0},paneDefaults:{type:Object,default:function(){}},panes:{type:Array,default:function(){}},seriesDefaults:{type:Object,default:function(){}},axisDefaults:{type:Object,default:function(){}}},methods:{chartInstance:function(){return null!==this.baseChart?this.baseChart.chartInstance:null},surface:function(){return null!==this.baseChart?this.baseChart.surface:null},element:function(){return null!==this.baseChart?this.baseChart.element:null},getTarget:function(){return this},deriveOptionsFromParent:function(t){var e=Object.assign({},t.navigator||{},p);return Object.assign({},t,{navigator:e})},onRefresh:function(t,e,r){this.$props.partialRedraw?(r.applyOptions(t),r.bindCategories(),r.navigator.redrawSlaves()):r.setOptions(t,e)},handleBaseChartEvents:function(t,e){this.$emit(t,e)}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=this,r=s||t,i=c.getDefaultSlots(this),o=this.$props,n=o.partialRedraw,a=o.dir,p=o.renderAs,h=o.pannable,f=o.zoomable,d=o.seriesColors,v=o.transitions,g=o.paneDefaults,y=o.panes,m=o.seriesDefaults,b=o.axisDefaults;return r(u.BaseChart,{partialRedraw:n,attrs:this.v3?void 0:{partialRedraw:n,dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,chartConstructor:l.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent},dir:a,renderAs:p,pannable:h,zoomable:f,seriesColors:d,transitions:v,paneDefaults:g,panes:y,seriesDefaults:m,axisDefaults:b,ref:this.v3?function(t){e.baseChartRef=t}:"baseChart",chartConstructor:l.StockChart,getTarget:this.getTarget,wrapper:"div",deriveOptionsFromParent:this.deriveOptionsFromParent,onRefresh:this.onRefresh,on:this.v3?void 0:{refresh:this.onRefresh,basechartevent:this.handleBaseChartEvents},class:c.classNames("k-stockchart k-widget"),onBasechartevent:this.handleBaseChartEvents},this.v3?function(){return[i]}:[i])}};e.StockChartVue2=h;var f=h;e.StockChart=f},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TooltipPoint=void 0;var i=r(31);Object.defineProperty(e,"TooltipPoint",{enumerable:!0,get:function(){return i.TooltipPoint}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||i(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartZoomableVue2=e.ChartZoomable=e.ChartYAxisItemVue2=e.ChartYAxisItem=e.ChartYAxisVue2=e.ChartYAxis=e.ChartXAxisItemVue2=e.ChartXAxisItem=e.ChartXAxisVue2=e.ChartXAxis=e.ChartValueAxisItemVue2=e.ChartValueAxisItem=e.ChartValueAxisVue2=e.ChartValueAxis=e.ChartTooltipVue2=e.ChartTooltip=e.ChartTitleVue2=e.ChartTitle=e.ChartSeriesItemVue2=e.ChartSeriesItem=e.ChartSeriesDefaultsVue2=e.ChartSeriesDefaults=e.ChartSeriesVue2=e.ChartSeries=e.ChartPlotAreaVue2=e.ChartPlotArea=e.ChartPanesVue2=e.ChartPanes=e.ChartPaneDefaultsVue2=e.ChartPaneDefaults=e.ChartPaneVue2=e.ChartPane=e.ChartNavigatorVue2=e.ChartNavigator=e.ChartLegendVue2=e.ChartLegend=e.ChartCategoryAxisItemVue2=e.ChartCategoryAxisItem=e.ChartCategoryAxisVue2=e.ChartCategoryAxis=e.ChartAxisDefaultsVue2=e.ChartAxisDefaults=e.ChartAreaVue2=e.ChartArea=void 0;var n=r(55);Object.defineProperty(e,"ChartArea",{enumerable:!0,get:function(){return n.ChartArea}}),Object.defineProperty(e,"ChartAreaVue2",{enumerable:!0,get:function(){return n.ChartAreaVue2}});var a=r(56);Object.defineProperty(e,"ChartAxisDefaults",{enumerable:!0,get:function(){return a.ChartAxisDefaults}}),Object.defineProperty(e,"ChartAxisDefaultsVue2",{enumerable:!0,get:function(){return a.ChartAxisDefaultsVue2}});var s=r(57);Object.defineProperty(e,"ChartCategoryAxis",{enumerable:!0,get:function(){return s.ChartCategoryAxis}}),Object.defineProperty(e,"ChartCategoryAxisVue2",{enumerable:!0,get:function(){return s.ChartCategoryAxisVue2}});var u=r(58);Object.defineProperty(e,"ChartCategoryAxisItem",{enumerable:!0,get:function(){return u.ChartCategoryAxisItem}}),Object.defineProperty(e,"ChartCategoryAxisItemVue2",{enumerable:!0,get:function(){return u.ChartCategoryAxisItemVue2}});var l=r(59);Object.defineProperty(e,"ChartLegend",{enumerable:!0,get:function(){return l.ChartLegend}}),Object.defineProperty(e,"ChartLegendVue2",{enumerable:!0,get:function(){return l.ChartLegendVue2}});var c=r(60);Object.defineProperty(e,"ChartNavigator",{enumerable:!0,get:function(){return c.ChartNavigator}}),Object.defineProperty(e,"ChartNavigatorVue2",{enumerable:!0,get:function(){return c.ChartNavigatorVue2}});var p=r(61);Object.defineProperty(e,"ChartPane",{enumerable:!0,get:function(){return p.ChartPane}}),Object.defineProperty(e,"ChartPaneVue2",{enumerable:!0,get:function(){return p.ChartPaneVue2}});var h=r(62);Object.defineProperty(e,"ChartPaneDefaults",{enumerable:!0,get:function(){return h.ChartPaneDefaults}}),Object.defineProperty(e,"ChartPaneDefaultsVue2",{enumerable:!0,get:function(){return h.ChartPaneDefaultsVue2}});var f=r(63);Object.defineProperty(e,"ChartPanes",{enumerable:!0,get:function(){return f.ChartPanes}}),Object.defineProperty(e,"ChartPanesVue2",{enumerable:!0,get:function(){return f.ChartPanesVue2}});var d=r(64);Object.defineProperty(e,"ChartPlotArea",{enumerable:!0,get:function(){return d.ChartPlotArea}}),Object.defineProperty(e,"ChartPlotAreaVue2",{enumerable:!0,get:function(){return d.ChartPlotAreaVue2}});var v=r(65);Object.defineProperty(e,"ChartSeries",{enumerable:!0,get:function(){return v.ChartSeries}}),Object.defineProperty(e,"ChartSeriesVue2",{enumerable:!0,get:function(){return v.ChartSeriesVue2}});var g=r(66);Object.defineProperty(e,"ChartSeriesDefaults",{enumerable:!0,get:function(){return g.ChartSeriesDefaults}}),Object.defineProperty(e,"ChartSeriesDefaultsVue2",{enumerable:!0,get:function(){return g.ChartSeriesDefaultsVue2}});var y=r(67);Object.defineProperty(e,"ChartSeriesItem",{enumerable:!0,get:function(){return y.ChartSeriesItem}}),Object.defineProperty(e,"ChartSeriesItemVue2",{enumerable:!0,get:function(){return y.ChartSeriesItemVue2}});var m=r(68);Object.defineProperty(e,"ChartTitle",{enumerable:!0,get:function(){return m.ChartTitle}}),Object.defineProperty(e,"ChartTitleVue2",{enumerable:!0,get:function(){return m.ChartTitleVue2}});var b=r(69);Object.defineProperty(e,"ChartTooltip",{enumerable:!0,get:function(){return b.ChartTooltip}}),Object.defineProperty(e,"ChartTooltipVue2",{enumerable:!0,get:function(){return b.ChartTooltipVue2}});var x=r(70);Object.defineProperty(e,"ChartValueAxis",{enumerable:!0,get:function(){return x.ChartValueAxis}}),Object.defineProperty(e,"ChartValueAxisVue2",{enumerable:!0,get:function(){return x.ChartValueAxisVue2}});var _=r(71);Object.defineProperty(e,"ChartValueAxisItem",{enumerable:!0,get:function(){return _.ChartValueAxisItem}}),Object.defineProperty(e,"ChartValueAxisItemVue2",{enumerable:!0,get:function(){return _.ChartValueAxisItemVue2}});var C=r(72);Object.defineProperty(e,"ChartXAxis",{enumerable:!0,get:function(){return C.ChartXAxis}}),Object.defineProperty(e,"ChartXAxisVue2",{enumerable:!0,get:function(){return C.ChartXAxisVue2}});var w=r(73);Object.defineProperty(e,"ChartXAxisItem",{enumerable:!0,get:function(){return w.ChartXAxisItem}}),Object.defineProperty(e,"ChartXAxisItemVue2",{enumerable:!0,get:function(){return w.ChartXAxisItemVue2}});var S=r(74);Object.defineProperty(e,"ChartYAxis",{enumerable:!0,get:function(){return S.ChartYAxis}}),Object.defineProperty(e,"ChartYAxisVue2",{enumerable:!0,get:function(){return S.ChartYAxisVue2}});var O=r(75);Object.defineProperty(e,"ChartYAxisItem",{enumerable:!0,get:function(){return O.ChartYAxisItem}}),Object.defineProperty(e,"ChartYAxisItemVue2",{enumerable:!0,get:function(){return O.ChartYAxisItemVue2}});var P=r(76);Object.defineProperty(e,"ChartZoomable",{enumerable:!0,get:function(){return P.ChartZoomable}}),Object.defineProperty(e,"ChartZoomableVue2",{enumerable:!0,get:function(){return P.ChartZoomableVue2}}),o(r(77),e),o(r(82),e),o(r(92),e),o(r(94),e),o(r(96),e),o(r(100),e),o(r(108),e),o(r(121),e),o(r(129),e),o(r(137),e),o(r(145),e)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAreaVue2=e.ChartArea=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartArea",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},opacity:{type:Number,default:void 0},width:{type:Number,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"chartArea"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"chartArea"}},[r])}};e.ChartAreaVue2=c;var p=c;e.ChartArea=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsVue2=e.ChartAxisDefaults=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaults",props:{background:{type:String,default:void 0},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},narrowRange:{type:Boolean,default:void 0},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:void 0},startAngle:{type:Number,default:void 0},visible:{type:Boolean,default:void 0},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"axisDefaults"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"axisDefaults"}},[r])}};e.ChartAxisDefaultsVue2=c;var p=c;e.ChartAxisDefaults=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisVue2=e.ChartCategoryAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartCategoryAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"categoryAxis",attrs:this.v3?void 0:{chartKey:"categoryAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartCategoryAxisVue2=l;var c=l;e.ChartCategoryAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisItemVue2=e.ChartCategoryAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisItem",props:{autoBaseUnitSteps:{type:Object,default:function(){}},axisCrossingValue:{type:[Object,Array,Date,Number],default:function(){}},background:{type:String,default:function(){}},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},baseUnitStep:{type:[Number,String],default:function(){}},categories:{type:[Array,Object],default:function(){}},color:{type:String,default:function(){}},justified:{type:Boolean,default:function(){}},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},max:{type:[Number,Object,String,Date],default:function(){}},maxDateGroups:{type:Number,default:function(){}},maxDivisions:{type:Number,default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},name:{type:String,default:void 0},rangeLabels:{type:Object,default:function(){}},pane:{type:String,default:function(){}},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},roundToBaseUnit:{type:Boolean,default:function(){}},startAngle:{type:Number,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["category","date"].includes(t)}},visible:{type:Boolean,default:function(){}},weekStartDay:{type:Number,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},select:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartCategoryAxisItemVue2=c;var p=c;e.ChartCategoryAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendVue2=e.ChartLegend=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegend",props:{align:{type:String,default:function(){},validator:function(t){return["start","center","end"].includes(t)}},background:{type:String,default:void 0},border:{type:Object,default:function(){}},height:{type:Number,default:void 0},labels:{type:Object,default:function(){}},margin:{type:[Object,Number],default:function(){}},offsetX:{type:Number,default:void 0},offsetY:{type:Number,default:void 0},orientation:{type:String,default:function(){},validator:function(t){return["vertical","horizontal"].includes(t)}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right","custom"].includes(t)}},reverse:{type:Boolean,default:void 0},visible:{type:Boolean,default:!0},width:{type:Number,default:void 0},inactiveItems:{type:Object,default:function(){}},item:{type:Object,default:function(){}},spacing:{type:Number,default:void 0},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"legend"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"legend"}},[r])}};e.ChartLegendVue2=c;var p=c;e.ChartLegend=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorVue2=e.ChartNavigator=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigator",props:{visible:{type:Boolean,default:!0},categoryAxis:{type:Object,default:function(){}},hint:{type:Object,default:function(){}},pane:{type:Object,default:function(){}},select:{type:Object,default:function(){}},series:{type:[Object,Array],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"navigator"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"navigator"}},[r])}};e.ChartNavigatorVue2=c;var p=c;e.ChartNavigator=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneVue2=e.ChartPane=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPane",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},clip:{type:Boolean,default:void 0},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},name:{type:String,default:void 0},padding:{type:[Object,Number],default:function(){}},title:{type:[Object,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartPaneVue2=c;var p=c;e.ChartPane=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneDefaultsVue2=e.ChartPaneDefaults=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPaneDefaults",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},clip:{type:Boolean,default:void 0},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},name:{type:String,default:void 0},padding:{type:[Object,Number],default:function(){}},title:{type:[Object,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"paneDefaults"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"paneDefaults"}},[r])}};e.ChartPaneDefaultsVue2=c;var p=c;e.ChartPaneDefaults=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPanesVue2=e.ChartPanes=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartPanes",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"panes",attrs:this.v3?void 0:{chartKey:"panes"}},this.v3?function(){return[r]}:[r])}};e.ChartPanesVue2=l;var c=l;e.ChartPanes=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPlotAreaVue2=e.ChartPlotArea=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPlotArea",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},margin:{type:[Object,Number],default:function(){}},opacity:{type:Number,default:void 0},padding:{type:[Object,Number],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"plotArea"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"plotArea"}},[r])}};e.ChartPlotAreaVue2=c;var p=c;e.ChartPlotArea=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesVue2=e.ChartSeries=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartSeries",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"series",attrs:this.v3?void 0:{chartKey:"series"}},this.v3?function(){return[r]}:[r])}};e.ChartSeriesVue2=l;var c=l;e.ChartSeries=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsVue2=e.ChartSeriesDefaults=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaults",props:{border:{type:Object,default:function(){}},gap:Number,overlay:{type:Object,default:function(){}},spacing:Number,stack:{type:[Boolean,String,Object],default:function(){}},type:{type:String,default:function(){},validator:function(t){return["area","bar","boxPlot","bubble","bullet","candlestick","column","donut","funnel","horizontalWaterfall","line","ohlc","pie","polarArea","polarLine","polarScatter","radarArea","radarColumn","radarLine","rangeArea","rangeBar","rangeColumn","scatter","scatterLine","verticalArea","verticalBoxPlot","verticalBullet","verticalLine","verticalRangeArea","waterfall"].includes(t)}},visual:{type:Function,default:void 0},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"seriesDefaults"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"seriesDefaults"}},[r])}};e.ChartSeriesDefaultsVue2=c;var p=c;e.ChartSeriesDefaults=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesItemVue2=e.ChartSeriesItem=void 0;var a=n(r(2)),s=a.h,u=(a.reactive,r(4)),l=r(1),c=r(3),p={name:"KendoChartSeriesItem",props:{aggregate:{type:[String,Function,Object],default:function(){}},axis:String,border:{type:Object,default:function(){}},categoryAxis:String,categoryField:String,closeField:String,color:{type:[String,Function],default:function(){}},colorField:String,connectors:{type:Object,default:function(){}},currentField:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},dataItems:{type:Array,default:function(){}},downColor:String,downColorField:String,dynamicHeight:{type:Boolean,default:void 0},dynamicSlope:{type:Boolean,default:void 0},errorHighField:String,errorLowField:String,explodeField:String,field:String,fromField:String,gap:Number,highField:String,holeSize:Number,line:{type:Object,default:function(){}},lowField:String,lowerField:String,margin:{type:[Object,Number],default:function(){}},maxSize:Number,meanField:String,medianField:String,minSize:Number,missingValues:{type:String,default:function(){},validator:function(t){return["gap","interpolate","zero"].includes(t)}},name:String,neckRatio:Number,negativeColor:String,negativeValues:{type:Object,default:function(){}},noteTextField:String,opacity:Number,openField:String,outliersField:String,overlay:{type:Object,default:function(){}},padding:Number,q1Field:String,q3Field:String,segmentSpacing:Number,size:Number,sizeField:String,spacing:Number,stack:{type:[Boolean,String,Object],default:function(){}},startAngle:Number,lineStyle:{type:String,default:function(){},validator:function(t){return["normal","step","smooth"].includes(t)}},summaryField:String,target:{type:Object,default:function(){}},toField:String,type:{type:String,default:function(){},validator:function(t){return["area","bar","boxPlot","bubble","bullet","candlestick","column","donut","funnel","horizontalWaterfall","line","ohlc","pie","polarArea","polarLine","polarScatter","radarArea","radarColumn","radarLine","rangeArea","rangeBar","rangeColumn","scatter","scatterLine","verticalArea","verticalBoxPlot","verticalBullet","verticalLine","verticalRangeArea","waterfall"].includes(t)}},upperField:String,visible:{type:Boolean,default:void 0},visibleInLegend:{type:Boolean,default:void 0},visibleInLegendField:String,visual:{type:Function,default:void 0},width:Number,xAxis:String,xErrorHighField:String,xErrorLowField:String,xField:String,yAxis:String,yErrorHighField:String,yErrorLowField:String,yField:String,zIndex:Number,errorBars:{type:Object,default:function(){}},extremes:{type:Object,default:function(){}},highlight:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},markers:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},outliers:{type:Object,default:function(){}},tooltip:{type:Object,default:function(){}}},inject:{chartRefresh:{default:l.noop}},watch:{dataItems:{handler:function(){this.chartRefresh()},deep:!0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),i=c.removeUndefinedProps(this.$props);return this.v3?e(u.Configuration,{config:i},(function(){return r})):e(u.Configuration,{props:{config:i}},[r])}};e.ChartSeriesItemVue2=p;var h=p;e.ChartSeriesItem=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartTitleVue2=e.ChartTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartTitle",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},align:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},color:{type:String,default:void 0},font:{type:String,default:void 0},position:{type:String,default:function(){},validator:function(t){return["top","bottom"].includes(t)}},text:{type:String,default:void 0},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartTitleVue2=c;var p=c;e.ChartTitle=p},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartTooltipVue2=e.ChartTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartTooltip",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},padding:{type:[Object,Number],default:function(){}},color:{type:String,default:void 0},render:[String,Function,Object],font:{type:String,default:void 0},format:{type:String,default:void 0},opacity:{type:Number,default:void 0},shared:{type:Boolean,default:void 0},visible:{type:Boolean,default:!0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartTooltipVue2=p;var h=p;e.ChartTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisVue2=e.ChartValueAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartValueAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"valueAxis",attrs:this.v3?void 0:{chartKey:"valueAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartValueAxisVue2=l;var c=l;e.ChartValueAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisItemVue2=e.ChartValueAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisItem",props:{axisCrossingValue:{type:[Array,Object,Date,Number],default:function(){}},background:{type:String,default:void 0},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},majorUnit:{type:Number,default:void 0},max:{type:[Number,Object,String,Date],default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},minorUnit:{type:Number,default:void 0},name:{type:String,default:void 0},narrowRange:{type:Boolean,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["numeric","log"].includes(t)}},visible:{type:Boolean,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartValueAxisItemVue2=c;var p=c;e.ChartValueAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisVue2=e.ChartXAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartXAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"xAxis",attrs:this.v3?void 0:{chartKey:"xAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartXAxisVue2=l;var c=l;e.ChartXAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisItemVue2=e.ChartXAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisItem",props:{axisCrossingValue:{type:[Array,Object,Date,Number],default:function(){}},background:{type:String,default:void 0},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},majorUnit:{type:Number,default:void 0},max:{type:[Number,Object,String,Date],default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},minorUnit:{type:Number,default:void 0},name:{type:String,default:void 0},narrowRange:{type:Boolean,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},startAngle:{type:Number,default:void 0},reverse:{type:Boolean,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["numeric","log","date"].includes(t)}},visible:{type:Boolean,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartXAxisItemVue2=c;var p=c;e.ChartXAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisVue2=e.ChartYAxis=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartYAxis",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"yAxis",attrs:this.v3?void 0:{chartKey:"yAxis"}},this.v3?function(){return[r]}:[r])}};e.ChartYAxisVue2=l;var c=l;e.ChartYAxis=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisItemVue2=e.ChartYAxisItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisItem",props:{axisCrossingValue:{type:[Array,Object,Date,Number],default:function(){}},background:{type:String,default:void 0},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},color:{type:String,default:void 0},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},majorUnit:{type:Number,default:void 0},max:{type:[Number,Object,String,Date],default:function(){}},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},minorUnit:{type:Number,default:void 0},name:{type:String,default:void 0},narrowRange:{type:Boolean,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},type:{type:String,default:function(){},validator:function(t){return["numeric","log","date"].includes(t)}},visible:{type:Boolean,default:function(){}},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartYAxisItemVue2=c;var p=c;e.ChartYAxisItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartZoomableVue2=e.ChartZoomable=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartZoomable",props:{mousewheel:{type:[Boolean,Object],default:function(){}},selection:{type:[Boolean,Object],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"zoomable"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"zoomable"}},[r])}};e.ChartZoomableVue2=c;var p=c;e.ChartZoomable=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsCrosshairTooltipVue2=e.ChartAxisDefaultsCrosshairTooltip=e.ChartAxisDefaultsCrosshairVue2=e.ChartAxisDefaultsCrosshair=e.ChartAxisDefaultsLabelsVue2=e.ChartAxisDefaultsLabels=e.ChartAxisDefaultsTitleVue2=e.ChartAxisDefaultsTitle=void 0;var i=r(78);Object.defineProperty(e,"ChartAxisDefaultsTitle",{enumerable:!0,get:function(){return i.ChartAxisDefaultsTitle}}),Object.defineProperty(e,"ChartAxisDefaultsTitleVue2",{enumerable:!0,get:function(){return i.ChartAxisDefaultsTitleVue2}});var o=r(79);Object.defineProperty(e,"ChartAxisDefaultsLabels",{enumerable:!0,get:function(){return o.ChartAxisDefaultsLabels}}),Object.defineProperty(e,"ChartAxisDefaultsLabelsVue2",{enumerable:!0,get:function(){return o.ChartAxisDefaultsLabelsVue2}});var n=r(80);Object.defineProperty(e,"ChartAxisDefaultsCrosshair",{enumerable:!0,get:function(){return n.ChartAxisDefaultsCrosshair}}),Object.defineProperty(e,"ChartAxisDefaultsCrosshairVue2",{enumerable:!0,get:function(){return n.ChartAxisDefaultsCrosshairVue2}});var a=r(81);Object.defineProperty(e,"ChartAxisDefaultsCrosshairTooltip",{enumerable:!0,get:function(){return a.ChartAxisDefaultsCrosshairTooltip}}),Object.defineProperty(e,"ChartAxisDefaultsCrosshairTooltipVue2",{enumerable:!0,get:function(){return a.ChartAxisDefaultsCrosshairTooltipVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsTitleVue2=e.ChartAxisDefaultsTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartAxisDefaultsTitleVue2=c;var p=c;e.ChartAxisDefaultsTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsLabelsVue2=e.ChartAxisDefaultsLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsLabels",props:{content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:Boolean,padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartAxisDefaultsLabelsVue2=c;var p=c;e.ChartAxisDefaultsLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsCrosshairVue2=e.ChartAxisDefaultsCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartAxisDefaultsCrosshairVue2=c;var p=c;e.ChartAxisDefaultsCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartAxisDefaultsCrosshairTooltipVue2=e.ChartAxisDefaultsCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartAxisDefaultsCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartAxisDefaultsCrosshairTooltipVue2=c;var p=c;e.ChartAxisDefaultsCrosshairTooltip=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisRangeLabelsVue2=e.ChartCategoryAxisRangeLabels=e.ChartCategoryAxisNotesLabelVue2=e.ChartCategoryAxisNotesLabel=e.ChartCategoryAxisNotesIconVue2=e.ChartCategoryAxisNotesIcon=e.ChartCategoryAxisNotesVue2=e.ChartCategoryAxisNotes=e.ChartCategoryAxisLabelsVue2=e.ChartCategoryAxisLabels=e.ChartCategoryAxisTitleVue2=e.ChartCategoryAxisTitle=e.ChartCategoryAxisSelectVue2=e.ChartCategoryAxisSelect=e.ChartCategoryAxisCrosshairTooltipVue2=e.ChartCategoryAxisCrosshairTooltip=e.ChartCategoryAxisCrosshairVue2=e.ChartCategoryAxisCrosshair=void 0;var i=r(83);Object.defineProperty(e,"ChartCategoryAxisCrosshair",{enumerable:!0,get:function(){return i.ChartCategoryAxisCrosshair}}),Object.defineProperty(e,"ChartCategoryAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartCategoryAxisCrosshairVue2}});var o=r(84);Object.defineProperty(e,"ChartCategoryAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartCategoryAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartCategoryAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartCategoryAxisCrosshairTooltipVue2}});var n=r(85);Object.defineProperty(e,"ChartCategoryAxisSelect",{enumerable:!0,get:function(){return n.ChartCategoryAxisSelect}}),Object.defineProperty(e,"ChartCategoryAxisSelectVue2",{enumerable:!0,get:function(){return n.ChartCategoryAxisSelectVue2}});var a=r(86);Object.defineProperty(e,"ChartCategoryAxisTitle",{enumerable:!0,get:function(){return a.ChartCategoryAxisTitle}}),Object.defineProperty(e,"ChartCategoryAxisTitleVue2",{enumerable:!0,get:function(){return a.ChartCategoryAxisTitleVue2}});var s=r(87);Object.defineProperty(e,"ChartCategoryAxisLabels",{enumerable:!0,get:function(){return s.ChartCategoryAxisLabels}}),Object.defineProperty(e,"ChartCategoryAxisLabelsVue2",{enumerable:!0,get:function(){return s.ChartCategoryAxisLabelsVue2}});var u=r(88);Object.defineProperty(e,"ChartCategoryAxisNotes",{enumerable:!0,get:function(){return u.ChartCategoryAxisNotes}}),Object.defineProperty(e,"ChartCategoryAxisNotesVue2",{enumerable:!0,get:function(){return u.ChartCategoryAxisNotesVue2}});var l=r(89);Object.defineProperty(e,"ChartCategoryAxisNotesIcon",{enumerable:!0,get:function(){return l.ChartCategoryAxisNotesIcon}}),Object.defineProperty(e,"ChartCategoryAxisNotesIconVue2",{enumerable:!0,get:function(){return l.ChartCategoryAxisNotesIconVue2}});var c=r(90);Object.defineProperty(e,"ChartCategoryAxisNotesLabel",{enumerable:!0,get:function(){return c.ChartCategoryAxisNotesLabel}}),Object.defineProperty(e,"ChartCategoryAxisNotesLabelVue2",{enumerable:!0,get:function(){return c.ChartCategoryAxisNotesLabelVue2}});var p=r(91);Object.defineProperty(e,"ChartCategoryAxisRangeLabels",{enumerable:!0,get:function(){return p.ChartCategoryAxisRangeLabels}}),Object.defineProperty(e,"ChartCategoryAxisRangeLabelsVue2",{enumerable:!0,get:function(){return p.ChartCategoryAxisRangeLabelsVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisCrosshairVue2=e.ChartCategoryAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartCategoryAxisCrosshairVue2=c;var p=c;e.ChartCategoryAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisCrosshairTooltipVue2=e.ChartCategoryAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartCategoryAxisCrosshairTooltipVue2=c;var p=c;e.ChartCategoryAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisSelectVue2=e.ChartCategoryAxisSelect=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisSelect",props:{from:{type:[Object,Number,String],default:function(){}},max:{type:[Object,Number,String,Date],default:function(){}},min:{type:[Object,Number,String,Date],default:function(){}},mousewheel:{type:[Object,Boolean],default:function(){}},to:{type:[Object,Number,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"select"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"select"}},[r])}};e.ChartCategoryAxisSelectVue2=c;var p=c;e.ChartCategoryAxisSelect=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisTitleVue2=e.ChartCategoryAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartCategoryAxisTitleVue2=c;var p=c;e.ChartCategoryAxisTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisLabelsVue2=e.ChartCategoryAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartCategoryAxisLabelsVue2=c;var p=c;e.ChartCategoryAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisNotesVue2=e.ChartCategoryAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartCategoryAxisNotesVue2=c;var p=c;e.ChartCategoryAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisNotesIconVue2=e.ChartCategoryAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartCategoryAxisNotesIconVue2=c;var p=c;e.ChartCategoryAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisNotesLabelVue2=e.ChartCategoryAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartCategoryAxisNotesLabelVue2=c;var p=c;e.ChartCategoryAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartCategoryAxisRangeLabelsVue2=e.ChartCategoryAxisRangeLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartCategoryAxisRangeLabels",props:{position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},skip:Number,step:Number,visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"rangeLabels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"rangeLabels"}},[r])}};e.ChartCategoryAxisRangeLabelsVue2=c;var p=c;e.ChartCategoryAxisRangeLabels=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneTitleVue2=e.ChartPaneTitle=void 0;var i=r(93);Object.defineProperty(e,"ChartPaneTitle",{enumerable:!0,get:function(){return i.ChartPaneTitle}}),Object.defineProperty(e,"ChartPaneTitleVue2",{enumerable:!0,get:function(){return i.ChartPaneTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneTitleVue2=e.ChartPaneTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPaneTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartPaneTitleVue2=c;var p=c;e.ChartPaneTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneDefaultsTitleVue2=e.ChartPaneDefaultsTitle=void 0;var i=r(95);Object.defineProperty(e,"ChartPaneDefaultsTitle",{enumerable:!0,get:function(){return i.ChartPaneDefaultsTitle}}),Object.defineProperty(e,"ChartPaneDefaultsTitleVue2",{enumerable:!0,get:function(){return i.ChartPaneDefaultsTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartPaneDefaultsTitleVue2=e.ChartPaneDefaultsTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartPaneDefaultsTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartPaneDefaultsTitleVue2=c;var p=c;e.ChartPaneDefaultsTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendInactiveItemsVue2=e.ChartLegendInactiveItems=e.ChartLegendTitleVue2=e.ChartLegendTitle=e.ChartLegendItemVue2=e.ChartLegendItem=void 0;var i=r(97);Object.defineProperty(e,"ChartLegendItem",{enumerable:!0,get:function(){return i.ChartLegendItem}}),Object.defineProperty(e,"ChartLegendItemVue2",{enumerable:!0,get:function(){return i.ChartLegendItemVue2}});var o=r(98);Object.defineProperty(e,"ChartLegendTitle",{enumerable:!0,get:function(){return o.ChartLegendTitle}}),Object.defineProperty(e,"ChartLegendTitleVue2",{enumerable:!0,get:function(){return o.ChartLegendTitleVue2}});var n=r(99);Object.defineProperty(e,"ChartLegendInactiveItems",{enumerable:!0,get:function(){return n.ChartLegendInactiveItems}}),Object.defineProperty(e,"ChartLegendInactiveItemsVue2",{enumerable:!0,get:function(){return n.ChartLegendInactiveItemsVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendItemVue2=e.ChartLegendItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegendItem",props:{cursor:String,visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"item"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"item"}},[r])}};e.ChartLegendItemVue2=c;var p=c;e.ChartLegendItem=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendTitleVue2=e.ChartLegendTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegendTitle",props:{align:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartLegendTitleVue2=c;var p=c;e.ChartLegendTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartLegendInactiveItemsVue2=e.ChartLegendInactiveItems=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartLegendInactiveItems",props:{labels:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"inactiveItems"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"inactiveItems"}},[r])}};e.ChartLegendInactiveItemsVue2=c;var p=c;e.ChartLegendInactiveItems=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesLabelVue2=e.ChartSeriesDefaultsNotesLabel=e.ChartSeriesDefaultsNotesIconVue2=e.ChartSeriesDefaultsNotesIcon=e.ChartSeriesDefaultsNotesVue2=e.ChartSeriesDefaultsNotes=e.ChartSeriesDefaultsLabelsToVue2=e.ChartSeriesDefaultsLabelsTo=e.ChartSeriesDefaultsLabelsFromVue2=e.ChartSeriesDefaultsLabelsFrom=e.ChartSeriesDefaultsLabelsVue2=e.ChartSeriesDefaultsLabels=e.ChartSeriesDefaultsItemTooltipVue2=e.ChartSeriesDefaultsItemTooltip=void 0;var i=r(101);Object.defineProperty(e,"ChartSeriesDefaultsItemTooltip",{enumerable:!0,get:function(){return i.ChartSeriesDefaultsItemTooltip}}),Object.defineProperty(e,"ChartSeriesDefaultsItemTooltipVue2",{enumerable:!0,get:function(){return i.ChartSeriesDefaultsItemTooltipVue2}});var o=r(102);Object.defineProperty(e,"ChartSeriesDefaultsLabels",{enumerable:!0,get:function(){return o.ChartSeriesDefaultsLabels}}),Object.defineProperty(e,"ChartSeriesDefaultsLabelsVue2",{enumerable:!0,get:function(){return o.ChartSeriesDefaultsLabelsVue2}});var n=r(103);Object.defineProperty(e,"ChartSeriesDefaultsLabelsFrom",{enumerable:!0,get:function(){return n.ChartSeriesDefaultsLabelsFrom}}),Object.defineProperty(e,"ChartSeriesDefaultsLabelsFromVue2",{enumerable:!0,get:function(){return n.ChartSeriesDefaultsLabelsFromVue2}});var a=r(104);Object.defineProperty(e,"ChartSeriesDefaultsLabelsTo",{enumerable:!0,get:function(){return a.ChartSeriesDefaultsLabelsTo}}),Object.defineProperty(e,"ChartSeriesDefaultsLabelsToVue2",{enumerable:!0,get:function(){return a.ChartSeriesDefaultsLabelsToVue2}});var s=r(105);Object.defineProperty(e,"ChartSeriesDefaultsNotes",{enumerable:!0,get:function(){return s.ChartSeriesDefaultsNotes}}),Object.defineProperty(e,"ChartSeriesDefaultsNotesVue2",{enumerable:!0,get:function(){return s.ChartSeriesDefaultsNotesVue2}});var u=r(106);Object.defineProperty(e,"ChartSeriesDefaultsNotesIcon",{enumerable:!0,get:function(){return u.ChartSeriesDefaultsNotesIcon}}),Object.defineProperty(e,"ChartSeriesDefaultsNotesIconVue2",{enumerable:!0,get:function(){return u.ChartSeriesDefaultsNotesIconVue2}});var l=r(107);Object.defineProperty(e,"ChartSeriesDefaultsNotesLabel",{enumerable:!0,get:function(){return l.ChartSeriesDefaultsNotesLabel}}),Object.defineProperty(e,"ChartSeriesDefaultsNotesLabelVue2",{enumerable:!0,get:function(){return l.ChartSeriesDefaultsNotesLabelVue2}})},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsItemTooltipVue2=e.ChartSeriesDefaultsItemTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartSeriesDefaultsItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0},render:[String,Number,Object]},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartSeriesDefaultsItemTooltipVue2=p;var h=p;e.ChartSeriesDefaultsItemTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsLabelsVue2=e.ChartSeriesDefaultsLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartSeriesDefaultsLabelsVue2=c;var p=c;e.ChartSeriesDefaultsLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsLabelsFromVue2=e.ChartSeriesDefaultsLabelsFrom=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"from"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"from"}},[r])}};e.ChartSeriesDefaultsLabelsFromVue2=c;var p=c;e.ChartSeriesDefaultsLabelsFrom=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsLabelsToVue2=e.ChartSeriesDefaultsLabelsTo=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"to"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"to"}},[r])}};e.ChartSeriesDefaultsLabelsToVue2=c;var p=c;e.ChartSeriesDefaultsLabelsTo=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesVue2=e.ChartSeriesDefaultsNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsNotes",props:{line:{type:Object,default:function(){}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartSeriesDefaultsNotesVue2=c;var p=c;e.ChartSeriesDefaultsNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesIconVue2=e.ChartSeriesDefaultsNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartSeriesDefaultsNotesIconVue2=c;var p=c;e.ChartSeriesDefaultsNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesDefaultsNotesLabelVue2=e.ChartSeriesDefaultsNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesDefaultsNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartSeriesDefaultsNotesLabelVue2=c;var p=c;e.ChartSeriesDefaultsNotesLabel=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesIconVue2=e.ChartSeriesNotesIcon=e.ChartSeriesNotesLabelVue2=e.ChartSeriesNotesLabel=e.ChartSeriesLabelsToVue2=e.ChartSeriesLabelsTo=e.ChartSeriesLabelsFromVue2=e.ChartSeriesLabelsFrom=e.ChartSeriesErrorBarsVue2=e.ChartSeriesErrorBars=e.ChartSeriesExtremesVue2=e.ChartSeriesExtremes=e.ChartSeriesHighlightVue2=e.ChartSeriesHighlight=e.ChartSeriesLabelsVue2=e.ChartSeriesLabels=e.ChartSeriesMarkersVue2=e.ChartSeriesMarkers=e.ChartSeriesNotesVue2=e.ChartSeriesNotes=e.ChartSeriesItemOutliersVue2=e.ChartSeriesItemOutliers=e.ChartSeriesItemTooltipVue2=e.ChartSeriesItemTooltip=void 0;var i=r(109);Object.defineProperty(e,"ChartSeriesItemTooltip",{enumerable:!0,get:function(){return i.ChartSeriesItemTooltip}}),Object.defineProperty(e,"ChartSeriesItemTooltipVue2",{enumerable:!0,get:function(){return i.ChartSeriesItemTooltipVue2}});var o=r(110);Object.defineProperty(e,"ChartSeriesItemOutliers",{enumerable:!0,get:function(){return o.ChartSeriesItemOutliers}}),Object.defineProperty(e,"ChartSeriesItemOutliersVue2",{enumerable:!0,get:function(){return o.ChartSeriesItemOutliersVue2}});var n=r(111);Object.defineProperty(e,"ChartSeriesNotes",{enumerable:!0,get:function(){return n.ChartSeriesNotes}}),Object.defineProperty(e,"ChartSeriesNotesVue2",{enumerable:!0,get:function(){return n.ChartSeriesNotesVue2}});var a=r(112);Object.defineProperty(e,"ChartSeriesMarkers",{enumerable:!0,get:function(){return a.ChartSeriesMarkers}}),Object.defineProperty(e,"ChartSeriesMarkersVue2",{enumerable:!0,get:function(){return a.ChartSeriesMarkersVue2}});var s=r(113);Object.defineProperty(e,"ChartSeriesLabels",{enumerable:!0,get:function(){return s.ChartSeriesLabels}}),Object.defineProperty(e,"ChartSeriesLabelsVue2",{enumerable:!0,get:function(){return s.ChartSeriesLabelsVue2}});var u=r(114);Object.defineProperty(e,"ChartSeriesHighlight",{enumerable:!0,get:function(){return u.ChartSeriesHighlight}}),Object.defineProperty(e,"ChartSeriesHighlightVue2",{enumerable:!0,get:function(){return u.ChartSeriesHighlightVue2}});var l=r(115);Object.defineProperty(e,"ChartSeriesExtremes",{enumerable:!0,get:function(){return l.ChartSeriesExtremes}}),Object.defineProperty(e,"ChartSeriesExtremesVue2",{enumerable:!0,get:function(){return l.ChartSeriesExtremesVue2}});var c=r(116);Object.defineProperty(e,"ChartSeriesErrorBars",{enumerable:!0,get:function(){return c.ChartSeriesErrorBars}}),Object.defineProperty(e,"ChartSeriesErrorBarsVue2",{enumerable:!0,get:function(){return c.ChartSeriesErrorBarsVue2}});var p=r(117);Object.defineProperty(e,"ChartSeriesLabelsFrom",{enumerable:!0,get:function(){return p.ChartSeriesLabelsFrom}}),Object.defineProperty(e,"ChartSeriesLabelsFromVue2",{enumerable:!0,get:function(){return p.ChartSeriesLabelsFromVue2}});var h=r(118);Object.defineProperty(e,"ChartSeriesLabelsTo",{enumerable:!0,get:function(){return h.ChartSeriesLabelsTo}}),Object.defineProperty(e,"ChartSeriesLabelsToVue2",{enumerable:!0,get:function(){return h.ChartSeriesLabelsToVue2}});var f=r(119);Object.defineProperty(e,"ChartSeriesNotesLabel",{enumerable:!0,get:function(){return f.ChartSeriesNotesLabel}}),Object.defineProperty(e,"ChartSeriesNotesLabelVue2",{enumerable:!0,get:function(){return f.ChartSeriesNotesLabelVue2}});var d=r(120);Object.defineProperty(e,"ChartSeriesNotesIcon",{enumerable:!0,get:function(){return d.ChartSeriesNotesIcon}}),Object.defineProperty(e,"ChartSeriesNotesIconVue2",{enumerable:!0,get:function(){return d.ChartSeriesNotesIconVue2}})},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesItemTooltipVue2=e.ChartSeriesItemTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartSeriesItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},render:[String,Number,Object],visible:{type:Boolean,default:!0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartSeriesItemTooltipVue2=p;var h=p;e.ChartSeriesItemTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesItemOutliersVue2=e.ChartSeriesItemOutliers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesItemOutliers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"outliers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"outliers"}},[r])}};e.ChartSeriesItemOutliersVue2=c;var p=c;e.ChartSeriesItemOutliers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesVue2=e.ChartSeriesNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesNotes",props:{line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartSeriesNotesVue2=c;var p=c;e.ChartSeriesNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesMarkersVue2=e.ChartSeriesMarkers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesMarkers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"markers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"markers"}},[r])}};e.ChartSeriesMarkersVue2=c;var p=c;e.ChartSeriesMarkers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesLabelsVue2=e.ChartSeriesLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesLabels",props:{align:{type:String,default:function(){},validator:function(t){return["circle","column","center","right","left"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},distance:Number,font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["auto","above","below","center","insideBase","insideEnd","left","outsideEnd","right","top","bottom"].includes(t)}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartSeriesLabelsVue2=c;var p=c;e.ChartSeriesLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesHighlightVue2=e.ChartSeriesHighlight=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesHighlight",props:{border:{type:Object,default:function(){}},color:String,line:{type:Object,default:function(){}},opacity:Number,toggle:{type:Function,default:void 0},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"highlight"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"highlight"}},[r])}};e.ChartSeriesHighlightVue2=c;var p=c;e.ChartSeriesHighlight=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesExtremesVue2=e.ChartSeriesExtremes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesExtremes",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"extremes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"extremes"}},[r])}};e.ChartSeriesExtremesVue2=c;var p=c;e.ChartSeriesExtremes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesErrorBarsVue2=e.ChartSeriesErrorBars=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesErrorBars",props:{color:String,endCaps:{type:Boolean,default:void 0},line:{type:Object,default:function(){}},value:String,visual:{type:Function,default:void 0},xValue:String,yValue:String},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"errorBars"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"errorBars"}},[r])}};e.ChartSeriesErrorBarsVue2=c;var p=c;e.ChartSeriesErrorBars=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesLabelsFromVue2=e.ChartSeriesLabelsFrom=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"from"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"from"}},[r])}};e.ChartSeriesLabelsFromVue2=c;var p=c;e.ChartSeriesLabelsFrom=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesLabelsToVue2=e.ChartSeriesLabelsTo=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"to"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"to"}},[r])}};e.ChartSeriesLabelsToVue2=c;var p=c;e.ChartSeriesLabelsTo=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesLabelVue2=e.ChartSeriesNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartSeriesNotesLabelVue2=c;var p=c;e.ChartSeriesNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartSeriesNotesIconVue2=e.ChartSeriesNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartSeriesNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartSeriesNotesIconVue2=c;var p=c;e.ChartSeriesNotesIcon=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesLabelVue2=e.ChartValueAxisNotesLabel=e.ChartValueAxisNotesIconVue2=e.ChartValueAxisNotesIcon=e.ChartValueAxisNotesVue2=e.ChartValueAxisNotes=e.ChartValueAxisLabelsVue2=e.ChartValueAxisLabels=e.ChartValueAxisTitleVue2=e.ChartValueAxisTitle=e.ChartValueAxisCrosshairTooltipVue2=e.ChartValueAxisCrosshairTooltip=e.ChartValueAxisCrosshairVue2=e.ChartValueAxisCrosshair=void 0;var i=r(122);Object.defineProperty(e,"ChartValueAxisCrosshair",{enumerable:!0,get:function(){return i.ChartValueAxisCrosshair}}),Object.defineProperty(e,"ChartValueAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartValueAxisCrosshairVue2}});var o=r(123);Object.defineProperty(e,"ChartValueAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartValueAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartValueAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartValueAxisCrosshairTooltipVue2}});var n=r(124);Object.defineProperty(e,"ChartValueAxisLabels",{enumerable:!0,get:function(){return n.ChartValueAxisLabels}}),Object.defineProperty(e,"ChartValueAxisLabelsVue2",{enumerable:!0,get:function(){return n.ChartValueAxisLabelsVue2}});var a=r(125);Object.defineProperty(e,"ChartValueAxisNotes",{enumerable:!0,get:function(){return a.ChartValueAxisNotes}}),Object.defineProperty(e,"ChartValueAxisNotesVue2",{enumerable:!0,get:function(){return a.ChartValueAxisNotesVue2}});var s=r(126);Object.defineProperty(e,"ChartValueAxisNotesIcon",{enumerable:!0,get:function(){return s.ChartValueAxisNotesIcon}}),Object.defineProperty(e,"ChartValueAxisNotesIconVue2",{enumerable:!0,get:function(){return s.ChartValueAxisNotesIconVue2}});var u=r(127);Object.defineProperty(e,"ChartValueAxisNotesLabel",{enumerable:!0,get:function(){return u.ChartValueAxisNotesLabel}}),Object.defineProperty(e,"ChartValueAxisNotesLabelVue2",{enumerable:!0,get:function(){return u.ChartValueAxisNotesLabelVue2}});var l=r(128);Object.defineProperty(e,"ChartValueAxisTitle",{enumerable:!0,get:function(){return l.ChartValueAxisTitle}}),Object.defineProperty(e,"ChartValueAxisTitleVue2",{enumerable:!0,get:function(){return l.ChartValueAxisTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisCrosshairVue2=e.ChartValueAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisCrosshair",props:{color:String,opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartValueAxisCrosshairVue2=c;var p=c;e.ChartValueAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisCrosshairTooltipVue2=e.ChartValueAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartValueAxisCrosshairTooltipVue2=c;var p=c;e.ChartValueAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisLabelsVue2=e.ChartValueAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartValueAxisLabelsVue2=c;var p=c;e.ChartValueAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesVue2=e.ChartValueAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartValueAxisNotesVue2=c;var p=c;e.ChartValueAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesIconVue2=e.ChartValueAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartValueAxisNotesIconVue2=c;var p=c;e.ChartValueAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisNotesLabelVue2=e.ChartValueAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartValueAxisNotesLabelVue2=c;var p=c;e.ChartValueAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartValueAxisTitleVue2=e.ChartValueAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartValueAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartValueAxisTitleVue2=c;var p=c;e.ChartValueAxisTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesLabelVue2=e.ChartXAxisNotesLabel=e.ChartXAxisNotesIconVue2=e.ChartXAxisNotesIcon=e.ChartXAxisNotesVue2=e.ChartXAxisNotes=e.ChartXAxisLabelsVue2=e.ChartXAxisLabels=e.ChartXAxisTitleVue2=e.ChartXAxisTitle=e.ChartXAxisCrosshairTooltipVue2=e.ChartXAxisCrosshairTooltip=e.ChartXAxisCrosshairVue2=e.ChartXAxisCrosshair=void 0;var i=r(130);Object.defineProperty(e,"ChartXAxisCrosshair",{enumerable:!0,get:function(){return i.ChartXAxisCrosshair}}),Object.defineProperty(e,"ChartXAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartXAxisCrosshairVue2}});var o=r(131);Object.defineProperty(e,"ChartXAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartXAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartXAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartXAxisCrosshairTooltipVue2}});var n=r(132);Object.defineProperty(e,"ChartXAxisLabels",{enumerable:!0,get:function(){return n.ChartXAxisLabels}}),Object.defineProperty(e,"ChartXAxisLabelsVue2",{enumerable:!0,get:function(){return n.ChartXAxisLabelsVue2}});var a=r(133);Object.defineProperty(e,"ChartXAxisNotes",{enumerable:!0,get:function(){return a.ChartXAxisNotes}}),Object.defineProperty(e,"ChartXAxisNotesVue2",{enumerable:!0,get:function(){return a.ChartXAxisNotesVue2}});var s=r(134);Object.defineProperty(e,"ChartXAxisNotesIcon",{enumerable:!0,get:function(){return s.ChartXAxisNotesIcon}}),Object.defineProperty(e,"ChartXAxisNotesIconVue2",{enumerable:!0,get:function(){return s.ChartXAxisNotesIconVue2}});var u=r(135);Object.defineProperty(e,"ChartXAxisNotesLabel",{enumerable:!0,get:function(){return u.ChartXAxisNotesLabel}}),Object.defineProperty(e,"ChartXAxisNotesLabelVue2",{enumerable:!0,get:function(){return u.ChartXAxisNotesLabelVue2}});var l=r(136);Object.defineProperty(e,"ChartXAxisTitle",{enumerable:!0,get:function(){return l.ChartXAxisTitle}}),Object.defineProperty(e,"ChartXAxisTitleVue2",{enumerable:!0,get:function(){return l.ChartXAxisTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisCrosshairVue2=e.ChartXAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisCrosshair",props:{color:String,opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartXAxisCrosshairVue2=c;var p=c;e.ChartXAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisCrosshairTooltipVue2=e.ChartXAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartXAxisCrosshairTooltipVue2=c;var p=c;e.ChartXAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisLabelsVue2=e.ChartXAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartXAxisLabelsVue2=c;var p=c;e.ChartXAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesVue2=e.ChartXAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartXAxisNotesVue2=c;var p=c;e.ChartXAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesIconVue2=e.ChartXAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartXAxisNotesIconVue2=c;var p=c;e.ChartXAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisNotesLabelVue2=e.ChartXAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartXAxisNotesLabelVue2=c;var p=c;e.ChartXAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartXAxisTitleVue2=e.ChartXAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartXAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartXAxisTitleVue2=c;var p=c;e.ChartXAxisTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesLabelVue2=e.ChartYAxisNotesLabel=e.ChartYAxisNotesIconVue2=e.ChartYAxisNotesIcon=e.ChartYAxisNotesVue2=e.ChartYAxisNotes=e.ChartYAxisLabelsVue2=e.ChartYAxisLabels=e.ChartYAxisTitleVue2=e.ChartYAxisTitle=e.ChartYAxisCrosshairTooltipVue2=e.ChartYAxisCrosshairTooltip=e.ChartYAxisCrosshairVue2=e.ChartYAxisCrosshair=void 0;var i=r(138);Object.defineProperty(e,"ChartYAxisCrosshair",{enumerable:!0,get:function(){return i.ChartYAxisCrosshair}}),Object.defineProperty(e,"ChartYAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartYAxisCrosshairVue2}});var o=r(139);Object.defineProperty(e,"ChartYAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartYAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartYAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartYAxisCrosshairTooltipVue2}});var n=r(140);Object.defineProperty(e,"ChartYAxisLabels",{enumerable:!0,get:function(){return n.ChartYAxisLabels}}),Object.defineProperty(e,"ChartYAxisLabelsVue2",{enumerable:!0,get:function(){return n.ChartYAxisLabelsVue2}});var a=r(141);Object.defineProperty(e,"ChartYAxisNotes",{enumerable:!0,get:function(){return a.ChartYAxisNotes}}),Object.defineProperty(e,"ChartYAxisNotesVue2",{enumerable:!0,get:function(){return a.ChartYAxisNotesVue2}});var s=r(142);Object.defineProperty(e,"ChartYAxisNotesIcon",{enumerable:!0,get:function(){return s.ChartYAxisNotesIcon}}),Object.defineProperty(e,"ChartYAxisNotesIconVue2",{enumerable:!0,get:function(){return s.ChartYAxisNotesIconVue2}});var u=r(143);Object.defineProperty(e,"ChartYAxisNotesLabel",{enumerable:!0,get:function(){return u.ChartYAxisNotesLabel}}),Object.defineProperty(e,"ChartYAxisNotesLabelVue2",{enumerable:!0,get:function(){return u.ChartYAxisNotesLabelVue2}});var l=r(144);Object.defineProperty(e,"ChartYAxisTitle",{enumerable:!0,get:function(){return l.ChartYAxisTitle}}),Object.defineProperty(e,"ChartYAxisTitleVue2",{enumerable:!0,get:function(){return l.ChartYAxisTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisCrosshairVue2=e.ChartYAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisCrosshair",props:{color:String,opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartYAxisCrosshairVue2=c;var p=c;e.ChartYAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisCrosshairTooltipVue2=e.ChartYAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartYAxisCrosshairTooltipVue2=c;var p=c;e.ChartYAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisLabelsVue2=e.ChartYAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartYAxisLabelsVue2=c;var p=c;e.ChartYAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesVue2=e.ChartYAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartYAxisNotesVue2=c;var p=c;e.ChartYAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesIconVue2=e.ChartYAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartYAxisNotesIconVue2=c;var p=c;e.ChartYAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisNotesLabelVue2=e.ChartYAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartYAxisNotesLabelVue2=c;var p=c;e.ChartYAxisNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartYAxisTitleVue2=e.ChartYAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartYAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartYAxisTitleVue2=c;var p=c;e.ChartYAxisTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||i(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemVue2=e.ChartNavigatorSeriesItem=e.ChartNavigatorSeriesVue2=e.ChartNavigatorSeries=e.ChartNavigatorSelectVue2=e.ChartNavigatorSelect=e.ChartNavigatorPaneVue2=e.ChartNavigatorPane=e.ChartNavigatorHintVue2=e.ChartNavigatorHint=e.ChartNavigatorCategoryAxisVue2=e.ChartNavigatorCategoryAxis=void 0;var n=r(146);Object.defineProperty(e,"ChartNavigatorCategoryAxis",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxis}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisVue2",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxisVue2}});var a=r(147);Object.defineProperty(e,"ChartNavigatorHint",{enumerable:!0,get:function(){return a.ChartNavigatorHint}}),Object.defineProperty(e,"ChartNavigatorHintVue2",{enumerable:!0,get:function(){return a.ChartNavigatorHintVue2}});var s=r(148);Object.defineProperty(e,"ChartNavigatorPane",{enumerable:!0,get:function(){return s.ChartNavigatorPane}}),Object.defineProperty(e,"ChartNavigatorPaneVue2",{enumerable:!0,get:function(){return s.ChartNavigatorPaneVue2}});var u=r(149);Object.defineProperty(e,"ChartNavigatorSelect",{enumerable:!0,get:function(){return u.ChartNavigatorSelect}}),Object.defineProperty(e,"ChartNavigatorSelectVue2",{enumerable:!0,get:function(){return u.ChartNavigatorSelectVue2}});var l=r(150);Object.defineProperty(e,"ChartNavigatorSeries",{enumerable:!0,get:function(){return l.ChartNavigatorSeries}}),Object.defineProperty(e,"ChartNavigatorSeriesVue2",{enumerable:!0,get:function(){return l.ChartNavigatorSeriesVue2}});var c=r(151);Object.defineProperty(e,"ChartNavigatorSeriesItem",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesItem}}),Object.defineProperty(e,"ChartNavigatorSeriesItemVue2",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesItemVue2}}),o(r(152),e),o(r(161),e),o(r(163),e)},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisVue2=e.ChartNavigatorCategoryAxis=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxis",props:{autoBaseUnitSteps:{type:Object,default:function(){}},axisCrossingValue:{type:[Object,Array,Date,Number],default:function(){}},background:{type:String,default:void 0},baseUnit:{type:String,default:function(){},validator:function(t){return["milliseconds","seconds","minutes","hours","days","weeks","months","years","auto","fit"].includes(t)}},baseUnitStep:{type:[Number,String],default:function(){}},categories:{type:Array,default:function(){}},color:{type:String,default:void 0},justified:{type:Boolean,default:function(){}},line:{type:Object,default:function(){}},majorGridLines:{type:Object,default:function(){}},majorTicks:{type:Object,default:function(){}},max:{type:[Number,Object,String,Date],default:function(){}},maxDateGroups:{type:Number,default:void 0},maxDivisions:{type:Number,default:void 0},min:{type:[Number,Object,String,Date],default:function(){}},minorGridLines:{type:Object,default:function(){}},minorTicks:{type:Object,default:function(){}},name:{type:Object,default:function(){}},rangeLabels:{type:Object,default:function(){}},pane:{type:String,default:void 0},plotBands:{type:Array,default:function(){}},reverse:{type:Boolean,default:function(){}},roundToBaseUnit:{type:Boolean,default:function(){}},startAngle:{type:Number,default:void 0},type:{type:String,default:function(){},validator:function(t){return["category","date"].includes(t)}},visible:{type:Boolean,default:function(){}},weekStartDay:{type:Number,default:void 0},crosshair:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},select:{type:Object,default:function(){}},title:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"categoryAxis"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"categoryAxis"}},[r])}};e.ChartNavigatorCategoryAxisVue2=c;var p=c;e.ChartNavigatorCategoryAxis=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorHintVue2=e.ChartNavigatorHint=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorHint",props:{content:{type:Function,default:void 0},format:String,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"hint"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"hint"}},[r])}};e.ChartNavigatorHintVue2=c;var p=c;e.ChartNavigatorHint=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorPaneVue2=e.ChartNavigatorPane=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorPane",props:{background:{type:String,default:void 0},border:{type:Object,default:function(){}},clip:{type:Boolean,default:void 0},height:{type:Number,default:void 0},margin:{type:[Object,Number],default:function(){}},name:{type:String,default:void 0},padding:{type:[Object,Number],default:function(){}},title:{type:[Object,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"pane"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"pane"}},[r])}};e.ChartNavigatorPaneVue2=c;var p=c;e.ChartNavigatorPane=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSelectVue2=e.ChartNavigatorSelect=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSelect",props:{from:{type:Date,default:function(){}},mousewheel:{type:[Object,Boolean],default:function(){}},to:{type:Date,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"select"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"select"}},[r])}};e.ChartNavigatorSelectVue2=c;var p=c;e.ChartNavigatorSelect=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesVue2=e.ChartNavigatorSeries=void 0;var a=n(r(2)).h,s=r(8),u=r(1),l={name:"KendoChartNavigatorSeries",setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this);return e(s.CollectionConfiguration,{chartKey:"series",attrs:this.v3?void 0:{chartKey:"series",parentKey:"navigator"},parentKey:"navigator"},this.v3?function(){return[r]}:[r])}};e.ChartNavigatorSeriesVue2=l;var c=l;e.ChartNavigatorSeries=c},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemVue2=e.ChartNavigatorSeriesItem=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesItem",props:{aggregate:{type:[String,Function,Object],default:function(){}},axis:String,border:{type:Object,default:function(){}},categoryAxis:String,categoryField:String,closeField:String,color:{type:[String,Function],default:function(){}},colorField:String,connectors:{type:Object,default:function(){}},currentField:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},dataItems:{type:Array,default:function(){}},downColor:String,downColorField:String,dynamicHeight:{type:Boolean,default:void 0},dynamicSlope:{type:Boolean,default:void 0},errorHighField:String,errorLowField:String,explodeField:String,field:String,fromField:String,gap:Number,highField:String,holeSize:Number,line:{type:Object,default:function(){}},lowField:String,lowerField:String,margin:{type:[Object,Number],default:function(){}},maxSize:Number,meanField:String,medianField:String,minSize:Number,missingValues:{type:String,default:function(){},validator:function(t){return["gap","interpolate","zero"].includes(t)}},name:String,neckRatio:Number,negativeColor:String,negativeValues:{type:Object,default:function(){}},noteTextField:String,opacity:Number,openField:String,outliersField:String,overlay:{type:Object,default:function(){}},padding:Number,q1Field:String,q3Field:String,segmentSpacing:Number,size:Number,sizeField:String,spacing:Number,stack:{type:[Boolean,String,Object],default:function(){}},startAngle:Number,lineStyle:{type:String,default:function(){},validator:function(t){return["normal","step","smooth"].includes(t)}},summaryField:String,target:{type:Object,default:function(){}},toField:String,type:{type:String,default:function(){},validator:function(t){return["area","bar","boxPlot","bubble","bullet","candlestick","column","donut","funnel","horizontalWaterfall","line","ohlc","pie","polarArea","polarLine","polarScatter","radarArea","radarColumn","radarLine","rangeArea","rangeBar","rangeColumn","scatter","scatterLine","verticalArea","verticalBoxPlot","verticalBullet","verticalLine","verticalRangeArea","waterfall"].includes(t)}},upperField:String,visible:{type:Boolean,default:void 0},visibleInLegend:{type:Boolean,default:void 0},visibleInLegendField:String,visual:{type:Function,default:void 0},width:Number,xAxis:String,xErrorHighField:String,xErrorLowField:String,xField:String,yAxis:String,yErrorHighField:String,yErrorLowField:String,yField:String,zIndex:Number,errorBars:{type:Object,default:function(){}},extremes:{type:Object,default:function(){}},highlight:{type:Object,default:function(){}},labels:{type:Object,default:function(){}},markers:{type:Object,default:function(){}},notes:{type:Object,default:function(){}},outliers:{type:Object,default:function(){}},tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i},(function(){return r})):e(s.Configuration,{props:{config:i}},[r])}};e.ChartNavigatorSeriesItemVue2=c;var p=c;e.ChartNavigatorSeriesItem=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesLabelVue2=e.ChartNavigatorCategoryAxisNotesLabel=e.ChartNavigatorCategoryAxisNotesIconVue2=e.ChartNavigatorCategoryAxisNotesIcon=e.ChartNavigatorCategoryAxisNotesVue2=e.ChartNavigatorCategoryAxisNotes=e.ChartNavigatorCategoryAxisLabelsVue2=e.ChartNavigatorCategoryAxisLabels=e.ChartNavigatorCategoryAxisTitleVue2=e.ChartNavigatorCategoryAxisTitle=e.ChartNavigatorCategoryAxisSelectVue2=e.ChartNavigatorCategoryAxisSelect=e.ChartNavigatorCategoryAxisCrosshairTooltipVue2=e.ChartNavigatorCategoryAxisCrosshairTooltip=e.ChartNavigatorCategoryAxisCrosshairVue2=e.ChartNavigatorCategoryAxisCrosshair=void 0;var i=r(153);Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshair",{enumerable:!0,get:function(){return i.ChartNavigatorCategoryAxisCrosshair}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshairVue2",{enumerable:!0,get:function(){return i.ChartNavigatorCategoryAxisCrosshairVue2}});var o=r(154);Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshairTooltip",{enumerable:!0,get:function(){return o.ChartNavigatorCategoryAxisCrosshairTooltip}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisCrosshairTooltipVue2",{enumerable:!0,get:function(){return o.ChartNavigatorCategoryAxisCrosshairTooltipVue2}});var n=r(155);Object.defineProperty(e,"ChartNavigatorCategoryAxisSelect",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxisSelect}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisSelectVue2",{enumerable:!0,get:function(){return n.ChartNavigatorCategoryAxisSelectVue2}});var a=r(156);Object.defineProperty(e,"ChartNavigatorCategoryAxisTitle",{enumerable:!0,get:function(){return a.ChartNavigatorCategoryAxisTitle}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisTitleVue2",{enumerable:!0,get:function(){return a.ChartNavigatorCategoryAxisTitleVue2}});var s=r(157);Object.defineProperty(e,"ChartNavigatorCategoryAxisLabels",{enumerable:!0,get:function(){return s.ChartNavigatorCategoryAxisLabels}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisLabelsVue2",{enumerable:!0,get:function(){return s.ChartNavigatorCategoryAxisLabelsVue2}});var u=r(158);Object.defineProperty(e,"ChartNavigatorCategoryAxisNotes",{enumerable:!0,get:function(){return u.ChartNavigatorCategoryAxisNotes}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesVue2",{enumerable:!0,get:function(){return u.ChartNavigatorCategoryAxisNotesVue2}});var l=r(159);Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesIcon",{enumerable:!0,get:function(){return l.ChartNavigatorCategoryAxisNotesIcon}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesIconVue2",{enumerable:!0,get:function(){return l.ChartNavigatorCategoryAxisNotesIconVue2}});var c=r(160);Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesLabel",{enumerable:!0,get:function(){return c.ChartNavigatorCategoryAxisNotesLabel}}),Object.defineProperty(e,"ChartNavigatorCategoryAxisNotesLabelVue2",{enumerable:!0,get:function(){return c.ChartNavigatorCategoryAxisNotesLabelVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisCrosshairVue2=e.ChartNavigatorCategoryAxisCrosshair=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisCrosshair",props:{color:String,dashType:{type:String,default:function(){},validator:function(t){return["dash","dashDot","dot","longDash","longDashDot","longDashDotDot","solid"].includes(t)}},opacity:Number,visible:{type:Boolean,default:!0},width:Number,tooltip:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"crosshair"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"crosshair"}},[r])}};e.ChartNavigatorCategoryAxisCrosshairVue2=c;var p=c;e.ChartNavigatorCategoryAxisCrosshair=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisCrosshairTooltipVue2=e.ChartNavigatorCategoryAxisCrosshairTooltip=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisCrosshairTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},visible:{type:Boolean,default:!0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"tooltip"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"tooltip"}},[r])}};e.ChartNavigatorCategoryAxisCrosshairTooltipVue2=c;var p=c;e.ChartNavigatorCategoryAxisCrosshairTooltip=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisSelectVue2=e.ChartNavigatorCategoryAxisSelect=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisSelect",props:{from:{type:[Object,Number,String],default:function(){}},max:{type:[Object,Number,String,Date],default:function(){}},min:{type:[Object,Number,String,Date],default:function(){}},mousewheel:{type:[Object,Boolean],default:function(){}},to:{type:[Object,Number,String],default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"select"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"select"}},[r])}};e.ChartNavigatorCategoryAxisSelectVue2=c;var p=c;e.ChartNavigatorCategoryAxisSelect=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisTitleVue2=e.ChartNavigatorCategoryAxisTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["top","bottom","left","right","center"].includes(t)}},rotation:Number,text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartNavigatorCategoryAxisTitleVue2=c;var p=c;e.ChartNavigatorCategoryAxisTitle=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisLabelsVue2=e.ChartNavigatorCategoryAxisLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisLabels",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},culture:String,dateFormats:{type:Object,default:function(){}},font:String,format:String,margin:{type:[Object,Number],default:function(){}},mirror:{type:Boolean,default:void 0},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["circle","column","center","right","left"].includes(t)}},rotation:{type:[Object,Number,String],default:function(){}},skip:Number,step:Number,visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartNavigatorCategoryAxisLabelsVue2=c;var p=c;e.ChartNavigatorCategoryAxisLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesVue2=e.ChartNavigatorCategoryAxisNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisNotes",props:{dataItems:{type:Array,default:function(){}},line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartNavigatorCategoryAxisNotesVue2=c;var p=c;e.ChartNavigatorCategoryAxisNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesIconVue2=e.ChartNavigatorCategoryAxisNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartNavigatorCategoryAxisNotesIconVue2=c;var p=c;e.ChartNavigatorCategoryAxisNotesIcon=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorCategoryAxisNotesLabelVue2=e.ChartNavigatorCategoryAxisNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorCategoryAxisNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["start","end","onAxis",""].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartNavigatorCategoryAxisNotesLabelVue2=c;var p=c;e.ChartNavigatorCategoryAxisNotesLabel=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorPaneTitleVue2=e.ChartNavigatorPaneTitle=void 0;var i=r(162);Object.defineProperty(e,"ChartNavigatorPaneTitle",{enumerable:!0,get:function(){return i.ChartNavigatorPaneTitle}}),Object.defineProperty(e,"ChartNavigatorPaneTitleVue2",{enumerable:!0,get:function(){return i.ChartNavigatorPaneTitleVue2}})},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorPaneTitleVue2=e.ChartNavigatorPaneTitle=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorPaneTitle",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,margin:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","left","right"].includes(t)}},text:String,visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"title"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"title"}},[r])}};e.ChartNavigatorPaneTitleVue2=c;var p=c;e.ChartNavigatorPaneTitle=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesIconVue2=e.ChartNavigatorSeriesNotesIcon=e.ChartNavigatorSeriesNotesLabelVue2=e.ChartNavigatorSeriesNotesLabel=e.ChartNavigatorSeriesLabelsToVue2=e.ChartNavigatorSeriesLabelsTo=e.ChartNavigatorSeriesLabelsFromVue2=e.ChartNavigatorSeriesLabelsFrom=e.ChartNavigatorSeriesErrorBarsVue2=e.ChartNavigatorSeriesErrorBars=e.ChartNavigatorSeriesExtremesVue2=e.ChartNavigatorSeriesExtremes=e.ChartNavigatorSeriesHighlightVue2=e.ChartNavigatorSeriesHighlight=e.ChartNavigatorSeriesLabelsVue2=e.ChartNavigatorSeriesLabels=e.ChartNavigatorSeriesMarkersVue2=e.ChartNavigatorSeriesMarkers=e.ChartNavigatorSeriesNotesVue2=e.ChartNavigatorSeriesNotes=e.ChartNavigatorSeriesItemOutliersVue2=e.ChartNavigatorSeriesItemOutliers=e.ChartNavigatorSeriesItemTooltipVue2=e.ChartNavigatorSeriesItemTooltip=void 0;var i=r(164);Object.defineProperty(e,"ChartNavigatorSeriesItemTooltip",{enumerable:!0,get:function(){return i.ChartNavigatorSeriesItemTooltip}}),Object.defineProperty(e,"ChartNavigatorSeriesItemTooltipVue2",{enumerable:!0,get:function(){return i.ChartNavigatorSeriesItemTooltipVue2}});var o=r(165);Object.defineProperty(e,"ChartNavigatorSeriesItemOutliers",{enumerable:!0,get:function(){return o.ChartNavigatorSeriesItemOutliers}}),Object.defineProperty(e,"ChartNavigatorSeriesItemOutliersVue2",{enumerable:!0,get:function(){return o.ChartNavigatorSeriesItemOutliersVue2}});var n=r(166);Object.defineProperty(e,"ChartNavigatorSeriesNotes",{enumerable:!0,get:function(){return n.ChartNavigatorSeriesNotes}}),Object.defineProperty(e,"ChartNavigatorSeriesNotesVue2",{enumerable:!0,get:function(){return n.ChartNavigatorSeriesNotesVue2}});var a=r(167);Object.defineProperty(e,"ChartNavigatorSeriesMarkers",{enumerable:!0,get:function(){return a.ChartNavigatorSeriesMarkers}}),Object.defineProperty(e,"ChartNavigatorSeriesMarkersVue2",{enumerable:!0,get:function(){return a.ChartNavigatorSeriesMarkersVue2}});var s=r(168);Object.defineProperty(e,"ChartNavigatorSeriesLabels",{enumerable:!0,get:function(){return s.ChartNavigatorSeriesLabels}}),Object.defineProperty(e,"ChartNavigatorSeriesLabelsVue2",{enumerable:!0,get:function(){return s.ChartNavigatorSeriesLabelsVue2}});var u=r(169);Object.defineProperty(e,"ChartNavigatorSeriesHighlight",{enumerable:!0,get:function(){return u.ChartNavigatorSeriesHighlight}}),Object.defineProperty(e,"ChartNavigatorSeriesHighlightVue2",{enumerable:!0,get:function(){return u.ChartNavigatorSeriesHighlightVue2}});var l=r(170);Object.defineProperty(e,"ChartNavigatorSeriesExtremes",{enumerable:!0,get:function(){return l.ChartNavigatorSeriesExtremes}}),Object.defineProperty(e,"ChartNavigatorSeriesExtremesVue2",{enumerable:!0,get:function(){return l.ChartNavigatorSeriesExtremesVue2}});var c=r(171);Object.defineProperty(e,"ChartNavigatorSeriesErrorBars",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesErrorBars}}),Object.defineProperty(e,"ChartNavigatorSeriesErrorBarsVue2",{enumerable:!0,get:function(){return c.ChartNavigatorSeriesErrorBarsVue2}});var p=r(172);Object.defineProperty(e,"ChartNavigatorSeriesLabelsFrom",{enumerable:!0,get:function(){return p.ChartNavigatorSeriesLabelsFrom}}),Object.defineProperty(e,"ChartNavigatorSeriesLabelsFromVue2",{enumerable:!0,get:function(){return p.ChartNavigatorSeriesLabelsFromVue2}});var h=r(173);Object.defineProperty(e,"ChartNavigatorSeriesLabelsTo",{enumerable:!0,get:function(){return h.ChartNavigatorSeriesLabelsTo}}),Object.defineProperty(e,"ChartNavigatorSeriesLabelsToVue2",{enumerable:!0,get:function(){return h.ChartNavigatorSeriesLabelsToVue2}});var f=r(174);Object.defineProperty(e,"ChartNavigatorSeriesNotesLabel",{enumerable:!0,get:function(){return f.ChartNavigatorSeriesNotesLabel}}),Object.defineProperty(e,"ChartNavigatorSeriesNotesLabelVue2",{enumerable:!0,get:function(){return f.ChartNavigatorSeriesNotesLabelVue2}});var d=r(175);Object.defineProperty(e,"ChartNavigatorSeriesNotesIcon",{enumerable:!0,get:function(){return d.ChartNavigatorSeriesNotesIcon}}),Object.defineProperty(e,"ChartNavigatorSeriesNotesIconVue2",{enumerable:!0,get:function(){return d.ChartNavigatorSeriesNotesIconVue2}})},function(t,e,r){"use strict";var i=function(){return(i=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},o=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},n=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&o(e,t,r);return n(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemTooltipVue2=e.ChartNavigatorSeriesItemTooltip=void 0;var s=a(r(2)).h,u=r(4),l=r(1),c=r(3),p={name:"KendoChartNavigatorSeriesItemTooltip",props:{background:String,border:{type:Object,default:function(){}},color:String,font:String,format:String,padding:{type:[Object,Number],default:function(){}},render:[String,Number,Object],visible:{type:Boolean,default:void 0}},setup:s?function(){return{v3:!!s}}:void 0,render:function(t){var e=s||t,r=l.getDefaultSlots(this),o=c.removeUndefinedProps(this.$props),n=l.templateRendering.call(this,this.$props.render,l.getListeners.call(this));return this.v3?e(u.Configuration,{config:i(i({},o),{render:n}),chartKey:"tooltip"},(function(){return r})):e(u.Configuration,{props:{config:i(i({},o),{render:n}),chartKey:"tooltip"}},[r])}};e.ChartNavigatorSeriesItemTooltipVue2=p;var h=p;e.ChartNavigatorSeriesItemTooltip=h},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesItemOutliersVue2=e.ChartNavigatorSeriesItemOutliers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesItemOutliers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"outliers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"outliers"}},[r])}};e.ChartNavigatorSeriesItemOutliersVue2=c;var p=c;e.ChartNavigatorSeriesItemOutliers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesVue2=e.ChartNavigatorSeriesNotes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesNotes",props:{line:{type:Object,default:function(){}},position:{type:String,default:function(){},validator:function(t){return["top","bottom","left","right"].includes(t)}},visual:{type:Function,default:void 0},icon:{type:Object,default:function(){}},label:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"notes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"notes"}},[r])}};e.ChartNavigatorSeriesNotesVue2=c;var p=c;e.ChartNavigatorSeriesNotes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesMarkersVue2=e.ChartNavigatorSeriesMarkers=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesMarkers",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"markers"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"markers"}},[r])}};e.ChartNavigatorSeriesMarkersVue2=c;var p=c;e.ChartNavigatorSeriesMarkers=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesLabelsVue2=e.ChartNavigatorSeriesLabels=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesLabels",props:{align:{type:String,default:function(){},validator:function(t){return["circle","column","center","right","left"].includes(t)}},background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},distance:Number,font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:void 0,validator:function(t){return["auto","above","below","center","insideBase","insideEnd","left","outsideEnd","right","top","bottom"].includes(t)}},visible:{type:Boolean,default:!0},visual:{type:Function,default:void 0},from:{type:Object,default:function(){}},to:{type:Object,default:function(){}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"labels"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"labels"}},[r])}};e.ChartNavigatorSeriesLabelsVue2=c;var p=c;e.ChartNavigatorSeriesLabels=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesHighlightVue2=e.ChartNavigatorSeriesHighlight=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesHighlight",props:{border:{type:Object,default:function(){}},color:String,line:{type:Object,default:function(){}},opacity:Number,toggle:{type:Function,default:void 0},visible:{type:Boolean,default:void 0},visual:{type:Function,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"highlight"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"highlight"}},[r])}};e.ChartNavigatorSeriesHighlightVue2=c;var p=c;e.ChartNavigatorSeriesHighlight=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesExtremesVue2=e.ChartNavigatorSeriesExtremes=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesExtremes",props:{background:String,border:{type:Object,default:function(){}},rotation:Number,size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"extremes"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"extremes"}},[r])}};e.ChartNavigatorSeriesExtremesVue2=c;var p=c;e.ChartNavigatorSeriesExtremes=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesErrorBarsVue2=e.ChartNavigatorSeriesErrorBars=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesErrorBars",props:{color:String,endCaps:{type:Boolean,default:void 0},line:{type:Object,default:function(){}},value:String,visual:{type:Function,default:void 0},xValue:String,yValue:String},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"errorBars"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"errorBars"}},[r])}};e.ChartNavigatorSeriesErrorBarsVue2=c;var p=c;e.ChartNavigatorSeriesErrorBars=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesLabelsFromVue2=e.ChartNavigatorSeriesLabelsFrom=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesLabelsFrom",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"from"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"from"}},[r])}};e.ChartNavigatorSeriesLabelsFromVue2=c;var p=c;e.ChartNavigatorSeriesLabelsFrom=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesLabelsToVue2=e.ChartNavigatorSeriesLabelsTo=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesLabelsTo",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,margin:{type:[Object,Number],default:function(){}},padding:{type:[Object,Number],default:function(){}},position:{type:String,default:function(){},validator:function(t){return["center","insideBase","insideEnd","outsideEnd"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"to"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"to"}},[r])}};e.ChartNavigatorSeriesLabelsToVue2=c;var p=c;e.ChartNavigatorSeriesLabelsTo=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesLabelVue2=e.ChartNavigatorSeriesNotesLabel=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesNotesLabel",props:{background:String,border:{type:Object,default:function(){}},color:String,content:{type:Function,default:void 0},font:String,format:String,position:{type:String,default:void 0,validator:function(t){return["inside","outside"].includes(t)}},rotation:Number,visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"label"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"label"}},[r])}};e.ChartNavigatorSeriesNotesLabelVue2=c;var p=c;e.ChartNavigatorSeriesNotesLabel=p},function(t,e,r){"use strict";var i=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]},o=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},n=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.hasOwnProperty.call(t,r)&&i(e,t,r);return o(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.ChartNavigatorSeriesNotesIconVue2=e.ChartNavigatorSeriesNotesIcon=void 0;var a=n(r(2)).h,s=r(4),u=r(1),l=r(3),c={name:"KendoChartNavigatorSeriesNotesIcon",props:{background:String,border:{type:Object,default:function(){}},size:Number,type:{type:String,default:function(){},validator:function(t){return["square","circle","triangle","cross"].includes(t)}},visible:{type:Boolean,default:void 0}},setup:a?function(){return{v3:!!a}}:void 0,render:function(t){var e=a||t,r=u.getDefaultSlots(this),i=l.removeUndefinedProps(this.$props);return this.v3?e(s.Configuration,{config:i,chartKey:"icon"},(function(){return r})):e(s.Configuration,{props:{config:i,chartKey:"icon"}},[r])}};e.ChartNavigatorSeriesNotesIconVue2=c;var p=c;e.ChartNavigatorSeriesNotesIcon=p},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(11);Object.defineProperty(e,"AxisLabelClickEvent",{enumerable:!0,get:function(){return i.AxisLabelClickEvent}});var o=r(13);Object.defineProperty(e,"DragEndEvent",{enumerable:!0,get:function(){return o.DragEndEvent}});var n=r(12);Object.defineProperty(e,"DragEvent",{enumerable:!0,get:function(){return n.DragEvent}});var a=r(14);Object.defineProperty(e,"DragStartEvent",{enumerable:!0,get:function(){return a.DragStartEvent}});var s=r(16);Object.defineProperty(e,"LegendItemClickEvent",{enumerable:!0,get:function(){return s.LegendItemClickEvent}});var u=r(15);Object.defineProperty(e,"LegendItemHoverEvent",{enumerable:!0,get:function(){return u.LegendItemHoverEvent}});var l=r(17);Object.defineProperty(e,"NavigatorFilterEvent",{enumerable:!0,get:function(){return l.NavigatorFilterEvent}});var c=r(18);Object.defineProperty(e,"NoteClickEvent",{enumerable:!0,get:function(){return c.NoteClickEvent}});var p=r(19);Object.defineProperty(e,"NoteHoverEvent",{enumerable:!0,get:function(){return p.NoteHoverEvent}});var h=r(20);Object.defineProperty(e,"PlotAreaClickEvent",{enumerable:!0,get:function(){return h.PlotAreaClickEvent}});var f=r(21);Object.defineProperty(e,"PlotAreaHoverEvent",{enumerable:!0,get:function(){return f.PlotAreaHoverEvent}});var d=r(22);Object.defineProperty(e,"RenderEvent",{enumerable:!0,get:function(){return d.RenderEvent}});var v=r(24);Object.defineProperty(e,"SelectEndEvent",{enumerable:!0,get:function(){return v.SelectEndEvent}});var g=r(23);Object.defineProperty(e,"SelectEvent",{enumerable:!0,get:function(){return g.SelectEvent}});var y=r(25);Object.defineProperty(e,"SelectStartEvent",{enumerable:!0,get:function(){return y.SelectStartEvent}});var m=r(26);Object.defineProperty(e,"SeriesClickEvent",{enumerable:!0,get:function(){return m.SeriesClickEvent}});var b=r(27);Object.defineProperty(e,"SeriesHoverEvent",{enumerable:!0,get:function(){return b.SeriesHoverEvent}});var x=r(29);Object.defineProperty(e,"ZoomEndEvent",{enumerable:!0,get:function(){return x.ZoomEndEvent}});var _=r(28);Object.defineProperty(e,"ZoomEvent",{enumerable:!0,get:function(){return _.ZoomEvent}});var C=r(30);Object.defineProperty(e,"ZoomStartEvent",{enumerable:!0,get:function(){return C.ZoomStartEvent}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.exportVisual=e.findPaneByName=e.findPaneByIndex=e.findAxisByName=void 0;e.findAxisByName=function(t,e){if(t&&null!==t.chartInstance())return t.chartInstance().findAxisByName(e)};e.findPaneByIndex=function(t,e){if(t&&null!==t.chartInstance())return t.chartInstance().findPaneByIndex(e)};e.findPaneByName=function(t,e){if(t&&null!==t.chartInstance())return t.chartInstance().findPaneByName(e)};e.exportVisual=function(t,e){if(void 0===e&&(e={}),t&&null!==t.chartInstance())return t.chartInstance().exportVisual(e)}},function(t,e,r){"use strict";r.r(e),r.d(e,"Popup",(function(){return Et})),r.d(e,"PopupVue2",(function(){return Nt}));var i=r(2),o=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginTop),i=parseFloat(e.marginBottom);return t.offsetHeight+r+i},n=function(t){if(!t)return 0;var e=t.ownerDocument.defaultView.getComputedStyle(t),r=parseFloat(e.marginLeft),i=parseFloat(e.marginRight);return t.offsetWidth+r+i},a={"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"},s=r(1),u=function(){return(u=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},l=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r},c=i,p=c.h,h=c.ref,f=c.Transition,d=a,v={props:{in:Boolean,transitionName:{type:String,required:!0},transitionStyle:Object,componentChildClassName:[Array],className:String,appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:Number,transitionExitDuration:Number,mountOnEnter:Boolean,unmountOnExit:Boolean,animationEnteringStyle:Object,animationEnteredStyle:Object,animationExitingStyle:Object,animationExitedStyle:Object},created:function(){this.animationStep=""},setup:p?function(){return{v3:!!p,elementRef:h(null)}}:void 0,mounted:function(){this._element=this.v3?this.elementRef||null:this.$refs.element||null},computed:{element:{get:function(){return this._element}}},methods:{onBeforeEnter:function(t){this.$emit("beforeenter",{animatedElement:t,target:this})},onEnter:function(t){this.animationStep="entering",this.$emit("entering",{animatedElement:t,target:this})},onAfterEnter:function(t){this.animationStep="entered",this.$emit("entered",{animatedElement:t,target:this})},onBeforeLeave:function(t){this.$emit("exit",{animatedElement:t,target:this})},onLeave:function(t){this.animationStep="exiting",this.$emit("exiting",{animatedElement:t,target:this})},onAfterLeave:function(t){this.animationStep="exited",this.$emit("exited",{animatedElement:t,target:this})}},render:function(t){var e=this,r=p||t,i=this.$props,o=i.appear,n=i.enter,a=i.exit,c=i.transitionName,h=i.transitionEnterDuration,v=i.transitionExitDuration,g=(i.className,i.componentChildClassName),y=(i.mountOnEnter,i.unmountOnExit,i.animationEnteringStyle),m=i.animationEnteredStyle,b=i.animationExitingStyle,x=i.animationExitedStyle,_=(l(i,["appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","componentChildClassName","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),Object(s.getDefaultSlots)(this)),C=this.v3?o:!!_,w=this.v3?f:"transition",S=[g,d["child-animation-container"]],O=n?h:0,P=a?v:0,A=[u({transitionDelay:"0ms",transitionDuration:C?O+"ms":P+"ms"},this.$props.transitionStyle),{entering:u({transitionDuration:O+"ms"},y),entered:u({},m),exiting:u({transitionDuration:P+"ms"},b),exited:u({},x)}[this.animationStep]],j={enter:O,leave:P},k=[C?r("div",{style:A,class:S,ref:this.v3?function(t){e.elementRef=t}:"element"},[_]):null];return r(w,{duration:j,attrs:this.v3?null:{duration:j,name:c,appear:o,appearClass:d[c+"-appear"]||c+"-appear",appearToClass:d[c+"-appear-active"]||c+"-appear-active",enterClass:d[c+"-enter"]||c+"-enter",enterToClass:d[c+"-enter-active"]||c+"-enter-active",leaveClass:d[c+"-exit"]||c+"-exit",leaveToClass:d[c+"-exit-active"]||c+"-exit-active"},name:c,appear:o,appearFromClass:d[c+"-appear"]||c+"-appear",enterFromClass:d[c+"-enter"]||c+"-enter",leaveFromClass:d[c+"-exit"]||c+"-exit",appearToClass:d[c+"-appear-active"]||c+"-appear-active",enterToClass:d[c+"-enter-active"]||c+"-enter-active",leaveToClass:d[c+"-exit-active"]||c+"-exit-active",onBeforeEnter:this.onBeforeEnter,on:this.v3?null:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave},onEnter:this.onEnter,onAfterEnter:this.onAfterEnter,onBeforeLeave:this.onBeforeLeave,onLeave:this.onLeave,onAfterLeave:this.onAfterLeave},this.v3?function(){return k}:k)}},g={name:"@progress/kendo-vue-animation",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1653913738,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},y=function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r},m=i.h,b=a,x={props:{childFactory:Object,className:String,tag:String,id:String,animationEnteringStyle:Object,animationExitingStyle:Object,componentChildClassName:[Array],transitionName:{type:String,required:!0},appear:{type:Boolean,default:!0},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number},transitionExitDuration:{type:Number}},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:m?function(){return{v3:!!m}}:void 0,created:function(){Object(s.validatePackage)(g)},render:function(t){var e=m||t,r=Object(s.getDefaultSlots)(this),i=this.$props,o=(i.id,i.tag,i.className),n=(i.childFactory,i.stackChildren,i.componentChildStyle,i.componentChildClassName,y(i,["id","tag","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),[b["animation-container"],b["animation-container-relative"],o]);return e("div",{id:this.$props.id,attrs:this.v3?void 0:{id:this.$props.id},class:n},[e(v,{key:"some",appear:this.$props.appear,attrs:this.v3?void 0:{appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},enter:this.$props.enter,exit:this.$props.exit,transitionName:this.$props.transitionName,componentChildClassName:this.$props.componentChildClassName,onBeforeenter:this.onEnter,on:this.v3?void 0:{beforeenter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,animationEnteringStyle:this.$props.animationEnteringStyle,animationExitingStyle:this.$props.animationExitingStyle,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[r]}:[r])])}},_=i.h,C=(Boolean,Boolean,Boolean,function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r}),w=i.h,S=(Boolean,Boolean,Boolean,i.h),O={position:"absolute",top:"0",left:"0"},P=(Boolean,Boolean,Boolean,function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r}),A=i.h,j={props:{appear:{type:Boolean,default:!1},enter:{type:Boolean,default:!0},exit:{type:Boolean,default:!0},transitionEnterDuration:{type:Number,default:300},transitionExitDuration:{type:Number,default:300},componentChildClassName:[Array],childFactory:Object,className:String,direction:{type:String,default:"down"},tag:String,id:String},methods:{onEntering:function(t){this.$emit("entering",t)},onEnter:function(t){this.$emit("enter",t)},onEntered:function(t){this.$emit("entered",t)},onExit:function(t){this.$emit("exit",t)},onExiting:function(t){this.$emit("exiting",t)},onExited:function(t){this.$emit("exited",t)}},setup:A?function(){return{v3:!!A}}:void 0,render:function(t){var e=A||t,r=Object(s.getDefaultSlots)(this),i=this.$props,o=(i.direction,i.id),n=(P(i,["direction","id"]),"slide-"+this.$props.direction);return e(x,{id:o,attrs:this.v3?void 0:{id:o,transitionName:n,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},transitionName:n,componentChildClassName:this.$props.componentChildClassName,appear:this.$props.appear,enter:this.$props.enter,exit:this.$props.exit,onEnter:this.onEnter,on:this.v3?void 0:{enter:this.onEnter,entering:this.onEntering,entered:this.onEntered,exit:this.onExit,exiting:this.onExiting,exited:this.onExited},onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited,transitionEnterDuration:this.$props.transitionEnterDuration,transitionExitDuration:this.$props.transitionExitDuration},this.v3?function(){return[r]}:[r])}},k=i.h,T={position:"absolute",top:"0",left:"0"},M=(Boolean,Boolean,Boolean,Boolean,function(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o<i.length;o++)e.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(r[i[o]]=t[i[o]])}return r}),V=i.h,N=function(){},E=(Boolean,Boolean,Boolean,"bottom"),L="center",D="middle",B="left",I="right",R="top",z=function(t){var e=t.anchorRect,r=t.anchorAlign,i=t.elementRect,o=t.elementAlign,n=t.margin;void 0===n&&(n={});var a=r.horizontal,s=r.vertical,u=o.horizontal,l=o.vertical,c=n.horizontal||0,p=n.vertical||0,h=e.top,f=e.left;return s===E&&(h+=e.height),s!==L&&s!==D||(h+=Math.round(e.height/2)),l===E&&(h-=i.height,p*=-1),l!==L&&l!==D||(h-=Math.round(i.height/2),p*=-1),a===I&&(f+=e.width),a!==L&&a!==D||(f+=Math.round(e.width/2)),u===I&&(f-=i.width,c*=-1),u!==L&&u!==D||(f-=Math.round(i.width/2),c*=-1),{top:h+p,left:f+c}};function F(t,e){return{top:t.top+e.y,left:t.left+e.x,height:t.height,width:t.width}}function H(t){return t.ownerDocument||t.document||t}var U=function(t){return H(t).defaultView},K=function(t){return H(t).documentElement},$=0;function G(){if(!$&&"undefined"!=typeof document){var t=document.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML="&nbsp;",document.body.appendChild(t),$=t.offsetWidth-t.scrollWidth,document.body.removeChild(t)}return $}function X(t){var e=U(t),r=K(t),i={height:e.innerHeight,width:e.innerWidth};return r.scrollHeight-r.clientHeight>0&&(i.width-=G()),i}var Y=function(t){if(!t.getBoundingClientRect){var e=X(t);return{bottom:e.height,left:0,right:e.width,top:0}}var r=t.getBoundingClientRect();return{bottom:r.bottom,left:r.left,right:r.right,top:r.top}},W=function(t){for(var e=t.offsetParent;e&&"static"===e.style.position;)e=e.offsetParent;return e||K(t)},q=function(t){return W(t)===t.ownerDocument.body},Z=function(t){var e=t.getBoundingClientRect(),r=e.left,i=e.top;return e.height||e.width||(e=function(t){var e=t.style,r=e.display,i=e.left,o=e.position;t.style.display="",t.style.left="-10000px",t.style.position="absolute";var n=t.getBoundingClientRect();return t.style.display=r,t.style.left=i,t.style.position=o,n}(t)),{top:i,left:r,height:e.height,width:e.width}},Q=function(t,e){for(var r=[],i=t.parentNode;i&&(r.push(i),i!==e);)i=i.parentNode;return r};function J(t){var e=K(t),r=U(t);return{x:r.pageXOffset||e.scrollLeft||0,y:r.pageYOffset||e.scrollTop||0}}var tt=function(t){return t===(t.ownerDocument||{}).body?J(t):{x:t.scrollLeft,y:t.scrollTop}};var et=function(t,e){var r=U(t),i=r.getComputedStyle(t),o=Z(t),n=e||W(t),a=t.ownerDocument,s=n!==a.body&&n!==a.documentElement,u={top:0,left:0};if("fixed"!==i.position&&s){var l=r.getComputedStyle(n);(u=Z(n)).top+=parseInt(l.borderTopWidth,10),u.left+=parseInt(l.borderLeftWidth,10)}return{top:o.top-u.top,left:o.left-u.left,height:o.height,width:o.width}},rt=function(t,e){return t?tt(t):function(t){var e=W(t);return e?tt(e):{x:0,y:0}}(e)},it=function(t,e,r){void 0===r&&(r=1);var i=e?W(e):null,o=et(t,i),n=o.top,a=o.left,s=o.height,u=o.width,l=rt(i,t),c=l.x,p=l.y,h=t.ownerDocument,f=i===h.body||i===h.documentElement?1:r;return{top:n+p*f,left:a+c*f,height:s,width:u}};function ot(t,e){return{top:t.top-e.y,left:t.left-e.x,height:t.height,width:t.width}}var nt="fit",at="flip",st=function(t,e,r){var i=0;return t+e>r&&(i=r-(t+e)),t<0&&(i=-t),i},ut=function(t){var e=t.offset,r=t.size,i=t.anchorSize,o=t.viewPortSize,n=t.anchorAlignPoint,a=t.elementAlignPoint,s=0,u=2*t.margin;if(a!==n&&!(a===L||a===D)&&!(n===L||n===D)){var l=n===R||n===B;e<0&&l?e+(s=r+i+u)+r>o&&(s=0):e>=0&&!l&&(e+r>o&&(s+=-(i+r+u)),e+s<0&&(s=0))}return s},lt=function(t){var e=t.anchorRect,r=t.anchorAlign,i=t.elementRect,o=t.elementAlign,n=t.collisions,a=t.viewPort,s=t.margin;void 0===s&&(s={});var u=i.top,l=i.left,c=i.height,p=i.width,h=a.height,f=a.width,d=s.horizontal||0,v=s.vertical||0,g=0,y=0,m=n.vertical===nt,b=n.horizontal===nt,x=n.vertical===at,_=n.horizontal===at;m&&(y+=st(u,c,h)),b&&(g+=st(l,p,f)),x&&(y+=ut({margin:v,offset:u,size:c,anchorSize:e.height,viewPortSize:h,anchorAlignPoint:r.vertical,elementAlignPoint:o.vertical})),_&&(g+=ut({margin:d,offset:l,size:p,anchorSize:e.width,viewPortSize:f,anchorAlignPoint:r.horizontal,elementAlignPoint:o.horizontal}));var C=x&&0!==y,w=_&&0!==g,S=m&&0!==y,O=b&&0!==g;return{flipped:w||C,fitted:S||O,flip:{horizontal:w,vertical:C},fit:{horizontal:O,vertical:S},offset:{left:g,top:y}}},ct=function(t){for(var e=[],r=t.parentNode.firstElementChild;r;)r!==t&&e.push(r),r=r.nextElementSibling;return e},pt=function(t,e){for(var r,i,o=Q(t),n=e;n&&(r=ct(n),!(i=o.reduce((function(t,e){return t.concat(r.filter((function(t){return t===e})))}),[])[0]));)n=n.parentElement;return i};ht=function(t){if(!vt())return!1;var e=t?t.ownerDocument:document;if(!e||!e.body)return!1;var r=e.createElement("div");r.style.transform="matrix(10, 0, 0, 10, 0, 0)",r.innerHTML='<div style="position: fixed; top: 10px;">child</div>',e.body.appendChild(r);var i=10!==r.children[0].getBoundingClientRect().top;return e.body.removeChild(r),i},dt=!1;var ht,ft,dt,vt=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)},gt=function(t,e){return t||{height:0,left:e.left,top:e.top,width:0}},yt=function(){return"undefined"!=typeof document&&!!document.body},mt=function(){return"undefined"!=typeof window},bt=/auto|scroll/,xt=function(t){var e=window.getComputedStyle(t);return""+e.overflow+e.overflowX+e.overflowY},_t=function(){if(!yt())return!1;var t=document.createElement("div");if(t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML="<div>child</div>",document.body.appendChild(t),t&&t.firstChild){var e=t.firstChild;e.style.position="fixed",e.style.top="10px"}var r=10!==t.children[0].getBoundingClientRect().top;return document.body.removeChild(t),r}(),Ct="fit",wt="flip",St="left",Ot="bottom",Pt="top",At=function(){function t(t){this._dom=t}return t.prototype.alignElement=function(t){var e=t.anchor,r=t.element,i=t.anchorAlign,o=t.elementAlign,n=t.offset,a=!this._dom.hasOffsetParent(r)?this.absoluteRect(e,r,n):this.relativeRect(e,r,n);return this._dom.align({anchorAlign:i,anchorRect:a,elementAlign:o,elementRect:this._dom.offset(r)})},t.prototype.absoluteRect=function(t,e,r){var i=this._dom,o=function(t,e){return e?{height:t.height,left:t.left-e.left,top:t.top-e.top,width:t.width}:t}(gt(i.offset(t),r),i.stackingElementOffset(e)),n=i.stackingElementScroll(e),a=i.addScroll(o,n),s=this.elementScrollPosition(t,e),u=i.removeScroll(a,s);return u.left+=window.scrollX||window.pageXOffset,u.top+=window.scrollY||window.pageYOffset,u},t.prototype.elementScrollPosition=function(t,e){return t?{x:0,y:0}:this._dom.scrollPosition(e)},t.prototype.relativeRect=function(t,e,r){return gt(this._dom.position(t,e),r)},t}(),jt=function(){function t(){}return t.prototype.addOffset=function(t,e){return{left:t.left+e.left,top:t.top+e.top}},t.prototype.align=function(t){return z(t)},t.prototype.boundingOffset=function(t){return Y(t)},t.prototype.getWindow=function(){return mt()?window:null},t.prototype.isBodyOffset=function(t){return q(t)},t.prototype.hasOffsetParent=function(t){if(!t)return!1;var e=t.offsetParent;return e&&!("BODY"===e.nodeName&&"static"===window.getComputedStyle(e).position)},t.prototype.offset=function(t){return t?Z(t):null},t.prototype.staticOffset=function(t){if(!t)return null;var e=t.style,r=e.left,i=e.top;t.style.left="0px",t.style.top="0px";var o=Z(t);return t.style.left=r,t.style.top=i,o},t.prototype.position=function(t,e){if(!t||!e)return null;var r=pt(t,e);return it(t,r)},t.prototype.relativeOffset=function(t,e){return r=this.offset(t),i=e,o=this.isBodyOffset(t),n=r.top,a=r.left,o&&(a=0,n=0),{top:n+i.top,left:a+i.left,height:r.height,width:r.width};var r,i,o,n,a},t.prototype.addScroll=function(t,e){return F(t,e)},t.prototype.removeScroll=function(t,e){return ot(t,e)},t.prototype.restrictToView=function(t){return lt(t)},t.prototype.scrollPosition=function(t){return J(t)},t.prototype.scrollableParents=function(t){return function(t){var e=[];if(!yt()||!mt())return e;for(var r=t.parentElement;r;)bt.test(xt(r))&&e.push(r),r=r.parentElement;return e.push(window),e}(t)},t.prototype.stackingElementOffset=function(t){var e=this.getRelativeContextElement(t);return e?Z(e):null},t.prototype.stackingElementScroll=function(t){var e=this.getRelativeContextElement(t);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},t.prototype.stackingElementViewPort=function(t){var e=this.getRelativeContextElement(t);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},t.prototype.getRelativeContextElement=function(t){if(!t||!_t)return null;for(var e=t.parentElement;e;){if("none"!==window.getComputedStyle(e).transform)return e;e=e.parentElement}return null},t.prototype.useRelativePosition=function(t){return!!this.getRelativeContextElement(t)},t.prototype.windowViewPort=function(t){return X(t)},t.prototype.zIndex=function(t,e){return function(t,e){if(!t||!yt()||!mt())return null;var r=pt(t,e);if(!r)return null;var i=[t].concat(Q(t,r)).reduce((function(t,e){var r=e.style.zIndex||window.getComputedStyle(e).zIndex,i=parseInt(r,10);return i>t?i:t}),0);return i?i+1:null}(t,e)},t.prototype.zoomLevel=function(){return yt()&&mt()?parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2)):1},t.prototype.isZoomed=function(){return this.zoomLevel()>1},t}(),kt=function(){function t(t){this._dom=t}return t.prototype.positionElement=function(t){var e,r,i=t.anchor,o=t.currentLocation,n=t.element,a=t.anchorAlign,s=t.elementAlign,u=t.collisions,l=this._dom,c=t.viewPort||l.stackingElementViewPort(n)||l.windowViewPort(n),p=gt(l.offset(i),o),h=(e=l.staticOffset(n),(r=o)?{height:e.height,left:r.left,top:r.top,width:e.width}:e),f=this.elementRect(n,h),d=l.restrictToView({anchorAlign:a,anchorRect:p,collisions:u,elementAlign:s,elementRect:f,viewPort:c});return{flipped:d.flipped,offset:l.addOffset(h,d.offset)}},t.prototype.elementRect=function(t,e){return this._dom.removeScroll(e,this._dom.scrollPosition(t))},t}(),Tt={name:"@progress/kendo-vue-popup",productName:"Kendo UI for Vue",productCodes:["KENDOUIVUE","KENDOUICOMPLETE"],publishDate:1653913755,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"},Mt=i.h,Vt={left:-1e3,top:0},Nt={name:"Popup",props:{appendTo:{type:String,default:""},anchor:{type:String,default:""},className:String,id:String,popupClass:String,collision:{type:Object,default:function(){return{horizontal:Ct,vertical:wt}}},anchorAlign:{type:Object,default:function(){return{horizontal:St,vertical:Ot}}},popupAlign:{type:Object,default:function(){return{horizontal:St,vertical:Pt}}},offset:{type:Object,default:function(){return Vt}},show:{type:Boolean,default:!1},animate:{type:[Boolean,Object],default:function(){return!0}},direction:{type:String,default:"down"},transition:{type:String,default:"expand"}},inject:{kCurrentZIndex:{default:null}},data:function(){return{hasMounted:!1}},created:function(){Object(s.validatePackage)(Tt),this.mountedAppendTo=void 0,this.mountedAnchor=void 0,this._initiallyMountedContent=void 0,this._flipped=!1,this._offsetTop=0,this._offsetLeft=-1e3,this._exitingAnimation=!1,this._prevShow=!1,this._prevShow=this.$props.show,this._domService=new jt,this._alignService=new At(this._domService),this._positionService=new kt(this._domService),this.reposition=function(t,e,r){var i,o,n,a;void 0===r&&(r={});var s=0;r=r||{};var u=function(){s=!1===r.leading?0:(new Date).getTime(),i=null,a=t.apply(o,n),i||(o=n=null)};return function(){var l=(new Date).getTime();s||!1!==r.leading||(s=l);var c=e-(l-s);return o=this,n=arguments,c<=0||c>e?(i&&(clearTimeout(i),i=null),s=l,a=t.apply(o,n),i||(o=n=null)):i||!1===r.trailing||(i=setTimeout(u,c)),a}}(this.reposition.bind(this),1e3/60)},setup:Mt?function(){return{v3:!!Mt}}:void 0,mounted:function(){s.canUseDOM&&(this.mountedAppendTo=this.$props.appendTo?this.getParentRef(this.$props.appendTo):document.body,this.mountedAnchor=this.$props.anchor?this.getParentRef(this.$props.anchor):document.body),this._parentElement=this.$el.parentElement,this._initiallyMountedContent=this.$el.cloneNode(!0),this.hasMounted=!0,this.mountedAppendTo.appendChild(this.$el)},updated:function(){this._prevShow=this.$props.show},destroyed:Mt?void 0:function(){this.detachRepositionHandlers()},beforeDestroy:Mt?void 0:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},unmounted:function(){this.detachRepositionHandlers()},beforeUnmount:function(){this._parentElement&&this._parentElement.appendChild(this.$el)},methods:{onOpened:function(){var t=this.$el;this.$props.show&&t.classList.add("k-animation-container-shown"),this.attachRepositionHandlers(t),this.$emit("open",{target:this})},onClosing:function(){this.$props.show||this.$el.classList.remove("k-animation-container-shown");this.detachRepositionHandlers()},onClosed:function(){this._exitingAnimation&&(this._exitingAnimation=!1,this.$forceUpdate()),this.$emit("close",{target:this})},transitionDuration:function(){var t=this.$props.animate,e=0,r=0;return t&&(!0===t?e=r=void 0:(e=t.openDuration,r=t.closeDuration)),{transitionEnterDuration:e,transitionExitDuration:r}},getParentRef:function(t){for(var e=this.$parent;!e.$refs[t];){if(e&&e.kendoAnchorRef)return e.kendoAnchorRef;if(!(e=e.$parent)&&s.canUseDOM)return document.body}return e.$refs[t].$el||e.$refs[t]},position:function(t,e,r){var i=t.anchorAlign,o=t.popupAlign,n=t.collision,a=t.offset,s=r?this.v3?this.mountedAnchor:this.getParentRef(r):document.body,u=this._alignService.alignElement({anchor:r?s:void 0,element:e,elementAlign:o,anchorAlign:i,offset:a});return this._positionService.positionElement({anchor:s,anchorAlign:i,collisions:n,element:e,currentLocation:u,elementAlign:o})},calculatePosition:function(t,e){if(!e||!mt()||!s.canUseDOM)return{flipped:!1,offset:t.offset};var r=Object(s.getDefaultSlots)(this),i=document.createElement("div"),o=this.$el&&this.$el.firstChild&&this.$el.firstChild.firstChild?this.$el.firstChild.firstChild.cloneNode(!0):null,n=o&&o.getBoundingClientRect?o:this._initiallyMountedContent;if(n)i.appendChild(n);else{var a=this.v3?r&&r[0].props?r[0].props.class:"":r&&r[0].data?r[0].data.staticClass:"",u=this.v3?this.$props.popupClass?this.$props.popupClass:"":r&&r[0].data?r[0].data.class:"";i.innerHTML='<div class="k-animation-container k-animation-container-relative">\t\n <div class="k-popup k-animation-container k-animation-container-relative">\n <div class="'+a+" "+u+'" >\n </div>\t\n </div>\t\n </div>'}if(e.appendChild(i),i&&i.firstChild){var l=i.firstChild;l.style.position="absolute",l.style.visibility="hidden",l.style.display="block",l.style.left="-1000",l.style.top="0";var c=this.v3?r&&r[0].props?r[0].props.style:{}:r[0].data?r[0].data.style:{};if(c)for(var p=0,h=Object.entries(c);p<h.length;p++){var f=h[p],d=f[0],v=f[1];l.style[d]=v}}var g=this.position(t,i.firstChild,this.$props.anchor);return i.parentNode.removeChild(i),g},attachRepositionHandlers:function(t){var e=this;this.detachRepositionHandlers(),this._scrollableParents=this._domService.scrollableParents(this.$props.anchor?this.mountedAnchor:t),this._scrollableParents.map((function(t){return t.addEventListener("scroll",e.reposition)})),window.addEventListener("resize",this.reposition)},detachRepositionHandlers:function(){var t=this;this._scrollableParents&&(this._scrollableParents.map((function(e){return e.removeEventListener("scroll",t.reposition)})),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},reposition:function(){this.$forceUpdate()},getCurrentZIndex:function(){return this.kCurrentZIndex?this.kCurrentZIndex+1:100}},render:function(t){var e=Mt||t,r=this.$props,i=r.className,o=r.popupClass,n=r.show,a=r.id,u=Object(s.getDefaultSlots)(this),l=this.v3||n?u:null,c=mt()?this.$props.appendTo?this.mountedAppendTo||this.getParentRef(this.$props.appendTo):document.body:void 0;if(this.$props.show){var p=this.calculatePosition(this.$props,c);this._offsetLeft=p.offset.left,this._offsetTop=p.offset.top,this._flipped=!!p.flipped}var h=this._flipped?"up":"down",f=this.transitionDuration(),d=f.transitionEnterDuration,v=f.transitionExitDuration,g=this.getCurrentZIndex();return this._exitingAnimation=this._exitingAnimation||this._prevShow&&!n,this.hasMounted?n||this._exitingAnimation&&c?e(j,{id:a,attrs:this.v3?void 0:{id:a,componentChildClassName:[o,"k-popup"],className:i,direction:h,transitionEnterDuration:d,transitionExitDuration:v,appear:n},componentChildClassName:[o,"k-popup"],className:i,onEntered:this.onOpened,on:this.v3?void 0:{entered:this.onOpened,exiting:this.onClosing,exited:this.onClosed},onExiting:this.onClosing,onExited:this.onClosed,direction:h,style:{zIndex:g,position:"absolute",top:this._offsetTop+"px",left:this._offsetLeft+"px"},transitionEnterDuration:d,transitionExitDuration:v,appear:n},this.v3?function(){return[l]}:[l]):null:e("div",{style:{display:"none"},class:i},[e("div",{class:[o,"k-popup"]},[u])])}},Et=Nt}])}));