PageSourceSearch

https://dashboard.rasa.io/vendors~app~0bfb5f78.e2ce8f66c55e50133dc8.bundle.js

js rasa.io collected 2026-10-01 11:37:50 UTC 58,281 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{nFUY:function(t,e,i){"use strict";i.d(e,"a",function(){return v}),i.d(e,"b",function(){return m}),i.d(e,"c",function(){return w});var o={format:function(t,e){return e},toString:function(t){return t},parseDate:function(t){return new Date(t)}},n=function(){},r={implementation:{configurable:!0}};n.register=function(t){o=t},r.implementation.get=function(){return o},Object.defineProperties(n,r);var s=n,a=i("cuZG"),c=i("j82y"),l=/\{(\d+)(:[^\}]+)?\}/g,p=function(t){this._intlService=t},u={intl:{configurable:!0}};u.intl.get=function(){return this._intlService||s.implementation},u.intl.set=function(t){this._intlService=t},p.prototype.auto=function(t){for(var e=[],i=arguments.length-1;i-- >0;)e[i]=arguments[i+1];var o=this.intl;return Object(c.D)(t)&&t.match(a.o)?o.format.apply(o,[t].concat(e)):o.toString(e[0],t)},p.prototype.localeAuto=function(t,e,i){var o=this.intl;return Object(c.D)(t)&&t.match(a.o)?t.replace(l,function(t,n,r){var s=e[parseInt(n,10)];return o.toString(s,r?r.substring(1):"",i)}):o.toString(e[0],t,i)},Object.defineProperties(p.prototype,u);var h=p,f=function(t,e){void 0===e&&(e={}),this._intlService=e.intlService,this.sender=e.sender||t,this.format=new h(e.intlService),this.chart=t,this.rtl=Boolean(e.rtl)},d={intl:{configurable:!0}};d.intl.get=function(){return this._intlService||s.implementation},d.intl.set=function(t){this._intlService=t,this.format.intl=t},f.prototype.notify=function(t,e){this.chart&&this.chart.trigger(t,e)},f.prototype.isPannable=function(t){var e=((this.chart||{}).options||{}).pannable;return e&&e.lock!==t},Object.defineProperties(f.prototype,d);var g,v=f,y=function(){};y.register=function(t){g=t},y.create=function(t,e){if(g)return g.create(t,e)};var m=y,b={compile:function(t){return t}},_=function(){};_.register=function(t){b=t},_.compile=function(t){return b.compile(t)};var w=_},pabA:function(t,e,i){"use strict";i.d(e,"b",function(){return v}),i.d(e,"d",function(){return G}),i.d(e,"c",function(){return Ft}),i.d(e,"a",function(){return Lt});var o,n,r,s,a,c=function(t){return null!=t},l=function(t){return null==t},p=function(t){return Array.isArray(t)},u=function(t){return"function"==typeof t},h=function(t){return"string"==typeof t},f=function(t){return!function(t){return l(t)||0===t.trim().length}(t)},d=function(t){return!isNaN(t-parseFloat(t))},g=function(t){return t&&t.getTime},v=function(t){return c(t.filters)},y=i("mrSG"),m=function(t,e,i){return function(o){return t(o)?e(o):i(o)}},b=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduceRight(function(t,e){return e(t)},e)}},_=function(t){return function(e){for(var i=[],o=1;o<arguments.length;o++)i[o-1]=arguments[o];return t()?""+e[0]+i[0]+e[1]:i[0]}},w=function(t){return new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},x=function(t){var e=t.field,i=t.value,o=t.ignoreCase,n=t.operator;return{value:"'"+i.replace(/'/g,"''")+"'",field:e,ignoreCase:o,operator:n}},j=function(t){var e=t.field,i=t.value,o=t.ignoreCase,n=t.operator;return{value:""+encodeURIComponent(i),field:e,ignoreCase:o,operator:n}},O=function(t){var e=t.field,i=t.value,n=t.ignoreCase,r=t.operator;return{field:_(function(){return n})(o||(o=y.e(["tolower(",")"],["tolower(",")"])),e),value:i,ignoreCase:n,operator:r}},k=function(t){var e=t.field,i=t.value,o=t.ignoreCase,n=t.operator;return{value:i,field:e.replace(/\./g,"/"),ignoreCase:o,operator:n}},A=function(t){return h(t.value)},S=function(t){return g(t.value)},T=function(t,e){return function(i){return _(function(){return i.filters.length>1})(n||(n=y.e(["(",")"],["(",")"])),i.filters.map(t).join(e(i)))}},R=function(t){var e=t.operator;return function(t){var i=t.field,o=t.value;return i+" "+e+" "+o}},z=function(t){return b(t,j,x,O,k)},C=function(t){return z((e=t.operator,function(t){var i=t.field,o=t.value;return e+"("+i+","+o+")"}));var e},P=function(t){return b(R(t),k,(e=t.utcDates,function(t){var i=t.field,o=t.value,n=t.ignoreCase,r=t.operator;return{value:JSON.stringify(e?o:w(o)).replace(/"/g,""),field:i,ignoreCase:n,operator:r}}));var e},M=function(t){return m(S,P(t),function(t){return b(R(t),k)}(t))},D=function(t){return m(A,function(t){return z(R(t))}(t),M(t))},E=function(t){return t+" eq -1"},B=function(t){return b(t,k)},U=function(t){return" "+t.logic+" "},L=function(t){return function(e){return function(t,e){return{contains:C(y.a({},e,{operator:"contains"})),doesnotcontain:b(E,C(y.a({},e,{operator:"indexof"}))),endswith:C(y.a({},e,{operator:"endswith"})),eq:D(y.a({},e,{operator:"eq"})),gt:D(y.a({},e,{operator:"gt"})),gte:D(y.a({},e,{operator:"ge"})),isempty:B(function(t){return t.field+" eq ''"}),isnotempty:B(function(t){return t.field+" ne ''"}),isnotnull:B(function(t){return t.field+" ne null"}),isnull:B(function(t){return t.field+" eq null"}),lt:D(y.a({},e,{operator:"lt"})),lte:D(y.a({},e,{operator:"le"})),neq:D(y.a({},e,{operator:"ne"})),startswith:C(y.a({},e,{operator:"startswith"}))}[t]}(e.operator,t)(e)}},q=function(t){return T(function(e){return m(v,q(t),L(t))(e)},U)},F=function(t,e){return void 0===e&&(e={}),t.filters&&t.filters.length?"$filter="+q(e)(t):""},X=(r="",function(){return r}),H=function(t,e){return m(c,(i=t[0],function(t){return i+t}),X)(e);var i},G=function(t,e){return void 0===e&&(e={}),Object.keys(t).map(function(t,e){return function(i){return{filter:F(e.filter||{},t),skip:H(s||(s=y.e(["$skip=",""],["$skip=",""])),e.skip),sort:(o=e.sort||[],n=o.filter(function(t){return c(t.dir)}).map(function(t){var e=t.field.replace(/\./g,"/");return"desc"===t.dir?e+" desc":e}).join(","),n?"$orderby="+n:n),take:H(a||(a=y.e(["$top=",""],["$top=",""])),e.take)}[i];var o,n}}(e,t)).filter(f).join("&")},W={},N=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;W[void 0]=function(t){return t};var V,Y=function(t,e){var i=t+e;if(W[i])return W[i];var o=[];
1return t.replace(N,function(t,e,i,n){o.push(c(e)?e:i||n)}),W[i]=function(t){for(var i=t,n=0;n<o.length;n++)if(i=i[o[n]],!c(i)&&e)return i;return i},W[i]},I=function(t){return function(e){return[t,e]}},J=function(){return null},$=function(t){return function(e){return c(t(e))}},K=function(t){return function(e){return function(t){return c(t)&&p(t)&&t.length>0}(t(e))}},Z=function(t,e){return m(t,e,J)},Q=function(t,e){return function(i){return t(i).map(e).join("~")}},tt=b.apply(void 0,[['"',""],[":","-"]].map(function(t){var e=t[0],i=t[1];return function(t){return t.replace(new RegExp(e,"g"),i)}})),et=(V=".",function(t){return t.slice(0,t.indexOf(V))}),it=function(t){var e=t.field,i=t.dir;return e+"-"+(void 0===i?"asc":i)},ot=Y("take"),nt=Y("aggregates"),rt=Y("skip"),st=Y("group"),at=Y("sort",!0),ct=Q(at,it),lt=Q(st,it),pt=Q(nt,function(t){return t.field+"-"+t.aggregate}),ut=b(function(t){return"datetime'"+t+"'"},et,tt,JSON.stringify,w),ht=b(I("page"),function(t){var e=t.skip,i=t.take;return Math.floor((e||0)/i)+1}),ft=b(I("pageSize"),ot),dt=b(I("group"),lt),gt=b(I("sort"),ct),vt=b(I("aggregate"),pt),yt=(Z($(rt),ht),Z($(ot),ft),Z(K(st),dt),Z($(nt),vt),b(Z(K(at),gt),function(t){return Object.assign({},t,{sort:(at(t)||[]).filter(function(t){var e=t.dir;return f(e)})})}),function(t){return t.field+"~"+t.operator+"~"+t.value}),mt=(m(S,b(yt,function(t){var e=t.field,i=t.value,o=t.ignoreCase,n=t.operator;return{value:ut(i),field:e,ignoreCase:o,operator:n}}),yt),function(t,e,i){return e[t]=i,e}),bt=function(t){return function(e){var i,o=e[t];return c(o)?o:e[(i=t,i.replace(/(^[A-Z])/g,function(t,e){return e.toLowerCase()}))]}},_t=(bt("Member"),bt("AggregateMethodName"),bt("Value"),function(t){return function(e){return Object.keys(e).reduce(t.bind(null,e),{})}}),wt=_t(function(t,e,i){return mt(i.toLowerCase(),e,t[i])}),xt=_t(function(t,e,i){return mt(i,e,wt(t[i]))}),jt=function(t,e){return c(t)?t:e},Ot=b(function(t){var e=t.field,i=t.hasSubgroups,o=t.value,n=t.aggregates,r=t.items;return{aggregates:xt(n),field:e,items:i?r.map(Ot):r,value:o}},function(t){return{aggregates:t.Aggregates||t.aggregates,field:t.Member||t.member||t.field,hasSubgroups:t.HasSubgroups||t.hasSubgroups||!1,items:t.Items||t.items,value:jt(t.Key,jt(t.key,t.value))}}),kt=function(t,e){return l(t)?t===e?0:-1:l(e)?1:t.localeCompare?t.localeCompare(e):t>e?1:t<e?-1:0},At=function(t,e){return kt(e,t)},St=function(t){var e=Y(t.field,!0);return function(i,o){return("asc"===t.dir?kt:At)(e(i),e(o))}},Tt=function(t,e){return 0},Rt=function(t){return function(e){return function(i,o,n){return e(i,t(o,n))}}},zt=(Rt(function(t){return t}),function(t){t.filters&&(t.filters=t.filters.map(function(t){var e,i=Object.assign({},t);return!v(t)&&h(t.operator)&&(i.operator={"!=":"neq","<":"lt","<=":"lte","==":"eq",">":"gt",">=":"gte",equal:"eq",equals:"eq",equalto:"eq",ge:"gte",greater:"gt",greaterthan:"gt",greaterthanequal:"gte",isempty:"isempty",isequalto:"eq",isgreaterthan:"gt",isgreaterthanorequalto:"gte",islessthan:"lt",islessthanorequalto:"lte",isnotempty:"isnotempty",isnotequalto:"neq",isnull:"isnull",le:"lte",less:"lt",lessthan:"lt",lessthanequal:"lte",ne:"neq",notequal:"neq",notequals:"neq",notequalto:"neq",notsubstringof:"doesnotcontain"}[(e=t.operator).toLowerCase()]||e),v(t)&&zt(i),i}))}),Ct=function(t){return c(t)&&(t=function(t){return v(t)?Object.assign({},t):{filters:p(t)?t:[t],logic:"and"}}(t),zt(t)),t},Pt={or:{concat:function(t,e){return function(i){return t(i)||e(i)}},identity:function(){return!1}},and:{concat:function(t,e){return function(i){return t(i)&&e(i)}},identity:function(){return!0}}},Mt={contains:function(t,e){return(t||"").indexOf(e)>=0},doesnotcontain:function(t,e){return-1===(t||"").indexOf(e)},doesnotendwith:function(t,e){return(t||"").indexOf(e,(t||"").length-(e||"").length)<0},doesnotstartwith:function(t,e){return-1===(t||"").lastIndexOf(e,0)},endswith:function(t,e){return(t||"").indexOf(e,(t||"").length-(e||"").length)>=0},eq:function(t,e){return t===e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e},isempty:function(t){return""===t},isnotempty:function(t){return""!==t},isnotnull:function(t){return c(t)},isnull:function(t){return l(t)},lt:function(t,e){return t<e},lte:function(t,e){return t<=e},neq:function(t,e){return t!=e},startswith:function(t,e){return 0===(t||"").lastIndexOf(e,0)}},Dt=/^\/Date\((.*?)\)\/$/,Et=function(t){var e=t.field,i=t.ignoreCase,o=t.value,n=t.operator;e=c(e)?e:function(t){return t},i=!c(i)||i;
1var r=function(t,e,i){if(!c(e))return t;var o=t;if(h(e)){var n=Dt.exec(e);n?e=new Date(+n[1]):o=function(e){var o=t(e);return"string"==typeof o&&i?o.toLowerCase():d(o)?o+"":o}}return g(e)?function(t){var e=o(t);return g(e)?e.getTime():e}:o}(u(e)?e:Y(e,!0),o,i);o=function(t,e){if(null!=t&&h(t)){var i=Dt.exec(t);if(i)return new Date(+i[1]).getTime();if(e)return t.toLowerCase()}else if(null!=t&&g(t))return t.getTime();return t}(o,i);var s=u(n)?n:Mt[n];return function(t){return s(r(t),o,i)}},Bt=function(t){var e=Pt[t.logic];return t.filters.filter(c).map(function(t){return v(t)?Bt(t):Et(t)}).reduce(e.concat,e.identity)},Ut=function(t){return t&&0!==t.filters.length?Bt(t):function(){return!0}},Lt=function(t,e){return!c(e)||v(e)&&0===e.filters.length?t:t.filter(Ut(Ct(e)))},qt=(Rt(function(t){return t}),function(t,e,i,o){if(!(i-e<2)){var n=e+i>>>1;qt(t,e,n,o),qt(t,n,i,o),function(t,e,i,o,n){for(var r=i-e,s=o-i,a=[],c=0;c<r;c++)a.push(t[e+c]);var l=0,p=i,u=e;do{n(t[p],a[l])<0?(t[u++]=t[p++],s--):(t[u++]=a[l++],r--)}while(s>0&&r>0);for(;r;)t[u++]=a[l++],r--;for(;s;)t[u++]=t[p++],s--}(t,e,n,i,o)}}),Ft=function(t,e){if(e.some(function(t){return c(t.dir)})){t=t.slice(0);var i=function(t){return t.filter(function(t){return c(t.dir)}).map(function(t){return St(t)}).reduce(function(t,e){return function(i,o){return t(i,o)||e(i,o)}},Tt)}(e);qt(t,0,t.length,i)}return t}},syg4:function(t,e,i){"use strict";i.d(e,"b",function(){return o.f}),i.d(e,"c",function(){return o.g}),i.d(e,"a",function(){return n.a}),i.d(e,"d",function(){return r.b}),i.d(e,"f",function(){return d}),i.d(e,"g",function(){return k}),i.d(e,"e",function(){return a.d}),i.d(e,"h",function(){return Pt.a});var o=i("afrN"),n=i("TKlP"),r=i("nFUY"),s=i("HMH3"),a=i("j82y"),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._slotAnchor=function(t,e){var i=this.plotArea.categoryAxis.options.vertical,n=i?{horizontal:"left",vertical:"center"}:{horizontal:"center",vertical:"bottom"};return{point:i?new o.l(this.plotArea.box.x2,e.center().y):new o.l(e.center().x,-2),align:n}},e.prototype._defaultAnchor=function(t,e){return this._slotAnchor({},e)},e}(n.c),l=[s.c,s.h];function p(t){for(var e=[],i=0;i<t.length;i++){var o=t[i];e[i]=o.style.display,o.style.display="none"}return e}function u(t,e){for(var i=0;i<t.length;i++)t[i].style.display=e[i]}function h(t){return Object(a.B)(t)?[t]:t}var f=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){Object(a.e)(t,"k-sparkline")},e.prototype._initElement=function(e){t.prototype._initElement.call(this,e),this._initialWidth=Math.floor(Object(a.o)(e).width)},e.prototype._resize=function(){var e=this.element,i=p(e.childNodes);this._initialWidth=Math.floor(Object(a.o)(e).width),u(e.childNodes,i),t.prototype._resize.call(this)},e.prototype._modelOptions=function(){var t=this.options,e=this._surfaceWrap(),i=p(e.childNodes),o=document.createElement("span");o.innerHTML="&nbsp;",e.appendChild(o);var n=Object(a.k)({width:this._autoWidth,height:Object(a.o)(e).height,transitions:t.transitions},t.chartArea,{inline:!0,align:!1});return Object(a.o)(e,{width:n.width,height:n.height}),e.removeChild(o),u(e.childNodes,i),this.surface&&this.surface.resize(),n},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 i=t.prototype._createPlotArea.call(this,e);return this._autoWidth=this._initialWidth||this._calculateWidth(i),i},e.prototype._calculateWidth=function(t){for(var e=this.options,i=Object(a.s)(e.chartArea.margin),o=t.charts,n=this._surfaceWrap(),r=0,c=0;c<o.length;c++){var l=o[c],p=(l.options.series||[])[0];if(p){if(p.type===s.c)return 150;if(p.type===s.h)return 150;if(p.type===s.M)return Object(a.o)(n).height;var u=l.categoryAxis;if(u){var h=u.categoriesCount()*(!l.options.isStacked&&Object(a.x)(p.type,[s.k,s.qb])?l.seriesOptions.length:1);r=Math.max(r,h)}}}var f=r*e.pointWidth;return f>0&&(f+=i.left+i.right),f},e.prototype._createSharedTooltip=function(t){return new c(this._plotArea,t)},e.normalizeOptions=function(t){var e=h(t);return(e=Object(a.z)(e)?{seriesDefaults:{data:e}}:Object(a.k)({},e)).series||(e.series=[{data:h(e.data)}]),Object(a.k)(e,{seriesDefaults:{type:e.type}}),(Object(a.x)(e.series[0].type,l)||Object(a.x)(e.seriesDefaults.type,l))&&(e=Object(a.k)({},{categoryAxis:{crosshair:{visible:!1}}},e)),e},e}(n.a);Object(a.M)(f,{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 d=f,g=i("d/Xh"),v=i("AKJO"),y=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(Object(a.p)(this.element,"opacity").op
1acity)},e.prototype.step=function(t){Object(a.p)(this.element,{opacity:String(Object(a.y)(this._initialOpacity,0,t))})},e.prototype.abort=function(){t.prototype.abort.call(this),Object(a.p)(this.element,{display:"none",opacity:String(this._initialOpacity)})},e.prototype.cancel=function(){t.prototype.abort.call(this),Object(a.p)(this.element,{opacity:String(this._initialOpacity)})},e}(v.c.Animation);function m(t,e){var i=document.createElement("div");return i.className=t,e&&(i.style.cssText=e),i}var b=function(t){function e(e,i,o){t.call(this),this.options=Object(a.k)({},this.options,o),this.container=e,this.chartService=i;var n=Object(a.p)(e,["paddingLeft","paddingTop"]);this.chartPadding={top:n.paddingTop,left:n.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=m("k-navigator-hint","display: none; position: absolute; top: 1px; left: 1px;"),e=this.tooltip=m("k-tooltip k-chart-tooltip"),i=this.scroll=m("k-scroll");e.innerHTML="&nbsp;",t.appendChild(e),t.appendChild(i)},e.prototype.show=function(t,e,i){var o=this.element,n=this.options,r=this.scroll,s=this.tooltip,c=Object(g.m)(Object(g.n)(t)+Object(g.n)(e-t)/2),l=.4*i.width(),p=i.center().x-l,u=(i.center().x-p)/(n.max-n.min),h=c-n.min,f=this.chartService.intl.format(n.format,t,e),d=Object(a.t)(n);this.clearHideTimeout(),this._visible||(Object(a.p)(o,{visibility:"hidden",display:"block"}),this._visible=!0),d&&(f=d({from:t,to:e})),s.innerHTML=f,Object(a.p)(s,{left:i.center().x-s.offsetWidth/2,top:i.y1});var v=Object(a.p)(s,["marginTop","borderTopWidth","height"]);Object(a.p)(r,{width:l,left:p+h*u,top:i.y1+v.marginTop+v.borderTopWidth+v.height/2}),Object(a.p)(o,{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 y(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}(a.a);Object(a.M)(b,{format:"{0:d} - {1:d}",hideDelay:500});var _=b;function w(){}var x=function(t){function e(e){var i;t.call(this),this.chart=e;var o=this.options=Object(a.k)({},this.options,e.options.navigator),n=o.select;n&&(n.from=this.parseDate(n.from),n.to=this.parseDate(n.to)),Object(a.l)(o.hint.visible)||(o.hint.visible=o.visible),this.chartObserver=new a.d(this,((i={})[s.m]="_drag",i[s.n]="_dragEnd",i[s.zb]="_zoom",i[s.Ab]="_zoomEnd",i)),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 Object(g.k)(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,i=this.options,o=this.mainAxis(),r=o.roundedRange(),s=r.min,c=r.max,l=i.select,p=l.from,u=l.to,h=l.mousewheel,f=(t=o,w.prototype=t,new w);0!==o.categoriesCount()&&(this.clean(),f.box=o.box,this.selection=new n.b(e,f,{min:s,max:c,from:p||s,to:u||c,mousewheel:Object(a.Q)(h,{zoom:"left"}),visible:i.visible},new a.d(this,{selectStart:"_selectStart",select:"_select",selectEnd:"_selectEnd"})),i.hint.visible&&(this.hint=new _(e.element,e.chartService,{min:s,max:c,template:Object(a.t)(i.hint),format:i.hint.format})))},e.prototype.setRange=function(){var t=this.chart._createPlotArea(!0).namedCategoryAxes._navigator.roundedRange(),e=t.min,i=t.max,o=this.options.select||{},n=o.from||e;n<e&&(n=e);var r=o.to||i;r>i&&(r=i),this.options.select=Object(a.k)({},o,{from:n,to:r}),this.filterAxes()},e.prototype._redrawSelf=function(t){var e=this.chart._plotArea;e&&e.redraw(Object(a.E)(e.panes),t)},e.prototype.redrawSlaves=function(){var t=this.chart,e=t._plotArea,i=e.panes.slice(0,-1);e.srcSeries=t.options.series,e.options.categoryAxis=t.options.categoryAxis,e.clearSeriesPointsCache(),e.redraw(i)},e.prototype._drag=function(t){var e,i=this.chart,o=this.selection,n=i._eventCoordinates(t.originalEvent),r=this.mainAxis(),s=r.roundedRange(),c=r.pane.box.containsPoint(n),l=i._plotArea.categoryAxis,p=t.axisRanges[l.options.name],u=this.options.select;if(p&&!c&&o){e=u.from&&u.to?Object(g.n)(u.to)-Object(g.n)(u.from):Object(g.n)(o.options.to)-Object(g.n)(o.options.from);var h=Object(g.m)(Object(a.F)(Object(g.n)(p.min),s.min,Object(g.n)(s.max)-e)),f=Object(g.m)(Object(a.F)(Object(g.n)(
1h)+e,Object(g.n)(s.min)+e,s.max));this.options.select={from:h,to:f},this.options.liveDrag&&(this.filterAxes(),this.redrawSlaves()),o.set(h,f),this.showHint(h,f)}},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,i=t.to,o=this.options.select;o.from=e,o.to=i},e.prototype.filterAxes=function(){var t=this.options.select;void 0===t&&(t={});for(var e=this.chart.options.categoryAxis,i=t.from,o=t.to,n=0;n<e.length;n++){var r=e[n];"_navigator"!==r.pane&&(r.min=i,r.max=o)}},e.prototype.filter=function(){var t=this.chart,e=this.options.select;if(t.requiresHandlers(["navigatorFilter"])){var i=this.mainAxis(),n={from:e.from,to:e.to};if("category"!==i.options.type){var r=new o.f(Object(a.k)({baseUnit:"fit"},t.options.categoryAxis[0],{categories:[e.from,e.to]}),t.chartService).options;n.from=Object(g.b)(r.min,-r.baseUnitStep,r.baseUnit),n.to=Object(g.b)(r.max,r.baseUnitStep,r.baseUnit)}this.chart.trigger("navigatorFilter",n)}},e.prototype._zoom=function(t){var e=this.chart._plotArea.categoryAxis,i=this.selection,o=this.options,n=o.select,r=o.liveDrag,s=this.mainAxis(),a=t.delta;if(i){var c=s.categoryIndex(i.options.from),l=s.categoryIndex(i.options.to);t.originalEvent.preventDefault(),Math.abs(a)>1&&(a*=3),l-c>1?(i.expand(a),this.readSelection()):(e.options.min=n.from,n.from=e.scaleRange(-t.delta).min),r&&(this.filterAxes(),this.redrawSlaves()),i.set(n.from,n.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 i=this.chart._plotArea;this.hint&&this.hint.show(t,e,i.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._navigator},e.prototype.select=function(t,e){var i=this.options.select;return t&&e&&(i.from=this.parseDate(t),i.to=this.parseDate(e),this.filterAxes(),this.filter(),this.redrawSlaves(),this.selection.set(t,e)),{from:i.from,to:i.to}},e.setup=function(t,i){if(void 0===t&&(t={}),void 0===i&&(i={}),!t.__navi){t.__navi=!0;var o=Object(a.k)({},i.navigator,t.navigator),n=t.panes=[].concat(t.panes),r=Object(a.k)({},o.pane,{name:"_navigator"});o.visible||(r.visible=!1,r.height=.1),n.push(r),e.attachAxes(t,o),e.attachSeries(t,o,i)}},e.attachAxes=function(t,e){var i=e.series||[],o=t.categoryAxis=[].concat(t.categoryAxis),r=t.valueAxis=[].concat(t.valueAxis),c=0===Object(n.d)(i,s.p).length,l=Object(a.k)({type:"date",pane:"_navigator",roundToBaseUnit:!c,justified:c,_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]}}),p=e.categoryAxis;o.push(Object(a.k)({},l,{maxDateGroups:200},p,{name:"_navigator",title:null,baseUnit:"fit",baseUnitStep:"auto",labels:{visible:!1},majorTicks:{visible:!1}}),Object(a.k)({},l,p,{name:"_navigator_labels",maxDateGroups:20,baseUnitStep:"auto",labels:{position:""},plotBands:[],autoBaseUnitSteps:{minutes:[]},_overlap:!0}),Object(a.k)({},l,p,{name:"_navigator_ticks",maxDateGroups:200,majorTicks:{width:.5},plotBands:[],title:null,labels:{visible:!1,mirror:!0},_overlap:!0})),r.push(Object(a.k)({name:"_navigator",pane:"_navigator",majorGridLines:{visible:!1},visible:!1},e.valueAxis))},e.attachSeries=function(t,e,i){for(var o=t.series=t.series||[],n=[].concat(e.series||[]),r=i.seriesColors,s=e.seriesDefaults,c=0;c<n.length;c++)o.push(Object(a.k)({color:r[c%r.length],categoryField:e.dateField,visibleInLegend:!1,tooltip:{visible:!1}},s,n[c],{axis:"_navigator",categoryAxis:"_navigator",autoBind:e.autoBindElements}))},e}(a.a),j=i("cuZG"),O=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,i){var o=Object(a.o)(this.element).width||j.m,n=i,r={seriesDefaults:{categoryField:e.dateField},axisDefaults:{categoryAxis:{name:"default",majorGridLines:{visible:!1},labels:{step:2},majorTicks:{visible:!1},maxDateGroups:Math.floor(o/28)}}};n&&(n=Object(a.k)({},n,r)),x.setup(e,n),t.prototype.applyDefaults.call(this,e,n)}
1,e.prototype._setElementClass=function(t){Object(a.e)(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=[].concat(t.series,t.navigator.series),i=Object(a.v)(e,function(t){return t&&t.visible}).length,o=this._seriesCount!==i;return this._seriesCount=i,o},e.prototype._fullRedraw=function(){var e=this.navigator;e||(e=this.navigator=new x(this),this.trigger("navigatorCreated",{navigator:e})),e.clean(),e.setRange(),t.prototype._redraw.call(this),e.initSelection()},e.prototype._trackSharedTooltip=function(e){var i=this._plotArea.paneByPoint(e);i&&"_navigator"===i.options.name?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),i=0;i<e.length;i++){var o=e[i];"_navigator"===o.name?t=o.categories:t&&"_navigator"===o.pane&&(o.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 i=this._eventCoordinates(e),o=this._plotArea.paneByPoint(i);return t.prototype._stopChartHandlers.call(this,e)||o&&"_navigator"===o.options.name},e.prototype._toggleDragZoomEvents=function(){this._dragZoomEnabled||(this.element.style.touchAction="none",this._dragZoomEnabled=!0)},e}(n.a);Object(a.M)(O,{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 k=O,A=150,S=Math.PI/180;function T(t,e){var i=t.getOrigin(),o=t.getSize(),n=Object(a.s)(e);return t.setOrigin([i.x-n.left,i.y-n.top]),t.setSize([o.width+(n.left+n.right),o.height+(n.top+n.bottom)]),t}var R=v.c.Group,z=v.c.Path,C=v.c.Text;function P(t,e){var i=t.box,o=t.children[0].box,n=e.border||{},r=e.background||"",s=z.fromRect(new v.d.Rect([i.x1,i.y1],[i.width(),i.height()]),{stroke:{}}),a=new C(t.text,new v.d.Point(o.x1,o.y1),{font:e.font,fill:{color:e.color}}),c=T(a.bbox().clone(),e.padding),l=z.fromRect(c,{stroke:{color:n.width?n.color:"",width:n.width,dashType:n.dashType,lineJoin:"round",lineCap:"round"},fill:{color:r}}),p=new R;return p.append(s),p.append(l),p.append(a),p}function M(t,e,i){var o=Object(a.l)(t.from)?t.from:j.u,n=Object(a.l)(t.to)?t.to:j.t;return t.from=Math.max(Math.min(n,o),e),t.to=Math.min(Math.max(n,o),i),t}function D(t,e){var i=Object(a.s)(e);return i.left=-i.left,i.top=-i.top,i.right=-i.right,i.bottom=-i.bottom,T(t,i)}var E=v.c.Path,B=v.c.Surface,U=function(t){function e(e,i,o,n){void 0===n&&(n={}),t.call(this),this.element=e,this.theme=o,this.contextService=new r.a(this,n),this._originalOptions=Object(a.k)({},this.options,i),this.options=Object(a.k)({},this._originalOptions),this._initTheme(o),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,i=[];if(0===arguments.length){for(var o=0;o<e.length;
1o++)i.push(e[o].value());return i}if(Object(a.z)(t))for(var n=0;n<t.length;n++)Object(a.B)(t[n])&&e[n].value(t[n]);this._setValueOptions(t)},e.prototype._setValueOptions=function(t){for(var e=[].concat(this.options.pointer),i=[].concat(t),o=0;o<i.length;o++)e[o].value=i[o]},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 v.d.Rect([0,0],[t.width,t.height]);this._initSurface(),this.gaugeArea=this._createGaugeArea(),this._createModel();var i=D(e.bbox(),this._gaugeAreaMargin);this.reflow(i)},e.prototype.setOptions=function(t,e){this._originalOptions=Object(a.k)(this._originalOptions,t),this.options=Object(a.k)({},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=Object(a.k)({},e,this.options);var i=this.options,o=i.pointer;if(Object(a.z)(o)){for(var n=[],r=0;r<o.length;r++)n.push(Object(a.k)({},e.pointer,o[r]));i.pointer=n}},e.prototype._createGaugeArea=function(){var t=this.options.gaugeArea,e=this.surface.size(),i=t.border||{},o=new v.d.Rect([0,0],[e.width,e.height]);return this._gaugeAreaMargin=t.margin||5,i.width>0&&(o=D(o,i.width)),E.fromRect(o,{stroke:{color:i.width?i.color:"",width:i.width,dashType:i.dashType,lineJoin:"round",lineCap:"round"},fill:{color:t.background}})},e.prototype._initSurface=function(){var t=this.options,e=this.surface,i=this._surfaceElement(),o=this._surfaceSize();Object(a.o)(i,o),e&&e.options.type===t.renderAs?(this.surface.clear(),this.surface.resize()):(e&&e.destroy(),this.surface=B.create(i,{type:t.renderAs}))},e.prototype._surfaceSize=function(){var t=this.options,e=this._getSize();return t.gaugeArea&&Object(a.k)(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(),i=t.offsetWidth,o=t.offsetHeight;return i||(i=e.width),o||(o=e.height),{width:i,height:o}},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}(a.a);Object(a.M)(U,{plotArea:{},theme:"default",renderAs:"",pointer:{},scale:{},gaugeArea:{}});var L=U,q=v.c.Path,F=v.c.Group,X=v.d.Point;function H(t,e){var i,o,n=t.position,r=t.tickX,s=t.tickY;return t.vertical?(i=new X(r,n),o=new X(r+e.size,n)):(i=new X(n,s),o=new X(n,s+e.size)),new q({stroke:{color:e.color,width:e.width}}).moveTo(i).lineTo(o)}function G(t,e,i,o){var n=e.length;if(o.visible)for(var r=i.mirror,s=i.lineBox,a=o.skip;a<n;a+=o.step)a%o.skipUnit!=0&&(i.tickX=r?s.x2:s.x2-o.size,i.tickY=r?s.y1-o.size:s.y1,i.position=e[a],t.append(H(i,o)))}var W=function(t){function e(e,i){var o=e||{};!Object(a.l)(o.reverse)&&!1===o.vertical&&(i||{}).rtl&&(o=Object.assign({},o,{reverse:!0})),t.call(this,0,1,o,i),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=Object(a.k)({},this.options,t);return(e=Object(a.k)({},e,{labels:{mirror:e.mirror}})).majorUnit=e.majorUnit||Object(o.w)(e.min,e.max),e},e.prototype.initFields=function(){},e.prototype.render=function(){var t=this.elements=new F,e=this.renderLabels(),i=this.renderLine(),o=this.renderTicks(),n=this.renderRanges();return t.append(i,e,o,n),t},e.prototype.renderRanges=function(){for(var t=this.options,e=t.min,i=t.max,o=t.vertical,n=t.labels.mirror,r=t.ranges||[],s=new F,a=r.length,c=t.rangeSize||t.minorTicks.size/2,l=0;l<a;l++){var p=M(r[l],e,i),u=this.getSlot(p.from,p.to),h=o?this.lineBox():u,f=o?u:this.lineBox();o?h.x1-=c*(n?-1:1):f.y2+=c*(n?-1:1),s.append(q.fromRect(new v.d.Rect([h.x1,f.y1],[h.x2-h.x1,f.y2-f.y1]),{fill:{color:p.color,opacity:p.opacity},stroke:{}}))}return s},e.prototype.renderLabels=function(){for(var t=this.labels,e=this.options,i=new F,o=0;o<t.length;o++)i.append(P(t[o],e.labels));return i},e.prototype.renderLine=function(){var t=this.options.line,e=this.lineBox(),i=new F;if(t.width>0&&t.visible){var o=new q({stroke:{color:t.color,dashType:t.dashType,width:t.width}});o.moveTo(e.x1,e.y1).lineTo(e.x2,e.y2),i.append(o)}return i},e.prototype.renderTicks=function(){var t=new F,e=this.options,i=e.majorTicks.visible?e.majorUnit:0,o={vertical:e.vertical,mirror:e.labels.mirror,lineBox:this.lineBox()};return G(t,this.getMajorTickPositions(),o,e.majorTicks),G(t,this.getMinorTickPositions(),o,Object(a.k)({},{skipUnit:i/e.minorUnit},e.minorTicks)),t},e}(o.k);Object(a.M)(W,{min:0,max:50,majorTicks:{size:15,align:"inside",color:j.c,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:j.c,width:.5,visible:!0},line:{width:.5},labels:{position:"inside",padding:2},mirror:!1,_alignLines:!1});var N=W,V=function(t){function e(e,i){t.call(this);var o=e.options,n=o.min,r=o.max,s=this.options=Object(a.k)({},this.options,i);s.fill=s.color,this.scale=e,Object(a.l)(s.value)?s.value=Object(a.F)(s.value,
1n,r):s.value=n}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,i=e.value;if(0===arguments.length)return i;var o=this.scale.options,n=o.min,r=o.max;e._oldValue=Object(a.l)(e._oldValue)?e.value:n,e.value=Object(a.F)(t,n,r),this.elements&&this.repaint()},e}(a.a);Object(a.M)(V,{color:j.c});var Y=V,I=function(t){function e(e,i){t.call(this,e,i),this.options=Object(a.k)({track:{visible:Object(a.l)(i.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,i,n=this.options,r=this.scale,s=r.options,c=s.mirror,l=s.vertical,p=r.lineBox(),u=n.track.size||n.size,h=n.size/2,f=Object(a.s)(n.margin),d=l?f[c?"left":"right"]:f[c?"bottom":"top"];d=c?-d:d,l?(i=new o.a(p.x1+d,p.y1,p.x1+d,p.y2),c?i.x1-=u:i.x2+=u,"barPointer"!==n.shape&&(t=e=new o.a(p.x2+d,p.y1-h,p.x2+d,p.y2+h))):(i=new o.a(p.x1,p.y1-d,p.x2,p.y1-d),c?i.y2+=u:i.y1-=u,"barPointer"!==n.shape&&(t=e=new o.a(p.x1-h,p.y1-d,p.x2+h,p.y1-d))),this.trackBox=i,this.pointerRangeBox=e,this.box=t||i.clone().pad(n.border.width)},e.prototype.getElementOptions=function(){var t=this.options;return{fill:{color:t.color,opacity:t.opacity},stroke:Object(a.l)(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,i=t.options,o=i.mirror,n=i.vertical,r=Object(a.s)(e.margin);return n?r[o?"left":"right"]:r[o?"bottom":"top"]},e}(Y);Object(a.M)(I,{shape:"barPointer",track:{border:{width:1}},color:j.c,border:{width:1},opacity:1,margin:Object(a.s)(3),animation:{type:"barPointer"},visible:!0});var J=I,$=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,i=t.from,o=t.to,n=t.vertical,r=n?"x1":"y1";t.mirror===n?(i[r]-=e,o[r]-=e):(i[r]+=e,o[r]+=e);var s=this.fromScale=new v.d.Point(i.x1,i.y1),a=this.toScale=new v.d.Point(o.x1,o.y1);0!==t.duration&&(t.duration=Math.max(s.distanceTo(a)/t.duration*1e3,1))},e.prototype.step=function(t){var e=Object(a.y)(this.fromScale.x,this.toScale.x,t),i=Object(a.y)(this.fromScale.y,this.toScale.y,t);this.element.transform(v.d.transform().translate(e,i))},e}(v.c.Animation);Object(a.M)($,{easing:"linear",duration:250}),v.c.AnimationFactory.current.register("arrowPointer",$);var K=$,Z=v.d.Point,Q=v.c.Path,tt=function(t){function e(e,i){t.call(this,e,i),Object(a.l)(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,i=e/2,o=t.options.mirror?-1:1;return t.options.vertical?[new Z(0,0-i),new Z(0-o*e,0),new Z(0,0+i)]:[new Z(0-i,0),new Z(0,0+o*e),new Z(0+i,0)]},e.prototype.repaint=function(){var t=this.scale,e=this.options,i=new K(this.elements,Object(a.k)(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&&(i.options.duration=0),i.setup(),i.play()},e.prototype.render=function(){var t=this.scale,e=this.options,i=this.getElementOptions(),o=this.pointerShape(e.value);e.animation.type="arrowPointer";var n=new Q({stroke:i.stroke,fill:i.fill}).moveTo(o[0]).lineTo(o[1]).lineTo(o[2]).close(),r=t.getSlot(e.value);return n.transform(v.d.transform().translate(r.x1,r.y1)),this.elements=n,n},e}(J),et=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?j.K:j.J,i=this.to=t.newPoints[0][e],o=this.from=t.oldPoints[0][e];0!==t.duration&&(t.duration=Math.max(Math.abs(i-o)/t.speed*1e3,1)),this._set(o)},e.prototype.step=function(t){var e=Object(a.y)(this.from,this.to,t);this._set(e)},e.prototype._set=function(t){var e="set"+this.axis.toUpperCase(),i=this.options.newPoints;i[0][e](t),i[1][e](t)},e}(v.c.Animation);Object(a.M)(et,{easing:"linear",speed:250}),v.c.AnimationFactory.current.register("barPointer",et);var it=et,ot=v.c.Group,nt=v.c.Path,rt=function(t){function e(e,i){t.call(this,e,i),Object(a.l)(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,i=this.options,o=e.options,n=o.mirror,r=o.vertical,s=n===r?-1:1,a=i.size*s,c=e.getSlot(e.options.min),l=e.getSlot(t),p=r?j.K:j.J,u=r?j.J:j.K,h=this._margin()
vendor: 6,738 bytes, line 1
1*s,f=new v.d.Point;f[p]=c[p+"1"],f[u]=c[u+"1"];var d=new v.d.Point;d[p]=l[p+"1"],d[u]=l[u+"1"],r?(f.translate(h,0),d.translate(h,0)):(f.translate(0,h),d.translate(0,h));var g=d.clone(),y=f.clone();return r?(g.translate(a,0),y.translate(a,0)):(g.translate(0,a),y.translate(0,a)),[f,d,g,y]},e.prototype.repaint=function(){var t=this.scale,e=this.options,i=this.pointerShape(e.value),o=this.pointerPath,n=this.pointerShape(e._oldValue);o.moveTo(i[0]).lineTo(i[1]).lineTo(i[2]).lineTo(i[3]).close();var r=new it(o,Object(a.k)(e.animation,{reverse:t.options.reverse,vertical:t.options.vertical,oldPoints:[n[1],n[2]],newPoints:[i[1],i[2]]}));!1===e.animation.transitions&&(r.options.duration=0),r.setup(),r.play()},e.prototype.render=function(){var t=new ot,e=this.getElementOptions();this.options.track.visible&&t.append(this.renderTrack());var i=this.pointerPath=new nt({stroke:e.stroke,fill:e.fill});return t.append(i),this.elements=t,t},e.prototype.renderTrack=function(){var t=this.options.track,e=t.border||{},i=this.trackBox.clone().pad(e.width||0);return new nt.fromRect(i.toRect(),{fill:{color:t.color,opacity:t.opacity},stroke:{color:e.width?e.color||t.color:"",width:e.width,dashType:e.dashType}})},e}(J),st=v.c.Group,at=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,i=t.origin.x,n=t.origin.y,r=new o.a(i,n,i+t.width(),n+t.height());this.scale.reflow(r),this._shrinkScaleWidth(r);for(var s=0;s<e.length;s++)e[s].reflow();this.bbox=this._getBox(r),this._alignElements(),this._shrinkElements(),this._buildVisual(),this._draw()},e.prototype._buildVisual=function(){var t=new st,e=this.scale.render(),i=this.pointers;t.append(this.gaugeArea),t.append(e);for(var o=0;o<i.length;o++){var n=i[o];t.append(n.render()),n.value(n.options.value)}this._visuals=t},e.prototype._createModel=function(){var t=this.options,e=this.scale=new N(t.scale,this.contextService);this.pointers=[];var i=t.pointer;i=Object(a.z)(i)?i:[i];for(var o=0;o<i.length;o++){var n=Object(a.k)({},i[o],{animation:{transitions:t.transitions}}),r="arrow"===n.shape?tt:rt;this.pointers.push(new r(e,n))}},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,i=this.scale,n=this.pointers,r=t.center(),s=n[0].box.clone().wrap(i.box),a=0;a<n.length;a++)s.wrap(n[a].box.clone());return i.options.vertical?(e=s.width()/2,s=new o.a(r.x-e,t.y1,r.x+e,t.y2)):(e=s.height()/2,s=new o.a(t.x1,r.y-e,t.x2,r.y+e)),s},e.prototype._alignElements=function(){for(var t,e=this.scale,i=this.pointers,n=e.box,r=i[0].box.clone().wrap(e.box),s=this.bbox,a=0;a<i.length;a++)r.wrap(i[a].box.clone());e.options.vertical?(t=s.center().x-r.center().x,e.reflow(new o.a(n.x1+t,s.y1,n.x2+t,s.y2))):(t=s.center().y-r.center().y,e.reflow(new o.a(n.x1,n.y1+t,n.x2,n.y2+t)));for(var c=0;c<i.length;c++)i[c].reflow(this.bbox)},e.prototype._shrinkScaleWidth=function(t){var e=this.scale;if(!e.options.vertical){var i=e.contentBox().width()-t.width();i>0&&(e.box.shrink(i,0),e.box.alignTo(t,"center"),e.reflow(e.box))}},e.prototype._shrinkElements=function(){for(var t=this.scale,e=this.pointers,i=t.box.clone(),o=t.options.vertical?"y":"x",n=e[0].box,r=0;r<e.length;r++)n.wrap(e[r].box.clone());i[o+1]+=Math.max(i[o+1]-n[o+1],0),i[o+2]-=Math.max(n[o+2]-i[o+2],0),t.reflow(i);for(var s=0;s<e.length;s++)e[s].reflow(this.bbox)},e}(L);Object(a.M)(at,{transitions:!0,gaugeArea:{background:""},scale:{vertical:!0}});var ct=v.c.Arc,lt=v.c.Path,pt=v.c.Group;function ut(t,e,i,o){var n=new pt,r=t.center,s=t.getRadiusX();if(o.visible)for(var a=0;a<e.length;a++){var c=t.pointAt(e[a]),l=new v.d.Point(r.x+s-o.size,r.y).rotate(e[a],r);n.append(new lt({stroke:{color:o.color,width:o.width}}).moveTo(c).lineTo(l))}return n}function ht(t,e,i,o){return{from:t,to:e,color:i,opacity:o}}var ft=function(t){function e(e,i){t.call(this,0,1,e,i)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.initUserOptions=function(t){var e=Object(a.k)({},this.options,t);return e.majorUnit=e.majorUnit||Object(o.w)(e.min,e.max),e.minorUnit=e.minorUnit||e.majorUnit/10,e},e.prototype.initFields=function(){},e.prototype.render=function(t,e){var i=this.renderArc(t,e);this.bbox=i.bbox(),this.labelElements=this.renderLabels(),this.ticks=this.renderTicks(),this.ranges=this.renderRanges()},e.prototype.reflow=function(t){var e=t.center(),i=Math.min(t.height(),t.width())/2;if(!Object(a.l)(this.bbox))return this.render(e,i);this.bbox=this.arc.bbox(),this.radius(this.arc.getRadiusX()),this.repositionRanges(),this.renderLabels()},e.prototype.slotAngle=function(t){var e=this.options,i=e.min,o=e.max,n=e.reverse,r=e.startAngle,s=e.endAngle,a=s-r;return(n?s-(t-i)/(o-i)*a:(t-i)/(o-i)*a+r)+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,i=t.minorTicks,o=0;return e.visible&&(o=e.size),i.visible&&(o=Math.max(i.size,o)),o},e.prototype.renderLabels=function(){var t=this.options,e=this.arc.clone(),i=e.getRadiusX(),n=this.tickAngles(e,t.majorUnit),r=t.rangeSize=t.rangeSize||.1*i,s=new pt,c=.05*i;Object(a.l)(t.rangeDistance)?c=t.rangeDistance:t.rangeDistance=c;var l=t.labels,p="inside"===l.position,u=Object(a.l)(this.labelElements);p&&(i-=this.ticksSize(),this.hasRanges()&&!u&&(i-=r+c),e.setRadiusX(i).setRadiusY(i));for(var h=this.labels,f=h.length,d=l.padding,g=0;g<f;g++){var y=h[g],m=y.box.width()/2,b=y.box.height()/2,_=n[g],w=(_-180)*S,x=e.pointAt(_),j=x.x+Math.cos(w)*(m+d)*(p?1:-1),O=x.y+Math.sin(w)*(b+d)*(p?1:-1);y.reflow(new o.a(j-m,O-b,j+m,O+b));var k=new v.d.Point(y.box.x1,y.box.y1),A=void 0;if(u){var T=(A=this.labelElements.children[g]).bbox().origin,R=A.transform()||v.d.transform();R.translate(k.x-T.x,k.y-T.y),A.transform(R)}else A=P(y,t.labels),s.append(A);this.bbox=v.d.Rect.union(this.bbox,A.bbox())}return s},e.prototype.repositionRanges=function(){var t=this.ranges.children;if(t.length>0){var e=this.options,i=e.rangeDistance,o=e.rangeSize,n=this.getRangeRadius();"inside"===this.options.labels.position&&(n+=o+i);for(var r=n+o/2,s=0;s<t.length;s++)t[s]._geometry.setRadiusX(r).setRadiusY(r);this.bbox=v.d.Rect.union(this.bbox,this.ranges.bbox())}},e.prototype.renderRanges=function(){var t=this.rangeSegments(),e=t.length,i=new pt;if(e){var o=this.options,n=o.rangeSize,r=o.reverse,s=o.rangeDistance,a=this.getRangeRadius();this.radius(this.radius()-n-s);for(var c=0;c<e;c++){var l=t[c],p=this.slotAngle(l[r?"to":"from"]),u=this.slotAngle(l[r?"from":"to"]);u-p!=0&&i.append(this.createRange(p,u,a,l))}}return i}
1,e.prototype.createRange=function(t,e,i,o){var n=this.options.rangeSize,r=new v.d.Arc(this.arc.center,{radiusX:i+n/2,radiusY:i+n/2,startAngle:t,endAngle:e});return new ct(r,{stroke:{width:n,color:o.color,opacity:o.opacity,lineCap:o.lineCap}})},e.prototype.rangeSegments=function(){var t=this.options,e=t.ranges||[],i=e.length,o=[];if(i){var n=t.min,r=t.max,s=t.rangePlaceholderColor;o.push(ht(n,r,s));for(var a=0;a<i;a++)for(var c=M(e[a],n,r),l=o.length,p=0;p<l;p++){var u=o[p];if(u.from<=c.from&&c.from<=u.to){o.push(ht(c.from,c.to,c.color,c.opacity)),u.from<=c.to&&c.to<=u.to&&o.push(ht(c.to,u.to,s,c.opacity)),u.to=c.from;break}}}return o},e.prototype.getRangeRadius=function(){var t=this.arc,e=this.options,i=e.rangeSize,o=e.rangeDistance,n=e.majorTicks.size;return"outside"===e.labels.position?t.getRadiusX()-n-o-i:t.getRadiusX()-i},e.prototype.renderArc=function(t,e){var i=this.options;return this.arc=new v.d.Arc(t,{radiusX:e,radiusY:e,startAngle:i.startAngle+180,endAngle:i.endAngle+180})},e.prototype.renderTicks=function(){var t=this.arc,e=this.options,i=t.clone();this.majorTickAngles=this.tickAngles(t,e.majorUnit),this.majorTicks=ut(i,this.majorTickAngles,e.majorUnit,e.majorTicks);var o=new pt;o.append(this.majorTicks);var n=e.majorTicks.size,r=e.minorTicks.size;if(this._tickDifference=n-r,"outside"===e.labels.position){var s=i.getRadiusX();i.setRadiusX(s-n+r).setRadiusY(s-n+r)}return this.minorTickAngles=this.normalizeTickAngles(this.tickAngles(t,e.minorUnit)),this.minorTicks=ut(i,this.minorTickAngles,e.minorUnit,e.minorTicks),o.append(this.minorTicks),o},e.prototype.normalizeTickAngles=function(t){for(var e=this.options,i=e.majorUnit/e.minorUnit,o=t.length-1;o>=0;o--)o%i==0&&t.splice(o,1);return t},e.prototype.tickAngles=function(t,e){var i=this.options,o=i.reverse,n=i.max-i.min,r=t.endAngle-t.startAngle,s=n/e,c=t.startAngle,l=r/s;o&&(c+=r,l=-l);for(var p=[],u=0;u<s;u++)p.push(Object(a.L)(c,j.g)),c+=l;return Object(a.L)(c)<=t.endAngle&&p.push(c),p},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,i){var o=i&&this._tickDifference||0,n=this.arc,r=n.getRadiusX();i&&"outside"===this.options.labels.position&&0!==o&&(n=this.arc.clone()).setRadiusX(r-o).setRadiusY(r-o);for(var s=0;s<t.length;s++){var a=n.pointAt(e[s]),c=t[s].segments,l=a.x-c[0].anchor().x,p=a.y-c[0].anchor().y;t[s].transform((new v.d.transform).translate(l,p))}},e}(o.k);Object(a.M)(ft,{min:0,max:100,majorTicks:{size:15,align:"inside",color:j.c,width:.5,visible:!0},minorTicks:{size:10,align:"inside",color:j.c,width:.5,visible:!0},startAngle:-30,endAngle:210,labels:{position:"inside",padding:2}});var dt=ft,gt=function(t){function e(e,i){t.call(this,e,i);var o=this.options;o.duration=Math.max(Math.abs(o.newAngle-o.oldAngle)/o.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,i=Object(a.y)(e.oldAngle,e.newAngle,t);this.element.transform(v.d.transform().rotate(i,e.center))},e}(v.c.Animation);Object(a.M)(gt,{easing:"linear",duration:A}),v.c.AnimationFactory.current.register("radialPointer",gt);var vt=gt,yt=v.c.Circle,mt=v.c.Group,bt=v.c.Path,_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.setAngle=function(t){this.elements.transform(v.d.transform().rotate(t,this.center))},e.prototype.repaint=function(){var t=this.scale,e=this.options,i=t.slotAngle(e._oldValue),o=t.slotAngle(e.value);!1===e.animation.transitions?this.setAngle(o):new vt(this.elements,Object(a.k)(e.animation,{oldAngle:i,newAngle:o})).play()},e.prototype.render=function(){var t=this.scale,e=this.options,i=new mt;return!1!==e.animation&&Object(a.k)(e.animation,{startAngle:0,center:t.arc.center,reverse:t.options.reverse}),i.append(this._renderNeedle(),this._renderCap()),this.elements=i,this.setAngle(S),i},e.prototype.reflow=function(t){var e=this.center=t.center,i=Object(a.F)(this.options.length||1,.1,1.5),o=this.radius=t.getRadiusX()*i,n=this.capSize=Math.round(o*this.options.cap.size);this.bbox=v.d.Rect.fromPoints(new v.d.Point(e.x-n,e.y-n),new v.d.Point(e.x+n,e.y+n))},e.prototype._renderNeedle=function(){var t=this.scale.options.minorTicks.size,e=this.center,i=this.options.color,o=new bt({fill:{color:i},stroke:{color:i,width:.5}});return o.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(),o},e.prototype._renderCap=function(){var t=this.options,e=t.cap.color||t.color,
vendor: 5,373 bytes, line 1
1i=new v.d.Circle(this.center,this.capSize);return new yt(i,{fill:{color:e},stroke:{color:e}})},e}(Y);Object(a.M)(_t,{cap:{size:.05},arrow:{width:16,height:14},animation:{type:"radialPointer",duration:A}});var wt=_t,xt=v.c.Group,jt=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 i=0;i<e.length;i++)e[i].reflow(this.scale.arc),this._initialPlotArea=v.d.Rect.union(this._initialPlotArea,e[i].bbox);this.fitScale(t),this.alignScale(t),this._buildVisual(this.gaugeArea,e,this.scale),this._draw()},e.prototype._buildVisual=function(t,e,i){var o=this._visuals=new xt;o.append(t),o.append(i.ticks),o.append(i.ranges),this._buildPointers(e),o.append(i.labelElements)},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var i=t[e];i.render(),this._visuals.append(i.elements),i.value(i.options.value)}},e.prototype.fitScale=function(t){for(var e,i,o,n,r,s=this.scale.arc,c=this._initialPlotArea,l=Math.abs(this.getDiff(c,t)),p=Object(a.L)(l,j.g),u=Object(a.L)(-l,j.g),h=0,f=0;!(!(f++<100)||(h=r===o?h+1:0)>5||p!==n&&0<=(e=this.getPlotBox(p,t,s))&&e<=2||u!==n&&0<=(o=this.getPlotBox(u,t,s))&&o<=2||(n=e>0&&o>0?2*p:e<0&&o<0?2*u:Object(a.L)((p+u)/2||1,j.g),0<=(i=this.getPlotBox(n,t,s))&&i<=2));)r=o,i>0?(u=n,o=i):(p=n,e=i)},e.prototype.getPlotBox=function(t,e,i){var o=this.scale,n=this.pointers,r=i.getRadiusX(),s=i.clone();s.setRadiusX(r+t).setRadiusY(r+t),o.arc=s,o.reflow(e),this.plotBbox=o.bbox;for(var a=0;a<n.length;a++)n[a].reflow(s),this.plotBbox=v.d.Rect.union(this.plotBbox,n[a].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(),i=t.center(),o=e.x-i.x,n=e.y-i.y,r=this.scale,s=this.pointers;r.arc.center.x-=o,r.arc.center.y-=n,r.reflow(t);for(var a=0;a<s.length;a++)s[a].reflow(r.arc),this.plotBbox=v.d.Rect.union(r.bbox,s[a].bbox)},e.prototype._createModel=function(){var t=this.options,e=t.pointer,i=this.scale=new dt(t.scale,this.contextService);this.pointers=[];for(var o=Object(a.z)(e)?e:[e],n=0;n<o.length;n++){var r=new wt(i,Object(a.k)({},o[n],{animation:{transitions:t.transitions}}));this.pointers.push(r)}},e}(L);Object(a.M)(jt,{transitions:!0,gaugeArea:{background:""}});var Ot=jt,kt=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,i){var o=this.options.reverse,n=this.slotAngle(o?e:t),r=this.slotAngle(o?t:e),s=this.createRange(n,r,this.getRangeRadius(),i);return this.ranges.append(s),s},e}(dt);Object(a.M)(kt,{min:0,max:100,majorTicks:{visible:!1},minorTicks:{visible:!1},labels:{visible:!1},startAngle:0,endAngle:180,rangeLineCap:"round"});var At=kt,St=800,Tt=function(t){function e(e,i){t.call(this,e,i);var o=this.options,n=Math.abs(o.newAngle-o.oldAngle)/o.duration*1e3;o.duration=Object(a.F)(n,A,St);var r=e.elements.options.get("stroke.color"),s=e.currentColor();r!==s&&(this.startColor=new v.b(r),this.color=new v.b(s))}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,i=this.startColor,o=this.color,n=Object(a.y)(e.oldAngle,e.newAngle,t);if(this.element.angle(n),o){var r=Object(a.L)(Object(a.y)(i.r,o.r,t)),s=Object(a.L)(Object(a.y)(i.g,o.g,t)),c=Object(a.L)(Object(a.y)(i.b,o.b,t));this.element.stroke(new v.b(r,s,c).toHex())}},e}(v.c.Animation);Object(a.M)(Tt,{easing:"linear",duration:A}),v.c.AnimationFactory.current.register("radialRangePointer",Tt);var Rt=Tt,zt=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,i=t.slotAngle(e._oldValue),o=t.slotAngle(e.value);this.animation&&this.animation.abort(),!1===e.animation.transitions?(this.angle(o),this.stroke(this.currentColor())):(this.animation=new Rt(this,Object(a.k)(e.animation,{oldAngle:i,newAngle:o})),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&&Object(a.k)(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,i=t.max,o=this.options,n=o.colors,r=o.color,s=o.value,c=Object(a.B)(s)?s:e;if(n)for(var l=0;l<n.length;l++){var p=n[l],u=p.color,h=p.from;void 0===h&&(h=e);var f=p.to;
1if(void 0===f&&(f=i),h<=c&&c<=f)return u}return r},e.prototype.reflow=function(){this.render(),this.bbox=this.elements.bbox()},e}(Y);Object(a.M)(zt,{animation:{type:"radialRangePointer",duration:A}});var Ct=zt,Pt=(function(t){function e(){t.apply(this,arguments)}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 At(t.scale,this.contextService),i=new Ct(e,Object(a.k)({},{colors:t.colors,color:t.color,value:t.value,opacity:t.opacity,animation:{transitions:t.transitions}}));this.pointers=[i]},e.prototype._buildPointers=function(t){for(var e=0;e<t.length;e++){var i=t[e];i.render(),i.value(i.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 i=this.getSize(),o=this.scale.arc.center,n=o.x-t/2,r=o.y-e/2;if(t<i.width){var s=n+t;n=Math.max(n,0),s>i.width&&(n-=s-i.width)}if(e<i.height){var a=this.scale.bbox,c=a.bottomRight().y,l=r+e;r=Math.max(r,a.origin.y),l>c&&(r-=l-c)}return{left:n,top:r}}}(Ot),i("WX6r"))}}]);
2//# sourceMappingURL=vendors~app~0bfb5f78.e2ce8f66c55e50133dc8.bundle.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.