Sindbad~EG File Manager

Current Path : /home/copmadinaarea/drive.copmadinaarea.org/public/client/
Upload File :
Current File : /home/copmadinaarea/drive.copmadinaarea.org/public/client/0.830f7e60cf1f0f9eb684.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"6SKC":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("4Ait"),a=function(){function t(){}return t.prototype.transform=function(t,e){return void 0===t&&(t=0),isNaN(parseFloat(String(t)))||!isFinite(t)?"-":Object(i.a)(t,e)},t}()},"7Gop":function(t,e,n){"use strict";n.r(e);var i,a=n("CcnG"),s=function(){},l=n("pMnS"),r=n("t68o"),o=n("v1l8"),c=n("xYTU"),u=n("NcP4"),d=n("Mr+X"),h=n("SMsm"),p=n("Ip0R"),f=n("6SKC"),m=function(){},g=a["\u0275crt"]({encapsulation:2,styles:[["analytics-header{display:flex;margin:0 -6px 25px}@media only screen and (max-width:768px){analytics-header{display:none}}analytics-header>.stat{display:flex;flex:1 1 auto;min-width:0;margin-right:25px;border-radius:4px;height:110px;align-items:center;color:rgba(0,0,0,.87);background-color:#fff;box-shadow:0 1px 4px 0 rgba(0,0,0,.1);padding:0 15px}analytics-header>.stat:last-of-type{margin-right:0}analytics-header>.stat>.details{margin-left:10px}analytics-header>.stat>.details>.count{font-size:2.3rem;font-family:Montserrat,sans-serif;color:rgba(0,0,0,.87)}analytics-header>.stat>.details>.name{font-size:1.4rem;color:rgba(0,0,0,.54)}analytics-header>.stat>.details>.name>.capitalize{text-transform:capitalize}analytics-header>.stat>.mat-icon{color:#1976d2;opacity:.8;width:60px;height:60px}"]],data:{}});function b(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,2,"div",[["class","count"]],null,null,null,null,null)),(t()(),a["\u0275ted"](1,null,["",""])),a["\u0275ppd"](2,1)],null,function(t,e){t(e,1,0,a["\u0275unv"](e,1,0,t(e,2,0,a["\u0275nov"](e.parent.parent,0),e.parent.context.$implicit.value)))})}function v(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,2,"div",[["class","count"]],null,null,null,null,null)),(t()(),a["\u0275ted"](1,null,["",""])),a["\u0275ppd"](2,1)],null,function(t,e){t(e,1,0,a["\u0275unv"](e,1,0,t(e,2,0,a["\u0275nov"](e.parent.parent,1),e.parent.context.$implicit.value)))})}function x(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,16,"div",[["class","stat"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n    "])),(t()(),a["\u0275eld"](2,0,null,null,1,"mat-icon",[["class","mat-icon"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,d.b,d.a)),a["\u0275did"](3,638976,null,0,h.a,[a.ElementRef,h.c,[8,null]],{svgIcon:[0,"svgIcon"]},null),(t()(),a["\u0275ted"](-1,null,["\n    "])),(t()(),a["\u0275eld"](5,0,null,null,10,"div",[["class","details"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275eld"](7,0,null,null,1,"div",[["class","name"]],null,null,null,null,null)),(t()(),a["\u0275ted"](8,null,["",""])),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275and"](16777216,null,null,1,null,b)),a["\u0275did"](11,16384,null,0,p.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275and"](16777216,null,null,1,null,v)),a["\u0275did"](14,16384,null,0,p.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null),(t()(),a["\u0275ted"](-1,null,["\n    "])),(t()(),a["\u0275ted"](-1,null,["\n"]))],function(t,e){t(e,3,0,e.context.$implicit.icon),t(e,11,0,"number"===e.context.$implicit.type),t(e,14,0,"fileSize"===e.context.$implicit.type)},function(t,e){t(e,2,0,a["\u0275nov"](e,3).inline),t(e,8,0,e.context.$implicit.name)})}function y(t){return a["\u0275vid"](2,[a["\u0275pid"](0,p.DecimalPipe,[a.LOCALE_ID]),a["\u0275pid"](0,f.a,[]),(t()(),a["\u0275and"](16777216,null,null,1,null,x)),a["\u0275did"](3,278528,null,0,p.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,3,0,e.component.data)},null)}!function(t){t.LINE="line",t.PIE="pie"}(i||(i={}));var w,k=function(){return function(t){var e=this;this.config=t,setTimeout(function(){return e.generate()})}}(),E=n("uki+"),C=(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}w(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lineConfig={showArea:!0,lineSmooth:!0,low:0,fullWidth:!0,chartPadding:{top:0,left:15,right:30,bottom:0}},e}return C(e,t),e.prototype.generate=function(){this.chart=new E.Line(this.config.selector,this.transformChartData(),this.lineConfig)},e.prototype.transformChartData=function(){return{labels:this.config.labels,series:this.config.data}},e.prototype.destroy=function(){this.chart&&this.chart.detach()},e}(k),z=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),j=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.pieConfig={showLabel:!1,chartPadding:0},e}return z(e,t),e.prototype.generate=function(){this.chart=new E.Pie(this.config.selector,this.transformChartData(),this.pieConfig)},e.prototype.transformChartData=function(){return{labels:this.config.labels,series:this.config.data}},e.prototype.destroy=function(){this.chart&&this.chart.detach()},e}(k),O=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},A=function(){function t(){}return Object.defineProperty(t.prototype,"hostClass",{get:function(){return(this.chartConfig?this.chartConfig.type:"")+"-chart-container"},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(){this.chartConfig&&(this.chart=this.chartConfig.type===i.LINE?new S(this.transformConfig()):new j(this.transformConfig()))},t.prototype.ngOnDestroy=function(){this.chart&&this.chart.destroy()},t.prototype.transformConfig=function(){return O({},this.chartConfig,{selector:this.chartPlaceholder.nativeElement})},t}(),M=a["\u0275crt"]({encapsulation:2,styles:[['chart{display:block;background-color:#fff;box-shadow:1px 0 20px rgba(0,0,0,.05);border:none;border-radius:4px;flex:1 1 auto;max-width:100%;max-height:450px;min-width:calc(50% - 25px);height:100%}@media only screen and (max-width:768px){chart{width:100%;flex:0 0 100%}}chart.pie-chart-container{max-width:500px;min-width:calc(30% - 25px)}chart.pie-chart-container .chart-header{margin-bottom:15px}chart:nth-child(1){margin-right:25px}chart .chart-body{height:calc(100% - 136px)}chart .chart-header{padding:15px;margin-bottom:30px;border-bottom:1px solid #e0e0e0}chart .chart-header .title{font-size:1.3rem;font-weight:500;color:rgba(0,0,0,.87)}chart .chart-header .subtitle{font-size:1.2rem;color:rgba(0,0,0,.54)}chart .chart-legend{display:flex;width:100%;height:40px;align-items:center;justify-content:center;padding:0 15px;font-size:1.3rem}chart .chart-legend .legend-item{margin-right:14px;position:relative;padding-left:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize}chart .chart-legend .legend-item:before{display:block;content:" ";width:12px;height:12px;position:absolute;top:0;left:0;bottom:0;right:0;margin:auto 0}']],data:{}});function N(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"div",[["class","legend-item"]],null,null,null,null,null)),(t()(),a["\u0275ted"](1,null,["",""]))],null,function(t,e){t(e,1,0,e.context.$implicit)})}function L(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,4,"div",[["class","chart-legend"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n    "])),(t()(),a["\u0275and"](16777216,null,null,1,null,N)),a["\u0275did"](3,278528,null,0,p.NgForOf,[a.ViewContainerRef,a.TemplateRef,a.IterableDiffers],{ngForOf:[0,"ngForOf"]},null),(t()(),a["\u0275ted"](-1,null,["\n"]))],function(t,e){t(e,3,0,e.component.chartConfig.labels)},null)}function _(t){return a["\u0275vid"](2,[a["\u0275qud"](402653184,1,{chartPlaceholder:0}),(t()(),a["\u0275eld"](1,0,null,null,5,"div",[["class","chart-header"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n    "])),a["\u0275ncd"](null,0),(t()(),a["\u0275ted"](-1,null,["\n    "])),a["\u0275ncd"](null,1),(t()(),a["\u0275ted"](-1,null,["\n"])),(t()(),a["\u0275ted"](-1,null,["\n\n"])),(t()(),a["\u0275eld"](8,0,[[1,0],["chartPlaceholder",1]],null,0,"div",[],[[8,"className",0]],null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n\n"])),a["\u0275ncd"](null,2),(t()(),a["\u0275ted"](-1,null,["\n\n"])),(t()(),a["\u0275and"](16777216,null,null,1,null,L)),a["\u0275did"](13,16384,null,0,p.NgIf,[a.ViewContainerRef,a.TemplateRef],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,13,0,null==n.chartConfig?null:n.chartConfig.legend)},function(t,e){var n=e.component;t(e,8,0,a["\u0275inlineInterpolate"](1,"ct-chart ct-perfect-fourth ",null==n.chartConfig?null:n.chartConfig.type,"-chart chart-body"))})}var P=n("Rd8u"),I=n("VaLf"),B=n("kmQS"),D=n("WNgX"),R=n("FBzJ"),V=n("2WpN"),F=n("26FU"),X=function(){function t(t,e,n){this.settings=t,this.route=e,this.http=n,this.loading=new F.a(!0),this.charts={}}return t.prototype.ngOnInit=function(){var t=this;this.http.get("admin/analytics/stats").pipe(Object(V.a)(function(){return t.loading.next(!1)})).subscribe(function(e){t.generateCharts(e.mainData),t.headerData=e.headerData})},t.prototype.generateCharts=function(t){var e,n,a,s;this.charts={weeklyPageViews:function(t){var e={selector:".weekly-chart",type:i.LINE,labels:[],data:[[],[]]};return t.current.forEach(function(n,i){var a;e.labels.push((void 0===a&&(a="en-US"),new Date(1e3*n.date).toLocaleDateString(a,{weekday:"short"}))),e.data[0].push(n.pageViews),e.data[1].push(t.previous[i].pageViews)}),e}(t.weeklyPageViews),monthlyPageViews:(a=t.monthlyPageViews,s={selector:".monthly-chart",type:i.LINE,labels:[],data:[[],[]]},a.current.forEach(function(t,e){s.labels.push(e),s.data[0].push(t.pageViews);var n=a.previous[e];s.data[1].push(n?n.pageViews:0)}),s),browsers:(n=t.browsers,{selector:".browsers-chart",type:i.PIE,labels:n.map(function(t){return t.browser}),data:n.map(function(t){return t.sessions}),legend:!0}),countries:(e=t.countries,{selector:".countries-chart",type:i.PIE,labels:e.map(function(t){return t.country}),data:e.map(function(t){return t.sessions}),legend:!0})}},t}(),T=n("ZYCi"),U=n("LRXf"),G=a["\u0275crt"]({encapsulation:2,styles:[['.ct-slice-pie{fill-opacity:.7;stroke:#fff;stroke-width:2px}.ct-chart-pie .ct-label{color:#fff;fill:#fff;font-weight:500}.ct-line{stroke-width:3px}.chart-legend .legend-item:nth-child(1):before{background-color:#42a5f5}.chart-legend .legend-item:nth-child(2):before{background-color:#66bb6a}.chart-legend .legend-item:nth-child(3):before{background-color:#ff7043}.chart-legend .legend-item:nth-child(4):before{background-color:#5c6bc0}.chart-legend .legend-item:nth-child(5):before{background-color:#8d6e63}.chart-legend .legend-item:nth-child(6):before{background-color:#ffa726}.chart-legend .legend-item:nth-child(7):before{background-color:#26a69a}.chart-legend .legend-item:nth-child(8):before{background-color:#26c6da}.chart-legend .legend-item:nth-child(9):before{background-color:#d4e157}.chart-legend .legend-item:nth-child(10):before{background-color:#8d6e63}.chart-legend .legend-item:nth-child(11):before{background-color:#bdbdbd}.chart-legend .legend-item:nth-child(12):before{background-color:#78909c}.chart-legend .legend-item:nth-child(13):before{background-color:#7e57c2}.chart-legend .legend-item:nth-child(14):before{background-color:#ab47bc}.ct-label{fill:rgba(0,0,0,.54);color:rgba(0,0,0,.54);font-size:1.3rem;line-height:1}.ct-chart-bar .ct-label,.ct-chart-line .ct-label{display:block;display:flex}.ct-chart-donut .ct-label,.ct-chart-pie .ct-label{dominant-baseline:central}.ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-label.ct-vertical.ct-start{align-items:flex-end;justify-content:flex-end;text-align:right;text-anchor:end}.ct-label.ct-vertical.ct-end{align-items:flex-end;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:center;text-align:center;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-start{align-items:flex-end;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-horizontal.ct-end{align-items:flex-start;justify-content:flex-start;text-align:left;text-anchor:start}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-start{align-items:center;justify-content:flex-end;text-align:right;text-anchor:end}.ct-chart-bar.ct-horizontal-bars .ct-label.ct-vertical.ct-end{align-items:center;justify-content:flex-start;text-align:left;text-anchor:end}.ct-grid{stroke:rgba(0,0,0,.2);stroke-width:1px;stroke-dasharray:2px}.ct-grid-background{fill:none}.ct-point{stroke-width:10px;stroke-linecap:round}.ct-line{fill:none;stroke-width:4px}.ct-area{stroke:none;fill-opacity:.1}.ct-bar{fill:none;stroke-width:10px}.ct-slice-donut{fill:none;stroke-width:60px}.ct-series-a .ct-bar,.ct-series-a .ct-line,.ct-series-a .ct-point,.ct-series-a .ct-slice-donut{stroke:#42a5f5}.ct-series-a .ct-area,.ct-series-a .ct-slice-donut-solid,.ct-series-a .ct-slice-pie{fill:#42a5f5}.ct-series-b .ct-bar,.ct-series-b .ct-line,.ct-series-b .ct-point,.ct-series-b .ct-slice-donut{stroke:#66bb6a}.ct-series-b .ct-area,.ct-series-b .ct-slice-donut-solid,.ct-series-b .ct-slice-pie{fill:#66bb6a}.ct-series-c .ct-bar,.ct-series-c .ct-line,.ct-series-c .ct-point,.ct-series-c .ct-slice-donut{stroke:#ff7043}.ct-series-c .ct-area,.ct-series-c .ct-slice-donut-solid,.ct-series-c .ct-slice-pie{fill:#ff7043}.ct-series-d .ct-bar,.ct-series-d .ct-line,.ct-series-d .ct-point,.ct-series-d .ct-slice-donut{stroke:#5c6bc0}.ct-series-d .ct-area,.ct-series-d .ct-slice-donut-solid,.ct-series-d .ct-slice-pie{fill:#5c6bc0}.ct-series-e .ct-bar,.ct-series-e .ct-line,.ct-series-e .ct-point,.ct-series-e .ct-slice-donut{stroke:#8d6e63}.ct-series-e .ct-area,.ct-series-e .ct-slice-donut-solid,.ct-series-e .ct-slice-pie{fill:#8d6e63}.ct-series-f .ct-bar,.ct-series-f .ct-line,.ct-series-f .ct-point,.ct-series-f .ct-slice-donut{stroke:#ffa726}.ct-series-f .ct-area,.ct-series-f .ct-slice-donut-solid,.ct-series-f .ct-slice-pie{fill:#ffa726}.ct-series-g .ct-bar,.ct-series-g .ct-line,.ct-series-g .ct-point,.ct-series-g .ct-slice-donut{stroke:#26a69a}.ct-series-g .ct-area,.ct-series-g .ct-slice-donut-solid,.ct-series-g .ct-slice-pie{fill:#26a69a}.ct-series-h .ct-bar,.ct-series-h .ct-line,.ct-series-h .ct-point,.ct-series-h .ct-slice-donut{stroke:#26c6da}.ct-series-h .ct-area,.ct-series-h .ct-slice-donut-solid,.ct-series-h .ct-slice-pie{fill:#26c6da}.ct-series-i .ct-bar,.ct-series-i .ct-line,.ct-series-i .ct-point,.ct-series-i .ct-slice-donut{stroke:#d4e157}.ct-series-i .ct-area,.ct-series-i .ct-slice-donut-solid,.ct-series-i .ct-slice-pie{fill:#d4e157}.ct-series-j .ct-bar,.ct-series-j .ct-line,.ct-series-j .ct-point,.ct-series-j .ct-slice-donut{stroke:#8d6e63}.ct-series-j .ct-area,.ct-series-j .ct-slice-donut-solid,.ct-series-j .ct-slice-pie{fill:#8d6e63}.ct-series-k .ct-bar,.ct-series-k .ct-line,.ct-series-k .ct-point,.ct-series-k .ct-slice-donut{stroke:#bdbdbd}.ct-series-k .ct-area,.ct-series-k .ct-slice-donut-solid,.ct-series-k .ct-slice-pie{fill:#bdbdbd}.ct-series-l .ct-bar,.ct-series-l .ct-line,.ct-series-l .ct-point,.ct-series-l .ct-slice-donut{stroke:#78909c}.ct-series-l .ct-area,.ct-series-l .ct-slice-donut-solid,.ct-series-l .ct-slice-pie{fill:#78909c}.ct-series-m .ct-bar,.ct-series-m .ct-line,.ct-series-m .ct-point,.ct-series-m .ct-slice-donut{stroke:#7e57c2}.ct-series-m .ct-area,.ct-series-m .ct-slice-donut-solid,.ct-series-m .ct-slice-pie{fill:#7e57c2}.ct-series-n .ct-bar,.ct-series-n .ct-line,.ct-series-n .ct-point,.ct-series-n .ct-slice-donut{stroke:#ab47bc}.ct-series-n .ct-area,.ct-series-n .ct-slice-donut-solid,.ct-series-n .ct-slice-pie{fill:#ab47bc}.ct-series-o .ct-bar,.ct-series-o .ct-line,.ct-series-o .ct-point,.ct-series-o .ct-slice-donut{stroke:#ef5350}.ct-series-o .ct-area,.ct-series-o .ct-slice-donut-solid,.ct-series-o .ct-slice-pie{fill:#ef5350}.ct-square{display:block;position:relative;width:100%}.ct-square:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:100%}.ct-square:after{content:"";display:table;clear:both}.ct-square>svg{display:block;position:absolute;top:0;left:0}.ct-minor-second{display:block;position:relative;width:100%}.ct-minor-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:93.75%}.ct-minor-second:after{content:"";display:table;clear:both}.ct-minor-second>svg{display:block;position:absolute;top:0;left:0}.ct-major-second{display:block;position:relative;width:100%}.ct-major-second:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:88.88888889%}.ct-major-second:after{content:"";display:table;clear:both}.ct-major-second>svg{display:block;position:absolute;top:0;left:0}.ct-minor-third{display:block;position:relative;width:100%}.ct-minor-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:83.33333333%}.ct-minor-third:after{content:"";display:table;clear:both}.ct-minor-third>svg{display:block;position:absolute;top:0;left:0}.ct-major-third{display:block;position:relative;width:100%}.ct-major-third:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:80%}.ct-major-third:after{content:"";display:table;clear:both}.ct-major-third>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fourth{display:block;position:relative;width:100%}.ct-perfect-fourth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:75%}.ct-perfect-fourth:after{content:"";display:table;clear:both}.ct-perfect-fourth>svg{display:block;position:absolute;top:0;left:0}.ct-perfect-fifth{display:block;position:relative;width:100%}.ct-perfect-fifth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:66.66666667%}.ct-perfect-fifth:after{content:"";display:table;clear:both}.ct-perfect-fifth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-sixth{display:block;position:relative;width:100%}.ct-minor-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:62.5%}.ct-minor-sixth:after{content:"";display:table;clear:both}.ct-minor-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-golden-section{display:block;position:relative;width:100%}.ct-golden-section:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:61.80469716%}.ct-golden-section:after{content:"";display:table;clear:both}.ct-golden-section>svg{display:block;position:absolute;top:0;left:0}.ct-major-sixth{display:block;position:relative;width:100%}.ct-major-sixth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:60%}.ct-major-sixth:after{content:"";display:table;clear:both}.ct-major-sixth>svg{display:block;position:absolute;top:0;left:0}.ct-minor-seventh{display:block;position:relative;width:100%}.ct-minor-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:56.25%}.ct-minor-seventh:after{content:"";display:table;clear:both}.ct-minor-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-seventh{display:block;position:relative;width:100%}.ct-major-seventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:53.33333333%}.ct-major-seventh:after{content:"";display:table;clear:both}.ct-major-seventh>svg{display:block;position:absolute;top:0;left:0}.ct-octave{display:block;position:relative;width:100%}.ct-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:50%}.ct-octave:after{content:"";display:table;clear:both}.ct-octave>svg{display:block;position:absolute;top:0;left:0}.ct-major-tenth{display:block;position:relative;width:100%}.ct-major-tenth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:40%}.ct-major-tenth:after{content:"";display:table;clear:both}.ct-major-tenth>svg{display:block;position:absolute;top:0;left:0}.ct-major-eleventh{display:block;position:relative;width:100%}.ct-major-eleventh:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:37.5%}.ct-major-eleventh:after{content:"";display:table;clear:both}.ct-major-eleventh>svg{display:block;position:absolute;top:0;left:0}.ct-major-twelfth{display:block;position:relative;width:100%}.ct-major-twelfth:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:33.33333333%}.ct-major-twelfth:after{content:"";display:table;clear:both}.ct-major-twelfth>svg{display:block;position:absolute;top:0;left:0}.ct-double-octave{display:block;position:relative;width:100%}.ct-double-octave:before{display:block;float:left;content:"";width:0;height:0;padding-bottom:25%}.ct-double-octave:after{content:"";display:table;clear:both}.ct-double-octave>svg{display:block;position:absolute;top:0;left:0}analytics-container{display:block;padding:25px;position:relative;height:100%}analytics-container .content{height:calc(100% - 119px)}analytics-container .chart-row{display:flex;max-height:450px;min-height:400px;margin-bottom:25px;height:calc(50% - 25px)}']],data:{}});function Y(t){return a["\u0275vid"](2,[(t()(),a["\u0275eld"](0,0,null,null,1,"analytics-header",[],null,null,null,y,g)),a["\u0275did"](1,49152,null,0,m,[],{data:[0,"data"]},null),(t()(),a["\u0275ted"](-1,null,["\n\n"])),(t()(),a["\u0275eld"](3,0,null,null,77,"div",[["class","content"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n    "])),(t()(),a["\u0275eld"](5,0,null,null,36,"div",[["class","chart-row"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275eld"](7,0,null,null,21,"chart",[],[[8,"className",0]],null,null,_,M)),a["\u0275did"](8,704512,null,0,A,[],{chartConfig:[0,"chartConfig"]},null),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](10,0,null,0,2,"div",[["class","title"],["trans",""]],null,null,null,null,null)),a["\u0275did"](11,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["This Week vs Last Week"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](14,0,null,1,2,"div",[["class","subtitle"],["trans",""]],null,null,null,null,null)),a["\u0275did"](15,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["By page views"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](18,0,null,2,9,"div",[["class","chart-legend"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n                "])),(t()(),a["\u0275eld"](20,0,null,null,2,"div",[["class","legend-item"],["trans",""]],null,null,null,null,null)),a["\u0275did"](21,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["This week"])),(t()(),a["\u0275ted"](-1,null,["\n                "])),(t()(),a["\u0275eld"](24,0,null,null,2,"div",[["class","legend-item"],["trans",""]],null,null,null,null,null)),a["\u0275did"](25,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["Last week"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275ted"](-1,null,["\n\n        "])),(t()(),a["\u0275eld"](30,0,null,null,10,"chart",[],[[8,"className",0]],null,null,_,M)),a["\u0275did"](31,704512,null,0,A,[],{chartConfig:[0,"chartConfig"]},null),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](33,0,null,0,2,"div",[["class","title"],["trans",""]],null,null,null,null,null)),a["\u0275did"](34,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["Top Browsers"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](37,0,null,1,2,"div",[["class","subtitle"],["trans",""]],null,null,null,null,null)),a["\u0275did"](38,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["By sessions"])),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275ted"](-1,null,["\n    "])),(t()(),a["\u0275ted"](-1,null,["\n\n    "])),(t()(),a["\u0275eld"](43,0,null,null,36,"div",[["class","chart-row"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275eld"](45,0,null,null,21,"chart",[],[[8,"className",0]],null,null,_,M)),a["\u0275did"](46,704512,null,0,A,[],{chartConfig:[0,"chartConfig"]},null),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](48,0,null,0,2,"div",[["class","title"],["trans",""]],null,null,null,null,null)),a["\u0275did"](49,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["This Month vs Last Month"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](52,0,null,1,2,"div",[["class","subtitle"],["trans",""]],null,null,null,null,null)),a["\u0275did"](53,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["By page views"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](56,0,null,2,9,"div",[["class","chart-legend"]],null,null,null,null,null)),(t()(),a["\u0275ted"](-1,null,["\n                "])),(t()(),a["\u0275eld"](58,0,null,null,2,"div",[["class","legend-item"],["trans",""]],null,null,null,null,null)),a["\u0275did"](59,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["This month"])),(t()(),a["\u0275ted"](-1,null,["\n                "])),(t()(),a["\u0275eld"](62,0,null,null,2,"div",[["class","legend-item"],["trans",""]],null,null,null,null,null)),a["\u0275did"](63,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["Last month"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275ted"](-1,null,["\n\n        "])),(t()(),a["\u0275eld"](68,0,null,null,10,"chart",[],[[8,"className",0]],null,null,_,M)),a["\u0275did"](69,704512,null,0,A,[],{chartConfig:[0,"chartConfig"]},null),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](71,0,null,0,2,"div",[["class","title"],["trans",""]],null,null,null,null,null)),a["\u0275did"](72,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["Top Countries"])),(t()(),a["\u0275ted"](-1,null,["\n            "])),(t()(),a["\u0275eld"](75,0,null,1,2,"div",[["class","subtitle"],["trans",""]],null,null,null,null,null)),a["\u0275did"](76,4341760,null,0,P.a,[a.ElementRef,I.a,B.a],null,null),(t()(),a["\u0275ted"](-1,null,["By sessions"])),(t()(),a["\u0275ted"](-1,null,["\n        "])),(t()(),a["\u0275ted"](-1,null,["\n    "])),(t()(),a["\u0275ted"](-1,null,["\n"])),(t()(),a["\u0275ted"](-1,null,["\n\n"])),(t()(),a["\u0275eld"](82,0,null,null,2,"loading-indicator",[["class","overlay"]],[[40,"@visibility",0]],null,null,D.b,D.a)),a["\u0275did"](83,49152,null,0,R.a,[],{isVisible:[0,"isVisible"]},null),a["\u0275pid"](131072,p.AsyncPipe,[a.ChangeDetectorRef]),(t()(),a["\u0275ted"](-1,null,["\n"]))],function(t,e){var n=e.component;t(e,1,0,n.headerData),t(e,8,0,n.charts.weeklyPageViews),t(e,31,0,n.charts.browsers),t(e,46,0,n.charts.monthlyPageViews),t(e,69,0,n.charts.countries),t(e,83,0,a["\u0275unv"](e,83,0,a["\u0275nov"](e,84).transform(n.loading)))},function(t,e){t(e,7,0,a["\u0275nov"](e,8).hostClass),t(e,30,0,a["\u0275nov"](e,31).hostClass),t(e,45,0,a["\u0275nov"](e,46).hostClass),t(e,68,0,a["\u0275nov"](e,69).hostClass),t(e,82,0,a["\u0275nov"](e,83).isVisible)})}var H=a["\u0275ccf"]("analytics-container",X,function(t){return a["\u0275vid"](0,[(t()(),a["\u0275eld"](0,0,null,null,1,"analytics-container",[],null,null,null,Y,G)),a["\u0275did"](1,114688,null,0,X,[B.a,T.a,U.a],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),q=n("gIcY"),Q=n("t/Na"),W=n("eDkP"),Z=n("Fzqc"),$=n("o3x0"),J=n("QGXG"),K=n("mVsa"),tt=n("M2Lx"),et=n("v9Dh"),nt=n("OnlV"),it=n("vGXY"),at=n("hD7E"),st=n("4c35"),lt=n("dWZg"),rt=n("qAlS"),ot=n("Wf4p"),ct=n("UodH"),ut=n("2Yio"),dt=n("6rvT"),ht=n("vARd"),pt=n("de3e"),ft=n("lLAP"),mt=n("9rgC"),gt=n("ZYjt"),bt=function(){};n.d(e,"AnalyticsModuleNgFactory",function(){return vt});var vt=a["\u0275cmf"](s,[],function(t){return a["\u0275mod"]([a["\u0275mpd"](512,a.ComponentFactoryResolver,a["\u0275CodegenComponentFactoryResolver"],[[8,[l.a,r.a,o.a,c.a,c.b,u.a,H]],[3,a.ComponentFactoryResolver],a.NgModuleRef]),a["\u0275mpd"](4608,p.NgLocalization,p.NgLocaleLocalization,[a.LOCALE_ID,[2,p["\u0275angular_packages_common_common_a"]]]),a["\u0275mpd"](4608,q.D,q.D,[]),a["\u0275mpd"](4608,q.g,q.g,[]),a["\u0275mpd"](4608,Q.k,Q.q,[p.DOCUMENT,a.PLATFORM_ID,Q.o]),a["\u0275mpd"](4608,Q.r,Q.r,[Q.k,Q.p]),a["\u0275mpd"](5120,Q.a,function(t){return[t]},[Q.r]),a["\u0275mpd"](4608,Q.n,Q.n,[]),a["\u0275mpd"](6144,Q.l,null,[Q.n]),a["\u0275mpd"](4608,Q.j,Q.j,[Q.l]),a["\u0275mpd"](6144,Q.b,null,[Q.j]),a["\u0275mpd"](4608,Q.g,Q.m,[Q.b,a.Injector]),a["\u0275mpd"](4608,Q.c,Q.c,[Q.g]),a["\u0275mpd"](4608,W.c,W.c,[W.i,W.e,a.ComponentFactoryResolver,W.h,W.f,a.Injector,a.NgZone,p.DOCUMENT,Z.b]),a["\u0275mpd"](5120,W.j,W.k,[W.c]),a["\u0275mpd"](5120,$.c,$.d,[W.c]),a["\u0275mpd"](4608,$.e,$.e,[W.c,a.Injector,[2,p.Location],[2,$.b],$.c,[3,$.e],W.e]),a["\u0275mpd"](4608,J.a,J.a,[$.e]),a["\u0275mpd"](5120,K.b,K.g,[W.c]),a["\u0275mpd"](4608,tt.c,tt.c,[]),a["\u0275mpd"](5120,et.b,et.c,[W.c]),a["\u0275mpd"](4608,nt.a,nt.a,[it.a]),a["\u0275mpd"](1073742336,p.CommonModule,p.CommonModule,[]),a["\u0275mpd"](1073742336,q.A,q.A,[]),a["\u0275mpd"](1073742336,q.n,q.n,[]),a["\u0275mpd"](1073742336,q.w,q.w,[]),a["\u0275mpd"](1073742336,T.s,T.s,[[2,T.z],[2,T.o]]),a["\u0275mpd"](1073742336,Q.e,Q.e,[]),a["\u0275mpd"](1073742336,Q.d,Q.d,[]),a["\u0275mpd"](1073742336,at.a,at.a,[]),a["\u0275mpd"](1073742336,Z.a,Z.a,[]),a["\u0275mpd"](1073742336,st.g,st.g,[]),a["\u0275mpd"](1073742336,lt.b,lt.b,[]),a["\u0275mpd"](1073742336,rt.b,rt.b,[]),a["\u0275mpd"](1073742336,W.g,W.g,[]),a["\u0275mpd"](1073742336,ot.n,ot.n,[[2,ot.f]]),a["\u0275mpd"](1073742336,$.j,$.j,[]),a["\u0275mpd"](1073742336,ot.z,ot.z,[]),a["\u0275mpd"](1073742336,ct.c,ct.c,[]),a["\u0275mpd"](1073742336,h.b,h.b,[]),a["\u0275mpd"](1073742336,ut.a,ut.a,[]),a["\u0275mpd"](1073742336,dt.a,dt.a,[]),a["\u0275mpd"](1073742336,ht.e,ht.e,[]),a["\u0275mpd"](1073742336,K.e,K.e,[]),a["\u0275mpd"](1073742336,tt.d,tt.d,[]),a["\u0275mpd"](1073742336,pt.c,pt.c,[]),a["\u0275mpd"](1073742336,ft.a,ft.a,[]),a["\u0275mpd"](1073742336,et.e,et.e,[]),a["\u0275mpd"](1073742336,mt.a,mt.a,[h.c,gt.c,B.a]),a["\u0275mpd"](1073742336,bt,bt,[]),a["\u0275mpd"](1073742336,s,s,[]),a["\u0275mpd"](256,Q.o,"XSRF-TOKEN",[]),a["\u0275mpd"](256,Q.p,"X-XSRF-TOKEN",[]),a["\u0275mpd"](1024,T.m,function(){return[[{path:"",component:X}]]},[])])})},"uki+":function(t,e,n){var i,a;a=this,void 0===(i=(function(){return a.Chartist=(t={version:"0.11.0"},function(t,e,n){"use strict";n.namespaces={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},n.noop=function(t){return t},n.alphaNumerate=function(t){return String.fromCharCode(97+t%26)},n.extend=function(t){var e,i,a;for(t=t||{},e=1;e<arguments.length;e++)for(var s in i=arguments[e])t[s]="object"!=typeof(a=i[s])||null===a||a instanceof Array?a:n.extend(t[s],a);return t},n.replaceAll=function(t,e,n){return t.replace(new RegExp(e,"g"),n)},n.ensureUnit=function(t,e){return"number"==typeof t&&(t+=e),t},n.quantity=function(t){if("string"==typeof t){var e=/^(\d+)\s*(.*)$/g.exec(t);return{value:+e[1],unit:e[2]||void 0}}return{value:t}},n.querySelector=function(t){return t instanceof Node?t:e.querySelector(t)},n.times=function(t){return Array.apply(null,new Array(t))},n.sum=function(t,e){return t+(e||0)},n.mapMultiply=function(t){return function(e){return e*t}},n.mapAdd=function(t){return function(e){return e+t}},n.serialMap=function(t,e){var i=[],a=Math.max.apply(null,t.map(function(t){return t.length}));return n.times(a).forEach(function(n,a){var s=t.map(function(t){return t[a]});i[a]=e.apply(null,s)}),i},n.roundWithPrecision=function(t,e){var i=Math.pow(10,e||n.precision);return Math.round(t*i)/i},n.precision=8,n.escapingMap={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"},n.serialize=function(t){return null===t||void 0===t?t:("number"==typeof t?t=""+t:"object"==typeof t&&(t=JSON.stringify({data:t})),Object.keys(n.escapingMap).reduce(function(t,e){return n.replaceAll(t,e,n.escapingMap[e])},t))},n.deserialize=function(t){if("string"!=typeof t)return t;t=Object.keys(n.escapingMap).reduce(function(t,e){return n.replaceAll(t,n.escapingMap[e],e)},t);try{t=void 0!==(t=JSON.parse(t)).data?t.data:t}catch(t){}return t},n.createSvg=function(t,e,i,a){var s;return e=e||"100%",i=i||"100%",Array.prototype.slice.call(t.querySelectorAll("svg")).filter(function(t){return t.getAttributeNS(n.namespaces.xmlns,"ct")}).forEach(function(e){t.removeChild(e)}),(s=new n.Svg("svg").attr({width:e,height:i}).addClass(a))._node.style.width=e,s._node.style.height=i,t.appendChild(s._node),s},n.normalizeData=function(t,e,i){var a,s={raw:t,normalized:{}};return s.normalized.series=n.getDataArray({series:t.series||[]},e,i),a=s.normalized.series.every(function(t){return t instanceof Array})?Math.max.apply(null,s.normalized.series.map(function(t){return t.length})):s.normalized.series.length,s.normalized.labels=(t.labels||[]).slice(),Array.prototype.push.apply(s.normalized.labels,n.times(Math.max(0,a-s.normalized.labels.length)).map(function(){return""})),e&&n.reverseData(s.normalized),s},n.safeHasProperty=function(t,e){return null!==t&&"object"==typeof t&&t.hasOwnProperty(e)},n.isDataHoleValue=function(t){return null===t||void 0===t||"number"==typeof t&&isNaN(t)},n.reverseData=function(t){t.labels.reverse(),t.series.reverse();for(var e=0;e<t.series.length;e++)"object"==typeof t.series[e]&&void 0!==t.series[e].data?t.series[e].data.reverse():t.series[e]instanceof Array&&t.series[e].reverse()},n.getDataArray=function(t,e,i){return t.series.map(function t(e){if(n.safeHasProperty(e,"value"))return t(e.value);if(n.safeHasProperty(e,"data"))return t(e.data);if(e instanceof Array)return e.map(t);if(!n.isDataHoleValue(e)){if(i){var a={};return"string"==typeof i?a[i]=n.getNumberOrUndefined(e):a.y=n.getNumberOrUndefined(e),a.x=e.hasOwnProperty("x")?n.getNumberOrUndefined(e.x):a.x,a.y=e.hasOwnProperty("y")?n.getNumberOrUndefined(e.y):a.y,a}return n.getNumberOrUndefined(e)}})},n.normalizePadding=function(t,e){return e=e||0,"number"==typeof t?{top:t,right:t,bottom:t,left:t}:{top:"number"==typeof t.top?t.top:e,right:"number"==typeof t.right?t.right:e,bottom:"number"==typeof t.bottom?t.bottom:e,left:"number"==typeof t.left?t.left:e}},n.getMetaData=function(t,e){var n=t.data?t.data[e]:t[e];return n?n.meta:void 0},n.orderOfMagnitude=function(t){return Math.floor(Math.log(Math.abs(t))/Math.LN10)},n.projectLength=function(t,e,n){return e/n.range*t},n.getAvailableHeight=function(t,e){return Math.max((n.quantity(e.height).value||t.height())-(e.chartPadding.top+e.chartPadding.bottom)-e.axisX.offset,0)},n.getHighLow=function(t,e,i){var a={high:void 0===(e=n.extend({},e,i?e["axis"+i.toUpperCase()]:{})).high?-Number.MAX_VALUE:+e.high,low:void 0===e.low?Number.MAX_VALUE:+e.low},s=void 0===e.high,l=void 0===e.low;return(s||l)&&function t(e){if(void 0!==e)if(e instanceof Array)for(var n=0;n<e.length;n++)t(e[n]);else{var r=i?+e[i]:+e;s&&r>a.high&&(a.high=r),l&&r<a.low&&(a.low=r)}}(t),(e.referenceValue||0===e.referenceValue)&&(a.high=Math.max(e.referenceValue,a.high),a.low=Math.min(e.referenceValue,a.low)),a.high<=a.low&&(0===a.low?a.high=1:a.low<0?a.high=0:a.high>0?a.low=0:(a.high=1,a.low=0)),a},n.isNumeric=function(t){return null!==t&&isFinite(t)},n.isFalseyButZero=function(t){return!t&&0!==t},n.getNumberOrUndefined=function(t){return n.isNumeric(t)?+t:void 0},n.isMultiValue=function(t){return"object"==typeof t&&("x"in t||"y"in t)},n.getMultiValue=function(t,e){return n.isMultiValue(t)?n.getNumberOrUndefined(t[e||"y"]):n.getNumberOrUndefined(t)},n.rho=function(t){if(1===t)return t;function e(t,n){return t%n==0?n:e(n,t%n)}function n(t){return t*t+1}var i,a=2,s=2;if(t%2==0)return 2;do{a=n(a)%t,s=n(n(s))%t,i=e(Math.abs(a-s),t)}while(1===i);return i},n.getBounds=function(t,e,i,a){var s,l,r,o=0,c={high:e.high,low:e.low};c.valueRange=c.high-c.low,c.oom=n.orderOfMagnitude(c.valueRange),c.step=Math.pow(10,c.oom),c.min=Math.floor(c.low/c.step)*c.step,c.max=Math.ceil(c.high/c.step)*c.step,c.range=c.max-c.min,c.numberOfSteps=Math.round(c.range/c.step);var u=n.projectLength(t,c.step,c)<i,d=a?n.rho(c.range):0;if(a&&n.projectLength(t,1,c)>=i)c.step=1;else if(a&&d<c.step&&n.projectLength(t,d,c)>=i)c.step=d;else for(;;){if(u&&n.projectLength(t,c.step,c)<=i)c.step*=2;else{if(u||!(n.projectLength(t,c.step/2,c)>=i))break;if(c.step/=2,a&&c.step%1!=0){c.step*=2;break}}if(o++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}var h=2.221e-16;function p(t,e){return t===(t+=e)&&(t*=1+(e>0?h:-h)),t}for(c.step=Math.max(c.step,h),l=c.min,r=c.max;l+c.step<=c.low;)l=p(l,c.step);for(;r-c.step>=c.high;)r=p(r,-c.step);c.min=l,c.max=r,c.range=c.max-c.min;var f=[];for(s=c.min;s<=c.max;s=p(s,c.step)){var m=n.roundWithPrecision(s);m!==f[f.length-1]&&f.push(m)}return c.values=f,c},n.polarToCartesian=function(t,e,n,i){var a=(i-90)*Math.PI/180;return{x:t+n*Math.cos(a),y:e+n*Math.sin(a)}},n.createChartRect=function(t,e,i){var a=!(!e.axisX&&!e.axisY),s=a?e.axisY.offset:0,l=a?e.axisX.offset:0,r=t.width()||n.quantity(e.width).value||0,o=t.height()||n.quantity(e.height).value||0,c=n.normalizePadding(e.chartPadding,i);r=Math.max(r,s+c.left+c.right),o=Math.max(o,l+c.top+c.bottom);var u={padding:c,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return a?("start"===e.axisX.position?(u.y2=c.top+l,u.y1=Math.max(o-c.bottom,u.y2+1)):(u.y2=c.top,u.y1=Math.max(o-c.bottom-l,u.y2+1)),"start"===e.axisY.position?(u.x1=c.left+s,u.x2=Math.max(r-c.right,u.x1+1)):(u.x1=c.left,u.x2=Math.max(r-c.right-s,u.x1+1))):(u.x1=c.left,u.x2=Math.max(r-c.right,u.x1+1),u.y2=c.top,u.y1=Math.max(o-c.bottom,u.y2+1)),u},n.createGrid=function(t,e,i,a,s,l,r,o){var c={};c[i.units.pos+"1"]=t,c[i.units.pos+"2"]=t,c[i.counterUnits.pos+"1"]=a,c[i.counterUnits.pos+"2"]=a+s;var u=l.elem("line",c,r.join(" "));o.emit("draw",n.extend({type:"grid",axis:i,index:e,group:l,element:u},c))},n.createGridBackground=function(t,e,n,i){var a=t.elem("rect",{x:e.x1,y:e.y2,width:e.width(),height:e.height()},n,!0);i.emit("draw",{type:"gridBackground",group:t,element:a})},n.createLabel=function(t,i,a,s,l,r,o,c,u,d,h){var p,f={};if(f[l.units.pos]=t+o[l.units.pos],f[l.counterUnits.pos]=o[l.counterUnits.pos],f[l.units.len]=i,f[l.counterUnits.len]=Math.max(0,r-10),d){var m=e.createElement("span");m.className=u.join(" "),m.setAttribute("xmlns",n.namespaces.xhtml),m.innerText=s[a],m.style[l.units.len]=Math.round(f[l.units.len])+"px",m.style[l.counterUnits.len]=Math.round(f[l.counterUnits.len])+"px",p=c.foreignObject(m,n.extend({style:"overflow: visible;"},f))}else p=c.elem("text",f,u.join(" ")).text(s[a]);h.emit("draw",n.extend({type:"label",axis:l,index:a,group:c,element:p,text:s[a]},f))},n.getSeriesOption=function(t,e,n){if(t.name&&e.series&&e.series[t.name]){var i=e.series[t.name];return i.hasOwnProperty(n)?i[n]:e[n]}return e[n]},n.optionsProvider=function(e,i,a){var s,l,r=n.extend({},e),o=[];function c(e){var o=s;if(s=n.extend({},r),i)for(l=0;l<i.length;l++)t.matchMedia(i[l][0]).matches&&(s=n.extend(s,i[l][1]));a&&e&&a.emit("optionsChanged",{previousOptions:o,currentOptions:s})}if(!t.matchMedia)throw"window.matchMedia not found! Make sure you're using a polyfill.";if(i)for(l=0;l<i.length;l++){var u=t.matchMedia(i[l][0]);u.addListener(c),o.push(u)}return c(),{removeMediaQueryListeners:function(){o.forEach(function(t){t.removeListener(c)})},getCurrentOptions:function(){return n.extend({},s)}}},n.splitIntoSegments=function(t,e,i){i=n.extend({},{increasingX:!1,fillHoles:!1},i);for(var a=[],s=!0,l=0;l<t.length;l+=2)void 0===n.getMultiValue(e[l/2].value)?i.fillHoles||(s=!0):(i.increasingX&&l>=2&&t[l]<=t[l-2]&&(s=!0),s&&(a.push({pathCoordinates:[],valueData:[]}),s=!1),a[a.length-1].pathCoordinates.push(t[l],t[l+1]),a[a.length-1].valueData.push(e[l/2]));return a}}(window,document,t),function(t,e,n){"use strict";n.Interpolation={},n.Interpolation.none=function(t){return t=n.extend({},{fillHoles:!1},t),function(e,i){for(var a=new n.Svg.Path,s=!0,l=0;l<e.length;l+=2){var r=e[l],o=e[l+1],c=i[l/2];void 0!==n.getMultiValue(c.value)?(s?a.move(r,o,!1,c):a.line(r,o,!1,c),s=!1):t.fillHoles||(s=!0)}return a}},n.Interpolation.simple=function(t){t=n.extend({},{divisor:2,fillHoles:!1},t);var e=1/Math.max(1,t.divisor);return function(i,a){for(var s,l,r,o=new n.Svg.Path,c=0;c<i.length;c+=2){var u=i[c],d=i[c+1],h=(u-s)*e,p=a[c/2];void 0!==p.value?(void 0===r?o.move(u,d,!1,p):o.curve(s+h,l,u-h,d,u,d,!1,p),s=u,l=d,r=p):t.fillHoles||(s=u=r=void 0)}return o}},n.Interpolation.cardinal=function(t){t=n.extend({},{tension:1,fillHoles:!1},t);var e=Math.min(1,Math.max(0,t.tension)),i=1-e;return function a(s,l){var r=n.splitIntoSegments(s,l,{fillHoles:t.fillHoles});if(r.length){if(r.length>1){var o=[];return r.forEach(function(t){o.push(a(t.pathCoordinates,t.valueData))}),n.Svg.Path.join(o)}if(l=r[0].valueData,(s=r[0].pathCoordinates).length<=4)return n.Interpolation.none()(s,l);for(var c=(new n.Svg.Path).move(s[0],s[1],!1,l[0]),u=0,d=s.length;d-2>u;u+=2){var h=[{x:+s[u-2],y:+s[u-1]},{x:+s[u],y:+s[u+1]},{x:+s[u+2],y:+s[u+3]},{x:+s[u+4],y:+s[u+5]}];d-4===u?h[3]=h[2]:u||(h[0]={x:+s[u],y:+s[u+1]}),c.curve(e*(6*h[1].x-h[0].x+h[2].x)/6+i*h[2].x,e*(6*h[1].y-h[0].y+h[2].y)/6+i*h[2].y,e*(h[1].x+6*h[2].x-h[3].x)/6+i*h[2].x,e*(h[1].y+6*h[2].y-h[3].y)/6+i*h[2].y,h[2].x,h[2].y,!1,l[(u+2)/2])}return c}return n.Interpolation.none()([])}},n.Interpolation.monotoneCubic=function(t){return t=n.extend({},{fillHoles:!1},t),function e(i,a){var s=n.splitIntoSegments(i,a,{fillHoles:t.fillHoles,increasingX:!0});if(s.length){if(s.length>1){var l=[];return s.forEach(function(t){l.push(e(t.pathCoordinates,t.valueData))}),n.Svg.Path.join(l)}if(a=s[0].valueData,(i=s[0].pathCoordinates).length<=4)return n.Interpolation.none()(i,a);var r,o,c=[],u=[],d=i.length/2,h=[],p=[],f=[],m=[];for(r=0;r<d;r++)c[r]=i[2*r],u[r]=i[2*r+1];for(r=0;r<d-1;r++)f[r]=u[r+1]-u[r],m[r]=c[r+1]-c[r],p[r]=f[r]/m[r];for(h[0]=p[0],h[d-1]=p[d-2],r=1;r<d-1;r++)0===p[r]||0===p[r-1]||p[r-1]>0!=p[r]>0?h[r]=0:(h[r]=3*(m[r-1]+m[r])/((2*m[r]+m[r-1])/p[r-1]+(m[r]+2*m[r-1])/p[r]),isFinite(h[r])||(h[r]=0));for(o=(new n.Svg.Path).move(c[0],u[0],!1,a[0]),r=0;r<d-1;r++)o.curve(c[r]+m[r]/3,u[r]+h[r]*m[r]/3,c[r+1]-m[r]/3,u[r+1]-h[r+1]*m[r]/3,c[r+1],u[r+1],!1,a[r+1]);return o}return n.Interpolation.none()([])}},n.Interpolation.step=function(t){return t=n.extend({},{postpone:!0,fillHoles:!1},t),function(e,i){for(var a,s,l,r=new n.Svg.Path,o=0;o<e.length;o+=2){var c=e[o],u=e[o+1],d=i[o/2];void 0!==d.value?(void 0===l?r.move(c,u,!1,d):(t.postpone?r.line(c,s,!1,l):r.line(a,u,!1,d),r.line(c,u,!1,d)),a=c,s=u,l=d):t.fillHoles||(a=s=l=void 0)}return r}}}(window,document,t),function(t,e,n){"use strict";n.EventEmitter=function(){var t=[];return{addEventHandler:function(e,n){t[e]=t[e]||[],t[e].push(n)},removeEventHandler:function(e,n){t[e]&&(n?(t[e].splice(t[e].indexOf(n),1),0===t[e].length&&delete t[e]):delete t[e])},emit:function(e,n){t[e]&&t[e].forEach(function(t){t(n)}),t["*"]&&t["*"].forEach(function(t){t(e,n)})}}}}(window,document,t),function(t,e,n){"use strict";n.Class={extend:function(t,e){var i=e||this.prototype||n.Class,a=Object.create(i);n.Class.cloneDefinitions(a,t);var s=function(){var t,e=a.constructor||function(){};return t=this===n?Object.create(a):this,e.apply(t,Array.prototype.slice.call(arguments,0)),t};return s.prototype=a,s.super=i,s.extend=this.extend,s},cloneDefinitions:function(){var t=function(t){var e=[];if(t.length)for(var n=0;n<t.length;n++)e.push(t[n]);return e}(arguments),e=t[0];return t.splice(1,t.length-1).forEach(function(t){Object.getOwnPropertyNames(t).forEach(function(n){delete e[n],Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}),e}}}(window,document,t),function(t,e,n){"use strict";n.Base=n.Class.extend({constructor:function(e,i,a,s,l){this.container=n.querySelector(e),this.data=i||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.defaultOptions=a,this.options=s,this.responsiveOptions=l,this.eventEmitter=n.EventEmitter(),this.supportsForeignObject=n.Svg.isSupported("Extensibility"),this.supportsAnimations=n.Svg.isSupported("AnimationEventsAttribute"),this.resizeListener=(function(){this.update()}).bind(this),this.container&&(this.container.__chartist__&&this.container.__chartist__.detach(),this.container.__chartist__=this),this.initializeTimeoutId=setTimeout((function(){t.addEventListener("resize",this.resizeListener),this.optionsProvider=n.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.addEventHandler("optionsChanged",(function(){this.update()}).bind(this)),this.options.plugins&&this.options.plugins.forEach((function(t){t instanceof Array?t[0](this,t[1]):t(this)}).bind(this)),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=void 0}).bind(this),0)},optionsProvider:void 0,container:void 0,svg:void 0,eventEmitter:void 0,createChart:function(){throw new Error("Base chart type can't be instantiated!")},update:function(t,e,i){return t&&(this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),e&&(this.options=n.extend({},i?this.options:this.defaultOptions,e),this.initializeTimeoutId||(this.optionsProvider.removeMediaQueryListeners(),this.optionsProvider=n.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter))),this.initializeTimeoutId||this.createChart(this.optionsProvider.getCurrentOptions()),this},detach:function(){return this.initializeTimeoutId?t.clearTimeout(this.initializeTimeoutId):(t.removeEventListener("resize",this.resizeListener),this.optionsProvider.removeMediaQueryListeners()),this},on:function(t,e){return this.eventEmitter.addEventHandler(t,e),this},off:function(t,e){return this.eventEmitter.removeEventHandler(t,e),this},version:n.version,supportsForeignObject:!1})}(window,document,t),function(t,e,n){"use strict";n.Svg=n.Class.extend({constructor:function(t,i,a,s,l){t instanceof Element?this._node=t:(this._node=e.createElementNS(n.namespaces.svg,t),"svg"===t&&this.attr({"xmlns:ct":n.namespaces.ct})),i&&this.attr(i),a&&this.addClass(a),s&&(l&&s._node.firstChild?s._node.insertBefore(this._node,s._node.firstChild):s._node.appendChild(this._node))},attr:function(t,e){return"string"==typeof t?e?this._node.getAttributeNS(e,t):this._node.getAttribute(t):(Object.keys(t).forEach((function(e){if(void 0!==t[e])if(-1!==e.indexOf(":")){var i=e.split(":");this._node.setAttributeNS(n.namespaces[i[0]],e,t[e])}else this._node.setAttribute(e,t[e])}).bind(this)),this)},elem:function(t,e,i,a){return new n.Svg(t,e,i,this,a)},parent:function(){return this._node.parentNode instanceof SVGElement?new n.Svg(this._node.parentNode):null},root:function(){for(var t=this._node;"svg"!==t.nodeName;)t=t.parentNode;return new n.Svg(t)},querySelector:function(t){var e=this._node.querySelector(t);return e?new n.Svg(e):null},querySelectorAll:function(t){var e=this._node.querySelectorAll(t);return e.length?new n.Svg.List(e):null},getNode:function(){return this._node},foreignObject:function(t,i,a,s){if("string"==typeof t){var l=e.createElement("div");l.innerHTML=t,t=l.firstChild}t.setAttribute("xmlns",n.namespaces.xmlns);var r=this.elem("foreignObject",i,a,s);return r._node.appendChild(t),r},text:function(t){return this._node.appendChild(e.createTextNode(t)),this},empty:function(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this},remove:function(){return this._node.parentNode.removeChild(this._node),this.parent()},replace:function(t){return this._node.parentNode.replaceChild(t._node,this._node),t},append:function(t,e){return e&&this._node.firstChild?this._node.insertBefore(t._node,this._node.firstChild):this._node.appendChild(t._node),this},classes:function(){return this._node.getAttribute("class")?this._node.getAttribute("class").trim().split(/\s+/):[]},addClass:function(t){return this._node.setAttribute("class",this.classes(this._node).concat(t.trim().split(/\s+/)).filter(function(t,e,n){return n.indexOf(t)===e}).join(" ")),this},removeClass:function(t){var e=t.trim().split(/\s+/);return this._node.setAttribute("class",this.classes(this._node).filter(function(t){return-1===e.indexOf(t)}).join(" ")),this},removeAllClasses:function(){return this._node.setAttribute("class",""),this},height:function(){return this._node.getBoundingClientRect().height},width:function(){return this._node.getBoundingClientRect().width},animate:function(t,e,i){return void 0===e&&(e=!0),Object.keys(t).forEach((function(a){function s(t,e){var s,l,r,o={};t.easing&&(r=t.easing instanceof Array?t.easing:n.Svg.Easing[t.easing],delete t.easing),t.begin=n.ensureUnit(t.begin,"ms"),t.dur=n.ensureUnit(t.dur,"ms"),r&&(t.calcMode="spline",t.keySplines=r.join(" "),t.keyTimes="0;1"),e&&(t.fill="freeze",o[a]=t.from,this.attr(o),l=n.quantity(t.begin||0).value,t.begin="indefinite"),s=this.elem("animate",n.extend({attributeName:a},t)),e&&setTimeout((function(){try{s._node.beginElement()}catch(e){o[a]=t.to,this.attr(o),s.remove()}}).bind(this),l),i&&s._node.addEventListener("beginEvent",(function(){i.emit("animationBegin",{element:this,animate:s._node,params:t})}).bind(this)),s._node.addEventListener("endEvent",(function(){i&&i.emit("animationEnd",{element:this,animate:s._node,params:t}),e&&(o[a]=t.to,this.attr(o),s.remove())}).bind(this))}t[a]instanceof Array?t[a].forEach((function(t){s.bind(this)(t,!1)}).bind(this)):s.bind(this)(t[a],e)}).bind(this)),this}}),n.Svg.isSupported=function(t){return e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#"+t,"1.1")},n.Svg.Easing={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]},n.Svg.List=n.Class.extend({constructor:function(t){var e=this;this.svgElements=[];for(var i=0;i<t.length;i++)this.svgElements.push(new n.Svg(t[i]));Object.keys(n.Svg.prototype).filter(function(t){return-1===["constructor","parent","querySelector","querySelectorAll","replace","append","classes","height","width"].indexOf(t)}).forEach(function(t){e[t]=function(){var i=Array.prototype.slice.call(arguments,0);return e.svgElements.forEach(function(e){n.Svg.prototype[t].apply(e,i)}),e}})}})}(window,document,t),function(t,e,n){"use strict";var i={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},a={accuracy:3};function s(t,e,i,a,s,l){var r=n.extend({command:s?t.toLowerCase():t.toUpperCase()},e,l?{data:l}:{});i.splice(a,0,r)}function l(t,e){t.forEach(function(n,a){i[n.command.toLowerCase()].forEach(function(i,s){e(n,i,a,s,t)})})}n.Svg.Path=n.Class.extend({constructor:function(t,e){this.pathElements=[],this.pos=0,this.close=t,this.options=n.extend({},a,e)},position:function(t){return void 0!==t?(this.pos=Math.max(0,Math.min(this.pathElements.length,t)),this):this.pos},remove:function(t){return this.pathElements.splice(this.pos,t),this},move:function(t,e,n,i){return s("M",{x:+t,y:+e},this.pathElements,this.pos++,n,i),this},line:function(t,e,n,i){return s("L",{x:+t,y:+e},this.pathElements,this.pos++,n,i),this},curve:function(t,e,n,i,a,l,r,o){return s("C",{x1:+t,y1:+e,x2:+n,y2:+i,x:+a,y:+l},this.pathElements,this.pos++,r,o),this},arc:function(t,e,n,i,a,l,r,o,c){return s("A",{rx:+t,ry:+e,xAr:+n,lAf:+i,sf:+a,x:+l,y:+r},this.pathElements,this.pos++,o,c),this},scale:function(t,e){return l(this.pathElements,function(n,i){n[i]*="x"===i[0]?t:e}),this},translate:function(t,e){return l(this.pathElements,function(n,i){n[i]+="x"===i[0]?t:e}),this},transform:function(t){return l(this.pathElements,function(e,n,i,a,s){var l=t(e,n,i,a,s);(l||0===l)&&(e[n]=l)}),this},parse:function(t){var e=t.replace(/([A-Za-z])([0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce(function(t,e){return e.match(/[A-Za-z]/)&&t.push([]),t[t.length-1].push(e),t},[]);"Z"===e[e.length-1][0].toUpperCase()&&e.pop();var a=e.map(function(t){var e=t.shift(),a=i[e.toLowerCase()];return n.extend({command:e},a.reduce(function(e,n,i){return e[n]=+t[i],e},{}))}),s=[this.pos,0];return Array.prototype.push.apply(s,a),Array.prototype.splice.apply(this.pathElements,s),this.pos+=a.length,this},stringify:function(){var t=Math.pow(10,this.options.accuracy);return this.pathElements.reduce((function(e,n){var a=i[n.command.toLowerCase()].map((function(e){return this.options.accuracy?Math.round(n[e]*t)/t:n[e]}).bind(this));return e+n.command+a.join(",")}).bind(this),"")+(this.close?"Z":"")},clone:function(t){var e=new n.Svg.Path(t||this.close);return e.pos=this.pos,e.pathElements=this.pathElements.slice().map(function(t){return n.extend({},t)}),e.options=n.extend({},this.options),e},splitByCommand:function(t){var e=[new n.Svg.Path];return this.pathElements.forEach(function(i){i.command===t.toUpperCase()&&0!==e[e.length-1].pathElements.length&&e.push(new n.Svg.Path),e[e.length-1].pathElements.push(i)}),e}}),n.Svg.Path.elementDescriptions=i,n.Svg.Path.join=function(t,e,i){for(var a=new n.Svg.Path(e,i),s=0;s<t.length;s++)for(var l=t[s],r=0;r<l.pathElements.length;r++)a.pathElements.push(l.pathElements[r]);return a}}(window,document,t),function(t,e,n){"use strict";var i={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};n.Axis=n.Class.extend({constructor:function(t,e,n,a){this.units=t,this.counterUnits=t===i.x?i.y:i.x,this.chartRect=e,this.axisLength=e[t.rectEnd]-e[t.rectStart],this.gridOffset=e[t.rectOffset],this.ticks=n,this.options=a},createGridAndLabels:function(t,e,i,a,s){var l=a["axis"+this.units.pos.toUpperCase()],r=this.ticks.map(this.projectValue.bind(this)),o=this.ticks.map(l.labelInterpolationFnc);r.forEach((function(c,u){var d,h={x:0,y:0};d=r[u+1]?r[u+1]-c:Math.max(this.axisLength-c,30),n.isFalseyButZero(o[u])&&""!==o[u]||("x"===this.units.pos?(c=this.chartRect.x1+c,h.x=a.axisX.labelOffset.x,h.y="start"===a.axisX.position?this.chartRect.padding.top+a.axisX.labelOffset.y+(i?5:20):this.chartRect.y1+a.axisX.labelOffset.y+(i?5:20)):(c=this.chartRect.y1-c,h.y=a.axisY.labelOffset.y-(i?d:0),h.x="start"===a.axisY.position?i?this.chartRect.padding.left+a.axisY.labelOffset.x:this.chartRect.x1-10:this.chartRect.x2+a.axisY.labelOffset.x+10),l.showGrid&&n.createGrid(c,u,this,this.gridOffset,this.chartRect[this.counterUnits.len](),t,[a.classNames.grid,a.classNames[this.units.dir]],s),l.showLabel&&n.createLabel(c,d,u,o,this,l.offset,h,e,[a.classNames.label,a.classNames[this.units.dir],"start"===l.position?a.classNames[l.position]:a.classNames.end],i,s))}).bind(this))},projectValue:function(t,e,n){throw new Error("Base axis can't be instantiated!")}}),n.Axis.units=i}(window,document,t),function(t,e,n){"use strict";n.AutoScaleAxis=n.Axis.extend({constructor:function(t,e,i,a){var s=a.highLow||n.getHighLow(e,a,t.pos);this.bounds=n.getBounds(i[t.rectEnd]-i[t.rectStart],s,a.scaleMinSpace||20,a.onlyInteger),this.range={min:this.bounds.min,max:this.bounds.max},n.AutoScaleAxis.super.constructor.call(this,t,i,this.bounds.values,a)},projectValue:function(t){return this.axisLength*(+n.getMultiValue(t,this.units.pos)-this.bounds.min)/this.bounds.range}})}(window,document,t),function(t,e,n){"use strict";n.FixedScaleAxis=n.Axis.extend({constructor:function(t,e,i,a){var s=a.highLow||n.getHighLow(e,a,t.pos);this.divisor=a.divisor||1,this.ticks=a.ticks||n.times(this.divisor).map((function(t,e){return s.low+(s.high-s.low)/this.divisor*e}).bind(this)),this.ticks.sort(function(t,e){return t-e}),this.range={min:s.low,max:s.high},n.FixedScaleAxis.super.constructor.call(this,t,i,this.ticks,a),this.stepLength=this.axisLength/this.divisor},projectValue:function(t){return this.axisLength*(+n.getMultiValue(t,this.units.pos)-this.range.min)/(this.range.max-this.range.min)}})}(window,document,t),function(t,e,n){"use strict";n.StepAxis=n.Axis.extend({constructor:function(t,e,i,a){n.StepAxis.super.constructor.call(this,t,i,a.ticks,a);var s=Math.max(1,a.ticks.length-(a.stretch?1:0));this.stepLength=this.axisLength/s},projectValue:function(t,e){return this.stepLength*e}})}(window,document,t),function(t,e,n){"use strict";var i={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};n.Line=n.Base.extend({constructor:function(t,e,a,s){n.Line.super.constructor.call(this,t,e,i,n.extend({},i,a),s)},createChart:function(t){var e=n.normalizeData(this.data,t.reverseData,!0);this.svg=n.createSvg(this.container,t.width,t.height,t.classNames.chart);var a,s,l=this.svg.elem("g").addClass(t.classNames.gridGroup),r=this.svg.elem("g"),o=this.svg.elem("g").addClass(t.classNames.labelGroup),c=n.createChartRect(this.svg,t,i.padding);a=void 0===t.axisX.type?new n.StepAxis(n.Axis.units.x,e.normalized.series,c,n.extend({},t.axisX,{ticks:e.normalized.labels,stretch:t.fullWidth})):t.axisX.type.call(n,n.Axis.units.x,e.normalized.series,c,t.axisX),s=void 0===t.axisY.type?new n.AutoScaleAxis(n.Axis.units.y,e.normalized.series,c,n.extend({},t.axisY,{high:n.isNumeric(t.high)?t.high:t.axisY.high,low:n.isNumeric(t.low)?t.low:t.axisY.low})):t.axisY.type.call(n,n.Axis.units.y,e.normalized.series,c,t.axisY),a.createGridAndLabels(l,o,this.supportsForeignObject,t,this.eventEmitter),s.createGridAndLabels(l,o,this.supportsForeignObject,t,this.eventEmitter),t.showGridBackground&&n.createGridBackground(l,c,t.classNames.gridBackground,this.eventEmitter),e.raw.series.forEach((function(i,l){var o=r.elem("g");o.attr({"ct:series-name":i.name,"ct:meta":n.serialize(i.meta)}),o.addClass([t.classNames.series,i.className||t.classNames.series+"-"+n.alphaNumerate(l)].join(" "));var u=[],d=[];e.normalized.series[l].forEach((function(t,r){var o={x:c.x1+a.projectValue(t,r,e.normalized.series[l]),y:c.y1-s.projectValue(t,r,e.normalized.series[l])};u.push(o.x,o.y),d.push({value:t,valueIndex:r,meta:n.getMetaData(i,r)})}).bind(this));var h={lineSmooth:n.getSeriesOption(i,t,"lineSmooth"),showPoint:n.getSeriesOption(i,t,"showPoint"),showLine:n.getSeriesOption(i,t,"showLine"),showArea:n.getSeriesOption(i,t,"showArea"),areaBase:n.getSeriesOption(i,t,"areaBase")},p=("function"==typeof h.lineSmooth?h.lineSmooth:h.lineSmooth?n.Interpolation.monotoneCubic():n.Interpolation.none())(u,d);if(h.showPoint&&p.pathElements.forEach((function(e){var r=o.elem("line",{x1:e.x,y1:e.y,x2:e.x+.01,y2:e.y},t.classNames.point).attr({"ct:value":[e.data.value.x,e.data.value.y].filter(n.isNumeric).join(","),"ct:meta":n.serialize(e.data.meta)});this.eventEmitter.emit("draw",{type:"point",value:e.data.value,index:e.data.valueIndex,meta:e.data.meta,series:i,seriesIndex:l,axisX:a,axisY:s,group:o,element:r,x:e.x,y:e.y})}).bind(this)),h.showLine){var f=o.elem("path",{d:p.stringify()},t.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:e.normalized.series[l],path:p.clone(),chartRect:c,index:l,series:i,seriesIndex:l,seriesMeta:i.meta,axisX:a,axisY:s,group:o,element:f})}if(h.showArea&&s.range){var m=Math.max(Math.min(h.areaBase,s.range.max),s.range.min),g=c.y1-s.projectValue(m);p.splitByCommand("M").filter(function(t){return t.pathElements.length>1}).map(function(t){var e=t.pathElements[0],n=t.pathElements[t.pathElements.length-1];return t.clone(!0).position(0).remove(1).move(e.x,g).line(e.x,e.y).position(t.pathElements.length+1).line(n.x,g)}).forEach((function(n){var r=o.elem("path",{d:n.stringify()},t.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:e.normalized.series[l],path:n.clone(),series:i,seriesIndex:l,axisX:a,axisY:s,chartRect:c,index:l,group:o,element:r})}).bind(this))}}).bind(this)),this.eventEmitter.emit("created",{bounds:s.bounds,chartRect:c,axisX:a,axisY:s,svg:this.svg,options:t})}})}(window,document,t),function(t,e,n){"use strict";var i={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};n.Bar=n.Base.extend({constructor:function(t,e,a,s){n.Bar.super.constructor.call(this,t,e,i,n.extend({},i,a),s)},createChart:function(t){var e,a;t.distributeSeries?(e=n.normalizeData(this.data,t.reverseData,t.horizontalBars?"x":"y")).normalized.series=e.normalized.series.map(function(t){return[t]}):e=n.normalizeData(this.data,t.reverseData,t.horizontalBars?"x":"y"),this.svg=n.createSvg(this.container,t.width,t.height,t.classNames.chart+(t.horizontalBars?" "+t.classNames.horizontalBars:""));var s=this.svg.elem("g").addClass(t.classNames.gridGroup),l=this.svg.elem("g"),r=this.svg.elem("g").addClass(t.classNames.labelGroup);if(t.stackBars&&0!==e.normalized.series.length){var o=n.serialMap(e.normalized.series,function(){return Array.prototype.slice.call(arguments).map(function(t){return t}).reduce(function(t,e){return{x:t.x+(e&&e.x)||0,y:t.y+(e&&e.y)||0}},{x:0,y:0})});a=n.getHighLow([o],t,t.horizontalBars?"x":"y")}else a=n.getHighLow(e.normalized.series,t,t.horizontalBars?"x":"y");a.high=+t.high||(0===t.high?0:a.high),a.low=+t.low||(0===t.low?0:a.low);var c,u,d,h,p,f=n.createChartRect(this.svg,t,i.padding);u=t.distributeSeries&&t.stackBars?e.normalized.labels.slice(0,1):e.normalized.labels,t.horizontalBars?(c=h=void 0===t.axisX.type?new n.AutoScaleAxis(n.Axis.units.x,e.normalized.series,f,n.extend({},t.axisX,{highLow:a,referenceValue:0})):t.axisX.type.call(n,n.Axis.units.x,e.normalized.series,f,n.extend({},t.axisX,{highLow:a,referenceValue:0})),d=p=void 0===t.axisY.type?new n.StepAxis(n.Axis.units.y,e.normalized.series,f,{ticks:u}):t.axisY.type.call(n,n.Axis.units.y,e.normalized.series,f,t.axisY)):(d=h=void 0===t.axisX.type?new n.StepAxis(n.Axis.units.x,e.normalized.series,f,{ticks:u}):t.axisX.type.call(n,n.Axis.units.x,e.normalized.series,f,t.axisX),c=p=void 0===t.axisY.type?new n.AutoScaleAxis(n.Axis.units.y,e.normalized.series,f,n.extend({},t.axisY,{highLow:a,referenceValue:0})):t.axisY.type.call(n,n.Axis.units.y,e.normalized.series,f,n.extend({},t.axisY,{highLow:a,referenceValue:0})));var m=t.horizontalBars?f.x1+c.projectValue(0):f.y1-c.projectValue(0),g=[];d.createGridAndLabels(s,r,this.supportsForeignObject,t,this.eventEmitter),c.createGridAndLabels(s,r,this.supportsForeignObject,t,this.eventEmitter),t.showGridBackground&&n.createGridBackground(s,f,t.classNames.gridBackground,this.eventEmitter),e.raw.series.forEach((function(i,a){var s,r,o=a-(e.raw.series.length-1)/2;s=t.distributeSeries&&!t.stackBars?d.axisLength/e.normalized.series.length/2:t.distributeSeries&&t.stackBars?d.axisLength/2:d.axisLength/e.normalized.series[a].length/2,(r=l.elem("g")).attr({"ct:series-name":i.name,"ct:meta":n.serialize(i.meta)}),r.addClass([t.classNames.series,i.className||t.classNames.series+"-"+n.alphaNumerate(a)].join(" ")),e.normalized.series[a].forEach((function(l,u){var b,v,x,y;if(y=t.distributeSeries&&!t.stackBars?a:t.distributeSeries&&t.stackBars?0:u,b=t.horizontalBars?{x:f.x1+c.projectValue(l&&l.x?l.x:0,u,e.normalized.series[a]),y:f.y1-d.projectValue(l&&l.y?l.y:0,y,e.normalized.series[a])}:{x:f.x1+d.projectValue(l&&l.x?l.x:0,y,e.normalized.series[a]),y:f.y1-c.projectValue(l&&l.y?l.y:0,u,e.normalized.series[a])},d instanceof n.StepAxis&&(d.options.stretch||(b[d.units.pos]+=s*(t.horizontalBars?-1:1)),b[d.units.pos]+=t.stackBars||t.distributeSeries?0:o*t.seriesBarDistance*(t.horizontalBars?-1:1)),g[u]=(x=g[u]||m)-(m-b[d.counterUnits.pos]),void 0!==l){var w={};w[d.units.pos+"1"]=b[d.units.pos],w[d.units.pos+"2"]=b[d.units.pos],!t.stackBars||"accumulate"!==t.stackMode&&t.stackMode?(w[d.counterUnits.pos+"1"]=m,w[d.counterUnits.pos+"2"]=b[d.counterUnits.pos]):(w[d.counterUnits.pos+"1"]=x,w[d.counterUnits.pos+"2"]=g[u]),w.x1=Math.min(Math.max(w.x1,f.x1),f.x2),w.x2=Math.min(Math.max(w.x2,f.x1),f.x2),w.y1=Math.min(Math.max(w.y1,f.y2),f.y1),w.y2=Math.min(Math.max(w.y2,f.y2),f.y1);var k=n.getMetaData(i,u);v=r.elem("line",w,t.classNames.bar).attr({"ct:value":[l.x,l.y].filter(n.isNumeric).join(","),"ct:meta":n.serialize(k)}),this.eventEmitter.emit("draw",n.extend({type:"bar",value:l,index:u,meta:k,series:i,seriesIndex:a,axisX:h,axisY:p,chartRect:f,group:r,element:v},w))}}).bind(this))}).bind(this)),this.eventEmitter.emit("created",{bounds:c.bounds,chartRect:f,axisX:h,axisY:p,svg:this.svg,options:t})}})}(window,document,t),function(t,e,n){"use strict";var i={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",sliceDonutSolid:"ct-slice-donut-solid",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutSolid:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:n.noop,labelDirection:"neutral",reverseData:!1,ignoreEmptyValues:!1};function a(t,e,n){var i=e.x>t.x;return i&&"explode"===n||!i&&"implode"===n?"start":i&&"implode"===n||!i&&"explode"===n?"end":"middle"}n.Pie=n.Base.extend({constructor:function(t,e,a,s){n.Pie.super.constructor.call(this,t,e,i,n.extend({},i,a),s)},createChart:function(t){var e,s,l,r,o,c=n.normalizeData(this.data),u=[],d=t.startAngle;this.svg=n.createSvg(this.container,t.width,t.height,t.donut?t.classNames.chartDonut:t.classNames.chartPie),s=n.createChartRect(this.svg,t,i.padding),l=Math.min(s.width()/2,s.height()/2),o=t.total||c.normalized.series.reduce(function(t,e){return t+e},0);var h=n.quantity(t.donutWidth);"%"===h.unit&&(h.value*=l/100),l-=t.donut&&!t.donutSolid?h.value/2:0,r="outside"===t.labelPosition||t.donut&&!t.donutSolid?l:"center"===t.labelPosition?0:t.donutSolid?l-h.value/2:l/2,r+=t.labelOffset;var p={x:s.x1+s.width()/2,y:s.y2+s.height()/2},f=1===c.raw.series.filter(function(t){return t.hasOwnProperty("value")?0!==t.value:0!==t}).length;c.raw.series.forEach((function(t,e){u[e]=this.svg.elem("g",null,null)}).bind(this)),t.showLabel&&(e=this.svg.elem("g",null,null)),c.raw.series.forEach((function(i,s){if(0!==c.normalized.series[s]||!t.ignoreEmptyValues){u[s].attr({"ct:series-name":i.name}),u[s].addClass([t.classNames.series,i.className||t.classNames.series+"-"+n.alphaNumerate(s)].join(" "));var m=o>0?d+c.normalized.series[s]/o*360:0,g=Math.max(0,d-(0===s||f?0:.2));m-g>=359.99&&(m=g+359.99);var b,v,x,y=n.polarToCartesian(p.x,p.y,l,g),w=n.polarToCartesian(p.x,p.y,l,m),k=new n.Svg.Path(!t.donut||t.donutSolid).move(w.x,w.y).arc(l,l,0,m-d>180,0,y.x,y.y);t.donut?t.donutSolid&&(b=n.polarToCartesian(p.x,p.y,x=l-h.value,d-(0===s||f?0:.2)),v=n.polarToCartesian(p.x,p.y,x,m),k.line(b.x,b.y),k.arc(x,x,0,m-d>180,1,v.x,v.y)):k.line(p.x,p.y);var E=t.classNames.slicePie;t.donut&&(E=t.classNames.sliceDonut,t.donutSolid&&(E=t.classNames.sliceDonutSolid));var C=u[s].elem("path",{d:k.stringify()},E);if(C.attr({"ct:value":c.normalized.series[s],"ct:meta":n.serialize(i.meta)}),t.donut&&!t.donutSolid&&(C._node.style.strokeWidth=h.value+"px"),this.eventEmitter.emit("draw",{type:"slice",value:c.normalized.series[s],totalDataSum:o,index:s,meta:i.meta,series:i,group:u[s],element:C,path:k.clone(),center:p,radius:l,startAngle:d,endAngle:m}),t.showLabel){var S,z;S=1===c.raw.series.length?{x:p.x,y:p.y}:n.polarToCartesian(p.x,p.y,r,d+(m-d)/2),z=c.normalized.labels&&!n.isFalseyButZero(c.normalized.labels[s])?c.normalized.labels[s]:c.normalized.series[s];var j=t.labelInterpolationFnc(z,s);if(j||0===j){var O=e.elem("text",{dx:S.x,dy:S.y,"text-anchor":a(p,S,t.labelDirection)},t.classNames.label).text(""+j);this.eventEmitter.emit("draw",{type:"label",index:s,group:e,element:O,text:""+j,x:S.x,y:S.y})}}d=m}}).bind(this)),this.eventEmitter.emit("created",{chartRect:s,svg:this.svg,options:t})},determineAnchorPosition:a})}(window,document,t),t);var t}).apply(e,[]))||(t.exports=i)}}]);
//# sourceMappingURL=0.830f7e60cf1f0f9eb684.js.map

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists