=0&&(g=o.interpolatedValue[m])}return g!=null?g+"":""})}},t.prototype.getRawValue=function(e,r){return Yc(this.getData(r),e)},t.prototype.formatTooltip=function(e,r,n){},t}();function eI(t){var e,r;return we(t)?t.type&&(r=t):e=t,{text:e,frag:r}}function vv(t){return new IQ(t)}var IQ=function(){function t(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return t.prototype.perform=function(e){var r=this._upstream,n=e&&e.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=c(this._modBy),s=this._modDataCount||0,l=c(e&&e.modBy),u=e&&e.modDataCount||0;(o!==l||s!==u)&&(a="reset");function c(x){return!(x>=1)&&(x=1),x}var f;(this._dirty||a==="reset")&&(this._dirty=!1,f=this._doReset(n)),this._modBy=l,this._modDataCount=u;var h=e&&e.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var v=this._dueIndex,p=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(f||v1&&n>0?s:o}};return a;function o(){return e=t?null:le},gte:function(t,e){return t>=e}},RQ=function(){function t(e,r){if(!Xe(r)){var n="";nt(n)}this._opFn=lF[e],this._rvalFloat=ma(r)}return t.prototype.evaluate=function(e){return Xe(e)?this._opFn(e,this._rvalFloat):this._opFn(ma(e),this._rvalFloat)},t}(),uF=function(){function t(e,r){var n=e==="desc";this._resultLT=n?1:-1,r==null&&(r=n?"min":"max"),this._incomparable=r==="min"?-1/0:1/0}return t.prototype.evaluate=function(e,r){var n=Xe(e)?e:ma(e),i=Xe(r)?r:ma(r),a=isNaN(n),o=isNaN(i);if(a&&(n=this._incomparable),o&&(i=this._incomparable),a&&o){var s=se(e),l=se(r);s&&(n=l?e:0),l&&(i=s?r:0)}return ni?-this._resultLT:0},t}(),NQ=function(){function t(e,r){this._rval=r,this._isEQ=e,this._rvalTypeof=typeof r,this._rvalFloat=ma(r)}return t.prototype.evaluate=function(e){var r=e===this._rval;if(!r){var n=typeof e;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(r=ma(e)===this._rvalFloat)}return this._isEQ?r:!r},t}();function OQ(t,e){return t==="eq"||t==="ne"?new NQ(t==="eq",e):fe(lF,t)?new RQ(t,e):null}var zQ=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(e){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(e){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(e,r){},t.prototype.retrieveValueFromItem=function(e,r){},t.prototype.convertValue=function(e,r){return os(e,r)},t}();function BQ(t,e){var r=new zQ,n=t.data,i=r.sourceFormat=t.sourceFormat,a=t.startIndex,o="";t.seriesLayoutBy!==Di&&nt(o);var s=[],l={},u=t.dimensionsDefine;if(u)N(u,function(g,m){var y=g.name,x={index:m,name:y,displayName:g.displayName};if(s.push(x),y!=null){var S="";fe(l,y)&&nt(S),l[y]=x}});else for(var c=0;c65535?ZQ:$Q}function Eu(){return[1/0,-1/0]}function YQ(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function nI(t,e,r,n,i){var a=hF[r||"float"];if(i){var o=t[e],s=o&&o.length;if(s!==n){for(var l=new a(n),u=0;um[1]&&(m[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(e,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=re(o,function(x){return x.property}),c=0;cy[1]&&(y[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(e,r){if(!(r>=0&&r=0&&r=this._rawCount||e<0)return-1;if(!this._indices)return e;var r=this._indices,n=r[e];if(n!=null&&ne)a=o-1;else return o}return-1},t.prototype.getIndices=function(){var e,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){e=new n(i);for(var a=0;a=f&&x<=h||isNaN(x))&&(l[u++]=g),g++}p=!0}else if(a===2){for(var m=v[i[0]],S=v[i[1]],b=e[i[1]][0],T=e[i[1]][1],y=0;y=f&&x<=h||isNaN(x))&&(C>=b&&C<=T||isNaN(C))&&(l[u++]=g),g++}p=!0}}if(!p)if(a===1)for(var y=0;y=f&&x<=h||isNaN(x))&&(l[u++]=M)}else for(var y=0;ye[k][1])&&(D=!1)}D&&(l[u++]=r.getRawIndex(y))}return uy[1]&&(y[1]=m)}}}},t.prototype.lttbDownSample=function(e,r){var n=this.clone([e],!0),i=n._chunks,a=i[e],o=this.count(),s=0,l=Math.floor(1/r),u=this.getRawIndex(0),c,f,h,v=new(Iu(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));v[s++]=u;for(var p=1;pc&&(c=f,h=b)}E>0&&Es&&(g=s-c);for(var m=0;mp&&(p=x,v=c+m)}var S=this.getRawIndex(f),b=this.getRawIndex(v);f