jQuery.fn.fusionCalculatePortfolioEqualHeights=function(){var a=Math.round(1/(jQuery(this).children(":visible").first()[0].getBoundingClientRect().width/jQuery(this).parent().width())),b=jQuery(this).find(".fusion-portfolio-post:visible").not(".invisible-after-ajax").length;jQuery(this).find(".invisible-after-ajax").hide().removeClass("invisible-after-ajax"),1 img").attr("src",b).attr("width","").attr("height",""),jQuery(this).parents(".fusion-portfolio-post").css("width","auto"),jQuery(this).parents(".fusion-portfolio-post").css("height","auto"),jQuery(this).parents(".fusion-portfolio-one:not(.fusion-portfolio-one-text)").find(".fusion-portfolio-post").css("margin","0")}),jQuery(".fusion-portfolio").length&&jQuery(".fusion-portfolio-wrapper").isotope())}),jQuery(window).on("load fusion-element-render-fusion_portfolio fusion-column-resized",function(a,b){var c;jQuery(".sidebar").is(":visible")&&jQuery(".post-content .fusion-portfolio").each(function(){var a=jQuery(this).data("columns");jQuery(this).addClass("fusion-portfolio-"+a+"-sidebar")}),jQuery().isotope&&jQuery(".fusion-portfolio .fusion-portfolio-wrapper").length&&(c=void 0!==b?jQuery('div[data-cid="'+b+'"]').find(".fusion-portfolio .fusion-portfolio-wrapper"):jQuery(".fusion-portfolio .fusion-portfolio-wrapper"),c.each(function(){var a,b,c,d,e,f,g,h,i,j,k,l,m;jQuery(this).next(".fusion-load-more-button").fadeIn(),"fixed"===jQuery(this).data("picturesize")?jQuery(this).find(".fusion-placeholder-image").each(function(){jQuery(this).css({height:jQuery(this).parents(".fusion-portfolio-post").siblings().find("img").first().height(),width:jQuery(this).parents(".fusion-portfolio-post").siblings().find("img").first().width()})}):jQuery(this).find(".fusion-placeholder-image").each(function(){jQuery(this).css({width:jQuery(this).parents(".fusion-portfolio-post").siblings().first().find("img").width()})}),m="",a=jQuery(this).parents(".fusion-portfolio").find(".fusion-filters"),a.length&&(b=a.find(".fusion-filter"),c=a.find(".fusion-active"),d=c.children("a"),e=d.length?d.attr("data-filter").substr(1):"",f=jQuery(this).find(".fusion-portfolio-post"),g=[],k=!0,b&&b.each(function(){var b=jQuery(this),h=b.children("a").data("filter");f&&(e.length&&f.hide(),jQuery(".fusion-filters").show(),f.each(function(){var f,i=jQuery(this),j=i.find(".fusion-rollover-gallery").data("rel");i.hasClass(h.substr(1))&&b.hasClass("fusion-hidden")&&(b.removeClass("fusion-hidden"),!0===k&&0===a.find(".fusion-filter-all").length&&(a.find(".fusion-filter").removeClass("fusion-active"),b.addClass("fusion-active"),k=!1,c=a.find(".fusion-active"),d=c.children("a"),e=d.attr("data-filter").substr(1))),e.length&&i.hasClass(e)&&(i.show(),j&&(f=j.replace("gallery",e),i.find(".fusion-rollover-gallery").attr("data-rel",f),"individual"===avadaPortfolioVars.lightbox_behavior&&i.find(".fusion-portfolio-gallery-hidden a").attr("data-rel",f),-1===jQuery.inArray(f,g)&&g.push(f)))}))}),e.length&&(m="."+e,jQuery.each(g,function(a,b){window.$ilInstances.push(jQuery('[data-rel="'+b+'"], [rel="'+b+'"]').iLightBox(window.avadaLightBox.prepare_options(b)))}),window.avadaLightBox.refresh_lightbox(),"individual"!==avadaPortfolioVars.lightbox_behavior&&d.data("lightbox","created"))),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")}),h=jQuery(this),i=h.attr("id"),i&&(h=jQuery("#"+i)),(jQuery(this).parent().hasClass("fusion-portfolio-masonry")||jQuery(this).parent().hasClass("fusion-portfolio-layout-masonry"))&&!jQuery(this).parent().hasClass("fusion-masonry-has-vertical")&&0
'+avadaPortfolioVars.infinite_blog_text+"
")},maxPage:c||void 0,errorCallback:function(){a.find(".fusion-portfolio-post").css("height",""),a.find(".fusion-portfolio-wrapper").isotope()}},function(b){var d;jQuery().isotope&&(d=a.find(".fusion-filters").find(".fusion-filter"),b=jQuery(b),b.hide(),imagesLoaded(b,function(){var e,f,g,h,i,j;e=jQuery(b).find(".fusion-placeholder-image"),e.parents(".fusion-portfolio-content-wrapper, .fusion-image-wrapper").animate({opacity:1}),f=jQuery(b).find(".fusion-video"),f.each(function(){jQuery(this).animate({opacity:1}),jQuery(this).parents(".fusion-portfolio-content-wrapper").animate({opacity:1})}),f.fitVids(),window.$portfolio_images_index=0,jQuery(b).imagesLoaded().progress(function(a,b){1<=jQuery(b.img).parents(".fusion-portfolio-content-wrapper").length?jQuery(b.img,e).parents(".fusion-portfolio-content-wrapper").delay(100*window.$portfolio_images_index).animate({opacity:1}):jQuery(b.img,e).parents(".fusion-image-wrapper").delay(100*window.$portfolio_images_index).animate({opacity:1}),window.$portfolio_images_index++}),d&&d.each(function(){var a,c,d,e=jQuery(this),f=e.children("a").data("filter");b&&b.each(function(){d=jQuery(this),d.hasClass(f.substr(1))&&e.hasClass("fusion-hidden")&&(Modernizr.mq("only screen and (max-width:"+avadaPortfolioVars.content_break_point+"px)")?e.fadeIn(400,function(){e.removeClass("fusion-hidden")}):(a=e.css("width"),c=e.css("margin-right"),e.css("width",0),e.css("margin-right",0),e.removeClass("fusion-hidden"),e.animate({width:a,"margin-right":c},400,function(){e.removeAttr("style")})))})}),a.find(".fusion-filters").length?(g=a.find(".fusion-filters").find(".fusion-filter.fusion-active a"),h=g.attr("data-filter").substr(1),h.length?(b.each(function(){var b=jQuery(this),c=b.find(".fusion-rollover-gallery").data("rel");b.hasClass(h)?(b.fadeIn(),c&&b.find(".fusion-rollover-gallery").attr("data-rel",c.replace("gallery",h))):a.hasClass("fusion-portfolio-equal-heights")&&b.addClass("invisible-after-ajax")}),"created"!==g.data("lightbox")&&(window.$ilInstances.push(jQuery('[data-rel^="iLightbox['+h+']"]').iLightBox(window.avadaLightBox.prepare_options("iLightbox["+h+"]"))),g.data("lightbox","created")),window.avadaLightBox.refresh_lightbox()):b.fadeIn()):b.fadeIn(),a.find(".fusion-portfolio-post").css("height",""),a.find(".fusion-portfolio-wrapper").isotope("appended",b),b.each(function(){jQuery(this).find(".full-video, .video-shortcode, .wooslider .slide-content").fitVids()}),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")}),"individual"===avadaPortfolioVars.lightbox_behavior&&jQuery(b).find(".fusion-rollover-gallery").length&&(i=jQuery(b).find(".fusion-rollover-gallery"),i.each(function(){window.$ilInstances.push(jQuery('[data-rel^="'+jQuery(this).attr("data-rel")+'"]').iLightBox(window.avadaLightBox.prepare_options(jQuery(this).attr("data-rel"))))})),j=a.find(".current").html(),a.find(".current").remove(),c==j&&(a.find(".fusion-loading-container").hide(),a.find(".fusion-load-more-button").hide()),"undefined"!=typeof niceScrollReInit&&niceScrollReInit()}))}),"1"==c&&(a.find(".fusion-loading-container").hide(),a.find(".fusion-load-more-button").hide()),a.hasClass("fusion-portfolio-paging-load-more-button")&&(a.find(".fusion-portfolio-wrapper").infinitescroll("unbind"),a.find(".fusion-load-more-button").on("click",function(b){b.preventDefault(),a.find(".fusion-portfolio-wrapper").infinitescroll("retrieve")}))})}),jQuery(window).on("fusion-column-resized",function(a,b){var c=jQuery('div[data-cid="'+b+'"]').find(".fusion-portfolio-wrapper");c.length&&c.data("isotope")&&c.isotope("layout")}); !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e,i){"use strict";e.infinitescroll=function(i,t,o){this.element=e(o),this._create(i,t)||(this.failed=!0)},e.infinitescroll.defaults={loading:{finished:i,finishedMsg:"Congratulations, you've reached the end of the internet.",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6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AOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"Loading the next set of posts...",selector:null,speed:"fast",start:i},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:i,binder:e(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:i,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:i,path:i,prefill:!1,maxPage:i},e.infinitescroll.prototype={_binding:function(e){var t=this,o=t.options;if(o.v="2.0b2.120520",o.behavior&&this["_binding_"+o.behavior]!==i)this["_binding_"+o.behavior].call(this);else{if("bind"!==e&&"unbind"!==e)return this._debug("Binding value "+e+" not valid"),!1;"unbind"===e?this.options.binder.unbind("smartscroll.infscr."+t.options.infid):this.options.binder[e]("smartscroll.infscr."+t.options.infid,function(){t.scroll()}),this._debug("Binding",e)}},_create:function(t,o){var n=e.extend(!0,{},e.infinitescroll.defaults,t);this.options=n;var a=e(window);if(!this._validate(t))return!1;var s=e(n.nextSelector).attr("href");if(!s)return this._debug("Navigation selector not found"),!1;n.path=n.path||this._determinepath(s),n.contentSelector=n.contentSelector||this.element,n.loading.selector=n.loading.selector||n.contentSelector,n.loading.msg=n.loading.msg||e('
Loading...
'+n.loading.msgText+"
"),(new Image).src=n.loading.img,n.pixelsFromNavToBottom===i&&(n.pixelsFromNavToBottom=e(document).height()-e(n.navSelector).offset().top,this._debug("pixelsFromNavToBottom:"+n.pixelsFromNavToBottom));var r=this;return n.loading.start=n.loading.start||function(){e(n.navSelector).hide(),n.loading.msg.insertAfter(n.loading.selector).show(n.loading.speed,e.proxy(function(){this.beginAjax(n)},r))},n.loading.finished=n.loading.finished||function(){n.state.isBeyondMaxPage||n.loading.msg.fadeOut(n.loading.speed)},n.callback=function(t,s,r){n.behavior&&t["_callback_"+n.behavior]!==i&&t["_callback_"+n.behavior].call(e(n.contentSelector)[0],s,r),o&&o.call(e(n.contentSelector)[0],s,n,r),n.prefill&&a.bind("resize.infinite-scroll",t._prefill)},t.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(e){console[e]=this.call(console[e],console)},Function.prototype.bind)),this._setup(),n.prefill&&this._prefill(),!0},_prefill:function(){var i=this,t=e(window);function o(){return e(i.options.contentSelector).height()<=t.height()}this._prefill=function(){o()&&i.scroll(),t.bind("resize.infinite-scroll",function(){o()&&(t.unbind("resize.infinite-scroll"),i.scroll())})},this._prefill()},_debug:function(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?1===Array.prototype.slice.call(arguments).length&&Array.prototype.slice.call(arguments)[0]:Function.prototype.bind||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function(e){var t=this.options;if(t.behavior&&this["_determinepath_"+t.behavior]!==i)return this["_determinepath_"+t.behavior].call(this,e);if(t.pathParse)return this._debug("pathParse manual"),t.pathParse(e,this.options.state.currPage+1);if(e.match(/^(.*2?)\b2\b(.*?$)/))e=e.match(/^(.*2?)\b2\b(.*?$)/).slice(1);else if(e.match(/^(.*?)\b2\b(.*?$)/))e=e.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(e.match(/^(.*?)2(.*?$)/)){if(e.match(/^(.*?page=)2(\/.*|$)/))return e=e.match(/^(.*?page=)2(\/.*|$)/).slice(1);e=e.match(/^(.*?)2(.*?$)/).slice(1)}else{if(e.match(/^(.*?page=)1(\/.*|$)/))return e=e.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next(Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error:yell, scream, and kindly ask for help at infinite-scroll.com."),t.state.isInvalidPage=!0}return this._debug("determinePath",e),e},_error:function(e){var t=this.options;t.behavior&&this["_error_"+t.behavior]!==i?this["_error_"+t.behavior].call(this,e):("destroy"!==e&&"end"!==e&&(e="unknown"),this._debug("Error",e),("end"===e||t.state.isBeyondMaxPage)&&this._showdonemsg(),t.state.isDone=!0,t.state.currPage=1,t.state.isPaused=!1,t.state.isBeyondMaxPage=!1,this._binding("unbind"))},_loadcallback:function(t,o,n){var a,s=this.options,r=this.options.callback,l=s.state.isDone?"done":s.appendCallback?"append":"no-append";if(s.behavior&&this["_loadcallback_"+s.behavior]!==i)this["_loadcallback_"+s.behavior].call(this,t,o,n);else{switch(l){case"done":return this._showdonemsg(),!1;case"no-append":if("html"===s.dataType&&(o=e(o="
"+o+"
").find(s.itemSelector)),0===o.length)return this._error("end");break;case"append":var c=t.children();if(0===c.length)return this._error("end");for(a=document.createDocumentFragment();t[0].firstChild;)a.appendChild(t[0].firstChild);this._debug("contentSelector",e(s.contentSelector)[0]),e(s.contentSelector)[0].appendChild(a),o=c.get()}if(s.loading.finished.call(e(s.contentSelector)[0],s),s.animate){var h=e(window).scrollTop()+e(s.loading.msg).height()+s.extraScrollPx+"px";e("html,body").animate({scrollTop:h},800,function(){s.state.isDuringAjax=!1})}s.animate||(s.state.isDuringAjax=!1),r(this,o,n),s.prefill&&this._prefill()}},_nearbottom:function(){var t=this.options,o=0+e(document).height()-t.binder.scrollTop()-e(window).height();return t.behavior&&this["_nearbottom_"+t.behavior]!==i?this["_nearbottom_"+t.behavior].call(this):(this._debug("math:",o,t.pixelsFromNavToBottom),o-t.bufferPx-1&&0===e(i[t]).length)return this._debug("Your "+t+" found no elements."),!1;return!0},bind:function(){this._binding("bind")},destroy:function(){return this.options.state.isDestroyed=!0,this.options.loading.finished(),this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(t){var o,n,a,s,r=this,l=t.path;if(t.state.currPage++,t.maxPage!==i&&t.state.currPage>t.maxPage)return t.state.isBeyondMaxPage=!0,void this.destroy();switch(o=e(t.contentSelector).is("table, tbody")?e(""):e("
"),n="function"==typeof l?l(t.state.currPage):l.join(t.state.currPage),r._debug("heading into ajax",n),a="html"===t.dataType||"json"===t.dataType?t.dataType:"html+callback",t.appendCallback&&"html"===t.dataType&&(a+="+callback"),a){case"html+callback":r._debug("Using HTML via .load() method"),o.load(n+" "+t.itemSelector,i,function(e){r._loadcallback(o,e,n)});break;case"html":r._debug("Using "+a.toUpperCase()+" via $.ajax() method"),e.ajax({url:n,dataType:t.dataType,complete:function(e,i){(s=void 0!==e.isResolved?e.isResolved():"success"===i||"notmodified"===i)?r._loadcallback(o,e.responseText,n):r._error("end")}});break;case"json":r._debug("Using "+a.toUpperCase()+" via $.ajax() method"),e.ajax({dataType:"json",type:"GET",url:n,success:function(e,a,l){if(s=void 0!==l.isResolved?l.isResolved():"success"===a||"notmodified"===a,t.appendCallback)if(t.template!==i){var c=t.template(e);o.append(c),s?r._loadcallback(o,c):r._error("end")}else r._debug("template must be defined."),r._error("end");else s?r._loadcallback(o,e,n):r._error("end")},error:function(){r._debug("JSON ajax request failed."),r._error("end")}})}},retrieve:function(t){t=t||null;var o=this.options;if(o.behavior&&this["retrieve_"+o.behavior]!==i)this["retrieve_"+o.behavior].call(this,t);else{if(o.state.isDestroyed)return this._debug("Instance is destroyed"),!1;o.state.isDuringAjax=!0,o.loading.start.call(e(o.contentSelector)[0],o)}},scroll:function(){var e=this.options,t=e.state;e.behavior&&this["scroll_"+e.behavior]!==i?this["scroll_"+e.behavior].call(this):t.isDuringAjax||t.isInvalidPage||t.isDone||t.isDestroyed||t.isPaused||this._nearbottom()&&this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(i){e.isPlainObject(i)&&(this.options=e.extend(!0,this.options,i))}},e.fn.infinitescroll=function(i,t){switch(typeof i){case"string":var o=Array.prototype.slice.call(arguments,1);this.each(function(){var t=e.data(this,"infinitescroll");return!!t&&(!(!e.isFunction(t[i])||"_"===i.charAt(0))&&void t[i].apply(t,o))});break;case"object":this.each(function(){var o=e.data(this,"infinitescroll");o?o.update(i):(o=new e.infinitescroll(i,t,this)).failed||e.data(this,"infinitescroll",o)})}return this};var t,o=e.event;o.special.smartscroll={setup:function(){e(this).bind("scroll",o.special.smartscroll.handler)},teardown:function(){e(this).unbind("scroll",o.special.smartscroll.handler)},handler:function(i,o){var n=this,a=arguments;i.type="smartscroll",t&&clearTimeout(t),t=setTimeout(function(){e(n).trigger("smartscroll",a)},"execAsap"===o?0:100)}},e.fn.smartscroll=function(e){return e?this.bind("smartscroll",e):this.trigger("smartscroll",["execAsap"])}}); jQuery(document).on("ready fusion-element-render-fusion_faq",function(a,b){(void 0!==b?jQuery('div[data-cid="'+b+'"]').find(".fusion-faq-shortcode"):jQuery(".fusion-faq-shortcode")).each(function(){var a,b,c,d,e=jQuery(this),f=e.find(".fusion-filters");e.find(".fusion-faqs-wrapper").fadeIn(),f.length&&(f.fadeIn(),a=f.find(".fusion-filter"),b=f.find(".fusion-active").children("a"),c=b.attr("data-filter").substr(1),d=jQuery(this).find(".fusion-faqs-wrapper .fusion-faq-post"),a&&a.each(function(){var a=jQuery(this),b=a.children("a").data("filter");d&&(c.length&&d.hide(),d.each(function(){var d=jQuery(this);d.hasClass(b.substr(1))&&a.hasClass("fusion-hidden")&&a.removeClass("fusion-hidden"),c.length&&d.hasClass(c)&&d.show()}))})),e.find(".fusion-filters a").click(function(a){var b=jQuery(this).attr("data-filter");a.preventDefault(),e.find(".fusion-faqs-wrapper .fusion-faq-post").fadeOut(),setTimeout(function(){e.find(".fusion-faqs-wrapper .fusion-faq-post"+b).fadeIn()},400),jQuery(this).parents(".fusion-filters").find(".fusion-filter").removeClass("fusion-active"),jQuery(this).parent().addClass("fusion-active")})})}); !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}}(function(){return function o(r,s,l){function u(i,t){if(!s[i]){if(!r[i]){var e="function"==typeof require&&require;if(!t&&e)return e(i,!0);if(d)return d(i,!0);var n=new Error("Cannot find module '"+i+"'");throw n.code="MODULE_NOT_FOUND",n}var a=s[i]={exports:{}};r[i][0].call(a.exports,function(t){var e=r[i][1][t];return u(e||t)},a,a.exports,o,r,s,l)}return s[i].exports}for(var d="function"==typeof require&&require,t=0;t');var i=t.data,n=i.datasets,a=i.labels;if(n.length)for(var o=0;o'),a[o]&&e.push(a[o]),e.push("");return e.push(""),e.join("")},legend:{labels:{generateLabels:function(l){var u=l.data;return u.labels.length&&u.datasets.length?u.labels.map(function(t,e){var i=l.getDatasetMeta(0),n=u.datasets[0],a=i.data[e],o=a&&a.custom||{},r=A.valueAtIndexOrDefault,s=l.options.elements.arc;return{text:t,fillStyle:o.backgroundColor?o.backgroundColor:r(n.backgroundColor,e,s.backgroundColor),strokeStyle:o.borderColor?o.borderColor:r(n.borderColor,e,s.borderColor),lineWidth:o.borderWidth?o.borderWidth:r(n.borderWidth,e,s.borderWidth),hidden:isNaN(n.data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){var i,n,a,o=e.index,r=this.chart;for(i=0,n=(r.data.datasets||[]).length;i=Math.PI?-1:f<-Math.PI?1:0))+h,p=Math.cos(f),v=Math.sin(f),m=Math.cos(g),b=Math.sin(g),x=f<=0&&0<=g||f<=2*Math.PI&&2*Math.PI<=g,y=f<=.5*Math.PI&&.5*Math.PI<=g||f<=2.5*Math.PI&&2.5*Math.PI<=g,k=f<=-Math.PI&&-Math.PI<=g||f<=Math.PI&&Math.PI<=g,w=f<=.5*-Math.PI&&.5*-Math.PI<=g||f<=1.5*Math.PI&&1.5*Math.PI<=g,M=c/100,S=k?-1:Math.min(p*(p<0?1:M),m*(m<0?1:M)),C=w?-1:Math.min(v*(v<0?1:M),b*(b<0?1:M)),_=x?1:Math.max(p*(0');var i=t.data,n=i.datasets,a=i.labels;if(n.length)for(var o=0;o'),a[o]&&e.push(a[o]),e.push("");return e.push(""),e.join("")},legend:{labels:{generateLabels:function(s){var l=s.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var i=s.getDatasetMeta(0),n=l.datasets[0],a=i.data[e].custom||{},o=k.valueAtIndexOrDefault,r=s.options.elements.arc;return{text:t,fillStyle:a.backgroundColor?a.backgroundColor:o(n.backgroundColor,e,r.backgroundColor),strokeStyle:a.borderColor?a.borderColor:o(n.borderColor,e,r.borderColor),lineWidth:a.borderWidth?a.borderWidth:o(n.borderWidth,e,r.borderWidth),hidden:isNaN(n.data[e])||i.data[e].hidden,index:e}}):[]}},onClick:function(t,e){var i,n,a,o=e.index,r=this.chart;for(i=0,n=(r.data.datasets||[]).length;i=e.numSteps?(o.callback(e.onAnimationComplete,[e],i),i.animating=!1,n.splice(a,1)):++a}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,i){"use strict";var d=t(25),c=t(45),a=t(28),h=t(48);e.exports=function(l){var u=l.plugins;function s(t){return"top"===t||"bottom"===t}l.types={},l.instances={},l.controllers={},c.extend(l.prototype,{construct:function(t,e){var i=this;e=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=c.configMerge(d.global,d[t.type],t.options||{}),t}(e);var n=h.acquireContext(t,e),a=n&&n.canvas,o=a&&a.height,r=a&&a.width;i.id=c.uid(),i.ctx=n,i.canvas=a,i.config=e,i.width=r,i.height=o,i.aspectRatio=o?r/o:null,i.options=e.options,i._bufferedRender=!1,(i.chart=i).controller=i,l.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(t){i.config.data=t}}),n&&a&&(i.initialize(),i.update())},initialize:function(){var t=this;return u.notify(t,"beforeInit"),c.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildScales(),t.initToolTip(),u.notify(t,"afterInit"),t},clear:function(){return c.canvas.clear(this),this},stop:function(){return l.animationService.cancelAnimation(this),this},resize:function(t){var e=this,i=e.options,n=e.canvas,a=i.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(c.getMaximumWidth(n))),r=Math.max(0,Math.floor(a?o/a:c.getMaximumHeight(n)));if((e.width!==o||e.height!==r)&&(n.width=e.width=o,n.height=e.height=r,n.style.width=o+"px",n.style.height=r+"px",c.retinaScale(e,i.devicePixelRatio),!t)){var s={width:o,height:r};u.notify(e,"resize",[s]),e.options.onResize&&e.options.onResize(e,s),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},i=t.scale;c.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),c.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),i&&(i.id=i.id||"scale")},buildScales:function(){var o=this,t=o.options,r=o.scales={},e=[];t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),c.each(e,function(t){var e=t.options,i=c.valueOrDefault(e.type,t.dtype),n=l.scaleService.getScaleConstructor(i);if(n){s(e.position)!==s(t.dposition)&&(e.position=t.dposition);var a=new n({id:e.id,options:e,ctx:o.ctx,chart:o});(r[a.id]=a).mergeTicksOptions(),t.isDefault&&(o.scale=a)}}),l.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var o=this,r=[],s=[];return c.each(o.data.datasets,function(t,e){var i=o.getDatasetMeta(e),n=t.type||o.config.type;if(i.type&&i.type!==n&&(o.destroyDatasetMeta(e),i=o.getDatasetMeta(e)),i.type=n,r.push(i.type),i.controller)i.controller.updateIndex(e);else{var a=l.controllers[i.type];if(void 0===a)throw new Error('"'+i.type+'" is not a chart type.');i.controller=new a(o,e),s.push(i.controller)}},o),s},resetElements:function(){var i=this;c.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.reset()},i)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),function(e){var t=e.options;t.scale?e.scale.options=t.scale:t.scales&&t.scales.xAxes.concat(t.scales.yAxes).forEach(function(t){e.scales[t.id].options=t}),e.tooltip._options=t.tooltips}(i),!1!==u.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var e=i.buildOrUpdateControllers();c.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.buildOrUpdateElements()},i),i.updateLayout(),c.each(e,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],u.notify(i,"afterUpdate"),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){!1!==u.notify(this,"beforeLayout")&&(l.layoutService.update(this,this.width,this.height),u.notify(this,"afterScaleUpdate"),u.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==u.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t=e[t].length&&e[t].push({}),!e[t][a].type||r.type&&r.type!==e[t][a].type?g.merge(e[t][a],[l.scaleService.getScaleDefaults(o),r]):g.merge(e[t][a],r)}else g._merger(t,e,i,n)}})},g.where=function(t,e){if(g.isArray(t)&&Array.prototype.filter)return t.filter(e);var i=[];return g.each(t,function(t){e(t)&&i.push(t)}),i},g.findIndex=Array.prototype.findIndex?function(t,e,i){return t.findIndex(e,i)}:function(t,e,i){i=void 0===i?t:i;for(var n=0,a=t.length;n=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},g.previousItem=function(t,e,i){return i?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},g.niceNum=function(t,e){var i=Math.floor(g.log10(t)),n=t/Math.pow(10,i);return(e?n<1.5?1:n<3?2:n<7?5:10:n<=1?1:n<=2?2:n<=5?5:10)*Math.pow(10,i)},g.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},g.getRelativePosition=function(t,e){var i,n,a=t.originalEvent||t,o=t.currentTarget||t.srcElement,r=o.getBoundingClientRect(),s=a.touches;n=s&&0i.length){for(var l=0;le&&(e=t.length)}),e},g.color=n?function(t){return t instanceof CanvasGradient&&(t=a.global.defaultColor),n(t)}:function(t){return t},g.getHoverColor=function(t){return t instanceof CanvasPattern?t:g.color(t).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(t,e,i){"use strict";var n=t(45);function s(t,e){return t.native?{x:t.x,y:t.y}:n.getRelativePosition(t,e)}function l(t,e){var i,n,a,o,r;for(n=0,o=t.data.datasets.length;nt.maxHeight){o--;break}o++,l=r*s}t.labelRotation=o},afterCalculateTickRotation:function(){E.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){E.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},i=S(t._ticks),n=t.options,a=n.ticks,o=n.scaleLabel,r=n.gridLines,s=n.display,l=t.isHorizontal(),u=w(a),d=n.gridLines.tickMarkLength;if(e.width=l?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:s&&r.drawTicks?d:0,e.height=l?s&&r.drawTicks?d:0:t.maxHeight,o.display&&s){var c=M(o)+E.options.toPadding(o.padding).height;l?e.height+=c:e.width+=c}if(a.display&&s){var h=E.longestText(t.ctx,u.font,i,t.longestTextCache),f=E.numberOfLabelLines(i),g=.5*u.size,p=t.options.ticks.padding;if(l){t.longestLabelWidth=h;var v=E.toRadians(t.labelRotation),m=Math.cos(v),b=Math.sin(v)*h+u.size*f+g*(f-1)+g;e.height=Math.min(t.maxHeight,e.height+b+p),t.ctx.font=u.font;var x=k(t.ctx,i[0],u.font),y=k(t.ctx,i[i.length-1],u.font);0!==t.labelRotation?(t.paddingLeft="bottom"===n.position?m*x+3:m*g+3,t.paddingRight="bottom"===n.position?m*g+3:m*y+3):(t.paddingLeft=x/2+3,t.paddingRight=y/2+3)}else a.mirror?h=0:h+=p+g,e.width=Math.min(t.maxWidth,e.width+h),t.paddingTop=u.size/2,t.paddingBottom=u.size/2}t.handleMargins(),t.width=e.width,t.height=e.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){E.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(E.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:E.noop,getPixelForValue:E.noop,getValueForPixel:E.noop,getPixelForTick:function(t){var e=this,i=e.options.offset;if(e.isHorizontal()){var n=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(i?0:1),1),a=n*t+e.paddingLeft;i&&(a+=n/2);var o=e.left+Math.round(a);return o+=e.isFullWidth()?e.margins.left:0}var r=e.height-(e.paddingTop+e.paddingBottom);return e.top+t*(r/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft,n=e.left+Math.round(i);return n+=e.isFullWidth()?e.margins.left:0}return e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0o.width-(o.paddingLeft+o.paddingRight)&&(e=1+Math.floor((c+s.autoSkipPadding)*l/(o.width-(o.paddingLeft+o.paddingRight)))),a&&al.height-e.height&&(c="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;n="center"===c?(i=function(t){return t<=h},function(t){return h=l.width-e.width/2}),a=function(t){return t+e.width>l.width},o=function(t){return t-e.width<0},r=function(t){return t<=f?"top":"bottom"},i(s.x)?(d="left",a(s.x)&&(d="center",c=r(s.y))):n(s.x)&&(d="right",o(s.x)&&(d="center",c=r(s.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:c}}(this,v))}else c.opacity=0;return c.xAlign=g.xAlign,c.yAlign=g.yAlign,c.x=p.x,c.y=p.y,c.width=v.width,c.height=v.height,c.caretX=m.x,c.caretY=m.y,l._model=c,t&&u.custom&&u.custom.call(l,c),l},drawCaret:function(t,e){var i=this._chart.ctx,n=this._view,a=this.getCaretPosition(t,e,n);i.lineTo(a.x1,a.y1),i.lineTo(a.x2,a.y2),i.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,i){var n,a,o,r,s,l,u=i.caretSize,d=i.cornerRadius,c=i.xAlign,h=i.yAlign,f=t.x,g=t.y,p=e.width,v=e.height;if("center"===h)s=g+v/2,l="left"===c?(a=(n=f)-u,o=n,r=s+u,s-u):(a=(n=f+p)+u,o=n,r=s-u,s+u);else if(o=(n="left"===c?(a=f+d+u)-u:"right"===c?(a=f+p-d-u)-u:(a=f+p/2)-u,a+u),"top"===h)s=(r=g)-u,l=r;else{s=(r=g+v)+u,l=r;var m=o;o=n,n=m}return{x1:n,x2:a,x3:o,y1:r,y2:s,y3:l}},drawTitle:function(t,e,i,n){var a=e.title;if(a.length){i.textAlign=e._titleAlign,i.textBaseline="top";var o,r,s=e.titleFontSize,l=e.titleSpacing;for(i.fillStyle=h(e.titleFontColor,n),i.font=M.fontString(s,e._titleFontStyle,e._titleFontFamily),o=0,r=a.length;o=i.innerRadius&&o<=i.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,i=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,i=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*i,y:t.y+Math.sin(e)*i}},draw:function(){var t=this._chart.ctx,e=this._view,i=e.startAngle,n=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,i,n),t.arc(e.x,e.y,e.innerRadius,n,i,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,i){"use strict";var n=t(25),a=t(26),d=t(45),c=n.global;n._set("global",{elements:{line:{tension:.4,backgroundColor:c.defaultColor,borderWidth:3,borderColor:c.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=a.extend({draw:function(){var t,e,i,n,a=this._view,o=this._chart.ctx,r=a.spanGaps,s=this._children.slice(),l=c.elements.line,u=-1;for(this._loop&&s.length&&s.push(s[0]),o.save(),o.lineCap=a.borderCapStyle||l.borderCapStyle,o.setLineDash&&o.setLineDash(a.borderDash||l.borderDash),o.lineDashOffset=a.borderDashOffset||l.borderDashOffset,o.lineJoin=a.borderJoinStyle||l.borderJoinStyle,o.lineWidth=a.borderWidth||l.borderWidth,o.strokeStyle=a.borderColor||c.defaultColor,o.beginPath(),u=-1,t=0;t=n.left&&t<=n.right&&e>=n.top&&e<=n.bottom}return i},inLabelRange:function(t,e){if(!this._view)return!1;var i=o(this);return l(this)?t>=i.left&&t<=i.right:e>=i.top&&e<=i.bottom},inXRange:function(t){var e=o(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=o(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,i=this._view;return e=l(this)?(t=i.x,(i.y+i.base)/2):(t=(i.x+i.base)/2,i.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,i){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,i){"use strict";var n=t(42);i=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,i,n,a,o){if(o){var r=Math.min(o,n/2),s=Math.min(o,a/2);t.moveTo(e+r,i),t.lineTo(e+n-r,i),t.quadraticCurveTo(e+n,i,e+n,i+s),t.lineTo(e+n,i+a-s),t.quadraticCurveTo(e+n,i+a,e+n-r,i+a),t.lineTo(e+r,i+a),t.quadraticCurveTo(e,i+a,e,i+a-s),t.lineTo(e,i+s),t.quadraticCurveTo(e,i,e+r,i)}else t.rect(e,i,n,a)},drawPoint:function(t,e,i,n,a){var o,r,s,l,u,d;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(o=e.toString())&&"[object HTMLCanvasElement]"!==o){if(!(isNaN(i)||i<=0)){switch(e){default:t.beginPath(),t.arc(n,a,i,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(r=3*i/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(n-r/2,a+u/3),t.lineTo(n+r/2,a+u/3),t.lineTo(n,a-2*u/3),t.closePath(),t.fill();break;case"rect":d=1/Math.SQRT2*i,t.beginPath(),t.fillRect(n-d,a-d,2*d,2*d),t.strokeRect(n-d,a-d,2*d,2*d);break;case"rectRounded":var c=i/Math.SQRT2,h=n-c,f=a-c,g=Math.SQRT2*i;t.beginPath(),this.roundedRect(t,h,f,g,g,i/2),t.closePath(),t.fill();break;case"rectRot":d=1/Math.SQRT2*i,t.beginPath(),t.moveTo(n-d,a),t.lineTo(n,a+d),t.lineTo(n+d,a),t.lineTo(n,a-d),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(n,a+i),t.lineTo(n,a-i),t.moveTo(n-i,a),t.lineTo(n+i,a),t.closePath();break;case"crossRot":t.beginPath(),s=Math.cos(Math.PI/4)*i,l=Math.sin(Math.PI/4)*i,t.moveTo(n-s,a-l),t.lineTo(n+s,a+l),t.moveTo(n-s,a+l),t.lineTo(n+s,a-l),t.closePath();break;case"star":t.beginPath(),t.moveTo(n,a+i),t.lineTo(n,a-i),t.moveTo(n-i,a),t.lineTo(n+i,a),s=Math.cos(Math.PI/4)*i,l=Math.sin(Math.PI/4)*i,t.moveTo(n-s,a-l),t.lineTo(n+s,a+l),t.moveTo(n-s,a+l),t.lineTo(n+s,a-l),t.closePath();break;case"line":t.beginPath(),t.moveTo(n-i,a),t.lineTo(n+i,a),t.closePath();break;case"dash":t.beginPath(),t.moveTo(n,a),t.lineTo(n+i,a),t.closePath()}t.stroke()}}else t.drawImage(e,n-e.width/2,a-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,i,n){if(i.steppedLine)return"after"===i.steppedLine&&!n||"after"!==i.steppedLine&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y),void t.lineTo(i.x,i.y);i.tension?t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y):t.lineTo(i.x,i.y)}};n.clear=i.clear,n.drawRoundedRectangle=function(t){t.beginPath(),i.roundedRect.apply(i,arguments),t.closePath()}},{42:42}],42:[function(t,e,i){"use strict";var n,d={noop:function(){},uid:(n=0,function(){return n++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,i){return d.valueOrDefault(d.isArray(t)?t[e]:t,i)},callback:function(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)},each:function(t,e,i,n){var a,o,r;if(d.isArray(t))if(o=t.length,n)for(a=o-1;0<=a;a--)e.call(i,t[a],a);else for(a=0;a
';var a=e.childNodes[0],o=e.childNodes[1];function r(){e._reset(),t()}return e._reset=function(){a.scrollLeft=1e6,a.scrollTop=1e6,o.scrollLeft=1e6,o.scrollTop=1e6},f(a,"scroll",r.bind(a,"expand")),f(o,"scroll",r.bind(o,"shrink")),e}(function(t,e){var i=!1,n=[];return function(){n=Array.prototype.slice.call(arguments),e=e||this,i||(i=!0,o.requestAnimFrame.call(window,function(){i=!1,t.apply(e,n)}))}}(function(){if(n.resizer)return t(p("resize",i))}));!function(e,i){var t=e[s]||(e[s]={}),n=t.renderProxy=function(t){t.animationName===u&&i()};o.each(d,function(t){f(e,t,n)}),t.reflow=!!e.offsetParent,e.classList.add(r)}(e,function(){if(n.resizer){var t=e.parentNode;t&&t!==a.parentNode&&t.insertBefore(a,t.firstChild),a._reset()}})}function m(t){var e=t[s]||{},i=e.resizer;delete e.resizer,function(e){var t=e[s]||{},i=t.renderProxy;i&&(o.each(d,function(t){g(e,t,i)}),delete t.renderProxy),e.classList.remove(r)}(t),i&&i.parentNode&&i.parentNode.removeChild(i)}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t="from{opacity:0.99}to{opacity:1}";!function(t,e){var i=t._style||document.createElement("style");t._style||(e="\n"+e,(t._style=i).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(i)),i.appendChild(document.createTextNode(e))}(this,"@-webkit-keyframes "+u+"{"+t+"}@keyframes "+u+"{"+t+"}."+r+"{-webkit-animation:"+u+" 0.001s;animation:"+u+" 0.001s;}")},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){var i=t.style,n=t.getAttribute("height"),a=t.getAttribute("width");if(t[s]={initial:{height:n,width:a,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null===a||""===a){var o=h(t,"width");void 0!==o&&(t.width=o)}if(null===n||""===n)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var r=h(t,"height");void 0!==o&&(t.height=r)}}(t,e),i):null},releaseContext:function(t){var i=t.canvas;if(i[s]){var n=i[s].initial;["height","width"].forEach(function(t){var e=n[t];o.isNullOrUndef(e)?i.removeAttribute(t):i.setAttribute(t,e)}),o.each(n.style||{},function(t,e){i.style[e]=t}),i.width=i.width,delete i[s]}},addEventListener:function(e,t,i){var n=e.canvas;if("resize"!==t){var a=i[s]||(i[s]={});f(n,t,(a.proxies||(a.proxies={}))[e.id+"_"+t]=function(t){i(function(t,e){var i=c[t.type]||t.type,n=o.getRelativePosition(t,e);return p(i,e,n.x,n.y,t)}(t,e))})}else v(n,i,e)},removeEventListener:function(t,e,i){var n=t.canvas;if("resize"!==e){var a=((i[s]||{}).proxies||{})[t.id+"_"+e];a&&g(n,e,a)}else m(n)}},o.addEvent=f,o.removeEvent=g},{45:45}],48:[function(t,e,i){"use strict";var n=t(45),a=t(46),o=t(47),r=o._enabled?o:a;e.exports=n.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},r)},{45:45,46:46,47:47}],49:[function(t,e,i){"use strict";var u=t(25),v=t(40),d=t(45);u._set("global",{plugins:{filler:{propagate:!0}}}),e.exports=function(){var h={dataset:function(t){var e=t.fill,i=t.chart,n=i.getDatasetMeta(e),a=n&&i.isDatasetVisible(e)&&n.dataset._children||[],o=a.length||0;return o?function(t,e){return e');for(var i=0;i'),t.data.datasets[i].label&&e.push(t.data.datasets[i].label),e.push("");return e.push(""),e.join("")}}),e.exports=function(n){var a=n.layoutService,t=S.noop;function w(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}function o(t,e){var i=new n.Legend({ctx:t.ctx,options:e,chart:t});a.configure(t,i,e),a.addBox(t,i),t.legend=i}return n.Legend=r.extend({initialize:function(t){S.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:t,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:function(){var e=this,i=e.options.labels||{},t=S.callback(i.generateLabels,[e.chart],e)||[];i.filter&&(t=t.filter(function(t){return i.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:t,beforeFit:t,fit:function(){var n=this,t=n.options,a=t.labels,e=t.display,o=n.ctx,i=M.global,r=S.valueOrDefault,s=r(a.fontSize,i.defaultFontSize),l=r(a.fontStyle,i.defaultFontStyle),u=r(a.fontFamily,i.defaultFontFamily),d=S.fontString(s,l,u),c=n.legendHitBoxes=[],h=n.minSize,f=n.isHorizontal();if(f?(h.width=n.maxWidth,h.height=e?10:0):(h.width=e?10:0,h.height=n.maxHeight),e)if(o.font=d,f){var g=n.lineWidths=[0],p=n.legendItems.length?s+a.padding:0;o.textAlign="left",o.textBaseline="top",S.each(n.legendItems,function(t,e){var i=w(a,s)+s/2+o.measureText(t.text).width;g[g.length-1]+i+a.padding>=n.width&&(p+=s+a.padding,g[g.length]=n.left),c[e]={left:0,top:0,width:i,height:s},g[g.length-1]+=i+a.padding}),h.height+=p}else{var v=a.padding,m=n.columnWidths=[],b=a.padding,x=0,y=0,k=s+v;S.each(n.legendItems,function(t,e){var i=w(a,s)+s/2+o.measureText(t.text).width;y+k>h.height&&(b+=x+a.padding,m.push(x),y=x=0),x=Math.max(x,i),y+=k,c[e]={left:0,top:0,width:i,height:s}}),b+=x,m.push(x),h.width+=b}n.width=h.width,n.height=h.height},afterFit:t,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var r=this,l=r.options,s=l.labels,u=M.global,d=u.elements.line,c=r.width,h=r.lineWidths;if(l.display){var f,g=r.ctx,p=S.valueOrDefault,t=p(s.fontColor,u.defaultFontColor),v=p(s.fontSize,u.defaultFontSize),e=p(s.fontStyle,u.defaultFontStyle),i=p(s.fontFamily,u.defaultFontFamily),n=S.fontString(v,e,i);g.textAlign="left",g.textBaseline="middle",g.lineWidth=.5,g.strokeStyle=t,g.fillStyle=t,g.font=n;var m=w(s,v),b=r.legendHitBoxes,x=r.isHorizontal();f=x?{x:r.left+(c-h[0])/2,y:r.top+s.padding,line:0}:{x:r.left+s.padding,y:r.top+s.padding,line:0};var y=v+s.padding;S.each(r.legendItems,function(t,e){var i=g.measureText(t.text).width,n=m+v/2+i,a=f.x,o=f.y;x?c<=a+n&&(o=f.y+=y,f.line++,a=f.x=r.left+(c-h[f.line])/2):o+y>r.bottom&&(a=f.x=a+r.columnWidths[f.line]+s.padding,o=f.y=r.top+s.padding,f.line++),function(t,e,i){if(!(isNaN(m)||m<=0)){g.save(),g.fillStyle=p(i.fillStyle,u.defaultColor),g.lineCap=p(i.lineCap,d.borderCapStyle),g.lineDashOffset=p(i.lineDashOffset,d.borderDashOffset),g.lineJoin=p(i.lineJoin,d.borderJoinStyle),g.lineWidth=p(i.lineWidth,d.borderWidth),g.strokeStyle=p(i.strokeStyle,u.defaultColor);var n=0===p(i.lineWidth,d.borderWidth);if(g.setLineDash&&g.setLineDash(p(i.lineDash,d.borderDash)),l.labels&&l.labels.usePointStyle){var a=v*Math.SQRT2/2,o=a/Math.SQRT2,r=t+o,s=e+o;S.canvas.drawPoint(g,i.pointStyle,a,r,s)}else n||g.strokeRect(t,e,m,v),g.fillRect(t,e,m,v);g.restore()}}(a,o,t),function(t,e,i,n){var a=v/2,o=m+a+t,r=e+a;g.fillText(i.text,o,r),i.hidden&&(g.beginPath(),g.lineWidth=2,g.moveTo(o,r),g.lineTo(o+n,r),g.stroke())}(b[e].left=a,b[e].top=o,t,i),x?f.x+=n+s.padding:f.y+=y})}},handleEvent:function(t){var e=this,i=e.options,n="mouseup"===t.type?"click":t.type,a=!1;if("mousemove"===n){if(!i.onHover)return}else{if("click"!==n)return;if(!i.onClick)return}var o=t.x,r=t.y;if(o>=e.left&&o<=e.right&&r>=e.top&&r<=e.bottom)for(var s=e.legendHitBoxes,l=0;l=u.left&&o<=u.left+u.width&&r>=u.top&&r<=u.top+u.height){if("click"===n){i.onClick.call(e,t.native,e.legendItems[l]),a=!0;break}if("mousemove"===n){i.onHover.call(e,t.native,e.legendItems[l]),a=!0;break}}}return a}}),{id:"legend",beforeInit:function(t){var e=t.options.legend;e&&o(t,e)},beforeUpdate:function(t){var e=t.options.legend,i=t.legend;e?(S.mergeIf(e,M.global.legend),i?(a.configure(t,i,e),i.options=e):o(t,e)):i&&(a.removeBox(t,i),delete t.legend)},afterEvent:function(t,e){var i=t.legend;i&&i.handleEvent(e)}}}},{25:25,26:26,45:45}],51:[function(t,e,i){"use strict";var w=t(25),r=t(26),M=t(45);w._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),e.exports=function(n){var a=n.layoutService,t=M.noop;function o(t,e){var i=new n.Title({ctx:t.ctx,options:e,chart:t});a.configure(t,i,e),a.addBox(t,i),t.titleBlock=i}return n.Title=r.extend({initialize:function(t){M.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:t,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:t,afterBuildLabels:t,beforeFit:t,fit:function(){var t=this,e=M.valueOrDefault,i=t.options,n=i.display,a=e(i.fontSize,w.global.defaultFontSize),o=t.minSize,r=M.isArray(i.text)?i.text.length:1,s=M.options.toLineHeight(i.lineHeight,a),l=n?r*s+2*i.padding:0;t.isHorizontal()?(o.width=t.maxWidth,o.height=l):(o.width=l,o.height=t.maxHeight),t.width=o.width,t.height=o.height},afterFit:t,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,i=M.valueOrDefault,n=t.options,a=w.global;if(n.display){var o,r,s,l=i(n.fontSize,a.defaultFontSize),u=i(n.fontStyle,a.defaultFontStyle),d=i(n.fontFamily,a.defaultFontFamily),c=M.fontString(l,u,d),h=M.options.toLineHeight(n.lineHeight,l),f=h/2+n.padding,g=0,p=t.top,v=t.left,m=t.bottom,b=t.right;e.fillStyle=i(n.fontColor,a.defaultFontColor),e.font=c,t.isHorizontal()?(r=v+(b-v)/2,s=p+f,o=b-v):(r="left"===n.position?v+f:b-f,s=p+(m-p)/2,o=m-p,g=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,s),e.rotate(g),e.textAlign="center",e.textBaseline="middle";var x=n.text;if(M.isArray(x))for(var y=0,k=0;kr.max&&(r.max=i))})});r.min=isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=isFinite(r.max)&&!isNaN(r.max)?r.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var i=c.valueOrDefault(e.fontSize,n.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*i)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,i=this,n=i.start,a=+i.getRightValue(t),o=i.end-n;return e=i.isHorizontal()?i.left+i.width/o*(a-n):i.bottom-i.height/o*(a-n),Math.round(e)},getValueForPixel:function(t){var e=this,i=e.isHorizontal(),n=i?e.width:e.height,a=(i?t-e.left:e.bottom-t)/n;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",i,e)}},{25:25,34:34,45:45}],54:[function(t,e,i){"use strict";var r=t(45),o=t(34);e.exports=function(e){var t=r.noop;e.LinearScaleBase=e.Scale.extend({getRightValue:function(t){return"string"==typeof t?+t:e.Scale.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var i=r.sign(t.min),n=r.sign(t.max);i<0&&n<0?t.max=0:0=t.max&&(a?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var t=this,e=t.options.ticks,i=t.getTickLimit(),n={maxTicks:i=Math.max(2,i),min:e.min,max:e.max,stepSize:r.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=o.generators.linear(n,t);t.handleDirectionalChanges(),t.max=r.max(a),t.min=r.min(a),e.reverse?(a.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(t)}})}},{34:34,45:45}],55:[function(t,e,i){"use strict";var c=t(45),a=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.logarithmic}},i=t.Scale.extend({determineDataLimits:function(){var r=this,s=r.options,t=s.ticks,l=r.chart,e=l.data.datasets,i=c.valueOrDefault,n=r.isHorizontal();function u(t){return n?t.xAxisID===r.id:t.yAxisID===r.id}r.min=null,r.max=null,r.minNotZero=null;var a=s.stacked;if(void 0===a&&c.each(e,function(t,e){if(!a){var i=l.getDatasetMeta(e);l.isDatasetVisible(e)&&u(i)&&void 0!==i.stack&&(a=!0)}}),s.stacked||a){var d={};c.each(e,function(t,e){var a=l.getDatasetMeta(e),o=[a.type,void 0===s.stacked&&void 0===a.stack?e:"",a.stack].join(".");l.isDatasetVisible(e)&&u(a)&&(void 0===d[o]&&(d[o]=[]),c.each(t.data,function(t,e){var i=d[o],n=+r.getRightValue(t);isNaN(n)||a.data[e].hidden||(i[e]=i[e]||0,s.relativePoints?i[e]=100:i[e]+=n)}))}),c.each(d,function(t){var e=c.min(t),i=c.max(t);r.min=null===r.min?e:Math.min(r.min,e),r.max=null===r.max?i:Math.max(r.max,i)})}else c.each(e,function(t,e){var n=l.getDatasetMeta(e);l.isDatasetVisible(e)&&u(n)&&c.each(t.data,function(t,e){var i=+r.getRightValue(t);isNaN(i)||n.data[e].hidden||(null===r.min?r.min=i:ir.max&&(r.max=i),0!=i&&(null===r.minNotZero||ir.r&&(r.r=g.end,s.r=h),p.startr.b&&(r.b=p.end,s.b=h)}t.setReductions(o,r,s)}(this):function(t){var e=Math.min(t.height/2,t.width/2);t.drawingArea=Math.round(e),t.setCenterPoint(0,0,0,0)}(this)},setReductions:function(t,e,i){var n=e.l/Math.sin(i.l),a=Math.max(e.r-this.width,0)/Math.sin(i.r),o=-e.t/Math.cos(i.t),r=-Math.max(e.b-this.height,0)/Math.cos(i.b);n=s(n),a=s(a),o=s(o),r=s(r),this.drawingArea=Math.min(Math.round(t-(n+a)/2),Math.round(t-(o+r)/2)),this.setCenterPoint(n,a,o,r)},setCenterPoint:function(t,e,i,n){var a=this,o=a.width-e-a.drawingArea,r=t+a.drawingArea,s=i+a.drawingArea,l=a.height-n-a.drawingArea;a.xCenter=Math.round((r+o)/2+a.left),a.yCenter=Math.round((s+l)/2+a.top)},getIndexAngle:function(t){return t*(2*Math.PI/x(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var i=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*i:(t-e.min)*i},getPointPosition:function(t,e){var i=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(i)*e)+this.xCenter,y:Math.round(Math.sin(i)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0>1)-1]||null,o=t[n],!a)return{lo:null,hi:o};if(o[e]i))return{lo:a,hi:o};s=n-1}}return{lo:o,hi:null}}(t,e,i),o=a.lo?a.hi?a.lo:t[t.length-2]:t[0],r=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=r[e]-o[e],l=s?(i-o[e])/s:0,u=(r[n]-o[n])*l;return o[n]+u}function s(t,e){var i=e.parser,n=e.parser||e.format;return"function"==typeof i?i(t):"string"==typeof t&&"string"==typeof n?p(t,n):(t instanceof p||(t=p(t)),t.isValid()?t:"function"==typeof n?n(t):t)}function w(t,e){if(v.isNullOrUndef(t))return null;var i=e.options.time,n=s(e.getRightValue(t),i);return n.isValid()?(i.round&&n.startOf(i.round),n.valueOf()):null}function M(t){for(var e=x.indexOf(t)+1,i=x.length;e=x.indexOf(e);a--)if(o=x[a],b[o].common&&r.as(o)>=t.length)return o;return x[e?x.indexOf(e):0]}(u,s.minUnit,n.min,n.max),n._majorUnit=M(n._unit),n._table=function(t,e,i,n){if("linear"===n||!t.length)return[{time:e,pos:0},{time:i,pos:1}];var a,o,r,s,l,u=[],d=[e];for(a=0,o=t.length;a'),e=0;e'),k[e]&&t.push(k[e]),t.push("");return t.push(""),t.join("")},null!==y&&("polarArea"===r||"radar"===r?(void 0===E.scale.gridLines&&(E.scale.gridLines={},E.scale.angleLines={}),E.scale.gridLines.color=y,E.scale.angleLines.color=y):(void 0===E.scales.yAxes[0].gridLines&&(E.scales.yAxes[0].gridLines={}),void 0===E.scales.xAxes[0].gridLines&&(E.scales.xAxes[0].gridLines={}),E.scales.xAxes[0].gridLines.color=y,E.scales.yAxes[0].gridLines.color=y)),null!==f&&("polarArea"===r||"radar"===r?(void 0===E.scale.ticks&&(E.scale.ticks={}),E.scale.ticks.fontColor=f):(void 0===E.scales.yAxes[0].ticks&&(E.scales.yAxes[0].ticks={}),void 0===E.scales.xAxes[0].ticks&&(E.scales.xAxes[0].ticks={}),E.scales.xAxes[0].ticks.fontColor=f,E.scales.yAxes[0].ticks.fontColor=f)),a=new Chart(i.find("canvas").get(0),{type:r,data:B,options:E}),"off"!==L&&i.find(".fusion-chart-legend-wrap").html(a.generateLegend())}},Z(window).on("load",function(){Z.each(Z(".fusion-chart"),function(){Z(this).fusionChartElement()})}),Z(window).on("fusion-element-render-fusion_chart",function(a,e){Z('div[data-cid="'+e+'"]').find(".fusion-chart").fusionChartElement()})}(jQuery);