diff --git a/docs/asset-manifest.json b/docs/asset-manifest.json deleted file mode 100644 index b6a6b5b..0000000 --- a/docs/asset-manifest.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "files": { - "main.css": "/react-coffee-warehouse/static/css/main.019dfaa7.chunk.css", - "main.js": "/react-coffee-warehouse/static/js/main.d4e5ee9b.chunk.js", - "main.js.map": "/react-coffee-warehouse/static/js/main.d4e5ee9b.chunk.js.map", - "runtime-main.js": "/react-coffee-warehouse/static/js/runtime-main.4fe95d75.js", - "runtime-main.js.map": "/react-coffee-warehouse/static/js/runtime-main.4fe95d75.js.map", - "static/js/2.8baf995e.chunk.js": "/react-coffee-warehouse/static/js/2.8baf995e.chunk.js", - "static/js/2.8baf995e.chunk.js.map": "/react-coffee-warehouse/static/js/2.8baf995e.chunk.js.map", - "index.html": "/index.html", - "precache-manifest.297b768b09adb33ced6ce456f857ddef.js": "/precache-manifest.297b768b09adb33ced6ce456f857ddef.js", - "service-worker.js": "/service-worker.js", - "static/css/main.019dfaa7.chunk.css.map": "/react-coffee-warehouse/static/css/main.019dfaa7.chunk.css.map", - "static/js/2.8baf995e.chunk.js.LICENSE.txt": "/react-coffee-warehouse/static/js/2.8baf995e.chunk.js.LICENSE.txt", - "static/media/App.scss": "/react-coffee-warehouse/static/media/profile-icon.aebef4ea.svg", - "static/media/github-icon.svg": "/react-coffee-warehouse/static/media/github-icon.767e15a2.svg", - "static/media/header-bg.png": "/react-coffee-warehouse/static/media/header-bg.f1a95872.png", - "static/media/kendoka.png": "/react-coffee-warehouse/static/media/kendoka.1240069c.png", - "static/media/user-avatar.jpg": "/react-coffee-warehouse/static/media/user-avatar.5bded05c.jpg" - }, - "entrypoints": [ - "static/js/runtime-main.4fe95d75.js", - "static/js/2.8baf995e.chunk.js", - "static/css/main.019dfaa7.chunk.css", - "static/js/main.d4e5ee9b.chunk.js" - ] -} \ No newline at end of file diff --git a/docs/favicon.ico b/docs/favicon.ico deleted file mode 100644 index 667b63a..0000000 Binary files a/docs/favicon.ico and /dev/null differ diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index 47ce534..0000000 --- a/docs/index.html +++ /dev/null @@ -1 +0,0 @@ -
n?s(n):e:e},Me=function(e){return function(t,n,r){void 0===n&&(n=""),void 0===r&&(r={});var o=document.createElement(e);return o.className=n,Object.keys(r).map((function(e){return o.style[e]=r[e]})),"string"===typeof t?o.innerHTML=t||"":(t||[]).forEach((function(e){return e&&o.appendChild(e)})),o}},Te=[[]],Ee=((le={})[Y.Left]=function(e){return y(e,-1)},le[Y.Up]=function(e){return y(e,-5)},le[Y.Right]=function(e){return y(e,1)},le[Y.Down]=function(e){return y(e,5)},le[Y.PrevView]=function(e){return v(e,-1)},le[Y.NextView]=function(e){return v(e,1)},le[Y.FirstInView]=function(e){return T(e)},le[Y.LastInView]=function(e){return z(e)},le),Pe=function(){function e(){}return e.prototype.addToDate=function(e,t){return v(e,t)},e.prototype.datesList=function(e,t){return Se(0,t).map((function(t){return v(e,t)}))},e.prototype.data=function(e){var t=this,n=e.cellUID,r=e.focusedDate,o=e.isActiveView,i=e.max,a=e.min,s=e.selectedDate,l=e.selectionRange,u=void 0===l?he:l,c=e.viewDate;if(!c)return Te;var p=Se(0,5),d=T(c),h=z(c),f=xe();return Se(0,2).map((function(e){var l=y(d,5*e);return p.map((function(e){var c=t.normalize(y(l,e),a,i),p=t.isEqual(c,u.start),m=t.isEqual(c,u.end),v=!p&&!m&&Ce(c,u),g=o&&(Array.isArray(s)?t.isSelectedFromArray(c,s,a,i):ke(s,a,i)&&t.isEqual(c,s));return{formattedValue:t.value(c),id:""+n+c.getTime(),isFocused:t.isEqual(c,r),isSelected:g,isWeekend:!1,isInRange:ke(c,a,i),isRangeStart:p,isRangeMid:v,isRangeEnd:m,isRangeSplitEnd:v&&t.isEqual(c,h),isRangeSplitStart:v&&t.isEqual(c,d),isToday:t.isEqual(c,f),title:t.cellTitle(c),value:c}}))}))},e.prototype.isSelectedFromArray=function(e,t,n,r){var o=this,i=!1;return t.forEach((function(t){ke(e,n,r)&&o.isEqual(e,t)&&(i=!0)})),i},e.prototype.isEqual=function(e,t){return!(!e||!t)&&O(e).getFullYear()===O(t).getFullYear()},e.prototype.isInArray=function(e,t){if(!t.length)return!1;var n=e.getFullYear();return t[0].getFullYear()<=n&&n<=t[t.length-1].getFullYear()+99},e.prototype.isInRange=function(e,t,n){var r=O(e).getFullYear(),o=!t||O(t).getFullYear()<=r,i=!n||r<=O(n).getFullYear();return o&&i},e.prototype.isInSameView=function(e,t){return 0===E(e,t)},e.prototype.isRangeStart=function(e){return e.getFullYear()%1e3===0},e.prototype.move=function(e,t){var n=Ee[t];return n?n(e):e},e.prototype.cellTitle=function(e){return O(e).getFullYear().toString()},e.prototype.navigationTitle=function(e){return e?T(e).getFullYear().toString():""},e.prototype.title=function(e){return e?T(e).getFullYear()+" - "+z(e).getFullYear():""},e.prototype.rowLength=function(e){return 5},e.prototype.skip=function(e,t){return E(t,e)},e.prototype.total=function(e,t){return E(e,t)+1},e.prototype.value=function(e){return e?O(e).getFullYear().toString():""},e.prototype.viewDate=function(e,t,n){return void 0===n&&(n=1),E(e,t) d)return null;var f=c+(h-p)/a,m=f%1;return r?f=Math.round(f):0===m&&f>0&&f--,Math.floor(f)},t.prototype.getCategory=function(e){var t=this.pointCategoryIndex(e);return null===t?null:this.options.categories[t]},t.prototype.categoryIndex=function(e){return this.totalIndex(e)-Math.floor(this.options.min||0)},t.prototype.categoryAt=function(e,t){var n=this.options;return(t?n.srcCategories:n.categories)[e]},t.prototype.categoriesCount=function(){return(this.options.categories||[]).length},t.prototype.translateRange=function(e){var t=this.options,n=this.lineBox(),r=t.vertical?n.height():n.width(),o=t.categories.length,i=Ee(e/(r/o),10);return{min:i,max:o+i}},t.prototype.zoomRange=function(e){var t=this.totalRangeIndices(),n=this.totalRange(),r=n.min,o=n.max,i=Oe(t.min+e,r,o),a=Oe(t.max-e,r,o);if(a-i>0)return{min:i,max:a}},t.prototype.scaleRange=function(e){var t=this.options.categories.length,n=e*t;return{min:-n,max:t+n}},t.prototype.labelsCount=function(){var e=this.labelsRange();return e.max-e.min},t.prototype.labelsRange=function(){var e=this.options,t=e.justified,n=e.labels,r=this.totalRangeIndices(!0),o=r.min,i=r.max,a=Math.floor(o);return t?(o=Math.ceil(o),i=Math.floor(i)):(o=Math.floor(o),i=Math.ceil(i)),{min:(o>n.skip?n.skip+n.step*Math.ceil((o-n.skip)/n.step):n.skip)-a,max:(e.categories.length?i+(t?1:0):0)-a}},t.prototype.createAxisLabel=function(e,t){var n=this.options,r=n.dataItems?n.dataItems[e]:null,o=De(n.categories[e],""),i=this.axisLabelText(o,r,t);return new dt(o,i,e,r,t)},t.prototype.shouldRenderNote=function(e){var t=this.totalRangeIndices();return Math.floor(t.min)<=e&&e<=Math.ceil(t.max)},t.prototype.noteSlot=function(e){var t=this.options,n=e-Math.floor(t.min||0);return this.getSlot(n)},t.prototype.arrangeNotes=function(){e.prototype.arrangeNotes.call(this),this.hideOutOfRangeNotes()},t.prototype.hideOutOfRangeNotes=function(){var e=this.notes,t=this.box;if(e&&e.length)for(var n=this.options.vertical?x:w,r=t[n+1],o=t[n+2],i=0;i o)break;if(m>=r)e(Ee(l+u*(sn(m,a)-c),10),t)}},t.prototype.createAxisLabel=function(e,t){var n=Math.ceil(this.logMin+e),r=Math.pow(this.options.majorUnit,n),o=this.axisLabelText(r,null,t);return new dt(r,o,e,null,t)},t.prototype.shouldRenderNote=function(e){var t=this.range();return t.min<=e&&e<=t.max},t.prototype.pan=function(e){var t=this.translateRange(e);return this.limitRange(t.min,t.max,this.totalMin,this.totalMax,t.offset)},t.prototype.pointsRange=function(e,t){var n=this.getValue(e),r=this.getValue(t);return{min:Math.min(n,r),max:Math.max(n,r)}},t.prototype.zoomRange=function(e){var t=this.options,n=this.totalMin,r=this.totalMax,o=this.scaleRange(e),i=Oe(o.min,n,r),a=Oe(o.max,n,r),s=t.majorUnit,l=a>i&&t.min&&t.max&&Ee(sn(t.max,s)-sn(t.min,s),10)<1,u=!(t.min===n&&t.max===r)&&Ee(sn(a,s)-sn(i,s),10)>=1;if(l||u)return{min:i,max:a}},t.prototype._minorIntervalOptions=function(e){var t=this.options,n=t.minorUnit,r=t.majorUnit,o=Math.pow(r,e);return{value:o,minorStep:(Math.pow(r,e+1)-o)/n}},t.prototype._lineOptions=function(){var e=this.options,t=e.reverse,n=e.vertical,r=n?x:w,o=this.lineBox(),i=n===t?1:-1,a=1===i?1:2;return{step:i*((n?o.height():o.width())/(this.logMax-this.logMin)),lineStart:o[r+a],lineBox:o}},t}(gt);function an(){throw new Error("Non positive values cannot be used for a logarithmic axis")}function sn(e,t){return Math.log(e)/Math.log(t)}Le(on,{type:"log",majorUnit:10,minorUnit:1,axisCrossingValue:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:s},zIndex:1,_deferLabels:!0});var ln=on,un={createGridLines:function(e){var t,n,r=this.options,o=Math.abs(this.box.center().y-e.lineBox().y1),i=[],a=!1;return r.majorGridLines.visible&&(t=this.majorGridLineAngles(e),a=!0,i=this.renderMajorGridLines(t,o,r.majorGridLines)),r.minorGridLines.visible&&(n=this.minorGridLineAngles(e,a),ge(i,this.renderMinorGridLines(n,o,r.minorGridLines,e,a))),i},renderMajorGridLines:function(e,t,n){return this.renderGridLines(e,t,n)},renderMinorGridLines:function(e,t,n,r,o){var i=this.radiusCallback&&this.radiusCallback(t,r,o);return this.renderGridLines(e,t,n,i)},renderGridLines:function(e,t,n,r){for(var o={stroke:{width:n.width,color:n.color,dashType:n.dashType}},i=this.box.center(),a=new S.d.Circle([i.x,i.y],t),s=this.gridLinesVisual(),l=0;ll&&(l=o,u=a);return l?(t.valueIdx+=l,u+1):null}function ct(e){var t=!1;return e.value.charAt(e.valueIdx)===e.format[e.idx]&&(e.valueIdx++,t=!0),t}function pt(e,t,n){var r=n.shortHours,o=n.noSeparator,i=n.optionalMinutes,a=n.localizedName,s=n.zLiteral;if(e.UTC=!0,s&&"Z"===e.value.charAt(e.valueIdx))return e.valueIdx++,!1;if(a&&!ut(function(e){var t=e.gmtFormat,n=e.gmtZeroFormat;if(!t)throw l.NoGMTInfo.error();return[t.replace("{0}","").toLowerCase(),n.replace("{0}","").toLowerCase()]}(t.calendar),e,!0))return!0;var u=Xe.exec(e.value.substr(e.valueIdx,6));if(!u)return!a;var c=u[1],p=u[3],d=parseInt(c,10),h=u[2],f=parseInt(p,10);return!!(isNaN(d)||!r&&3!==c.length||!i&&isNaN(f)||o&&h)||(isNaN(f)&&(f=null),!!(at(d,-12,13)||f&&at(f,0,59))||(e.valueIdx+=u[0].length,e.hoursOffset=d,void(e.minutesOffset=f)))}function dt(e,t,n){var r=st(e,t),o=ze(n,"months",r,"L"===e,!0),i=r<3?lt(2,t):ut(o,t,!0);if(null===i||at(i,1,12))return!0;t.month=i-1}function ht(e,t,n){var r=st(e,t),o=ze(n,"days",r,"c"===e,!0),i=r<3?lt(1,t):ut(o,t,!0);if(!i&&0!==i||at(i,1,7))return!0}var ft={};function mt(e,t){return""+nt.exec(t)[0]+e+rt.exec(t)[0]}function yt(e,t,n){for(var r=je(t,n).split(""),o={format:r,idx:0,value:mt(e,t),valueIdx:0,year:null,month:null,day:null,hours:null,minutes:null,seconds:null,milliseconds:null},i=r.length,a=!1;o.idx2029&&(n-=100)}e.year=n},ft.h=function(e){st("h",e);var t=lt(2,e);if(12===t&&(t=0),null===t||at(t,0,11))return!0;e.hours=t},ft.K=function(e){st("K",e);var t=lt(2,e);if(null===t||at(t,0,11))return!0;e.hours=t},ft.a=function(e,t){var n=ze(t,"dayPeriods",st("a",e),!1,!0),r=ut([n.pm],e,!0);if(!r&&!ut([n.am],e,!0))return!0;e.pmHour=r},ft.H=function(e){st("H",e);var t=lt(2,e);if(null===t||at(t,0,23))return!0;e.hours=t},ft.k=function(e){st("k",e);var t=lt(2,e);if(null===t||at(t,1,24))return!0;e.hours=24===t?0:t},ft.m=function(e){st("m",e);var t=lt(2,e);if(null===t||at(t,0,59))return!0;e.minutes=t},ft.s=function(e){st("s",e);var t=lt(2,e);if(null===t||at(t,0,59))return!0;e.seconds=t},ft.S=function(e){var t=st("S",e),n=e.value.substr(e.valueIdx,t),r=null;if(isNaN(parseInt(n,10))||(r=te(r=parseFloat("0."+n,10),3),r*=1e3,e.valueIdx+=t),null===r||at(r,0,999))return!0;e.milliseconds=r},ft.z=function(e,t){var n=st("z",e)<4,r=pt(e,t,{shortHours:n,optionalMinutes:n,localizedName:!0});if(r)return r},ft.Z=function(e,t){var n=st("Z",e),r=pt(e,t,{noSeparator:n<4,zLiteral:5===n,localizedName:4===n});if(r)return r},ft.x=function(e,t){var n=st("x",e),r=pt(e,t,{noSeparator:3!==n&&5!==n,optionalMinutes:1===n});if(r)return r},ft.X=function(e,t){var n=st("X",e),r=pt(e,t,{noSeparator:3!==n&&5!==n,optionalMinutes:1===n,zLiteral:!0});if(r)return r},ft.G=function(e,t){var n=ze(t,"eras",st("G",e),!1,!0);if(null===ut([n[0],n[1]],e,!0))return!0},ft.e=function(e,t){return ht("e",e,t)},ft.c=function(e,t){return ht("c",e,t)};var bt={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}};function wt(e,t){var n=e[e.length-1];n&&"literal"===n.type?n.pattern+=t:e.push({type:"literal",pattern:t})}function xt(e){return"h"===e||"K"===e}function kt(e,t){void 0===t&&(t="en");for(var n=je(e,p(t)),r=[],o=Ve.lastIndex=0,i=Ve.exec(n);i;){var a=i[0];if(o0&&n===r&&(r+=.001);var o=new S.d.Point(e.center.x,e.center.y),i=Math.max(e.radius,0),a=Math.max(e.innerRadius,0),s=new S.d.Arc(o,{startAngle:n,endAngle:r,radiusX:i,radiusY:i}),l=S.c.Path.fromArc(s,t).close();if(a){s.radiusX=s.radiusY=a;var u=s.pointAt(r);l.lineTo(u.x,u.y),l.arc(r,n,a,a,!0)}else l.lineTo(o.x,o.y);return l},t}(S.a));Ve.current=new Ve;var Ze=Ve,Ge=function(e){function t(t){e.call(this),this.children=[],this.options=A({},this.options,this.initUserOptions(t))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.initUserOptions=function(e){return e},t.prototype.reflow=function(e){for(var t,n=this.children,r=0;ru?null:Ee(n?o-p:i+p,10)},t.prototype.translateRange=function(e){var t=this.options,n=t.vertical,r=t.reverse,o=t.max,i=t.min,a=this.lineBox(),s=n?a.height():a.width(),l=Ee(e/(s/(o-i)),10);return!n&&!r||n&&r||(l=-l),{min:i+l,max:o+l,offset:l}},t.prototype.scaleRange=function(e){var t=this.options,n=-e*t.majorUnit;return{min:t.min-n,max:t.max+n}},t.prototype.labelsCount=function(){return this.getDivisions(this.options.majorUnit)},t.prototype.createAxisLabel=function(e,t){var n=this.options,r=Ee(n.min+e*n.majorUnit,10),o=this.axisLabelText(r,null,t);return new dt(r,o,e,null,t)},t.prototype.shouldRenderNote=function(e){var t=this.range();return t.min<=e&&e<=t.max},t.prototype.pan=function(e){var t=this.translateRange(e);return this.limitRange(t.min,t.max,this.totalMin,this.totalMax,t.offset)},t.prototype.pointsRange=function(e,t){var n=this.getValue(e),r=this.getValue(t),o=Math.min(n,r),i=Math.max(n,r);if(this.isValidRange(o,i))return{min:o,max:i}},t.prototype.zoomRange=function(e){var t=this.totalMin,n=this.totalMax,r=this.scaleRange(e),o=Oe(r.min,t,n),i=Oe(r.max,t,n);if(this.isValidRange(o,i))return{min:o,max:i}},t.prototype.isValidRange=function(e,t){return t-e>Jt},t}(gt);function en(e,t,n){var r=Ee(Math.abs(e%t),10);return 0===r||r>t*(1-n)}Le(Qt,{type:"numeric",min:0,max:1,vertical:!0,majorGridLines:{visible:!0,width:1,color:s},labels:{format:"#.####################"},zIndex:1});var tn=Qt,nn=function(e){function t(t,n,r,o){var i=Ct(t),a=Ct(n),s=o.intl,l=r||{};l=function(e,t,n){var r=n.min||e,o=n.max||t,i=n.baseUnit||(o&&r?function(e){var t="hours";e>=31536e6?t=wt:e>=26784e5?t="months":e>=6048e5?t="weeks":e>=864e5&&(t=bt);return t}(kt(o,r)):"hours"),a=xt[i],s=n.weekStartDay||0,l=Ot(Pt(r)-1,i,s)||Ct(o),u=Mt(Pt(o)+1,i,s),c=(n.majorUnit?n.majorUnit:void 0)||$t(je(l.getTime(),u.getTime()),a)/a,p=Lt(l,u,i),d=$t(p,c)-p,h=Math.floor(d/2),f=d-h;n.baseUnit||delete n.baseUnit;return n.baseUnit=n.baseUnit||i,n.min=n.min||Nt(l,-h,i,s),n.max=n.max||Nt(u,f,i,s),n.minorUnit=n.minorUnit||c/5,n.majorUnit=c,n}(i,a,l=A(l||{},{min:Rt(s,l.min),max:Rt(s,l.max),axisCrossingValue:jt(s,l.axisCrossingValues||l.axisCrossingValue)})),e.call(this,l,o),this.intlService=s,this.seriesMin=i,this.seriesMax=a;var u=l.weekStartDay||0;this.totalMin=Pt(Ot(Pt(i)-1,l.baseUnit,u)),this.totalMax=Pt(Mt(Pt(a)+1,l.baseUnit,u))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.clone=function(){return new t(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},t.prototype.range=function(){var e=this.options;return{min:e.min,max:e.max}},t.prototype.getDivisions=function(e){var t=this.options;return Math.floor(Lt(t.min,t.max,t.baseUnit)/e+1)},t.prototype.getTickPositions=function(e){for(var t=this.options,n=t.vertical,r=this.lineBox(),o=(n?-1:1)*(t.reverse?-1:1),i=r[(n?x:w)+(1===o?1:2)],a=this.getDivisions(e),s=Et(t.max,t.min),l=(n?r.height():r.width())/s,u=t.weekStartDay||0,c=[i],p=1;p0&&(i=Nt(i,r,n.baseUnit,o));var a=t.dateFormats[n.baseUnit];t.format=t.format||a;var s=this.axisLabelText(i,null,t);return new dt(i,s,e,null,t)},t.prototype.translateRange=function(e,t){var n=this.options,r=n.baseUnit,o=n.weekStartDay||0,i=this.lineBox(),a=n.vertical?i.height():i.width(),s=this.range(),l=a/Et(s.max,s.min),u=Ee(e/l,10)*(n.reverse?-1:1),c=_t(n.min,u),p=_t(n.max,u);return t||(c=Nt(c,0,r,o),p=Nt(p,0,r,o)),{min:c,max:p,offset:u}},t.prototype.scaleRange=function(e){for(var t=this.options,n=t.min,r=t.max,o=Math.abs(e);o--;){var i=Et(n,r),a=Math.round(.1*i);e<0?(n=_t(n,a),r=_t(r,-a)):(n=_t(n,-a),r=_t(r,a))}return{min:n,max:r}},t.prototype.shouldRenderNote=function(e){var t=this.range();return Tt(e,t.min)>=0&&Tt(e,t.max)<=0},t.prototype.pan=function(e){var t=this.translateRange(e,!0),n=this.limitRange(Pt(t.min),Pt(t.max),this.totalMin,this.totalMax,t.offset);if(n)return{min:Ct(n.min),max:Ct(n.max)}},t.prototype.pointsRange=function(e,t){var n=this.getValue(e),r=this.getValue(t),o=Math.min(n,r),i=Math.max(n,r);return{min:Ct(o),max:Ct(i)}},t.prototype.zoomRange=function(e){var t=this.scaleRange(e);return{min:Ct(Oe(Pt(t.min),this.totalMin,this.totalMax)),max:Ct(Oe(Pt(t.max),this.totalMin,this.totalMax))}},t}(gt);Le(nn,{type:p,majorGridLines:{visible:!0,width:1,color:s},labels:{dateFormats:Bt}});var rn=nn,on=function(e){function t(t,n,r,o){var i=A({majorUnit:10,min:t,max:n},r),a=i.majorUnit,s=function(e,t){var n,r=Ee(sn(e,t),10)%1;n=e<=0?t:0!==r&&(r<.3||r>.9)?Math.pow(t,sn(e,t)+.2):Math.pow(t,Math.ceil(sn(e,t)));return n}(n,a),l=function(e,t,n){var r=n.majorUnit,o=e;e<=0?o=t<=1?Math.pow(r,-2):1:n.narrowRange||(o=Math.pow(r,Math.floor(sn(e,r))));return o}(t,n,i),u=function(e,t,n,r){var o=n.min,i=n.max;we(n.axisCrossingValue)&&n.axisCrossingValue<=0&&an();we(r.max)?r.max<=0&&an():i=t;we(r.min)?r.min<=0&&an():o=e;return{min:o,max:i}}(l,s,i,r);i.max=u.max,i.min=u.min,i.minorUnit=r.minorUnit||Ee(a-1,10),e.call(this,i,o),this.totalMin=we(r.min)?Math.min(l,r.min):l,this.totalMax=we(r.max)?Math.max(s,r.max):s,this.logMin=Ee(sn(u.min,a),10),this.logMax=Ee(sn(u.max,a),10),this.seriesMin=t,this.seriesMax=n,this.createLabels()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.clone=function(){return new t(this.seriesMin,this.seriesMax,Object.assign({},this.options),this.chartService)},t.prototype.startValue=function(){return this.options.min},t.prototype.getSlot=function(e,t,n){var r,o,i=this.options,a=this.logMin,s=this.logMax,l=i.reverse,u=i.vertical,c=i.majorUnit,p=u?x:w,d=this.lineBox(),h=d[p+(l?2:1)],f=(l?-1:1)*((u?d.height():d.width())/(s-a)),m=new Be(d.x1,d.y1,d.x1,d.y1),y=e,v=t;return we(y)||(y=v||1),we(v)||(v=y||1),y<=0||v<=0?null:(n&&(y=Math.max(Math.min(y,i.max),i.min),v=Math.max(Math.min(v,i.max),i.min)),y=sn(y,c),v=sn(v,c),u?(r=s-Math.max(y,v),o=s-Math.min(y,v)):(r=Math.min(y,v)-a,o=Math.max(y,v)-a),m[p+1]=Xt(h+f*(l?o:r)),m[p+2]=Xt(h+f*(l?r:o)),m)},t.prototype.getValue=function(e){var t=this.options,n=this.logMin,r=this.logMax,o=t.reverse,i=t.vertical,a=t.majorUnit,s=this.lineBox(),l=i===o?1:-1,u=1===l?1:2,c=i?s.height():s.width(),p=(r-n)/c,d=i?x:w,h=s[d+u],f=l*(e[d]-h);if(f<0||f>c)return null;var m=n+f*p;return Ee(Math.pow(a,m),10)},t.prototype.range=function(){var e=this.options;return{min:e.min,max:e.max}},t.prototype.scaleRange=function(e){var t=this.options.majorUnit,n=-e;return{min:Math.pow(t,this.logMin-n),max:Math.pow(t,this.logMax+n)}},t.prototype.translateRange=function(e){var t=this.options,n=this.logMin,r=this.logMax,o=t.reverse,i=t.vertical,a=t.majorUnit,s=this.lineBox(),l=i?s.height():s.width(),u=Ee(e/(l/(r-n)),10);return!i&&!o||i&&o||(u=-u),{min:Math.pow(a,n+u),max:Math.pow(a,r+u),offset:u}},t.prototype.labelsCount=function(){var e=Math.floor(this.logMax);return Math.floor(e-this.logMin)+1},t.prototype.getMajorTickPositions=function(){var e=[];return this.traverseMajorTicksPositions((function(t){e.push(t)}),{step:1,skip:0}),e},t.prototype.createTicks=function(e){var t=this.options,n=t.majorTicks,r=t.minorTicks,o=t.vertical,i=t.labels.mirror,a=this.lineBox(),s={vertical:o};function l(t,n){s.tickX=i?a.x2:a.x2-n.size,s.tickY=i?a.y1-n.size:a.y1,s.position=t,e.append(mt(s,n))}return n.visible&&this.traverseMajorTicksPositions(l,n),r.visible&&this.traverseMinorTicksPositions(l,r),[]},t.prototype.createGridLines=function(e){var t=this.options,n=t.minorGridLines,r=t.majorGridLines,o=t.vertical,i=e.lineBox(),a={lineStart:i[o?"x1":"y1"],lineEnd:i[o?"x2":"y2"],vertical:o},s=[],l=this.gridLinesVisual();function u(e,t){pe(e,s)||(a.position=e,l.append(yt(a,t)),s.push(e))}return r.visible&&this.traverseMajorTicksPositions(u,r),n.visible&&this.traverseMinorTicksPositions(u,n),l.children},t.prototype.traverseMajorTicksPositions=function(e,t){for(var n=this._lineOptions(),r=n.lineStart,o=n.step,i=this.logMin,a=this.logMax,s=Math.ceil(i)+t.skip;s<=a;s+=t.step){e(Ee(r+o*(s-i),10),t)}},t.prototype.traverseMinorTicksPositions=function(e,t){for(var n=this.options,r=n.min,o=n.max,i=n.minorUnit,a=n.majorUnit,s=this._lineOptions(),l=s.lineStart,u=s.step,c=this.logMin,p=this.logMax,d=Math.floor(c);d{4:d} Open: {0:C} High: {1:C} Low: {2:C} "},highlight:{opacity:1,border:{width:1,opacity:1},line:{width:1,opacity:1}},notes:{visible:!0,label:{}}}),A(Rr.prototype,Qn),A(Rr.prototype,er);var jr=Rr;function Fr(e){return On(e)===e.length}var zr=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.reflowCategories=function(e){for(var t=this.children,n=t.length,r=0;rClose: {3:C}