1/*! 2 * jQuery JavaScript Library v3.5.1 3 * https://jquery.com/ 4 * 5 * Includes Sizzle.js 6 * https://sizzlejs.com/ 7 * 8 * Copyright JS Foundation and other contributors 9 * Released under the MIT license 10 * https://jquery.org/license 11 * 12 * Date: 2020-05-04T22:49Z 13 */ 14function bindAccorrdionClick(){$(".accordion-plus-icon").unbind("click");$(".accordion-plus-icon").bind("click",accordionItemShow);$(".accordion-plus-icon").prev().unbind("click");$(".accordion-plus-icon").prev().bind("click",accordionItemShowNext)}function accordionItemShow(){var u=$(".aheAccordion .aheAccordionBody").hide(),n=$(".accordion-plus-icon");if($this=$(this),$target=$this.next(),$icon=$this.children(),$prev=$this.prev(),$target.hasClass("active"))$prev.removeClass("text-bold2"),$target.removeClass("active").slideUp(),$icon.attr("src","/images/plus.svg"),$icon.attr("alt","GeniÅlet");else{u.removeClass("active").slideUp();n.children().attr("src","/images/plus.svg");n.children().attr("alt","GeniÅlet");$target.addClass("active").slideDown();$icon.attr("src","/images/minus.svg");$icon.attr("alt","Daralt");n.prev().removeClass("text-bold2");$prev.addClass("text-bold2");var t=$this.attr("data-category"),i=$this.attr("data-question"),r=$this.attr("data-subtitle");typeof t!=typeof undefined&&t!==!1&&typeof i!=typeof undefined&&i!==!1&&typeof r!=typeof undefined&&r!==!1&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"SSS",SSS:{category:t,subcategory:r,question:i}}))}setTimeout(function(){$([document.documentElement,document.body]).animate({scrollTop:$(".aheAccordion .active").first().parent().offset().top-100},500)},500)}function accordionItemShowNext(){var r=$(".aheAccordion .aheAccordionBody").hide(),n=$(".accordion-plus-icon");if($this=$(this).next(),$target=$this.next(),$icon=$this.children(),$prev=$this.prev(),$target.hasClass("active"))$prev.removeClass("text-bold2"),$target.removeClass("active").slideUp(),$icon.attr("src","/images/plus.svg"),$icon.attr("alt","GeniÅlet");else{r.removeClass("active").slideUp();n.children().attr("src","/images/plus.svg");n.children().attr("alt","GeniÅlet");$target.addClass("active").slideDown();$icon.attr("src","/images/minus.svg");$icon.attr("alt","Daralt");n.prev().removeClass("text-bold2");$prev.addClass("text-bold2");var t=$this.attr("data-category"),i=$this.attr("data-question"),u=$this.attr("data-subtitle");typeof t!=typeof undefined&&t!==!1&&typeof i!=typeof undefined&&i!==!1&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"SSS",SSS:{category:t,subcategory:u,question:i}}))}setTimeout(function(){$([document.documentElement,document.body]).animate({scrollTop:$(".aheAccordion .active").first().parent().offset().top-100},500)},500)}function activaTab(n){$('.nav-tabs a[href="#'+n+'"]').tab("show")}function autocomplete(n,t){function u(n){if(!n)return!1;f(n);i>=n.length&&(i=0);i<0&&(i=n.length-1);n[i].classList.add("autocomplete-active")}function f(n){for(var t=0;t<n.length;t++)n[t].classList.remove("autocomplete-active")}function r(t){for(var r=document.getElementsByClassName("autocomplete-items"),i=0;i<r.length;i++)t!=r[i]&&t!=n&&r[i].parentNode.removeChild(r[i])}var i;n.addEventListener("input",function(){var o,f,e,u=this.value,c,s,h,l;if(r(),$("#clear-container").removeClass("d-none"),!u)return $("#clear-container").addClass("d-none"),!1;for(i=-1,o=document.createElement("DIV"),o.setAttribute("id",this.id+"autocomplete-list"),o.setAttribute("class","autocomplete-items"),c=document.getElementById("searchWordContainer"),c.parentNode.insertBefore(o,c.nextSibling),s=0,e=0;e<t.length;e++)if(t[e].toUpperCase().includes(u.toUpperCase())&&(f=document.createElement("DIV"),f.className=s===0?"ahe-padding-top-xs ahe-padding-bottom-xs auto-complete-item hlight":"ahe-padding-top-xs ahe-padding-bottom-xs auto-complete-item",h=t[e].replace(u,"<strong>"+u+"<\/strong>"),l=u.substr(0,1).toUpperCase()+u.substr(1,u.length),h=h.replace(l,"<strong>"+l+"<\/strong>"),f.innerHTML="<div class='autocomplete-item-text'>"+h,f.innerHTML+="<input type='hidden' value='"+t[e]+"'>",f.addEventListener("click",function(){n.value=this.getElementsByTagName("input")[0].value;r();searchWord(this.getElementsByTagName("input")[0].value)}),o.appendChild(f),s++,s>10))break});n.addEventListener("keydown",function(n){var t=document.getElementById(this.id+"autocomplete-list");t&&(t=t.getElementsByTagName("div"));n.keyCode==40?(i+=2,u(t)):n.keyCode==38?(i-=2,u(t)):n.keyCode==13&&(n.preventDefault(),i>-1&&t&&t[i].click())});document.addEventListener("click",function(n){r(n.target)})}function disableTabs(){$(".nav-item").attr("disabled","disabled")}function enableTabs(){$(".nav-item").removeAttr("disabled")}function isNumber(n){n=n?n:window.event;var t=n.which?n.which:n.keyCode;return t>31&&t<48||t>57?!1:!0}function isNumberDecimal(n,t){var i=n.which?n.which:event.keyCode,r=t.value,u=r.indexOf(",")!=-1;return u&&i==44?!1:i==44?!0:i>31&&(i<48||i>57)?!1:!0}function getNumberFromString(n){var t=n.replace(/\./g,"");return t||(t=0),parseFloat(t)}function formatNumberAsMoney(n){return n.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1.")}function clearSearchWord(){$("#searchWord").val("");$("#clear-container").addClass("d-none")}function getAllUrlParams(){var s=window.location.href,u=s?s.split("?")[1]:window.location.search.slice(1),t={},e,f,r,h;if(u)for(u=u.split("#")[0],e=u.split("&"),f=0;f<e.length;f++){var o=e[f].split("="),n=o[0],i=typeof o[1]=="undefined"?!0:o[1];n=n.toLowerCase();typeof i=="string"&&(i=i.toLowerCase());n.match(/\[(\d+)?\]$/)?(r=n.replace(/\[(\d+)?\]/,""),t[r]||(t[r]=[]),n.match(/\[\d+\]$/)?(h=/\[(\d+)\]/.exec(n)[1],t[r][h]=i):t[r].push(i)):t[n]?t[n]&&typeof t[n]=="string"?(t[n]=[t[n]],t[n].push(i)):t[n].push(i):t[n]=i}return t}function onlyAlphabets(n){var t;try{if(window.event)t=window.event.keyCode;else if(n)t=n.which;else return!0;return t>64||t==32||t==45||t==47?!0:!1}catch(i){alert(i.Description)}}var checkTcNum,arrSum;(function(n,t){"use strict";typeof module=="object"&&typeof module.exports=="object"?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)})(typeof window!="undefined"?window:this,function(n,t){"use strict";function yr(n,t,i){i=i||f;var r,e,u=i.createElement("script");
14if(u.text=n,t)for(r in re)e=t[r]||t.getAttribute&&t.getAttribute(r),e&&u.setAttribute(r,e);i.head.appendChild(u).parentNode.removeChild(u)}function rt(n){return n==null?n+"":typeof n=="object"||typeof n=="function"?ti[ar.call(n)]||"object":typeof n}function ai(n){var t=!!n&&"length"in n&&n.length,i=rt(n);return u(n)||it(n)?!1:i==="array"||t===0||typeof t=="number"&&t>0&&t-1 in n}function l(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()}function yi(n,t,r){return u(t)?i.grep(n,function(n,i){return!!t.call(n,i,n)!==r}):t.nodeType?i.grep(n,function(n){return n===t!==r}):typeof t!="string"?i.grep(n,function(n){return ni.call(t,n)>-1!==r}):i.filter(t,n,r)}function iu(n,t){while((n=n[t])&&n.nodeType!==1);return n}function ue(n){var t={};return i.each(n.match(a)||[],function(n,i){t[i]=!0}),t}function ft(n){return n}function ri(n){throw n;}function ru(n,t,i,r){var f;try{n&&u(f=n.promise)?f.call(n).done(t).fail(i):n&&u(f=n.then)?f.call(n,t,i):t.apply(undefined,[n].slice(r))}catch(n){i.apply(undefined,[n])}}function fi(){f.removeEventListener("DOMContentLoaded",fi);n.removeEventListener("load",fi);i.ready()}function oe(n,t){return t.toUpperCase()}function y(n){return n.replace(fe,"ms-").replace(ee,oe)}function pt(){this.expando=i.expando+pt.uid++}function ce(n){return n==="true"?!0:n==="false"?!1:n==="null"?null:n===+n+""?+n:se.test(n)?JSON.parse(n):n}function fu(n,t,i){var r;if(i===undefined&&n.nodeType===1)if(r="data-"+t.replace(he,"-$&").toLowerCase(),i=n.getAttribute(r),typeof i=="string"){try{i=ce(i)}catch(u){}o.set(n,t,i)}else i=undefined;return i}function ou(n,t,r,u){var s,h,c=20,l=u?function(){return u.cur()}:function(){return i.css(n,t,"")},o=l(),e=r&&r[3]||(i.cssNumber[t]?"":"px"),f=n.nodeType&&(i.cssNumber[t]||e!=="px"&&+o)&&wt.exec(i.css(n,t));if(f&&f[3]!==e){for(o=o/2,e=e||f[3],f=+o||1;c--;)i.style(n,t,f+e),(1-h)*(1-(h=l()/o||.5))<=0&&(c=0),f=f/h;f=f*2;i.style(n,t,f+e);r=r||[]}return r&&(f=+f||+o||0,s=r[1]?f+(r[1]+1)*r[2]:+r[2],u&&(u.unit=e,u.start=f,u.end=s)),s}function ae(n){var r,f=n.ownerDocument,u=n.nodeName,t=pi[u];return t?t:(r=f.body.appendChild(f.createElement(u)),t=i.css(r,"display"),r.parentNode.removeChild(r),t==="none"&&(t="block"),pi[u]=t,t)}function st(n,t){for(var e,u,f=[],i=0,o=n.length;i<o;i++)(u=n[i],u.style)&&(e=u.style.display,t?(e==="none"&&(f[i]=r.get(u,"display")||null,f[i]||(u.style.display="")),u.style.display===""&&bt(u)&&(f[i]=ae(u))):e!=="none"&&(f[i]="none",r.set(u,"display",e)));for(i=0;i<o;i++)f[i]!=null&&(n[i].style.display=f[i]);return n}function s(n,t){var r;return(r=typeof n.getElementsByTagName!="undefined"?n.getElementsByTagName(t||"*"):typeof n.querySelectorAll!="undefined"?n.querySelectorAll(t||"*"):[],t===undefined||t&&l(n,t))?i.merge([n],r):r}function wi(n,t){for(var i=0,u=n.length;i<u;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function lu(n,t,r,u,f){for(var e,o,p,a,w,v,h=t.createDocumentFragment(),y=[],l=0,b=n.length;l<b;l++)if(e=n[l],e||e===0)if(rt(e)==="object")i.merge(y,e.nodeType?[e]:e);else if(cu.test(e)){for(o=o||h.appendChild(t.createElement("div")),p=(su.exec(e)||["",""])[1].toLowerCase(),a=c[p]||c._default,o.innerHTML=a[1]+i.htmlPrefilter(e)+a[2],v=a[0];v--;)o=o.lastChild;i.merge(y,o.childNodes);o=h.firstChild;o.textContent=""}else y.push(t.createTextNode(e));for(h.textContent="",l=0;e=y[l++];){if(u&&i.inArray(e,u)>-1){f&&f.push(e);continue}if(w=ot(e),o=s(h.appendChild(e),"script"),w&&wi(o),r)for(v=0;e=o[v++];)hu.test(e.type||"")&&r.push(e)}return h}function ht(){return!0}function ct(){return!1}function pe(n,t){return n===we()==(t==="focus")}function we(){try{return f.activeElement}catch(n){}}function bi(n,t,r,u,f,e){var o,s;if(typeof t=="object"){typeof r!="string"&&(u=u||r,r=undefined);for(s in t)bi(n,s,r,u,t[s],e);return n}if(u==null&&f==null?(f=r,u=r=undefined):f==null&&(typeof r=="string"?(f=u,u=undefined):(f=u,u=r,r=undefined)),f===!1)f=ct;else if(!f)return n;return e===1&&(o=f,f=function(n){return i().off(n),o.apply(this,arguments)},f.guid=o.guid||(o.guid=i.guid++)),n.each(function(){i.event.add(this,t,f,u,r)})}function ei(n,t,u){if(!u){r.get(n,t)===undefined&&i.event.add(n,t,ht);return}r.set(n,t,!1);i.event.add(n,t,{namespace:!1,handler:function(n){var o,e,f=r.get(this,t);if(n.isTrigger&1&&this[t]){if(f.length)(i.event.special[t]||{}).delegateType&&n.stopPropagation();else if(f=k.call(arguments),r.set(this,t,f),o=u(this,t),this[t](),e=r.get(this,t),f!==e||o?r.set(this,t,!1):e={},f!==e)return n.stopImmediatePropagation(),n.preventDefault(),e.value}else f.length&&(r.set(this,t,{value:i.event.trigger(i.extend(f[0],i.Event.prototype),f.slice(1),this)}),n.stopImmediatePropagation())}})}function vu(n,t){return l(n,"table")&&l(t.nodeType!==11?t:t.firstChild,"tr")?i(n).children("tbody")[0]||n:n}function ge(n){return n.type=(n.getAttribute("type")!==null)+"/"+n.type,n}
vendor: 4,136 bytes, line 14
14function no(n){return(n.type||"").slice(0,5)==="true/"?n.type=n.type.slice(5):n.removeAttribute("type"),n}function yu(n,t){var f,s,e,h,c,l,u;if(t.nodeType===1){if(r.hasData(n)&&(h=r.get(n),u=h.events,u)){r.remove(t,"handle events");for(e in u)for(f=0,s=u[e].length;f<s;f++)i.event.add(t,e,u[e][f])}o.hasData(n)&&(c=o.access(n),l=i.extend({},c),o.set(t,l))}}function to(n,t){var i=t.nodeName.toLowerCase();i==="input"&&kt.test(n.type)?t.checked=n.checked:(i==="input"||i==="textarea")&&(t.defaultValue=n.defaultValue)}function lt(n,t,f,o){t=lr(t);var a,b,l,v,h,y,c=0,p=n.length,d=p-1,w=t[0],k=u(w);if(k||p>1&&typeof w=="string"&&!e.checkClone&&ke.test(w))return n.each(function(i){var r=n.eq(i);k&&(t[0]=w.call(this,i,r.html()));lt(r,t,f,o)});if(p&&(a=lu(t,n[0].ownerDocument,!1,n,o),b=a.firstChild,a.childNodes.length===1&&(a=b),b||o)){for(l=i.map(s(a,"script"),ge),v=l.length;c<p;c++)h=a,c!==d&&(h=i.clone(h,!0,!0),v&&i.merge(l,s(h,"script"))),f.call(n[c],h,c);if(v)for(y=l[l.length-1].ownerDocument,i.map(l,no),c=0;c<v;c++)h=l[c],hu.test(h.type||"")&&!r.access(h,"globalEval")&&i.contains(y,h)&&(h.src&&(h.type||"").toLowerCase()!=="module"?i._evalUrl&&!h.noModule&&i._evalUrl(h.src,{nonce:h.nonce||h.getAttribute("nonce")},y):yr(h.textContent.replace(de,""),h,y))}return n}function pu(n,t,r){for(var u,e=t?i.filter(t,n):n,f=0;(u=e[f])!=null;f++)r||u.nodeType!==1||i.cleanData(s(u)),u.parentNode&&(r&&ot(u)&&wi(s(u,"script")),u.parentNode.removeChild(u));return n}function dt(n,t,r){var o,s,h,u,f=n.style;return r=r||oi(n),r&&(u=r.getPropertyValue(t)||r[t],u!==""||ot(n)||(u=i.style(n,t)),!e.pixelBoxStyles()&&ki.test(u)&&io.test(t)&&(o=f.width,s=f.minWidth,h=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=r.width,f.width=o,f.minWidth=s,f.maxWidth=h)),u!==undefined?u+"":u}function bu(n,t){return{get:function(){if(n()){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function ro(n){for(var i=n[0].toUpperCase()+n.slice(1),t=ku.length;t--;)if(n=ku[t]+i,n in du)return n}function di(n){var t=i.cssProps[n]||gu[n];return t?t:n in du?n:gu[n]=ro(n)||n}function rf(n,t,i){var r=wt.exec(t);return r?Math.max(0,r[2]-(i||0))+(r[3]||"px"):t}function gi(n,t,r,u,f,e){var o=t==="width"?1:0,h=0,s=0;if(r===(u?"border":"content"))return 0;for(;o<4;o+=2)r==="margin"&&(s+=i.css(n,r+b[o],!0,f)),u?(r==="content"&&(s-=i.css(n,"padding"+b[o],!0,f)),r!=="margin"&&(s-=i.css(n,"border"+b[o]+"Width",!0,f))):(s+=i.css(n,"padding"+b[o],!0,f),r!=="padding"?s+=i.css(n,"border"+b[o]+"Width",!0,f):h+=i.css(n,"border"+b[o]+"Width",!0,f));return!u&&e>=0&&(s+=Math.max(0,Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-e-s-h-.5))||0),s}function uf(n,t,r){var f=oi(n),c=!e.boxSizingReliable()||r,o=c&&i.css(n,"boxSizing",!1,f)==="border-box",s=o,u=dt(n,t,f),h="offset"+t[0].toUpperCase()+t.slice(1);if(ki.test(u)){if(!r)return u;u="auto"}return(!e.boxSizingReliable()&&o||!e.reliableTrDimensions()&&l(n,"tr")||u==="auto"||!parseFloat(u)&&i.css(n,"display",!1,f)==="inline")&&n.getClientRects().length&&(o=i.css(n,"boxSizing",!1,f)==="border-box",s=h in n,s&&(u=n[h])),u=parseFloat(u)||0,u+gi(n,t,r||(o?"border":"content"),s,f,u)+"px"}function h(n,t,i,r,u){return new h.prototype.init(n,t,i,r,u)}function nr(){si&&(f.hidden===!1&&n.requestAnimationFrame?n.requestAnimationFrame(nr):n.setTimeout(nr,i.fx.interval),i.fx.tick())}function of(){return n.setTimeout(function(){at=undefined}),at=Date.now()}function hi(n,t){var r,u=0,i={height:n};for(t=t?1:0;u<4;u+=2-t)r=b[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function sf(n,t,i){for(var u,f=(v.tweeners[t]||[]).concat(v.tweeners["*"]),r=0,e=f.length;r<e;r++)if(u=f[r].call(i,t,n))return u}function eo(n,t,u){var f,y,w,c,b,s,o,l,k="width"in t||"height"in t,v=this,p={},h=n.style,a=n.nodeType&&bt(n),e=r.get(n,"fxshow");u.queue||(c=i._queueHooks(n,"fx"),c.unqueued==null&&(c.unqueued=0,b=c.empty.fire,c.empty.fire=function(){c.unqueued||b()}),c.unqueued++,v.always(function(){v.always(function(){c.unqueued--;i.queue(n,"fx").length||c.empty.fire()})}));for(f in t)if(y=t[f],ff.test(y)){if(delete t[f],w=w||y==="toggle",y===(a?"hide":"show"))if(y==="show"&&e&&e[f]!==un
14defined)a=!0;else continue;p[f]=e&&e[f]||i.style(n,f)}if(s=!i.isEmptyObject(t),s||!i.isEmptyObject(p)){k&&n.nodeType===1&&(u.overflow=[h.overflow,h.overflowX,h.overflowY],o=e&&e.display,o==null&&(o=r.get(n,"display")),l=i.css(n,"display"),l==="none"&&(o?l=o:(st([n],!0),o=n.style.display||o,l=i.css(n,"display"),st([n]))),(l==="inline"||l==="inline-block"&&o!=null)&&i.css(n,"float")==="none"&&(s||(v.done(function(){h.display=o}),o==null&&(l=h.display,o=l==="none"?"":l)),h.display="inline-block"));u.overflow&&(h.overflow="hidden",v.always(function(){h.overflow=u.overflow[0];h.overflowX=u.overflow[1];h.overflowY=u.overflow[2]}));s=!1;for(f in p)s||(e?"hidden"in e&&(a=e.hidden):e=r.access(n,"fxshow",{display:o}),w&&(e.hidden=!a),a&&st([n],!0),v.done(function(){a||st([n]);r.remove(n,"fxshow");for(f in p)i.style(n,f,p[f])})),s=sf(a?e[f]:0,f,v),f in e||(e[f]=s.start,a&&(s.end=s.start,s.start=0))}}function oo(n,t){var r,f,e,u,o;for(r in n)if(f=y(r),e=t[f],u=n[r],Array.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function v(n,t,r){var o,s,h=0,a=v.prefilters.length,e=i.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var o=at||of(),t=Math.max(0,f.startTime+f.duration-o),h=t/f.duration||0,i=1-h,r=0,u=f.tweens.length;r<u;r++)f.tweens[r].run(i);return(e.notifyWith(n,[f,i,t]),i<1&&u)?t:(u||e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f]),!1)},f=e.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{},easing:i.easing._default},r),originalProperties:t,originalOptions:r,startTime:at||of(),duration:r.duration,tweens:[],createTween:function(t,r){var u=i.Tween(n,f.opts,t,r,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(u),u},stop:function(t){var i=0,r=t?f.tweens.length:0;if(s)return this;for(s=!0;i<r;i++)f.tweens[i].run(1);return t?(e.notifyWith(n,[f,1,0]),e.resolveWith(n,[f,t])):e.rejectWith(n,[f,t]),this}}),c=f.props;for(oo(c,f.opts.specialEasing);h<a;h++)if(o=v.prefilters[h].call(f,n,c,f.opts),o)return u(o.stop)&&(i._queueHooks(f.elem,f.opts.queue).stop=o.stop.bind(o)),o;return i.map(c,sf,f),u(f.opts.start)&&f.opts.start.call(n,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),i.fx.timer(i.extend(l,{elem:n,anim:f,queue:f.opts.queue})),f}function nt(n){var t=n.match(a)||[];return t.join(" ")}function tt(n){return n.getAttribute&&n.getAttribute("class")||""}function tr(n){return Array.isArray(n)?n:typeof n=="string"?n.match(a)||[]:[]}function fr(n,t,r,u){var f;if(Array.isArray(t))i.each(t,function(t,i){r||so.test(n)?u(n,i):fr(n+"["+(typeof i=="object"&&i!=null?t:"")+"]",i,r,u)});else if(r||rt(t)!=="object")u(n,t);else for(f in t)fr(n+"["+f+"]",t[f],r,u)}function bf(n){return function(t,i){typeof t!="string"&&(i=t,t="*");var r,f=0,e=t.toLowerCase().match(a)||[];if(u(i))while(r=e[f++])r[0]==="+"?(r=r.slice(1)||"*",(n[r]=n[r]||[]).unshift(i)):(n[r]=n[r]||[]).push(i)}}function kf(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);if(typeof s!="string"||o||f[s]){if(o)return!(h=s)}else return t.dataTypes.unshift(s),e(s),!1}),h}var f={},o=n===er;return e(t.dataTypes[0])||!f["*"]&&e("*")}function sr(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)t[r]!==undefined&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function bo(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;r[0]==="*";)r.shift(),e===undefined&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return f!==r[0]&&r.unshift(f),i[f]}function ko(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift(),u)if(u==="*")u=e;else if(e!=="*"&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]],f)){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}var p=[],cr=Object.getPrototypeOf,k=p.slice,lr=p.flat?function(n){return p.flat.call(n)}:function(n){return p.concat.apply([],n)},li=p.push,ni=p.indexOf,ti={},ar=ti.toString,ii=ti.hasOwnProperty,vr=ii.toString,ie=vr.call(Object),e={},u=function(n){return typeof n=="function"&&typeof n.nodeType!="number"},it=function(n){return n!=null&&n===n.window},f=n.document,re={type:!0,src:!0,nonce:!0,noModule:!0}
vendor: 7,272 bytes, line 14
14,pr="3.5.1",i=function(n,t){return new i.fn.init(n,t)},d,vi,kr,dr,gr,nu,tu,a,uu,ui,et,bt,pi,c,cu,at,si,ff,ef,hf,vt,cf,lf,af,ir,rr,df,yt,hr,ci,gf,ne,te;i.fn=i.prototype={jquery:pr,constructor:i,length:0,toArray:function(){return k.call(this)},get:function(n){return n==null?k.call(this):n<0?this[n+this.length]:this[n]},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t},each:function(n){return i.each(this,n)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(k.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(i.grep(this,function(n,t){return(t+1)%2}))},odd:function(){return this.pushStack(i.grep(this,function(n,t){return t%2}))},eq:function(n){var i=this.length,t=+n+(n<0?i:0);return this.pushStack(t>=0&&t<i?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:li,sort:p.sort,splice:p.splice};i.extend=i.fn.extend=function(){var s,f,e,t,o,c,n=arguments[0]||{},r=1,l=arguments.length,h=!1;for(typeof n=="boolean"&&(h=n,n=arguments[r]||{},r++),typeof n=="object"||u(n)||(n={}),r===l&&(n=this,r--);r<l;r++)if((s=arguments[r])!=null)for(f in s)(t=s[f],f!=="__proto__"&&n!==t)&&(h&&t&&(i.isPlainObject(t)||(o=Array.isArray(t)))?(e=n[f],c=o&&!Array.isArray(e)?[]:o||i.isPlainObject(e)?e:{},o=!1,n[f]=i.extend(h,c,t)):t!==undefined&&(n[f]=t));return n};i.extend({expando:"jQuery"+(pr+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isPlainObject:function(n){var t,i;return!n||ar.call(n)!=="[object Object]"?!1:(t=cr(n),!t)?!0:(i=ii.call(t,"constructor")&&t.constructor,typeof i=="function"&&vr.call(i)===ie)},isEmptyObject:function(n){for(var t in n)return!1;return!0},globalEval:function(n,t,i){yr(n,{nonce:t&&t.nonce},i)},each:function(n,t){var r,i=0;if(ai(n)){for(r=n.length;i<r;i++)if(t.call(n[i],i,n[i])===!1)break}else for(i in n)if(t.call(n[i],i,n[i])===!1)break;return n},makeArray:function(n,t){var r=t||[];return n!=null&&(ai(Object(n))?i.merge(r,typeof n=="string"?[n]:n):li.call(r,n)),r},inArray:function(n,t,i){return t==null?-1:ni.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;i<u;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;r<e;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var e,u,r=0,f=[];if(ai(n))for(e=n.length;r<e;r++)u=t(n[r],r,i),u!=null&&f.push(u);else for(r in n)u=t(n[r],r,i),u!=null&&f.push(u);return lr(f)},guid:1,support:e});typeof Symbol=="function"&&(i.fn[Symbol.iterator]=p[Symbol.iterator]);i.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(n,t){ti["[object "+t+"]"]=t.toLowerCase()});d=function(n){function u(n,t,r,u){var s,p,c,l,w,y,d,v=t&&t.ownerDocument,a=t?t.nodeType:9;if(r=r||[],typeof n!="string"||!n||a!==1&&a!==9&&a!==11)return r;if(!u&&(b(t),t=t||i,h)){if(a!==11&&(w=ar.exec(n)))if(s=w[1]){if(a===9)if(c=t.getElementById(s)){if(c.id===s)return r.push(c),r}else return r;else if(v&&(c=v.getElementById(s))&&et(t,c)&&c.id===s)return r.push(c),r}else{if(w[2])return k.apply(r,t.getElementsByTagName(n)),r;if((s=w[3])&&f.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(s)),r}if(f.qsa&&!lt[n+" "]&&(!o||!o.test(n))&&(a!==1||t.nodeName.toLowerCase()!=="object")){if(d=n,v=t,a===1&&(er.test(n)||yi.test(n))){for(v=ti.test(n)&&ri(t.parentNode)||t,v===t&&f.scope||((l=t.getAttribute("id"))?l=l.replace(pi,wi):t.setAttribute("id",l=e)),y=ft(n),p=y.length;p--;)y[p]=(l?"#"+l:":scope")+" "+pt(y[p]);d=y.join(",")}try{return k.apply(r,v.querySelectorAll(d)),r}catch(g){lt(n,!0)}finally{l===e&&t.removeAttribute("id")}}}return si(n.replace(at,"$1"),t,r,u)}function yt(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function l(n){return n[e]=!0,n}function a(n){var t=i.createElement("fieldset");try{return!!n(t)}catch(r){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ii(n,i){for(var r=n.split("|"),u=r.length;u--;)t.attrHandle[r[u]]=i}function ki(n,t){var i=t&&n,r=i&&n.nodeType===1&&t.nodeType===1&&n.sourceIndex-t.sourceIndex;if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function yr(n){return function(t){var i=t.nodeName.toLowerCase();return i==="input"&&t.type===n}}function pr(n){return function(t){var i=t.nodeName.toLowerCase();return(i==="input"||i==="button")&&t.type===n}}function di(n){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===n:t.disabled===n:t.isDisabled===n||t.isDisabled!==!n&&vr(t)===n:t.disabled===n:"label"in t?t.disabled===n:!1}}function it(n){return l(function(t){return t=+t,l(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ri(n){return n&&typeof n.getElementsByTagName!="undefined"&&n}function gi(){}function pt(n){for(var t=0,r=n.length,i="";t<r;t++)i+=n[t].value;return i}function wt(n,t,i){var r=t.dir,u=t.next,f=u||r,o=i&&f==="parentNode",s=nr++;return t.first?function(t,i,u){while(t=t[r])if(t.nodeType===1||o)return n(t,i,u);return!1}:function(t,i,h){var c,l,a,y=[v,s];if(h){while(t=t[r])if((t.nodeType===1||o)&&n(t,i,h))return!0}else while(t=t[r])if(t.nodeType===1||o)if(a=t[e]||(t[e]={}),l=a[t.uniqueID]||(a[t.uniqueID]={}),u&&u===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[f])&&c[0]===v&&c[1]===s)return y[2]=c[2];if(l[f]=y,y[2]=n(t,i,h))return!0}return!1}}function ui(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function wr(n,t,i){for(var r=0,f=t.length;r<f;r++)u(n,t[r],i);return i}function bt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=t!=null;f<s;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function fi(n,t,i,r,u,f){return r&&!r[e]&&(r=fi(r)),u&&!u[e]&&(u=fi(u,f)),l(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,b=f||wr(t||"*",o.nodeType?[o]:o,[]),v=n&&(f||!t)?bt(b,p,n,o,s):b,h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=bt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=bt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):k.apply(e,h)})}function ei(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=wt(function(n){return n===o},c,!0),a=wt(function(n){return nt(o,n)>-1},c,!0),f=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];i<s;i++)if(u=t.relative[n[i].type])f=[wt(ui(f),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[e]){for(r=++i;r<s;r++)if(t.relative[n[r].type])break;return fi(i>1&&ui(f),i>1&&pt(n.slice(0,i-1).concat({value:n[i-2].type===" "?"*":""})).replace(at,"$1"),u,i<r&&ei(n.slice(i,r)),r<s&&ei(n=n.slice(r)),r<s&&pt(n))}f.push(u)}return ui(f)}function br(n,r){var f=r.length>0,e=n.length>0,o=function(o,s,c,l,a){var y,nt,d,g=0,p="0",tt=o&&[],w=[],it=ht,rt=o||e&&t.find.TAG("*",a),ut=v+=it==null?1:Math.random()||.1,ft
14=rt.length;for(a&&(ht=s==i||s||a);p!==ft&&(y=rt[p])!=null;p++){if(e&&y){for(nt=0,s||y.ownerDocument==i||(b(y),c=!h);d=n[nt++];)if(d(y,s||i,c)){l.push(y);break}a&&(v=ut)}f&&((y=!d&&y)&&g--,o&&tt.push(y))}if(g+=p,f&&p!==g){for(nt=0;d=r[nt++];)d(tt,w,s,c);if(o){if(g>0)while(p--)tt[p]||w[p]||(w[p]=ir.call(l));w=bt(w)}k.apply(l,w);a&&!o&&w.length>0&&g+r.length>1&&u.uniqueSort(l)}return a&&(v=ut,ht=it),tt};return f?l(o):o}var rt,f,t,st,oi,ft,kt,si,ht,w,ut,b,i,s,h,o,d,ct,et,e="sizzle"+1*new Date,c=n.document,v=0,nr=0,hi=yt(),ci=yt(),li=yt(),lt=yt(),dt=function(n,t){return n===t&&(ut=!0),0},tr={}.hasOwnProperty,g=[],ir=g.pop,rr=g.push,k=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1},gt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",vi="\\["+r+"*("+tt+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+r+"*\\]",ni=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+vi+")*)|.*)\\)|)",ur=new RegExp(r+"+","g"),at=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),fr=new RegExp("^"+r+"*,"+r+"*"),yi=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),er=new RegExp(r+"|>"),or=new RegExp(ni),sr=new RegExp("^"+tt+"$"),vt={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+vi),PSEUDO:new RegExp("^"+ni),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+gt+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},hr=/HTML$/i,cr=/^(?:input|select|textarea|button)$/i,lr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,ar=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ti=/[+~]/,y=new RegExp("\\\\[\\da-fA-F]{1,6}"+r+"?|\\\\([^\\r\\n\\f])","g"),p=function(n,t){var i="0x"+n.slice(1)-65536;return t?t:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,i&1023|56320)},pi=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wi=function(n,t){return t?n==="\0"?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n},bi=function(){b()},vr=wt(function(n){return n.disabled===!0&&n.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{k.apply(g=ai.call(c.childNodes),c.childNodes);g[c.childNodes.length].nodeType}catch(kr){k={apply:g.length?function(n,t){rr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}f=u.support={};oi=u.isXML=function(n){var i=n.namespaceURI,t=(n.ownerDocument||n).documentElement;return!hr.test(i||t&&t.nodeName||"HTML")};b=u.setDocument=function(n){var v,u,l=n?n.ownerDocument||n:c;return l==i||l.nodeType!==9||!l.documentElement?i:(i=l,s=i.documentElement,h=!oi(i),c!=i&&(u=i.defaultView)&&u.top!==u&&(u.addEventListener?u.addEventListener("unload",bi,!1):u.attachEvent&&u.attachEvent("onunload",bi)),f.scope=a(function(n){return s.appendChild(n).appendChild(i.createElement("div")),typeof n.querySelectorAll!="undefined"&&!n.querySelectorAll(":scope fieldset div").length}),f.attributes=a(function(n){return n.className="i",!n.getAttribute("className")}),f.getElementsByTagName=a(function(n){return n.appendChild(i.createComment("")),!n.getElementsByTagName("*").length}),f.getElementsByClassName=ot.test(i.getElementsByClassName),f.getById=a(function(n){return s.appendChild(n).id=e,!i.getElementsByName||!i.getElementsByName(e).length}),f.getById?(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i=t.getElementById(n);return i?[i]:[]}}):(t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i=typeof n.getAttributeNode!="undefined"&&n.getAttributeNode("id");return i&&i.value===t}},t.find.ID=function(n,t){if(typeof t.getElementById!="undefined"&&h){var i,u,f,r=t.getElementById(n);if(r){if(i=r.getAttributeNode("id"),i&&i.value===n)return[r];for(f=t.getElementsByName(n),u=0;r=f[u++];)if(i=r.getAttributeNode("id"),i&&i.value===n)return[r]}return[]}}),t.find.TAG=f.getElementsByTagName?function(n,t){return typeof t.getElementsByTagName!="undefined"?t.getElementsByTagName(n):f.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if(n==="*"){while(i=u[f++])i.nodeType===1&&r.push(i);return r}return u},t.find.CLASS=f.getElementsByClassName&&function(n,t){if(typeof t.getElementsByClassName!="undefined"&&h)return t.getElementsByClassName(n)},d=[],o=[],(f.qsa=ot.test(i.querySelectorAll))&&(a(function(n){var t;s.appendChild(n).innerHTML="<a id='"+e+"'><\/a><select id='"+e+"-\r\\' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&o.push("[*^$]="+r+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||o.push("\\["+r+"*(?:value|"+gt+")");n.querySelectorAll("[id~="+e+"-]").length||o.push("~=");t=i.createElement("input");t.setAttribute("name","");n.appendChild(t);n.querySelectorAll("[name='']").length||o.push("\\["+r+"*name"+r+"*="+r+"*(?:''|\"\")");n.querySelectorAll(":checked").length||o.push(":checked");n.querySelectorAll("a#"+e+"+*").length||o.push(".#.+[+~]");n.querySelectorAll("\\\f");o.push("[\\r\\n\\f]")}),a(function(n){n.innerHTML="<a href='' disabled='disabled'><\/a><select disabled='disabled'><option/><\/select>";var t=i.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&o.push("name"+r+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length!==2&&o.push(":enabled",":disabled");s.appendChild(n).disabled=!0;n.querySelectorAll(":disabled").length!==2&&o.push(":enabled",":disabled");n.querySelectorAll("*,:x");o.push(",.*:")})),(f.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&a(function(n){f.disconnectedMatch=ct.call(n,"*");ct.call(n,"[s!='']:x");d.push("!=",ni)}),o=o.length&&new RegExp(o.join("|")),d=d.length&&new RegExp(d.join("|")),v=ot.test(s.compareDocumentPosition),et=v||ot.test(s.contains)?function(n,t){var r=n.nodeType===9?n.documentElement:n,i=t&&t.parentNode;return n===i||!!(i&&i.nodeType===1&&(r.contains?r.contains(i):n.compareDocumentPosition&&n.c
14ompareDocumentPosition(i)&16))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},dt=v?function(n,t){if(n===t)return ut=!0,0;var r=!n.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(n.ownerDocument||n)==(t.ownerDocument||t)?n.compareDocumentPosition(t):1,r&1||!f.sortDetached&&t.compareDocumentPosition(n)===r)?n==i||n.ownerDocument==c&&et(c,n)?-1:t==i||t.ownerDocument==c&&et(c,t)?1:w?nt(w,n)-nt(w,t):0:r&4?-1:1}:function(n,t){if(n===t)return ut=!0,0;var r,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(o&&s){if(o===s)return ki(n,t)}else return n==i?-1:t==i?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;for(r=n;r=r.parentNode;)f.unshift(r);for(r=t;r=r.parentNode;)e.unshift(r);while(f[u]===e[u])u++;return u?ki(f[u],e[u]):f[u]==c?-1:e[u]==c?1:0},i)};u.matches=function(n,t){return u(n,null,null,t)};u.matchesSelector=function(n,t){if(b(n),f.matchesSelector&&h&&!lt[t+" "]&&(!d||!d.test(t))&&(!o||!o.test(t)))try{var r=ct.call(n,t);if(r||f.disconnectedMatch||n.document&&n.document.nodeType!==11)return r}catch(e){lt(t,!0)}return u(t,i,null,[n]).length>0};u.contains=function(n,t){return(n.ownerDocument||n)!=i&&b(n),et(n,t)};u.attr=function(n,r){(n.ownerDocument||n)!=i&&b(n);var e=t.attrHandle[r.toLowerCase()],u=e&&tr.call(t.attrHandle,r.toLowerCase())?e(n,r,!h):undefined;return u!==undefined?u:f.attributes||!h?n.getAttribute(r):(u=n.getAttributeNode(r))&&u.specified?u.value:null};u.escape=function(n){return(n+"").replace(pi,wi)};u.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};u.uniqueSort=function(n){var r,u=[],t=0,i=0;if(ut=!f.detectDuplicates,w=!f.sortStable&&n.slice(0),n.sort(dt),ut){while(r=n[i++])r===n[i]&&(t=u.push(i));while(t--)n.splice(u[t],1)}return w=null,n};st=u.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(t===1||t===9||t===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(t===3||t===4)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=u.selectors={cacheLength:50,createPseudo:l,match:vt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),n[2]==="~="&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),n[1].slice(0,3)==="nth"?(n[3]||u.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*(n[3]==="even"||n[3]==="odd")),n[5]=+(n[7]+n[8]||n[3]==="odd")):n[3]&&u.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return vt.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&or.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return n==="*"?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=hi[n+" "];return t||(t=new RegExp("(^|"+r+")"+n+"("+r+"|$)"))&&hi(n,function(n){return t.test(typeof n.className=="string"&&n.className||typeof n.getAttribute!="undefined"&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(r){var f=u.attr(r,n);return f==null?t==="!=":t?(f+="",t==="="?f===i:t==="!="?f!==i:t==="^="?i&&f.indexOf(i)===0:t==="*="?i&&f.indexOf(i)>-1:t==="$="?i&&f.slice(-i.length)===i:t==="~="?(" "+f.replace(ur," ")+" ").indexOf(i)>-1:t==="|="?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s=n.slice(0,3)!=="nth",o=n.slice(-4)!=="last",f=t==="of-type";return r===1&&u===0?function(n){return!!n.parentNode}:function(t,i,h){var p,w,y,c,a,b,k=s!==o?"nextSibling":"previousSibling",d=t.parentNode,nt=f&&t.nodeName.toLowerCase(),g=!h&&!f,l=!1;if(d){if(s){while(k){for(c=t;c=c[k];)if(f?c.nodeName.toLowerCase()===nt:c.nodeType===1)return!1;b=k=n==="only"&&!b&&"nextSibling"}return!0}if(b=[o?d.firstChild:d.lastChild],o&&g){for(c=d,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),p=w[n]||[],a=p[0]===v&&p[1],l=a&&p[2],c=a&&d.childNodes[a];c=++a&&c&&c[k]||(l=a=0)||b.pop();)if(c.nodeType===1&&++l&&c===t){w[n]=[v,a,l];break}}else if(g&&(c=t,y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}
vendor: 5,647 bytes, line 14
14),p=w[n]||[],a=p[0]===v&&p[1],l=a),l===!1)while(c=++a&&c&&c[k]||(l=a=0)||b.pop())if((f?c.nodeName.toLowerCase()===nt:c.nodeType===1)&&++l&&(g&&(y=c[e]||(c[e]={}),w=y[c.uniqueID]||(y[c.uniqueID]={}),w[n]=[v,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var f,r=t.pseudos[n]||t.setFilters[n.toLowerCase()]||u.error("unsupported pseudo: "+n);return r[e]?r(i):r.length>1?(f=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?l(function(n,t){for(var u,f=r(n,i),e=f.length;e--;)u=nt(n,f[e]),n[u]=!(t[u]=f[e])}):function(n){return r(n,0,f)}):r}},pseudos:{not:l(function(n){var t=[],r=[],i=kt(n.replace(at,"$1"));return i[e]?l(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:l(function(n){return function(t){return u(n,t).length>0}}),contains:l(function(n){return n=n.replace(y,p),function(t){return(t.textContent||st(t)).indexOf(n)>-1}}),lang:l(function(n){return sr.test(n||"")||u.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||i.indexOf(n+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===i.activeElement&&(!i.hasFocus||i.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:di(!1),disabled:di(!0),checked:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&!!n.checked||t==="option"&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return lr.test(n.nodeName)},input:function(n){return cr.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return t==="input"&&n.type==="button"||t==="button"},text:function(n){var t;return n.nodeName.toLowerCase()==="input"&&n.type==="text"&&((t=n.getAttribute("type"))==null||t.toLowerCase()==="text")},first:it(function(){return[0]}),last:it(function(n,t){return[t-1]}),eq:it(function(n,t,i){return[i<0?i+t:i]}),even:it(function(n,t){for(var i=0;i<t;i+=2)n.push(i);return n}),odd:it(function(n,t){for(var i=1;i<t;i+=2)n.push(i);return n}),lt:it(function(n,t,i){for(var r=i<0?i+t:i>t?t:i;--r>=0;)n.push(r);return n}),gt:it(function(n,t,i){for(var r=i<0?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(rt in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[rt]=yr(rt);for(rt in{submit:!0,reset:!0})t.pseudos[rt]=pr(rt);return gi.prototype=t.filters=t.pseudos,t.setFilters=new gi,ft=u.tokenize=function(n,i){var e,f,s,o,r,h,c,l=ci[n+" "];if(l)return i?0:l.slice(0);for(r=n,h=[],c=t.preFilter;r;){(!e||(f=fr.exec(r)))&&(f&&(r=r.slice(f[0].length)||r),h.push(s=[]));e=!1;(f=yi.exec(r))&&(e=f.shift(),s.push({value:e,type:f[0].replace(at," ")}),r=r.slice(e.length));for(o in t.filter)(f=vt[o].exec(r))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),r=r.slice(e.length));if(!e)break}return i?r.length:r?u.error(n):ci(n,h).slice(0)},kt=u.compile=function(n,t){var r,u=[],f=[],i=li[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=ei(t[r]),i[e]?u.push(i):f.push(i);i=li(n,br(f,u));i.selector=n}return i},si=u.select=function(n,i,r,u){var o,f,e,l,a,c=typeof n=="function"&&n,s=!u&&ft(n=c.selector||n);if(r=r||[],s.length===1){if(f=s[0]=s[0].slice(0),f.length>2&&(e=f[0]).type==="ID"&&i.nodeType===9&&h&&t.relative[f[1].type]){if(i=(t.find.ID(e.matches[0].replace(y,p),i)||[])[0],i)c&&(i=i.parentNode);else return r;n=n.slice(f.shift().value.length)}for(o=vt.needsContext.test(n)?0:f.length;o--;){if(e=f[o],t.relative[l=e.type])break;if((a=t.find[l])&&(u=a(e.matches[0].replace(y,p),ti.test(f[0].type)&&ri(i.parentNode)||i))){if(f.splice(o,1),n=u.length&&pt(f),!n)return k.apply(r,u),r;break}}}return(c||kt(n,s))(u,i,!h,r,!i||ti.test(n)&&ri(i.parentNode)||i),r},f.sortStable=e.split("").sort(dt).join("")===e,f.detectDuplicates=!!ut,b(),f.sortDetached=a(function(n){return n.compareDocumentPosition(i.createElement("fieldset"))&1}),a(function(n){return n.innerHTML="<a href='#'><\/a>",n.firstChild.getAttribute("href")==="#"})||ii("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,t.toLowerCase()==="type"?1:2)}),f.attributes&&a(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),n.firstChild.getAttribute("value")===""})||ii("value",function(n,t,i){if(!i&&n.nodeName.toLowerCase()==="input")return n.defaultValue}),a(function(n){return n.getAttribute("disabled")==null})||ii(gt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),u}(n);i.find=d;i.expr=d.selectors;i.expr[":"]=i.expr.pseudos;i.uniqueSort=i.unique=d.uniqueSort;i.text=d.getText;i.isXMLDoc=d.isXML;i.contains=d.contains;i.escapeSelector=d.escape;var ut=function(n,t,r){for(var u=[],f=r!==undefined;(n=n[t])&&n.nodeType!==9;)if(n.nodeType===1){if(f&&i(n).is(r))break;u.push(n)}return u},wr=function(n,t){for(var i=[];n;n=n.nextSibling)n.nodeType===1&&n!==t&&i.push(n);return i},br=i.expr.match.needsContext;vi=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;i.filter=function(n,t,r){var u=t[0];return(r&&(n=":not("+n+")"),t.length===1&&u.nodeType===1)?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return n.nodeType===1}))};i.fn.extend({find:function(n){var t,r,u=this.length,f=this;
14if(typeof n!="string")return this.pushStack(i(n).filter(function(){for(t=0;t<u;t++)if(i.contains(f[t],this))return!0}));for(r=this.pushStack([]),t=0;t<u;t++)i.find(n,f[t],r);return u>1?i.uniqueSort(r):r},filter:function(n){return this.pushStack(yi(this,n||[],!1))},not:function(n){return this.pushStack(yi(this,n||[],!0))},is:function(n){return!!yi(this,typeof n=="string"&&br.test(n)?i(n):n||[],!1).length}});dr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;gr=i.fn.init=function(n,t,r){var e,o;if(!n)return this;if(r=r||kr,typeof n=="string"){if(e=n[0]==="<"&&n[n.length-1]===">"&&n.length>=3?[null,n,null]:dr.exec(n),e&&(e[1]||!t)){if(e[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(e[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),vi.test(e[1])&&i.isPlainObject(t))for(e in t)u(this[e])?this[e](t[e]):this.attr(e,t[e]);return this}return o=f.getElementById(e[2]),o&&(this[0]=o,this.length=1),this}return!t||t.jquery?(t||r).find(n):this.constructor(t).find(n)}return n.nodeType?(this[0]=n,this.length=1,this):u(n)?r.ready!==undefined?r.ready(n):n(i):i.makeArray(n,this)};gr.prototype=i.fn;kr=i(f);nu=/^(?:parents|prev(?:Until|All))/;tu={children:!0,contents:!0,next:!0,prev:!0};i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;n<r;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){var r,f=0,o=this.length,u=[],e=typeof n!="string"&&i(n);if(!br.test(n))for(;f<o;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:r.nodeType===1&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.uniqueSort(u):u)},index:function(n){return n?typeof n=="string"?ni.call(i(n),this[0]):ni.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.uniqueSort(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(n==null?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&t.nodeType!==11?t:null},parents:function(n){return ut(n,"parentNode")},parentsUntil:function(n,t,i){return ut(n,"parentNode",i)},next:function(n){return iu(n,"nextSibling")},prev:function(n){return iu(n,"previousSibling")},nextAll:function(n){return ut(n,"nextSibling")},prevAll:function(n){return ut(n,"previousSibling")},nextUntil:function(n,t,i){return ut(n,"nextSibling",i)},prevUntil:function(n,t,i){return ut(n,"previousSibling",i)},siblings:function(n){return wr((n.parentNode||{}).firstChild,n)},children:function(n){return wr(n.firstChild)},contents:function(n){return n.contentDocument!=null&&cr(n.contentDocument)?n.contentDocument:(l(n,"template")&&(n=n.content||n),i.merge([],n.childNodes))}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return n.slice(-5)!=="Until"&&(u=r),u&&typeof u=="string"&&(f=i.filter(u,f)),this.length>1&&(tu[n]||i.uniqueSort(f),nu.test(n)&&f.reverse()),this.pushStack(f)}});a=/[^\x20\t\r\n\f]+/g;i.Callbacks=function(n){n=typeof n=="string"?ue(n):i.extend({},n);var o,r,c,f,t=[],s=[],e=-1,l=function(){for(f=f||n.once,c=o=!0;s.length;e=-1)for(r=s.shift();++e<t.length;)t[e].apply(r[0],r[1])===!1&&n.stopOnFalse&&(e=t.length,r=!1);n.memory||(r=!1);o=!1;f&&(t=r?[]:"")},h={add:function(){return t&&(r&&!o&&(e=t.length-1,s.push(r)),function f(r){i.each(r,function(i,r){u(r)?n.unique&&h.has(r)||t.push(r):r&&r.length&&rt(r)!=="string"&&f(r)})}(arguments),r&&!o&&l()),this},remove:function(){return i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),u<=e&&e--}),this},has:function(n){return n?i.inArray(n,t)>-1:t.length>0},empty:function(){return t&&(t=[]),this},disable:function(){return f=s=[],t=r="",this},disabled:function(){return!t},lock:function(){return f=s=[],r||o||(t=r=""),this},locked:function(){return!!f},fireWith:function(n,t){return f||(t=t||[],t=[n,t.slice?t.slice():t],s.push(t),o||l()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!c}};return h};i.extend({Deferred:function(t){var f=[["notify","progress",i.Callbacks("memory"),i.Callbacks("memory"),2],["resolve","done",i.Callbacks("once memory"),i.Callbacks("once memory"),0,"resolved"],["reject","fail",i.Callbacks("once memory"),i.Callbacks("once memory"),1,"rejected"]],o="pending",e={state:function(){return o},always:function(){return r.done(arguments).fail(arguments),this},"catch":function(n){return e.then(null,n)},pipe:function(){var n=arguments;return i.Deferred(function(t){i.each(f,function(i,f){var e=u(n[f[4]]
14)&&n[f[4]];r[f[1]](function(){var n=e&&e.apply(this,arguments);n&&u(n.promise)?n.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[f[0]+"With"](this,e?[n]:arguments)})});n=null}).promise()},then:function(t,r,e){function s(t,r,f,e){return function(){var h=this,c=arguments,a=function(){var n,i;if(!(t<o)){if(n=f.apply(h,c),n===r.promise())throw new TypeError("Thenable self-resolution");i=n&&(typeof n=="object"||typeof n=="function")&&n.then;u(i)?e?i.call(n,s(o,r,ft,e),s(o,r,ri,e)):(o++,i.call(n,s(o,r,ft,e),s(o,r,ri,e),s(o,r,ft,r.notifyWith))):(f!==ft&&(h=undefined,c=[n]),(e||r.resolveWith)(h,c))}},l=e?a:function(){try{a()}catch(n){i.Deferred.exceptionHook&&i.Deferred.exceptionHook(n,l.stackTrace);t+1>=o&&(f!==ri&&(h=undefined,c=[n]),r.rejectWith(h,c))}};t?l():(i.Deferred.getStackHook&&(l.stackTrace=i.Deferred.getStackHook()),n.setTimeout(l))}}var o=0;return i.Deferred(function(n){f[0][3].add(s(0,n,u(e)?e:ft,n.notifyWith));f[1][3].add(s(0,n,u(t)?t:ft));f[2][3].add(s(0,n,u(r)?r:ri))}).promise()},promise:function(n){return n!=null?i.extend(n,e):e}},r={};return i.each(f,function(n,t){var i=t[2],u=t[5];e[t[1]]=i.add;u&&i.add(function(){o=u},f[3-n][2].disable,f[3-n][3].disable,f[0][2].lock,f[0][3].lock);i.add(t[3].fire);r[t[0]]=function(){return r[t[0]+"With"](this===r?undefined:this,arguments),this};r[t[0]+"With"]=i.fireWith}),e.promise(r),t&&t.call(r,r),r},when:function(n){var e=arguments.length,t=e,o=Array(t),f=k.call(arguments),r=i.Deferred(),s=function(n){return function(t){o[n]=this;f[n]=arguments.length>1?k.call(arguments):t;--e||r.resolveWith(o,f)}};if(e<=1&&(ru(n,r.done(s(t)).resolve,r.reject,!e),r.state()==="pending"||u(f[t]&&f[t].then)))return r.then();while(t--)ru(f[t],s(t),r.reject);return r.promise()}});uu=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;i.Deferred.exceptionHook=function(t,i){n.console&&n.console.warn&&t&&uu.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,i)};i.readyException=function(t){n.setTimeout(function(){throw t;})};ui=i.Deferred();i.fn.ready=function(n){return ui.then(n).catch(function(n){i.readyException(n)}),this};i.extend({isReady:!1,readyWait:1,ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0)||ui.resolveWith(f,[i])}});i.ready.then=ui.then;f.readyState!=="complete"&&(f.readyState==="loading"||f.documentElement.doScroll)?(f.addEventListener("DOMContentLoaded",fi),n.addEventListener("load",fi)):n.setTimeout(i.ready);var w=function(n,t,r,f,e,o,s){var h=0,l=n.length,c=r==null;if(rt(r)==="object"){e=!0;for(h in r)w(n,t,h,r[h],!0,o,s)}else if(f!==undefined&&(e=!0,u(f)||(s=!0),c&&(s?(t.call(n,f),t=null):(c=t,t=function(n,t,r){return c.call(i(n),r)})),t))for(;h<l;h++)t(n[h],r,s?f:f.call(n[h],h,t(n[h],r)));return e?n:c?t.call(n):l?t(n[0],r):o},fe=/^-ms-/,ee=/-([a-z])/g;et=function(n){return n.nodeType===1||n.nodeType===9||!+n.nodeType};pt.uid=1;pt.prototype={cache:function(n){var t=n[this.expando];return t||(t={},et(n)&&(n.nodeType?n[this.expando]=t:Object.defineProperty(n,this.expando,{value:t,configurable:!0}))),t},set:function(n,t,i){var r,u=this.cache(n);if(typeof t=="string")u[y(t)]=i;else for(r in t)u[y(r)]=t[r];return u},get:function(n,t){return t===undefined?this.cache(n):n[this.expando]&&n[this.expando][y(t)]},access:function(n,t,i){return t===undefined||t&&typeof t=="string"&&i===undefined?this.get(n,t):(this.set(n,t,i),i!==undefined?i:t)},remove:function(n,t){var u,r=n[this.expando];if(r!==undefined){if(t!==undefined)for(Array.isArray(t)?t=t.map(y):(t=y(t),t=t in r?[t]:t.match(a)||[]),u=t.length;u--;)delete r[t[u]];(t===undefined||i.isEmptyObject(r))&&(n.nodeType?n[this.expando]=undefined:delete n[this.expando])}},hasData:function(n){var t=n[this.expando];return t!==undefined&&!i.isEmptyObject(t)}};var r=new pt,o=new pt,se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,he=/[A-Z]/g;i.extend({hasData:function(n){return o.hasData(n)||r.hasData(n)},data:function(n,t,i){return o.access(n,t,i)},removeData:function(n,t){o.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var f,u,e,i=this[0],s=i&&i.attributes;if(n===undefined){if(this.length&&(e=o.get(i),i.nodeType===1&&!r.get(i,"hasDataAttrs"))){for(f=s.length;f--;)s[f]&&(u=s[f].name,u.indexOf("data-")===0&&(u=y(u.slice(5)),fu(i,u,e[u]))
14);r.set(i,"hasDataAttrs",!0)}return e}return typeof n=="object"?this.each(function(){o.set(this,n)}):w(this,function(t){var r;if(i&&t===undefined)return(r=o.get(i,n),r!==undefined)?r:(r=fu(i,n),r!==undefined)?r:void 0;this.each(function(){o.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){o.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||Array.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[]},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};u==="inprogress"&&(u=r.shift(),e--);u&&(t==="fx"&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return(typeof n!="string"&&(t=n,n="fx",r--),arguments.length<r)?i.queue(this[0],n):t===undefined?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);n==="fx"&&r[0]!=="inprogress"&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for(typeof n!="string"&&(t=n,n=undefined),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var eu=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,wt=new RegExp("^(?:([+-])=|)("+eu+")([a-z%]*)$","i"),b=["Top","Right","Bottom","Left"],g=f.documentElement,ot=function(n){return i.contains(n.ownerDocument,n)},le={composed:!0};g.getRootNode&&(ot=function(n){return i.contains(n.ownerDocument,n)||n.getRootNode(le)===n.ownerDocument});bt=function(n,t){return n=t||n,n.style.display==="none"||n.style.display===""&&ot(n)&&i.css(n,"display")==="none"};pi={};i.fn.extend({show:function(){return st(this,!0)},hide:function(){return st(this)},toggle:function(n){return typeof n=="boolean"?n?this.show():this.hide():this.each(function(){bt(this)?i(this).show():i(this).hide()})}});var kt=/^(?:checkbox|radio)$/i,su=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,hu=/^$|^module$|\/(?:java|ecma)script/i;(function(){var i=f.createDocumentFragment(),n=i.appendChild(f.createElement("div")),t=f.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);e.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";e.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue;n.innerHTML="<option><\/option>";e.option=!!n.lastChild})();c={thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};c.tbody=c.tfoot=c.colgroup=c.caption=c.thead;c.th=c.td;e.option||(c.optgroup=c.option=[1,"<select multiple='multiple'>","<\/select>"]);cu=/<|&#?\w+;/;var ve=/^key/,ye=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,au=/^([^.]*)(?:\.(.+)|)/;i.event={global:{},add:function(n,t,u,f,e){var l,v,w,y,b,h,s,c,o,k,d,p=r.get(n);if(et(n))for(u.handler&&(l=u,u=l.handler,e=l.selector),e&&i.find.matchesSelector(g,e),u.guid||(u.guid=i.guid++),(y=p.events)||(y=p.events=Object.create(null)),(v=p.handle)||(v=p.handle=function(t){return typeof i!="undefined"&&i.event.triggered!==t.type?i.event.dispatch.apply(n,arguments):undefined}),t=(t||"").match(a)||[""],b=t.length;b--;)(w=au.exec(t[b])||[],o=d=w[1],k=(w[2]||"").split(".").sort(),o)&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:d,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:k.join(".")},l),(c=y[o])||(c=y[o]=[],c.delegateCount=0,s.setup&&s.setup.call(n,f,k,v)!==!1||n.addEventListener&&n.addEventListener(o,v)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid
vendor: 1,311 bytes, line 14
14)),e?c.splice(c.delegateCount++,0,h):c.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var y,k,h,v,p,s,c,l,o,b,d,w=r.hasData(n)&&r.get(n);if(w&&(v=w.events)){for(t=(t||"").match(a)||[""],p=t.length;p--;){if(h=au.exec(t[p])||[],o=d=h[1],b=(h[2]||"").split(".").sort(),!o){for(o in v)i.event.remove(n,o+t[p],u,f,!0);continue}for(c=i.event.special[o]||{},o=(f?c.delegateType:c.bindType)||o,l=v[o]||[],h=h[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=y=l.length;y--;)s=l[y],(e||d===s.origType)&&(!u||u.guid===s.guid)&&(!h||h.test(s.namespace))&&(!f||f===s.selector||f==="**"&&s.selector)&&(l.splice(y,1),s.selector&&l.delegateCount--,c.remove&&c.remove.call(n,s));k&&!l.length&&(c.teardown&&c.teardown.call(n,b,w.handle)!==!1||i.removeEvent(n,o,w.handle),delete v[o])}i.isEmptyObject(v)&&r.remove(n,"handle events")}},dispatch:function(n){var u,c,s,e,f,l,h=new Array(arguments.length),t=i.event.fix(n),a=(r.get(this,"events")||Object.create(null))[t.type]||[],o=i.event.special[t.type]||{};for(h[0]=t,u=1;u<arguments.length;u++)h[u]=arguments[u];if(t.delegateTarget=this,!o.preDispatch||o.preDispatch.call(this,t)!==!1){for(l=i.event.handlers.call(this,t,a),u=0;(e=l[u++])&&!t.isPropagationStopped();)for(t.currentTarget=e.elem,c=0;(f=e.handlers[c++])&&!t.isImmediatePropagationStopped();
14)(!t.rnamespace||f.namespace===!1||t.rnamespace.test(f.namespace))&&(t.handleObj=f,t.data=f.data,s=((i.event.special[f.origType]||{}).handle||f.handler).apply(e.elem,h),s!==undefined&&(t.result=s)===!1&&(t.preventDefault(),t.stopPropagation()));return o.postDispatch&&o.postDispatch.call(this,t),t.result}},handlers:function(n,t){var f,e,u,o,s,c=[],h=t.delegateCount,r=n.target;if(h&&r.nodeType&&!(n.type==="click"&&n.button>=1))for(;r!==this;r=r.parentNode||this)if(r.nodeType===1&&!(n.type==="click"&&r.disabled===!0)){for(o=[],s={},f=0;f<h;f++)e=t[f],u=e.selector+" ",s[u]===undefined&&(s[u]=e.needsContext?i(u,this).index(r)>-1:i.find(u,this,null,[r]).length),s[u]&&o.push(e);o.length&&c.push({elem:r,handlers:o})}return r=this,h<t.length&&c.push({elem:r,handlers:t.slice(h)}),c},addProp:function(n,t){Object.defineProperty(i.Event.prototype,n,{enumerable:!0,configurable:!0,get:u(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[n]},set:function(t){Object.defineProperty(this,n,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(n){return n[i.expando]?n:new i.Event(n)},special:{load:{noBubble:!0},click:{setup:function(n){var t=this||n;return kt.test(t.type)&&t.click&&l(t,"input")&&ei(t,"click",ht),!1},trigger:function(n){var t=this||n;return kt.test(t.type)&&t.click&&l(t,"input")&&ei(t,"click"),!0},_default:function(n){var t=n.target;return kt.test(t.type)&&t.click&&l(t,"input")&&r.get(t,"click")||l(t,"a")}},beforeunload:{postDispatch:function(n){n.result!==undefined&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i)};i.Event=function(n,t){if(!(this instanceof i.Event))return new i.Event(n,t);n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||n.defaultPrevented===undefined&&n.returnValue===!1?ht:ct,this.target=n.target&&n.target.nodeType===3?n.target.parentNode:n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget):this.type=n;t&&i.extend(this,t);this.timeStamp=n&&n.timeStamp||Date.now();this[i.expando]=!0};i.Event.prototype={constructor:i.Event,isDefaultPrevented:ct,isPropagationStopped:ct,isImmediatePropagationStopped:ct,isSimulated:!1,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=ht;n&&!this.isSimulated&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=ht;n&&!this.isSimulated&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=ht;n&&!this.isSimulated&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(n){var t=n.button;return n.which==null&&ve.test(n.type)?n.charCode!=null?n.charCode:n.keyCode:!n.which&&t!==undefined&&ye.test(n.type)?t&1?1:t&2?3:t&4?2:0:n.which}},i.event.addProp);i.each({focus:"focusin",blur:"focusout"},function(n,t){i.event.special[n]={setup:function(){return ei(this,n,pe),!1},trigger:function(){return ei(this,n),!0},delegateType:t}});
14i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return r&&(r===f||i.contains(f,r))||(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});i.fn.extend({on:function(n,t,i,r){return bi(this,n,t,i,r)},one:function(n,t,i,r){return bi(this,n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if(typeof n=="object"){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||typeof t=="function")&&(r=t,t=undefined),r===!1&&(r=ct),this.each(function(){i.event.remove(this,n,r,t)})}});var be=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,de=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;i.extend({htmlPrefilter:function(n){return n},clone:function(n,t,r){var u,c,o,f,h=n.cloneNode(!0),l=ot(n);if(!e.noCloneChecked&&(n.nodeType===1||n.nodeType===11)&&!i.isXMLDoc(n))for(f=s(h),o=s(n),u=0,c=o.length;u<c;u++)to(o[u],f[u]);if(t)if(r)for(o=o||s(n),f=f||s(h),u=0,c=o.length;u<c;u++)yu(o[u],f[u]);else yu(n,h);return f=s(h,"script"),f.length>0&&wi(f,!l&&s(n,"script")),h},cleanData:function(n){for(var u,t,f,s=i.event.special,e=0;(t=n[e])!==undefined;e++)if(et(t)){if(u=t[r.expando]){if(u.events)for(f in u.events)s[f]?i.event.remove(t,f):i.removeEvent(t,f,u.handle);t[r.expando]=undefined}t[o.expando]&&(t[o.expando]=undefined)}}});i.fn.extend({detach:function(n){return pu(this,n,!0)},remove:function(n){return pu(this,n)},text:function(n){return w(this,function(n){return n===undefined?i.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return lt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vu(this,n);t.appendChild(n)}})},prepend:function(){return lt(this,arguments,function(n){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=vu(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return lt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return lt(this,arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},empty:function(){for(var n,t=0;(n=this[t])!=null;t++)n.nodeType===1&&(i.cleanData(s(n,!1)),n.textContent="");return this},clone:function(n,t){return n=n==null?!1:n,t=t==null?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return w(this,function(n){var t=this[0]||{},r=0,u=this.length;if(n===undefined&&t.nodeType===1)return t.innerHTML;if(typeof n=="string"&&!be.test(n)&&!c[(su.exec(n)||["",""])[1].toLowerCase()]){n=i.htmlPrefilter(n);try{for(;r<u;r++)t=this[r]||{},t.nodeType===1&&(i.cleanData(s(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=[];return lt(this,arguments,function(t){var r=this.parentNode;i.inArray(this,n)<0&&(i.cleanData(s(this)),r&&r.replaceChild(t,this))},n)}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;r<=o;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),li.apply(f,u.get());return this.pushStack(f)}});var ki=new RegExp("^("+eu+")(?!px)[a-z%]+$","i"),oi=function(t){var i=t.ownerDocument.defaultView;return i&&i.opener||(i=n),i.getComputedStyle(t)},wu=function(n,t,i){var u,r,f={};for(r in t)f[r]=n.style[r],n.style[r]=t[r];u=i.call(n);for(r in t)n.style[r]=f[r];return u},io=new RegExp(b.join("|"),"i");(function(){function r(){if(t){s.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";t.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";g.appendChild(s).appendChild(t);var i=n.getComputedStyle(t);h=i.top!=="1%";v=u(i.marginLeft)===12;t.style.right="60%";a=u(i.right)===36;c=u(i.width)===36;t.style.position="absolute";l=u(t.offsetWidth/3)===12;g.removeChild(s);t=null}}function u(n){return Math.round(parseFloat(n))}var h,c,l,a,o,v,s=f.createElement("div"),t=f.createElement("div");t.style&&(t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle=t.style.backgroundClip==="content-box",i.extend(e,{boxSizingReliable:function(){return r(),c},pixelBoxStyles:function(){return r(),a},pixelPosition:function(){return r(),h},reliableMarginLeft:function(){return r(),v},scrollboxSize:function(){return r(),l},reliableTrDimensions:function(){var t,i,r,u;return o==null&&(t=f.createElement("table"),i=f.createElement("tr"),r=f.createElement("div"),t.style.cssText="position:absolute;
14left:-11111px",i.style.height="1px",r.style.height="9px",g.appendChild(t).appendChild(i).appendChild(r),u=n.getComputedStyle(i),o=parseInt(u.height)>3,g.removeChild(t)),o}}))})();var ku=["Webkit","Moz","ms"],du=f.createElement("div").style,gu={};var uo=/^(none|table(?!-c[ea]).+)/,nf=/^--/,fo={position:"absolute",visibility:"hidden",display:"block"},tf={letterSpacing:"0",fontWeight:"400"};i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=dt(n,"opacity");return i===""?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(n,t,r,u){if(n&&n.nodeType!==3&&n.nodeType!==8&&n.style){var f,s,o,c=y(t),l=nf.test(t),h=n.style;if(l||(t=di(c)),o=i.cssHooks[t]||i.cssHooks[c],r!==undefined){if(s=typeof r,s==="string"&&(f=wt.exec(r))&&f[1]&&(r=ou(n,t,f),s="number"),r==null||r!==r)return;s!=="number"||l||(r+=f&&f[3]||(i.cssNumber[c]?"":"px"));e.clearCloneStyle||r!==""||t.indexOf("background")!==0||(h[t]="inherit");o&&"set"in o&&(r=o.set(n,r,u))===undefined||(l?h.setProperty(t,r):h[t]=r)}else return o&&"get"in o&&(f=o.get(n,!1,u))!==undefined?f:h[t]}},css:function(n,t,r,u){var f,o,e,s=y(t),h=nf.test(t);return(h||(t=di(s)),e=i.cssHooks[t]||i.cssHooks[s],e&&"get"in e&&(f=e.get(n,!0,r)),f===undefined&&(f=dt(n,t,u)),f==="normal"&&t in tf&&(f=tf[t]),r===""||r)?(o=parseFloat(f),r===!0||isFinite(o)?o||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return uo.test(i.css(n,"display"))&&(!n.getClientRects().length||!n.getBoundingClientRect().width)?wu(n,fo,function(){return uf(n,t,u)}):uf(n,t,u)},set:function(n,r,u){var s,f=oi(n),h=!e.scrollboxSize()&&f.position==="absolute",l=h||u,c=l&&i.css(n,"boxSizing",!1,f)==="border-box",o=u?gi(n,t,u,c,f):0;return c&&h&&(o-=Math.ceil(n["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(f[t])-gi(n,t,"border",!1,f)-.5)),o&&(s=wt.exec(r))&&(s[3]||"px")!=="px"&&(n.style[t]=r,r=i.css(n,t)),rf(n,r,o)}}});i.cssHooks.marginLeft=bu(e.reliableMarginLeft,function(n,t){if(t)return(parseFloat(dt(n,"marginLeft"))||n.getBoundingClientRect().left-wu(n,{marginLeft:0},function(){return n.getBoundingClientRect().left}))+"px"});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u=typeof i=="string"?i.split(" "):[i];r<4;r++)f[n+b[r]+t]=u[r]||u[r-2]||u[0];return f}};n!=="margin"&&(i.cssHooks[n+t].set=rf)});i.fn.extend({css:function(n,t){return w(this,function(n,t,r){var f,e,o={},u=0;if(Array.isArray(t)){for(f=oi(n),e=t.length;u<e;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return r!==undefined?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)}});i.Tween=h;h.prototype={constructor:h,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||i.easing._default;this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=h.propHooks[this.prop];return n&&n.get?n.get(this):h.propHooks._default.get(this)},run:function(n){var t,r=h.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):h.propHooks._default.set(this),this}};h.prototype.init.prototype=h.prototype;h.propHooks={_default:{get:function(n){var t;return n.elem.nodeType!==1||n.elem[n.prop]!=null&&n.elem.style[n.prop]==null?n.elem[n.prop]:(t=i.css(n.elem,n.prop,""),!t||t==="auto"?0:t)},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.nodeType===1&&(i.cssHooks[n.prop]||n.elem.style[di(n.prop)]!=null)?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};h.propHooks.scrollTop=h.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2},_default:"swing"};i.fx=h.prototype.init;i.fx.step={};ff=/^(?:toggle|show|hide)$/;ef=/queueHooks$/;i.Animation=i.extend(v,{tweeners:{"*":[function(n,t){var i=this.createTween(n,t);return ou(i.elem,n,wt.exec(t),i),i}]},tweener:function(n,t){u(n)?(t=n,n=["*"]):n=n.match(a);for(var i,r=0,f=n.length;r<f;
14r++)i=n[r],v.tweeners[i]=v.tweeners[i]||[],v.tweeners[i].unshift(t)},prefilters:[eo],prefilter:function(n,t){t?v.prefilters.unshift(n):v.prefilters.push(n)}});i.speed=function(n,t,r){var f=n&&typeof n=="object"?i.extend({},n):{complete:r||!r&&t||u(n)&&n,duration:n,easing:r&&t||t&&!u(t)&&t};return i.fx.off?f.duration=0:typeof f.duration!="number"&&(f.duration=f.duration in i.fx.speeds?i.fx.speeds[f.duration]:i.fx.speeds._default),(f.queue==null||f.queue===!0)&&(f.queue="fx"),f.old=f.complete,f.complete=function(){u(f.old)&&f.old.call(this);f.queue&&i.dequeue(this,f.queue)},f};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(bt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=v(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return typeof n!="string"&&(u=t,t=n,n=undefined),t&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=n!=null&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&ef.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem===this&&(n==null||o[t].queue===n)&&(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;t<s;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return n==null||typeof n=="boolean"?r.apply(this,arguments):this.animate(hi(t,!0),n,i,u)}});i.each({slideDown:hi("show"),slideUp:hi("hide"),slideToggle:hi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(at=Date.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();at=undefined};i.fx.timer=function(n){i.timers.push(n);i.fx.start()};i.fx.interval=13;i.fx.start=function(){si||(si=!0,nr())};i.fx.stop=function(){si=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(t,r){return t=i.fx?i.fx.speeds[t]||t:t,r=r||"fx",this.queue(r,function(i,r){var u=n.setTimeout(i,t);r.stop=function(){n.clearTimeout(u)}})},function(){var n=f.createElement("input"),t=f.createElement("select"),i=t.appendChild(f.createElement("option"));n.type="checkbox";e.checkOn=n.value!=="";e.optSelected=i.selected;n=f.createElement("input");n.value="t";n.type="radio";e.radioValue=n.value==="t"}();vt=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return w(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(e!==3&&e!==8&&e!==2){if(typeof n.getAttribute=="undefined")return i.prop(n,t,r);if(e===1&&i.isXMLDoc(n)||(f=i.attrHooks[t.toLowerCase()]||(i.expr.match.bool.test(t)?hf:undefined)),r!==undefined){if(r===null){i.removeAttr(n,t);return}return f&&"set"in f&&(u=f.set(n,r,t))!==undefined?u:(n.setAttribute(t,r+""),r)}return f&&"get"in f&&(u=f.get(n,t))!==null?u:(u=i.find.attr(n,t),u==null?undefined:u)}},attrHooks:{type:{set:function(n,t){if(!e.radioValue&&t==="radio"&&l(n,"input")){var i=n.value;return n.setAttribute("type",t),i&&(n.value=i),t}}}},removeAttr:function(n,t){var i,u=0,r=t&&t.match(a);if(r&&n.nodeType===1)while(i=r[u++])n.removeAttribute(i)}});hf={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=vt[t]||i.find.attr;vt[t]=function(n,t,i){var f,e,u=t.toLowerCase();return i||(e=vt[u],vt[u]=f,f=r(n,t,i)!=null?u:null,vt[u]=e),f}});cf=/^(?:input|select|textarea|button)$/i;lf=/^(?:a|area)$/i;i.fn.extend({prop:function(n,t){return w(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({prop:function(n,t,r){var f,u,e=n.nodeType;if(e!==3&&e!==8&&e!==2)return(e===1&&i.isXMLDoc(n)||(t=i.propFix[t]||t,u=i.propHooks[t]),r!==undefined)?u&&"set"in u&&(f=u.set(n,r,t))!==undefined?f:n[t]=r:u&&"get"in u&&(f=u.get(n,t))!==null?f:n[t]},propHooks:{tabIndex:{get:function(n){var t=i.find.attr(n,"tabindex");return t?parseInt(t,10):cf.test(n.nodeName)||lf.test(n.nodeName)&&n.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});e.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(n){var t=n.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});i.fn.extend({addClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).addClass(n.call(this,t,tt(this)))});if(f=tr(n),f.length)while(r=this[c++])if(e=tt(r),t=r.nodeType===1&&" "+nt(e)+" ",t){for(h=0;o=f[h++];)t.indexOf(" "+o+" ")<0&&(t+=o+" ");s=nt(t);e!==s&&r.setAttribute("class",s)}return this},removeClass:function(n){var f,r,t,e,o,h,s,c=0;if(u(n))return this.each(function(t){i(this).removeClass(n.call(this,t,tt(this)))});if(!arguments.length)return this.attr("class","");if(f=tr(n),f.length)while(r=this[c++])if(e=tt(r),t=r.nodeType===1&&" "+nt(e)+" ",t){for(h=0;o=f[h++];)while(t.indexOf(" "+o+" ")>-1)t=t.replace(" "+o+" "," ");s=nt(t);e!==s&&r.setAttribute("class",s)}return this},toggleClass:function(n,t){var f=typeof n,e=f==="string"||Array.isArray(n);return typeof t=="boolean"&&e?t?this.addClass(n):this.removeClass(n):u(n)?this.each(function(r){i(this).toggleClass(n.call(this,r,tt(this),t),t)}):this.each(function(){var t,o,u,s;if(e)for(o=0,u=i(this),s=tr(n);t=s[o++];)u.hasClass(t)?u.removeClass(t):u.addClass(t);else(n===undefined||f==="boolean")&&(t=tt(this),t&&r.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||n===!1?"":r.get(this,"__className__")||""))})},hasClass:function(n){for(var t,r=0,i=" "+n+" ";t=this[r++];)if(t.nodeType===1&&(" "+nt(tt(t))+" ").indexOf(i)>-1)return!0;return!1}});af=/\r/g;i.fn.extend({val:function(n){var t,r,e,f=this[0];return arguments.length?(e=u(n),this.each(function(r){var u;this.nodeType===1&&(u=e?n.call(this,r,i(this).val()):n,u==null?u="":typeof u=="number"?u+="":Array.isArray(u)&&(u=i.map(u,function(n){return n==null?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,u,"value")!==undefined||(this.value=u))})):f?(t=i.valHooks[f.type]||i.valHooks[f.nodeName.toLowerCase()],t&&"get"in t&&(r=t.get(f,"value"))!==undefined)?r:(r=f.value,typeof r=="string")?r.replace(af,""):r==null?"":r:void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return t!=null?t:nt(i.text(n))}},select:{get:function(n){for(var e,t,o=n.options,u=n.selectedIndex,f=n.type==="select-one",s=f?null:[],h=f?u+1:o.length,r=u<0?h:f?u:0;r<h;r++)if(t=o[r],(t.selected||r===u)&&!t.disabled&&(!t.parentNode.disabled||!l(t.parentNode,"optgroup"))){if(e=i(t).val(),f)return e;s.push(e)}return s},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(i.valHooks.option.get(r),e)>-1)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(Array.isArray(t))return n.checked=i.inArray(i(n).val(),t)>-1}};e.checkOn||(i.valHooks[this].get=function(n){return n.getAttribute("value")===null?"on":n.value})});e.focusin="onfocusin"in n;ir=/^(?:focusinfocus|focusoutblur)$/;rr=function(n){n.stopPropagation()};i.extend(i.event,{trigger:function(t,e,o,s){var k,c,l,d,v,y,a,w,b=[o||f],h=ii.call(t,"type")?t.type:t,p=ii.call(t,"namespace")?t.namespace.split("."):[];if((c=w=l=o=o||f,o.nodeType!==3&&o.nodeType!==8)&&!ir.test(h+i.event.triggered)&&(h.indexOf(".")>-1&&(p=h.split("."),h=p.shift(),p.sort()),v=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,typeof t=="object"&&t),t.isTrigger=s?2:3,t.namespace=p.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=
14o),e=e==null?[t]:i.makeArray(e,[t]),a=i.event.special[h]||{},s||!a.trigger||a.trigger.apply(o,e)!==!1)){if(!s&&!a.noBubble&&!it(o)){for(d=a.delegateType||h,ir.test(d+h)||(c=c.parentNode);c;c=c.parentNode)b.push(c),l=c;l===(o.ownerDocument||f)&&b.push(l.defaultView||l.parentWindow||n)}for(k=0;(c=b[k++])&&!t.isPropagationStopped();)w=c,t.type=k>1?d:a.bindType||h,y=(r.get(c,"events")||Object.create(null))[t.type]&&r.get(c,"handle"),y&&y.apply(c,e),y=v&&c[v],y&&y.apply&&et(c)&&(t.result=y.apply(c,e),t.result===!1&&t.preventDefault());return t.type=h,s||t.isDefaultPrevented()||(!a._default||a._default.apply(b.pop(),e)===!1)&&et(o)&&v&&u(o[h])&&!it(o)&&(l=o[v],l&&(o[v]=null),i.event.triggered=h,t.isPropagationStopped()&&w.addEventListener(h,rr),o[h](),t.isPropagationStopped()&&w.removeEventListener(h,rr),i.event.triggered=undefined,l&&(o[v]=l)),t.result}},simulate:function(n,t,r){var u=i.extend(new i.Event,r,{type:n,isSimulated:!0});i.event.trigger(u,null,t)}});i.fn.extend({trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});e.focusin||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n))};i.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});var gt=n.location,vf={guid:Date.now()},ur=/\?/;i.parseXML=function(t){var r;if(!t||typeof t!="string")return null;try{r=(new n.DOMParser).parseFromString(t,"text/xml")}catch(u){r=undefined}return(!r||r.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+t),r};var so=/\[\]$/,yf=/\r?\n/g,ho=/^(?:submit|button|image|reset|file)$/i,co=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,f=[],e=function(n,t){var i=u(t)?t():t;f[f.length]=encodeURIComponent(n)+"="+encodeURIComponent(i==null?"":i)};if(n==null)return"";if(Array.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){e(this.name,this.value)});else for(r in n)fr(r,n[r],t,e);return f.join("&")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&co.test(this.nodeName)&&!ho.test(n)&&(this.checked||!kt.test(n))}).map(function(n,t){var r=i(this).val();return r==null?null:Array.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(yf,"\r\n")}}):{name:t.name,value:r.replace(yf,"\r\n")}}).get()}});var lo=/%20/g,ao=/#.*$/,vo=/([?&])_=[^&]*/,yo=/^(.*?):[ \t]*([^\r\n]*)$/mg,po=/^(?:GET|HEAD)$/,wo=/^\/\//,pf={},er={},wf="*/".concat("*"),or=f.createElement("a");return or.href=gt.href,i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:gt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(gt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wf,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?sr(sr(n,i.ajaxSettings),t):sr(i.ajaxSettings,n)},ajaxPrefilter:bf(pf),ajaxTransport:bf(er),ajax:function(t,r){function b(t,r,f,l){var v,rt,g,p,b,a=r;s||(s=!0,d&&n.clearTimeout(d),c=undefined,k=l||"",e.readyState=t>0?4:0,v=t>=200&&t<300||t===304,f&&(p=bo(u,e,f)),!v&&i.inArray("script",u.dataTypes)>-1&&(u.converters["text script"]=function(){}),p=ko(u,p,e,v),v?(u.ifModified&&(b=e.getResponseHeader("Last-Modified"),b&&(i.lastModified[o]=b),b=e.getResponseHeader("etag"),b&&(i.etag[o]=b)),t===204||u.type==="HEAD"?a="nocontent":t===304?a="notmodified":(a=p.state,rt=p.data,g=p.error,v=!g)):(g=a,(t||!a)&&
vendor: 2,255 bytes, line 14
14(a="error",t<0&&(t=0))),e.status=t,e.statusText=(r||a)+"",v?tt.resolveWith(h,[rt,a,e]):tt.rejectWith(h,[e,a,g]),e.statusCode(w),w=undefined,y&&nt.trigger(v?"ajaxSuccess":"ajaxError",[e,u,v?rt:g]),it.fireWith(h,[e,a]),y&&(nt.trigger("ajaxComplete",[e,u]),--i.active||i.event.trigger("ajaxStop")))}typeof t=="object"&&(r=t,t=undefined);r=r||{};var c,o,k,v,d,l,s,y,g,p,u=i.ajaxSetup({},r),h=u.context||u,nt=u.context&&(h.nodeType||h.jquery)?i(h):i.event,tt=i.Deferred(),it=i.Callbacks("once memory"),w=u.statusCode||{},rt={},ut={},ft="canceled",e={readyState:0,getResponseHeader:function(n){var t;if(s){if(!v)for(v={};t=yo.exec(k);)v[t[1].toLowerCase()+" "]=(v[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=v[n.toLowerCase()+" "]}return t==null?null:t.join(", ")},getAllResponseHeaders:function(){return s?k:null},setRequestHeader:function(n,t){return s==null&&(n=ut[n.toLowerCase()]=ut[n.toLowerCase()]||n,rt[n]=t),this},overrideMimeType:function(n){return s==null&&(u.mimeType=n),this},statusCode:function(n){var t;if(n)if(s)e.always(n[e.status]);else for(t in n)w[t]=[w[t],n[t]];return this},abort:function(n){var t=n||ft;return c&&c.abort(t),b(0,t),this}};if(tt.promise(e),u.url=((t||u.url||gt.href)+"").replace(wo,gt.protocol+"//"),u.type=r.method||r.type||u.method||u.type,u.dataTypes=(u.dataType||"*").toLowerCase().match(a)||[""],u.crossDomain==null){l=f.createElement("a");try{l.href=u.url;l.href=l.href;u.crossDomain=or.protocol+"//"+or.host!=l.protocol+"//"+l.host}catch(et){u.crossDomain=!0}}if(u.data&&u.processData&&typeof u.data!="string"&&(u.data=i.param(u.data,u.traditional)),kf(pf,u,r,e),s)return e;y=i.event&&u.global;y&&i.active++==0&&i.event.trigger("ajaxStart");u.type=u.type.toUpperCase();u.hasContent=!po.test(u.type);o=u.url.replace(ao,"");u.hasContent?u.data&&u.processData&&(u.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(u.data=u.data.replace(lo,"+")):(p=u.url.slice(o.length),u.data&&(u.processData||typeof u.data=="string")&&(o+=(ur.test(o)?"&":"?")+u.data,delete u.data),u.cache===!1&&(o=o.replace(vo,"$1"),p=(ur.test(o)?"&":"?")+"_="+vf.guid+++p),u.url=o+p);u.ifModified&&(i.lastModified[o]&&e.setRequestHeader("If-Modified-Since",i.lastModified[o]),i.etag[o]&&e.setRequestHeader("If-None-Match",i.etag[o
14]));(u.data&&u.hasContent&&u.contentType!==!1||r.contentType)&&e.setRequestHeader("Content-Type",u.contentType);e.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+(u.dataTypes[0]!=="*"?", "+wf+"; q=0.01":""):u.accepts["*"]);for(g in u.headers)e.setRequestHeader(g,u.headers[g]);if(u.beforeSend&&(u.beforeSend.call(h,e,u)===!1||s))return e.abort();if(ft="abort",it.add(u.complete),e.done(u.success),e.fail(u.error),c=kf(er,u,r,e),c){if(e.readyState=1,y&&nt.trigger("ajaxSend",[e,u]),s)return e;u.async&&u.timeout>0&&(d=n.setTimeout(function(){e.abort("timeout")},u.timeout));try{s=!1;c.send(rt,b)}catch(et){if(s)throw et;b(-1,et)}}else b(-1,"No Transport");return e},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,undefined,t,"script")}}),i.each(["get","post"],function(n,t){i[t]=function(n,r,f,e){return u(r)&&(e=e||f,f=r,r=undefined),i.ajax(i.extend({url:n,type:t,dataType:e,data:r,success:f},i.isPlainObject(n)&&n))}}),i.ajaxPrefilter(function(n){for(var t in n.headers)t.toLowerCase()==="content-type"&&(n.contentType=n.headers[t]||"")}),i._evalUrl=function(n,t,r){return i.ajax({url:n,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(n){i.globalEval(n,t,r)}})},i.fn.extend({wrapAll:function(n){var t;return this[0]&&(u(n)&&(n=n.call(this[0])),t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this},wrapInner:function(n){return u(n)?this.each(function(t){i(this).wrapInner(n.call(this,t))}):this.each(function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=u(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(n){return this.parent(n).not("body").each(function(){i(this).replaceWith(this.childNodes)}),this}}),i.expr.pseudos.hidden=function(n){return!i.expr.pseudos.visible(n)},i.expr.pseudos.visible=function(n){return!!(n.offsetWidth||n.offsetHeight||n.getClientRects().length)},i.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}},df={0:200,1223:204},yt=i.ajaxSettings.xhr(),e.cors=!!yt&&"withCredentials"in yt,e.ajax=yt=!!yt,i.ajaxTransport(function(t){var i,r;if(e.cors||yt&&!t.crossDomain)return{send:function(u,f){var o,e=t.xhr();if(e.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)e[o]=t.xhrFields[o];t.mimeType&&e.overrideMimeType&&e.overrideMimeType(t.mimeType);t.crossDomain||u["X-Requested-With"]||(u["X-Requested-With"]="XMLHttpRequest");for(o in u)e.setRequestHeader(o,u[o]);i=function(n){return function(){i&&(i=r=e.onload=e.onerror=e.onabort=e.ontimeout=e.onreadystatechange=null,n==="abort"?e.abort():n==="error"?typeof e.status!="number"?f(0,"error"):f(e.status,e.statusText):f(df[e.status]||e.status,e.statusText,(e.responseType||"text")!=="text"||typeof e.responseText!="string"?{binary:e.response}:{text:e.responseText},e.getAllResponseHeaders()))}};e.onload=i();r=e.onerror=e.ontimeout=i("error");e.onabort!==undefined?e.onabort=r:e.onreadystatechange=function(){e.readyState===4&&n.setTimeout(function(){i&&r()})};i=i("abort");try{e.send(t.hasContent&&t.data||null)}catch(s){if(i)throw s;}},abort:function(){i&&i()}}}),i.ajaxPrefilter(function(n){n.crossDomain&&(n.contents.script=!1)}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){n.cache===undefined&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain||n.scriptAttrs){var r,t;return{send:function(u,e){r=i("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e(n.type==="error"?404:200,n.type)});f.head.appendChild(r[0])},abort:function(){t&&t()}}}}),hr=[],ci=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=hr.pop()||i.expando+"_"+vf.guid++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,f){var e,o,s,h=t.jsonp!==!1&&(ci.test(t.url)?"url":typeof t.data=="str
14ing"&&(t.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&ci.test(t.data)&&"data");if(h||t.dataTypes[0]==="jsonp")return e=t.jsonpCallback=u(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,h?t[h]=t[h].replace(ci,"$1"+e):t.jsonp!==!1&&(t.url+=(ur.test(t.url)?"&":"?")+t.jsonp+"="+e),t.converters["script json"]=function(){return s||i.error(e+" was not called"),s[0]},t.dataTypes[0]="json",o=n[e],n[e]=function(){s=arguments},f.always(function(){o===undefined?i(n).removeProp(e):n[e]=o;t[e]&&(t.jsonpCallback=r.jsonpCallback,hr.push(e));s&&u(o)&&o(s[0]);s=o=undefined}),"script"}),e.createHTMLDocument=function(){var n=f.implementation.createHTMLDocument("").body;return n.innerHTML="<form><\/form><form><\/form>",n.childNodes.length===2}(),i.parseHTML=function(n,t,r){if(typeof n!="string")return[];typeof t=="boolean"&&(r=t,t=!1);var s,u,o;return(t||(e.createHTMLDocument?(t=f.implementation.createHTMLDocument(""),s=t.createElement("base"),s.href=f.location.href,t.head.appendChild(s)):t=f),u=vi.exec(n),o=!r&&[],u)?[t.createElement(u[1])]:(u=lu([n],t,o),o&&o.length&&i(o).remove(),i.merge([],u.childNodes))},i.fn.load=function(n,t,r){var f,s,h,e=this,o=n.indexOf(" ");return o>-1&&(f=nt(n.slice(o)),n=n.slice(0,o)),u(t)?(r=t,t=undefined):t&&typeof t=="object"&&(s="POST"),e.length>0&&i.ajax({url:n,type:s||"GET",dataType:"html",data:t}).done(function(n){h=arguments;e.html(f?i("<div>").append(i.parseHTML(n)).find(f):n)}).always(r&&function(n,t){e.each(function(){r.apply(this,h||[n.responseText,t,n])})}),this},i.expr.pseudos.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},i.offset={setOffset:function(n,t,r){var o,s,h,c,e,l,y,a=i.css(n,"position"),v=i(n),f={};a==="static"&&(n.style.position="relative");e=v.offset();h=i.css(n,"top");l=i.css(n,"left");y=(a==="absolute"||a==="fixed")&&(h+l).indexOf("auto")>-1;y?(o=v.position(),c=o.top,s=o.left):(c=parseFloat(h)||0,s=parseFloat(l)||0);u(t)&&(t=t.call(n,r,i.extend({},e)));t.top!=null&&(f.top=t.top-e.top+c);t.left!=null&&(f.left=t.left-e.left+s);"using"in t?t.using.call(n,f):(typeof f.top=="number"&&(f.top+="px"),typeof f.left=="number"&&(f.left+="px"),v.css(f))}},i.fn.extend({offset:function(n){if(arguments.length)return n===undefined?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,u,t=this[0];if(t)return t.getClientRects().length?(r=t.getBoundingClientRect(),u=t.ownerDocument.defaultView,{top:r.top+u.pageYOffset,left:r.left+u.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var n,u,f,t=this[0],r={top:0,left:0};if(i.css(t,"position")==="fixed")u=t.getBoundingClientRect();else{for(u=this.offset(),f=t.ownerDocument,n=t.offsetParent||f.documentElement;n&&(n===f.body||n===f.documentElement)&&i.css(n,"position")==="static";)n=n.parentNode;n&&n!==t&&n.nodeType===1&&(r=i(n).offset(),r.top+=i.css(n,"borderTopWidth",!0),r.left+=i.css(n,"borderLeftWidth",!0))}return{top:u.top-r.top-i.css(t,"marginTop",!0),left:u.left-r.left-i.css(t,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent;n&&i.css(n,"position")==="static";)n=n.offsetParent;return n||g})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(n,t){var r="pageYOffset"===t;i.fn[n]=function(i){return w(this,function(n,i,u){var f;if(it(n)?f=n:n.nodeType===9&&(f=n.defaultView),u===undefined)return f?f[t]:n[i];f?f.scrollTo(r?f.pageXOffset:u,r?u:f.pageYOffset):n[i]=u},n,i,arguments.length)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=bu(e.pixelPosition,function(n,r){if(r)return r=dt(n,t),ki.test(r)?i(n).position()[t]+"px":r})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(f,e){var o=arguments.length&&(r||typeof f!="boolean"),s=r||(f===!0||e===!0?"margin":"border");return w(this,function(t,r,f){var e;return it(t)?u.indexOf("outer")===0?t["inner"+n]:t.document.documentElement["client"+n]:t.nodeType===9?(e=t.documentElement,Math.max(t.body["scroll"+n],e["scroll"+n],t.body["offset"+n],e["offset"+n],e["client"+n])):f===undefined?i.css(t,r,s):i.style(t,r,f,s)},t,o?f:undefined,o)}})}),i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.fn.extend({bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return arguments.length===1?this.off(n,"**"):this.off(t,n||"**",i)},hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)}}),i.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}}),gf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,i.proxy=function(n,t){var f,e,r;return(typeof t=="string"&&(f=n[t],t=n,n=f),!u(n))?undefined:(e=k.call(arguments,2),r=function(){return n.apply(t||this,e.concat(k.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r)},i.holdReady=function(n){n?i.readyWait++:i.ready(!0)},i.isArray=Array.isArray,i.parseJSON=JSON.parse,i.nodeName=l,i.isFunction=u,i.isWindow=it,i.c
14amelCase=y,i.type=rt,i.now=Date.now,i.isNumeric=function(n){var t=i.type(n);return(t==="number"||t==="string")&&!isNaN(n-parseFloat(n))},i.trim=function(n){return n==null?"":(n+"").replace(gf,"")},typeof define=="function"&&define.amd&&define("jquery",[],function(){return i}),ne=n.jQuery,te=n.$,i.noConflict=function(t){return n.$===i&&(n.$=te),t&&n.jQuery===i&&(n.jQuery=ne),i},typeof t=="undefined"&&(n.jQuery=n.$=i),i}),function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Popper=t()}(this,function(){"use strict";function et(n){return n&&"[object Function]"==={}.toString.call(n)}function r(n,t){if(1!==n.nodeType)return[];var r=n.ownerDocument.defaultView,i=r.getComputedStyle(n,null);return t?i[t]:i}function y(n){return"HTML"===n.nodeName?n:n.parentNode||n.host}function s(n){if(!n)return document.body;switch(n.nodeName){case"HTML":case"BODY":return n.ownerDocument.body;case"#document":return n.body}var t=r(n),i=t.overflow,u=t.overflowX,f=t.overflowY;return/(auto|scroll|overlay)/.test(i+f+u)?n:s(y(n))}function u(n){return 11===n?ui:10===n?fi:ui||fi}function f(n){var e,t,i;if(!n)return document.documentElement;for(e=u(10)?document.body:null,t=n.offsetParent||null;t===e&&n.nextElementSibling;)t=(n=n.nextElementSibling).offsetParent;return i=t&&t.nodeName,i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(t.nodeName)&&"static"===r(t,"position")?f(t):t:n?n.ownerDocument.documentElement:document.documentElement}function oi(n){var t=n.nodeName;return"BODY"!==t&&("HTML"===t||f(n.firstElementChild)===n)}function p(n){return null===n.parentNode?n:p(n.parentNode)}function l(n,t){var i,u;if(!n||!n.nodeType||!t||!t.nodeType)return document.documentElement;var e=n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=e?n:t,s=e?t:n,r=document.createRange();return(r.setStart(o,0),r.setEnd(s,0),i=r.commonAncestorContainer,n!==i&&t!==i||o.contains(s))?oi(i)?i:f(i):(u=p(n),u.host?l(u.host,t):l(n,p(t).host))}function e(n){var f=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",t="top"===f?"scrollTop":"scrollLeft",i=n.nodeName,r,u;return"BODY"===i||"HTML"===i?(r=n.ownerDocument.documentElement,u=n.ownerDocument.scrollingElement||r,u[t]):n[t]}function si(n,t){var f=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=e(t,"top"),u=e(t,"left"),i=f?-1:1;return n.top+=r*i,n.bottom+=r*i,n.left+=u*i,n.right+=u*i,n}function ot(n,t){var i="x"===t?"Left":"Top",r="Left"==i?"Right":"Bottom";return parseFloat(n["border"+i+"Width"],10)+parseFloat(n["border"+r+"Width"],10)}function st(n,i,r,f){return t(i["offset"+n],i["scroll"+n],r["client"+n],r["offset"+n],r["scroll"+n],u(10)?parseInt(r["offset"+n])+parseInt(f["margin"+("Height"===n?"Top":"Left")])+parseInt(f["margin"+("Height"===n?"Bottom":"Right")]):0)}function ht(n){var i=n.body,t=n.documentElement,r=u(10)&&getComputedStyle(t);return{height:st("Height",i,t,r),width:st("Width",i,t,r)}}function i(t){return n({},t,{right:t.left+t.width,bottom:t.top+t.height})}function w(n){var t={},o,s,l;try{u(10)?(t=n.getBoundingClientRect(),o=e(n,"top"),s=e(n,"left"),t.top+=o,t.left+=s,t.bottom+=o,t.right+=s):t=n.getBoundingClientRect()}catch(r){}var f={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},a="HTML"===n.nodeName?ht(n.ownerDocument):{},v=a.width||n.clientWidth||f.right-f.left,y=a.height||n.clientHeight||f.bottom-f.top,h=n.offsetWidth-v,c=n.offsetHeight-y;return(h||c)&&(l=r(n),h-=ot(l,"x"),c-=ot(l,"y"),f.width-=h,f.height-=c),i(f)}function b(n,f){var b=2<arguments.length&&void 0!==arguments[2]&&arguments[2],k=u(10),d="HTML"===f.nodeName,h=w(n),o=w(f),v=s(n),c=r(f),y=parseFloat(c.borderTopWidth,10),p=parseFloat(c.borderLeftWidth,10),e,l,a;return b&&d&&(o.top=t(o.top,0),o.left=t(o.left,0)),e=i({top:h.top-o.top-y,left:h.left-o.left-p,width:h.width,height:h.height}),(e.marginTop=0,e.marginLeft=0,!k&&d)&&(l=parseFloat(c.marginTop,10),a=parseFloat(c.marginLeft,10),e.top-=y-l,e.bottom-=y-l,e.left-=p-a,e.right-=p-a,e.marginTop=l,e.marginLeft=a),(k&&!b?f.contains(v):f===v&&"BODY"!==v.nodeName)&&(e=si(e,f)),e}function hi(n){var f=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=n.ownerDocument.documentElement,u=b(n,r),o=t(r.clientWidth,window.innerWidth||0),s=t(r.clientHeight,window.innerHeight||0),h=f?0:e(r),c=f?0:e(r,"left"),l={top:h-u.top+u.marginTop,left
14:c-u.left+u.marginLeft,width:o,height:s};return i(l)}function ct(n){var t=n.nodeName;return"BODY"===t||"HTML"===t?!1:"fixed"===r(n,"position")||ct(y(n))}function lt(n){if(!n||!n.parentElement||u())return document.documentElement;for(var t=n.parentElement;t&&"none"===r(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(n,t,i,r){var h=4<arguments.length&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},c=h?lt(n):l(n,t),e,f,o;if("viewport"===r)u=hi(c,h);else if("scrollParent"===r?(e=s(y(t)),"BODY"===e.nodeName&&(e=n.ownerDocument.documentElement)):e="window"===r?n.ownerDocument.documentElement:r,f=b(e,c,h),"HTML"!==e.nodeName||ct(c))u=f;else{var a=ht(n.ownerDocument),v=a.height,p=a.width;u.top+=f.top-f.marginTop;u.bottom=v+f.top;u.left+=f.left-f.marginLeft;u.right=p+f.left}return i=i||0,o="number"==typeof i,u.left+=o?i:i.left||0,u.top+=o?i:i.top||0,u.right-=o?i:i.right||0,u.bottom-=o?i:i.bottom||0,u}function ci(n){var t=n.width,i=n.height;return t*i}function at(t,i,r,u,f){var l=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var e=k(r,u,l,f),o={top:{width:e.width,height:i.top-e.top},right:{width:e.right-i.right,height:e.height},bottom:{width:e.width,height:e.bottom-i.bottom},left:{width:i.left-e.left,height:e.height}},s=Object.keys(o).map(function(t){return n({key:t},o[t],{area:ci(o[t])})}).sort(function(n,t){return t.area-n.area}),h=s.filter(function(n){var t=n.width,i=n.height;return t>=r.clientWidth&&i>=r.clientHeight}),a=0<h.length?h[0].key:s[0].key,c=t.split("-")[1];return a+(c?"-"+c:"")}function vt(n,t,i){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,u=r?lt(t):l(t,i);return b(i,u,r)}function yt(n){var i=n.ownerDocument.defaultView,t=i.getComputedStyle(n),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),u=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:n.offsetWidth+u,height:n.offsetHeight+r}}function a(n){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return n.replace(/left|right|bottom|top/g,function(n){return t[n]})}function pt(n,t,i){i=i.split("-")[0];var r=yt(n),e={width:r.width,height:r.height},u=-1!==["right","left"].indexOf(i),o=u?"top":"left",f=u?"left":"top",s=u?"height":"width",h=u?"width":"height";return e[o]=t[o]+t[s]/2-r[s]/2,e[f]=i===f?t[f]-r[h]:t[a(f)],e}function h(n,t){return Array.prototype.find?n.find(t):n.filter(t)[0]}function li(n,t,i){if(Array.prototype.findIndex)return n.findIndex(function(n){return n[t]===i});var r=h(n,function(n){return n[t]===i});return n.indexOf(r)}function wt(n,t,r){var u=void 0===r?n:n.slice(0,li(n,"name",r));return u.forEach(function(n){n["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=n["function"]||n.fn;n.enabled&&et(r)&&(t.offsets.popper=i(t.offsets.popper),t.offsets.reference=i(t.offsets.reference),t=r(t,n))}),t}function ai(){if(!this.state.isDestroyed){var n={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};n.offsets.reference=vt(this.state,this.popper,this.reference,this.options.positionFixed);n.placement=at(this.options.placement,n.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding);n.originalPlacement=n.placement;n.positionFixed=this.options.positionFixed;n.offsets.popper=pt(this.popper,n.offsets.reference,n.placement);n.offsets.popper.position=this.options.positionFixed?"fixed":"absolute";n=wt(this.modifiers,n);this.state.isCreated?this.options.onUpdate(n):(this.state.isCreated=!0,this.options.onCreate(n))}}function bt(n,t){return n.some(function(n){var i=n.name,r=n.enabled;return r&&i===t})}function d(n){for(var i,r,u=[!1,"ms","Webkit","Moz","O"],f=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<u.length;t++)if(i=u[t],r=i?""+i+f:n,"undefined"!=typeof document.body.style[r])return r;return null}function vi(){return this.state.isDestroyed=!0,bt(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[d("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function kt(n){var t=n.ownerDocument;return t?t.defaultView:window}function dt(n,t,i,r){var f="BODY"===n.nodeName,u=f?n.ownerDocument.defaultView:n;u.addEventListener(t,i,{passive:!0});f||dt(s(u.parentNode),t,i,r);r.push(u)}function yi(n,t,i,r){i.updateBound=r;kt(n).addEventListener("resize",i.updateBound,{passive:!0});var u=s(n);return dt(u,"scroll",i.updateBound,i.scrollParents),i.scrollElement=u,i.eventsEnabled=!0,i}function pi(){this.state.eventsEnabled||(this.state=yi(this.reference,this.options,this.state,this.scheduleUpdate))}function wi(n,t){return kt(n).removeEventListener("resize",t.updateBound),t.scrollParents.forEac
14h(function(n){n.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function bi(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=wi(this.reference,this.state))}function g(n){return""!==n&&!isNaN(parseFloat(n))&&isFinite(n)}function nt(n,t){Object.keys(t).forEach(function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&g(t[i])&&(r="px");n.style[i]=t[i]+r})}function ki(n,t){Object.keys(t).forEach(function(i){var r=t[i];!1===r?n.removeAttribute(i):n.setAttribute(i,t[i])})}function di(n,t){var r=n.offsets,i=r.popper,u=r.reference,h=-1!==["left","right"].indexOf(n.placement),f=-1!==n.placement.indexOf("-"),c=u.width%2==i.width%2,l=1==u.width%2&&1==i.width%2,e=function(n){return n},o=t?h||f||c?it:tt:e,s=t?it:e;return{left:o(l&&!f&&t?i.left-1:i.left),top:s(i.top),bottom:s(i.bottom),right:o(i.right)}}function gt(n,t,i){var u=h(n,function(n){var i=n.name;return i===t}),f=!!u&&n.some(function(n){return n.name===i&&n.enabled&&n.order<u.order}),r;return f||(r="`"+t+"`",console.warn("`"+i+"` modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")),f}function gi(n){return"end"===n?"start":"start"===n?"end":n}function ni(n){var r=1<arguments.length&&void 0!==arguments[1]&&arguments[1],t=ut.indexOf(n),i=ut.slice(t+1).concat(ut.slice(0,t));return r?i.reverse():i}function nr(n,r,u,f){var h=n.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+h[1],e=h[2],s,c,l;if(!o)return n;if(0===e.indexOf("%")){switch(e){case"%p":s=u;break;case"%":case"%r":default:s=f}return c=i(s),c[r]/100*o}return"vh"===e||"vw"===e?(l="vh"===e?t(document.documentElement.clientHeight,window.innerHeight||0):t(document.documentElement.clientWidth,window.innerWidth||0),l/100*o):o}function tr(n,t,i,r){var s=[0,0],c=-1!==["right","left"].indexOf(r),u=n.split(/(\+|\-)/).map(function(n){return n.trim()}),f=u.indexOf(h(u,function(n){return-1!==n.search(/,|\s/)})),o,e;return u[f]&&-1===u[f].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),o=/\s*,\s*|\s+/,e=-1===f?[u]:[u.slice(0,f).concat([u[f].split(o)[0]]),[u[f].split(o)[1]].concat(u.slice(f+1))],e=e.map(function(n,r){var f=(1===r?!c:c)?"height":"width",u=!1;return n.reduce(function(n,t){return""===n[n.length-1]&&-1!==["+","-"].indexOf(t)?(n[n.length-1]=t,u=!0,n):u?(n[n.length-1]+=t,u=!1,n):n.concat(t)},[]).map(function(n){return nr(n,f,t,i)})}),e.forEach(function(n,t){n.forEach(function(i,r){g(i)&&(s[t]+=i*("-"===n[r-1]?-1:1))})}),s}function ir(n,t){var r,f=t.offset,o=n.placement,e=n.offsets,i=e.popper,s=e.reference,u=o.split("-")[0];return r=g(+f)?[+f,0]:tr(f,i,s,u),"left"===u?(i.top+=r[0],i.left-=r[1]):"right"===u?(i.top+=r[0],i.left+=r[1]):"top"===u?(i.left+=r[0],i.top-=r[1]):"bottom"===u&&(i.left+=r[0],i.top+=r[1]),n.popper=i,n}for(var ti=Math.min,tt=Math.floor,it=Math.round,t=Math.max,c="undefined"!=typeof window&&"undefined"!=typeof document,ii=["Edge","Trident","Firefox"],ri=0,rt=0;rt<ii.length;rt+=1)if(c&&0<=navigator.userAgent.indexOf(ii[rt])){ri=1;break}var rr=c&&window.Promise,ur=rr?function(n){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1;n()}))}}:function(n){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1;n()},ri))}},ui=c&&!!(window.MSInputMethodContext&&document.documentMode),fi=c&&/MSIE 10/.test(navigator.userAgent),fr=function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");},er=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=function(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n},n=Object.assign||function(n){for(var t,r,i=1;i<arguments.length;i++)for(r in t=arguments[i],t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},or=c&&/Firefox/i.test(navigator.userAgent),ei=["auto-start","auto","auto-end","top-start","to
14p","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ut=ei.slice(3),ft={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},v=function(){function t(i,r){var u=this,f=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},e;fr(this,t);this.scheduleUpdate=function(){return requestAnimationFrame(u.update)};this.update=ur(this.update.bind(this));this.options=n({},t.Defaults,f);this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]};this.reference=i&&i.jquery?i[0]:i;this.popper=r&&r.jquery?r[0]:r;this.options.modifiers={};Object.keys(n({},t.Defaults.modifiers,f.modifiers)).forEach(function(i){u.options.modifiers[i]=n({},t.Defaults.modifiers[i]||{},f.modifiers?f.modifiers[i]:{})});this.modifiers=Object.keys(this.options.modifiers).map(function(t){return n({name:t},u.options.modifiers[t])}).sort(function(n,t){return n.order-t.order});this.modifiers.forEach(function(n){n.enabled&&et(n.onLoad)&&n.onLoad(u.reference,u.popper,u.options,n,u.state)});this.update();e=this.options.eventsEnabled;e&&this.enableEventListeners();this.state.eventsEnabled=e}return er(t,[{key:"update",value:function(){return ai.call(this)}},{key:"destroy",value:function(){return vi.call(this)}},{key:"enableEventListeners",value:function(){return pi.call(this)}},{key:"disableEventListeners",value:function(){return bi.call(this)}}]),t}();return v.Utils=("undefined"==typeof window?global:window).PopperUtils,v.placements=ei,v.Defaults={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var u=t.placement,l=u.split("-")[0],f=u.split("-")[1];if(f){var e=t.offsets,r=e.reference,s=e.popper,h=-1!==["bottom","top"].indexOf(l),i=h?"left":"top",c=h?"width":"height",a={start:o({},i,r[i]),end:o({},i,r[i]+r[c]-s[c])};t.offsets.popper=n({},s,a[f])}return t}},offset:{order:200,enabled:!0,fn:ir,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(i,r){var h=r.boundariesElement||f(i.instance.popper),s;i.instance.reference===h&&(h=f(h));var c=d("transform"),e=i.instance.popper.style,l=e.top,a=e.left,v=e[c];e.top="";e.left="";e[c]="";s=k(i.instance.popper,i.instance.reference,r.padding,h,i.positionFixed);e.top=l;e.left=a;e[c]=v;r.boundaries=s;var y=r.priority,u=i.offsets.popper,p={primary:function(n){var i=u[n];return u[n]<s[n]&&!r.escapeWithReference&&(i=t(u[n],s[n])),o({},n,i)},secondary:function(n){var t="right"===n?"left":"top",i=u[t];return u[n]>s[n]&&!r.escapeWithReference&&(i=ti(u[t],s[n]-("right"===n?u.width:u.height))),o({},t,i)}};return y.forEach(function(t){var i=-1===["left","top"].indexOf(t)?"secondary":"primary";u=n({},u,p[i](t))}),i.offsets.popper=u,i},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(n){var o=n.offsets,u=o.popper,i=o.reference,s=n.placement.split("-")[0],r=tt,f=-1!==["top","bottom"].indexOf(s),e=f?"right":"bottom",t=f?"left":"top",h=f?"width":"height";return u[e]<r(i[t])&&(n.offsets.popper[t]=r(i[t])-u[h]),u[t]>r(i[e])&&(n.offsets.popper[t]=r(i[e])),n}},arrow:{order:500,enabled:!0,fn:function(n,u){var l,e;if(!gt(n.instance.modifiers,"arrow","keepTogether"))return n;if(e=u.element,"string"==typeof e){if(e=n.instance.popper.querySelector(e),!e)return n}else if(!n.instance.popper.contains(e))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),n;var d=n.placement.split("-")[0],b=n.offsets,c=b.popper,s=b.reference,a=-1!==["left","right"].indexOf(d),y=a?"height":"width",p=a?"Top":"Left",f=p.toLowerCase(),g=a?"left":"top",v=a?"bottom":"right",h=yt(e)[y];s[v]-h<c[f]&&(n.offsets.popper[f]-=c[f]-(s[v]-h));s[f]+h>c[v]&&(n.offsets.popper[f]+=s[f]+h-c[v]);n.offsets.popper=i(n.offsets.popper);var nt=s[f]+s[y]/2-h/2,k=r(n.instance.popper),tt=parseFloat(k["margin"+p],10),rt=parseFloat(k["border"+p+"Width"],10),w=nt-n.offsets.popper[f]-tt-rt;return w=t(ti(c[y]-h,w),0),n.arrowElement=e,n.offsets.arrow=(l={},o(l,f,it(w)),o(l,g,""),l),n},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,i){if(bt(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var e=k(t.instance.popper,t.instance.reference,i.padding,i.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=a(r),u=t.placement.split("-")[1]||"",f=[];switch(i.behavior){case ft.FLIP:f=[r,o];break;case ft.CLOCKWISE:f=ni(r);break;case ft.COUNTERCLOCKWISE:f=ni(r,!0);break;default:f=i.behavior}
14return f.forEach(function(s,h){if(r!==s||f.length===h+1)return t;r=t.placement.split("-")[0];o=a(r);var l=t.offsets.popper,v=t.offsets.reference,c=tt,p="left"===r&&c(l.right)>c(v.left)||"right"===r&&c(l.left)<c(v.right)||"top"===r&&c(l.bottom)>c(v.top)||"bottom"===r&&c(l.top)<c(v.bottom),w=c(l.left)<c(e.left),b=c(l.right)>c(e.right),k=c(l.top)<c(e.top),d=c(l.bottom)>c(e.bottom),g="left"===r&&w||"right"===r&&b||"top"===r&&k||"bottom"===r&&d,y=-1!==["top","bottom"].indexOf(r),nt=!!i.flipVariations&&(y&&"start"===u&&w||y&&"end"===u&&b||!y&&"start"===u&&k||!y&&"end"===u&&d);(p||g||nt)&&(t.flipped=!0,(p||g)&&(r=f[h+1]),nt&&(u=gi(u)),t.placement=r+(u?"-"+u:""),t.offsets.popper=n({},t.offsets.popper,pt(t.instance.popper,t.offsets.reference,t.placement)),t=wt(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(n){var u=n.placement,t=u.split("-")[0],f=n.offsets,r=f.popper,o=f.reference,e=-1!==["left","right"].indexOf(t),s=-1===["top","left"].indexOf(t);return r[e?"left":"top"]=o[t]-(s?r[e?"width":"height"]:0),n.placement=a(u),n.offsets.popper=i(r),n}},hide:{order:800,enabled:!0,fn:function(n){if(!gt(n.instance.modifiers,"hide","preventOverflow"))return n;var t=n.offsets.reference,i=h(n.instance.modifiers,function(n){return"preventOverflow"===n.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===n.hide)return n;n.hide=!0;n.attributes["x-out-of-boundaries"]=""}else{if(!1===n.hide)return n;n.hide=!1;n.attributes["x-out-of-boundaries"]=!1}return n}},computeStyle:{order:850,enabled:!0,fn:function(t,i){var g=i.x,nt=i.y,tt=t.offsets.popper,c=h(t.instance.modifiers,function(n){return"applyStyle"===n.name}).gpuAcceleration,p,b,k;void 0!==c&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var l,a,it=void 0===c?i.gpuAcceleration:c,e=f(t.instance.popper),v=w(e),r={position:tt.position},u=di(t,2>window.devicePixelRatio||!or),o="bottom"===g?"top":"bottom",s="right"===nt?"left":"right",y=d("transform");return(a="bottom"==o?"HTML"===e.nodeName?-e.clientHeight+u.bottom:-v.height+u.bottom:u.top,l="right"==s?"HTML"===e.nodeName?-e.clientWidth+u.right:-v.width+u.right:u.left,it&&y)?(r[y]="translate3d("+l+"px, "+a+"px, 0)",r[o]=0,r[s]=0,r.willChange="transform"):(p="bottom"==o?-1:1,b="right"==s?-1:1,r[o]=a*p,r[s]=l*b,r.willChange=o+", "+s),k={"x-placement":t.placement},t.attributes=n({},k,t.attributes),t.styles=n({},r,t.styles),t.arrowStyles=n({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(n){return nt(n.instance.popper,n.styles),ki(n.instance.popper,n.attributes),n.arrowElement&&Object.keys(n.arrowStyles).length&&nt(n.arrowElement,n.arrowStyles),n},onLoad:function(n,t,i,r,u){var f=vt(u,t,n,i.positionFixed),e=at(i.placement,f,t,n,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",e),nt(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},v}),function(n,t,i){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"&&typeof Meteor=="undefined"?module.exports=n(require("jquery")):n(t||i)}(function(n){"use strict";var i=function(t,i,r){var u={invalid:[],getCaret:function(){try{var n,i=0,e=t.get(0),f=document.selection,r=e.selectionStart;return f&&navigator.appVersion.indexOf("MSIE 10")===-1?(n=f.createRange(),n.moveStart("character",-u.val().length),i=n.text.length):(r||r==="0")&&(i=r),i}catch(o){}},setCaret:function(n){try{if(t.is(":focus")){var i,r=t.get(0);r.setSelectionRange?r.setSelectionRange(n,n):(i=r.createTextRange(),i.collapse(!0),i.moveEnd("character",n),i.moveStart("character",n),i.select())}}catch(u){}},events:function(){t.on("keydown.mask",function(n){t.data("mask-keycode",n.keyCode||n.which);t.data("mask-previus-value",t.val());t.data("mask-previus-caret-pos",u.getCaret());u.maskDigitPosMapOld=u.maskDigitPosMap}).on(n.jMaskGlobals.useInput?"input.mask":"keyup.mask",u.behaviour).on("paste.mask drop.mask",function(){setTimeout(function(){t.keydown().keyup()},100)}).on("change.mask",function(){t.data("changed",!0)}).on("blur.mask",function(){e===u.val()||t.data("changed")||t.trigger("change");t.data("changed",!1)}).on("blur.mask",function(){e=u.val()}).on("focus.mask",function(t){r.selectOnFocus===!0&&n(t.target).select()}).on("focusout.mask",function(){r.clearIfNotMatch&&!o.test(u.val())&&u.val("")}
14)},getRegexMask:function(){for(var u=[],r,e,h,s,n,o,t=0;t<i.length;t++)r=f.translation[i.charAt(t)],r?(e=r.pattern.toString().replace(/.{1}$|^.{1}/g,""),h=r.optional,s=r.recursive,s?(u.push(i.charAt(t)),n={digit:i.charAt(t),pattern:e}):u.push(!h&&!s?e:e+"?")):u.push(i.charAt(t).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));return o=u.join(""),n&&(o=o.replace(new RegExp("("+n.digit+"(.*"+n.digit+")?)"),"($1)?").replace(new RegExp(n.digit,"g"),n.pattern)),new RegExp(o)},destroyEvents:function(){t.off(["input","keydown","keyup","paste","drop","blur","focusout",""].join(".mask "))},val:function(n){var u=t.is("input"),i=u?"val":"text",r;return arguments.length>0?(t[i]()!==n&&t[i](n),r=t):r=t[i](),r},calculateCaretPosition:function(n){var s=u.getMasked(),i=u.getCaret(),v;if(n!==s){for(var f=t.data("mask-previus-caret-pos")||0,h=s.length,c=n.length,l=0,a=0,e=0,o=0,r=0,r=i;r<h;r++){if(!u.maskDigitPosMap[r])break;a++}for(r=i-1;r>=0;r--){if(!u.maskDigitPosMap[r])break;l++}for(r=i-1;r>=0;r--)u.maskDigitPosMap[r]&&e++;for(r=f-1;r>=0;r--)u.maskDigitPosMapOld[r]&&o++;i>c?i=h*10:f>=i&&f!==c?u.maskDigitPosMapOld[i]||(v=i,i-=o-e,i-=l,u.maskDigitPosMap[i]&&(i=v)):i>f&&(i+=e-o,i+=a)}return i},behaviour:function(i){var r;if(i=i||window.event,u.invalid=[],r=t.data("mask-keycode"),n.inArray(r,f.byPassKeys)===-1){var e=u.getMasked(),o=u.getCaret(),s=t.data("mask-previus-value")||"";return setTimeout(function(){u.setCaret(u.calculateCaretPosition(s))},n.jMaskGlobals.keyStrokeCompensation),u.val(e),u.setCaret(o),u.callbacks(i)}},getMasked:function(n,t){var c=[],rt=t===undefined?u.val():t+"",e=0,y=i.length,o=0,p=rt.length,s=1,w="push",l=-1,k=0,d=[],a,g,nt,tt,it;for(r.reverse?(w="unshift",s=-1,a=0,e=y-1,o=p-1,g=function(){return e>-1&&o>-1}):(a=y-1,g=function(){return e<y&&o<p});g();){var b=i.charAt(e),v=rt.charAt(o),h=f.translation[b];h?(v.match(h.pattern)?(c[w](v),h.recursive&&(l===-1?l=e:e===a&&e!==l&&(e=l-s),a===l&&(e-=s)),e+=s):v===nt?(k--,nt=undefined):h.optional?(e+=s,o-=s):h.fallback?(c[w](h.fallback),e+=s,o-=s):u.invalid.push({p:o,v:v,e:h.pattern}),o+=s):(n||c[w](b),v===b?(d.push(o),o+=s):(nt=b,d.push(o+k),k++),e+=s)}return tt=i.charAt(a),y!==p+1||f.translation[tt]||c.push(tt),it=c.join(""),u.mapMaskdigitPositions(it,d,p),it},mapMaskdigitPositions:function(n,t,i){var e=r.reverse?n.length-i:0,f;for(u.maskDigitPosMap={},f=0;f<t.length;f++)u.maskDigitPosMap[t[f]+e]=1},callbacks:function(n){var f=u.val(),h=f!==e,s=[f,n,t,r],o=function(n,t,i){typeof r[n]=="function"&&t&&r[n].apply(this,i)};o("onChange",h===!0,s);o("onKeyPress",h===!0,s);o("onComplete",f.length===i.length,s);o("onInvalid",u.invalid.length>0,[f,n,t,u.invalid,r])}},f,e,o;t=n(t);f=this;e=u.val();i=typeof i=="function"?i(u.val(),undefined,t,r):i;f.mask=i;f.options=r;f.remove=function(){var n=u.getCaret();return f.options.placeholder&&t.removeAttr("placeholder"),t.data("mask-maxlength")&&t.removeAttr("maxlength"),u.destroyEvents(),u.val(f.getCleanVal()),u.setCaret(n),t};f.getCleanVal=function(){return u.getMasked(!0)};f.getMaskedVal=function(n){return u.getMasked(!1,n)};f.init=function(e){var s,h,c,l;if(e=e||!1,r=r||{},f.clearIfNotMatch=n.jMaskGlobals.clearIfNotMatch,f.byPassKeys=n.jMaskGlobals.byPassKeys,f.translation=n.extend({},n.jMaskGlobals.translation,r.translation),f=n.extend(!0,{},f,r),o=u.getRegexMask(),e)u.events(),u.val(u.getMasked());else{for(r.placeholder&&t.attr("placeholder",r.placeholder),t.data("mask")&&t.attr("autocomplete","off"),s=0,h=!0;s<i.length;s++)if(c=f.translation[i.charAt(s)],c&&c.recursive){h=!1;break}h&&t.attr("maxlength",i.length).data("mask-maxlength",!0);u.destroyEvents();u.events();l=u.getCaret();u.val(u.getMasked());u.setCaret(l)}};f.init(!t.is("input"))},t;n.maskWatchers={};var u=function(){var t=n(this),u={},f="data-mask-",e=t.attr("data-mask");return t.attr(f+"reverse")&&(u.reverse=!0),t.attr(f+"clearifnotmatch")&&(u.clearIfNotMatch=!0),t.attr(f+"selectonfocus")==="true"&&(u.selectOnFocus=!0),r(t,e,u)?t.data("mask",new i(this,e,u)):void 0},r=function(t,i,r){r=r||{};var u=n(t).data("mask"),f=JSON.stringify,e=n(t).val()||n(t).text();try{return typeof i=="function"&&(i=i(e)),typeof u!="object"||f(u.options)!==f(r)||u.mask!==i}catch(o){}},f=function(n){var t=document.createElement("div"),i;return n="on"+n,i=n in t,i||(t.setAttribute(n,"return;"),i=typeof t[n]=="function"),t=null,i};n.fn.mask=function(t,u){u=u||{};var f=this.selector,e=n.jMaskGlobals,s=e.watchInterval,h=u.watchInputs||e.watchInputs,o=function(){if(r(this,t,u))return n(this).data("mask",new i(this,t,u))};return n(this).each(o),f&&f!==""&&h&&(clearInterval(n.maskWatchers[f]),n.maskWatchers[f]=setInterval(function(){n(document).find(f).each(o)},s)),this};n.fn.masked=function(n){return this.data("mask").getMaskedVal(n)};n.fn.unmask=function(){return clearInterval(n.maskWatchers[this.selector]),delete n.maskWatchers[this.selector],this.each(function(){var t=n(this).data("mask");t&&t.remove().removeData("mask")})};n.fn.cleanVal=function(){return this.data("mask").getCleanVal()};n.applyDataMask=function(t){t=t||n.jMaskGlobals.maskElements;var i=t instanceof n?t:n(t);i.filter(n.jMaskGlobals.dataMaskAttr).each(u)};t={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,keyStrokeCompensation:10,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&f("input"),watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{"0":{pattern:/\d/},"9":{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}};n.jMaskGlobals=n.jMaskGlobals||{};t=n.jMaskGlobals=n.extend(!0,{},t,n.jMaskGlobals);t.dataMask&&n.applyDataMask();setInterval(function(){n.jMaskGlobals.watchDataMask&&n.applyDataMask()},t.watchInterval)},window.jQuery,window.Zepto),function(n){"use strict";typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports!="undefined"?module.exports=n(require("jquery")):n(jQuery)}(function(n){"use strict";var t=window.Slick||{};t=function(){function i(i,r){var u=this,f;u.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:n(i),appendDots:n(i),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous<\/button>
14',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next<\/button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,i){return n('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3};u.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1};n.extend(u,u.initials);u.activeBreakpoint=null;u.animType=null;u.animProp=null;u.breakpoints=[];u.breakpointSettings=[];u.cssTransitions=!1;u.focussed=!1;u.interrupted=!1;u.hidden="hidden";u.paused=!0;u.positionProp=null;u.respondTo=null;u.rowCount=1;u.shouldClick=!0;u.$slider=n(i);u.$slidesCache=null;u.transformType=null;u.transitionType=null;u.visibilityChange="visibilitychange";u.windowWidth=0;u.windowTimer=null;f=n(i).data("slick")||{};u.options=n.extend({},u.defaults,r,f);u.currentSlide=u.options.initialSlide;u.originalSettings=u.options;typeof document.mozHidden!="undefined"?(u.hidden="mozHidden",u.visibilityChange="mozvisibilitychange"):typeof document.webkitHidden!="undefined"&&(u.hidden="webkitHidden",u.visibilityChange="webkitvisibilitychange");u.autoPlay=n.proxy(u.autoPlay,u);u.autoPlayClear=n.proxy(u.autoPlayClear,u);u.autoPlayIterator=n.proxy(u.autoPlayIterator,u);u.changeSlide=n.proxy(u.changeSlide,u);u.clickHandler=n.proxy(u.clickHandler,u);u.selectHandler=n.proxy(u.selectHandler,u);u.setPosition=n.proxy(u.setPosition,u);u.swipeHandler=n.proxy(u.swipeHandler,u);u.dragHandler=n.proxy(u.dragHandler,u);u.keyHandler=n.proxy(u.keyHandler,u);u.instanceUid=t++;u.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;u.registerBreakpoints();u.init(!0)}var t=0;return i}();t.prototype.activateADA=function(){var n=this;n.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})};t.prototype.addSlide=t.prototype.slickAdd=function(t,i,r){var u=this;if(typeof i=="boolean")r=i,i=null;else if(i<0||i>=u.slideCount)return!1;u.unload();typeof i=="number"?i===0&&u.$slides.length===0?n(t).appendTo(u.$slideTrack):r?n(t).insertBefore(u.$slides.eq(i)):n(t).insertAfter(u.$slides.eq(i)):r===!0?n(t).prependTo(u.$slideTrack):n(t).appendTo(u.$slideTrack);u.$slides=u.$slideTrack.children(this.options.slide);u.$slideTrack.children(this.options.slide).detach();u.$slideTrack.append(u.$slides);u.$slides.each(function(t,i){n(i).attr("data-slick-index",t)});u.$slidesCache=u.$slides;u.reinit()};t.prototype.animateHeight=function(){var n=this,t;n.options.slidesToShow===1&&n.options.adaptiveHeight===!0&&n.options.vertical===!1&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.animate({height:t},n.options.speed))};t.prototype.animateSlide=function(t,i){var u={},r=this;r.animateHeight();r.options.rtl===!0&&r.options.vertical===!1&&(t=-t);r.transformsEnabled===!1?r.options.vertical===!1?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,i):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,i):r.cssTransitions===!1?(r.options.rtl===!0&&(r.currentLeft=-r.currentLeft),n({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(n){n=Math.ceil(n);r.options.vertical===!1?(u[r.animType]="translate("+n+"px, 0px)",r.$slideTrack.css(u)):(u[r.animType]="translate(0px,"+n+"px)",r.$slideTrack.css(u))},complete:function(){i&&i.call()}})):(r.applyTransition(),t=Math.ceil(t),u[r.animType]=r.options.vertical===!1?"translate3d("+t+"px, 0px, 0px)":"translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(u),i&&setTimeout(function(){r.disableTransition();i.call()},r.options.speed))};t.prototype.getNavTarget=function(){var i=this,t=i.options.asNavFor;return t&&t!==null&&(t=n(t).not(i.$slider)),t};t.prototype.asNavFor=function(t){var r=this,i=r.getNavTarget();i!==null&&typeof i=="object"&&i.each(function(){var i=n(this).slick("getSlick");i.unslicked||i.slideHandler(t,!0)})};t.prototype.applyTransition=function(n){var t=this,i={};i[t.transitionType]=t.options.fade===!1?t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:"opacity "+t.options.speed+"ms "+t.options.cssEase;t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.autoPlay=function(){var n=this;n.autoPlayClear();n.slideCount>n.options.slidesToShow&&(n.autoPlayTimer=setInterval(n.autoPlayIterator,n.options.autoplaySpeed))};t.prototype.autoPlayClear=function(){var n=this;n.autoPlayTimer&&clearInterval(n.autoPlayTimer)};t.prototype.autoPlayIterator=function(){var n=this,t=n.currentSlide+n.options.slidesToScroll;n.paused||n.interrupted||n.focussed||(n.options.infinite===!1&&(n.direction===1&&n.currentSlide+1===n.slideCount-1?n.direction=0:n.direction===0&&(t=n.currentSlide-n.options.slidesToScroll,n.currentSlide-1==0&&(n.direction=1))),n.slideHandler(t))};t.prototype.buildArrows=function(){var t=this;
14t.options.arrows===!0&&(t.$prevArrow=n(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=n(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),t.options.infinite!==!0&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))};t.prototype.buildDots=function(){var t=this,i,r;if(t.options.dots===!0&&t.slideCount>t.options.slidesToShow){for(t.$slider.addClass("slick-dotted"),r=n("<ul />").addClass(t.options.dotsClass),i=0;i<=t.getDotCount();i+=1)r.append(n("<li />").append(t.options.customPaging.call(this,t,i)));t.$dots=r.appendTo(t.options.appendDots);t.$dots.find("li").first().addClass("slick-active")}};t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide");t.slideCount=t.$slides.length;t.$slides.each(function(t,i){n(i).attr("data-slick-index",t).data("originalStyling",n(i).attr("style")||"")});t.$slider.addClass("slick-slider");t.$slideTrack=t.slideCount===0?n('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent();t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent();t.$slideTrack.css("opacity",0);(t.options.centerMode===!0||t.options.swipeToSlide===!0)&&(t.options.slidesToScroll=1);n("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading");t.setupInfinite();t.buildArrows();t.buildDots();t.updateDots();t.setSlideClasses(typeof t.currentSlide=="number"?t.currentSlide:0);t.options.draggable===!0&&t.$list.addClass("draggable")};t.prototype.buildRows=function(){var n=this,t,i,r,f,c,u,e,o,s,h;if(f=document.createDocumentFragment(),u=n.$slider.children(),n.options.rows>0){for(e=n.options.slidesPerRow*n.options.rows,c=Math.ceil(u.length/e),t=0;t<c;t++){for(o=document.createElement("div"),i=0;i<n.options.rows;i++){for(s=document.createElement("div"),r=0;r<n.options.slidesPerRow;r++)h=t*e+(i*n.options.slidesPerRow+r),u.get(h)&&s.appendChild(u.get(h));o.appendChild(s)}f.appendChild(o)}n.$slider.empty().append(f);n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}};t.prototype.checkResponsive=function(t,i){var r=this,f,u,e,o=!1,s=r.$slider.width(),h=window.innerWidth||n(window).width();if(r.respondTo==="window"?e=h:r.respondTo==="slider"?e=s:r.respondTo==="min"&&(e=Math.min(h,s)),r.options.responsive&&r.options.responsive.length&&r.options.responsive!==null){u=null;for(f in r.breakpoints)r.breakpoints.hasOwnProperty(f)&&(r.originalSettings.mobileFirst===!1?e<r.breakpoints[f]&&(u=r.breakpoints[f]):e>r.breakpoints[f]&&(u=r.breakpoints[f]));u!==null?r.activeBreakpoint!==null?(u!==r.activeBreakpoint||i)&&(r.activeBreakpoint=u,r.breakpointSettings[u]==="unslick"?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):(r.activeBreakpoint=u,r.breakpointSettings[u]==="unslick"?r.unslick(u):(r.options=n.extend({},r.originalSettings,r.breakpointSettings[u]),t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t)),o=u):r.activeBreakpoint!==null&&(r.activeBreakpoint=null,r.options=r.originalSettings,t===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(t),o=u);t||o===!1||r.$slider.trigger("breakpoint",[r,o])}};t.prototype.changeSlide=function(t,i){var r=this,u=n(t.currentTarget),f,e,o,s;u.is("a")&&t.preventDefault();u.is("li")||(u=u.closest("li"));o=r.slideCount%r.options.slidesToScroll!=0;f=o?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll;switch(t.data.message){case"previous":e=f===0?r.options.slidesToScroll:r.options.slidesToShow-f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-e,!1,i);break;case"next":e=f===0?r.options.slidesToScroll:f;r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+e,!1,i);break;case"index":s=t.data.index===0?0:t.data.index||u.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(s),!1,i);u.children().trigger("focus");break;default:return}};t.prototype.checkNavigable=function(n){var u=this,t,i,r;if(t=u.getNavigableIndexes(),i=0,n>t[t.length-1])n=t[t.length-1];else for(r in t){if(n<t[r]){n=i;break}i=t[r]}return n};t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&t.$dots!==null&&(n("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",n.proxy(t.
14interrupt,t,!0)).off("mouseleave.slick",n.proxy(t.interrupt,t,!1)),t.options.accessibility===!0&&t.$dots.off("keydown.slick",t.keyHandler));t.$slider.off("focus.slick blur.slick");t.options.arrows===!0&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),t.options.accessibility===!0&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler)));t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler);t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler);t.$list.off("touchend.slick mouseup.slick",t.swipeHandler);t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler);t.$list.off("click.slick",t.clickHandler);n(document).off(t.visibilityChange,t.visibility);t.cleanUpSlideEvents();t.options.accessibility===!0&&t.$list.off("keydown.slick",t.keyHandler);t.options.focusOnSelect===!0&&n(t.$slideTrack).children().off("click.slick",t.selectHandler);n(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange);n(window).off("resize.slick.slick-"+t.instanceUid,t.resize);n("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault);n(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",n.proxy(t.interrupt,t,!0));t.$list.off("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.cleanUpRows=function(){var n=this,t;n.options.rows>0&&(t=n.$slides.children().children(),t.removeAttr("style"),n.$slider.empty().append(t))};t.prototype.clickHandler=function(n){var t=this;t.shouldClick===!1&&(n.stopImmediatePropagation(),n.stopPropagation(),n.preventDefault())};t.prototype.destroy=function(t){var i=this;i.autoPlayClear();i.touchObject={};i.cleanUpEvents();n(".slick-cloned",i.$slider).detach();i.$dots&&i.$dots.remove();i.$prevArrow&&i.$prevArrow.length&&(i.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove());i.$nextArrow&&i.$nextArrow.length&&(i.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove());i.$slides&&(i.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){n(this).attr("style",n(this).data("originalStyling"))}),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.detach(),i.$list.detach(),i.$slider.append(i.$slides));i.cleanUpRows();i.$slider.removeClass("slick-slider");i.$slider.removeClass("slick-initialized");i.$slider.removeClass("slick-dotted");i.unslicked=!0;t||i.$slider.trigger("destroy",[i])};t.prototype.disableTransition=function(n){var t=this,i={};i[t.transitionType]="";t.options.fade===!1?t.$slideTrack.css(i):t.$slides.eq(n).css(i)};t.prototype.fadeSlide=function(n,t){var i=this;i.cssTransitions===!1?(i.$slides.eq(n).css({zIndex:i.options.zIndex}),i.$slides.eq(n).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(n),i.$slides.eq(n).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(n);t.call()},i.options.speed))};t.prototype.fadeSlideOut=function(n){var t=this;t.cssTransitions===!1?t.$slides.eq(n).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(n),t.$slides.eq(n).css({opacity:0,zIndex:t.options.zIndex-2}))};t.prototype.filterSlides=t.prototype.slickFilter=function(n){var t=this;n!==null&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(n).appendTo(t.$slideTrack),t.reinit())};t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(){var i=n(this);setTimeout(function(){t.options.pauseOnFocus&&i.is(":focus")&&(t.focussed=!0,t.autoPlay())}
14,0)}).on("blur.slick","*",function(){var i=n(this);t.options.pauseOnFocus&&(t.focussed=!1,t.autoPlay())})};t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){var n=this;return n.currentSlide};t.prototype.getDotCount=function(){var n=this,i=0,r=0,t=0;if(n.options.infinite===!0)if(n.slideCount<=n.options.slidesToShow)++t;else while(i<n.slideCount)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else if(n.options.centerMode===!0)t=n.slideCount;else if(n.options.asNavFor)while(i<n.slideCount)++t,i=r+n.options.slidesToScroll,r+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;else t=1+Math.ceil((n.slideCount-n.options.slidesToShow)/n.options.slidesToScroll);return t-1};t.prototype.getLeft=function(n){var t=this,f,r,u=0,i,e;return t.slideOffset=0,r=t.$slides.first().outerHeight(!0),t.options.infinite===!0?(t.slideCount>t.options.slidesToShow&&(t.slideOffset=t.slideWidth*t.options.slidesToShow*-1,e=-1,t.options.vertical===!0&&t.options.centerMode===!0&&(t.options.slidesToShow===2?e=-1.5:t.options.slidesToShow===1&&(e=-2)),u=r*t.options.slidesToShow*e),t.slideCount%t.options.slidesToScroll!=0&&n+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow&&(n>t.slideCount?(t.slideOffset=(t.options.slidesToShow-(n-t.slideCount))*t.slideWidth*-1,u=(t.options.slidesToShow-(n-t.slideCount))*r*-1):(t.slideOffset=t.slideCount%t.options.slidesToScroll*t.slideWidth*-1,u=t.slideCount%t.options.slidesToScroll*r*-1))):n+t.options.slidesToShow>t.slideCount&&(t.slideOffset=(n+t.options.slidesToShow-t.slideCount)*t.slideWidth,u=(n+t.options.slidesToShow-t.slideCount)*r),t.slideCount<=t.options.slidesToShow&&(t.slideOffset=0,u=0),t.options.centerMode===!0&&t.slideCount<=t.options.slidesToShow?t.slideOffset=t.slideWidth*Math.floor(t.options.slidesToShow)/2-t.slideWidth*t.slideCount/2:t.options.centerMode===!0&&t.options.infinite===!0?t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth:t.options.centerMode===!0&&(t.slideOffset=0,t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)),f=t.options.vertical===!1?n*t.slideWidth*-1+t.slideOffset:n*r*-1+u,t.options.variableWidth===!0&&(i=t.slideCount<=t.options.slidesToShow||t.options.infinite===!1?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow),f=t.options.rtl===!0?i[0]?(t.$slideTrack.width()-i[0].offsetLeft-i.width())*-1:0:i[0]?i[0].offsetLeft*-1:0,t.options.centerMode===!0&&(i=t.slideCount<=t.options.slidesToShow||t.options.infinite===!1?t.$slideTrack.children(".slick-slide").eq(n):t.$slideTrack.children(".slick-slide").eq(n+t.options.slidesToShow+1),f=(t.options.rtl===!0?i[0]?(t.$slideTrack.width()-i[0].offsetLeft-i.width())*-1:0:i[0]?i[0].offsetLeft*-1:0)+(t.$list.width()-i.outerWidth())/2)),f};t.prototype.getOption=t.prototype.slickGetOption=function(n){var t=this;return t.options[n]};t.prototype.getNavigableIndexes=function(){var n=this,t=0,i=0,u=[],r;for(n.options.infinite===!1?r=n.slideCount:(t=n.options.slidesToScroll*-1,i=n.options.slidesToScroll*-1,r=n.slideCount*2);t<r;)u.push(t),t=i+n.options.slidesToScroll,i+=n.options.slidesToScroll<=n.options.slidesToShow?n.options.slidesToScroll:n.options.slidesToShow;return u};t.prototype.getSlick=function(){return this};t.prototype.getSlideCount=function(){var t=this,i,r,u;return u=t.options.centerMode===!0?Math.floor(t.$list.width()/2):0,r=t.swipeLeft*-1+u,t.options.swipeToSlide===!0?(t.$slideTrack.find(".slick-slide").each(function(u,f){var e,o,s;return e=n(f).outerWidth(),o=f.offsetLeft,t.options.centerMode!==!0&&(o+=e/2),s=o+e,r<s?(i=f,!1):void 0}),Math.abs(n(i).attr("data-slick-index")-t.currentSlide)||1):t.options.slidesToScroll};t.prototype.goTo=t.prototype.slickGoTo=function(n,t){var i=this;i.changeSlide({data:{message:"index",index:parseInt(n)}},t)};t.prototype.init=function(t){var i=this;n(i.$slider).hasClass("slick-initialized")||(n(i.$slider).addClass("slick-initialized"),i.buildRows(),i.buildOut(),i.setProps(),i.startLoad(),i.loadSlider(),i.initializeEvents(),i.updateArrows(),i.updateDots(),i.checkResponsive(!0),i.focusHandler());t&&i.$slider.trigger("init",[i]);i.options.accessibility===!0&&i.initADA();i.options.autoplay&&(i.paused=!1,i.autoPlay())};t.prototype.initADA=function(){var t=this,f=Math.ceil(t.slideCount/t.options.slidesToShow),r=t.getNavigableIndexes().filter(function(n){return n>=0&&n<t.slideCount}),i,u;for(t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),t.$dots!==null&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(i){var f=r.indexOf(i),u;n(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+i,tabindex:-1});f!==-1&&(u="slick-slide-control"+t.instanceUid+f,n("#"+u).length&&n(this).attr({"aria-describedby":u}))}),t.$dots.attr("role","tablist").find("li").each(function(i){var u=r[i];n(this).attr({role:"presentation"});n(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+i,"aria-controls":"slick-slide"+t.instanceUid+u,"aria-label":i+1+" of "+f,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}
14).end()),i=t.currentSlide,u=i+t.options.slidesToShow;i<u;i++)t.options.focusOnChange?t.$slides.eq(i).attr({tabindex:"0"}):t.$slides.eq(i).removeAttr("tabindex");t.activateADA()};t.prototype.initArrowEvents=function(){var n=this;if(n.options.arrows===!0&&n.slideCount>n.options.slidesToShow){n.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},n.changeSlide);n.$nextArrow.off("click.slick").on("click.slick",{message:"next"},n.changeSlide);if(n.options.accessibility===!0){n.$prevArrow.on("keydown.slick",n.keyHandler);n.$nextArrow.on("keydown.slick",n.keyHandler)}}};t.prototype.initDotEvents=function(){var t=this;if(t.options.dots===!0&&t.slideCount>t.options.slidesToShow){n("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide);if(t.options.accessibility===!0)t.$dots.on("keydown.slick",t.keyHandler)}if(t.options.dots===!0&&t.options.pauseOnDotsHover===!0&&t.slideCount>t.options.slidesToShow)n("li",t.$dots).on("mouseenter.slick",n.proxy(t.interrupt,t,!0)).on("mouseleave.slick",n.proxy(t.interrupt,t,!1))};t.prototype.initSlideEvents=function(){var t=this;if(t.options.pauseOnHover){t.$list.on("mouseenter.slick",n.proxy(t.interrupt,t,!0));t.$list.on("mouseleave.slick",n.proxy(t.interrupt,t,!1))}};t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents();t.initDotEvents();t.initSlideEvents();t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler);t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler);t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler);
14t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler);t.$list.on("click.slick",t.clickHandler);n(document).on(t.visibilityChange,n.proxy(t.visibility,t));if(t.options.accessibility===!0)t.$list.on("keydown.slick",t.keyHandler);if(t.options.focusOnSelect===!0)n(t.$slideTrack).children().on("click.slick",t.selectHandler);n(window).on("orientationchange.slick.slick-"+t.instanceUid,n.proxy(t.orientationChange,t));n(window).on("resize.slick.slick-"+t.instanceUid,n.proxy(t.resize,t));n("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault);n(window).on("load.slick.slick-"+t.instanceUid,t.setPosition);n(t.setPosition)};t.prototype.initUI=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.show(),n.$nextArrow.show());n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.show()};t.prototype.keyHandler=function(n){var t=this;n.target.tagName.match("TEXTAREA|INPUT|SELECT")||(n.keyCode===37&&t.options.accessibility===!0?t.changeSlide({data:{message:t.options.rtl===!0?"next":"previous"}}):n.keyCode===39&&t.options.accessibility===!0&&t.changeSlide({data:{message:t.options.rtl===!0?"previous":"next"}}))};t.prototype.lazyLoad=function(){function e(i){n("img[data-lazy]",i).each(function(){var i=n(this),r=n(this).attr("data-lazy"),f=n(this).attr("data-srcset"),e=n(this).attr("data-sizes")||t.$slider.attr("data-sizes"),u=document.createElement("img");u.onload=function(){i.animate({opacity:0}
14,100,function(){f&&(i.attr("srcset",f),e&&i.attr("sizes",e));i.attr("src",r).animate({opacity:1},200,function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")});t.$slider.trigger("lazyLoaded",[t,i,r])})};u.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error");t.$slider.trigger("lazyLoadError",[t,i,r])};u.src=r})}var t=this,u,f,i,r,s;if(t.options.centerMode===!0?t.options.infinite===!0?(i=t.currentSlide+(t.options.slidesToShow/2+1),r=i+t.options.slidesToShow+2):(i=Math.max(0,t.currentSlide-(t.options.slidesToShow/2+1)),r=2+(t.options.slidesToShow/2+1)+t.currentSlide):(i=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide,r=Math.ceil(i+t.options.slidesToShow),t.options.fade===!0&&(i>0&&i--,r<=t.slideCount&&r++)),u=t.$slider.find(".slick-slide").slice(i,r),t.options.lazyLoad==="anticipated"){var o=i-1,h=r,c=t.$slider.find(".slick-slide");for(s=0;s<t.options.slidesToScroll;s++)o<0&&(o=t.slideCount-1),u=u.add(c.eq(o)),u=u.add(c.eq(h)),o--,h++}e(u);t.slideCount<=t.options.slidesToShow?(f=t.$slider.find(".slick-slide"),e(f)):t.currentSlide>=t.slideCount-t.options.slidesToShow?(f=t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow),e(f)):t.currentSlide===0&&(f=t.$slider.find(".slick-cloned").slice(t.options.slidesToShow*-1),e(f))};t.prototype.loadSlider=function(){var n=this;n.setPosition();n.$slideTrack.css({opacity:1});n.$slider.removeClass("slick-loading");n.initUI();n.options.lazyLoad==="progressive"&&n.progressiveLazyLoad()};t.prototype.next=t.prototype.slickNext=function(){var n=this;n.changeSlide({data:{message:"next"}})};t.prototype.orientationChange=function(){var n=this;n.checkResponsive();n.setPosition()};t.prototype.pause=t.prototype.slickPause=function(){var n=this;n.autoPlayClear();n.paused=!0};t.prototype.play=t.prototype.slickPlay=function(){var n=this;n.autoPlay();n.options.autoplay=!0;n.paused=!1;n.focussed=!1;n.interrupted=!1};t.prototype.postSlide=function(t){var i=this,r;i.unslicked||(i.$slider.trigger("afterChange",[i,t]),i.animating=!1,i.slideCount>i.options.slidesToShow&&i.setPosition(),i.swipeLeft=null,i.options.autoplay&&i.autoPlay(),i.options.accessibility===!0&&(i.initADA(),i.options.focusOnChange&&(r=n(i.$slides.get(i.currentSlide)),r.attr("tabindex",0).focus())))};t.prototype.prev=t.prototype.slickPrev=function(){var n=this;n.changeSlide({data:{message:"previous"}})};t.prototype.preventDefault=function(n){n.preventDefault()};t.prototype.progressiveLazyLoad=function(t){t=t||1;var i=this,s=n("img[data-lazy]",i.$slider),r,u,e,o,f;s.length?(r=s.first(),u=r.attr("data-lazy"),e=r.attr("data-srcset"),o=r.attr("data-sizes")||i.$slider.attr("data-sizes"),f=document.createElement("img"),f.onload=function(){e&&(r.attr("srcset",e),o&&r.attr("sizes",o));r.attr("src",u).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading");i.options.adaptiveHeight===!0&&i.setPosition();i.$slider.trigger("lazyLoaded",[i,r,u]);i.progressiveLazyLoad()},f.onerror=function(){t<3?setTimeout(function(){i.progressiveLazyLoad(t+1)},500):(r.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,r,u]),i.progressiveLazyLoad())},f.src=u):i.$slider.trigger("allImagesLoaded",[i])};t.prototype.refresh=function(t){var i=this,r,u;u=i.slideCount-i.options.slidesToShow;!i.options.infinite&&i.currentSlide>u&&(i.currentSlide=u);i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0);r=i.currentSlide;i.destroy(!0);n.extend(i,i.initials,{currentSlide:r});i.init();t||i.changeSlide({data:{message:"index",index:r}},!1)};t.prototype.registerBreakpoints=function(){var t=this,u,f,i,r=t.options.responsive||null;if(n.type(r)==="array"&&r.length){t.respondTo=t.options.respondTo||"window";for(u in r)if(i=t.breakpoints.length-1,r.hasOwnProperty(u)){for(f=r[u].breakpoint;i>=0;)t.breakpoints[i]&&t.breakpoints[i]===f&&t.breakpoints.splice(i,1),i--;t.breakpoints.push(f);t.breakpointSettings[f]=r[u].settings}t.breakpoints.sort(function(n,i){return t.options.mobileFirst?n-i:i-n})}};t.prototype.reinit=function(){var t=this;if(t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&t.currentSlide!==0&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),t.options.focusOnSelect===!0)n(t.$slideTrack).children().on("click.slick",t.selectHandler);t.setSlideClasses(typeof t.currentSlide=="number"?t.currentSlide:0);t.setPosition();t.focusHandler();
14t.paused=!t.options.autoplay;t.autoPlay();t.$slider.trigger("reInit",[t])};t.prototype.resize=function(){var t=this;n(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=n(window).width();t.checkResponsive();t.unslicked||t.setPosition()},50))};t.prototype.removeSlide=t.prototype.slickRemove=function(n,t,i){var r=this;if(typeof n=="boolean"?(t=n,n=t===!0?0:r.slideCount-1):n=t===!0?--n:n,r.slideCount<1||n<0||n>r.slideCount-1)return!1;r.unload();i===!0?r.$slideTrack.children().remove():r.$slideTrack.children(this.options.slide).eq(n).remove();r.$slides=r.$slideTrack.children(this.options.slide);r.$slideTrack.children(this.options.slide).detach();r.$slideTrack.append(r.$slides);r.$slidesCache=r.$slides;r.reinit()};t.prototype.setCSS=function(n){var t=this,i={},r,u;t.options.rtl===!0&&(n=-n);r=t.positionProp=="left"?Math.ceil(n)+"px":"0px";u=t.positionProp=="top"?Math.ceil(n)+"px":"0px";i[t.positionProp]=n;t.transformsEnabled===!1?t.$slideTrack.css(i):(i={},t.cssTransitions===!1?(i[t.animType]="translate("+r+", "+u+")",t.$slideTrack.css(i)):(i[t.animType]="translate3d("+r+", "+u+", 0px)",t.$slideTrack.css(i)))};t.prototype.setDimensions=function(){var n=this,t;n.options.vertical===!1?n.options.centerMode===!0&&n.$list.css({padding:"0px "+n.options.centerPadding}):(n.$list.height(n.$slides.first().outerHeight(!0)*n.options.slidesToShow),n.options.centerMode===!0&&n.$list.css({padding:n.options.centerPadding+" 0px"}));n.listWidth=n.$list.width();n.listHeight=n.$list.height();n.options.vertical===!1&&n.options.variableWidth===!1?(n.slideWidth=Math.ceil(n.listWidth/n.options.slidesToShow),n.$slideTrack.width(Math.ceil(n.slideWidth*n.$slideTrack.children(".slick-slide").length))):n.options.variableWidth===!0?n.$slideTrack.width(5e3*n.slideCount):(n.slideWidth=Math.ceil(n.listWidth),n.$slideTrack.height(Math.ceil(n.$slides.first().outerHeight(!0)*n.$slideTrack.children(".slick-slide").length)));t=n.$slides.first().outerWidth(!0)-n.$slides.first().width();n.options.variableWidth===!1&&n.$slideTrack.children(".slick-slide").width(n.slideWidth-t)};t.prototype.setFade=function(){var t=this,i;t.$slides.each(function(r,u){i=t.slideWidth*r*-1;t.options.rtl===!0?n(u).css({position:"relative",right:i,top:0,zIndex:t.options.zIndex-2,opacity:0}
14):n(u).css({position:"relative",left:i,top:0,zIndex:t.options.zIndex-2,opacity:0})});t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})};t.prototype.setHeight=function(){var n=this,t;n.options.slidesToShow===1&&n.options.adaptiveHeight===!0&&n.options.vertical===!1&&(t=n.$slides.eq(n.currentSlide).outerHeight(!0),n.$list.css("height",t))};t.prototype.setOption=t.prototype.slickSetOption=function(){var t=this,u,f,e,i,o=!1,r;if(n.type(arguments[0])==="object"?(e=arguments[0],o=arguments[1],r="multiple"):n.type(arguments[0])==="string"&&(e=arguments[0],i=arguments[1],o=arguments[2],arguments[0]==="responsive"&&n.type(arguments[1])==="array"?r="responsive":typeof arguments[1]!="undefined"&&(r="single")),r==="single")t.options[e]=i;else if(r==="multiple")n.each(e,function(n,i){t.options[n]=i});else if(r==="responsive")for(f in i)if(n.type(t.options.responsive)!=="array")t.options.responsive=[i[f]];else{for(u=t.options.responsive.length-1;u>=0;)t.options.responsive[u].breakpoint===i[f].breakpoint&&t.options.responsive.splice(u,1),u--;t.options.responsive.push(i[f])}o&&(t.unload(),t.reinit())};t.prototype.setPosition=function(){var n=this;n.setDimensions();n.setHeight();n.options.fade===!1?n.setCSS(n.getLeft(n.currentSlide)):n.setFade();n.$slider.trigger("setPosition",[n])};t.prototype.setProps=function(){var n=this,t=document.body.style;n.positionProp=n.options.vertical===!0?"top":"left";n.positionProp==="top"?n.$slider.addClass("slick-vertical"):n.$slider.removeClass("slick-vertical");(t.WebkitTransition!==undefined||t.MozTransition!==undefined||t.msTransition!==undefined)&&n.options.useCSS===!0&&(n.cssTransitions=!0);n.options.fade&&(typeof n.options.zIndex=="number"?n.options.zIndex<3&&(n.options.zIndex=3):n.options.zIndex=n.defaults.zIndex);t.OTransform!==undefined&&(n.animType="OTransform",n.transformType="-o-transform",n.transitionType="OTransition",t.perspectiveProperty===undefined&&t.webkitPerspective===undefined&&(n.animType=!1));t.MozTransform!==undefined&&(n.animType="MozTransform",n.transformType="-moz-transform",n.transitionType="MozTransition",t.perspectiveProperty===undefined&&t.MozPerspective===undefined&&(n.animType=!1));t.webkitTransform!==undefined&&(n.animType="webkitTransform",n.transformType="-webkit-transform",n.transitionType="webkitTransition",t.perspectiveProperty===undefined&&t.webkitPerspective===undefined&&(n.animType=!1));t.msTransform!==undefined&&(n.animType="msTransform",n.transformType="-ms-transform",n.transitionType="msTransition",t.msTransform===undefined&&(n.animType=!1));t.transform!==undefined&&n.animType!==!1&&(n.animType="transform",n.transformType="transform",n.transitionType="transition");n.transformsEnabled=n.options.useTransform&&n.animType!==null&&n.animType!==!1};t.prototype.setSlideClasses=function(n){var t=this,u,i,r,f,e;i=t.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");t.$slides.eq(n).addClass("slick-current");t.options.centerMode===!0?(e=t.options.slidesToShow%2==0?1:0,u=Math.floor(t.options.slidesToShow/2),t.options.infinite===!0&&(n>=u&&n<=t.slideCount-1-u?t.$slides.slice(n-u+e,n+u+1).addClass("slick-active").attr("aria-hidden","false"):(r=t.options.slidesToShow+n,i.slice(r-u+1+e,r+u+2).addClass("slick-active").attr("aria-hidden","false")),n===0?i.eq(i.length-1-t.options.slidesToShow).addClass("slick-center"):n===t.slideCount-1&&i.eq(t.options.slidesToShow).addClass("slick-center")),t.$slides.eq(n).addClass("slick-center")):n>=0&&n<=t.slideCount-t.options.slidesToShow?t.$slides.slice(n,n+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=t.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(f=t.slideCount%t.options.slidesToShow,r=t.options.infinite===!0?t.options.slidesToShow+n:n,t.options.slidesToShow==t.options.slidesToScroll&&t.slideCount-n<t.options.slidesToShow?i.slice(r-(t.options.slidesToShow-f),r+f).addClass("slick-active").attr("aria-hidden","false"):i.slice(r,r+t.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));(t.options.lazyLoad==="ondemand"||t.options.lazyLoad==="anticipated")&&t.lazyLoad()};t.prototype.setupInfinite=function(){var t=this,i,r,u;if(t.options.fade===!0&&(t.options.centerMode=!1),t.options.infinite===!0&&t.options.fade===!1&&(r=null,t.slideCount>t.options.slidesToShow)){for(u=t.options.centerMode===!0?t.options.slidesToShow+1:t.options.slidesToShow,i=t.slideCount;i>t.slideCount-u;i-=1)r=i-1,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r-t.slideCount).prependTo(t.$slideTrack).addClass("slick-cloned");for(i=0;
14i<u+t.slideCount;i+=1)r=i,n(t.$slides[r]).clone(!0).attr("id","").attr("data-slick-index",r+t.slideCount).appendTo(t.$slideTrack).addClass("slick-cloned");t.$slideTrack.find(".slick-cloned").find("[id]").each(function(){n(this).attr("id","")})}};t.prototype.interrupt=function(n){var t=this;n||t.autoPlay();t.interrupted=n};t.prototype.selectHandler=function(t){var i=this,u=n(t.target).is(".slick-slide")?n(t.target):n(t.target).parents(".slick-slide"),r=parseInt(u.attr("data-slick-index"));if(r||(r=0),i.slideCount<=i.options.slidesToShow){i.slideHandler(r,!1,!0);return}i.slideHandler(r)};t.prototype.slideHandler=function(n,t,i){var u,f,s,o,h=null,r=this,e;if((t=t||!1,r.animating!==!0||r.options.waitForAnimate!==!0)&&(r.options.fade!==!0||r.currentSlide!==n)){if(t===!1&&r.asNavFor(n),u=n,h=r.getLeft(u),o=r.getLeft(r.currentSlide),r.currentLeft=r.swipeLeft===null?o:r.swipeLeft,r.options.infinite===!1&&r.options.centerMode===!1&&(n<0||n>r.getDotCount()*r.options.slidesToScroll)){r.options.fade===!1&&(u=r.currentSlide,i!==!0&&r.slideCount>r.options.slidesToShow?r.animateSlide(o,function(){r.postSlide(u)}):r.postSlide(u));return}if(r.options.infinite===!1&&r.options.centerMode===!0&&(n<0||n>r.slideCount-r.options.slidesToScroll)){r.options.fade===!1&&(u=r.currentSlide,i!==!0&&r.slideCount>r.options.slidesToShow?r.animateSlide(o,function(){r.postSlide(u)}):r.postSlide(u));return}if(r.options.autoplay&&clearInterval(r.autoPlayTimer),f=u<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+u:u>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:u-r.slideCount:u,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,f]),s=r.currentSlide,r.currentSlide=f,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(e=r.getNavTarget(),e=e.slick("getSlick"),e.slideCount<=e.options.slidesToShow&&e.setSlideClasses(r.currentSlide)),r.updateDots(),r.updateArrows(),r.options.fade===!0){i!==!0?(r.fadeSlideOut(s),r.fadeSlide(f,function(){r.postSlide(f)})):r.postSlide(f);r.animateHeight();return}i!==!0&&r.slideCount>r.options.slidesToShow?r.animateSlide(h,function(){r.postSlide(f)}):r.postSlide(f)}};t.prototype.startLoad=function(){var n=this;n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&(n.$prevArrow.hide(),n.$nextArrow.hide());n.options.dots===!0&&n.slideCount>n.options.slidesToShow&&n.$dots.hide();n.$slider.addClass("slick-loading")};t.prototype.swipeDirection=function(){var i,r,u,n,t=this;return(i=t.touchObject.startX-t.touchObject.curX,r=t.touchObject.startY-t.touchObject.curY,u=Math.atan2(r,i),n=Math.round(u*180/Math.PI),n<0&&(n=360-Math.abs(n)),n<=45&&n>=0)?t.options.rtl===!1?"left":"right":n<=360&&n>=315?t.options.rtl===!1?"left":"right":n>=135&&n<=225?t.options.rtl===!1?"right":"left":t.options.verticalSwiping===!0?n>=35&&n<=135?"down":"up":"vertical"};t.prototype.swipeEnd=function(){var n=this,i,t;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1,!1;if(n.interrupted=!1,n.shouldClick=n.touchObject.swipeLength>10?!1:!0,n.touchObject.curX===undefined)return!1;if(n.touchObject.edgeHit===!0&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){t=n.swipeDirection();switch(t){case"left":case"down":i=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount();n.currentDirection=0;break;case"right":case"up":i=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount();n.currentDirection=1}t!="vertical"&&(n.slideHandler(i),n.touchObject={},n.$slider.trigger("swipe",[n,t]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})};t.prototype.swipeHandler=function(n){var t=this;if(t.options.swipe!==!1&&(!("ontouchend"in document)||t.options.swipe!==!1)&&(t.options.draggable!==!1||n.type.indexOf("mouse")===-1)){t.touchObject.fingerCount=n.originalEvent&&n.originalEvent.touches!==undefined?n.originalEvent.touches.length:1;t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold;t.options.verticalSwiping===!0&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold);switch(n.data.action){case"start":t.swipeStart(n);break;case"move":t.swipeMove(n);break;case"end":t.swipeEnd(n)}}};
14t.prototype.swipeMove=function(n){var t=this,f,e,r,u,i,o;if(i=n.originalEvent!==undefined?n.originalEvent.touches:null,!t.dragging||t.scrolling||i&&i.length!==1)return!1;if(f=t.getLeft(t.currentSlide),t.touchObject.curX=i!==undefined?i[0].pageX:n.clientX,t.touchObject.curY=i!==undefined?i[0].pageY:n.clientY,t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(t.touchObject.curY-t.touchObject.startY,2))),!t.options.verticalSwiping&&!t.swiping&&o>4)return t.scrolling=!0,!1;if(t.options.verticalSwiping===!0&&(t.touchObject.swipeLength=o),e=t.swipeDirection(),n.originalEvent!==undefined&&t.touchObject.swipeLength>4&&(t.swiping=!0,n.preventDefault()),u=(t.options.rtl===!1?1:-1)*(t.touchObject.curX>t.touchObject.startX?1:-1),t.options.verticalSwiping===!0&&(u=t.touchObject.curY>t.touchObject.startY?1:-1),r=t.touchObject.swipeLength,t.touchObject.edgeHit=!1,t.options.infinite===!1&&(t.currentSlide===0&&e==="right"||t.currentSlide>=t.getDotCount()&&e==="left")&&(r=t.touchObject.swipeLength*t.options.edgeFriction,t.touchObject.edgeHit=!0),t.swipeLeft=t.options.vertical===!1?f+r*u:f+r*(t.$list.height()/t.listWidth)*u,t.options.verticalSwiping===!0&&(t.swipeLeft=f+r*u),t.options.fade===!0||t.options.touchMove===!1)return!1;if(t.animating===!0)return t.swipeLeft=null,!1;t.setCSS(t.swipeLeft)};t.prototype.swipeStart=function(n){var t=this,i;if(t.interrupted=!0,t.touchObject.fingerCount!==1||t.slideCount<=t.options.slidesToShow)return t.touchObject={},!1;n.originalEvent!==undefined&&n.originalEvent.touches!==undefined&&(i=n.originalEvent.touches[0]);t.touchObject.startX=t.touchObject.curX=i!==undefined?i.pageX:n.clientX;t.touchObject.startY=t.touchObject.curY=i!==undefined?i.pageY:n.clientY;t.dragging=!0};t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var n=this;n.$slidesCache!==null&&(n.unload(),n.$slideTrack.children(this.options.slide).detach(),n.$slidesCache.appendTo(n.$slideTrack),n.reinit())};t.prototype.unload=function(){var t=this;n(".slick-cloned",t.$slider).remove();t.$dots&&t.$dots.remove();t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove();t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove();t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")};t.prototype.unslick=function(n){var t=this;t.$slider.trigger("unslick",[t,n]);t.destroy()};t.prototype.updateArrows=function(){var n=this,t;t=Math.floor(n.options.slidesToShow/2);n.options.arrows===!0&&n.slideCount>n.options.slidesToShow&&!n.options.infinite&&(n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),n.currentSlide===0?(n.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-n.options.slidesToShow&&n.options.centerMode===!1?(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):n.currentSlide>=n.slideCount-1&&n.options.centerMode===!0&&(n.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),n.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))};t.prototype.updateDots=function(){var n=this;n.$dots!==null&&(n.$dots.find("li").removeClass("slick-active").end(),n.$dots.find("li").eq(Math.floor(n.currentSlide/n.options.slidesToScroll)).addClass("slick-active"))};t.prototype.visibility=function(){var n=this;n.options.autoplay&&(n.interrupted=document[n.hidden]?!0:!1)};n.fn.slick=function(){for(var i=this,r=arguments[0],f=Array.prototype.slice.call(arguments,1),e=i.length,u,n=0;n<e;n++)if(typeof r=="object"||typeof r=="undefined"?i[n].slick=new t(i[n],r):u=i[n].slick[r].apply(i[n].slick,f),typeof u!="undefined")return u;return i}});!function(n,t,i){"use strict";function s(n,t){var u,o,e,r=[],s=0;n&&n.isDefaultPrevented()||(n.preventDefault(),t=t||{},n&&n.data&&(t=f(n.data.options,t)),u=t.$target||i(n.currentTarget).trigger("blur"),(e=i.fancybox.getInstance())&&e.$trigger&&e.$trigger.is(u)||(t.selector?r=i(t.selector):(o=u.attr("data-fancybox")||"",o?(r=n.data?n.data.items:[],r=r.length?r.filter('[data-fancybox="'+o+'"]'):i('[data-fancybox="'+o+'"]')):r=[u]),s=i(r).index(u),s<0&&(s=0),e=i.fancybox.open(r,t,s),e.$trigger=u))}if(n.console=n.console||{info:function(){}},i){if(i.fn.fancybox)return void console.info("fancyBox already initialized");var l={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""><\/iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download<\/a> and watch with your favorite video player!<\/video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"><\/div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index><\/span> / <span data-fancybox-count><\/span><\/div><div class="fancybox-toolbar">{{buttons}}<\/div><div class="fancybox-navigation">{{arrows}}<\/div><div class="fancybox-stage"><\/div><div class="fancybox-caption"><div class="fancybox-caption__body"><\/div><\/div><\/div><\/div>',spinnerTpl:'<div class="fancybox-loading"><\/div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}<\/p><\/div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
14<path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/><\/svg><\/a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/><\/svg><\/button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/><\/svg><\/button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/><\/svg><\/div><\/button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/><\/svg><\/div><\/button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/><\/svg><\/button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeClose:i.noop,afterClose:i.noop,onActivate:i.noop,onDeactivate:i.noop,clickContent:function(n){return"image"===n.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(n){return"image"===n.type&&"toggleControls"},clickSlide:function(n){return"image"===n.type?"toggleControls":"close"},dblclickContent:function(n){return"image"===n.type&&"zoom"},dblclickSlide:function(n){return"image"===n.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},e=i(n),r=i(t),a=0,v=function(n){return n&&n.hasOwnProperty&&n instanceof i},c=function(){return n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||function(t){return n.setTimeout(t,1e3/60)}}(),y=function(){return n.cancelAnimationFrame||n.webkitCancelAnimationFrame||n.mozCancelAnimationFrame||n.oCancelAnimationFrame||function(t){n.clearTimeout(t)}}(),o=function(){var n,r=t.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(n in i)if(void 0!==r.style[n])return i[n];return"transitionend"}(),u=function(n){return n&&n.length&&n[0].offsetHeight},f=function(n,t){var r=i.extend(!0,{},n,t);return i.each(t,function(n,t){i.isArray(t)&&(r[n]=t)}),r},p=function(n){var r,u;return!(!n||n.ownerDocument!==t)&&(i(".fancybox-container").css("pointer-events","none"),r={x:n.getBoundingClientRect().left+n.offsetWidth/2,y:n.getBoundingClientRect().top+n.offsetHeight/2},u=t.elementFromPoint(r.x,r.y)===n,i(".fancybox-container").css("pointer-events",""),u)},h=function(n,t,r){var u=this;u.opts=f({index:r},i.fancybox.defaults);i.isPlainObject(t)&&(u.opts=f(u.opts,t));i.fancybox.isMobile&&(u.opts=f(u.opts,u.opts.mobile));
14u.id=u.opts.id||++a;u.currIndex=parseInt(u.opts.index,10)||0;u.prevIndex=null;u.prevPos=null;u.currPos=0;u.firstRun=!0;u.group=[];u.slides={};u.addContent(n);u.group.length&&u.init()};i.extend(h.prototype,{init:function(){var f,e,r=this,o=r.group[r.currIndex],u=o.opts;u.closeExisting&&i.fancybox.close(!0);i("body").addClass("fancybox-active");!i.fancybox.getInstance()&&!1!==u.hideScrollbar&&!i.fancybox.isMobile&&t.body.scrollHeight>n.innerHeight&&(i("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(n.innerWidth-t.documentElement.clientWidth)+"px;}<\/style>"),i("body").addClass("compensate-for-scrollbar"));e="";i.each(u.buttons,function(n,t){e+=u.btnTpl[t]||""});f=i(r.translate(r,u.baseTpl.replace("{{buttons}}",e).replace("{{arrows}}",u.btnTpl.arrowLeft+u.btnTpl.arrowRight))).attr("id","fancybox-container-"+r.id).addClass(u.baseClass).data("FancyBox",r).appendTo(u.parentEl);r.$refs={container:f};["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(n){r.$refs[n]=f.find(".fancybox-"+n)});r.trigger("onInit");r.activate();r.jumpTo(r.currIndex)},translate:function(n,t){var i=n.opts.i18n[n.opts.lang]||n.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,function(n,t){return void 0===i[t]?n:i[t]})},addContent:function(n){var r,t=this,u=i.makeArray(n);i.each(u,function(n,r){var h,o,l,s,c,u={},e={};i.isPlainObject(r)?(u=r,e=r.opts||r):"object"===i.type(r)&&i(r).length?(h=i(r),e=h.data()||{},e=i.extend(!0,{},e,e.options),e.$orig=h,u.src=t.opts.src||e.src||h.attr("href"),u.type||u.src||(u.type="inline",u.src=r)):u={type:"html",src:r+""};u.opts=i.extend(!0,{},t.opts,e);i.isArray(e.buttons)&&(u.opts.buttons=e.buttons);i.fancybox.isMobile&&u.opts.mobile&&(u.opts=f(u.opts,u.opts.mobile));o=u.type||u.opts.type;s=u.src||"";!o&&s&&((l=s.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(o="video",u.opts.video.format||(u.opts.video.format="video/"+("ogv"===l[1]?"ogg":l[1]))):s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?o="image":s.match(/\.(pdf)((\?|#).*)?$/i)?(o="iframe",u=i.extend(!0,u,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===s.charAt(0)&&(o="inline"));o?u.type=o:t.trigger("objectNeedsType",u);u.contentType||(u.contentType=i.inArray(u.type,["html","inline","ajax"])>-1?"html":u.type);u.index=t.group.length;"auto"==u.opts.smallBtn&&(u.opts.smallBtn=i.inArray(u.type,["html","inline","ajax"])>-1);"auto"===u.opts.toolbar&&(u.opts.toolbar=!u.opts.smallBtn);u.$thumb=u.opts.$thumb||null;u.opts.$trigger&&u.index===t.opts.index&&(u.$thumb=u.opts.$trigger.find("img:first"),u.$thumb.length&&(u.opts.$orig=u.opts.$trigger));u.$thumb&&u.$thumb.length||!u.opts.$orig||(u.$thumb=u.opts.$orig.find("img:first"));u.$thumb&&!u.$thumb.length&&(u.$thumb=null);u.thumb=u.opts.thumb||(u.$thumb?u.$thumb[0].src:null);"function"===i.type(u.opts.caption)&&(u.opts.caption=u.opts.caption.apply(r,[t,u]));"function"===i.type(t.opts.caption)&&(u.opts.caption=t.opts.caption.apply(r,[t,u]));u.opts.caption instanceof i||(u.opts.caption=void 0===u.opts.caption?"":u.opts.caption+"");"ajax"===u.type&&(c=s.split(/\s+/,2),c.length>1&&(u.src=c.shift(),u.opts.filter=c.shift()));u.opts.modal&&(u.opts=i.extend(!0,u.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1}));t.group.push(u)});Object.keys(t.slides).length&&(t.updateControls(),(r=t.Thumbs)&&r.isActive&&(r.create(),r.focus()))},addEvents:function(){var t=this;t.removeEvents();t.$refs.container.on("click.fb-close","[data-fancybox-close]",function(n){n.stopPropagation();n.preventDefault();t.close(n)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(n){n.stopPropagation();n.preventDefault();t.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(n){n.stopPropagation();n.preventDefault();t.next()}).on("click.fb","[data-fancybox-zoom]",function(){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()});e.on("orientationchange.fb resize.fb",function(n){n&&n.originalEvent&&"resize"===n.originalEvent.type?(t.requestId&&y(t.requestId),t.requestId=c(function(){t.update(n)})):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout(function(){t.$refs.stage.show();t.update(n)},i.fancybox.isMobile?600:250))});
vendor: 8,739 bytes, line 14
14r.on("keydown.fb",function(n){var f=i.fancybox?i.fancybox.getInstance():null,u=f.current,r=n.keyCode||n.which;return 9==r?void(u.opts.trapFocus&&t.focus(n)):(!u.opts.keyboard||n.ctrlKey||n.altKey||n.shiftKey||i(n.target).is("input,textarea,video,audio,select"))?void 0:8===r||27===r?(n.preventDefault(),void t.close(n)):37===r||38===r?(n.preventDefault(),void t.previous()):39===r||40===r?(n.preventDefault(),void t.next()):void t.trigger("afterKeydown",n,r)});t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,r.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(){t.idleSecondsCounter=0;t.isIdle&&t.showControls();t.isIdle=!1}),t.idleInterval=n.setInterval(function(){++t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())},1e3))},removeEvents:function(){var t=this;e.off("orientationchange.fb resize.fb");r.off("keydown.fb .fb-idle");this.$refs.container.off(".fb-close .fb-prev .fb-next");t.idleInterval&&(n.clearInterval(t.idleInterval),t.idleInterval=null)},previous:function(n){return this.jumpTo(this.currPos-1,n)},next:function(n){return this.jumpTo(this.currPos+1,n)},jumpTo:function(n,t){var s,a,h,f,e,o,v,c,y,r=this,l=r.group.length;if(!(r.isDragging||r.isClosing||r.isAnimating&&r.firstRun)){if(n=parseInt(n,10),!(h=r.current?r.current.opts.loop:r.opts.loop)&&(n<0||n>=l))return!1;if(s=r.firstRun=!Object.keys(r.slides).length,e=r.current,r.prevIndex=r.currIndex,r.prevPos=r.currPos,f=r.createSlide(n),l>1&&((h||f.index<l-1)&&r.createSlide(n+1),(h||f.index>0)&&r.createSlide(n-1)),r.current=f,r.currIndex=f.index,r.currPos=f.pos,r.trigger("beforeShow",s),r.updateControls(),f.forcedDuration=void 0,i.isNumeric(t)?f.forcedDuration=t:t=f.opts[s?"animationDuration":"transitionDuration"],t=parseInt(t,10),a=r.isMoved(f),f.$slide.addClass("fancybox-slide--current"),s)return f.opts.animationEffect&&t&&r.$refs.container.css("transition-duration",t+"ms"),r.$refs.container.addClass("fancybox-is-open").trigger("focus"),r.loadSlide(f),void r.preload("image");o=i.fancybox.getTranslate(e.$slide);v=i.fancybox.getTranslate(r.$refs.stage);i.each(r.slides,function(n,t){i.fancybox.stop(t.$slide,!0)});e.pos!==f.pos&&(e.isComplete=!1);e.$slide.removeClass("fancybox-slide--complete fancybox-slide--current");a?(y=o.left-(e.pos*o.width+e.pos*e.opts.gutter),i.each(r.slides,function(n,e){e.$slide.removeClass("fancybox-animated").removeClass(function(n,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var s=e.pos*o.width+e.pos*e.opts.gutter;i.fancybox.setTranslate(e.$slide,{top:0,left:s-v.left+y});e.pos!==f.pos&&e.$slide.addClass("fancybox-slide--"+(e.pos>f.pos?"next":"previous"));u(e.$slide);i.fancybox.animate(e.$slide,{top:0,left:(e.pos-f.pos)*o.width+(e.pos-f.pos)*e.opts.gutter},t,function(){e.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous");e.pos===r.currPos&&r.complete()})})):t&&f.opts.transitionEffect&&(c="fancybox-animated fancybox-fx-"+f.opts.transitionEffect,e.$slide.addClass("fancybox-slide--"+(e.pos>f.pos?"next":"previous")),i.fancybox.animate(e.$slide,c,t,function(){e.$slide.removeClass(c).removeClass("fancybox-slide--next fancybox-slide--previous")},!1));f.isLoaded?r.revealContent(f):r.loadSlide(f);r.preload("image")}},createSlide:function(n){var u,r,t=this;return r=n%t.group.length,r=r<0?t.group.length+r:r,!t.slides[n]&&t.group[r]&&(u=i('<div class="fancybox-slide"><\/div>').appendTo(t.$refs.stage),t.slides[n]=i.extend(!0,{},t.group[r],{pos:n,$slide:u,isLoaded:!1}),t.updateSlide(t.slides[n])),t.slides[n]},scaleToActual:function(n,t,r){var e,o,s,v,y,f=this,u=f.current,p=u.$content,l=i.fancybox.getTranslate(u.$slide).width,a=i.fancybox.getTranslate(u.$slide).height,h=u.width,c=u.height;f.isAnimating||f.isMoved()||!p||"image"!=u.type||!u.isLoaded||u.hasError||(f.isAnimating=!0,i.fancybox.stop(p),n=void 0===n?.5*l:n,t=void 0===t?.5*a:t,e=i.fancybox.getTranslate(p),e.top-=i.fancybox.getTranslate(u.$slide).top,e.left-=i.fancybox.getTranslate(u.$slide).left,v=h/e.width,y=c/e.height,o=.5*l-.5*h,s=.5*a-.5*c,h>l&&(o=e.left*v-(n*v-n),o>0&&(o=0),o<l-h&&(o=l-h)),c>a&&(s=e.top*y-(t*y-t),s>0&&(s=0),s<a-c&&(s=a-c)),f.updateCursor(h,c),i.fancybox.animate(p,{top:s,left:o,scaleX:v,scaleY:y},r||366,function(){f.isAnimating=!1}),f.SlideShow&&f.SlideShow.isActive&&f.SlideShow.stop())},scaleToFit:function(n){var t,r=this,u=r.current,f=u.$content;r.isAnimating||r.isMoved()||!f||"image"!=u.type||!u.isLoaded||u.hasError||(r.isAnimating=!0,i.fancybox.stop(f),t=r.getFitPos(u),r.updateCursor(t.width,t.height),i.fancybox.animate(f,{top:t.top,left:t.left,scaleX:t.width/f.width(),scaleY:t.height/f.height()},n||366,function(){r.isAnimating=!1}))},getFitPos:function(n){var u,f,c,s,l=this,e=n.$content,o=n.$slide,t=n.width||n.opts.width,r=n.height||n.opts.height,h={};return!!(n.isLoaded&&e&&e.length)&&(u=i.fancybox.getTranslate(l.$refs.stage).width,f=i.fancybox.getTranslate(l.$refs.stage).height,u-=parseFloat(o.css("paddingLeft"))+parseFloat(o.css("paddingRight"))+parseFloat(e.css("marginLeft"))+parseFloat(e.css("marginRight")),f-=parseFloat(o.css("paddingTop"))+parseFloat(o.css("paddingBottom"))+parseFloat(e.css("marginTop"))+parseFloat(e.css("marginBottom")),t&&r||(t=u,r=f),c=Math.min(1,u/t,f/r),t*=c,r*=c,t>u-.5&&(t=u),r>f-.5&&(r=f),"image"===n.type?(h.top=Math.floor(.5*(f-r))+parseFloat(o.css("paddingTop")),h.left=Math.floor(.5*(u-t))+parseFloat(o.css("paddingLeft"))):"video"===n.contentType&&(s=n.opts.width&&n.opts.height?t/r:n.opts.ratio||16/9,r>t/s?r=t/s:t>r*s&&(t=r*s)),h.width=t,h.height=r,h)},update:function(n){var t=this;i.each(t.slides,function(i,r){t.updateSlide(r,n)})},updateSlide:function(n,t){var r=this,f=n&&n.$content,e=n.width||n.opts.width,o=n.height||n.opts.height,u=n.$slide;r.adjustCaption(n);f&&(e||o||"video"===n.contentType)&&!n.hasError&&(i.fancybox.stop(f),i.fancybox.setTranslate(f,r.getFitPos(n)),n.pos===r.currPos&&(r.isAnimating=!1,r.updateCursor()));r.adjustLayout(n);u.length&&(u.trigger("refresh"),n.pos===r.currPos&&r.$refs.toolbar.add(r.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",u.get(0).scrollHeight>u.get(0).clientHeight));r.trigger("onUpdate",n,t)},centerSlide:function(n){var r=this,u=r.current,t=u.$slide;!r.isClosing&&u&&(t.siblings().css({transform:"",opacity:""}),t.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),i.fancybox.animate(t,{top:0,left:0,opacity:1},void 0===n?0:n,function(){t.css({transform:"",opacity:""});u.isComplete||r.complete()},!1))},isMoved:function(n){var t,r,u=n||this.current;return!!u&&(r=i.fancybox.getTranslate(this.$refs.stage),t=i.fancybox.getTranslate(u.$slide),!u.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-r.top)>.5||Math.abs(t.left-r.left)>.5))},updateCursor:function(n,t){var o,e,u=this,r=u.current,f=u.$refs.container;r&&!u.isClosing&&u.Guestures&&(f.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=u.canPan(n,t),e=!!o||u.isZoomable(),f.toggleClass("fancybox-is-zoomable",e),i("[data-fancybox-zoom]").prop("disabled",!e),o?f.addClass("fancybox-can-pan"):e&&("zoom"===r.opts.clickContent||i.isFunction(r.opts.clickContent)&&"zoom"==r.opts.clickContent(r))?f.addClass("fancybox-can-zoomIn"):r.opts.touch&&(r.opts.touch.vertical||u.group.length>1)&&"video"!==r.contentType&&f.addClass("fancybox-can-swipe"))},isZoomable:function(){var t,i=this,n=i.current;return n&&!i.isClosing&&"image"===n.type&&!n.hasError&&(!n.isLoaded||(t=i.getFitPos(n))&&(n.width>t.width||n.height>t.height))?!0:!1},isScaledDown:function(n,t){var e=this,r=!1,u=e.current,f=u.$content;return void 0!==n&&void 0!==t?r=n<u.width&&t<u.height:f&&(r=i.fancybox.getTranslate(f),r=r.width<u.width&&r.height<u.height),r},canPan:function(n,t){var e=this,r=e.current,f=null,u=!1;return"image"===r.type&&(r.isComplete||n&&t)&&!r.hasError&&(u=e.getFitPos(r),void 0!==n&&void 0!==t?f={width:n,height:t}:r.isComplete&&(f=i.fancybox.getTranslate(r.$content)),f&&u&&(u=Math.abs(f.width-u.width)>1.5||Math.abs(f.height-u.height)>1.5)),u},loadSlide:function(n){var u,r,f,t=this;if(!n.isLoading&&!n.isLoaded){if(n.isLoading=!0,!1===t.trigger("beforeLoad",n))return n.isLoading=!1,!1;switch(u=n.type,r=n.$slide,r.off("refresh").trigger("onReset").addClass(n.opts.slideClass),u){case"image":t.setImage(n);break;case"iframe":t.setIframe(n);break;case"html":t.setContent(n,n.src||n.content);break;case"video":t.setContent(n,n.opts.video.tpl.replace(/\{\{src\}\}/gi,n.src).replace("{{format}}",n.opts.videoFormat||n.opts.video.format||"").replace("{{poster}}",n.thumb||""));break;
14case"inline":i(n.src).length?t.setContent(n,i(n.src)):t.setError(n);break;case"ajax":t.showLoading(n);f=i.ajax(i.extend({},n.opts.ajax.settings,{url:n.src,success:function(i,r){"success"===r&&t.setContent(n,i)},error:function(i,r){i&&"abort"!==r&&t.setError(n)}}));r.one("onReset",function(){f.abort()});break;default:t.setError(n)}return!0}},setImage:function(n){var u,r=this;setTimeout(function(){var t=n.$image;r.isClosing||!n.isLoading||t&&t.length&&t[0].complete||n.hasError||r.showLoading(n)},50);r.checkSrcset(n);n.$content=i('<div class="fancybox-content"><\/div>').addClass("fancybox-is-hidden").appendTo(n.$slide.addClass("fancybox-slide--image"));!1!==n.opts.preload&&n.opts.width&&n.opts.height&&n.thumb&&(n.width=n.opts.width,n.height=n.opts.height,u=t.createElement("img"),u.onerror=function(){i(this).remove();n.$ghost=null},u.onload=function(){r.afterLoad(n)},n.$ghost=i(u).addClass("fancybox-image").appendTo(n.$content).attr("src",n.thumb));r.setBigImage(n)},checkSrcset:function(t){var i,r,e,s,o=t.opts.srcset||t.opts.image.srcset,f,u;if(o){for(e=n.devicePixelRatio||1,s=n.innerWidth*e,r=o.split(",").map(function(n){var t={};return n.trim().split(/\s+/).forEach(function(n,i){var r=parseInt(n.substring(0,n.length-1),10);if(0===i)return t.url=n;r&&(t.value=r,t.postfix=n[n.length-1])}),t}),r.sort(function(n,t){return n.value-t.value}),f=0;f<r.length;f++)if(u=r[f],"w"===u.postfix&&u.value>=s||"x"===u.postfix&&u.value>=e){i=u;break}!i&&r.length&&(i=r[r.length-1]);i&&(t.src=i.url,t.width&&t.height&&"w"==i.postfix&&(t.height=t.width/t.height*i.value,t.width=i.value),t.opts.srcset=o)}},setBigImage:function(n){var r=this,f=t.createElement("img"),u=i(f);n.$image=u.one("error",function(){r.setError(n)}).one("load",function(){var t;n.$ghost||(r.resolveImageSlideSize(n,this.naturalWidth,this.naturalHeight),r.afterLoad(n));r.isClosing||(n.opts.srcset&&(t=n.opts.sizes,t&&"auto"!==t||(t=(n.width/n.height>1&&e.width()/e.height()>1?"100":Math.round(n.width/n.height*100))+"vw"),u.attr("sizes",t).attr("srcset",n.opts.srcset)),n.$ghost&&setTimeout(function(){n.$ghost&&!r.isClosing&&n.$ghost.hide()},Math.min(300,Math.max(1e3,n.height/1600))),r.hideLoading(n))}).addClass("fancybox-image").attr("src",n.src).appendTo(n.$content);(f.complete||"complete"==f.readyState)&&u.naturalWidth&&u.naturalHeight?u.trigger("load"):f.error&&u.trigger("error")},resolveImageSlideSize:function(n,t,i){var r=parseInt(n.opts.width,10),u=parseInt(n.opts.height,10);n.width=t;n.height=i;r>0&&(n.width=r,n.height=Math.floor(r*i/t));u>0&&(n.width=Math.floor(u*t/i),n.height=u)},setIframe:function(n){var u,f=this,t=n.opts.iframe,r=n.$slide;n.$content=i('<div class="fancybox-content'+(t.preload?" fancybox-is-hidden":"")+'"><\/div>').css(t.css).appendTo(r);r.addClass("fancybox-slide--"+n.contentType);n.$iframe=u=i(t.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(t.attr).appendTo(n.$content);t.preload?(f.showLoading(n),u.on("load.fb error.fb",function(){this.isReady=1;n.$slide.trigger("refresh");f.afterLoad(n)}),r.on("refresh.fb",function(){var s,i,f=n.$content,e=t.css.width,o=t.css.height;if(1===u[0].isReady){try{s=u.contents();i=s.find("body")}catch(n){}i&&i.length&&i.children().length&&(r.css("overflow","visible"),f.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===e&&(e=Math.ceil(Math.max(i[0].clientWidth,i.outerWidth(!0)))),f.css("width",e||"").css("max-width",""),void 0===o&&(o=Math.ceil(Math.max(i[0].clientHeight,i.outerHeight(!0)))),f.css("height",o||""),r.css("overflow","auto"));f.removeClass("fancybox-is-hidden")}})):f.afterLoad(n);u.attr("src",n.src);r.one("onReset",function(){try{i(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(n){}i(this).off("refresh.fb").empty();n.isLoaded=!1;n.isRevealed=!1})},setContent:function(n,t){var r=this;r.isClosing||(r.hideLoading(n),n.$content&&i.fancybox.stop(n.$content),n.$slide.empty(),v(t)&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),n.$placeholder=i("<div>").hide().insertAfter(t),t.css("display","inline-block")):n.hasError||("string"===i.type(t)&&(t=i("<div>
14").append(i.trim(t)).contents()),n.opts.filter&&(t=i("<div>").html(t).find(n.opts.filter))),n.$slide.one("onReset",function(){i(this).find("video,audio").trigger("pause");n.$placeholder&&(n.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),n.$placeholder=null);n.$smallBtn&&(n.$smallBtn.remove(),n.$smallBtn=null);n.hasError||(i(this).empty(),n.isLoaded=!1,n.isRevealed=!1)}),i(t).appendTo(n.$slide),i(t).is("video,audio")&&(i(t).addClass("fancybox-video"),i(t).wrap("<div><\/div>"),n.contentType="video",n.opts.width=n.opts.width||i(t).attr("width"),n.opts.height=n.opts.height||i(t).attr("height")),n.$content=n.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),n.$content.siblings().hide(),n.$content.length||(n.$content=n.$slide.wrapInner("<div><\/div>").children().first()),n.$content.addClass("fancybox-content"),n.$slide.addClass("fancybox-slide--"+n.contentType),r.afterLoad(n))},setError:function(n){n.hasError=!0;n.$slide.trigger("onReset").removeClass("fancybox-slide--"+n.contentType).addClass("fancybox-slide--error");n.contentType="html";this.setContent(n,this.translate(n,n.opts.errorTpl));n.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(n){var t=this;(n=n||t.current)&&!n.$spinner&&(n.$spinner=i(t.translate(t,t.opts.spinnerTpl)).appendTo(n.$slide).hide().fadeIn("fast"))},hideLoading:function(n){var t=this;(n=n||t.current)&&n.$spinner&&(n.$spinner.stop().remove(),delete n.$spinner)},afterLoad:function(n){var t=this;t.isClosing||(n.isLoading=!1,n.isLoaded=!0,t.trigger("afterLoad",n),t.hideLoading(n),!n.opts.smallBtn||n.$smallBtn&&n.$smallBtn.length||(n.$smallBtn=i(t.translate(n,n.opts.btnTpl.smallBtn)).appendTo(n.$content)),n.opts.protect&&n.$content&&!n.hasError&&(n.$content.on("contextmenu.fb",function(n){return 2==n.button&&n.preventDefault(),!0}),"image"===n.type&&i('<div class="fancybox-spaceball"><\/div>').appendTo(n.$content)),t.adjustCaption(n),t.adjustLayout(n),n.pos===t.currPos&&t.updateCursor(),t.revealContent(n))},adjustCaption:function(n){var i,t=this,r=n||t.current,u=r.opts.caption,o=r.opts.preventCaptionOverlap,f=t.$refs.caption,e=!1;f.toggleClass("fancybox-caption--separate",o);o&&u&&u.length&&(r.pos!==t.currPos?(i=f.clone().appendTo(f.parent()),i.children().eq(0).empty().html(u),e=i.outerHeight(!0),i.empty().remove()):t.$caption&&(e=t.$caption.outerHeight(!0)),r.$slide.css("padding-bottom",e||""))},adjustLayout:function(n){var r,u,f,i,e=this,t=n||e.current;t.isLoaded&&!0!==t.opts.disableLayoutFix&&(t.$content.css("margin-bottom",""),t.$content.outerHeight()>t.$slide.height()+.5&&(f=t.$slide[0].style["padding-bottom"],i=t.$slide.css("padding-bottom"),parseFloat(i)>0&&(r=t.$slide[0].scrollHeight,t.$slide.css("padding-bottom",0),Math.abs(r-t.$slide[0].scrollHeight)<1&&(u=i),t.$slide.css("padding-bottom",f))),t.$content.css("margin-bottom",u))},revealContent:function(n){var r,c,f,h,t=this,s=n.$slide,e=!1,o=!1,l=t.isMoved(n),a=n.isRevealed;return n.isRevealed=!0,r=n.opts[t.firstRun?"animationEffect":"transitionEffect"],f=n.opts[t.firstRun?"animationDuration":"transitionDuration"],f=parseInt(void 0===n.forcedDuration?f:n.forcedDuration,10),!l&&n.pos===t.currPos&&f||(r=!1),"zoom"===r&&(n.pos===t.currPos&&f&&"image"===n.type&&!n.hasError&&(o=t.getThumbPos(n))?e=t.getFitPos(n):r="fade"),"zoom"===r?(t.isAnimating=!0,e.scaleX=e.width/o.width,e.scaleY=e.height/o.height,h=n.opts.zoomOpacity,"auto"==h&&(h=Math.abs(n.width/n.height-o.width/o.height)>.1),h&&(o.opacity=.1,e.opacity=1),i.fancybox.setTranslate(n.$content.removeClass("fancybox-is-hidden"),o),u(n.$content),void i.fancybox.animate(n.$content,e,f,function(){t.isAnimating=!1;t.complete()})):(t.updateSlide(n),r?(i.fancybox.stop(s),c="fancybox-slide--"+(n.pos>=t.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+r,s.addClass(c).removeClass("fancybox-slide--current"),n.$content.removeClass("fancybox-is-hidden"),u(s),"image"!==n.type&&n.$content.hide().show(0),void i.fancybox.animate(s,"fancybox-slide--current",f,function(){s.removeClass(c).css({transform:"",opacity:""});n.pos===t.currPos&&t.complete()},!0)):(n.$content.removeClass("fancybox-is-hidden"),a||!l||"image"!==n.type||n.hasError||n.$content.hide().fadeIn("fast"),void(n.pos===t.currPos&&t.complete())))},getThumbPos:function(n){var t,u,e,o,f,s=!1,r=n.$thumb;return!(!r||!p(r[0]))&&(t=i.fancybox.getTranslate(r),u=parseFloat(r.css("border-top-width")||0),e=parseFloat(r.css("border-right-width")||0),o=parseFloat(r.css("border-bottom-width")||0),f=parseFloat(r.css("border-left-width")||0),s={top:t.top+u,left:t.left+f,width:t.width-e-f,height:t.height-u-o,scaleX:1,scaleY:1},t.width>0&&t.height>0&&s)},complete:function(){var r,n=this,t=n.current,f={};!n.isMoved()&&t.isLoaded&&(t.isComplete||(t.isComplete=!0,t.$slide.siblings().trigger("onReset"),n.preload("inline"),u(t.$slide),t.$slide.addClass("fancybox-slide--complete"),i.each(n.slides,function(t,r){r.pos>=n.currPos-1&&r.pos<=n.currPos+1?f[r.pos]=r:r&&(i.fancybox.stop(r.$slide),r.$slide.off().remove())}
vendor: 27,213 bytes, line 14
14),n.slides=f),n.isAnimating=!1,n.updateCursor(),n.trigger("afterShow"),t.opts.video.autoStart&&t.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen();n.next()}),t.opts.autoFocus&&"html"===t.contentType&&(r=t.$content.find("input[autofocus]:enabled:visible:first"),r.length?r.trigger("focus"):n.focus(null,!0)),t.$slide.scrollTop(0).scrollLeft(0))},preload:function(n){var i,r,t=this;t.group.length<2||(r=t.slides[t.currPos+1],i=t.slides[t.currPos-1],i&&i.type===n&&t.loadSlide(i),r&&r.type===n&&t.loadSlide(r))},focus:function(n,r){var u,e,f=this,o='a[href],area[href],input:not([disabled]):not([type="hidden"]):not([aria-hidden]),select:not([disabled]):not([aria-hidden]),textarea:not([disabled]):not([aria-hidden]),button:not([disabled]):not([aria-hidden]),iframe,object,embed,video,audio,[contenteditable],[tabindex]:not([tabindex^="-"])';f.isClosing||(u=!n&&f.current&&f.current.isComplete?f.current.$slide.find("*:visible"+(r?":not(.fancybox-close-small)":"")):f.$refs.container.find("*:visible"),u=u.filter(o).filter(function(){return"hidden"!==i(this).css("visibility")&&!i(this).hasClass("disabled")}),u.length?(e=u.index(t.activeElement),n&&n.shiftKey?(e<0||0==e)&&(n.preventDefault(),u.eq(u.length-1).trigger("focus")):(e<0||e==u.length-1)&&(n&&n.preventDefault(),u.eq(0).trigger("focus"))):f.$refs.container.trigger("focus"))},activate:function(){var n=this;i(".fancybox-container").each(function(){var t=i(this).data("FancyBox");t&&t.id!==n.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)});n.isVisible=!0;(n.current||n.isIdle)&&(n.update(),n.updateControls());n.trigger("onActivate");n.addEvents()},close:function(n,t){var o,s,h,l,a,y,e,r=this,f=r.current,v=function(){r.cleanUp(n)};return!r.isClosing&&(r.isClosing=!0,!1===r.trigger("beforeClose",n)?(r.isClosing=!1,c(function(){r.update()}),!1):(r.removeEvents(),h=f.$content,o=f.opts.animationEffect,s=i.isNumeric(t)?t:o?f.opts.animationDuration:0,f.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==n?i.fancybox.stop(f.$slide):o=!1,f.$slide.siblings().trigger("onReset").remove(),s&&r.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",s+"ms"),r.hideLoading(f),r.hideControls(!0),r.updateCursor(),"zoom"!==o||h&&s&&"image"===f.type&&!r.isMoved()&&!f.hasError&&(e=r.getThumbPos(f))||(o="fade"),"zoom"===o?(i.fancybox.stop(h),l=i.fancybox.getTranslate(h),y={top:l.top,left:l.left,scaleX:l.width/e.width,scaleY:l.height/e.height,width:e.width,height:e.height},a=f.opts.zoomOpacity,"auto"==a&&(a=Math.abs(f.width/f.height-e.width/e.height)>.1),a&&(e.opacity=0),i.fancybox.setTranslate(h,y),u(h),i.fancybox.animate(h,e,s,v),!0):(o&&s?i.fancybox.animate(f.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+o,s,v):!0===n?setTimeout(v,s):v(),!0)))},cleanUp:function(t){var f,e,o,r=this,u=r.current.opts.$orig;r.current.$slide.trigger("onReset");r.$refs.container.empty().remove();r.trigger("afterClose",t);r.current.opts.backFocus&&(u&&u.length&&u.is(":visible")||(u=r.$trigger),u&&u.length&&(e=n.scrollX,o=n.scrollY,u.trigger("focus"),i("html, body").scrollTop(o).scrollLeft(e)));r.current=null;f=i.fancybox.getInstance();f?f.activate():(i("body").removeClass("fancybox-active compensate-for-scrollbar"),i("#fancybox-style-noscroll").remove())},trigger:function(n,t){var o,f=Array.prototype.slice.call(arguments,1),e=this,u=t&&t.opts?t:e.current;if(u?f.unshift(u):u=e,f.unshift(e),i.isFunction(u.opts[n])&&(o=u.opts[n].apply(u,f)),!1===o)return o;"afterClose"!==n&&e.$refs?e.$refs.container.trigger(n+".fb",f):r.trigger(n+".fb",f)},updateControls:function(){var n=this,r=n.current,f=r.index,u=n.$refs.container,o=n.$refs.caption,e=r.opts.caption;r.$slide.trigger("refresh");e&&e.length?(n.$caption=o,o.children().eq(0).html(e)):n.$caption=null;n.hasHiddenControls||n.isIdle||n.showControls();u.find("[data-fancybox-count]").html(n.group.length);u.find("[data-fancybox-index]").html(f+1);u.find("[data-fancybox-prev]").prop("disabled",!r.opts.loop&&f<=0);u.find("[data-fancybox-next]").prop("disabled",!r.opts.loop&&f>=n.group.length-1);"image"===r.type?u.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",r.opts.image.src||r.src).show():r.opts.toolbar&&u.find("[data-fancybox-download],[data-fancybox-zoom]").hide();i(t.activeElement).is(":hidden,[disabled]")&&n.$refs.container.trigger("focus")},hideControls:function(n){var i=this,t=["infobar","toolbar","nav"];!n&&i.current.opts.preventCaptionOverlap||t.push("caption");this.$refs.container.removeClass(t.map(function(n){return"fancybox-show-"+n}).join(" "));this.hasHiddenControls=!0},showControls:function(){var n=this,t=n.current?n.current.opts:n.opts,i=n.$refs.container;n.hasHiddenControls=!1;n.idleSecondsCounter=0;i.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&n.group.length>1)).toggleClass("fancybox-show-caption",!!n.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&n.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}});i.fancybox={version:"3.5.7",defaults:l,getInstance:function(n){var t=i('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),r=Array.prototype.slice.call(arguments,1);return t instanceof h&&("string"===i.type(n)?t[n].apply(t,r):"function"===i.type(n)&&n.apply(t,r),t)},open:function(n,t,i){return new h(n,t,i)},close:function(n){var t=this.getInstance();t&&(t.close(),!0===n&&this.close(n))},destroy:function(){this.close(!0);r.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var i=t.createElement("div");return n.getComputedStyle&&n.getComputedStyle(i)&&n.getComputedStyle(i).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)}(),getTranslate:function(n){var t;return!(!n||!n.length)&&(t=n[0].getBoundingClientRect(),{top:t.top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(n.css("opacity"))})},setTranslate:function(n,t){var i="",r={};if(n&&t)return void 0===t.left&&void 0===t.top||(i=(void 0===t.left?n.position().left:t.left)+"px, "+(void 0===t.top?n.position().top:t.top)+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),void 0!==t.scaleX&&void 0!==t.scaleY?i+=" scale("+t.scaleX+", "+t.scaleY+")":void 0!==t.scaleX&&(i+=" scaleX("+t.scaleX+")"),i.length&&(r.transform=i),void 0!==t.opacity&&(r.opacity=t.opacity),void 0!==t.width&&(r.width=t.width),void 0!==t.height&&(r.height=t.height),n.css(r)},animate:function(n,t,r,u,f){var s,e=this;i.isFunction(r)&&(u=r,r=null);e.stop(n);s=e.getTranslate(n);n.on(o,function(o){o&&o.originalEvent&&(!n.is(o.originalEvent.target)||"z-index"==o.originalEvent.propertyName)||(e.stop(n),i.isNumeric(r)&&n.css("transition-duration",""),i.isPlainObject(t)?void 0!==t.scaleX&&void 0!==t.scaleY&&e.setTranslate(n,{top:t.top,left:t.left,width:s.width*t.scaleX,height:s.height*t.scaleY,scaleX:1,scaleY:1}):!0!==f&&n.removeClass(t),i.isFunction(u)&&u(o))});i.isNumeric(r)&&n.css("transition-duration",r+"ms");i.isPlainObject(t)?(void 0!==t.scaleX&&void 0!==t.scaleY&&(delete t.width,delete t.height,n.parent().hasClass("fancybox-slide--image")&&n.parent().addClass("fancybox-is-scaling")),i.fancybox.setTranslate(n,t)):n.addClass(t);n.data("timer",setTimeout(function(){n.trigger(o)},r+33))},stop:function(n,t){n&&n.length&&(clearTimeout(n.data("timer")),t&&n.trigger(o),n.off(o).css("transition-duration",""),n.parent().removeClass("fancybox-is-scaling"))}};i.fn.fancybox=function(n){var t;return n=n||{},t=n.selector||!1,t?i("body").off("click.fb-start",t).on("click.fb-start",t,{options:n},s):this.off("click.fb-start").on("click.fb-start",{items:this,options:n},s),this};r.on("click.fb-start","[data-fancybox]",s);r.on("click.fb-start","[data-fancybox-trigger]",function(){i('[data-fancybox="'+i(this).attr("data-fancybox-trigger")+'"]').eq(i(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:i(this)})}),function(){var n=null;r.on("mousedown mouseup focus blur",".fancybox-button",function(t){switch(t.type){case"mousedown":n=i(this);break;case"mouseup":n=null;break;case"focusin":i(".fancybox-button").removeClass("fancybox-focus");i(this).is(n)||i(this).is("[disabled]")||i(this).addClass("fancybox-focus");break;case"focusout":i(".fancybox-button").removeClass("fancybox-focus")}})}()}}(window,document,jQuery),function(n){"use strict";var r={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(n){return"//maps.google."+n[2]+"/?ll="+(n[9]?n[9]+"&z="+Math.floor(n[10])+(n[12]?n[12].replace(/^\//,"&"):""):n[12]+"").replace(/\?/,"&")+"&output="+(n[12]&&n[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(n){return"//maps.google."+n[2]+"/maps?q="+n[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},t=function(t,i,r){if(t)return r=r||"","object"===n.type(r)&&(r=n.param(r,!0)),n.each(i,function(n,i){t=t.replace("$"+n,i||"")}),r.length&&(t+=(t.indexOf("?")>0?"&":"?")+r),t},i;n(document).on("objectNeedsType.fb",function(i,u,f){var v,y,s,c,e,a,l,o=f.src||"",h=!1;v=n.extend(!0,{},r,f.opts.media);n.each(v,function(i,r){var u,v;if(s=o.match(r.matcher)){if(h=r.type,l=i,a={},r.paramPlace&&s[r.paramPlace])for(e=s[r.paramPlace],"?"==e[0]&&(e=e.substring(1)),e=e.split("&"),u=0;u<e.length;++u)v=e[u].split("=",2),2==v.length&&(a[v[0]]=decodeURIComponent(v[1].replace(/\+/g," ")));return c=n.extend(!0,{},r.params,f.opts[i],a),o="function"===n.type(r.url)?r.url.call(this,s,c,f):t(r.url,s,c),y="function"===n.type(r.thumb)?r.thumb.call(this,s,c,f):t(r.thumb,s),"youtube"===i?o=o.replace(/&t=((\d+)m)?(\d+)s/,function(n,t,i,r){return"&start="+((i?60*parseInt(i,10):0)+parseInt(r,10))}):"vimeo"===i&&(o=o.replace("&%23","#")),!1}});h?(f.opts.thumb||f.opts.$thumb&&f.opts.$thumb.length||(f.opts.thumb=y),"iframe"===h&&(f.opts=n.extend(!0,f.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),n.extend(f,{type:h,src:o,origSrc:f.src,contentSource:l,contentType:"image"===h?"image":"gmap_place"==l||"gmap_search"==l?"map":"video"})):o&&(f.type=f.opts.defaultType)});i={youtube:{src:"https://www.youtube.com/iframe_api","class":"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js","class":"Vimeo",loading:!1,loaded:!1},load:function(n){var t,i=this;if(this[n].loaded)return void setTimeout(function(){i.done(n)});this[n].loading||(this[n].loading=!0,t=document.createElement("script"),t.type="text/javascript",t.src=this[n].src,"youtube"===n?window.onYouTubeIframeAPIReady=function(){i[n].loaded=!0;i.done(n)}:t.onload=function(){i[n].loaded=!0;i.done(n)},document.body.appendChild(t))},done:function(t){var i,r,u;"youtube"===t&&delete window.onYouTubeIframeAPIReady;(i=n.fancybox.getInstance())&&(r=i.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?u=new YT.Player(r.attr("id"),{events:{onStateChange:function(n){0==n.data&&i.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&(u=new Vimeo.Player(r),u.on("ended",function(){i.next()})))}};n(document).on({"afterShow.fb":function(n,t,r){t.group.length>1&&("youtube"===r.contentSource||"vimeo"===r.contentSource)&&i.load(r.contentSource)}})}(jQuery),function(n,t,i){"use strict";var o=function(){return n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||function(t){return n.setTimeout(t,1e3/60)}}(),f=function(){return n.cancelAnimationFrame||n.webkitCancelAnimationFrame||n.mozCancelAnimationFrame||n.oCancelAnimationFrame||function(t){n.clearTimeout(t)}}(),e=function(t){var r=[],i;t=t.originalEvent||t||n.e;t=t.touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t];for(i in t)t[i].pageX?r.push({x:t[i].pageX,y:t[i].pageY}):t[i].clientX&&r.push({x:t[i].clientX,y:t[i].clientY});return r},u=function(n,t,i){return t&&n?"x"===i?n.x-t.x:"y"===i?n.y-t.y:Math.sqrt(Math.pow(n.x-t.x,2)+Math.pow(n.y-t.y,2)):0},s=function(n){if(n.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||i.isFunction(n.get(0).onclick)||n.data("selectable"))return!0;for(var t=0,r=n[0].attributes,u=r.length;t<u;t++)if("data-fancybox-"===r[t].nodeName.substr(0,14))return!0;return!1},c=function(t){var i=n.getComputedStyle(t)["overflow-y"],r=n.getComputedStyle(t)["overflow-x"],u=("scroll"===i||"auto"===i)&&t.scrollHeight>t.clientHeight,f=("scroll"===r||"auto"===r)&&t.scrollWidth>t.clientWidth;return u||f},h=function(n){for(var t=!1;;){if(t=c(n.get(0)))break;if(n=n.parent(),!n.length||n.hasClass("fancybox-stage")||n.is("body"))break}return t},r=function(n){var t=this;t.instance=n;t.$bg=n.$refs.bg;t.$stage=n.$refs.stage;t.$container=n.$refs.container;t.destroy();t.$container.on("touchstart.fb.touch mousedown.fb.touch",i.proxy(t,"ontouchstart"))};r.prototype.destroy=function(){var n=this;n.$container.off(".fb.touch");i(t).off(".fb.touch");n.requestId&&(f(n.requestId),n.requestId=null);n.tapped&&(clearTimeout(n.tapped),n.tapped=null)};r.prototype.ontouchstart=function(r){var f=this,o=i(r.target),l=f.instance,c=l.current,a=c.$slide,y=c.$content,v="touchstart"==r.type;if(v&&f.$container.off("mousedown.fb.touch"),(!r.originalEvent||2!=r.originalEvent.button)&&a.length&&o.length&&!s(o)&&!s(o.parent())&&(o.is("img")||!(r.originalEvent.clientX>o[0].clientWidth+o.offset().left))){if(!c||l.isAnimating||c.$slide.hasClass("fancybox-animated"))return r.stopPropagation(),void r.preventDefault();f.realPoints=f.startPoints=e(r);f.startPoints.length&&(c.touch&&r.stopPropagation(),f.startEvent=r,f.canTap=!0,f.$target=o,f.$content=y,f.opts=c.opts.touch,f.isPanning=!1,f.isSwiping=!1,f.isZooming=!1,f.isScrolling=!1,f.canPan=l.canPan(),f.startTime=(new Date).getTime(),f.distanceX=f.distanceY=f.distance=0,f.canvasWidth=Math.round(a[0].clientWidth),f.canvasHeight=Math.round(a[0].clientHeight),f.contentLastPos=null,f.contentStartPos=i.fancybox.getTranslate(f.$content)||{top:0,left:0},f.sliderStartPos=i.fancybox.getTranslate(a),f.stagePos=i.fancybox.getTranslate(l.$refs.stage),f.sliderStartPos.top-=f.stagePos.top,f.sliderStartPos.left-=f.stagePos.left,f.contentStartPos.top-=f.stagePos.top,f.contentStartPos.left-=f.stagePos.left,i(t).off(".fb.touch").on(v?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",i.proxy(f,"ontouchend")).on(v?"touchmove.fb.touch":"mousemove.fb.touch",i.proxy(f,"ontouchmove")),i.fancybox.isMobile&&t.addEventListener("scroll",f.onscroll,!0),((f.opts||f.canPan)&&(o.is(f.$stage)||f.$stage.find(o).length)||(o.is(".fancybox-image")&&r.preventDefault(),i.fancybox.isMobile&&o.parents(".fancybox-caption").length))&&(f.isScrollable=h(o)||h(o.parent()),i.fancybox.isMobile&&f.isScrollable||r.preventDefault(),(1===f.startPoints.length||c.hasError)&&(f.canPan?(i.fancybox.stop(f.$content),f.isPanning=!0):f.isSwiping=!0,f.$container.addClass("fancybox-is-grabbing")),2===f.startPoints.length&&"image"===c.type&&(c.isLoaded||c.$ghost)&&(f.canTap=!1,f.isSwiping=!1,f.isPanning=!1,f.isZooming=!0,i.fancybox.stop(f.$content),f.centerPointStartX=.5*(f.startPoints[0].x+f.startPoints[1].x)-i(n).scrollLeft(),f.centerPointStartY=.5*(f.startPoints[0].y+f.startPoints[1].y)-i(n).scrollTop(),f.percentageOfImageAtPinchPointX=(f.centerPointStartX-f.contentStartPos.left)/f.contentStartPos.width,f.percentageOfImageAtPinchPointY=(f.centerPointStartY-f.contentStartPos.top)/f.contentStartPos.height,f.startDistanceBetweenFingers=u(f.startPoints[0],f.startPoints[1]))))}};r.prototype.onscroll=function(){var n=this;n.isScrolling=!0;t.removeEventListener("scroll",n.onscroll,!0)};r.prototype.ontouchmove=function(n){var t=this;return void 0!==n.originalEvent.buttons&&0===n.originalEvent.buttons?void t.ontouchend(n):t.isScrolling?void(t.canTap=!1):(t.newPoints=e(n),void((t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||n.preventDefault(),t.distanceX=u(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=u(t.newPoints[0],t.startPoints[0],"y"),t.distance=u(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(n):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))))};r.prototype.onSwipe=function(){var e,t=this,r=t.instance,s=t.isSwiping,u=t.sliderStartPos.left||0;if(!0!==s)"x"==s&&(t.distanceX>0&&(t.instance.group.length<2||0===t.instance.current.index&&!t.instance.current.opts.loop)?u+=Math.pow(t.distanceX,.8):t.distanceX<0&&(t.instance.group.length<2||t.instance.current.index===t.instance.group.length-1&&!t.instance.current.opts.loop)?u-=Math.pow(-t.distanceX,.8):u+=t.distanceX),t.sliderLastPos={top:"x"==s?0:t.sliderStartPos.top+t.distanceY,left:u},t.requestId&&(f(t.requestId),t.requestId=null),t.requestId=o(function(){t.sliderLastPos&&(i.each(t.instance.slides,function(n,r){var u=r.pos-t.instance.currPos;i.fancybox.setTranslate(r.$slide,{top:t.sliderLastPos.top,left:t.sliderLastPos.left+u*t.canvasWidth+u*r.opts.gutter})}),t.$container.addClass("fancybox-is-sliding"))});else if(Math.abs(t.distance)>10){if(t.canTap=!1,r.group.length<2&&t.opts.vertical?t.isSwiping="y":r.isDragging||!1===t.opts.vertical||"auto"===t.opts.vertical&&i(n).width()>800?t.isSwiping="x":(e=Math.abs(180*Math.atan2(t.distanceY,t.distanceX)/Math.PI),t.isSwiping=e>45&&e<135?"y":"x"),"y"===t.isSwiping&&i.fancybox.isMobile&&t.isScrollable)return void(t.isScrolling=!0);r.isDragging=t.isSwiping;t.startPoints=t.newPoints;i.each(r.slides,function(n,u){var f,e;i.fancybox.stop(u.$slide);f=i.fancybox.getTranslate(u.$slide);e=i.fancybox.getTranslate(r.$refs.stage);u.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(n,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});u.pos===r.current.pos&&(t.sliderStartPos.top=f.top-e.top,t.sliderStartPos.left=f.left-e.left);i.fancybox.setTranslate(u.$slide,{top:f.top-e.top,left:f.left-e.left})});r.SlideShow&&r.SlideShow.isActive&&r.SlideShow.stop()}};r.prototype.onPan=function(){var n=this;if(u(n.newPoints[0],n.realPoints[0])<(i.fancybox.isMobile?10:5))return void(n.startPoints=n.newPoints);n.canTap=!1;n.contentLastPos=n.limitMovement();n.requestId&&f(n.requestId);n.requestId=o(function(){i.fancybox.setTranslate(n.$content,n.contentLastPos)})};r.prototype.limitMovement=function(){var f,e,o,s,n,t,i=this,h=i.canvasWidth,v=i.canvasHeight,r=i.distanceX,u=i.distanceY,c=i.contentStartPos,l=c.left,y=c.top,a=c.width,p=c.height;return n=a>h?l+r:l,t=y+u,f=Math.max(0,.5*h-.5*a),e=Math.max(0,.5*v-.5*p),o=Math.min(h-a,.5*h-.5*a),s=Math.min(v-p,.5*v-.5*p),r>0&&n>f&&(n=f-1+Math.pow(-f+l+r,.8)||0),r<0&&n<o&&(n=o+1-Math.pow(o-l-r,.8)||0),u>0&&t>e&&(t=e-1+Math.pow(-e+y+u,.8)||0),u<0&&t<s&&(t=s+1-Math.pow(s-y-u,.8)||0),{top:t,left:n}};r.prototype.limitPosition=function(n,t,i,r){var e=this,u=e.canvasWidth,f=e.canvasHeight;return i>u?(n=n>0?0:n,n=n<u-i?u-i:n):n=Math.max(0,u/2-i/2),r>f?(t=t>0?0:t,t=t<f-r?f-r:t):t=Math.max(0,f/2-r/2),{top:t,left:n}};r.prototype.onZoom=function(){var t=this,r=t.contentStartPos,s=r.width,h=r.height,a=r.left,v=r.top,y=u(t.newPoints[0],t.newPoints[1]),e=y/t.startDistanceBetweenFingers,c=Math.floor(s*e),l=Math.floor(h*e),p=(s-c)*t.percentageOfImageAtPinchPointX,w=(h-l)*t.percentageOfImageAtPinchPointY,b=(t.newPoints[0].x+t.newPoints[1].x)/2-i(n).scrollLeft(),k=(t.newPoints[0].y+t.newPoints[1].y)/2-i(n).scrollTop(),d=b-t.centerPointStartX,g=k-t.centerPointStartY,nt=a+(p+d),tt=v+(w+g),it={top:tt,left:nt,scaleX:e,scaleY:e};t.canTap=!1;t.newWidth=c;t.newHeight=l;t.contentLastPos=it;t.requestId&&f(t.requestId);t.requestId=o(function(){i.fancybox.setTranslate(t.$content,t.contentLastPos)})};r.prototype.ontouchend=function(n){var r=this,u=r.isSwiping,o=r.isPanning,s=r.isZooming,h=r.isScrolling;if(r.endPoints=e(n),r.dMs=Math.max((new Date).getTime()-r.startTime,1),r.$container.removeClass("fancybox-is-grabbing"),i(t).off(".fb.touch"),t.removeEventListener("scroll",r.onscroll,!0),r.requestId&&(f(r.requestId),r.requestId=null),r.isSwiping=!1,r.isPanning=!1,r.isZooming=!1,r.isScrolling=!1,r.instance.isDragging=!1,r.canTap)return r.onTap(n);r.speed=100;r.velocityX=r.distanceX/r.dMs*.5;r.velocityY=r.distanceY/r.dMs*.5;o?r.endPanning():s?r.endZooming():r.endSwiping(u,h)};r.prototype.endSwiping=function(n,t){var r=this,u=!1,o=r.instance.group.length,f=Math.abs(r.distanceX),e="x"==n&&o>1&&(r.dMs>130&&f>10||f>50);r.sliderLastPos=null;"y"==n&&!t&&Math.abs(r.distanceY)>50?(i.fancybox.animate(r.instance.current.$slide,{top:r.sliderStartPos.top+r.distanceY+150*r.velocityY,opacity:0},200),u=r.instance.close(!0,250)):e&&r.distanceX>0?u=r.instance.previous(300):e&&r.distanceX<0&&(u=r.instance.next(300));!1!==u||"x"!=n&&"y"!=n||r.instance.centerSlide(200);r.$container.removeClass("fancybox-is-sliding")};r.prototype.endPanning=function(){var r,u,t,n=this;n.contentLastPos&&(!1===n.opts.momentum||n.dMs>350?(r=n.contentLastPos.left,u=n.contentLastPos.top):(r=n.contentLastPos.left+500*n.velocityX,u=n.contentLastPos.top+500*n.velocityY),t=n.limitPosition(r,u,n.contentStartPos.width,n.contentStartPos.height),t.width=n.contentStartPos.width,t.height=n.contentStartPos.height,i.fancybox.animate(n.$content,t,366))};r.prototype.endZooming=function(){var u,f,e,o,n=this,s=n.instance.current,t=n.newWidth,r=n.newHeight;n.contentLastPos&&(u=n.contentLastPos.left,f=n.contentLastPos.top,o={top:f,left:u,width:t,height:r,scaleX:1,scaleY:1},i.fancybox.setTranslate(n.$content,o),t<n.canvasWidth&&r<n.canvasHeight?n.instance.scaleToFit(150):t>s.width||r>s.height?n.instance.scaleToActual(n.centerPointStartX,n.centerPointStartY,150):(e=n.limitPosition(u,f,t,r),i.fancybox.animate(n.$content,e,150)))};r.prototype.onTap=function(t){var f,u=this,s=i(t.target),r=u.instance,o=r.current,h=t&&e(t)||u.startPoints,c=h[0]?h[0].x-i(n).scrollLeft()-u.stagePos.left:0,l=h[0]?h[0].y-i(n).scrollTop()-u.stagePos.top:0,a=function(n){var f=o.opts[n];if(i.isFunction(f)&&(f=f.apply(r,[o,t])),f)switch(f){case"close":r.close(u.startEvent);break;case"toggleControls":r.toggleControls();break;case"next":r.next();break;case"nextOrClose":r.group.length>1?r.next():r.close(u.startEvent);break;case"zoom":"image"==o.type&&(o.isLoaded||o.$ghost)&&(r.canPan()?r.scaleToFit():r.isScaledDown()?r.scaleToActual(c,l):r.group.length<2&&r.close(u.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(s.is("img")||!(c>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))f="Outside";else if(s.is(".fancybox-slide"))f="Slide";else{if(!r.current.$content||!r.current.$content.find(s).addBack().filter(s).length)return;f="Content"}if(u.tapped){if(clearTimeout(u.tapped),u.tapped=null,Math.abs(c-u.tapX)>50||Math.abs(l-u.tapY)>50)return this;a("dblclick"+f)}else u.tapX=c,u.tapY=l,o.opts["dblclick"+f]&&o.opts["dblclick"+f]!==o.opts["click"+f]?u.tapped=setTimeout(function(){u.tapped=null;r.isAnimating||a("click"+f)},500):a("click"+f);return this}};i(t).on("onActivate.fb",function(n,t){t&&!t.Guestures&&(t.Guestures=new r(t))}).on("beforeClose.fb",function(n,t){t&&t.Guestures&&t.Guestures.destroy()})}(window,document,jQuery),function(n,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/><\/svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/><\/svg><\/button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var i=function(n){this.instance=n;this.init()};t.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var n=this,i=n.instance,r=i.group[i.currIndex].opts.slideShow;n.$button=i.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){n.toggle()});i.group.length<2||!r?n.$button.hide():r.progress&&(n.$progress=t('<div class="fancybox-progress"><\/div>').appendTo(i.$refs.inner))},set:function(n){var r=this,i=r.instance,u=i.current;u&&(!0===n||u.opts.loop||i.currIndex<i.group.length-1)?r.isActive&&"video"!==u.contentType&&(r.$progress&&t.fancybox.animate(r.$progress.show(),{scaleX:1},u.opts.slideShow.speed),r.timer=setTimeout(function(){i.current.opts.loop||i.current.index!=i.group.length-1?i.next():i.jumpTo(0)},u.opts.slideShow.speed)):(r.stop(),i.idleSecondsCounter=0,i.showControls())},clear:function(){var n=this;clearTimeout(n.timer);n.timer=null;n.$progress&&n.$progress.removeAttr("style").hide()},start:function(){var n=this,t=n.instance.current;t&&(n.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),n.isActive=!0,t.isComplete&&n.set(!0),n.instance.trigger("onSlideShowChange",!0))},stop:function(){var n=this,t=n.instance.current;n.clear();n.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play");n.isActive=!1;n.instance.trigger("onSlideShowChange",!1);n.$progress&&n.$progress.removeAttr("style").hide()},toggle:function(){var n=this;n.isActive?n.stop():n.start()}});t(n).on({"onInit.fb":function(n,t){t&&!t.SlideShow&&(t.SlideShow=new i(t))},"beforeShow.fb":function(n,t,i,r){var u=t&&t.SlideShow;r?u&&i.opts.slideShow.autoStart&&u.start():u&&u.isActive&&u.clear()},"afterShow.fb":function(n,t){var i=t&&t.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(i,r,u,f,e){var o=r&&r.SlideShow;o&&u.opts.slideShow&&(80===e||32===e)&&!t(n.activeElement).is("button,a,input")&&(f.preventDefault(),o.toggle())},"beforeClose.fb onDeactivate.fb":function(n,t){var i=t&&t.SlideShow;i&&i.stop()}});t(n).on("visibilitychange",function(){var r=t.fancybox.getInstance(),i=r&&r.SlideShow;i&&i.isActive&&(n.hidden?i.clear():i.set())})}(document,jQuery),function(n,t){"use strict";var i=function(){for(var t,i,r=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
14webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],f={},u=0;u<r.length;u++)if(t=r[u],t&&t[1]in n){for(i=0;i<t.length;i++)f[r[0][i]]=t[i];return f}return!1}(),r;i&&(r={request:function(t){t=t||n.documentElement;t[i.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){n[i.exitFullscreen]()},toggle:function(t){t=t||n.documentElement;this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(n[i.fullscreenElement])},enabled:function(){return Boolean(n[i.fullscreenEnabled])}},t.extend(!0,t.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/><\/svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/><\/svg><\/button>'},fullScreen:{autoStart:!1}}),t(n).on(i.fullscreenchange,function(){var i=r.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",i),n.$refs.container.toggleClass("fancybox-is-fullscreen",i),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!i).toggleClass("fancybox-button--fsexit",i))}));t(n).on({"onInit.fb":function(n,t){var u;if(!i)return void t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove();t&&t.group[t.currIndex].opts.fullScreen?(u=t.$refs.container,u.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(n){n.stopPropagation();n.preventDefault();r.toggle()}),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&r.request(),t.FullScreen=r):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide()},"afterKeydown.fb":function(n,t,i,r,u){t&&t.FullScreen&&70===u&&(r.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(n,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&r.exit()}})}(document,jQuery),function(n,t){"use strict";var i="fancybox-thumbs",r;t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/><\/svg><\/button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);r=function(n){this.init(n)};t.extend(r.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(n){var t=this,r=n.group,u=0,i,f;for(t.instance=n,t.opts=r[n.currIndex].opts.thumbs,n.Thumbs=t,t.$button=n.$refs.toolbar.find("[data-fancybox-thumbs]"),i=0,f=r.length;i<f&&(r[i].thumb&&u++,!(u>1));i++);u>1&&t.opts?(t.$button.removeAttr("style").on("click",function(){t.toggle()}),t.isActive=!0):t.$button.hide()},create:function(){var r,n=this,u=n.instance,f=n.opts.parentEl,e=[];n.$grid||(n.$grid=t('<div class="'+i+" "+i+"-"+n.opts.axis+'"><\/div>').appendTo(u.$refs.container.find(f).addBack().filter(f)),n.$grid.on("click","a",function(){u.jumpTo(t(this).attr("data-index"))}));n.$list||(n.$list=t('<div class="'+i+'__list">').appendTo(n.$grid));t.each(u.group,function(n,t){r=t.thumb;r||"image"!==t.type||(r=t.src);e.push('<a href="javascript:;" tabindex="0" data-index="'+n+'"'+(r&&r.length?' style="background-image:url('+r+')"':'class="fancybox-thumbs-missing"')+"><\/a>")});n.$list[0].innerHTML=e.join("");"x"===n.opts.axis&&n.$list.width(parseInt(n.$grid.css("padding-right"),10)+u.group.length*n.$list.children().eq(0).outerWidth(!0))},focus:function(n){var u,t,i=this,r=i.$list,f=i.$grid;i.instance.current&&(u=r.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+i.instance.current.index+'"]').addClass("fancybox-thumbs-active"),t=u.position(),"y"===i.opts.axis&&(t.top<0||t.top>r.height()-u.outerHeight())?r.stop().animate({scrollTop:r.scrollTop()+t.top},n):"x"===i.opts.axis&&(t.left<f.scrollLeft()||t.left>f.scrollLeft()+(f.width()-u.outerWidth()))&&r.parent().stop().animate({scrollLeft:t.left},n))},update:function(){var n=this;n.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible);n.isVisible?(n.$grid||n.create(),n.instance.trigger("onThumbsShow"),n.focus(0)):n.$grid&&n.instance.trigger("onThumbsHide");
vendor: 6,460 bytes, lines 14-19
14n.instance.update()},hide:function(){this.isVisible=!1;this.update()},show:function(){this.isVisible=!0;this.update()},toggle:function(){this.isVisible=!this.isVisible;this.update()}});t(n).on({"onInit.fb":function(n,t){var i;t&&!t.Thumbs&&(i=new r(t),i.isActive&&!0===i.opts.autoStart&&i.show())},"beforeShow.fb":function(n,t,i,r){var u=t&&t.Thumbs;u&&u.isVisible&&u.focus(r?0:250)},"afterKeydown.fb":function(n,t,i,r,u){var f=t&&t.Thumbs;f&&f.isActive&&71===u&&(r.preventDefault(),f.toggle())},"beforeClose.fb":function(n,t){var i=t&&t.Thumbs;i&&i.isVisible&&!1!==i.opts.hideOnClose&&i.$grid.hide()}})}(document,jQuery),function(n,t){"use strict";function i(n){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(n).replace(/[&<>"'`=\/]/g,function(n){return t[n]})}t.extend(!0,t.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/><\/svg><\/button>'},share:{url:function(n,t){return!n.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}<\/h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /><\/svg><span>Facebook<\/span><\/a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /><\/svg><span>Twitter<\/span><\/a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/><\/svg><span>Pinterest<\/span><\/a><\/p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /><\/p><\/div>'}});t(n).on("click","[data-fancybox-share]",function(){var u,f,r=t.fancybox.getInstance(),n=r.current||null;n&&("function"===t.type(n.opts.share.url)&&(u=n.opts.share.url.apply(n,[r,n])),f=n.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===n.type?encodeURIComponent(n.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(u)).replace(/\{\{url_raw\}\}/g,i(u)).replace(/\{\{descr\}\}/g,r.$caption?encodeURIComponent(r.$caption.text()):""),t.fancybox.open({src:r.translate(r,f),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(n,t){r.$refs.container.one("beforeClose.fb",function(){n.close(null,0)});t.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})}(document,jQuery),function(n,t,i){"use strict";function r(){var i=n.location.hash.substr(1),t=i.split("-"),r=t.length>1&&/^\+?\d+$/.test(t[t.length-1])?parseInt(t.pop(-1),10)||1:1,u=t.join("-");return{hash:i,index:r<1?1:r,gallery:u}}function u(n){""!==n.gallery&&i("[data-fancybox='"+i.escapeSelector(n.gallery)+"']").eq(n.index-1).focus().trigger("click.fb-start")}function f(n){var t,i;return!!n&&(t=n.current?n.current.opts:n.opts,""!==(i=t.hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&i)}i.escapeSelector||(i.escapeSelector=function(n){return(n+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(n,t){return t?"\0"===n?"�":n.slice(0,-1)+"\\"+n.charCodeAt(n.length-1).toString(16)+" ":"\\"+n})});i(function(){!1!==i.fancybox.defaults.hash&&(i(t).on({"onInit.fb":function(n,t){var i,u;!1!==t.group[t.currIndex].opts.hash&&(i=r(),(u=f(t))&&i.gallery&&u==i.gallery&&(t.currIndex=i.index-1))},"beforeShow.fb":function(i,r,u,e){var o;u&&!1!==u.opts.hash&&(o=f(r))&&(r.currentHash=o+(r.group.length>1?"-"+(u.index+1):""),n.location.hash!=="#"+r.currentHash&&(e&&!r.origHash&&(r.origHash=n.location.hash),r.hashTimer&&clearTimeout(r.hashTimer),r.hashTimer=setTimeout(function(){"replaceState"in n.history?(n.history[e?"pushState":"replaceState"]({},t.title,n.location.pathname+n.location.search+"#"+r.currentHash),e&&(r.hasCreatedHistory=!0)):n.location.hash=r.currentHash;r.hashTimer=null},300)))},"beforeClose.fb":function(i,r,u){u&&!1!==u.opts.hash&&(clearTimeout(r.hashTimer),r.currentHash&&r.hasCreatedHistory?n.history.back():r.currentHash&&("replaceState"in n.history?n.history.replaceState({},t.title,n.location.pathname+n.location.search+(r.origHash||"")):n.location.hash=r.origHash),r.currentHash=null)}}),i(n).on("hashchange.fb",function(){var n=r(),t=null;i.each(i(".fancybox-container").get().reverse(),function(n,r){var u=i(r).data("FancyBox");if(u&&u.currentHash)return t=u,!1});t?t.currentHash===n.gallery+"-"+n.index||1===n.index&&t.currentHash==n.gallery||(t.currentHash=null,t.close()):""!==n.gallery&&u(n)}),setTimeout(function(){i.fancybox.getInstance()||u(r())},50))})}(window,document,jQuery),function(n,t){"use strict";var i=(new Date).getTime();t(n).on({"onInit.fb":function(n,t){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(n){var r=t.current,u=(new Date).getTime();t.group.length<2||!1===r.opts.wheel||"auto"===r.opts.wheel&&"image"!==r.type||(n.preventDefault(),n.stopPropagation(),r.$slide.hasClass("fancybox-animated")||(n=n.originalEvent||n,u-i<250||(i=u,t[(-n.deltaY||-n.deltaX||n.wheelDelta||-n.detail)<0?"next":"previous"]())))})}})}(document,jQuery); 15/**! 16* @license FusionCharts JavaScript Library 17* Copyright FusionCharts Technologies LLP 18* License Information at <http://www.fusioncharts.com/license> 19*
20* @version 3.13.4 21* 22* @attributions (infers respective third-party copyrights) 23* Raphael 2.1.0 (modified as 'Red Raphael') <http://raphaeljs.com/license.html> 24* JSON v2 <http://www.JSON.org/js.html> 25* Firebug Lite 1.3.0 <http://getfirebug.com/firebuglite> 26*/ 27"function"!=typeof Object.assign&&(Object.assign=function(n){"use strict";var u,t,i,r;if(null==n)throw new TypeError("Cannot convert undefined or null to object");for(u=Object(n),t=1;t<arguments.length;t++)if(null!=(i=arguments[t]))for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(u[r]=i[r]);return u});Function.prototype.bind||(Function.prototype.bind=function(n){"use strict";var r,u,t,i;if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");return r=Array.prototype.slice.call(arguments,1),u=this,t=function(){},i=function(){return u.apply(this instanceof t?this:n,r.concat(Array.prototype.slice.call(arguments)))},this.prototype&&(t.prototype=this.prototype),i.prototype=new t,i}),function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.FusionCharts=t():n.FusionCharts=t()}(window,function(){return function(n){function o(t){for(var i,u,h=t[0],f=t[1],o=0,s=[];o<h.length;o++)u=h[o],r[u]&&s.push(r[u][0]),r[u]=0;for(i in f)Object.prototype.hasOwnProperty.call(f,i)&&(n[i]=f[i]);for(e&&e(t);s.length;)s.shift()()}function t(i){if(u[i])return u[i].exports;var r=u[i]={i:i,l:!1,exports:{}};return n[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var u={},r={0:0},i,s,f,e;for(t.e=function(n){var f=[],u=r[n],o,e,s,i,h;return 0!==u&&(u?f.push(u[2]):(o=new Promise(function(t,i){u=r[n]=[t,i]}),f.push(u[2]=o),s=document.getElementsByTagName("head")[0],i=document.createElement("script"),i.charset="utf-8",i.timeout=120,t.nc&&i.setAttribute("nonce",t.nc),i.src=function(n){return t.p+""+({1:"fusioncharts.charts",2:"fusioncharts.common",3:"fusioncharts.timeseries",4:"fusioncharts.powercharts",5:"fusioncharts.widgets",6:"fusioncharts.zoomline",7:"fusioncharts.gantt",8:"fusioncharts.treemap",9:"fusioncharts.zoomscatter",10:"fusioncharts.msstackedcolumn2dsplinedy",11:"fusioncharts.overlappedbar2d",12:"fusioncharts.overlappedcolumn2d",13:"fusioncharts.maps",14:"fusioncharts.vml"}[n]||n)+".js"}(n),e=function(t){var u;if(i.onerror=i.onload=null,clearTimeout(h),u=r[n],0!==u){if(u){var e=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src,f=new Error("Loading chunk "+n+" failed.\n("+e+": "+o+")");f.type=e;f.request=o;u[1](f)}r[n]=undefined}},h=setTimeout(function(){e({type:"timeout",target:i})},12e4),i.onerror=i.onload=e,s.appendChild(i))),Promise.all(f)},t.m=n,t.c=u,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,i){var r,u;if((1&i&&(n=t(n)),8&i)||4&i&&"object"==typeof n&&n&&n.__esModule)return n;if(r=Object.create(null),t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&i&&"string"!=typeof n)for(u in n)t.d(r,u,function(t){return n[t]}.bind(null,u));return r},t.n=function(n){var i=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t.oe=function(n){throw console.error(n),n;},i=window.webpackJsonpFusionCharts=window.webpackJsonpFusionCharts||[],s=i.push.bind(i),i.push=o,i=i.slice(),f=0;f<i.length;f++)o(i[f]);return e=s,t(t.s=0)}([function(n,t,i){i(1);i(92);i(116);n.exports=i(121)},function(n,t,i){"use strict";i(2);i(38);i(42);i(44);i(50);i(53);i(56);i(59);i(66);i(68);i(70);i(73);i(75);i(77);window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),n.currentStyle[t]?n.currentStyle[t]:null},this});Event.prototype.stopPropagation||(Event.prototype.stopPropagation=function(){this.cancelBubble=!0})},function(n,t,i){i(3);var r=i(7).Object;n.exports=function(n){return r.getOwnPropertyNames(n)}},function(n,t,i){i(4)("getOwnPropertyNames",function(){return i(23).f})},function(n,t,i){var r=i(5),u=i(7),f=i(14);n.exports=function(n,t){var i=(u.Object||{})[n]||Object[n],e={};e[n]=t(i);r(r.S+r.F*f(function(){i(1)}),"Object",e)}}
27,function(n,t,i){var u=i(6),f=i(7),o=i(8),s=i(18),e=i(21),r=function(n,t,i){var c,y,h,p,k=n&r.F,v=n&r.G,d=n&r.S,w=n&r.P,g=n&r.B,l=v?u:d?u[t]||(u[t]={}):(u[t]||{}).prototype,a=v?f:f[t]||(f[t]={}),b=a.prototype||(a.prototype={});for(c in v&&(i=t),i)h=((y=!k&&l&&l[c]!==undefined)?l:i)[c],p=g&&y?e(h,u):w&&"function"==typeof h?e(Function.call,h):h,l&&s(l,c,h,n&r.U),a[c]!=h&&o(a,c,p),w&&b[c]!=h&&(b[c]=h)};u.core=f;r.F=1;r.G=2;r.S=4;r.P=8;r.B=16;r.W=32;r.U=64;r.R=128;n.exports=r},function(n){var t=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(n){var t=n.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},function(n,t,i){var r=i(9),u=i(17);n.exports=i(13)?function(n,t,i){return r.f(n,t,u(1,i))}:function(n,t,i){return n[t]=i,n}},function(n,t,i){var r=i(10),u=i(12),f=i(16),e=Object.defineProperty;t.f=i(13)?Object.defineProperty:function(n,t,i){if(r(n),t=f(t,!0),r(i),u)try{return e(n,t,i)}catch(o){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(n[t]=i.value),n}},function(n,t,i){var r=i(11);n.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(n){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n,t,i){n.exports=!i(13)&&!i(14)(function(){return 7!=Object.defineProperty(i(15)("div"),"a",{get:function(){return 7}}).a})},function(n,t,i){n.exports=!i(14)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n){n.exports=function(n){try{return!!n()}catch(t){return!0}}},function(n,t,i){var u=i(11),r=i(6).document,f=u(r)&&u(r.createElement);n.exports=function(n){return f?r.createElement(n):{}}},function(n,t,i){var r=i(11);n.exports=function(n,t){if(!r(n))return n;var i,u;if(t&&"function"==typeof(i=n.toString)&&!r(u=i.call(n))||"function"==typeof(i=n.valueOf)&&!r(u=i.call(n))||!t&&"function"==typeof(i=n.toString)&&!r(u=i.call(n)))return u;throw TypeError("Can't convert object to primitive value");}},function(n){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},function(n,t,i){var o=i(6),r=i(8),e=i(19),u=i(20)("src"),f=Function.toString,s=(""+f).split("toString");i(7).inspectSource=function(n){return f.call(n)};(n.exports=function(n,t,i,f){var h="function"==typeof i;h&&(e(i,"name")||r(i,"name",t));n[t]!==i&&(h&&(e(i,u)||r(i,u,n[t]?""+n[t]:s.join(String(t)))),n===o?n[t]=i:f?n[t]?n[t]=i:r(n,t,i):(delete n[t],r(n,t,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||f.call(this)})},function(n){var t={}.hasOwnProperty;n.exports=function(n,i){return t.call(n,i)}},function(n){var t=0,i=Math.random();n.exports=function(n){return"Symbol(".concat(n===undefined?"":n,")_",(++t+i).toString(36))}},function(n,t,i){var r=i(22);n.exports=function(n,t,i){if(r(n),t===undefined)return n;switch(i){case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)}}return function(){return n.apply(t,arguments)}}},function(n){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,i){var f=i(24),r=i(28).f,e={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(n){return u&&"[object Window]"==e.call(n)?function(n){try{return r(n)}catch(t){return u.slice()}}(n):r(f(n))}},function(n,t,i){var r=i(25),u=i(27);n.exports=function(n){return r(u(n))}},function(n,t,i){var r=i(26);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==r(n)?n.split(""):Object(n)}},function(n){var t={}.toString;n.exports=function(n){return t.call(n).slice(8,-1)}},function(n){n.exports=function(n){if(n==undefined)throw TypeError("Can't call method on "+n);return n}},function(n,t,i){var r=i(29),u=i(37).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(n){return r(n,u)}},function(n,t,i){var r=i(19),u=i(24),f=i(30)(!1),e=i(34)("IE_PROTO");n.exports=function(n,t){var i,s=u(n),h=0,o=[];for(i in s)i!=e&&r(s,i)&&o.push(i);for(;t.length>h;
vendor: 4,132 bytes, line 27
27)r(s,i=t[h++])&&(~f(o,i)||o.push(i));return o}},function(n,t,i){var r=i(24),u=i(31),f=i(33);n.exports=function(n){return function(t,i,e){var c,s=r(t),h=u(s.length),o=f(e,h);if(n&&i!=i){for(;h>o;)if((c=s[o++])!=c)return!0}else for(;h>o;o++)if((n||o in s)&&s[o]===i)return n||o||0;return!n&&-1}}},function(n,t,i){var r=i(32),u=Math.min;n.exports=function(n){return n>0?u(r(n),9007199254740991):0}},function(n){var t=Math.ceil,i=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?i:t)(n)}},function(n,t,i){var r=i(32),u=Math.max,f=Math.min;n.exports=function(n,t){return(n=r(n))<0?u(n+t,0):f(n,t)}},function(n,t,i){var r=i(35)("keys"),u=i(20);n.exports=function(n){return r[n]||(r[n]=u(n))}},function(n,t,i){var f=i(7),r=i(6),u=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(n.exports=function(n,t){return u[n]||(u[n]=t!==undefined?t:{})})("versions",[]).push({version:f.version,mode:i(36)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(n){n.exports=!1},function(n){n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,t,i){i(39);var r=i(7).Object;n.exports=function(n,t){return r.getOwnPropertyDescriptor(n,t)}},function(n,t,i){var r=i(24),u=i(40).f;i(4)("getOwnPropertyDescriptor",function(){return function(n,t){return u(r(n),t)}})},function(n,t,i){var u=i(41),f=i(17),e=i(24),o=i(16),s=i(19),h=i(12),r=Object.getOwnPropertyDescriptor;t.f=i(13)?r:function(n,t){if(n=e(n),t=o(t,!0),h)try{return r(n,t)}catch(i){}if(s(n,t))return f(!u.f.call(n,t),n[t])}},function(n,t){t.f={}.propertyIsEnumerable},function(n,t,i){i(43);var r=i(7).Object;n.exports=function(n,t,i){return r.defineProperty(n,t,i)}},function(n,t,i){var r=i(5);r(r.S+r.F*!i(13),"Object",{defineProperty:i(9).f})},function(n,t,i){i(45);var r=i(7).Object;n.exports=function(n,t){return r.create(n,t)}},function(n,t,i){var r=i(5);r(r.S,"Object",{create:i(46)})},function(n,t,i){var e=i(10),o=i(47),f=i(37),s=i(34)("IE_PROTO"),u=function(){},r=function(){var n,t=i(15)("iframe"),u=f.length;for(t.style.display="none",i(49).appendChild(t),t.src="javascript:",(n=t.contentWindow.document).open(),n.write("<script>document.F=Object<\/script>"),n.close(),r=n.F;u--;)delete r.prototype[f[u]];return r()};n.exports=Object.create||function(n,t){var i;return null!==n?(u.prototype=e(n),i=new u,u.prototype=null,i[s]=n):i=r(),t===undefined?i:o(i,t)}},function(n,t,i){var r=i(9),u=i(10),f=i(48);n.exports=i(13)?Object.defineProperties:function(n,t){u(n);for(var i,e=f(t),s=e.length,o=0;s>o;)r.f(n,i=e[o++],t[i]);return n}},function(n,t,i){var r=i(29),u=i(37);n.exports=Object.keys||function(n){return r(n,u)}},function(n,t,i){var r=i(6).document;n.exports=r&&r.documentElement},function(n,t,i){i(51);n.exports=i(7).Object.keys},function(n,t,i){var r=i(52),u=i(48);i(4)("keys",function(){return function(n){return u(r(n))}})},function(n,t,i){var r=i(27);n.exports=function(n){return Object(r(n))}},function(n,t,i){i(54);n.exports=i(7).Object.entries},function(n,t,i){var r=i(5),u=i(55)(!0);r(r.S,"Object",{entries:function(n){return u(n)}})},function(n,t,i){var r=i(48),u=i(24),f=i(41).f;n.exports=function(n){return function(t){for(var i,e=u(t),o=r(e),c=o.length,s=0,h=[];c>s;)f.call(e,i=o[s++])&&h.push(n?[i,e[i]]:e[i]);return h}}},function(n,t,i){i(57);n.exports=i(7).Array.indexOf},function(n,t,i){"use strict";var r=i(5),e=i(30)(!1),u=[].indexOf,f=!!u&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(f||!i(58)(u)),"Array",{indexOf:function(n){return f?u.apply(this,arguments)||0:e(this,n,arguments[1])}})},function(n,t,i){"use strict";var r=i(14);n.exports=function(n,t){return!!n&&r(function(){t?n.call(null,function(){},1):n.call(null)})}},function(n,t,i){i(60);n.exports=i(7).Array.forEach},function(n,t,i){"use strict";var r=i(5),u=i(61)(0),f=i(58)([].forEach,!0);r(r.P+r.F*!f,"Array",{forEach:function(n){return u(this,n,arguments[1])}})},function(n,t,i){var r=i(21),u=i(25),f=i(52),e=i(31),o=i(62);n.exports=function(n,t){var s=1==n,l=2==n,a=3==n,i=4==n,h=6==n,v=5==n||h,c=t||o;return function(t,o,y){for(var w,b,g=f(t),k=u(g),tt=r(o,y,3),nt=e(k.length),p=0,d=s?c(t,
27nt):l?c(t,0):undefined;nt>p;p++)if((v||p in k)&&(b=tt(w=k[p],p,g),n))if(s)d[p]=b;else if(b)switch(n){case 3:return!0;case 5:return w;case 6:return p;case 2:d.push(w)}else if(i)return!1;return h?-1:a||i?i:d}}},function(n,t,i){var r=i(63);n.exports=function(n,t){return new(r(n))(t)}},function(n,t,i){var u=i(11),r=i(64),f=i(65)("species");n.exports=function(n){var t;return r(n)&&("function"!=typeof(t=n.constructor)||t!==Array&&!r(t.prototype)||(t=undefined),u(t)&&null===(t=t[f])&&(t=undefined)),t===undefined?Array:t}},function(n,t,i){var r=i(26);n.exports=Array.isArray||function(n){return"Array"==r(n)}},function(n,t,i){var r=i(35)("wks"),e=i(20),u=i(6).Symbol,f="function"==typeof u;(n.exports=function(n){return r[n]||(r[n]=f&&u[n]||(f?u:e)("Symbol."+n))}).store=r},function(n,t,i){i(67);n.exports=i(7).Array.map},function(n,t,i){"use strict";var r=i(5),u=i(61)(1);r(r.P+r.F*!i(58)([].map,!0),"Array",{map:function(n){return u(this,n,arguments[1])}})},function(n,t,i){i(69);n.exports=i(7).Array.filter},function(n,t,i){"use strict";var r=i(5),u=i(61)(2);r(r.P+r.F*!i(58)([].filter,!0),"Array",{filter:function(n){return u(this,n,arguments[1])}})},function(n,t,i){i(71);n.exports=i(7).Array.reduce},function(n,t,i){"use strict";var r=i(5),u=i(72);r(r.P+r.F*!i(58)([].reduce,!0),"Array",{reduce:function(n){return u(this,n,arguments.length,arguments[1],!1)}})},function(n,t,i){var r=i(22),u=i(52),f=i(25),e=i(31);n.exports=function(n,t,i,o,s){r(t);var l=u(n),c=f(l),a=e(l.length),h=s?a-1:0,v=s?-1:1;if(i<2)for(;;){if(h in c){o=c[h];h+=v;break}if(h+=v,s?h<0:a<=h)throw TypeError("Reduce of empty array with no initial value");}for(;s?h>=0:a>h;h+=v)h in c&&(o=t(o,c[h],h,l));return o}},function(n,t,i){i(74);n.exports=i(7).Array.isArray},function(n,t,i){var r=i(5);r(r.S,"Array",{isArray:i(64)})},function(n,t,i){i(76);n.exports=i(7).Array.some},function(n,t,i){"use strict";var r=i(5),u=i(61)(3);r(r.P+r.F*!i(58)([].some,!0),"Array",{some:function(n){return u(this,n,arguments[1])}})},function(n,t,i){i(78);i(85);n.exports=i(7).Array.from},function(n,t,i){"use strict";var r=i(79)(!0);i(80)(String,"String",function(n){this._t=String(n);this._i=0},function(){var n,t=this._t,i=this._i;return i>=t.length?{value:undefined,done:!0}:(n=r(t,i),this._i+=n.length,{value:n,done:!1})})},function(n,t,i){var r=i(32),u=i(27);n.exports=function(n){return function(t,i){var o,s,e=String(u(t)),f=r(i),h=e.length;return f<0||f>=h?n?"":undefined:(o=e.charCodeAt(f))<55296||o>56319||f+1===h||(s=e.charCodeAt(f+1))<56320||s>57343?n?e.charAt(f):o:n?e.slice(f,f+2):s-56320+(o-55296<<10)+65536}}},function(n,t,i){"use strict";var e=i(36),u=i(5),c=i(18),o=i(8),s=i(81),l=i(82),a=i(83),v=i(84),r=i(65)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};n.exports=function(n,t,i,y,p,w,b){l(i,t,y);var g,it,nt,rt=function(n){if(!f&&n in k)return k[n];switch(n){case"keys":case"values":return function(){return new i(this,n)}}return function(){return new i(this,n)}},et=t+" Iterator",ut="values"==p,ft=!1,k=n.prototype,tt=k[r]||k["@@iterator"]||p&&k[p],d=tt||rt(p),st=p?ut?rt("entries"):d:undefined,ot="Array"==t&&k.entries||tt;if(ot&&(nt=v(ot.call(new n)))!==Object.prototype&&nt.next&&(a(nt,et,!0),e||"function"==typeof nt[r]||o(nt,r,h)),ut&&tt&&"values"!==tt.name&&(ft=!0,d=function(){return tt.call(this)}),e&&!b||!f&&!ft&&k[r]||o(k,r,d),s[t]=d,s[et]=h,p)if(g={values:ut?d:rt("values"),keys:w?d:rt("keys"),entries:st},b)for(it in g)it in k||c(k,it,g[it]);else u(u.P+u.F*(f||ft),t,g);return g}},function(n){n.exports={}},function(n,t,i){"use strict";var u=i(46),f=i(17),e=i(83),r={};i(8)(r,i(65)("iterator"),function(){return this});n.exports=function(n,t,i){n.prototype=u(r,{next:f(1,i)});e(n,t+" Iterator")}},function(n,t,i){var u=i(9).f,f=i(19),r=i(65)("toStringTag");n.exports=function(n,t,i){n&&!f(n=i?n:n.prototype,r)&&u(n,r,{configurable:!0,value:t})}},function(n,t,i){var u=i(19),f=i(52),r=i(34)("IE_PROTO"),e=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=f(n),u(n,r)?n[r]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?e:null}},function(n,t,i){"use strict";var f=i(21),r=i(5),e=i(52),o=i(86),s=i(87),h=i(31),u=i(88),c=i(89);r(r.S+r.F*!i(91)(function(n){Array.from(n)}),"Array",{from:function(n){var b,i,a,v,r=e(n),y="function"==typeof this?this:Array,k=arguments.length,l=k>1?arguments[1]:undefined,p=l!==undefined,t=0,w=c(r);if(p&&(l=f(l,k>2?arguments[2]:undefined,2)),w==undefined||y==Array&&s(w))for(i=new y(b=h(r.length));b>t;t++)u(i,t,p?l(r[t],t):r[t]);else for(v=w.call(r),i=new y;!(a=v.next()).done;t++)u(i,t,p?o(v,l,[a.value,t],!0):a.value);return i.length=t,i}})},function(n,t,i){var r=i(10);n.exports=function(n,t,i,u){try{return u?t(r(i)[0],i[1]):t(i)}catch(e){var f=n["return"];throw f!==undefined&&r(f.call(n)),e;}}},function(n,t,i){var r=i(81),u=i(65)("iterator"),f=Array.prototype;n.exports=function(n){return n!==undefined&&(r.Array===n||f[u]===n)}},function(n,t,i){"use strict";var r=i(9),u=i(17);n.exports=function(n,t,i){t in n?r.f(n,t,u(0,i)):n[t]=i}},function(n,t,i){var r=i(90),u=i(65)("iterator"),f=i(81);n.exports=i(7).getIteratorMethod=function(n){if(n!=undefined)return n[u]||n["@@iterator"]||f[r(n)]}},function(n,t,i){var r=i(26),u=i(65)("toStringTag"),f="Arguments"==r(function(){return arguments}());n.exports=function(n){var t,i,e;return n===undefined?"Undefined":null===n?"Null":"string"==typeof(i=function(n,t){try{return n[t]}catch(i){}}
27(t=Object(n),u))?i:f?r(t):"Object"==(e=r(t))&&"function"==typeof t.callee?"Arguments":e}},function(n,t,i){var r=i(65)("iterator"),f=!1,u;try{u=[7][r]();u["return"]=function(){f=!0};Array.from(u,function(){throw 2;})}catch(e){}n.exports=function(n,t){var u,i,e;if(!t&&!f)return!1;u=!1;try{i=[7];e=i[r]();e.next=function(){return{done:u=!0}};i[r]=function(){return e};n(i)}catch(o){}return u}},function(n,t,i){"use strict";i(93);i(96);i(99);i(77);i(101);i(104);i(106);i(108);i(110);i(112);i(114);Element.prototype.remove||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})},function(n,t,i){i(94);n.exports=i(7).Math.sign},function(n,t,i){var r=i(5);r(r.S,"Math",{sign:i(95)})},function(n){n.exports=Math.sign||function(n){return 0==(n=+n)||n!=n?n:n<0?-1:1}},function(n,t,i){i(97);n.exports=i(7).Array.findIndex},function(n,t,i){"use strict";var r=i(5),e=i(61)(6),u="findIndex",f=!0;u in[]&&Array(1)[u](function(){f=!1});r(r.P+r.F*f,"Array",{findIndex:function(n){return e(this,n,arguments.length>1?arguments[1]:undefined)}});i(98)(u)},function(n,t,i){var r=i(65)("unscopables"),u=Array.prototype;u[r]==undefined&&i(8)(u,r,{});n.exports=function(n){u[r][n]=!0}},function(n,t,i){i(100);n.exports=i(7).Array.find},function(n,t,i){"use strict";var r=i(5),f=i(61)(5),u=!0;"find"in[]&&Array(1).find(function(){u=!1});r(r.P+r.F*u,"Array",{find:function(n){return f(this,n,arguments.length>1?arguments[1]:undefined)}});i(98)("find")},function(n,t,i){i(102);n.exports=i(7).Array.fill},function(n,t,i){var r=i(5);r(r.P,"Array",{fill:i(103)});i(98)("fill")},function(n,t,i){"use strict";var u=i(52),r=i(33),f=i(31);n.exports=function(n){for(var t=u(this),i=f(t.length),e=arguments.length,o=r(e>1?arguments[1]:undefined,i),s=e>2?arguments[2]:undefined,h=s===undefined?i:r(s,i);h>o;)t[o++]=n;return t}},function(n,t,i){i(105);n.exports=i(7).Array.includes},function(n,t,i){"use strict";var r=i(5),u=i(30)(!0);r(r.P,"Array",{includes:function(n){return u(this,n,arguments.length>1?arguments[1]:undefined)}});i(98)("includes")},function(n,t,i){i(107);n.exports=Math.pow(2,-52)},function(n,t,i){var r=i(5);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(n,t,i){i(109);n.exports=-9007199254740991},function(n,t,i){var r=i(5);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(n,t,i){i(111);n.exports=9007199254740991},function(n,t,i){var r=i(5);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(n,t,i){i(113);n.exports=i(7).Number.isFinite},function(n,t,i){var r=i(5),u=i(6).isFinite;r(r.S,"Number",{isFinite:function(n){return"number"==typeof n&&u(n)}})},function(n,t,i){i(115);n.exports=i(7).Number.isNaN},function(n,t,i){var r=i(5);r(r.S,"Number",{isNaN:function(n){return n!=n}})},function(n,t,i){(function(n,t){!function(){"use strict";function h(){}function i(n){if(!(this instanceof i))throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("not a function");this._state=0;this._handled=!1;this._value=undefined;this._deferreds=[];s(n,this)}function o(n,t){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,i._immediateFn(function(){var i=1===n._state?t.onFulfilled:t.onRejected,f;if(null!==i){try{f=i(n._value)}catch(e){return void r(t.promise,e)}u(t.promise,f)}else(1===n._state?u:r)(t.promise,n._value)})):n._deferreds.push(t)}function u(n,t){try{if(t===n)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var u=t.then;if(t instanceof i)return n._state=3,n._value=t,void f(n);if("function"==typeof u)return void s(function(n,t){return function(){n.apply(t,arguments)}}(u,t),n)}n._state=1;n._value=t;f(n)}catch(e){r(n,e)}}function r(n,t){n._state=2;n._value=t;f(n)}function f(n){2===n._state&&0===n._deferreds.length&&i._immediateFn(function(){n._handled||i._unhandledRejectionFn(n._value)});for(var t=0,r=n._deferreds.length;r>t;t++)o(n,n._deferreds[t]);n._deferreds=null}function s(n,t){var i=!1;try{n(function(n){i||(i=!0,u(t,n))},function(n){i||(i=!0,r(t,n))})}catch(f){if(i)return;i=!0;r(t,f)}}var c=setTimeout,e;i.prototype["catch"]=function(n){return this.then(null,n)};i.prototype.then=function(n,t){var i=new this.constructor(h);return o(this,new function(n,t,i){this.onFulfilled="function"==typeof n?n:null;this.onRejected="function"==typeof t?t:null;this.promise=i}(n,t,i)),i};i.prototype["finally"]=function(n){var t=this.constructor;return this.then(function(i){return t.resolve(n()).then(function(){return i})},function(i){return t.resolve(n()).then(function(){return t.reject(i)})})};i.all=function(n){return new i(function(t,i){function f(n,u){try{if(u&&("object"==typeof u||"function"==typeof u)){var o=u.then;
27if("function"==typeof o)return void o.call(u,function(t){f(n,t)},i)}r[n]=u;0==--e&&t(r)}catch(s){i(s)}}var r,e,u;if(!n||"undefined"==typeof n.length)throw new TypeError("Promise.all accepts an array");if(r=Array.prototype.slice.call(n),0===r.length)return t([]);for(e=r.length,u=0;r.length>u;u++)f(u,r[u])})};i.resolve=function(n){return n&&"object"==typeof n&&n.constructor===i?n:new i(function(t){t(n)})};i.reject=function(n){return new i(function(t,i){i(n)})};i.race=function(n){return new i(function(t,i){for(var r=0,u=n.length;u>r;r++)n[r].then(t,i)})};i._immediateFn="function"==typeof n&&function(t){n(t)}||function(n){c(n,0)};i._unhandledRejectionFn=function(n){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",n)};e=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==t)return t;throw Error("unable to locate global object");}();e.Promise||(e.Promise=i)}()}).call(this,i(117).setImmediate,i(118))},function(n,t,i){(function(n){function r(n,t){this._id=n;this._clearFn=t}var u=void 0!==n&&n||"undefined"!=typeof self&&self||window,f=Function.prototype.apply;t.setTimeout=function(){return new r(f.call(setTimeout,u,arguments),clearTimeout)};t.setInterval=function(){return new r(f.call(setInterval,u,arguments),clearInterval)};t.clearTimeout=t.clearInterval=function(n){n&&n.close()};r.prototype.unref=r.prototype.ref=function(){};r.prototype.close=function(){this._clearFn.call(u,this._id)};t.enroll=function(n,t){clearTimeout(n._idleTimeoutId);n._idleTimeout=t};t.unenroll=function(n){clearTimeout(n._idleTimeoutId);n._idleTimeout=-1};t._unrefActive=t.active=function(n){clearTimeout(n._idleTimeoutId);var t=n._idleTimeout;t>=0&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))};i(119);t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==n&&n.setImmediate||this&&this.setImmediate;t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==n&&n.clearImmediate||this&&this.clearImmediate}).call(this,i(118))},function(n){var t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(i){"object"==typeof window&&(t=window)}n.exports=t},function(n,t,i){(function(n,t){!function(n,i){"use strict";function y(n){delete l[n]}function f(n){if(a)setTimeout(f,0,n);else{var t=l[n];if(t){a=!0;try{!function(n){var r=n.callback,t=n.args;switch(t.length){case 0:r();break;case 1:r(t[0]);break;case 2:r(t[0],t[1]);break;case 3:r(t[0],t[1],t[2]);break;default:r.apply(i,t)}}(t)}finally{y(n);a=!1}}}}if(!n.setImmediate){var r,s,v,e,h,c=1,l={},a=!1,o=n.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(n);u=u&&u.setTimeout?u:n;"[object process]"==={}.toString.call(n.process)?r=function(n){t.nextTick(function(){f(n)})}:function(){if(n.postMessage&&!n.importScripts){var t=!0,i=n.onmessage;return n.onmessage=function(){t=!1},n.postMessage("","*"),n.onmessage=i,t}}()?(e="setImmediate$"+Math.random()+"$",h=function(t){t.source===n&&"string"==typeof t.data&&0===t.data.indexOf(e)&&f(+t.data.slice(e.length))},n.addEventListener?n.addEventListener("message",h,!1):n.attachEvent("onmessage",h),r=function(t){n.postMessage(e+t,"*")}):n.MessageChannel?((v=new MessageChannel).port1.onmessage=function(n){f(n.data)},r=function(n){v.port2.postMessage(n)}):o&&"onreadystatechange"in o.createElement("script")?(s=o.documentElement,r=function(n){var t=o.createElement("script");t.onreadystatechange=function(){f(n);t.onreadystatechange=null;s.removeChild(t);t=null};s.appendChild(t)}):r=function(n){setTimeout(f,0,n)};u.setImmediate=function(n){var i,t,u;for("function"!=typeof n&&(n=new Function(""+n)),i=new Array(arguments.length-1),t=0;t<i.length;t++)i[t]=arguments[t+1];return u={callback:n,args:i},l[c]=u,r(c),c++};u.clearImmediate=y}}("undefined"==typeof self?void 0===n?this:n:self)}).call(this,i(118),i(120))},function(n){function h(){throw new Error("setTimeout has not been defined");}function c(){throw new Error("clearTimeout has not been defined");}function l(n){if(i===setTimeout)return setTimeout(n,0);if((i===h||!i)&&setTimeout)return i=setTimeout,setTimeout(n,0);try{return i(n,0)}catch(t){try{return i.call(null,n,0)}catch(t){return i.call(this,n,0)}}}function y(){o&&e&&(o=!1,e.length?u=e.concat(u):s=-1,u.length&&a())}function a(){var t,n;if(!o){for(t=l(y),o=!0,n=u.length;n;){for(e=u,u=[];++s<n;)e&&e[s].run();s=-1;n=u.length}e=null;o=!1,function(n){if(r===clearTimeout)return clearTimeout(n);if((r===c||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(n);try{r(n)}catch(t){try{return r.call(null,n)}catch(t){return r.call(this,n)}}}(t)}}function v(n,t){this.fun=n;this.array=t}function f(){}var i,r,t=n.exports={};!function(){try{i="function"==typeof setTimeout?setTimeout:h}catch(n){i=h}try{r="function"==typeof clearTimeout?clearTimeout:c}catch(n){r=c}}();var e,u=[],o=!1,s=-1;t.nextTick=function(n){var i=new Array(arguments.length-1),t;if(arguments.length>1)for(t=1;t<arguments.length;t++)i[t-1]=arguments[t];u.push(new v(n,i));1!==u.length||o||l(a)};v.prototype.run=function(){this.fun.apply(null,this.array)};t.title="browser";t.browser=!0;t.env={};t.argv=[];t.version="";t.versions={};t.on=f;t.addListener=f;t.once=f;t.off=f;t.removeListener=f;t.removeAllListeners=f;t.emit=f;t.prependListener=f;t.prependOnceListener=f;t.listeners=function(){return[]};t.binding=function(){throw new Error("process.binding is not supported");};t.cwd=function(){return"/"};t.chdir=function(){throw new Error("process.chdir is not supported");};t.umask=function(){return 0}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}
27}function c(n){var t,i=r["default"].options;return n=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return""===n?n:n.replace(/^[\s\S]*\//gi,"").replace(/\?/g,"%3F").replace(/\#/g,"%23").replace(/\:/g,"%3A")}((t=e(n)).predicate),t.subject+i.html5ScriptNamePrefix+n+i.html5ScriptNameSuffix}var f,e;t.__esModule=!0;var r=u(i(122)),o=u(i(353)),s=u(i(354)),h=u(i(166));r["default"].addDep(h["default"]);e=(f={},function(n){return n=n&&n.replace(/(^\s*)|(\s*$)/g,"")||"",f[n]||(f[n]={key:n,subject:n.replace(/[^\/]*?$/gi,""),predicate:n.replace(/^.*\//gi,"")})});r["default"].addEventListener("resourceRequested",function(n){var u=n.sender,t=u.chartType(),f=u.options.chartTypeSourcePath||"";r["default"].getDep(t,"chartapi")||r["default"].getDep(t,"maps")||r["default"].addDep({name:t,type:"dependency",extension:function(n){switch(o["default"][n]){case"charts":return Promise.all([i.e(2),i.e(1)]).then(i.t.bind(null,356,7));case"timeseries":return Promise.all([i.e(2),i.e(3)]).then(i.t.bind(null,610,7));case"powercharts":return Promise.all([i.e(2),i.e(4)]).then(i.t.bind(null,835,7));case"widgets":return Promise.all([i.e(2),i.e(5)]).then(i.t.bind(null,974,7));case"zoomline":return Promise.all([i.e(2),i.e(6)]).then(i.t.bind(null,1068,7));case"gantt":return Promise.all([i.e(2),i.e(7)]).then(i.t.bind(null,1079,7));case"treemap":return Promise.all([i.e(2),i.e(8)]).then(i.t.bind(null,1097,7));case"zoomscatter":return Promise.all([i.e(2),i.e(9)]).then(i.t.bind(null,1103,7));case"msstackedcolumn2dsplinedy":return Promise.all([i.e(2),i.e(10)]).then(i.t.bind(null,1107,7));case"overlappedbar2d":return Promise.all([i.e(2),i.e(11)]).then(i.t.bind(null,1111,7));case"overlappedcolumn2d":return Promise.all([i.e(2),i.e(12)]).then(i.t.bind(null,1116,7));default:return s["default"](""+r["default"].getScriptBaseURI()+c(n))}}(f+t)})});window&&i(355)&&(window.FusionCharts=r["default"]);t["default"]=r["default"]},function(n,t,i){"use strict";function c(n){return n&&n.__esModule?n:{"default":n}}function e(n){return this instanceof e?(1===arguments.length&&"object"===(void 0===n?"undefined":h(n))||(n=l({},arguments)),new(Function.prototype.bind.apply(u["default"],[null].concat(n)))):1===arguments.length&&n instanceof Array&&"private"===n[0]?u["default"].register("module",n):1===arguments.length&&"string"==typeof n?u["default"].getChartFromId(n):void a.raiseError(e,"25081840","run","",new SyntaxError('Use the "new" keyword while creating a new FusionCharts object'))}var s,l,o;t.__esModule=!0;var h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u=c(i(123)),a=i(131),v=c(i(272)),r=i(320),y=i(349),f=i(350);u["default"].DataStore=v["default"];u["default"].DataStore.Operators={between:r.between,equals:r.equals,less:r.less,lessEquals:r.lessEquals,greater:r.greater,greaterEquals:r.greaterEquals,filter:r.filter,select:r.select,groupBy:r.groupBy,pipe:r.pipe,sort:r.sort,pivot:r.pivot};u["default"].Utils={duration:f.duration,before:f.before,after:f.after,parseDate:f.parseDate,formatDate:f.formatDate,DatetimeUnits:f.DatetimeUnits,Weekdays:f.Weekdays};u["default"].DataStore.Aggregators={aggregatorStore:y.aggregatorStore};s=["type","id","width","height","debugMode","registerWithJS","backgroundColor","scaleMode","lang","detectFlashVersion","autoInstallRedirect"];l=function(n,t){for(var i=0,r=s.length;i<r;i++)"object"===h(t[i])?Object.assign(n,t[i]):n[s[i]]=t[i];return n};for(o in e.prototype=u["default"].prototype,u["default"])u["default"].hasOwnProperty(o)&&(e[o]=u["default"][o]);t["default"]=e},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;var r=u(i(124)),f=u(i(166));r["default"].addDep(f["default"]);t["default"]=r["default"]},function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}}function bi(){return this.state}function ki(){return this.msg}function di(){return this.msgStyle}function d(){return"chartobject-"+(d.lastId+=1)}function ni(n){var t={};for(var i in n)t[i.toLowerCase()]=n[i];return t}function g(n){var t=[];for(var i in n)t.push(i+"_"+n[i]);return t.sort(),t.join(",")}function ti(n){var r,u,t=n.options,i=n.args,f=n.options.showChartLoadingMessage;return r={imageHAlign:i.loadMessageImageHAlign||t.baseChartMessageImageHAlign,imageVAlign:i.loadMessageImageVAlign||t.baseChartMessageImageVAlign,imageAlpha:i.loadMessageImageAlpha||t.baseChartMessageImageAlpha,imageScale:i.loadMessageImageScale||t.baseChartMessageImageScale},u={color:i.loadMessageColor||t.baseChartMessageColor,fontFamily:i.loadMessageFont||t.baseChartMessageFont,fontSize:i.loadMessageFontSize||t.baseChartMessageFontSize},{msg:f?t.PBarLoadingText||t.loadMessage:"",msgStyle:{message:u,image:r}}}function nt(n){var r,u,i=n.args,t=n.options;return r={imageHAlign:i.typeNotSupportedMessageImageHAlign||t.baseChartMessageImageHAlign,imageVAlign:i.typeNotSupportedMessageImageVAlign||t.baseChartMessageImageVAlign,imageAlpha:i.typeNotSupportedMessageImageAlpha||t.baseChartMessageImageAlpha,imageScale:i.typeNotSupportedMessageImageScale||t.baseChartMessageImageScale},u={color:i.typeNotSupportedMessageColor||t.baseChartMessageColor,fontFamily:i.typeNotSupportedMessageFont||t.baseChartMessageFont,fontSize:i.typeNotSupportedMessageFontSize||t.baseChartMessageFontSize},k&&(t.messageURL=dt),{msg:k?gt:t.typeNotSupportedMessage,msgStyle:{image:r,message:u}}}function ii(n){var r,u,i=n.args,t=n.options;return r={imageHAlign:i.browserNotSupportedMessageImageHAlign||t.baseChartMessageImageHAlign,imageVAlign:i.browserNotSupportedMessageImageVAlign||t.baseChartMessageImageVAlign,imageAlpha:i.browserNotSupportedMessageImageAlpha||t.baseChartMessageImageAlpha,imageScale:i.browserNotSupportedMessageImageScale||t.baseChartMessageImageScale},u={color:i.browserNotSupportedMessageColor||t.baseChartMessageColor,fontFamily:i.browserNotSupportedMessageFont||t.baseChartMessageFont,fontSize:i.browserNotSupportedMessageFontSize||t.baseChartMessageFontSize},{msg:t.browserNotSupportedMessage,msgStyle:{image:r,message:u}}}function gi(){k=!0}function nr(n){var e,a,s=this.opts,v=s.data,u=s.sanitisedFormat,k=s.silent,y=o.getDepsByType("transcoder"),h=y[u]&&y[u](),i=n.options,t=void 0,p=function(n){var r,u,t=n.options,i=n.args;return r={imageHAlign:f.pluck(i.dataInvalidMessageImageHAlign,t.baseChartMessageImageHAlign).toLowerCase(),imageVAlign:f.pluck(i.dataInvalidMessageImageVAlign,t.baseChartMessageImageVAlign).toLowerCase(),imageAlpha:f.pluckNumber(i.dataInvalidMessageImageAlpha,t.baseChartMessageImageAlpha),imageScale:f.pluckNumber(i.dataInvalidMessageImageScale,t.baseChartMessageImageScale)},u={fontFamily:i.dataInvalidMessageFont||t.baseChartMessageFont,fontSize:i.dataInvalidMessageFontSize||t.baseChartMessageFontSize,color:i.dataInvalidMessageColor||t.baseChartMessageColor},{msg:t.dataInvalidMessage,msgStyle:{image:r,message:u}}}(n),w=p.msg,b=p.msgStyle,c=void 0;return n.__state.newDataArrived=!0,h&&h.toJSON?c=(t=h.toJSON(v,n
27)).error?{state:1,msg:w,msgStyle:b}:{state:3}:(t={error:new Error("Unable to convert data.")},c={state:1,msg:w,msgStyle:b}),e=t.error?t:t.data,i.dataErroneous=i.error=t.error,i.dataSource=e,i.dataFormat=u,a=function(n,t,i,r){var u={};return u.native=i===l,u.dataFormat=i,u.format=l,u.data=t,u.dataSource=n,u.silent=!!r,u}(v,e,u,k),i.dataErroneous||r.triggerEvent("beforeDataUpdate",n,a,void 0,st.onDataUpdateSuccess,st.onDataUpdateCancel),c}function tr(n){var c,l,v,t,i,e=this.opts,y=e.url,b=y===undefined?"":y,u=e.format,k=e.config,d=e.callback,g=e.silent,p=o.getDepsByType("transcoder"),s=void 0,w=(t=(c=n).options,i=c.args,l={imageHAlign:f.pluck(i.dataLoadStartMessageImageHAlign,t.baseChartMessageImageHAlign).toLowerCase(),imageVAlign:f.pluck(i.dataLoadStartMessageImageVAlign,t.baseChartMessageImageVAlign).toLowerCase(),imageAlpha:f.pluckNumber(i.dataLoadStartMessageImageAlpha,t.baseChartMessageImageAlpha),imageScale:f.pluckNumber(i.dataLoadStartMessageImageScale,t.baseChartMessageImageScale)},v={fontFamily:i.dataLoadStartMessageFont||t.baseChartMessageFont,fontSize:i.dataLoadStartMessageFontSize||t.baseChartMessageFontSize,color:i.dataLoadStartMessageColor||t.baseChartMessageColor},{msg:t.dataLoadStartMessage,msgStyle:{image:l,message:v}}),nt=w.msg,tt=w.msgStyle,h=void 0;return void 0!==u&&null!==u&&"function"==typeof u.toString||(u=n.options.dataFormat,r.raiseWarning(n,"03091609","param","FusionCharts#setChartDataUrl","Invalid Data Format. Reverting to current data format - "+u)),s=a(u),wt.test(s)||(s+="url"),h=p[s]&&p[s](),n.jsVars.stallLoad=!0,h&&h.toJSON?(h.toJSON(b,k,d,g,n),{state:2,msg:nt,msgStyle:tt}):{state:1,error:new Error("Unable to fetch data.")}}function tt(n){var t=n.__state,i=n.chartType(),u=void 0,f=void 0,e=o.getDep(t.lastRenderedType,"chartapi")||o.getDep(t.lastRenderedType,"maps");if(e&&t.lastRenderedType!==i&&(r.triggerEvent("chartTypeChanged",n,{previousType:t.lastRenderedType,newType:i}),u=e))for(f in u)delete n[f];t.lastRenderedType=i}function et(n){var t=ti(n),f=t.msgStyle,e=t.msg;return Promise.all([i.e(2),i.e(13)]).then(i.t.bind(null,1120,7)).then(function(t){u.addDep(t["default"]);tt(n);n._addChartDependency("mapModuleLoad",{resolve:function(){return{state:3}}});r.triggerEvent("loaded",n,{type:n.chartType(),renderer:"javascript"},[n.id]);n._setState()})["catch"](function(){var t=nt(n),i=t.msgStyle,f=t.msg;n._addChartDependency("mapModuleLoad",{resolve:function(){return{state:1,msgStyle:i,msg:f}}});r.raiseError(u,"12052314141","run","JavaScriptRenderer~Maps",new Error("FusionCharts' maps file is required to render the visualization."));n._setState();r.triggerEvent("charttypeinvalid",n,{},[n.id])}),{state:2,msgStyle:f,msg:e}}function ir(n){var t=this.opts.value,i=u.getDep(t,"dependency")||u.getDep(t,"chartapi")||u.getDep(t,"maps"),f;if(k=!1,i)return i.then?(u.addEventListener("register",gi),i.then(function(i){if(!n.disposed){if(i.__esModule){var f=o.getDep(t,"maps");u.addDep(i["default"]);(!f||!w)&&tt(n);n._addChartDependency("chartModuleLoad",{resolve:function(){return f&&w?n._addChartDependency("mapModuleLoad",{scopeOf:n,resolve:et}):r.triggerEvent("loaded",n,{type:t,renderer:"javascript"},[n.id]),{state:3}}})}else n._addChartDependency("chartModuleLoad",{resolve:function(){return o.getDep(t,"maps")&&w?n._addChartDependency("mapModuleLoad",{scopeOf:n,resolve:et}):(tt(n),r.triggerEvent("loaded",n,{type:t,renderer:"javascript"},[n.id])),{state:3}}});n._setState()}})["catch"](function(t){if(!n.disposed){if(!(t instanceof Event))throw new Error(t.stack);var i=nt(n),u=i.msgStyle,f=i.msg;n._addChartDependency("chartModuleLoad",{resolve:function(){return{state:1,msgStyle:u,msg:f}}});n._setState();r.triggerEvent("charttypeinvalid",n,{},[n.id])}}),f=ti(n),{state:2,msgStyle:f.msgStyle,msg:f.msg}):(o.getDep(t,"maps")&&w?(n._addChartDependency("mapModuleLoad",{scopeOf:n,resolve:et}),n._setState()):(tt(n),r.triggerEvent("loaded",n,{type:t,renderer:"javascript"},[n.id])),{state:3});var e=nt(n),s=e.msgStyle,h=e.msg;return r.triggerEvent("charttypeinvalid",this,{},[this.id]),{state:1,msgStyle:s,msg:h}}function ri(n){var h,c=this.opts,t=c.containerElement,u=c.insertMode,e=c.callback,o=void 0,s=void 0,i=void 0;if(e?"function"!=typeof e&&(e=void 0):"function"==typeof u?(e=u,u=void 0):u||"function"!=typeof t||(e=t,t=void 0),u=(u||n.options.insertMode).toLowerCase()||f.domInsertModes.REPLACE,void 0===t&&(t=n.options.containerElementId||n.options.containerElement),"string"==typeof t&&(t=document.getElementById(t)),void 0===t||null===t)return r.raiseError(n,"03091456","run",".render()",new Error("Unable to find the container DOM element.")),r.triggerEvent("containernotfound",n,{},[n.id]),{state:1};if(function(n,t){var r,i,u,f=document.getElementById(n),e=t.id||t.getAttribute("id");if(null===f)return!1;if(n===e)return!0;for(i=0,u=(r=t.getElementsByTagName("*")).length;i<u;i++)if(r[i]===f)return!1;return!0}(n.id,t))return r.raiseError(n,"05102109","run",".render()",new Error("A duplicate object already exists with the specific Id: "+n.id)),{state:1};if(bt(t))return n.containerHidden=!0,vi(n,t,u,e),{state:2};if(delete n.containerHidden,((s=window[n.id])&&s.FusionCharts&&s.FusionCharts===n||(s=n.ref)&&s.FusionCharts&&s.FusionCharts===n)&&(n._dispose(),s===window[n.id]&&(window[n.id]=void 0)),"undefined"!=typeof window[n.id])return r.raiseError(n,"25081843","comp",".render",new Error("#25081843:IECompatibility() Chart Id is same as a JavaScript variable name. Variable naming error. Please use unique name for chart JS variable, chart-id and container id.")),{state:1};if((o=document.createElement(n.options.containerElementType||"span")).setAttribute("id",n.id),"append"!==u&&"prepend"!==u)for(;t.hasChildNodes();)t.removeChild(t.firstChild);return"prepend"===u&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),n.options.containerElement=t,n.options.containerElementId=t.id,(i=o.style)&&(i.position="relative",i.textAlign="left",i.lineHeight="normal",i.display="inline-block",i.zoom="1",
27i["vertical-align"]="middle",i.fontWeight="normal",i.fontVariant="normal",i.fontStyle="normal",i.textDecoration="none",i["*DISPLAY"]="inline",i.padding="0",i.margin="0",i.border="none",i.direction="ltr",i.transform="none"),n.options.containerClassName&&(o.className=n.options.containerClassName),h=f.normalizeCSSDimension(n.width,n.height,o),n.__state.renderedWidth=h.pixelWidth,n.__state.renderedHeight=h.pixelHeight,n.__state.rendering=!0,n.renderOpts={containerElement:o,insertMode:u,callback:e},{state:3}}var ot,u;t.__esModule=!0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=i(125),r=i(131),o=i(132),st=i(133),ht=s(i(134)),ct=i(135),lt=s(ct),ui=s(i(142)),y=i(136),fi=s(i(145)),it=s(i(146)),rt=s(i(147)),ei=s(i(148)),oi=s(i(151)),si=s(i(153)),hi=s(i(154)),ci=s(i(161)),li=s(i(165));var p,e,at,vt,l="json",yt="3.13.4",ai=/^(FusionCharts|FusionWidgets|FusionMaps)/,pt=/[^\%\d]*$/gi,wt=/url$/i,w=!0,a=function(n){return n.toString().toLowerCase()},vi=(e={},at=function(){return{state:2}},vt=function yi(){var n,t,i,r,f,o=0,s=parseInt(u.options.visibilityTrackingInterval,10)||300;for(n in e)if(o+=1,t=e[n].chart,i=e[n].container,r=e[n].insertMode,f=e[n].callback,t.disposed||!bt(i)){if(delete e[n],o-=1,delete t.containerHidden,t.disposed)return;t.renderOpts={containerElement:i,insertMode:r,callback:f};t._addChartDependency("chartContainer",{scopeOf:t,opts:{containerElement:i,insertMode:r,callback:f},resolve:ri});t._setState()}else e[n]&&e[n].chart&&(e[n].chart.containerHidden=!0,e[n].chart._addChartDependency("chartContainer",{resolve:at}),e[n].chart._setState());p=o?setTimeout(yi,s):clearTimeout(p)},function(n,t,i,r){e[n.id]={chart:n,container:t,insertMode:i,callback:r};p||(p=setTimeout(vt,parseInt(u.options.visibilityTrackingInterval,10)||300))}),bt=function pi(n){var t=n.parentNode;return!!t&&9!==t.nodeType&&("none"===function(n,t){return window.getComputedStyle?t=window.getComputedStyle(n).getPropertyValue(t):n.currentStyle&&(t=n.currentStyle[t]),t}(n,"display")||!!t&&pi(t))},ut=void 0,b=void 0,kt=void 0,wi=0,k=!1,v=["disposed","error","waiting","ready","initialized"],h={},dt="https://www.fusioncharts.com/dev/migration/deprecated-functionalities?version=3.13.0",gt='You are using incompatible files or deprecated "register" API of FusionCharts, please go through the docs to know more at '+dt,ft=function(){setTimeout(function(){ut=!0;r.triggerEvent("ready",u,{version:u.version,now:!0})},1)};d.lastId=0;u=function(){function n(){var u,e,t;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);t={};(this.__state={},this.id="",this._deps={},this.__state._unresolvedDeps={},this.__state.state=4,1===arguments.length&&"object"===c(arguments.length<=0?undefined:arguments[0])&&(t=arguments.length<=0?undefined:arguments[0]),arguments.length>1&&"object"===c((u=arguments.length-1,arguments.length<=u?undefined:arguments[u])))&&f.extend2(t,(e=arguments.length-1,arguments.length<=e?undefined:arguments[e]),!1,!0);this.id="undefined"==typeof t.id?d():t.id;this.args=t;this._parsePolicies(it["default"]);this._attachDefaultEventListeners();this.jsVars.fcObj=this;r.triggerEvent("beforeInitialize",this,t);n.items[this.id]instanceof n&&r.raiseWarning(this,"06091847","param","",new Error('A FusionCharts object with the specified id "'+this.id+'" already exists.Renaming it to '+(this.id=d())));this.attributes.id=this.id;i.p=n.getScriptBaseURI();this.chartType&&this.chartType(t.type||t.swfUrl||"");this.setChartData(this.args.dataSource,this.args.dataFormat,void 0,void 0,!0);n.items[this.id]=this;n.defaultOptions=n.options;r.triggerEvent("initialized",this,t);this._setState()}return n.getObjectReference=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return n.items[t]&&n.items[t].ref},n.register=function(){r.triggerEvent("register",n,arguments,undefined,function(){r.raiseError(this,"0604111219","run",".register()",new Error(gt))})},n.render=function(t,i){return t instanceof n?(t.render(i),t):new n(t).render(i)},n.addDep=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return o.addDep.call.apply(o.addDep,[this].concat(i))},n.getDep=function(n,t){return o.getDep.call(this,n,t)},n.addEventListener=function(n,t){return r.addListener(n,t)},n.on=function(t,i){return n.addEventListener(t,i)},n.removeEventListener=function(n,t){return r.removeListener(n,t)},n.ready=function(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:n,u=arguments.length>2&&arguments[2]!==undefined?arguments[2]:n,i=function(){t.call(u,r)};"function"==typeof t&&(ut?setTimeout(i,0):n.addEventListener("ready",i))},n.formatNumber=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},u=arguments[2],r=g(t=ni(t)),i=void 0;return h[r]?i=h[r]:h[r]=i=new rt["default"](t,{useScaleRecursively:!0}),i.configure(t),i.dataLabels(n,u)},n.transcodeData=function(n,t,i,u){var f=o.getDepsByType("transcoder"),e=a(i),s=a(t),h=void 0,c=void 0,l=void 0,v=void 0;if(s&&"function"==typeof s.toString&&e&&"function"==typeof e.toString&&"undefined"!=typeof f[e]&&"undefined"!=typeof f[s])return l=f[s](),v=f[e](),l.toJSON&&(h=l.toJSON(n,this),c=v.fromJSON(h.data,this)),h.error instanceof Error||(c.error=h.error),u?c:c.data;r.raiseError(this,"14090217","param",".transcodeData()","Unrecognized data-format specified during transcoding.")},n.setAnimation=function(t){n.options._globalAnimationRule||(n.options._globalAnimationRule=[]);n.options._globalAnimationRule.push(t)}
27,n.setEasingEffect=function(t,i){n.getDep("redraphael","plugin").easing_formulas[t]=i},n.getScriptBaseURI=function(){return n.options.scriptBaseUri},n.setScriptBaseURI=function(t){n.options.scriptBaseUri=t;i.p=t},n.getChartFromId=function(t){return n.items[t]},n.getVersion=function(n){var t={fcs:yt,"fcs-xt":{fc:"3.13.4",fw:"3.13.4",pc:"3.13.4",fm:"3.13.4"},ft:"1.0.0"};return t[n]||t["fcs-xt"][n]||t},n.prototype._attachDefaultEventListeners=function(){var n=this.options.events,t=void 0,i=void 0;if(n)for(t in n)"function"==typeof n[t]&&this.addEventListener(t,n[t]);for(i in this.options.renderer="javascript",ht["default"])this.addEventListener(i,ht["default"][i])},n.prototype._setState=function(){var t=this._deps,i=void 0,u=void 0,f=this.__state.state,n=4;for(var e in t)t.hasOwnProperty(e)&&(n>(u=(i=t[e]).getState())&&(n=u,this.__state.currChartMsg=i.getMsg(),this.__state.currChartMsgStyle=i.getMsgStyle()),3===u&&this._removeChartDependency(e));if(this.__state.prevState=f,this.__state.state=n,f!==n&&r.triggerEvent("stateChanged",this,{prevState:v[f],state:v[n]},[this.id]),!this.containerHidden)if(3===n&&this.__state.renderInvoked){var o=this.renderOpts,h=o.containerElement,c=o.callback;this._renderChart(h,void 0,c);this._clearPrevContext();delete this.renderOpts.callback}else if((2===n||1===n)&&this.__state.renderInvoked&&this._contextChanged()&&(!this.__state.renderComplete||2!==n)){var s=this.renderOpts,l=s.containerElement,a=s.callback;this._renderChart(l,"base",1===n&&a,this.__state.currChartMsg,this.__state.currChartMsgStyle);1===n&&delete this.renderOpts.callback}},n.prototype._clearPrevContext=function(){this.__state.prevChartMsg="";this.__state.prevChartMsgStyle={}},n.prototype._contextChanged=function(){if(this.__state.currChartMsg!==this.__state.prevChartMsg)return this.__state.prevChartMsg=this.__state.currChartMsg,this.__state.prevChartMsgStyle=this.__state.currChartMsgStyle,!0;var n=this.__state.prevChartMsgStyle&&this.__state.prevChartMsgStyle.image,t=this.__state.currChartMsgStyle&&this.__state.currChartMsgStyle.image,i=this.__state.prevChartMsgStyle&&this.__state.prevChartMsgStyle.message,r=this.__state.currChartMsgStyle&&this.__state.currChartMsgStyle.message;return!(!n||n.imageHAlign===t.imageHAlign&&n.imageVAlign===t.imageVAlign&&n.imageAlpha===t.imageAlpha&&n.imageScale===t.imageScale&&i.color===r.color&&i.fontFamily===r.fontFamily&&i.fontSize===r.fontSize)&&(this.__state.prevChartMsg=this.__state.currChartMsg,this.__state.prevChartMsgStyle=this.__state.currChartMsgStyle,!0)},n.prototype._sudoSetState=function(n){this.__state.prevState=this.__state.state;this.__state.state=n;r.triggerEvent("stateChanged",this,{prevState:v[this.__state.prevState],state:v[this.__state.state]},[this.id])},n.prototype._getState=function(){return v[this.__state.state]},n.prototype._addChartDependency=function(n,t){this._deps&&this._deps[n]&&this._removeChartDependency(n);this._deps[n]=t;t.getState=bi;t.getMsg=ki;t.getMsgStyle=di;Object.assign(t,t.resolve(t.scopeOf))},n.prototype._removeChartDependency=function(n){this._deps[n]&&(this._deps[n].removed=!0,delete this._deps[n])},n.prototype._parsePolicies=function(n){var u=this.args,t=void 0,i=void 0,r=void 0;for(t in n)if(it["default"][t]instanceof Array)i=u[n[t][0]],this[t]=void 0===i?n[t][1]:i;else for(r in"object"!==c(this[t])&&(this[t]={}),n[t])i=u[n[t][r][0]],this[t][r]=void 0===i?n[t][r][1]:i},n.prototype.hasRendered=function(){return!(!this.jsVars.hcObj||!this.jsVars.hcObj.hasRendered)},n.prototype.setTransparent=function(n){var t;(t=this.jsVars)&&("boolean"!=typeof n&&null!==n&&(n=!0),t.transparent=null!==n&&!0===n)},n.prototype.addEventListener=function(n,t){return r.addListener(n,t,this)},n.prototype.on=function(n,t){return this.addEventListener(n,t)},n.prototype.removeEventListener=function(n,t){return r.removeListener(n,t,this)},n.prototype.formatNumber=function(n,t,i,r){var l,c=this.apiInstance||{},a=c.numberFormatter,o=void 0,e=void 0,u=void 0,s=void 0;switch(l=g(i),i=i&&ni(i)||{},""===l?a?u=a:(e=g(o=this.options.dataSource.chart||{}),h[e]?u=h[e]:h[e]=u=new rt["default"](c,o)):(o=this.options.dataSource.chart||{},e=g(o=f.extend2(f.extend2({},o),i)),h[e]?u=h[e]:h[e]=u=new rt["default"](c,o)),(t&&t.toLowerCase?t:"").toLowerCase()){case"y
27axisvalues":s=u.yAxis(n,r);break;case"xaxisvalues":s=u.xAxis(n);break;case"scale":s=u.scale(n);break;default:s=u.dataLabels(n,r)}return s},n.prototype.clone=function(t,i){var e=void 0===t?"undefined":c(t),u={},r=f.extend2({},this.args,!1,!0);switch(function(n,t,i){var r,u;for(r in n)if(n[r]instanceof Array)t[n[r][0]]=i[r];else for(u in n[r])t[n[r][u][0]]=i[r][u]}(it["default"],r,this),delete r.id,delete r.animate,delete r.stallLoad,u.link=r.link,(r=f.extend2({},r,!1,!0)).link=u.link,e){case"object":f.extend2(r,t,!1,!0);break;case"boolean":i=t}return i?r:new n(r)},n.prototype.isActive=function(){if(!this.ref||window.document.getElementById(this.id)!==this.ref)return!1;try{return ai.test("FusionCharts")}catch(n){return!1}},n.prototype.chartType=function(t,i){var u=this.options,e=void 0;if("string"==typeof t&&""!==t){if(i="object"===(void 0===i?"undefined":c(i))?i:{},e=t.replace(/[\?\#][\s\S]*$/g,""),u.chartType=e.replace(/^[\s\S]*\//gi,""),u.chartTypeSourcePath=-1===e.indexOf("/")?i.chartTypeSourcePath||n.options.chartTypeSourcePath||"":e.replace(/[^\/]*?$/gi,""),"zoomscatter"===u.chartType&&!document.createElement("canvas").getContext){var o=ii(this),l=o.msgStyle,a=o.msg;return this._addChartDependency("chartModuleLoad",{scopeOf:this,opts:{value:u.chartType},resolve:function(){return{state:1,msgStyle:l,msg:a}}}),void this._setState()}if("timeseries"===u.chartType&&f.isIE){var s=ii(this),v=s.msgStyle,y=s.msg;return this._addChartDependency("chartModuleLoad",{scopeOf:this,opts:{value:u.chartType},resolve:function(){return{state:1,msgStyle:v,msg:y}}}),void this._setState()}r.triggerEvent("resourceRequested",this);this._addChartDependency("chartModuleLoad",{scopeOf:this,opts:{value:u.chartType},resolve:ir});"undefined"!=typeof i.dataSource&&null!==i.dataSource&&this.setChartData(i.dataSource,i.dataFormat,i.dataConfiguration);this._setState()}else if(t!==undefined){var h=nt(this),p=h.msgStyle,w=h.msg;return this._addChartDependency("chartModuleLoad",{resolve:function(){return{state:1,msgStyle:p,msg:w}}}),this._setState(),void r.triggerEvent("charttypeinvalid",this,{},[this.id])}return(u.chartType||"").toLowerCase()},n.prototype.setChartDataUrl=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=arguments[1],i=arguments[2],r=arguments[3],u=arguments[4];this._addChartDependency("data",{scopeOf:this,opts:{url:n,format:t,config:i,callback:r,silent:u},resolve:tr});this._setState()},n.prototype.setChartData=function(n,t,i,r){var u,f=!(arguments.length>4&&arguments[4]!==undefined)||arguments[4],e=this.options;if(void 0!==n&&null!==n){if("string"!=typeof t)switch(void 0===n?"undefined":c(n)){case"function":n=n.call(this,e.dataConfiguration);t=this.args.dataFormat="JSON";break;case"string":t=this.args.dataFormat=/^\s*?\{[\s\S]*\}\s*?$/g.test(t)?"JSON":"XML";break;case"object":t=this.args.dataFormat="JSON"}}else t=l;u=a(t);wt.test(u)?this.setChartDataUrl(n,u,i,r,f):(this._addChartDependency("data",{opts:{data:n,sanitisedFormat:u,config:i,callback:r,silent:f},scopeOf:this,resolve:nr}),!this.disposed&&this._setState())},n.prototype.getChartData=function(){var u,n,f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:l,e=arguments[1],s=arguments[2],i=o.getDepsByType("transcoder")[a(f)](),t=this.options,r=this.apiInstance,h=!s&&(u=r&&r.getCollatedData&&r.getCollatedData(t.dataSource))?u:t.dataSource;return!(n=i?i.fromJSON?i.fromJSON(h,this):{error:new Error("Unable to convert data.")}:{error:new Error("Data format not recognized.")}).error&&t.error&&(n.error=t.error),e?n:n.data},n.prototype.dataReady=function(n){return n?this.__state.dataAvailable:this.__state.dataReady},n.prototype.setChartAttribute=function(n,t){var i,u,f,e;if("string"==typeof n)(n={})[arguments[0]]=t;else if(null===n||"object"!==(void 0===n?"undefined":c(n)))return;if(e=0,f=(i=this.getChartData(l))&&(i.chart||i.graph||i.map)){for(u in n)e+=1,null!==n[u]?f[u.toLowerCase()]=n[u]:delete f[u.toLowerCase()];e>0&&("undefined"==typeof f.animation&&(f.animation="0"),this.setChartData(i,l))}else r.raiseError(this,"2105141421","run","#setChartAttribute()","Could not retrieve attribute list. Is data ready?")},n.prototype.getChartAttribute=function(n){var i,t,u=this.getChartData(l),f=u&&(u.chart||u.graph||u.map);if(0===arguments.length||void 0===n||void 0===f)return f;if("string"==typeof n)i=f[n.toString().toLowerCase()];else if(n instanceof Array)for(i={},t=0;t<n.length;t+=1)i[n[t]]=f[n[t].toString().toLowerCase()];else r.raiseError(this,"25081429","param","~getChartAttribute()",'Unexpected value of "attribute"');return i},n.prototype.render=function(n,t,i){return this.disposed||(this.__state.beforeRenderFired=!1,this._addChartDependency("chartContainer",{scopeOf:this,opts:{containerElement:n,insertMode:t,callback:i},resolve:ri}),this.__state.renderInvoked=!0),this._setState(),this},n.prototype._renderChart=function(n,t,i,u,f){var h=arguments.length>5&&arguments[5]!==undefined&&arguments[5],s,e,o;if(!this.disposed)return e=this,o=function(){!0!==e.disposed&&e._render(n,t,i&&function(){if(i)try{i.call(e,e.options.containerElement)}catch(n){setTimeout(function(){throw n;})}},u,f)},h||this.__state.beforeRenderFired?o():(this.__state.beforeRenderFired=!0,r.triggerEvent("beforeRender",this,s={container:e.options.containerElement,width:this.width,height:this.height,renderer:this.options.renderer},void 0,o,function(){r.triggerEvent("renderCancelled",e,s);this.__state.renderInvoked=!1})),this},n.prototype._render=function(t,i,u,f,e){var o=this;o.apiInstance&&o.apiInstance.removeJob("resizeScheduled");o.__state.beforedrawFired?(lt["default"](n,o,t,i,u,f,e),o.__state.beforedrawFired=!0):r.triggerEvent("beforedraw",o,{},void 0,function(){lt["default"](n,o,t,i,u,f,e)},function(){r.triggerEvent("drawCancelled",o)})},n.prototype.resizeTo=function(n,t,i){var u=this,f=u.width,e=u.height,o=u.__state;return(u.apiInstance&&u.apiInstance.config||{}).resize=!0,"object"===(void 0===n?"undefined":c(n))&&(i=t,t=n.h,n=n.w),n=null===n||void 0===n?f:n.toString().replace(pt,""),t=null===t||void 0===t?e:t.toString().replace(pt,""),!0!==i&&r.triggerEvent("beforeresize",u,{currentWidth:f,currentHeight:e,newWidth:n,newHeight:t},void 0,function(){u.width=n;u.height=t;u.scheduleResize({width:n,height:t});u.apiInstance&&u.apiInstance.addJob("resized"+wi++,function(){r.triggerEvent("resized",u,{id:u.id,width:u.width,height:u.height,prevWidth:f,prevHeight:e,pixelWidth:u.ref&&u.ref.offsetWidth||0,pixelHeight:u.ref&&u.ref.offsetHeight||0,originalWidth:o.renderedWidth,originalHeight:o.renderedHeight})},y.priorityList.postRender)},function(){r.triggerEvent("resizecancelled",u,{currentWidth:f,currentHeight:e,cancelledTargetWidth:n,cancelledTargetHeight:t})}),this},n.prototype.dispose=function(){var t=this,i={};r.triggerEvent("beforeDispose",t,i,void 0,function(){t._addChartDependency("dispose",{scopeOf:t,resolve:function(t){for(var u in t._dispose(),t._addChartDependency("dispose",{resolve:function(){return{state:0}}}),t._setState(),r.triggerEvent("disposed",t,i),r.disposeEvents(t),delete n.items[t.id],t)t.hasOwnProperty(u)&&delete t[u];return t.disposed=!0,{state:0}}})},function(){r.triggerEvent("disposeCancelled",t,i)})},n.prototype._dispose=function(){var n,t=this.jsVars;this.apiInstance&&(this.apiInstance.removeJob("resizeScheduled"),this.apiInstance.remove({instant:!0}),delete this.apiInstance,delete t.instanceAPI);(n=window[this.id])&&(!function i(n){var t,u,f,r=n.attributes;if(r)for(t=r.length-1;t>=0;t-=1)"function"==typeof n[f=r[t].name]&&(n[f]=null);if(r=n.childNodes)for(u=r.length,t=0;t<u;t+=1)i(n.childNodes[t])}(n),n.parentNode&&n.parentNode.removeChild(n));t.container=null},n.prototype._config=function(n,t){var i,r,u=this.jsVars,f=u.msgStore,o=u.cfgStore,e=this.options;for(i in r={LoadingText:"loadMessage",ChartNotSupported:"typeNotSupportedMessage",RenderChartErrorText:"renderErrorMessage",XMLLoadingText:"dataLoadStartMessage",ChartNoDataText:"dataEmptyMessage",LoadDataErrorText:"dataLoadErrorMessage",InvalidXMLText:"dataInvalidMessage"},"string"==typeof n&&arguments.length>1&&(i=n,(n={})[i]=t),n)"undefined"!=typeof f[i]?f[i]=n[i]:o[i.toLowerCase()]=n[i],r[i]?e[r[i]]=n[i]:e[i]=n[i]},n.prototype.configure=function(n,t){var i;n&&("string"==typeof n?(i={})[n]=t:i=n,this._config(i))},n.prototype.print=function(n){var t=this.apiInstance,i=f.extend2({},n);if(t.config.isPrinting||!t.config.hasRendered)return!1;r.triggerEvent("BeforePrint",this,i,void 0,function(){var e,o,n,s,u=t.getFromEnv("chart-container"),h=[],a=u.parentNode,c=document.body||document.getElementsByTagName("body")[0],l=c.childNodes;if(t.config.isPrinting=!0,f.fcEach(l,function(n,t){1===n.nodeType&&(h[t]=n.style.display,n.style.display="NONE")}),!1!==i.hideButtons&&(s=t.getChildren("chartMenuBar")))for(n=0,e=(o=s[0].getChildren("tool")).length;n<e;n++)o[0].getChildren("listContainer")[0].hide();c.appendChild(u);window.print();setTimeout(function(){a.appendChild(u);f.fcEach(l,function(n,t){1===n.nodeType&&(n.style.display=h[t])});i.hideButtons;t.config.isPrinting=!1;r.triggerEvent("PrintComplete",t.getFromEnv("chartInstance"),i)},1e3)},function(){r.triggerEvent("PrintCancelled",t.getFromEnv("chartInstance"),i)})},n.prototype.getSVGString=function(n,t){var r,u=this.apiInstance,i=u&&u.getFromEnv("paper");if(t&&t.keepImages&&(r=!0),"function"!=typeof n)return i&&i.toSVG?i.toSVG(r):"<svg><\/svg>";u.addJob("getSVG",function(){n(i&&i.toSVG&&i.toSVG(r))},y.priorityList.postRender)},n.prototype.lockResize=function(n){return"boolean"!=typeof n?!!this.jsVars.resizeLocked:this.jsVars.resizeLocked=n},n.prototype.showChartMessage=function(n,t,i){var e=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{},r=this,u=r.apiInstance,f=function(){r._showChartMessage(n,t,i,e)};return u&&("base"===u.getName()?r.addEventListener("renderComplete",f):f()),n},n.prototype._showChartMessage=function(n,t,i){var u=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{},e=this,h=e.jsVars,r=e.apiInstance,o=e.options,s=void 0;r._hideChartMessage();void 0!==n?(s={fontFamily:f.pluck(u.font,o.baseChartMessageFont,"Verdana,sans"),fontSize:f.pluck(u.fontSize,o.baseChartMessageFontSize,10),color:f.pluck(u.color&&f.convertColor(u.color,u.alpha),o.baseChartMessageColor)},h.msgStore[n]&&(n=h.msgStore[n]),r.addJob("showMsg",function(){t&&r&&r.config.hasRendered?(r._show&&r._show(),e.showMessage(n,s,i)):(r._hide&&r._hide(),r.setChartMessage(n,{_chartMessageStyle:s}),r.drawChartMessage())},y.priorityList.postRender)):e.hideChartMessage()},n.prototype._resize=function(){var i=this.jsVars,n=this.apiInstance,t=i.container;this.__state.resize=!0;n?(n.config.elScroll=!1,n.getFromEnv("animationManager").setAnimationState("resize"),n.addToEnv("chartWidth",t.offsetWidth),n.addToEnv("chartHe
27ight",t.offsetHeight),this._addChartDependency("resize",{resolve:function(){return{state:3}}})):this._addChartDependency("resize",{resolve:function(){return{state:1}}});this._setState();this.__state.resize=!1},n.prototype.hideChartMessage=function(){var n=this.apiInstance;n._hideChartMessage();n._show&&n._show()},n.prototype.showMessage=function(){var t,s,a,p=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",r=arguments[1],u=arguments[2],n=this.apiInstance,e=n.config,v=n.getFromEnv("paper"),y=n.getFromEnv("smartLabel"),o=n.getFromEnv("animationManager"),h=n.getGraphicalElement("messageText"),i=n.getGraphicalElement("messageVeil"),c=v.width,l=v.height;s=n.getChildContainer("messageGroup");o.setAnimationState("showmessage");(t=o.setAnimation({el:s||"group",attr:{name:"messageGroup"},component:n,label:"group"})).show().toFront();s||n.addChildContainer("messageGroup",t);(i=o.setAnimation({el:i||"rect",attr:{x:0,y:0,width:c,height:l,fill:"rgba(0,0,0,0.2)",stroke:"none"},container:t,component:n,label:"rect"})).off("fc-click",t.hide);i.show().toFront().attr("cursor",u?f.POINTER:"default");u&&i.on("fc-click",n._hideChartMessage,n);n.addGraphicalElement("messageVeil",i);y.setStyle(r);a=y.getSmartText(p,c-(e.marginRight||0)-(e.marginLeft||0),l-(e.marginTop||0)-(e.marginBotton||0));(h=o.setAnimation({el:h||"text",attr:{"font-size":r.fontSize,"font-family":r.fontFamily,fill:r.color,text:a.text,"line-height":14,x:c/2,y:l/2},container:t,component:n,label:"text"})).attr("cursor",u?f.POINTER:"default")[u?"click":"unclick"](n._hideChartMessage,n).show().toFront();n.addGraphicalElement("messageText",h)},n.prototype.scheduleResize=function(n){var r,t=this,i=t.ref,u=t.apiInstance;i&&(t._addChartDependency("resize",{resolve:function(){return{state:2}}}),u.addJob("resizeScheduled",function(){r=f.normalizeCSSDimension(n.width,n.height,i);"undefined"!=typeof n.width&&(i.style.width=r.width);"undefined"!==n.height&&(i.style.height=r.height);t._resize()},y.priorityList.instant))},n}();u.id="FusionCharts";u.options={html5ScriptNameSuffix:".js",html5ScriptNamePrefix:"fusioncharts.","export":{useCanvas:!1},scriptBaseUri:(ot=function(n){for(var t,r=window.document.getElementsByTagName("script"),u=r.length,i=0;i<u;i+=1)if(void 0!==(t=r[i].getAttribute("src"))&&null!==t&&null!==t.match(n))return t.replace(n,"$1")}(/(^|[\/\\])(fusioncharts\.js)([\?#].*)?$/gi),void 0===ot?(r.raiseError(u,"1603111624","run",">GenericRuntime~scriptBaseUri","Unable to locate FusionCharts script source location (URL)."),""):ot)};i.p=u.getScriptBaseURI();u.version=yt.split(/[\.\-]/g);u.items={};r.setRootSender(u);ut=!1;f.hasSVG||u.addDep({name:"vml",type:"dependency",extension:i.e(14).then(i.t.bind(null,1127,7))});(b=u.getDep("vml","dependency"))?b.then?b.then(function(n){u.addDep(n["default"]);ft()})["catch"](function(){r.raiseError(u,"162162788","run",">RendererError~VMLRendererLoad","Unable to load FusionCharts VML renderer.")}):(u.addDep(b),ft()):ft();u.addEventListener("dependencyAdded",function(n,t){if("maps"===t.type){var i={};i[t.name]=["fusioncharts.maps.js"];u.getDep("dependency")||u.addDep({name:"dependency",extension:i})}});u.addEventListener("initialized",function rr(){u.removeEventListener("initialized",rr);kt=new ui["default"](document.body||document.getElementsByTagName("body")[0]);ct.globalStore.addToEnv("smartLabel",kt)});u.addDep(fi["default"]);u.addDep(ei["default"]);u.addDep(li["default"]);u.addDep(oi["default"]);u.addDep(si["default"]);u.addDep(hi["default"]);u.addDep(ci["default"]);t["default"]=u},function(n,t,i){"use strict";function oi(n){return n&&n.__esModule?n:{"default":n}}function lr(n){return void 0!==n&&null!==n}function et(n){var t={},i=n.getBoundingClientRect();return t.left=i.left+(window.pageXOffset||document.documentElement.scrollLeft),t.top=i.top+(window.pageYOffset||document.documentElement.scrollTop),t}function ti(n){for(var i=void 0,t=void 0,r=n,u=1,f=1;r&&"BODY"!==r.tagName;)(t=(t=(i=window.getComputedStyle(r).getPropertyValue("transform"))&&"none"!==i&&-1!==i.indexOf("(")&&i.substring(i.indexOf("(")+1))&&t.replace(/\)/,"").split(/\,/))&&"none"!==t[0]&&(u*=+t[0]||1,f*=ut||yi||vi?+t[5]||1:+t[3]||1),r=r.parentNode;return{scaleX:u,scaleY:f}}function o(){for(var n,t=0,i=arguments.length;t<i;t+=1)if(((n=arguments[t])||!1===n||0===n)&&!isNaN(n=Number(n)))return n;return f}function ii(n){var t=n&&(n.sourceEvent||n.originalEvent||n);return l&&t&&(t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0])||t||su}function ar(n){var nt,tt,y,t=n.data,u=t.chart,ft=u.getFromEnv("animationManager"),ht=n.state,p=ni(ii(n.originalEvent)),it=u.getChildren("canvas")[0],l=nt=it.getGraphicalElement("resizeBox"),e=t.layerX=p.pageX-t.chartPosLeft,s=t.layerY=p.pageY-t.chartPosTop,h=e-t.ox,c=s-t.oy,a=t.bBox,f={scaleX:1,scaleY:1},i=t.ox,r=t.oy,rt=t.zoomX,ut=t.zoomY,b=t.canvasY,k=t.canvasX,ct=t.canvasW,lt=t.canvasH,ot=t.canvasX2,st=t.canvasY2,d=t.strokeWidth,v=t.attr,g=u.config&&o(u.config.applycsstransform,0);switch(g&&(i/=(f=ti(u.getFromEnv("chart-container"))).scaleX,r/=f.scaleY),ht){case"start":tt=et(this);t.chartPosLeft=tt.left;t.chartPosTop=tt.top;e=p.pageX-t.chartPosLeft;s=p.pageY-t.chartPosTop;t.oy=s;t.ox=e;t.allowMove=!1;v.x=0;v.y=0;v.height=0;v.width=0;l=it.addGraphicalElement("resizeBox",ft.setAnimation({el:nt||"rect",attr:v,container:u.getChildContainer("trackerGroup")})).show();nt||it.addGraphicalElement("resizeBox",l);g&&(e/=f.scaleX,s/=f.scaleY);e>k&&e<ot&&s>b&&s<st&&(t.allowMove=!0);n.target._isTrackerElem&&(t.allowMove=!1);break;case"end":y={chart:u,selectionLeft:(a=l.getBBox()).x,selectionTop:a.y,selectionHeight:a.height,selectionWidth:a.width,originalEvent:n.originalEvent};t.isDragged&&(t.selectionEnd&&t.selectionEnd(y),t.isDragged=0);l.hide();delete t.oy;delete t.ox;break;default:if(!t.allowMove)return;h=e-t.ox;c=s-t.oy;a=t.bBox;i=t.ox;r=t.oy;g&&(i/=f.scaleX,r/=f.scaleY);t.isDragged||(y={chart:u,selectionLeft:(rt?w(i,i+h):k)+.5*d,selectionTop:(ut?w(r,r+c):b)+.5*d,selectionHeight:0,selectionWidth:0,originalEvent:n.originalEvent},t.selectionStart&&t.selectionStart(y),t.isDragged=1);g&&(h/=f.scaleX,c/=f.scaleY);h=-(i-w(i-(i-or(i+h,k)),ot));c=-(r-w(r-(r-or(r+c,b)),st));ft.setAnimation({el:l,attr:{x:(rt?w(i,i+h):k)+.5*d,y:(ut?w(r,r+c):b)+.5*d,width:rt?bt(h):ct,height:ut?bt(c):lt}})}}function vr(n){var i=n.data,t=n.originalEvent,e=t.target||t.originalTarget||t.srcElement||t.relatedTarget||t.fromElement,o=t.type,r=t.layerX,u=t.layerY;r===f&&(r=t.pageX-i.chartPosLeft,u=t.pageY-i.chartPosTop);"mousedown"===o&&(e.ishot=r>i.canvasX&&r<i.canvasX2&&u>i.canvasY&&u<i.canvasY2);"mouseup"===o&&setTimeout(function(){e.ishot=!1},1)}function ot(){for(var n,t=0,i=arguments.length;t<i;t+=1)if((n=arguments[t])||!1===n||0===n)return n;return r}function yr(n){return n&&n.replace(/\$/g,"$$$$")}function pr(n,t){return n||!1===n||0===n?n:t}function d(){for(var n,t=0,i=arguments.length;t<i;t+=1)if((n=arguments[t])||!1===n||0===n)return n;return f}function ri(n){return"string"==typeof n?n.replace(nr,wi):r}function wr(n,t,i){var r=i%2/2,u=ft(n+r)-r;return{position:u,distance:ft(n+t+r)-r-u}}function ui(n,t){au(n.substr(0,n.indexOf("__FC_ARG_SEP__")).replace(/\s/g,r),n.substr(n.indexOf("__FC_ARG_SEP__")).replace(/__FC_ARG_SEP__/,""),t)}function br(n){/^j\s*\-/.test(n)?ui(n.replace(/^j\s*\-/,r).replace(/\-/,"__FC_ARG_SEP__")):ui(n.replace(/^javascript\s*\:/i,r).replace(/[\'\"]?\s*\,\s*[\'\"]?/g,"__FC_ARG_SEP__").replace(/\(\s*[\'\"]?(.*)\)\;?/,"__FC_ARG_SEP__$1").replace(/[\'\"]?$/,""),!0)}function kr(n){var t={image:!1};return n!==f&&(n=n.replace(/^\s+/,r).replace(/\s+$/,r),/^i\s*[\-]\s*/i.test(n)?(t.image=!0,t.string=n.replace(/^i\s*[\-]\s*/i,r)):t.string=n.replace(/^\\/,r)),t}function fi(n,t){var i=ur(10,t);return ft(n*i)/i}function dr(n,t,i){return i||i===f?[n,t]:pt}function ei(n,t){return"object"!==(void 0===n?"undefined":st(n))?r:((n.fontSize||n["font-size"])&&(!n.fontSize&&n["font-size"]&&(n.fontSize=n["font-size"],delete n["font-size"]),n.lineHeight=(parseFloat(n.fontSize)||t||10)*ai+"px",delete n["line-height"]),!n.lineHeight&&n["line-height"]&&(n.lineHeight=n["line-height"],delete n["line-height"]),n.lineHeight)}function du(n,t){return n-t}function gu(n,t){return t-n}
27t.__esModule=!0;t.DEFAULT_FT_FONT=t.isIpad=t.getFirstAlpha=t.getFirstColor=t.HEXtoRGB=t.rawRGBtoHEX=t.RGBtoHex=t.getValidColor=t.parseColor=t.getAngle=t.getPointColor=t.getColumnColor=t.mapSymbolName=t.getLightColor=t.getDarkColor=t.convertColor=t._manageInteractiveSpace=t.domInsertModes=t.normalizeCSSDimension=t.isXSSSafe=t.getSuggestiveRotation=t.extent=t.normalizeAngle=t.safeMin=t.safeMax=t.LINE_HEIGHT_FACTOR=t.PROJECT_VERSION=t.trimString=t.datasetFactory=t.componentFactory=t.dropHash=t.BGRATIOSTRING=t.VISIBLE=t.touchEnabled=t.MOUSEMOVE=t.MOUSEOUT=t.FIT=t.FILL=t.TILE=t.COMMA=t.animationObjStr=t.configStr=t.ROUND=t.BLANK=t.POINTER=t.HAND=t.BOLD=t.NORMAL=t.mathRound=t.mathAbs=t.animHelperFN=t.xssEncode=t.MathExt=t.defaultGaugePaletteOptions=t.crispBound=t.hasAttribDefs=t.setAttribDefs=t.parseConfiguration=t.attribDefs=t.canvasBorderColorStr=t.defined=t.pInt=t.attrTypeBool=t.canvasBGAlphaStr=t.attrTypeNum=t.DASH_DEF=t.chartPaletteStr=t.TRACKER_FILL=t.capitalizeString=t.getContainerBackgroundColor=t.appliedCSS=t.validhexcolor=t.pseudoEval=t.executeJS=t.componentDispose=t.createDialog=t.chartAPI=t.getDashStyle=t.getAxisLimits=t.supportedStyle=undefined;t.parsexAxisStyles=t.setLineHeight=t.setImageDisplayMode=t.getLinkAction=t.lineHeightFactor=t.isEdge=t.isIE9=t.isIE11=t.isIE=t.CREDIT_REGEX=t.hasSVG=t.stableSort=t.stubFN=t.preDefStr=t.getCripValues=t.getCrispValue=t.isArray=t.getImageURL=t.regReplaceEscape=t.regescape=t.CREDIT_STRING=t.CREDIT_HREF=t.creditLabel=t.hasTouch=t.toPrecision=t.parseTooltext=t.parseUnsafeString=t.parsePointValue=t.fastTrim=t.gradientify=t.rgbaToHex=t.toRaphaelColor=t.clampNumber=t.getColorCodeString=t.getFirstValue=t.getDefinedColor=t.fcEach=t.bindSelectionEvent=t.getViewPortDimension=t.getPosition=t.getValidValue=t.pluckFontSize=t.getComparatorFN=t.dehashify=t.hashify=t.polyPathToPath=t.createElement=t.getFirstDefinedValue=t.pluckNumber=t.pluck=t.imprint=t.extend2=t.getTouchEvent=t.getScalingValue=t.getMouseCoordinate=t.getEventCoordinate=t.regex=t.CLICK_THRESHOLD_PIXELS=t.TOUCH_THRESHOLD_PIXELS=t.cleanColorCode=t.startsRGBA=t.visibleStr=t.hiddenStr=t.TEXTANCHOR=t.COMMASPACE=t.PXSTRING=t.HUNDREDSTRING=t.SHAPE_RECT=t.FC_CONFIG_STRING=t.POSITION_END=t.POSITION_START=t.POSITION_MIDDLE=t.POSITION_CENTER=t.POSITION_LEFT=t.POSITION_BOTTOM=t.POSITION_RIGHT=t.POSITION_TOP=t.STRINGUNDEFINED=t.DECIMALSTRING=t.ONESTRING=t.TESTSTR=t.SAMPLESTRING=t.ZEROSTRING=t.COMMASTRING=t.OBJECTSTRING=t.STRINGSTRING=t.BREAKSTRING=t.HASHSTRING=t.COLOR_TRANSPARENT=t.COLOR_WHITE=t.COLOR_GLASS=t.COLOR_BLACK=t.BLANKSTRING=t.UNDERSCORE=t.UNDEF=t.isFirefox=t.BLANKSTRINGPLACEHOLDER=t.getEmptyConstractor=t.addInterActiveEvtName=t.isInterActiveEvt=undefined;var st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},g=i(126),nt=oi(i(127)),ht=oi(i(128)),e=i(129),nu=i(130);var f,si,hi,ci,ct,lt,tt,p,b,at,vt,it,rt,li,yt,ai=1.2,u=window,pt="none",vi=(yt=u.navigator.userAgent.toLowerCase(),!(!(li=-1!=yt.indexOf("msie")&&u.parseInt(yt.split("msie")[1]))||9!==li)),tu=/Firefox/i.test(u.navigator.userAgent),s=u.document,a=u.navigator,wt=Boolean(u.SVGAngle||s.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")),yi=/trident/i.test(a.userAgent)&&/rv:11/i.test(a.userAgent)&&!window.opera,ut=/msie/i.test(a.userAgent)&&!u.opera,iu=/Edge/.test(a.userAgent),pi=!!a.platform&&/iPad|iPhone|iPod/.test(a.platform),ru=pi?"Verdana,sans":"Source Sans Pro",uu=/[\\\"<>;&]/,fu=/^[^\S]*?(sf|f|ht)(tp|tps):\/\//i,eu="rgba(192,192,192,"+(ut?.002:1e-6)+")",wi="<br />",r="",bi=r,c=",",ou="r",ki="px",di="http://www.fusioncharts.com?BS=FCHSEvalMark&utm_source=FCS_trial&pver="+escape("3.13.4"),v=parseFloat,gi=/fusioncharts\.com|fusioncharts\.github\.io$/i,nr=/\{br\}\s*/gi,tr=/^#?/,ir=/^rgba/i,rr=/[#\s]/gi,bt=Math.abs,ur=Math.pow,ft=Math.round,fr=ur(2,-24),l="ontouchstart"in s,y=l&&!(a.maxTouchPoints||a.msMaxTouchPoints),er=(gi.test(u.location.hostname),!1),kt=Math,or=kt.max,w=kt.min,su={pageX:0,pageY:0},k=["8BBA00","F6BD0F","FF654F","AFD8F8","FDB398","CDC309","B1D0D2","FAD1B9","B8A79E","D7CEA5","C4B3CE","E9D3BE","EFE9AD","CEA7A2","B2D9BA"],hu={paletteColors:[k,k,k,k,k],bgColor:["CBCBCB,E9E9E9","CFD4BE,F3F5DD","C5DADD,EDFBFE","A86402,FDC16D","FF7CA0,FFD1DD"],bgAngle:[270,270,270,270,270],bgRatio:["0,100","0,100","0,100","0,100","0,100"],bgAlpha:["50,50","60,50","40,20","20,10","30,30"],toolTipBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],toolTipBorderColor:["545454","545454","415D6F","845001","68001B"],baseFontColor:["555555","60634E","025B6A","A15E01","68001B"],tickColor:["333333","60634E","025B6A","A15E01","68001B"],trendDarkColor:["333333","60634E","025B6A","A15E01","68001B"],trendLightColor:["f1f1f1","F3F5DD","EDFBFE","FFF5E8","FFD1DD"],pointerBorderColor:["545454","60634E","415D6F","845001","68001B"],pointerBgColor:["545454","60634E","415D6F","845001","68001B"],canvasBgColor:["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"],canvasBgAngle:[0,0,0,0,0],canvasBgAlpha:["100","100","100","100","100"],canvasBgRatio:["","","","",""],canvasBorderColor:["545454","545454","415D6F","845001","68001B"],canvasBorderAlpha:[100,100,100,90,100],altHGridColor:["EEEEEE","D8DCC5","99C4CD","DEC49C","FEC1D0"],altHGridAlpha:[50,35,10,20,15],altVGridColor:["767575","D8DCC5","99C4CD","DEC49C","FEC1D0"],altVGridAlpha:[10,20,10,15,10],borderColor:["767575","545454","415D6F","845001","68001B"],borderAlpha:[50,50,50,50,50],legendBgC
27olor:["ffffff","ffffff","ffffff","ffffff","ffffff"],legendBorderColor:["545454","545454","415D6F","845001","D55979"],plotFillColor:["767575","D8DCC5","99C4CD","DEC49C","FEC1D0"],plotBorderColor:["999999","8A8A8A","6BA9B6","C1934D","FC819F"],msgLogColor:["717170","7B7D6D","92CDD6","965B01","68001B"],TrendLightShadeOffset:30},dt={numDecimals:function(n){n=fi(n,10);var i=fi((n=Math.abs(n))-Math.floor(n),10),t=String(i).length-2;return t=t<0?0:t,t},toRadians:function(n){return n/180*Math.PI},toDegrees:function(n){return n/Math.PI*180},flashToStandardAngle:function(n){return-1*n},standardToFlashAngle:function(n){return-1*n},flash180ToStandardAngle:function(n){var t=360-((n%=360)<0?n+360:n);return 360==t?0:t},getAngularPoint:function(n,t,i,r){return r*=Math.PI/180,{x:n+i*Math.cos(r),y:t-i*Math.sin(r)}},remainderOf:function(n,t){return Math.ceil(n%t)},boundAngle:function(n){return n>=0?dt.prototype.remainderOf(n,360):360-dt.prototype.remainderOf(Math.abs(n),360)},toNearestTwip:function(n){var i=n,u=i<0?-1:1,f=Math.abs(i),r=Math.round(100*f),t=Math.floor(r/5);return u*((Number(String(r-5*t))>2?5*t+5:5*t)/100)},roundUp:function(n,t){t=t||2;var i=Math.pow(10,t);return n*=i,n=Math.round(Number(String(n))),n/i}},cu=2*kt.PI,h=wt?0:.5,gt=function(){if(Array.isArray)return Array.isArray;var n=Object.prototype.toString,t=n.call([]);return function(i){return n.call(i)===t}}(),ni=function(n){return n.pageX===f&&(n.pageX=n.clientX+s.body.scrollLeft+s.documentElement.scrollLeft,n.pageY=n.clientY+s.body.scrollTop+s.documentElement.scrollTop),n},lu=(at="innerWidth",vt="innerHeight",it=s.documentElement||s.body,rt=it,"innerWidth"in u?rt=u:(at="clientWidth",vt="clientHeight"),function(){return{width:rt[at],height:rt[vt],scrollTop:it.scrollTop,scrollLeft:it.scrollLeft}}),au=(b=/^@window_/g,function(n,t,i){for(var h,o,a=n.replace(/\[[\'\"]/g,".").replace(/[\'\"]\]/g,r).replace(/\[/g,".@window_").replace(/\]/g,r).split("."),e=u,c=r,l=a.length,s=0;s<l;s+=1){if(h=e,(o=a[s]).match(b))e=e[u[o.replace(b,r)]];else{if(e===f||null===e)throw(c||o).replace(b,r)+" is not defined";e=e[o]}c=o}if(e&&("function"==typeof e.call||e===u.alert))e===u.alert?e(t):i?e.apply(h,t.split("__FC_ARG_SEP__")):e.call(h,t);else{if("void"===c)return;setTimeout(function(){throw o.replace(b,r)+"() is not a function";},0)}}),vu=(p={},function(n){var o,t,rt,l,a,u=(n=n||this)&&n.FCcolor||n,s=u.color,i=u.ratio,y=u.angle,h=u.alpha,w=u.r,b=u.cx,ut=u.cy,k=u.fx,ft=u.fy,d=u.gradientUnits,g=u.x1,nt=u.y1,tt=u.x2,it=u.y2,ot=u.radialGradient,et=1;if("string"==typeof n)return p[a="~"+n]||(p[a]=n.replace(/^#?([a-f0-9]{3,6})/gi,"#$1"));if(!(s=s||r))return o;if(a=[s,h,i,y,w,b,ut,d,k,ft,g,tt,nt,it,ot].join("_").replace(/[\(\)\s,\xb0#]/g,"_"),p[a])return p[a];if(i=i&&(i+r).split(c)||[],h=(h||0===h)&&(h+r).split(c)||[],s=s.split(c))if(o=r,1===s.length)l=s[0].replace(/^#?([a-f0-9]{3,6})/gi,"$1"),o=h.length?"rgba("+e.HEXtoRGB(l).join(c)+","+.01*v(h[0])+")":l.replace(/^#?([a-f0-9]{3,6})/gi,"#$1");else{for(t=0,rt=s.length;t<rt;t++)l=s[t].replace(/^#?([a-f0-9]{3,6})/gi,"$1"),isNaN(i[t])||(i[t]=v(i[t]),l+=":"+i[t],isNaN(i[t+1])||(i[t+1]=v(i[t+1])+i[t])),isNaN(h[t])||h[t]===r||(et=.01*h[t]),s[t]="rgba("+e.HEXtoRGB(l).join(c)+","+et+")",isNaN(i[t])||(i[t]===i[t-1]&&(i[t]+=.001),s[t]=s[t]+":"+i[t]);o+=s.join("-");w!==f||k!==f||b!==f||u.radialGradient?o="xr("+[k,ft,w,b,ut,d].join(",")+")"+o:(o="-"+o,g===f&&nt===f&&tt===f&&it===f||(o="("+[g,nt,tt,it,d].join(",")+")"+o),y===f&&(y=0),o=360-v(y)%360+o)}return p[a]=o}),yu=function(){return""},pu=function(){for(var t=[{regex:/((^|[^\\])((\\)\\)*\$cleanvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$cleanvalue))/gi,argIndex:2,argKey:"cleanvalue"},{regex:/((^|[^\\])((\\)\\)*\$datavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$datavalue))/gi,argIndex:2,argKey:"formattedValue"},{regex:/((^|[^\\])((\\)\\)*\$value)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$value))/gi,argIndex:3,argKey:"value"},{regex:/((^|[^\\])((\\)\\)*\$label)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$label))/gi,argIndex:2,argKey:"label"},{regex:/((^|[^\\])((\\)\\)*\$seriesname)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$seriesname))/gi,argIndex:5,argKey:"seriesname"},{regex:/((^|[^\\])((\\)\\)*\$yaxisname)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$yaxisname))/gi,argIndex:2,argKey:"yaxisName"},{regex:/((^|[^\\])((\\)\\)*\$xaxisname)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$xaxisname))/gi,argIndex:2,argKey:"xaxisName"}
27,{regex:/((^|[^\\])((\\)\\)*\$displayvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$displayvalue))/gi,argIndex:3,argKey:"displayvalue"},{regex:/((^|[^\\])((\\)\\)*\$xdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$xdatavalue))/gi,argIndex:2,argKey:"xDataValue"},{regex:/((^|[^\\])((\\)\\)*\$ydatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$ydatavalue))/gi,argIndex:2,argKey:"yDataValue"},{regex:/((^|[^\\])((\\)\\)*\$xvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$xvalue))/gi,argIndex:3,argKey:"x"},{regex:/((^|[^\\])((\\)\\)*\$yvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$yvalue))/gi,argIndex:3,argKey:"y"},{regex:/((^|[^\\])((\\)\\)*\$zvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$zvalue))/gi,argIndex:3,argKey:"z"},{regex:/((^|[^\\])((\\)\\)*\$name)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$name))/gi,argIndex:3,argKey:"name"},{regex:/((^|[^\\])((\\)\\)*\$percentValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$percentValue))/gi,argIndex:2,argKey:"percentValue"},{regex:/((^|[^\\])((\\)\\)*\$startValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$startValue))/gi,argIndex:2,argKey:"startValue"},{regex:/((^|[^\\])((\\)\\)*\$startDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$startDataValue))/gi,argIndex:2,argKey:"startDataValue"},{regex:/((^|[^\\])((\\)\\)*\$endValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$endValue))/gi,argIndex:2,argKey:"endValue"},{regex:/((^|[^\\])((\\)\\)*\$endDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$endDataValue))/gi,argIndex:2,argKey:"endDataValue"},{regex:/((^|[^\\])((\\)\\)*\$axisName)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$axisName))/gi,argIndex:2,argKey:"axisName"},{regex:/((^|[^\\])((\\)\\)*\$cumulativevalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$cumulativevalue))/gi,argIndex:2,argKey:"cumulativeValue"},{regex:/((^|[^\\])((\\)\\)*\$cumulativedatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$cumulativedatavalue))/gi,argIndex:2,argKey:"cumulativeDataValue"},{regex:/((^|[^\\])((\\)\\)*\$cumulativePercentValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$cumulativePercentValue))/gi,argIndex:2,argKey:"cumulativePercentValue"},{regex:/((^|[^\\])((\\)\\)*\$cumulativepercentdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$cumulativepercentdatavalue))/gi,argIndex:2,argKey:"cumulativePercentDataValue"},{regex:/((^|[^\\])((\\)\\)*\$sum)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$sum))/gi,argIndex:2,argKey:"sum"},{regex:/((^|[^\\])((\\)\\)*\$unformattedsum)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$unformattedsum))/gi,argIndex:2,argKey:"unformattedSum"},{regex:/((^|[^\\])((\\)\\)*\$targetvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$targetvalue))/gi,argIndex:2,argKey:"targetValue"},{regex:/((^|[^\\])((\\)\\)*\$targetdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$targetdatavalue))/gi,argIndex:2,argKey:"targetDataValue"},{regex:/((^|[^\\])((\\)\\)*\$processname)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$processname))/gi,argIndex:2,argKey:"processName"},{regex:/((^|[^\\])((\\)\\)*\$start)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$start))/gi,argIndex:2,argKey:"start"},{regex:/((^|[^\\])((\\)\\)*\$end)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$end))/gi,argIndex:2,argKey:"end"},{regex:/((^|[^\\])((\\)\\)*\$percentcomplete)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$percentcomplete))/gi,argIndex:2,argKey:"percentComplete"},{regex:/((^|[^\\])((\\)\\)*\$taskpercentcomplete)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$taskpercentcomplete))/gi,argIndex:2,argKey:"taskPercentComplete"},{regex:/((^|[^\\])((\\)\\)*\$taskstartdate)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$taskstartdate))/gi,argIndex:2,argKey:"taskStartDate"},{regex:/((^|[^\\])((\\)\\)*\$taskenddate)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$taskenddate))/gi,argIndex:2,argKey:"taskEndDate"},{regex:/((^|[^\\])((\\)\\)*\$tasklabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$tasklabel))/gi,argIndex:2,argKey:"taskLabel"},{regex:/((^|[^\\])((\\)\\)*\$date)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$date))/gi,argIndex:2,argKey:"date"},{regex:/((^|[^\\])((\\)\\)*\$percentofprevvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$percentofprevvalue))/gi,argIndex:2,argKey:"percentOfPrevValue"},{regex:/((^|[^\\])((\\)\\)*\$sname)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$sname))/gi,argIndex:2,argKey:"sName"},{regex:/((^|[^\\])((\\)\\)*\$lname)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$lname))/gi,argIndex:2,argKey:"lName"},{regex:/((^|[^\\])((\\)\\)*\$fromid)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromid))/gi,argIndex:2,argKey:"fromId"},{regex:/((^|[^\\])((\\)\\)*\$fromlabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromlabel))/gi,argIndex:2,argKey:"fromLabel"},{regex:/((^|[^\\])((\\)\\)*\$toid)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toid))/gi,argIndex:2,argKey:"toId"},{regex:/((^|[^\\])((\\)\\)*\$tolabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$tolabel))/gi,argIndex:2,argKey:"toLabel"},{regex:/((^|[^\\])((\\)\\)*\$fromxvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromxvalue))/gi,argIndex:2,argKey:"fromXValue"},{regex:/((^|[^\\])((\\)\\)*\$fromyvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromyvalue))/gi,argIndex:2,argKey:"fromYValue"},{regex:/((^|[^\\])((\\)\\)*\$fromxdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromxdatavalue))/gi,argIndex:2,argKey:"fromXDataValue"},{regex:/((^|[^\\])((\\)\\)*\$fromydatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromydatavalue))/gi,argIndex:2,argKey:"fromYDataValue"},{regex:/((^|[^\\])((\\)\\)*\$fromlabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromlabel))/gi,argIndex:2,argKey:"fromLabel"},{regex:/((^|[^\\])((\\)\\)*\$toxvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toxvalue))/gi,argIndex:2,argKey:"toXValue"},{regex:/((^|[^\\])((\\)\\)*\$toyvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toyvalue))/gi,argIndex:2,argKey:"toYValue"},{regex:/((^|[^\\])((\\)\\)*\$toxdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toxdatavalue))/gi,argIndex:2,argKey:"toXDataValue"},{regex:/((^|[^\\])((\\)\\)*\$toydatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toydatavalue))/gi,argIndex:2,argKey:"toYDataValue"},{regex:/((^|[^\\])((\\)\\)*\$tolabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$tolabel))/gi,argIndex:2,argKey:"toLabel"},{regex:/((^|[^\\])((\\)\\)*\$openvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$openvalue))/gi,argIndex:2,argKey:"openValue"},{regex:/((^|[^\\])((\\)\\)*\$closevalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$closevalue))/gi,argIndex:2,argKey:"closeValue"},{regex:/((^|[^\\])((\\)\\)*\$highvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$highvalue))/gi,argIndex:2,argKey:"highValue"},{regex:/((^|[^\\])((\\)\\)*\$lowvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$lowvalue))/gi,argIndex:2,argKey:"lowValue"},{regex:/((^|[^\\])((\\)\\)*\$opendatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$opendatavalue))/gi,argIndex:2,argKey:"openDataValue"},{regex:/((^|[^\\])((\\)\\)*\$closedatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$closedatavalue))/gi,argIndex:2,argKey:"closeDataValue"},{regex:/((^|[^\\])((\\)\\)*\$highdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$highdatavalue))/gi,argIndex:2,argKey:"highDataValue"},{regex:/((^|[^\\])((\\)\\)*\$lowdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$lowdatavalue))/gi,argIndex:2,argKey:"lowDataValue"},{regex:/((^|[^\\])((\\)\\)*\$maxvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$maxvalue))/gi,argIndex:2,argKey:"maxValue"},{regex:/((^|[^\\])((\\)\\)*\$maxdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$maxdatavalue))/gi,argIndex:2,argKey:"maxDataValue"},{regex:/((^|[^\\])((\\)\\)*\$minvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$minvalue))/gi,argIndex:2,argKey:"minValue"},{regex:/((^|[^\\])((\\)\\)*\$mindatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$mindatavalue))/gi,argIndex:2,argKey:"minDataValue"},{regex:/((^|[^\\])((\\)\\)*\$q1)/gi,argIndex:2,argKey:"Q1"},{regex:/((^|[^\\])((\\)\\)*\$unformattedQ1)/gi,argIndex:2,argKey:"unformattedQ1"},{regex:/((^|[^\\])((\\)\\)*\$q3)/gi,argIndex:2,argKey:"Q3"},{regex:/((^|[^\\])((\\)\\)*\$unformattedQ3)/gi,argIndex:2,argKey:"unformattedQ3"},{regex:/((^|[^\\])((\\)\\)*\$median)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$median))/gi,argIndex:2,argKey:"median"},{regex:/((^|[^\\])((\\)\\)*\$unformattedMedian)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$unformattedMedian))/gi,argIndex:2,argKey:"unformattedMedian"},{regex:/((^|[^\\])((\\)\\)*\$SD)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$SD))/gi,argIndex:2,argKey:"SD"},{regex:/((^|[^\\])((\\)\\)*\$unformattedsd)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$unformattedsd))/gi,argIndex:2,argKey:"unformattedsd"},{regex:/((^|[^\\])((\\)\\)*\$QD)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$QD))/gi,argIndex:2,argKey:"QD"},{regex:/((^|[^\\])((\\)\\)*\$unformattedQD)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$unformattedQD))/gi,argIndex:2,argKey:"unformattedQD"},{regex:/((^|[^\\])((\\)\\)*\$MD)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$MD))/gi,argIndex:2,argKey:"MD"},{regex:/((^|[^\\])((\\)\\)*\$unformattedMD)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$unformattedMD))/gi,argIndex:2,argKey:"unformattedMD"},{regex:/((^|[^\\])((\\)\\)*\$mean)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$mean))/gi,argIndex:2,argKey:"mean"},{regex:/((^|[^\\])((\\)\\)*\$unformattedMean)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$unformattedMean))/gi,argIndex:2,argKey:"unformattedMean"},{regex:/((^|[^\\])((\\)\\)*\$unformattedMean)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$unformattedMean))/gi,argIndex:2,argKey:"unformattedMean"},{regex:/((^|[^\\])((\\)\\)*\$volumeValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$volumeValue))/gi,argIndex:2,argKey:"volumeValue"},{regex:/((^|[^\\])((\\)\\)*\$volumeDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$volumeDataValue))/gi,argIndex:2,argKey:"volumeDataValue"},{regex:/((^|[^\\])((\\)\\)*\$fromXValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromXValue))/gi,argIndex:2,argKey:"fromXValue"},{regex:/((^|[^\\])((\\)\\)*\$fromYValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromYValue))/gi,argIndex:2,argKey:"fromYValue"},{regex:/((^|[^\\])((\\)\\)*\$fromXDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromXDataValue))/gi,argIndex:2,argKey:"fromXDataValue"},{regex:/((^|[^\\])((\\)\\)*\$fromYDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromYDataValue))/gi,argIndex:2,argKey:"fromYDataValue"},{regex:/((^|[^\\])((\\)\\)*\$fromLabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$fromLabel))/gi,argIndex:2,argKey:"fromLabel"},{regex:/((^|[^\\])((\\)\\)*\$toXValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toXValue))/gi,argIndex:2,argKey:"toXValue"},{regex:/((^|[^\\])((\\)\\)*\$toYValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toYValue))/gi,argIndex:2,argKey:"toYValue"},{regex:/((^|[^\\])((\\)\\)*\$toXDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toXDataValue))/gi,argIndex:2,argKey:"toXDataValue"},{regex:/((^|[^\\])((\\)\\)*\$toYDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$toYDataValue))/gi,argIndex:2,argKey:"toYDataValue"},{regex:/((^|[^\\])((\\)\\)*\$tolabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$tolabel))/gi,argIndex:2,argKey:"toLabel"},{regex:/((^|[^\\])((\\)\\)*\$tlLabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$tlLabel))/gi,argIndex:5,argKey:"tlLabel"},{regex:/((^|[^\\])((\\)\\)*\$trlabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$trlabel))/gi,argIndex:5,argKey:"trLabel"},{regex:/((^|[^\\])((\\)\\)*\$bllabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$bllabel))/gi,argIndex:5,argKey:"blLabel"},{regex:/((^|[^\\])((\\)\\)*\$brlabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$brlabel))/gi,argIndex:5,argKey:"brLabel"},{regex:/((^|[^\\])((\\)\\)*\$rowlabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$rowlabel))/gi,argIndex:5,argKey:"rowLabel"},{regex:/((^|[^\\])((\\)\\)*\$columnlabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$columnlabel))/gi,argIndex:5,argKey:"c
27olumnLabel"},{regex:/((^|[^\\])((\\)\\)*\$errorvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$errorvalue))/gi,argIndex:2,argKey:"errorValue"},{regex:/((^|[^\\])((\\)\\)*\$errordatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$errordatavalue))/gi,argIndex:2,argKey:"errorDataValue"},{regex:/((^|[^\\])((\\)\\)*\$errorpercentvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$errorpercentvalue))/gi,argIndex:2,argKey:"errorPercentValue"},{regex:/((^|[^\\])((\\)\\)*\$errorpercentdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$errorpercentdatavalue))/gi,argIndex:2,argKey:"errorPercentDataValue"},{regex:/((^|[^\\])((\\)\\)*\$horizontalErrorValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$horizontalErrorValue))/gi,argIndex:2,argKey:"horizontalErrorValue"},{regex:/((^|[^\\])((\\)\\)*\$horizontalErrorDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$horizontalErrorDataValue))/gi,argIndex:2,argKey:"horizontalErrorDataValue"},{regex:/((^|[^\\])((\\)\\)*\$verticalErrorValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$verticalErrorValue))/gi,argIndex:2,argKey:"verticalErrorValue"},{regex:/((^|[^\\])((\\)\\)*\$verticalErrorDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$verticalErrorDataValue))/gi,argIndex:2,argKey:"verticalErrorDataValue"},{regex:/((^|[^\\])((\\)\\)*\$horizontalErrorPercent)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$horizontalErrorPercentValue))/gi,argIndex:2,argKey:"horizontalErrorPercentValue"},{regex:/((^|[^\\])((\\)\\)*\$horizontalErrorPercentDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$horizontalErrorPercentDataValue))/gi,argIndex:2,argKey:"horizontalErrorPercentDataValue"},{regex:/((^|[^\\])((\\)\\)*\$verticalErrorPercent)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$verticalErrorPercentValue))/gi,argIndex:2,argKey:"verticalErrorPercentValue"},{regex:/((^|[^\\])((\\)\\)*\$verticalErrorPercentDataValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$verticalErrorPercentDataValue))/gi,argIndex:2,argKey:"verticalErrorPercentDataValue"},{regex:/((^|[^\\])((\\)\\)*\$xaxispercentvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$xaxispercentvalue))/gi,argIndex:2,argKey:"xAxisPercentValue"},{regex:/((^|[^\\])((\\)\\)*\$percentdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$percentdatavalue))/gi,argIndex:2,argKey:"percentDataValue"},{regex:/((^|[^\\])((\\)\\)*\$trType)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$trType))/gi,argIndex:4,argKey:"trtype"},{regex:/((^|[^\\])((\\)\\)*\$tlType)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$tlType))/gi,argIndex:4,argKey:"tltype"},{regex:/((^|[^\\])((\\)\\)*\$brType)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$brType))/gi,argIndex:4,argKey:"brtype"},{regex:/((^|[^\\])((\\)\\)*\$blType)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$blType))/gi,argIndex:4,argKey:"bltype"},{regex:/((^|[^\\])((\\)\\)*\$colorRangeLabel)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$colorRangeLabel))/gi,argIndex:5,argKey:"colorRangeLabel"},{regex:/((^|[^\\])((\\)\\)*\$zdatavalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$zdatavalue))/gi,argIndex:2,argKey:"zDataValue"},{regex:/((^|[^\\])((\\)\\)*\$svalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$svalue))/gi,argIndex:3,argKey:"svalue"},{regex:/((^|[^\\])((\\)\\)*\$positiveErrorValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$positiveErrorValue))/gi,argIndex:2,argKey:"positiveErrorValue"},{regex:/((^|[^\\])((\\)\\)*\$negativeErrorValue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$negativeErrorValue))/gi,argIndex:2,argKey:"negativeErrorValue"},{regex:/((^|[^\\])((\\)\\)*\$datasvalue)/gi,escapeRegex:/((^|[^\\])((\\)\\)*\\(\$datasvalue))/gi,argIndex:2,argKey:"formattedsValue"}],i=[],u=t.length,n=0;n<u;n+=1)i.push(n);return function(){var o,s,n,f,h,u=arguments[0],e=arguments[1];if(gt(e)||(e=i),u)for(h=e.length,f=0;f<h;f+=1)(n=t[e[f]])&&(o=yr(pr((s=arguments[n.argIndex])&&s[n.argKey],r)+r),u=(u=u.replace(n.regex,"$2$4"+(n.parsingMethod?n.parsingMethod(o):o))).replace(n.escapeRegex,"$2$4$5"));return u}}(),wu=(ct=function(n,t,i,r,u){var o,f=Math.abs(t-n),e=f/(i+1);return tt(f,i,r)||(u&&(o=r>1?2:.5,Number(e)/Number(r)<o&&(r/=10)),f=(e=(Math.floor(e/r)+1)*r)*(i+1)),f},lt=function(n){n=Math.abs(n);var t=String(n),i=0,r=t.indexOf(".");return-1!=r&&(i=t.length-r-1),i},tt=function(n,t,i){return!(lt(n/(t+1))>lt(i))},function(n,t,i,r,u,e,o,s){var d,g,c,l,a,v,yt,pt,b,h,et,ot,st,nt,k,it,rt,p,w,ht,lt,y,ut,wt,at,ft,vt,bt=0;if((n=!0===isNaN(n)||n===f?.1:n)===(t=!0===isNaN(t)||t===f?0:t)&&0===n&&(n=.1),u=void 0===u||u,e=void 0===e||e,yt=Math.floor(Math.log(Math.abs(n))/Math.LN10),pt=Math.floor(Math.log(Math.abs(t))/Math.LN10),b=Math.max(pt,yt),h=Math.pow(10,b),Math.abs(n)/h<2&&Math.abs(t)/h<2&&(b--,h=Math.pow(10,b)),et=Math.floor(Math.log(n-t)/Math.LN10),ot=Math.pow(10,et),n-t>0&&h/ot>=10&&(h=ot,b=et),st=(Math.floor(n/h)+1)*h,nt=t<0?(Math.floor(Math.abs(t/h))+1)*h*-1:e?0:(nt=Math.floor(Math.abs(t/h)-1)*h)<0?0:nt,u&&n<=0&&(st=0),d=!(!i&&
270!==i),g=!(!r&&0!==r),c=!1===d||!0===d&&Number(i)<n&&n-Number(i)>fr?st:Number(i),l=!1===g||!0===g&&Number(r)>t&&Number(r)-t>fr?nt:Number(r),a=Math.abs(c-l),v=h,!1===g&&!1===d&&s)if(c>0&&l<0){for(it=!1,p=ct(l,c,o,rt=v>10?v/10:v,!1)-(o+1)*rt;!1===it;)if(tt(p+=(o+1)*rt,o,rt))if(k=p-a,w=p/(o+1),ht=(lt=Math.min(Math.abs(l),c))==Math.abs(l)?-1:1,0===o)it=!0;else for(ut=1;ut<=Math.floor((o+1)/2);ut++)(y=w*ut)-lt>k||y>lt&&(ft=p-y)/w==Math.floor(ft/w)&&y/w==Math.floor(y/w)&&(a=p,c=-1==ht?ft:y,l=-1==ht?-y:-ft,it=!0)}else k=(wt=ct(l,c,o,v,!0))-a,a=wt,c>0?c+=k:l-=k;else s&&(vt=function(n,t,i){for(var u,r=0,f=1;!tt(t,u=0===(u=n+r*f)?1:u,i);){if((r=-1==f||r>n?++r:r)>25){u=0;break}f=r<=n?-1*f:1}return u},o>0&&(0===(at=vt(o,a,v))&&(at=vt(o,a+1,v),bt=1),o=at));return{Max:c,Min:l,Range:a,interval:v,divGap:(c-l+bt)/(o+1)}}),bu=((ci=function(n,t,i){var s,o=i.jsVars&&i.jsVars.smartLabel,h=n.offsetWidth,c=n.offsetHeight,u=this.chart,r=this.title,e=i._chartMessageImageStyle,l=kr(t);r.y=c/2;r.x=h/2;u.bgSWF=r.text=f;t=l.string;l.image?(u.bgSWF=t,u.bgImageHAlign=e.imageHAlign,u.bgImageVAlign=e.imageVAlign,u.bgImageScale=e.imageScale,u.bgSWFAlpha=e.imageAlpha):t!==f&&(o?(ei(r.style),o.setStyle(r.style),s=o.getSmartText(ri(t),h,c),r.text=s.text):r.text=ri(t),r.verticalAlign="middle");r.style=i._chartMessageStyle;delete i._chartMessageImageStyle;delete i._chartMessageStyle}).prototype={chart:{events:{},margin:[0,0,0,0],backgroundColor:{FCcolor:{alpha:0}}},credits:{href:di,text:"FusionCharts Trial",enabled:er},legend:{enabled:!1},title:{text:"",style:{fontFamily:"Verdana,sans",fontSize:"10px",color:"#666666"}},plotOptions:{series:{}},series:[{}],exporting:{enabled:!1},nativeMessage:!0}).constructor=ci,sr={keyup:!0,blur:!0,click:!0,load:!0,dragstart:!0,dragmove:!0,dragend:!0,dblclick:!0,mousedown:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,"fc-wheel":!0,"fc-click":!0,"fc-dragstart":!0,"fc-dragmove":!0,"fc-dragend":!0,"fc-dbclick":!0,"fc-mousedown":!0,"fc-mousemove":!0,"fc-mouseout":!0,"fc-mouseover":!0,"fc-mouseup":!0,"fc-pinchstart":l||y,"fc-pinchmove":l||y,"fc-pinchend":l||y,touchstart:l||y,touchmove:l||y,touchend:l||y,touchcancel:l||y},ku={stripWhitespace:/\s+/g,dropHash:tr,startsRGBA:ir,cleanColorCode:rr,breakPlaceholder:nr,hexcode:/^#?[0-9a-f]{6}/i},hr=function(){var n,i,r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],f=arguments[1],u=r.length,t=-1;if("function"==typeof f){for(;++t<u;)if(null!=(n=f(r[t],t,r))&&n>=n)for(i=n;++t<u;)null!=(n=f(r[t],t,r))&&n>i&&(i=n)}else for(;++t<u;)if(null!=(n=r[t])&&n>=n)for(i=n;++t<u;)null!=(n=r[t])&&n>i&&(i=n);return i},cr=function(){var n,i,r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],f=arguments[1],u=r.length,t=-1;if("function"==typeof f){for(;++t<u;)if(null!=(n=f(r[t],t,r))&&n<=n)for(i=n;++t<u;)null!=(n=f(r[t],t,r))&&n<i&&(i=n)}else for(;++t<u;)if(null!=(n=r[t])&&n<=n)for(i=n;++t<u;)null!=(n=r[t])&&n<i&&(i=n);return i};t.isInterActiveEvt=function(n){return!!sr[n]};t.addInterActiveEvtName=function(n){n&&n.toLowerCase&&(sr[n.toLowerCase()]=!0)};t.getEmptyConstractor=function(){return function(){}};t.BLANKSTRINGPLACEHOLDER="#BLANK#";t.isFirefox=tu;t.UNDEF=f;t.UNDERSCORE="_";t.BLANKSTRING=bi;t.COLOR_BLACK="000000";t.COLOR_GLASS="rgba(255, 255, 255, 0.3)";t.COLOR_WHITE="FFFFFF";t.COLOR_TRANSPARENT="rgba(0,0,0,0)";t.HASHSTRING="#";t.BREAKSTRING=wi;t.STRINGSTRING="string";t.OBJECTSTRING="object";t.COMMASTRING=",";t.ZEROSTRING="0";t.SAMPLESTRING="Ay0";t.TESTSTR="Ag";t.ONESTRING="1";t.DECIMALSTRING=".";t.STRINGUNDEFINED="undefined";t.POSITION_TOP="top";t.POSITION_RIGHT="right";t.POSITION_BOTTOM="bottom";t.POSITION_LEFT="left";t.POSITION_CENTER="center";t.POSITION_MIDDLE="middle";t.POSITION_START="start";t.POSITION_END="end";t.FC_CONFIG_STRING="_FCconf";t.SHAPE_RECT="rect";t.HUNDREDSTRING="100";t.PXSTRING=ki;t.COMMASPACE=", ";t.TEXTANCHOR="text-anchor";t.hiddenStr="hidden";t.visibleStr="visible";t.startsRGBA=ir;t.cleanColorCode=rr;t.TOUCH_THRESHOLD_PIXELS=15;t.CLICK_THRESHOLD_PIXELS=5;t.regex=ku;t.getEventCoordinate=ni;t.getMouseCoordinate=function(n,t,i){var l,a,v,y,f,w=s.webkitIsFullScreen||s.mozFullScreen||s.msFullscreenElement||s.fullscreenElement,b={scaleX:1,scaleY:1},e=ni(ii(t)),h=w?e.clientX:e.pageX,c=w?e.clientY:e.pageY,r=i&&i.config||{},p=t.type,k=r&&r.itemFixed,d=o(r.applycsstransform,0),g=k?u.pageYOffset||u.scrollY||s.documentElement.scrollTop:0,nt=k?u.pageXOffset||u.scrollX||s.documentElement.scrollLeft:0;return r.elScroll&&r.posOb&&!d?f=r.posOb:(r.elScroll=!0,f=et(n),r.posOb=f),"touchend"===p?(h=si,c=hi):"touchmove"!==p&&"touchstart"!==p||(si=h,hi=c),l=h-f.left-nt,a=c-f.top-g,d&&(v=(b=ti(i.getFromEnv("chart-container"))).scaleX,y=b.scaleY,v&&(l/=v),y&&(a/=y)),{chartX:l,chartY:a,pageX:h,pageY:c}};t.getScalingValue=ti;t.getTouchEvent=ii;t.extend2=ht["default"];t.imprint=function(n,t,i){var r;if("object"!==(void 0===n?"undefined":st(n))||null===n)return n=t,t;if("object"!==(void 0===t?"undefined":st(t))||null===t)return n;for(r in t)n[r]!==f&&(i||null!==n[r])||(n[r]=t[r]);return n};t.pluck=d;t.pluckNumber=o;t.getFirstDefinedValue=function(){for(var n,t=0,i=arguments.length;t<i;t+=1)if((n=arguments[t])||!1===n||0===n||n==r)return n;return f};t.createElement=function(n,t,i){var r,u=s.createElement(n);for(r in t)u.setAttribute(r,t[r]);return i&&i.appendChild&&i.appendChild(u),u};t.polyPathToPath=function(n){var r,s,o,i,a,h=n[0],f=n[1],e=n[2],t=n[3],l=n[4],c=n[5];if(r=[],h=u.parseInt(h,10)||0,f=v(f)||0,e=v(e)||0,t=v(t)||0,l=null===l||isNaN(l)?.5*Math.PI:l%360*(Math.PI/180),c=null===c||isNaN(c)?0:v(c),i=l,h>2)switch(s=2*Math.PI/h,c){case 0:for(o=0;o<h;o++)r.push("L",f+t*Math.cos(-i),e+t*Math.sin(-i)),i+=s;r[0]="M";r.push("Z");break;case 1:for(o=0;o<h;o++)r.push("M",f,e,"L",f+t*Math.cos(-i),e+t*Math.sin(-i)),i+=s;break;default:for(s*=.5,a=t*Math.cos(s)*(1-c),o=0;o<h;o++)r.push("L",f+t*Math.cos(-i),e+t*Math.sin(-i)),i+=s,r.push("L",f+a*Math.cos(-i),e+a*Math.sin(-i)),i+=s;r[0]="M";r.push("Z")}else 0===t?r.push("M",f,e,"L",f,e,"Z"):r.push("M",f-t,e,"A",t,t,0,0,0,f+t,e,"A",t,t,0,0,0,f-t,e,"Z");return r};t.hashify=function(n){return n&&n.replace(/^#?([a-f0-9]+)/gi,"#$1")||"none"};t.dehashify=function(n){return n&&n.replace(/^#?([a-f0-9]+)/gi,"$1")||"none"};t.getComparatorFN=function(n,t){return n?t?function(n,i){return n[t]-i[t]}:du:t?function(n,i){return i[t]-n[t]}:gu};t.pluckFontSize=function(){for(var n,t=0,i=arguments.length;t<i;t+=1)if(((n=arguments[t])||!1===n||0===n)&&!isNaN(n=Number(n)))return n<1?1:n;return 1};t.getValidValue=pr;t.getPosition=et;t.getViewPortDimension=lu;t.bindSelectionEvent=function(n,t){t=t||{};var i=n.config,u=n.getFromEnv("chart-container"),f=i.zoomType,r=ht["default"]({},t.attr||{}),h=r["stroke-width"]=o(r.strokeWidth,r["stroke-width"],1),e=n.eventListeners||(n.eventListeners=[]),s=et(u);t=ht["default"]({chart:n,zoomX:/x/.test(f),zoomY:/y/.test(f),canvasY:i.canvasTop,canvasX:i.canvasLeft,canvasW:i.canvasWidth,canvasH:i.canvasHeight,canvasX2:i.canvasLeft+i.canvasWidth,canvasY2
27:i.canvasTop+i.canvasHeight,strokeWidth:h,chartPosLeft:s.left,chartPosTop:s.top,attr:r},t);r.stroke=ot(r.stroke,"rgba(51,153,255,0.8)");r.fill=ot(r.fill,"rgba(185,213,241,0.3)");u&&(nt["default"].unlisten(u,"pointerdrag",ar),e.push(nt["default"].listen(u,"pointerdrag",ar,t)));i.link&&(nt["default"].unlisten(n.getFromEnv("chart-container"),"mouseup mousedown",vr),e.push(nt["default"].listen(n.getFromEnv("chart-container"),"mouseup mousedown",vr,t)))};t.fcEach=function(n,t,i,r){var u;if(i||(i=n),r||(r={}),gt(n)){for(u=0;u<n.length;u+=1)if(!1===t.call(i,n[u],u,n,r))return u}else if(null!==n&&n!==f)for(u in n)if(!1===t.call(i,n[u],u,n,r))return u};t.getDefinedColor=function(n,t){return n||0===n||n===r?n:t};t.getFirstValue=ot;t.getColorCodeString=function(n,t){for(var i,u="",r=0,f=t.split(c),o=f.length;r<o;r+=1)u+=2===(i=f[r].split("-")).length?"-1"!==i[0].indexOf("dark")?e.getLightColor(n,100-parseInt(i[1],10))+c:e.getDarkColor(n,100-parseInt(i[1],10))+c:f[r]+c;return u.substring(0,u.length-1)};t.clampNumber=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:-Infinity,i=arguments.length>2&&arguments[2]!==undefined?arguments[2]:Infinity;return n<=t?t:n>=i?i:n};t.toRaphaelColor=vu;t.rgbaToHex=function(n){return"#"+("000000"+((n=n.replace("rgba(",bi).split(","))[0]<<16|n[1]<<8|n[2]).toString(16)).slice(-6)};t.gradientify=yu;t.fastTrim=function(n){for(var t=(n=n.replace(/^\s\s*/,"")).length;/\s/.test(n.charAt(t-=1)););return n.slice(0,t+1)};t.parsePointValue=e.parsePointValue;t.parseUnsafeString=ri;t.parseTooltext=pu;t.toPrecision=fi;t.hasTouch=y;t.creditLabel=er;t.CREDIT_HREF=di;t.CREDIT_STRING="FusionCharts Trial";t.regescape=function(n){return n&&n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};t.regReplaceEscape=yr;t.getImageURL=kr;t.isArray=gt;t.getCrispValue=wr;t.getCripValues=wr;t.preDefStr={colors:{B90000:"B90000",FFFFFF:"FFFFFF",AAAAAA:"AAAAAA",c000000:"000000"},BLANK:"",DATASET:"dataset",NORMALSTRING:"normal",PX:"px",INPUT:"input",LABEL:"label",BLANKSPACE:" ",COMMA:",",OBJECTBOUNDINGBOX:"objectBoundingBox",GROUPID:"groupId",EVENTARGS:"eventArgs",CIRCLE:"circle",POLYGON:"polygon",SPOKE:"spoke",RECTANGLE:"rectangle",ROLLOUT:"rollout",ROLLOVER:"rollover",DATAPLOTCLICK:"dataplotclick",defaultFontStr:"Verdana,sans",line:"line",bar:"bar",column:"column",volume:"volume",HUNDREDSTRING:"100",SEVENTYSTRING:"70",NINETYSTRING:"90",AUTOSTRING:"auto",configStr:"config",animationObjStr:"animationObj",showHoverEffectStr:"showHoverEffect",hiddenStr:"hidden",visibleStr:"visible",columnStr:"columns",barStr:"bars",barHotStr:"bar-hot",colHotStr:"col-hot",shadowStr:"shadow",dataLabelStr:"datalabel",errorBarStr:"errorBar",errorHotStr:"error-hot",errorShadowStr:"error-shadow",negativeValueStr:"negative-values",positiveValueStr:"positive-values",zeroPlaneStr:"zero-plane",categoryPlotsStr:"categoryplots",noneStr:"none",setRolloverAttrStr:"setRolloverAttr",setRolloutAttrStr:"setRolloutAttr",elementStr:"element",hotElementStr:"hotElement",strokeWidthStr:"stroke-width",strokeDashStr:"stroke-dasharray",strokeLineJoinStr:"stroke-linejoin",miterStr:"miter",visiblilityStr:"visibility",ROUND:"round",PERCENTAGESTRING:"%",pStr:"p",sStr:"s",divLineAlpha3DStr:"divLineAlpha3D",divLineAlphaStr:"divLineAlpha",altVGridColorStr:"altVGridColor",altVGridAlphaStr:"altVGridAlpha",altHGridColorStr:"altHGridColor",altHGridAlphaStr:"altHGridAlpha",PLOTFILLCOLOR_STR:"plotFillColor",UNDERSCORE:"_",gaugeFillColorStr:"gaugeFillColor",gaugeBorderColorStr:"gaugeBorderColor",NORMAL:"normal",BOLD:"bold",POINTER:"pointer",DEFAULT:"default",POSITION_MIDDLE:"middle",POSITION_START:"start",POSITION_TOP:"top",POSITION_BOTTOM:"bottom",POSITION_END:"end"};t.stubFN=function(){};t.stableSort=function(n,t){for(var r=n.length,i=0;i<r;i++)n[i].ssI=i;for(n.sort(function(n,i){var r=t(n,i);return 0===r?n.ssI-i.ssI:r}),i=0;i<r;i++)delete n[i].ssI};t.hasSVG=wt;t.CREDIT_REGEX=gi;t.isIE=ut;t.isIE11=yi;t.isIE9=vi;t.isEdge=iu;t.lineHeightFactor=1.2;t.getLinkAction=function(n,t){var i=function(n){return n};return function(e){if(!e||!t.config.clickURLOverridesPlotLinks){var h,a,v,b,y,p,w,k,d,l,g=o((n.chart||n.map||{}).unescapelinks,1),nt=this.entity||f,tt=this.entityBox||f,s=this.link,it=s;
27if(s!==f){switch(g&&(s=u.decodeURIComponent?u.decodeURIComponent(s):u.unescape(s)),-1!==(s=s.replace(/^\s+/,r).replace(/\s+$/,r)).search(/^[a-z]*\s*[\-\:]\s*/i)&&(l=(y=s.split(/\s*[\-\:]\s*/)[0].toLowerCase()).length),e&&(t.config.hotElemClicked=!0),y){case"j":case"javascript":br(s);break;case"n":s.replace(/^n\s*\-/i,"n-");u.open(i(s.slice(2)));break;case"f":-1!==(h=(s=s.replace(/^f\s*\-/i,"f-")).indexOf("-",2))?(a=s.substr(2,h-2))&&u.frames[a]?u.frames[a].location=i(s.slice(h+1)):u.open(i(s.slice(h+1)),a):u.open(i(s.slice(2)));break;case"p":h=(s=s.replace(/p\s*\-/i,"p-")).indexOf("-",2);v=s.indexOf(c,2);-1===h&&(h=1);b=i(s.slice(h+1));(d=u.open(b,s.substr(2,v-2),s.substr(v+1,h-v-1)))&&d.focus();break;case"newchart":case"newmap":switch(":"===s.charAt(l)&&(h=s.indexOf("-",l+1),k=s.substring(l+1,h),l=h),h=s.indexOf("-",l+1),p=s.substring(l+1,h).toLowerCase()){case"xmlurl":case"jsonurl":w=s.substring(h+1,s.length);break;case"xml":case"json":w=function(n,t){var i,u={chart:{}},r=t;if(n=n.toLowerCase(),r.linkeddata)for(i=0;i<r.linkeddata.length;i+=1)r.linkeddata[i].id.toLowerCase()===n&&(u=r.linkeddata[i].linkedchart||r.linkeddata[i].linkedmap);return u}(s.substring(h+1,s.length),n);p="json"}t.fireChartInstanceEvent("linkedChartInvoked",{alias:k,linkType:p.toUpperCase(),data:w,clickedEntity:nt,clickedEntityBox:tt});break;default:u.location.href=i(s)}t.fireChartInstanceEvent("linkClicked",{linkProvided:it,linkInvoked:s,linkAction:y&&y.toLowerCase()})}}}};t.setImageDisplayMode=function(n,t,i,r,u,f,e,o){var s=o.width*(r/100),h=o.height*(r/100),c=f-2*u,l=e-2*u;return nu.getAlignImage(t,i,n,s,h,f,e,u,c,l)};t.setLineHeight=ei;t.parsexAxisStyles=function(n,t,i,u,f){var h,s=ot(n.labelbordercolor,t.bordercolor,i.labelbordercolor,r),c=d(n.labelbgcolor,t.bgcolor,i.labelbgcolor),l=o(n.labelborderthickness,t.borderthickness,i.labelborderthickness,1),a=o(i.usedataplotcolorforlabels,0)&&f||u.color;return s=s?e.convertColor(s,o(n.labelborderalpha,t.borderalpha,i.labelborderalpha,n.labelalpha,t.alpha,i.labelalpha,100)):r,(h={fontFamily:d(n.labelfont,t.font,i.labelfont,u.fontFamily),fontSize:d(n.labelfontsize,t.fontsize,i.labelfontsize,parseInt(u.fontSize,10))+ki,color:e.convertColor(d(n.labelfontcolor,t.fontcolor,i.labelfontcolor,a),o(n.labelfontalpha,t.fontalpha,i.labelfontalpha,n.labelalpha,t.alpha,i.labelalpha,100)),fontWeight:o(n.labelfontbold,t.fontbold,i.labelfontbold)?"bold":"normal",fontStyle:o(n.labelfontitalic,t.fontitalic,i.labelfontitalic)?"italic":"normal",border:s||c?l+"px solid":r,borderColor:s,borderThickness:l,borderPadding:o(n.labelborderpadding,t.borderpadding,i.labelborderpadding,2),borderRadius:o(n.labelborderradius,t.borderradiu
27s,i.labelborderradius,0),backgroundColor:c?e.convertColor(c,o(n.labelbgalpha,t.bgalpha,i.labelbgalpha,n.labelalpha,t.alpha,i.labelalpha,100)):r,borderDash:o(n.labelborderdashed,t.borderdashed,i.labelborderdashed,0)?dr(o(n.labelborderdashlen,t.borderdashlen,i.labelborderdashlen,4),o(n.labelborderdashgap,t.borderdashgap,i.labelborderdashgap,2)):pt}).lineHeight=ei(h),h};t.supportedStyle={font:"font",fontFamily:"font-family","font-family":"font-family",fontWeight:"font-weight","font-weight":"font-weight",fontSize:"font-size","font-size":"font-size",lineHeight:"line-height","line-height":"line-height",textDecoration:"text-decoration","text-decoration":"text-decoration",color:"color",whiteSpace:"white-space","white-space":"white-space",padding:"padding",margin:"margin",background:"background",backgroundColor:"background-color","background-color":"background-color",backgroundImage:"background-image","background-image":"background-image",backgroundPosition:"background-position","background-position":"background-position",backgroundPositionLeft:"background-position-left","background-position-left":"background-position-left",backgroundPositionTop:"background-position-top","background-position-top":"background-position-top",backgroundRepeat:"background-repeat","background-repeat":"background-repeat",border:"border",borderColor:"border-color","border-color":"border-color",borderStyle:"border-style","border-style":"border-style",borderThickness:"border-thickness","border-thickness":"border-thickness",borderTop:"border-top","border-top":"border-top",borderTopColor:"border-top-color","border-top-color":"border-top-color",borderTopStyle:"border-top-style","border-top-style":"border-top-style",borderTopThickness:"border-top-thickness","border-top-thickness":"border-top-thickness",borderRight:"border-right","border-right":"border-right",borderRightColor:"border-right-color","border-right-color":"border-right-color",borderRightStyle:"border-right-style","border-right-style":"border-right-style",borderRightThickness:"border-right-thickness","border-right-thickness":"border-right-thickness",borderBottom:"border-bottom","border-bottom":"border-bottom",borderBottomColor:"border-bottom-color","border-bottom-color":"border-bottom-color",borderBottomStyle:"border-bottom-style","border-bottom-style":"border-bottom-style",borderBottomThickness:"border-bottom-thickness","border-bottom-thickness":"border-bottom-thickness",borderLeft:"border-left","border-left":"border-left",borderLeftColor:"border-left-color","border-left-color":"border-left-color",borderLeftStyle:"border-left-style","border-left-Style":"border-left-style",borderLeftThickness:"border-left-thickness","border-left-thickness":"border-left-thickness"};t.getAxisLimits=wu;t.getDashStyle=dr;t.chartAPI=void 0;t.createDialog=bu;t.componentDispose=function gr(){var e,n,i,s,r,h,t,c,l,a,o,f;if(this&&this!==u){if(this.disposing=!0,e=this.components)for(i in e)if((n=e[i])instanceof Array)for(s=n.length,r=0;r<s;r++)(f=n[r])&&!this.disposing&&(f.dispose?f.dispose():gr.call(f));else n&&!n.disposing&&(n.dispose?n.dispose():gr.call(n));for(c in h=this.graphics)if(t=h[c])if(t.hide)t.hide(),t.followers&&t.followers[0]&&(o=t.followers[0].el)&&o.hide&&o.hide();else for(l in t)(a=t[l]).hide&&a.hide();for(i in this)delete this[i]}};t.executeJS=ui;t.pseudoEval=br;t.validhexcolor=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;t.appliedCSS=["fontFamily","fontSize","fontWeight","fontStyle"];t.getContainerBackgroundColor=function(n){var r=n.options,t=r.containerBackgroundColor,i=r.containerBackgroundOpacity;return lr(n.jsVars.transparent)?i=n.jsVars.transparent?0:1:(i=parseFloat(i))<0?i=0:i>1&&(i=1),t||(t="#ffffff"),ut&&!wt?i?t:"transparent":(t=t.replace(/^#?([a-f0-9]+)/gi,"$1"),(t=e.HEXtoRGB(t))[3]=i.toString(),"rgba("+t.join(",")+")")};t.capitalizeString=function(n,t){return n?n.replace(t?/(^|\s)([a-z])/g:/(^|\s)([a-z])/,function(n,t,i){return t+i.toUpperCase()}):n};t.TRACKER_FILL=eu;t.chartPaletteStr={chart2D:{bgColor:"bgColor",bgAlpha:"bgAlpha",bgAngle:"bgAngle",bgRatio:"bgRatio",canvasBgColor:"canvasBgColor",canvasBaseColor:"canvasBaseColor",divLineColor:"divLineColor",legendBgC
27olor:"legendBgColor",legendBorderColor:"legendBorderColor",toolTipbgColor:"toolTipbgColor",toolTipBorderColor:"toolTipBorderColor",baseFontColor:"baseFontColor",anchorBgColor:"anchorBgColor"},chart3D:{bgColor:"bgColor3D",bgAlpha:"bgAlpha3D",bgAngle:"bgAngle3D",bgRatio:"bgRatio3D",canvasBgColor:"canvasBgColor3D",canvasBaseColor:"canvasBaseColor3D",divLineColor:"divLineColor3D",divLineAlpha:"divLineAlpha3D",legendBgColor:"legendBgColor3D",legendBorderColor:"legendBorderColor3D",toolTipbgColor:"toolTipbgColor3D",toolTipBorderColor:"toolTipBorderColor3D",baseFontColor:"baseFontColor3D",anchorBgColor:"anchorBgColor3D"}};t.DASH_DEF=pt;t.attrTypeNum=1;t.canvasBGAlphaStr="canvasBgAlpha";t.attrTypeBool=2;t.pInt=function(n,t){return parseInt(n,t||10)};t.defined=lr;t.canvasBorderColorStr="canvasBorderColor";t.attribDefs=g.attribDefs;t.parseConfiguration=g.parseConfiguration;t.setAttribDefs=g.setAttribDefs;t.hasAttribDefs=g.hasAttribDefs;t.crispBound=function(){var l=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,a=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0,e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:0,o=arguments.length>3&&arguments[3]!==undefined?arguments[3]:0,n=arguments.length>4&&arguments[4]!==undefined?arguments[4]:0,i=arguments.length>5&&arguments[5]!==undefined?arguments[5]:{},v=arguments[6];if(o<1||e<1)return{x:l,y:a,width:e,height:o,"stroke-width":n};(n>=e||n>=o)&&(n=Math.floor(Math.min(e,o)/2)||n);var t=l,r=a,s=l+e,u=n/2,c=n%2,f=a+o;return r=i.top?Math.round(r)+u-h:c?Math.floor(r)+.5-h:Math.round(r)-h,f=i.bottom?Math.round(f)-u-h:v&&i.top?Math.round(f)+u-h:c?Math.floor(f)+.5-h:Math.round(f)-h,t=i.left?Math.round(t)+u-h:v&&i.right?Math.round(t)-u-h:c?Math.floor(t)+.5-h:Math.round(t)-h,s=i.right?Math.round(s)-u-h:c?Math.floor(s)+.5-h:Math.round(s)-h,{x:t,y:r,width:Math.abs(s-t),height:Math.abs(f-r),"stroke-width":n}};t.defaultGaugePaletteOptions=hu;t.MathExt=dt;t.xssEncode=function(n){return null===n||void 0===n||"function"!=typeof n.toString?"":n=n.toString().replace(/&/g,"&").replace(/\'/g,"'").replace(/\"/g,""").replace(/</g,"<").replace(/>/g,">")};t.animHelperFN={getTimeByValue:function(n,t,i){var r=(n.end-n.start)/(t.endPx-t.startPx);return{start:n.start+r*(i.startPx-t.startPx),end:n.start+r*(i.endPx-t.startPx)}},animByWeight:function(n,t,i,r,u){return{start:n/--t*i*(r=r||1)+(u=u||0),end:n/t*i*r+i+u}}};t.mathAbs=bt;t.mathRound=ft;t.NORMAL="normal";t.BOLD="bold";t.HAND="pointer";t.POINTER="pointer";t.BLANK=r;t.ROUND="round";t.configStr="config";t.animationObjStr="animationObj";t.COMMA=c;t.TILE="tile";t.FILL="fill";t.FIT="fit";t.MOUSEOUT="fc-mouseout";t.MOUSEMOVE="fc-mousemove";t.touchEnabled=l;t.VISIBLE="visible";t.BGRATIOSTRING=void 0;t.dropHash=tr;t.componentFactory=function(n,t,i){var s=arguments.length>3&&arguments[3]!==undefined?arguments[3]:1,e=arguments[4];if(n&&t&&i){for(var o,u=n.getChildren(i)||[],r=void 0,f=void 0,r=0;r<s;r+=1)u&&u[r]&&!u[r].getState("removed")?f=u[r]:(f=new t,n.attachChild(f,i)),e&&e.length>r&&f.configure&&f.configure(e[r]);if(r<(o=u&&u.length))for(;r<o;r+=1)u[r]&&u[r].remove&&u[r].remove()}};t.datasetFactory=function(n,t,i){var o=arguments.length>3&&arguments[3]!==undefined?arguments[3]:1,e=arguments[4],h=arguments.length>5&&arguments[5]!==undefined?arguments[5]:[];if(n&&t&&i){for(var s,u=n.getChildren(i)||[],r=void 0,f=void 0,r=0;r<o;r+=1)u&&u[r]&&!u[r].getState("removed")?f=u[r]:(f=new t,n.attachChild(f,i)),f.config._childIndex=r,f.setState("_total",o),f.setJSONIndex&&f.setJSONIndex(h[r]||r),e&&e.length>r&&f.configure&&f.configure(e[r]);if(r<(s=u&&u.length))for(;r<s;r+=1)u[r]&&u[r].remove&&u[r].remove()}};t.trimString=function(n){for(var t=(n=n.replace(/^\s\s*/,"")).length;/\s/.test(n.charAt(t-=1)););return n.slice(0,t+1)};t.PROJECT_VERSION="3.13.4";t.LINE_HEIGHT_FACTOR=ai;t.safeMax=hr;t.safeMin=cr;t.normalizeAngle=function(n,t){var i=t?360:cu;return(n=(n||0)%i)<0?i+n:n};t.extent=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],t=arguments[1],i=hr(n,t);return[cr(n,t),i]};t.getSuggestiveRotation=function(){var n,t,i,r;return n=arguments[0],1===arguments.length?(t=n.angle,i=n.x,r=n.y):(t=n,i=arguments[1],r=arguments[2]),ou+(t=t||0)+c+i+c+r};t.isXSSSafe=function(n,t){return(!t||null===fu.exec(n))&&null===uu.exec(n)};t.normalizeCSSDimension=function(n,t,i){var u=void 0===n?i.offsetWidth||parseFloat(i.style.width):n,f=void 0===t?i.offsetHeight||parseFloat(i.style.height):t,r={},o=i.style,e=void 0;if(o.width=u=u.toString?u.toString():"0",o.height=f=f.toString?f.toString():"0",(r.widthIsRelative=u.match(/^\s*\d*\.?\d*\%\s*$/)&&!u.match(/^\s*0\%\s*$/))&&0===i.offsetWidth)for(e=i;e=e.offsetParent;)if(e.offsetWidth>0){u=(e.offsetWidth*parseFloat(u.match(/\d*/)[0])/100).toString();break}if((r.heightIsRelative=f.match(/^\s*\d*\.?\d*\%\s*$/)&&!f.match(/^\s*0\%\s*$/))&&i.offsetHeight<=20)for(e=i;e=e.offsetParent;)if(e.offsetHeight>0){f=(e.offsetHeight*parseFloat(f.match(/\d*/)[0])/100).toString();break}return r.width=u.replace?u.replace(/^\s*(\d*\.?\d*)\s*$/gi,"$1px"):u,r.height=f.replace?f.replace(/^\s*(\d*\.?\d*)\s*$/gi,"$1px"):f,o.width=r.width,o.height=r.height,r.pixelWidth=r.widthIsRelative?i.offsetWidth:parseInt(r.width,10)||0,r.pixelHeight=r.heightIsRelative?i.offsetHeight:parseInt(r.height,10)||0,r};t.domInsertModes={REPLACE:"replace",APPEND:"append",PREPEND:"prepend"};t._manageInteractiveSpace=function(){var i,h,c,l,a,v,r,n=this.config,u=this.getChildren(),f=u.xAxis[0],e=u.yAxis[0],y=u.canvas&&u.canvas[0],t=y.config,o=t.canvasBorderWidth,p=t.canvasPaddingTop,d=t.canvasPaddingBottom,s=t.canvasPadding||0,w=t.canvasPaddingLeft,g=t.canvasPaddingRight,b=n.xAxisSpaceAllocation,k=n.yAxisSpaceAllocation[0].spaceTaken;l=n.availableHeight;h=n.xAxisSpaceAllocation=f.placeAxis(l+b.bottom);a=n.availableWidth;c=n.yAxisSpaceAllocation[0].spaceTaken=e.placeAxis(a+k.left);i=h.bottom-b.bottom;r=c.left-k.left;i&&this._allocateSpace({bottom:i});r&&this._allocateSpace({left:r});f&&f.setAxisDimention({x:n.canvasLeft+Math.max(w,s),y:n.canvasBottom+o,opposite:n.canvasTop-o,axisLength:n.canvasWidth-Math.max(w,s)-Math.max(g,s)});v=n.canvasLeft-o;
27e&&e.setAxisDimention({x:v,y:n.canvasTop+p,axisLength:n.canvasHeight-p-d});(i||r)&&y.asyncDraw()};t.convertColor=e.convertColor;t.getDarkColor=e.getDarkColor;t.getLightColor=e.getLightColor;t.mapSymbolName=e.mapSymbolName;t.getColumnColor=e.getColumnColor;t.getPointColor=e.getPointColor;t.getAngle=e.getAngle;t.parseColor=e.parseColor;t.getValidColor=e.getValidColor;t.RGBtoHex=e.RGBtoHex;t.rawRGBtoHEX=e.rawRGBtoHEX;t.HEXtoRGB=e.HEXtoRGB;t.getFirstColor=e.getFirstColor;t.getFirstAlpha=e.getFirstAlpha;t.isIpad=pi;t.DEFAULT_FT_FONT=ru},function(n,t){"use strict";t.__esModule=!0;var r,i=1,e=2,u=void 0,f={},o=Math.max;t.attribDefs=r={setBorderWidth:{type:i,pAttr:"plotborderthickness"},plotborderthickness:{type:i,pAttr:"plotborderthickness"},showBorderEffect:{parser:function(){var n=arguments[1];return 1==+n.showplotborder&&.1===n.plotborderthickness?1:0}},alphaanimation:{type:i},showplotborder:{type:i,pAttr:"showplotborder"},zeroplanethickness:{type:i},showzeroplaneontop:{type:i},stickytracking:{type:i},usemessagelog:{type:i},showtooltip:{type:i,pAttr:"showtooltip"},seriesnameintooltip:{type:i},plothovereffect:{type:i,attr:"anchorhovereffect"},anchorhovereffect:{type:i,attr:"showhovereffect"},showhovereffect:{type:i},linethickness:{type:i,pAttr:"linethickness"},dashed:{type:i,pAttr:"linedashed"},linedashed:{type:i,attr:"plotborderdashed"},plotborderdashed:{type:i,pAttr:"plotborderdashed"},linedashlen:{type:i,pAttr:"linedashlen"},linedashgap:{type:i,pAttr:"linedashgap"},anchoralpha:{pAttr:"anchoralpha"},anchorsides:{type:i,pAttr:"anchorsides"},anchorradius:{type:i,pAttr:"anchorradius"},anchorbgalpha:{pAttr:"anchorbgalpha"},anchorbgcolor:{pAttr:"anchorbgcolor"},anchorbordercolor:{pAttr:"anchorbordercolor"},anchorstartangle:{type:i,pAttr:"anchorstartangle"},anchorimageurl:{pAttr:"anchorimageurl"},anchorimagescale:{type:i,pAttr:"anchorimagescale"},anchorimagealpha:{pAttr:"anchorimagealpha"},anchorimagepadding:{type:i,pAttr:"anchorimagepadding"},anchorborderthickness:{type:i,pAttr:"anchorborderthickness"},anchorshadow:{type:i,pAttr:"anchorshadow"},valuepadding:{type:i,pAttr:"valuepadding"},valueposition:{pAttr:"valueposition"},plotfillangle:{type:i,pAttr:"plotfillangle"},useplotgradientcolor:{type:i},rotatevalues:{type:i,pAttr:"rotatevalues"},includeinlegend:{type:i},connectnulldata:{type:i},plotfillalpha:{pAttr:"plotfillalpha"},alpha:{pAttr:"linealpha"},linealpha:{pAttr:"plotfillalpha"},showvalues:{type:i,pAttr:"showvalues"},showpercentvalues:{type:i,parser:function(n){return n.isstacked&&n.stack100percent?1:0}},showpercentintooltip:{type:i,parser:function(n){return n.isstacked&&n.stack100percent?1:0}},stack100percent:{type:i,attr:"usepercentdistribution"},drawfullareaborder:{type:i},use3dlineshift:{type:i},parentyaxis:{type:i},radarborderthickness:{type:i},radarborderradius:{type:i},gaugeoriginx:{type:i},hasgaugeoriginx:{attr:"gaugeoriginx"},gaugeoriginy:{type:i},hasgaugeoriginy:{attr:"gaugeoriginy"},gaugeradius:{type:i},hasgaugeradius:{attr:"gaugeradius"},showgaugeborder:{type:i},setAdaptiveMin:{type:i},adjustDiv:{type:i},axisNameWidth:{type:i},rotateAxisName:{type:i},useEllipsesWhenOverflow:{type:i},showZeroPlane:{type:i},zeroPlaneAlpha:{type:i},showZeroPlaneValue:{type:i},zeroPlaneOnTop:{type:i},trendlineThickness:{type:i},showTrendlinesOnTop:{type:i},trendlinesAreDashed:{type:i},trendlinesDashLen:{type:i},trendlinesDashGap:{type:i},showTrendlines:{type:i},showTrendlineLabels:{type:i},showLabels:{type:i},rotateLabels:{type:i},slantLabel:{type:i},showAxisValues:{type:i},showTooltip:{type:i},maxLabelHeight:{type:i},useroundedges:{type:i,pAttr:"useroundedges"},placevaluesinside:{type:i},plotpaddingpercent:{type:i},use3dlighting:{type:i,pAttr:"use3dlighting"},usedataplotcolorforlabels:{type:i},plotspacepercent:{type:i,parser:function(n){return o(n.plotspacepercent%100,0)}},ratio:{pAttr:"plotfillratio"},base:{type:i},showMinorDivLineValues:{type:i},numMinorDivLines:{type:i},majorTMNumber:{type:i},majorTMHeight:{type:i},showTickMarks:{type:i},majorTMThickness:{type:i},adjustTM:{type:e},minorTMNumber:{type:i},minorTMThickness:{type:i},tickMarkDistance:{type:i},placeTicksInside:{type:i},placeValuesInside:{type:i},axisValuePadding:{type:i},gridLineWidth:{type:i},showRadarBorder:{type:i},radarBorderThickness:{type:i},maxcolwidth:{type:i,parser:function(n){return Math.abs(n.maxcolwidth)}},maxbarheight:{type:i,parser:function(n){return Math.abs(n.maxbarheight)}},plotborderalpha:{parser:function(n,t){return t.plotborderalpha||n.plotfillalpha}},autoscale:{type:i},plotborderdashlen:{type:i,pAttr:"plotborderdashlen"},plotborderdashgap:{type:i,pAttr:"plotborderdashgap"},plotfillratio:{pAttr:"plotfillratio"},drawverticaljoins:{type:i,pAttr:"drawverticaljoins"},useforwardsteps:{type:i,pAttr:"useforwardsteps"},minimizetendency:{type:i},usepercentdistribution:{type:i},stepatmiddle:{type:i}};t.attribDefs=r;t.parseConfiguration=function(n,o,s,h,c,l){var a,v,y,p=1;for(a in t.attribDefs=r=r||f,h=h||f,l=l||f,c=c||{},n)if(!h[a]&&((v=n[a])||!1===v||0===v))switch((y=l[a]||r[a])&&y.type){case i:v=Number(v);isNaN(v)||(o[a]=v);break;case e:v=Number(v);isNaN(v)||(o[a]=!!v);break;default:o[a]=v}if(s)for(a in o)o[a]===u&&(y=l[a]||r[a])&&y.pAttr&&(o[a]=s[y.pAttr]);for(;p;)for(a in p=0,o)o[a]===u&&(y=l[a]||r[a])&&(y.attr?(v=o[y.attr])!==u&&(o[a]=v,p+=1):y.parser&&(v=y.parser(o,s,c))!==u&&(o[a]=v,p+=1))};t.setAttribDefs=function(n,i){var u;for(var f in t.attribDefs=r=r||{},"string"==typeof n?(u={})[n]=i:u=n,u)r[f]||(r[f]=u[f])};t.hasAttribDefs=function(n){return!!r[n]}},function(n,t,i){"use strict";t.__esModule=!0;var o,c=i(128),h=(o=c)&&o.__esModule?o:{"default":o},f,s,e,l=" ",r=window,u=r.document,a="ontouchstart"in r,v=((e={}).pointerdrag={start:["mousedown"],end:["mouseup"],onStart:["mousemove"],postHandlers:{},preHandlers:{}},e.pointerhover={start:["mouseover"],end:["mouseout"]},e.click={start:["click"]},e.escape={start:["keydown"],preHandlers:{start:function(n){return!(!(n=n||r.event).keyCode||27!==n.keyCode)}}},a&&((s=e.pointerdrag).start.push("touchstart"),s.end.push("touchend"),s.onStart.push("touchmove"),s.postHandlers.onStart=function(n){n.preventDefault?n.preventDefault():n.returnValue=!1}),e);f=h["default"]({},v);t["default"]=new function(){var n={},i={},s=u.addEventListener?function(n,t,i){n.addEventListener(t,i,!1)}:function(n,t,i){n.attachEvent("on"+t,i)},e=u.removeEventListener?function(n,t,i){n.removeEventListener(t,i,!1)}:function(n,t,i){n.detachEvent("on"+t,i)},t=function(n,t,i,r){return s(n,t,i[r=r||"closure"]),function(){e(n,t,i[r])}},c=function(n,i,u){var s,h,o,e,c=[];if(e=f[i],u.start=function(i){var o=e.onStart,s=e.end,h=[],c=[],f=o&&o.length||0;for(i=i||r.event;f--;)h.push(t(n,o[f],u,"onStart"));for(f=s&&s.length||0;f--;)c.push(t(n,s[f],u,"end"));u.startUn=u.startUn?u.startUn.concat(h):h;u.endUn=u.endUn?u.endUn.concat(c):c;u.state="start";u.closure(i)},u.onStart=function(n){n=n||r.event;u.state="on";u.gDef&&u.gDef.preHandlers&&"function"==typeof u.gDef.preHandlers.onStart&&u.gDef.preHandlers.onStart(n);u.closure(n);u.gDef&&u.gDef.postHandlers&&"function"==typeof u.gDef.postHandlers.onStart&&u.gDef.postHandlers.onStart(n)},u.end=function(n){var i=u.startUn,f=u.endUn,t=i&&i.length||0;for(n=n||r.event;t--;)i[t]();for(delete u.startUn,u.startUn=[],t=f&&f.length||0;t--;)f[t]();delete u.endUn;u.endUn=[];u.state="end";u.closure(n)},e)for(o=(s=e.start).length;o--;)(h=s[o])&&c.push(t(n,h,u,"start"));return c},a=function(n,t,i){var u,o,r,s;if(s=f[t])for(r=(u=s.start).length;r--;)(o=u[r])&&e(n,o,i.start)},o=function(n){return function(t){var i,u=n.context||n.elem;t=t.originalEvent||t;
27i={data:n.data,type:n.type,state:n.state,isGesture:n.isGesture,target:t.target||t.srcElement,originalEvent:t};t=t||r.event;n.handler.call(u,i)}};return{listen:function(r,e,s,h,a){var p,v,y,b,d,tt=this,g="string"==typeof e?e.split(l):e,w=g.length,k=[],nt=function(n,t,i){k.push(function(){tt.unlisten(n,t,i)})};if(r.ownerDocument&&r.ownerDocument===u)for(;w--;)v=g[w],b=Boolean(f[v]),(y={handler:d="function"==typeof s?s:s[w],elem:r,type:v,isGesture:b,gDef:b?f[v]:null,data:h,context:a,start:[],end:[],links:{prev:null,next:null}}).closure=o(y),b?((p=i[v])||(p=i[v]=[]),p.push(y),c(r,v,y)):((p=n[v])||(p=n[v]=[]),p.push(y),t(r,v,y)),nt(r,v,d);else for(;w--;)v=g[w],(y={handler:d="function"==typeof s?s:s[w],elem:r,type:v,isGesture:b,data:h,context:a,start:[],end:[],links:{prev:null,next:null}}).closure=o(y),(p=n[v])||(p=n[v]=[]),p.push(y),t(r,v,y),nt(r,v,d);return{unlisten:function(){for(var n=k.length;n--;)k[n]();k.length=0;k=null}}},unlisten:function(t,r,u){var o,s,h,c=!1;if(Boolean(f[r]))for(s=(o=i[r])&&o.length||0;s--;)(h=o[s]).handler===u&&h.elem===t&&(a(t,r,h),o.splice(s,1),c=!0);else for(s=(o=n[r])&&o.length||0;s--;)(h=o[s]).handler===u&&h.elem===t&&(e(t,r,h.closure),o.splice(s,1),c=!0);return c},fire:function(t,i,r,f){var o,s,c,e;if(t.ownerDocument&&t.ownerDocument===u)u.createEvent?((e=u.createEvent("HTMLEvents")).initEvent(i,!0,!0),r&&r.originalEvent&&(r.originalEvent=e),"function"==typeof t[i]&&t[i](),t.dispatchEvent(e),f&&!e.returnValue&&f(e)):((e=u.createEventObject()).eventType=i,r&&(r.originalEvent?r.originalEvent=e:h["default"](e,r)),"function"==typeof t[i]&&t[i](),t.fireEvent("on"+i,e),f&&!e.returnValue&&f(e));else for(s=(o=n[i])&&o.length||0;s--;)(c=o[s]).elem===t&&c.closure(r)}}}},function(n,t){"use strict";var i;t.__esModule=!0;i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n,t,u,f){var e;if((void 0===n?"undefined":i(n))!==r&&(void 0===t?"undefined":i(t))!==r)return null;if((void 0===t?"undefined":i(t))!==r||null===t)return n;if(void 0===n&&(n=t instanceof Array?[]:{}),f)for(e in t)n[e]=t[e];else o(n,t,u);return n};var s="__blank",h="â",c="",r="object",u=function(n,t){for(var i=t.length;i--;)if(n===t[i])return i;return-1},e=function(n){var t,i,r;for(t=0,i=n.length,r=new Array(i);t<i;t++)r[t]=n[t];return r},o=function f(n,t,e,o,s){var l,h,c,v,a;if(s?(o.push(n),s.push(t)):(o=[n],s=[t]),t instanceof Array)for(l=0;l<t.length;l+=1){try{h=n[l];c=t[l]}catch(y){continue}(void 0===c?"undefined":i(c))!==r?e&&void 0===c||(n[l]=c):(null!==h&&(void 0===h?"undefined":i(h))===r||(h=n[l]=c instanceof Array?[]:{}),-1!==(a=u(c,s))?h=n[l]=o[a]:f(h,c,e,o,s))}else for(l in t){try{h=n[l];c=t[l]}catch(y){continue}null!==c&&(void 0===c?"undefined":i(c))===r?"[object Object]"===(v=Object.prototype.toString.call(c))?(null!==h&&(void 0===h?"undefined":i(h))===r||(h=n[l]={}),-1!==(a=u(c,s))?h=n[l]=o[a]:f(h,c,e,o,s)):"[object Array]"===v?(null!==h&&h instanceof Array||(h=n[l]=[]),-1!==(a=u(c,s))?h=n[l]=o[a]:f(h,c,e,o,s)):n[l]=c:n[l]=c}return n};t.merge=o;t.getArrayCopy=e;t.dashedAttr2CSSMap={"font-family":"fontFamily","font-size":"fontSize","text-anchor":"textAnchor","font-weight":"fontWeight","letter-spacing":"letterSpacing","font-style":"fontStyle"};t.loadRefImage=function(n,t){var r=t.src,i=n._.RefImg;i||(i=n._.RefImg=new Image);t.src!==undefined&&(i.src=r,n._.RefImg=i)};t.showRecursively=function(n){for(var r={},t=n,i=r;t;)t.node&&t.node.style&&"none"===t.node.style.display&&(t.show(),i._doHide=!0),t=t.parent,i.parent={},i=i.parent;return function(){for(var t=n,i=r;t;)i._doHide&&t.hide(),t=t.parent,i=i.parent}};t.cacher=function(n,t,i,r,u,f,o){var l=f||{},a=0;return l.__start===undefined&&(l.__start=null),l.__end===undefined&&(l.__end=null),u=u||1e3,r=r||"item",function(f){var v,w,p,y=o?f:e(arguments).join(h);return(v=l[y=y===c?s:y])?v.__prev&&(l[v.__prev].__next=v.__next,v.__next?v.__next.__prev=v.__prev:l.__end=v.__prev):(v=l[y]={},n&&(l[y][r]=i?i(n.apply(t,arguments)):n.apply(t,arguments)),null===l.__end&&(l.__end=y),++a>u&&l.__end&&(w=l[l.__end],l[w.__prev].__next=null,delete l[l.__end],l.__end=w.__prev,a--)),(p=l.__start)!==v&&(v.__prev=null,v.__next=p,p&&(p.__prev=y),l.__start=v),l[y][r]}}},function(n,t){"use strict";function v(n,t){return n=n||!1===n||0===n?Number(n):NaN,isNaN(n)?null:t?g(n):n}function y(n,t){return(n=(n=n.split(i)[t||0]).replace(nt,r))==r&&(n=f),n.replace(c,a)}function p(n){return n=parseInt(n,10),(isNaN(n)||n>100||n<0)&&(n=100),n}function w(n,t){return n=Number(n),n=isNaN(n)?100:n,t!==s&&(n=n*t/100),n%101}function u(n,t){t=t<0||t>100?100:t;t/=100;n=n.replace(e,r);var i=parseInt(n,16),u=Math.floor(i/65536),o=Math.floor((i-65536*u)/256);return(f+(u*t<<16|o*t<<8|(i-65536*u-256*o)*t).toString(16)).slice(-6)}function o(n,t){t=t<0||t>100?100:t;t/=100;n=n.replace(e,r);var i=parseInt(n,16),u=Math.floor(i/65536),o=Math.floor((i-65536*u)/256);return(f+(256-(256-u)*t<<16|256-(256-o)*t<<8|256-(256-(i-65536*u-256*o))*t).toString(16)).slice(-6)}function b(n){return n.replace(e,r).replace(c,a)}
27t.__esModule=!0;var s,k,h={circle:"circle",triangle:"triangle",square:"square",diamond:"diamond",poly:"poly_",spoke:"spoke_"},f="000000",d="FFFFFF",g=Math.abs,nt=/\s+/g,c=/^#?/,tt=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i,i=",",l=/^rgba/i,e=/[#\s]/gi,r="",a="#";t.convertColor=function(n,t,u){var f,o,s=0,h=0,c=0;if(u&&u.match(l)&&(s=(o=u.split(i))[0].slice(o[0].indexOf("(")+1),h=o[1],c=o[2],t||0===t||(t=parseInt(100*o[3].slice(0,o[3].indexOf(")")),10))),n)if(n.match(l))s=(o=n.split(i))[0].slice(o[0].indexOf("(")+1),h=o[1],c=o[2];else{switch((f=n.replace(e,r).split(i)[0]).length){case 3:f=f.charAt(0)+f.charAt(0)+f.charAt(1)+f.charAt(1)+f.charAt(2)+f.charAt(2);break;case 6:break;default:f=(f+d).slice(0,6)}s=parseInt(f.slice(0,2),16)||0;h=parseInt(f.slice(2,4),16)||0;c=parseInt(f.slice(4,6),16)||0}return t||0===t||(t=100),"string"==typeof t&&(t=t.split(i)[0]),t=parseInt(t,10)/100,"rgba("+s+i+h+i+c+i+t+")"};t.getDarkColor=u;t.getLightColor=o;t.mapSymbolName=function(n,t){var i=h.circle;return(n=v(n))>=3&&(i=(t?h.spoke:h.poly)+n),i};t.getColumnColor=function(n,t,f,e,h,c,l,a,v){var b,k,d,g,y,p,nt;return k=n.split(i),d=t.split(i),g=c.split(i),nt=l.split(i),n=n.replace(/\s/g,r).replace(/\,$/,r),v?b={FCcolor:{color:k[0],alpha:d[0]}}:h?(y=k[0],p=d[0],b={FCcolor:{color:u(y,75)+i+o(y,10)+i+u(y,90)+i+o(y,55)+i+u(y,80),alpha:p+i+p+i+p+i+p+i+p,ratio:"0,11,14,57,18",angle:a?"90":"0"}},g=[u(y,70)]):b={FCcolor:{color:n,alpha:t=function(n,t,r){var f,u=n.split(i);for(r!==s&&(r=Number(r.split(i)[0])),r=isNaN(r)?s:r,u[0]=w(u[0],r),f=1;f<t;f+=1)u[f]=u[0]*w(u[f],r)/100;return u.join(i)}(t,k.length),ratio:f,angle:a?-e:e}},[b,{FCcolor:{color:g[0],alpha:nt[0]}}]};t.getPointColor=function(n,t){var r,f;return n=y(n),t=p(t),r=o(n,70),f=u(n,50),{FCcolor:{gradientUnits:"objectBoundingBox",cx:.4,cy:.4,r:"100%",color:r+i+f,alpha:t+i+t,ratio:k,radialGradient:!0}}};t.getAngle=function(n,t,i){var r=180*Math.atan(t/n)/Math.PI;return 2==i?r=180-r:3==i?r+=180:4==i&&(r=360-r),r};t.parseColor=b;t.getValidColor=function(n){return tt.test(b(n))&&n};t.RGBtoHex=function(n){return(f+(n[0]<<16|n[1]<<8|n[2]).toString(16)).slice(-6)};t.rawRGBtoHEX=function(n){var t;return t=n.match(/[\d+]+/g).splice(0,3),(f+(t[0]<<16|t[1]<<8|t[2]).toString(16)).slice(-6)};t.HEXtoRGB=function(n){var t=parseInt(n,16),i=Math.floor(t/65536),r=Math.floor((t-65536*i)/256);return[i,r,Math.floor(t-65536*i-256*r)]};t.parsePointValue=v;t.getFirstColor=y;t.getFirstAlpha=p},function(n,t){"use strict";function i(n,t,i,r,u,f,e){var o={};switch(t){case"top":o.y=n;break;case"bottom":o.y=e-u-n;break;case"middle":o.y=(e-u)/2}switch(i){case"left":o.x=n;break;case"right":o.x=f-r-n;break;case"middle":o.x=(f-r)/2}return o}t.__esModule=!0;t.getAlignImage=function(n,t,r,u,f,e,o,s,h,c){var v,y,p,a,l={};switch(r){case"center":l.width=u;l.height=f;l.y=o/2-f/2;l.x=e/2-u/2;break;case"stretch":l.width=e-2*s;l.height=o-2*s;l.y=s;l.x=s;break;case"tile":l.width=u;l.height=f;l.tileInfo={};l.tileInfo.xCount=y=Math.ceil(h/u);l.tileInfo.yCount=p=Math.ceil(c/f);a=i(s,n,t,u*y,f*p,e,o);l.y=a.y;l.x=a.x;break;case"fit":v=u/f>h/c?h/u:c/f;l.width=u*v;l.height=f*v;a=i(s,n,t,l.width,l.height,e,o);l.y=a.y;l.x=a.x;break;case"fill":v=u/f>h/c?c/f:h/u;l.width=u*v;l.height=f*v;a=i(s,n,t,l.width,l.height,e,o);l.y=a.y;l.x=a.x;break;default:a=i(s,n,t,u,f,e,o);l.width=u;l.height=f;l.y=a.y;l.x=a.x}return l}},function(n,t){"use strict";t.__esModule=!0;var u={},s={},l=function(n,t,i,r){try{n[0].call(t,i,r||{})}catch(u){setTimeout(function(){throw u;},0)}},e=function(n,t,i){var u,r=0;if(n instanceof Array&&!t.cancelled)for(;r<n.length;r+=1)if(!0!==n[r].removed){if(n[r][1]!==t.sender&&void 0!==n[r][1]||(u=n[r][1]===t.sender?t.sender:s,l(n[r],u,t,i),!0===t.detached&&(n.splice(r,1),r-=1,t.detached=!1)),!0===t.cancelled)break}else n.splice(r,1),r-=1},a=function(){this.originalEvent&&this.originalEvent.stopPropagation&&this.originalEvent.stopPropagation.call&&this.originalEvent.stopPropagation()},v=function(){this.cancelled=!0;this.originalEvent&&this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation.call?this.originalEvent.stopImmediatePropagation():this.originalEvent&&this.originalEvent.stopPropagation&&this.originalEvent.stopPropagation.call&&this.originalEvent.stopPropagation()},y=function(){return!1==(this.detached=!0)},p=function(){this.defaultPrevented=!0;this.originalEvent&&this.originalEvent.preventDefault&&this.originalEvent.preventDefault.call&&this.originalEvent.preventDefault()},i={},w=0,o=function(n,t,u,f,o,s){var h,b,k,c,l;if(!t||!t.disposed)return n=n.toLowerCase(),b=r(n,t),k=r("*",t),c=i[n],l=i["*"],(b&&b.length||k&&k.length||c&&c.length||l&&l.length)&&(h={type:n,eventType:n,eventId:w+=1,sender:t||new Error("Orphan Event"),stopPropagation:a,stopImmediatePropagation:v,cancelled:!1,preventDefault:p,defaultPrevented:!1,originalEvent:f,detached:!1,data:u,detachHandler:y},e(l,h,u),e(c,h,u),t&&(e(r("*",t),h,u),e(r(n,t),h,u))),h&&h.defaultPrevented?s&&"function"==typeof s&&s.call(t,h,u||{}):o&&"function"==typeof o&&o.call(t,h,u||{}),!0},r=function(n,t){if("string"==typeof n)return n=n.toLowerCase(),t?t._evtListeners&&t._evtListeners[n]:i[n];f(t,"03091559","param","::removeListener",new Error("Unspecified Event Type"))},h={type:"TypeException",range:"ValueRangeException",impl:"NotImplementedException",param:"ParameterException",run:"RuntimeException",comp:"DesignTimeError",undefined:"UnspecifiedException"},c=function(n,t,i,r,u,f){var e="#"+t+" "+(n?n.id:"unknown-source")+r+" "+f+" >> ";u instanceof Error?(u.name=h[i],u.module="FusionCharts"+r,u.level=f,u.message=e+u.message,e=u.message,setTimeout(function(){throw u;},0)):e+=u;o(f,n,{id:t,nature:h[i],source:"FusionCharts"+r,message:e})},f=function(n,t,i,r,u){c(n,t,i,r,u,"Error")};t.addListener=function b(n,t,r,u){var s,o,e;if(n instanceof Array){for(s=[],o=0;o<n.length;o+=1)s.push(b(n[o],t,r));return s}if("string"==typeof n){if("function"==typeof t)return n=n.toLowerCase(),r?(r._evtListeners||(r._evtListeners={}),r._evtListeners[n]instanceof Array||(r._evtListeners[n]=[]),e=r._evtListeners[n]):(i[n]instanceof Array||(i[n]=[]),e=i[n]),!function(n,t,i){for(var r=void 0,u=n.length,r=0;r<u;r+=1)if(n[r][0]===t&&n[r][1]===i&&!n[r].removed)return!0}(e,t,r)&&(u&&u.priority?e.unshift([t,r]):e.push([t,r]),t);f(r,"03091550","param","::addListener",new Error("Invalid Event Listener"))}else f(r,"03091549","param","::addListener",new Error("Unspecified Event Type"))};t.removeListener=function k(n,t,i){var e,u;if("function"==typeof t){if(n instanceof Array)for(u=0;
27u<n.length;u+=1)k(n[u],t,i);else if((e=r(n,i))instanceof Array&&e.length)for(u=e.length-1;u>=0;u-=1)e[u][0]===t&&e[u][1]===i&&(e[u].removed=!0)}else f(i,"03091560","param","::removeListener",new Error("Invalid Event Listener"))};t.triggerEvent=o;t.getListeners=r;t.disposeEvents=function(n){var t,r=n?n._evtListeners:i;for(t in r)r[t].length&&(r[t].length=0)};t.raiseWarning=function(n,t,i,r,u){c(n,t,i,r,u,"Warning")};t.raiseError=f;t.raiseEventGroup=function(n,t,i,r,f,e,s){var c=r.id,h=n+c;u[h]?(clearTimeout(u[h]),delete u[h]):c&&h?u[h]=setTimeout(function(){o(t,r,i,f,e,s);delete u[h]},0):o(t,r,i,f,e,s)};t.setRootSender=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};s=n}},function(n,t,i){"use strict";t.__esModule=!0;t.getDepsByType=t.getDep=t.addDep=undefined;var u=i(131),r={},f={};t.addDep=function(){for(var i=this,e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length?t.forEach(function(n){var t,e,h,c,o=void 0,s=void 0;n?(o=n.extension?n.extension:n,t=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=n.getName&&n.getName()||n.name;return void 0===t&&u.raiseError({id:"Extension"},"90211","extension","Name",new Error("A FusionCharts extension must have a getName API or a name property.")),t&&t.toLowerCase()}(n),e=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=n.getType&&n.getType()||n.type;return t&&t.toLowerCase()}(n),h=n.requiresFusionCharts,e?(!r[e]&&"string"==typeof(c=e)&&(r[c]={}),(s=r[e][t]!==o)&&(r[e][t]=o)):t&&(s=f[t]!==o)&&(f[t]=o),s&&u.triggerEvent("dependencyadded",i,{name:t,type:e}),s&&h&&o(i)):u.raiseError({id:"Extension"},"90211","dependency","Extension",new Error("A FusionCharts extension must have a valid extension property."))}):u.raiseError({id:"Extension"},"90211","dependency","Extension",new Error("A FusionCharts extension must have a valid extension property."))};t.getDep=function(n,t){var u=void 0,i;if(n=n&&n.toLowerCase(),t&&r[t])return r[t][n];if(!t)for(i in r)if(r.hasOwnProperty(i)&&(u=r[i][n]))return u;return f[n]};t.getDepsByType=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return""===n?r:r[n.toLowerCase()]}},function(n,t,i){"use strict";t.__esModule=!0;t.onDataUpdateCancel=t.onDataUpdateSuccess=undefined;var r=i(131);t.onDataUpdateSuccess=function(n,t){var i=n.sender,u=i.__state;u.dataReady=void 0;u.dataAvailable=!0;!0!==t.silent?!0!==i.options.safeMode||!0!==u.rendering||i.isActive()?delete u.args:(u.updatePending=t,r.raiseWarning(i,"23091255","run","::DataHandler~update","Renderer update was postponed due to async loading.")):i.options.dataSource=t.data;r.triggerEvent("dataUpdated",i,t,void 0,t.successcallback)};t.onDataUpdateCancel=function(n,t){r.triggerEvent("dataUpdateCancelled",n.sender,t,void 0,t.failurecallback)}},function(n,t){"use strict";function i(n){delete n.sender.jsVars._reflowData;n.sender.jsVars._reflowData={};delete n.sender.jsVars._reflowClean}t.__esModule=!0;t["default"]={beforeInitialize:function(n){var i,r=n.sender,t=r.jsVars;t.fcObj=r;t.msgStore=t.msgStore||{LoadDataErrorText:"Error in loading data.",XMLLoadingText:"Retrieving data. Please wait",InvalidXMLText:"Invalid data.",ChartNoDataText:"No data to display.",ReadingDataText:"Reading data. Please wait",ChartNotSupported:"Chart type not supported.",PBarLoadingText:"",LoadingText:"Loading chart. Please wait",RenderChartErrorText:"Unable to render chart."};t.cfgStore=t.cfgStore||{};t.previousDrawCount=-1;t.drawCount=0;t._reflowData={};r.addEventListener("beforeRender",function(n){return n.detachHandler()});t.userModules instanceof Array||(i=t.userModules,t.userModules=[],"string"==typeof i&&(t.userModules=t.userModules.concat(i.split(","))))},beforeDataUpdate:i,beforeDispose:function(n){var t=n.sender.jsVars;t.smartLabel&&!t.smartLabel.disposed&&t.smartLabel.dispose();i.apply(undefined,arguments)},beforeRender:function(n){delete n.sender.jsVars.drLoadAttempted;i.apply(undefined,arguments)},dataLoadRequested:function(n){var i=n.sender,t=i.jsVars;delete t.loadError;i.ref&&i.options.showDataLoadingMessage?t.hcObj&&!t.hasNativeMessage&&t.hcObj.showLoading?t.hcObj.showMessage(t.msgStore.XMLLoadingText):i.ref.showChartMessage?i.ref.showChartMessage("XMLLoadingText"):t.stallLoad=!0:t.stallLoad=!0},dataLoadRequestCompleted:function(n){delete n.sender.jsVars.stallLoad}}},function(n,t,i){"use strict";function v(){var f,e=arguments.length>2&&arguments[2]!==undefined&&arguments[2],i=void 0,n=this.apiInstance,t=this.getChartData(u.getDepsByType("transcoder").JSON,!0,!0).data;e||r.triggerEvent("dataloaded",this,{},[this.id]);this.__state&&(this.__state.newDataArrived=!1);n.addToEnv("dataSource",t);n.addToEnv("chart-attrib",t.chart);f=o.pluckNumber(t.chart&&t.chart.applycsstransform,0);n._checkInvalidData()||n._checkInvalidSpecificData()?(n.getContainer("parentgroup")&&n.getContainer("parentgroup").hide(),n.createBaseComponent(),n.getFromEnv("animationManager").setAnimationState("chartmessage"),n.setChartMessage(),n.drawChartMessage(),this._sudoSetState(1),r.triggerEvent("nodatatodisplay",this,{},[this.id])):(n.config.hasChartMessage=!1,i=n.getFromEnv("toolTipController"),f&&i?i.setApplyScale(f):i.setApplyScale(0),"timeseries"===n.getName()?n.setData(Object.assign({},t)):n.setData(t))}function k(n){r.triggerEvent("dataloadcancelled",n,{},[n.id]);n.__state&&(n.__state.newDataArrived=!1)}
27t.__esModule=!0;t.globalStore=undefined;var e,o=i(125),r=i(131),u=i(132),y=i(136),p=i(137),s,c,f,l,h=/\%/,a=new((e=p)&&e.__esModule?e:{"default":e})["default"],w=(f={},l=function b(){var e,t,i,r,u,o,l,a,v=0,y=parseInt(c.options.resizeTrackingInterval,10)||300,n={},p=function(){n.itemVar._containerOffsetW=n.parentEle.offsetWidth;n.itemVar._containerOffsetH=n.parentEle.offsetHeight};for(e in f)v+=1,i=(t=f[e]).jsVars,u=t.ref,!t.disposed&&(r=u&&u.parentNode)&&(o=u.style)&&(h.test(o.width)||h.test(o.height))?(l=r.offsetWidth,a=r.offsetHeight,!i.resizeLocked&&(l&&i._containerOffsetW!==l||a&&i._containerOffsetH!==a)&&(t.resizeTo&&t.resizeTo(),n.itemVar=i,n.parentEle=r,setTimeout(p,1))):(delete f[e],v-=1);s=v?setTimeout(b,y):clearTimeout(s)},function(n,t,i){var r=n.jsVars,u=t||n.ref&&n.ref.parentNode||{};c=i;r._containerOffsetW=u.parentNode.offsetWidth;r._containerOffsetH=u.parentNode.offsetHeight;f[n.id]=n;s||(s=setTimeout(l,parseInt(i.options.resizeTrackingInterval,10)||300))});t.globalStore=a;t["default"]=function(n,t,i,f,e,s,c,l){var nt=void 0,p=t.apiInstance,b=void 0,ut=t.jsVars,d=void 0,it=void 0,rt=void 0,ft=h.test(t.width)?i.offsetWidth:t.width,et=h.test(t.height)?i.offsetHeight:t.height,g,tt;if(i.FusionCharts=n.items[t.id],t.__state.beforedrawFired=!0,f=f||t.chartType(),!(nt=u.getDep(f,"chartapi"))&&(d=u.getDep(f,"maps"))&&(nt=u.getDep("maps","chartapi"),it=!0),p&&p.getName().toLowerCase()!==f.toLowerCase()&&(p.remove({instant:!0}),p=o.UNDEF),p&&p.getName().toLowerCase()===f.toLowerCase()||(p=t.apiInstance=new nt,a.attachChild(p,"chartAPI")),it)for(g in d=d[0])d.hasOwnProperty(g)&&(p.config[g]=d[g]);if(p.addToEnv("core-options",n.options),p.addToEnv("chartInstance",t),p.addToEnv("chart",p),p.addToEnv("chart-container",i),p.addToEnv("eventListeners",[]),p.addToEnv("chartWidth",Math.max(0,ft)),p.addToEnv("chartHeight",Math.max(0,et)),p._removeWaitingJobs(),p.setDummyEImethods(f),p.config.origRenderWidth=t.__state.renderedWidth,p.config.origRenderHeight=t.__state.renderedHeight,"base"===f||s)!function(n){var i=arguments.length>1&&arguments[1]!==undefined&&arguments[1],t=n.options.dataErroneous;t&&(n.__state.dataReady=!1,i||r.triggerEvent("dataInvalid",n,{error:t},o.UNDEF,function(){r.triggerEvent("dataxmlinvalid",n,{},[n.id])}))}(t,l),function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};n._chartMessageImageStyle=t.image||{};n._chartMessageStyle=t.message||{}}(t,c),p.createBaseComponent(),p.getFromEnv("animationManager").setAnimationState("chartmessage"),p.setChartMessage(s,t,i),p.drawChartMessage();else if(t.__state.resize)p.asyncDraw();else{if(p.getFromEnv("toolTipController")||(rt=new(u.getDep("ToolTipController"))(i,p),p.addToEnv("toolTipController",rt)),p.disposeChartStyleSheet(),i.jsVars=t.jsVars,b=p.eiMethods,t.ref=i,ut.type=f,b&&"string"!=typeof b)for(tt in b)i[tt]=b[tt];!l&&t.__state.newDataArrived?r.triggerEvent("beforedataload",t,{data:t.getChartData(u.getDepsByType("transcoder").JSON,!0,!0)},void 0,v,k):v.call(t,void 0,void 0,l)}t.disposed||function(n,t,i,u,f){var e=n.jsVars,h=n.apiInstance,c=e.fcObj,l=c.width,a=c.height,s=e.overlayButton;e.width=h.getFromEnv("chartWidth");e.height=h.getFromEnv("chartHeight");e.container=t;e.hcObj=n;e.hcObj.container=t;e.instanceAPI=h;n.hasRendered&&e.overlayButtonActive&&s&&(s.innerHTML=o.BLANK,s.appendChild(document.createTextNode(e.overlayButtonMessage)),n.container.appendChild(s));(/\%/g.test(l)||/\%/g.test(a))&&t&&t.parentNode&&!f.options.preventTrackResize&&w(n,t,f),function(n,t,i){n.apiInstance.addJob("fire-rendered",function(){if(n.apiInstance.config.hasRendered=i.hasRendered,"waiting"!==n._getState()&&"function"==typeof t&&t(i),"waiting"!==n._getState()&&(r.triggerEvent("drawcomplete",n,{width:n.jsVars.width,height:n.jsVars.height,drawCount:n.jsVars.drawCount,displayingMessage:"waiting"===n._getState()||"error"===n._getState(),renderer:"javascript"},[n.id]),n.__state&&delete n.__state.beforedrawFired),!n.disposed&&"ready"===n._getState()){if(n.__state.rendering&&r.triggerEvent("rendered",n,{renderer:"javascript"},[n.id]),n.disposed)return;if(r.triggerEvent("renderComplete",n,{width:n.jsVars.width,height:n.jsVars.height,drawCount:n.jsVars.drawCount,renderer:"javascript"}),n.disposed)return;n.__state&&delete n.__state.rendering;n.__state.renderComplete=!0}},y.priorityList.postRender)}(n,i,u)}(t,i,e,{hasRendered:!0,container:i},n)}},function(n,t){"use strict";t.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=[],h={},e=[],i={},v=0,r=window,o=r.navigator,y=/trident/i.test(o.userAgent)&&/rv:11/i.test(o.userAgent)&&!r.opera,p=/msie/i.test(o.userAgent)&&!r.opera,w=/Edge/.test(o.userAgent),u={},s=r.requestAnimationFrame||r.webkitRequestAnimationFrame||r.mozRequestAnimationFrame||r.oRequestAnimationFrame||r.msRequestAnimationFrame||function(n){setTimeout(n,16)},c=!1,l=function b(){var r=!0,n=void 0,o=(new Date).getTime(),t=void 0,u=void 0;for(c=!0;r&&(n=f[0]);)t=(new Date).getTime(),n.OIAF&&u||n.executeAfter&&!(n.executeAfter<t)||!(t-o<16)?r=!1:(f.shift(),e[n.priority]-=1,i[n.jobID]&&!n.executed&&(n.executed=!0,delete i[n.jobID],n.job(),u=n.OIAF));f.length?s(b):c=!1};(y||p||w)&&(s=s.bind(window));u.addJob=function(n,t,r){var h,u,o,y=0,p=r&&r.oneInAFrame,w=r&&r.addToTop?t-1:t;for("function"===(void 0===n?"undefined":a(n))?(u={job:n,priority:t,OIAF:p,jobID:h="JOB_"+ ++v+"_"+(t||1)},r&&r.executionDelay&&(u.executeAfter=(new Date).getTime()+r.executionDelay)):u=n,o=0;o<=w;o++)y+=e[o]||0;return f.splice(y,0,u),i[u.jobID]=u,e[t]=(e[t]||0)+1,c||1!==f.length||(p?s(l):setTimeout(l,0)),h};u.removeJob=function(n){i[n]&&delete i[n]};u.updateJob=function(n,t,r,u){return i[n]?(i[n].job=t,n):this.addJob(t,r,u)};u.pauseExecution=function(n){if(!i[n])return!1;h[n]=i[n];delete i[n]};u.resumeExecution=function(n){var t=h[n];if(!t)return!1;u.addJob(t,t.priority);delete h[n]};t["default"]=u;t.priorityList={instant:1,render:1,chartEvents:1,configure:2,chartClick:2,draw:3,entitydraw:4,label:4,animation:5,tracker:6,kdTree:6,postRender:7}},function(n,t,i){"use strict";function r(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}
27t.__esModule=!0;var u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return r(t,n),t.prototype.getName=function(){return"globalStore"},t.prototype.getType=function(){return"globalStore"},t}(i(138).ComponentInterface);t["default"]=u},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t.SmartRenderer=t.ComponentInterface=undefined;var u=r(i(139)),f=r(i(141));t.ComponentInterface=u["default"];t.SmartRenderer=f["default"]},function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r,f;t.__esModule=!0;r=i(140);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i._components={},i.fireEvent("instantiated"),i.__setDefaultConfig(),r}return e(t,n),t.prototype.addGraphicalElement=function(n,t,i,u){var f=this._graphics;return i=i||!1,t&&(i?(void 0===f[n]&&(f[n]=[]),u?f[n][u]=t:f[n].push(t)):(f[n]=t,this.fireEvent("graphicalelementattached",{element:t})),r.addAllEventsOnGraphic(t,this._middleListeners,this)),t},t.prototype.removeGraphicalElement=function(n){var t=this,i=t._graphics,u=void 0;r._mapSubFnForward(i,function(f,e,o){f===n&&(u=!0,r.removeAllEventsFromGraphic(f,t._middleListeners),t._setRemoveAnim(f,e),void 0!==o?i[e].splice(o,1):delete i[e])});u&&this.fireEvent("graphicalelementremoved",{element:n})},t.prototype.getGraphicalElement=function(n){return void 0!==n?this._graphics[n]:this._graphics},t.prototype.addChildContainer=function(n,t){var i=this._childContainers;return t&&(void 0===i&&(i=this._childContainers={}),i[n]=t,r.addAllEventsOnGraphic(t,this._middleListeners,this)),t},t.prototype.removeChildContainer=function(n){var t=this._childContainers;t&&t[n]&&(r.removeAllEventsFromGraphic(t[n],this._middleListeners),this._setRemoveAnim(t[n],n),delete t[n])},t.prototype.getChildContainer=function(n){return void 0===this._childContainers&&(this._childContainers={}),n?this._childContainers[n]:this._childContainers},t.prototype.addContainer=function(n,t){var i=this._containers;return t&&(void 0===i&&(i=this._containers={}),i[n]=t),t},t.prototype.removeContainer=function(n){var t=this._containers;t&&t[n]&&(this._setRemoveAnim(t[n],n),delete t[n])},t.prototype.getContainer=function(n){return void 0===this._containers&&(this._containers={}),n?this._containers[n]:this._containers},t.prototype.addEventListener=function(t,i,u){var f=n.prototype.addEventListener.call(this,t,i,u);return!0===f?(function(n,t,i){var u;t&&i&&(u=function(n){n.on&&n.on(t,i)},r._mapSubFnForward(n.getGraphicalElement(),u),r._mapSubFnForward(n.getChildContainer(),u))}(this,t,this._middleListeners[t]),i):!!f&&i},t.prototype.removeEventListener=function(t,i){n.prototype.removeEventListener.call(this,t,i)&&function(n,t,i){var u;t&&i&&(u=function(n){n.off&&n.off(t,i)},r._mapSubFnForward(n.getGraphicalElement(),u),r._mapSubFnForward(n.getChildContainer(),u))}(this,t,this._middleListeners[t])},t.prototype._dispose=function(){var t=void 0;if(n.prototype._dispose.call(this)){for(t in this.getFromEnv("paper")&&!this.getFromEnv("paper").removed&&(r._mapSubFnForward(this.getChildContainer(),this.__instantRemoveFn),r._mapSubFnForward(this.getGraphicalElement(),this.__instantRemoveFn),r._mapSubFnForward(this.getContainer(),this.__instantRemoveFn)),this)this.hasOwnProperty(t)&&delete this[t];this.fireEvent("removed")}},t.prototype.removingDraw=function(){r._mapSubFnForward(this.getChildContainer(),this._setRemoveAnim);r._mapSubFnForward(this.getGraphicalElement(),this._setRemoveAnim);r._mapSubFnForward(this.getContainer(),this._setRemoveAnim)},t.prototype.attachChild=function(n,t,i){var r=t||n.getType(),u=this._components;return!1===i?u[r]=n:(u[r]&&u[r]instanceof Array||(u[r]=[]),u[r].push(n)),n._setLinkedParent(this),this.fireEvent("childattached",{attachedChild:n}),n},t.prototype.getChild=function(n){var t,i=this._components;return void 0===n?i:(this._searchChildren(n,function(n){t=n}),t)},t.prototype._searchChildren=function(n,t){var i,u,r,f=this._components;for(u in f)if(f.hasOwnProperty(u))if((i=f[u]).constructor===Array){for(r=i.length-1;r>=0;r--)if(i[r].getId&&i[r].getId()===n)return t(i[r],r,i)}else if(i.getId&&i.getId()===n)return t(u,void 0,f)},t.prototype.getChildren=function(n){return n?this._components[n]:this._components},t}
27(((u=r)&&u.__esModule?u:{"default":u})["default"]);t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;t._mapSubFnForward=t.addAllEventsOnGraphic=t.removeAllEventsFromGraphic=undefined;var f,r=i(125),u=i(131),e=i(136),o=(f=e)&&f.__esModule?f:{"default":f},s={},c={executionDelay:16},h=function(n,t){if(n&&n.hasOwnProperty&&t&&t.call){var i=void 0,u=void 0,r=void 0,f=void 0;for(i in n)if(n.hasOwnProperty(i))if((u=n[i])instanceof Array)for(f=u.length,r=0;r<f;r++)t(u[r],i,r);else t(u,i)}},l=function(){function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);var t=this;t.config={};t._jobList={};t._env={};t._extListeners={};t._state={};t._factories=[];t._factoriyNames={};t._graphics={};t.__drawJob=function(){t.updateVisual()};t.__remove=function(){t.getState("removed")&&t._dispose()};t._setRemoveAnim=function(n,i){var r=t.getFromEnv("animationManager");r.setAnimation({el:n,component:t,label:i,props:n.__props});t._setRemoveAnim=function(n,i){r.setAnimation({el:n,component:t,label:i,props:n.__props})}};t.__instantRemoveFn=function(n){var i=t.getFromEnv("animationManager");i.removeElement(n,!0);t.__instantRemoveFn=function(n){return i.removeElement(n,!0)}}}return n.prototype.configure=function(n){this.preConfigure(n);this.configureAttributes(n);this.postConfigure(n);this.invokeFactories()},n.prototype.preConfigure=function(n){this.fireEvent("preconfigure",n)},n.prototype.configureAttributes=function(){return this},n.prototype.postConfigure=function(n){this.fireEvent("postconfigure",n)},n.prototype.prepareAttributes=function(){this.fireEvent("beforeattributeprepared");this.allocatePosition&&this.allocatePosition();this._mapChildren(function(n){n.prepareAttributes&&n.prepareAttributes()});this.fireEvent("attributeprepared")},n.prototype.setDefaults=function(){this.__setDefaultConfig();this._mapChildren(function(n){return n.setDefaults()})},n.prototype.__setDefaultConfig=function(){return this},n.prototype.setData=function(n){var t,r=arguments.length>1&&arguments[1]!==undefined&&arguments[1],i=this.getLinkedParent();this.asyncDraw();!r&&this.setDefaults();this.configure&&this.configure(n);(t=this.getState("change-info"))&&t.hasNoExternalEffect||i&&i.childCh
27ange&&i.childChange(t,this.getId())},n.prototype.getName=function(){return"generic"},n.prototype.getType=function(){return"generic"},n.prototype.getId=function(){return this._id||this.setId(),this._id},n.prototype.setId=function(n){var t;n===r.UNDEF&&(t=this.getType()+r.UNDERSCORE+this.getName(),s[t]||(s[t]=1),n=t+r.UNDERSCORE+s[t],s[t]+=1);this._id=n},n.prototype.iterateComponents=function(n){this._mapChildren(function t(i,r,u){!1!==n(i,r,u)&&i._mapChildren&&i._mapChildren(t)})},n.prototype.getFromEnv=function(n){return n?this._env[n]:this._env},n.prototype.addToEnv=function(n,t){n&&(this._env[n]=t)},n.prototype.deleteFromEnv=function(n){delete this._env[n]},n.prototype._updateParentEnv=function(){var u,n,r,t,f=this.getLinkedParent(),i=this._env;if(f){if(u=f.getFromEnv(),(n=function(){}).prototype=u,n.prototype.constructor=n,r=new n,i)for(t in i)i.hasOwnProperty(t)&&(r[t]=i[t]);this._env=r;this._mapChildren(function(n){n._updateParentEnv&&n._updateParentEnv()})}},n.prototype.addJob=function(n,t,i,r){this._jobList[n]=this._jobList[n]?o["default"].updateJob(this._jobList[n],t,i,r):o["default"].addJob(t,i,r)},n.prototype.removeJob=function(n){var t=this._jobList[n];t&&(o["default"].removeJob(t),delete this._jobList[n])},n.prototype.removeAllJobs=function(){var t=void 0,n=this._jobList;for(t in n)n.hasOwnProperty(t)&&(o["default"].removeJob(n[t]),delete n[name])},n.prototype.asyncDraw=function(){this.addJob("draw",this.__drawJob,e.priorityList&&e.priorityList.draw,c)},n.prototype.syncDraw=function(){var n=this;n.fireEvent("predraw");n.removeJob("draw");n.getState("removed")?n.removingDraw():n.draw&&n.draw();n.addExtEventListener("animationComplete",n.__remove,n.getFromEnv("animationManager"));n.childrenSyncDraw();n.setState("dirty",!1);n.setState("parentChanged",!1);n.addJob("draw-complete",function(){n.fireEvent("drawn")},e.priorityList.instant)},n.prototype.updateVisual=function(){this.fireEvent("beforevisualupdate");this.removeJob("visualupdate");this.manageSpace&&this.manageSpace();this.prepareAttributes();this.syncDraw();this.fireEvent("visualupdated")},n.prototype.childrenSyncDraw=function(){this._mapChildren(function(n){n&&n.draw&&n.syncDraw()})},n.prototype.addEventListener=function(n,t,i){var e,f=this;return!!(n&&n.toLowerCase&&(n=n.toLowerCase(),u.addListener(n,t,f,i)))&&(r.isInterActiveEvt(n)&&(e=u.getListeners(n,f))&&1===e.length?(f._middleListeners||(f._middleListeners={}),f._middleListeners[n]||(f._middleListeners[n]=function(t){f.fireEvent(n,r.UNDEF,r.UNDEF,r.UNDEF,t)}),!0):t)},n.prototype.removeEventListener=function(n,t){var i;if(n&&n.toLowerCase&&(n=n.toLowerCase(),u.removeListener(n,t,this),r.isInterActiveEvt(n)&&(i=u.getListeners(n,this))&&0===i.length&&this._middleListeners&&this._middleListeners[n]))return!0},n.prototype.fireEvent=function(n,t,i,r,f){u.triggerEvent(n,this,t,f,i,r)},n.prototype.addExtEventListener=function(n,t,i){return!!(i&&i.addEventListener&&i.addEventListener(n,t))&&(this._extListeners[n]||(this._extListeners[n]=[]),this._extListeners[n].push({fn:t,component:i}),t)},n.prototype.removeExtEventListener=function(n,t,i){var r,u;if(i&&i.addEventListener&&this._extListeners&&this._extListeners[n])for(r=(u=this._extListeners[n]).length-1;r>=0;r-=1)if(u[r]&&u[r].fn===t&&u[r].component===i)return i.removeEventListener(n,t),void u.splice(r,1)},n.prototype._setLinkedParent=function(n){var t=this._linkedParent;this._linkedParent=n;t!==n&&(this.setState("parentChanged",!0),t&&this.fireEvent("parentdetached",{oldParent:t}),n&&this.fireEvent("parentAttached",{newParent:n}));this._updateParentEnv&&this._updateParentEnv()},n.prototype.getLinkedParent=function(){return this._linkedParent},n.prototype.setLinkedItem=function(n,t){this.linkedItems||(this.linkedItems={});n===r.UNDEF&&t===r.UNDEF||(this.linkedItems[n]=t)},n.prototype.getLinkedItem=function(n){if(this.linkedItems)return n!==r.UNDEF?this.linkedItems[n]:this.linkedItems},n.prototype.removeLinkedItem=function(n){this.linkedItems&&this.linkedItems[n]&&delete this.linkedItems[n]},n.prototype.detachChild=function(n){var t,i=this;return n===r.UNDEF?r.UNDEF:(i._searchChildren(n,function(n,u,f){f&&f.constructor===Array?t=f.splice(u,1)[0]:(t=f[n],delete f[n]);t._setLinkedParent(r.UNDEF);i.fireEvent("childdetached",{detachedChild:t})}),t)},n.prototype._mapChildren=function(n,t){t?function(n,t){if(n&&n.hasOwnProperty&&t&&t.call){var i=void 0,u=void 0,r=void 0;for(i in n)if(n.hasOwnProperty(i))if((u=n[i])instanceof Array)for(r=u.length-1;r>=0;r--)t(u[r],i,r);else t(u,i)}}(this.getChildren(),n):h(this.getChildren(),n)},n.prototype._dispose=function(){var i,n,r,t;if(this&&this!==window&&!0!==this._disposing){if(this._disposing=!0,this.fireEvent("beforeremove"),(i=this.getLinkedParent())&&i.detachChild&&!i._disposing&&i.detachChild(this.getId()),this._extListeners)for(r in this._extListeners)for(n=(t=this._extListeners[r]).length-1;n>=0;n--)t[n].component&&t[n].component.addEventListener&&t[n].component.removeEventListener(r,t[n].fn);return this.removeAllJobs(),!0}},n.prototype.remove=function(n){var t=n&&n.instant;this.setState("removed",!0);this.getChildren()&&this._mapChildren(function(t){t&&t.remove&&t.remove(n)},!0);t&&this._dispose()},n.prototype.setState=function(n,t){this._state[n]=t},n.prototype.getState=function(n){return this._state&&this._state[n]},n.prototype.registerFactory=function(n,t,i){var f={name:n,factory:t,dep:i};if(this._factoriyNames[n])for(var r=0,e=this._factories.length,u=!1;r<e&&!u;r+=1)this._factories[r].name===n&&(this._factories.splice(r,1),u=!0);this._factories.push(f);this._factoriyNames[n]=!0},n.prototype.deregisterFactory=function(n){if(this._factoriyNames[n])return delete this._factoriyNames[n],this._factories.splice(this._factories.findIndex(function(t){return t.name===n}),1)[0].factory},n.prototype.invokeFactories=function(){for(var t=this,f=t._factoriyNames,r={},n=t._factories,i=void 0,u=n.length+1,e=function(n){var u=void 0;n.dep&&n.dep.length&&n.dep.forEach(function(n){u=f[n]&&!r[n]});u?i.push(n):(n.factory(t),r[n.name]=!0)};n.length&&n.length<u;
27)i=[],n.forEach(e),u=n.length,n=i;n.length&&n.forEach(function(n){return n.factory(t)});this.fireEvent("factoriesinvoked",{})},n}();t["default"]=l;t.removeAllEventsFromGraphic=function(n,t){var i,r;if(t&&t.hasOwnProperty)for(i in t)t.hasOwnProperty(i)&&(r=u.getListeners(i,this))&&r.length>=1&&n&&n.off(i,t[i])};t.addAllEventsOnGraphic=function(n,t,i){var r,f;if(t&&t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&(f=u.getListeners(r,i))&&f.length>=1&&n&&n.on(r,t[r])};t._mapSubFnForward=h},function(n,t,i){"use strict";function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var e,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=i(140),h=(e=f)&&e.__esModule?e:{"default":e},c=i(125);var r=function(n,t){if(n&&n.hasOwnProperty&&t&&t.call){var r=void 0,u=void 0,i=void 0;for(r in n)for(i=(u=n[r].elemStore)&&u.length-1;i>=0&&!t(u[i],r,i);i--);}},u=function(n,t){if(n&&n.hasOwnProperty&&t&&t.call){var f=void 0,r=void 0,u=void 0,i=void 0;for(r in n)for(i=0,f=(u=n[r].elemStore)&&u.length;i<f&&!t(u[i],r,i);i++);}},o=function(n,t){var e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},i=void 0,r=void 0,f=void 0;for(var u in n)r=n[u],(f=c.pluck(t[u],e[u]))!==undefined?r instanceof Array?r.toString().replace(/,/g,"")!==f.toString().replace(/,/g,"")&&(i||(i={}),i[u]=r):"string"==typeof r?r.replace(/,/g,"")!==f.toString().replace(/,/g,"")&&(i||(i={}),i[u]=r):r!==f&&(i||(i={}),i[u]=r):(i||(i={}),i[u]=r);return i},a=function(n){function t(i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var u=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),r=u;return r._id=i,r._componentStore={},r._oldComponentStore=[],r.fireEvent("instantiated"),r.__setDefaultConfig(),u}return l(t,n),t.prototype.isDrawingRequired=function(){return this},t.prototype.syncDraw=function(){this.isDrawingRequired()&&(this._removeUnusedComponent(),this._resetGraphicalStore(),n.prototype.syncDraw.call(this),this._removeUnusedGraphics())},t.prototype.setDimension=function(n,t){this.config.width=n;this.config.height=t},t.prototype.setTranslation=function(n,t){var i=this.config;i._translateX=n;i._translateY=t;i.translate="t"+n+","+t},t.prototype.getTranslation=function(){return{x:this.config._translateX,y:this.config._translateY}},t.prototype._resetGraphicalStore=function(){this._oldGraphicalStore=this._graphicalStore;this._graphicalStore={}},t.prototype._getLastUsedElem=function(){return this.config.lastElemUsed},t.prototype.addGraphicalElement=function(){var s,n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},y=arguments[1],w=this.getFromEnv("animationManager"),c=n.label,u=this._graphicalStore[c]||(this._graphicalStore[c]={elemStore:[],idMap:{},indexMap:{},lastIndexUsed:-1}),l=void 0,a=void 0,p=!0,i=this._oldGraphicalStore&&this._oldGraphicalStore[c],e=u.lastIndexUsed+=1,h=void 0,t=void 0,v=n.attr,r=n.id;i&&(r&&i.idMap[r]!==undefined?(h=i.idMap[r],t=i.elemStore[h],delete i.elemStore[h],delete i.indexMap[h],delete i.idMap[r]):i.elemStore[e]&&(i.indexMap[e]||(t=i.elemStore[e],delete i.elemStore[e])));t&&(n.el=t,p=!1,(v=o(n.attr,t.attrs))&&(n.attr=v),n.css&&(a=o(n.css,t.attrs,t.styles))&&(n.css=a));(s=n.container)?(l=s.isParent?this.getLinkedParent():this,n.container=l.getGraphicalElement(s.id,s.label)||l.getChildContainer(s.id)):n.container=this.getFromEnv("chart-container");(v||a)&&(t=w.setAnimation(n));u.elemStore[e]=t;
27r&&(u.idMap[r]&&(delete u.indexMap[u.idMap[r]],delete u.idMap[r]),u.idMap[r]=e,u.indexMap[e]=r);this.fireEvent("graphicalelementattached",{element:t});t._skipEvents=y;n.shadow&&t.shadow(n.shadow);void 0!==n.tooltext&&this.getFromEnv("toolTipController").enableToolTip(t,n.tooltext);this.config.lastElemUsed=t;!y&&p&&f.addAllEventsOnGraphic(t,this._middleListeners,this)},t.prototype.removeGraphicalElement=function(n,t){var i,o,u=this,e=u._graphicalStore;"object"===(void 0===n?"undefined":s(n))?r(e,function(t,r,s){if(n===t)return o=!0,!t._skipEvents&&f.removeAllEventsFromGraphic(t,u._middleListeners),u._setRemoveAnim(t,r),(i=e[r]).elemStore.splice(s,1),delete i.idMap[i.indexMap[s]],delete i.indexMap[s],!0}):r(e,function(r,s,h){if(i=e[s],i.indexMap[h]===n&&(!t||t===s))return o=!0,!r._skipEvents&&f.removeAllEventsFromGraphic(r,u._middleListeners),u._setRemoveAnim(r,s),i.elemStore.splice(h,1),delete i.idMap[i.indexMap[h]],delete i.indexMap[h],!0});o&&this.fireEvent("graphicalelementremoved",{element:void 0})},t.prototype.getChildContainer=function(n){return this.getGraphicalElement(void 0,n)},t.prototype._removeUnusedGraphics=function(){var n=this,i=n._oldGraphicalStore,t=void 0;r(i,function(r,u,e){r&&(!r._skipEvents&&f.removeAllEventsFromGraphic(r,n._middleListeners),n._setRemoveAnim(r,u),delete(t=i[u]).idMap[t.indexMap[e]],delete t.indexMap[e])})},t.prototype.getGraphicalElement=function(n,t){var i,f=void 0,o=void 0,e=void 0,r=this._graphicalStore;return t||n?t?(i=r[t],n?i&&i.elemStore&&i.elemStore[i.idMap[n]]:i&&i.elemStore&&i.elemStore[0]):(u(r,function(){if(e=arguments[2],f=r[arguments[1]],f.idMap[e]===n)return o=f.elemStore[e],!0}),o):r},t.prototype.addEventListener=function(t,i,r){var f=n.prototype.addEventListener.call(this,t,i,r);return!0===f?(function(n,t,i){var r;t&&i&&(r=function(n){!n._skipEvents&&n.on&&n.on(t,i)},u(n.getGraphicalElement(),r))}(this,t,this._middleListeners[t]),i):!!f&&i},t.prototype.removeEventListener=function(t,i){n.prototype.removeEventListener.call(this,t,i)&&function(n,t,i){var r;t&&i&&(r=function(n){!n._skipEvents&&n.off&&n.off(t,i)},u(n.getGraphicalElement(),r))}(this,t,this._middleListeners[t])},t.prototype._dispose=function(){var t=void 0;if(n.prototype._dispose.call(this)){for(t in this.getFromEnv("paper")&&!this.getFromEnv("paper").removed&&u(this.getGraphicalElement(),this.__instantRemoveFn),this)this.hasOwnProperty(t)&&delete this[t];this.fireEvent("removed")}},t.prototype.removingDraw=function(){u(this.getGraphicalElement(),this._setRemoveAnim)},t.prototype.configure=function(t){this._resetComponentStore();n.prototype.configure.call(this,t)},t.prototype._resetComponentStore=function(){this._oldComponentStore.push(this._componentStore);this._componentStore={}},t.prototype._mapChildren=function(n,t){t?r(this.getChildren(),n):u(this.getChildren(),n)},t.prototype.attachChild=function(n,t,i){var o=this._componentStore[t]||(this._componentStore[t]={elemStore:[],idMap:{},indexMap:{},lastIndexUsed:-1}),u=this._oldComponentStore&&this._oldComponentStore.length&&this._oldComponentStore[this._oldComponentStore.length-1][t],f=o.lastIndexUsed+=1,h=void 0,r=void 0,e,s;return u&&(e=u.elemStore,s=e[f],i&&u.idMap[i]!==undefined?(r=e[h=u.idMap[i]],delete e[h],delete u.indexMap[h],delete u.idMap[i]):s&&s.constructor===n&&(u.indexMap[f]||(r=s,delete e[f]))),r||(r=new n(i)),o.elemStore[f]=r,i&&(o.idMap[i]=f,o.indexMap[f]=i),r._setLinkedParent(this),this.fireEvent("childattached",{attachedChild:r}),r},t.prototype._removeUnusedComponent=function(){for(var t=this._oldComponentStore,i=t.length,n=0,u=function(i,r,u){var f=void 0;i&&(delete(f=t[n][r]).idMap[f.indexMap[u]],delete f.indexMap[u],i.remove())};n<i;n+=1)r(t[n],u);this._oldComponentStore.length=0},t.prototype.getChild=function(n,t){var i;return this._searchChildren(n,function(n){i=n},t),i},t.prototype._searchChildren=function(n,t,i){var e,o,u,f=this._componentStore;if(n?r(f,function(t,r,s){if(e=f[r],e.indexMap[s]===n&&(!i||i===r))return u=t,o=s,i=r,!0}):u=f[i]&&f[i].elemStore,u)return t(u,o,i)},t.prototype.getChildren=function(n){return n?this._componentStore[n]&&this._componentStore[n].elemStore:this._componentStore},t.prototype.detachChild=function(n){var i,t,r=this,u=r._componentStore;if(void 0!==n)return r._searchChildren(n,function(n,f,e){(t=u[e]).elemStore.splice(f,1);delete t.idMap[t.indexMap[f]];delete t.indexMap[f];n._setLinkedParent(void 0);i=n;r.fireEvent("childdetached",{detachedChild:i})}),i},t}(h["default"]);t["default"]=a},function(n,t,i){"use strict";function h(n){return n&&n.__esModule?n:{"default":n}
vendor: 8,513 bytes, line 27
27}function u(n,t,i){var u,f,h,l=!1,o=window.document.createElement("canvas");for(f in(i=i||{}).maxCacheLimit=isFinite(h=i.maxCacheLimit)?h:r.maxDefaultCacheLimit,"string"==typeof n&&(n=c.getElementById(n)),(u=r.createContainer(n)).innerHTML=r.testStrAvg,!e.isHeadLess&&(e.isIE||u.offsetHeight||u.offsetWidth)||(l=!0),u.innerHTML="",r.parentContainerStyle)u.style[f]=r.parentContainerStyle[f];this.parentContainer=u;this.ctx=o&&o.getContext&&o.getContext("2d");this._containerManager=new s["default"](u,l,10);this._showNoEllipses=!t;this._init=!0;this.style={};this.oldStyle={};this.options=i;this.setStyle()}var o,s;t.__esModule=!0;o=h(i(143));s=h(i(144));var r=o["default"].init(window),c=r.win.document,l=r.win.Math,f=l.max,v=l.round,a={" ":" "},e=r.getDocumentSupport(),y=e.isWebKit?0:4.5;u.textToLines=function(n){return(n=n||{}).text?"string"!=typeof n.text&&(n.text=n.text.toString()):n.text="",n.lines=n.text.split(/\n|<br\s*?\/?>/gi),n};u.prototype._calCharDimWithCache=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",y=arguments[1],u=arguments[2],f,l,v,h,e,i,r,o,s,c,t;return this._init?(c=this.options.maxCacheLimit,t=this.style||{},i=this._advancedCache=this._advancedCache||(this._advancedCache={}),r=this._advancedCacheKey||(this._advancedCacheKey=[]),o=n+t.fontSize+t.fontFamily+t.fontWeight+t.fontStyle,s=n+"init"+t.fontSize+t.fontFamily+t.fontWeight+t.fontStyle,!this.ctx&&a[n]&&(n=a[n]),y?(e=i[s])===undefined&&(l=this._getDimention(n.repeat?n.repeat(u):Array(u+1).join(n)).width,v=this._getDimention(n).width,e=i[s]=(l-u*v)/(u+1),r.push(s),r.length>c&&delete i[r.shift()]):e=0,(h=i[o])?{width:h.width,height:h.height}:((f=this._getDimention(n)).width+=e,i[o]={width:f.width,height:f.height},r.push(o),r.length>c&&delete i[r.shift()],f)):!1};u.prototype._getDimention=function(n){return this.requireDiv||!this.ctx?r._getDimentionUsingDiv(n,this):r._getDimentionUsingCanvas(n,this)};u.prototype._getWidthFn=function(){var n=this,t=n._containerObj.svgText;return t?function(n){var r,i;return t.textContent=n,(i=(r=t.getBBox()).width-y)<1&&(i=r.width),i}:function(t){return n.requireDiv||!n.ctx?r._getDimentionUsingDiv(t,n).width:r._getDimentionUsingCanvas(t,n).width}};u.prototype._isSameStyle=function(){var n=this.oldStyle||{},t=this.style;return t.fontSize===n.fontSize&&t.fontFamily===n.fontFamily&&t.fontStyle===n.fontStyle&&t.fontWeight===n.fontWeight&&t.fontVariant===n.fontVariant};u.prototype._setStyleOfCanvas=function(){if(!this._isSameStyle()){var u,n,i=this,t=i.style,e=(i.ctx,t.fontStyle),o=t.fontVariant,s=t.fontWeight,f=t.fontSize,h=t.fontFamily;u=e+" "+o+" "+s+" "+(f+=-1===f.indexOf("px")?"px":"")+" "+h;i.ctx.font=u;n=this._containerObj=this._containerManager.get(t);this._containerObj?(this._container=n.node,this._context=n.context,this._cache=n.charCache,this._lineHeight=n.lineHeight,this._styleNotSet=!1):this._styleNotSet=!0;n.ellipsesWidth=i._calCharDimWithCache("...",!1).width;n.dotWidth=i._calCharDimWithCache(".",!1).width;n.lineHeight=this._lineHeight=n.lineHeight||r._getCleanHeight(t.lineHeight);this.oldStyle=t}};u.prototype._setStyleOfDiv=function(){var n,t=this.style;this._containerObj=n=this._containerManager.get(t);!n.node&&this._containerManager._makeDivNode(this._containerObj);this._containerObj?(this._container=n.node,this._context=n.context,this._cache=n.charCache,this._lineHeight=n.lineHeight,this._styleNotSet=!1):this._styleNotSet=!0};u.prototype._updateStyle=function(){return this.requireDiv||!this.ctx?this._setStyleOfDiv():this._setStyleOfCanvas()};u.prototype.setStyle=function(n){this.style=r.parseStyle(n);r.setLineHeight(this.style)};u.prototype.useEllipsesOnOverflow=function(n){return this._init?(this._showNoEllipses=!n,this):this};u.prototype.getSmartText=function(n,t,i,u){if(!this._init)return!1;n===undefined||null===n?n="":"string"!=typeof n&&(n=n.toString());var g,nt,h,ei,b,bt,lt,at,st,kt,y,ut,ii,oi,ht,si,dt,hi,l,a,gt,ri,ci,vt,yt,ot,pt,ni,li,it,ai,vi,wt,ct,ui,tt=0,k=-1,d=-1,p=-1,v=0,ft=0,et=[],s=0,rt=this._showNoEllipses?"":"...",wi=this.ctx,w=[],yi=-1,pi=-1,fi=-1,ti=function(n){for(var t=(n=n.replace(/^\s\s*/,"")).length;/\s/.test(n.charAt(t-=1)););return n.slice(0,t+1)},o={text:n,maxWidth:t,maxHeight:i,width:null,height:null,oriTextWidth:null,oriTextHeight:null,oriText:n,isTruncated:!1};if(pt=r.xmlTagRegEx.test(n),ct=r._hasOnlyBRTag(n),this.requireDiv=pt&&!ct,this._updateStyle(),ni=this._lineHeight,li=this._context,it=this._container,vi=(ai=this._containerObj).ellipsesWidth,wt=ai.dotWidth,bt=n.replace(r.spanAdditionRegx,"$2"),ut=this._getWidthFn(),ni-i<=1&&ni-i>=0&&(i*=1.2),wi||it){if(!e.isBrowserLess){if(pt?ct?(n=n.replace(r.brRegex,"<br />"),ui=r._getDimentionOfMultiLineText(n,this),o.oriTextWidth=lt=ui.width,o.oriTextHeight=at=ui.height):(it.innerHTML=n,o.oriTextWidth=lt=it.offsetWidth,o.oriTextHeight=at=it.offsetHeight):(ei=n=n.replace(r.ltgtRegex,function(n){return"<"===n?"<":">"}),ht=this.getOriSize(ei,!0,{hasHTMLTag:pt,hasOnlyBrTag:ct,cleanText:!0}),o.oriTextWidth=lt=ht.width,o.oriTextHeight=at=ht.height),at<=i&<<=t)return o.width=o.oriTextWidth=lt,o.height=o.oriTextHeight=at,o;if(ni>i)return o.text="",o.width=o.oriTextWidth=0,o.height=o.oriTextHeight=0,o}if(n=ti(n).replace(/(\s+)/g," "),b=this._showNoEllipses?t:t-vi,!pt||ct){if(g=(et=r._getTextArray(n)).length,nt="",h=[],y=et[0],this._cache[y]?l=this._cache[y].width:(l=ut(y),this._cache[y]={width:l}),b>l&&!ct)h=n.substr(0,r.getNearestBreakIndex(n,b,this)).split("");else{if(l>t)return o.text="",o.width=o.oriTextWidth=o.height=o.oriTextHeight=0,o;rt&&((b=t-2*wt)>l?rt="..":(b=t-wt)>l?rt=".":(b=0,rt=""))}if(s=h.length,v=ut(h.join("")),ft=this._lineHeight,u){for(;s<g;s+=1)if(y=h[s]=et[s],"<br />"!==h[s]){if(this._cache[y]?l=this._cache[y].width:(ht&&(l=ht.detailObj[y])||(l=ut(y)),this._cache[y]={width:l}),(v+=l)>b&&(nt||(nt=h.slice(0,-1).join("")),v>t))return o.text=ti(nt)+rt,o.tooltext=o.oriText,o.width=f(tt,v),o.height=ft,o}else ft+=this._lineHeight,p=s,tt=f(tt,v),v=0,nt=null;return o.text=h.join(""),o.width=f(tt,v),o.height=ft,o}for(;s<g;s+=1){if(" "!==(y=h[s]=et[s])||li||(y=this.ctx?" ":" "),"<br />"===h[s]){if(tt=f(tt,v),(ft+=this._lineHeight)<=i){p=s;v=0;nt=null;continue}if(ft>i)return nt=h.slice(0,-1).join(""),o.text=ti(nt)+rt,o.tooltext=bt,o.width=tt,o.height=ft-this._lineHeight,o}if(this._cache[y]?l=this._cache[y].width:(ht&&(l=ht.detailObj[y])||(l=ut(y)),this._cache[y]={width:l}),(v+=l)>b&&(nt||(nt=h.slice(0,-1).join("")),v>t)){if("<br />"===et[s+1])continue;if(d=r._findLastIndex(et.slice(0,h.length)," "),k=r._findLastIndex(et.slice(0,h.length),"-"),d>p?(v=ut(h.slice(p+1,d).join("")),h.splice(d,1,"<br />"),p=d,st=d+1):k>p?(k===h.length-1?(v=ut(h.slice(p+1,d).join("")),h.splice(k,1,"<br />-")):(v=ut(h.slice(p+1,d).join("")),h.splice(k,1,"-<br />")),p=k,st=k+1):(h.splice(h.length-1,1,"<br />"+et[s]),fi=h.length-2,v=ut(h.slice(p+1,fi+1).join("")),p=fi,st=s),(ft+=this._lineHeight)>i)return o.text=ti(nt)+rt,o.tooltext=o.oriText,o.width=t,o.height=ft-this._lineHeight,o;tt=f(tt,v);nt=null;ct?v=r._getDimentionOfMultiLineText(h.slice(p+1).join(""),this).width:(kt=r.getNearestBreakIndex(n.substr(st),b,this),v=ut(n.substr(st,kt||1)),h.length<st+kt&&(s=(h=h.concat(n.substr(h.length,st+kt-h.length).split(""))).length-1))}}return tt=f(tt,v),o.text=h.join(""),o.width=tt,o.height=ft,o}for(bt=n.replace(r.spanAdditionRegx,"$2"),n=(n=n.replace(r.spanAdditionRegx,r.spanAdditionReplacer)).replace(/(<br\s*\/*\>)/g,'<span class="'+[r.classNameWithTag," ",r.classNameWithTagBR].join("")+'">$1<\/span>'),it.innerHTML=n,dt=0,hi=(si=it[e.childRetriverFn](e.childRetriverString)).length;dt<hi;dt+=1)a=si[dt],(e.noClassTesting||r.classNameReg.test(a.className))&&""!==(gt=a.innerHTML)&&(" "===gt?pi=w.length:"-"===gt&&(yi=w.length),w.push({spaceIdx:pi,dashIdx:yi,elem:a}),et.push(gt));if(s=0,(l=(g=w.length)&&w[0].elem.offsetWidth)>t||!g)return o.text="",o.width=o.oriTextWidth=o.height=o.oriTextHeight=0,o;if(l>b&&!this._showNoEllipses&&((b=t-2*wt)>l?rt="..":(b=t-wt)>l?rt=".":(b=0,rt="")),ii=w[0].elem.offsetLeft,oi=w[0].elem.offsetTop,u)for(;s<g;s+=1)(ri=(a=w[s].elem).offsetLeft-ii+a.offsetWidth)>b&&(ot||(ot=s),it.offsetWidth>t&&(yt=s,s=g));else for(;s<g;s+=1)ci=(a=w[s].elem).offsetHeight+(a.offsetTop-oi),vt=null,(ri=a.offsetLeft-ii+a.offsetWidth)>b?(ot||(ot=s),ri>t&&(d=w[s].spaceIdx,k=w[s].dashIdx,d>p?(w[d].elem.innerHTML="<br/>",p=d):k>p?(w[k].elem.innerHTML=k===s?"<br/>-":"-<br/>",p=k):a.parentNode.insertBefore(vt=c.createElement("br"),a),a.offsetHeight+a.offsetTop>
27i?(vt?vt.parentNode.removeChild(vt):p===k?w[k].elem.innerHTML="-":w[d].elem.innerHTML=" ",yt=s,s=g):ot=null)):ci>i&&(yt=s,s=g);if(yt<g){for(o.isTruncated=!0,ot=ot||yt,s=g-1;s>=ot;s-=1)(a=w[s].elem).parentNode.removeChild(a);for(;s>=0;s-=1)a=w[s].elem,r.classNameBrReg.test(a.className)?a.parentNode.removeChild(a):s=0}return o.text=it.innerHTML.replace(r.spanRemovalRegx,"$1").replace(/\&\;/g,"&"),o.isTruncated&&(o.text+=rt,o.tooltext=bt),o.height=it.offsetHeight,o.width=it.offsetWidth,o}return o.error=new Error("Body Tag Missing!"),o};u.prototype.getOriSize=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",w=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],s=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};if(!this._init)return!1;var h,c,t,i,a,u,y=0,l=0,p={},e=s.hasHTMLTag,o=s.hasOnlyBrTag;if(void 0===e&&(e=r.xmlTagRegEx.test(n)),void 0===o&&(o=r._hasOnlyBRTag(n)),this.requireDiv=e&&!o,s.cleanText||(n=n.replace(r.ltgtRegex,function(n){return"<"===n?"<":">"})),this._updateStyle(),u=this._container,o)return r._getDimentionOfMultiLineText(n,this);if(!w)return this._calCharDimWithCache(n);if(e)return u.innerHTML=n,{width:u.offsetWidth,height:u.offsetHeight};for(i=0,a=(h=n.split("")).length;i<a;i++)c=h[i],t=this._calCharDimWithCache(c,!1,h.length),l=f(l,t.height),y+=t.width,p[c]=t.width;return{width:v(y),height:l,detailObj:p}};u.prototype.dispose=function(){return this._init?(this._containerManager&&this._containerManager.dispose&&this._containerManager.dispose(),delete this._container,delete this._context,delete this._cache,delete this._containerManager,delete this._containerObj,delete this.id,delete this.style,delete this.parentContainer,delete this._showNoEllipses,this):this};t["default"]=u},function(n,t){"use strict";t.__esModule=!0;var i={init:function(n){var t=n.document,u=n.navigator.userAgent,s=Math.ceil,e=Math.floor,o="fusioncharts-smartlabel-",f=o+"container",r=o+"tag";return i={win:n,containerClass:f,classNameWithTag:r,classNameWithTagBR:"fusioncharts-smartlabel-br",maxDefaultCacheLimit:1e3,classNameReg:/\bfusioncharts-smartlabel-tag\b/,classNameBrReg:/\bfusioncharts-smartlabel-br\b/,spanAdditionRegx:/(<[^<\>]+?\>)|(&(?:[a-z]+|#[0-9]+);|.)/gi,spanAdditionReplacer:'$1<span class="'+r+'">$2<\/span>',spanRemovalRegx:new RegExp("\\<span[^\\>]+?"+r+"[^\\>]{0,}\\>(.*?)\\<\\/span\\>","ig"),xmlTagRegEx:new RegExp("<[^>][^<]*[^>]+>","i"),brRegex:new RegExp("({br[ ]*})|(<br[ ]*>)|(<br[ ]*/>)|(<BR[ ]*/>)|(<br\\>)","g"),ltgtRegex:/<|>/g,htmlSpecialEntityRegex:/&|"|<|>/g,brReplaceRegex:/<br\/>/gi,testStrAvg:"WgI",parentContainerStyle:{position:"absolute",top:"-9999em",whiteSpace:"nowrap",padding:"0px",width:"1px",height:"1px",overflow:"hidden"},supportedStyle:{font:"font",fontFamily:"font-family","font-family":"font-family",fontWeight:"font-weight","font-weight":"font-weight",fontSize:"font-size","font-size":"font-size",lineHeight:"line-height","line-height":"line-height",fontStyle:"font-style","font-style":"font-style"},getDocumentSupport:function(){var i,f,e;return t.getElementsByClassName?(i="getElementsByClassName",f=r,e=!0):(i="getElementsByTagName",f="span",e=!1),{isIE:/msie/i.test(u)&&!n.opera,hasSVG:Boolean(n.SVGAngle||t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")),isHeadLess:new RegExp(" HtmlUnit").test(u),isWebKit:new RegExp(" AppleWebKit/").test(u),childRetriverFn:i,childRetriverString:f,noClassTesting:e}},createContainer:function(n){var r,i;if(n&&(n.offsetWidth||n.offsetHeight)){if(n.appendChild)return n.appendChild(i=t.createElement("DIV")),i.className=f,i.setAttribute("aria-hidden","true"),i.setAttribute("role","presentation"),i}else if((r=t.getElementsByTagName("body")[0])&&r.appendChild)return(i=t.createElement("DIV")).className=f,i.setAttribute("aria-hidden","true"),i.setAttribute("role","presentation"),r.appendChild(i),i},getNearestBreakIndex:function(n,t,i){if(!n||!n.length)return 0;var u,o=i._getWidthFn(),r=0,f=0,h=o(n),c=h/n.length;if(u=t,r=s(t/c),h<t)return n.length-1;for(r>n.length&&(u=t-h,r=n.length);u>0;){if(u=t-o(n.substr(0,r)),!(f=e(u/c)))return r;r+=f}for(;u<0;){if(u=t-o(n.substr(0,r)),!(f=e(u/c)))return r;r+=f}return r},parseStyle:function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t={};return t.fontSize=(n.fontSize||n["font-size"]||"12px")+"",t.fontVariant=n.fontVariant||n["font-variant"]||"normal",t.fontWeight=n.fontWeight||n["font-weight"]||"normal",t.fontStyle=n.fontStyle||n["font-style"]||"normal",t.fontFamily=n.fontFamily||n["font-family"]||"Verdana,sans",t},setLineHeight:function(n){var t=n.fontSize;return n.lineHeight=n.lineHeight||n["line-height"]||1.2*parseInt(t,10)+"px",n},_getCleanHeight:function(n){return n=n.replace(/px/g,""),Number(n)},_getDimentionUsingDiv:function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=arguments[1]._container;return n instanceof Array&&(n=n.join("")),t.innerHTML=n,{width:t.offsetWidth,height:t.offsetHeight}},_getDimentionUsingCanvas:function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=arguments[1],r=t.ctx,u=t.style,f=i._getCleanHeight(u.lineHeight);return n=n instanceof Array?(n=n.join("")).replace(/<br \/>/g,""):n.replace(/<br \/>/g,""),{width:r.measureText(n).width,height:f}},_hasOnlyBRTag:function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return!i.xmlTagRegEx.test(n)&&i.brRegex.test(n)},_getDimentionOfMultiLineText:function(){for(var e,l=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",o=arguments[1],a=l.replace(i.brRegex,"<br />"),t=i._getTextArray(a),r=0,u=0,v=o._getWidthFn(),s=i._getCleanHeight(o.style.lineHeight),h=s,c={},n=0,f=t.length;n<f;n++)"<br />"===t[n]?(u=Math.max(u,r),r=0,h+=s):(r+=e=v(t[n]),c[t[n]]=e);return{height:h,width:u=Math.max(u,r),detailObj:c}},_getTextArray:function(){for(var t,u,f,e,r=[],i=(f=(arguments.length>0&&arguments[0]!==undefined?arguments[0]:"").split("<br />")).length,n=0;n<i;n++){for(u=(e=f[n].split("")).length,t=0;t<u;t++)r.push(e[t]);n!==i-1&&r.push("<br />")}return r},_findLastIndex:function(){for(var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],i=arguments[1],n=t.length-1;n>=0;n--)if(t[n]===i)return n;return-1}}}};t["default"]=i},function(n,t,i){"use strict";function u(n,t,i){var r;i=(i=i>5?i:5)<20?i:20;this.maxContainers=i;this.first=null;this.last=null;this.containers={};this.length=0;this.rootNode=n;t&&((r=o.createElementNS("http://www.w3.org/2000/svg","svg")).setAttributeNS("http://www.w3.org/2000/svg","xlink","http://www.w3.org/1999/xlink"),r.setAttributeNS("http://www.w3.org/2000/svg","height","0"),r.setAttributeNS("http://www.w3.org/2000/svg","width","0"),this.svgRoot=r,this.rootNode.appendChild(r))}
27t.__esModule=!0;var f,h=i(143),r=((f=h)&&f.__esModule?f:{"default":f})["default"].init(window),o=r.win.document,e=r.getDocumentSupport(),s=e.isWebKit?0:4.5;u.prototype.get=function(n){var f,i,t,s=this.containers,e=this.length,o=this.maxContainers,u="";for(i in r.supportedStyle)n[i]!==undefined&&(u+=r.supportedStyle[i]+":"+n[i]+";");if(!u)return!1;if(t=s[u])this.first!==t&&(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.next=this.first,t.next.prev=t,this.last===t&&(this.last=t.prev),t.prev=null,this.first=t);else{if(e>=o)for(f=e-o+1;f--;)this.removeContainer(this.last);t=this.addContainer(u)}return t};u.prototype._makeDivNode=function(n){var t,i=n.keyStr;n.node||(n.node=o.createElement("div"),n.node.className="fusioncharts-div",this.rootNode.appendChild(n.node));t=n.node;e.isIE&&!e.hasSVG?t.style.setAttribute("cssText",i):t.setAttribute("style",i);t.setAttribute("aria-hidden","true");t.setAttribute("role","presentation");t.style.display="inline-block";t.innerHTML=r.testStrAvg;n.lineHeight=t.offsetHeight;n.avgCharWidth=t.offsetWidth/3;e.isBrowserLess?(n.svgText||(n.svgText=o.createElementNS("http://www.w3.org/2000/svg","text"),this.svgRoot.appendChild(t)),(t=n.svgText).setAttribute("style",i),t.textContent=r.testStrAvg,n.lineHeight=t.getBBox().height,n.avgCharWidth=(t.getBBox().width-s)/3,t.textContent="...",n.ellipsesWidth=t.getBBox().width-s,t.textContent=".",n.dotWidth=t.getBBox().width-s):(t.innerHTML="...",n.ellipsesWidth=t.offsetWidth,t.innerHTML=".",n.dotWidth=t.offsetWidth,t.innerHTML="")};u.prototype.addContainer=function(n){var t;return this.containers[n]=t={next:null,prev:null,node:null,ellipsesWidth:0,lineHeight:0,dotWidth:0,avgCharWidth:4,keyStr:n,charCache:{}},t.next=this.first,t.next&&(t.next.prev=t),this.first=t,this.last||(this.last=t),this.length+=1,t};u.prototype.removeContainer=function(n){var t=n.keyStr;t&&this.length&&n&&(this.length-=1,n.prev&&(n.prev.next=n.next),n.next&&(n.next.prev=n.prev),this.first===n&&(this.first=n.next),this.last===n&&(this.last=n.prev),n.node&&n.node.parentNode.removeChild(n.node),delete this.containers[t])};u.prototype.dispose=function(){var n,t=this.containers;for(n in this.maxContainers=null,t)this.removeContainer(t[n]);this.rootNode.parentNode.removeChild(this.rootNode);this.rootNode=null;this.first=null;this.last=null};t["default"]=u},function(n,t){"use strict";t.__esModule=!0;var i={},r=function(n){i[n]=!0},u=function(n){return i[n]};t.addFile=r;t.getFile=u;t["default"]={extension:function(n){n.addFile=r;n.getFile=u},name:"fileStore",type:"plugin",requiresFusionCharts:!0}},function(n,t){"use strict";t.__esModule=!0;t["default"]={options:{chartTypeSourcePath:["typeSourcePath",""],product:["product","v3"],insertMode:["insertMode","replace"],safeMode:["safeMode",!0],overlayButton:["overlayButton"],containerBackgroundColor:["containerBackgroundColor","#ffffff"],containerBackgroundOpacity:["containerBackgroundOpacity",1],containerClassName:["containerClassName","fusioncharts-container"],chartType:["type"],baseChartMessageFont:["baseChartMessageFont","Verdana,sans"],baseChartMessageFontSize:["baseChartMessageFontSize","10"],baseChartMessageColor:["baseChartMessageColor","#666666"],baseChartMessageImageHAlign:["baseChartMessageImageHAlign","middle"],baseChartMessageImageVAlign:["baseChartMessageImageVAlign","middle"],baseChartMessageImageAlpha:["baseChartMessageImageAlpha",100],baseChartMessageImageScale:["baseChartMessageImageScale",100],dataLoadStartMessage:["dataLoadStartMessage","Retrieving data. Please wait."],dataLoadErrorMessage:["dataLoadErrorMessage","Error in loading data."],dataInvalidMessage:["dataInvalidMessage","Invalid data."],dataEmptyMessage:["dataEmptyMessage","No data to display."],typeNotSupportedMessage:["typeNotSupportedMessage","Chart type not supported."],browserNotSupportedMessage:["browserNotSupportedMessage","This browser is not supported."],loadMessage:["loadMessage","Loading chart. Please wait."],renderErrorMessage:["renderErrorMessage","Unable to render chart."],messageURL:["messageURL",""],containerElementId:["renderAt"],renderer:["renderer"],containerElementType:["containerElementType"],showChartLoadingMessage:["showChartLoadingMessage",!0],visibilityTrackingInterval:300,events:["events",{}]},jsVars:{},attributes:{lang:["lang","EN"],id:["id"]},link:["link"],width:["width","400"],height:["height","300"]}},function(n,t,i){"use strict";t.__esModule=!0;var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r=i(125),h=Math.abs,c=Math.pow,s=Math.round,f=void 0,l=void 0,a=void 0,e=void 0,o=void 0,u={formatnumber:"1",formatnumberscale:"1",forcenumberscale:"0",defaultnumberscale:"",numberscaleunit:["K","M"],numberscalevalue:[1e3,1e3],numberprefix:"",numbersuffix:"",decimals:"",forcedecimals:"0",yaxisvaluedecimals:"2",decimalseparator:".",thousandseparator:",",thousandseparatorposition:[3],indecimalseparator:"",inthousandseparator:"",sformatnumber:"1",sformatnumberscale:"0",sforcenumberscale:"0",sdefaultnumberscale:"",snumberscaleunit:["K","M"],snumberscalevalue:[1e3,1e3],snumberprefix:"",snumbersuffix:"",sdecimals:"2",sforcedecimals:"0",syaxisvaluedecimals:"2",xFormatNumber:"0",xFormatNumberScale:"0",xforcenumberscale:"0",xDefaultNumberScale:"",xNumberScaleUnit:["K","M"],xNumberScaleValue:[1e3,1e3],xNumberPrefix:"",xNumberSuffix:""},v={mscombidy2d:{formatnumberscale:"1"}},p=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);var o=t.getName&&t.getName(),f=this.csConf=r.extend2({},u),e=v[o];this.cleaneValueCacheStore={};this.percentStrCacheStore={};e&&(f=r.extend2(f,e));this.linkedItems={chart:t};this.configure(i)}return n.prototype.setDefaults=function(){var n=this.linkedItems.chart,i=n.getName&&n.getName(),f=this.csConf=r.extend2({},u),t=v[i];t&&r.extend2(f,t)},n.prototype.configure=function(n){var ht,w,b,k,d,ct,g,nt,tt,it,rt,f,v,o,h,i,ut,ot,st,c,ft,et,l,lt,at,y,vt,yt,e=this,p=e.linkedItems.chart,t=n||p.getFromEnv("chart-attrib"),pt=p.getName&&p.getName(),a=p.config,s=e.csConf;if(a||(a=p),e.csConf=s,e.useScaleRecursively=a.useScaleRecursively,r.getValidValue(t.numberscaleunit)&&(ht=t.numberscaleunit.split(",")),(w=r.getValidValue(t.snumberscaleunit,t.numberscaleunit))&&(w=w.split(",")),(b=r.getValidValue(t.xnumberscaleunit,t.numberscaleunit))&&(b=b.split(",")),(k=r.getValidValue(t.ticknumberscaleunit,t.numberscaleunit))&&(k=k.split(",")),(d=r.getValidValue(t.ynumberscaleunit,t.numberscaleunit))&&(d=d.split(",")),r.getValidValue(t.numberscalevalue)&&(ct=t.numberscalevalue.split(",")),(rt=r.getValidValue(t.snumberscalevalue,t.numberscalevalue))&&(rt=rt.split(",")),(g=r.getValidValue(t.xnumberscalevalue,t.numberscalevalue))&&(g=g.split(",")),(nt=r.getValidValue(t.ticknumberscalevalue,t.numberscalevalue))&&(nt=nt.split(",")),(tt=r.getValidValue(t.ynumberscalevalue,t.numberscalevalue))&&(tt=tt.split(",")),r.getValidValue(t.thousandseparatorposition))for(ut=(it=t.thousandseparatorposition.split(",")).length,st=u.thousandseparatorposition[0];ut--;)(ot=parseInt(it[ut],10))<=0&&(ot=st),st=it[ut]=ot;c=r.pluckNumber(t.scalerecursively,0);
27ft=r.pluckNumber(t.sscalerecursively,c);et=r.pluckNumber(t.xscalerecursively,c);l=r.pluckNumber(t.maxscalerecursion,-1);lt=r.pluckNumber(t.smaxscalerecursion,l);at=r.pluckNumber(t.xmaxscalerecursion,l);y=r.getValidValue(t.scaleseparator," ");vt=r.getValidValue(t.sscaleseparator,y);yt=r.getValidValue(t.xscaleseparator,y);l||(l=-1);e.baseConf=i={cacheStore:[],formatnumber:r.pluck(t.formatnumber,s.formatnumber),formatnumberscale:r.pluck(t.formatnumberscale,a.formatnumberscale,s.formatnumberscale),forcenumberscale:r.pluck(t.forcenumberscale,s.forcenumberscale),defaultnumberscale:r.getFirstValue(t.defaultnumberscale,s.defaultnumberscale),numberscaleunit:r.pluck(ht,s.numberscaleunit).concat(),numberscalevalue:r.pluck(ct,s.numberscalevalue).concat(),numberprefix:r.getFirstValue(t.numberprefix,s.numberprefix),numbersuffix:r.getFirstValue(t.numbersuffix,s.numbersuffix),decimalprecision:parseInt("auto"===t.decimals?s.decimalprecision:r.pluck(t.decimals,t.decimalprecision,a.decimals,s.decimals,a.decimalprecision,s.decimalprecision),10),forcedecimals:r.pluck(t.forcedecimals,s.forcedecimals),decimalseparator:r.pluck(t.decimalseparator,s.decimalseparator),thousandseparator:r.pluck(t.thousandseparator,s.thousandseparator),thousandseparatorposition:r.pluck(it,s.thousandseparatorposition),indecimalseparator:r.getFirstValue(t.indecimalseparator,s.indecimalseparator),inthousandseparator:r.getFirstValue(t.inthousandseparator,s.inthousandseparator),scalerecursively:c,maxscalerecursion:l,scaleseparator:y};r.getValidValue(i.inthousandseparator)&&(e.baseConf._REGinthousandseparator=new RegExp(r.regescape(i.inthousandseparator),"g"));r.getValidValue(i.indecimalseparator)&&(e.baseConf._REGindecimalseparator=new RegExp(r.regescape(i.indecimalseparator)));e.Y=[];
27f={cacheStore:[],formatnumber:i.formatnumber,formatnumberscale:i.formatnumberscale,forcenumberscale:i.forcenumberscale,defaultnumberscale:i.defaultnumberscale,numberscaleunit:i.numberscaleunit.concat(),numberscalevalue:i.numberscalevalue.concat(),numberprefix:i.numberprefix,numbersuffix:i.numbersuffix,decimalprecision:i.decimalprecision,forcedecimals:i.forcedecimals,decimalseparator:i.decimalseparator,thousandseparator:i.thousandseparator,thousandseparatorposition:i.thousandseparatorposition,indecimalseparator:i.indecimalseparator,inthousandseparator:i.inthousandseparator,scalerecursively:c,maxscalerecursion:l,scaleseparator:y};a.useScaleRecursively&&(f.numberscalevalue&&f.numberscalevalue.length)==(f.numberscaleunit&&f.numberscaleunit.length)||(f.scalerecursively=c=0);o={cacheStore:[],formatnumber:f.formatnumber,formatnumberscale:f.formatnumberscale,forcenumberscale:f.forcenumberscale,defaultnumberscale:f.defaultnumberscale,numberscaleunit:f.numberscaleunit.concat(),numberscalevalue:f.numberscalevalue.concat(),numberprefix:f.numberprefix,numbersuffix:f.numbersuffix,decimalprecision:parseInt(r.pluck(t.yaxisvaluedecimals,f.decimalprecision,2),10),forcedecimals:r.pluck(t.forceyaxisvaluedecimals,f.forcedecimals),decimalseparator:f.decimalseparator,thousandseparator:f.thousandseparator,thousandseparatorposition:f.thous
27andseparatorposition.concat(),indecimalseparator:f.indecimalseparator,inthousandseparator:f.inthousandseparator,scalerecursively:c,maxscalerecursion:l,scaleseparator:y};h={cacheStore:[],formatnumber:r.pluck(t.sformatnumber,u.sformatnumber),formatnumberscale:r.pluck(t.sformatnumberscale,u.sformatnumberscale),forcenumberscale:r.pluck(t.sforcenumberscale,u.sforcenumberscale),defaultnumberscale:r.getFirstValue(t.sdefaultnumberscale,f.defaultnumberscale),numberscaleunit:r.pluck(w,u.snumberscaleunit).concat(),numberscalevalue:r.pluck(rt,u.snumberscalevalue).concat(),numberprefix:r.getFirstValue(t.snumberprefix,u.snumberprefix),numbersuffix:r.getFirstValue(t.snumbersuffix,u.snumbersuffix),decimalprecision:parseInt(r.pluck(t.syaxisvaluedecimals,t.sdecimals,t.decimals,u.sdecimals),10),forcedecimals:r.pluck(t.forcesyaxisvaluedecimals,t.sforcedecimals,t.forcedecimals,u.sforcedecimals),decimalseparator:r.pluck(t.decimalseparator,u.decimalseparator),thousandseparator:r.pluck(t.thousandseparator,u.thousandseparator),thousandseparatorposition:f.thous
27andseparatorposition.concat(),indecimalseparator:r.pluck(t.indecimalseparator,u.indecimalseparator),inthousandseparator:r.pluck(t.inthousandseparator,u.inthousandseparator),scalerecursively:ft,maxscalerecursion:lt,scaleseparator:vt};(v=r.extend2({},h)).decimalprecision=parseInt(r.pluck(t.sdecimals,t.decimals,t.syaxisvaluedecimals,u.sdecimals),10);v.forcedecimals=r.pluck(t.sforcedecimals,t.forcedecimals,t.forcesyaxisvaluedecimals,u.sforcedecimals);v.cacheStore=[];a.useScaleRecursively&&(h.numberscalevalue&&h.numberscalevalue.length)==(h.numberscaleunit&&h.numberscaleunit.length)||(h.scalerecursively=ft=0);/^(bubble|scatter|selectscatter|zoomscatter)$/gi.test(pt)&&(o.formatnumber=r.pluck(t.yformatnumber,o.formatnumber),o.formatnumberscale=r.pluck(t.yformatnumberscale,o.formatnumberscale),o.forcenumberscale=r.pluck(t.yforcenumberscale,o.forcenumberscale),o.defaultnumberscale=r.getFirstValue(t.ydefaultnumberscale,o.defaultnumberscale),o.numberscaleunit=r.pluck(d,o.numberscaleunit),o.numberscalevalue=r.pluck(tt,o.numberscalevalue),o.numberprefix=r.pluck(t.ynumberprefix,o.numberprefix),o.numbersuffix=r.pluck(t.ynumbersuffix,o.numbersuffix),f.formatnumber=r.pluck(t.yformatnumber,f.formatnumber),f.formatnumberscale=r.pluck(t.yformatnumberscale,f.formatnumberscale),f.forcenumberscale=r.pluck(t.yforcenumberscale,f.forcenumberscale),f.defaultnumberscale=r.getFirstValue(t.ydefaultnumberscale,f.defaultnumberscale),f.numberscaleunit=r.pluck(t.ynumberscaleunit,f.numberscaleunit.concat()),f.numberscalevalue=r.pluck(t.ynumberscalevalue,f.numberscalevalue.concat()),f.numberprefix=r.pluck(t.ynumberprefix,f.numberprefix),f.numbersuffix=r.pluck(t.ynumbersuffix,f.numbersuffix));/^(pie2d|pie3d|doughnut2d|doughnut3d|marimekko|pareto2d|pareto3d)$/.test(pt)&&(f.decimalprecision=r.pluck(t.decimals,"2"));c&&(f.numberscalevalue.push(1),f.numberscaleunit.unshift(f.defaultnumberscale),o.numberscalevalue.push(1),o.numberscaleunit.unshift(o.defaultnumberscale));ft&&(h.numberscalevalue.push(1),h.numberscaleunit.unshift(h.defaultnumberscale),v.numberscalevalue.push(1),v.numberscaleunit.unshift(v.defaultnumberscale));e.Y[0]={yAxisLabelConf:o,dataLabelConf:f};e.Y[1]={yAxisLabelConf:h,dataLabelConf:v};e.paramLabels=f;e.param1=o;e.param2=h;e.paramLabels2=v;e.paramX={cacheStore:[],formatnumber:r.pluck(t.xformatnumber,i.formatnumber),formatnumberscale:r.pluck(t.xformatnumberscale,i.formatnumberscale),forcenumberscale:r.pluck(t.xforcenumberscale,i.forcenumberscale),defaultnumberscale:r.getFirstValue(t.xdefaultnumberscale,i.defaultnumberscale),numberscaleunit:r.pluck(b,i.numberscaleunit.concat()),numberscalevalue:r.pluck(g,i.numberscalevalue.concat()),numberprefix:r.pluck(t.xnumberprefix,i.numberprefix),numbersuffix:r.pluck(t.xnumbersuffix,i.numbersuffix),decimalprecision:parseInt(r.pluck(t.xaxisvaluedecimals,t.xaxisvaluesdecimals,i.decimalprecision,2),10),forcedecimals:r.pluck(t.forcexaxisvaluedecimals,0),decimalseparator:i.decimalseparator,thousandseparator:i.thousandseparator,thousandseparatorposition:i.thousandseparatorposition.concat(),indecimalseparator:i.indecimalseparator,inthousandseparator:i.inthousandseparator,scalerecursively:et,maxscalerecursion:at,scaleseparator:yt};e.paramLegend=r.extend2(r.extend2({},i),{cacheStore:[],decimalprecision:parseInt(r.pluckNumber(t.legendvaluedecimals,i.decimalprecision,2),10),forcedecimals:r.pluckNumber(t.legendvalueforcedecimals,i.forcedecimals,0),formatnumberscale:r.pluck(t.legendvalueformatnumberscale,i.formatnumberscale),forcenumberscale:r.pluck(t.legendvalueforcenumberscale,i.forcenumberscale),formatnumber:r.pluck(t.legendvalueformatnumber,i.formatnumber)});c&&(e.paramLegend.numberscalevalue.push(1),e.paramLegend.numberscaleunit.unshift(e.paramLegend.defaultnumberscale));a.useScaleRecursively&&(e.paramX.numberscalevalue&&e.paramX.numberscalevalue.length)==(e.paramX.numberscaleunit&&e.paramX.numberscaleunit.length)||(e.paramX.scalerecursively=et=0);et&&(e.paramX.numberscalevalue.push(1),e.paramX.numberscaleunit.unshift(e.paramX.defaultnumberscale));e.paramScale={cacheStore:[],formatnumber:r.pluck(t.tickformatnumber,i.formatnumber),formatnumberscale:r.pluck(t.t
27ickformatnumberscale,i.formatnumberscale),forcenumberscale:r.pluck(t.tickforcenumberscale,i.forcenumberscale),defaultnumberscale:r.getFirstValue(t.tickdefaultnumberscale,i.defaultnumberscale),numberscaleunit:r.pluck(k,i.numberscaleunit.concat()),numberscalevalue:r.pluck(nt,i.numberscalevalue.concat()),numberprefix:r.pluck(t.ticknumberprefix,i.numberprefix),numbersuffix:r.pluck(t.ticknumbersuffix,i.numbersuffix),decimalprecision:parseInt(r.pluck(t.tickvaluedecimals,i.decimalprecision,"2"),10),forcedecimals:r.pluck(t.forcetickvaluedecimals,i.forcedecimals,0),decimalseparator:i.decimalseparator,thousandseparator:i.thousandseparator,thousandseparatorposition:i.thousandseparatorposition.concat(),indecimalseparator:i.indecimalseparator,inthousandseparator:i.inthousandseparator,scalerecursively:c,maxscalerecursion:l,scaleseparator:y};c&&(e.paramScale.numberscalevalue.push(1),e.paramScale.numberscaleunit.unshift(e.paramScale.defaultnumberscale));e.timeConf={inputDateFormat:r.pluck(t.inputdateformat,t.dateformat,"mm/dd/yyyy"),outputDateFormat:r.pluck(t.outputdateformat,t.inputdateformat,t.dateformat,"mm/dd/yyyy"),days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],daySuffix:["","st","nd","rd","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","th","st","nd","rd","th","th","th","th","th","th","th","st"]};e.cleaneValueCacheStore={};e.percentStrCacheStore={}},n.prototype.dispose=function(){var n=this;n.Y&&delete n.Y;n.cleaneValueCacheStore&&delete n.cleaneValueCacheStore;n.percentStrCacheStore&&delete n.percentStrCacheStore;n.paramLabels&&delete n.paramLabels;n.param1&&delete n.param1;n.param2&&delete n.param2;n.paramLabels2&&delete n.paramLabels2;n.csConf&&delete n.csConf;n.chart&&delete n.chart;n.baseConf&&delete n.baseConf;n.timeConf&&delete n.timeConf;n.paramX&&delete n.paramX;n.paramScale&&delete n.paramScale},n.prototype.parseMLAxisConf=function(n,t){var i,y,p,e,o,s,c,v,f=this.baseConf,b=this.csConf,l=r.pluckNumber(n.scalerecursively,f.scalerecursively),a=r.pluckNumber(n.maxscalerecursion,f.maxscalerecursion),w=r.getValidValue(n.scaleseparator,f.scaleseparator);if(t=r.pluckNumber(t,this.Y.length),r.getValidValue(n.numberscaleunit)&&(y=n.numberscaleunit.split(",")),r.getValidValue(n.numberscalevalue)&&(p=n.numberscalevalue.split(",")),a||(a=-1),r.getValidValue(n.thousandseparatorposition))for(s=(o=n.thousandseparatorposition.split(",")).length,v=u.thousandseparatorposition[0];s--;)(c=r.pluckNumber(h(o[s])))?v=c:c=v,o[s]=c;i={cacheStore:[],formatnumber:r.pluck(n.formatnumber,f.formatnumber),formatnumberscale:r.pluck(n.formatnumberscale,f.formatnumberscale),forcenumberscale:r.pluck(n.forcenumberscale,f.forcenumberscale),defaultnumberscale:r.getFirstValue(n.defaultnumberscale,f.defaultnumberscale),numberscaleunit:r.pluck(y,f.numberscaleunit).concat(),numberscalevalue:r.pluck(p,f.numberscalevalue).concat(),numberprefix:r.getFirstValue(n.numberprefix,f.numberprefix),numbersuffix:r.getFirstValue(n.numbersuffix,f.numbersuffix),forcedecimals:r.pluck(n.forcedecimals,f.forcedecimals),decimalprecision:parseInt("auto"===n.decimals?b.decimalprecision:r.pluck(n.decimals,f.decimalprecision),10),decimalseparator:r.pluck(n.decimalseparator,f.decimalseparator),thousandseparator:r.pluck(n.thousandseparator,f.thousandseparator),thousandseparatorposition:r.pluck(o,f.thousandseparatorposition),indecimalseparator:r.getFirstValue(n.indecimalseparator,f.indecimalseparator),inthousandseparator:r.getFirstValue(n.inthousandseparator,f.inthousandseparator),scalerecursively:l,maxscalerecursion:a,scaleseparator:w};this.useScaleRecursively&&(i.numberscalevalue&&i.numberscalevalue.length)==(i.numberscaleunit&&i.numberscaleunit.length)||(i.scalerecursively=l=0);e={cacheStore:[],formatnumber:i.formatnumber,formatnumberscale:i.formatnumberscale,forcenumberscale:i.forcenumberscale,defaultnumberscale:i.defaultnumberscale,numberscaleunit:i.numberscaleunit.concat(),numberscalevalue:i.numberscalevalue.concat(),numberprefix:i.numberprefix,numbersuffix:i.numbersuffix,decimalprecision:parseInt(r.pluck(n.yaxisvaluedecimals,i.decimalprecision,2),10),forcedecimals:r.pluck(n.forceyaxisvaluedecimals,i.forcedecimals),decimalseparator:i.decimalseparator,thous
27andseparator:i.thousandseparator,thousandseparatorposition:i.thousandseparatorposition.concat(),indecimalseparator:i.indecimalseparator,inthousandseparator:i.inthousandseparator,scalerecursively:l,maxscalerecursion:a,scaleseparator:w};l&&(i.numberscalevalue.push(1),i.numberscaleunit.unshift(i.defaultnumberscale),e.numberscalevalue.push(1),e.numberscaleunit.unshift(e.defaultnumberscale));this.Y[t]={dataLabelConf:i,yAxisLabelConf:e}},n.prototype.percentValue=function(n){var i,t=this.percentStrCacheStore[n];return void 0===t&&(i=isNaN(this.paramLabels.decimalprecision)?"2":this.paramLabels.decimalprecision,t=this.percentStrCacheStore[n]=o(e(n,i,this.paramLabels.forcedecimals),this.paramLabels.decimalseparator,this.paramLabels.thousandseparator,this.paramLabels.thousandseparatorposition)+"%"),t},n.prototype.yAxisPercentValue=function(n,t){window.th=this;var r,u,i=this.Y[t]||(t?this.Y[1]:this.Y[0]);return void 0===(r=(i=i&&i.yAxisLabelConf||this.baseConf).cacheStore[n])&&(u=isNaN(i.decimalprecision)?"2":i.decimalprecision,r=i.cacheStore[n]=o(e(n,u,i.forcedecimals),i.decimalseparator,i.thousandseparator,i.thousandseparatorposition)+"%"),r},n.prototype.getCleanValue=function(n,t){var i,r=this.cleaneValueCacheStore[n];return(void 0===r||t)&&(i=a(n,this.baseConf),this.cleaneValueCacheStore[n]=r=isNaN(i)?null:t?h(i):i),r},n.prototype.dataLabels=function(n,t){var r,i=this.Y[t]||(t?this.Y[1]:this.Y[0]);return void 0===(r=(i=i&&i.dataLabelConf||this.baseConf).cacheStore[n])&&(r=i.cacheStore[n]=f(n,i)),r},n.prototype.formatValue=function(n){var t,i=this.baseConf;return void 0===(t=i.cacheStore[n])&&(t=i.cacheStore[n]=f(n,i)),t},n.prototype.yAxis=function(n,t){var r,i=this.Y[t]||(t?this.Y[1]:this.Y[0]);return void 0===(r=(i=i&&i.yAxisLabelConf||this.baseConf).cacheStore[n])&&(r=i.cacheStore[n]=f(n,i,!0)),r},n.prototype.xAxis=function(n){var t=this.paramX.cacheStore[n];return void 0===t&&(t=this.paramX.cacheStore[n]=f(n,this.paramX,!0)),t},n.prototype.sYAxis=function(n){var i,t=this.Y[1];return void 0===(i=(t=t&&t.yAxisLabelConf||this.baseConf).cacheStore[n])&&(i=t.cacheStore[n]=f(n,t)),i},n.prototype.scale=function(n){var t=this.paramScale.cacheStore[n];return void 0===t&&(t=this.paramScale.cacheStore[n]=f(n,this.paramScale)),t},n.prototype.legendValue=function(n){var t=this.paramLegend.cacheStore[n];return void 0===t&&(t=this.paramLegend.cacheStore[n]=f(n,this.paramLegend)),t},n.prototype.legendPercentValue=function(n){var r,i=this.percentStrCacheStore[n],t=this.paramLegend;return void 0===i&&(r=isNaN(t.decimalprecision)?"2":t.decimalprecision,i=this.percentStrCacheStore[n]=o(e(n,r,t.forcedecimals),t.decimalseparator,t.thousandseparator,t.thousandseparatorposition)+"%"),i},n.prototype.getDateValue=function(n){var i,t,u,f,e;return n&&!/\//.test(this.timeConf.inputDateFormat)&&(n=n.replace(new RegExp(this.timeConf.inputDateFormat.replace(/[a-z]/gi,"").slice(0,1),"g"),"/")),n=/^dd/.test(this.timeConf.inputDateFormat)&&n&&n.replace(/(\d{1,2})\/(\d{1,2})\/(\d{2,4})/,"$2/$1/$3")||n,!(e=(i=new Date(n)).getTime())&&n&&/\:/.test(n)&&(n=n.split(":"),t=r.pluckNumber(n[0],0),u=r.pluckNumber(n[1],0),f=r.pluckNumber(n[2],0),t=t>23?24===t&&0===u&&0===f?t:23:t,u=u>59?59:u,f=f>59?59:f,(i=new Date).setHours(t),i.setMinutes(u),i.setSeconds(f),e=i.getTime()),{ms:e,date:i}},n.prototype.getFormattedDate=function(n,t){var f="object"===(void 0===n?"undefined":y(n))&&n||new Date(n),u=this.timeConf,i=r.pluck(t,u.outputDateFormat),l=f.getFullYear(),h=f.getMonth(),a=f.getDate(),c=f.getDay(),o=f.getMinutes(),s=f.getSeconds(),e=f.getHours();return o=o>9?""+o:"0"+o,s=s>9?""+s:"0"+s,e=e>9?""+e:"0"+e,i.match(/dnl/)&&(i=i.replace(/dnl/gi,u.days[c])),i.match(/dns/)&&(i=i.replace(/dns/gi,u.days[c]&&u.days[c].substr(0,3))),i.match(/dd/)&&(i=i.replace(/dd/gi,a)),i.match(/mnl/)&&(i=i.replace(/mnl/gi,u.months[h])),i.match(/mns/)&&(i=i.replace(/mns/gi,u.months[h]&&u.months[h].substr(0,3))),i.match(/mm/)&&(i=i.replace(/mm/gi,h+1)),i.match(/yyyy/)&&(i=i.replace(/yyyy/gi,l)),i.match(/yy/)&&(i=i.replace(/yy/gi,(l%1e3%100+"").replace(/^(\d)$/,"0$1"))),i.match(/hh12/)&&(i=i.replace(/hh12/gi,e%12||12)),i.match(/hh/)&&(i=i.replace(/hh/gi,e)),i.match(/mn/)&&(i=i.replace(/mn/gi,o)),i.match(/ss/)&&(i=i.replace(/ss/gi,s)),i.match(/ampm/)&&(i=i.replace(/ampm/gi,e<12?"AM":"PM")),i.match(/ds/)&&(i=i.replace(/ds/gi,u.daySuffix[a])),i},n}();f=function(n,t,i){var u,a,s,v,h,w,y,f,b,p,c;if(null!==n){if(u=(n=Number(n))+"",a=1==t.formatnumberscale?t.defaultnumberscale:"",p=(b=u.split(".")[1])?b.length:t.forcedecimals?"2":"",1==t.formatnumberscale&&(u=(c=l(n,t.defaultnumberscale,t.numberscalevalue,t.numberscaleunit,t.scalerecursively,t.forcenumberscale)).value,n=c.value,a=c.scale),t.scalerecursively&&0!==t.formatnumberscale&&"0"!==t.formatnumberscale){if(s=c.value,v=c.scale,h=-1==t.maxscalerecursion?s.length:Math.min(s.length,t.maxscalerecursion),1==t.formatnumber)for(u="",f=0;f<h;f++)y=(w=0===f?s[f]:Math.abs(s[f]))+"",f==h-1&&(y=e(w,r.pluck(t.decimalprecision,p),t.forcedecimals)),u=u+o(y,t.decimalseparator,t.thousandseparator,t.thousandseparatorposition)+v[f]+(f<h-1?t.scaleseparator:"");else for(u="",f=0;f<h;f++)u=u+(0===f?s[f]:Math.abs(s[f])+"")+v[f]+(f<h-1?t.scaleseparator:"");u=(t.numberprefix||"")+u+(t.numbersuffix||"")}else 1==t.formatnumber&&(u=e(n,r.pluck(t.decimalprecision,p),t.forcedecimals),u=o(u,t.decimalseparator,t.thousandseparator,t.thousandseparatorposition,i)),u=(t.numberprefix||"")+u+a+(t.numbersuffix||"");return u}};l=function(n,t,i,u,f,e){var y,v,h,l,a={},p=t,o=0,s=[],c=[];if(e=r.pluckNumber(e)||0,f){for(y=r.pluckNumber(i[0])||1e3,o=0;o<i.length;
27o++){if(h=r.pluckNumber(i[o])||1e3,!(Math.abs(Number(n))>=h&&o<i.length-1)){0===o&&""===t&&e?(n=Number(n)/y,s.push(n),c.push(u[1]||"")):(1===o&&""===t&&e?(v=n+(s.length?s.pop():0),c.pop(),s.push(v)):s.push(n),c.push(u[o]));break}n=(n-(l=n%h))/h;0===o&&0!==l&&""===u[o]&&e?(s.push(l/y),c.push(u[1]||"")):0!==l&&(1===o&&""===t&&e?(v=l+(s.length?s.pop():0),c.pop(),s.push(v)):s.push(l),c.push(u[o]))}s.reverse();c.reverse();a.value=s;a.scale=c}else{if(i.length===u.length)for(o=0;o<i.length;o++){if(!((h=r.pluckNumber(i[o])||1e3)&&Math.abs(Number(n))>=h)){0===o&&""===t&&e&&(p=u[0]||"",n=Number(n)/h);break}p=u[o]||"";n=Number(n)/h}a.value=n;a.scale=p}return a};e=function(n,t,i){var u,r,e,f;if(t<=0)return s(n)+"";if(isNaN(t))return(n+="").length>12&&-1!=n.indexOf(".")&&(t=12-n.split(".")[0].length,u=c(10,t),n=r=s(n*u)/u+""),n;if(u=c(10,t),r=s(n*u)/u+"",1==i)for(-1==r.indexOf(".")&&(r+=".0"),e=t-r.split(".")[1].length,f=1;f<=e;f++)r+="0";return r};o=function(n,t,i,r,u){var y,o,c,e,s=Number(n),l="",p=!1,h="",f="",a=0,v=0;if(isNaN(s))return"";if(s>1e15)return y=u?1:14,s.toExponential(y);if(a=0,v=n.length,-1!=n.indexOf(".")&&(l=n.substring(n.indexOf(".")+1,n.length),v=n.indexOf(".")),s<0&&(p=!0,a=1),(o=(h=n.substring(a,v)).length)<(e=r[c=r.length-1]))f=h;else for(;o>=e;)f=(o-e?i:"")+h.substr(o-e,e)+f,(o-=e)<(e=(c-=1)<=0?r[0]:r[c])&&(f=h.substring(o,0)+f);return""!=l&&(f=f+t+l),!0===p&&(f="-"+f),f};a=function(n,t){return n+="",t._REGinthousandseparator&&(n=n.replace(t._REGinthousandseparator,"")),t._REGindecimalseparator&&(n=n.replace(t._REGindecimalseparator,".")),n=parseFloat(n),isFinite(n)?n:NaN};t["default"]=p},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(149),u=(r=f)&&r.__esModule?r:{"default":r};u["default"].stopPartialEventPropagation=!0;u["default"]._stopabsolutePath=!0;t["default"]={extension:u["default"],name:"redraphael",type:"plugin"}},function(n,t,i){"use strict";(function(n){function nu(n){return n&&n.__esModule?n:{"default":n}}function r(n){var t,u,i;return r._url===undefined&&(r._url=f),r.is(n,ti)?ar?n():e["default"].on("raphael.DOMload",n):r.is(n,ft)?r._engine.create[ut](r,n.splice(0,3+r.is(n[0],y))).add(n):(u=l.getArrayCopy(arguments),t=Array.prototype.slice.call(u,0),r.is(t[t.length-1],ti)?(i=t.pop(),ar?i.call(r._engine.create[ut](r,t)):e["default"].on("raphael.DOMload",function(){i.call(r._engine.create[ut](r,t))})):r._engine.create[ut](r,arguments))}function gt(n){this._comparator=n;this._elements=[]}function ki(){return this.hex}function gu(n,t){for(var i,f=[],r=0,u=n.length;u-2*!t>r;r+=2)i=[{x:+n[r-2],y:+n[r-1]},{x:+n[r],y:+n[r+1]},{x:+n[r+2],y:+n[r+3]},{x:+n[r+4],y:+n[r+5]}],t?r?u-4===r?i[3]={x:+n[0],y:+n[1]}:u-2===r&&(i[2]={x:+n[0],y:+n[1]},i[3]={x:+n[2],y:+n[3]}):i[0]={x:+n[u-2],y:+n[u-1]}:u-4===r?i[3]=i[2]:r||(i[0]={x:+n[r],y:+n[r+1]}),f.push(["C",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y]);return f}function nf(n,t,i,r,u){return n*(n*(-3*t+9*i-9*r+3*u)+6*t-12*i+6*r)-3*t+3*i}function sr(n,t,i,r,u,f,e,o,s){null==s&&(s=1);for(var c=(s=s>1?1:s<0?0:s)/2,p=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],w=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],l=0,h=0;h<12;h++){var a=c*p[h]+c,v=nf(a,n,i,u,e),y=nf(a,t,r,f,o);l+=w[h]*at(v*v+y*y)}return c*l}function oi(n,t,i,r,u,f){null!=n?(this.a=+n,this.b=+t,this.c=+i,this.d=+r,this.e=+u,this.f=+f):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function hf(){return this.x+b+this.y+b+this.width+" Ã "+this.height}function co(n,t,i,r,u,f){function l(n){return((h*n+o)*n+e)*n}var e=3*t,o=3*(r-t)-e,h=1-e-o,s=3*i,c=3*(u-i)-s,a=1-s-c;return function(n,t){var i=function(n,t){for(var r,u,f,c,i=n,s=0;s<8;s++){if(f=l(i)-n,it(f)<t)return i;if(it(c=(3*h*i+2*o)*i+e)<1e-6)break;i-=f/c}if(u=1,(i=n)<(r=0))return r;if(i>u)return u;for(;r<u;){if(f=l(i),it(f-n)<t)return i;n>f?r=i:u=i;i=(u-r)/2+r}return i}(n,t);return((a*i+c)*i+s)*i}(n,1/(200*f))}function wt(n,t){var i=[],u={},r;if(this.ms=t,this.times=1,n){for(r in n)n[st](r)&&(u[v(r)]=n[r],i.push(v(r)));i.sort(we)}this.anim=u;this.top=i[i.length-1];this.percents=i}function ao(n,t,i){function y(n){var s,t=0,e=0,h=0,r=[],u={},l=0,w=0,a=0,v=0,y=0,p=0,o={f1:.5,f2:.5};for(1===n.length&&(n[0]===c&&(n[0]="rgba(0,0,0,0)"),n.unshift(0),n.defaultAngleSet=!0),isNaN(n[0])?~"rx".indexOf(n[0].charAt(0))?(n.isRadial=!0,v=1,-1!==n[0].indexOf(")")&&(v=n[0].indexOf(")"),y=n[0].indexOf("(")+1,p=v,r=n[0].substr(y,p-y).split(","),o.f1=parseFloat(r[0])||0,o.f2=parseFloat(r[1])||0,~r[2].indexOf("%")&&(r[2]=parseFloat(r[2])/100),o.f3=parseFloat(r[2])||0,o.f4=parseFloat(r[3])||0,o.f5=parseFloat(r[4])||0,o.f6=r[5]),n[0]=n[0].substr(p+1),n.unshift(o)):n[0]=0:n[0]=+n[0],t=1,e=n.length;t<e;++t)r=n[t].split(":"),u=i(r[0]),n[t]={},n[t].r=u.r,n[t].g=u.g,n[t].b=u.b,n[t].opacity=u.opacity,n[t].opacity=+n[t].opacity,isNaN(n[t].opacity)&&(n[t].opacity=1),n[t].position=+r[1];if(n.sort(function(n,t){return"number"==typeof n||n.f1?-1:"number"==typeof t||n.f2?1:isNaN(n.position)&&isNaN(t.position)?0:isNaN(n.position)?-1:isNaN(t.position)?1:n.position-t.position}),0!=+n[1].position)if(isNaN(n[1].position))n[1].position=0;else{for(s in u={},n[1])u[s]=n[1][s];for(u.position=0,n.push({}),t=n.length-1;1!==t;--t)n[t]=n[t-1];n[1]=u}if(100!==n[e=n.length-1].position)if(isNaN(n[e].position))n[e].position=100;else{for(s in u={},n[e])u[s]=n[e][s];u.position=100;n.push(u)}for(t=2,e=n.length;t<e;++t)if(!n[t].position){for(l=n[t-1].position,a=1,h=t+1;h<e;++h)if(++a,!isNaN(n[h].position)){w=+n[h].position;break}n[t].position=l+(w-l)/a}return n.getColorAtPosition=function(n){for(var r=-1,u=this.length,t=1,s=this.length,i=0,o=f,e={r:0,g:0,b:0};t<s-1;++t)if(this[t].position<=n&&(r=t,u=t+1),!(this[t].position<n)&&this[t].position>=n){u=t;break}for(o in i=(n-this[r].position)/(this[u].position-this[r].position),isNaN(i)&&(i=0),e)e[o]=hi((1-i)*this[r][o]+i*this[u][o]);return e.position=n,e.opacity=(1-i)*this[r].opacity+i*this[u].opacity,e},n}var u,e,r=0,h=0,l=[],a=[],v={},o=0,s=[];if(n=n.constructor===Array?n[0]:n,t=t.constructor===Array?t[0]:t,u=n.split("-"),e=t.split("-"),1===u.length&&1===e.length)return[n,t];for(u=y(u),e=y(e),!u.defaultAngleSet&&e.defaultAngleSet&&(e[0]=u[0]),!e.defaultAngleSet&&u.defaultAngleSet&&(u[0]=e[0]),yf(u,e),r=1,h=u.length;r<h;++r)o=u[r].position,s.push(o);for(r=1,h=e.length;r<h;++r)o=e[r].position,-1===s.indexOf(o)&&s.push(o);for(s.push(0),s.sort(function(n,t){return n-t}),l=[u[0]],r=1,h=s.length;r<h;++r)o=s[r],v=u.getColorAtPosition(o),l.push(v);for(a=[e[0]],r=1,h=s.length;r<h;++r)o=s[r],v=e.getColorAtPosition(o),a.push(v);return l.isRadial=u.isRadial,a.isRadial=e.isRadial,[l,a]}function vo(n,t){function h(n){var i=[],t=0,r=n.length;if((void 0===n?"undefined":ir(n))===ni)return n;for(t=0;t<r;++t){if(!n[t].join)return;t&&n[t+1]&&"M"===n[t+1][0]&&"M"===n[t][0]||i.push(n[t].join(b))}for(t=0,r=(i=(i=i.join(f)).split(/[Mm]/).slice(1)).length;t<r;++t)i[t]="M"+i[t];return i}function v(n){for(var t=0,r=[],i=(n=n||[]).length,t=0;t<i;++t)n[t].length-1&&r.push(n[t].join(b));return r.join(f)}function y(n,t){for(var i=n.length;i---1&&n[i].slice(1).toString()===n[i-1].slice(1).toString();)n.pop();1===n.length&&t&&(n.length=0)}function p(n,t){for(var o,r=[],u=[],f=n.length,i=0,s=0,e=0,h=0,c=t-f;c>=0;)i=n.length-1,n.push(n.slice(i)[0]),--c;for(f=n.length,i=0;i<=t;++i)u.push(Math.round(i/t*f));for(i=0,o=u.length-1;i<o;++i)r.push(n.slice(u[i],u[i+1])),"M"!==r[i][0][0]&&r[i][0][0]!==wi&&(e=r[i-1].length-1,s=r[i-1][e][1],h=r[i-1][e][2],r[i].unshift(["M",s,h]));return r}
vendor: 2,626 bytes, line 27
27var o,c=[],l=[],r=h(n),u=h(t),i=0,e=0,a=document.createElementNS&&document.createElementNS.bind(document),s=a&&a("http://www.w3.org/2000/svg","path");if(!r||!u||!s)return[n,t];if(function(n,t){function o(n){for(var t=n.length;t---1&&n[t].join(f)===n[t-1].join(f);)n.pop()}function h(n){for(var i=f,t=0,r=n.length;t<r;++t)i+=n[t].join(b);return i}var i,r,u=f,e=f;return(s.setAttribute("d","M300 10 L300 300 C50 310,50 640,350 650C600 640,600 310,400 300 L400 10 L295 10"),i=s.getTotalLength(),r=s.getPointAtLength(10),i<1829.1||i>1829.2)?!0:300!==Math.round(r.x)||20!==Math.round(r.y)?!0:(o(n),o(t),u=h(n),e=h(t),u.split(/[Mm]/).length>2||e.split(/[Mm]/).length>2)?!1:n.length===t.length?!0:!1}(n,t))return[n,t];if(!n||!t)return[n,t];if(!document.createElementNS)return[n,t];if(r=h(n),u=h(t),-1!==r.join().indexOf("undefined"))return[n,t];if(-1!==u.join().indexOf("undefined"))return[n,t];if(!s.getTotalLength||!s.getPointAtLength)return[n,t];for(e=Math.max(r.length,u.length),i=0;i<e;++i)o=pf(r[i],u[i]),r[i]=o[0],u[i]=o[1];for(i=r.length;i--;)y(r[i],i),r[i].length||r.pop();for(i=u.length;i--;)y(u[i],i),u[i].length||u.pop();for(function(n){var e,i=[],o=[],f=[],t=0,s=!0;if(0!==n){for(n>0?(i=u,s=!1):(n=-n,i=r),t=0,e=i.length;t<e;++t)o.push(1);for(;n--;)--t<0&&(t=e-1),o[t]++;for(t=0;t<e;++t)1===o[t]?f.push(i[t]):f.push.apply(f,p(i[t],o[t]));s?r=f:u=f}}(r.length-u.length),e=Math.max(r.length,u.length),i=0;i<e;++i)o=pf(v(r[i]),v(u[i])),r[i]=o[0],u[i]=o[1];for(i=0,e=r.length;i<e;++i)c=c.concat(r[i]);for(i=0,e=u.length;i<e;++i)l=l.concat(u[i]);return[c,l]}function pf(n,t){function h(n,t){var e,o,s,h,r=0,u={},c=[],l=[],i=0,f=Math.round;for((e=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d",n),(o=document.createElementNS("http://www.w3.org/2000/svg","path")).setAttribute("d",t),s=e.getTotalLength(),h=o.getTotalLength(),i=.15*Math.max(s,h),(!(i=Math.ceil(i))||!isFinite(i)||i<10)&&(i=10),r=0;r<=i;++r)u=e.getPointAtLength(r/i*s),c.push([r?ur:g,f(u.x),f(u.y)]),u=o.getPointAtLength(r/i*h),l.push([r?ur:g,f(u.x),f(u.y)]);return[c,l]}var s,o,r,i=0,u=[],e=[];for(n&&"M "!==n||(n=t.split(b).slice(0,3).join(b).replace(/[LC]/,f)),t&&"M "!==t||(t=n.split(b).slice(0,3).join(b).replace(/[LC]/,f)),o=function(n,t){function nt(n){for(var t=0,t=0,i=(n=n.split(/[MCLmcl]/).slice(1)).length;t<i;++t)n[t]=n[t].split(b).slice(1),t||n[t].unshift("M"),t&&(2===n[t].length&&n[t].unshift(ur)||n[t].unshift("C"));return n}function tt(n,t){for(var u,i,r=0,f=n.length,r=0,f=n.length;r<f;++r)u=n[r].join(b),"C"===(i=n[r])[0]&&i[3]===i[5]&&i[4]===i[6]?n[r].stringValue=[ur,i[3],i[4]].join(b):i.stringValue=u,t[
27i.stringValue]&&t[i.stringValue].push(r),t[i.stringValue]||(t[i.stringValue]=[r])}function it(n,t,i,r,u){for(var o,f=i,e=0,s=0;f<r;++f)if(o=t[n[f].stringValue])for(e=0,s=o.length;e<s;++e)if(o[e]>=u)return{index:f,mapValue:o[e],diff:f-i};return-1}function a(n){var t=n.length-1;return["M",n[t-1],n[t]].join(b)}function w(n){return n.join(f)}var h,c,l,v,i=0,r=0,y=0,p=0,k={},d={},u=[],e=[],s=-1,o=-1,g=!0;for(n=nt(n),t=nt(t),tt(n,k),tt(t,d),h=n.length,c=t.length,i=0,r=0;i<h&&r<c;){if(++o,u[++s]=[],e[o]=[],g=n[i].stringValue===t[r].stringValue,i&&(u[s].push(a(n[i-1])),e[o].push(a(t[r-1]))),g)for(;i<h&&r<c&&n[i].stringValue===t[r].stringValue;)u[s].push(n[i].stringValue),e[o].push(t[r].stringValue),++i,++r;else{for(l=it(n,d,i,h,r),v=it(t,k,r,c,i),y=l.index,p=l.mapValue,(!~l||l.diff>v.diff)&&(y=v.mapValue,p=v.index),~l||~v||(y=h-1,p=c-1);i<=y;)u[s].push(n[i].stringValue),++i;for(;r<=p;)e[o].push(t[r].stringValue),++r}u[s]=w(u[s]);e[o]=w(e[o])}if(i<h){for(u[++s]=[],u[s].push(a(n[i-1])),e[++o]=[],e[o].push(a(t[r-1]));i<h;)u[s].push(n[i].stringValue),++i;u[s]=w(u[s])}if(r<c){for(u[++s]=[],u[s].push(a(n[i-1])),e[++o]=[],e[o].push(a(t[r-1]));r<c;)e[o].push(t[r].stringValue),++r;e[o]=w(e[o])}return[u,e]}(n,t),i=0,s=o[0].length;i<s;++i)r=h(o[0][i],o[1][i]),i?(u=u.concat(r[0].slice(1)),e=e.concat(r[1].slice(1))):(u=u.concat(r[0]),e=e.concat(r[1]));return[u,e]}function yi(n,t,i,u,f,o,l,a){var nt,p,ft,y,ii,g,ei,at,wt,rt,ri,kt,ut,ht,vt,yt,ui,ct,pt;i=v(i);var it,lt,dt,fi,gt,ti,et,ot,b=n.ms,w={},d={},k={};if(null!==t.type){if((a=a||{}).hookFn&&a.hookFn.call(t),a.from=a.from||{},u){for(p=0,ft=s.length;p<ft;p++)if(nt=s[p],nt.el.id===t.id&&nt.anim===n){nt.percent!=i?(delete nt.el.e,delete nt.el,s.splice(p,1),dt=1):lt=nt;t.attr(nt.totalOrigin);break}}else u=+d;for(p=0,ft=n.percents.length;p<ft;p++){if(n.percents[p]===i||n.percents[p]>u*n.top){i=n.percents[p];gt=n.percents[p-1]||0;b=b/n.top*(i-gt);fi=n.percents[p+1];it=n.anim[i];break}u&&t.attr(n.anim[n.percents[p]])}if(it){if(lt)lt.initstatus=u,lt.start=new Date-lt.ms*u;else{for(y in it)if(it[st](y))if(yr[st](y)||t.ca[y]){switch(w[y]=a.from[y]||t.attr(y),null==w[y]&&(w[y]=pe[y]),d[y]=it[y],ot=!1,yr[y]){case"number":((et=d[y]-w[y])||isNaN(et))&&(ot=!0);k[y]=et/b;break;case"colour":if(w[y]===d[y])break;if(ot=!0,ii=ao(w[y],d[y],r.getRGB),w[y]=ii[0],g=ii[1],(void 0===g?"undefined":ir(g))===ni)w[y].toLowerCase()!==c?(w[y]=r.getRGB(w[y]),w[y].opacity||(w[y].opacity=1)):w[y]={r:0,g:0,b:0,opacity:0},d[y].toLowerCase()!==c?(g=r.getRGB(d[y])).opacity||(g.opacity=1):g={r:0,g:0,b:0,opacity:0},k[y]={r:(g.r-w[y].r)/b,g:(g.g-w[y].g)/b,b:(g.b-w[y].b)/b,opacity:(g.opacity-w[y].opacity)/b};else for(k[y]=[],p=0,ft=w[y].length;p<ft;++p)0===p?k[y].push(g[0]):k[y].push({r:(g[p].r-w[y][p].r)/b,g:(g[p].g-w[y][p].g)/b,b:(g[p].b-w[y][p].b)/b,opacity:(g[p].opacity-w[y][p].opacity)/b});break;case"path":for(at=gi(w[y],d[y]),a.smartMorph&&(at=vo(at[0],at[1])),ei=at[1],w[y]=at[0],k[y]=[],p=0,ft=w[y].length;p<ft;p++)for(k[y][p]=[0],wt=w[y][p]?w[y][p].length:0,rt=1;rt<wt;rt++)k[y][p][rt]=(ei[p][rt]-w[y][p][rt])/b,!ot&&k[y][p][rt]&&(ot=!0);break;case"transform":if(ri=t._,kt=io(ri[y],d[y]),ot=!0,kt)for(w[y]=kt.from,d[y]=kt.to,k[y]=[],k[y].real=!0,p=0,ft=w[y].length;p<ft;p++)for(k[y][p]=[w[y][p][0]],rt=1,wt=w[y][p].length;rt<wt;rt++)k[y][p][rt]=(d[y][p][rt]-w[y][p][rt])/b;else ut=t.matrix||new oi,ht={_:{transform:ri.transform},getBBox:function(){return t.getBBox(1)}},w[y]=[ut.a,ut.b,ut.c,ut.d,ut.e,ut.f],to(ht,d[y]),d[y]=ht._.transform,k[y]=[(ht.matrix.a-ut.a)/b,(ht.matrix.b-ut.b)/b,(ht.matrix.c-ut.c)/b,(ht.matrix.d-ut.d)/b,(ht.matrix.e-ut.e)/b,(ht.matrix.f-ut.f)/b];break;case"csv":if(vt=tt(it[y])[bt](au),yt=tt(w[y])[bt](au),"clip-rect"===y)for(w[y]=yt,k[y]=[],p=yt.length;p--;)((et=vt[p]-w[y][p])||isNaN(et))&&(ot=!0),k[y][p]=et/b;d[y]=vt;break;default:for(vt=[][h](it[y]),yt=[][h](w[y]),k[y]=[],p=t.ca[y].length;p--;)((et=(vt[p]||0)-(yt[p]||0))||isNaN(et))&&(ot=!0),k[y][p]=et/b}ot||(delete w[y],delete d[y],delete it[y],delete k[y])}else(r._availableAttrs[st](y)||"text"===y||t.ca[y])&&(t.attr(y,it[y]),delete it[y]);if(ui=it.easing,ct=r.easing_formulas[ui],ct||((ct=tt(ui).match(ce))&&5===ct.length?(pt=ct,ct=function(n){return co(n,+pt[1],+pt[2],+pt[3],+pt[4],b)}):ct=be),ti=it.start||n.start||+new Date,t.e=nt={anim:n,percent:i,timestamp:ti,start:ti+(n.del||0),status:0,initstatus:u||0,stop:!1,ms:b,easing:ct,from:w,diff:k,to:d,el:t,callback:it.callback,prev:gt,next:fi,repeat:o||n.times,origin:t.attr(),totalOrigin:f,parentEl:l,delayend:a&&a.end,delaystart:a&&a.start},s.push(nt),u&&!lt&&!dt&&(nt.stop=!0,nt.start=new Date-b*u,1===s.length))return af();dt&&(nt.start=new Date-nt.ms*u);1===s.length&&(gr||r.getAnimFrameFn())(af)}e["default"]("raphael.anim.start."+t.id,t,n)}}}function wf(){for(var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this,t=void 0,n=0;n<s.length;n++)(t=s[n].el.paper)&&t!==i||s.splice(n--,1)}var rt,di,nr,tr,nt,yf,bf;t.__esModule=!0;var p,ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e=nu(i(150)),l=i(128),kf=nu(l);rt="undefined"!=typeof window?window:void 0!==n?n:null;r.upgrade="1.0.0";r.version="2.1.0";r.eve=e["default"];var ar,d,tu,iu,f="",b=" ",st="hasOwnProperty",ut="apply",h="concat",y="number",ni="string",ft="array",k="object",bt="split",c="none",ti="function",df=/R/i,gf=/trident/i.test(rt.navigator.userAgent),rr={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},ne=Array.prototype.splice,te=function(){}.hasOwnProperty("prototype"),o={doc:rt.document,win:rt},pi=o.doc,kt=o.win,ie=r.safePointerEventMapping={mouseover:"pointerover",mousedown:"pointerdown",mousemove:"pointermove",mouseup:"pointerup",mouseout:"pointerout"},ht=kt.navigator,pt=r.supportsTouch="ontouchstart"in pi||ht.maxTouchPoints||ht.msMaxTouchPoints,et=r.supportsPointer="onpointerover"in pi,ru=r.isEdge=/Edge/.test(ht.userAgent),uu=r.isIE11=/trident/i.test(ht.userAgent)&&/rv:11/i.test(ht.userAgent)&&!kt.opera,fu=r.isFirefox=/Firefox/.test(ht.userAgent),eu=r.isWindows=/Windows/.test(ht.userAgent),wi="m",g="M",ur="L",ii=[],re=/[a-z]/i,ue=function(n,t,i){var f=t.toLowerCase(),r=[],u=0;if(ii.length=0,i.replace(yu,function(n,t){t&&ii.push(+t)}),"r"===f)d.push([t][h](ii));else if("z"===f)d.push([t]);else if(ii.length>=rr[f]){for(;u<ii.length;)u%rr[f]?r.push(ii[u]):(r.length&&d.push(r)&&(r=[]),r.push(t,ii[u])),u++;d.push(r)}}
27,ou=function(){},su=(r.ca=r.customAttributes=ou.prototype,function(){this.ca=this.customAttributes=new ou;this._CustomAttributes=function(){};this._CustomAttributes.prototype=this.ca;this._elementsById={};this.id=r._oid++;e["default"]("raphael.new",this)}),a=r.fn=su.prototype=r.prototype,hu="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel dragstart dragmove dragend"[bt](b),cu={dragstart:"touchstart",dragmove:"touchmove",dragend:"touchend"},tt=String,v=kt.parseFloat,ci=kt.parseInt,w=Math,ct=w.max,ri=w.min,it=w.abs,ot=w.pow,ui=w.cos,dt=w.sin,at=w.sqrt,yt=w.round,vt=w.PI,fr=vt/180,fe=180/vt,ee=tt.prototype.toLowerCase,lu=tt.prototype.toUpperCase,oe=Object.prototype.toString,au=/[, ]+/,se=/\{(\d+)\}/g,he=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i,ce=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,vr=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,vu=/,?([achlmqrstvxz]),?/gi,le=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,ae=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,yu=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,ve={NaN:1,Infinity:1,"-Infinity":1},ye={hs:1,rg:1},pe=r._availableAttrs=((p={"arrow-end":c,"arrow-start":c,blur:0,"clip-rect":"0 0 1e9 1e9","clip-path":f,cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"about:blank","letter-spacing":0,"line-height":12,"vertical-align":"middle",opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:f,stroke:"#000","stroke-dasharray":f,"stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",visibility:f,title:f,transform:f,rotation:0,width:0,x:0,y:0,"shape-rendering":"auto",alpha:y,"font-stretch":"normal","alignment-baseline":"auto","baseline-shift":"auto","clip-rule":"nonzero",direction:"ltr","dominant-baseline":"auto","fill-rule":"nonzero",filter:c,"flood-color":"#000","flood-opacity":1,"font-size-adjust":c})["font-stretch"]="normal",p["font-variant"]="normal",p.kerning="auto",p["lighting-color"]="white",p["marker-end"]=c,p["marker-mid"]=c,p["marker-start"]=c,p.mask=c,p["pointer-events"]="visiblePainted",p["stop-color"]="#000",p["stop-opacity"]=1,p["stroke-dashoffset"]=0,p["text-decoration"]=c,p["vector-effect"]=f,p.visibility="visible",p["word-spacing"]="normal",p["writing-mode"]="lr-tb",p),yr=r._availableAnimAttrs={blur:y,"clip-rect":"csv","clip-path":"path",cx:y,cy:y,fill:"colour","fill-opacity":y,"font-size":y,height:y,opacity:y,path:"path",r:y,rx:y,ry:y,stroke:"colour","stroke-opacity":y,"stroke-width":y,transform:"transform",width:y,x:y,y:y,color:"colour",borderColor:"colour",borderWidth:y,alpha:y,"text-bound":"text-bound"},li={},we=function(n,t){return v(n)-v(t)},be=function(n){return n},pr=r._rectPath=function(n,t,i,r,u){return u?[[g,n+u,t],["l",i-2*u,0],["a",u,u,0,0,1,u,u],["l",0,r-2*u],["a",u,u,0,0,1,-u,u],["l",2*u-i,0],["a",u,u,0,0,1,-u,-u],["l",0,2*u-r],["a",u,u,0,0,1,u,-u],["z"]]:[[g,n,t],["l",i,0],["l",0,r],["l",-i,0],["z"]]},pu=function(n,t,i,r){return null==r&&(r=i),[[g,n,t],[wi,0,-r],["a",i,r,0,1,1,0,2*r],["a",i,r,0,1,1,0,-2*r],["z"]]},wu=r._getPath={group:function(){return!1},path:function(n){return n.attr("path")},circle:function(n){var t=n.attrs;return pu(t.cx,t.cy,t.r)},ellipse:function(n){var t=n.attrs;return pu(t.cx,t.cy,t.rx,t.ry)},rect:function(n){var t=n.attrs;return pr(t.x,t.y,t.width,t.height,t.r)},image:function(n){var t=n.attrs;return pr(t.x,t.y,t.width,t.height)},text:function(n){var t=n._getBBox();return pr(t.x,t.y,t.width,t.height)}},ke=r.mapPath=function(n,t){if(!t)return n;for(var f,e,i,s,r,u=0,o=(n=gi(n).slice(0)).length;u<o;u++)for(i=1,s=(r=n[u]=n[u].slice(0)).length;i<s;i+=2)f=t.x(r[i],r[i+1]),e=t.y(r[i],r[i+1]),r[i]=f,r[i+1]=e;return n},fi=r._lastArgIfGroup=function(n,t){var i=n.length-1,u=n[i];if(u&&u.constructor===r.el.constructor&&"group"===u.type)return t&&(n[i]=u
27ndefined,delete n[i],ne.call(n,i,1)),u},lt=r._serializeArgs=function(n){var e,i,t,o,u=n[0];if(r.is(u,k)&&!r.is(u,ft)&&"group"!==u.type)for(i=u,u.path&&(e=u.path)&&!r.is(e,ni)&&!r.is(e[0],ft)&&(e+=f),t=1,o=arguments.length;t<o;t+=2)i[arguments[t]]||(i[arguments[t]]=arguments[t+1]);else for(i={},t=1,o=arguments.length;t<o;t+=2)i[arguments[t]]=n[(t-1)/2]||arguments[t+1];return i},er=r.is=function(n,t){return"finite"===t?!ve[st](+n):t===ft?n instanceof Array:(t!==k||void 0!==n&&null!==n)&&("null"===t&&null===n||t===(void 0===n?"undefined":ir(n))&&null!==n||t===k&&n===Object(n)||t===ft&&Array.isArray&&Array.isArray(n)||oe.call(n).slice(8,-1).toLowerCase()===t)},bi=r.clone=te?function(n){var i,t;if(Object(n)!==n||n instanceof Function)return n;i=new n.constructor;for(t in n)"prototype"!==t&&n[st](t)&&(i[t]=bi(n[t]));return i}:function(n){var i,t;if(Object(n)!==n||n instanceof Function)return n;i=new n.constructor;for(t in n)n[st](t)&&(i[t]=bi(n[t]));return i},wr=rt.Node;wr&&!wr.prototype.contains&&(wr.prototype.contains=function(n){for(;n=n.parentNode;)if(n===this)return!0;return!1});r._g=o;r.merge=l.merge;r.extend=kf["default"];r.createUUID=(tu=/[xy]/g,iu=function(n){var t=16*w.random()|0;return("x"===n?t:3&t|8).toString(16)},function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(tu,iu).toUpperCase()});r._radial_gradient=/^x?r(?:\(([^\)]*?)\))?/;r._ISURL=/^url\(['"]?([^\)]+?)['"]?\)$/i;r.getElementID=function(n){return"rr-"+n};gt.prototype.isEmpty=function(){return 0===this.size()};gt.prototype.peek=function(){return this.isEmpty()?null:this._elements[0]};gt.prototype.deq=function(){var f=this.peek(),e=this._elements.pop(),i=this.size(),n;if(0===i)return f;for(this._elements[0]=e,n=0;n<i;){var t=n,r=2*n+1,u=2*n+2;if(r<i&&this._compare(r,t)>=0&&(t=r),u<i&&this._compare(u,t)>=0&&(t=u),t===n)break;this._swap(t,n);n=t}return f};gt.prototype.enq=function(n){for(var i,r=this._elements.push(n),t=r-1;t>0;){if(i=Math.floor((t-1)/2),this._compare(t,i)<=0)break;this._swap(i,t);t=i}return r};gt.prototype.size=function(){return this._elements.length};gt.prototype._compare=function(n,t){return this._comparator(this._elements[n],this._elements[t])};gt.prototype._swap=function(n,t){var i=this._elements[n];this._elements[n]=this._elements[t];this._elements[t]=i};r.type=kt.ENABLE_RED_CANVAS&&(kt.CanvasRenderingContext2D||pi.createElement("canvas").getContext)?"CANVAS":kt.SVGAngle||pi.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML";r.svg=!((r.vml="VML"===r.type)||(r.canvas="CANVAS"===r.type));r._Paper=su;r._id=0;r._oid=0;r.rad=function(n){return n%360*fr};r.deg=function(n){return n*fe%360};var or=function(n){var i,e,u,s,t;if(r.vml){e=/^\s+|\s+$/g;try{u=new ActiveXObject("htmlfile");u.write("<body>");u.close();i=u.body}catch(h){i=createPopup().document.body}s=i.createTextRange();or=l.cacher(function(n){try{i.style.color=tt(n).replace(e,f);var t=s.queryCommandValue("ForeColor");return"#"+("000000"+(t=(255&t)<<16|65280&t|(16711680&t)>>>16).toString(16)).slice(-6)}catch(r){return c}})}else t=o.doc.createElement("i"),t.title="Raphaël Colour Picker",t.style.display=c,o.doc.body.appendChild(t),or=l.cacher(function(n){return t.style.color=n,o.doc.defaultView.getComputedStyle(t,f).getPropertyValue("color")});return or(n)},de=function(){return"hsb("+[this.h,this.s,this.b]+")"},ge=function(){return"hsl("+[this.h,this.s,this.l]+")"},bu=function(){return this.hex},ku=function(n,t,i){if(null==t&&er(n,k)&&"r"in n&&"g"in n&&"b"in n&&(i=n.b,t=n.g,n=n.r),null==t&&er(n,ni)){var u=r.getRGB(n);n=u.r;t=u.g;i=u.b}return(n>1||t>1||i>1)&&(n/=255,t/=255,i/=255),[n,t,i]},du=function(n,t,i,u){var f={r:n*=255,g:t*=255,b:i*=255,hex:r.rgb(n,t,i),toString:bu};return er(u,"finite")&&(f.opacity=u),f};r.color=function(n){var t;return r.is(n,k)&&"h"in n&&"s"in n&&"b"in n?(t=r.hsb2rgb(n),n.r=t.r,n.g=t.g,n.b=t.b,n.hex=t.hex):r.is(n,k)&&"h"in n&&"s"in n&&"l"in n?(t=r.hsl2rgb(n),n.r=t.r,n.g=t.g,n.b=t.b,n.hex=t.hex):(r.is(n,ni)&&(n=r.getRGB(n)),r.is(n,k)&&"r"in n&&"g"in n&&"b"in n?(t=r.rgb2hsl(n),n.h=t.h,n.s=t.s,n.l=t.l,t=r.rgb2hsb(n),n.v=t.b):(n={hex:c}).r=n.g=n.b=n.h=n.s=n.v=n.l=-1),n.toString=bu,n};r.hsb2rgb=function(n,t,i,r){var e,o,s,f,u;return this.is(n,k)&&"h"in n&&"s"in n&&"b"in n&&(i=n.b,t=n.s,r=(n=n.h).o),f=(u=i*t)*(1-it((n=(n*=360)%360/60)%2-1)),e=o=s=i-u,du(e+=[u,f,0,0,f,u][n=~~n],o+=[f,u,u,f,0,0][n],s+=[0,0,f,u,u,f][n],r)};r.hsl2rgb=function(n,t,i,r){var e,o,s,f,u;return this.is(n,k)&&"h"in n&&"s"in n&&"l"in n&&(i=n.l,t=n.s,n=n.h),(n>1||t>1||i>1)&&(n/=360,t/=100,i/=100),n=(n*=360)%360/60,f=(u=2*t*(i<.5?i:1-i))*(1-it(n%2-1)),e=o=s=i-u/2,du(e+=[u,f,0,0,f,u][n=~~n],o+=[f,u,u,f,0,0][n],s+=[0,0,f,u,u,f][n],r)};r.rgb2hsb=function(n,t,i){var u,r;return n=(i=ku(n,t,i))[0],t=i[1],i=i[2],{h:((0==(r=(u=ct(n,t,i))-ri(n,t,i))?null:u===n?(t-i)/r:u===t?(i-n)/r+2:(n-t)/r+4)+360)%6/6,s:0===r?0:r/u,b:u,toString:de}}
27;r.rgb2hsl=function(n,t,i){var u,f,e,r;return n=(i=ku(n,t,i))[0],t=i[1],i=i[2],u=((f=ct(n,t,i))+(e=ri(n,t,i)))/2,{h:((0==(r=f-e)?null:f===n?(t-i)/r:f===t?(i-n)/r+2:(n-t)/r+4)+360)%6/6,s:0===r?0:u<.5?r/(2*u):r/(2-2*u),l:u,toString:ge}};r._path2string=function(){return this.join(",").replace(vu,"$1")};r._cacher=l.cacher;r.getRGB=l.cacher(function(n){var o,u,f,e,s,t,i;return n&&er(n,k)&&"opacity"in n&&(o=n.opacity),!n||(n=tt(n)).indexOf("-")+1?{r:-1,g:-1,b:-1,hex:c,error:1,toString:ki}:n===c?{r:-1,g:-1,b:-1,hex:c,toString:ki}:(!ye[st](n.toLowerCase().substring(0,2))&&"#"!==n.charAt()&&(n=or(n)),(i=n.match(he))?(i[2]&&(e=ci(i[2].substring(5),16),f=ci(i[2].substring(3,5),16),u=ci(i[2].substring(1,3),16)),i[3]&&(e=ci((s=i[3].charAt(3))+s,16),f=ci((s=i[3].charAt(2))+s,16),u=ci((s=i[3].charAt(1))+s,16)),i[4]&&(t=i[4][bt](vr),u=v(t[0]),"%"===t[0].slice(-1)&&(u*=2.55),f=v(t[1]),"%"===t[1].slice(-1)&&(f*=2.55),e=v(t[2]),"%"===t[2].slice(-1)&&(e*=2.55),"rgba"===i[1].toLowerCase().slice(0,4)&&(o=v(t[3])),t[3]&&"%"===t[3].slice(-1)&&(o/=100)),i[5]?(t=i[5][bt](vr),u=v(t[0]),"%"===t[0].slice(-1)&&(u*=2.55),f=v(t[1]),"%"===t[1].slice(-1)&&(f*=2.55),e=v(t[2]),"%"===t[2].slice(-1)&&(e*=2.55),("deg"===t[0].slice(-3)||"°"===t[0].slice(-1))&&(u/=360),"hsba"===i[1].toLowerCase().slice(0,4)&&(o=v(t[3])),t[3]&&"%"===t[3].slice(-1)&&(o/=100),r.hsb2rgb(u,f,e,o)):i[6]?(t=i[6][bt](vr),u=v(t[0]),"%"===t[0].slice(-1)&&(u*=2.55),f=v(t[1]),"%"===t[1].slice(-1)&&(f*=2.55),e=v(t[2]),"%"===t[2].slice(-1)&&(e*=2.55),("deg"===t[0].slice(-3)||"°"===t[0].slice(-1))&&(u/=360),"hsla"===i[1].toLowerCase().slice(0,4)&&(o=v(t[3])),t[3]&&"%"===t[3].slice(-1)&&(o/=100),r.hsl2rgb(u,f,e,o)):((i={r:u,g:f,b:e,toString:ki}).hex="#"+(16777216|e|f<<8|u<<16).toString(16).slice(1),r.is(o,"finite")&&(i.opacity=o),i)):{r:-1,g:-1,b:-1,hex:c,error:1,toString:ki})},r);r.tintshade=l.cacher(function(n,t){var i,u=r.getRGB(n),f=255;return t<0&&(t*=-1,f=0),t>1&&(t=1),(i=0===t?u:{r:f-(f-u.r)*t,g:f-(f-u.g)*t,b:f-(f-u.b)*t,toString:ki}).hex=r.rgb(i.r,i.g,i.b),u.error&&(i.error=u.error),"opacity"in u?(i.rgba="rgba("+[i.r,i.g,i.b,u.opacity].join(",")+")",i.opacity=u.opacity):i.rgba="rgb("+[i.r,i.g,i.b].join(",")+")",i},r);r.rgb=l.cacher(function(n,t,i){return"#"+(16777216|i|t<<8|n<<16).toString(16).slice(1)});r.sanitizePath=function(n){var t;return t=n.join?n.join(","):n,t=df.test(t)?r._pathToAbsolute(t):t.replace(vu,"$1")};r.parsePathString=function(n){var u,t,f,e,i,o;if(!n||!n.length)return null;if(u=di(n),u.arr)return ei(u.arr);if(d=void 0,r.is(n,ft))if(n=tt(n).replace(/,?([A-Z]),?/g,",$1,").replace(/(^,?)|(,?$)/g,"").replace(/,,?/g,",").split(","),r.is(n[0],ft))d=ei(n);else{for(i=[],o=n.length,d=[],t=0;t<o;t+=1)re.test(n[t])?(i.length&&d.push(i),i=[f=n[t]],e=rr[f.toLowerCase()]):e?(i.push(+n[t]),e--):n[t].length&&(d.push(i),i=[f].concat(+n[t]),e=rr[f.toLowerCase()]-1);d.push(i)}return d&&d.length||(d=[],tt(n).replace(le,ue)),d.toString=r._path2string,u.arr=d,u.arr};r.parseTransformString=l.cacher(function(n){if(!n)return null;var t=[];return r.is(n,ft)&&r.is(n[0],ft)&&(t=ei(n)),t.length||tt(n).replace(ae,function(n,i,r){var u=[];ee.call(i);r.replace(yu,function(n,t){t&&u.push(+t)});t.push([i][h](u))}),t.toString=r._path2string,t});di=l.cacher(function(){return{}},void 0,void 0,void 0,500,{},!0);r.findDotsAtSegment=function(n,t,i,r,u,f,e,o,s){var h=1-s,p=ot(h,3),b=ot(h,2),c=s*s,k=c*s,g=p*n+3*b*s*i+3*h*s*s*u+k*e,nt=p*t+3*b*s*r+3*h*s*s*f+k*o,l=n+2*s*(i-n)+c*(u-2*i+n),a=t+2*s*(r-t)+c*(f-2*r+t),v=i+2*s*(u-i)+c*(e-2*u+i),y=r+2*s*(f-r)+c*(o-2*f+r),tt=h*n+s*i,it=h*t+s*r,rt=h*u+s*e,ut=h*f+s*o,d=90-180*w.atan2(l-v,a-y)/vt;return(l>v||a<y)&&(d+=180),{x:g,y:nt,m:{x:l,y:a},n:{x:v,y:y},start:{x:tt,y:it},end:{x:rt,y:ut},alpha:d}};r._removedFactory=function(n){return function(){e["default"]("raphael.log",null,"Raphaël: you are calling to method â"+n+"â of removed object",n)}};var tf=r.pathBBox=function(n){var y=di(n),u;if(!n)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var t,f=0,e=0,i=[],r=[],o=0,p=(n=gi(n)).length;o<p;o++)(t=n[o])[0]===g?(f=t[1],e=t[2],i.push(f),r.push(e)):(u=no(f,e,t[1],t[2],t[3],t[4],t[5],t[6]),i=i[h](u.min.x,u.max.x),r=r[h](u.min.y,u.max.y),f=t[5],e=t[6]);var s=ri[ut](0,i),c=ri[ut](0,r),l=ct[ut](0,i),a=ct[ut](0,r),v={x:s,y:c,x2:l,y2:a,width:l-s,height:a-c};return y.bbox=bi(v),v},ei=function(n){var t=bi(n);return t.toString=r._path2string,t},rf=r._pathToAbsolute=function(n){var f,v=di(n),c,k;if(!v.abs){if(r.is(n,ft)&&r.is(n&&n[0],ft)||(n=r.parsePathString(n)),!n||!n.length)return(f=[[g,0,0]]).toString=r._path2string,f;var e=0,o=0,l=0,a=0,w=0;f=[];n[0][0]===g&&(l=e=+n[0][1],a=o=+n[0][2],w++,f[0]=[g,e,o]);for(var t,i,b=3===n.length&&n[0][0]===g&&"R"===n[1][0].toUpperCase()&&"Z"===n[2][0].toUpperCase(),y=w,d=n.length;y<d;y++){if(f.push(t=[]),(i=n[y])[0]!=lu.call(i[0]))switch(t[0]=lu.call(i[0]),t[0]){case"A":t[1]=i[1];t[2]=i[2];t[3]=i[3];t[4]=i[4];t[5]=i[5];t[6]=+(i[6]+e);t[7]=+(i[7]+o);break;case"V":t[1]=+i[1]+o;break;case"H":t[1]=+i[1]+e;break;case"R":for(var s=[e,o][h](i.slice(1)),u=2,p=s.length;u<p;u++)s[u]=+s[u]+e,s[++u]=+s[u]+o;f.pop();f=f[h](gu(s,b));break;case"M":l=+i[1]+e;a=+i[2]+o;default:for(u=1,p=i.length;u<p;u++)t[u]=+i[u]+(u%2?e:o),u%2?e=t[u]:o=t[u]}else if("R"===i[0])s=[e,o][h](i.slice(1)),f.pop(),f=f[h](gu(s,b)),t=["R"][h](i.slice(-2));else for(c=0,k=i.length;c<k;c++)t[c]=i[c];switch(t[0]){case"Z":e=l;o=a;break;case"H":e=t[1];break;case"V":o=t[1];break;case"M":l=t[t.length-2];a=t[t.length-1];default:e=t[t.length-2];o=t[t.length-1]}}f.toString=r._path2string;v.abs=f}return ei(v.abs)},hr=function(n,t,i,r){return[n,t,i,r,i,r]},uf=function(n,t,i,r,u,f){return[1/3*n+2/3*i,1/3*t+2/3*r,1/3*u+2/3*i,1/3*f+2/3*r,u,f]},cr=function(n,t,i,r,u,f,e,o,s){var h=1-s;
27return{x:ot(h,3)*n+3*ot(h,2)*s*i+3*h*s*s*u+ot(s,3)*e,y:ot(h,3)*t+3*ot(h,2)*s*r+3*h*s*s*f+ot(s,3)*o}},no=l.cacher(function(n,t,i,r,u,f,e,o){var s,a=u-2*i+n-(e-2*u+i),h=2*(i-n)-2*(u-i),p=n-i,c=(-h+at(h*h-4*a*p))/2/a,l=(-h-at(h*h-4*a*p))/2/a,v=[t,o],y=[n,e];return it(c)>"1e12"&&(c=.5),it(l)>"1e12"&&(l=.5),c>0&&c<1&&(s=cr(n,t,i,r,u,f,e,o,c),y.push(s.x),v.push(s.y)),l>0&&l<1&&(s=cr(n,t,i,r,u,f,e,o,l),y.push(s.x),v.push(s.y)),c=(-(h=2*(r-t)-2*(f-r))+at(h*h-4*(a=f-2*r+t-(o-2*f+r))*(p=t-r)))/2/a,l=(-h-at(h*h-4*a*p))/2/a,it(c)>"1e12"&&(c=.5),it(l)>"1e12"&&(l=.5),c>0&&c<1&&(s=cr(n,t,i,r,u,f,e,o,c),y.push(s.x),v.push(s.y)),l>0&&l<1&&(s=cr(n,t,i,r,u,f,e,o,l),y.push(s.x),v.push(s.y)),{min:{x:ri[ut](0,y),y:ri[ut](0,v)},max:{x:ct[ut](0,y),y:ct[ut](0,v)}}}),gi=r._path2curve=l.cacher(function(n,t){var y=!t&&di(n);if(!t&&y.curve)return ei(y.curve);for(var r=rf(n),i=t&&rf(t),f={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},e={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},b=function(n,t){if(!n)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(n[0]in{T:1,Q:1})&&(t.qx=t.qy=null),n[0]){case"M":t.X=n[1];t.Y=n[2];break;case"A":n=["C"][h](function i(n,t,r,u,f,e,o,s,c,a){var ot;o=o&&+o;e=e&&+e;var rt,ct=120*vt/180,ut=fr*(+f||0),p=[],ft=l.cacher(function(n,t,i){return{x:n*ui(i)-t*dt(i),y:n*dt(i)+t*ui(i)}});if(a)y=a[0],v=a[1],nt=a[2],tt=a[3];else{n=(rt=ft(n,t,-ut)).x;t=rt.y;s=(rt=ft(s,c,-ut)).x;c=rt.y;ui(fr*f);dt(fr*f);var k=(n-s)/2,d=(t-c)/2,et=k*k/(r*r)+d*d/(u*u);et>1&&(r*=et=at(et),u*=et);var st=r*r,ht=u*u,lt=(e===o?-1:1)*at(it((st*ht-st*d*d-ht*k*k)/(st*d*d+ht*k*k))),nt=lt*r*d/u+(n+s)/2,tt=lt*-u*k/r+(t+c)/2,y=w.asin(((t-tt)/u).toFixed(9)),v=w.asin(((c-tt)/u).toFixed(9));y=n<nt?vt-y:y;v=s<nt?vt-v:v;y<0&&(y=2*vt+y);v<0&&(v=2*vt+v);o&&y>v&&(y-=2*vt);!o&&v>y&&(v-=2*vt)}if(ot=v-y,it(ot)>ct){var ii=v,ri=s,fi=c;p=i(s=nt+r*ui(v=y+ct*(o&&v>y?1:-1)),c=tt+u*dt(v),r,u,f,0,o,ri,fi,[v,ii,nt,tt])}ot=v-y;var ei=ui(y),oi=dt(y),si=ui(v),hi=dt(v),yt=w.tan(ot/4),pt=4/3*r*yt,wt=4/3*u*yt,kt=[n,t],g=[n+pt*oi,t-wt*ei],gt=[s+pt*hi,c-wt*si],ni=[s,c];if(g[0]=2*kt[0]-g[0],g[1]=2*kt[1]-g[1],a)return[g,gt,ni][h](p);for(var ti=[],b=0,ci=(p=[g,gt,ni][h](p).join()[bt](",")).length;b<ci;b++)ti[b]=b%2?ft(p[b-1],p[b],ut).y:ft(p[b],p[b+1],ut).x;return ti}[ut](0,[t.x,t.y][h](n.slice(1))));break;case"S":n=["C",t.x+(t.x-(t.bx||t.x)),t.y+(t.y-(t.by||t.y))][h](n.slice(1));break;case"T":t.qx=t.x+(t.x-(t.qx||t.x));t.qy=t.y+(t.y-(t.qy||t.y));n=["C"][h](uf(t.x,t.y,t.qx,t.qy,n[1],n[2]));break;case"Q":t.qx=n[1];t.qy=n[2];n=["C"][h](uf(t.x,t.y,n[1],n[2],n[3],n[4]));break;case"L":n=["C"][h](hr(t.x,t.y,n[1],n[2]));break;case"H":n=["C"][h](hr(t.x,t.y,n[1],t.y));break;case"V":n=["C"][h](hr(t.x,t.y,t.x,n[1]));break;case"Z":n=["C"][h](hr(t.x,t.y,t.X,t.Y))}return n},k=function(n,t){if(n[t].length>7){n[t].shift();for(var u=n[t];u.length;)n.splice(t++,0,["C"][h](u.splice(0,6)));n.splice(t,1);p=ct(r.length,i&&i.length||0)}},d=function(n,t,u,f,e){n&&t&&n[e][0]===g&&t[e][0]!=g&&!e&&(t.splice(e,0,[g,f.x,f.y]),u.bx=0,u.by=0,u.x=n[e][1],u.y=n[e][2],p=ct(r.length,i&&i.length||0))},u=0,p=ct(r.length,i&&i.length||0);u<p;u++){r[u]=b(r[u],f);k(r,u);i&&(i[u]=b(i[u],e));i&&k(i,u);d(r,i,f,e,u);d(i,r,e,f,u);var o=r[u],s=i&&i[u],c=o.length,a=i&&s.length;f.x=o[c-2];f.y=o[c-1];f.bx=v(o[c-4])||f.x;f.by=v(o[c-3])||f.y;e.bx=i&&(v(s[a-4])||e.x);e.by=i&&(v(s[a-3])||e.y);e.x=i&&s[a-2];e.y=i&&s[a-1]}return i||(y.curve=ei(r)),i?[r,i]:r},null,ei),lr=(r._parseDots=l.cacher(function(n){for(var i,s,c,u=[],t=0,e=n.length;t<e;t++){if(i={},s=n[t].match(/^([^:]*):?([\d\.]*)/),i.color=r.getRGB(s[1]),i.color.error)return null;i.opacity=i.color.opacity;i.color=i.color.hex;s[2]&&(i.offset=s[2]+"%");u.push(i)}for(t=1,e=u.length-1;t<e;t++)if(!u[t].offset){for(var h=v(u[t-1].offset||0),o=0,f=t+1;f<e;f++)if(u[f].offset){o=u[f].offset;break}for(o||(o=100,f=e),c=((o=v(o))-h)/(f-t+1);t<f;t++)h+=c,u[t].offset=h+"%"}return u}),r._tear=function(n,t){n===t.top&&(t.top=n.prev);n===t.bottom&&(t.bottom=n.next);n.next&&(n.next.prev=n.prev);n.prev&&(n.prev.next=n.next)}),to=(r._tofront=function(n,t){return t.top!==n&&(lr(n,t),n.next=null,n.prev=t.top,t.top.next=n,t.top=n,!0)},r._toback=function(n,t){return t.bottom!==n&&(lr(n,t),n.next=t.bottom,n.prev=null,t.bottom.prev=n,t.bottom=n,!0)},r._insertafter=function(n,t,i,r){lr(n,i);n.parent=r;t===r.top&&(r.top=n);t.next&&(t.next.prev=n);
27n.next=t.next;n.prev=t;t.next=n},r._insertbefore=function(n,t,i,r){lr(n,i);n.parent=r;t===r.bottom&&(r.bottom=n);t.prev&&(t.prev.next=n);n.prev=t.prev;t.prev=n;n.next=t},r._extractTransform=function(n,t){var b,nt;if(null==t)return n._.transform;t=tt(t).replace(/\.{3}|\u2026/g,n._.transform||f);var d,g,v=r.parseTransformString(t),y=0,p=1,w=1,u=n._,e=new oi;if(u.transform=v||[],v)for(b=0,nt=v.length;b<nt;b++){var it,rt,c,l,o,i=v[b],s=i.length,a=tt(i[0]).toLowerCase(),k=i[0]!=a,h=k?e.invert():0;"t"===a&&3===s?k?(it=h.x(0,0),rt=h.y(0,0),c=h.x(i[1],i[2]),l=h.y(i[1],i[2]),e.translate(c-it,l-rt)):e.translate(i[1],i[2]):"r"===a?2===s?(o=u.bb||(u.bb=n.getBBox(1)),e.rotate(i[1],o.x+o.width/2,o.y+o.height/2),y+=i[1]):4===s&&(k?(c=h.x(i[2],i[3]),l=h.y(i[2],i[3]),e.rotate(i[1],c,l)):e.rotate(i[1],i[2],i[3]),y+=i[1]):"s"===a?2===s||3===s?(o=u.bb||(u.bb=n.getBBox(1)),e.scale(i[1],i[s-1],o.x+o.width/2,o.y+o.height/2),p*=i[1],w*=i[s-1]):5===s&&(k?(c=h.x(i[3],i[4]),l=h.y(i[3],i[4]),e.scale(i[1],i[2],c,l)):e.scale(i[1],i[2],i[3],i[4]),p*=i[1],w*=i[2]):a===wi&&7===s&&e.add(i[1],i[2],i[3],i[4],i[5],i[6]);u.dirtyT=1;n.matrix=e}n.matrix=e;u.sx=p;u.sy=w;u.deg=y;u.dx=d=e.e;u.dy=g=e.f;1===p&&1===w&&!y&&u.bbox?(u.bbox.x+=+d,u.bbox.y+=+g):u.dirtyT=1}),ff=function(n){var t=n[0];switch(t.toLowerCase()){case"t":return[t,0,0];case"m":return[t,1,0,0,1,0,0];case"r":return 4===n.length?[t,0,n[2],n[3]]:[t,0];case"s":return 5===n.length?[t,1,1,n[3],n[4]]:3===n.length?[t,1,1]:[t,1]}},io=r._equaliseTransform=function(n,t){t=tt(t).replace(/\.{3}|\u2026/g,n);n=r.parseTransformString(n)||[];t=r.parseTransformString(t)||[];for(var u,h,i,f,c=ct(n.length,t.length),o=[],s=[],e=0;e<c;e++){if(i=n[e]||ff(t[e]),f=t[e]||ff(i),i[0]!=f[0]||"r"===i[0].toLowerCase()&&(i[2]!=f[2]||i[3]!=f[3])||"s"===i[0].toLowerCase()&&(i[3]!=f[3]||i[4]!=f[4]))return;for(o[e]=[],s[e]=[],u=0,h=ct(i.length,f.length);u<h;u++)u in i&&(o[e][u]=i[u]),u in f&&(s[e][u]=f[u])}return{from:o,to:s}};r._getContainer=function(n,t,i,u){var f;if(null!=(f=null!=u||r.is(n,k)?n:o.doc.getElementById(n)))return f.tagName?null==t?{container:f,width:f.style.pixelWidth||f.offsetWidth,height:f.style.pixelHeight||f.offsetHeight}:{container:f,width:t,height:i}:{container:1,x:n,y:t,width:i,height:u}};r._engine={};r.path2curve=gi;r.matrix=function(n,t,i,r,u,f){return new oi(n,t,i,r,u,f)},function(n){function t(n){return n[0]*n[0]+n[1]*n[1]}function i(n){var i=at(t(n));n[0]&&(n[0]/=i);n[1]&&(n[1]/=i)}n.add=function(n,t,i,r,u,f){var o,s,h,c,e=[[],[],[]],a=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],l=[[n,i,u],[t,r,f],[0,0,1]];for(n&&n instanceof oi&&(l=[[n.a,n.c,n.e],[n.b,n.d,n.f],[0,0,1]]),o=0;o<3;o++)for(s=0;s<3;s++){for(c=0,h=0;h<3;h++)c+=a[o][h]*l[h][s];e[o][s]=c}this.a=e[0][0];this.b=e[1][0];this.c=e[0][1];this.d=e[1][1];this.e=e[0][2];this.f=e[1][2]};n.invert=function(){var n=this,t=n.a*n.d-n.b*n.c;return new oi(n.d/t,-n.b/t,-n.c/t,n.a/t,(n.c*n.f-n.d*n.e)/t,(n.b*n.e-n.a*n.f)/t)};n.clone=function(){return new oi(this.a,this.b,this.c,this.d,this.e,this.f)};n.translate=function(n,t){this.add(1,0,0,1,n,t)};n.scale=function(n,t,i,r){null==t&&(t=n);(i||r)&&this.add(1,0,0,1,i,r);this.add(n,0,0,t,0,0);(i||r)&&this.add(1,0,0,1,-i,-r)};n.rotate=function(n,t,i){n=r.rad(n);t=t||0;i=i||0;var u=+ui(n).toFixed(9),f=+dt(n).toFixed(9);this.add(u,f,-f,u,t,i);this.add(1,0,0,1,-t,-i)};n.x=function(n,t){return n*this.a+t*this.c+this.e};n.y=function(n,t){return n*this.b+t*this.d+this.f};n.get=function(n){return+this[tt.fromCharCode(97+n)].toFixed(4)};n.toString=function(){return r.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()};n.toMatrixString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"};n.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"};n.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]};n.split=function(){var n={},u,f,e;
27return n.dx=this.e,n.dy=this.f,u=[[this.a,this.c],[this.b,this.d]],n.scalex=at(t(u[0])),i(u[0]),n.shear=u[0][0]*u[1][0]+u[0][1]*u[1][1],u[1]=[u[1][0]-u[0][0]*n.shear,u[1][1]-u[0][1]*n.shear],n.scaley=at(t(u[1])),i(u[1]),n.shear/=n.scaley,f=-u[0][1],e=u[1][1],e<0?(n.rotate=r.deg(w.acos(e)),f<0&&(n.rotate=360-n.rotate)):n.rotate=r.deg(w.asin(f)),n.isSimple=!(+n.shear.toFixed(9)||n.scalex.toFixed(9)!==n.scaley.toFixed(9)&&n.rotate),n.isSuperSimple=!+n.shear.toFixed(9)&&n.scalex.toFixed(9)===n.scaley.toFixed(9)&&!n.rotate,n.noRotation=!+n.shear.toFixed(9)&&!n.rotate,n};n.toTransformString=function(n){var t=n||this[bt]();return t.isSimple?(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[t.dx,t.dy]:f)+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:f)+(t.rotate?"r"+[t.rotate,0,0]:f)):wi+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(oi.prototype);nr=(ht=kt.navigator).userAgent.match(/Version\/(.*?)\s/)||ht.userAgent.match(/Chrome\/(\d+)/);a.safari="Apple Computer, Inc."===ht.vendor&&(nr&&nr[1]<4||"iP"===ht.platform.slice(0,2))||"Google Inc."===ht.vendor&&nr&&nr[1]<8?function(){var n=this.rect(-99,-99,this.width+99,this.height+99).attr({stroke:c});return setTimeout(function(){n.remove()}),!0}:function(){};for(var ro=function(){this.returnValue=!1},uo=function(){return this.originalEvent.preventDefault()},fo=function(){this.cancelBubble=!0},eo=function(){return this.originalEvent.stopPropagation()},ef={stopPropagation:"fn",stopImmediatePropagation:"fn",preventDefault:"fn",type:!0,clientX:!0,clientY:!0,pageX:!0,pageY:!0,bubbles:!0,cancelable:!0,touches:!0,target:!0,originalTarget:!0,srcElement:!0,relatedTarget:!0,fromElement:!0,changedTouches:!0,layerX:!0,layerY:!0,deltaX:!0,deltaY:!0},of=r.makeSelectiveCopy=function(n,t){var i=function(i){n[i]="fn"===ef[i]?function(){t[i]()}:t[i]};for(var r in ef)i(r);n.originalEvent=t;n.type||(n.type=t.originalEvent&&t.originalEvent.type)},br=r.addEvent=o.doc.addEventListener?function(n,t,i,r){var f,e,u=et?ie[t]:pt?cu[t]:t;return gf||(e={capture:!1}),r.dragFn&&("pointerup"===u?u="mouseup":void 0===u&&(u="touchend")),f=function(u){var e,c=o.doc.documentElement.scrollTop||o.doc.body.scrollTop,l=o.doc.documentElement.scrollLeft||o.doc.body.scrollLeft,f,s,h;if(pt&&cu[t])for(f=0,s=u.targetTouches&&u.targetTouches.length;f<s;f++)if((e=u.targetTouches[f].target)===n||"tspan"===e.nodeName&&e.parentNode===n){h=u;(u=u.targetTouches[f]).originalEvent=h;u.preventDefault=uo;u.stopPropagation=eo;break}return i.call(r,u,u.clientX+l,u.clientY+c)},n.addEventListener(u,f,e),function(){return n.removeEventListener(u,f,e),!0}}:o.doc.attachEvent?function(n,t,i,r){var u=function(n){n=n||o.win.event;var t=o.doc.documentElement.scrollTop||o.doc.body.scrollTop,u=o.doc.documentElement.scrollLeft||o.doc.body.scrollLeft,f=n.clientX+u,e=n.clientY+t;return n.preventDefault=n.preventDefault||ro,n.stopPropagation=n.stopPropagation||fo,i.call(r,n,f,e)};return n.attachEvent("on"+t,u),function(){return n.detachEvent("on"+t,u),!0}}:void 0,si=function(n){var y,p=o.doc.documentElement.scrollTop||o.doc.body.scrollTop,w=o.doc.documentElement.scrollLeft||o.doc.body.scrollLeft,u=(void 0!==n.clientX?n.clientX:n.changedTouches&&n.changedTouches[0].clientX)+w,f=(void 0!==n.clientY?n.clientY:n.changedTouches&&n.changedTouches[0].clientY)+p,s={},t=this,h=t.dragInfo.onmove.length,l,a;if(!(t.dragStartFn&&!(Math.abs(u-t._drag.x)>=2.5||Math.abs(f-t._drag.y)>=2.5)||t._blockDrag||et&&pt&&!n.isPrimary))for(;h--;){if(pt&&"touchmove"===n.type)for(a=n.touches.length;a--;)if((l=n.touches[a]).identifier===t._drag.id){u=l.clientX+w;f=l.clientY+p;break}if(!t.removed){if(t.dragStartFn&&(t.dragStartFn(h),t.dragStartFn=undefined,t.dragInfo._dragmove=!0),o.win.opera){var i=r._engine.getNode(t),b=i.nextSibling,v=i.parentNode,k=i.style.display;v.removeChild(i);i.style.display=c;i.style.display=k;b?v.insertBefore(i,b):v.appendChild(i)}of(s,n);y=s.data=[u-t._drag.x,f-t._drag.y,u,f];e["default"]("raphael.drag.move."+t.id,t.dragInfo.move_scope[h]||t,s,y)}}},ai=function n(t){var i=this,u=i.dragInfo,f=u.onend.length;if(i.dragInfo._dragmove)for(;f--;)i._drag={},e["default"]("raphael.drag.end."+i.id,u.end_scope[f]||u.start_scope[f]||u.move_scope[f]||i,t);i.dragInfo._dragmove=undefined;pt&&!uu&&!ru&&(!eu||!fu)&&(i.paper.canvas.style["touch-action"]="auto");r.undragmove.call(i,si);r.undragend.call(i,n);r.unmousemove.call(i,si).unmouseup.call(i,n)},u=r.el={},sf=hu.length;sf--;)!function(n){r[n]=u[n]=function(t,i,u){return r.is(t,ti)&&(this.events=this.events||[],this.events.push({name:n,f:t,unbind:br(u||this.shape||this.node||o.doc,n,t,i||this)})),this};r["un"+n]=u["un"+n]=function(t){for(var i=this.events||[],r=i.length;r--;)if(i[r].name===n&&i[r].f===t)return i[r].unbind(),i.splice(r,1),!i.length&&delete this.events,this;return this}}(hu[sf]);
27u.data=function(n,t){var u=li[this.id]=li[this.id]||{},i;if(1===arguments.length){if(r.is(n,k)){for(i in n)n[st](i)&&this.data(i,n[i]);return this}return r.stopPartialEventPropagation||e["default"]("raphael.data.get."+this.id,this,u[n],n),u[n]}return u[n]=t,r.stopPartialEventPropagation||e["default"]("raphael.data.set."+this.id,this,t,n),this};u.removeData=function(n){return null==n?delete li[this.id]:li[this.id]&&delete li[this.id][n],this};u.dbclick=function(n,t){var u,i=this,f=function(r){var u;et&&!r.isPrimary||(r&&r.preventDefault(),(!(u=r).touches||u.touches&&1===u.touches.length)&&(i._tappedOnce?(n.call(t||i,r),i._tappedOnce=!1):(i._tappedOnce=!0,setTimeout(function(){i._tappedOnce=!1},500))))};u=et?"pointerup":r.supportsTouch?"touchstart":"mouseup";i.node.addEventListener(u,f);r.storeHandlers(i,n,f)};u.undbclick=function(n){var t=removeHandlers(this,n);t&&this.node.removeEventListener(et?"pointerup":r.supportsTouch?"touchstart":"mouseup",t)};u.getData=function(){return bi(li[this.id]||{})};var vi=[],oo=function(){this.untrack=br(o.doc,"mouseup",so,this)},so=function(){return this.untrack(),this.untrack=null,this.fn&&this.fn.apply(this.scope||this.el,arguments)};u.mouseup=function(n,t,i,u){return i?(vi.push(i={el:this,fn:n,scope:t}),i.unbind=br(this.shape||this.node||o.doc,"mousedown",oo,i),this):r.mouseup.apply(this,[n,t,u])};u.unmouseup=function(n){for(var i,t=vi.length;t--;)vi[t].el===this&&vi[t].fn===n&&((i=vi[t]).unbind(),i.untrack&&i.untrack(),vi.splice(t,1));return i?this:r.unmouseup.apply(this,arguments)};u.hover=function(n,t,i,r){return this.on("fc-mouseover",n,i).on("fc-mouseout",t,r)};u.unhover=function(n,t){return this.off("fc-mouseover",n).off("fc-mouseout",t)};u.fcclick=function(n,t){var u,e,h,c,o,i=this,f=i.node,l=function(n){i._lastEventTriggered="mousedown";h=void 0!==n.clientX?n.clientX:n.changedTouches&&n.changedTouches[0].clientX;c=void 0!==n.clientY?n.clientY:n.changedTouches&&n.changedTouches[0].clientY},s=function(n){var t=void 0!==n.clientX?n.clientX:n.changedTouches&&n.changedTouches[0].clientX,r=void 0!==n.clientY?n.clientY:n.changedTouches&&n.changedTouches[0].clientY;(Math.abs(h-t)>=2.5||Math.abs(c-r)>=2.5)&&(i._lastEventTriggered=undefined)};if(i._clickStoreActual||(i._clickStoreActual=[]),i._clickStoreDerived||(i._clickStoreDerived=[]),!i._clickHandlerHelper){for(u in o=!et&&r.supportsTouch?{touchstart:function(){i._lastEventTriggered="touchstart";i._lastEventTriggeredAt=(new Date).getTime()},touchmove:s}:et&&r.supportsTouch?{pointerdown:l,pointermove:s}:{mousedown:l,mousemove:s})f.addEventListener?f.addEventListener(u,o[u]):f.attachEvent("on"+u,o[u]);i._clickHandlerHelper=o}return!et&&r.supportsTouch?(u="touchend",e=function(r){"touchstart"===i._lastEventTriggered&&(new Date).getTime()-i._lastEventTriggeredAt<=500&&setTimeout(function(){n.call(t||i,r)},0)}):(u="click",e=function(r){"mousedown"===i._lastEventTriggered&&n.call(t||i,r)}),f.addEventListener?f.addEventListener(u,e):f.attachEvent("on"+u,e),i._clickStoreDerived.push(e),i._clickStoreActual.push(n),i};u.fcunclick=function(n){var t,u,i=this.node,e=this._clickHandlerHelper,f=this._clickStoreActual,o=this._clickStoreDerived;if(f){for(t=f.length-1;t>=0;t--)f[t]===n&&(i.removeEventListener?i.removeEventListener(!et&&r.supportsTouch?"touchend":"click",o[t]):i.detachEvent("onclick",o[t]),f.splice(t,1),o.splice(t,1));if(!f.length){for(u in e)i.removeEventListener?i.removeEventListener(u,e[u]):i.detachEvent("on"+u,e[u]);this._clickHandlerHelper=undefined}}return this};tr=[];u.drag=function(n,t,i,u,f,s){var h=this,c=h.dragInfo||(h.dragInfo={onmove:[],onstart:[],onend:[],move_scope:[],start_scope:[],end_scope:[]});return n&&c.onmove.push(n)&&c.move_scope.push(u),t&&c.onstart.push(t)&&c.start_scope.push(f),i&&c.onend.push(i)&&c.end_scope.push(s),h.dragFn=h.dragFn||function(n){var v,i,u,f,s,c,y,l,p,w,k=o.doc.documentElement.scrollTop||o.doc.body.scrollTop,d=o.doc.documentElement.scrollLeft||o.doc.body.scrollLeft,a={},t=h.dragInfo,b=[si,void 0,o.doc];if(!et||n.isPrimary){for(pt&&(et?uu||ru||eu&&fu||(h.paper.canvas.style["touch-action"]="none"):n.preventDefault()),h._drag.x=p=(void 0!==n.clientX?n.clientX:n.changedTouches&&n.changedTouches[0].clientX)+d,h._drag.y=w=(void 0!==n.clientY?n.clientY:n.changedTouches&&n.changedTouches[0].clientY)+k,h._drag.id=n.identifier,pt&&!et?r.dragmove.apply(h,b):r.mousemove.apply(h,b).mouseup.call(h,ai,void 0,void 0,o.doc),pt&&r.dragend.call(h,ai,void 0,o.doc),of(a,n),v=a.data=[p,w],i=0,s=t.onstart.length;i<s;i++)e["default"].on("raphael.drag.start."+h.id,t.onstart[i]);for(u=0,c=t.onmove.length;u<c;u++)e["default"].on("raphael.drag.move."+h.id,t.onmove[u]);for(f=0,y=t.onend.length;f<y;
27f++)e["default"].on("raphael.drag.end."+h.id,t.onend[f]);s&&!c&&(l=function(){h.undragmove();t.onmove=[]},t.onmove.push(l),e["default"].on("raphael.drag.end."+h.id,l));h.dragStartFn=function(n){e["default"]("raphael.drag.start."+h.id,h.dragInfo.start_scope[n]||h.dragInfo.move_scope[n]||h,a,v)}}},h._drag={},tr.push({el:h,start:h.dragFn,onstart:t,onmove:n,onend:i}),t&&!h.startHandlerAttached&&(pt&&!et?h.dragstart(h.dragFn):h.mousedown(h.dragFn),h.startHandlerAttached=!0),h};u.onDragOver=function(n){n?e["default"].on("raphael.drag.over."+this.id,n):e["default"].unbind("raphael.drag.over."+this.id)};u.undrag=function(){for(var n=tr.length;n--;)tr[n].el===this&&(this.unmousedown(this.dragFn),tr.splice(n,1),e["default"].unbind("raphael.drag.*."+this.id),this.dragInfo=undefined,this.dragFn=undefined,this.startHandlerAttached=undefined);r.unmousemove.call(this,si).unmouseup.call(this,ai);r.undragmove.call(this,si);r.undragend.call(this,ai);delete this._drag};u.undragstart=function(n){var i,f,t=this.dragInfo,u=t&&t.onstart,o=t&&t.start_scope;if(n)for(i=0,f=u&&u.length;i<f;i++)if(u[i]===n){u.splice(i,1);o.splice(i,1);e["default"].unbind("raphael.drag.start."+this.id,n);break}u&&u.length&&n||(r.undragstart.call(this,this.dragFn),r.unmousedown.call(this,this.dragFn),e["default"].unbind("raphael.drag.start."+this.id),this.startHandlerAttached=!1,t&&(t.onstart=[],t.start_scope=[]))};u.undragmove=function(n){var i,f,t=this.dragInfo,u=t&&t.onmove,o=t&&t.move_scope;if(n)for(i=0,f=u&&u.length;i<f;i++)if(u[i]===n){u.splice(i,1);o.splice(i,1);e["default"].unbind("raphael.drag.move."+this.id,n);break}u&&u.length&&n||(r.undragmove.call(this,si),r.unmousemove.call(this,si),t&&(t.onmove=[],t.move_scope=[]),e["default"].unbind("raphael.drag.move."+this.id))};
27u.undragend=function(n){var i,f,t=this.dragInfo,u=t&&t.onend,o=t&&t.end_scope;if(n)for(i=0,f=u&&u.length;i<f;i++)if(u[i]===n){u.splice(i,1);o.splice(i,1);e["default"].unbind("raphael.drag.end."+this.id,n);break}u&&u.length&&n||(r.undragend.call(this,ai),r.unmouseup.call(this,ai),t&&(t.onend=[],t.end_scope=[]),e["default"].unbind("raphael.drag.end."+this.id))};u.follow=function(n,t,i){return n.removed||n.constructor!==r.el.constructor?this:(n.followers.push({el:this,stalk:i={before:"insertBefore",after:"insertAfter"}[i],cb:t}),i&&this[i](n),this)};u.unfollow=function(n){if(n.removed||n.constructor!==r.el.constructor)return this;for(var t=0,i=n.followers.length;t<i;t++)if(n.followers[t].el===this){n.followers.splice(t,1);break}return this};a.hide=function(){return this.canvas.style.visibility="hidden",this};a.show=function(){return this.canvas.style.visibility=f,this};a.group=function(){var t=l.getArrayCopy(arguments),i=fi(t,!0),n=r._engine.group(this,t[0],i);return this.__set__&&this.__set__.push(n),this._elementsById[n.id]=n};a.circle=function(){var n=l.getArrayCopy(arguments),i=fi(n,!0),u=this._addDefAttribs()?lt(n,"cx",0,"cy",0,"r",0,"fill",c,"stroke","#000"):lt(n),t=r._engine.circle(this,u,i);return this.__set__&&this.__set__.push(t),this._elementsById[t.id]=t};a.rect=function(){var n=l.getArrayCopy(arguments),i=fi(n,!0),u=this._addDefAttribs()?lt(n,"x",0,"y",0,"width",0,"height",0,"r",0,"fill",c,"stroke","#000"):lt(n),t=r._engine.rect(this,u,i);return this.__set__&&this.__set__.push(t),this._elementsById[t.id]=t};a.ellipse=function(){var n=l.getArrayCopy(arguments),i=fi(n,!0),u=this._addDefAttribs()?lt(n,"x",0,"y",0,"rx",0,"ry",0,"fill",c,"stroke","#000"):lt(n),t=r._engine.ellipse(this,u,i);return this.__set__&&this.__set__.push(t),this._elementsById[t.id]=t};a.path=function(){var n=l.getArrayCopy(arguments),u=fi(n,!0),i=this.config,e=i&&i["stroke-linecap"]||"butt",o=this._addDefAttribs()?lt(n,"path",f,"fill",c,"stroke","#000","stroke-linecap",e):lt(n),t=r._engine.path(this,o,u);return this.__set__&&this.__set__.push(t),this._elementsById[t.id]=t};a.image=function(){var n=l.getArrayCopy(arguments),i=fi(n,!0),u=this._addDefAttribs()?lt(n,"x",0,"y",0,"width",0,"height",0):lt(n),t=r._engine.image(this,u,i);return this.__set__&&this.__set__.push(t),this._elementsById[t.id]=t};a.text=function(){var n=l.getArrayCopy(arguments),i=fi(n,!0),u=this._addDefAttribs()?lt(n,"x",0,"y",0,"text",f,"stroke",c,"fill","#000","text-anchor","middle","vertical-align","middle"):lt(n),t=r._engine.text(this,u,i,n[1]);return this.__set__&&this.__set__.push(t),this._elementsById[t.id]=t};a._addDefAttribs=function(){return!(r.svg&&this.config&&this.config.noDefaultAttribs)};a.setConfig=function(n,t){return n!==undefined&&t!==undefined&&(this.config=this.config||{},this.config[n]=t),this.config};a._createDOMNodes=function(n,t,i){var o,u,s,e,f={},l=r._createNode,h=t.tagName,c=t.children||[];for(e in!i&&(i={}),t)"tagName"!==e&&"children"!==e&&(f[e]=t[e]);if(!f.id&&(f.id=r.getElementID(r.createUUID())),!this.canvas.getElementById(f.id)&&h)for(o=n.appendChild(l(h,f)),i.element=o,i.id=f.id,(s=c.length)>0&&(i.children=[]),u=0;u<s;u++)i.children[u]={},this._createDOMNodes(o,c[u],i.children[u]);return i};a.addDefs=function(n){if(r.svg){var t,i={},u=this.defs;for(t in n)i[t]={},this._createDOMNodes(u,n[t],i[t]);return i}};a.setSize=function(n,t){return r._engine.setSize.call(this,n,t)};a.setDimension=function(n,t){var i;(void 0===n?"undefined":ir(n))===k?(i=n.width,t=n.height,this.setSize(n.width,n.height)):(i=n,this.setSize(i,t))};a.attr=function(n){return null==n?{width:this.width,height:this.height}:r.is(n,ni)?this[n]:(this.setDimension(n),this)};a.status=function(n,t){return u.status.call(this,n,t)};a.animateWith=function(n,t,i,r,f,e,o){return u.animateWith.call(this,n,t,i,r,f,e,o)};a.animate=function(n,t,i,r){return u.animate.call(this,n,t,i,r)};a.setViewBox=function(n,t,i,u,f){return r._engine.setViewBox.call(this,n,t,i,u,f)};a.getById=function(n){return this._elementsById[n]||null};a.top=a.bottom=null;a.raphael=r;u.getBBox=function(n){if(this.removed)return{};var t=this._;return n?(!t.dirty&&t.bboxwt||(this.realPath=wu[this.type](this),t.bboxwt=tf(this.realPath),t.bboxwt.toString=hf,t.dirty=0),t.bboxwt):((t.dirty||t.dirtyT||!t.bbox)&&(!t.dirty&&this.realPath||(t.bboxwt=0,this.realPath=wu[this.type](this)),t.bbox=tf(ke(this.realPath,this.matrix
vendor: 5,471 bytes, line 27
27)),t.bbox.toString=hf,t.dirty=t.dirtyT=0),t.bbox)};u.clone=function(n,t){if(this.removed)return null;var u,r,i=this,f=i.attr();if(n){for(u in n)f[u]=n[u];r=i.paper[i.type](f,t)}else r=i.paper[i.type]().attr(f);return i.__set__&&i.__set__.push(r),r};var kr=function(n,t,i,u,f,e,o,s,h){return null==h?sr(n,t,i,u,f,e,o,s):r.findDotsAtSegment(n,t,i,u,f,e,o,s,function(n,t,i,r,u,f,e,o,s){if(!(s<0||sr(n,t,i,r,u,f,e,o)<s)){for(var c=.5,l=1-c,h=sr(n,t,i,r,u,f,e,o,l);it(h-s)>.01;)c/=2,h=sr(n,t,i,r,u,f,e,o,l+=(h<s?1:-1)*c);return l}}(n,t,i,u,f,e,o,s,h))},dr=function(n,t){return function(i,u,e){i=gi(i);for(var h,c,o,y,s,l=f,v={},a=0,p=0,w=i.length;p<w;p++){if((o=i[p])[0]===g)h=+o[1],c=+o[2];else{if(a+(y=kr(h,c,o[1],o[2],o[3],o[4],o[5],o[6]))>u){if(t&&!v.start){if(l+=["C"+(s=kr(h,c,o[1],o[2],o[3],o[4],o[5],o[6],u-a)).start.x,s.start.y,s.m.x,s.m.y,s.x,s.y],e)return l;v.start=l;l=[g+s.x,s.y+"C"+s.n.x,s.n.y,s.end.x,s.end.y,o[5],o[6]].join();a+=y;h=+o[5];c=+o[6];continue}if(!n&&!t)return{x:(s=kr(h,c,o[1],o[2],o[3],o[4],o[5],o[6],u-a)).x,y:s.y,alpha:s.alpha}}a+=y;h=+o[5];c=+o[6]}l+=o.shift()+o}return v.end=l,(s=n?a:t?v:r.findDotsAtSegment(h,c,o[0],o[1],o[2],o[3],o[4],o[5],1)).alpha&&(s={x:s.x,y:s.y,alpha:s.alpha}),s}},cf=dr(1),lf=dr();dr(0,1);r.getTotalLength=cf;r.getPointAtLength=lf;u.getTotalLength=function(){if("path"==this.type)return this.node.getTotalLength?this.node.getTotalLength():cf(this.attrs.path)};u.getPointAtLength=function(n){if("path"==this.type)return lf(this.attrs.path,n)};nt=r.easing_formulas={linear:function(n){return n},"<":function(n){return ot(n,1.7)},">":function(n){return ot(n,.48)},"<>":function(n){var i=.48-n/1.04,r=at(.1734+i*i),u=r-i,f=-r-i,t=ot(it(u),1/3)*(u<0?-1:1)+ot(it(f),1/3)*(f<0?-1:1)+.5;return 3*(1-t)*t*t+t*t*t},backIn:function(n){var t=1.70158;return n*n*((t+1)*n-t)},backOut:function(n){var t=1.70158;return(n-=1)*n*((t+1)*n+t)+1},elastic:function(n){return n===!!n?n:ot(2,-10*n)*dt(2*vt*(n-.075)/.3)+1},bounce:function(n){var i=7.5625,t=2.75;return n<1/t?i*n*n:n<2/t?i*(n-=1.5/t)*n+.75:n<2.5/t?i*(n-=2.25/t)*n+.9375:i*(n-=2.625/t)*n+.984375},oneBounceOut:function(n){return n<=.9?1.33*nt.easeIn(n):1.2-n/5},elasticOnce:function(n){return n===!!n?n:Math.pow(2,-10*n)*Math.sin((n-.225)*2*Math.PI/.9)+1},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return n*(2-n)},easeInOutQuad:function(n){return n<.5?2*n*n:(4-2*n)*n-1},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return--n*n*n+1},easeInOutCubic:function(n){return n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1- --n*n*n*n},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-8*--n*n*n*n},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1+--n*n*n*n*n},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n}};nt.easeIn=nt["ease-in"]=nt["<"];nt.easeOut=nt["ease-out"]=nt[">"];nt.easeInOut=nt["ease-in-out"]=nt["<>"];nt["back-in"]=nt.backIn;nt["back-out"]=nt.backOut;var gr,s=[],af=function ho(){for(var n,c,t,g,it,y,d,at,ot,nt,v,vt=+new Date,p=0,rt=[],i=0;p<s.length;p++)if(n=s[p],!(n.el.removed||n.paused||n.parentEl&&n.parentEl.e&&n.parentEl.e.paused)){for(var o,ht,tt,k=vt-n.start,a=n.ms,pt=n.easing,u=n.from,l=n.diff,ut=n.to,w=(n.t,n.el),ct={},lt={},ft=!r.stopPartialEventPropagation,et=(i=0,n.el&&n.el.animElements&&n.el.animElements.peek());et&&et.pos<=k/a;)rt.push(n.el.animElements.deq()),et=n.el.animElements.peek();if(n.initstatus?(k=(n.initstatus*n.anim.top-n.prev)/(n.percent-n.prev)*a,n.status=n.initstatus,delete n.initstatus,n.stop&&(delete n.el,s.splice(p--,1))):n.status=(n.prev+(n.percent-n.prev)*(k/a))/n.anim.top,ht=a,n.parentEl&&n.parentEl.animElements?(a=n.delayend-n.delaystart,k=n.parentEl.cPos-n.delaystart):n.el.animElements&&(n.el.cPos=k/a),!(k<0))if(k<a){c=pt(k/a);for(t in a=ht,u)if(u[st](t)){switch(yr[t]){case"number":o=+u[t]+c*a*l[t];break;case"colour":if(l[t].length){for(o=[],i=0,g=u[t].length;i<g;++i)0===i?u[t].isRadial||l[t].isRadial?(v="xr(",v+=u[t][0].f1*(1-c)+l[t][0].f1*c||f,v+=",",v+=u[t][0].f2*(1-c)+l[t][0].f2*c||f,v+=",",v+=100*(u[t][0].f3*(1-c)+l[t][0].f3*c)||f,v+="%,",v+=u[t][0].f4*(1-c)+l[t][0].f4*c||f,v+=",",v+=u[t][0].f5*(1-c)+l[t][0].f5*c,v+=",",v+=u[t][0].f6,v+=")",o.push(v)):(o.push(u[t][i]*(1-c)+c*l[t][i]),o[0]<=0&&(o[0]+=360)):o.push("rgba("+[hi(yt(u[t][i].r+c*a*l[t][i].r)),hi(yt(u[t][i].g+c*a*l[t][i].g)),hi(yt(u[t][i].b+c*a*l[t][i].b)),u[t][i].opacity+c*a*l[t][i].opacity].join(",")+"):"+u[t][i].position);o=o.join("-");(u[t].isRadial||l[t].isRadial)&&(o=o.replace("-",f))}else nt=u[t].opacity+c*a*l[t].opacity,isNaN(nt)&&(nt=1),o="rgba("+[hi(yt(u[t].r+c*a*l[t].r)),hi(yt(u[t].g+c*a*l[t].g)),hi(yt(u[t].b+c*a*l[t].b)),nt].join(",")+")";break;case"path":for(o=[],i=0,g=u[t].length;i<g;i++){for(o[i]=[u[t][i][0]],it=u[t][i]?u[t][i].length:0,y=1;y<it;y++)o[i][y]=(+u[t][i][y]+c*a*l[t][i][y]).toFixed(4);o[i]=o[i].join(b)}o=o.join(b);break;case"transform":if(l[t].real)for(o=[],i=0,g=u[t].length;i<g;i++)for(o[i]=[u[t][i][0]],y=1,it=u[t][i].length;y<it;y++)o[i][y]=u[t][i][y]+c*a*l[t][i][y];else d=function(n){return+u[t][n]+c*a*l[t][n]},o=[[wi,d(0),d(1),d(2),d(3),d(4),d(5)]];break;case"csv":if("clip-rect"===t)for(o=[],i=4;i--;)o[i]=+u[t][i]+c*a*l[t][i];break;case"text-bound":o=[][h](u[t]);break;default:for(at=[][h](u[t]),o=[],i=w.ca[t].length;i--;)o[i]=+at[i]+c*a*l[t][i]}ct[t]=o}w.attr(ct);ft&&function(n,t,i){setTimeout(function(){e["default"]("raphael.anim.frame."+n,t,i
27)})}(w.id,w,n.anim)}else{if(function(n,t,i){setTimeout(function(){ft&&e["default"]("raphael.anim.frame."+t.id,t,i);ft&&e["default"]("raphael.anim.finish."+t.id,t,i);r.is(n,ti)&&n.call(t)})}(n.callback,w,n.anim),w.attr(ut),delete n.el,s.splice(p--,1),n.repeat>1&&!n.next){for(tt in ut)ut[st](tt)&&(lt[tt]=n.totalOrigin[tt]);n.el.attr(lt);yi(n.anim,n.el,n.anim.percents[0],null,n.totalOrigin,n.repeat-1)}n.next&&!n.stop&&yi(n.anim,n.el,n.next,null,n.totalOrigin,n.repeat)}}for(r.svg&&w&&w.paper&&w.paper.safari(),p=0,ot=rt.length;p<ot;++p)r.getInstantAnimFrameFn()(function(n){return function(){yi.apply(null,rt[n].params)}}(p));s.length&&(gr||r.getAnimFrameFn())(ho)},hi=function(n){return n>255?255:n<0?0:n},vf=function(n){return n>1&&(n=1),n<0&&(n=0),n};r.getAnimFrameFn=function(){return gr=r.requestAnimFrame||rt.webkitRequestAnimationFrame||rt.mozRequestAnimationFrame||rt.oRequestAnimationFrame||rt.msRequestAnimationFrame||function(n){setTimeout(n,16)}};r.getInstantAnimFrameFn=function(){return r.instantRequestAnimFrame||rt.webkitRequestAnimationFrame||rt.mozRequestAnimationFrame||rt.oRequestAnimationFrame||rt.msRequestAnimationFrame||function(n){setTimeout(n,16)}};u.animateWith=function(n,t,i,u,f,e,o){var a,h=this,y={},l,c,v;for(a in o=o||{})o.hasOwnProperty(a)&&(y[a]=o[a]);if(o=y,h.removed)return e&&e.call(h),h;if(0===u)return r.is(e,ti)&&setTimeout(function(){e.call(h)},0),h.attr(i);for(l=i instanceof wt?i:r.animation(i,u,f,e),o.start=vf(o.start||0),o.end=vf(o.end||1),o.start>=o.end&&(o.start=o.end),!o.from&&o.start>.01?(n.animElements=n.animElements||new gt(function(n,t){return t.pos-n.pos}),n.animElements.enq({pos:o.start,attr:o.start===o.end,params:[l,h,l.percents[0],null,h.attr(),undefined,n,{start:o.start,end:o.end,smartMorph:o.smartMorph,hookFn:o.hookFn},i],executeOb:{el:this,attrs:i,callback:e,hookFn:o.hookFn}})):yi(l,h,l.percents[0],null,h.attr(),undefined,n,o),c=0,v=s.length;c<v;c++)if(s[c].anim===t&&s[c].el===n){s[v-1].start=s[c].start;break}return h};u.onAnimation=function(n){return n?e["default"].on("raphael.anim.frame."+this.id,n):e["default"].unbind("raphael.anim.frame."+this.id),this};wt.prototype.delay=function(n){var t=new wt(this.anim,this.ms);return t.times=this.times,t.del=+n||0,t};wt.prototype.repeat=function(n){var t=new wt(this.anim,this.ms);return t.del=this.del,t.times=w.floor(ct(n,0))||1,t};yf=function lo(n,t,i){n.isRadial&&!t.isRadial&&(+t[0],t[0]={f1:0,f2:0,f3:0,f4:0,f5:0,f6:f},t.isRadial=!0);i||lo(t,n,!0)};r.animation=function(n,t,i,u,f){if(n instanceof wt)return n;!r.is(i,ti)&&i||(u=u||i||null,i=null);!r.stopPartialEventPropagation&&(r.stopPartialEventPropagation=f);n=Object(n);t=+t||0;var s,e,o={};for(e in n)n[st](e)&&v(e)!=e&&v(e)+"%"!=e&&(s=!0,o[e]=n[e]);return u&&(s=!0),s?(i&&(o.easing=i),u&&(o.callback=u),new wt({100:o},t)):new wt(n,t)};u.animate=function(n,t,i,u){if(this.removed)return u&&u.call(this),this;var f=n instanceof wt?n:r.animation(n,t,i,u);return yi(f,this,f.percents[0],null,this.attr()),this};u.status=function(n,t){var u,i,f=[],r=0;if(null!=t)return yi(n,this,-1,ri(t,1)),this;for(u=s.length;r<u;r++)if((i=s[r]).el.id===this.id&&(!n||i.anim===n)){if(n)return i.status;f.push({anim:i.anim,status:i.status})}return n?0:f};u.pause=function(n,t){for(var i,u=+new Date,r=0;r<s.length;r++)((i=s[r]).el.id===this.id||t&&i.parentEl&&i.parentEl.e.el&&i.parentEl.e.el.id===this.id)&&(!n||i.anim===n)&&!1!==e["default"]("raphael.anim.pause."+this.id,this,i.anim)&&(i.paused=!0,i.pauseStart=u);return this};u.resume=function(n,t){for(var i,u=+new Date,r=0;r<s.length;r++)((i=s[r]).el.id===this.id||t&&i.parentEl&&i.parentEl.e.el&&i.parentEl.e.el.id===this.id)&&(!n||i.anim===n)&&!1!==e["default"]("raphael.anim.resume."+this.id,this,i.anim)&&(delete i.paused,i.el.status(i.anim,i.status),i.pauseEnd=u,i.start+=(i.parentEl&&i.parentEl.e.pauseEnd||i.pauseEnd)-(i.parentEl&&i.parentEl.e.pauseStart||i.pauseStart)||0);return this};u.stop=function(n,t,i){var r,f,u;if(t)for(u=s.length-1;u>=0;u--)((r=s[u]).el.id===this.id||r.parentEl&&r.parentEl.id===this.id)&&(!n||s[u].anim===n)&&(f=r.el,i&&f.attr(r.to),r.callback&&r.callback.call(f),delete f.e,delete r.el,s.splice(u,1));else for(u=0;
27u<s.length;u++)(r=s[u]).el.id!==this.id||n&&r.anim!==n||!1!==e["default"]("raphael.anim.stop."+this.id,this,r.anim)&&s.splice(u--,1);return this.animElements&&function(n){for(var t;t=n.deq();)(t=t.executeOb).hookFn&&t.hookFn.call(t.el),t.el.attr(t.attrs),t.callback&&t.callback.call(t.el)}(this.animElements),this};e["default"].on("raphael.remove",wf);e["default"].on("raphael.clear",wf);u.toString=function(){return"Raphaëlâs object"};u.toFront=function(){if(this.removed)return this;var i,t,u,n=this,o=r._engine.getNode(n),f=n.parent,e=n.followers;for(r._tofront(n,f)&&f.canvas.appendChild(o),t=0,u=e.length;t<u;t++)(i=e[t]).stalk&&i.el[i.stalk](n);return n};u.toBack=function(){if(this.removed)return this;var i,t,f,n=this,o=r._engine.getNode(n),u=n.parent,e=n.followers;for(r._toback(n,u)&&u.canvas.insertBefore(o,u.canvas.firstChild),t=0,f=e.length;t<f;t++)(i=e[t]).stalk&&i.el[i.stalk](n);return n};u.insertAfter=function(n){if(this.removed)return this;var u,i,f,t=this,e=r._engine.getNode(t),o=r._engine.getLastNode(n),s=n.parent.canvas,h=t.followers;for(o.nextSibling?s.insertBefore(e,o.nextSibling):s.appendChild(e),r._insertafter(t,n,t.parent,n.parent),i=0,f=h.length;i<f;i++)(u=h[i]).stalk&&u.el[u.stalk](n);return t};u.insertBefore=function(n){if(this.removed)return this;var u,i,f,t=this,o=r._engine.getNode(t),s=r._engine.getNode(n),e=t.followers;for(n.parent.canvas.insertBefore(o,s),r._insertbefore(t,n,t.parent,n.parent),t.parent=n.parent,i=0,f=e.length;i<f;i++)(u=e[i]).stalk&&u.el[u.stalk](n);return this};u.appendChild=function(n){if(this.removed||"group"!==this.type)return this;var i,u,t,f,e=this.followers;if(n.parent===this)return n.toFront(),this;for(u=r._engine.getNode(n),r._tear(n,n.parent),this.canvas.appendChild(u),n.parent=this,!this.bottom&&(this.bottom=n),n.prev=this.top,n.next=null,this.top&&(this.top.next=n),this.top=n,t=0,f=e.length;t<f;t++)(i=e[t]).stalk&&i.el[i.stalk](n);return this};u.appendTo=function(n){return n.appendChild(this)};u.removeChild=function(n){if(this.removed||"group"!==this.type||n.parent!==this)return this;var t=this,u=r._engine.getNode(n),i=t.paper;return r._tear(n,t),i.canvas.appendChild(u),t.parent=i,!i.bottom&&(i.bottom=t),t.prev=i.top,i.top&&(i.top.next=t),i.top=t,t.next=null,t};r.format=function(n,t){var u=l.getArrayCopy(arguments),i=r.is(t,ft)?[0][h](t):u;return n&&r.is(n,ni)&&i.length-1&&(n=n.replace(se,function(n,t){return null==i[++t]?f:i[t]})),n||f};bf=r.vml?.5:0;r.crispBound=l.cacher(function(n,t,i,r,u){var e,f={};return n=n||0,t=t||0,i=i||0,r=r||0,e=(u=u||0)%2/2+bf,f.x=yt(n+e)-e,f.y=yt(t+e)-e,f.width=yt(n+i+e)-e-f.x,f.height=yt(t+r+e)-e-f.y,f["stroke-width"]=u,0===f.width&&0!==i&&(f.width=1),0===f.height&&0!==r&&(f.height=1),f},r);u.crisp=function(){var t,i=this,u=i.attrs,n=i.attr();for(t in n=r.crispBound(n.x,n.y,n.width,n.height,n["stroke-width"]))u[t]===n[t]&&delete n[t];return i.attr(n)};r.define=function(n,t,i,u,f,e){var o,s;if(r.is(n,ft))for(o=0,s=n.length;o<s;o++)r.define(n[o]);else if(r.is(n,k))r.define(n.name,n[n.name],n.ca,n.fn,n.e,n.data);else if(n&&!r.fn[n])return r.fn[n]=function(){var e,s=l.getArrayCopy(arguments),o=t.apply(this,s);if(u&&r.is(u,k))for(e in u)o[e]=u[e];
27if(f&&r.is(f,k))for(e in f)o[e]&&o[e](f[e]);if(i){if(r.is(i,ti))o.ca[n]=i;else for(e in i)o.ca[e]=i[e];o.ca[n]&&(r._lastArgIfGroup(s,!0),s.length&&(s[0][n]?o.attr.apply(o,s):o.attr(n,s[0])))}return o},i&&(r.fn[n].ca=i),u&&(r.fn[n].fn=u),f&&(r.fn[n].e=f),e&&(r.fn[n].data=e),r.fn[n]},function(n,t,i){null==n.readyState&&n.addEventListener&&(n.addEventListener("DOMContentLoaded",i=function(){n.removeEventListener("DOMContentLoaded",i,!1);n.readyState="complete"},!1),n.readyState="loading"),function u(){/in/.test(n.readyState)?setTimeout(u,9):r.eve("raphael.DOMload")}()}(pi);e["default"].on("raphael.DOMload",function(){ar=!0});r._preload=function(n,t){var r=o.doc,i=r.createElement("img");i.style.cssText="position:absolute;left:-9999em;top:-9999em";i.onload=function(){t.call(this);this.onload=null;r.body.removeChild(this)};i.onerror=function(){r.body.removeChild(this)};r.body.appendChild(i);i.src=n};t["default"]=r}).call(this,i(118))},function(n,t,i){"use strict";(function(n){t.__esModule=!0;var r=i(128);t["default"]=function(n){function t(n,f){var o,k=u,d=r.getArrayCopy(arguments),y=Array.prototype.slice.call(d,2),h=t.listeners(n),p=0,c=[],w={},s=[],g=i,e,b;for(s.firstDefined=a,s.lastDefined=v,i=n,u=0,e=0,b=h.length;e<b;e++)"zIndex"in h[e]&&(c.push(h[e].zIndex),h[e].zIndex<0&&(w[h[e].zIndex]=h[e]));for(c.sort(l);c[p]<0;)if(o=w[c[p++]],s.push(o.apply(f,y)),u)return u=k,s;for(e=0;e<b;e++)if("zIndex"in(o=h[e]))if(o.zIndex==c[p]){if(s.push(o.apply(f,y)),u)break;do if((o=w[c[++p]])&&s.push(o.apply(f,y)),u)break;while(o)}else w[o.zIndex]=o;else if(s.push(o.apply(f,y)),u)break;return u=k,i=g,s}var i,u,h="hasOwnProperty",e=/[\.\/]/,c=/\s*,\s*/,l=function(n,t){return n-t},o={n:{}},a=function(){for(var n=0,t=this.length;n<t;n++)if("undefined"!=typeof this[n])return this[n]},v=function(){for(var n=this.length;--n;)if("undefined"!=typeof this[n])return this[n]},y=Object.prototype.toString,s=String,f=Array.isArray||function(n){return n instanceof Array||"[object Array]"==y.call(n)};return t._events=o,t.listeners=function(n){for(var r,a,u,i,y,s,p=f(n)?n:n.split(e),h=o,c=[h],l=[],t=0,v=p.length;t<v;t++){for(s=[],i=0,y=c.length;i<y;i++)for(a=[(h=c[i].n)[p[t]],h["*"]],u=2;u--;)(r=a[u])&&(s.push(r),l=l.concat(r.f||[]));c=s}return l},t.separator=function(n){n?(n="["+(n=s(n).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",e=new RegExp(n)):e=/[\.\/]/},t.on=function(n,t){if("function"!=typeof t)return function(){};for(var r=f(n)?f(n[0])?n:[n]:s(n).split(c),i=0,u=r.length;i<u;i++)!function(n){for(var c,u=f(n)?n:s(n).split(e),i=o,r=0,h=u.length;r<h;r++)i=(i=i.n).hasOwnProperty(u[r])&&i[u[r]]||(i[u[r]]={n:{}});for(i.f=i.f||[],r=0,h=i.f.length;r<h;r++)if(i.f[r]==t){c=!0;break}c||i.f.push(t)}(r[i]);return function(n){+n==+n&&(t.zIndex=+n)}},t.f=function(n){var i=r.getArrayCopy(arguments),u=[].slice.call(i,1);return function(){t.apply(null,[n,null].concat(u).concat([].slice.call(i,0)))}},t.stop=function(){u=1},t.nt=function(n){var t=f(i)?i.join("."):i;return n?new RegExp("(?:\\.|\\/|^)"+n+"(?:\\.|\\/|$)").test(t):t},t.nts=function(){return f(i)?i:i.split(e)},t.off=t.unbind=function(n,i){var v,u,y,r,l,w,a,d,p,b,k;if(n)if(v=f(n)?f(n[0])?n:[n]:s(n).split(c),v.length>1)for(u=0,y=v.length;u<y;u++)t.off(v[u],i);else{for(v=f(n)?n:s(n).split(e),p=[o],b=[],u=0,y=v.length;u<y;u++)for(a=0;a<p.length;a+=w.length-2){if(w=[a,1],r=p[a].n,"*"!=v[u])r[v[u]]&&(w.push(r[v[u]]),b.unshift({n:r,name:v[u]}));else for(l in r)r[h](l)&&(w.push(r[l]),b.unshift({n:r,name:l}));p.splice.apply(p,w)}for(u=0,y=p.length;u<y;u++)for(r=p[u];r.n;){if(i){if(r.f){for(a=0,d=r.f.length;a<d;a++)if(r.f[a]==i){r.f.splice(a,1);break}r.f.length||delete r.f}for(l in r.n)if(r.n[h](l)&&r.n[l].f){for(k=r.n[l].f,a=0,d=k.length;a<d;a++)if(k[a]==i){k.splice(a,1);break}k.length||delete r.n[l].f}}else for(l in delete r.f,r.n)r.n[h](l)&&r.n[l].f&&delete r.n[l].f;r=r.n}n:for(u=0,y=b.length;u<y;u++){for(l in(r=b[u]).n[r.name].f)continue n;for(l in r.n[r.name].n)continue n;delete r.n[r.name]}}else t._events=o={n:{}}},t.once=function(n,i){return t.on(n,function r(){return t.off(n,r),i.apply(this,arguments)})},t.version="0.5.3",t.toString=function(){return"You are running Eve 0.5.3"},n.eve=t,t}("undefined"!=typeof window?window:void 0!==n?n:null)}
27).call(this,i(118))},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(152),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={extension:function(n){f["default"](n.getDep("redraphael","plugin"))},name:"redraphaelSvg",type:"plugin",requiresFusionCharts:!0}},function(n,t,i){"use strict";var u,r;t.__esModule=!0;u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var ri;if(n.svg){var s="hasOwnProperty",nt="vertical-align",tt="function",ui={visibility:"hidden","font-size":"0px"},f=String,e=parseFloat,fi=parseInt,ei={top:0,bottom:-1,middle:-.5},v=n._g.win.navigator,y=!!document.documentMode,p=Math,ct=p.max,it=p.abs,rt=p.pow,vt=p.sqrt,yt=/^xlink:/,ut=/[, ]+/,pt=/\n|<br\s*?\/?>/i,oi=/<|>|<br/i,wt=Array.prototype.shift,si=!(!/AppleWebKit/.test(v.userAgent)||/Chrome/.test(v.userAgent)&&!(v.appVersion.match(/Chrome\/(\d+)\./)[1]<29)),k=n.eve,o="",d=" ",ft="http://www.w3.org/1999/xlink",bt="http://www.w3.org/2000/svg",hi=(!!v.platform&&/iPad|iPhone|iPod/.test(v.platform),{block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"}),ci={speed:"optimizeSpeed",crisp:"crispEdges",precision:"geometricPrecision"},kt=v.userAgent.toLowerCase(),li=!(!(ri=-1!=kt.indexOf("msie")&&parseInt(kt.split("msie")[1]))||9!==ri),l=n.supportsPointer,a=n.supportsTouch,h={},ai=function(i,r,u,f){n._preload(u[1],function(){var n=this.offsetWidth,u=this.offsetHeight;t(i,{width:n,height:u});t(r,{width:n,height:u});f.safari()})},dt=function(n,t){if(t)for(var i in t)n[i]=t[i]},w={elementInfo:[]},vi=n._g.doc,gt=(n._g.win,{mouseover:"touchstart",mousedown:"touchstart",mouseup:"touchend",mousemove:"touchmove",mouseout:"touchend"}),yi={"accent-height":!0,accumulate:!0,additive:!0,"alignment-baseline":!0,alphabetic:!0,amplitude:!0,"arabic-form":!0,ascent:!0,azimuth:!0,"baseline-shift":!0,bbox:!0,begin:!0,bias:!0,by:!0,"cap-height":!0,"class":!0,clip:!0,"clip-path":!0,"clip-rule":!0,color:!0,"color-interpolation":!0,"color-interpolation-filters":!0,"color-profile":!0,"color-rendering":!0,cursor:!0,cx:!0,cy:!0,d:!0,decelerate:!0,descent:!0,direction:!0,display:!0,divisor:!0,"dominant-baseline":!0,dur:!0,dx:!0,dy:!0,elevation:!0,"enable-background":!0,end:!0,exponent:!0,fill:!0,"fill-opacity":!0,"fill-rule":!0,filter:!0,"flood-color":!0,"flood-opacity":!0,"font-family":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-variant":!0,"font-weight":!0,format:!0,fr:!0,from:!0,fx:!0,fy:!0,g1:!0,g2:!0,"glyph-name":!0,"glyph-orientation-horizontal":!0,"glyph-orientation-vertical":!0,hanging:!0,height:!0,"horiz-adv-x":!0,"horiz-origin-x":!0,href:!0,hreflang:!0,id:!0,ideographic:!0,"image-rendering":!0,in2:!0,"in":!0,intercept:!0,k1:!0,k2:!0,k3:!0,k4:!0,k:!0,kerning:!0,lang:!0,"letter-spacing":!0,"lighting-color":!0,local:!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,mask:!0,mathematical:!0,max:!0,media:!0,method:!0,min:!0,mode:!0,name:!0,offset:!0,opacity:!0,operator:!0,order:!0,orient:!0,orientation:!0,origin:!0,overflow:!0,"overline-position":!0,"overline-thickness":!0,"paint-order":!0,"panose-1":!0,path:!0,ping:!0,"pointer-events":!0,points:!0,r:!0,radius:!0,rel:!0,"rendering-intent":!0,restart:!0,result:!0,rotate:!0,rx:!0,ry:!0,scale:!0,seed:!0,"shape-rendering":!0,slope:!0,spacing:!0,speed:!0,stemh:!0,stemv:!0,"stop-color":!0,"stop-opacity":!0,"strikethrough-position":!0,"strikethrough-thickness":!0,string:!0,stroke:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-miterlimit":!0,"stroke-opacity":!0,"stroke-width":!0,style:!0,tabindex:!0,target:!0,"text-anchor":!0,"text-decoration":!0,"text-rendering":!0,to:!0,transform:!0,type:!0,u1:!0,u2:!0,"underline-position":!0,"underline-thickness":!0,unicode:!0,"unicode-bidi":!0,"unicode-range":!0,"units-per-em":!0,"v-alphabetic":!0,"v-hanging":!0,"v-ideographic":!0,"v-mathematical":!0,values:!0,"vector-effect":!0,version:!0,"vert-adv-y":!0,"vert-origin-x":!0,"vert-origin-y":!0,visibility:!0,width:!0,widths:!0,"word-spacing":!0,"writing-mode":!0,x1:!0,x2:!0,x:!0,"x-height":!0,"xlink:actuate":!0,"xlink:arcrole":!0,"xlink:href":!0,"xlink:role":!0,"xlink:show":!0,"xlink:title":!0,"xlink:type":!0,"xml:base":!0,"xml:lang":!0,"xml:space":!0,y1:!0,y2:!0,y:!0,z:!0};a&&vi.addEventListener(l?"pointerover":"touchstart",function(n){if(w.srcElement&&w.srcElement!==(n.srcElement||n.target))for(var i,r,u=(i=w.elementInfo).length,t=0;t<u;t++)(r=i[t]).callback.call(r.el,n);w={elementInfo:[]}},!0);n.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};n._url=o;var lt=function(n,t){var i=n.gradient;if(i){if(i===t)return;i.refCount--;i.refCount||i.parentNode.removeChild(i);delete n.gradient}t&&(n.gradient=t,t.refCount++)},t=n._createNode=function(t,i){var r,e;if("string"===(void 0===t?"undefined":u(t))&&(t=n._g.doc.createElementNS(bt,t)),i)for(r in i)e=li?f(i[r]):i[r],yt.test(r)?t.setAttributeNS(ft,r.replace(yt,o),e):t.setAttribute(r,e);return t},at={userSpaceOnUse:"userSpaceOnUse",objectBoundingBox:"objectBoundingBox"},ni={pad:"pad",redlect:"reflect",repeat:"repeat"},ti=function(i,r){var ut,w,u,v,a,ot;if(!i.paper||!i.paper.defs)return 0;var nt,y,c,b,d,s,g="linear",ft=i.paper,tt=n.getElementID((ft.id+"-"+r).replace(/[()\s%:,\xb0#]/g,"_")),k=.5,l=.5,et=i.node,st=et.style,h=n._g.doc.getElementById(tt);if(!h){if(r=(r=f(r).replace(n._radial_gradient,function(n,t){g="radial";t=t?t.split(","):[];b=t[5];d=t[6];var i,r,a=t[0],v=t[1],u=t[2],f=t[3],s=t[4],h=a&&v;return u&&(nt=/%/.test(u)?u:e(u)),b===at.userSpaceOnUse?(h&&(k=a,l=v),f&&s&&(y=f,c=s,h||(k=y,l=c)),o):(h&&(k=e(a),i=2*((l=e(v))>.5)-1,(r=rt(k-.5,2))+rt(l-.5,2)>.25&&r<.25&&(l=vt(.25-r)*i+.5)&&.5!==l&&(l=l.toFixed(5)-1e-5*i)),f&&s&&(y=e(f),i=2*((c=e(s))>.5)-1,(r=rt(y-.5,2))+rt(c-.5,2)>.25&&r<.25&&(c=vt(.25-r)*i+.5)&&.5!==c&&(c=c.toFixed(5)-1e-5*i),h||(k=y,l=c)),o)})).split(/\s*-\s*/),"linear"===g){if(w=r.shift(),u=w.match(/\((.*)\)/),u=u&&u[1]&&u[1].split(/\s*,\s*/),w=-e(w),isNaN(w))return null;u&&u.length?(u[0]in at?(b=u.shift(),u[0]in ni&&(d=u.shift())):(u[4]&&(b=u[4]),u[5]&&(d=u[5])),s=[u[0]||"0%",u[1]||"0%",u[2]||"100%",u[3]||"0%"]):(s=[0,0,p.cos(n.rad(w)),p.sin(n.rad(w))],ut=1/(ct(it(s[2]),it(s[3]))||1),s[2]*=ut,s[3]*=ut,s[2]<0&&(s[0]=-s[2],s[2]=0),s[3]<0&&(s[1]=-s[3],s[3]=0))}if(v=n._parseDots(r),!v)return null;for((h=t(g+"Gradient",{id:tt})).refCount=0,(b in at)&&h.setAttribute("gradientUnits",f(b)),(d in ni)&&h.setAttribute("spreadMethod",f(d)),"radial"===g?(nt!==undefined&&h.setAttribute("r",f(nt)),y!==undefined&&c!==undefined&&(h.setAttribute("cx",f(y)),h.setAttribute("cy",f(c))),h.setAttribute("fx",f(k)),h.setAttribute("fy",f(l))):t(h,{x1:s[0],y1:s[1],x2:s[2],y2:s[3]}),a=0,ot=v.length;a<ot;a++)h.appendChild(t("stop",{offset:v[a].offset?v[a].offset:a?"100%":"
270%","stop-color":v[a].color||"#fff","stop-opacity":v[a].opacity===undefined?1:v[a].opacity}));ft.defs.appendChild(h)}return lt(i,h),t(et,{fill:"url('"+n._url+"#"+tt+"')","fill-opacity":1}),st.fill=o,1},et=function(n){var i=n.getBBox(1);t(n.pattern,{patternTransform:n.matrix.invert()+" translate("+i.x+","+i.y+")"})},b=function(i,r,u){var b,k,tt,g,it,rt;if("path"==i.type){for(var p,w,ut,ft,c,et=f(r).toLowerCase().split("-"),st=i.paper,e=u?"end":"start",ht=i.node,l=i.attrs,d=l["stroke-width"],ot=et.length,a="classic",v=3,y=3,nt=5;ot--;)switch(et[ot]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":a=et[ot];break;case"wide":y=5;break;case"narrow":y=2;break;case"long":v=5;break;case"short":v=2}("open"==a?(v+=2,y+=2,nt+=2,ut=1,ft=u?4:1,c={fill:"none",stroke:l.stroke}):(ft=ut=v/2,c={fill:l.stroke,stroke:"none"}),i._.arrows?u?(i._.arrows.endPath&&h[i._.arrows.endPath]--,i._.arrows.endMarker&&h[i._.arrows.endMarker]--):(i._.arrows.startPath&&h[i._.arrows.startPath]--,i._.arrows.startMarker&&h[i._.arrows.startMarker]--):i._.arrows={},"none"!=a)?(b="raphael-marker-"+a,k="raphael-marker-"+e+a+v+y+"-obj"+i.id,n._g.doc.getElementById(b)?h[b]++:(st.defs.appendChild(t(t("path"),{"stroke-linecap":"round",d:hi[a],id:b})),h[b]=1),g=n._g.doc.getElementById(k),g?(h[k]++,tt=g.getElementsByTagName("use")[0]):(g=t(t("marker"),{id:k,markerHeight:y,markerWidth:v,orient:"auto",refX:ft,refY:y/2}),tt=t(t("use"),{"xlink:href":"#"+b,transform:(u?"rotate(180 "+v/2+" "+y/2+") ":o)+"scale("+v/nt+","+y/nt+")","stroke-width":(2/(v/nt+y/nt)).toFixed(4)}),g.appendChild(tt),st.defs.appendChild(g),h[k]=1),t(tt,c),it=ut*("diamond"!=a&&"oval"!=a),u?(p=i._.arrows.startdx*d||0,w=n.getTotalLength(l.path)-it*d):(p=it*d,w=n.getTotalLength(l.path)-(i._.arrows.enddx*d||0)),(c={})["marker-"+e]="url('"+n._url+"#"+k+"')",(w||p)&&(c.d=n.getSubpath(l.path,p,w)),t(ht,c),i._.arrows[e+"Path"]=b,i._.arrows[e+"Marker"]=k,i._.arrows[e+"dx"]=it,i._.arrows[e+"Type"]=a,i._.arrows[e+"String"]=r):(u?(p=i._.arrows.startdx*d||0,w=n.getTotalLength(l.path)-p):(p=0,w=n.getTotalLength(l.path)-(i._.arrows.enddx*d||0)),i._.arrows[e+"Path"]&&t(ht,{d:n.getSubpath(l.path,p,w)}),delete i._.arrows[e+"Path"],delete i._.arrows[e+"Marker"],delete i._.arrows[e+"dx"],delete i._.arrows[e+"Type"],delete i._.arrows[e+"String"]);for(c in h)h[s](c)&&!h[c]&&(rt=n._g.doc.getElementById(c),rt&&rt.parentNode.removeChild(rt))}},pi={"":["none"],none:["none"],"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},ii=function(t,i,r){if(i!==undefined){var f,e,o,u,s,h=pi[i.toLowerCase&&i.toLowerCase()];if(i=h||[].concat(i),n.is(i,"array")){if(o={round:e=r["stroke-width"]||t.attrs["stroke-width"]||1,square:e,butt:0}[r["stroke-linecap"]||t.attrs["stroke-linecap"]]||0,u=i.length,s=h?e:1,"none"===i[0])f=i;else for(f=[];u--;)f[u]=i[u]*s+(u%2?1:-1)*o,f[u]<=0&&(f[u]=.01+(e<=1?o:0)),isNaN(f[u])&&(f[u]=0);return{"stroke-dasharray":f.join(",")}}}},wi=n._setFillAndStroke=function(i,u){var p,d,rt,ht,ot,st,v;if(i.paper.canvas){var y,h,e,w,tt,k,a=i.node,c=i.attrs,g=i.paper,l={},nt={};for(h in"image"===i.type&&r.loadRefImage(i,u),u)if(h in n._availableAttrs)if((e=u[h])===o&&h in c)delete c[h],a.removeAttribute("src"===h?"href":h);else switch(c[h]=e,h){case"blur":i.blur(e);break;case"href":case"title":case"target":if(p=a.parentNode,"a"!==p.tagName.toLowerCase()){if(e===o)break;d=t("a");d.raphael=!0;d.raphaelid=a.raphaelid;p.insertBefore(d,a);d.appendChild(a);p=d}"target"===h?p.setAttributeNS(ft,"show","blank"===e?"new":e):p.setAttributeNS(ft,h,e);a.titleNode=p;break;case"cursor":nt.cursor=e;break;case"transform":i.transform(e);break;case"rotation":n.is(e,"array")?i.rotate.apply(i,e):i.rotate(e);break;case"arrow-start":b(i,e);break;case"arrow-end":b(i,e,1);break;case"clip-path":w=!0;case"clip-rect":(k=!w&&f(e).split(ut),i._.clipispath=!!w,w||4===k.length)&&(i.clip&&i.clip.parentNode.parentNode.removeChild(i.clip.parentNode),rt=t(w?"path":"rect"),(y=t("clipPath")).id=n.getElementID(n.createUUID()),t(rt,w?{d:e?c["clip-path"]=n._pathToAbsolute(e):n._availableAttrs.path,fill:"none"}:{x:k[0],y:k[1],width:k[2],height:k[3],transform:i.matrix.invert()}),y.appendChild(rt),g.defs.appendChild(y),l["clip-path"]="url('"+n._url+"#"+y.id+"')",i.clip=rt);e||(ht=a.getAttribute("clip-path"),ht&&(ot=n._g.doc.getElementById(ht.replace(/(^url\(#|\)$)/g,o)),ot&&ot.parentNode.removeChild(ot),l["clip-path"]=o,11===document.documentMode&&a.removeAttribute("clip-path"),delete i.clip));break;
27case"path":"path"===i.type&&(l.d=e?c.path=n._stopabsolutePath?n.sanitizePath(e):n._pathToAbsolute(e):n._availableAttrs.path,i._.dirty=1,i._.arrows&&("startString"in i._.arrows&&b(i,i._.arrows.startString),"endString"in i._.arrows&&b(i,i._.arrows.endString,1)));break;case"width":if(l[h]=e,i._.dirty=1,!c.fx)break;h="x";e=c.x;case"x":c.fx&&(e=-c.x-(c.width||0));case"rx":if("rx"===h&&"rect"===i.type)break;case"cx":l[h]=e;i.pattern&&et(i);i._.dirty=1;break;case"height":if(l[h]=e,i._.dirty=1,!c.fy)break;h="y";e=c.y;case"y":if("text"===i.type)break;c.fy&&(e=-c.y-(c.height||0));case"ry":if("ry"===h&&"rect"===i.type)break;case"cy":l[h]=e;i.pattern&&et(i);i._.dirty=1;break;case"r":"rect"===i.type?l.rx=l.ry=e:l[h]=e;i._.dirty=1;break;case"src":"image"===i.type&&a.setAttributeNS(ft,"href",e);break;case"stroke-width":1===i._.sx&&1===i._.sy||(e/=ct(it(i._.sx),it(i._.sy))||1);g._vbSize&&(e*=g._vbSize);si&&0===e&&(e=1e-6);l[h]=e;!u["stroke-dasharray"]&&c["stroke-dasharray"]&&""!==u["stroke-dasharray"]&&dt(l,ii(i,c["stroke-dasharray"],u));i._.arrows&&("startString"in i._.arrows&&n.addArrow&&n.addArrow(i,i._.arrows.startString),"endString"in i._.arrows&&n.addArrow&&n.addArrow(i,i._.arrows.endString,1));break;case"stroke-dasharray":dt(l,ii(i,e,u));break;case"fill":if(n._ISURL.test(e)){tt=e.split(n._ISURL);y=t("pattern");st=t("image");y.id=n.getElementID(n.createUUID());t(y,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1});t(st,{x:0,y:0,"xlink:href":tt[1]});y.appendChild(st);ai(y,st,tt,g);g.defs.appendChild(y);l.fill="url('"+n._url+tt[1]+"')";i.pattern=y;i.pattern&&et(i);break}if(v=n.getRGB(e),v.error){if(("circle"===i.type||"ellipse"===i.type||"r"!==f(e).charAt())&&ti(i,e)){c.gradient=e;break}}else delete u.gradient,delete c.gradient,!n.is(c["fill-opacity"],"undefined")&&n.is(u["fill-opacity"],"undefined")&&(l["fill-opacity"]=c["fill-opacity"]),i.gradient&<(i);v[s]("opacity")?(l["fill-opacity"]=v.opacity>1?v.opacity/100:v.opacity,i._.fillOpacityDirty=!0):i._.fillOpacityDirty&&n.is(c["fill-opacity"],"undefined")&&n.is(u["fill-opacity"],"undefined")&&(a.removeAttribute("fill-opacity"),delete i._.fillOpacityDirty);case"stroke":v=n.getRGB(e);l[h]=v.hex;"stroke"===h&&(v[s]("opacity")?(l["stroke-opacity"]=v.opacity>1?v.opacity/100:v.opacity,i._.strokeOpacityDirty=!0):i._.strokeOpacityDirty&&n.is(c["stroke-opacity"],"undefined")&&n.is(u["stroke-opacity"],"undefined")&&(a.removeAttribute("stroke-opacity"),delete i._.strokeOpacityDirty),i._.arrows&&("startString"in i._.arrows&&b(i,i._.arrows.startString),"endString"in i._.arrows&&b(i,i._.arrows.endString,1)));break;case"gradient":("circle"===i.type||"ellipse"===i.type||"r"!==f(e).charAt())&&ti(i,e);break;case"visibility":"hidden"===e?i.hide():i.show();break;case"opacity":e=e>1?e/100:e;l.opacity=e;break;case"fill-opacity":e=e>1?e/100:e;l["fill-opacity"]=e;break;case"shape-rendering":i.attrs[h]=e=ci[e]||e||"auto";l[h]=e;a.style.shapeRendering=e;break;case"line-height":case"vertical-align":break;default:"font-size"===h&&(e=fi(e,10)+"px");i._.dirty=1;l[h]=e;r.dashedAttr2CSSMap[h]&&(nt[r.dashedAttr2CSSMap[h]]=e)}else h in yi&&(e===o&&h in c?(delete c[h],a.removeAttribute(h)):(c[h]=e,nt[h]=e));for(h in nt)a.style[h]=nt[h];for(h in l)a.setAttribute(h,l[h]);"text"!==i.type||u["_do-not-tune"]||bi(i,u)}},g=n._updateFollowers=function(){for(var u,t=r.getArrayCopy(arguments),f=wt.call(t),e=wt.call(t),n=0,i=f.followers.length;n<i;n++)(u=f.followers[n].el)[e].apply(u,t)},bi=function(i,r){if("text"===i.type&&(r[s]("text")||r[s]("font")||r[s]("font-size")||r[s]("x")||r[s]("y")||r[s]("line-height")||r[s](nt))){var et,lt,k,h,w,g,it,at,c,v,a,p=i.attrs,b=i.parent,l=i.node,u=i._oldAttr=i._oldAttr||{baseLineDiff:8,valign:-.5},tt=e(r["line-height"]||p["line-height"]),rt=r.direction||p.direction||b&&b.attrs&&b.attrs.direction||u.direction||"initial",ot=!1,ut=!1,st=y||"rtl"!==rt?1:2,ft=!1,ht=!1,ct=!(y||!u.direction||rt===u.direction);if(u.direction=rt,tt||(tt=1.2*(et=(et=r.fontSize||r["font-size"]||p["font-size"]||b&&b.attrs&&b.attrs.fontSize)?et.toString().replace("px",o):10)),r[s]("text")&&(a=n.is(r.text,"array")?r.text.join("<br>"):r.text)!==u.text&&(ht=!0,a&&oi.test(a)&&(a=a.replace(/</g,"<").replace(/>/g,">").replace(/&<br\/>lt;|&l<br\/>t;|<<br\/>;/g,"<<br/>").replace(/&<br\/>gt;|&g<br\/>t;|><br\/>;/g,"><br/>")),u.text=p.text=a,pt.test(a)?(u.noTSpan&&(u.noTSpan=!(ct=!0)),w=(it=f(a).split(pt)).length):(ct=!0,u.noTSpan=!0,w=1),u.lineCount!==w&&(u.lineCount=w,ft=!0)),tt!==u.lineHeight&&(u.lineHeight=tt,u.baseLineDiff=.75*tt,ft=!0),ct)for(;l.firstChild;)l.removeChild(l.firstChild);if(u.lineCount>1){if(k={},u.tspanAttr||(u.tspanAttr={},u.tspan0Attr={}),u.tspanAttr.dy!==u.lineHeight&&(u.tspanAttr.dy=k.dy=u.lineHeight,ut=!0),r[s]("x")&&u.tspanAttr.x!==r.x&&(u.tspan0Attr.x=u.tspanAttr.x=k.x=p.x,ut=!0),ht){for(v=l.getElementsByTagName("tspan"),h=0;h<w;h++){if(c=v[h*st]){if(c.innerHTML=o,y)for(;c.firstChild;)c.removeChild(c.firstChild);ut&&t(c,h?k:u.tspan0Attr)}else c=t("tspan",h?u.tspanAttr:u.tspan0Attr),l.appendChild(c),y||"rtl"!==rt||((at=t("tspan",ui)).appendChild(n._g.doc.createTextNode("i")),l.appendChild(at));it[h]||(c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),it[h]=d);
27c.appendChild(n._g.doc.createTextNode(it[h]))}if(g=w*st,v.length>g)for(h=v.length-1;h>=g;h-=1)l.removeChild(v[h])}else if(ut)for(g=(v=l.getElementsByTagName("tspan")).length,h=0;h<g;h+=st)t(v[h],h?k:u.tspan0Attr)}else ht&&l.appendChild(n._g.doc.createTextNode(a));r[nt]&&(lt=ei[p[nt]]||0)!==u.valign&&(u.valign=lt,ft=!0);ft&&(u.shift=u.baseLineDiff+u.lineCount*u.lineHeight*u.valign,ot=!0);!r.y&&0!==r.y||u.y===r.y||(u.y=p.y,ot=!0);!ot||!u.y&&0!==u.y||!u.shift&&0!==u.shift||t(l,{y:Math.round(u.y+u.shift)})}},c=function(t,i,r){var u=this,f=r||i; 28/*! dontAppend && */ 29f.canvas&&f.canvas.appendChild(t);u.node=u[0]=t;t.raphael=!0;t.raphaelid=u.id=n._oid++;u.matrix=n.matrix();u.realPath=null;u.attrs=u.attrs||{};u.followers=u.followers||[];u.paper=i;u.ca=u.customAttributes=u.customAttributes||new i._CustomAttributes;u._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1};u.parent=f;!f.bottom&&(f.bottom=u);u.prev=f.top;f.top&&(f.top.next=u);f.top=u;u.next=null},ot=function(n,t,i){var r=i?"pageY":"pageX";return Math.abs(t[r]-n[r])},st=n.storeHandlers=function(n,t,i){n._actualListners||(n._actualListners=[]);n._derivedListeners||(n._derivedListeners=[]);n._actualListners.push(t);n._derivedListeners.push(i)},ht=function(n,t){var r,i=n._actualListners.indexOf(t);return-1!==i&&(r=n._derivedListeners[i],n._actualListners.splice(i,1),n._derivedListeners.splice(i,1)),r},i=n.el;c.prototype=i;i.constructor=c;n._engine.getNode=function(n){var t=n.node||n[0].node;return t.titleNode||t};n._engine.getLastNode=function(n){var t=n.node||n[n.length-1].node;return t.titleNode||t};i.rotate=function(n,t,i){var u,r=this;return r.removed?r:(g(r,"rotate",n,t,i),(n=f(n).split(ut)).length-1&&(t=e(n[1]),i=e(n[2])),n=e(n[0]),null==i&&(t=i),null!=t&&null!=i||(t=(u=r.getBBox(1)).x+u.width/2,i=u.y+u.height/2),r.transform(r._.transform.concat([["r",n,t,i]])),r)};i.scale=function(n,t,i,r){var o,u=this;return u.removed?u:(g(u,"scale",n,t,i,r),(n=f(n).split(ut)).length-1&&(t=e(n[1]),i=e(n[2]),r=e(n[3])),n=e(n[0]),null==t&&(t=n),null==r&&(i=r),null!=i&&null!=r||(o=u.getBBox(1)),i=null==i?o.x+o.width/2:i,r=null==r?o.y+o.height/2:r,u.transform(u._.transform.concat([["s",n,t,i,r]])),u)};i.translate=function(n,t){var i=this;return i.removed?i:(g(i,"translate",n,t),(n=f(n).split(ut)).length-1&&(t=e(n[1])),n=e(n[0])||0,t=+t||0,i.transform(i._.transform.concat([["t",n,t]])),i)};i.transform=function(i){var f,r=this,u=r._;return null==i?u.transform:(n._extractTransform(r,i),r.clip&&!u.clipispath&&t(r.clip,{transform:r.matrix.invert()}),r.pattern&&et(r),r.node&&t(r.node,{transform:r.matrix}),1===u.sx&&1===u.sy||(f=r.attrs["stroke-width"])&&r.attr({"stroke-width":f}),r)};i.hide=function(){var n=this;return g(n,"hide"),!n.removed&&n.paper.safari(n.node.style.display="none"),n};i.show=function(){var n=this;return g(n,"show"),!n.removed&&n.paper.safari(n.node.style.display=o),n};i.remove=function(){if(!this.removed&&this.parent.canvas){var i,t=this,f=n._engine.getNode(t),r=t.paper,e=r.defs;for(r.__set__&&r.__set__.exclude(t),k.unbind("raphael.*.*."+t.id),t.gradient&&e&<(t);i=t.followers.pop();)i.el.remove();for(;i=t.bottom;)i.remove();if(t._drag&&t.undrag(),t.events)for(;i=t.events.pop();)i.unbind();for(i in t.parent.canvas.contains(f)&&t.parent.canvas.removeChild(f),t.removeData(),delete r._elementsById[t.id],n._tear(t,t.parent),t)t[i]=u(t[i])===tt?n._removedFactory(i):null;t.removed=!0}};i._getBBox=function(){var f,t,o,i=this,s=i.node,n={},u=i.attrs,e="text"===i.type;y&&e?f=r.showRecursively(i):"none"===s.style.display&&(i.show(),o=!0);try{n=s.getBBox();e&&(n.x===undefined&&(n.isCalculated=!0,t=u["text-anchor"],n.x=(u.x||0)-n.width*("start"===t?0:"middle"===t?.5:1)),n.y===undefined&&(n.isCalculated=!0,t=u[nt],n.y=(u.y||0)-n.height*("bottom"===t?1:"middle"===t?.5:0)))}catch(h){}finally{n=n||{}}return y&&e?f&&f():o&&i.hide(),n};i.attr=function(t,i){var u;if(this.removed)return this;var r,h,w,e,l,a,c,v,f=this.attrs,o={},y=this._invokedCa||(this._invokedCa={}),p=this.ca;if(null==t){u={};for(r in f)f[s](r)&&(u[r]=f[r]);return u.gradient&&"none"===u.fill&&(u.fill=u.gradient)&&delete u.gradient,u.transform=this._.transform,u.visibility="none"===this.node.style.display?"hidden":"visible",u}if(null==i){if(n.is(t,"object"))e=t;else if(n.is(t,"string"))return"fill"===t&&"none"===f.fill&&f.gradient?f.gradient:"transform"===t?this._.transform:"visibility"===t?"none"===this.node.style.display?"hidden":"visible":t in f?f[t]:n.is(p[t],tt)?p[t].def:n._availableAttrs[t]}else(e={})[t]=i;if(!n.stopPartialEventPropagation)for(r in e)k("raphael.attr."+r
29+"."+this.id,this,e[r],r);for(r in e)if((v=p[r])&&!y[r]&&n.is(v,tt)){for(l in y[r]=!0,a=v.apply(this,[].concat(e[r])),y[r]=!1,a)o[l]=a[l];f[r]=e[r]}else o[r]=e[r];for(wi(this,o),h=0,w=this.followers.length;h<w;h++)(c=this.followers[h]).cb&&!c.cb.call(c.el,o,this)||c.el.attr(o);return this};i.pinchstart=function(t,i){var r=this,u={},f=function(f){if(f.touches&&2===f.touches.length){var e=f.touches[0],o=f.touches[1];r._blockDrag=!0;f&&f.preventDefault();n.makeSelectiveCopy(u,f);u.data={finger0:e,finger1:o,distanceX:ot(e,o),distanceY:ot(e,o,!0)};t.call(i||r,u)}else r._blockDrag=!1};st(r,t,f);r.node.addEventListener("touchstart",f)};i.unpinchstart=function(n){var t=ht(this,n);this.__blockDrag=!1;this._pinchDragStarted=!1;t&&this.node.removeEventListener("touchstart",t)};i.pinchmove=function(t,i){var r=this,u={},f=function(f){if(f.touches&&2===f.touches.length){var e=f.touches[0],o=f.touches[1];f&&f.preventDefault();r._pinchDragStarted=!0;n.makeSelectiveCopy(u,f);u.data={finger0:e,finger1:o,distanceX:ot(e,o),distanceY:ot(e,o,!0)};t.call(i||r,u)}};st(r,t,f);r.node.addEventListener("touchmove",f)};i.unpinchmove=function(n){var t=ht(this,n);t&&this.node.removeEventListener("touchmove",t)};i.pinchend=function(n,t){var i=this,r=function(r){i._pinchDragStarted&&(i._pinchDragStarted=!1,n.call(t||i,r))};st(i,n,r);i.node.addEventListener("touchend",r)};i.unpinchend=function(n){var t=ht(this,n);this._pinchDragStarted=!1;t&&this.node.removeEventListener("touchend",t)};i.pinch=function(n,t,r){i.pinchstart.call(this,n);i.pinchin.call(this,t);i.pinchend.call(this,r)};i.unpinch=function(n,t,r){i.unpinchstart.call(this,n);i.unpinchin.call(this,t);i.unpinchend.call(this,r)};i.fcwheel=function(t,i){var r=this,u={},f=function(f){f&&f.preventDefault();n.makeSelectiveCopy(u,f);t.call(i||r,u)};st(r,t,f);r.node.addEventListener("wheel",f)};i.fcunwheel=function(n){var t=ht(this,n);t&&this.node.removeEventListener("wheel",t)};i.on=function(t,i,r){if(i&&t){var e,o,u=this,s=t.match(/fc-/),f=i;if(this.removed)return this;switch(u._actualListners||(u._actualListners=[]),u._derivedListeners||(u._derivedListeners=[]),t){case"fc-dragstart":return u.drag(null,i),u;case"fc-dragmove":return u.drag(i),u;case"fc-dragend":return u.drag(null,null,i),u;case"fc-dbclick":return u.dbclick(i,r),u;case"fc-pinchstart":return u.pinchstart(i,r),u;case"fc-pinchmove":return u.pinchmove(i,r),u;case"fc-pinchend":return u.pinchend(i,r),u;case"fc-click":return u.fcclick(i,r),u;case"fc-wheel":return u.fcwheel(i,r),u}return s&&(t=t.replace(/fc-/,"")),s&&a&&(o=t,t=(l?n.safePointerEventMapping[t]:gt[t])||t,"mouseout"===o&&(f=function(n){l&&a&&!n.isPrimary||(w.elementInfo.push({el:r||u,callback:i}),w.srcElement=n.srcElement||n.target)},t=l?"pointerover":"touchstart")),this._&&this._.RefImg&&("load"===t||"error"===t)?(e=this._.RefImg,f=function(n){l&&a&&!n.isPrimary||u.removed||i.call(u,n)}):e=this.node,f===i&&(f=function(n){l&&a&&!n.isPrimary||i.call(r||u,n)}),u._actualListners.push(i),u._derivedListeners.push(f),e.addEventListener?e.addEventListener(t,f):e["on"+t]=f,this}};i.off=function(t,i){var e,r,u,f=i,o=t.match(/fc-/);if(this.removed||!this._actualListners||!t||!i)return this;switch(t){case"fc-dragstart":return this.undragstart(i),this;case"fc-dragmove":return this.undragmove(i),this;case"fc-dragend":return this.undragend(i),this;case"fc-dbclick":return this.undbclick(i),this;case"fc-pinchstart":return this.unpinchstart(i),this;case"fc-pinchmove":return this.unpinchmove(i),this;case"fc-pinchend":return this.unpinchend(i),this;case"fc-click":return this.fcunclick(i),this;case"fc-wheel":return this.fcunwheel(i),this}return o&&(t=t.replace(/fc-/,"")),f=i,o&&a&&(e=t,t=(l?n.safePointerEventMapping[t]:gt[t])||t,"mouseout"===e&&(t=l?"pointerover":"touchstart")),u=this._&&this._.RefImg?this._.RefImg:this.node,-1!==(r=this._actualListners.indexOf(f))&&(f=this._derivedListeners[r],this._actualListners.splice(r,1),this._derivedListeners.splice(r,1)),u.removeEventListener?u.removeEventListener(t,f):u["on"+t]=null,this};n._engine.path=function(n,i,r){var f=t("path"),u=new c(f,n,r);return u.type="path",i&&u.attr(i),u};n._engine.group=function(n,i,r){var f=t("g"),u=new c(f,n,r);return u.type="group",u.canvas=u.node,u.top=u.bottom=null,u._id=i||o,i&&f.setAttribute("class","raphael-group-"+u.id+"-"+i),u};n._engine.circle=function(n,i,r){var f=t("circle"),u=new c(f,n,r);return u.type="circle",i&&u.attr(i),u};n._engine.rect=function(n,i,r){var f=t("rect"),u=new c(f,n,r);return u.type="rect",i.rx=i.ry=i.r,i&&u.attr(i),u};n._engine.ellipse=function(n,i,r){var f=t("ellipse"),u=new c(f,n,r);return u.type="ellipse",i&&u.attr(i),u};n._engine.image=function(n,i,r){var f=t("image"),u=new c(f,n,r,!0);return u._.group=r||n,u.type="image",f.setAttribute("preserveAspectRatio","none"),i&&u.attr(i),u};n._engine.text=function(n,i,r,u){var e=t("text"),f=new c(e,n,r);
29return f.type="text",u&&f.css&&f.css(u,undefined,!0),i&&f.attr(i),f};n._engine.setSize=function(n,t){return this.width=n||this.width,this.height=t||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this};n._engine.create=function(){var i,f=n._getContainer.apply(0,arguments),u=f&&f.container,s=f.x,h=f.y,o=f.width,c=f.height,l,r,e;if(!u)throw new Error("SVG container not found.");return r=t("svg"),e="overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-moz-user-select:-moz-none;-khtml-user-select:none;-ms-user-select:none;user-select:none;-o-user-select:none;cursor:default;vertical-align:middle;",a&&(n.isEdge?e+="touch-action:none;":n.isFirefox&&n.isWindows?e+="touch-action:none;":n.isIE11&&(e+="-ms-touch-action:none;")),s=s||0,h=h||0,o=o||512,t(r,{height:c=c||342,version:1.1,width:o,xmlns:bt}),1===u?(r.style.cssText=e+"position:absolute;left:"+s+"px;top:"+h+"px",(u=n._g.doc.body).appendChild(r),l=1):(r.style.cssText=e+"position:relative",u.firstChild?u.insertBefore(r,u.firstChild):u.appendChild(r)),(i=new n._Paper).width=o,i.height=c,i.canvas=r,i.container=u,t(r,{id:"raphael-paper-"+i.id}),i.clear(),i._left=i._top=0,l&&(i.renderfix=function(){}),i.renderfix(),i};n._engine.setViewBox=function(n,i,r,u,f){k("raphael.setViewBox",this,this._viewBox,[n,i,r,u,f]);var o,h,s=ct(r/this.width,u/this.height),e=this.top,c=f?"meet":"xMinYMin";if(null==n?(this._vbSize&&(s=1),delete this._vbSize,o="0 0 "+this.width+d+this.height):(this._vbSize=s,o=n+d+i+d+r+d+u),t(this.canvas,{viewBox:o,preserveAspectRatio:c}),s)for(;e;)h="stroke-width"in e.attrs?e.attrs["stroke-width"]:1,e.attr({"stroke-width":h}),e._.dirty=1,e._.dirtyT=1,e=e.prev;return this._viewBox=[n,i,r,u,!!f],this};n.prototype.detachPaper=function(){!1!==this._detached&&(this.container.removeChild(this.canvas),this._detached=!0)};n.prototype.attachPaper=function(){this._detached&&(this.container.appendChild(this.canvas),this._detached=!1)};n.prototype.renderfix=function(){var n,t=this.canvas,u=t.style,i,r;try{n=t.getScreenCTM()||t.createSVGMatrix()}catch(f){n=t.createSVGMatrix()}i=-n.e%1;r=-n.f%1;(i||r)&&(i&&(this._left=(this._left+i)%1,u.left=this._left+"px"),r&&(this._top=(this._top+r)%1,u.top=this._top+"px"))};n.prototype._desc=function(i){var r=this.desc;if(r)for(;r.firstChild;)r.removeChild(r.firstChild);else this.desc=r=t("desc"),this.canvas.appendChild(r);r.appendChild(n._g.doc.createTextNode(n.is(i,"string")?i:"Created with Red Raphaël "+n.version))};n.prototype.clear=function(){var n;for(k("raphael.clear",this);n=this.bottom;)n.remove();for(n=this.canvas;n.firstChild;)n.removeChild(n.firstChild);this.bottom=this.top=null;n.appendChild(this.desc=t("desc"));n.appendChild(this.defs=t("defs"))};n.prototype.remove=function(){var t;for(k("raphael.remove",this);t=this.bottom;)t.remove();for(t in this.defs&&this.defs.parentNode.removeChild(this.defs),this.desc&&this.desc.parentNode.removeChild(this.desc),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[t]=u(this[t])===tt?n._removedFactory(t):null;this.removed=!0};n.prototype.setHTMLClassName=function(){}}};r=i(128)},function(n,t){"use strict";function i(n){var t={data:{}};if(!n)return t;if("string"==typeof n)try{t.data=JSON.parse(n)}catch(i){t.error=i}else t.data=n;return t}function r(){return this.getChartData("json")}function u(n){this.setChartData(n,"json")}
29t.__esModule=!0;t["default"]={extension:function(n){return n&&(n.prototype.setJSONData=u),n&&(n.prototype.getJSONData=r),{format:"json",toJSON:i,fromJSON:i}},name:"JSON",type:"transcoder",requiresFusionCharts:!0}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var e;t.__esModule=!0;var f=i(136),u=r(f),o=r(i(155)),s=r(i(156)),h=r(i(157)),c=r(i(158)),l=r(i(159)),a=r(i(160));e={oneInAFrame:!0};t["default"]={extension:function(n){var t=n.getDep("redraphael","plugin"),i={};t.fn._elementFromEvent=function(n){if(!n||this.removed)return null;var t=n.srcElement||n.target||(n=n.originalEvent)&&(n.srcElement||n.target)||i;return"tspan"===t.nodeName&&(t=t.parentNode),this.getById(t.raphaelid)};t.requestAnimFrame=u["default"].addJob&&function(n){u["default"].addJob(n,f.priorityList.animation,e)};t.instantRequestAnimFrame=u["default"].addJob&&function(n){u["default"].addJob(n,f.priorityList.instant)};a["default"](t);o["default"](t);s["default"](t);h["default"](t);c["default"](t);l["default"](t)},name:"redraphaelExt",type:"plugin",requiresFusionCharts:!0}},function(n,t,i){"use strict";var r,u;t.__esModule=!0;r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var c,t,s=n.eve,e=n._g,o=n.fn,l=n.el,v=/[, ]+/,i="",f=" ",a=/\B([A-Z]{1})/g,h="fusioncharts-raphael-stylesheet";(t=(c=function(n){this.styleSheet=i;this.rules={};this.ns=n||i}).prototype).getSheet=function(){var i=this.node;return this.styleSheet=t.getStyleSheet(h),this.styleSheet||((i=this.node=e.doc.createElement("style")).setAttribute("id",n.format("raphael-stylesheet-{0}",n._oid++)),i.setAttribute("type","text/css"),i.setAttribute("title",h),(e.doc.head||e.doc.getElementsByTagName("head")[0]).appendChild(this.node),this.styleSheet=t.getStyleSheet(h)),this.styleSheet};t.getStyleSheet=function(n){for(var t,i=e.doc.styleSheets,r=i.length;r--;)if((t=i[r]).title===n)return t};t.applyCSSRule=function(n,t){var r,i=this.styleSheet;if(!i){if(!n||!t)return;i=this.getSheet()}r=(i.rules||i.cssRules||{}).length||0;i.insertRule?i.insertRule(n+"{"+t+"}",r):i.addRule&&i.addRule(n,t,r)};t.removeCSS=function(n){var r,t=this.styleSheet,u=t.rules||t.cssRules||{},i=u.length||0;for(n=n||this.ns;i--;)r=u[i],new RegExp(n).test(r.selectorText)&&(t.removeRule?t.removeRule(i):t.deleteRule(i))};t.destroy=function(){this.removeCSS();delete this.node;delete this.styleSheet;delete this.ns;delete this.rules};t.clear=function(){this.removeCSS();this.rules={}};t.add=function(n,t,r){var u,f=i,e=this.rules[n]||(this.rules[n]={}),o=r?i:"\t",s=r?":":": ";for(u in t)(e[u]=t[u])&&(f+=o+u.replace(a,"-$1").toLowerCase()+s+e[u]+";");this.applyCSSRule(n,f)};t.render=function(){this.setCssText()};t.setCssText=function(n){var t,r,o=n?i:"\t",s=n?":":": ",u=i,e=i;for(t in this.rules){for(r in u=i,e=t.replace(/(^|\,)/g,"$1"+this.ns+f),t=this.rules[t])t[r]&&(u+=o+r.replace(a,"-$1").toLowerCase()+s+t[r]+";");this.applyCSSRule(e,u)}};s.on("raphael.new",function(){this._stylesheet=this._stylesheet||new c;this.cssNamespace(i)});s.on("raphael.remove",function(){this._stylesheet&&this._stylesheet.destroy();delete this._stylesheet});o.cssNamespace=function(t){return arguments.length&&(this._stylesheet.ns=n.format("{0}#raphael-paper-{1}",t&&t+f||i,this.id)),this._stylesheet.ns};o.cssAddRule=function(n,t){if(1===arguments.length&&"object"===(void 0===n?"undefined":r(n))){for(var i in n)this.cssAddRule(i,n[i]);return this}return this._stylesheet.add(n,t),this};o.cssRender=function(){return n.svg&&this._stylesheet.render(),this};o.cssClear=function(){return this._stylesheet.clear(),this};n.ca["class"]=function(t){var c,o,v,u,r=this,l=r.node,y=r.paper,s="."+t,a=y._stylesheet&&y._stylesheet.rules,e=r.parent,p=r.attrs,h={};if(n.svg)t=t||i,l.setAttribute("class","group"===r.type&&r._id?"raphael-group-"+r.id+"-"+r._id+f+t:t);else if(n.vml&&(c=l.className="group"===r.type?t&&r._id+f+t||r._id:"rvml "+t,l.className=c?c+" fusioncharts-div":"fusioncharts-div",s&&a)){for(u in o=a[s])"color"===u&&"text"===r.type&&(u="fill"),p[u]||(h[u]=o[u]);for(;e&&e.attr;){if(v=e.attr("class"))for(u in o=a[s="."+v+f+s])"color"===u&&"text"===r.type&&(u="fill"),p[u]||h[u]||(h[u]=o[u]);e=e.parent}r.css(h)}};l.css=function(t,i,r){var l,e,o,f,h,u,c;if(this.removed)return this;if(this.styles||(this.styles={}),void 0===i&&n.is(t,"string")){for(o={},u=0,c=(l=t.split(v)).length;u<c;u++)(t=l[u])in this.styles&&(o[t]=this.styles[t]);return c-1?o:o[l[0]]}if(void 0===i&&n.is(t,"array")){for(o={},u=0,c=t.length;u<c;u++)o[t[u]]=this.styles(t[u]);return o}for(u in void 0!==i?(e={})[t]=i:t&&n.is(t,"object")&&(e=t),h={},e)f=u.replace(/\B([A-Z]{1})/g,"-$1").toLowerCase(),n._availableAttrs.hasOwnProperty(f)||"color"===f?("color"===f&&"text"===this.type&&(f="fill"),h[f]=e[u],h.dirty=!0):(s("raphael.css."+f+"."+this.id,this,e[u],f),this.node.style[f]=e[u],this.styles[f]=e[u]);for(u=0,c=this.followers.length;u<c;u++)this.followers[u].el.attr(e);return h.hasOwnProperty("dirty")&&(delete h.dirty,r&&(h["_do-not-tune"]=!0),this.attr(h)),this};l.removeCSS=function(t){var r,i,f;if(!t&&(t=u.appliedCSS),this.removed)return this;
29if(n.is(t,"string")&&(t=t.split(",")),n.is(t,"array"))for(f=t.length,i=0;i<f;i++)r=t[i].replace(/\B([A-Z]{1})/g,"-$1").toLowerCase(),this.node.removeAttribute(r),this.node.style[r]="";return this}};u=i(125)},function(n,t,i){"use strict";var u,r;t.__esModule=!0;u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var e,i=window,s=Math.sqrt,f=i.parseFloat,h=i.parseInt,t="none",o="rgba(0,0,0,1)",c=i.SVGFilterElement||i.SVGFEColorMatrixElement&&2===i.SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE,l={"drop-shadow":"drop-shadow",stroke:"stroke",fill:"fill","stroke-width":"stroke-width","stroke-opacity":"stroke-opacity","stroke-linecap":"stroke-linecap","stroke-linejoin":"stroke-linejoin","shape-rendering":"shape-rendering",opacity:"opacity","fill-opacity":"fill-opacity"};n.svg?(c&&(n.filterShadow=function(t,i){var p,u,c,a,w=t.dx||1,b=t.dy||1,k=t.spread||3,e=t.color||"rgb(64,64,64)",l=t.paper,v=l.cacheShadows||(l.cac
29heShadows={}),h=t.id||"drop-shadow-"+(i?"layered":"non-layered")+"-"+[w,b,k,e].join(" "),y=t.id||n.getElementID(h.replace(/[\(\)\s%:,\xb0#]/g,"_")),d=!!(t.id?n._g.doc.getElementById(y):v[h]);return l&&!d?((e=n.color(e)).error&&(e=n.color(o)),c=r.pluck(e.opacity,1),c=t.opacity||c,u=(p=l.addDefs({filter:{tagName:"filter",id:y,y:"-1000%",x:"-1000%",width:"2000%",height:"2000%",children:[{tagName:"feOffset",result:"offOut","in":"SourceGraphic",dx:f(w),dy:f(b)},{tagName:"feColorMatrix",result:"matrixOut","in":"offOut",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "+c+" 0"},{tagName:"feGaussianBlur",result:"blurOut","in":"matrixOut",stdDeviation:i?1:s(f(k))},{tagName:"feComposite","in":"SourceGraphic",in2:"blurOut",operator:"over"}]}})).filter.children,a=v[h]={use:1,hash:h,id:y,filter:p.filter.element,offset:u[0].element,matrix:u[1].element,blur:u[2].element,blend:u[3].element}):(a=v[h]).use+=1,a},n.el.dropshadow=function(i,r,u,f,o,s){for(var a,w,b,g,nt,y,h=this,c=h._.shadowFilter,k=h.paper,d=k.cacheShadows||(k.cacheShadows={}),p="drop-shadow"+[i,r,u,f].join(" "),l=g=.05*o,v=1;v<=3;v++)l+=g*v*(o-l);if(w=(a=s?h.shadowElem||h.clone({fill:t,stroke:"rgb(51, 51, 51)","stroke-width":h.attr("stroke-width")||1,opacity:l},s).translate(i,r).follow(h,e,!s&&"before"):h).shadowElem&&a.shadowElem.node||a.node,i===t){if(c){if(c.use-=1,w.removeAttribute("filter"),h.shadowElem&&h.shadowElem.attr("opacity",0),!c.use){for(b in p=c.hash,c)(y=c[b]).parentNode&&y.parentNode.removeChild(y),delete c[b];y=null;delete d[p]}c=null;delete h._.shadowFilter}}else s&&!h.shadowElem&&(nt=!0),s&&(h.shadowElem=a),c=c&&d[p]?d[p]:h._.shadowFilter=n.filterShadow({paper:k,dx:i,dy:r,spread:u,color:f,opacity:!s&&l},!!s),!nt&&h.shadowElem&&h.shadowElem.attr("opacity",l),w.setAttribute("filter",'url("'+n._url+"#"+c.id+'")');return this}),e=function(n,t){var f,i,r=this,u={};for(i in n)switch(l[i]&&(u[i]=n[i],delete n[i]),i){case"transform":(f=t.matrix.clone()).translate(r.__shadowx,r.__shadowy);r.transform(f.toTransformString());break;case"stroke-width":n[i]=u[i]||1}for(i in r.attr(n),u)n[i]=u[i]},n.ca["drop-shadow"]=function(i,u,f,s,c,l){var k,a,d,g,p,w,v,y=this,b=y._.shadows||(y._.shadows=[]);if(y.__shadowblocked)return!1;if(i===t)for(;a=b.pop();)a.remove();else for((s=n.color(s)).error&&(s=n.color(o)),c instanceof Array?(p=c[0],w=c[1]):p=w=c,p=1/r.pluck(p,1),w=1/r.pluck(w,1),i=r.pluck(i,1)*p,u=r.pluck(u,1)*p,k=.05*r.pluck(s.opacity,1),d=h(y.attr("stroke-width")||1,10)+6,(g=y.matrix.clone()).translate(i,u),v=1;v<=3;v++)(a=(b[v-1]||y.clone().follow(y,e,!l&&"before")).attr({stroke:s.hex,"stroke-opacity":k*v,opacity:"1","stroke-width":(d-2*v)*w,transform:g.toTransformString(),"stroke-linecap":"round","stroke-linejoin":"round",fill:t})).__shadowlevel=v,a.__shadowscale=w,a.__shadowx=i,a.__shadowy=u,l&&l.appendChild(a),b.push(a);return!1},n.el.shadow=function(i,f,e,o){var s;if(e&&e.constructor===n.el.constructor&&(o=e,e=undefined),"object"===(void 0===i?"undefined":u(i))&&(f&&f.constructor===n.el.constructor&&(o=f),f=i.opacity,e=i.scalefactor,s=i.useFilter!==undefined?!!i.useFilter:!r.isIE9,i=i.apply===undefined?!!f:i.apply),f===undefined&&(f=1),this.dropshadow){if(s&&!this.ca.hasOwnProperty("drop-shadow"))return i&&this.dropshadow(1,1,3,"rgb(64,64,64)",f,o)||this.dropshadow(t),this;this._.shadowFilter&&this.dropshadow(t)}return this.attr("drop-shadow",i?[1,1,3,"rgba(64,64,64,"+f+")",e,o]:t)}):n.vml?(n.ca["drop-shadow"]=function(i,u,e,s,h,c){var y,p,v,w,a=this,l=a._.shadow;return!a.isShadow&&(i===t?l&&(l=a._.shadow=l.remove()):(l||(l=a._.shadow=a.clone(),c&&c.appendChild(l.follow(a))||l.follow(a,void 0,"before"),l.attr({fill:"none","fill-opacity":.5,"stroke-opacity":1}).isShadow=!0,l.attr("stroke-width")<=0&&l.attr("stroke-width",1)),p=(y=l.node.runtimeStyle).filter.replace(/ progid:\S+Blur\([^\)]+\)/g,""),(s=n.color(s)).error&&(s=n.color(o)),w=r.pluck(s.opacity,1)/5,v=h instanceof Array?h[0]:h,v=1/r.pluck(h,1),i=r.pluck(i,1)*v,u=r.pluck(u,1)*v,l.translate(i,u),y.filter=p+" progid:DXImageTransform.Microsoft.Blur(pixelRadius="+f(.4*e)+" makeShadow=True Color="+s.hex+' shadowOpacity="'+w+'");'),!1)},n.el.shadow=function(i,r,f,e){return f&&f.constructor===n.el.constructor&&(e=f,f=void 0),"object"===(void 0===i?"undefined":u(i))&&(r&&"group"===r.type&&(e=r),r=i.opacity,f=i.scalefactor,i=void 0===i.apply?!!r:i.apply),void 0===r&&(r=1),this.attr("drop-shadow",i||!r?[1,1,5,"rgba(64,64,64,"+r+")",f,e]:t)}):n.canvas&&(n.el.shadow=function(){return this})};r=i(125)},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var c=/rgba\([\d]+\,[\d]+\,[\d]+\,0\)$/,l=window,h=Math,u=h.cos,o=h.sin,a=h.PI,v=l.parseInt,i=l.parseFloat,y=String,p=Array.prototype.slice,t="hasOwnProperty",f="M",e="L",s="Z",w=/\s*\,\s*/g;n&&n._availableAnimAttrs&&n._availableAnimAttrs.cx&&(n._availableAnimAttrs["scroll-position"]=n._availableAnimAttrs.cx);n.define&&n.define([{name:"polypath",polypath:function(){return this.path(void 0,n._lastArgIfGroup(arguments))},ca:{polypath:function(t,r,h,c,l,y){var w,k,b,p,d;if(w=[],t=v(t,10)||0,r=i(r)||0,h=i(h)||0,c=i(c)||0,l=null===l||isNaN(l)?.5*a:n.rad(l),y=null===y||isNaN(y)?0:i(y),p=l,t>2)switch(k=2*a/t,y){case 0:for(b=0;b<t;b++)w.push(e,r+c*u(-p),h+c*o(-p)),p+=k;w[0]=f;w.push(s);break;case 1:for(b=0;b<t;b++)w.push(f,r,h,e,r+c*u(-p),h+c*o(-p)),p+=k;break;default:for(d=c*u(k*=.5)*(1-y),b=0;b<t;b++)w.push(e,r+c*u(-p),h+c*o(-p)),p+=k,w.push(e,r+d*u(-p),h+d*o(-p)),p+=k;w[0]=f;w.push(s)}else 0===c?w.push(f,r,h,e,r,h,s):w.push(f,r-c,h,"A",c,c,0,0,0,r+c,h,"A",c,c,0,0,0,r-c,h,s);return{path:w}},r:function(n){var t=this.attrs.polypath;return t[3]=n,this.attr("polypath",t),!1}}}]);n.ca["text-bound"]=function(t,i,r,u,f,e,o){var s=this,l=s.paper,h=s._.textbound;if(this._origOpacity=void 0!==o?o:1,"text"===this.type)return i&&"none"!==i&&!c.test(i)||t&&"none"!==t&&!c.test(t)?(s.attrs["text-bound"]=arguments,(!r||!n.is(r,"finite"))&&(r=0),(!f||!n.is(f,"finite"))&&(f=0),!h&&(h=s._.textbound=l.rect(0,0,0,0,s.group).follow(s,n.ca["text-bound"].reposition,"before")),h.attr({stroke:i||"none","stroke-width":r,fill:t||"none","shape-rendering":1===r?"crisp":"",r:f}),void 0!==o&&h.attr("opacity",o),e&&h.attr("stroke-dasharray",e),n.ca["text-bound"].reposition.call(h,s.attr(),s),!1):(s._.textbound=h&&h.unfollow(s).remove(),!1)};n.ca["text-bound"].reposition=function(n,u){var p,h,c,o,l,s,a,v,b,e=this,f={};n[t]("visibility")&&e.attr("visibility",n.visibility);(n[t]("text-bound")||n[t]("x")||n[t]("y")||n[t]("text")||n[t]("text-anchor")||n[t]("text-align")||n[t]("font-size")||n[t]("line-height")||n[t]("vertical-align")||n[t]("transform")||n[t]("rotation")||n[t]("opacity"))&&(h=(p=u.attrs)["text-bound"],c=y(h&&h[3]||"0").split(w),o=i(c[0])||0,l=r.pluck(i(c[1]),o),v=(s=u.getBBox()).width,b=s.height,e._origOpacity=u._origOpacity||1,a=i(n.opacity||p.opacity),f.opacity=isNaN(a)?e._origOpacity:e._origOpacity*a,isNaN(v)||(f.x=s.x-o,f.y=s.y-l,f.width=Math.max(v+2*o,0),f.height=Math.max(b+2*l,0)),e.attr(f))};n.fn.symbol=function(){var r,t=arguments,u=t.length-1,i=t[u];
29return i&&i.constructor===n.el.constructor?t[u]=void 0:i=void 0,(r=this.path(void 0,i)).ca.symbol=n.fn.symbol.ca.symbol,t.length===!!i+0?r:r.attr("symbol",t)};n.fn.getSuggestiveRotation=function(){var n,t,i,r;return n=arguments[0],1===arguments.length?(t=n.angle,i=n.x,r=n.y):(t=n,i=arguments[1],r=arguments[2]),"r"+(t=t||0)+","+i+","+r};n.fn.symbol.cache={"":n._cacher(function(n,t,i,r){return arguments.length>3?["M",n,t,"h",i,"v",r,"h",-i,"v",-r,"z"]:["M",n-i,t-i,"h",i*=2,"v",i,"h",-i,"v",-i,"z"]})};n.fn.symbol.ca={symbol:function(t){var u,i,r=n.is(t,"object")&&1===arguments.length&&!n.is(t,"function")?t:arguments;r===t&&(t=r[0]);i=(u=n.is(t,"function")&&t||n.fn.symbol.cache[t]||n.fn.symbol.cache[""])&&u.apply(n,p.call(r,1));n.is(i,"array")||n.is(i,"string")?this.attr("path",i):i&&this.attr(i)}};n.addSymbol=function(t,i){var u,r,f=n.fn.symbol.cache,e=[];for(r in u=n.is(i,"function")&&((u={})[t]=i,u)||t)i=u[r],f[r]=n.is(i,"function")&&n._cacher(i,n)||(e.push(r),i);for(r=e.pop();r;)f[r]=f[f[r]],r=e.pop()}};var r=i(125)},function(n,t,i){"use strict";var r,u;t.__esModule=!0;r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var t=function(n,t,r){return function(){var u=i(n._.imageGridAttr,t),o=1,s=1,e=1,h=void 0,f=void 0,c=void 0;if(u.tileInfo&&(o=u.tileInfo.xCount,s=e=u.tileInfo.yCount,c=u.y,delete u.tileInfo),n._.gridElem){for(f=0;f<n._.gridElem.length;f++)n._.gridElem[f].remove();n._.gridElem.length=0}for(f=0;o&&u.width&&u.height;)e--,0===f?n.attr(r?Object.assign(u,{applysrc:n._._src}):u):(h=n.clone().attr({x:u.x,y:u.y}),n._.gridElem.push(h.follow(n,void 0,"after"))),u.y+=u.height,0===e&&(e=s,o--,u.x+=u.width,u.y=c),f++}},i=function(n,t){var r=void 0;if(n){var s=n.displayMode,h=n.vAlign,c=n.hAlign,f=n.scale,i=n.canvasBorderWidth,e=n.canvasWidth,o=n.canvasHeight,l=t.width*(f/100),a=t.height*(f/100),v=e-2*i,y=o-2*i;r=u.getAlignImage(h,c,s,l,a,e,o,i,v,y)}return r||{x:0,y:0,width:t.width,height:t.height}};n.define&&n.define([{name:"imagegrid",imagegrid:function(){var u=void 0,i=void 0,e=arguments,o=e.length-1,f=e[o];return f&&f.constructor===n.el.constructor?e[o]=void 0:f=void 0,u=new Image,(i=this.image(f))._.gridElem=[],i._.refImage=u,i._attr=i.attr,i.attr=function(n,t){var e=Array.isArray(n),o=!e&&"object"===(void 0===n?"undefined":r(n)),h="string"==typeof n;if(e&&(o="object"===(void 0===(n=n[0])?"undefined":r(n))),o){var u=Object.assign({},n),f=u&&u.src,s=u&&u.applysrc;delete u.src;delete u.applysrc;f&&delete i._._src;i._attr(u);f&&i._attr({_src:f});s&&i._attr({src:s})}else{if(void 0===n&&void 0===t)return this.attrs;if(void 0===t)return this.attrs[n];h&&t&&("src"===n?i._attr({_src:t}):"applysrc"===n?i._attr({src:t}):i._attr({name:t}))}return this},u.onload=t(i,u,!0),u.onerror=function(n){return function(){n.hide();for(var t=0,i=n._.gridElem&&n._.gridElem.length;t<i;t++)n._.gridElem[t].remove();n._.gridElem=[];n._attr({src:n._._src});setTimeout(function(){n.show()},100)}}(i),i},ca:{imagegrid:function(n,i,r){var f=arguments.length>3&&arguments[3]!==undefined?arguments[3]:100,e=arguments.length>4&&arguments[4]!==undefined?arguments[4]:0,o=arguments.length>5&&arguments[5]!==undefined?arguments[5]:0,s=arguments.length>6&&arguments[6]!==undefined?arguments[6]:0,u=this;"tile"===n||"fill"===n||"fit"===n?("top"!==i&&"middle"!==i&&"bottom"!==i&&(i="middle"),"left"!==r&&"middle"!==r&&"right"!==r&&(r="middle")):("top"!==i&&"middle"!==i&&"bottom"!==i&&(i="top"),"left"!==r&&"middle"!==r&&"right"!==r&&(r="left"));u._.imageGridAttr={displayMode:n,vAlign:i,hAlign:r,scale:f,canvasBorderWidth:e,canvasWidth:o,canvasHeight:s};this._._src&&t(u,u._.refImage)()},_src:function(n){return this._.refImage.src=n,this._._src=n,{_src:n}}}}])};u=i(130)},function(n,t,i){"use strict";var r;t.__esModule=!0;r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var o,i,t,u=window,s=u.document,l=/msie/i.test(u.navigator.userAgent)&&!u.opera,h="VML"===n.type,a={curs
29or:"cursor"},c={x:"left",y:"top",strokeWidth:"borderThickness","stroke-width":"borderThickness",width:"width",height:"height"},v={fill:"backgroundColor",stroke:"borderColor",color:"color"},p={left:0,top:0,padding:0,border:"none",margin:0,outline:"none","-webkit-apperance":"none",position:"absolute",zIndex:20},y=function(n,t,i,r){var u,f=s.createElement(n);for(u in t)c[u]?f.style[u]=t[u]:f.setAttribute(u,t[u]);for(u in i)f.style[u]=i[u];return r&&r.appendChild&&r.appendChild(f),f};(o=(t=function(n,i,r){i&&i instanceof t&&(i=i.element);this.element=y(n,r,p,i);this.nodeName=n.toLowerCase();this.added=Boolean(i);this.attrs={}}).prototype={attr:function(n){var t,k,u,f,w,b,e,o,d,y,g,i=this.element,p={};if("object"!==(void 0===n?"undefined":r(n)))return void 0!==this[n]?this[n]:function(n,t,i){var u,f;if("string"==typeof t)void 0!==i&&null!==i?n.setAttribute(t,i):n&&n.getAttribute&&(f=n.getAttribute(t));else if(void 0!==t&&null!==t&&"object"===(void 0===t?"undefined":r(t)))for(u in t)n.setAttribute(u,t[u]);return f}(i,n);for(t in n){if(u=n[t],a[t]){switch(t){case"cursor":"pointer"===u&&h&&(u="hand")}i.style[a[t]]=u;f=!0}else if(c[t])i.style[c[t]]=u+"px",f=!0;else if(v[t])i.style[v[t]]=(g=u)&&g.replace(/^#?([a-f0-9]+)/gi,"#$1")||"none",f=!0;else if(/^visibility$/i.test(t))w="hidden"===u,i.style.display=w?"none":"",this.hidden=w,f=!0;else if(/^opacity$/i.test(t))i.style.opacity=u,l&&(k=100*Number(u),i.style.filter="progid:DXImageTransform.Microsoft.Alpha(Opacity="+k+")"),f=!0;else if(/^innerhtml$/i.test(t)){if(h&&"select"==i.nodeName.toLowerCase()){for(b=u.match(/<option\s?[\s\S]*?(\/>|><\/option>|>[\s\S]*?<\/option>)/gi);i.firstChild;)i.removeChild(i.firstChild);for(o=0,d=b.length;o<d;o+=1)e=b[o],y=s.createElement("option"),/<option\s([\s\S]*[\'\"])\s*?(\/>|>[\s\S]*<\/option>)/gi.test(e)&&(y.value=e.replace(/<option\s([\s\S]*[\'\"])\s*?(\/>|>[\s\S]*<\/option>)/gi,"$1").replace(/[\s\S]*value\s*\=\s*[\'\"]([\s\S]*)[\'\"]/,"$1")),y.text=e.replace(/<option\s*[\s\S]*[\'\"]?\s*?[\/>|\>]([\s\S]*)<\/option>/gi,"$1 "),i.options.add(y)}else"input"!==i.nodeName.toLowerCase()&&void 0!==u&&(i.innerHTML=u||"");f=!0}else/^text$/i.test(t)?("input"!==i.nodeName.toLowerCase()&&(i.innerHTML="",void 0!==u&&i.appendChild(s.createTextNode(u))),f=!0):/^type$/i.test(t)&&l&&this.added&&(f=!0);f&&(p[t]=u,delete n[t],f=!1)}for(t in n)i.setAttribute(t,n[t]);for(t in p)this[t]=this.attrs[t]=n[t]=p[t],delete p[t];return this},val:function(n){var t=this.element,u=void 0===n,i;if("input"===this.nodeName&&"checkbox"===t.getAttribute("type"))return u?this.checked()?1:0:this.checked(n);if("select"===this.nodeName){var r=t.childNodes,o=t.selectedIndex,f=r.length;if(""===n)return;if(!u)for(i=0;i<f;i++)if(r[i].value===n)return t.selectedIndex=i,r[i].value;return e.isIE9&&(o=0),u?r[o].value:(r[f-1].value=n,t.selectedIndex=f-1,this)}return u?t.value:(t.value=n,this)},checked:function(n){var t=this.element;return void 0===n?t.checked:(n?t.setAttribute("checked","checked"):t.removeAttribute("checked"),this)},css:function(n,t){var i,u=this.element.style;if("object"===(void 0===n?"undefined":r(n)))for(i in n)u[i]=n[i];else i&&void 0!==t&&(u[i]=t);return this},translate:function(n,t){var i=this.element;return void 0!==n&&(i.style.left=n+"px"),void 0!==t&&(i.style.top=t+"px"),this},add:function(n,t){var r=this.element,i=n.element;return t?i.insertBefore(r,i.firstChild):i.appendChild(r),this.added=!0,this},hide:function(){return this.element.style.display="none",this},show:function(){return this.element.style.display="",this},isVisible:function(){return"none"!==this.element.style.display},focus:function(){"function"==typeof this.element.focus?this.element.focus():f["default"].fire(this.element,"focus")},destroy:function(){var u,t=this.element||{};for(u in t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.onblur=t.onfocus=null,t=function(n){i||(i=y("div"));n&&i.appendChild(n);i.innerHTML=""}(t),delete this.element,this)this[u]="function"===r(this[u])?n._removedFactory(u):null;return this.removed=!0,null},on:h?function(n,t){return this.element["on"+n]=function(){var n=u.event;n.target=n.srcElement;t(n)},this}:function(n,t){var i=t;return e.hasTouch&&"click"===n&&(n="touchstart",i=function(n){n.preventDefault();t()}),this.element["on"+n]=i,this},bind:function(n,t,i){return f["default"].listen(this.element,n,t,i),this},unbind:function(n,t){return f["default"].unlisten(this.element,n,t),this},trigger:function(n,t){return f["default"].fire(this.element,n,t),this}}).remove=o.destroy;o.constructor=t;n.fn.html=function(i,r,u,f){var e,s,o={};for(s in r&&"type"in r&&(o.type=r.type,delete r.type),e=new t(i,f,o).css(u).attr(r),o)r[s]=o[s];return e.ca=function(){return!1},e.appendTo=function(n){n&&n instanceof t&&(n=n.element);n.appendChild(this.element)},e.animateWith=n.el.animateWith,e}};
29var u,o=i(127),f=(u=o)&&u.__esModule?u:{"default":u},e=i(125)},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){var t=[{reg:/xmlns\=\"http\:\/\/www.w3.org\/2000\/svg\"/gi,repStr:""},{reg:/^.*<svg /,repStr:'<svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" '},{reg:/\/svg>.*$/,repStr:"/svg>"},{reg:/<desc\>[^<]*<\/desc\>/,repStr:""},{reg:/zIndex="[^"]+"/g,repStr:""},{reg:/url\((\\?[\'\"])[^#]+#/g,repStr:"url($1#"},{reg:/ href=/g,repStr:" xlink:href="},{reg:/(id|class|width|height)=([^" >]+)/g,repStr:'$1="$2"'},{reg:/:(path|rect)/g,repStr:"$1"},{reg:/<ima?ge? ([^\>]+?[^\/])\>/gi,repStr:"<image $1 />"},{reg:/<\/ima?ge?\>/g,repStr:""},{reg:/style="([^"]+)"/g,repStr:function(n){return n.toLowerCase()}},{reg:/NS\d+\:href=/g,repStr:"xlink:href="}],i=function(n){var t=JSON.stringify(n);return t=(t=(t=(t=t.replace(/([a-z]+)([A-Z]+)([a-z]+)/g,function(n,t,i,r){return t+"-"+i.toLowerCase()+r})).replace(/\"\,\"/g,'";"')).replace(/\"/g," ")).replace(/\{|\}/g,"")};n.svg&&(n.fn.toSVG=function(n){var u,r="",f=0,e=t.length;if(this.canvas&&this.canvas.parentNode){for(r=this.canvas.parentNode.innerHTML;f<e;f+=1)u=t[f],r=r.replace(u.reg,u.repStr);this._stylesheet&&this._stylesheet.rules&&(r=function(n,t){var r,o,u,f,s,e,h,c=function(n){return n.match(/style\s*=/)?n.replace(/(style\s*=")([^"]+)/g,function(n,t,i){return t+f+i}):n.replace(/class\s*="[^"]*"/i,function(n){return n+' style="'+f+'" '})};for(r in t)if(t.hasOwnProperty(r))for(e in o=/\s+/,u=r.split(o),f=i(t[r]),u)u.hasOwnProperty(e)&&(s=u[e].trim().replace(".",""),h=new RegExp("<[^>]+("+s+")[^>]+","g"),n=n.replace(h,c));return n}(r,this._stylesheet.rules))}return n||(r=r.replace(/<image[^\>]*\>/gi,function(n){return n.match(/href=\"data\:image/i)?n:""})),r})}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;t._mouseEvtHandler=undefined;var r=i(125),s=i(131),h=u(i(162)),c=i(138),l=u(i(163)),a=i(132),f=u(i(164));var y=r.creditLabel,e=function(n,t,i){for(var y,u,f,h,b,e,o=i.mouseTracker,k=t.originalEvent,c=n.config.datasetOrder||n.getDatasets(),l=!1,v=c.length,s=o._lastDatasetIndex,a=o._lastPointIndex,p=(y=r.getMouseCoordinate(n.getFromEnv("chart-container"),k,n)).chartX,w=y.chartY;v--&&!l;)(u=c[v])&&u.getState("visible")&&(f=u._getHoveredPlot&&u._getHoveredPlot(p,w))&&f.hovered&&(l=!0,f.datasetIndex=v,e=o.getMouseEvents(t,f.datasetIndex,f.pointIndex));if((!l||e&&e.fireOut)&&void 0!==s&&c[s]&&c[s]._firePlotEvent&&(e&&!e.events.length?o.mouseoutTimer=setTimeout(function(){n.mouseoutHandler(t,s,a)},20):(n.mouseoutHandler(t,s,a),clearTimeout(o.mouseoutTimer))),l)for((b=e.events&&e.events.length)&&(o._lastDatasetIndex=f.datasetIndex,a=o._lastPointIndex=f.pointIndex),h=0;h<b;h+=1)u&&u._firePlotEvent&&u&&u._firePlotEvent&&u._firePlotEvent(e.events[h],a,t,f.datasetIndex)},o=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return v(t,n),t.getName=function(){return"base"},t.prototype.setDummyEImethods=function(n){var r=this.config,t=r._eiStore||(r._eiStore={}),u=function(n){return(f["default"][n]||[]).concat(f["default"]["*"])}(n),i=this.getFromEnv("chartInstance");u.forEach(function(n){var r;i[n]||(i[n]=(r=n,function(){t[r]||(t[r]=[]);t[r].push(arguments)}))});i.addEventListener("renderComplete",function(){var n=function(n){t[n].forEach(function(t){i[n].apply(i,t)})};for(var u in t)n(u);r._eiStore={}})},t.getType=function(){return"chartAPI"},t.prototype.mouseoutHandler=function(n,t,i){var r=this.config.datasetOrder||this.getDatasets(),u=this.getChildren("mouseTracker")[0];r[t]&&r[t].components.data[i]?r[t]._firePlotEvent("fc-mouseout",i,n):this.getFromEnv("toolTipController").hideAll();delete u._lastDatasetIndex;delete u._lastPointIndex},t.prototype.getName=function(){return"base"},t.prototype.getType=function(){return"chartAPI"},t.prototype._mouseEvtHandler=function(n,t){e(this,n,t)},t.prototype.getComponents=function(n,t){var i=[];return(n||this).iterateComponents(function(n){n.getType()===t&&i.push(n)}),i},t.prototype.getDatasets=function(n){var t=[];return(n||this).iterateComponents(function(n){"dataset"===n.getType()&&t.pu
29sh(n)}),t},t.prototype.preConfigure=function(t){n.prototype.preConfigure.call(this,t),function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])}(this.getFromEnv("chartInstance"),this.eiMethods)},t.prototype.configureAttributes=function(t){n.prototype.configureAttributes.call(this,t);this.createBaseComponent()},t.prototype.createBaseComponent=function(){var t=this,n=void 0;(n=t.getFromEnv("animationManager"))?n.configure():(n=new l["default"],t.addToEnv("animationManager",n),n.addToEnv("chart",t),n.addToEnv("animationManager",n),n.configure(),t.addExtEventListener("animationstart",function(n){var i=n.data.duration;i&&t.fireChartInstanceEvent("animationinvoked",{duration:i})},n))},t.prototype.setChartMessage=function(n,t,i){var u,f;r.componentFactory(this,h["default"],"chartMessage");f=this.getChildren("chartMessage")[0];i?this.addToEnv("chart-container",i):i=this.getFromEnv("chart-container");(u=this.getFromEnv("paper"))||((u=new(a.getDep("redraphael","plugin"))(i,this.getFromEnv("chartWidth"),this.getFromEnv("chartHeight"))).setHTMLClassName("fusioncharts-div"),this.addToEnv("paper",u));u.setConfig("stroke-linecap",r.ROUND);!this.getChildContainer("messageGroup")&&this.addChildContainer("messageGroup",u.group("messageGroup"));this.config.hasChartMessage=!0;f.setChartMessage(n,t)},t.prototype.drawChartMessage=function(){this.config.hasChartMessage=!0;this.getChildren("chartMessage")[0].drawChartMessage();this._drawCreditLabel()},t.prototype._dispose=function(){this._clearTimers&&this._clearTimers();var t=this.getFromEnv("paper");t&&t.remove&&t.remove();n.prototype._dispose.call(this)},t.prototype.fireChartInstanceEvent=function(n,t,i,r,u){var f=this.getFromEnv("chartInstance");s.triggerEvent(n,f,t,i,r,u)},t.prototype._hideChartMessage=function(){var n=this.getChildren("chartMessage");this.config.hasChartMessage=!1;n&&n[0]._hideChartMessage();this.getGraphicalElement("messageText")&&this.getGraphicalElement("messageText").hide();this.getGraphicalElement("messageVeil")&&this.getGraphicalElement("messageVeil").hide()},t.prototype._removeWaitingJobs=function(){this.iterateComponents(function(n){return n.removeAllJobs()})},t.prototype._drawCreditLabel=function(){var n,i,u,f,h=this.getFromEnv("core-options"),e=this.getFromEnv("paper"),c=h.creditLabel,l=this.getFromEnv("chartInstance").args.creditLabel,a=+this.getFromEnv("chartHeight"),o=this.getGraphicalElement("creditLabel"),s=this.getContainer("parentgroup"),t={href:r.CREDIT_HREF,text:r.CREDIT_STRING};r.pluck(l,c,y)?(i=this.getContainer("creditgroup")||this.addContainer("creditgroup",e.group("creditgroup")),s&&i.insertAfter(s),u={text:t.text,x:6,y:a-4,"vertical-align":r.POSITION_BOTTOM,"text-anchor":r.POSITION_START,fill:"rgba(0,0,0,0.5)",title:t.title||r.BLANK},f={fontSize:9,fontFamily:"Verdana,sans",cursor:r.POINTER,_cursor:r.HAND},o?o.attr(u).css(f):(n=e.text(u,f,i),this.addGraphicalElement("creditLabel",n),n.on("fc-click",function(){try{open(t.href)}catch(n){(top||window).location.href=t.href}}))):n&&n.remove&&this.removeGraphicalElement("creditLabel")},t.prototype._hideModal=function(){this.getChildContainer("messageGroup").hide()},t.prototype.remove=function(t){var i=this.getFromEnv("animationManager");n.prototype.remove.call(this,t);i&&i.remove(t)},t}(c.ComponentInterface);
29o.stringConstants={BACKGROUNDLOADED:"BackgroundLoaded",BACKGROUNDLOADERROR:"BackgroundLoadError",clipRectStr:"clip-rect"};t._mouseEvtHandler=e;t["default"]=o},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e,r;t.__esModule=!0;e=i(138);r=i(125);var u=r.preDefStr.noneStr,f=function(n,t){n.on("fc-click",function(){try{open(t)}catch(n){(top||window).location.href=t}});n.css({cursor:"pointer",_cursor:"pointer"})},s=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.getName=function(){return"chartMessage"},t.prototype._drawBackground=function(n){var i,y,a,v,c=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},e=this,t=e.config,p=e.getFromEnv("paper"),w=e.getFromEnv("chart"),o=e.getGraphicalElement("backgroundElement"),nt=e.getGraphicalElement("backgroundImage"),b=e.getFromEnv("chartWidth"),k=e.getFromEnv("chartHeight"),d=e.getLinkedParent().getChildContainer("messageGroup").show(),tt=r.pluckNumber(c.imageAlpha,100),it=0+r.COMMA+0+r.COMMA+b+r.COMMA+k,s=r.getValidValue(c.imageVAlign,r.BLANKSTRING).toLowerCase(),h=r.pluck(c.imageHAlign,r.BLANKSTRING).toLowerCase(),rt=r.pluckNumber(c.imageScale,100),g=e.getFromEnv("chartInstance"),l=t.messageURL,ut=r.getContainerBackgroundColor(g);p.canvas.style.backgroundColor=ut;s!==r.POSITION_TOP&&s!==r.POSITION_MIDDLE&&s!==r.POSITION_BOTTOM&&(s=r.POSITION_TOP);h!==r.POSITION_LEFT&&h!==r.POSITION_MIDDLE&&h!==r.POSITION_RIGHT&&(h=r.POSITION_LEFT);y={x:0,y:0,width:b,height:k,stroke:u};o||(o=p.rect(d),e.addGraphicalElement("backgroundElement",o));o.attr(y);o&&l&&f(o,l);t.bgImageVAlign=s;t.bgImageHAlign=h;t.bgImageScale=rt;t.bgSWFAlpha=tt;t.imgClipRect=it;n&&((i=nt)?i.attr({src:n}):(i=e.getFromEnv("paper").image(d),e.addGraphicalElement("backgroundImage",i),i.attr({src:n}),i.on("load",function(){if(!(!i||i&&i.removed)){var o=i._.RefImg;a=e.getFromEnv("chartConfig");t.isImage&&(void 0===a||a.hasChartMessage)&&(v=r.setImageDisplayMode(u,t.bgImageVAlign,t.bgImageHAlign,t.bgImageScale,0,e.getFromEnv("chartWidth"),e.getFromEnv("chartHeight"),o),r.extend2(v,{opacity:.01*t.bgSWFAlpha,visibility:"visible","clip-rect":t.imgClipRect}),i.attr(v).show(),i&&l&&f(i,l),w.fireChartInstanceEvent("backgroundloaded",{url:n,bgImageAlpha:100*t.bgSWFAlpha,bgImageDisplayMode:u,bgImageVAlign:t.bgImageVAlign,bgImageHAlign:t.bgImageHAlign,bgImageScale:t.bgImageScale,imageWidth:o.width,imageHeight:o.height}))}}),i.on("error",function(r){i.removed||w.fireChartInstanceEvent("backgroundloaderror",{url:n,bgImageAlpha:100*t.bgSWFAlpha,error:r,bgImageDisplayMode:u,bgImageVAlign:t.bgImageVAlign,bgImageHAlign:t.bgImageHAlign,bgImageScale:t.bgImageScale},g)})))},t.prototype.setChartMessage=function(n,t){var o,s,h,e,l=this.getFromEnv("chartInstance"),i=l.options,u=l.args,f=this.config,a=this.getFromEnv("smartLabel"),c=r.getImageURL(void 0!==n?n:i.dataEmptyMessage),v=this.getFromEnv("chartWidth"),y=this.getFromEnv("chartHeight");s=f.width=Number(v);o=f.height=Number(y);c.image?(h=c.string,e=t?{imageHAlign:r.pluck(t._chartMessageImageStyle.imageHAlign,i.baseChartMessageImageHAlign).toLowerCase(),imageVAlign:r.pluck(t._chartMessageImageStyle.imageVAlign,i.baseChartMessageImageVAlign).toLowerCase(),imageAlpha:r.pluckNumber(t._chartMessageImageStyle.imageAlpha,i.baseChartMessageImageAlpha),imageScale:r.pluckNumber(t._chartMessageImageStyle.imageScale,i.baseChartMessageImageScale)}:{imageHAlign:r.pluck(u.dataEmptyMessageImageHAlign,i.baseChartMessageImageHAlign).toLowerCase(),imageVAlign:r.pluck(u.dataEmptyMessageImageVAlign,i.baseChartMessageImageVAlign).toLowerCase(),imageAlpha:r.pluckNumber(u.dataEmptyMessageImageAlpha,i.baseChartMessageImageAlpha),imageScale:r.pluckNumber(u.dataEmptyMessageImageScale,i.baseChartMessageImageScale)},f.chartMessageType="image"):(e=t?{"font-family":t._chartMessageStyle.fontFamily||i.baseChartMessageFont,"font-size":t._chartMessageStyle.fontSize||i.baseChartMessageFontSize,fill:t._chartMessageStyle.color||i.baseChartMessageColor}:{"font-family":u.dataEmptyMessageFont||i.baseChartMessageFont,"font-size":u.dataEmptyMessageFontSize||i.baseChartMessageFontSize,fill:u.dataEmptyMessageColor||i.baseChartMessageColor},a.setStyle(e),h={text:a.getSmartText(r.parseUnsafeString(c.string),s,o).text,x:s/2,y:o/2},f.chartMessageType="text");f.messageURL=i.messageURL;f.chartMessageAttr=h;f.chartMessageStyle=e},t.prototype.drawChartMessage=function(){var t,e,i,n=this.config,h=this.getFromEnv("paper"),u=n.isImage="image"===n.chartMessageType,o=n.messageURL,s=u?n.chartMessageAttr:r.extend2(n.chartMessageAttr,n.chartMessageStyle);t=this.getGraphicalElement("messageText");i=this._graphics;e=this.getLinkedParent().getChildContainer("messageGroup").show();
29u?this._drawBackground(n.chartMessageAttr,n.chartMessageStyle):t||"text"!==n.chartMessageType?(i.message=t.attr(s),t.show()):t=this.addGraphicalElement("messageText",h.text(s,e));(t||i.message)&&o&&f(t||i.message,o);this._hideOtherMessage(u)},t.prototype._hideOtherMessage=function(n){var t,r,i;n?(r=this.getGraphicalElement("messageText"))&&r.hide():(t=this.getGraphicalElement("backgroundImage"),i=this.getGraphicalElement("backgroundElement"),t&&t.hide(),i&&i.hide())},t.prototype._hideChartMessage=function(){this._hideOtherMessage(!0);this._hideOtherMessage()},t.prototype.getType=function(){return"chartMessage"},t}(e.ComponentInterface);t["default"]=s},function(n,t,i){"use strict";function b(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function ft(n,t,i,r){var u,e,s,c,f,a=n.length,h=0,v=0,o=t;for(e=0,s=0,f=0;f<a;f+=1)(u=n[f]).hasAnimation||!1===u.collapsible?s+=1:e+=u.duration,v+=u.duration;for(e/=s,f=0;f<a;f+=1)(u=n[f]).hasAnimation&&(c=i-t,o=(h=o)+(u.duration/v+e)*c,r[u.name]={start:h,end:o,effect:u.effect,transition:u.transition},u.child&&l(u.child,h,o,r))}function et(n,t,i,r){var e,u,f;u=n.start;f=n.end;u=t+u*(e=i-t);f=t+f*e;r[n.name]={start:u,end:f,effect:n.effect,transition:n.transition};n.child&&l(n.child,u,f,r)}function l(n,t,i,r){for(var f,e=n.length,u=0;u<e;u++)f=n[u],Array.isArray(f)?ft(f,t,i,r):et(f,t,i,r)}var p;t.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e=i(125),a=i(136),w=i(138),h=i(132);var r=void 0,k=!e.hasSVG,d={initial:1,update:0,realTimeUpdate:0,resize:0,dispose:0,legendInteraction:0,scroll:0,mouseOut:0,mouseOver:0,"default":0,slicing:.25,timenavSqueeze:0,selectedRange:0,timenavScroll:0},g=["default","global","chartSpecific"],o={fadeIn:{opacity:{start:0,end:1}},fadeOut:{opacity:{start:1,end:0}}},v={fadeIn:function(){this&&this.show()},fadeOut:function(){this&&this.hide()}},s=function(n){return null===n},y=function(n){var t=[];return(arguments.length>1&&arguments[1]!==undefined?arguments[1]:"").split(",").forEach(function(i){n[i]&&n[i].animation&&t.push(n[i].animation)}),t},nt=function(n,t,i){var f,r=Object.assign({},n),u=i/t;return u>.2&&(u=.2),f=r.end-r.start,r.start*=1-u,r.start+=u,r.end=r.start+(1-u)*f,r.start=Math.round(100*r.start)/100,r.end=Math.round(100*r.end)/100,r},tt=function(n,t,i){var f,e=o[t],u="",s={};if(e&&n&&n.el&&n.el[0]){for(u in e)s[u]=n.el.attrs[u],s[u]===r&&(s[u]=null),n.attrs[u]=e[u].end,n.el.attr(u,e[u].start);f=n.callback;n.callback=function(){i&&v[t]&&v[t].call(this);f&&f.call&&f.call(this);this.attr(s)}}},it=function(n,t){var i,r=!0;if(t){for(n.attrs=n.attrs||{},~(t=t.split("-")).indexOf("nc")&&(r=!1),i=t.length;i--;)tt(n,t[i],r);return n}},rt=function(n,t,i,r,u,f,e,o){n.animateWith(u,f,t,e,o,i,r)},c=function(n){var i={},t,r;for(t in n)n.hasOwnProperty(t)&&"__esModule"!==t&&(r=n[t],ut(i,r));return i},ut=function(n,t){for(var i in t)t.hasOwnProperty(i)&&(!n[i]&&(n[i]=[]),n[i].push(t[i]))},f=function(n){return"function"===(void 0===n?"undefined":u(n))};o.fadein=o.fadeIn;o.fadeout=o.fadeOut;p=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i._removedGraphics=[],i._animCallBack=function(){if(!i.get
29State("removed")&&!this.removed){var n=i.getAnimationState();i._removeElems();i.reset();i.fireEvent("animationComplete",{currAnimState:n})}},i.startAnimation=function(){i.kickStart();i.animate()},r}return b(t,n),t.prototype.getType=function(){return"animationManager"},t.prototype.getName=function(){return"animationManager"},t.prototype.stopAnimation=function(){if(this.getState("chartAnimating")){var n,t=this.config.animationObj,i=t&&t.duration;i?(n=this.getGraphicalElement().dummyObj)&&n.stop(r,!0,!0):0===i&&(this.removeJob("anim-callBack"),this._animCallBack())}},t.prototype.kickStart=function(){var i,u,f=this.config,e=this.getGraphicalElement(),s=this.getFromEnv("paper"),t=f.animationObj,n=void 0,o=f.animationeffect;i=t.duration;t.animObj=u=h.getDep("redraphael","plugin").animation({x:0},i,o,this._animCallBack,!0);t.animType=o;(n=e.dummyObj)?n.attr({x:100}):(n=s.rect({x:100,y:0,width:10,height:30}),this.addGraphicalElement("dummyObj",n),n.hide());t.dummyObj=e.dummyObj;n.stop(r,!0,!0);this.fireEvent("animationStart",{duration:i});this.setState("chartAnimating",!0);n.animate(u)},t.prototype.setAnimationState=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:r;n&&this.stopAnimation();this.config.__state=n;this._setAnimDuration(n)},t.prototype.getAnimationState=function(){return this.config&&this.config.__state},t.prototype._setAnimDuration=function(){var u=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"default",n=this.config,i=n.animationObj||(n.animationObj={}),e=n.animationDuration||(n.animationDuration={}),o=this.getFromEnv("chart").getFromEnv("chart-attrib")||{},r=u+"AnimDuration",f=n.killSwitch?0:1e3*(e[r]||o[r.toLowerCase()]||t.getFallbackAnimDuration(u));i&&(i[r]=f,i.duration=+f)},t.prototype.configureAttributes=function(){var t=this.getFromEnv("chart"),i=t.config,n=this.config,r=t.getFromEnv("chart-attrib")||{};n.killSwitch=!e.pluckNumber(r.animation,i.animation,1);n.animationeffect=i.animationeffect||"linear";this.invokeAnimationRules();!n.workingRules&&(n.workingRules={});!n.animateArr&&(n.animateArr=[]);!n.animationName&&(n.animationName=[])},t.prototype.invokeAnimationRules=function(){var n=this.getFromEnv("chart"),f=n.getFromEnv("chart-attrib")||{},a=n.config||{},o=this.config,s=n.getFromEnv("chartInstance").args.animation,v=n.getFromEnv("core-options").defaultTheme,l=function(n){var t={},i=void 0;for(var r in n)n.hasOwnProperty(r)&&(t[(i=n[r]).name]=i);return t}(h.getDepsByType("theme")),r=(n.getFromEnv("core-options")._globalAnimationRule||[]).concat(y(l,v)),u=(s&&[s]||[]).concat(y(l,a.theme)),i=void 0;o.animationRules={global:c(r.map(function(n){return n&&n.rule}).filter(function(n){return n})),chartSpecific:c(u.map(function(n){return n&&n.rule}).filter(function(n){return n})),"default":c(h.getDepsByType("animationRule"))};o.animationDuration=i={};r.map(function(n){return Object.assign(i,n.duration)});u.map(function(n){return Object.assign(i,n.duration)});i.initialAnimDuration=e.pluckNumber(i.initialAnimDuration,f.initialanimduration,f.animationduration);this.config.slots=t.getFallbackAnimTimeSlots().concat([].concat.apply([],r.map(function(n){return n.slots})).filter(function(n){return n})).concat([].concat.apply([],u.map(function(n){return n.slots})).filter(function(n){return n}))},t.prototype.reInitialize=function(){var n=this.config.animationObj.duration;this.setState("initialized",!0);n?this.addJob("start-animation",this.startAnimation,a.priorityList.animation):(this.fireEvent("animationStart",{duration:n}),this.setState("chartAnimating",!0),this.addJob("anim-callBack",this._animCallBack,a.priorityList.animation))},t.prototype.reset=function(){this.setState("initialized",!1);this.config&&this.config.animateArr&&(this.config.animateArr.length=0);this.setState("chartAnimating",!1);this.setAnimationState()},t.prototype.registerAnimObj=function(n){for(var t in n)this.registerAnimation(n[t],t)},t.prototype.getFinalSlots=function(){var n=this.config,i=n.slots,t=n.workingRules={};return function r(n,t){var u,i,f,s,o,h,e=!1;if(!n)return!1;for(f=0,s=n.length;f<s;f+=1)if(i=n[f],Array.isArray(i))for(o=0,h=n[f].length;o<h;o+=1)i=n[f][o],u=!1,-1!==t.indexOf(i.name)?u=!0:i.child&&(u=i.hasAnimation=r(i.child,t)),e=e||u,i.hasAnimation=u;else u=!1,-1!==t.indexOf(i.name)?u=!0:i.child&&(u=i.hasAnimation=r(i.child,t)),e=e||u,i.hasAnimation=u;return e}(i,n.animationName),l(i,0,1,t),t["default"]={start:0,end:1},t},t.prototype.registerOne=function(n,t){this.registerAnimation([{data:[n]}],t)},t.prototype.registerAnimation=function(){for(var t,r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],u=arguments[1],f=!1,n=0,i=r.length;n<i;n+=1)(t=r[n]).data&&t.data.length&&(this.config.animateArr.push((t.component=u,t)),f=!0);f&&this.config.animationName.push(u);
29this.getState("initialized")||this.reInitialize()},t.prototype.onAnimationComplete=function(n){this.addEventListener("animationComplete",function(t){n();t.detachHandler()})},t.removeOpacityFromGroup=function(n,t){t&&k&&("group"===n||"group"===n.type)&&delete t.opacity},t.prototype.setAnimation=function(){var o,a,c,n,l,s,v,d,g,w,ut,tt,h,nt,i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},it=this.config,et=it.animationObj,f=i.el,y=i.attr||{},b={},p={},ot=function(n,t,r,u){return function(){r.callback&&r.callback.call(this);n&&this.attr(n);t&&i.callback&&i.callback.call(this);u&&this.appendTo(u)}},st=function(n,t,i){return function(){t.hookFn&&t.hookFn.call(this);n&&this.attr(n);i&&this.appendTo(i)}},rt=[],ht=et.duration,ft=this.getState("chartAnimating"),k="object"===(void 0===f?"undefined":u(f))&&i.container&&f.parent!==i.container;if(this.getState("chartAnimating")&&it.animationObj&&it.animationObj.duration&&this.setAnimationState("default"),!ft&&ht&&(g=this.getAnimAttributes(i))){for(d=g.length,nt=!1,ut=!(w="appearing"===i.state||"string"===(void 0===f?"undefined":u(f)))&&f.attrs,v={},s=0;s<d;s++){for(n in tt=s===d-1,l=rt[s]={},o=(h=g[s]).finalAttr,a=h.initialAttr,t.removeOpacityFromGroup(i.el,a),t.removeOpacityFromGroup(i.el,o),a)v[n]=a[n],p[n]===r&&(p[n]=a[n]);for(n in o)v[n]=o[n],w&&p[n]===r&&(p[n]=o[n]);if(l.attrs=o,l.transition=h.transition,l.effect=h.effect,l.animConfig=[h.startEnd],h.callback&&(l.callback=h.callback),(nt=k&&h.changeGroup)&&(k=!1),tt){if(w)for(n in y)p[n]===r&&(p[n]=y[n]);for(n in y)c=y[n],!v[n]&&w||v[n]===c||(o&&o[n]===r?o[n]=c:b[n]=c);for(n in v)b[n]===r&&(c=e.pluck(y[n],ut[n],""),v[n]!==c&&(o&&o[n]===r&&c!==r?o[n]=c:b[n]=c));o||(l.attrs=b);l.callback=ot((o||a)&&b,tt,h,k&&i.container);f=this.setAttributes(f,{attr:p,inputJSON:i})}(a||h.hookFn||nt)&&(l.animConfig[0].hookFn=st((!w||s)&&a,h,nt&&i.container))}for(s=0;s<d;s++)rt[s].el=f.el,this.registerAnimation([{data:[rt[s]]}],g[s].slot)}else ft?f=this.setAttributes(f,{attr:y,inputJSON:i,groupChangeReq:k,immediate:!0}):(this.registerAnimation(),f=this.setAttributes(f,{attr:y,inputJSON:i,groupChangeReq:k,immediate:!0}));return f.removed?null:f.el},t.prototype._removeElems=function(){this.getFromEnv("paper")&&!this.getFromEnv("paper").removed&&(this._removedGraphics.forEach(function(n){return n.remove&&n.remove()}),this._removedGraphics.length=0)},t.prototype.removeElement=function(n,t){return t?n.remove():this._removedGraphics.push(n),null},t._ruleSelectorQueryBuilder=function(n){var s=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],e=n.label,t=n.state,o=n.component,i=o.getType(),r=o.getName(),u,f;return s?(u=["*","*.*","*.*.*"],f=["*.*."+r,"*."+i+".*","*."+i+"."+r],"*"===t?u.concat(f):u.concat(f,[t+".*",t+".*.*",t+".*."+r,t+"."+i+".*",t+"."+i+"."+r])):[e+"."+t,e+".*","*."+t,"*.*","*"]},t.prototype._getRulesByState=function(n){var h,i=n.component,u=void 0,c=void 0,e=void 0,o=this.getAnimationState()||"*",l=t._ruleSelectorQueryBuilder(Object.assign(n,{state:o}));return(h=(e=i.getState("animRules")||{})[o])?h:(u=e[o]={},c=this.config.animationRules,g.forEach(function(n){var t=c[n];t&&l.forEach(function(n){t[n]&&(Array.isArray(t[n])?t[n].forEach(function(n){u=e[o]=s(n)?null:Object.assign(u||{},f(n)?n.call(i):n)}):u=e[o]=s(t[n])?null:Object.assign(u||{},f(t[n])?t[n].call(i):t[n]))})}),i.setState("animRules",e),!i.getState("ruleFlushAttached")&&i.addExtEventListener("predraw",function(){i.setState("animRules",r);i.setState("ruleFlushAttached",!0)},i.getFromEnv("chart")),u)},t._getRulesByElement=function(n,i){var r=void 0;return t._ruleSelectorQueryBuilder(i,!1).forEach(function(t){r===undefined&&(r=n[t])}),r},t.prototype.getAnimAttributes=function(n){var l,o=n.component||this.getFromEnv("chart"),a=n.label||("object"===u(n.el)?n.el.type:n.el),c=n.state,v=this._getRulesByState({label:a,component:o}),e=void 0,i=void 0,y=[],r=void 0,h=void 0;if(!s(v)&&(!c&&(c="string"===u(n.el)?"appearing":n.attr?"updating":"disappearing"),e=t._getRulesByElement(v,{component:o,state:c,label:a}),!s(e))){if(!e)return t.getFallbackAnimRule(n);if(!f(e)||(e=e.call(o,n),!s(e))){for(l=e.length,h=0;h<l;h++)r={},(i=e[h]).initialAttr&&(r.initialAttr=f(i.initialAttr)?i.initialAttr.call(o,n):Object.assign({},i.initialAttr)),i.finalAttr&&(r.finalAttr=f(i.finalAttr)?i.finalAttr.call(o,n):Object.assign({},i.finalAttr)),r.startEnd=f(i.startEnd)?i.startEnd.call(o,n):i.startEnd?Object.assign({},i.startEnd):{start:0,end:1},r.slot=i.slot||"default",r.callback=i.callback,r.hookFn=i.hookFn,r.transition=i.transition,r.effect=i.effect||"linear",i.groupChange&&(r.groupChange=!0),y.push(r);return y}}}
29,t.getFallbackAnimRule=function(n){if("appearing"===n.state||"string"===u(n.el)){if("group"!==n.el)return[{initialAttr:{opacity:0},finalAttr:{opacity:e.pluckNumber(n.attr&&n.attr.opacity,1)},startEnd:{start:0,end:1}}]}else{if("updating"===n.state||n.attr)return[{startEnd:{start:0,end:1}}];if("group"!==n.el.type)return[{initialAttr:{opacity:1},finalAttr:{opacity:0},startEnd:{start:0,end:1}}]}},t.getFallbackAnimDuration=function(n){return d[n]||0},t.getFallbackAnimTimeSlots=function(){return[{name:"_default",start:0,end:1,child:[[{name:"initial",duration:.125},{name:"middle",duration:.75,child:[[{name:"axis",duration:.25},{name:"plot",duration:.75}]]},{name:"final",duration:.125}]]}]},t.prototype.createElement=function(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},t=arguments[2],i=this.getFromEnv("paper");if(i||(i=this.getFromEnv("chart").getFromEnv("paper"),this.addToEnv("paper",i)),"group"===n)(n=i.group(t.attr&&t.attr.name||"",t.container)).attr(r);else if("html"===n)n=i.html(t.attr.type,r,t.css,t.container);else{if("text"===n&&t.css)return i[t.el](r,t.css,t.container);n=i[t.el](r,t.container)}return n},t.prototype.setAttributes=function(n,t){var r,u=t.attr,i=t.inputJSON||{};return"string"==typeof n?n=this.createElement(n,u,i):0!==Object.keys(u).length?n.attr(u):i.attr&&"disappearing"!==i.state||(r=!i.doNotRemove),r?this.removeElement(n,t.immediate):(i.css&&n.css(i.css),t.groupChangeReq&&n.appendTo(i.container),t.immediate&&i.callback&&i.callback.call(n)),{el:n,removed:r}},t.prototype.prepareAnimateArr=function(n){function l(n,i){var f,o,u,e={start:0,end:1};for(u in n)if(n.hasOwnProperty(u)){if(n[u].syncWith&&!t[n[u].syncWith])continue;f=n[u].syncWith;e.start=n[u].start===r?0:n[u].start;e.end=n[u].end===r?1:n[u].end;e.hookFn=n[u].hookFn||n.hookFn;e.smartMorph=n[u].smartMorph||n.smartMorph;break}return f=f&&t[f]?f:i&&t[i]?i:"default",o=t[f].end-t[f].start,e.start=t[f].start+e.start*o,e.end=t[f].start+e.end*o,e}var i,t,f,e,s,o,h,c,u,a=this.config.preAnimArr=[];for(t=this.getFinalSlots(),e=0,s=n.length;e<s;e+=1){for(f=(i=n[e]).component,o=0,h=i.data.length;o<h;o+=1)(c=(u=i.data[o]).transition||t[f]&&t[f].transition)&&it(u,c),u.preAnimFn&&a.push({el:u.el,fn:u.preAnimFn}),u.animConfig&&(u.animConfig=l(u.animConfig,f));i.effect||t[f]&&(i.effect=t[f].effect);i.animConfig||(i.animConfig=[{}]);i.animConfig=l(i.animConfig,f)}},t.prototype.animate=function(){var o,n,r,s,i,u,t,h,l=this.config,f=this.config.animateArr,e=l.animationObj,a=e.animObj,v=e.dummyObj,c=e.duration;for(this.prepareAnimateArr(f),function(n){for(var t=0,i=n.length,t=0;t<i;++t)n[t].fn&&n[t].fn.call(n[t].el)}(this.config.preAnimArr),i=0,u=f.length;i<u;i+=1)for(t=0,h=(n=f[i]).data.length-1;t<=h;t+=1)r=n.data[t].animConfig||n.animConfig,r=nt(r,c,180),o=n.data[t].effect||n.effect||"linear",s=i===u&&n.callback||n.data[t].callback,n.data[t].preAttrs&&n.data[t].el.attr(n.data[t].preAttrs),n.data[t].el&&rt(n.data[t].el,n.data[t].attrs,s||null,r,v,a,c,o)},t.prototype.remove=function(t){this.removeAllJobs();t.instant&&this.getGraphicalElement("dummyObj")&&this.getGraphicalElement("dummyObj").remove();n.prototype.remove.call(this,t)},t}(w.ComponentInterface);t["default"]=p},function(n,t){"use strict";t.__esModule=!0;var i={pie2d:["isPlotItemSliced","addData","removeData","updateData","slicePlotItem","startingAngle"],dragcolumn2d:["getDataWithId","getData","setUpperLimit","setLowerLimit","getLowerLimit","getUpperLimit"],realtimecolumn:["feedData","setData","stopUpdate","restartUpdate","isUpdateActive","clearChart","getData","getDataForId","setDataForId","getDataJSON","showLog","hideLog","clearLog"],scrollcolumn2d:["scrollTo"],doughnut:["centerLabel"],zoomline:["zoomOut","zoomTo","resetChart","setZoomMode","getViewStartIndex","getViewEndIndex","scrollTo"],maps:["getMapName","getEntityList","getMapAttribute","exportMap","addMarker","updateMarker","removeMarker"],"*":["exportChart","getXML","getChartAttribute","getCSVData","getChartData","getDataAsCSV","getJSONData","getSVGString","getXMLData"]};i.pie3d=i.pie2d;i.doughnut2d=i.doughnut3d=i.doughnut.concat(i.pie2d);i.dragarea=i.dragline=i.dragnode=i.dragcolumn2d;i.realtimearea=i.realtimeline=i.realtimelinedy=i.realtimestackedarea=i.realtimestackedcolumn=i.bulb=i.angulargauge=i.hlineargauge=i.hled=i.vled=i.vbullet=i.hbullet=i.thermometer=i.cylinder=i.realtimecolumn;i.scrollarea2d=i.scrollline2d=i.scrollcombidy2d=i.scrollcombi2d=i.scrollstackedcolumn2d=i.scrollcolumn2d;i.zoomlinedy=i.zoomline;t["default"]=i},function(n,t){"use strict";t.__esModule=!0;var i=function(){function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n)}return n.prototype.draw=function(){},n.prototype.drawAt=function(){},n.prototype.hide=function(){},n.prototype.hideAll=function(){},n.prototype.enableToolTip=function(){},n.prototype.disableToolTip=function(){},n.prototype.setStyle=function(){},n}();t["default"]={extension:i,name:"ToolTipController",type:"plugin"}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
29}t.__esModule=!0;t.MultiCanvasCrossLine=t.CrossLine=t.CenterLabel=t.debug=t.supportOldThemes=t.LogoExtension=t.BatchExportLinker=t.exportModule=t.LegendEventManagerLinker=t.inputAdapter=t.RegressionExtension=t.Annotation=t.DataSkipping=t.AlertManager=t.ConsolidatedToolTip=t.ToolTipController=t.PlotHighlighter=t.DefaultTheme=t.ThemeEngine=t.IgnoreCaseExt=t.XMLUrlTranscoder=t.JSONUrlTranscoder=t.CSVTranscoder=t.XMLTranscoder=t.linkedChartsExtension=t.MessageLogger=undefined;var u=r(i(167)),f=r(i(170)),e=r(i(172)),o=r(i(173)),s=r(i(174)),h=r(i(177)),c=r(i(178)),l=r(i(179)),a=r(i(180)),v=r(i(181)),y=r(i(183)),p=r(i(185)),w=r(i(186)),b=r(i(188)),k=r(i(192)),d=r(i(218)),g=r(i(224)),nt=r(i(252)),tt=r(i(253)),it=r(i(259)),rt=r(i(260)),ut=r(i(262)),ft=r(i(263)),et=r(i(264)),ot=r(i(267)),st=r(i(271));t.MessageLogger=u["default"];t.linkedChartsExtension=f["default"];t.XMLTranscoder=e["default"];t.CSVTranscoder=o["default"];t.JSONUrlTranscoder=s["default"];t.XMLUrlTranscoder=h["default"];t.IgnoreCaseExt=c["default"];t.ThemeEngine=l["default"];t.DefaultTheme=a["default"];t.PlotHighlighter=v["default"];t.ToolTipController=y["default"];t.ConsolidatedToolTip=p["default"];t.AlertManager=w["default"];t.DataSkipping=b["default"];t.Annotation=k["default"];t.RegressionExtension=d["default"];t.inputAdapter=g["default"];t.LegendEventManagerLinker=nt["default"];t.exportModule=tt["default"];t.BatchExportLinker=it["default"];t.LogoExtension=rt["default"];t.supportOldThemes=ut["default"];t.debug=ft["default"];t.CenterLabel=et["default"];t.CrossLine=ot["default"];t.MultiCanvasCrossLine=st["default"];t["default"]={name:"features",type:"package",requiresFusionCharts:!0,extension:function(n){n.addDep(f["default"]);n.addDep(e["default"]);n.addDep(o["default"]);n.addDep(s["default"]);n.addDep(h["default"]);n.addDep(c["default"]);n.addDep(l["default"]);n.addDep(v["default"]);n.addDep(a["default"]);n.addDep(y["default"]);n.addDep(p["default"]);n.addDep(w["default"]);n.addDep(u["default"]);n.addDep(b["default"]);n.addDep(k["default"]);n.addDep(tt["default"]);n.addDep(d["default"]);n.addDep(g["default"]);n.addDep(nt["default"]);n.addDep(it["default"]);n.addDep(rt["default"]);n.addDep(ut["default"]);n.addDep(ft["default"]);n.addDep(et["default"]);n.addDep(ot["default"]);n.addDep(st["default"])}}},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(168),f=(r=u)&&r.__esModule?r:{"default":r},e={timeseries:!0};t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){var t=n.sender.getName().toLowerCase();"chartAPI"!==n.sender.getType()||e[t]||n.sender.registerFactory("messageLogger",function(t){if(t.getChildren("messageLogger"))t.getChildren("messageLogger")[0].configure(t);else{var r=t.getFromEnv("chart-container"),i=new f["default"];i.configure(t);i.addToEnv("chart-container",r);t.attachChild(i,"messageLogger");t.getFromEnv("chartInstance").showLog=function(){return i&&i.show&&i.show()};t.getFromEnv("chartInstance").hideLog=function(){return i&&i.hide&&i.hide()};t.getFromEnv("chartInstance").clearLog=function(){return i&&i.clearLog&&i.clearLog()};n.sender.addEventListener("realtimeDataUpdate",function(n){n.sender.getChildren("messageLogger")&&n.sender.getChildren("messageLogger")[0].addLog(n.data)})}})})},name:"messageLoggerLinker",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var u,o=i(169),s=(u=o)&&u.__esModule?u:{"default":u},h=i(138),r=i(125);f=Math.min;e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.pIndex=1,i.linkedItems=i.linkedItems||(i.linkedItems={}),i.components=i.components||{},i.components.messages=i.components.messages||[],i.graphics=i.graphics||{},i.config=i.config||(i.config={}),i}return c(t,n),t.prototype.getType=function(){return"extension"},t.prototype.getName=function(){return"MessageLogger"},t.prototype.configure=function(n){this.linkedItems.chart=n;var t=n.getFromEnv("chart-attrib")||{},i=this.config.usemessagelog=n.getFromEnv("chartConfig").usemessagelog;this.config.messageLogWPercent=f(r.pluckNumber(t.messagelogwpercent,80),100);this.config.messageLogHPercent=f(r.pluckNumber(t.messageloghpercent,70),100);this.config.messageLogShowTitle=r.pluckNumber(t.messagelogshowtitle,1);this.config.messageLogTitle=r.pluck(t.messagelogtitle,"Message Log");this.config.messageLogColor=r.pluck(t.messagelogcolor,"#fbfbfb").replace(/^#?([a-f0-9]+)/gi,"$1");this.config.messageLogColorRgb=r.HEXtoRGB(this.config.messageLogColor);this.config.messageGoesToJS=r.pluckNumber(t.messagegoestojs,0);this.config.messageGoesToLog=r.pluckNumber(t.messagegoestolog,1);this.config.messageJSHandler=r.pluck(t.messagejshandler,"");this.config.messagePassAllToJS=r.pluckNumber(t.messagepassalltojs,0);this.config.messagePassAsObject=r.pluckNumber(t.messagepassasobject,0);this.config.messageLogIsCancelable=r.pluckNumber(t.messagelogiscancelable,1);this.config.alwaysShowMessageLogMenu=r.pluckNumber(t.alwaysshowmessagelogmenu,i);n.config.useShowLogMenu=i&&this.config.messageGoesToLog;this.config.dynamicScrolling=!1;this.config.scrollToBottom=!0},t.prototype._createMessage=function(n){var t=new s["default"](n,this);return this.graphics.container&&t.draw(),t},t.prototype.addLog=function(n){var i=this.components.messages,e=r.pluckNumber(n.msgGoesToLog,this.config.messageGoesToLog),o=r.pluckNumber(n.msgGoesToJS,this.config.messageGoesToJS),t=window[this.config.messageJSHandler],s=r.pluck(n.msgId,""),h=r.pluck(n.msgTitle,""),u=r.pluck(n.msgText,""),c=r.pluck(n.msgType,"literal"),f=void 0;0!=this.config.usemessagelog&&(o&&t&&"function"==typeof t&&(this.config.messagePassAllToJS?this.config.messagePassAsObject?t(n):t(s,h,u,c):t(u)),"1"===n.clearLog&&this.clearLog(),e&&(n.msgTitle||n.msgText)&&(f=this._createMessage(n),i.push(f),
291!==i.length||this.config.visible||this.show()))},t.prototype.show=function(){this.config.visible||1!=this.config.usemessagelog||(this.config.visible=!0,this.draw(),this.graphics.container||this.draw(),this.graphics.container&&this.graphics.container.show())},t.prototype.hide=function(){this.config.visible=!1;this.graphics.container&&this.graphics.container.hide()},t.prototype.clearLog=function(){for(var t=this.components.messages,n=void 0,i=t.length,n=0;n<i;n+=1)t[n]&&t[n].dispose&&t[n].dispose();t.splice(0,i)},t.prototype.isDrawn=function(){return!!this.graphics.container},t.prototype.draw=function(){var t=this.components.messages,n=void 0,i=void 0;if(0===this.config.usemessagelog)this.isDrawn()&&(this.clearLog(),this.hide());else for(this._createHTMLDialogue(),this.config.visible||this.hide(),i=t.length,n=0;n<i;n+=1)t[n]&&t[n].draw&&t[n].draw()},t.prototype._createHTMLDialogue=function(){var f,s,h,c,p=this,l=this.config,n=this.graphics,nt=this.linkedItems.chart,t=this.getFromEnv("paper"),tt=this.getFromEnv("chart-container"),e=nt.config,a=e.width,v=e.height,w=e.style,it=w&&w.inCanvasStyle,rt=this.config.messageLogWPercent,ut=this.config.messageLogHPercent,ft=this.config.messageLogShowTitle,y=this.config.messageLogIsCancelable,b=this.config.messageLogColor,k=this.config.messageLogTitle,r=a*(rt/100),o=v*(ut/100),et=(a-r)/2,ot=(v-o)/2,d=r-40,g=o-40,st=b,ht=b,i=n.container,u=this.isDrawn()&&e.animation&&e.animation.transposeAnimDuration;i||(i=n.container=t.html("div",{fill:"transparent"},{fontSize:"10px",lineHeight:"15px"},tt),n.veil=t.html("div",{id:"veil",fill:"000000",opacity:.1},void 0,i).on("click",function(){y&&p.hide()}),k&&ft&&(n.title=t.html("p",{id:"Title",innerHTML:k,x:5,y:5},{"font-weight":"bold"},i)),n.dialog=t.html("div",{id:"dialog",strokeWidth:1},{borderRadius:"5px",boxShadow:"1px 1px 3px #000000","-webkit-border-radius":"5px","-webkit-box-shadow":"1px 1px 3px #000000",filter:'progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color="#000000")'}
29,i),n.logBackground=t.html("div",{id:"dialogBackground",x:0,y:0},void 0,n.dialog),y&&(n.closeButton=t.html("div",{id:"closeButton",x:r-14,y:2,innerHTML:"<b>x<\/b>"},{cursor:"pointer",_cursor:"hand"},n.dialog).on("click",function(){y&&p.hide()})),n.logWrapper=t.html("div",{id:"logWrapper"},{overflow:"auto"},n.dialog).on("scroll",function(){var n=this&&this.scrollTop,t=this&&this.scrollHeight,i=this&&this.offsetHeight;l.dynamicScrolling?l.dynamicScrolling=!1:l.scrollToBottom=t-n===i}),n.log=t.html("div",{id:"log",x:0,y:0},{},n.logWrapper));i.css({fontFamily:it.fontFamily});n.dialog.attr({fill:"ffffff",stroke:st});n.logBackground.attr({fill:ht});f={width:a,height:v};s={x:et,y:ot,width:r,height:o};h={width:r,height:o};c={x:(r-d)/2,y:(o-g)/2,width:d,height:g};u?(i.animate(f,u,"normal"),n.veil.animate(f,u,"normal"),n.dialog.animate(s,u,"normal"),n.logBackground.animate(h,u,"normal"),n.logWrapper.animate(c,u,"normal")):(i.attr(f),n.veil.attr(f),n.dialog.attr(s),n.logBackground.attr(h),n.logWrapper.attr(c))},t}(h.ComponentInterface);t["default"]=e},function(n,t,i){"use strict";var e;t.__esModule=!0;var u=i(125),o=8===window.document.documentMode,r={},f={display:"block",paddingLeft:"10px",paddingRight:"10px","font-family":"Arial","font-size":"11px"};r.literal=r.info={title:'<span style="color: #005900">$titleVal$<\/span>',body:'<span">$msgVal$<\/span>'};r.link={title:r.info.title,body:'<a href="$msgLinkVal$">$msgVal$<\/a>'};r.error={title:'<span style="color: #CC0000">$titleVal$<\/span>',body:'<span style="color: #CC0000">$msgVal$<\/span>'};e=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.config={};this.messageType=(t.msgType&&t.msgType.replace(/^[\r\n]+|\.|[\r\n]+$/g,"")||"").toLowerCase();this.msgTitle=t.msgTitle;this.msgText=t.msgText;this.msgLink=t.msgLink;this.graphics={};this.linkedItems={msgLogger:i};this.msgObj=r[this.messageType]||r.literal;this.configureMsgTextAndMsgTitle()}return n.prototype.configureMsgTextAndMsgTitle=function(){this.config.totalHTML="";this.msgTitle&&(this.config.titleHTML=this.msgObj.title.replace("$titleVal$",this.msgTitle),this.config.totalHTML+=this.config.titleHTML);this.msgText&&(this.config.msgHTML=this.msgObj.body.replace("$msgVal$",this.msgText),this.config.msgHTML=this.config.msgHTML.replace("$msgLinkVal$",this.msgText),this.config.totalHTML+=this.config.msgHTML)},n.prototype.draw=function(){var r,e,s,t=this.graphics.element,h=this.linkedItems.msgLogger,n=h.graphics,i=n&&n.log&&n.log.element,c=n.logWrapper&&n.logWrapper.element,l=h.config;if(!t){for(r in t=this.graphics.element=window.document.createElement("span"),f)t.style[r]=f[r];i.appendChild&&i.appendChild(t)}this.graphics.element.innerHTML=this.config.totalHTML;u.isIE&&o&&(e=i.innerHTML,i.innerHTML=e);l.scrollToBottom&&(l.dynamicScrolling=!0,s=c.scrollHeight,c.scrollTop=s)},n.prototype.dispose=function(){var n=this.linkedItems.msgLogger;n&&n.graphics&&n.graphics.log&&n.graphics.log.element&&n.graphics.log.element.removeChild&&n.graphics.log.element.removeChild(this.graphics.element);delete this.graphics.element;u.componentDispose.call(this)},n}();t["default"]=e},function(n,t,i){"use strict";function h(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){return(n.options.containerElement===t.options.containerElement||n.options.containerElementId===t.options.containerElementId)&&n.options.insertMode===r.domInsertModes.REPLACE}function l(n){var t;n.sender.link instanceof e["default"]&&!n.sender.link.root.disposed?n.sender.link.parent instanceof this&&!(t=n.sender.link.parent.link.items)[n.sender.id]&&(t[n.sender.id]=n.sender):n.sender.link=new e["default"](n.sender)}var s;t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u=i(171),e=h(u),f=i(131),r=i(125),a=h(i(127));s=r.regex.dropHash;t["default"]={type:"extension",name:"LinkedChart",extension:function(n){n.prototype.configureLink=function(n,t){var i;if(n instanceof Array){for(i=0;i<n.length;i+=1)"object"!==o(u.store[this.link.root.id][i])&&(u.store[this.link.root.id][i]={}),r.extend2(u.store[this.link.root.id][i],n[i],!1,!0);u.store[this.link.root.id].splice(n.length)}else"object"===(void 0===n?"undefined":o(n))?("number"!=typeof t&&(t=this.link.level),"undefined"==typeof u.store[this.link.root.id][t]&&(u.store[this.link.root.id][t]={}),r.extend2(u.store[this.link.root.id][t],n,!1,!0)):f.raiseError(this,"25081731","param","~configureLink()","Unable to update link configuration from set parameters")};n.prototype.drawOverlayButton=function(n){var o,u,e,i=this.jsVars,t=i.overlayButton;if(n&&n.show){for(t||(t=i.overlayButton=document.createElement("span"),a["default"].listen(t,"click",function(){f.triggerEvent("OverlayButtonClick",i.fcObj,n)})),e=n.message?n.message:"Back";t.firstChild;)t.removeChild(t.firstChild);for(u in t.appendChild(document.createTextNode(e)),i.overlayButtonMessage=e,o={border:"1px solid "+(n.borderColor?n.borderColor.replace(s,r.HASHSTRING):"#7f8975"),backgroundColor:n.bgColor?n.bgColor.replace(s,r.HASHSTRING):"#edefec",fontFamily:n.font?n.font:"Verdana,sans",color:n.fontColor,fontSize:(n.fontSize?n.fontSize:"10")+r.PXSTRING,padding:(n.padding?n.padding:"3")+r.PXSTRING,fontWeight:0===parseInt(n.bold,10)?r.NORMAL:r.BOLD,position:"absolute",top:"0",right:"0",cursor:r.POINTER})t.style[u]=o[u];i.hcObj.container.appendChild(t);i.overlayButtonActive=!0}else t&&(i.overlayButton=t.parentNode.removeChild(t),i.overlayButtonActive=!1,delete i.overlayButtonMessage)};n.addEventListener("beforeRender",l);n.addEventListener("beforeInitialize",l);n.addEventListener("linkedChartInvoked",function(t,i){var h,u=t.sender,s=u.clone({dataSource:i.data,dataFormat:i.linkType,link:new e["default"](u.link.root,u,u instanceof n),clickedEntity:i.clickedEntity,clickedEntityBox:i.clickedEntityBox},!0),l=i.alias;l&&(!s.typeSource&&s.swfUrl&&(s.typeSource=s.swfUrl.replace(/(.*?)?[^\/]*\.swf.*?/gi,"$1")),s.type=l);u.args&&0!==parseInt(u.args.animate,10)&&delete s.animate;r.extend2(s,u.link.configuration(),!1,!0);f.triggerEvent("beforeLinkedItemOpen",u.link.root,{level:u.link.level},void 0,function(){n.items[s.id]instanceof n&&n.items[s.id].dispose();c(h=new n(s),u)||u.options.overlayButton&&u.options.overlayButton.message||("object"!==o(u.options.overlayButton)&&(u.options.overlayButton={}),u.options.overlayButton.message="Close");h.render();f.triggerEvent("linkedItemOpened",u.link.root,{level:u.link.level,item:h})})});n.addEventListener("overlayButtonClick",function(t,i){var r,e,u,o;"LinkManager"===i.id&&(r=t.sender,e=r.link.level-1,u=r.link.parent,o=r.link.root,f.triggerEvent("beforeLinkedItemClose",o,{level:e,item:r},void 0,function(){setTimeout(function(){n.items[r.id]&&r.dispose();f.triggerEvent("linkedItemClosed",o,{level:e})},0);u.disposed||u.isActive()||!c(r,u)?(u._addChartDependency("returnFromLinkedChart",{resolve:function(){return{state:3}}}),u._setState()):u.render()}))});n.addEventListener("DrawComplete",function(t){var u,i=t.sender;i&&"undefined"!=typeof i.link&&i.link.root!==i&&i.link.parent instanceof n&&(i.ref&&"function"==typeof i.drawOverlayButton?(u=r.extend2({show:!0,id:"LinkManager"}
29,i.link.parent.options.overlayButton,!1,!0),r.extend2(u,i.link.parent.link.configuration().overlayButton||{},!1,!0),i.drawOverlayButton(u)):f.raiseWarning(i,"04091602","run","::LinkManager^Loaded","Unable to draw overlay button on object. -"+i.id))});n.addEventListener("beforeDispose",function(t){var i=t.sender;i&&i.link instanceof e["default"]&&(i&&i.link&&i.link.parent instanceof n&&i.link.parent.link&&i.link.parent.link.items&&delete i.link.parent.link.items[t.sender.id],delete u.store[i.id])})},requiresFusionCharts:!0}},function(n,t){"use strict";t.__esModule=!0;var i={},r=function(){function n(t,r,u){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.items={};this.root=t;this.parent=r;u?this.level=this.parent.link.level+1:(i[t.id]=[{}],this.level=0)}return n.prototype.configuration=function(){return i[this.root.id][this.level]||(i[this.root.id][this.level]={})},n}();t.store=i;t["default"]=r},function(n,t,i){"use strict";function h(n){return n.replace(/</g,"<").replace(/>/g,">")}var s,r,o;t.__esModule=!0;r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};o=i(125);var e,f,c,u,l=(u={arr:{set:!0,trendlines:!0,vtrendlines:!0,line:{trendlines:!0,vtrendlines:!0},data:!0,dataset:!0,lineset:!0,categories:!0,category:!0,tasks:!0,linkeddata:!0,application:!0,definition:!0,axis:!0,connectors:!0,connector:{connectors:!0},trendset:!0,row:{rows:!0},column:{columns:!0},label:{labels:!0},color:{colorrange:!0},dial:{dials:!0},pointer:{pointers:!0},point:{trendpoints:!0},process:{processes:!0},task:{tasks:!0},milestone:{milestones:!0},datacolumn:{datatable:!0},text:{datacolumn:!0},item:{legend:!0},alert:{alerts:!0},groups:{annotations:!0},items:{groups:!0,data:!0},shapes:!0,shape:{shapes:!0},entitydef:!0,entity:{entitydef:!0}},tag:{chart:"linkedchart",map:"linkedmap",set:"data",vline:{chart:"data",graph:"data",dataset:"data",categories:"category",linkedchart:"data"},apply:{application:"application"},style:{definition:"definition"},marker:{application:"application",definition:"definition",data:"items"},entity:{entitydef:"entitydef",data:"data"},shape:{shapes:"shapes"},connector:{connectors:{chart:"connector",linkedchart:"connector",map:"connectors",linkedmap:"connectors"}},annotationgroup:{annotations:"groups"},annotation:{groups:"items"}},attr:{vline:{vline:"true"}},ins:{chart:!0,map:!0,graph:!0},dsv:{dataset:"data",categories:"category"},text:{target:"target",value:"value"},group:{styles:{definition:!0,application:!0},chart:{value:!0,target:!0},graph:{value:!0,target:!0},linkedchart:{value:!0,target:!0},markers:{definition:!0,application:!0,shapes:!0,connectors:!0,data:!0},map:{entitydef:!0,data:!0},linkedmap:{entitydef:!0,data:!0}}},e={append:function(n,t,i,r){!u.arr[i]||!0!==u.arr[i]&&!0!==u.arr[i][r]?t[i]=n:(t[i]instanceof Array||(t[i]=[]),t[i].push(n))},child:function(n,t,i,f){for(var h,l,c,a,s,v=0;v<t.length;v+=1)switch(h=(l=t[v]).nodeName.toLowerCase(),l.nodeType){case 1:if(c=e.attr(l.attributes),!0===(s=u.ins[h])&&(a=c,(c={})[h]=a,a=void 0),"object"===(void 0===(s=u.attr[h])?"undefined":r(s))&&o.extend2(c,s,!1,!0),s=u.tag[h])if("object"===(void 0===s?"undefined":r(s))&&"object"===r(s[i])){for(a in a=void 0,s[i])if(f[a]){h=s[i][a];break}}else"object"===(void 0===s?"undefined":r(s))&&"string"===r(s[i])?h=s[i]:"string"===(void 0===s?"undefined":r(s))&&(h=s);l.childNodes.length&&((s=u.group[i])&&s[h]?e.child(n,l.childNodes,h,f):e.child(c,l.childNodes,h,f));(s=u.group[i])&&s[h]||e.append(c,n,h,i);break;case 3:(s=u.text[i])&&(h=s,c=l.data,e.append(c,n,h,i));"string"===(void 0===(s=u.dsv[i])?"undefined":r(s))&&f.chart&&parseInt(f.chart.compactdatamode,10)&&(h=s,c=l.data,n[h]=n[h]?n[h]+c:c)}},attr:function(n){var t,i={};if(!n||!n.length)return i;for(t=0;t<n.length;t+=1)"xml"===c&&(n[t].value?n[t].value=h(n[t].value):n[t].nodeValue&&(n[t].nodeValue=h(n[t].nodeValue))),i[n[t].nodeName.toLowerCase()]=n[t].value||n[t].nodeValue;return i}},f=function(n){var i,v,t,h,c,y,a,p,u,l={};if("object"!==(void 0===n?"undefined":r(n))&&n&&"function"!==r(n.toString))return f.errorObject=ne
vendor: 1,196 bytes, line 29
29w TypeError("xml2json.parse()"),l;if(n=n.toString().replace(/<\!--[\s\S]*?-->/g,"").replace(/<\?xml[\s\S]*?\?>/gi,"").replace(/&(?!([^;\n\r]+?;))/g,"&$1"),!(n=o.fastTrim(n)))return l;try{if(window.DOMParser?i=(new window.DOMParser).parseFromString(n,"text/xml"):document.body&&s.options.allowIESafeXMLParsing?((v=document.createElement("xml")).innerHTML=n,document.body.appendChild(v),i=v.XMLDocument,document.body.removeChild(v),v=null):((i=new window.ActiveXObject("Microsoft.XMLDOM")).async="false",i.loadXML(n)),!(i&&i.childNodes&&1===i.childNodes.length&&(t=i.childNodes[0])&&t.nodeName&&(h=t.nodeName.toLowerCase()))||"chart"!==h&&"map"!==h&&"graph"!==h)return f.errorObject=new TypeError("xml2json.parse()"),l;if("graph"===h){for(c=i.createElement("chart"),u=(a=t.attributes)&&a.length||0;u--;)c.setAttribute(a[u].name,a[u].value),a.removeNamedItem(a[u].name);for((u=(p=t.childNodes)&&p.length||0)&&(u-=1,y=t.removeChild(p[u]),c.appendChild(y));u--;)y=t.removeChild(p[u]),c.insertBefore(y,c.firstChild);i.replaceChild(c,t);t=c}}catch(w){f.errorObject=w}return t?(t.attributes&&(l[h]=e.attr(t.attributes)),t.childNodes&&e.child(l,t.childNodes,h,l),delete f.errorObject):f.errorObject=ne
29w TypeError("xml2json.parse()"),l},function(n){return delete f.errorObject,c=arguments[arguments.length-1],{data:f(n),error:f.errorObject}}),a=function(){var t,n;return t={items:{explode:{data:"set",groups:{annotations:"annotationgroup"},items:{groups:"annotation"}},text:{chart:{target:"target",value:"value"},graph:{target:"target",value:"value"}},dsv:{dataset:{data:"dataset"},categories:{category:"categories"}},attr:{chart:{chart:"chart"},graph:{graph:"graph"},map:{map:"map"},linkedmap:{map:"map"},linkedchart:{chart:"chart"}},group:{styles:{definition:"style",application:"apply"},map:{data:"entity",entitydef:"entity"},markers:{definition:"marker",application:"marker",shapes:"shape",connectors:"connector",items:"marker"}},tag:{markers:{items:"data"}}},qualify:function(n,t,i){return"object"===r(this.items[n][i])?this.items[n][i][t]:this.items[n][i]}},n=function(i,u,f,e){var l,s,h,c,p="",a="",v="",y="";if(u&&"function"==typeof u.toLowerCase&&(u=u.toLowerCase()),void 0===f&&i[u])for(s in i[u])"compactdatamode"===(h=s.toLowerCase())&&(e.applyDSV=1===i[u][s]);if(i instanceof Array)for(s=0;s<i.length;s+=1)v+="string"===r(i[s])?o.xssEncode(i[s]):n(i[s],u,f,e);else{for(s in i)h=s.toLowerCase().replace(/[`~!@#$%^&*()|+\=?;:'", <>\{\}\[\]\\\/]/gi,""),i[s]instanceof Array&&(c=t.qualify("group",h,u))?a+="<"+(l=t.qualify("tag",h,u)||h)+">"+n(i[s],c,u,e)+"<\/"+l+">":"object"===r(i[s])?(c=t.qualify("attr",h,u))?(y=n(i[s],c,u,e).replace(/\s*\/\>/gi,""),u=h):a+=n(i[s],h,u,e):e.applyDSV&&(c=t.qualify("dsv",h,u))?a+=i[s]:(c=t.qualify("text",h,u))?a+="<"+(l=t.qualify("tag",h,u)||c)+">"+i[s]+"<\/"+l+">":"vline"===h&&Boolean(i[s])?u="vline":p+=" "+h+'="'+o.xssEncode(i[s]).toString().replace(/\"/gi,""")+'"';(c=t.qualify("explode",f,u))&&(u=c);l=u;v=(""!==y?y:"<"+l)+p+(""!==a?">"+a+"<\/"+l+">":" />")}return v},function(t){if(delete n.errorObject,t&&"string"===(void 0===t?"undefined":r(t)))try{t=JSON.parse(t)}catch(i){n.errorObject=i}var u=t&&t.graph?"graph":t&&t.map?"map":"chart";return{data:n(t,u,void 0,{}),error:n.errorObject}}}(),v=function(){return this.getChartData("xml")},y=function(n){this.setChartData(n,"xml")};t["default"]={extension:function(n){return n&&(s=n,n.prototype.getXMLData=v,n.prototype.setXMLData=y),{format:"xml",toJSON:l,fromJSON:a}},name:"XML",type:"transcoder",requiresFusionCharts:!0}},function(n,t,i){"use strict";function d(){return this.getChartData("csv")}function g(){return this.getCSVData()}t.__esModule=!0;var w=i(131),o,r,c,l,a,s,u,v,e,f,y=window,b=y.parseInt,p=y.parseFloat,k=function(n){return n},h=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.data=[];this.rowCount=0;this.columnCount=0;this.configure(t)}return n.prototype.set=function(n,t,i){var r;if(this.rowCount<=n){for(r=this.rowCount;r<=n;r+=1)this.data[r]=[];this.rowCount=n+1}this.columnCount<=t&&(this.columnCount=t+1);this.data[n][t]=i},n.prototype.setRow=function(n,t){var i;if(this.rowCount<=n){for(i=this.rowCount;i<=n;i+=1)this.data[i]=[];this.rowCount=n+1}this.columnCount<t.length&&(this.columnCount=t.length);this.data[n]=t},n.prototype.get=function(n,t){var i=this.data;return i[n]&&i[n][t]},n.prototype.configure=function(t){var i=n.decodeLiterals;this.delimiter=i(t.delimiter,",");this.qualifier=i(t.qualifier,'"');this.eolCharacter=i(t.eolCharacter,"\r\n");this.numberFormatted=!!b(t.numberFormatted,0)},n.prototype.clear=function(){this.data=[];this.rowCount=0;this.columnCount=0},n.prototype.toString=function(){for(var i,n="",t=0;t<this.rowCount;t+=1)n+='""'===(i=this.qualifier+this.data[t].join(this.qualifier+this.delimiter+this.qualifier)+this.qualifier)?this.eolCharacter:i+this.eolCharacter;return this.rowCount>0&&(n=n.slice(0,n.length-2)),n},n}();h.decodeLiterals=function(n,t){return n!==r&&null!==n&&n.toString?n.replace("{tab}","\t").replace("{quot}",'"').replace("{apos}","'"):t};s=function(n,t){var o=n.label||"",i=void 0;if(u.push(o),f++,e=Math.max(e,f),n.category!==r){for(i=0;i<n.category.length;++i)s(n.category[i],t);u.pop();f--}else t.setRow(v++,u.slice()),u.pop(),f--};a=function(n){var t,l,i,o=n,c=o.chart,a=o&&o.category||[],p=a.length,y=[];for(v=1,e=0,f=0,i=new h({separator:c.exportdataseparator,qualifier:c.exportdataqualifier,numberFormatted:c.exportdataformattedval}),t=0;t<p;++t)l=a[t],u=[],s(l,i);for(t=0;t<e;++t)y.push("category");return i.setRow(0,y),{data:i.toString(),error:r,predictedFormat:{multilevel:!0}}};c=function(n,t){var u,b,nt,at,i,c,rt,st,e,vt,yt,ft,ht,et,w,pt,y,oi,f,d,gt,tt,g,wt,bt,ni,ti,si,kt,ii,ri,ui,hi,s=n,ct=t&&t.jsVars,ci=t&&t.args,pi=ci&&ci.type,ot=ct&&ct.instanceAPI,it=s.chart||s.map||s.graph||{},li=Boolean(it.exporterrorcolumns||0),ut=s.categories&&s.categories[0]&&s.categories[0].category||[],wi=s.map&&!s.chart||ct&&ct.instanceAPI&&"geo"===ct.instanceAPI.defaultSeriesType,fi=!1,lt=!1,ei=!1,ai=!1,vi=!1,l=k,v={},yi=0,dt=-1;if("multilevelpie"===pi)return a(n);if(u=new h({separator:it.exportdataseparator,qualifier:it.exportdataqualifier,numberFormatted:it.exportdataformattedval}),o.formatNumber&&u.numberFormatted&&(l=function(n,t){return o.formatNumber(n,it,t)}),wi)for(ti in v.geo=!0,ni=(e=ct.instanceAPI.getDatasets())&&e[0]&&e[0].components.data||[],u.setRow(0,["Id"," Short Name","Long Name","Value","Formatted Value"]),i=0,ni)ui=(kt=(si=ni[ti]).config).cleanValue,!0!==si.hidden&&u.setRow(++i,[ti,kt.shortLabel,kt.label,null===ui?"":ui,kt.formattedValue]);else if((e=s.dials&&s.dials.dial||s.pointers&&s.pointers.pointer||s.value)!==r)if(v.gauge=!0,"string"==typeof e)u.set(0,0,l(e)),v.singlevalue=!0,"string"==typeof s.target&&(u.set(0,1,l(s.target)),v.bullet=!0);else for(u.setRow(0,["Id","Value"]),v.multivalue=!0,i=0,rt=1,c=e.length;i<c;i+=1,rt+=1)u.setRow(rt,[rt,l(e[i].value)]);else if(e=s.dataset||!(s.data instanceof Array)&&[]){if(v.multiseries=!0,nt=1,(vt=s.lineset)&&(e=e.concat(vt),v.lineset=!0),(yt=s.axis)&&(e=e.concat(yt),v.multiaxis=!0),et=e.length,ht=ut.length,!(et=e.length)){for(i=0;i<ht;i+=1)w=ut[i],u.set(i+1,0,w.label||w.name);v.multilevel=!0}for(i=0;i<et;
29i+=1)for((pt=e)[i].dataset?(at=0,ft=(pt=pt[i].dataset).length):(pt=e,ft=(at=i)+1);at<ft&&!fi&&!ei;at+=1)if(y=pt[at],dt++,!(ot&&(g=ot.getDatasets())&&g[dt]&&!1===g[dt].visible)){for(hi=(ii=ot&&g&&g[dt])&&ii.config&&ii.config.parentYAxis,u.set(0,nt,y.seriesname),"string"==typeof y.data&&(v.compactdata=!0,y.data=y.data.split(it.dataseparator||"|")),c=0,rt=0,oi=y.data&&y.data.length||0;c<oi||c<ht;c+=1){if(w=ut[c],b=rt+1,(f=y.data&&y.data[rt]||{}).x!==r&&f.y!==r){fi=v.xy=!0;break}if(f.open!==r||f.high!==r||f.close!==r||f.low!==r){ai=v.ohlc=!0;break}if(f.rowid!==r&&f.columnid!==r){ei=v.heatmap=!0;break}c<ht&&!w.vline&&(u.set(b,0,w.label||w.name),d=p(f?f.value:""),d=isNaN(d)?"":l(d,hi),u.set(b,nt,d),(lt||li||f.errorvalue)&&(lt||u.set(0,nt+1,"Error"),tt=1,u.set(b,nt+1,l(f.errorvalue))),rt+=1)}tt&&(nt+=tt,tt=0);nt+=1}vt&&(e=e.slice(0,-vt.length));yt&&(e=e.slice(0,-yt.length))}else if(e=s.data){for(u.set(0,1,it.yaxisname||"Value"),v.singleseries=!0,vi="1"==it.showsumatend,i=0,ht=e.length;i<ht;i+=1)(f=e[i]).vline||(d=p(f.value?f.value:""),u.setRow(i+1,[f.label||f.name,isNaN(d)?"":(yi+=d,l(d))]));vi&&(v.summation=!0,u.setRow(i+1,[it.sumlabel||"Total",l(yi)]))}if(ai)for(u.clear(),u.setRow(0,["Open","Close","High","Low"]),i=0,b=1,ft=(e=s.dataset).length;i<ft;i+=1)for(c=0,et=(y=e[i]&&e[i].data||[]).length;c<et;c+=1,b+=1)f=y[c]||{},u.setRow(c+1,[l(f.open),l(f.close),l(f.high),l(f.low)]);else if(fi){for(u.clear(),lt=!1,tt=0,u.setRow(0,["Series","x","y"]),i=0,b=1,ft=(e=s.dataset).length;i<ft;i+=1)if(!(ot&&(g=ot.getDatasets())&&g[i]&&!1===g[i].visible))for(c=0,et=(y=e[i]&&e[i].data||[]).length;c<et;c+=1,b+=1)f=y[c]||{},d=[e[i].seriesname,l(f.x),l(f.y)],f.z!==r&&(d.push(l(f.z)),tt||(u.set(0,3,"z"),tt=1)),(lt||li||f.errorvalue!==r||f.horizontalerrorvalue!==r||f.verticalerrorvalue!==r)&&(gt=l(f.errorvalue),d.push(f.errorvalue,f.horizontalerrorvalue===r?gt:l(f.horizontalerrorvalue),f.verticalerrorvalue===r?gt:l(f.verticalerrorvalue)),lt||(u.set(0,tt+3,"Error"),u.set(0,tt+4,"Horizontal Error"),u.set(0,tt+5,"Vertical Error")),lt=v.error=!0),u.setRow(b,d)}else if(ei){for(u.clear(),wt={},bt={},i=0,c=1,st=(ut=s.rows&&s.rows.row||[]).length;i<st;i+=1,c+=1)(w=ut[i]).id&&(wt[w.id.toLowerCase()]=c,u.set(c,0,w.label||w.id));for(i=0,c=1,st=(ut=s.columns&&s.columns.column||[]).length;i<st;i+=1,c+=1)(w=ut[i]).id&&(bt[w.id.toLowerCase()]=c,u.set(0,c,w.label||w.id));for(y=s.dataset&&s.dataset[0]&&s.dataset[0].data||[],ri=ot&&(g=ot.getDatasets())&&g[0]&&g[0].components&&g[0].components.data||[],i=0,st=y.length;i<st;i+=1)b=(f=y[i]).rowid.toLowerCase(),nt=f.columnid.toLowerCase(),ri[i]&&!1===ri[i].visible||(wt[b]||(wt[b]=u.rowCount,u.set(u.rowCount,0,f.rowid)),bt[nt]||(bt[nt]=u.columnCount,u.set(0,u.columnCount,f.columnid)),u.set(wt[b],bt[nt],l(f.value)))}return yt=null,vt=null,ut=null,e=null,u.rowCount>0&&u.get(0,0)===r&&u.set(0,0,it.xaxisname||"Label"),{data:u.toString(),error:r,predictedFormat:v}};l=function(n,t){return w.raiseError(t,"0604111215","run","csvToJson()","fusionCharts CSV data-handler only supports encoding of data."),n};t["default"]={extension:function(n){return n&&(o=n,n.prototype.getDataAsCSV=g,n.prototype.getCSVData=d),{format:"csv",toJSON:l,fromJSON:c}},name:"csv",type:"transcoder",requiresFusionCharts:!0}},function(n,t,i){"use strict";function o(n,t,i,o,s){u.triggerEvent("dataLoadRequested",s,{source:r.sourceName,url:n,dataFormat:f,silent:!!o,config:t,successcallback:i},e,r.onDataLoadRequest,r.onDataLoadRequestCancel)}function s(n){this.setChartDataUrl(n,"jsonurl")}t.__esModule=!0;var u=i(131),r=i(175),f="json",e=void 0;t["default"]={extension:function(n){return n&&(n.prototype.setJSONUrl=s),{format:"jsonurl",toJSON:o}},name:"JSONUrl",type:"transcoder",requiresFusionCharts:!0}},function(n,t,i){"use strict";function h(n,t){n.sender.jsVars.stallLoad=!1;n.sender.setChartData(t.dataSource,t.dataFormat,t.config,t.successcallback,t.silent)}function c(n,t){u.triggerEvent("dataLoadCancelled",n.sender,t);t.xmlHttpRequestObject.abort()}function l(n,t,i,r){var o=i.obj,e=i.args;e.dataSource=n;e.xmlHttpRequestObject=t;e.source=f;e.url=r;u.triggerEvent("dataLoadRequestCompleted",o,e,s,h,c)}function a(n,t,i){var r=i.obj,f=i.args;f.error=n;f.httpStatus=t.xhr&&t.xhr.status?t.xhr.status:-1;f.xmlHttpRequestObject=t;r._addChartDependency("data",{resolve:function(){return{state:1,msg:r.options.dataLoadErrorMessage,msgStyle:{image:{imageHAlign:r.args.dataLoadErrorMessageImageHAlign||r.options.baseChartMessageImageHAlign,imageVAlign:r.args.dataLoadErrorMessageImageVAlign||r.options.baseChartMessageImageVAlign,imageAlpha:r.args.dataLoadErrorMessageImageAlpha||r.options.baseChartMessageImageAlpha,imageScale:r.args.dataLoadErrorMessageImageScale||r.options.baseChartMessageImageScale},message:{color:r.args.dataLoadErrorMessageColor||r.options.baseChartMessageColor,fontFamily:r.args.dataLoadErrorMessageFont||r.options.baseChartMessageFont,fontSize:r.args.dataLoadErrorMessageFontSize||r.options.baseChartMessageFontSize}}}}});r._setState();u.triggerEvent("dataLoadError",r,f)}
29t.__esModule=!0;t.onDataLoadRequestCancel=t.onDataLoadRequest=t.sourceName=undefined;var r,e=i(176),o=(r=e)&&r.__esModule?r:{"default":r},u=i(131),f="XmlHttpRequest",s=void 0;t.sourceName=f;t.onDataLoadRequest=function(n,t){var i=n.sender,r=i.__state,u=t.url;i.options.dataSource=t.url;r.dhmXhrObj||(r.dhmXhrObj=new o["default"](l,a));r.dhmXhrObj.get("function"==typeof decodeURIComponent?window.decodeURIComponent(u):window.unescape(u),{obj:i,args:t})};t.onDataLoadRequestCancel=function(n,t){var r=n.sender,i=r.__state;u.triggerEvent("dataLoadRequestCancelled",r,t);i&&i.dhmXhrObj&&i.dhmXhrObj.abort()}},function(n,t,i){"use strict";(function(n){t.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},v=i(131),o=i(125),u=window,s=parseFloat(u.navigator.appVersion.split("MSIE")[1]),y=!!(s>=5.5&&s<=7),h="file:"===u.location.protocol,f=u.ActiveXObject,c=(!f||!h)&&u.XMLHttpRequest,r={objects:0,xhr:0,requests:0,success:0,failure:0,idle:0},e=function(){var n;if(c)return(e=function(){return r.xhr++,new c})();try{n=new f("Msxml2.XMLHTTP");e=function(){return r.xhr++,new f("Msxml2.XMLHTTP")}}catch(t){try{n=new f("Microsoft.XMLHTTP");e=function(){return r.xhr++,new f("Microsoft.XMLHTTP")}}catch(i){n=!1}}return n},l=function(){function t(n,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);this.onSuccess=n;this.onError=i;this.open=!1;r.objects++;r.idle++}return t.stats=function(n){return n?r[n]:o.extend2({},r)},t.prototype.transact=function(i,f,s,c){var p,w,a=this,l=a.xmlhttp,b=t.headers,k=a.onError,d=a.onSuccess,g="POST"===i,nt=Object.prototype.hasOwnProperty;-1!==f.search(/^(http:\/\/|https:\/\/)/)&&u.location.hostname!==/(http:\/\/|https:\/\/)([^\/\:]*)/.exec(f)[2]?delete b["X-Requested-By"]:!nt.call(b,"X-Requested-By")&&(b["X-Requested-By"]="FusionCharts");(!l||y||o.isFirefox)&&(l=e(),a.xmlhttp=l);l.onreadystatechange=function(){try{4===l.readyState&&(!l.status&&h||l.status>=200&&l.status<300||304===l.status||1223===l.status||0===l.status?(d&&d(l.responseText,a,c,f),r.success++):k&&(k(new Error("XmlHttprequest Error"),a,c,f),r.failure++),r.idle--,a.open=!1)}catch(n){k&&k(n,a,c,f);u.FC_DEV_ENVIRONMENT&&setTimeout(function(){throw n;},0);r.failure++}};try{if(l.open(g?"POST":"GET",f,!0),l.overrideMimeType&&l.overrideMimeType("text/plain"),g)if("string"==typeof s)p=s;else{for(w in p=[],s)p.push(w+"="+(s[w]+"").replace(/\=/g,"%3D").replace(/\&/g,"%26"));p=p.join("&")}else p=null;for(w in b)l.setRequestHeader(w,b[w]);l.send(p);r.requests++;r.idle++;a.open=!0}catch(tt){v.raiseError(n.core,"1110111515A","run","XmlHttprequest Error",tt.message)}return l},t.prototype.get=function(n,t){return this.transact("GET",n,void 0,t)},t.prototype.post=function(n,t,i){return this.transact("POST",n,t,i)},t.prototype.abort=function(){var n=this.xmlhttp;return this.open=!1,n&&"function"===a(n.abort)&&n.readyState&&0!==n.readyState&&n.abort()},t.prototype.dispose=function(){var n=this;return n.open&&n.abort(),delete n.onError,delete n.onSuccess,delete n.xmlhttp,delete n.open,r.objects--,null},t}();l.headers={"If-Modified-Since":"Sat, 29 Oct 1994 19:43:31 GMT","X-Requested-With":"XMLHttpRequest","X-Requested-By":"FusionCharts",Accept:"text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"};t["default"]=l}).call(this,i(118))},function(n,t,i){"use strict";function o(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"",t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=arguments[2],o=arguments[3],s=arguments[4];u.triggerEvent("dataLoadRequested",s,{source:r.sourceName,url:n,dataFormat:f,silent:!!o,config:t,successcallback:i},e,r.onDataLoadRequest,r.onDataLoadRequestCancel)}function s(n){this.setChartDataUrl(n,"xmlurl")}function h(){u.raiseWarning(this,"11171116293","run","JavaScriptRenderer~setDataURL()",'Use of deprecated "setDataURL()". Replace with "setXMLUrl()".');this.setXMLUrl.apply(this,arguments)}
29t.__esModule=!0;var u=i(131),r=i(175),f="xml",e=void 0;t["default"]={extension:function(n){return n&&(n.prototype.setXMLUrl=s),n&&(n.prototype.setDataURL=h),{format:"xmlurl",toJSON:o}},name:"XMLUrl",type:"transcoder",requiresFusionCharts:!0}},function(n,t){"use strict";t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]={extension:function(n){n.addEventListener("beforedataupdate",function(n,t){t.data=function r(n){var u=void 0===n?"undefined":i(n),e,f,o,t,s;if("string"===u||"number"===u||"function"===u||"boolean"===u||null===n||n===undefined)return n;if(Array.isArray(n)){for(e=[],f=0;f<n.length;f++)e.push(r(n[f]));return e}if("object"===(void 0===n?"undefined":i(n))){o={};for(t in n)s=t.toLowerCase(),o[s]="data"!==s?r(n[t]):n[t]&&n[t]._dataStore?n[t]:r(n[t]);return o}}(t.data)})},name:"IgnoreCaseExt",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function l(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function a(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},h=i(138),c=i(132),k=i(131);var y=void 0,p=/\s+!important$/,d=/\\!important$/,o=function(n,t){var r;for(var i in t=(t+"").toLowerCase(),n)if(n.hasOwnProperty(i)&&t===(i+"").toLowerCase()){r=n[i];break}return r},g=function(n){for(var t=0,i=n.length;t<i;t++)if("function"==typeof n[t])return!0;return!1},nt=function(n){var t,i=[];for(t in n)i[t]=n[t];return i},w=function(n){for(var t=(n=n.replace(/^\s\s*/,"")).length;/\s/.test(n.charAt(t-=1)););return n.slice(0,t+1)},b=function(n){var t={},i=void 0;for(var r in n)n.hasOwnProperty(r)&&(t[(i=n[r]).name]=i);return t},s=function(n,t){for(var i=t.length;i--;)if(n===t[i])return i;return-1},u=function(n,t,i){return"object"!==(void 0===n?"undefined":r(n))&&"object"!==(void 0===t?"undefined":r(t))?null:"object"!==(void 0===t?"undefined":r(t))||null===t?n:("object"!==(void 0===n?"undefined":r(n))&&(n=t instanceof Array?[]:{}),function u(n,t,i,f,e){var h,c,o,a,l;if(e?(f.push(n),e.push(t)):(f=[n],e=[t]),t instanceof Array)for(h=0;h<t.length;h+=1){try{c=n[h];o=t[h]}catch(v){continue}"object"!==(void 0===o?"undefined":r(o))?i&&void 0===o||(n[h]=o):(null!==c&&"object"===(void 0===c?"undefined":r(c))||(c=n[h]=o instanceof Array?[]:{}),-1!==(l=s(o,e))?c=n[h]=f[l]:u(c,o,i,f,e))}else for(h in t){try{c=n[h];o=t[h]}catch(v){continue}null!==o&&"object"===(void 0===o?"undefined":r(o))?"[object Object]"===(a=Object.prototype.toString.call(o))?(null!==c&&"object"===(void 0===c?"undefined":r(c))||(c=n[h]={}),-1!==(l=s(o,e))?c=n[h]=f[l]:"data"===h&&o._dataStore?n[h]=o:u(c,o,i,f,e)):"[object Array]"===a?(null!==c&&c instanceof Array||(c=n[h]=[]),-1!==(l=s(o,e))?c=n[h]=f[l]:u(c,o,i,f,e)):n[h]=o:n[h]=o}return n}(n,t,i),n)},f=function(n){var t={important:!1,str:""};return n?(n=n.toString(),p.test(n)?(n=n.replace(p,""),t.important=!0):(n=n.replace(d,"!imporant"),t.important=!1),t.str=n,t):t},e=function(n,t){var i,o,e,u=t.getAll();for(i in u)o=u[i].toString(),(e=f(o)).important?n[i.toLowerCase()]=e.str:void 0===n[i.toLowerCase()]&&(n[i.toLowerCase()]="object"!==r(u[i])?e.str:u[i])},tt=function(n){function t(){return l(this,t),a(this,n.apply(this,arguments))}return v(t,n),t.prototype.configure=function(){this.config.themeStore||(this.config.themeStore={})},t.prototype.add=function(n){for(var i,t=0,r=n.length;t<r;t+=1)(i=n[t].name)&&(this.config.themeStore[i]=n[t])},t.prototype.themify=function(n,i,r,u,f){var s,e,a=i.jsVars,h=n.split(","),o=[],l=h.length;if(this.config.themeStore=b(c.getDepsByType("theme")),l){for(e=0;e<l;e+=1)(s=this.config.themeStore[w(h[e])])&&o.push(t.evaluateThemeJSON(s.theme,i,r,f));
29o.length?(a.themeObject=new it(o,i,!1,u,r),t.applyTheme(i)):k.raiseWarning(i,"14051100501","run","api.themes~themify()",'The theme "'+n+'" requested has not been registered.')}},t.evaluateThemeJSON=function(n,t,i,f){var h,c,e={},s=t.jsVars,l=function(n){var i,t;for(i in n)e[i]=(t=n[i])instanceof Array?u(e[i]||[],t):"object"===(void 0===t?"undefined":r(t))?u(e[i]||{},t):t};return i=i||t.chartType(),s.themeObject&&n!==s.themeObject&&(s.themeObject.dispose(),delete s.themeObject),l(o(n,"base")),f&&(h=o(n,f)),h&&l(h),i&&(c=o(n,i)),c&&l(c),e},t.applyTheme=function(n){var i=n.jsVars.themeObject,u=i.getThemedJSONData().data;u&&function t(n,i){var f,o,u,s,c,l,a,v,h,w=i.type,y=0,p=0;for(f in n)if(o=n[f],v="timeseries"===w&&i.themeComponents[f]&&g(i.themeComponents[f]),o instanceof Array&&!v)for(l=o.length,c=0;c<l;c+=1)"object"===(void 0===(s=o[c])?"undefined":r(s))&&("category"===f?"true"===s.vline?(u=i.component("vline",y,s))&&(e(s,u),y+=1):(u=i.component("category",p,s,l))&&(e(s,u),p+=1):(u=i.component(f,c,s,l))&&(e(s,u),t(s,u)));else if("object"===(void 0===o?"undefined":r(o)))if(v)if(h=(u=i.component(f,null,o)).getAll(),n[f]=h,/^\d+$/.test(Object.keys(h).join("")))for(h=nt(h),n[f]=h,a=0;a<n[f].length;a++)t(n[f][a],u);else t(o,u);else(u=i.component(f,null,o))&&(e(o,u),t(o,u))}(u,i)},t}(h.ComponentInterface),it=function(n){function t(i,r,u,f,e){l(this,t);var h,o=a(this,n.call(this)),s=0;for(o.themeArray=i,o.themeComponents={},o.base={},o.type=e,o.chartInstance=r,o.isChildInstance=Boolean(u),o.themedData=u?null:f,o.length=i.length,h=i.length;s<h;s+=1)o.parse(i[s]);return o}return v(t,n),t.prototype.pushTheme=function(n){var t=arguments.length>1&&arguments[1]!==undefined&&arguments[1];n&&(this.themeArray.push(n),this.parse(n,t),this.length+=1)},t.prototype.parse=function(n,i){var l,e,a,v,o,s=this,h=s.themeComponents,y=s.chartInstance,c=s.base,p=s.type,w=s.isChildInstance;for(e in o=n)"string"==typeof o[e]||"number"==typeof o[e]?c[e]?(a=f(o[e]),v=f(c[e]),!a.important&&v.important||(c[e]=o[e])):c[e]=o[e]:"timeseries"===p&&w?o[e]instanceof Array&&"palettecolors"!==e&&!i?(h[e]||(h[e]=[]),h[e].push(u([],o[e]))):("object"===r(o[e])||i)&&(c[e]=o[e]):(h[e]||(h[e]=[]),l=h[e],o[e]instanceof Array?l.push(u([],o[e])):"object"===r(o[e])?l.push(new t([o[e]],y,!0,{},s.type)):"function"==typeof o[e]&&l.push(o[e]))},t.prototype.merge=function(n){var e,o,t,s=this.base,i=n.base,r=this.themeComponents,u=n.themeComponents;for(t in i)e=f(s[t]),o=f(i[t]),e.important&&!o.important||(s[t]=i[t]);for(t in u)r[t]=r[t]?r[t].concat(u[t]):[].concat(u[t]);this.length+=n.length},t.prototype.get=function(n){return this.base[n]},t.prototype.getAll=function(){return u({},this.base)},t.prototype.component=function(n,i,r,u){var o,s,l,c,f,a=this.themeComponents,h=this.chartInstance,v=this.type,e=new t([],h,!0,{},this.type);if(!(c=a[n]))return null;for(s=0,l=c.length;s<l;s+=1)"function"==typeof(f=c[s])?"timeseries"!==v?(i=i||0,e.pushTheme(f.call(h,i,r,u))):e.pushTheme(f.call(h,r),!0):f instanceof Array?(i=i||0,(o=f[i%=f.length])instanceof t?e.merge(o):"function"==typeof o?e.pushTheme(o.call(h,i,r,u)):e.pushTheme(o)):f instanceof t?e.merge(f):e.pushTheme(f);return e},t.prototype.getThemedJSONData=function(){return{data:this.themedData}},t.prototype.dispose=function(){var t,r,n=this,i=n.themeComponents;for(t in i)if(r=i[t].length){for(;r--;)i[t][r].dispose&&i[t][r].dispose();delete i[t]}n.themeComponents=null;n.chartInstance=null;n.base=null;n.themeArray=null;n.isChildInstance=null;n.dataWithoutTheme=null},t}(h.ComponentInterface);(y=new tt).configure();t["default"]={extension:function(n){n.addEventListener("internal.dataSanitized",function(t){for(var l,o,e=t.sender,r=e.getFromEnv("chartInstance"),a=b(c.getDepsByType("theme")),i=e.getFromEnv("dataSource"),v=n.options.defaultTheme,p=i&&(i.chart&&i.chart.theme||i.map&&i.map.theme),s=(v||p)&&(v||"")+","+(p||""),h=s&&s.split(","),d=h&&h.length,k=!1,f=0;f<d;f++)o=w(h[f]),a&&""!==o&&a.hasOwnProperty(o)&&(k=!0);k?(i=u({},e.getFromEnv("dataSource")),l=r.chartType(),i.map&&(i.chart=i.map,delete i.map),y.themify(s,r,l,i,"geo"===r.apiInstance.defaultSeriesType&&"geo"),e.addToEnv("dataSource",i)):r.jsVars&&r.jsVars.themeObject&&(r.jsVars&&r.jsVars.themeObject.dispose(),r.jsVars&&delete r.jsVars.themeObject)})},name:"ThemeEngine",type:"extension",requiresFusionCharts:!0}},function(n,t){"use strict";t.__esModule=!0; 30/** ! 31 * @license FusionCharts JavaScript Library 32 * Copyright FusionCharts Technologies LLP 33 * License Information at <http://www.fusioncharts.com/license> 34 */ 35var i={name:"default",theme:{base:{chart:{labelDisplay:"stagger !important",caption:"Theme Caption \\!important",canvasBgColor:"#56EF22",borderThickness:"5 !important",borderColor:"#E60539",baseFontColor:"#781129"},categories:[{fontColor:"#0F4F40",fontSize:15,category:function(n){return{showLabel:n%2?0:1}},vline:{color:"#000000",thickness:2}}],dataset:[{color:"#8C3146",data:function(n,t){return 8==n&&(t.value=""),{color:Number(t.value)<32e3?"#8C3146":"#FF0000",alpha:"100"}}}],trendlines:[{line:function(n){return n?{color:"#ff0000",thickness:3}:{color:"#ffff00",thickness:3}}}]},pie2d:{chart:{bgColor:"#FF0000"}},msline:{chart:{canvasBgColor:"#ff0000"}},geo:{chart:{canvasBgColor:"#0000ff"}},world:{chart:{canvasBgColor:"#00ff00"}}}};t["default"]={extension:i,name:"DefaultTheme",type:"theme"}},function(n,t,i){"use strict";t.__esModule=!0;var v,k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n}
35,r=i(125),d=i(182),g=(v=d)&&v.__esModule?v:{"default":v},nt=i(136),tt=void 0,c=void 0,y=/^#?[0-9a-f]{6}/i,p=/FFFFFF/i,w=/255,255,255/,e=function(n){return"#"+("000000"+((n=n.replace("rgba(","").split(","))[0]<<16|n[1]<<8|n[2]).toString(16)).slice(-6)},it=function(n,t){var i,r,u=[];if("number"==typeof n)return t;for(r=n.split&&n.split(","),i=0;i<r.length;i++)u.push(t);return u.join()},f=function(n){var t;return/rgb/.test(n)?(t=n.match(/[\d\.]+\)/g),parseFloat(t&&t[0])):n.FCcolor?r.getFirstAlpha(n.FCcolor.alpha):void 0},rt=function(n){n.forEach(function(n){n.removeStateCosmetics("highlight")})},l=function(n,t,i,u,o){var h,c,s,l,a,v,y,p,w,b;h=e(u.color);s=100*f(u.color);c=o?r.pluck(i.valuefontcolor,h):h;l=o?r.pluck(i.valuefontalpha,i.alpha,s):s;h=""===u.backgroundColor?"":e(u.backgroundColor);s=""===u.backgroundColor?0:100*f(u.backgroundColor);isNaN(s)&&(s=0);v=o?r.pluck(i.valuebgcolor,h):h;a=o?r.pluck(i.valuebgalpha,i.alpha,s):s;w=r.toRaphaelColor({color:v,alpha:a});h=""===u.borderColor?"":e(u.borderColor);s=""===u.borderColor?"":100*f(u.borderColor);isNaN(s)&&(s=0);y=o?r.pluck(i.valuebordercolor,h):h;p=o?r.pluck(i.valueborderalpha,i.alpha,s):s;b=r.toRaphaelColor({color:y,alpha:p});t&&n.setAnimation({el:t,label:"highlightedDataLabel",attr:{fill:r.toRaphaelColor({color:c,alpha:l}),"text-bound":[w,b,u.borderThickness,u.borderPadding,u.borderRadius,u.borderDash]}})},o=function(n){for(var r,u,f,e=n.split(","),o={},t=0,i=e.length;t<i;t++)u=(r=e[t].split("="))[0],f=r[1],o[u]=f;return o},a=function(n,t,i){var s,u,o=t.color;return/rgb/.test(n)?(s=r.pluck(t.alpha,100*f(n)),/rgb/.test(o)&&(o=e(o)),u=i?r.toRaphaelColor({color:r.pluck(o,e(n)),alpha:s}):n):n.FCcolor?u=i?r.toRaphaelColor(function(n,t){var i,f,u={};for(i in n)"alpha"===i?u[i]=t.alpha?it(n[i],t.alpha):n[i]:"color"===i?(-1!==n[i].indexOf(",")&&t.color&&(f=t.color+","+n[i].substring(n[i].indexOf(",")+1)),u[i]=r.pluck(f||t.color,n[i])):u[i]=n[i];return u}(n.FCcolor,t)):r.toRaphaelColor(n.FCcolor):y.test(n.color||n)&&(u=i?r.toRaphaelColor({color:r.pluck(t.color,n.color,n),alpha:r.pluck(t.alpha,n.alpha)}
35):r.toRaphaelColor({color:n.color||n,alpha:n.alpha})),u},ut=function(n,t,i,u,o,s){var w,b,v,k,d,y,p,h,c={},l={};o?(w=r.getColumnColor(u.color||i.upperColorArr[0].FCcolor.color,u.alpha.toString(),i.upperColorArr[0].FCcolor.ratio,i.upperColorArr[0].FCcolor.angle,s,u.bordercolor||e(i.upperBoxBorder.color),u.borderalpha&&u.borderalpha.toString()||(100*f(i.lowerBoxBorder.color)).toString()),l=r.toRaphaelColor(w[0]),b=r.getColumnColor(u.color||i.lowerColorArr[0].FCcolor.color,u.alpha.toString(),i.lowerColorArr[0].FCcolor.ratio,i.lowerColorArr[0].FCcolor.angle,s,u.bordercolor||e(i.lowerBoxBorder.color),u.borderalpha&&u.borderalpha.toString()||(100*f(i.lowerBoxBorder.color)).toString()),c=r.toRaphaelColor(b[0]),v=a(i.median.color,u,o),y=a(i.lowerQuartile.color,u,o),p=a(i.upperQuartile.color,u,o)):(l=r.toRaphaelColor(i.upperColorArr[0]),c=r.toRaphaelColor(i.lowerColorArr[0]),v=i.median.color,k=i.upperBoxBorder.color,d=i.lowerBoxBorder.color,p=i.upperQuartile.color,y=i.lowerQuartile.color);h=t.upperBoxElem;n.setAnimation({el:h,label:"highlightedBoxAnsWhiskerPlot",attr:{fill:l,"drop-shadow":h.attrs["drop-shadow"]&&"none"!==h.attrs["drop-shadow"]?[1,1,3,"rgba(64,64,64,"+f(l)+")",h.attrs[4],h.attrs["drop-shadow"][5]]:"none"}});h=t.lowerBoxElem;n.setAnimation({el:h,label:"highlightedBoxAnsWhiskerPlot",attr:{fill:c,"drop-shadow":h.attrs["drop-shadow"]&&"none"!==h.attrs["drop-shadow"]?[1,1,3,"rgba(64,64,64,"+f(c)+")",h.attrs[4],h.attrs["drop-shadow"][5]]:"none"}});h=t.lowerBoxBorderEle;n.setAnimation({el:h,label:"highlightedBoxAnsWhiskerPlot",attr:{stroke:d}});t.upperBoxBorderEle&&n.setAnimation({el:t.upperBoxBorderEle,label:"highlightedBoxAnsWhiskerPlot",attr:{stroke:k}});t.lowerQuartileEle&&n.setAnimation({el:t.lowerQuartileEle,label:"highlightedBoxAnsWhiskerPlot",attr:{stroke:y}});t.upperQuartileEl&&n.setAnimation({el:t.upperQuartileEl,label:"highlightedBoxAnsWhiskerPlot",attr:{stroke:p}});t.midLineElem&&n.setAnimation({el:t.midLineElem,label:"highlightedBoxAnsWhiskerPlot",attr:{stroke:v}})},b=function(n,t,i){for(var h,u,s,c,a,f,e,p=n.getFromEnv("chart"),v=n.getFromEnv("animationManager"),b=(p.config,p.config.dataLabelStyle),w=n.components.data,o=0,y=w.length;o<y;o++)if(a=w[o])for(c in h=a.graphics,e=(u=a.config.anchorProps).enabled,s={fillColor:{FCcolor:{alpha:i&&e?r.pluck(t.anchorbgalpha,t.alpha,u.bgAlpha):u.bgAlpha,color:i&&e?r.pluck(t.anchorbgcolor,t.color,u.bgColor):u.bgColor}},borderColor:{FCcolor:{alpha:i&&e?r.pluck(t.borderalpha,t.alpha,u.borderAlpha):u.borderAlpha,color:i&&e?r.pluck(t.anchorbordercolor,t.color,u.borderColor):u.borderColor}},imageAlpha:i?t.alpha:u.imageAlpha,imageScale:u.imageScale},h)switch((f=!c.match(/error/gi)&&h[c])&&f.type){case"path":v.setAnimation({el:f,label:"highlightedAnchorPlot",attr:{fill:r.toRaphaelColor(s.fillColor),stroke:r.toRaphaelColor(s.borderColor)}});break;case"image":v.setAnimation({el:f,label:"highlightedAnchorImagePlot",attr:{opacity:s.imageAlpha/100}});break;case"text":l(v,f,t,b,i)}},s=function(n,t,i,u,f){var l,v=n.getStateCosmetics("default").symbol||{},o=v.fill,s=v.stroke,k=f?r.pluck(u.color,e(i.text.fill)):e(i.text.fill),c=t.legendItemLine,h=i.symbol.stroke,b=n.getFromEnv("animationManager");c&&h&&(y.test(h)?b.setAnimation({el:c,label:"highlightedLegendItem",attr:{stroke:f?r.toRaphaelColor({color:r.pluck(u.color,h),alpha:u.alpha}):h}}):(l=a(h,u,f),b.setAnimation({el:c,label:"highlightedLegendItem",attr:{stroke:l}})));o&&(o=o.match(y)?f&&!p.test(o)?r.toRaphaelColor({color:u.color||o,alpha:u.alpha}):o:w.test(o)?o:a(o,u,f));s&&(s=y.test(s)?f&&!p.test(s)?r.toRaphaelColor({color:u.color||s,alpha:u.alpha}):s:f&&!w.test(s)&&u.color?r.toRaphaelColor({color:u.color,alpha:u.alpha}):s);n.setStateCosmetics("highlight",{symbol:{fill:o||"none",stroke:s||"none",opacity:(f?u.alpha:100)/100},text:{fill:r.toRaphaelColor({color:k,alpha:f?u.alpha:100})}});n.hasState("hidden")||n.setLegendState("highlight",!0)},h=function(n,t){var i=n.getFromEnv("legend").getItem(t);return i&&i.getGraphicalElement()},u={area:function(n,t,i){var l,c,a,v,d,y,g,nt,tt,it,p,w,rt,ut,ft,k=this.getFromEnv("chart"),et=this.getFromEnv("animationManager"),lt=k.config,ot=k.getFromEnv("legend").getChildren("legendItem")||[],st=arguments[4],at=ot.length,u=o(n),ht=h(k,st),vt=lt.dataLabelStyle,ct=this.getContainer("labelGroup"),e=this.config,yt=(e.shadow||{}).opacity>0;
35if(!i&&this.getState("visible")){for(u.alpha=u.alpha||30,c=0;c<at&&(l=ot[c]||{}).getId()!==st;c++);ct&&et.setAnimation({el:ct,label:"highlightedGroup",attr:{opacity:t?u.alpha/100:f(vt.color)}});v=e.plotbordercolor;tt=e.plotborderalpha;ut=e.plotfillalpha;a=e.plotgradientcolor;w=this.getGraphicalElement("lineElement")||this.getGraphicalElement("splineElement");g=t?r.pluck(u.bordercolor,u.color,v):v;u.color&&(it=u.color+(a?","+a:""));p=e.fillColor.color;d=t?r.pluck(it,p):p;rt=e.plotfillangle;y=t?u.alpha:ut;nt=t?r.pluck(u.borderalpha,u.alpha):tt;ft=!!yt&&(t?u.alpha/100:y/100);et.setAnimation({el:w,label:"highlightedAreaPlot",attr:{fill:r.toRaphaelColor({color:d,alpha:y,angle:rt}),stroke:r.toRaphaelColor({color:g,alpha:nt})}});w.shadow(ft);ht&&s(l,ht,l.parseLegendCosmetics(),u,t);b(this,u,t)}},bubble:function(n,t,i){var v,e,y,p,tt,c,w,it,rt,a,b,k,d=this.getFromEnv("chart"),g=this.getFromEnv("animationManager"),st=d.config,ut=d.getFromEnv("legend").getChildren("legendItem")||[],nt=ut.length,ft=arguments[4],et=st.dataLabelStyle,ht=h(d,ft),ot=this.getContainer("labelGroup"),u=o(n);if(!1===i&&this.getState("visible")){for(u.alpha||(u.alpha=30),y=this.components.data||[],e=0;e<nt&&(v=ut[e]||{}).getId()!==ft;e++);for(s(v,ht,v.parseLegendCosmetics(),u,t),ot&&g.setAnimation({el:ot,label:"highlightedGroup",attr:{opacity:t?u.alpha/100:f(et.color)}}),e=0,nt=y.length;e<nt;e++)(p=y[e])&&(b=p.graphics,c=(tt=p.config).colorObj,it=tt.is3D,w=b.element,k=b.label,it?(a=t?r.getPointColor(r.pluck(u.color,c.FCcolor.color),r.pluck(u.alpha,r.getFirstAlpha(c.alpha))):c,a=r.toRaphaelColor(a)):(a=t?r.pluck(u.color,c.color):c.color,rt=t?u.alpha:c.alpha,a=r.toRaphaelColor({color:a,alpha:rt})),w&&g.setAnimation({el:w,label:"highlightedBubblePlot",attr:{fill:a}}),k&&l(g,k,u,et,t))}},pie:function(n,t,i,u){var b,a,k,rt,e,d,ut,nt,tt,ft,v,et,it,ot,y=u.getFromEnv("chart"),p=u.getFromEnv("animationManager"),lt=y.getFromEnv("legend"),w=this,st={},ht=arguments[4],ct=lt.getChildren("legendItem")||[],c=o(n);if(!1===i){for(c.alpha||(c.alpha=30),a=this.graphics.element,k=this.config,v=0,ft=ct.length;v<ft&&(it=ct[v]).getId()!==ht;v++);et=h(y,ht);s(it,et,it.parseLegendCosmetics(),c,t);e=k.color.color;y=(w=a.data("plotItem")).chart;b=w.style;rt=90;ut=y.config.is3D;(d=w.center)&&(st={cx:d[0],cy:d[1],r:w.radius});e=t?g["default"](r.pluck(c.color,e),c.alpha,rt):k.color;ot=t?c.alpha:e.alpha;e=r.extend2(e,st);ut?a&&p.setAnimation({el:a,label:"highlightedPiePlot",attr:{color:e.color.split(",")[0],alpha:ot}}):a&&p.setAnimation({el:a,label:"highlightedPiePlot",attr:{fill:r.toRaphaelColor(e)}});nt=this.graphics.label;tt=this.graphics.connector;nt&&l(p,nt,c,b,t);tt&&p.setAnimation({el:tt,label:"highlightedPieConnectorPlot",attr:{opacity:t?c.alpha/100:f(b.color)}})}},line:function(n,t,i){var g,nt,rt,a,y,tt,p,it=this.getFromEnv("chart"),w=this.getFromEnv("animationManager"),ht=it.config,ut=it.getFromEnv("legend").getChildren("legendItem")||[],ct=ut.length,ft=arguments[4],lt=ht.dataLabelStyle,u=o(n),et=h(it,ft),ot=this.getContainer("labelGroup"),st=this.getContainer("errorPlotGroup"),c=this.config,v=c.linecolor,l=c.alpha||c.lineAlpha,at=(c.shadow||{}).opacity>0,e=this.config.lineOb,d="";if(!i&&this.getState("visible")){for(u.alpha||(u.alpha=30),y=0;y<ct&&(g=ut[y]||{}).getId()!==ft;y++);if(st&&(nt=c.errorBarColor&&f(c.errorBarColor),rt=t?r.pluck(u.alpha/100,nt):nt,w.setAnimation({el:st,label:"highlightedGroup",attr:{opacity:rt}})),ot&&w.setAnimation({el:ot,label:"highlightedGroup",attr:{opacity:t?u.alpha/100:f(lt.color)}}),a=this.getGraphicalElement("lineElement"),v=t?r.pluck(u.color,v):v,l=t?r.pluck(u.alpha,l):l,tt=!!at&&(t?u.alpha/100:l/100),a&&w.setAnimation({el:a,label:"highlightedLinePlot",attr:{stroke:r.toRaphaelColor({color:v,alpha:l})}}),a&&a.shadow(tt),"object"===(void 0===e?"undefined":k(e))&&e)for(d in e)(p=e[d]&&e[d].el)&&w.setAnimation({el:p,label:"highlightedLinePlot",attr:{stroke:t?v:e[d].attr.stroke,"stroke-opacity":l/100}}),p&&p.shadow(tt);et&&s(g,et,g.parseLegendCosmetics(),u,t);b(this,u,t)}},boxandwhisker2d:function(n,t,i){var r,e,l,a,v,y,nt=this.config,p=this.getFromEnv("chart"),f=this.getFromEnv("animationManager"),tt=nt.
35isRoundEdges,w=arguments[4],it=h(p,w),b=this.getContainer("lowerWhiskerGroup"),k=this.getContainer("upperWhiskerGroup"),d=this.getContainer("labelGroup"),g=p.getFromEnv("legend").getChildren("legendItem")||[],c=g.length,u=o(n);if(!1===i&&this.getState("visible")){for(u.alpha||(u.alpha=30),r=0;r<c&&(e=g[r]||{}).getId()!==w;r++);for(s(e,it,e.parseLegendCosmetics(),u,t),b&&f.setAnimation({el:b,label:"highlightedGroup",attr:{opacity:t?u.alpha/100:1}}),k&&f.setAnimation({el:k,label:"highlightedGroup",attr:{opacity:t?u.alpha/100:1}}),d&&f.setAnimation({el:d,label:"highlightedGroup",attr:{opacity:t?u.alpha/100:1}}),r=0,c=(y=this.components.data).length;r<c;r++)v=(a=y[r]).config,l=a.graphics,ut(f,l,v,u,t,tt)}},heatmap:function(n,t,i,u){var d,g,a,nt,p,tt,w,it,v,rt,b,k=u.getFromEnv("chart"),ut=u.getFromEnv("animationManager"),y=k.config,ot=y.dataLabelStyle,st=k.getFromEnv("legend"),ft=arguments[4],c=o(n),et=st.getChildren("legendItem")||[];if(!i&&u.getState("visible")&&!1!==this.visible){for(c.alpha||(c.alpha=t?30:100),y=this.config,v=0,it=et.length;v<it&&(b=et[v]).getId()!==ft;v++);for(tt in rt=h(k,ft),s(b,rt,b.parseLegendCosmetics(),c,t),p=e(y.color),nt=f(y.color),d=t?r.pluck(c.color,p):p,g=t?c.alpha:100*nt,(a=(w=this.graphics).element)&&ut.setAnimation({el:a,label:"highlightedHeatmapPlot",attr:{fill:r.toRaphaelColor({color:d,alpha:g})}}),w)"text"===(a=w[tt]).type&&l(ut,a,c,ot,t)}},funnelpyramid:function(n,t,i,u){var nt,tt,v,y,p,it,rt,w,b,ut,k,ft,a,et,d,ot=u.getFromEnv("chart"),g=u.getFromEnv("animationManager"),ct=ot.getFromEnv("legend"),c=o(n),st=ct.getChildren("legendItem")||[],ht=arguments[4];if(!1===i){for(c.alpha||(c.alpha=30),y=this,a=0,ft=st.length;a<ft&&(d=st[a]).getId()!==ht;a++);et=h(ot,ht);s(d,et,d.parseLegendCosmetics(),c,t);tt=y.style;k=y.color;p=e(k);ut=f(k);it=t?r.pluck(c.color,p):p;rt=t?c.alpha:100*ut;v=this.getGraphicalElement("graphic");w=this.getGraphicalElement("dataLabel");b=this.getGraphicalElement("connector");nt=this.style;v&&g.setAnimation({el:v,label:"highlightedFunnelPyramidPlot",attr:{fill:r.toRaphaelColor({color:it,alpha:rt})}});w&&l(g,w,c,nt,t);b&&g.setAnimation({el:b,label:"highlightedFunnelPyramidConnectorPlot",attr:{opacity:t?c.alpha/100:f(tt.color)}})}},"default":function(n,t,i){var c,e,a,g,nt,et,p,ot,tt,v,it,y,st,rt,w,ut=this.config,b=this.getFromEnv("chart"),k=this.getFromEnv("animationManager"),d=b.config,ht=d.dataLabelStyle,bt=d.useroundedges,ct=b.config.is3D,u=o(n),lt=arguments[4],at=h(b,lt),vt=this.getContainer("labelGroup"),yt=this.getContainer("errorPlotGroup"),pt="",wt=b.getFromEnv("legend").getChildren("legendItem")||[],ft=wt.length,kt=ut.showShadow;if(!1===i&&!0===this.getState("visible")){for(u.alpha||(u.alpha="30"),it=this.components.data||[],e=0;e<ft&&(rt=wt[e]||{}).getId()!==lt;e++);for(at&&s(rt,at,rt.parseLegendCosmetics(),u,t),vt&&k.setAnimation({el:vt,label:"highlightedGroup",attr:{opacity:t?u.alpha/100:f(ht.color)}}),yt&&(nt=ut.errorBarColor&&f(ut.errorBarColor),et=t?r.pluck(u.alpha/100,nt):nt,k.setAnimation({el:yt,label:"highlightedGroup",attr:{opacity:et}})),e=0,ft=it.length;e<ft;e++)(y=it[e])&&y.graphics&&(v=(d=y.config).colorArr[0],w=(a=d.colorArr[1]).FCcolor.alpha,pt=-1!==(ot=(c=v.FCcolor.color).indexOf(","))&&u.color?u.color+c.substring(ot):r.pluck(u.color,c),tt=ct?w:r.pluck(u.borderalpha,u.alpha,w),0===r.pluckNumber(w)&&(tt="0"),p=t?r.getColumnColor(pt,u.alpha,v.FCcolor.ratio,v.FCcolor.angle,bt,r.pluck(u.bordercolor,a.FCcolor.color),tt,!1,ct):[v,a],(g=y.graphics.element)&&(c=r.toRaphaelColor(p[0]),a=r.toRaphaelColor(p[1]),k.setAnimation({el:g,label:"highlightedDefaultPlot",attr:{stroke:a,fill:c}}),g.shadow({opacity:kt?r.getFirstAlpha(p[0].alpha)/100:0})),st=y.graphics.label,l(k,st,u,ht,t))}}},ft=function(n){n&&c.add(n)};t["default"]={extension:function(n){var t=function(){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);this.effectStore={};this.eventHandlers={}}return t.prototype.add=function(n){this.effectStore[n.name]=n},t.prototype.attachEventHandlers=function(t,i){this.eventHandlers[t]||(this.eventHandlers[t]={},this.eventHandlers[t].listenerFn=n.addEventListener(t,i))},t.prototype.applyEffect=function(n,t,i){var b,k,a,u,f,y,d,g,nt,p,it,e,h=this.effectStore,ut=n.getFromEnv("chart-attrib"),o=n.config.defaultDatasetType,v=ut.plothighlighteffect&&ut.plothighlighteffect.toLowerCase(),s=n.getDatasets(),c=n.config.isSingleSeries?s[0].c
35omponents.data:s,w=r.pluck(t.itemId,t.legendItemId,t.legendItemIndex),l="";if(rt(n.getFromEnv("legend").getChildren("legendItem")),"funnel"!==n.getName()&&"Pyramid"!==n.getName()||(c=s[0].getChildren("data")),n.getFromEnv("animationManager").setAnimationState("plotHighlighter"),v&&(e=(v=v.replace(/\s+/g,"").split("|"))[0],l=v[1]||""),e&&h[e])if("HeatMap"===n.getName())for(b=n.getFromEnv("colorRange"),it=function(n){for(var i=d.getChildren("legendItem"),t=void 0,r=void 0,u=i&&i.length,t=0;t<u;++t)if(i[t].config.datasetObj.code===n){r=i[t].getId();break}return r},nt=(d=n.getFromEnv("legend")).getItem(w).config.datasetObj,f=0;f<c.length;f++)k=(u=c[f]).config.value,(p=b.getColorObj(k)).outOfRange||(nt.code===p.code?h[e][o].call(u,l,i,!0,s[0],w):h[e][o].call(u,l,i,!1,s[0],it(p.code)));else for(f=0,g=c.length;f<g;f++)o=(o=(u=c[f]).getName&&u.getName()||o).toLowerCase(),(a=r.pluck(u.config.itemId,u.config.legendItemId))!==tt&&(y=a===w,h[e][o]?h[e][o].call(u,l,i,y,s[0],a):h[e]["default"].call(u,l,i,y,s[0],a))},t}();(c=new t).attachEventHandlers("legenditemrollover",function(n,t){var i=n.sender.apiInstance;!1!==i.hasInteractiveLegend&&!1!==i.highlightEnabled&&c.applyEffect(i,t,!0)});c.attachEventHandlers("legenditemrollout",function(n,t){var i=n.sender.apiInstance;!1!==i.hasInteractiveLegend&&!1!==i.highlightEnabled&&c.applyEffect(i,t,!1)});c.attachEventHandlers("legenditemclicked",function(n,t){var i=n.sender.apiInstance;i.addJob("plothighlighteffect",function(){!1!==i.hasInteractiveLegend&&!1!==i.highlightEnabled&&c.applyEffect(i,t,!0)},nt.priorityList.postRender)});ft({name:"fadeout",area:u.area,radar:u.area,bubble:u.bubble,pie2d:u.pie,line:u.line,spline:u.line,splinearea:u.area,pie3d:u.pie,zoomline:u.line,funnelpoint:u.funnelpyramid,pyramidpoint:u.funnelpyramid,scatter:u.line,selectscatter:u.line,dragline:u.line,dragarea:u.area,realtimearea:u.area,realtimeline:u.line,realtimelinedy:u.line,realtimestackedarea:u.area,errorline:u.line,errorscatter:u.line,stepline:u.line,doughnut2d:u.pie,doughnut3d:u.pie,heatmap:u.heatmap,boxandwhisker2d:u.boxandwhisker2d,multiaxisline:u.line,"default":u["default"]})},name:"PlotHighlighter",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";t.__esModule=!0;var r=i(125);t["default"]=function(n,t,i,u){var f,s,h,c,e,o;return n=r.getFirstColor(n),t=r.getFirstAlpha(t),i<100&&r.hasSVG?u?(e=r.getDarkColor(n,Math.floor(100*(85-.2*(100-i)))/100),o=r.getLightColor(n,Math.floor(100*(100-.5*i))/100),f={color:e+r.COMMASTRING+o+r.COMMASTRING+o+r.COMMASTRING+e,alpha:t+r.COMMASTRING+t+r.COMMASTRING+t+r.COMMASTRING+t,radialGradient:!0,gradientUnits:"userSpaceOnUse",r:i}):(s=Math.floor(.85*(100-.35*i)*100)/100,h=r.getDarkColor(n,s),c=Math.floor(.5*(100+i)*100)/100,f={color:r.getLightColor(n,c)+r.COMMASTRING+h,alpha:t+r.COMMASTRING+t,ratio:i+","+(100-i),radialGradient:!0,gradientUnits:"userSpaceOnUse"}):f={color:n+r.COMMASTRING+n,alpha:t+r.COMMASTRING+t,ratio:"0,100"},f}},function(n,t,i){"use strict";t.__esModule=!0;var f,o=i(184),s=(f=o)&&f.__esModule?f:{"default":f},r=i(125),u="__FC_tooltipText",h=function(n,t,i){i=r.getTouchEvent(i);var f=11,o=11,s=(i=r.getMouseCoordinate(t.universe,i,t.chart)).chartX,h=i.chartY;this.applyScale&&(this._updateScalingValues(),f/=this.scaleFactor.scaleX,o/=this.scaleFactor.scaleY);s+=f;h+=o;e._draw.call(t,s,h,this.data(u),n)},c=function(n){e._hide(n)},e=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);var f,u=this,e=u.config={};u.universe=t;f=r.getScalingValue(t);this.scaleFactor=f;this.applyScale=0;this.chart=i;this.universeBounds=r.getPosition(t);u.toolTips={implicit:[],explicit:[]};u.hideImplicitToolTip=function(t){var i=e.lastActiveToolip;i&&t.target!==i.getData("targetElement").node&&(n._hide(i),u.config.lastActiveToolip=undefined)};u.config.positioningArr=[];u.config.canvasArr=[];t.FusionCharts.jsVars.fcObj.addEventListener("resized",u._updateAllToolTipBounds.bind(u))}return n.prototype._updateAllToolTipBounds=function(){var n=this.config,f=n.canvasArr,e=n.positioningArr,t=void 0,i=void 0,r=void 0,o=function(n){n.universeBounds&&(r=n.universeBounds.canvas)&&(t=f.indexOf(r));n.setUniverseBounds(e[t])},u=this.toolTips;
35for(i in u)u[i].forEach(o)},n.prototype._setRelativePosition=function(n){var r=this.config,t=r.canvasArr,u=r.positioningArr,i=t.indexOf(n.canvas);-1===i?(t.push(n.canvas),u.push(n)):(t[i]=n.canvas,u[i]=n)},n.prototype._createToolTip=function(n,t){var r=this.config,u=r.canvasArr,f=r.positioningArr,e=u.indexOf(t),i=void 0;return(i=new s["default"](this.universe,f[e])).setStyle(this.config.tooltipStyle),this.toolTips[n].push(i),i},n.prototype.enableToolTip=function(n,t,i){var e,r=this,o=r.toolTips.implicit,s=o.length,l=r.config,f=void 0;return t?n.data(u)?(s>0&&(f=o[s-1]).getData("active")&&f.data.targetElement===n&&f.show(t),n.data(u,t),r):(f=r._getAvailableToolTip("implicit",i),r.disableToolTip(n),n.data(u,t),n.data("__FC_onTooltipMove",h.bind(n,f,r)),n.data("__FC_onTooltipOut",c.bind(n,f)),n.data("__FC_onTooltipOver",(e=n,function(t){r.draw(t,n.data(u),f);f.setData("targetElement",e);l.lastActiveToolip=f})),n.on("fc-mousemove",n.data("__FC_onTooltipMove")),n.on("fc-mouseout",n.data("__FC_onTooltipOut")),n.on("fc-mouseover",n.data("__FC_onTooltipOver")),r):(r.disableToolTip(n),r)},n.prototype.disableToolTip=function(n){var t=n.data("__FC_onTooltipOut"),i=n.data("__FC_onTooltipMove"),r=n.data("__FC_onTooltipOver");return i&&n.off("fc-mousemove",i),t&&n.off("fc-mouseout",t),r&&n.off("fc-mouseover",r),n.removeData(u),this},n.prototype._updateScalingValues=function(){var n=this.universe;this.scaleFactor=r.getScalingValue(n);this.universeBounds=r.getPosition(n)},n.prototype.draw=function(t,i,u,f){var s=11,h=11,e=void 0,o=void 0;return this.applyScale&&(this._updateScalingValues(),s/=this.scaleFactor.scaleX,h/=this.scaleFactor.scaleY),t=r.getTouchEvent(t),e=(t=r.getMouseCoordinate(this.universe,t,this.chart)).chartX,o=t.chartY,u=u&&!u.disposed?u:this._getAvailableToolTip("explicit",f),e+=s,o+=h,n._draw.call(this,e,o,i,u),u},n.prototype.drawAt=function(t,i,r,u,f){return this.applyScale&&this._updateScalingValues(),u=u&&!u.disposed?u:this._getAvailableToolTip("explicit",f),n._draw.call(this,t,i,r,u),u},n._draw=function(n,t,i,r){r.show(i);r.update(n,t,this.universeBounds)},n.prototype._getAvailableToolTip=function(n,t){for(var r=this.toolTips[n],u=void 0,i=0,f=r.length;i<f;i++)if(!1===(u=r[i]).getData("active"))return u;return this._createToolTip(n,t)},n.prototype.setStyle=function(n){var t=this.config,r=t.tooltipStyle||(t.tooltipStyle={});for(var i in n)r[i]=n[i]},n.prototype.hide=function(t){return n._hide(t),this},n.prototype.hideAll=function(){var i,t;for(i in this.toolTips)for(t=0;t<this.toolTips[i].length;t++)n._hide(this.toolTips[i][t])},n.prototype.setApplyScale=function(n){this.applyScale=n},n._hide=function(n,t){n&&(t?n.dispose():n.hide())},n}();t["default"]={extension:e,name:"ToolTipController",type:"plugin"}},function(n,t,i){"use strict";t.__esModule=!0;var u=i(125),r=function(n){var t=n.getBoundingClientRect();return{left:0,top:0,right:t.width||t.right-t.left,bottom:t.height||t.bottom-t.top}},f=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.text="";this.x=0;this.y=0;this.visibleWidth=0;this.universe=t;this.setUniverseBounds(i||r(t));this.data={active:!1,target:!1};this.element=this.createElement(t)}return n.prototype.setUniverseBounds=function(n){this.universeBounds=n||this.universe&&r(this.universe)},n.prototype.createElement=function(n){var t=document.createElement("div");return t.setAttribute("class","fc__tooltip"),t.className+=" fusioncharts-div",t.innerHTML=this.text,t.style.color="#545454",t.style.padding="3px",t.style.fontSize="10px",t.style.overflow="hidden",t.style.borderWidth="1px",t.style.borderColor="#000000",t.style.whiteSpace="nowrap",t.style.position="absolute",t.style.borderStyle="solid",t.style.backgroundColor="#ffffff",t.style["user-select"]="none",t.style["-ms-user-select"]="none",t.style["-moz-user-select"]="none",t.style["-webkit-user-select"]="none",t.style["-webkit-touch-callout"]="none",t.style.top=this.x+"px",t.style.left=this.y+"px",t.style.visibility="hidden",t.style["pointer-events"]="none",n.appendChild(t),t},n.prototype.setData=function(n,t){this.data[n]=t},n.prototype.getData=function(n){return this.data[n]},n.prototype.setStyle=function(n){var t=this.element.style;t.color=n.fontColor;u.hasSVG?(t.backgroundColor=n.bgColor,t.borderColor=n.borderColor,t.boxShadow=n.showToolTipShadow?"1px 1px 3px rgba(64,64,64,0.4)":"none"):(t.backgroundColor=n.rawBgColor,t.borderColor=n.rawBorderColor);t.fontFamily=n["font-family"];t.fontSize=n["font-size"]+"px";t.fontWeight=n["font-weight"]||"normal";t.borderWidth=n.borderThickness+"px";t.borderRadius=n.borderRadius+"px";t.padding=n.padding+"px";n.border&&(t.border=n.border);n.background&&(t.background=n.background)},n.prototype.show=function(n){this.text!==n&&(this.text=n,this.element.innerHTML=this.text);this.setData("active",!0);"visible"!==this.element.style.visibility&&(this.element.style.visibility="visible");this.element.style["will-change"]="left, top";this.element.style["max-width"]=this.universeBounds.right-this.universeBounds.left-24+"px"},n.prototype.update=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:this.x,u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.y,o=arguments[2],s=this.universe.clientWidth,h=o.left+12,f=this.universe.clientHeight-12,c=this.universeBounds.right-this.universeBounds.left-24,i=this.element,r=i.offsetWidth,e=i.offsetHeight,n=i.style;t+r<s?(n.left=t+"px",n.whiteSpace="nowrap"):r<c?n.left=t-r-12+"px":(n.left=h+"px",n.whiteSpace="normal");n.top=u+e<f?u+"px":f-e+"px"},n.prototype.hide=function(){this.y=0;this.x=0;this.x="";this.setData("active",!1);this.setData("target",!1);this.element.style.visibility="hidden";this.element.style["will-change"]="auto";this.element.innerHTML="";this.text=void 0},n.prototype.dispose=function(){this.hide();this.universe.removeChild(this.element);this.universe=undefined;this.disposed=!0},n}();t["default"]=f},function(n,t,i){"use strict";function u(n){var t=n.sender.getFromEnv("chart"),s=t.config.tooltipgrayoutcolor,p=t.config.plotcolorintooltip,u=t.getFromEnv("toolTipController"),w=t.getDatasets().sort(function(n,t){return t.getJSONIndex()-n.getJSONIndex()}),i=t.getFromEnv("consolidated-tooltip"),h=r.getMouseCoordinate(n.sender.getFromEnv("chart-container"),n.originalEvent,t),l=h.chartX,a=h.chartY,v=!1,y=w.map(function(n){return n.getPlotInCategoryAt(l,a)}
35).filter(Boolean),b=y.reduce(c,0),k=y.map(function(n){var i=n.pointObj.config,t=i.finalTooltext||i.toolText,u=e(i);return b>0?!v&&n.hovered?(t='<div style="display: inline-block;">'+t+"<\/div>",v=!0):(u=s,t='<div style="color: '+r.hashify(s)+'; display: inline-block;">'+t+"<\/div>"):t='<div style="display: inline-block;">'+t+"<\/div>",p?'<div style="color: '+r.hashify(u)+'; display: inline-block;">■ <\/div>'+t:t}),o=[].concat(k).reverse().reduce(f,"");this.isWithinCanvas(l,a)&&o?i?u.draw(n.originalEvent,o,i):t.addToEnv("consolidated-tooltip",u.draw(n.originalEvent,o)):i&&u.hide(i)}function o(n){var t=n.sender.getFromEnv("chart"),r=t.getFromEnv("toolTipController"),i=t.getFromEnv("consolidated-tooltip");i&&r.hide(i)}function l(n){var i=this.apiInstance,c=i.getDatasets().sort(function(n,t){return n.getJSONIndex()-t.getJSONIndex()}),l=i.config.plotcolorintooltip,s=i.getFromEnv("toolTipController"),o=i.getFromEnv("consolidated-tooltip"),t=c.map(function(t){var i=t.components.data;return i[n]&&i[n]}).filter(Boolean),u=t[0]&&{x:t[0].config._Px-t[0]._width,y:t[0].config._Py,width:t[0].config._width},h=t.map(function(n){var t=n.config,i=t.finalTooltext||t.toolText,u=e(t);return l?'<div style="color: '+r.hashify(u)+'; display: inline-block;">■ <\/div><div style="display: inline-block;">'+i+"<\/div>":'<div style="display: inline-block;">'+i+"<\/div>"}).reduce(f,"");h&&u?o?s.drawAt(u.x,u.y,h,o):i.addToEnv("consolidated-tooltip",s.drawAt(u.x,u.y,h)):o&&s.hide(o)}t.__esModule=!0;var r=i(125),s={treemap:!0,scatter:!0,bubble:!0,errorscatter:!0,errorline:!0,errorbar2d:!0,candlestick:!0,stackedcolumn3d:!0,stackedbar3d:!0,mscolumnline3d:!0,mscombi3d:!0,mscolumn3dlinedy:!0,stackedcolumn3dline:!0,stackedcolumn3dlinedy:!0},h=function(n){return s[n.getName().toLowerCase()]},f=function(n,t){return n+'<div style="margin: 0;">'+t+"<\/div>"},c=function(n,t){return t.hovered?n+1:n},e=function(n){return n.anchorProps?n.anchorProps.borderColor:n.originalPlotColor||n.plotColor||n.color};t["default"]={extension:function(n){n.addEventListener("predraw",function(n){var t=void 0,i;n.sender.getType&&"chartAPI"===n.sender.getType()&&!h(n.sender)&&(i=(t=n.sender).getChildren("canvas"),t.getFromEnv("chartInstance").drawConsolidatedToolTip=l,i&&i.forEach(function(n){if(!t.config.drawTrendRegion||!t.config.showtooltip)return n.removeEventListener("fc-mouseover",u),n.removeEventListener("fc-mousemove",u),n.removeEventListener("fc-mouseout",o),void n.setState("consolidatedTooltipEventListenerAttached",!1);!n.getState("consolidatedTooltipEventListenerAttached")&&t.config.showtooltip&&(n.addEventListener("fc-mouseover",u),n.addEventListener("fc-mousemove",u),n.addEventListener("fc-mouseout",o),n.setState("consolidatedTooltipEventListenerAttached",!0))}))})},name:"ConsolidatedToolTip",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(187),e=(r=f)&&r.__esModule?r:{"default":r},u=i(125),o=function(n){n.sender.apiInstance.getChildren("alertManager")&&n.sender.apiInstance.getChildren("alertManager")[0].processRTData(n.data)};t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){"chartAPI"===n.sender.getType()&&n.sender.registerFactory("alertManager",function(n){if(n.getChildren("alertManager"))n.getChildren("alertManager")[0].configure();else{var t=n.getFromEnv("chart");u.componentFactory(t,e["default"],"alertManager",1,[{}])}})});n.addEventListener("updateDataReceived",o);n.addEventListener("postConfigure",function(n){if("dataset"===n.sender.getType()){var f,e=n.sender,o=e.config,i=o.JSONData,t=e.getFromEnv("chart").getChildren("alertManager"),r=void 0;if(!t||!i)return;f=u.pluckNumber(i&&i.checkforalerts,1);(r=(t=t[0]).config||(t.config={})).datasetMap=r.datasetMap||{};r.datasetMap[o.index]=f}})},name:"alertManagerLinker",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function f(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u;t.__esModule=!0;r=i(125);u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.pIndex=1,i.linkedItems={chart:{}},i}return f(t,n),t.prototype.getType=function(){return"extension"},t.prototype.getName=function(){return"AlertManager"},t.prototype.configure=function(){var u,t,i,r=this.getFromEnv("dataSource"),n=r&&r.alerts&&r.alerts.alert,f=this.getFromEnv("number-formatter"),e=this.config||(this.config={});if(n&&n.length)for(e.alertArr=n,u=n.length,t=0;t<u;t+=1)(i=n[t]).minvalue=f.getCleanValue(i.minvalue),i.maxvalue=f.getCleanValue(i.maxvalue);else e.alertArr=[]},t.prototype.processRTData=function(n){var t,i,f,r,e,u,o=this.config,s=this.getFromEnv("number-formatter");if(n&&n.dataset&&n.dataset.length)for(f=n.dataset.length,t=0;t<f;t+=1)if((r=n.dataset[t]).data&&r.data.length){if(o.datasetMap&&0===o.datasetMap[t])continue;for(e=r.data.length,i=0;i<e;i+=1)null!==((u=r.data[i])&&s.getCleanValue(u.value))&&this._doAlert(s.getCleanValue(u.value))}},t.prototype._doAlert=function(n){for(var t,f,i=this.getLinkedParent(),e=this.config.alertArr,o=e.length,u=0;u<o;u+=1)if(f=(t=e[u]).action&&t.action.toLowerCase(),t.minvalue<=n&&t.maxvalue>
35=n){if("1"!==t.occuronce||!t.hasOccurred){switch(t.hasOccurred=!0,t.state="1",f){case"calljs":setTimeout(r.pseudoEval(t.param));break;case"showannotation":i.showAnnotation&&i.showAnnotation(t.param)}i.fireChartInstanceEvent("AlertComplete",{alertValue:n,alertMaxValue:t.maxvalue,alertMinValue:t.minvalue})}}else"showannotation"===f&&"1"===t.state&&i.hideAnnotation&&i.hideAnnotation(t.param),t.state="2"},t}(i(138).ComponentInterface);t["default"]=u},function(n,t,i){"use strict";t.__esModule=!0;var u,e=i(189),r=(u=e)&&u.__esModule?u:{"default":u},f=i(191);t["default"]={extension:function(n){n.addEventListener("preconfigure",function(n){var t=n.sender,i=t.getFromEnv("chart");f.allowedCharts[i&&i.getName()]&&("dataset"===t.getType()&&"cartesianStackGroup"!==t.getLinkedParent().getName()?(t.setState("applySkippingOnConf",!0),r["default"].dataSkipping({component:t,datasetType:t.getName(),compType:"dataset"})):"cartesianStackGroup"===t.getName()&&(t.setState("applySkippingOnConf",!0),r["default"].dataSkipping({component:t,datasetType:t.getName(),compType:"group"})))});n.addEventListener("preattributeprepared",function(n){var u=n.sender.getFromEnv&&n.sender.getFromEnv("chart");if(f.allowedCharts[u&&u.getName()])if("dataset"===n.sender.getType()){var t=n.sender,e=t.getFromEnv("canvasConfig"),s=t.getFromEnv("chart").isBar?e.canvasHeight:e.canvasWidth;"cartesianStackGroup"!==t.getLinkedParent().getName()&&(t.getState("applySkippingOnConf")?t.setState("applySkippingOnConf",!1):r["default"].dataSkipping({component:t,compType:"dataset",datasetType:t.getName(),width:s}))}else if("cartesianStackGroup"===n.sender.getName()){var i=n.sender,o=i.getFromEnv("canvasConfig"),h=i.getFromEnv("chart").isBar?o.canvasHeight:o.canvasWidth,c=Object.keys(i.getChildren())[0];i.getState("applySkippingOnConf")?i.setState("applySkippingOnConf",!1):r["default"].dataSkipping({component:i,compType:"group",datasetType:i.getChildren(c)[0].getName(),width:h})}});n.addEventListener("dataplotdragend",function(n,t){if(n.sender.getType&&"dataset"===n.sender.getType()){var i=n.sender,u=i.getSkippingInfo&&i.getSkippingInfo();u&&u.skippingApplied&&r["default"].updateDragMap({component:i,compType:"dataset",evenType:"dataplotdragend",eventArgs:t})}})},name:"DataSkipping",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function c(){return(arguments.length>0&&arguments[0]!==undefined?arguments[0]:[]).filter(function(n){return!u[n]})}function l(n,t){for(var i=0,u=[],f=1;f<r.noOfPlotBins;++f)n(i,(i+=r.plotsPerBin)-1,t,e,u);return n(i,t.length-1,t,e,u),e=[],u}function p(n){var w,tt=n.datasetType,d=v.filterType[tt],a=n.component,i=a.getSkippingInfo&&a.getSkippingInfo(),f=i&&i.draw.slice(0),y=i&&(i.labelDraw||[]).slice(0),t={},g=[],h=void 0,p=void 0,b=void 0,nt=void 0,it=a.getFromEnv("xAxis").getTicksLen(),k=void 0;if((!f||!f.length)&&(f=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0;return Array.from(new Array(n),function(n,t){return t})}(o)),(!y||!y.length)&&(y=f),e=i&&i.dragHashMap,"cartesianStackGroup"===a.getName()){for(nt=r.jsonData.length,h=0;h<it;++h){for(b=0,p=0;p<nt;++p)k=r.jsonData[p].data,b+=Number(k[h]?k[h].value:0);g.push({value:b})}t.draw=l(s["default"](d),g)}else t.draw=l(s["default"](d),r.jsonData.data);return t.draw.forEach(function(n){u[n]=!0}),t.drawOnlyMap=u,t.hide=c(f),w=function(n){for(var f=r.plotBinSize,e=r.labelBinSize/f,i=[],u=[],t=void 0,o=n.length,t=0;t<o;t++)t%e||(i.push(n[t]),u[n[t]]=!0);return{drawableLabelIndices:i,labelHashMap:u}}(t.draw),t.labelDraw=w.drawableLabelIndices,u=t.labelDrawOnlyMap=w.labelHashMap,t.hideLabel=c(y),t.plotsPerBin=r.plotsPerBin,t.skippingApplied=!0,t.dragHashMap=[],t.prevDrawInfo=f.slice(0),t}t.__esModule=!0;var f,a=i(190),s=(f=a)&&f.__esModule?f:{"default":f},v=i(191),h=i(125),y=1.5,u=[],o=0,r={},e=[];t["default"]={dataSkipping:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=t.component;(function(){var f,e,s,c,t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=t.component,l=t.compType,i=void 0,a=n.getFromEnv("chartConfig"),v=n.getFromEnv("dataSource").chart||{},p=h.pluckNumber(v.plotbinsize,a.plotbinsize),w=h.pluckNumber(v.labelbinsize,a.labelbinsize),b=n.getFromEnv("chartWidth"),k=n.getFromEnv("chartHe
35ight");return r.plotBinSize=p,r.labelBinSize=w,r.jsonData=n.config.JSONData,"group"===l?(i=r.jsonData[0].data,o=n.config.stackValues&&n.config.stackValues.length||0):"dataset"===l&&(i=r.jsonData.data,o=n.components.data&&n.components.data.length||0),f=i&&i.length,u=[],r.width=c=n.getFromEnv("chart").isBar?t.height||k:t.width||b,e=f/c,s=Math.floor(e*p),e>=y&&s>1&&(r.plotsPerBin=s,r.noOfPlotBins=Math.ceil(f/r.plotsPerBin),!0)})(t)?n.setSkippingInfo&&n.setSkippingInfo(p(t)):n.setSkippingInfo&&n.setSkippingInfo()},updateDragMap:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i=t.component,n=t.eventArgs,r=i.getSkippingInfo&&i.getSkippingInfo()||{};n&&(r.dragHashMap[n.dataIndex]=n.endValue)}}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){var t={maxOnly:function(n,t,i){for(var u=arguments.length>3&&arguments[3]!==undefined?arguments[3]:[],f=arguments[4],e=i[t].value,o=t,s=void 0,r=t-1;r>=n;--r)(s=void 0!==u[r]?u[r]:i[r].value)>e&&(e=s,o=r);return f.push(o),f},minMax:function(n,t,i){for(var s,h=arguments.length>3&&arguments[3]!==undefined?arguments[3]:[],o=arguments[4],c=i[t].value,r=t,l=i[t].value,u=t,e=void 0,f=t-1;f>=n;--f)(e=void 0!==h[f]?h[f]:i[f].value)>c?(c=e,r=f):e<l&&(l=e,u=f);return s=u<r?[u,r]:[r,u],u=s[0],r=s[1],o.push(u),u!==r&&o.push(r),o}};return t[n]||t.maxOnly}},function(n,t){"use strict";t.__esModule=!0;t.allowedCharts={Column2D:!0,Line:!0,Area2D:!0,Bar2D:!0,MSColumn2D:!0,MSLine:!0,MSBar2D:!0,MSArea:!0,StackedColumn2D:!0,StackedBar2D:!0,StackedArea2D:!0,MSStackedColumn2D:!0,MSCombi2D:!0,StackedColumn2DLine:!0,MSCombidy2D:!0,LogMSColumn2d:!0,LogMSLine:!0,DragColumn:!0,DragLine:!0,DragArea:!0};t.filterType={Column:"maxOnly",line:"minMax",area:"minMax"}},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}var r,u,e,o;t.__esModule=!0;r=f(i(193));u=f(i(214));e=function(n){return"chartAPI"===n.getType()};o=function(n,t){return"groups"!==t&&"items"!==t};t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){var t=n.sender;e(t)&&t.registerFactory("annotation",function(n){var i=n.getFromEnv("dataSource").annotations,f=n.getChildren().annotation,t=f&&f[0];t&&t.disposeConfiguration();delete n.getFromEnv("chartInstance").annotations;i&&(t||(t=new r["default"](u["default"](o,i)),n.attachChild(t,"annotation"),t.config.drawn=!1),t._JSONData=i,t.configure(i),n.getFromEnv("chartInstance").annotations=t)})})},name:"Annotation",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},c=f(i(194)),l=f(i(214)),u=i(196),r=i(125),o=i(132),a=f(i(215)),v=f(i(216)),y=f(i(217));var w=["pie2d","doughnut2d"],b=["pie3d","doughnut3d"],s=function(n){var u,f=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},o=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},t={};for(var i in t.annotationType="shape",t.id=n.id,t.type=n.type&&n.type.toLowerCase(),t.toolText=r.pluck(n.tooltext,n.toolText),t.animationLabel=r.pluck(n.animationlabel,n.animationLabel),t.dashed=n.dashed,t.dashLen=r.pluck(n.dashlen,n.dashLen),t.dashGap=r.pluck(n.dashgap,n.dashGap),t.thickness=n.thickness,t.showBorder=r.pluck(n.showborder,n.showBorder),t.borderColor=r.pluck(n.bordercolor,n.borderColor),t.borderAlpha=r.pluck(n.borderalpha,n.borderAlpha),t.borderThickness=r.pluck(n.borderthickness,n.borderThickness),t.alpha=n.alpha,t.color=n.color,t.fillColor=r.pluck(n.fillcolor,n.fillColor),t.fontColor=r.pluck(n.fontcolor,n.fontColor),t.fillAlpha=r.pluck(n.fillalpha,n.fillAlpha),t.fillAngle=r.pluck(n.fillangle,n.fillAngle),t.fillRatio=r.pluck(n.fillratio,n.fillRatio),t.fillPattern=r.pluck(n.fillpattern,n.fillPattern),t.sides=n.sides,t.radiu
35s=n.radius,t.yRadius=r.pluck(n.yradius,n.yRadius),t.innerRadius=r.pluck(n.innerradius,n.innerRadius),t.endAngle=r.pluck(n.endangle,n.endAngle),t.startAngle=r.pluck(n.startangle,n.startAngle),t.isVisible=!0==(u=n.visible,!(0===parseInt(u,10))),t.x=n.x,t.y=n.y,t.xPos=r.pluck(n.xpos,n.xPos),t.yPos=r.pluck(n.ypos,n.yPos),t.toY=r.pluck(n.toy,n.toY),t.toX=r.pluck(n.tox,n.toX),t.autoScale=r.pluck(n.autoscale,n.autoScale),t.path=n.path,t.css=n.css,t.wrap=n.wrap,t.text=n.text!==r.UNDEF&&null!==n.text&&n.text.toString()||r.UNDEF,t.font=r.pluck(n.font,f.font,o.basefont),t.bold=r.pluck(n.bold,n.isbold,n.bold,n.isBold),t.label=n.label,t.align=n.align,t.italic=n.italic,t.vAlign=r.pluck(n.valign,n.vAlign),t.bgColor=r.pluck(n.bgcolor,n.bgColor),t.fontSize=r.pluck(n.fontsize,n.fontSize,f.fontSize,o.basefontsize),t.wrapWidth=r.pluck(n.wrapwidth,n.wrapWidth),t.leftMargin=r.pluck(n.leftmargin,n.leftMargin),t.rotateText=r.pluck(n.rotatetext,n.rotateText),t.wrapHeight=r.pluck(n.wrapheight,n.wrapHeight),t.showShadow=r.pluck(n.showshadow,n.showShadow),t.link=n.link,t.url=n.url,t.link=n.link,t.width=n.width,t.height=n.height,t.xScale=r.pluck(n.xscale,n.xScale),t.yScale=r.pluck(n.yscale,n.yScale),t.onload=n.onload,t.onerror=n.onerror,"object"===e(n.component)&&(t.component=n.component),t)t.hasOwnProperty(i)&&void 0===t[i]&&delete t[i];return t},k=function(n,t){return"itemConfigs"!==t},h=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{groups:[]},t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};return(n.groups||[]).map(function(i){var o,f;return o=n,(f=i).css=f.css||o.css,f.autoscale=r.pluck(f.autoscale,o.autoscale),f.animationLabel=r.pluck(f.animationLabel,o.animationLabel),f.constrainedscale=r.pluck(f.constrainedscale,o.constrainedscale),f.scaletext=r.pluck(f.scaletext,o.scaletext),f.scaleimages=r.pluck(f.scaleimages,o.scaleimages),f.xshift=r.pluck(f.xshift,o.xshift),f.yshift=r.pluck(f.yshift,o.yshift),f.grpxshift=r.pluck(f.grpxshift,o.grpxshift),f.grpyshift=r.pluck(f.grpyshift,o.grpyshift),f.origw=r.pluck(f.origw,o.origw),f.origh=r.pluck(f.origh,o.origh),f.showbelow=r.pluck(f.showbelow,o.showbelow,1),f.onAnnotationClick=o.onAnnotationClick,f.onAnnotationRollover=o.onAnnotationRollover,f.onAnnotationRollout=o.onAnnotationRollout,function(n,t){var i={},f=n.items;for(var o in f=n.items=u.arrangeItems(f),i.annotationType="group",i.id=n.id,i.showBelow="undefined"==typeof n.showbelow||null===n.showbelow?1:Number(n.showbelow),i.x=n.x,i.y=n.y,i.animationLabel=r.pluck(n.animationlabel,n.animationLabel),i.xPos=r.pluck(n.xpos,n.xPos),i.yPos=r.pluck(n.ypos,n.yPos),i.grpXShift=r.pluck(n.grpxshift,n.grpXShift),i.grpYShift=r.pluck(n.grpyshift,n.grpYShift),i.xShift=r.pluck(n.xshift,n.xShift),i.yShift=r.pluck(n.yshift,n.yShift),i.color=n.color,i.alpha=n.alpha,i.isVisible=1===Number(n.visible||1),i.font=r.pluck(n.font,t.basefont),i.link=n.link,i.fontSize=r.pluck(n.fontsize,n.fontSize,t.basefontsize),i.textAlign=r.pluck(n.textalign,n.textAlign),i.textVAlign=r.pluck(n.textvalign,n.textVAlign),i.rotateText=r.pluck(n.rotatetext,n.rotateText),i.wrapText=r.pluck(n.wraptext,n.wrapText),i.toolText=r.pluck(n.tooltext,n.toolText),i.link=n.link,i.showShadow=r.pluck(n.showshadow,n.showShadow),i.items=n.items,i.css=n.css,i.autoScale=r.pluck(n.autoscale,n.autoScale),i.scaleText=r.pluck(n.scaletext,n.scaleText),i.xScale=r.pluck(n.xscale,n.xScale),i.yScale=r.pluck(n.yscale,n.yScale),i.scaleImages=r.pluck(n.scaleimages,n.scaleImages),i.constrainedScale=r.pluck(n.constrainedscale),i.origH=r.pluck(n.origh,n.origH,t.origh),i.origW=r.pluck(n.origw,n.origW,t.origw),i.onAnnotationClick=n.onAnnotationClick,i.onAnnotationRollover=n.onAnnotationRollover,i.onAnnotationRollout=n.onAnnotationRollout,"object"===e(n.component)&&(i.component=n.component),i)i.hasOwnProperty(o)&&void 0===i[o]&&delete i[o];return Array.isArray(f)&&(i.itemConfigs=f.map(function(n){return s(n,i,t)})),i}(i,t)})},d=function(n){function t(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i;return!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),o.addDep({name:"annotationAnimation",type:"animationRule",extension:a["default"]}),v["default"](o.getDep("redraphael","plugin")),y["default"](o.getDep("redraphael","plugin")),i.rawConfig=JSON.parse(JSON.stringify(r)),i.groups=[],i.config.dependencies={},i}return p(t,n),t.prototype.getName=function(){return"annotation"},t.prototype.getType=function(){return"extension"},t.prototype.setup=function(){var n=this.config;this.rawConfig={group:[]};n.parsedConfigs||(n.parsedConfigs=[])},t.prototype.configureAttributes=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{groups:[]},t=this.config,i=this.getFromEnv("chart");this.setup();t.parsedConfigs=n.groups?h(n,i.config):[];this.createAnnotationItems()},t.prototype.createAnnotationItems=function(n){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},t=this,u=t.config;
35(n||u.parsedConfigs).forEach(function(n){var f=n.itemConfigs||{},u=void 0;n=l["default"](k,n);u=t.createItem(n,r.UNDEF,i);f.forEach(function(n){t.createItem(n,u,i)});u.items=u.getChildren("item")||[]});t.groups=t.getChildren("group")||[]},t.prototype.__addItem=function(n){var f,i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},u=void 0,r=void 0,t=this._JSONData;for(i=Object.assign({},i),!t&&(this._JSONData=t={groups:[]}),r=0,f=t.groups.length;r<f&&(u=t.groups[r]).id!==n;r++);return u?u.items.push(i):t.groups.push({id:n,items:[i]}),this.setData(t),this.config.lastCreatedItem},t.prototype.addItem=function(n){var r,o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=arguments[2],t=this.retrieveGroup(n),u=s(o),f=void 0;if(u.isVisible=!0,t=t||this.addGroup({id:n}),"object"===(void 0===i?"undefined":e(i))&&(f={component:i}),r=this.createItem(u,t,f))return t.items=t.getChildren("item")||[],this.asyncDraw(),r},t.prototype.__addGroup=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this._JSONData;return t=Object.assign({},t),!n&&(this._JSONData=n={groups:[]}),n.groups.push(t),this.setData(n),this.config.lastCreatedGroup},t.prototype.addGroup=function(){var t,i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},r=arguments[1],u=this.config,f=Object.assign({},i),n=void 0;return this.setup(),(n=h({groups:[f]}))[0],n.forEach(function(n){u.parsedConfigs.push(n)}),this.createAnnotationItems(n,{component:r}),t=this.groups[this.groups.length-1],this.asyncDraw(),t},t.prototype.addCustomGroup=function(n){n&&(this.config.customGroup=n)},t.prototype.update=function(n,t){var i=void 0,u=void 0,r={},f=void 0,e=void 0;if(n){for(u in t)r[u.toLowerCase()]=t[u]&&t[u].toString();return!(i=this.retrieveItem(n)||this.retrieveGroup(n))||!i.getElement()?void 0:("undefined"==typeof r.visible&&(r.visible=i._getConfig("isVisible")),f=i.rawConfig,f=Object.assign(f,r),(e=s(f)).isVisible=r.visible,i.setData(e),i)}},t.prototype.destroy=function(n){var i=this._JSONData,t=void 0,r=void 0,u=void 0,o=void 0,f=void 0,e=!1;if(n){for(t=0,u=i.groups.length;t<u;t++)for(r=0,o=((f=i.groups[t]).items||[]).length;r<o;r++)if(f.items[r].id===n&&!e){f.items.splice(r,1);e=!0;break}if(!e)for(t=0,u=i.groups.length;t<u;t++)(f=i.groups[t]).id===n&&i.groups.splice(t,1)}else i=this._JSONData={groups:[]};this.setData(i)},t.prototype.clear=function(){this.destroy()},t.prototype.draw=function(){var e,t,n,r,l,a,v,y,i,f,h,c,o,s;this.addToEnv("snapPoints",(e=this.getFromEnv("chart"),n=e.config,r=e.getChildren(),l=r.caption[0],a=r.subCaption[0],v=r.legend&&r.legend[0]||{},y=r.gLegend&&r.gLegend[0]||{},i=l.config,f=a.config,h=i.width||0,c=f.width||0,o=void 0,s=void 0,"end"===i.align?(o=i.x-h,s=i.x-c):"start"===i.align?o=s=i.x:(o=i.x-h/2,s=i.x-c/2),t=n.gLegendEnabled?y.conf:v.config,{canvasendx:n.canvasRight,canvasendy:n.canvasBottom,canvasheight:n.canvasHeight,canvasstartx:n.canvasLeft,canvasstarty:n.canvasTop,canvaswidth:n.canvasWidth,canvascenterx:n.canvasCenterX||n.canvasLeft+(n.canvasRight-n.canvasLeft)/2,canvascentery:n.canvasCenterY||n.canvasTop+(n.canvasBottom-n.canvasTop)/2,chartcenterx:n.width/2,chartcentery:n.height/2,chartstartx:0,chartstarty:0,chartendx:n.width,chartendy:n.height,chartheight:n.height,chartwidth:n.width,chartleftmargin:n.marginLeft,chartrightmargin:n.marginRight,chartbottommargin:n.marginBottom,charttopmargin:n.marginTop,captionendx:o+i.width,captionendy:i.y+i.height,captionheight:i.height,captionstartx:o,captionstarty:i.y,captionwidth:h,subcaptionendx:s+f.width,subcaptionendy:f.y+f.height,subcaptionheight:f.height,subcaptionstartx:s,subcaptionstarty:f.y,subcaptionwidth:c,legendendx:t&&t.xPos+t.width,legendendy:t&&t.yPos+t.height,legendheight:t&&t.height,legendstartx:t&&t.xPos,legendstarty:t&&t.yPos,legendwidth:t&&t.width,dataset:function(n){var r,t=n.split(u.DEFAULT_MACRO_SEPARATOR).slice(1),i=void 0,o=void 0,f=[];return e.iterateComponents(function(n){"dataset"===n.getType()&&f.push(n)}),f.sort(function(n,t){return n.getJSONIndex()-t.getJSONIndex()}),i=f[Number(t[0])],r=i.components.data[Number(t[2])],w.indexOf(i.getName().toLowerCase())>-1?u.computeSliceBounds(t[3],r.config):b.indexOf(i.getName().toLowerCase())>-1?u.compute3DSliceBounds(t[3],r.config):(o=u.computePlotBounds(r,i.getName()),u.xyCalculator(t[3],o))},xaxis:u.axisMacroParser(e,"xAxis"),yaxis:u.axisMacroParser(e,"yAxis"),gaugestartx:n.gaugeStartX,gaugestarty:n.gaugeStartY,gaugeendx:n.gaugeEndX,gaugeendy:n.gaugeEndY,gaugecenterx:n.gaugeCenterX,gaugecentery:n.gaugeCenterY,gaugestartangle:n.gaugeStartAngle,gaugeendangle:n.gaugeEndAngle,gaugeradius:n.gaugeRadius,plotwidth:n.plotWidth,plotsemiwidth:n.plotSemiWidth}));this.addGraphicalElement({el:"group",attr:{name:"upperannotations"},component:this,container:{label:"group",id:"abovePlotGroup",isParent:!0},id:"upperAnnotationGroup",label:"group"});this.addGraphicalElement({el:"group",attr:{name:"lowerannotations"},component:this,container:{label:"group",id:"belowPlotGroup",isParent:!0},id:"lowerAnnotationGroup",label:"group"})},t}(c["default"]);t["default"]=d},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
35}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var o,s;t.__esModule=!0;var h=i(138),u=i(125),c=r(i(195)),f=r(i(207)),e=r(i(209)),l=r(i(210)),a=r(i(211)),v=r(i(212)),y=r(i(213));o={circle:f["default"],arc:f["default"],line:e["default"],path:e["default"],rectangle:l["default"],polygon:a["default"],image:v["default"],text:y["default"]};s=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return p(t,n),t.prototype.createItem=function(n,t){var i=void 0,r=void 0;if("group"===n.annotationType)n.groupXShift=u.pluckNumber(n.groupXShift,this.config.groupXShift),n.groupYShift=u.pluckNumber(n.groupYShift,this.config.groupYShift),i=this.attachChild(c["default"],"group",n.id),this.config.lastCreatedGroup=i;else{if(r=n.type&&n.type.toLowerCase(),!(i=t.attachChild(o[r],"item",n.id)))return;this.config.lastCreatedItem=i}return i._setToStore("component",n.component),i.configure(n),i},t.prototype.retrieveItem=function(n,t){var i=void 0,r=void 0;for(var u in this.groups)if(i=this.groups[u].retrieveItem(n,t)){r=i;break}return r},t.prototype.retrieveGroup=function(n,t){var i=void 0,r=void 0;if(t)this.detachChild(n);else for(i=0,r=this.groups.length;i<r;i++)if(this.groups[i].getId()===n)return this.groups[i]},t.prototype.show=function(n){var t=void 0;n?(t=this.retrieveItem(n)||this.retrieveGroup(n))&&t.show():this.groups.forEach(function(n){n.show();n.items.forEach(function(n){n.show()})})},t.prototype.hide=function(n){var t=void 0;n?(t=this.retrieveItem(n)||this.retrieveGroup(n))&&t.hide():this.groups.forEach(function(n){n.hide();n.items.forEach(function(n){n.hide()})})},t.prototype.dispose=function(){var t=this.config,i=void 0,r=void 0,n=void 0,u=void 0;if(t.groups){for(i=t.groups.length-1;i>=0;i--){for(r=((n=t.groups[i]).items&&n.items.length)-1;r>=0;r--)(u=n.items[r])&&u.dispose();n.items=[];n.dispose()}t.groups=[]}},t.prototype.disposeConfiguration=function(){var n=this.config;n.parsedConfigs=[];n.groups=[]},t}(h.SmartRenderer);t["default"]=s},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r=i(125),e=i(196),o=u(i(197)),s=u(i(198));f=function(n){function t(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i;return!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this,r)),i.groups=[],i.items=[],i}return h(t,n),t.prototype.getName=function(){return"group"},t.prototype.configureAttributes=function(n){var i,t=this.config;this.rawConfig={};i=s["default"](this.rawConfig,n);this.rawConfig=i;t.id=this.rawConfig.id||this.getId("group");t.autoScale=r.pluckNumber(this.rawConfig.autoScale,1);t.scaleText=r.pluckNumber(this.rawConfig.scaleText,0);t.scaleX=t.origScaleX=r.pluckNumber(this.rawConfig.xScale)/100;t.scaleY=t.origScaleY=r.pluckNumber(this.rawConfig.yScale)/100;t.scaleImages=r.pluckNumber(this.rawConfig.scaleImages,0);t.constrainedScale=r.pluckNumber(this.rawConfig.constrainedScale,1);t.origH=Number(this.rawConfig.origH);t.origW=Number(this.rawConfig.origW);t.link=this.rawConfig.link;t.color=this.rawConfig.color||"#FF0000";t.alpha=r.pluckNumber(parseFloat(this.rawConfig.alpha),100);t.showShadow=r.pluckNumber(this.rawConfig.showShadow,0);t.x=r.pluckNumber(this.rawConfig.x,this.rawConfig.xPos,0);t.y=r.pluckNumber(this.rawConfig.y,this.rawConfig.yPos,0);t.font=r.pluck(this.rawConfig.font,"Verdana, sans");t.fontSize=r.pluckFontSize(this.rawConfig.fontSize,10);t.textAlign=r.pluck(this.rawConfig.textAlign);t.textVAlign=r.pluck(this.rawConfig.textVAlign);t.rotateText=r.pluck(this.rawConfig.rotateText);t.wrapText=r.pluck(this.rawConfig.wrapText);t.grpXShift=r.pluckNumber(this.rawConfig.grpXShift,0);t.grpYShift=r.pluckNumber(this.rawConfig.grpYShift,0);t.xShift=r.pluckNumber(this.rawConfig.xShift,0);t.yShift=r.pluckNumber(this.rawConfig.yShift,0);t.toolText=this.rawConfig.toolText;t.isVisible=e.pluckBoolean(this.rawConfig.isVisible,!0);t.elementType="group";t.containerConfiguration={id:this.rawConfig.showBelow?"lowerAnnotationGroup":"upperAnnotationGroup",label:"group",isParent:!0};t.animationLabel="group"},t.prototype.updateScale=function(){var n,t=this.config,i=void 0,r=void 0,f=void 0,e=void 0,l=this._getConfig("origScaleX"),a=this._getConfig("origScaleY"),o=this.getFromEnv("chart"),s=+o.getFromEnv("chartHe
35ight"),h=+o.getFromEnv("chartWidth"),u=this._getConfig("autoScale"),c=this._getConfig("constrainedScale");this._setConfig("origW",Number(this._getConfig("origW"))||h);this._setConfig("origH",Number(this._getConfig("origH"))||s);u?(i=h/this._getConfig("origW")*(Number(l)||1),r=s/this._getConfig("origH")*(Number(a)||1)):i=r=1;n=Math.min(i,r);this._setConfig("scaleValue",n);(u>0||isNaN(this._getConfig("scaleX")))&&(f=c?n:i,this._setConfig("scaleX",f));(u>0||isNaN(this._getConfig("scaleY")))&&(e=c?n:r,this._setConfig("scaleY",e));this._setConfig("scaleFont",this._getConfig("scaleText")?Math.min(this._getConfig("scaleX"),this._getConfig("scaleY")):1);this._setConfig("scaleImageX",this._getConfig("scaleImages")?this._getConfig("scaleX"):1);this._setConfig("scaleImageY",this._getConfig("scaleImages")?this._getConfig("scaleY"):1);t.scaleInfo={scaleX:t.scaleX,scaleY:t.scaleY,scaleValue:t.scaleValue}},t.prototype.updateAttr=function(){var i,r,u=this.config,n=u.calculatedAttrs;for(var t in n)n[t]&&(u[t]=n[t]);i=this.getScaledVal(this._getConfig("grpXShift"))+this._getConfig("xShift");r=this.getScaledVal(this._getConfig("grpYShift"))+this._getConfig("yShift");this._setConfig("attr",{transform:"T"+i+","+r})},t.prototype.retrieveItem=function(n,t){var i=void 0,r=void 0;if(t)this.detachChild(n);else for(i=0,r=this.items.length;i<r;i++)if(this.items[i].getId()===n)return this.items[i]},t.prototype.getScaledVal=function(n,t){return this?n*(t?this._getConfig("scaleX"):(!1===t?this._getConfig("scaleY"):this._getConfig("scaleValue"))||1):n},t.prototype.getScaledFont=function(n){return this?n*this._getConfig("scaleFont"):n},t.prototype.getScaledImageVal=function(n,t){return this?n*((t?this._getConfig("scaleImageX"):this._getConfig("scaleImageY"))||1):n},t.prototype.getScaleInfo=function(){return this.config.scaleInfo},t.prototype.draw=function(){var t,i,n=this._getConfig("attr")||{};this.updateScale();this.parseAndSetAttribute();t=this.getScaledVal(this._getConfig("grpXShift"))+this._getConfig("xShift");i=this.getScaledVal(this._getConfig("grpYShift"))+this._getConfig("yShift");n.name=this._getConfig("id");n.transform=n.transform||"T"+t+","+i;n.visibility=this.config.isVisible?r.visibleStr:r.hiddenStr;this.addGraphicalElement({el:"group",attr:n,container:this.config.containerConfiguration,component:this._getFromStore("component")||this,label:this.config.animationLabel,id:this.config.id})},t.prototype.dispose=function(){for(var t=this._getFromStore("originalComponent"),i=t.retrieveGroup(this.config.id,!0),r=void 0,u=i.items||[],n=void 0,n=0;n<u.length;n++)(r=t.retrieveItem(u[n].getId(),!0))&&r.dispose();t.removeGraphicalElement(i.config.id);i.items=[]},t}(o["default"]);t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;t.getEventData=t.getScaledVal=t.parseEquation=t.solveEquation=t.isMacro=t.trim=t.pluckBoolean=t.DEFAULT_MACRO_SEPARATOR=t.DEFAULT_MACRO_PREFIX=t.UNDERSCORE=t.UNDEF=t.xyCalculator=t.axisMacroParser=t.arrangeItems=t.cleanMacro=t.compute3DSliceBounds=t.computeSliceBounds=t.computePlotBounds=t.getQuadrant=t.polarToCartesian=t.deg2Rad=undefined;var u=i(125),w=undefined,f=2*Math.PI,h=[-f,-3*f/4,-f/2,-f/4,0],e=[f,3*f/4,f/2,f/4,0],c=function(n){return n*n},a=function(n){return n*(Math.PI/180)},r=function(n,t){var r=!(arguments.length>2&&arguments[2]!==undefined)||arguments[2],i=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return r||(t=a(t)),{x:n*Math.cos(t)+(i.x||0),y:n*Math.sin(t)+(i.y||0)}},o=function(n,t,i){var r=c(n),u=c(t);return 0===n||0===t?0:n*t/Math.sqrt(u*c(Math.cos(i))+r*c(Math.sin(i)))},v=function(n){var a,v,y,p,e,o,s=n.ringpath,w=[],i=[],t=void 0,c=void 0,l=void 0,b=Infinity,k=Infinity,d=-Infinity,g=-Infinity;for(a=u.pluckNumber(s[2]),v=u.pluckNumber(s[3]),y=u.pluckNumber(s[4])%f,p=u.pluckNumber(s[5])%f,e=u.pluckNumber(s[0]),o=u.pluckNumber(s[1]),c=r(a,y,!0,{x:e,y:o}),l=r(a,p,!0,{x:e,y:o}),i.push(c),i.push(l),t=0;t<h.length;t++)h[t]>=y&&h[t]<=p&&w.push(t);for(t=0;t<w.length;t++)c=r(a,h[w[t]],!0,{x:e,y:o}),l=r(v,h[w[t]],!0,{x:e,y:o}),i.push(c),i.push(l);for(c=r(v,y,!0,{x:e,y:o}),l=r(v,p,!0,{x:e,y:o}),i.push(c),i.push(l),t=0;t<i.length;t++)d=Math.max(d,i[t].x),b=Math.min(b,i[t].x),g=Math.max(g,i[t].y),k=Math.min(k,i[t].y);return{x:b,y:k,width:Math.abs(d-b),height:Math.abs(k-g)}},s=function(n,t,i){var e,r=void 0,u=void 0;return e=Math.tan(i),r=n*t/Math.sqrt(t*t+n*n*e*e),u=n*t/Math.sqrt(n*n+t*t/(e*e)),i>f/4&&i<3*f/4?r*=-1:r=Math.abs(r),i>f/2&&i<f?u*=-1:u=Math.abs(u),Math.abs(r)<=1e-5&&(r=0),Math.abs(u)<=1e-5&&(u=0),{x:r,y:u}},y=function(n,t){var r=n.config||n,f=void 0,i=void 0,o=void 0,s=void 0,e=void 0;switch(t){case"column3D":case"bar2D":case"bar3D":case"paretoColumn":case"waterFall2D":case"errorBar2D":case"candlestick":case"heatMap":case"dragColumn":case"sparkColumn":case"marimekko":case"task":case"column":f={x:(i=r.props.element.attr).x+u.pluckNumber(i.xDepth,0),y:i.y-u.pluckNumber(i.yDepth,0),width:i.width,height:i.height};break;case"line":case"zoomLine":case"zoomScatter":case"scatter":case"spline":case"splinearea":case"multiaxisline":case"stepLine":case"errorScatter":case"errorLine":case"radar":case"selectScatter":case"dragLine":case"dragArea":case"kagi":case"sparkLine":case"area":o=n._xPos;s=n._yPos;f={x:o-(e=Number(r.anchorProps.radius)||0),y:s-e,width:2*e,height:2*e};break;case"bubble":f={x:(i=r.props.element.attr).cx-i.r,y:i.cy-i.r,width:2*i.r,height:2*i.r};break;case"dragNode":i=r.props.element.attr;"rect"===r.shapeType?f={x:i.x,y:i.y,width:i.width,height:i.height}:(o=r._xPos,s=r._yPos,f={x:o-(e=+r.radius||0),y:s-e,width:2*e,height:2*e});break;case"boxandwhisker2D":f={x:(i=r.props.upperBoxElem.attr).x,y:i.y,width:i.width,height:i.height};break;case"category":case"polarCategory":case"log":case"numeric":f={x:(i=r.props.label.attr).x-r.width/2,y:i.y-r.height/2,width:r.width,height:r.height};"end"===i["text-anchor"]||"left"===i["text-anchor"]?f.x=i.x-r.width:"start"!==i["text-anchor"]&&"right"!==i["text-anchor"]||(f.x=i.x);"top"===i["vertical-align"]?f.y=i.y:"bottom"===i["vertical-align"]&&(f.y=i.y-r.height);break;case"multiLevelPie":i=r.props.element.attr;f=v(i)}return f},l=function(n,t){var i=0;switch(n){case"startx":i=t.x;break;case"starty":i=t.y;break;case"x":case"middlex":case"centerx":i=t.x+t.width/2;break;case"y":case"middley":case"centery":i=t.y+t.height/2;break;case"endx":i=t.x+t.width;break;case"endy":i=t.y+t.height;break;default:i=0}return i},p=function(n,t){var i=void 0;switch(t.axis){case"x":case"toX":i=t.scaleX;break;case"y":case"toY":i=t.scaleY;break;default:i=t.scaleValue||1}return n*i};t.deg2Rad=a;t.polarToCartesian=r;t.getQuadrant=function(n,t,i){return n.x>=t?n.y<=i?0:3:n.y<=i?1:2};t.computePlotBounds=y;t.computeSliceBounds=function(n,t){var s,h,u,f,e,c=t.props.element.attr,o=c.ringpath,i=void 0;switch(s=o[0],h=o[1],u=o[2],f=o[4],e=o[5],n){case"slicex":case"slicemiddlex":case"slicecenterx":i=r(u,(f+e)/2).x+s;break;case"slicey":case"slicemiddley":case"slicecentery":i=r(u,(f+e)/2).y+h;break;case"slicestartx":i=r(u,e).x+s;break;case"slicestarty":i=r(u,e).y+h;break;case"sliceendx":i=r(u,f).x+s;break;case"sliceendy":i=r(u,f).y+h;break;default:i=l(n,v(c))}return i};t.compute3DSliceBounds=function(n,t){var h=t.props.element.attr,b=h.radiusYFactor,c=h.r,a=c*b,p=h.cx,w=h.cy,v=h.sAngle,y=h.eAngle,i=void 0;switch(n){case"slicex":case"slicemiddlex":case"slicecenterx":i=s(c,a,(v+y)/2).x+p;break;case"slicey":case"slicemiddley":case"slicecentery":i=s(c,a,(v+y)/2).y+w;break;case"slicestartx":i=s(c,a,v).x+p;break;case"slicestarty":i=s(c,a,v).y+w;break;case"sliceendx":i=s(c,a,y).x+p;break;case"sliceendy":i=s(c,a,y).y+w;break;default:i=l(n,function(n){var p,w,l,a,i=void 0,h=void 0,v=[],t=[],s=void 0,c=void 0,k=void 0,d=Infinity,g=Infinity,nt=-Infinity,tt=-Infinity,b,y;for(i=u.pluckNumber(n.r),h=u.pluckNumber(i*n.radiusYFactor),p=u.pluckNumber(n.sAngle)%f,w=u.pluckNumber(n.eAngle)%f,l=u.pluckNumber(n.cx),a=u.pluckNumber(n.cy),c=r(o(i,h,p),p,!0,{x:l,y:a}),k=r(o(i,h,w),w,!0,{x:l,y:a}),t.push(c),t.push(k),b=0;b<e.length;b++)e[b]>=p&&e[b]<=w&&v.push(b);for(s=0;s<v.length;s++)c=r(o(i,h,e[v[s]]),e[v[s]],!0,{x:l,y:a}),t.push(c);for(i=u.pluckNumber(n.innerR,0),h=u.pluckNumber(i*n.radiusYFactor,0),c=r(o(i,h,p),p,!0,{x:l,y:a}),k=r(o(i,h,w),w,!0,{x:l,y:a}),t.push(c),t.push(k),s=0;s<v.length;s++)c=r(o(i,h,e[v[s]]),e[v[s]],!0,{x:l,y:a}),t.push(c);for(y=0;y<t.length;y++)nt=Math.max(nt,t[y].x),d=Math.min(d,t[y].x),tt=Math.max(tt,t[y].y),g=Math.min(g,t[y].y);return{x:d,y:g,width:Math.abs(nt-d),height:Math.abs(g-tt)}}(h))}return i};
35t.cleanMacro=function(n){for(var t=void 0,r="",t=0,i=n.length;t<i;t++)" "!==n[t]&&(r+=n[t]);return r};t.arrangeItems=function(){for(var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],r=[],u=[],n=void 0,i=t.length,n=0;n<i;n++)"text"===t[n].type?u.push(t[n]):r.push(t[n]);return r.concat(u)};t.axisMacroParser=function(n,t){return function(i){var e,o,f,r=i.split(".").slice(1),h=isNaN(Number(r[0]))?0:Number(r[0]),u=isNaN(Number(r[0]))?r[1]:r[2],c=isNaN(Number(r[0]))?r[2]:r[3],s=void 0;return f=(s=n.getChildren(t)[h]).components,u=Number(u),f.labelIndexArr&&(u=f.labelIndexArr[u]),e=f.labels[u].config,o=y(e,s.getName()),l(c,o)}};t.xyCalculator=l;t.UNDEF=w;t.UNDERSCORE="_";t.DEFAULT_MACRO_PREFIX="$";t.DEFAULT_MACRO_SEPARATOR=".";t.pluckBoolean=function(){for(var u,i=void 0,n=void 0,f=arguments.length,r=Array(f),t=0;t<f;t++)r[t]=arguments[t];for(n=0,u=r.length;n<u;n++)if(!0===(i=r[n])||!1===i)return i;return!1};t.trim=function(n){return n.replace(/^\s+|\s+$/g,"")};t.isMacro=function(n){return~n.indexOf("$")};t.solveEquation=function(n){for(var r=+n[0],t=1,f=n.length,u=void 0,i=void 0;t<f;++t)if(i=n[t],t%2)u=i;else switch(u){case"+":r+=+i;break;case"-":r-=+i}return r};t.parseEquation=function(n,t){for(var s=arguments.length>2&&arguments[2]!==undefined&&arguments[2],c=arguments.length>3&&arguments[3]!==undefined?arguments[3]:"$",f=n.split(/([+])/),e=void 0,u=[],i=void 0,r=void 0,o=void 0,h=f.length,i=0;i<h;i++)if("+"!==f[i]){for(r=0,o=(e=f[i].split(/([-])/)).length;r<o;r++)"-"!==e[r]&&(u.push(e[r]),r<o-1&&u.push("-"));i<h-1&&u.push("+")}return u.map(function(n){var i="",f="",r="",u=void 0,e=void 0,o=void 0;if(n.charAt(0)===c){if(r=(f=n.replace(new RegExp("[\\$ ]","g"),"")).split(".")[0],!isNaN(+f))return+f;for(i in t)if(r===i){if(e=new RegExp(i,"g"),"function"==typeof t[i])try{u=r.replace(e,t[i](f))}catch(h){u=r.replace(e,0)}else u=r.replace(e,t[i]||0);break}}else o=Number(n),isNaN(o)?"+"!==n&&"-"!==n&&(n=0):n=s?p(o,s).toString():o.toString(),u=n;return u})};t.getScaledVal=p;t.getEventData=function(n,t,i){var f=t.getElement(),r=i.getFromEnv("getMouseCoordinate")(i.getFromEnv("chart-container"),n,i),u=t.getLinkedParent();return{element:f,rawConfig:t.getAttribute(),pageX:r.pageX,pageY:r.pageY,chartX:r.chartX,chartY:r.chartY,annotationId:t.getId(),groupId:u&&u.getId(),annotationOptions:t.rawConfig,groupOptions:u&&u.rawConfig}}},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var e=i(138),u=i(125),r=i(196);f=function(n){function t(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i;return!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),"string"==typeof r&&i.setId(r),i.rawConfig=JSON.parse(JSON.stringify(r)),i.store={},i}return o(t,n),t.prototype.getType=function(){return this._getConfig("type")},t.prototype._setToStore=function(n,t){this.store[n]=t},t.prototype._getFromStore=function(n){return this.store[n]},t.prototype._setConfig=function(n,t){this.config[n]=t},t.prototype._getConfig=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return""===n?this.config:this.config[n]},t.prototype.getElement=function(){var n=this.config;return this.getGraphicalElement(n.id,n.animationLabel)},t.prototype.getBounds=function(){return this.getElement().getBBox()},t.prototype.data=function(n,t){if(n&&"string"==typeof n){if(t===undefined)return this._data&&this._data[n];this._data||(this._data={});this._data[n]=t}},t.prototype.parseAndSetAttribute=function(){var t=this.rawConfig,h=this.getFromEnv("snapPoints"),c=u.pluckNumber(t.autoscale,t.autoScale,1),o={x:u.pluck(t.x,t.xPos,0),y:u.pluck(t.y,t.yPos,0),toX:u.pluck(t.toX),toY:u.pluck(t.toY)},n=this.config.calculatedAttrs={},e=void 0,f=void 0,s=this.getScaleInfo();for(var i in o)o.hasOwnProperty(i)&&void 0!==(f=o[i])&&(f=f.toString(),s.axis=i,r.isMacro(f)?n[i]=r.solveEquation(r.parseEquation(r.cleanMacro(f.toLowerCase()),h,s)):(n[i]=r.solveEquation(r.parseEquation(r.cleanMacro(f.toLowerCase()),h)),c&&(n[i]=r.getScaledVal(n[i],s))));"group"!==this.config.elementType&&(e=this.getLinkedParent().config.calculatedAttrs,n.x=n.x+(e.x||0),n.y=n.y+(e.y||0),isNaN(Number(n.toX))?n.toX=n.x:n.toX+=e.x||
350,isNaN(Number(n.toY))||(n.toY+=e.y||0));this.updateAttr()},t.prototype.getAttribute=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return""===n?this.rawConfig:this.rawConfig[n]},t.prototype.show=function(){this.addGraphicalElement({el:this.config.elementType,attr:{visibility:u.hiddenStr},component:this,container:this.config.containerConfiguration,id:this.config.id,label:this.config.animationLabel})},t.prototype.hide=function(){this.addGraphicalElement({el:this.config.elementType,attr:{visibility:u.hiddenStr},component:this,container:this.config.containerConfiguration,id:this.config.id,label:this.config.animationLabel})},t.prototype.dispose=function(){var t,n=this._getFromStore("originalComponent");n.retrieveItem(this.config.id,!0)&&(t=n.getGraphicalElement(this.config.id))&&n.removeGraphicalElement(t)},t}(e.SmartRenderer);t["default"]=f},function(n,t,i){var r=i(199),u=i(202),f=r(function(n,t){return u(function(n,t,i){return i},n,t)});n.exports=f},function(n,t,i){var u=i(200),r=i(201);n.exports=function(n){return function t(i,f){switch(arguments.length){case 0:return t;case 1:return r(i)?t:u(function(t){return n(i,t)});default:return r(i)&&r(f)?t:r(i)?u(function(t){return n(t,f)}):r(f)?u(function(t){return n(i,t)}):n(i,f)}}}},function(n,t,i){var r=i(201);n.exports=function(n){return function t(i){return 0===arguments.length||r(i)?t:n.apply(this,arguments)}}},function(n){n.exports=function(n){return null!=n&&"object"==typeof n&&!0===n["@@functional/placeholder"]}},function(n,t,i){var u=i(203),r=i(204),f=i(205),e=u(function o(n,t,i){return f(function(t,i,u){return r(i)&&r(u)?o(n,i,u):n(t,i,u)},t,i)});n.exports=e},function(n,t,i){var f=i(200),u=i(199),r=i(201);n.exports=function(n){return function t(i,e,o){switch(arguments.length){case 0:return t;case 1:return r(i)?t:u(function(t,r){return n(i,t,r)});case 2:return r(i)&&r(e)?t:r(i)?u(function(t,i){return n(t,e,i)}):r(e)?u(function(t,r){return n(i,t,r)}):f(function(t){return n(i,e,t)});default:return r(i)&&r(e)&&r(o)?t:r(i)&&r(e)?u(function(t,i){return n(t,i,o)}):r(i)&&r(o)?u(function(t,i){return n(t,e,i)}):r(e)&&r(o)?u(function(t,r){return n(i,t,r)}):r(i)?f(function(t){return n(t,e,o)}):r(e)?f(function(t){return n(i,t,o)}):r(o)?f(function(t){return n(i,e,t)}):n(i,e,o)}}}},function(n){n.exports=function(n){return"[object Object]"===Object.prototype.toString.call(n)}},function(n,t,i){var u=i(203),r=i(206),f=u(function(n,t,i){var u,f={};for(u in t)r(u,t)&&(f[u]=r(u,i)?n(u,t[u],i[u]):t[u]);for(u in i)r(u,i)&&!r(u,f)&&(f[u]=i[u]);return f});n.exports=f},function(n){n.exports=function(n,t){return Object.prototype.hasOwnProperty.call(t,n)}},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function f(n){return n*(Math.PI/o)}var u,r,e,o,s;t.__esModule=!0;r=i(125);e=i(208);o=180;s=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.prototype.getName=function(){return"circle"},t.prototype.configureAttributes=function(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};n.prototype.configureAttributes.call(this,f);var i,t=this.rawConfig,u=this.getFromEnv("chart"),e=+u.getFromEnv("chartHeight"),o=+u.getFromEnv("chartWidth"),s=e||700,h=o||350,c=Math.max(s,h),l=Math.sqrt(c);this.config.radius=t.radius;this.config.xRadius=r.pluckNumber(parseFloat(t.radius),parseFloat(t.xRadius),l);this.config.yRadius=r.pluckNumber(parseFloat(t.yRadius),this.config.xRadius);this.config.startAngle=r.pluckNumber(parseFloat(t.startAngle),0);this.config.endAngle=r.pluckNumber(parseFloat(t.endAngle),360);this.config.innerRadius=r.pluckNumber(parseFloat(t.innerRadius),0);this.config.innerYRadius=r.pluckNumber(parseFloat(t.innerYRadius),this.config.innerRadius,0);this.config.elementType="arc"===this.config.type?"ringpath":0!==(i=this.config).startAngle||360!==i.endAngle||function(n){return n.innerRadius>0||n.innerYRadius>0}(this.config)?"ringpath":"ellipse"},t.prototype.updateAttr=function(){var n=this.config,i=n.calculatedAttrs,u=void 0,e=this.getFromEnv("chart"),o=+e.getFromEnv("chartHe
35ight"),s=+e.getFromEnv("chartWidth"),h=this.getScaledVal(n.xRadius),c=this.getScaledVal(n.yRadius),t=this.getScaledVal(n.innerRadius),l=this.getScaledVal(n.innerYRadius);switch(r.pluck(n.radius)||(n.radius=s<o?this.getScaledVal(s):this.getScaledVal(o),n.radius*=.3,t>n.radius&&(t+=n.radius,n.radius=t-n.radius,t-=n.radius),h=c=n.radius,l=t),n.elementType){case"ringpath":u={ringpath:[r.pluckNumber(i.x,this.getScaledVal(n.x,!0)),r.pluckNumber(i.y,this.getScaledVal(n.y,!1)),h,t,f(360-n.endAngle),f(360-n.startAngle),c,l]};break;default:u={cx:r.pluckNumber(i.x,this.getScaledVal(n.x,!0)),cy:r.pluckNumber(i.y,this.getScaledVal(n.y,!1))}}this._setConfig("attr",u)},t.prototype._getAnnotationAttrs=function(){var t=this.config,n=this._getConfig("attr")||{},u=t.x,e=t.y,i=this.getScaledVal(t.xRadius),r=this.getScaledVal(t.yRadius),s=this.getScaledVal(t.innerRadius),h=this.getScaledVal(t.innerYRadius),c=t.startAngle,l=t.endAngle,a=t.borderColor,v=t.borderThickness,y=t.dashArrayStr,p=t.color,o=void 0;switch(t.xRadius||(i=0),t.yRadius||(r=0),n.fill=p,n.stroke=a,n["stroke-width"]=v,n["stroke-dasharray"]=y,this.config.elementType){case"ringpath":o=[this.get
35ScaledVal(u,!0),this.getScaledVal(e,!1),i,s,f(360-l),f(360-c),r,h];n.ringpath=n.ringpath||o;break;default:n.rx=i;n.ry=r;n.cx="undefined"==typeof n.cx?this.getScaledVal(u,!0):n.cx;n.cy="undefined"==typeof n.cy?this.getScaledVal(e,!1):n.cy}return n},t}(((u=e)&&u.__esModule?u:{"default":u})["default"]);t["default"]=s},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,o;t.__esModule=!0;var s=e(i(198)),h=e(i(197)),r=i(125),u=i(196);f=function(n){if(void 0!==n)return 1};o=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return c(t,n),t.prototype.configureAttributes=function(n){var h,c,l,t=this,i=t.config,o=t.getFromEnv("chart"),e=t.getLinkedParent();t.groupConfig={};t.rawConfig={};null!==e&&(t.groupConfig.x=e._getConfig("x"),t.groupConfig.y=e._getConfig("y"),t.groupConfig.grpXShift=e._getConfig("grpXShift"),t.groupConfig.grpYShift=e._getConfig("grpYShift"),t.groupConfig.color=e._getConfig("color"),t.groupConfig.alpha=e._getConfig("alpha"),t.groupConfig.font=e._getConfig("font"),t.groupConfig.fontSize=e._getConfig("fontSize"),t.groupConfig.textAlign=e._getConfig("textAlign"),t.groupConfig.textVAlign=e._getConfig("textVAlign"),t.groupConfig.rotateText=e._getConfig("rotateText"),t.groupConfig.wrapText=e._getConfig("wrapText"),t.groupConfig.toolText=e._getConfig("toolText"),t.groupConfig.scaleX=e._getConfig("scaleX"),t.groupConfig.scaleY=e._getConfig("scaleY"),t.groupConfig.scaleImageX=e._getConfig("scaleImageX"),t.groupConfig.scaleImageY=e._getConfig("scaleImageY"),t.groupConfig.link=e._getConfig("link"));l=s["default"](t.rawConfig,n);t.rawConfig=l;i.type=t.rawConfig.type;i.color=t._getFillColor(t.rawConfig,this.groupConfig);i.link=r.pluck(t.rawConfig.link,t.groupConfig.link);i.borderThickness=r.pluckNumber(parseFloat(t.rawConfig.borderThickness),parseFloat(t.rawConfig.thickness),2);i.showBorder=r.pluckNumber(t.rawConfig.showBorder,parseFloat(t.rawConfig.borderThickness),parseFloat(t.rawConfig.thickness),f(t.rawConfig.borderColor),f(t.rawConfig.borderAlpha),0);i.borderColor=t._getBorderColor(t.rawConfig);i.dashed=r.pluckNumber(t.rawConfig.dashed,0);i.dashLen=r.pluckNumber(t.rawConfig.dashLen,5);i.dashGap=r.pluckNumber(parseFloat(t.rawConfig.dashGap),3);i.dashArrayStr=i.dashed?r.getDashStyle(i.dashLen,i.dashGap):"none";i.x=r.pluckNumber(t.rawConfig.x,t.rawConfig.xPos,0);i.y=r.pluckNumber(t.rawConfig.y,t.rawConfig.yPos,0);i.tox=r.pluckNumber(t.rawConfig.toX,i.x,0);i.toy=r.pluckNumber(t.rawConfig.toY,i.y,0);i.toy>=0&&i.y>=0&&i.toy<i.y&&(h=[i.toy,i.y],i.y=h[0],i.toy=h[1]);i.tox>=0&&i.x>=0&&i.tox<i.x&&(c=[i.tox,i.x],i.x=c[0],i.tox=c[1]);i.showShadow=r.pluckNumber(t.rawConfig.showShadow,e.config.showShadow,0);i.toolText=r.getFirstValue(t.rawConfig.toolText,this.groupConfig.toolText,"");i.isVisible=u.pluckBoolean(t.rawConfig.isVisible,!0);i.id=r.pluck(t.rawConfig.id,t.getId(t.config.elementType));i.containerConfiguration={id:t.getLinkedParent().config.id,label:"group",isParent:!0};t._clickHandler=t._clickHandler||function(n){t.config.link&&t.getFromEnv("linkClickFN").call({link:t.config.link},!0);t.rawConfig.onAnnotationClick instanceof Function?t.rawConfig.onAnnotationClick():e.rawConfig.onAnnotationClick instanceof Function?e.rawConfig.onAnnotationClick():o.fireChartInstanceEvent("annotationclick",u.getEventData(n,t,o),void 0,void 0,n)};t._rollOverHandler=t._rollOverHandler||function(n){t.rawConfig.onAnnotationRollover instanceof Function?t.rawConfig.onAnnotationRollover():e.rawConfig.onAnnotationRollover instanceof Function?e.rawConfig.onAnnotationRollover():o.fireChartInstanceEvent("annotationrollover",u.getEventData(n,t,o),void 0,void 0,n)};t._rollOutHandler=t._rollOutHandler||function(n){t.rawConfig.onAnnotationRollout instanceof Function?t.rawConfig.onAnnotationRollout():e.rawConfig.onAnnotationRollout instanceof Function?e.rawConfig.onAnnotationRollout():o.fireChartInstanceEvent("annotationrollout",u.getEventData(n,t,o),void 0,void 0,n)}},t.prototype._getBorderColor=function(n){var i="none",t={color:"",alpha:""};return"line"!==this.getType()&&(t.color=this.config.rawBorderColor=r.pluck(n.borderColor,n.fillColor&&n.fillColor.split(",")[0],n.color&&n.color.split(",")[0],"#000000"),0===this.config.showBorder?(t.alpha=1,this.config.borderThickness=2):t.alpha=this.config.rawBorderAlpha=r.pluckNumber(parseFloat(n.borderAlpha),parseFloat(n.alpha),100),i=r.toRaphaelColor(t)),i},t.prototype._getFillColor=function(n,t){var u=this.getType(),i={color:"",alpha:"",angle:"",ratio:"",radialGradient:"
35circle"===u||"arc"===u};return"line"===u||"image"===u?(i.color=n.color||t.color||"#FF0000",i.alpha=r.pluckNumber(parseFloat(n.alpha),t.alpha,100)):(i.color=n.fillColor||n.color||t.color||"#FF0000",i.alpha=r.pluck(n.fillAlpha,parseFloat(n.alpha),t.alpha,100),i.angle=360-r.pluckNumber(n.fillAngle,0),i.ratio=r.pluck(n.fillRatio),n.fillPattern&&(i.radialGradient="radial"===n.fillPattern.toLowerCase()||r.pluckNumber(n.fillPattern)),i.radialGradient&&(i.gradientUnits="objectBoundingBox",i.cx=.5,i.cy=.5,i.fx=.5,i.fy=.5)),this.config.rawColor=i.color,this.config.rawAlpha=i.alpha,this.config.rawAngle=i.angle,this.config.rawFillPattern=i.radialGradient?"radial":"linear",this.config.rawRatio=i.ratio,r.toRaphaelColor(i)},t.destroySelectionBox=function(){},t.prototype._applyAttr=function(n){var i,f=this.getLinkedParent(),e=this.rawConfig.animationLabel,o=f.config.animationLabel,t=this.config.elementType,s=this.config.link,u=Object.assign({},n);("image"!==t||this.config.url)&&((i=this.rawConfig.css||{}).cursor=s?r.POINTER:"default",u.visibility=this.config.isVisible?r.visibleStr:r.hiddenStr,this.addEventListener("fc-click",this._clickHandler),this.addEventListener("fc-mouseover",this._rollOverHandler),this.addEventListener("fc-mouseout",this._rollOutHandler),this.config.animationLabel=e||o||t,this.addGraphicalElement({el:t,attr:u,css:i,container:this.config.containerConfiguration,component:this._getFromStore("component")||this,label:this.config.animationLabel,id:this.config.id,tooltext:this.config.toolText,shadow:{opacity:0!==this.config.showShadow?1:0,useFilter:"path"===t?0:1}}))},t.prototype.getScaledVal=function(n,t){var i=this.getLinkedParent();return i?i.getScaledVal(n,t):n},t.prototype.getScaledFont=function(n){var t=this.getLinkedParent();return t?t.getScaledFont(n):n},t.prototype.getScaledImageVal=function(n,t){var i=this.getLinkedParent();return i?i.getScaledImageVal(n,t):n},t.prototype.getScaleInfo=function(){return this.getLinkedParent().config.scaleInfo},t.prototype.draw=function(){var n;this.parseAndSetAttribute();n=this._getAnnotationAttrs()||{};this._applyAttr(n)},t}(h["default"]);t["default"]=o},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function f(n){return n<="9"&&n>="0"||"-"===n||"."===n?0:n<="z"&&n>="a"||n<="Z"&&n>="A"?1:2}var e;t.__esModule=!0;var u,r=i(125),o=i(196),s=i(208);e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.prototype.getName=function(){return"path"},t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t;n.prototype.configureAttributes.call(this,i);t=this.rawConfig;this.config.pathStr=r.pluck(t.path);this.config.x=r.pluckNumber(t.x,0);this.config.y=r.pluckNumber(t.y,0);this.config.tox=r.pluckNumber(t.toX,this.config.x);this.config.toy=r.pluckNumber(t.toY,this.config.y);this.config.elementType="path"},t.prototype.getScaledPath=function(){for(var u=this.config.pathStr,t=[],h=void 0,e=void 0,i="",n=void 0,r=void 0,s=void 0,s=u&&u.length,n=0;n<s;n++){for(r=n,e="",h=f(u[n]);r<s&&f(u[r])===h;)e+=u[r],r++;""!==(e=o.trim(e))&&h<2&&t.push(e);n=r===n?r:r-1}for(s=t.length,n=0;n<s;)switch(i+=t[n],t[n].toLowerCase()){case"m":case"l":case"t":i+=this.getScaledVal(Number(t[n+1]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+2]),!1).toString();n+=3;break;case"s":case"q":i+=this.getScaledVal(Number(t[n+1]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+2]),!1).toString()+",";i+=this.getScaledVal(Number(t[n+3]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+4]),!1).toString();n+=5;break;case"h":i+=this.getScaledVal(Number(t[n+1]),!0).toString();n+=2;break;case"v":i+=this.getScaledVal(Number(t[n+1]),!1).toString();n+=2;break;case"c":i+=this.getScaledVal(Number(t[n+1]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+2]),!1).toString()+",";i+=this.getScaledVal(Number(t[n+3]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+4]),!1).toString()+",";i+=this.getScaledVal(Number(t[n+5]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+6]),!1).toString();n+=7;break;case"a":i+=this.getScaledVal(Number(t[n+1]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+2]),!1).toString()+",";i+=this.getScaledVal(Number(t[n+3]),!0).toString()+",";i+=t[n+4]+",";i+=t[n+5]+",";i+=this.getScaledVal(Number(t[n+6]),!0).toString()+",";i+=this.getScaledVal(Number(t[n+7]),!1).toString();n+=8;break;case"z":default:n++}return i.toString()},t.prototype.updateAttr=function(){var t,i,e,o,n=this.config,u=n.calculatedAttrs,f={};
35t=r.pluckNumber(u.x,this.getScaledVal(n.x,!0));i=r.pluckNumber(u.y,this.getScaledVal(n.y,!1));e=r.pluckNumber(u.toX,t,this.getScaledVal(n.tox,!0));o=r.pluckNumber(u.toY,i,this.getScaledVal(n.toy,!1));n.pathStr?(f.path=this.getScaledPath(),f.transform="T"+t+","+i):f.path="M"+t+","+i+"L"+e+","+o;this._setConfig("attr",f)},t.prototype._getAnnotationAttrs=function(){var i,r,u,f,e,t=this.config,n=this._getConfig("attr")||{},s=t.borderThickness,h=t.dashArrayStr,o=t.color;return n.stroke=o,this.rawConfig.color&&(n.fill=o),n["stroke-width"]=this.getScaledVal(s),n["stroke-dasharray"]=h,i=n.x||this.getScaledVal(t.x,!0),r=n.y||this.getScaledVal(t.y,!1),u=n.toX||this.getScaledVal(t.tox,!0),f=n.toY||this.getScaledVal(t.toy,!1),n.path?n:((e=this.getScaledPath())?(n.path=e,n.transform=n.transform||"T"+i+","+r):n.path=n.path||"M"+i+","+r+"L"+u+","+f,n)},t}(((u=s)&&u.__esModule?u:{"default":u})["default"]);t["default"]=e},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r,f,e;t.__esModule=!0;r=i(125);f=i(208);e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.getName=function(){return"rect"},t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t;n.prototype.configureAttributes.call(this,i);t=this.rawConfig;this.config.xRadius=r.pluckNumber(parseFloat(t.radius),0);this.config.elementType="rect"},t.prototype.updateAttr=function(){var o,s,u=this.config,n=void 0,t=void 0,i=void 0,f=void 0,e=u.calculatedAttrs;n=r.pluckNumber(e.x,this.getScaledVal(u.x,!0));t=r.pluckNumber(e.y,this.getScaledVal(u.y,!1));i=r.pluckNumber(e.toX,this.getScaledVal(u.tox,!0));(f=r.pluckNumber(e.toY,this.getScaledVal(u.toy,!1)))>=0&&t>=0&&f<t&&(t=(o=[f,t])[0],f=o[1]);i>=0&&n>=0&&i<n&&(n=(s=[i,n])[0],i=s[1]);this._setConfig("attr",{x:n,y:t,width:Math.abs(i-n),height:Math.abs(f-t)})},t.prototype._getAnnotationAttrs=function(){var t=this.config,n=this._getConfig("attr")||{},i=this.getScaledVal(t.x),r=this.getScaledVal(t.y),u=t.xRadius,f=this.getScaledVal(t.tox),e=this.getScaledVal(t.toy),o=t.borderColor,s=t.borderThickness,h=t.dashArrayStr,c=t.color;return n.x="undefined"==typeof n.x?i:n.x,n.y="undefined"==typeof n.y?r:n.y,n.width="undefined"==typeof n.width?Math.abs(f-i):n.width,n.height="undefined"==typeof n.height?Math.abs(e-r):n.height,n.r=this.getScaledVal(u),n.fill=c,n.stroke=o,n["stroke-width"]=s,n["stroke-dasharray"]=h,n},t}(((u=f)&&u.__esModule?u:{"default":u})["default"]);t["default"]=e},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var u,e=i(208),o=(u=e)&&u.__esModule?u:{"default":u},r=i(125);f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.prototype.getName=function(){return"polygon"},t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t;n.prototype.configureAttributes.call(this,i);t=this.rawConfig;this.config.sides=r.pluckNumber(r.clampNumber(t.sides,3),5);this.config.startAngle=r.pluckNumber(parseFloat(t.startAngle),0);this.config.xRadius=r.pluckNumber(parseFloat(t.radius),0);this.config.elementType="polypath"},t.prototype.updateAttr=function(){var t,n=this.config,i=n.calculatedAttrs;
35t=[n.sides,r.pluckNumber(i.x,this.getScaledVal(n.x,!0)),r.pluckNumber(i.y,this.getScaledVal(n.y,!1)),this.getScaledVal(n.xRadius),n.startAngle,0];this._setConfig("attr",{polypath:t})},t.prototype._getAnnotationAttrs=function(){var n=this.config,t=this._getConfig("attr")||{},i=n.sides,r=n.x,u=n.y,f=n.color,e=n.startAngle,o=n.borderColor,s=n.borderThickness,h=n.dashArrayStr,c=n.xRadius;return t.fill=f,t.stroke=o,t["stroke-width"]=s,t["stroke-dasharray"]=h,t.polypath=t.polypath||[i,this.getScaledVal(r,!0),this.getScaledVal(u,!1),this.getScaledVal(c),e,0],t},t}(o["default"]);t["default"]=f},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var u,o=i(208),s=(u=o)&&u.__esModule?u:{"default":u},r=i(125);f=function(n){var u=n.height,f=n.width,e=n.vAlign,o=n.align,i=n.x,r=n.y,t={x:i,y:r};switch(o){case"center":t.x=i-f/2;break;case"right":t.x=i-f}switch(e){case"middle":t.y=r-u/2;break;case"bottom":t.y=r-u}return t};e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i._listener=function(n){var t=this.config,u=n.originalEvent.target,e=u.height,o=u.width,h=this._getConfig("align"),c=this._getConfig("vAlign"),i=e*this._getConfig("xScale"),r=o*this._getConfig("yScale"),s=f({x:t.derivedX,y:t.derivedY,height:i,width:r,align:h,vAlign:c});this.config.loadedWidth=o;this.config.loadedHeight=e;t=Object.assign(this.rawConfig,{x:s.x,y:s.y,width:r,height:i,autoScale:0});this.setData(t);this.rawConfig.onload&&this.rawConfig.onload.call(this,{width:r,height:i});n.detachHandler()},i}return h(t,n),t.prototype.getName=function(){return"image"},t.prototype.configureAttributes=function(){var u=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};n.prototype.configureAttributes.call(this,u);var i=this.rawConfig,t=this.config,f=this.groupConfig.scaleX||1,e=this.groupConfig.scaleY||1;t.url=r.getValidValue(i.url);t.xScale=t.rawXScale=r.pluckNumber(i.xScale,100)/100;t.yScale=t.rawYScale=r.pluckNumber(i.yScale,100)/100;t.width=r.pluckNumber(t.loadedWidth,i.width);t.height=r.pluckNumber(t.loadedHeight,i.height);t.align=r.pluck(i.align,"left");t.vAlign=r.pluck(i.vAlign,"top");t.xScale=t.xScale*f;t.yScale=t.yScale*e;t.elementType="image";"undefined"==typeof t.width&&"undefined"==typeof t.height&&this.addEventListener("load",this._listener)},t.prototype.updateAttr=function(){var t=this.getLinkedParent(),n=this.config,i=n.calculatedAttrs;this.config.xScale=t.config.scaleX*n.rawXScale;this.config.yScale=t.config.scaleY*n.rawYScale;this._setConfig("attr",{x:r.pluckNumber(i.x,this.getScaledVal(n.x,!0)),y:r.pluckNumber(i.y,this.getScaledVal(n.y,!1))})},t.prototype._getAnnotationAttrs=function(){var n=this.config,f=r.pluckNumber(this.rawConfig.autoscale,this.rawConfig.autoScale,1),t=n.attr,e=n.url,i=r.pluckNumber(n.attr.x,n.x),u=r.pluckNumber(n.attr.y,n.y);return f||(t={x:i,y:u}),n.derivedX=t.x="undefined"==typeof t.x?this.getScaledVal(i,!0):t.x,n.derivedY=t.y="undefined"==typeof t.y?this.getScaledVal(u,!1):t.y,t.src=e,t.opacity=r.pluckNumber(n.rawAlpha,100)/100,"undefined"!=typeof n.width&&(t.width=n.width*n.xScale),"undefined"!=typeof n.height&&(t.height=n.height*n.yScale),t},t}(s["default"]);t["default"]=e},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}
35t.__esModule=!0;var u,o=i(208),s=(u=o)&&u.__esModule?u:{"default":u},r=i(125);var f={left:"start",right:"end",center:"middle"},e={top:"bottom",middle:"middle",bottom:"top"},c={0:"0",1:"270",right:"90",cw:"90",left:"270",ccw:"270"},l=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.prototype.getName=function(){return"text"},t.prototype.configureAttributes=function(){var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},u,t,i;n.prototype.configureAttributes.call(this,o);t=this.rawConfig;i=this.groupConfig;this.config.text=r.parseUnsafeString(r.pluck(t.text,t.label,""));this.config.font=r.pluck(t.font,i.font,"Verdana, sans");this.config.fontSize=r.pluckFontSize(t.fontSize,i.fontSize,10);this.config.align=r.pluck(f[t.align&&t.align.toLowerCase()],f[i.textAlign&&i.textAlign.toLowerCase()],"middle");this.config.vAlign=r.pluck(e[t.vAlign&&t.vAlign.toLowerCase()],e[i.textVAlign&&i.textVAlign.toLowerCase()],"middle");this.config.radius=r.pluckNumber(parseFloat(t.radius),0);this.config.fontWeight=r.pluckNumber(t.bold,0)?"bold":"normal";this.config.fontStyle=r.pluckNumber(t.italic,0)?"italic":"normal";this.config.bgColor=(u=t.bgColor,(/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(u)?u:/(^[0-9A-F]{6}$)|(^[0-9A-F]{3}$)/i.test(u))?t.bgColor:"none");this.config.borderThickness=r.pluckNumber(parseFloat(this.rawConfig.borderThickness),parseFloat(this.rawConfig.thickness),1);this.config.rotateText=r.pluck(t.rotateText,i.rotateText,"0");this.config.rotateAngle=c[this.config.rotateText&&this.config.rotateText.toLowerCase()];this.config.wrap=r.pluckNumber(t.wrap,i.wrapText,t.wrapHeight,t.wrapWidth,1);this.config.wrap&&(this.config.wrapWidth=r.pluckNumber(t.wrapWidth),this.config.wrapHeight=r.pluckNumber(t.wrapHeight));this.config.leftMargin=r.pluckNumber(t.leftMargin,0);this.config.elementType="text"},t.prototype.getText=function(){var n=this.config,t=this.getFromEnv("smartLabel"),e=n.wrap,i=this.getLinkedParent(),u=i&&i._getConfig("scaleText"),o=u?this.getScaledVal(n.wrapWidth,!0):n.wrapWidth,s=u?this.getScaledVal(n.wrapHeight,!1):n.wrapHeight,f={fontStyle:n.fontStyle,fontFamily:n.font,fontWeight:n.fontWeight,fontSize:n.fontSize+"px","text-anchor":n.align,"vertical-align":n.vAlign};return r.setLineHeight(f),t&&t.setStyle(f),t&&e?t.getSmartText(n.text,o,s,0).text:n.text},t.prototype._getFillColor=function(n,t){var u=this.getType(),i={color:"",alpha:"",angle:"",ratio:"",radialGradient:"circle"===u||"arc"===u};return i.color=n.fontColor||n.fillColor||n.color||t.color||"#FF0000",i.alpha=r.pluck(n.fillAlpha,parseFloat(n.alpha),t.alpha,100),i.angle=360-r.pluckNumber(n.fillAngle,0),i.ratio=r.pluck(n.fillRatio),n.fillPattern&&(i.radialGradient="radial"===n.fillPattern||r.pluckNumber(n.fillPattern)),i.radialGradient&&(i.gradientUnits="objectBoundingBox",i.cx=.5,i.cy=.5,i.fx=.5,i.fy=.5),this.config.rawColor=i.color,this.config.rawAlpha=i.alpha,this.config.rawAngle=i.angle,this.config.rawFillPattern=i.radialGradient?"radial":"linear",this.config.rawRatio=i.ratio,r.toRaphaelColor(i)},t.prototype.updateAttr=function(){var n=this.config,t=n.calculatedAttrs,i=r.pluckNumber(t.x,this.getScaledVal(n.x,!0)),u=r.pluckNumber(t.y,this.getScaledVal(n.y,!0)),f=void 0;"0"!==n.rotateText&&(f=r.getSuggestiveRotation(parseFloat(n.rotateAngle),i,u));this._setConfig("attr",{x:i,y:u,transform:f})},t.prototype._getAnnotationAttrs=function(){var i,u,t=this.config,n=this._getConfig("attr")||{},o=this.getText(),f=this.getScaledVal(t.x,!0),e=this.getScaledVal(t.y,!1);return n.x=("undefined"==typeof n.x?f:n.x)+t.leftMargin/2,n.y="undefined"==typeof n.y?e:n.y,n.text=o,n.fill=t.color,i=this.rawConfig.borderColor,u=this.rawConfig.borderAlpha,n["text-bound"]=i&&"none"!==i&&0!==u?[r.toRaphaelColor(t.bgColor),t.borderColor,t.borderThickness,2,t.radius,t.dashArrayStr]:[],n["font-style"]=t.fontStyle,n["font-weight"]=t.fontWeight,
35n["font-family"]=t.font,n["font-size"]=this.getScaledFont(t.fontSize),n["text-anchor"]=t.align,n["vertical-align"]=t.vAlign,"0"!==t.rotateText&&(n.transform=n.transform||r.getSuggestiveRotation(parseFloat(t.rotateAngle),f,e)),n},t}(s["default"]);t["default"]=l},function(n,t,i){var r=i(199)(function(n,t){var r={};for(var i in t)n(t[i],i,t)&&(r[i]=t[i]);return r});n.exports=r},function(n,t){"use strict";t.__esModule=!0;var i=function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"initial"}]};t["default"]={"initial.extension.annotation":function(){return{"polypath.appearing":i,"text.appearing":i,"image.appearing":i,"ellipse.appearing":i,"ringpath.appearing":i,"path.appearing":i,"rect.appearing":i,"*":null}}}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){var u=Math,f=u.cos,e=u.sin,t=u.abs,c=u.pow,h=u.PI,i=2*h,o="M",r="A",s=c(2,-24);n.define&&n.define([{name:"ringpath",ringpath:function(){return this.path(void 0,n._lastArgIfGroup(arguments))},ca:function(n,u,c,l,a,v,y,p){var b,k,tt,it,rt,w,ut,ct,ft,et,d,ot,st,g,ht=v%i-a%i,nt=v-a;return isNaN(y)&&(y=c),isNaN(p)&&(p=l),this._.ringangle=.5*(a+v),t(nt)<s?(b=f(a),k=e(a),w=[o,n+c*b,u+y*k,"L",n+l*b,u+p*k,"Z"]):t(nt)>s&&+(t(nt)%i<s||i-t(nt)%i<s)?(w=[o,n-c,u,r,c,y,0,0,0,n+c,u,r,c,y,0,0,0,n-c,u],0===l&&0===p||(w=w.concat([o,n-l,u,r,l,p,0,0,1,n+l,u,r,l,p,0,0,1,n-l,u])),w.push("Z")):(b=f(a),k=e(a),tt=f(v),it=e(v),(ht%=i)<0&&(ht+=i),rt=ht<h?0:1,d=u+y*k,ot=u+y*it,ft=n+l*tt,st=u+p*it,t((ut=n+c*b)-(ct=n+c*tt))<.01&&t(d-ot)<.01&&(ut=n+c*f(a+.0001745329),d=u+y*e(a+.0001745329)),w=[o,ut,d,r,c,y,0,rt,1,ct,ot,"L",ft,st],0===l&&0===p||(g=u+p*k,t(ft-(et=n+l*b))<.01&&t(st-g)<.01&&(et=n+l*f(a+.0001745329),g=u+p*e(a+.0001745329)),w.push(r,l,p,0,rt,0,et,g)),w.push("Z")),{path:w}}}])}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){n.define&&n.define([{name:"arcpath",arcpath:function(){return this.path(void 0,n._lastArgIfGroup(arguments))},ca:function(n,t,i,r){var u=r,e=u-90,f=Math.PI*(e/180),o=n+i*Math.cos(f),s=t+i*Math.sin(f);return{path:["M",n,t-i,"A",i,i,0,u>180?1:0,1,o,s]}}}])}},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(219),e=(r=f)&&r.__esModule?r:{"default":r},o=i(125),u=i(222);t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){var t=n.sender;u.isValidDataset(t)&&t.registerFactory("regression",function(n){var t=n.getFromEnv("chart").getFromEnv("dataSource").chart,i=n.config.JSONData;o.componentFactory(n,e["default"],"regression",Number(u.hasRegressionLine(t,i)),[n])})})},name:"Regression",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e;t.__esModule=!0;var o=i(138),s=u(i(220)),h=u(i(221)),r=i(125),f=i(222),c=i(132),l=u(i(223));c.addDep({name:"regressionLineAnimation",type:"animationRule",extension:l["default"]});e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i._config={regressionPoints:[]},i.regressionLine=[],i}return a(t,n),t.prototype.getType=function(){return"extension"},t.prototype.getName=function(){return"regression"},t.prototype.configureAttributes=function(n){var u=this.getFromEnv("dataSource").chart,e=n.config,i=e.JSONData,t=this._config;t.regressionPoints.splice(0,t.regressionPoints.length);t.showYOnX=r.pluckNumber(i.showyonx,u.showyonx,1);t.regressionLineColor=r.toRaphaelColor(r.pluck(i.regressionlinecolor,u.regressionlinecolor,e.anchorbordercolor,e.lineColor,e.anchorBgColor,"fff000"));t.polynomialRegressionLineColor=r.toRaphaelColor(r.pluck(i.polynomialregressionlinecolor,u.polynomialregressionlinecolor,t.regressionLineColor));t.regressionLineThickness=r.pluckNumber(i.regressionlinethickness,u.regressionlinethickness,i.anchorborderthickness,1);t.polynomialRegressionLineThickness=r.pluckNumber(i.polynomialregressionlinethickness,u.polynomialregressionlinethickness,t.regressionLineThickness);t.regressionLineAlpha=r.pluckNumber(i.regressionlinealpha,u.regressionlinealpha,100);t.polynomialRegressionLineAlpha=r.pluckNumber(i.polynomialregressionlinealpha,u.polynomialregressionlinealpha,t.regressionLineAlpha);f.createLinear(u,i)&&t.regressionPoints.push(s["default"](i.data,t.showYOnX));f.createPolynomial(u,i)&&t.regressionPoints.push(h["default"](i.data,t.showYOnX))},t.prototype.draw=function(){var k,d,t=this._config,f=this.getFromEnv("xAxis"),e=this.getFromEnv("yAxis"),g=this.getFromEnv("chart"),c=g.getChildren("canvas")[0].config,rt=this.getLinkedParent().getState("visible"),l=this.getContainer("regressionlinecontainer"),ut=g.getChildContainer("abovePlotGroup"),w=this.getFromEnv("animationManager"),b=t.regressionPoints,a=[],n=[],v=void 0,y=this.getGraphicalElement("regressionLine
35Linear"),p=this.getGraphicalElement("regressionLinePolynomial"),o=void 0,nt=void 0,tt=void 0,u=void 0,it=function(){this.hide()},s,i,h;for(rt||(u="disappearing"),l=this.addContainer("regressionlinecontainer",w.setAnimation({el:l||"group",attr:{name:"regressionlinecontainer","clip-rect":[c.canvasLeft,c.canvasTop,c.canvasWidth,c.canvasHeight]},container:ut,component:this,label:"group"})),s=0;s<b.length;s++){if(i="",a=b[s][0],v=(n=b[s][1]).length,0===a.length&&0===n.length)o=!0,i+="M0,0";else if(0!==a.length&&0===n.length)o=!1,i+="M0,0";else if(0===a.length)o=!0,i+="M"+f.getPixel(n[0].x)+","+e.getPixel(n[0].y),i+="L"+f.getPixel(n[v-1].x)+","+e.getPixel(n[v-1].y);else for(o=!1,i+="M"+f.getPixel(n[0].x)+","+e.getPixel(n[0].y),i+=" R"+f.getPixel(n[1].x)+","+e.getPixel(n[1].y),h=2;h<v;h++)i+=" "+f.getPixel(n[h].x)+","+e.getPixel(n[h].y);o?nt={opacity:Number(t.regressionLineAlpha)/100,stroke:t.regressionLineColor,"stroke-width":t.regressionLineThickness,path:i}:tt={opacity:Number(r.pluck(t.polynomialRegressionLineAlpha,t.regressionLineAlpha))/100,stroke:r.pluck(t.polynomialRegressionLineColor,t.regressionLineColor),"stroke-width":r.pluck(t.polynomialRegressionLineThickness,t.regressionLineThickness),path:i}}"disappearing"!==u&&(y&&y.show(),p&&p.show());k=w.setAnimation({el:y||"path",container:l,component:this,doNotRemove:!0,attr:!("disappearing"===u)&&nt,callback:"disappearing"===u&&it,label:"path"});y||this.addGraphicalElement("regressionLineLinear",k);d=w.setAnimation({el:p||"path",container:l,component:this,doNotRemove:!0,attr:!("disappearing"===u)&&tt,callback:"disappearing"===u&&it,label:"path"});p||this.addGraphicalElement("regressionLinePolynomial",d)},t}(o.ComponentInterface);t["default"]=e},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n,t){return Number(t)?function(n){var f,r;n.sort(function(n,t){return parseFloat(n.x)-parseFloat(t.x)});for(var t=[],s=[],u=0,e=0,p=0,h=0,i=n.length,c=void 0,l=void 0,a=[],v=void 0,y=void 0,o=0;o<n.length;o++)v=Number(n[o].x),y=Number(n[o].y),isNaN(v)||isNaN(y)||(t.push(v),s.push(y));for(i=t.length,f=0;f<i;f++)u+=t[f],e+=s[f];for(u/=i,e/=i,r=0;r<i;r++)p+=(t[r]-u)*(s[r]-e),h+=(t[r]-u)*(t[r]-u);return 0===h?[[],[]]:(l=e-(c=p/h)*u,a.push({x:t[0],y:c*t[0]+l}),a.push({x:t[i-1],y:c*t[i-1]+l}),[[],a])}(n):function(n){var f,r;n.sort(function(n,t){return parseFloat(n.y)-parseFloat(t.y)});for(var e=[],t=[],o=0,u=0,p=0,h=0,i=n.length,c=void 0,l=void 0,a=[],v=void 0,y=void 0,s=0;s<n.length;s++)v=Number(n[s].x),y=Number(n[s].y),isNaN(v)||isNaN(y)||(e.push(v),t.push(y));for(i=e.length,f=0;f<i;f++)o+=e[f],u+=t[f];for(o/=i,u/=i,r=0;r<i;r++)p+=(e[r]-o)*(t[r]-u),h+=(t[r]-u)*(t[r]-u);return 0===h?[[],[]]:(l=o-(c=p/h)*u,(a=[]).push({x:c*t[0]+l,y:t[0]}),a.push({x:c*t[i-1]+l,y:t[i-1]}),[[],a])}(n)}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n,t){return Number(t)?function(n){var i,e;n.sort(function(n,t){return parseFloat(n.x)-parseFloat(t.x)});for(var t=[],s=[],h=0,b=0,r=n.length,o=0,f=0,k=0,d=0,g=0,c=void 0,v=void 0,u=void 0,y=void 0,l=void 0,nt=void 0,tt=void 0,it=void 0,p=void 0,w=void 0,rt=[],a=0;a<n.length;a++)p=Number(n[a].x),w=Number(n[a].y),isNaN(p)||isNaN(w)||(t.push(p),s.push(w));for(r=t.length,i=0;i<r;i++)h+=s[i],b+=t[i]*s[i],g+=t[i]*t[i]*s[i],o+=t[i],f+=t[i]*t[i],d+=t[i]*t[i]*t[i],k+=t[i]*t[i]*t[i]*t[i];if(v=b-o*h/r,y=g-f*h/r,(c=f-o*o/r)*(l=k-f*f/r)-(u=d-f*o/r)*u==0||0===r)return[n,[]];for(it=h/r-(tt=(v*l-y*u)/(c*l-u*u))*(o/r)-(nt=(y*c-v*u)/(c*l-u*u))*(f/r),e=0;e<r;e++)rt.push({x:t[e],y:nt*t[e]*t[e]+tt*t[e]+it});return[n,rt]}(n):function(n){var t,e;n.sort(function(n,t){return parseFloat(n.x)-parseFloat(t.x)});for(var s=[],i=[],h=0,b=0,r=n.length,o=0,f=0,k=0,d=0,g=0,c=void 0,v=void 0,u=void 0,y=void 0,l=void 0,nt=void 0,tt=void 0,it=void 0,p=void 0,w=void 0,rt=[],a=0;a<n.length;a++)p=Number(n[a].x),w=Number(n[a].y),isNaN(p)||isNaN(w)||(s.push(p),i.push(w));for(r=s.length,t=0;t<r;t++)h+=s[t],b+=i[t]*s[t],g+=i[t]*i[t]*s[t],o+=i[t],f+=i[t]*i[t],d+=i[t]*i[t]*i[t],k+=i[t]*i[t]*i[t]*i[t];if(v=b-o*h/r,y=g-f*h/r,(c=f-o*o/r)*(l=k-f*f/r)-(u=d-f*o/r)*u==0||0===r)return[n,[]];for(it=h/r-(tt=(v*l-y*u)/(c*l-u*u))*(o/r)-(nt=(y*c-v*u)/(c*l-u*u))*(f/r),e=0;e<r;e++)rt.push({x:nt*i[e]*i[e]+tt*i[e]+it,y:i[e]});return[n,rt]}(n)}},function(n,t){"use strict";t.__esModule=!0;var i=["scatter","bubble","errorScatter","selectScatter"];t.createPolynomial=function(n,t){var i=Number(n.showpolynomialregressionline)||0;return isNaN(t.showpolynomialregressionline)&&i||Number(t.showpolynomialregressionline)};t.createLinear=function(n,t){var i=Number(n.showregressionline)||0;return isNaN(t.showregressionline)&&i||Number(t.showregressionline)};t.isInArray=function(n,t){return n=n.toLowerCase(),t.indexOf(n)>-1};t.hasRegressionLine=function(n,t){return t.showregressionline||n.showregressionline||t.showpolynomialregressionline||n.showpolynomialregressionline};t.isValidDataset=function(n){return function(n){return"dataset"===n.getType()}(n)&&i.indexOf(n.getName())>=0}},function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.extension.regression":function(){var n=this;return{"path.appearing":null,"path.updating":null,"path.disappearing":null,"group.appearing":function(){var f,i=n.getFromEnv("chart").getChildren("canvas")[0],r=0,t=[],u=[];for(t.push(i.config.canvasLeft),t.push(i.config.canvasTop),t.push(0),t.push(i.config.canvasHeight),f=t.length;r<f;)u.push(t[r]),r++;return u[2]=i.config.canvasWidth,[{initialAttr:function(){return{"clip-rect":t}},finalAttr:function(){return{"clip-rect":u}},effect:"linear",slot:"plot"}]},"*":null}}}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
35}var f;t.__esModule=!0;var u=i(125),e=r(i(225)),o=r(i(226)),s=r(i(243)),h=r(i(244)),c=r(i(245)),l=r(i(246)),a=r(i(247)),v=r(i(248)),y=r(i(249)),p=r(i(250)),w=i(132),b=r(i(251));f={DragZoomIn:o["default"],ZoomResetButton:s["default"],ZoomOutButton:h["default"],DbTapZoom:l["default"],DragPin:a["default"],ZoomInButton:c["default"],DragPan:v["default"],PinchZoom:y["default"],SwipeGesture:p["default"]};t["default"]={extension:function(n){var t,i,r=w.getDep("redraphael","plugin");b["default"](r);n.addEventListener("instantiated",function(n){var r=n.sender,o=void 0;"canvas"===r.getType()&&r.registerFactory("inputManager",function(n){if(i=n.getFromEnv("chart"),t=i.constructor.includeInputOptions&&i.constructor.includeInputOptions()){u.componentFactory(n,e["default"],"inputManager",1,[{}]);o=n.getChildren("inputManager")[0];for(var r=0,s=t&&t.length;r<s;r++)u.componentFactory(o,f[t[r]],t[r],1,[{}])}})})},name:"inputAdapter",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function u(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var r=function(n,t,i,r){var u,f;(f=r[n])&&(f.some(function(n,r){if(n.callback===t&&n.component===i)return u=r,!0}),u!==undefined&&f.splice(u,1))},f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return u(t,n),t.prototype.configure=function(){var n=this.getFromEnv("chart"),t=n.getInputConfigurations;this.addToEnv("canvas",this.getLinkedParent());this.addToEnv("inputOptions",t&&t.call(n));this.config={controlObj:{},dependancyObj:{}}},t.prototype.addEventToChild=function(){var n=this,t=n.getChildren(),i=["zoomin","zoomout","dragzoomenabled","dragzoomdisabled","pinenabled","pindisabled","panenabled","pandisabled"],r=function(r){i.forEach(function(i){n.addExtEventListener(i,n.manageEvents.bind(n),t[r][0])})};for(var u in t)r(u)},t.prototype.manageEvents=function(n){var t=this.config.dependancyObj,i=n.type;t[i]&&t[i].forEach(function(t){t.component!==n.sender&&t.callback.call(t.component,n)})},t.prototype.fetchZoomableAxes=function(){if(!this.config.axesObArr){var n=this.config.axesObArr=[];this.getLinkedParent().getAxes().forEach(function(t){(t.config.zoomable||t.config.pannable)&&n.push({axis:t.axis,stack:[],isY:t.isY})});this.addToEnv("axesObArr",n)}},t.prototype.draw=function(){this.fetchZoomableAxes();this.addEventToChild()},t.prototype.getControl=function(n,t){var i,r=this.config.controlObj,u=this.getLinkedParent();t||n.forEach(function(n){(i=n.nativeInteraction)instanceof Array?i.forEach(function(t){(r[t]||(r[t]=[])).push({callback:n.callback,component:n.component});n.component.addExtEventListener(t,n.callback,u)}):((r[i]||(r[i]=[])).push({callback:n.callback,component:n.component}),n.component.addExtEventListener(i,n.callback,u))})},t.prototype.releaseControl=function(n){var t,i=this,u=i.getLinkedParent();n.forEach(function(n){(t=n.nativeInteraction)instanceof Array?t.forEach(function(t){n.component.removeExtEventListener(t,n.callback,u);r(t,n.callback,n.component,i.config.controlObj)}):(n.component.removeExtEventListener(t,n.callback,u),r(t,n.callback,n.component,i.config.controlObj))})},t.prototype._updateControlObj=function(n,t){var i,r;(r=this.config.controlObj[n])&&(r.some(function(n,r){if(n.callback===t)return i=r,!0}),i!==undefined&&r.splice(i,1))},t.prototype.registerDependancy=function(n){var t,i=this.config.dependancyObj;n.forEach(function(n){(t=n.derivedInteraction)instanceof Array?t.forEach(function(t){(i[t]||(i[t]=[])).push({callback:n.callback,component:n.component,derivedInteraction:t})}):(i[t]||(i[t]=[])).push(n)})},t.prototype.removeDependancy=function(n){var t,i=this;
35n.forEach(function(n){(t=n.derivedInteraction)instanceof Array?t.forEach(function(t){r(t,n.callback,n.component,i.config.dependancyObj)}):r(t,n.callback,n.component,i.config.dependancyObj)})},t.prototype.zoomOut=function(){var n=this.getChildren("ZoomOutButton");n&&n[0].zoomOut()},t.prototype.zoomTo=function(n,t){var i=this.getChildren("DragZoomIn");i&&i[0].zoomTo(n,t)},t.prototype.resetChart=function(){var n=this.getChildren("ZoomResetButton");n&&n[0].zoomOut()},t.prototype.setZoomMode=function(n){var t=this.getChildren("DragPin");t&&(n?t[0].disable():t[0].enable())},t}(i(138).ComponentInterface);t["default"]=f},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var r,o=i(227),s=(r=o)&&r.__esModule?r:{"default":r},u=i(125);var f=Math.min,e=Math.abs,c=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.controlArr=[{nativeInteraction:["fc-dragstart"],callback:i.dragStart.bind(i),component:i},{nativeInteraction:["fc-dragmove"],callback:i.onDrag.bind(i),component:i},{nativeInteraction:["fc-dragend"],callback:i.onDragEnd.bind(i),component:i}],u.isFirefox&&i.controlArr.push({nativeInteraction:["fc-mousedown"],callback:t.mousedown,component:i}),i._toggle=function(){i._checkStackLen()&&i.toggle()},r}return h(t,n),t.prototype.getName=function(){return"dragZoomIn"},t.prototype.configure=function(){n.prototype.configure.call(this);var i=this.getLinkedParent(),t=this.config;t.boxStyle=t.boxStyle||{"stroke-width":1,stroke:"red",fill:"#00FF00",opacity:.2,cursor:"ne-resize"};!this.config.skipGraphics&&this.setLinkedItem("button",this.createButton({icon:"zoomModeIcon",tooltext:this.config.tooltext,handlers:{click:this._toggle},state:"activated"}));this.enable("pressed");i.registerDependancy([{derivedInteraction:["pinenabled","pindisabled","panenabled","pandisabled"],callback:this.dependancyFn,component:this}])},t.mousedown=function(n){n&&n.preventDefault()},t.prototype.setControl=function(){var n=this.getLinkedParent(),t=this.getLinkedItem("button"),i=this.controlArr;n.releaseControl(i);this.isEnabled()&&n.getControl(i);t&&t.setCurrentState(this.isEnabled()?this.config.state:"disabled")},t.prototype.getCoordinates=function(n){var t=this.getFromEnv("chart"),i=u.getMouseCoordinate(t.getFromEnv("chart-container"),n,t);return{x:i.chartX,y:i.chartY}},t.prototype.inCanvasLimit=function(n){var t=this.getFromEnv("canvas").getGraphicalElement("canvasElement").attrs,i=t.x,r=t.y,u=n.x-t.x,f=n.y-t.y,e=t.width-u,o=t.height-f;return n.x>i&&n.y>r&&n.width<e&&n.height<o},t.prototype.drawBox=function(){var n,r=this.config,i=this.getGraphicalElement("box"),u=this.getFromEnv("paper"),t=this.getFromEnv("canvas").getGraphicalElement("canvasElement").attrs;i||(i=this.addGraphicalElement("box",u.rect())).attr(r.boxStyle);n=function(n,t,i,r){t.x<i.x&&(t.x=i.x);t.y<i.y&&(t.y=i.y);t.x>i.width+i.x&&(t.x=i.width+i.x);t.y>i.height+i.y&&(t.y=i.height+i.y);var s,u=t.x-n.x,o=n.y-t.y,h=f(n.x,t.x),c=f(n.y,t.y);return u>0&&o>0?s=r?"ne-resize":"e-resize":u<0&&o>0?s=r?"nw-resize":"w-resize":u<0&&o<0?s=r?"sw-resize":"w-resize":u>0&&o<0&&(s=r?"se-resize":"e-resize"),{x:h,y:c,width:u=e(u),height:o=e(o),cursor:s}}(this.dragBoxConfig.startPos,this.dragBoxConfig.currentPos,t,this.getFromEnv("chart").isXY);r.scaleX||(n.x=t.x,n.width=t.width);r.scaleY||(n.y=t.y,n.height=t.height);i.attr(n);i.show()},t.prototype.onDragEnd=function(n){var u,f,e,o,r=this.config,t=this.getFromEnv("canvas").getGraphicalElement("canvasElement").attrs,s=this.getGraphicalElement("box")||{},i=s.attrs;i&&r.dragmove&&(r.dragmove=!1,s.hide(),r.startPosX=u=(i.x-t.x)/t.width,r.endPosX=f=(i.x+i.width-t.x)/t.width,r.startPosY=e=(i.y-t.y)/t.height,r.endPosY=o=(i.y+i.height-t.y)/t.height,f-u<.01||o-e<.01||this.zoomTo(void 0,void 0,n))},t.prototype.zoomTo=function(n,t,i){var r,f,l,a,o,v,s,y,e=this,w=e.getFromEnv("axesObArr"),u=e.config,h=!1,p={},c=u.catZoomLimit-1;
35w.forEach(function(w){var d=w.axis,b=d.getVisibleConfig(),g=w.isY?b.maxValue:b.minValue,k=b.maxValue-b.minValue;w.isY?(a=r=void 0===n?g-k*u.endPosY:n,v=f=void 0===t?g-u.startPosY*k:t):(o=r=void 0===n?g+u.startPosX*k:n,s=f=void 0===t?g+k*u.endPosX:t,p=e.constructor._getZoomInfo(o,s,d));c&&!d.config.isVertical&&Math.round(f-r)<c&&(r=Math.round(r),f=r+c);(k>1||f-r>1)&&(u.dragendFn&&"function"==typeof u.dragendFn&&u.dragendFn(i,r,f),y=d.setVisibleConfig(r,f),h=h||y,w.stack.push(b),l=w.stack.length+1)});h&&e._raiseZoomEvents("zoomin","zoomedin",Object.assign(p,{level:l,startX:o,endX:s,startY:a,endY:v},{originalEvent:i&&i.originalEvent}))},t.prototype.onDrag=function(n){var t=this.config,i=this.getCoordinates(n.originalEvent);t.dragmove=!0;this.getFromEnv("animationManager").setAnimationState("drag");t.dragmoveFn&&"function"==typeof t.dragmoveFn&&t.dragmoveFn(n);this.dragBoxConfig.currentPos=i;this.drawBox()},t.prototype.dragStart=function(n){var t=this.config,i=this.getCoordinates(n.originalEvent);t.dragstartFn&&"function"==typeof t.dragstartFn&&t.dragstartFn(n);this.dragBoxConfig={startPos:i,currentPos:i}},t.prototype.enable=function(){!0!==this.config.enabled&&(this.config.enabled=!0,this.config.state="pressed",this.fireEvent("dragzoomenabled"),this.setControl())},t.prototype.disable=function(){!1!==this.config.enabled&&(this.config.enabled=!1,this.config.state="activated",this.fireEvent("dragzoomdisabled"),this.setControl())}
35,t.prototype.dependancyFn=function(n){"pinenabled"===n.type||"panenabled"===n.type?this.disable():"pindisabled"!==n.type&&"pandisabled"!==n.type||this.enable()},t}(s["default"]);t["default"]=c},function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,f;t.__esModule=!0;r=i(138);u=i(228);f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return e(t,n),t.prototype.configure=function(){var n=this.config={},t=this.getFromEnv("inputOptions")||{};Object.assign(n,t[this.getName()])},t.prototype._checkStackLen=function(){var n=this.getFromEnv("axesObArr"),t=0;return n&&n.forEach(function(n){t+=n.stack.length}),t},t._getZoomInfo=function(n,t,i){var r={startIndex:Math.ceil(n),endIndex:Math.floor(t)};return i.getLabel&&(r.startLabel=i.getLabel(r.startIndex).label,r.endLabel=i.getLabel(r.endIndex).label),r},t.prototype._raiseZoomEvents=function(n,t,i,r){var u=this.getFromEnv("chart");n&&this.fireEvent(n);t&&u.fireChartInstanceEvent(t,i,r);t&&u.fireChartInstanceEvent("zoomed",i,r)},t.prototype.getType=function(){return"canvasInput"},t.prototype.enable=function(n){!0!==this.config.enabled&&(this.config.enabled=!0,n&&this.fireEvent(n),this.setControl())},t.prototype.disable=function(n){!1!==this.config.enabled&&(this.config.enabled=!1,n&&this.fireEvent(n),this.setControl())},t.prototype.toggle=function(n){this.isEnabled()?this.disable(n):this.enable(n)},t.prototype.isEnabled=function(){return this.config.enabled},t.prototype.setControl=function(){var n=this.getLinkedItem("button");n&&n.setCurrentState(this.isEnabled()?this.config.state:"disabled")},t.prototype.createButton=function(n){var t,r=this.getLinkedParent().getFromEnv("chart"),f=r.getFromEnv("tool-config");for(var i in(t=r.getFromEnv("toolbar").attachChild(u.Tool,"tool",this.getId())).configure(Object.assign({},f,{name:n.icon,tooltext:n.tooltext})),n.handlers)n.handlers.hasOwnProperty(i)&&t.addEventListener("fc-"+i,n.handlers[i]);return t.setLinkedItem("input",this),t},t}(r.ComponentInterface);t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;t.ToolBar=t.Tool=t.MenuItemContainer=t.Label=t.Hamburger=t.Checkbox=t.Scroller=undefined;var u,r=i(229),f=i(242),e=(u=f)&&u.__esModule?u:{"default":u};t.Scroller=r.Scroller;t.Checkbox=r.Checkbox;t.Hamburger=r.Hamburger;t.Label=r.Label;t.MenuItemContainer=r.MenuItemContainer;t.Tool=r.Tool;t.ToolBar=e["default"]},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t.Tool=t.Separator=t.MenuItemContainer=t.Label=t.Hamburger=t.Checkbox=t.Scroller=undefined;var u=r(i(230)),f=r(i(236)),e=r(i(237)),o=r(i(240)),s=r(i(241)),h=r(i(238)),c=r(i(231));t.Scroller=u["default"];t.Checkbox=f["default"];t.Hamburger=e["default"];t.Label=o["default"];t.MenuItemContainer=h["default"];t.Separator=s["default"];t.Tool=c["default"]},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e;t.__esModule=!0;var r=i(125),s=f(i(231)),h=f(i(233)),c=f(i(234)),o=f(i(235)),u=i(232);e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return l(t,n),t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t,u;n.prototype.configureAttributes.call(this,i);t=this.config;u=this.getFromEnv("chart-attrib");t.conf={};t.color=u.scrollcolor&&r.convertColor(u.scrollcolor);t.padding=r.pluckNumber(u.scrollpadding,0);t.height=r.pluckNumber(u.scrollheight,12);t.width=r.pluckNumber(u.scrollwidth,12);t.displayFlat=r.pluckNumber(u.flatscrollbars,0);t.scrollBar3DLighting=r.pluckNumber(u.scrollbar3dlighting,1);t.startPercent=Math.min(1,Math.max(0,parseFloat(u.scrolltoend)||0));t.showButtons=!!r.pluckNumber(u.scrollshowbuttons,1);
35t.buttonPadding=r.pluckNumber(u.scrollbtnpadding,0);t.anchorFill=i.anchorFill;t.anchorStroke=i.anchorStroke;t.trackFill=i.trackFill;t.trackStroke=i.trackStroke;t.buttonFill=i.buttonFill;t.buttonStroke=i.buttonStroke;t.buttonPointerFill=i.buttonPointerFill;t.drawStripes=i.drawStripes;t.stripesStroke=i.stripesStroke;t.restrictScrollAnchor=r.pluckNumber(i.restrictScrollAnchor,1);this.setConfiguaration(i);t.evt={tooltext:void 0,click:r.stubFN,hover:[r.stubFN,r.stubFN]};this.createScrollItems()},t.prototype.createScrollItems=function(){var n=this.config,t=this.getChildren("scrollTrack")&&this.getChildren("scrollTrack")[0],i=this.getChildren("scrollAnchor")&&this.getChildren("scrollAnchor")[0],r=this.getChildren("scrollButtons")&&this.getChildren("scrollButtons")[0],u=this.getChildren("scrollButtons")&&this.getChildren("scrollButtons")[0];t||((t=this.attachChild(h["default"],"scrollTrack")).configure({trackFill:n.trackFill,trackStroke:n.trackStroke}),t.attachEventHandlers());i||((i=this.attachChild(c["default"],"scrollAnchor")).configure({anchorFill:n.anchorFill,anchorStroke:n.anchorStroke,drawStripes:n.drawStripes,stripesStroke:n.stripesStroke}),i.attachEventHandlers());!r&&n.showButtons&&((r=this.attachChild(o["default"],"scrollStartButton")).configure({type:"start",buttonFill:n.buttonFill,buttonStroke:n.buttonStroke,buttonPointerFill:n.buttonPointerFill}),r.attachEventHandlers());!u&&n.showButtons&&((u=this.attachChild(o["default"],"scrollEndButton")).configure({type:"end",buttonFill:n.buttonFill,buttonStroke:n.buttonStroke,buttonPointerFill:n.buttonPointerFill}),u.attachEventHandlers())},t.prototype.getName=function(){return"scroller"},t.prototype.getType=function(){return"scroller"},t.prototype.setConfiguaration=function(n){var t=this.config,i=this.getFromEnv("chart").getFromEnv("color-manager");t.color||(t.color="#"+i.getColor("altHGridColor"));u.mergeConf(n,t)},t.prototype.getLogicalSpace=function(){var t=this.config,r=t.conf,i={};return u.mergeConf(t,i),u.mergeConf(i,r),n.prototype.getLogicalSpace.call(this)},t.prototype.setDimension=function(t){n.prototype.setDimension.call(this,t);var i=this.getLinkedParent(),r=i.getPosition&&i.getPosition()||{},u=this.getChildren("scrollTrack")[0].config;u.transLateX=r.x||0;u.transLateY=r.y||0},t.prototype.draw=function(){var t=this.config,n={};t.conf.isHorizontal?delete n.width:delete n.height;u.mergeConf(n,t,!0);this.addGraphicalElement({el:"group",attr:{name:"scrollContainer"},component:this,container:{id:"scrollerContainer",label:"scroller",isParent:!0},label:"scrollerGroup",id:"scrollerGroup"})},t.prototype.attachEventHandlers=function(n){var t=this.config.evt;return n&&(n.scroll&&"function"==typeof n.scroll&&(t.scroll=n.scroll),n.scrollStart&&"function"==typeof n.scrollStart&&(t.scrollStart=n.scrollStart),n.scrollEnd&&"function"==typeof n.scrollEnd&&(t.scrollEnd=n.scrollEnd)),this},t}(s["default"]);e.registerSymbol=void 0;e._setConfiguaration=r.stubFN;t["default"]=e},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=i(138),r=i(125),e=i(232),o=i(196);u=function(n){function t(i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this,i));return r._listeners={},r}return s(t,n),t.prototype.getName=function(){return"button"},t.prototype.getType=function(){return"tool"},t.prototype.__setDefaultConfig=function(){var n=this.config;n.scale=1.15;n.width=r.touchEnabled?20:15;n.height=r.touchEnabled?20:15;n.radius=r.touchEnabled?4:2;n.spacing=2.5;n.marginTop=2.5;n.marginLeft=2.5;n.marginRight=2.5;n.marginBottom=2.5;n.fill="ffffff";n.fillAlpha="cccccc";n.symbolFill="ffffff";n.stroke="bbbbbb";n.symbolStroke="9a9a9a";n.strokeWidth=1;n.symbolStrokeWidth=1;n.symbolPadding=5;n.symbolHPadding=5;n.symbolVPadding=5;n.fillAlpha=100;n.stateStyle={};n.text="";n.marginTop=n.marginLeft=n.marginRight=n.marginBottom=2.5;n.labelFontSize=12},t.prototype.configureAttributes=function(){var i,u,f,t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.config;t=function(n){var t,i;for(t in n)n.hasOwnProperty(t)&&(i=n[t],i!==o.UNDEF&&(/tooltext/.test(t)||""!==i)||delete n[t]);return n}(t);Object.assign(n,t);n.symbolName=n.name;this.setState("visible",!0!==n.isHidden);n.marginTop=r.pluckNumber(t.marginTop,t.spacing,n.marginTop);n.marginLeft=r.pluckNumber(t.marginLeft,t.spacing,n.marginLeft);n.marginRight=r.pluckNumber(t.marginRight,t.spacing,n.marginRight);n.marginBottom=r.pluckNumber(t.marginBottom,t.spacing,n.marginBottom);n.fill=r.pluck(t.fill,n.fill);n.fillAlpha=r.pluckNumber(t.fillAlpha,n.fillAlpha);n.labelFill=r.pluck(t.labelFill,n.labelFill);n.symbolFill=r.pluck(t.symbolFill,n.symbolFill);n.hoverFill=r.pluck(t.hoverFill,n.hoverFill);n.stroke=r.pluck(t.stroke,n.stroke);n.symbolStroke=r.pluck(t.symbolStroke,n.symbolStroke);n.strokeWidth=r.pluckNumber(t.strokeWidth,n.strokeWidth);n.symbolStrokeWidth=r.pluckNumber(t.symbolStrokeWidth,n.symbolStrokeWidth);i=n.symbolPadding=r.pluckNumber(t.symbolPadding,n.symbolPadding);n.symbolHPadding=r.pluckNumber(t.symbolHPadding,i);n.symbolVPadding=r.pluckNumber(t.symbolVPadding,i);n.hAlign=r.pluck(t.hAlign,"center").toLowerCase();n.vAlign=r.pluck(t.vAlign,"middle").toLowerCase();n.containerInfo=t.containerInfo||{id:"group",label:"group",isParent:!0};u=t.x;f=t.y;void 0===u||void 0===f?n.spaceNotHardCoded=!0:(n.x=u,n.y=f,n.spaceNotHardCoded=!1)},t.prototype.setDimension=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=this.config;
35n.x!==undefined&&(t.x=n.x);n.y!==undefined&&(t.y=n.y);n.width!==undefined&&(t.width=t.width&&t.width>n.width?t.width:n.width);n.height!==undefined&&(t.height=t.height&&t.height>n.height?t.height:n.height)},t.prototype.getAlignment=function(){return{hAlign:this.config.hAlign,vAlign:this.config.vAlign}},t.prototype.getLogicalSpace=function(){var n=this.config,t=n.width,i=n.height,r=n.marginTop,u=n.marginLeft,f=n.marginRight,e=n.marginBottom,o=n.scale;return t*=o,i*=o,(this.config.skipGraphics||this.config.isHidden||this.getState("removed"))&&(t=i=e=u=f=r=0),{width:t,height:i,marginTop:r,marginLeft:u,marginRight:f,marginBottom:e}},t.prototype.setCurrentState=function(n){this.config.state=n;this.asyncDraw()},t.prototype.getCurrentState=function(){return this.config.state},t.prototype.draw=function(){var u,f,n=this.config,o=n,s=n.text,c=n.labelFontSize,l=n.labelFontFamily,i=this.getFromEnv("tool-config"),t=void 0,h=void 0;n.skipGraphics||(u={width:n.width*n.scale,height:n.height*n.scale,r:n.radius*n.scale,verticalPadding:n.symbolVPadding*n.scale,horizontalPadding:n.symbolHPadding},t=r.extend2({},n.stateStyle[n.state]||e.preConfig[n.state]||{}),"activated"!==n.state&&"disabled"!==n.state&&"pressed"!==n.state||(t.config.normal.fill=r.convertColor(r.pluck(i.fill,t.config.normal.fill)),t.config.normal["symbol-stroke"]=r.convertColor(r.pluck(i.symbolStroke,t.config.normal["symbol-stroke"])),t.config.normal.symbolFill=r.convertColor(r.pluck(i.symbolFill,t.config.normal.symbolFill)),t.config.normal.stroke=r.convertColor(r.pluck(i.stroke,t.config.normal.stroke)),t.config.normal.symbolStroke=r.convertColor(r.pluck(i.symbolStroke,t.config.normal.symbolStroke)),t.config.hover.fill=r.convertColor(r.pluck(i.hoverFill,t.config.hover.fill))),(h=r.extend2({button:[n.x,n.y,s,n.symbolName,u,c,l],"button-label":s,"button-padding":[n.symbolHPadding,n.symbolVPadding*n.scale],"button-repaint":[o.x,o.y,n.width*n.scale,n.height*n.scale,n.radius*n.scale],fill:r.convertColor(n.fill),labelFill:r.convertColor(n.labelFill),symbolFill:r.convertColor(n.symbolFill),hoverFill:n.hoverFill,stroke:r.convertColor(n.stroke),"symbol-stroke":r.convertColor(n.symbolStroke||n.stroke),"stroke-width":n.strokeWidth,"symbol-stroke-width":r.pluckNumber(n.symbolStrokeWidth,n.strokeWidth)},t)).fill=r.convertColor(r.pluck(n.fill,t.fill)),f=n.btnTextStyle,!n.isHidden&&this.addGraphicalElement({el:"button",attr:h,css:f,component:this,container:n.containerInfo,label:"button",id:"button",tooltext:n.tooltext}))},t.prototype.hide=function(){this.config.isHidden=!0;this.setState("visible",!1);this.asyncDraw()},t.prototype.show=function(){this.config.isHidden=!1;this.setState("visible",!0);this.asyncDraw()},t}(f.SmartRenderer);t["default"]=u},function(n,t,i){"use strict";t.__esModule=!0;t.bottomPath=t.mergeConf=t.RSymbolFns=t.defaultTextStyle=t.SymbolStore=t.preConfig=t.DEFAULT_TIMEOUT=t.CLICK=t.HOVER=t.getEventHandlersFor=undefined;var r,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},h=i(127),u=(r=h)&&r.__esModule?r:{"default":r},c=i(132),f=i(125),e=c.getDep("redraphael","plugin"),o={CB_NOT_CHECKED:function(n,t,i){return["M",n-i,t-i]},CB_CHECKED:function(n,t,i){var r=i/4;return["M",n-3*r,t,"L",n-r,t+i,n+i,t-i]}},l=(e.addSymbol("Internal_CB",o.CB_NOT_CHECKED),{register:function(){var n,t,i,r;if(1===arguments.length){if(null===(i=arguments[0])&&i===f.UNDEF||"object"!==(void 0===i?"undefined":s(i)))return;r=i}else{if(!(arguments.length>1))return;if(n=arguments[0],t=arguments[1],"string"!=typeof n||"function"!=typeof t)return;(r={})[n]=t}for(n in r)t=r[n],{}.hasOwnProperty.call(r,n)&&e.addSymbol(n,t)}});t.getEventHandlersFor=function(n,t){var i=function(){u["default"].listen(t,"mousemove",function(n){n.originalEvent.stopPropagation()})};switch(n){case"click":return function(n){u["default"].listen(t,"click",function(t){t.target&&t.target.parentNode&&n.call(t.target)});i()};case"hover":return function(n,r){u["default"].listen(t,"pointerhover",function(t){t.target&&t.target.parentNode&&("start"===t.state?n:r).call(t.target)});i()}}};t.HOVER="hover";t.CLICK="click";t.DEFAULT_TIMEOUT=300;t.preConfig={activated:{config:{hover:{fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","fill-symbol":"#ffffff","stroke-width":1,stroke:"#aaaaaa","symbol-stroke":"#aaaaaa",cursor:"pointer"},normal:{fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","fill-symbol":"#ffffff",stroke:"#c2c2c2","symbol-stroke":"#c2c2c2","stroke-width":1,cursor:"pointer"},disable:{fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","fill-symbol":"#ffffff","stroke-width":1,stroke:"#e3e3e3","symbol-stroke":"#e3e3e3","stroke-opacity":1,cursor:"pointer"},pressed:{fill:"#efefef",labelFill:"#efefef",symbolFill:"#efefef",hoverFill:"#efefef","fill-symbol":"#efefef","stroke-width":1,stroke:"#c2c2c2","symbol-stroke":"#c2c2c2",curs
35or:"pointer"}},"button-disabled":!1,fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff",stroke:"#c2c2c2","symbol-stroke":"#c2c2c2","stroke-opacity":1,cursor:"pointer"},disabled:{config:{hover:{fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","fill-symbol":"#ffffff","stroke-width":1,stroke:"#e3e3e3","symbol-stroke":"#e3e3e3",cursor:"default"},normal:{fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","fill-symbol":"#ffffff",stroke:"#e3e3e3","symbol-stroke":"#e3e3e3","stroke-width":1,cursor:"default"},disable:{fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","fill-symbol":"#ffffff","stroke-width":1,stroke:"#e3e3e3","symbol-stroke":"#e3e3e3","stroke-opacity":1,cursor:"default"},pressed:{fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","fill-symbol":"#ffffff","stroke-width":1,stroke:"#e3e3e3","symbol-stroke":"#e3e3e3",cursor:"default"}},fill:"#ffffff",labelFill:"#ffffff",symbolFill:"#ffffff",hoverFill:"#ffffff","button-disabled":!1,stroke:"#e3e3e3","symbol-stroke":"#e3e3e3","stroke-opacity":1,cursor:"default"},pressed:{config:{hover:{fill:"#dcdcdc",labelFill:"#dcdcdc",symbolFill:"#ffffff",hoverFill:"#dcdcdc","fill-symbol":"#ffffff","stroke-width":1,stroke:"#b7b7b7","symbol-stroke":"#b7b7b7",cursor:"pointer"},normal:{fill:"#dcdcdc",labelFill:"#dcdcdc",symbolFill:"#ffffff",hoverFill:"#dcdcdc","fill-symbol":"#ffffff","stroke-width":1,stroke:"#b7b7b7","symbol-stroke":"#b7b7b7",cursor:"pointer"},pressed:{fill:"#dcdcdc",labelFill:"#dcdcdc",symbolFill:"#ffffff",hoverFill:"#dcdcdc","fill-symbol":"#ffffff","stroke-width":1,stroke:"#b7b7b7","symbol-stroke":"#b7b7b7",cursor:"pointer"}},fill:"#dcdcdc",labelFill:"#dcdcdc",symbolFill:"#ffffff",hoverFill:"#dcdcdc","fill-symbol":"#ffffff","stroke-width":1,stroke:"#b7b7b7","symbol-stroke":"#b7b7b7",cursor:"pointer"}};t.SymbolStore=l;t.defaultTextStyle={fill:"#555555",labelFill:"#555555",symbolFill:"#555555",hoverFill:"#555555",fontFamily:"Verdana,sans",fontSize:"12px",fontStyle:"normal",fontWeight:"normal",lineHeight:"14.399999999999999px"};t.RSymbolFns=o;t.mergeConf=function(n,t,i){var r,u;for(r in n)if((u=n[r])!==f.UNDEF&&null!==u)if(i){if(t[r])continue;t[r]=u}else t[r]=u};t.bottomPath=function(n,t,i,r,u){var f=n,e=r/2,o=t+Math.round(u/4+1)+3;return["M",f-e,o,"L",f+e,o]}},function(n,t,i){"use strict";function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var r,o=i(231),s=(r=o)&&r.__esModule?r:{"default":r},h=i(132),u=i(136),c=i(125);var f=h.getDep("redraphael","plugin"),e=Math.max,a=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i._evtHandlers={},i}return l(t,n),t.prototype.configureAttributes=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i=this.config,n=this.getLinkedParent().config;i.fillColor=t.trackFill||n.displayFlat&&n.color||[90*n.isHorizontal,f.tintshade(n.color,.15).rgba,n.color].join("-");i.strokeColor=t.trackStroke||f.tintshade(n.color,-.75).rgba},t.prototype.attachEventHandlers=function(){var t=this,o=t.config,s=t.getLinkedParent(),n=s.config,v=n.isHorizontal,h=void 0,c=void 0,l=void 0,i=void 0,f=void 0,e=void 0,r=void 0,a=function(){n.scrollPosition>1?(n.scrollPosition=1,i=!1):(n.scrollPosition<0||isNaN(n.scrollPosition))&&(n.scrollPosition=0,i=!1);e.asyncDraw();"function"==typeof n.evt.scroll&&n.evt.scroll(n.scrollPosition)},y=function p(){n.scrollPosition+=.01;f>=n.scrollPosition&&i&&(a(),t.addJob("dragScrollAnchorRight",p,u.priorityList.draw))},w=function b(){n.scrollPosition-=.01;f<=n.scrollPosition&&i&&(a(),t.addJob("dragScrollAnchorLeft",b,u.priorityList.draw))};t.addEventListener("fc-mousedown",t._evtHandlers.mousedown||(t._evtHandlers.mousedown=function(a){e=s.getChildren("scrollAnchor")[0];r=e.config;h=a.originalEvent.layerX;c=a.originalEvent.layerY;i=!0;l=v?h-(r._nodeDimensions.x+o.transLateX+r._nodeDimensions.width/2):c-(r._nodeDimensions.y+o.transLateY+r._nodeDimensions.height/2);(f=l/r.trackLength+n.scrollPosition)>=n.scrollPosition?t.addJob("dragScrollAnchorRight",y,u.priorityList.draw):t.addJob("dragScrollAnchorLeft",w,u.priorityList.draw)}));t.addEventListener("fc-mouseup",t._evtHandlers.mouseup||(t._evtHandlers.mouseup=function(){i=!1}))},t.prototype.draw=function(){var i=this.config,n=this.getLinkedParent().config,t=c.crispBound(n.x+.5,n.y+n.padding+.5,n.width-1,n.height-1,n.strokeWidth);this.addGraphicalElement({el:"rect",attr:{x:t.x,y:t.y,width:e(t.width,0),height:e(t.height,0),fill:i.fillColor,stroke:i.strokeColor,r:n.roundEdges?2:0},container:{id:"scrollerGroup",label:"scrollerGroup",isParent:!0},component:this,label:"scrollerTrack",id:"scrollerTrack"})},t}(s["default"]);t["default"]=a},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,e;t.__esModule=!0;
35var u,o=i(231),s=(u=o)&&u.__esModule?u:{"default":u},f=i(125);r=i(132).getDep("redraphael","plugin");e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i._evtHandlers={},i}return h(t,n),t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=this.config,n=this.getLinkedParent().config;t.fillColor=i.anchorFill||n.displayFlat&&r.tintshade(n.color,-.6).rgba||[270*n.isHorizontal,r.tintshade(n.color,.3).rgba+":40",r.tintshade(n.color,-.7).rgba].join("-");t.strokeColor=i.anchorStroke||r.tintshade(n.color,-.6).rgba;t.drawStripes=f.pluckNumber(i.drawStripes,0);t.stripesStroke=i.stripesStroke||"5F5F5F";t._nodeDimensions={}},t.prototype.attachEventHandlers=function(){var t=this,f=t.config,n=this.getLinkedParent().config,r=void 0,u=void 0,i=void 0,e=n.isHorizontal;t.addEventListener("fc-dragmove",t._evtHandlers.dragmove||(t._evtHandlers.dragmove=function(e){(i=r+e.originalEvent.data[u]/f.trackLength)>=1?i=1:(i<=0||isNaN(i))&&(i=0);n.scrollPosition=i;t.asyncDraw();"function"==typeof n.evt.scroll&&n.evt.scroll(n.scrollPosition)}));t.addEventListener("fc-dragstart",t._evtHandlers.dragstart||(t._evtHandlers.dragstart=function(){u=e?0:1;r=n.scrollPosition;"function"==typeof n.evt.scrollStart&&n.evt.scrollStart(n.scrollPosition)}));t.addEventListener("fc-dragend",t._evtHandlers.dragend||(t._evtHandlers.dragend=function(){"function"==typeof n.evt.scrollEnd&&n.evt.scrollEnd(n.scrollPosition)}))},t.prototype.draw=function(){var h,c,n=this.config,t=this.getLinkedParent().config,a=t.x+.5,v=t.y+t.padding+.5,e=t.width-1,o=t.height-1<1?1:t.height-1,l=t.restrictScrollAnchor?Math.max(t.scrollRatio,.01):t.scrollRatio,i=t.isHorizontal,r=f.pluckNumber(t.scrollPosition,t.startPercent,0),s=0,u=i?e*l:o*l;r>=1?r=1:(r<=0||isNaN(r))&&(r=0);t.showButtons&&(u-=2*(s=i?Math.min(o,.5*e):Math.min(e,.5*o))*l);n.trackLength=h=i?e-2*s-u:o-2*s-u;n.trackOffset=c=i?a+s+.5:v+s+.5;n._nodeDimensions={x:i?c+h*r:a,y:i?v:c+h*r,width:i?u-1<1?1:u-1:e<1?1:e,height:i?o<1?1:o:u-1<1?1:u-1};this.addGraphicalElement({el:"rect",attr:{x:n._nodeDimensions.x,y:n._nodeDimensions.y,width:n._nodeDimensions.width,height:n._nodeDimensions.height,fill:n.fillColor,stroke:n.strokeColor,r:t.roundEdges?2:0},container:{id:"scrollerGroup",label:"scrollerGroup",isParent:!0},component:this,label:"scrollerAnchor",id:"scrollerAnchor"});n.drawStripes&&n._nodeDimensions.width>=8&&this.addGraphicalElement({el:"path",attr:{path:["M",n._nodeDimensions.x+n._nodeDimensions.width/2-3,n._nodeDimensions.y+.2*n._nodeDimensions.height,"v",.6*n._nodeDimensions.height,"m",3,-.6*n._nodeDimensions.height,"v",.6*n._nodeDimensions.height,"m",3,-.6*n._nodeDimensions.height,"v",.6*n._nodeDimensions.height],stroke:n.stripesStroke,"stroke-linecap":"round","stroke-width":2},container:{id:"scrollerGroup",label:"scrollerGroup",isParent:!0},component:this,label:"scrollerAnchorStripe",id:"scrollerAnchorStripe"})},t}(s["default"]);t["default"]=e},function(n,t,i){"use strict";function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e,o;t.__esModule=!0;var u,s=i(231),h=(u=s)&&u.__esModule?u:{"default":u},c=i(132),r=i(125),f=i(136);e=c.getDep("redraphael","plugin");o=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i._evtHandlers={},i}return l(t,n),t.prototype.configureAttributes=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=this.config,i=this.getLinkedParent().config;t.type=n.type;t.buttonFill=n.buttonFill;t.buttonStroke=n.buttonStroke;t.arrowFillColor=n.buttonPointerFill||e.tintshade(i.color,-.4).rgba},t.prototype.attachEventHandlers=function(){var n=this,r=n.config,u=void 0,i=void 0,e=n.getLinkedParent(),t=e.config,s=e.getChildren("scrollAnchor")[0],o=function(){t.scrollPosition>=1?t.scrollPosition=1:(t.scrollPosition<=0||isNaN(t.scrollPosition))&&(t.scrollPosition=0);s.asyncDraw();"function"==typeof t.evt.scroll&&t.evt.scroll(t.scrollPosition)},h=function c(){i=!0;"start"===r.type?t.scrollPosition-=.01:t.scrollPosition+=.01;o();n.addJob("dragScrollAnchor",c,f.priorityList.draw)};n.addEventListener("fc-mousedown",n._evtHandlers.mousedown||(n._evtHandlers.mousedown=function(){u=setTimeout(function(){n.addJob("dragScrollAnchor",h,f.priorityList.draw)},300)}));n.addEventListener("fc-mouseup",n._evtHandlers.mouseup||(n._evtHandlers.mouseup=function(){clearTimeout(u);n.removeJob("dragScrollAnchor");i||("start"===r.type?t.scrollPosition-=.1:t.scrollPosition+=.1,o());i=!1}));n.addEventListener("fc-mouseout",function(){i&&n._evtHandlers.mouseup()})},t.prototype.draw=function(){var t=this.config,i=this.getLinkedParent().config,h={id:"scrollerGroup",label:"scrollerGroup",isParent:!0},u=i.isHorizontal,f=i.x+.5,e=i.y+i.padding+.5,o=i.width-1,s=i.height-1<1?1:i.height-1,n=u?Math.min(s,.5*o):Math.min(o,.5*s),c=u?r.polyPathToPath([3,f+.5*n,e+.5*s,.25*n,180]):r.polyPathToPath([3,f+.5*o,e+.5*n,.25*n,90]),l=u?r.polyPathToPath([3,f+o-.5*n,e+.5*n,.25*n,0]):r.polyPathToPath([3,f+.5*o,e+s-.5*n,.25*n,-90]);this.addGraphicalElement({el:"rect",attr:{x:"start"===t.type?f:u?f+o-n:f,y:"start"===t.type?e:u?e:e+s-n,width:(t.type,u?n:o),height:(t.type,u?s:n),fill:t.buttonFill||r.TRACKER_FILL,stroke:t.buttonStroke||"none"},container:h,component:this,label:"scroller"+t.type+"ButtonRect",id:"scroller"+t.type+"ButtonRect"});this.addGraphicalElement({el:"path",attr:{path:"start"===t.type?c:l,fill:t.arrowFillColor,stroke:"none"},container:h,component:this,label:"scroller"+t.type+"ButtonPath",id:"scroller"+t.type+"ButtonPath"})},t}(h["default"]);t["default"]=o},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;
35var u,e=i(231),o=(u=e)&&u.__esModule?u:{"default":u},s=i(125),r=i(232);f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t;n.prototype.configureAttributes.call(this,i);t=this.config;t.checked=!!i.isChecked;t.interPadding=3;t.symbolName="Internal_CB";t.text=s.pluck(i.text,"");t.textStyle=r.defaultTextStyle},t.prototype.check=function(){this.config.checked=!0;this.asyncDraw()},t.prototype.uncheck=function(){this.config.checked=!1;this.asyncDraw()},t.prototype.toggle=function(){this.config.checked?this.uncheck():this.check()},t.prototype.getContainer=function(){return this.getFromEnv("chart").getChildContainer("buttonGroup")},t.prototype.draw=function(){this.config.checked?r.SymbolStore.register("Internal_CB",r.RSymbolFns.CB_CHECKED):r.SymbolStore.register("Internal_CB",r.RSymbolFns.CB_NOT_CHECKED);n.prototype.draw.call(this)},t}(o["default"]);t["default"]=f},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var e=u(i(231)),r=i(125),o=u(i(238));f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t,u;n.prototype.configureAttributes.call(this,i);t=this.config;u=this.getFromEnv("dataSource").chart;t.baseFontFamily=r.pluck(i.baseFontFamily,u.basefont,"Verdana,sans");t.baseFontSize=r.pluckNumber(i.baseFontSize,u.basefontsize,10);t.baseFontColor=r.pluck(i.baseFontColor,u.basefontcolor,"595959");
35t.skipGraphics=!0;this.createListContainer()},t.prototype.createListContainer=function(){this.attachChild(o["default"],"listContainer","listContainer").configure()},t.prototype.appendInMenu=function(){for(var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],r=this.getChild("listContainer"),n=void 0,t=i.length,n=0;n<t;n++)r.addItem(i[n]);this.config.skipGraphics=!1},t}(e["default"]);t["default"]=f},function(n,t,i){"use strict";function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function l(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},r=void 0,u=void 0,i=void 0,e=void 0;if((u=n.attachChild(s["default"],"item",t.id)).configure(t),t.menu instanceof Array&&(e=t.menu.length))for(r=u.attachChild(f,"subContainer","subContainer"),n.config.hasSubMenu=!0,r.configure(),i=0;i<e;i++)r.addItem(t.menu[i])}var f;t.__esModule=!0;var u,e=i(138),r=i(125),o=i(239),s=(u=o)&&u.__esModule?u:{"default":u},h=i(232);i(132).addDep({name:"manuItemContainerAnimation",type:"animationRule",extension:{"*.menuItemContainer.menuItemContainer":null}});f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return c(t,n),t.prototype.configureAttributes=function(){var n=this.config;this.setStyle();n.counter=0;n.hasSubMenu=!1;n._defaultStyle={position:"absolute","z-index":50,top:0+r.PXSTRING,right:"auto",left:"auto",overflow:"hidden",background:"#ffffff",border:"1px solid #646464","box-shadow":"#999999 2px 2px 5px",padding:"5px 3px",display:"none"}},t.prototype.setStyle=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=this.config;t.hoverOverStyle=n.hoverOverStyle||{background:"#333333",color:"#FFFFFF",cursor:r.POINTER};t.hoverOutStyle=n.hoverOutStyle||{background:"#FFFFFF",color:"#000000"}},t.prototype.show=function(){var o=this.config,s=this.getFromEnv("chart"),t=this.getLinkedParent().config,u=r.pluckNumber(t.scale,1.5),i=t.x,h=t.y,c=t.width*u,l=t.height*u,f=+s.getFromEnv("chartWidth"),e=this.getGraphicalElement("menu","menu").element,n=e.style;clearTimeout(o.hideTimer);n.display="block";e.offsetWidth+i>f?(n.left="auto",n.right=f-i-c+r.PXSTRING):(n.left=i+r.PXSTRING,n.right="auto");n.top=2*h+l+r.PXSTRING;n.bottom="auto";n.display="block"},t.prototype.hide=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},u=this.config,t=void 0,i=this.getGraphicalElement("menu","menu").element;n.instant?i.style.display="none":(t=r.pluckNumber(n.timeout,h.DEFAULT_TIMEOUT),u.hideTimer=setTimeout(function(){i.style.display="none"},t))},t.prototype.addItem=function(){l(this,arguments.length>0&&arguments[0]!==undefined?arguments[0]:{})},t.prototype.draw=function(){var n=this.config;this.addGraphicalElement({el:"html",attr:{type:"div"},css:n._defaultStyle,component:this,label:"menu",id:"menu"});this.addEventListener("mouseover",this.show);this.addEventListener("mouseout",this.hide)},t.prototype.getName=function(){return"menuItemContainer"},t.prototype.getType=function(){return"menuItemContainer"},t}(e.SmartRenderer);t["default"]=f},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var r=i(125),f=i(232),e=i(138);i(132).addDep({name:"manuItemAnimation",type:"animationRule",extension:{"*.menuItem.menuItem":null}});u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.configureAttributes=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.config,i=this.getLinkedParent().getLinkedParent().config;n.name=t.name;n.action=t.action&&t.action.toLowerCase()||f.CLICK;n.eventMap={};n.style={padding:"3px 8px",fontFamily:i.baseFontFamily,fontSize:i.baseFontSize+r.PXSTRING,color:"#000000",position:"static",display:"inline",float:"left"};n.pointerStyle={padding:"0px 4px 3px",fontFamily:i.baseFontFamily,fontSize:i.baseFontSize+3+r.PXSTRING,color:"#000000",position:"static",float:"left"};n.itemType=t.menu instanceof Array&&t.menu.length?"subMenu":"item";
35n.handler="item"===n.itemType?t.handler||r.stubFN:r.stubFN;n.hoverOverStyle=t.hoverOverStyle||{};n.hoverOutStyle=t.hoverOutStyle||{}},t.prototype.applyStyle=function(){var u=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"mouseover",n=this.getLinkedParent().config,i=this.getGraphicalElement("menuItem","menuItem"),r=this.getGraphicalElement("container","container"),t=this.getGraphicalElement("menuPointer","menuPointer");switch(u){case"mouseover":i.css(n.hoverOverStyle);r.css(n.hoverOverStyle);t&&t.css(n.hoverOverStyle);break;case"mouseout":i.css(n.hoverOutStyle);r.css(n.hoverOutStyle);t&&t.css(n.hoverOutStyle)}},t.prototype.draw=function(){var n=this,t=n.config,i=n.getLinkedParent();n.addGraphicalElement({el:"html",attr:{type:"div"},css:{display:"block",position:"static",overflow:"hidden",height:"100%",width:"100%"},container:{id:"menu",label:"menu",isParent:!0},component:n,label:"container",id:"container"});i.config.hasSubMenu&&n.addGraphicalElement({el:"html",attr:{type:"div",text:"â"},css:t.pointerStyle,container:{id:"container",label:"container"},component:n,label:"menuPointer",id:"menuPointer"},!0);n.addGraphicalElement({el:"html",attr:{type:"span",text:t.name},css:t.style,container:{id:"container",label:"container"},component:n,label:"menuItem",id:"menuItem"},!0);n._mouseOverEvent||(n._mouseOverEvent=function(){n.applyStyle("mouseover")});n._mouseOutEvent||(n._mouseOutEvent=function(){n.applyStyle("mouseout")});n._clickEvent||(n._clickEvent=function(){"item"===n.config.itemType&&(i.hide({instant:!0}),t.handler())});n.addEventListener("mouseover",n._mouseOverEvent);n.addEventListener("mouseout",n._mouseOutEvent);n.addEventListener("click",n._clickEvent)},t.prototype.getName=function(){return"menuItem"},t.prototype.getType=function(){return"menuItem"},t}(e.SmartRenderer);t["default"]=u},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var u,f=i(231),e=(u=f)&&u.__esModule?u:{"default":u},r=i(125);var s={left:"start",right:"end",center:"middle"},h={top:r.POSITION_TOP,middle:r.POSITION_MIDDLE,bottom:r.POSITION_BOTTOM},c={0:"0",1:"270",right:"90",cw:"90",left:"270",ccw:"270"},l=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.font="Verdana, sans";t.rotateText=0},t.prototype.configureAttributes=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i;n.prototype.configureAttributes.call(this,t);i=this.config;i.font=r.pluck(t.font,i.font);i.fontSize=r.pluckFontSize(t["font-size"],t.fontSize,10)*i.scale;i.fontStyle=r.pluck(t["font-style"],t.fontStyle,"normal");i.fontWeight=r.pluck(t["font-weight"],t.fontWeight,"normal");i.rotateText=r.pluckNumber(t.rotateText,i.rotateText);i.rotateAngle=parseFloat(c[r.pluck(t.rotateAngle&&t.rotateAngle.toLowerCase(),"0")])},t.prototype.getTextBound=function(){var n=this.config,t=[];return n.showTextBound&&(t=[r.convertColor(n.fill),n.borderColor,n.borderThickness,2,n.radius]),t},t.prototype.getLogicalSpace=function(){var t,i=this.getFromEnv("smartLabel"),n=this.config,r=(n.width,n.height,n.marginTop),u=n.marginLeft,f=n.marginRight,e=n.marginBottom;return{width:(t=i.getOriSize(this.config.text,!1)).width,height:t.height,marginTop:r,marginLeft:u,marginRight:f,marginBottom:e}},t.prototype.draw=function(){var t,n=this.config;n.text&&(t={x:n.x,y:n.y,text:n.text,fill:r.convertColor(n.labelFill),"text-bound":this.getTextBound(),"font-style":n.fontStyle,"font-weight":n.fontWeight,"font-family":n.font,"font-size":n.fontSize,"text-anchor":s[n.hAlign],"vertical-align":h[n.vAlign],transform:n.rotateText?r.getSuggestiveRotation(n.rotateAngle,n.x,n.y):"t0,0"},!n.isHidden&&this.addGraphicalElement({el:"text",attr:t,component:this,container:{id:"group",label:"group",isParent:!0},label:"text",id:"label"}))},t}(e["default"]);t["default"]=l},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var r,f=i(231),e=(r=f)&&r.__esModule?r:{"default":r},o=i(125);u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.isVertical=1},t.prototype.configureAttributes=function(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t;n.prototype.configureAttributes.call(this,i);t=this.config;t.isVertical=o.pluckNumber(i.isVertical,t.isVertical)},t.prototype.draw=function(){var n=this.config,t=n.x,i=n.y,r=n.width,u=n.height,f={path:n.isVertical?["M",t+r/2,i,"v",u]:["M",t,i,"h",r],stroke:n.stroke,"stroke-width":n.strokeWidth,"stroke-linecap":"round"};n.isHidden||this.addGraphicalElement({el:"path",attr:f,component:this,container:{id:"group",label:"group",isParent:!0},css:n.css,label:"path",id:"path"})},t}(e["default"]);t["default"]=u},function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r,f;t.__esModule=!0;u=i(138);r=i(125);f=function(n){function t(i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this,i));return r.props={},r}return e(t,n),t.prototype.configureAttributes=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.config,i=this.getFromEnv("chartConfig");this.__setDefaultConfig();this.props.width=r.pluckNumber(t.width,0);this.props.height=r.pluckNumber(t.height,0);n.orientation=r.pluck(t.toolbarorientation,n.orientation);n.hPadding=r.pluck(t.toolbarhpadding,n.hPadding);n.vPadding=r.pluck(t.toolbarvpadding,n.vPadding);n.backgroundcolor=r.pluck(t.toolbarbackgroundcolor,n.backgroundcolor);n.backgroundalpha=r.pluck(t.toolbarbackgroundalpha,n.backgroundalpha);n.bordercolor=r.pluck(t.toolbarbordercolor,n.bordercolor);n.borderalpha=r.pluck(t.toolbarborderalpha,n.borderalpha);n.borderthickness=r.pluck(t.toolbarborderthickness,n.borderthickness);n.hDirection=r.pluckNumber(t.toolbarhdirection,"r"===i.toolbarHAlign?-1:1);n.vDirection=r.pluckNumber(t.toolbarvdirection,"b"===i.toolbarBAlign?-1:1);n.hAlign=r.pluck(t.hAlign,"center").toLowerCase();n.vAlign=r.pluck(t.vAlign,"middle").toLowerCase();n.marginTop=r.pluckNumber(t.marginTop,t.spacing,n.marginTop);n.marginLeft=r.pluckNumber(t.marginLeft,t.spacing,n.marginLeft);n.marginRight=r.pluckNumber(t.marginRight,t.spacing,n.marginRight);n.marginBottom=r.pluckNumber(t.marginBottom,t.spacing,n.marginBottom)},t.prototype.__setDefaultConfig=function(){var n=this.config;n.orientation="horizontal";n.hPadding=0;n.vPadding=0;n.backgroundcolor="#eeeeee";n.backgroundalpha=0;n.bordercolor="#eeeeee";n.borderalpha=0;n.borderthickness=1;n.spacing=2.5;n.marginTop=2.5;n.marginLeft=2.5;n.marginRight=2.5;n.marginBottom=2.5}
35,t.prototype.getLogicalSpace=function(){var n=this.config,r=this.props,t=0,i=0;return this.getChildren("tool")&&this.getChildren("tool").length&&(this.getChildren("tool").forEach(function(r){if(r.getState("visible")&&!r.getState("removed")){var u=r.getLogicalSpace(),f=u.width,e=u.height,o=u.marginTop,s=u.marginLeft,h=u.marginRight,c=u.marginBottom;"horizontal"===n.orientation?(f!==undefined&&(t+=f+(h||0)+(s||0)),i<(e=e+(o||0)+(c||0))&&(i=e)):(e!==undefined&&(i+=e+(o||0)+(c||0)),t<(f=f+(h||0)+(s||0))&&(t=f))}}),t+=2*n.hPadding,i+=2*n.vPadding,r.width=r.width>t?r.width:t,r.height=r.height>i?r.height:i),{width:t,height:i,marginTop:n.marginTop,marginLeft:n.marginLeft,marginRight:n.marginLeft,marginBottom:n.marginLeft}},t.prototype.manageSpace=function(){var i=this.config,r=this.getChildren("tool")||[],n=void 0;for(var t in n="horizontal"===i.orientation?this._placeToolHorizontally():this._placeToolVertically())n.hasOwnProperty(t)&&this.getChild(t).setDimension(n[t]);r.forEach(function(n){n.manageSpace&&n.manageSpace()})},t.prototype._placeToolHorizontally=function(){var n=this,t=n.config,o=n.props,r=void 0,c=void 0,l=void 0,u=void 0,s=t.hPadding,h=o.width-t.hPadding,i={},f={left:[],right:[],center:[]},e={left:0,right:0,center:0};return n.getChildren("tool")&&n.getChildren("tool").length&&((t.hDirection>0?n.getChildren("tool"):n.getChildren("tool").slice(0).reverse()).forEach(function(r){if(r.getState("visible")&&!r.getState("removed")){var h=r.getAlignment().hAlign,u=r.getLogicalSpace(),l=u.width,a=u.height,c=u.marginTop,v=u.marginLeft,y=u.marginRight,p=u.marginBottom,s=r.getId();e[h]+=l+(v||0)+(y||0);f[h].push(s);i[s]={};i[s].y=n.props.y+c+t.vPadding+(o.height-2*t.vPadding-(a+p+c))/2}}),f.left.forEach(function(r){var u=n.getChild(r).getLogicalSpace(),f=u.width,e=u.marginLeft,o=u.marginRight;s+=e||0;i[r].x=n.props.x+t.hPadding+s;s+=f+(o||0)}),f.right.reverse().forEach(function(r){var u=n.getChild(r).getLogicalSpace(),f=u.width,e=u.marginLeft,o=u.marginRight;h-=f+(o||0);i[r].x=n.props.x+t.hPadding+h;h-=e||0}),r=[e.left+t.hPadding,o.width-(e.right+t.hPadding)],c=Math.abs(r[0]-r[1]),l=r[0]+c/2,u=l-e.center/2,f.center.forEach(function(r){var f=n.getChild(r).getLogicalSpace(),e=f.width,o=f.marginLeft,s=f.marginRight;u+=o||0;i[r].x=n.props.x+t.hPadding+u;u+=e+s||0})),i},t.prototype.getAlignment=function(){return{hAlign:this.config.hAlign,vAlign:this.config.vAlign}},t.prototype._placeToolVertically=function(){var n=this,t=n.config,o=n.props,r=void 0,c=void 0,l=void 0,u=void 0,s=t.vPadding,h=o.height-t.vPadding,f={top:[],middle:[],bottom:[]},e={top:0,middle:0,bottom:0},i={};return n.getChildren("tool")&&n.getChildren("tool").length&&((t.vDirection>0?n.getChildren("tool"):n.getChildren("tool").reverse()).forEach(function(r){if(r.getState("visible")&&!r.getState("removed")){var h=r.getAlignment().vAlign,u=r.getLogicalSpace(),l=u.width,a=u.height,v=u.marginTop,s=u.marginLeft,y=u.marginRight,p=u.marginBottom,c=r.getId();e[h]+=a+(v||0)+(p||0);f[h].push(r.getId());i[c]={};i[c].x=n.props.x+s+t.hPadding+s+(o.width-2*t.hPadding-(l+s+y))/2}}),f.top.forEach(function(r){var u=n.getChild(r).getLogicalSpace(),f=u.height,e=u.marginTop,o=u.marginBottom;s+=e||0;i[r].y=n.props.y+t.vPadding+s;s+=f+(o||0)}),f.bottom.reverse().forEach(function(r){var u=n.getChild(r).getLogicalSpace(),f=u.height,e=u.marginTop,o=u.marginBottom;h-=f+(o||0);i[r].y=n.props.y+t.vPadding+h;h-=e||0}),r=[e.top+t.vPadding,o.height-(e.bottom+t.vPadding)],c=Math.abs(r[0]-r[1]),l=r[0]+c/2,u=l-e.middle/2,f.middle.forEach(function(r){var f=n.getChild(r).getLogicalSpace(),e=f.height,o=f.marginTop,s=f.marginBottom;u+=o||0;i[r].y=n.props.y+t.vPadding+u;u+=e+s||0})),i},t.prototype.setDimension=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};n.x!==undefined&&(this.props.x=n.x);n.y!==undefined&&(this.props.y=n.y);n.width!==undefined&&(this.props.width=n.width);n.height!==undefined&&(this.props.height=n.height)},t.prototype.getDimension=function(){return this.props},t.prototype.draw=function(){var n=this.config,t=this.getDimension();this.addGraphicalElement({id:"group",el:"group",attr:{name:"toolbar"},container:{id:"toolbar-master",isParent:!0},component:this,label:"group"});this.addGraphicalElement({id:"carpet",el:"rect",attr:Object.assign({fill:r.toRaphaelColor({color:n.backgroundcolor,alpha:n.backgroundalpha}),stroke:r.toRaphaelColor({color:n.bordercolor,alpha:n.borderalpha}),"stroke-width":n.borderthickness},t),container:{label:"group",id:"group"},component:this,label:"carpet"})},t.prototype.getName=function(){return"toolbar"},t.prototype.getType=function(){return"Toolbar"},t}(u.SmartRenderer);t["default"]=f},function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,f;t.__esModule=!0;u=i(227);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i._toggle=function(){i.isEnabled()&&i.zoomOut()},r}return e(t,n),t.prototype.getName=function(){return"zoomResetButton"},t.prototype.configure=function(){n.prototype.configure.call(this);var t=this.getLinkedParent();this.configureButton();this.disable();t.registerDependancy([{derivedInteraction:["zoomin","zoomout"],callback:this.dependancyFn,component:this}])},t.prototype.configureButton=function(){this.config.skipGraphics||this.setLinkedItem("button",this.createButton({icon:"resetIcon",handlers:{click:this._toggle},tooltext:this.config.tooltext,state:"disabled"}));this.disable()},t.prototype.enable=function(){this.config.state="activated";n.prototype.enable.call(this)},t.prototype.zoomOut=function(){var i,r,u,f,n,t=this,s=t.getFromEnv("chart"),h=t.getFromEnv("axesObArr"),e=t.config.hookFn,o={};h.forEach(function(h){(n=h.stack[0])&&(s.getFromEnv("animationManager").setAnimationState("zoomOut"),e&&e(n.minValue,n.maxValue),h.isY?(u=n.minValue,f=n.maxValue):(i=n.minValue,r=n.maxValue,o=t.constructor._getZoomInfo(i,r,h.axis)),h.axis.setVisibleConfig(n.minValue,n.maxValue),h.stack.length=0)});t._raiseZoomEvents("zoomout","zoomreset",Object.assign(o,{level:1,startX:i,endX:r,startY:u,endY:f}));t.disable()}
35,t.prototype.dependancyFn=function(n){"zoomin"===n.type?this.enable():"zoomout"===n.type&&(this._checkStackLen()||this.disable())},t}(((r=u)&&r.__esModule?r:{"default":r})["default"]);t["default"]=f},function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,f;t.__esModule=!0;u=i(243);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i._toggle=function(){i.isEnabled()&&i.zoomOut()},r}return e(t,n),t.prototype.getName=function(){return"zoomOutButton"},t.prototype.configureButton=function(){this.config.skipGraphics||this.setLinkedItem("button",this.createButton({icon:"zoomOutIcon",handlers:{click:this._toggle},tooltext:this.config.tooltext,state:"activated"}))},t.prototype.zoomOut=function(){var n,i,r,u,f,e,t=this,o=t.config.hookFn,s={},h=0;t.getFromEnv("axesObArr").forEach(function(c){n=c.stack.pop();i=c.stack.length;h+=i;n&&(c.isY?(f=n.minValue,e=n.maxValue):(r=n.minValue,u=n.maxValue,s=t.constructor._getZoomInfo(r,u,c.axis)),o&&o(n.minValue,n.maxValue),c.axis.setVisibleConfig(n.minValue,n.maxValue))});t._raiseZoomEvents("zoomout","zoomedout",Object.assign(s,{level:i,startX:r,endX:u,startY:f,endY:e}));h||this.disable()},t}(((r=u)&&r.__esModule?r:{"default":r})["default"]);t["default"]=f},function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,f;t.__esModule=!0;u=i(227);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i._toggle=function(){i.isEnabled()&&i.zoom()},r}return e(t,n),t.prototype.getName=function(){return"zoomInButton"},t.prototype.configure=function(){n.prototype.configure.call(this);var t=this.config;t.stepZoom=t.stepZoom||5.33;!t.skipGraphics&&this.setLinkedItem("button",this.createButton({icon:"zoomInIcon",handlers:{click:this._toggle},tooltext:this.config.tooltext,state:"activated"}));this.enable()},t.prototype.zoom=function(){var n,t,r,u,f,s,h,c,l,i=this,a={},e=i.config,v=e.hookFn,o=!1,y=Math.pow(10,e.zoomDecimalLimit)||1;i.getFromEnv("animationManager").setAnimationState("zoom");i.getFromEnv("axesObArr").forEach(function(p){r=p.axis;n=r.getVisibleConfig();(t=Math.round((n.maxValue-n.minValue)/e.stepZoom*y)/y)>Number.EPSILON&&(p.stack.push(n),p.isY?(s=n.minValue+t,h=n.maxValue-t):(u=n.minValue+t,f=n.maxValue-t,a=i.constructor._getZoomInfo(u,f,r)),c=p.stack.length+1,v&&v(n.minValue,n.maxValue),l=r.setVisibleConfig(n.minValue+t,n.maxValue-t),o=o||l)});o&&i._raiseZoomEvents("zoomin","zoomedin",Object.assign(a,{level:c,startX:u,endX:f,startY:s,endY:h}))},t}(((r=u)&&r.__esModule?r:{"default":r})["default"]);t["default"]=f},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var r,f=i(227),e=(r=f)&&r.__esModule?r:{"default":r},o=i(125);u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.controlArr=[{nativeInteraction:["fc-dbclick"],callback:i.zoom.bind(i),component:i}],r}return s(t,n),t.prototype.getName=function(){return"dbTapZoom"},t.prototype.configure=function(){n.prototype.configure.call(this);this.enable()},t.prototype.setControl=function(){var n=this.controlArr,t=this.getLinkedParent();t.releaseControl(n);this.isEnabled()&&t.getControl(n)},t.prototype.zoom=function(n){var i,l,t,f,a,e,s,v,y,p,r=this,h=r.getFromEnv("chart"),w=o.getMouseCoordinate(h.getLinkedItem("container"),n,h),u=r.config,b=u.hookFn,k={},c=!1,d=Math.pow(10,u.zoomDecimalLimit)||1;h.getFromEnv("animationManager").setAnimationState("zoom");r.getFromEnv("axesObArr").forEach(function(n){i=n.axis;l=i.getValue(n.isY?w.chartY:w.chartX);f=i.getVisibleConfig();t=function(n,t,i,r){var u=t-n.minValue,f=n.maxValue-t;return{min:Math.round((t-u/i*(i-1))*r)/r,max:Math.round((t+f/i*(i-1))*r)/r}}(f,l,u.stepzoom,d);n.isY?(v=t.min,y=t.max):(e=t.min,s=t.max,k=r.constructor._getZoomInfo(e,s,i));i.getZoom()<=d&&(b&&"function"==typeof u.hookFn&&b(t.min,t.max),a=i.setVisibleConfig(t.min,t.max),c=c||a,n.stack.push(f),p=n.stack.length+1)});c&&r._raiseZoomEvents("zoomin","zoomedin",Object.assign(k,{level:p,startX:e,endX:s,startY:v,endY:y},n.originalEvent))},t}(e["default"]);t["default"]=u},function(n,t,i){"use strict";function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}
35t.__esModule=!0;var u,h=i(227),c=(u=h)&&u.__esModule?u:{"default":u},r=i(125),l=i(136),a=i(132);var e=Math,f=e.min,o=e.max,s=e.abs,y="rgba(255,0,0,"+(r.isIE?.002:1e-6)+")",p=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.controlArr=[{nativeInteraction:["fc-dragstart"],callback:i.dragstart.bind(i),component:i},{nativeInteraction:["fc-dragmove"],callback:i.dragmove.bind(i),component:i},{nativeInteraction:["fc-dragend"],callback:i.dragend.bind(i),component:i}],i.toggle=i.toggle.bind(i),r}return v(t,n),t.prototype.getName=function(){return"dragPin"},t.prototype.configure=function(){n.prototype.configure.call(this);var u=this.getFromEnv("chartConfig"),i=this.getFromEnv("dataSource").chart,f=this.getLinkedParent(),t=this.config;t.attr=t.attr||{stroke:"#3399ff",fill:"#b9d5f1","stroke-width":0};t.pinAttr=t.pinAttr||{"stroke-width":0,stroke:"none",fill:"#b9d5f1","shape-rendering":"crisp"};t.borderWidth=u.borderWidth||(u.borderWidth=r.pluckNumber(i.showborder,1)?r.pluckNumber(i.borderthickness,1):0);!this.config.skipGraphics&&this.setLinkedItem("button",this.createButton({icon:"pinModeIcon",tooltext:r.pluckNumber(i.showtoolbarbuttontooltext,1)?r.pluck(this.config.tooltext,"Pin mode"):"",handlers:{click:this.toggle},state:"activated"}));f.registerDependancy([{derivedInteraction:["zoomin","zoomout"],callback:this.dependancyFn,component:this}]);this.disable(void 0,!1)},t.prototype.enable=function(n,t){var i=this.config;!0!==i.enabled&&(i.enabled=!0,i.state="pressed",this.fireEvent("pinenabled"),this.setControl(),!t&&this.getFromEnv("chart").fireChartInstanceEvent("zoommodechanged",{pinModeActive:!0},n&&n.originalEvent))}
35,t.prototype.dependancyFn=function(n){"zoomin"!==n.type&&"zoomout"!==n.type||this.disable(n)},t.prototype.draw=function(){var t,n=this,i=n.config;n.createPin();n.config.pinElemVisible&&n.addJob("resizePinElem",function(){t=n.getFromEnv("xAxis")[0];n.pinRangePixels(t.getPixel(i.boxStartValue),t.getPixel(i.boxEndValue))},l.priorityList.postRender)},t.prototype._setConfig=function(){var u=this.getFromEnv("chart"),t=this.getFromEnv("chartConfig"),n=this.config,i=Object.assign({},n.attr||{}),e=i["stroke-width"]=r.pluckNumber(i.strokeWidth,i["stroke-width"],1),o=u.getFromEnv("chart-container"),f=r.getPosition(o,u);n.zoomX="horizontal"===n.orientation||"both"===n.orientation;n.zoomY="vertical"===n.orientation||"both"===n.orientation;n.canvasY=t.canvasTop;n.canvasX=t.canvasLeft;n.canvasW=t.canvasWidth;n.canvasH=t.canvasHeight;n.canvasX2=t.canvasLeft+t.canvasWidth;n.canvasY2=t.canvasTop+t.canvasHeight;n.strokeWidth=e;n.chartPosLeft=f.left;n.chartPosTop=f.top},t.prototype.disable=function(n,t){var i=this.config,r=this.getContainer("pingroup"),u=this.getGraphicalElement("pintracker");!1!==i.enabled&&(i.enabled=!1,i.state="activated",r&&r.hide(),u&&u.hide(),this.fireEvent("pindisabled"),!t&&this.getFromEnv("chart").fireChartInstanceEvent("zoommodechanged",{pinModeActive:!1},n&&n.originalEvent),this.setControl(),i.pinElemVisible=!1)},t.prototype.setControl=function(){var n=this.getLinkedParent(),t=this.controlArr,i=this.getLinkedItem("button");n.releaseControl(t);this.isEnabled()&&n.getControl(t);i&&i.setCurrentState(this.config.state)},t.prototype.createPin=function(){var s,p,u,c,f,n=this,g=n.config,w=n.getFromEnv("chart"),i=n.getFromEnv("chartConfig"),e=n.getFromEnv("animationManager"),h=i.canvasTop,o=i.canvasBottom,l=i.canvasHeight,nt=i.canvasLeft,tt=g.borderWidth,v=i["clip-pinrect"],t=n.getContainer("pingroup"),b=n.getContainer("pinElemGroup"),k=n.getGraphicalElement("pinrect"),d=n.getGraphicalElement("pintracker");c=i._visw=i.canvasWidth;f=i._visx=i.canvasLeft;s=a.getDep("redraphael","plugin").crispBound(0,h-o,0,l,tt);v=i["clip-pinrect"]=[s.x,h,s.width,s.height];t||n.addContainer("pingroup",t=e.setAnimation({el:"group",finalAttr:{name:"zoompin"},component:n,label:"group"}).insertBefore(w.getChildContainer("plotGroup")).hide());t.transform(i._pingrouptransform=["T",f,o]);b||n.addContainer("pinElemGroup",b=e.setAnimation({el:"group",attr:{name:"zoompinelements"},component:n,container:t,label:"group"}));n.config.pinAttr.x=0;n.config.pinAttr.y=h-o;n.config.pinAttr.width=c;n.config.pinAttr.height=l;p=e.setAnimation({el:k||"rect",attr:n.config.pinAttr,container:t,component:n});k||n.addGraphicalElement("pinrect",p);u=e.setAnimation({el:d||"rect",attr:{transform:t.transform(),x:0,y:h-o,width:0,height:l,stroke:"none",fill:y,cursor:r.hasSVG?"ew-resize":"e-resize"},container:w.getChildContainer("trackerGroup"),component:n}).hide();d||n.addGraphicalElement("pintracker",u);u.undrag();u.drag(function(i){var c=i.data[0],s=f+c+this.__pindragdelta,l=this.__pinboundleft,a=this.__pinboundright,h=this.data("cliprect").slice(0);s<l?s=l:s>a&&(s=a);t.transform(["T",s,o]);u.transform(t.transform());r.hasSVG||(h[0]=h[0]+s-f-this.__pindragdelta,e.setAnimation({el:t,attr:{"clip-rect":h},component:n}));this.__pindragoffset=c},function(){this.__pinboundleft=0-v[0]+f+nt;this.__pinboundright=this.__pinboundleft+c-v[2];this.data("cliprect",t.attr("clip-rect"));t._.clipispath=!0},function(){t._.clipispath=!1;this.__pindragdelta+=this.__pindragoffset;delete this.__pindragoffset;delete this.__pinboundleft;delete this.__pinboundright})},t.prototype.pinRangePixels=function(n,t,i){var r,u,y,p,o,s=this.getFromEnv("chart"),h=s.config,c=h.canvasLeft,f=this.getFromEnv("xAxis")[0],w=f.getLimit(),b=w.max,k=w.min,l=this.getContainer("pingroup"),tt=this.getGraphicalElement("pinrect"),it=this.getContainer("pinElemGroup"),a=h["clip-pinrect"],d=this.getFromEnv("animationManager"),g=h._pingrouptransform,v=[],nt=t-n,e=this.getGraphicalElement("pintracker");if(s.iterateComponents(function(n){n.getType&&"dataset"===n.getType()&&v.push(n)}),l&&tt){for(n===t&&(l.hide(),e.hide()),o=v.length;o--;)v[o].fireEvent("createpinelements",{group:it});a[0]=n+c;a[2]=nt;d.setAnimation({el:l,attr:{"clip-rect":a,transform:g},component:this}).show();e.__pindragdelta=0;e.show();d.setAnimation({el:e,attr:{transform:g,x:n,width:nt},component:this});this.config.pinElemVisible=!0;r=Math.round(f.getValue(n+c,{wrtVisible:!0}));u=Math.round(f.getValue(t+c,{wrtVisible:!0}));r=r<k?k:r;u=u>b?b:u;y=f.getLabel(r).label;p=f.getLabel(u).label;i&&s.fireChartInstanceEvent("pinned",{startIndex:r||Math.abs(r),endIndex:u||Math.abs(u),startLabel:y,endLabel:p},i.originalEvent)}},t.prototype.dragstart=function(n){this._setConfig();var f,s,c=this.getFromEnv("chart"),l=this.getFromEnv("animationManager"),a=this.getFromEnv("chart-container"),t=this.config,i=t.attr,h=this.getGraphicalElement("resizeBox"),u=n.originalEvent,e=t.layerX=(u.pageX||u.data[0])-t.chartPosLeft,o=t.layerY=(u.pageY||u.data[1])-t.chartPosTop,v=t.canvasY,y=t.canvasX,p=t.canvasX2,w=t.canvasY2;f=r.getPosition(a);t.chartPosLeft=f.left;t.chartPosTop=f.top;t.oy=o;t.ox=e;t.allowMove=!1;i.x=0;i.y=0;i.width=0;i.height=0;s=l.setAnimation({el:h||"rect",attr:i,container:c.getChildContainer("trackerGroup"),component:this,callback:function(){this.show()}});h||this.addGraphicalElement("resizeBox",s);e>y&&e<p&&o>v&&o<w&&(t.allowMove=!0);t.dragstartFn&&"function"==typeof t.dragstartFn&&t.dragstartFn(n)},t.prototype.dragmove=function(n){this._setConfig();var t=this.config,c=this.getFromEnv("animationManager"),w=this.getGraphicalElement("resizeBox"),u=n.originalEvent,b=u.pageX||u.data[2],k=u.page||u.data[3],d=t.layerX=b-t.chartPosLeft,g=t.layerY=k-t.chartPosTop,e=d-t.ox,h=g-t.oy,i=t.ox,r=t.oy,l=t.zoomX,a=t.zoomY,v=t.strokeWidth,nt=t.canvasW,tt=t.canvasH,y=t.canvasY,p=t.canvasX,it=t.canvasX2,rt=t.canvasY2;c.setAnimationState("dragMove");t.allowMove&&(t.isDragged||(t.isDragged=1),e=-(i-f(i-(i-o(i+e,p)),it)),h=-(r-f(r-(r-o(r+h,y)),rt)),c.setAnimation({el:w,attr:{x:(l?f(i,i+e):p)+.5*v,y:(a?f(r,r+h):y)+.5*v,width:l?s(e):nt,height:a?s(h):tt},component:this}),t.dragmoveFn&&"function"==typeof t.dragmoveFn&&t.dragmoveFn(n))},t.prototype.dragend=function(n){this._setConfig();var r,u,e,f=this.getFromEnv("chart"),h=f.config,t=this.config,o=this.getFromEnv("xAxis")[0],s=this.getGraphicalElement("resizeBox"),i=t.bBox;f.getFromEnv("animationManager").setAnimationState("dragEnd");e={chart:f,selectionLeft:(i=s.getBBox()).x,selectionTop:i.y,selectionHeight:i.height,selectionWidth:i.width,originalEvent:n.originalEvent};t.isDragged&&(t.dragendFn&&"function"==typeof t.dragendFn&&t.dragendFn(n,e),t.isDragged=0);s.hide();delete t.oy;delete t.ox;(r=i.x-h.canvasLeft)!==(u=r+i.width)&&(t.boxStartValue=o.getValue(r),t.boxEndValue=o.getValue(u),this.pinRangePixels(r,u,n))},t}(c["default"]);t["default"]=p},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r,e=i(227),o=(r=e)&&r.__esModule?r:{"default":r},u=i(125);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.controlArr=[{nativeInteraction:["fc-dragstart","fc-dragmove"],callback:i.onDrag.bind(i),component:i},{nativeInteraction:["fc-dragend"],callback:i.onDragEnd.bind(i),component:i}],i.toggle=i.toggle.bind(i),u.isFirefox&&i.controlArr.push({nativeInteraction:["fc-mousedown"],callback:t.mousedown,component:i}),r}return s(t,n),t.mousedown=function(n){n&&n.preventDefault()},t.prototype.configure=function(){n.prototype.configure.call(this);this.config.skipGraphics||this.setLinkedItem("button",this.createButton({icon:"panModeIcon",tooltext:this.config.tooltext,handlers:{click:this.toggle},state:"activated"}));this.getLinkedParent().registerDependancy([{derivedInteraction:["zoomin","zoomout","dragzoomenabled","dragzoomdisabled"],callback:this.dependancyFn,component:this}]);this.disable(u.UNDEF,!1)},t.prototype.getName=function(){return"dragPan"},t.prototype.enable=function(n,t){this._checkStackLen()&&!0!==this.config.enabled&&(this.config.enabled=!0,this.config.state="pressed",this.fireEvent("panenabled"),!t&&this.getFromEnv("chart").fireChartInstanceEvent("zoommodechanged",{panModeActive:!0},n&&n.originalEvent),this.setControl())},t.prototype.disable=function(n,t){!1!==this.config.enabled&&(this.config.enabled=!1,this.config.state=this._checkStackLen()?"activated":"disabled",this.fireEvent("pandisabled"),!t&&this.getFromEnv("chart").fireChartInstanceEvent("zoommodechanged",{panModeActive:!1},n&&n.originalEvent),this.setControl())},t.prototype.setControl=function(){var n=this.getLinkedParent(),t=this.getLinkedItem("button"),i=this.controlArr;n.releaseControl(i);this.isEnabled()&&n.getControl(i);t&&t.setCurrentState(this.isEnabled()?this.config.state:"disabled")},t.prototype.setDrag=function(n){this.config.isDragging=!!n},t.prototype.isDragging=function(){return!!this.config.isDragging},t.prototype.onDragEnd=function(){this.setDrag(!1);this.getFromEnv("chart").getContainer("parentgroup").attr({cursor:"default"})},t.prototype.onDrag=function(n){var i,r,t,l,u,f,e,o,s,h,c,a=function(n){return n.originalEvent&&(n=n.originalEvent),n.type.match(/touch/)?{x:n.touches[0].pageX,y:n.touches[0].pageY}:n.type.match(/mouse|pointer/)?{x:n.pageX,y:n.pageY}:void 0}(n.originalEvent);(function(n){return!n.touches||1===n.touches.length})(n.originalEvent)&&(this.getFromEnv("chart").getContainer("parentgroup").attr({cursor:"move"}),this.getFromEnv("animationManager").setAnimationState("drag"),this.isDragging()?this.getFromEnv("axesObArr").forEach(function(n){var v,y;if(i=n.origConfig.minValue,r=n.origConfig.maxValue,u=n.axis,f=u.config.axisRange,e=u.getScale(),o=e.getRange(),s=e.getDomain(),h=(o[1]-o[0])/(s[1]-s[0]),v=a,y=n.startCoord,c={x:v.x-y.x,y:v.y-y.y},l=r-i,(t=-(t=n.isY?c.y/h:c.x/h))>0)t=Math.min(f.max-r,t);else{if(!(t<0))return;t=-Math.min(i-f.min,-t)}r=(i+=t)+l;u.setVisibleConfig(i,r)}):(this.getFromEnv("axesObArr").forEach(function(n){n.origConfig=n.axis.getVisibleConfig();n.startCoord=a}),this.setDrag(!0)))}
35,t.prototype.dependancyFn=function(n){"zoomout"===n.type?!this._checkStackLen()&&this.disable():"zoomin"===n.type?this.enable(n):"dragzoomdisabled"===n.type?this._checkStackLen()&&this.enable(n):"dragzoomenabled"===n.type&&this.disable(n)},t}(o["default"]);t["default"]=f},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var r,f=i(227),e=(r=f)&&r.__esModule?r:{"default":r},o=i(125);var u=function(n){return n<0?-n:n},h=Math.max,c=Math.min,l=function(n,t,i,r,u){var e=n.getVisibleConfig(),f=n.getValue(t[r?"y":"x"]+n.getTranslation()),s=f-e.minValue,l=e.maxValue-f,o=n.config.axisRange;return{min:Math.round(h(o.min,f-s/i)*u)/u,max:Math.round(c(o.max,f+l/i)*u)/u}},a=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.controlArr=[{nativeInteraction:["fc-pinchstart"],callback:i.pinchstart.bind(i),component:i},{nativeInteraction:["fc-pinchmove"],callback:i.pinchmove.bind(i),component:i}],r}return s(t,n),t.prototype.getName=function(){return"pinchZoom"},t.prototype.configure=function(){n.prototype.configure.call(this);this.enable()},t.prototype.getCenter=function(n,t){var i=this.getFromEnv("chart"),r=o.getMouseCoordinate(i.getLinkedItem("container"),{pageX:(n.pageX+t.pageX)/2,pageY:(n.pageY+t.pageY)/2},i);return{x:r.chartX,y:r.chartY}},t.prototype.pinchmove=function(n){var s,h,b,e,o,c,a,v,t=this,k=n.originalEvent.data,nt=k.distanceX,tt=k.distanceY,r=t.config,f=r.touchConfig,i={},y=!1,p={},it=t.getFromEnv("chart"),d=t.getFromEnv("axesObArr"),g=Math.pow(10,r.zoomDecimalLimit)||1,w=it.getChildContainer().plotGroup;s=u(nt/f.distanceX);h=u(tt/f.distanceY);d.forEach(function(){w.transform("");w.scale(s,h,f.center.x,f.center.y)});clearTimeout(r.chartDraw);r.chartDraw=setTimeout(function(){w.transform("");d.forEach(function(n){var u=n.axis,nt=l(u,f.center,n.isY?h:s,n.isY,g),w=nt.min,k=nt.max,d=n.stack,tt=u.getVisibleConfig(),it=u.getLimit(),rt=d.length-1,r=d[rt],ut=Math.floor(w)===it.min&&Math.ceil(k)===it.max,ft=u.getZoom()>=g;if(r)if(ut)n.stack=[],i.zoomout=!0;else if(r.minValue>w&&r.maxValue<k){for(;r&&r.minValue>w&&r.maxValue<k;)d.pop(),r=d[--rt];i.zoomout=!0}else ft||(d.push(tt),i.zoomin=!0);else ut||ft||(d.push(tt),i.zoomin=!0);n.isY?(c=w,a=k):(e=w,o=k,p=t.constructor._getZoomInfo(e,o,u));v=n.stack.length+1;b=u.setVisibleConfig(w,k);y=y||b});y&&(i.zoomout&&t._raiseZoomEvents("zoomout","zoomedout",Object.assign(p,{level:v,startX:e,endX:o,startY:c,endY:a})),i.zoomin&&t._raiseZoomEvents("zoomin","zoomedin",Object.assign(p,{level:v,startX:e,endX:o,startY:c,endY:a})));r.chartDraw=null},250)},t.prototype.pinchstart=function(n){var i,u=this.getFromEnv("axesObArr"),t=n.originalEvent.data,r=t;this.getFromEnv("animationManager").setAnimationState("touch");r.center=this.getCenter(t.finger0,t.finger1);this.config.touchConfig=t;u.forEach(function(n){i=n.axis;n.visibleConfig=i.getVisibleConfig();n.centerVal=i.getValue(n.isY?r.center.y:r.center.x)})},t.prototype.setControl=function(){var n=this.getLinkedParent(),t=this.controlArr;n.releaseControl(t);this.isEnabled()&&n.getControl(t)},t}(e["default"]);t["default"]=a},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r,e=i(227),o=(r=e)&&r.__esModule?r:{"default":r},u=i(125);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.controlArr=[{nativeInteraction:["fc-dragend"],callback:i.end.bind(i),component:i},{nativeInteraction:["fc-dragmove"],callback:i.move.bind(i),component:i},{nativeInteraction:["fc-dragstart"],callback:i.start.bind(i),component:i}],r}return s(t,n),t.prototype.getName=function(){return"swipeGesture"},t.prototype.configure=function(){n.prototype.configure.call(this);this.enable()},t.prototype.getPresentScrollValue=function(){var i=this.config.xAxis,n=i.getVisibleConfig(),t=i.getLimit(),r=n.maxValue-n.minValue,u=t.max-t.min;return(n.minValue-t.min)/(u-r)},t.prototype.start=function(n){var i,r,t=this.getFromEnv("chart"),f=this.config;i=u.getMouseCoordinate(t.getFromEnv("chart-container"),n.originalEvent,t);f.previousX=i.chartX;f.presentScrollValue=r=this.getPresentScrollValue();t.fireChartInstanceEvent("scrollStart",{scrollPosition:r})},t.prototype.move=function(n){var a,t=this.config,c=this.getFromEnv("chart"),o=t.xAxis,v=o.getChildren("scrollBar")&&o.getChildren("scrollBar")[0],p=v&&v.getChildren("scrollAnchor")[0],l=o.config.axisRange,y=u.getMouseCoordinate(c.getFromEnv("chart-container"),n.originalEvent,c).chartX,f=(y-t.previousX)/t.plotDifference,e=o.getVisibleConfig(),w=t.previousScrollValue=t.presentScrollValue,i=e.minValue-f,s=t.axisMin,h=t.axisMax,r=e.maxValue-f;i<s&&s===e.minValue||r>h&&h===e.maxValue||(i<s?(r+=f,r-=f=e.minValue-s,i=s):h<r&&(i+=f,i+=f=h-e.maxValue,r=h),a=(i-l.min)/(l.max-l.min-(r-i)),p.config.scrollPosition=a,c.getFromEnv("animationManager").setAnimationState("scroll"),o.setVisibleConfig(i,r),c.fireChartInstanceEvent("onScroll",{scrollPosition:w}),t.previousX=y,t.presentScrollValue=this.getPresentScrollValue())},t.prototype.end=function(){var n=this.config;this.getFromEnv("chart").fireChartInstanceEvent("scrollEnd",{previousScrollPosition:n.previousScrollValue,scrollPosition:n.presentScrollValue})},t.prototype.setControl=function(){var n=this.getLinkedParent(),t=this.controlArr;n.releaseControl(t);this.isEnabled()&&n.getControl(t)},t.prototype.draw=function(){var n=this.config,t=this.getFromEnv("canvas").getAxes().filter(function(n){return!n.isY}),i=n.xAxis=t&&t[0]&&t[0].axis,r=i.config.axisRange;n.plotDifference=i.getPixel(1)-i.getPixel(0);n.axisMin=r.min;n.axisMax=r.max},t}(o["default"]);t["default"]=f},function(n,t,i){"use strict";var r,u;t.__esModule=!0;r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var t=window,h=t.navigator.userAgent,c=/msie/i.test(h)&&!t.opera,o=Math,l=o.min,a=o.round,i=t.parseFloat,f=String,e="rgba(192,192,192,"+(c?.002:1e-6)+")",s={enabled:!1,"false":!1,0:!1,disabled:!0,"true":!0,1:!0};n.define&&n.define([{name:"button",button:function(t,i,u,f,o,s){var l,a=i,h=this.group("button",a),y=t.labelFill,p=t.symbolFill,w=t.fill,b=t.button[5],k=t.button[6],d=t.hoverFill,g=t.stroke,nt=t["symbol-stroke"],tt=t["stroke-width"],it=t["symbol-stroke-width"],v=t.config,c;"object"===(void 0===t?"undefined":r(t))&&t.button&&(c=t.button,t=c[0],i=c[1],u=c[2],f=c[3],o=c[4],a=c[5]);for(l in a=a||s,h._.button={bound:this.rect(h),tracker:this.rect(h).attr({fill:e,stroke:e,curs
vendor: 4,480 bytes, line 35
35or:"pointer"}).data("compositeButton",h)},!n.is(o,"object")&&(o={}),n.fn.button.fn)h[l]=n.fn.button.fn[l];for(l in n.fn.button.ca)h.ca[l]=n.fn.button.ca[l];return v&&h.attr({config:v}),h.attr({"button-padding":[o.horizontalPadding,o.verticalPadding],"button-label":u,"button-label-size":b,"button-label-family":k,"button-symbol":f,"button-disabled":o.disabled||"false","button-symbol-position":o.symbolPosition,"button-symbol-padding":o.symbolPadding}).attr("button-repaint",[t,i,o.width,o.height,o.r]).attr({labelFill:y,symbolFill:p,fill:w,hoverFill:d,stroke:g,"symbol-stroke":nt,"stroke-width":tt,"stroke-linecap":"round","symbol-stroke-width":it})},data:{hoverin:function(){var i=this,t=i._.button,r=t.hoverbackIn,n=i._hover||{};n.fill||n["fill-symbol"]||n.stroke||n["stroke-width"]||n.cursor||n.labelFill||n["symbol-stroke"]?(n.fill&&i.bottom.attr("fill",n.fill)&&!n["fill-symbol"]&&t.symbol.attr("fill",n.fill),n["fill-symbol"]&&t.symbol.attr("fill",n["fill-symbol"]),n.stroke&&i.bottom.attr("stroke",n.stroke)&&t.symbol.attr("stroke",n.stroke),n["stroke-width"]&&i.bottom.attr("stroke-width",n["stroke-width"])&&t.symbol.attr("stroke-width",n["stroke-width"]),n.cursor&&t.tracker.attr("cursor",n.cursor),n.labelFill&&t.label&&t.label.attr("fill",n.labelFill),n["symbol-stroke"]&&t.symbol.attr("stroke",n["symbol-stroke"]),r&&r()):r&&!1===r(arguments)||i.attr("fill","hover");i.hovered=!0},hoverout:function(){var t=this,i=t._.button,r=i.hoverbackOut,n=t._normal||{};n.fill||n["fill-symbol"]||n.stroke||n["stroke-width"]||n.cursor||n.labelFill||n["symbol-stroke"]?(n.fill&&t.bottom.attr("fill",n.fill)&&!n["fill-symbol"]&&i.symbol.attr("fill",n.fill),n.stroke&&t.bottom.attr("stroke",n.stroke)&&i.symbol.attr("stroke",n.stroke),n["fill-symbol"]&&i.symbol.attr("fill",n["fill-symbol"]),n["stroke-width"]&&t.bottom.attr("stroke-width",n["stroke-width"])&&i.symbol.attr("stroke-width",n["stroke-width"]),n["symbol-stroke"]&&i.symbol.attr("stroke",n["symbol-stroke"]),n.labelFill&&i.label&&i.label.attr("fill",n.labelFill),n.cursor&&i.tracker.attr("cursor",n.cursor),r&&r()):r&&!1===r(arguments)||t.attr("fill",t.pressed||t.active?"active":"normal");t.hovered=!1},mousedown:function(){var i=this,t=i._.button,n=i._pressed||{};n.fill||n["fill-symbol"]||n.stroke||n["stroke-width"]||n.cursor||n.labelFill||n["symbol-stroke"]?(n.fill&&i.bottom.attr("fill",n.fill)&&!n["fill-symbol"]&&t.symbol.attr("fill",n.fill),n.stroke&&i.bottom.attr("stroke",n.stroke)&&t.symbol.attr("stroke",n.stroke),n["fill-symbol"]&&t.symbol.attr("fill",n["fill-symbol"]),n["stroke-width"]&&i.bottom.attr("stroke-width",n["stroke-width"])&&t.symbol.attr("stroke-width",n["stroke-width"]),n.labelFill&&t.label&&t.label.attr("fill",n.labelFill),n["symbol-stroke"]&&t.symbol.attr("stroke",n["symbol-stroke"]),n.cursor&&t.tracker.attr("cursor",n.cursor)):i.attr("fill","active");i.pressed=!0},mouseup:function(){var t=this,i=t._.button,r=i.callback,n=t._normal||{};n.fill||n["fill-symbol"]||n.stroke||n["stroke-width"]||n.cursor||n.labelFill||n["symbol-stroke"]?(n.fill&&t.bottom.attr("fill",n.fill)&&!n["fill-symbol"]&&i.symbol.attr("fill",n.fill),n.stroke&&t.bottom.attr("stroke",n.stroke)&&i.symbol.attr("stroke",n.stroke),n["fill-symbol"]&&i.symbol.attr("fill",n["fill-symbol"]),n["stroke-width"]&&t.bottom.attr("stroke-width",n["stroke-width"])&&i.symbol.attr("stroke-width",n["stroke-width"]),n.labelFill&&i.label&&i.label.attr("fill",n.labelFill),n["symbol-stroke"]&&i.symbol.attr("stroke",n["symbol-stroke"]),n.cursor&&i.tracker.attr("cursor",n.cursor)):t.attr("fill",(t.hovered?"hover":t.active&&"active")||"normal");t.pressed=!1;r&&r(arguments)},mousemove:function(){var n=this._.button.mousemove;n&&n(arguments)}},fn:{tooltip:function(){return n.el.tooltip&&n.el.tooltip.apply(this._.button.tracker,arguments),this},buttonclick:function(n,t){var i=this,r=i._.button;return t=t||i,r.callback=function(){return n.apply(t,arguments)},i},labelcss:function(){var t=this._.button,n=t.label;return t.cssArg=arguments,n&&n.css.apply(n,arguments),this.attr("button-repaint",this.attrs["button-repaint"])},buttonhover:function(n,t,i,r,u,f){var e=this,o=e._.button;return i=i||e,r=r||e,f=f||e,u&&(o.mousemove=function(){return u.apply(f,arguments)}),o.hoverbackIn=function(){return n.apply(i,arguments)},o.hoverbackOut=function(){return t.apply(r,arguments)},e},remove:function(){var t,r=this,i=r._.button;for(t in r.attr("button-disabled","true"),i)i[t]&&i[t].remove&&i[t].remove(),i[t]=null;delete r._.button;
35n.el.remove.apply(r,arguments)}},ca:{"button-active":function(n){var t=this;t.attr("fill",(t.active=!!n)?"active":t.hovered?"hover":"normal")},"button-disabled":function(n){var i=this,h=i.paper,u=i._.button,f=u.tracker,o=i.attrs["button-disabled"],r=h.button.data,t=i._disabled||{};if(o=s[o],void 0!==(n=s[n])&&n!==o)switch(n){case!0:t.fill||t.stroke||t["stroke-width"]||t.cursor?(t.fill&&i.bottom.attr("fill",t.fill)&&u.symbol.attr("fill",t.fill),t.stroke&&i.bottom.attr("stroke",t.stroke)&&u.symbol.attr("stroke",t.stroke),t["stroke-width"]&&i.bottom.attr("stroke-width",t["stroke-width"]&&u.symbol.attr("fill",t.fill)),t.cursor&&u.tracker.attr("cursor",t.cursor)):f.attr("fill","rgba(204,204,205,.5)");f.off("fc-mousedown",r.mousedown).off("fc-unmouseup",r.mouseup).unhover(r.hoverin,r.hoverout).unmousemove(r.mousemove);break;case!1:f.attr("fill",e).on("fc-mousedown",r.mousedown,i).on("fc-mouseup",r.mouseup,i).hover(r.hoverin,r.hoverout,i,i).mousemove(r.mousemove,i)}},"button-label":function(n){var i=this,r=i._.button,o=i.attrs,t=r.label,u=r.cssArg,e=i.attrs["button-repaint"];"none"===(n=f(n||""))?t&&(r.label=t.remove()):n&&(!t&&(t=r.label=i.paper.text(i).insertBefore(r.tracker)),t.attr({text:n,"text-anchor":"middle","vertical-align":"middle"}),u&&u.length&&t.css.apply(t,u));e&&o["button-label"]!==n&&i.attr("button-repaint",e)},"button-label-size":function(n){var t=this,u=t._.button,f=t.attrs,i=u.label,r=t.attrs["button-label-size"];i&&i.attr({"font-size":n});r&&f["button-label-size"]!==n&&t.attr("button-label-size",r)},"button-label-family":function(n){var t=this,u=t._.button,f=t.attrs,i=u.label,r=t.attrs["button-label-family"];i&&(void 0===n&&(n="sans-serif"),i.attr({"font-family":n}),r&&f["button-label-family"]!==n&&t.attr("button-label-family",r))},"button-symbol":function(n){var t=this,i=t._.button,r=i.symbol,u=t.attrs["button-repaint"];"none"===(n=f(n||""))?(r&&(i.symbol=r.remove()),delete i.symbol):n&&!r&&(r=i.symbol=t.paper.symbol(t).insertAfter(i.bound));u&&t.attr("button-repaint",u)},"button-symbol-position":function(n){return{"button-symbol-position":{top:"top",right:"right",bottom:"bottom",left:"left",none:"none"}[f(n).toLowerCase()]||"none"}},"button-symbol-padding":function(n){return{"button-symbol-padding":i(n)}},"button-padding":function(n,t){return{"button-padding":[(null===n||void 0===n)&&(n=5)||i(n),(null===t||void 0===t)&&n||i(t)]}},"button-repaint":function(t,i,r,f,e){var v,y,p,o,h,d,c,w=this._.button,it=w.bound,s=w.label,tt=w.symbol,k=this.attrs,g=k["button-padding"],nt=g[0],b=g[1];if(void 0===t&&(t=0),void 0===i&&(i=0),void 0!==r&&void 0!==f||(d=s&&s.getBBox()||{width:0,height:0},void 0===r&&(r=2*nt+d.width),void 0===f&&(f=2*b+d.height)),(c=n.crispBound(t,i,r,f,it.attr("stroke-width"))).r=e=u.pluck(e,a(.1*l(f,r))),t=c.x,i=c.y,r=c.width,f=c.height,s&&s.attr({x:t+r/2,y:i+f/2}),tt){switch(!n.is(h=k["button-symbol-padding"],"finite")&&(h=.2*f),o=.5*(p=f-b),k["button-symbol-position"]+(s?"+":"-")){case"right+":v=t+(r+=2*o+b)-o-nt;y=i+.5*f;s.attr("transform",["t",-(p+h),0]);break;case"left+":r+=2*o+b;v=t+nt+o;y=i+.5*f;s.attr("transform",["t",p+h,0]);break;case"top+":f+=2*o+h;v=t+.5*r;y=i+g[1]+o;s.attr("transform",["t",0,p+h]);break;case"bottom+":v=t+.5*r;y=i+(f+=2*o+h)-b-o;s.attr("transform",["t",0,-(p+h)]);break;default:v=t+.5*r;y=i+.5*f}tt.attr("symbol",[k["button-symbol"],v,y,o,r,f])}w.bound.attr(c);w.tracker.attr(c)},fill:function(t){var f=!(arguments.length>1&&arguments[1]!==undefined)||arguments[1],r=this,i=r._.button,e=i.bound,u={normal:i.gradient,active:i.gradientActive,hover:i.gradientHover}[t];return u||(f||((t=n.getRGB(t)).error&&(t=n.color("#cccccc")),t="opacity"in t?"rgba("+[t.r,t.g,t.b,t.opacity]+")":"rgb("+[t.r,t.g,t.b]+")"),i.gradient=f?t:[90,n.tintshade(t,-.8).rgba+":0",n.tintshade(t,.8).rgba+":100"].join("-"),i.gradientActive=[270,n.tintshade(t,-.8).rgba+":0",n.tintshade(t,.8).rgba+":100"].join("-"),u=(r.pressed||r.active)&&i.gradientActive||r.hovered&&i.gradienthover||i.gradient),e.attr("fill",u),!1},hoverFill:function(t){var i=this._.button;return t="opacity"in(t=n.getRGB(t))?"rgba("+[t.r,t.g,t.b,t.opacity]+")":"rgb("+[t.r,t.g,t.b]+")",i.gradientHover=t,!1},labelFill:function(n){var t=this._.button,i=t.label;return i&&n&&(t.labelFill=n,i.attr("fill",n)),!1},symbolFill:function(n){var t=this._.button,i=t.symbol;return i&&n&&(t.symbolFill=n,i.attr("fill",n)),!1},stroke:function(t){var i=this._.button;return(t=n.color(t)).error&&(t=n.color("#999999")),i.bound.attr("stroke",t),!1},"symbol-stroke":function(n){var t=this._.button.symbol;return t&&n&&t.attr("stroke",n),!1},"stroke-width":function(n){var t=this._.button;return t.bound.attr("stroke-width",n),t.tracker.attr("stroke-width",n),!1},"symbol-stroke-width":function(n){var t=this._.button.symbol;return t&&n&&t.attr("stroke-width",n),!1},config:function(n){var t=this;
35n.hover&&(t._hover={fill:n.hover.fill,stroke:n.hover.stroke,"stroke-width":n.hover["stroke-width"],cursor:n.hover.cursor,"fill-symbol":n.hover["fill-symbol"],"symbol-stroke":n.hover["symbol-stroke"],labelFill:n.hover.labelFill});n.disabled&&(t._disabled={fill:n.disabled.fill,stroke:n.disabled.stroke,"stroke-width":n.disabled["stroke-width"],"symbol-stroke":n.disabled["symbol-stroke"],cursor:n.disabled.cursor,labelFill:n.disabled.labelFill});n.pressed&&(t._pressed={fill:n.pressed.fill,stroke:n.pressed.stroke,"stroke-width":n.pressed["stroke-width"],cursor:n.pressed.cursor,"fill-symbol":n.pressed["fill-symbol"],"symbol-stroke":n.pressed["symbol-stroke"],labelFill:n.pressed.labelFill});n.normal&&(t._normal={fill:n.normal.fill,stroke:n.normal.stroke,"stroke-width":n.normal["stroke-width"],cursor:n.normal.cursor,"fill-symbol":n.normal["fill-symbol"],"symbol-stroke":n.normal["symbol-stroke"],labelFill:n.normal.labelFill});n.symbol&&(n.symbol={stroke:n.normal.stroke,"stroke-width":n.normal["stroke-width"]})}}}])};u=i(125)},function(n,t,i){"use strict";t.__esModule=!0;var u=i(125),r=function(n,t){var r=n.sender,e=r.getLinkedItem("owner"),o=r.getFromEnv("chart"),i=e&&e.getEventArgs?e.getEventArgs(r):{},f=u.getMouseCoordinate(r.getFromEnv("chart-container"),n,o);i.chartX=f.chartX;i.chartY=f.chartY;i.pageX=f.pageX;i.pageY=f.pageY;i.id=o.getId();i.legendItemId=r.getId();i.legendItemIndex=r.config.index;o.fireChartInstanceEvent(t,i,n)};t["default"]={extension:function(n){var t=void 0;n.addEventListener("instantiated",function(n){var i;"legendItem"===(t=n.sender).getType()&&((i=t).addEventListener("fc-click",function(n){r(n,"legendItemClicked")}),i.addEventListener("fc-mouseover",function(n){r(n,"legendItemRollover")}),i.addEventListener("fc-mouseout",function(n){r(n,"legendItemRollout")}))})},name:"legendEventManagerLinker",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function s(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.apiInstance.getChildren("exportModule");return(n=n&&n[0])!==o&&(n.exportChart(t),!0)}t.__esModule=!0;var r,u=i(254),f=(r=u)&&r.__esModule?r:{"default":r},e=function(n){return"chartAPI"===n.getType()},o=void 0;t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){var t=n.sender;e(t)&&t.registerFactory("export",function(n){var i=void 0;t.getFromEnv("chartInstance").exportChart=s;!n.getChildren("export")&&Number(n.getFromEnv("dataSource").chart.exportenabled)&&(i=new f["default"],n.attachChild(i,"exportModule"),i.addToEnv("chartInstance",n.getFromEnv("chartInstance")),i.addToEnv("chartMenuList",n.getFromEnv("chartMenuList")),i.configure({chartConfig:n.getFromEnv("dataSource").chart}));n.getChildren("export")&&i&&i.configure({chartConfig:n.getFromEnv("dataSource").chart})})})},name:"Export",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f=i(125),c=i(138),u=i(255),o=i(257),r=i(258); 36/** ! 37 * @license FusionCharts JavaScript Library 38 * Copyright FusionCharts Technologies LLP 39 * License Information at <http://www.fusioncharts.com/license> 40 * 41 * @version //? write(JSON.parse(require('fs').readFileSync('./package.json')).version); 42 */ 43var a=/\s\bx\b=['"][^'"]+?['"]/gi,v=/\s\by\b=['"][^'"]+?['"]/gi,e=window,s=e.document,y="https:"===e.location.protocol?"https://export.api3.fusioncharts.com/":"http://export.api3.fusioncharts.com/",p="https:"===e.location.protocol?"https://export.api3.fusioncharts.com/api/v1.0/logs":"http://export.api3.fusioncharts.com/api/v1.0/logs",w=e.navigator.userAgent.match(/(iPad|iPhone|iPod)/g),b=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.config={exportOption:{},chartConfig:{caption:"",subcaption:"",width:"",height:""}},i}return l(t,n),t.prototype.getName=function(){return"exportModule"},t.prototype.getType=function(){return"extension"},t.prototype.configureMenuBar=function(){var t=this,p=t.getFromEnv("chart"),o=t.getFromEnv("toolbar"),w=!!e.btoa,s=t.getFromEnv("chart-attrib").exportformats,b=o.getChild("hamburgerMenu-"+o.getId()+"-"+p.getId()+"-0"),h=void 0,c=void 0,n=void 0,f=void 0,l=void 0,a=void 0,i={PNG:"Export As "+r.EXPORTFORMAT.PNG.toUpperCase(),JPG:"Export As "+r.EXPORTFORMAT.JPG.toUpperCase(),PDF:"Export As "+r.EXPORTFORMAT.PDF.toUpperCase(),SVG:"Export As "+r.EXPORTFORMAT.SVG.toUpperCase(),XLS:"Export As "+r.EXPORTFORMAT.XLS.toUpperCase()},v=void 0,y=[],u=void 0;if(t.config.exportOption.exportenabled){if(a=function(n){return function(){t.config.exportOption.exportformat=n;t.exportChart({})}},s)for(f=0,l=(h=s.split("|")).length;f<l;f++)i[n=(c=h[f].split("="))[0].toUpperCase()]&&(i[n]=c[1]||i[n]),i[n]&&(u||(u={}))&&(u[n]=!0);for(n in i)("XLS"!==n||w)&&(!u||u[n])&&(v={name:i[n],handler:a(n),action:"click"},y.push(v));b.appendInMenu(y)}},t.prototype.configure=function(n){var u,i,e,o=this.getFromEnv("chartInstance"),s=this.config,h=s.chartConfig,t=s.exportOption;(n=n.chartConfig).caption&&(h.caption=f.pluck(n.caption,""));n.subcaption&&(h.subcaption=f.pluck(n.subcaption,""));t.exportenabled=f.pluckNumber(n.exportenabled,0);t.exportshowmenuitem=f.pluckNumber(n.exportshowmenuitem,1);t.exportformat=f.pluck(n.exportformat,r.EXPORTFORMAT.PNG);t.exporthandler=f.pluck(n.html5exporthandler,n.exporthandler,y);t.exportaction=(u=void 0,n.exportaction&&"string"==typeof n.exportaction?(u=n.exportaction.toLowerCase(),[r.EXPORTACTION.DOWNLOAD,r.EXPORTACTION.SAVE,r.EXPORTACTION.DOWNLOADSAVE].indexOf(u)>=0?u:r.EXPORTACTION.DOWNLOAD):r.EXPORTACTION.DOWNLOAD);t.exporttargetwindow=f.pluck(n.exporttargetwindow,w?"_parent":"_self");t.exportfilename=f.pluck(n.exportfilename,"FusionCharts");t.exportparameters=f.pluck(n.exportparameters,"");t.exportcallback=f.pluck(n.exportcallback,"");t.exportwithimages=f.pluckNumber(n.exportwithimages,1);t.exportmode=(i=void 0,"undefined"!=typeof n.exportatclientside&&(i={1:r.EXPORTMODE.AUTO,0:r.EXPORTMODE.AUTO}[n.exportatclientside]),i=(i=n.exportmode||i||r.EXPORTMODE.AUTO).toLowerCase());t.logenabled=f.pluckNumber(n.logenabled,0);t.loghandler=f.pluck(n.html5loghandler,n.loghandler,p);t.logmode=void 0!==(e=n.logmode)&&"string"==typeof e&&e.toUpperCase()in r.LOGMODE?r.LOGMODE[e.toUpperCase()]:r.LOGMODE.AUTO;t.bgcolor=function(n){var t=f.pluckNumber(n.options.containerBackgroun
43dOpacity,1);return n.jsVars.transparent||0===t?"":n.options.containerBackgroundColor||"#FFFFFF"}(o);t.bgalpha=function(n){return n.jsVars.transparent?0:f.pluckNumber(n.options.containerBackgroundOpacity,1)+""}(o);t.exportshowmenuitem&&this.configureMenuBar()},t.prototype.exportChart=function(n){var nt,d=this.getFromEnv("chartInstance"),l=this.getFromEnv("chart"),ut=this.config.exportOption,ft="object"===(void 0===(nt=n)?"undefined":h(nt))&&function(n){var t={};for(var i in n)t[i.toLowerCase()]=n[i];return t}(n)||{},i=f.extend2(f.extend2({},ut),ft),c=(i.exportformat||r.EXPORTFORMAT.PNG).toLowerCase(),et=i.exporthandler,t=i.exportaction,ot=i.exporttargetwindow||"",b=i.exportfilename,st=i.exportparameters,ht=i.exportcallback,tt=i.exportwithimages,k=i.exportmode,it=i.logenabled,ct=i.loghandler,y=i.logmode,p=void 0,rt=void 0,g=void 0,w=this;l.fireChartInstanceEvent("beforeExport",i,void 0,function(){var vt,bt=d.id,kt=w.config.chartConfig.caption,dt=w.config.chartConfig.subcaption,n=this.apiInstance.getFromEnv("paper"),gt=this.apiInstance.getFromEnv("core-options")["export"].useCanvas,ut=void 0,h=void 0,nt=void 0,ni=l.getChildren("chartMenuBar")[0],oi=ni.getChild("hamburgerMenu-"+ni.getId()+"-"+l.getId()+"-0").getChild("listContainer"),yt=void 0,si=u.isCanvasElemSupported(),pt={DOMId:bt,height:n.height,width:n.width,fileName:b+"."+c,statusCode:void 0,statusMessage:void 0,notice:void 0},ft={exportAction:t,exportTargetWindow:ot,exportCallback:ht,fusionCharts:d,paper:n,chartId:bt,exportHandler:et,logEnabled:it,logMode:y,logHandler:ct},lt=function(u,e,o){var h,l,a,s=void 0;return o=o||t,h=t,l=r.createExportActionOldString(t),a=["exportfilename="+b,"exportformat="+c,"exportaction="+l,"exportactionnew="+h,"configuredexportaction="+o,"exportparameters="+st].join("|"),s=!!it,y===r.LOGMODE.CLIENT&&(s=!1),{charttype:d.chartType(),stream_type:u||"",stream:e||"",meta_bgColor:i.bgcolor||"",meta_bgAlpha:i.bgalpha||"1",meta_DOMId:d.id,meta_width:n.width||w.config.chartConfig.width,meta_height:n.height||w.config.chartConfig.height,chart_caption:kt,chart_sub_caption:dt,is_single_export:!0,is_full_version:!1,version:f.PROJECT_VERSION,user_time_zone:-(new Date).getTimezoneOffset(),log_enabled:s,parameters:a}},wt=function(){var n=t;return{chartType:d.chartType(),chartCaption:kt,chartSubCaption:dt,isSingleExport:!0,isFullVersion:!1,exportAction:n,userTimeZone:-(new Date).getTimezoneOffset(),exportFileName:[b,c].join("."),exportFormat:c,version:f.PROJECT_VERSION}},ti=function(n){var t=lt(r.EXPORTFORMAT.SVG,n);u.downloadCharts(null,null,null,t,ft)},ii=function(t,i,f){var e=void 0;(e=s.createElement("canvas")).width=n.width;e.height=n.height;u.drawSvgOnCanvas({svg:nt,canvas:e,x:0,y:0,width:n.width,height:n.height,useCanvas:gt},function(){switch(t){case r.EXPORTFORMAT.PNG:i(t,e.toDataURL("image/png"),b,f);break;case r.EXPORTFORMAT.JPEG:case r.EXPORTFORMAT.PDF:default:i(t,e.toDataURL("image/jpeg"),b,f)}})},hi=function(t,i,f){var s,e=void 0;s=b+"."+c;c===r.EXPORTFORMAT.SVG?(e=r.svgStrToDataUrl(t),ut=f===r.EXPORTMODE.AUTO?lt("IMAGE-DATA",e):null,u.downloadCharts("url",e,s,ut,i)):ii(c,function(){!function(t,i,f,e,s){var h=f+"."+t;t===r.EXPORTFORMAT.PDF&&(o.JpegToPdf(n.height,n.width),o.addImage(i),i=o.getDataUrl());ut=s===r.EXPORTMODE.AUTO?lt("IMAGE-DATA",i):null;u.downloadCharts("url",i,h,ut,e)}(arguments[0],arguments[1],arguments[2],arguments[3],f)},i)},ri=function(n){l.fireChartInstanceEvent("exportDataReady",n)},at=function(n){n===r.LOGMODE.CLIENT&&r.logCharts(wt(),ft)},ui=void 0,fi=void 0,ei=void 0;if("xls"===c){if("undefined"==typeof e.btoa)return l.fireChartInstanceEvent("exportCancelled",i),!1;rt=d.getCSVData();ri();vt=0;p=[];rt.replace(/[^\r\n]+/g,function(n){p[vt]=[];p[vt]=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/).map(function(n){return n.replace(/"/g,"")});vt+=1});g=function(){var n;return"data:application/vnd.ms-excel;base64,"+(n="<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\"><html xmlns:o='urn:schemas-microsoft-com:office:office'xmlns:x='urn:schemas-microsoft-com:office:excel'xmlns='http://www.w3.org/TR/REC-html40'><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}<\/x:Name><x:WorksheetOptions><x:DisplayGridlines/><\/x:WorksheetOptions><\/x:ExcelWorksheet><\/x:ExcelWorksheets><\/x:ExcelWorkbook><\/xml><![endif]--><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><\/head><body>"+function(){var f,e,r=void 0,i=void 0,n=void 0,t=void 0,u=void 0;if(!p.length)return"";for(f="<table align='center' >",n=0,e=p.length;n<e;n+=1)if(0===n){for(r="<thead valign='top'><tr>",t=0,u=p[n].length;t<u;t+=1)r+="<th>"+p[n][t]+"<\/th>";r+="<\/tr><\/thead>";i="<tbody>"}else{for(i+="<tr>",t=0,u=p[n].length;t<u;t+=1)i+="<td>"+p[n][t]+"<\/td>";i+="<\/tr>"}return f+r+(i+="<\/tbody>")+"<\/table>"}()+"<\/body><\/html>",e.btoa(e.unescape(encodeURIComponent(n))))}();ui="undefined"!=typeof e.btoa&&("Chrome"===u.browserDetails.name||"Firefox"===u.browserDetails.name||"Safari"===u.browserDetails.name||"Edge"===u.browserDetails.name||"ie"===u.browserDetails.name);"server"!==k&&ui?(t!==r.EXPORTACTION.DOWNLOAD&&t!==r.EXPORTACTION.DOWNLOADSAVE||(u.downloadCharts("url",g,b+"."+c,null,ft),l.fireChartInstanceEvent("exported",pt)),t===r.EXPORTACTION.SAVE||t===r.EXPORTACTION.DOWNLOADSAVE?(fi=t,t===r.EXPORTACTION.DOWNLOADSAVE&&(t=r.EXPORTACTION.SAVE),ut=lt("IMAGE-DATA",g,fi),u.downloadCharts(null,null,null,ut,ft),at(y)):y!==r.LOGMODE.SERVER&&r.logCharts(wt(),ft)):(ut=lt("IMAGE-DATA",g),u.downloadCharts(null,null,null,ut,ft),at(y))}else(yt=oi.getLinkedParent().getGraphicalElement("button","button"))&&yt.attr("visibility","hidden"),h=n.toSVG(tt),nt=(nt=n.toSVG(tt&&si)).replace(/ /gi," "),yt&&yt.attr("visibility","visible"),h=(h=(h=h.replace(/(\sd\s*=\s*["'])[M\s\d\.]*(["'])/gi,"$1M 0 0 L 0 0$2")).replace(/NS\d+:/gi,"xlink:")).replace(/ /gi," "),nt=(nt=(nt=nt.replace(/NS\d+:/gi,"xlink:")).replace(/(\sd\s*=\s*["'])[M\s\d\.]*(["'])/gi,"$1M 0 0 L 0 0$2")).replace(/(xlink:title\s*=\s*)['"].*["']/gi,""),h=(h=(h=(h=(h=(h=(h=(h=h.replace(/[\w\-]+\=\"undefined\"/gi,"")).replace(/(xlink:title\s*=\s*)['"].*["']/gi,"")).replace(/rgba\(([^\)]+)\)/gi,function(n){return"#"+new f.RGBtoHex(n.split(","))})).replace(/<svg[^>]+/i,function(t){return t.match(/height/i)||!n.height&&!w.config.chartConfig.height||(t+=' height="'+(n.height||w.config.chartConfig.height)+'"'),t.match(/width/i)||!n.width&&!w.config.chartConfig.width||(t+=' width="'+(n.width||w.config.chartConfig.width)+'"'),t})).replace(/(([\w]+\-)?opacity\s*=\s*)['"][\d\.]+e[\-\+][\d]+["']/gi,'$1"0.001"')).replace(/(([\w]+\-)?opacity\s*:\s*)[\d\.]+e[\-\+][\d]+/gi,"$10.001")).replace(/<text[^\>]+/gi,function(n){return(n=(n=(n=(n=(n=(n=(n=n.replace(/stroke\=[\"\']([a-z0-9\#]+)?[\"\']/gi,"")).replace(/stroke\s*\:\s*([a-z0-9\#]+)?;?/gi,"")).replace(/stroke-width\=[\"\']([a-z0-9\#]+)?[\"\']/gi,"")).replace(/stroke-width\s*\:\s*([a-z0-9\#]+)?;?/gi,"")).replace(/stroke-opacity\=[\"\']([a-z0-9\#]+)?[\"\']/gi,"")).replace(/stroke-opacity\s*\:\s*([a-z0-9\#]+)?;?/gi,"")).replace(/(<text[^\>]+fill\=)([\"\'][^\"\']+[\"\'])([^\>]+)/gi,'$1$2 stroke=$2 stroke-width="0.2"$3')).replace(/(<text[^\>]+fill-opacity\=)([\"\'][^\"\']+[\"\'])([^\>]+)/gi,"$1$2 stroke-opacity=$2 $3")})).replace(/<(\b[^<>s\s]+\b)[^\>]+?opacity\s*=\s*['"][^1][^\>]+?(\/>|>[\s\r\n]*?<\/\1>)/gi,function(n,t){var i=void 0;return i=' opacity="1" stroke-opacity="1" fill="#cccccc" stroke-width="0" r="0"',n+"<"+t+(a.exec(n)||"")+(v.exec(n)||"")+(i+=' height="0.5" width="0.5" d="M 0 0 L 1 1" />')}),h=r.makeImageUrlsAbsolute(h),nt=r.makeImageUrlsAbsolute(nt),ei=k===r.EXPORTMODE.SERVER,r.cacheAllImages(h,ei,function(){ut=lt(r.EXPORTFORMAT.SVG,h);ri(ut);ut=null;var i=void 0,f="undefined"!=typeof e.btoa&&("Chrome"===u.browserDetails.name||"Firefox"===u.browserDetails.name||"Safari"===u.browserDetails.name||"Edge"===u.browserDetails.name||"ie"===u.browserDetails.name),a=r.hasUndownloadableImage(h);(k===r.EXPORTMODE.CLIENT||k===r.EXPORTMODE.AUTO&&!a)&&f?(nt=r.replaceImagesWithNonDataUrl(nt),t!==r.EXPORTACTION.DOWNLOAD&&t!==r.EXPORTACTION.DOWNLOADSAVE||(hi(nt,ft,k),l.fireChartInstanceEvent("exported",pt)),t===r.EXPORTACTION.SAVE||t===r.EXPORTACTION.DOWNLOADSAVE?(i=t,t===r.EXPORTACTION.DOWNLOADSAVE&&(t=r.EXPORTACTION.SAVE),function(n,t,i){var u=void 0;c===r.EXPORTFORMAT.SVG?(u=r.svgStrToDataUrl(n),i(u,t)):ii(c,function(){i(arguments[1],t)},t)}(nt,ft,function(n,t){ut=lt("IMAGE-DATA",n,i);u.downloadCharts(null,null,null,ut,t);at(y)}),l.fireChartInstanceEvent("exported",pt)):y!==r.LOGMODE.SERVER&&r.logCharts(wt(),ft)):k===r.EXPORTMODE.AUTO?(!function(t){var i=void 0,f=void 0,h=r.hasUndownloadableImage(t);u.browserDetails.hasCanvas&&"undefined"!=typeof e.btoa?((i=s.createElement("canvas")).width=n.width,i.height=n.height,t=r.embedImagesWithNonDataURL(t),nt=r.replaceImagesWithNonDataUrl(nt),h||c===r.EXPORTFORMAT.SVG?(f=lt(r.EXPORTFORMAT.SVG,t),u.downloadCharts(null,null,null,f,ft)):u.drawSvgOnCanvas({svg:nt,canvas:i,x:0,y:0,width:n.width,height:n.height,useCanvas:gt},function(){var t=void 0;switch(c){case r.EXPORTFORMAT.PNG:t=i.toDataURL("image/png");break;case r.EXPORTFORMAT.JPEG:t=i.toDataURL("image/jpeg");break;case r.EXPORTFORMAT.PDF:o.JpegToPdf(n.height,n.width);o.addImage(i.toDataURL("image/jpeg"));t=o.getDataUrl();break;default:t=i.toDataURL("image/jpeg")}f=lt("IMAGE-DATA",t);u.downloadCharts(null,null,null,f,ft)})):ti(t)}(h),at(y)):k===r.EXPORTMODE.SERVER&&(ti(h),at(y))})},function(){l.fireChartInstanceEvent("exportCancelled",i)})},t}(c.ComponentInterface);t["default"]=b},function(n,t,i){"use strict";function s(n){return n&&n.__esModule?n:{"default":n}
43}t.__esModule=!0;t.isCanvasElemSupported=t.drawSvgOnCanvas=t.browserDetails=t.downloadCharts=undefined;var l=s(i(256)),e=i(125),o=i(131),a=s(i(176));var r=window,v=r.Image,u=document,y="download",p="download-save",h=function(){var n=u.createElement("canvas");return!(!n.getContext||!n.getContext("2d"))},c=function(){var n,t=r.navigator.userAgent;return-1!==(n=t.indexOf("Edge"))?{name:"Edge",version:t.substring(n+5,n+11)}:-1!==(n=t.indexOf("Chrome"))?{name:"Chrome",version:t.substring(n+7,n+11)}:-1!==(n=t.indexOf("MSIE"))?{name:"ie",version:t.substring(n+5,n+9)}:-1!==(n=t.indexOf("rv"))&&-1!==t.indexOf("Trident")?{name:"ie",version:t.substring(n+5,n+9)}:-1!==(n=t.indexOf("Firefox"))?{name:"Firefox",version:t.substring(n+8,n+12)}:-1!==(n=t.indexOf("Safari"))?{name:"Safari",version:t.substring(n+7,n+11)}:{name:"default",version:"Not Known"}},f=c(),w=function(n,t,i){var l,o,h=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{},s=c(),a=h.chartId,f=h.exportCallback,e=h.paper;"Chrome"===s.name||"Firefox"===s.name||"Safari"===s.name?("blob"===n&&(t=r.URL.createObjectURL(t)),(o=u.createElement("a")).download=i,o.href=t,u.body.appendChild(o),o.onclick=function(){f&&r[f]&&"function"==typeof r[f]&&r[f]({statusCode:1,statusMessage:"success",DOMId:a,width:e&&e.width,height:e&&e.height});o.parentNode.removeChild(o)},o.click()):"ie"!==s.name&&"Edge"!==s.name||r.navigator.msSaveBlob&&(l="url"===n?function(n){var i,f,u,t;for(i=n.split(",")[0].indexOf("base64")>=0?r.atob(n.split(",")[1]):r.unescape(n.split(",")[1]),f=n.split(",")[0].split(":")[1].split(";")[0],u=new Uint8Array(i.length),t=0;t<i.length;t++)u[t]=i.charCodeAt(t);return new r.Blob([u],{type:f})}(t):t,r.navigator.msSaveBlob(l,i)&&f&&r[f]&&"function"==typeof r[f]&&r[f]({statusCode:1,statusMessage:"success",DOMId:a,width:e&&e.width,height:e&&e.height}))};f.hasCanvas=h();f.hasSvg=e.hasSVG;t.downloadCharts=function(n,t,i,s,h){var c;!t||(c=t,f.name.toLowerCase()==="Chrome".toLowerCase()&&function(n){for(var t,r=n.length,i=n.length-1;i>=0;i--)(t=n.charCodeAt(i))>127&&t<=2047?r++:t>2047&&t<=65535&&(r+=2),t>=56320&&t<=57343&&i--;return r}(c)>void 0)?s&&function(n,t){var s,h,w,b,k,d,g,nt,tt=t.exportAction,l=t.exportTargetWindow,i=t.exportCallback,v=t.fusionCharts.apiInstance,f=t.paper,c=t.chartId,it=t.exportHandler,rt=n.parameters;if(tt===y||tt===p){for(s in/(webkit|gecko)/gi.test(r.navigator.userAgent)&&"_self"===l&&(l=w=c+"export_iframe",nt||(nt=b=e.createElement("IFRAME",{name:w,width:"1px",height:"1px"},u.body),b.style.cssText="position:absolute;left:-10px;top:-10px;")),h=e.createElement("form",{method:"POST",action:it,target:l,style:"display:none;"},u.body),n)e.createElement("input",{type:"hidden",name:s,value:n[s]},h);return h.submit(),u.body.removeChild(h),h=void 0,d=rt.match(/exportfilename=([^|]+)/)[1],g=rt.match(/exportformat=([^|]+)/)[1],o.triggerEvent("exported",v,{DOMId:c,height:f.height,width:f.width,fileName:d+"."+g,statusCode:void 0,statusMessage:void 0,notice:void 0}),i&&r[i]&&"function"==typeof r[i]&&r[i]({statusCode:1,statusMessage:"success",DOMId:c,width:f&&f.width,height:f&&f.height}),!0}for(s in k=new a["default"](function(n){var t={};n.replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),function(n,i,r,u){t[i]=u});i&&r[i]&&"function"==typeof r[i]&&r[i](t);o.triggerEvent("exported",v,t)},function(n){var t={statusCode:0,statusMessage:"failure",error:n,DOMId:c,width:f&&f.width,height:f&&f.height};i&&r[i]&&"function"==typeof r[i]&&r[i](t);o.triggerEvent("exported",v,t,[t])}),n)n.hasOwnProperty(s)&&(n[s]=encodeURIComponent(n[s]));k.post(it,n)}(s,h):w(n,t,i,h)};t.browserDetails=f;t.drawSvgOnCanvas=function(){var u,t,e,i,n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},s=arguments[1],h=n.svg,c=n.canvas,a=n.x,y=n.y,p=n.width,w=n.height,b=n.useCanvas;"ie"===f.name||"Edge"===f.name||b?new l["default"](h,c,a,y,p,w,function(){s()}):(i=function(n){return'<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n}(h),e=i="data:image/svg+xml;base64,"+r.btoa(r.unescape(encodeURIComponent(i))),u=c.getContext("2d"),(t=new v).onload=function(){u.drawImage(t,a,y,p,w);s()},t.onerror=function(){o.raiseWarning(this,"","run","libSVGToCanvas:drawSvgOnCanvas","Unable to load image for canvas drawing. Aborting attempt.")},t.src=e)};t.isCanvasElemSupported=h},function(n,t){"use strict";t.__esModule=!0;var u,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f="undefined"!=typeof window?window:null,e=f.document,r={},i={};(u=function(n,t,i,r,f,e,o){var s={svg:"",context:"",callBack:"",imageArr:[],canvas:"",dimention:{}};if(!(this instanceof u))throw new Error("This function should be used as class");this._getStore=function(n){return"undefined"!=typeof s[n]&&s[n]};this._setStore=function(n,t){"undefined"!=typeof s[n]&&(s[n]=t)};this._setStore("dimention",{x:i,y:r,width:f,height:e});n&&this.setSVG(n);t&&this.setContext(t);o&&this.setCallback(o);this.drawOnCanvas()}).prototype.setContext=function(n){var t;if(!n.getContext||!n.getContext("2d"))throw new Error("Please provide valid canvas");t=n.getContext("2d");this._setStore("canvas",n);this._setStore("context",t)};u.prototype.getContext=function(){return this._getStore("context")};u.prototype.setSVG=function(n){var t;if("undefined"!=typeof n.documentElement)t=n,this._setStore("svg",t);else{if("<"!==n.substr(0,1))throw new Error("Please provide valid SVG");t=i.StrToDom(n);this._setStore("svg",t)}};u.prototype.getSVG=function(){return this._getStore("svg")};u.prototype.setCallback=function(n){"function"==typeof n&&this._setStore("callBack",n)};u.prototype.getCallback=function(){return this._getStore("callBack")};u.prototype.drawOnCanvas=function(n,t,r,u,f,e,o){var s,l,a,v,y,p,h,c;n&&this.setSVG(n);t&&this.setContext(t);o&&this.setCallback(o);t=t||this._getStore("canvas");h=this._getStore("dimention");o=this.getCallback();s=this.getContext();(l=this.getSVG())&&s&&(a=(c=i.getSvgDimention(l)).width,v=c.height,r=r||h.x||0,u=u||h.y||0,f=f||h.width||a,e=e||h.height||v,y=c.width?f/a:1,p=c.height?e/v:1,i.startTransform("translate("+r+","+u+") scale("+y+","+p+")",s),s.save(),s.fillStyle="#ffffff",s.fillRect(0,0,f,e),s.restore(
43),i.storeImagesInArr(this),i.drawNodes([l],[],this,s,function(){"function"==typeof o&&o();i.resetTransform(s)}))};r.common=function(n,t,u,f,e){var v,s,c,l,a=n.childNodes,h=function(){n.attributes&&f.restore();e&&e()};for(s in t)t.hasOwnProperty(s)&&"class"!==t[s].name&&"id"!==t[s].name&&"transform"!==t[s].name&&"clip-path"!==t[s].name&&"object"===o(t[s])&&n.attributes&&!n.attributes[t[s].name]&&n.setAttribute([t[s].name],t[s].value);if(n.attributes&&n.attributes.style)for(s in c=n.attributes.style.value.replace(/;$/,"").split(";"))if(c.hasOwnProperty(s)&&(l=c[s].split(":")[0].trim(),!n.attributes[l]||"undefined"===n.attributes[l].value))try{n.setAttribute(l,c[s].split(":")[1].trim())}catch(y){}n.attributes&&(f.save(),n.attributes.transform&&i.startTransform(n.attributes.transform.value,f),n.attributes["clip-path"]&&i.applyClip(n.attributes["clip-path"].value,f,u));0===a.length||1===a.length&&!a[0].tagName?"undefined"!=typeof n.tagName?(v="draw"+n.tagName,r[v]?n.attributes.display&&"none"===n.attributes.display.value?h():r[v](n,f,u,"draw",h):h()):h():i.drawNodes(a,"svg"===n.tagName?[]:n.attributes,u,f,h)};r.drawtext=function(n,t,i,r,u){this.drawtspan(n,t,i,r,u)};r.drawtspan=function(n,t,r,u,o){var s,v,y,h,p,c=n.innerHTML||n.textContent,l=n.attributes.x?n.attributes.x.value:0,a=n.attributes.y?n.attributes.y.value:0,g=n.attributes.dx?n.attributes.dx.value:0,nt=n.attributes.dy?n.attributes.dy.value:0,w="serief",b="normal",k="16px",d=[];e.getElementsByTagName("body")[0]&&((s=f.getComputedStyle(e.getElementsByTagName("body")[0],null)).getPropertyValue("font-family")&&(w=s.getPropertyValue("font-family")),s.getPropertyValue("font-weight")&&(b=s.getPropertyValue("font-weight")),s.getPropertyValue("font-size")&&(k=s.getPropertyValue("font-size")));v=n.attributes["font-family"]?n.attributes["font-family"].value:w;y=n.attributes["font-weight"]?n.attributes["font-weight"].value:b;h=n.attributes["text-anchor"]?n.attributes["text-anchor"].value:"start";p=n.attributes["font-size"]?n.attributes["font-size"].value:k;l=Number(l)+Number(g);a=Number(a)+Number(nt);c=c.trim();h="middle"===h?"center":h;t.save();t.font=y+" "+p+" "+v;t.textAlign=h;"draw"===u&&((!n.attributes.fill||n.attributes.fill&&"none"!==n.attributes.fill.value)&&(i.applyFillEffect(n,t,r,d),t.fillText(c,l,a),i.endFillEffect(n,t)),(!n.attributes.stroke||n.attributes.stroke&&"none"!==n.attributes.stroke.value)&&(i.applyStrokeEffect(n,t,r,d),t.strokeText(c,l,a),i.endStrokeEffect(n,t)));t.restore();"function"==typeof o&&o()};r.drawcircle=function(n,t,r,u,f){var o=Number(n.attributes.cx.value),s=Number(n.attributes.cy.value),e=Number(n.attributes.r.value),h=[];t.beginPath();t.arc(o,s,e,0,2*Math.PI);i.bBoxFromPoint([o,1*o+1*e,1*o-1*e],[s,1*s+1*e,1*s-1*e],h);"draw"===u&&((!n.attributes.fill||n.attributes.fill&&"none"!==n.attributes.fill.value)&&(i.applyFillEffect(n,t,r,h),t.fill(),i.endFillEffect(n,t)),(!n.attributes.stroke||n.attributes.stroke&&"none"!==n.attributes.stroke.value)&&(i.applyStrokeEffect(n,t,r,h),t.stroke(),i.endStrokeEffect(n,t)));t.closePath();"function"==typeof f&&f()};r.drawrect=function(n,t,r,u,f){var e=Number(n.attributes.x.value),o=Number(n.attributes.y.value),c=n.attributes.rx?Number(n.attributes.rx.value):0,l=n.attributes.ry?Number(n.attributes.ry.value):0,s=Number(n.attributes.height.value),h=Number(n.attributes.width.value),a=[],v=t.lineCap;t.lineCap="square";i.bBoxFromPoint([e,e+h],[o,o+s],a);t.beginPath();t.moveTo(e+c,o);t.lineTo(e+h-c,o);t.quadraticCurveTo(e+h,o,e+h,o+l);t.lineTo(e+h,o+s-l);t.quadraticCurveTo(e+h,o+s,e+h-c,o+s);t.lineTo(e+c,o+s);t.quadraticCurveTo(e,o+s,e,o+s-l);t.lineTo(e,o+l);t.quadraticCurveTo(e,o,e+c,o);"draw"===u&&((!n.attributes.fill||n.attributes.fill&&"none"!==n.attributes.fill.value)&&(i.applyFillEffect(n,t,r,a),t.fill(),i.endFillEffect(n,t)),(!n.attributes.stroke||n.attributes.stroke&&"none"!==n.attributes.stroke.value)&&(i.applyStrokeEffect(n,t,r,a),t.stroke(),i.endStrokeEffect(n,t)));t.closePath();t.lineCap=v;"function"==typeof f&&f()};r.drawellipse=function(n,t,r,u,f){var e=Number(n.attributes.cx.value),o=Number(n.attributes.cy.value),s=Number(n.attributes.rx.value),h=Number(n.attributes.ry.value),
43c=.5522848*s,l=.5522848*h,a=e+s,v=o+h,y=[];t.beginPath();t.moveTo(e-s,o);t.bezierCurveTo(e-s,o-l,e-c,o-h,e,o-h);t.bezierCurveTo(e+c,o-h,a,o-l,a,o);t.bezierCurveTo(a,o+l,e+c,v,e,v);t.bezierCurveTo(e-c,v,e-s,o+l,e-s,o);i.bBoxFromPoint([e+s,e-s],[o+h,o-h],y);"draw"===u&&((!n.attributes.fill||n.attributes.fill&&"none"!==n.attributes.fill.value)&&(i.applyFillEffect(n,t,r,y),t.fill(),i.endFillEffect(n,t)),(!n.attributes.stroke||n.attributes.stroke&&"none"!==n.attributes.stroke.value)&&(i.applyStrokeEffect(n,t,r,y),t.stroke(),i.endStrokeEffect(n,t)));t.closePath();"function"==typeof f&&f()};r.drawimage=function(n,t,i,r,u){var f,o=n.attributes.x?Number(n.attributes.x.value):0,s=n.attributes.y?Number(n.attributes.y.value):0,h=n.attributes.height?Number(n.attributes.height.value):0,c=n.attributes.width?Number(n.attributes.width.value):0,e=i._getStore("imageArr");t.save();n.attributes.opacity&&(t.globalAlpha=n.attributes.opacity.value);n.attributes["xlink:href"]?(f=n.attributes["xlink:href"].value,"complete"===e[f].status?(t.drawImage(e[f].obj,o,s,c,h),t.globalAlpha=1,t.restore(),"function"==typeof u&&u()):"error"===e[f].status?(t.globalAlpha=1,t.restore(),"function"==typeof u&&u()):"progress"===e[f].status?(e[f].callback=function(){t.drawImage(e[f].obj,o,s,c,h);t.globalAlpha=1;t.restore();"function"==typeof u&&u()},e[f].errCallback=function(){t.globalAlpha=1;t.restore();"function"==typeof u&&u()}):(t.globalAlpha=1,t.restore(),"function"==typeof u&&u())):(t.globalAlpha=1,t.restore(),"function"==typeof u&&u())};r.drawpath=function(n,t,r,u,f){var nt,ot,o,e,tt=n.attributes.d.value.match(/[a-z][^a-z"]*/gi),a=[],s=0,h=0,k={},v,ct,d,it,rt,p,w,ut,ft,g,lt,at,et,b,st,ht,vt,yt,c,l,y;for(nt in t.beginPath(),tt)if(tt.hasOwnProperty(nt))switch(ot=tt[nt].substring(0,1),o=i.getArgsAsArray(tt[nt].substring(1,tt[nt].length)),ot){case"M":s=Number(o[0]);h=Number(o[1]);t.moveTo(s,h);k.cx=s;k.cy=h;break;case"m":s+=Number(o[0]);h+=Number(o[1]);t.moveTo(s,h);k.cx=s;k.cy=h;break;case"L":for(e=0;o[e];e+=2)i.bBoxFromPoint([s,o[e]],[h,o[e+1]],a),s=Number(o[e]),h=Number(o[e+1]),t.lineTo(s,h);break;case"l":for(e=0;o[e];
vendor: 1,617 bytes, line 43
43e+=2)i.bBoxFromPoint([s,1*s+1*o[e]],[h,1*h+1*o[e+1]],a),s+=Number(o[e]),h+=Number(o[e+1]),t.lineTo(s,h);break;case"V":for(e=0;o[e];e+=1)i.bBoxFromPoint([s],[h,o[e]],a),h=Number(o[e]),t.lineTo(s,h);break;case"v":for(e=0;o[e];e+=1)i.bBoxFromPoint([s],[h,1*h+1*o[e]],a),h+=Number(o[e]),t.lineTo(s,h);break;case"H":for(e=0;o[e];e+=1)i.bBoxFromPoint([s,o[e]],[h],a),s=Number(o[e]),t.lineTo(s,h);break;case"h":for(e=0;o[e];e+=1)i.bBoxFromPoint([s,1*s+1*o[e]],[h],a),s+=Number(o[e]),t.lineTo(s,h);break;case"Q":for(e=0;o[e];e+=4)i.qBezierBBox(s,h,o[e],o[e+1],o[e+2],o[e+3],a),t.quadraticCurveTo(Number(o[e]),Number(o[e+1]),Number(o[e+2]),Number(o[e+3])),s=Number(o[e+2]),h=Number(o[e+3]);break;case"q":for(e=0;o[e];e+=4)i.qBezierBBox(s,h,s+1*o[e],h+1*o[e+1],1*s+1*o[e+2],1*h+1*o[e+3],a),t.quadraticCurveTo(s+1*o[e],h+1*o[e+1],s+=Number(o[e+2]),h+=Number(o[e+3]));break;case"C":for(e=0;o[e];e+=6)i.cBezierBBox(s,h,o[e],o[e+1],o[e+2],o[e+3],o[e+4],o[e+5],a),t.bezierCurveTo(o[e],o[e+1],o[e+2],o[e+3],o[e+4],o[e+5]),s=Number(o[e+4]),h=Number(o[e+5]);break;case"c":for(e=0;o[e];e+=6)i.cBezierBBox(s,h,s+1*o[e],1*h+1*o[e+1],s+1*o[e+2],1*h+1*o[e+3],s+1*o[e+4],1*h+1*o[e+5],a),t.bezierCurveTo(s+Number(o[e]),h+Number(o[e+1]),s+Number(o[e+2]),h+Number(o[e+3]),s+=Number(o[e+4]),h+=Number(o[e+5]));break;case"a":case"A":for(e=0;o[e];e+=7){if(c=Number(o[e]),l=Number(o[e+1]),v=Number(o[e+2])*(Math.PI/180),ct=Number(o[e+3]),d=Number(o[e+4]),it=Number(o[e+5]),rt=Number(o[e+6]),p=Math.cos(v)*(s-it)/2+Math.sin(v)*(h-rt)/2,w=-Math.sin(v)*(s-it)/2+Math.cos(v)*(h-rt)/2,c=c<0?-c:c,l=l<0?-l:l,(st=Math.pow(p,2)/Math.pow(c,2)+Math.pow(w,2)/
43Math.pow(l,2))>1&&(c*=Math.sqrt(st),l*=Math.sqrt(st)),ht=c>l?c:l,vt=c>l?1:c/l,yt=c>l?l/c:1,ut=(ct===d?-1:1)*Math.sqrt((Math.pow(c,2)*Math.pow(l,2)-Math.pow(c,2)*Math.pow(w,2)-Math.pow(l,2)*Math.pow(p,2))/(Math.pow(c,2)*Math.pow(w,2)+Math.pow(l,2)*Math.pow(p,2))),isNaN(ut)&&(ut=0),g=l*p*-ut/c,lt=(ft=ut*c*w/l)*Math.cos(v)-g*Math.sin(v)+(s+it)/2,at=ft*Math.sin(v)+g*Math.cos(v)+(h+rt)/2,et=i.angleBetweenVectors(1,0,(p-ft)/c,(w-g)/l),b=i.angleBetweenVectors((p-ft)/c,(w-g)/l,(-p-ft)/c,(-w-g)/l),0===d&&b>0&&(b-=Math.PI*2),1===d&&b<0&&(b+=Math.PI*2),0===c&&0===l){t.lineTo(it,rt);break}t.save();y=i.combineTransformMatrix([[1,0,lt,0,1,at],[Math.cos(v),Math.sin(v),0,Math.sin(v),Math.cos(v),0],[vt,0,0,0,yt,0]]);t.transform(y[0],y[3],y[1],y[4],y[2],y[5]);t.arc(0,0,ht,et,et+b,1-d);t.restore();i.arcBBox(0,0,ht,et,et+b,1-d,[y[0],y[3],y[1],y[4],y[2],y[5]],a);"A"===ot?(s=Number(o[e+5]),h=Number(o[e+6])):(s+=Number(o[e+5]),h+=Number(o[e+6]))}break;case"Z":case"z":t.closePath();s=k.cx;h=k.cy}"draw"===u&&((!n.attributes.fill||n.attributes.fill&&"none"!==n.attributes.fill.value)&&(i.applyFillEffect(n,t,r,a),t.fill(),i.endFillEffect(n,t)),(!n.attributes.stroke||n.attributes.stroke&&"none"!==n.attributes.stroke.value)&&(i.applyStrokeEffect(n,t,r,a),t.stroke(),i.endStrokeEffect(n,t)),f())};i.drawNodes=function(n,t,i,u,f){var h=n.length,e=-1,o=0,s=0;!function c(){var l;(e+=1)<h?((l=n[e]).tagName&&"defs"===l.tagName&&(l=n[e+=1]),l.attributes&&(l.attributes.dy&&(s=l.attributes.dy.value=1*l.attributes.dy.value+1*s),l.attributes.dx&&(o=l.attributes.dx.value=1*l.attributes.dx.value+1*o)),r.common(l,t,i,u,c)):f&&f()}()};i.getSvgDimention=function(n){var t,i={width:0,height:0};return t=n.childNodes&&n.childNodes[0]&&n.childNodes[0].attributes,i.width=Number(t.width&&t.width.value||0),i.height=Number(t.height&&t.height.value||0),i};i.storeImagesInArr=function(n){var r,i,t,u,f=n.getSVG();for(u in t=n._getStore("imageArr"),r=f.getElementsByTagName("image"))r.hasOwnProperty(u)&&r[u].attributes&&r[u].attributes["xlink:href"]&&(i=r[u].attributes["xlink:href"].value,t[i]||(t[i]=[],t[i].status="progress",t[i].callback=null,t[i].obj=new Image,t[i].obj.onload=function(n){return function(){var i=t[n].callback;i?(t[n].status="complete",i()):t[n].status="complete"}}(i),t[i].obj.onerror=function(n){return function(){var i=t[n].errCallback;i?(t[n].status="error",i()):t[n].status="error"}}(i),t[i].obj.src=i))};i.startTransform=function(n,t){var r,u,f=n.match(/[^\s][a-z,0-9.\-(\s]+\)/gi);for(u in f)f.hasOwnProperty(u)&&(f[u].indexOf("matrix")>-1&&(r=i.stringToArgs(f[u]),t.transform(r[0],r[1],r[2],r[3],r[4],r[5])),f[u].indexOf("translate")>-1&&(r=i.stringToArgs(f[u]),t.translate(r[0]||0,r[1]||0)),f[u].indexOf("rotate")>-1&&(3===(r=i.stringToArgs(f[u])).length?(t.translate(r[1],r[2]),t.rotate(r[0]*(Math.PI/180)),t.translate(-r[1],-r[2])):t.rotate(r[0]*(Math.PI/180))),f[u].indexOf("scale")>-1&&(1===(r=i.stringToArgs(f[u])).length?t.scale(r[0]||1,r[0]||1):t.scale(r[0]||1,r[1]||1)),f[u].indexOf("skewX")>-1&&(r=i.stringToArgs(f[u]),t.transform(1,0,Math.tan(r[0]*(Math.PI/180)),1,0,0)),f[u].indexOf("skewY")>-1&&(r=i.stringToArgs(f[u]),t.transform(1,Math.tan(r[0]*(Math.PI/180)),0,1,0,0)))};i.resetTransform=function(n){n.setTransform(1,0,0,1,0,0)};i.stringToArgs=function(n){var t=/\(([^)]+)/.exec(n)[1];return i.getArgsAsArray(t)};i.getArgsAsArray=function(n){var t;for(n=n.trim().split(/[\s,]+/),t=0;t<n.length;t++)n[t].trim(),0===n[t].length&&n.splice(t,1);return n};i.applyFillEffect=function(n,t,r,u){var f;t.globalAlpha=n.attributes["fill-opacity"]&&"none"!==n.attributes["fill-opacity"].value?n.attributes["fill-opacity"].value:1;n.attributes.fill&&n.attributes.fill.value.indexOf("url(")>-1?(f=i.getFillStyleById(/url\(.*#([^)'"]+)/.exec(n.attributes.fill.value)[1],t,r,u),t.fillStyle=f):t.fillStyle=n.attributes.fill?n.attributes.fill.value:"#000000"};i.endFillEffect=function(n,t){t.globalAlpha=1};i.applyStrokeEffect=function(n,t){n.attributes["stroke-opacity"]&&"none"!==n.attributes["stroke-opacity"].value&&(t.globalAlpha=n.attributes["stroke-opacity"].value);n.attributes["stroke-width"]&&(t.lineWidth=n.attributes["stroke-width"].value,"0"===n.attributes["stroke-width"].value&&(t.globalAlpha=0));n.attributes["stroke-linecap"]&&"none"!==n.attributes["stroke-linecap"].value&&(t.lineCap=n.attributes["stroke-linecap"].value);n.attributes["stroke-linejoin"]&&"none"!==n.attributes["stroke-linejoin"].value&&(t.lineJoin=n.attributes["stroke-linejoin"].value);n.attributes["stroke-dasharray"]&&"none"!==n.attributes["stroke-dasharray"].value&&t.setLineDash&&t.setLineDash(i.getArgsAsArray(n.attributes["stroke-dasharray"].value));t.strokeStyle=n.attributes.stroke?n.attributes.stroke.value:"#000000"};i.endStrokeEffect=function(n,t){n.attributes["stroke-opacity"]&&"none"!==n.attributes["stroke-opacity"].value&&(t.globalAlpha=1,t.setLineDash&&t.setLineDash([]),t.lineWidth=1);t.globalAlpha=1};i.applyClip=function(n,t,u){var h,o,f,e,s,c=u.getSVG();if(-1!==n.indexOf("url(")){for(e in h=/url\(.*#([^)'"]+)/.exec(n)[1],(
43o=c.getElementById(h)).attributes&&(t.save(),o.attributes.transform&&i.startTransform(o.attributes.transform.value,t)),f=o.childNodes)f.hasOwnProperty(e)&&f[e].tagName&&f[e].constructor!==Array&&(s="draw"+f[e].tagName,f[e].attributes&&(t.save(),f[e].attributes.transform&&i.startTransform(f[e].attributes.transform.value,t)),r[s]&&(r[s](f[e],t,u,"clip"),t.closePath()),f[e].attributes&&t.restore());o.attributes&&t.restore();t.clip()}};i.getFillStyleById=function(n,t,r,u){var f=r.getSVG().getElementById(n);return"linearGradient"===f.tagName?i.getLinearGradient(f,t,u):"radialGradient"===f.tagName?i.getRadialGradient(f,t,u):"#FFFFFF"};i.getLinearGradient=function(n,t,r){var o,u,f,e,s,h=n.attributes.x1?i.getPercentValue(n.attributes.x1.value,r.xMax-r.xMin,r.xMin):0,c=n.attributes.y1?i.getPercentValue(n.attributes.y1.value,r.yMax-r.yMin,r.yMin):0,l=n.attributes.x2?i.getPercentValue(n.attributes.x2.value,r.xMax-r.xMin,r.xMin):0,a=n.attributes.y2?i.getPercentValue(n.attributes.y2.value,r.yMax-r.yMin,r.yMin):0;for(f in o=t.createLinearGradient(h,c,l,a),u=n.childNodes)u.hasOwnProperty(f)&&u[f].attributes&&u[f].attributes["stop-color"]&&(e=i.toRGB(u[f].attributes["stop-color"].value),s=u[f].attributes["stop-opacity"]?u[f].attributes["stop-opacity"].value:1,e.status?o.addColorStop(i.getPercentValue(u[f].attributes.offset.value,1,0),"rgba("+e.r+","+e.g+","+e.b+","+Number(s)+")"):o.addColorStop(i.getPercentValue(u[f].attributes.offset.value,1,0),u[f].attributes["stop-color"].value));return o};i.getRadialGradient=function(n,t,r){var o,u,f,e,s,h=n.attributes.cx?i.getPercentValue(n.attributes.cx.value,r.xMax-r.xMin,r.xMin):r.xMin+.5*(r.xMax-r.xMin),c=n.attributes.cy?i.getPercentValue(n.attributes.cy.value,r.yMax-r.yMin,r.yMin):r.yMin+.5*(r.yMax-r.yMin),l=n.attributes.fx?i.getPercentValue(n.attributes.fx.value,r.xMax-r.xMin,r.xMin):r.xMin+.5*(r.xMax-r.xMin),a=n.attributes.fy?i.getPercentValue(n.attributes.fy.value,r.yMax-r.yMin,r.yMin):r.yMin+.5*(r.yMax-r.yMin),v=n.attributes.r?i.getPercentValue(n.attributes.r.value,(r.yMax-r.yMin+r.xMax-r.xMin)/2,0):i.getPercentValue("50%",(r.yMax-r.yMin+r.xMax-r.xMin)/2,0);for(f in o=t.createRadialGradient(l,a,0,h,c,v),u=n.childNodes)u.hasOwnProperty(f)&&u[f].attributes&&u[f].attributes["stop-color"]&&(e=i.toRGB(u[f].attributes["stop-color"].value),s=u[f].attributes["stop-opacity"]?u[f].attributes["stop-opacity"].value:1,e.status?o.addColorStop(i.getPercentValue(u[f].attributes.offset.value,1,0),"rgba("+e.r+","+e.g+","+e.b+","+Number(s)+")"):o.addColorStop(i.getPercentValue(u[f].attributes.offset.value,1,0),u[f].attributes["stop-color"].value));return o};i.getPercentValue=function(n,t,i){var r;return-1!==n.indexOf("%")?((r=/(\d.*)%/.exec(n)[1])>100&&(r=100),r*t/100+1*i):n>1?n:n*t+1*i};i.bBoxFromPoint=function(n,t,i){"undefined"!=typeof i.xMin&&(n.push(i.xMin,i.xMax),t.push(i.yMin,i.yMax));i.xMin=Math.min.apply(this,n);i.xMax=Math.max.apply(this,n);i.yMin=Math.min.apply(this,t);i.yMax=Math.max.apply(this,t)};i.arcBBox=function(n,t,i,r,u,f,e,o){var s,h,b,k,v,y,p,w,c,l,a;e instanceof Array&&(n=n*e[0]+n*e[2]+e[4],t=t*e[1]+t*e[3]+e[5]);a=function(n,t,i){return(n=(n+2*Math.PI)%(2*Math.PI))<=(t=(t+2*Math.PI)%(2*Math.PI))?n<=i&&i<=t:n>=t?!(n>=i&&i>=t):void 0};s=r%(2*Math.PI);h=u%(2*Math.PI);f&&(s=u%(2*Math.PI),h=r%(2*Math.PI));b=n+i*Math.cos(s);k=t+i*Math.sin(s);c=[b,n+i*Math.cos(h)];l=[k,t+i*Math.sin(h)];a(s,h,0)&&(c.push(1*n+1*i),l.push(t));a(s,h,.5*Math.PI)&&(c.push(n),l.push(1*t+1*i));a(s,h,Math.PI)&&(c.push(n-1*i),l.push(t));a(s,h,1.5*Math.PI)&&(c.push(n),l.push(t-1*i));p=Math.max.apply(this,c);v=Math.min.apply(this,c);w=Math.max.apply(this,l);y=Math.min.apply(this,l);"undefined"!=typeof o.xMin?(o.xMin=Math.min(v,o.xMin),o.xMax=Math.max(p,o.xMax),o.yMin=Math.min(y,o.yMin),o.yMax=Math.max(w,o.yMax)):(o.xMin=v,o.xMax=p,o.yMin=y,o.yMax=w)};i.qBezierBBox=function(n,t,i,r,u,f,e){var o,s,h,c,l,a,v,y,p=1*n-2*i+1*u,w=1*t-2*r+1*f;0===p||0===w?(l=Math.max(n,u),h=Math.min(n,u),a=Math.max(t,f),c=Math.min(t,f)):(o=(n-i)/p,s=(t-r)/w,v=n*Math.pow(1-o,2)+2*i*(1-o)*o+u*Math.pow(o,2),y=t*Math.pow(1-s,2)+2*r*(1-s)*s+f*Math.pow(s,2),l=
43Math.max(n,u,v),h=Math.min(n,u,v),a=Math.max(t,f,y),c=Math.min(t,f,y));"undefined"!=typeof e.xMin?(e.xMin=Math.min(h,e.xMin),e.xMax=Math.max(l,e.xMax),e.yMin=Math.min(c,e.yMin),e.yMax=Math.max(a,e.yMax)):(e.xMin=h,e.xMax=l,e.yMin=c,e.yMax=a)};i.cBezierBBox=function(n,t,i,r,u,f,e,o,s){var l,h,a,c,v,y,nt,p,k,d,g,w,b;null===u&&null===f&&(u=t+2/3*(r-t),r=(i=n+2/3*(i-n))+1/3*(e-n),f=u+1/3*(o-t));g=function(n,t,i,r,u){return n*Math.pow(1-u,3)+3*t*u*Math.pow(1-u,2)+3*i*u*u*(1-u)+r*u*u*u};v=3*e-9*u+9*i-3*n;y=6*n-12*i+6*u;nt=3*i-3*n;p=Math.pow(y,2)-4*v*nt;h=n;e<(l=n)&&(l=e);e>h&&(h=e);p>=0&&((k=(-y+Math.sqrt(p))/(2*v))>0&&k<1&&((w=g(n,i,u,e,k))<l&&(l=w),w>h&&(h=w)),(d=(-y-Math.sqrt(p))/(2*v))>0&&d<1&&((w=g(n,i,u,e,d))<l&&(l=w),w>h&&(h=w)));v=3*o-9*f+9*r-3*t;y=6*t-12*r+6*f;nt=3*r-3*t;p=Math.pow(y,2)-4*v*nt;c=t;o<(a=t)&&(a=o);o>c&&(c=o);p>=0&&((k=(-y+Math.sqrt(p))/(2*v))>0&&k<1&&((b=g(t,r,f,o,k))<a&&(a=b),b>c&&(c=b)),(d=(-y-Math.sqrt(p))/(2*v))>0&&d<1&&((b=g(t,r,f,o,d))<a&&(a=b),b>c&&(c=b)));"undefined"!=typeof s.xMin?(s.xMin=Math.min(l,s.xMin),s.xMax=Math.max(h,s.xMax),s.yMin=Math.min(a,s.yMin),s.yMax=Math.max(c,s.yMax)):(s.xMin=l,s.xMax=h,s.yMin=a,s.yMax=c)};i.combineTransformMatrix=function(n){var i,t,r=n.length-1;if(r<=0)return n[0];for(t=n[0],i=1;i<=r;i++)t[0]=t[0]*n[i][0]+t[1]*n[i][3],t[1]=t[0]*n[i][1]+t[1]*n[i][4],t[2]=t[0]*n[i][2]+t[1]*n[i][5]+1*t[2],t[3]=t[3]*n[i][0]+t[4]*n[i][3],t[4]=t[3]*n[i][1]+t[4]*n[i][4],t[5]=t[3]*n[i][2]+t[4]*n[i][5]+1*t[5];return t};i.angleBetweenVectors=function(n,t,i,r){var u=n*r<t*i?-1:1,f=n*i+t*r,e=Math.sqrt(Math.pow(n,2)+Math.pow(t,2)),o=Math.sqrt(Math.pow(i,2)+Math.pow(r,2));return u*Math.acos(f/(e*o))};i.toRGB=function(n){var t,r,i,u={r:0,g:0,b:0,status:0};return r=function(n){for(i in n)n.hasOwnProperty(i)&&(n[i]<0||isNaN(n[i])?n[i]=0:n[i]>255&&(n[i]=255));return u={r:n[0],g:n[1],b:n[2],status:1}},(n=n.trim()).match(/^rgb\(|^rgba\(/i)?(t=/\(\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})/.exec(n),r([parseInt(t[1]),parseInt(t[2]),parseInt(t[3])])):n.match(/^#/)&&(t=/(\w{2})(\w{2})(\w{2})/.exec(n),r([parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)])),u};i.StrToDom=function(n){var t;return f.DOMParser?t=(new DOMParser).parseFromString(n,"text/xml"):((t=new f.ActiveXObject("Microsoft.XMLDOM")).async=!1,t.loadXML(n)),t};t["default"]=u},function(n,t){"use strict";function i(n){r+=n.length+1;o.push(n)}t.__esModule=!0;var o=[],r=0,u=void 0,f=void 0,e=void 0,s=500,h=500;t.JpegToPdf=function(n,t){u=n||s;f=t||h};t.addImage=function(n){var t=/base64,(.+?)$/g.exec(n);e=atob(t[1])};t.getDataUrl=function(){return"data:application/pdf;base64,"+btoa(function(){var s,t,n=[];for(i("%PDF-1.7"),n[1]=r,i("1 0 obj"),i("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),i("endobj"),n[4]=r,i("4 0 obj"),i("<< /Length 36>>"),i("stream"),i("q "+f+" 0 0 "+u+" 0 0 cm /Im3 Do Q"),i("endstream"),i("endobj"),n[5]=r,i("5 0 obj"),i("<<\/Type /Page /Parent 2 0 R /MediaBox [0 0 "+f+" "+u+"] /Contents [4 0 R ] /Resources <<\/ProcSet 1 0 R /Font <<>> /XObject <<\/Im3 3 0 R >> >> >>"),i("endobj"),n[3]=r,i("3 0 obj"),i("<<\/Type /XObject /Subtype /Image /Width "+f+" /Height "+u+" /ColorSpace /DeviceRGB /BitsPerComponent 8 /Filter /DCTDecode /Length "+e.length+">>"),i("stream"),i(e),i("endstream"),i("endobj"),n[2]=r,i("2 0 obj"),i("<<\/Type /Pages /Kids [5 0 R ] /Count 1>>"),i("endobj"),n[6]=r,i("6 0 obj"),i("<<\/Type /Catalog /Pages 2 0 R >>"),i("endobj"),s=r,i("xref"),i("0 7"),i("0000000000 65535 f "),t=1;t<=6;t++)i(("0000000000"+n[t]).slice(-10)+" 00000 n ");return i("trailer"),i("<<\/Size 7 /Root 6 0 R >>"),i("startxref"),i(s),i("%%EOF"),o.join("\n")}())}},function(n,t,i){"use strict";t.__esModule=!0;t.svgStrToDataUrl=t.logCharts=t.extractNonDataImageFromSVG=t.parseUrl=t.extractNonDataURLFromSVG=t.removeImagesWithNonDataURL=t.hasUndownloadableImage=t.replaceImagesWithNonDataUrl=t.embedImagesWithNonDataURL=t.makeImageUrlsAbsolute=t.isCacheAllImagesCompleted=t.getImageCachedDetails=t.cacheAllImages=t.objCacheFunctions=t.createExportActionOldString=t.LOGMODE=t.EXPORTFORMAT=t.EXPORTMODE=t.EXPORTACTION=undefined;
43var u,p=i(255),w=i(176),b=(u=w)&&u.__esModule?u:{"default":u},r,l=function(n){var r,u,i,t,f,e;r=/(<image [^\>]*href=["']([^\>'"]*)["'][^\>]*\>)/g;u=/^\s*data:([a-z]+\/[a-z]+(;[a-z\-]+\=[a-z\-]+)?)?(;base64)?,[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%\s]*\s*$/i;i=[];do null!==(t=r.exec(n))&&(f=t[1],e=t[2],u.test(e)||i.push(f));while(t&&null!==t);return i},o=function(n){for(var t=void 0,r=void 0,i=l(n),t=0;t<i.length;t++)r=i[t],n=n.replace(r,"");return n},s=function(n,t){var f,e,u,r,i;t=t===undefined||t;f=/<image [^\>]*href=["']([^\>'"]*)["'][^\>]*\>/g;e=/^\s*data:([a-z]+\/[a-z]+(;[a-z\-]+\=[a-z\-]+)?)?(;base64)?,[a-z0-9\!\$\&\'\,\(\)\*\+\,\;\=\-\.\_\~\:\@\/\?\%\s]*\s*$/i;u=[];do if(null!==(r=f.exec(n))){if(i=r[1],e.test(i))continue;t&&(i=h(i).href);u.push(i)}while(r&&null!==r);return u},h=function(n){var t=document.createElement("div");return t.innerHTML="<a><\/a>",t.firstChild.href=n,t.innerHTML=t.innerHTML,t.firstChild},f={DOWNLOAD:"download",SAVE:"save",DOWNLOADSAVE:"download-save"},a={CLIENT:"client",SERVER:"server",AUTO:"auto"},e=(r=void 0,(r={}).cacheCompleted=!1,{cacheAllImages:function(n,t,i){var o,u,f,e;if(t=t||!1,o=s(n),u=o.length,p.isCanvasElemSupported()&&!t&&u)for(f=0,e=0;e<u;e++)!function(){var t,n;(t=o[e])in r?u===++f&&(r.cacheCompleted=!0,i()):((n=new Image).crossOrigin="",n.onload=function(){var e,o;(e=document.createElement("canvas")).width=n.width;e.height=n.height;e.getContext("2d").drawImage(this,0,0);try{o=e.toDataURL("image/png");r[t]={loaded:!0,notCORS:!0,imageUri:o}}catch(s){r[t]={loaded:!0,notCORS:!1}}finally{u===++f&&(r.cacheCompleted=!0,i())}},n.onerror=function(){r[t]={loaded:!1};u===++f&&(r.cacheCompleted=!0,i())},n.src=t)}();else i()},getImageCachedDetails:function(n){return r[n]},isCacheAllImagesCompleted:function(){return r.cacheCompleted}}),k=e.cacheAllImages,v=e.getImageCachedDetails,d=e.isCacheAllImagesCompleted,y=function(n){return n.replace(/<image [^\>]*\>/gi,function(n){return n.replace(/(:href=")([^"]*)(")/gi,function(n,t,i,r){return t+h(i).href+r})})},c=function(n){var r,i=void 0,u=void 0,t=void 0;for(n=y(n),r=s(n),i=0;i<r.length;i++)u=r[i],(t=v(u))!==undefined&&t.loaded&&t.notCORS&&t.imageUri&&(n=n.replace(u,t.imageUri));return n};t.EXPORTACTION=f;t.EXPORTMODE={CLIENT:"client",SERVER:"server",AUTO:"auto"};t.EXPORTFORMAT={PNG:"png",SVG:"svg",JPEG:"jpeg",JPG:"jpg",PDF:"pdf",XLS:"xls"};t.LOGMODE=a;t.createExportActionOldString=function(n){return{download:f.DOWNLOAD,"download-save":f.DOWNLOAD,save:f.SAVE}[n]};t.objCacheFunctions=e;t.cacheAllImages=k;t.getImageCachedDetails=v;t.isCacheAllImagesCompleted=d;t.makeImageUrlsAbsolute=y;t.embedImagesWithNonDataURL=c;t.replaceImagesWithNonDataUrl=function(n){return n=c(n),n=o(n)};t.hasUndownloadableImage=function(n){return(n=c(n))!==o(n)};t.removeImagesWithNonDataURL=o;t.extractNonDataURLFromSVG=s;t.parseUrl=h;t.extractNonDataImageFromSVG=l;t.logCharts=function(n,t){t.logEnabled&&t.logMode!==a.SERVER&&function(n,t){var r=new b["default"](function(){},function(){});for(var i in n)n.hasOwnProperty(i)&&(n[i]=encodeURIComponent(n[i]));r.post(t.logHandler,n)}(n,t)};t.svgStrToDataUrl=function(n){var t=function(n){return'<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+n}(n);return"data:image/svg+xml;base64,"+window.btoa(window.unescape(encodeURIComponent(t)))}},function(n,t,i){"use strict";function k(){var rt,ot,vt,kt,st,t=arguments[0]||{},yt=void 0,tt=void 0,k=void 0,ut=void 0,ft=void 0,dt=0,gt=!1,et=void 0,ht=void 0,i=void 0,n={exportTargetWindow:u.pluck(t.exportTargetWindow,p?"_parent":"_self"),exportAction:t.exportAction&&"string"==typeof t.exportAction?(vt=t.exportAction.toLowerCase(),[r.EXPORTACTION.DOWNLOAD,r.EXPORTACTION.SAVE,r.EXPORTACTION.DOWNLOADSAVE].indexOf(vt)>=0?vt:r.EXPORTACTION.DOWNLOAD):r.EXPORTACTION.DOWNLOAD,exportFileName:u.pluck(t.exportFileName,"FusionCharts"),exportHandler:u.pluck(t.exportHandler,b),exportParameters:u.pluck(t.exportParameters,v),exportFormat:u.pluck(t.exportFormat,r.EXPORTFORMAT.PNG),exportCallback:u.pluck(t.exportCallback,v),exportAtClientSide:u.pluckNumber(t.exportAtClientSide,1),exportMode:("undefined"!=typeof t.exportAtClientSide&&(ot={1:r.EXPORTMODE.AUTO,0:r.EXPORTMODE.SERVER}[t.exportAtClientSide]),ot=(ot=t.exportMode||ot||r.EXPORTMODE.AUTO).toLowerCase()),logEnabled:u.pluckNumber(t.logEnabled,0),logMode:(rt=t.logMode,void 0!==rt&&"string"==typeof rt&&rt.toUpperCase()in r.LOGMODE?r.LOGMODE[rt.toUpperCase()]:r.LOGMODE.AUTO),logHandler:u.pluck(t.logHandler,w)},pt=n.exportFormat.toLowerCase(),nt=0,it=0,d=void 0,ri=e.document,ct=s.items,ni=function(n,t,i,r){var f=n,e=t;return isNaN(f)&&(f=u.pluckNumber(t,r)*(i/r)),isNaN(e)&&(e=u.pluckNumber(n,i)*(r/i)),{width:f,height:e}},wt=function(t,i,f){var o,s,h,e;return f=f||n.exportAction,o=n.exportAction,s=r.createExportActionOldString(n.exportAction),h=["exportfilename="+n.exportFileName,"exportformat="+n.exportFormat,"exportaction="+s,"exportactionnew="+o,"configuredexportaction="+f,"exportparameters="+n].join("|"),e=!!n.logEnabled,n.logMode===r.LOGMODE.CLIENT&&(e=!1),{charttype:"combined",stream_type:t||"",stream:i||"",is_single_export:!1,is_full_version:!1,version:u.PROJECT_VERSION,user_time_zone:-(new Date).getTimezoneOffset(),log_enabled:e,parameters:h}},ti=function(){return{chartType:"combined",isSingleExport:!1,isFullVersion:!1,exportAction:n.exportAction,userTimeZone:-(new Date).getTimezoneOffset(),exportFileName:[n.exportFileName,n.exportFormat].join("."),exportFormat:n.exportFormat,version:u.PROJECT_VERSION}},ii=function(t){t===r.LOGMODE.CLIENT&&r.logCharts(ti(),n)},lt=function(t){var i,u,s;c.triggerEvent("beforeexport",o,o,o,function(){u="undefined"!=typeof e.btoa&&("Chrome"===f.browserDetails.name||"Firefox"===f.browserDetails.name||"Safari"===f.browserDetails.name||"Edge"===f.browserDetails.name||"ie"===f.browserDetails.name);n.exportMode===r.EXPORTMODE.CLIENT||n.exportMode===r.EXPORTMODE.AUTO&&u?(n.exportAction!==r.EXPORTACTION.DOWNLOAD&&n.exportAction!==r.EXPORTACTION.DOWNLOADSAVE||(i=n.exportMode===r.EXPORTMODE.AUTO?wt(l,t):null,f.downloadCharts("url",t,n.exportFileName+"."+pt,
43i,n),c.triggerEvent("exported",o,{fileName:n.exportFileName+"."+pt})),n.exportAction===r.EXPORTACTION.SAVE||n.exportAction===r.EXPORTACTION.DOWNLOADSAVE?(s=n.exportAction,n.exportAction===r.EXPORTACTION.DOWNLOADSAVE&&(n.exportAction=r.EXPORTACTION.SAVE),i=wt(l,t,s),n.paper={width:undefined,height:undefined},n.fusionCharts={},f.downloadCharts(null,null,null,i,n),delete n.paper,delete n.fusioncharts,ii(n.logMode)):n.logMode!==r.LOGMODE.SERVER&&r.logCharts(ti(),n)):(i=wt(l,t),n.paper={width:undefined,height:undefined},n.fusionCharts={},f.downloadCharts(null,null,null,i,n),delete n.paper,delete n.fusioncharts,ii(n.logMode))},function(){c.triggerEvent("exportcancelled")})},ui=function(n,t){var i,u;(yt=s.items[n]).jsVars.instanceAPI&&(ft=(ft=(ft=(ft=yt.jsVars.instanceAPI.getFromEnv("paper").toSVG(!0)).replace(/NS\d+:/gi,"xlink:")).replace(/(\sd\s*=\s*["'])[M\s\d\.]*(["'])/gi,"$1M 0 0 L 0 0$2")).replace(/(xlink:title\s*=\s*)['"].*["']/gi,""),dt+=1,i=ft,u=s.options["export"].useCanvas,r.cacheAllImages(i,!1,function(){i=r.replaceImagesWithNonDataUrl(i),function(){f.drawSvgOnCanvas({svg:arguments[0],canvas:k,x:this.x,y:this.y,width:this.width,height:this.height,useCanvas:arguments[1]},function(){if(0==(dt-=1)&>)switch(pt){case"png":lt(k.toDataURL("image/png"));break;case"jpeg":lt(k.toDataURL("image/jpeg"));break;case"pdf":h.JpegToPdf(nt,it);h.addImage(k.toDataURL("image/jpeg"));lt(h.getDataUrl());break;default:lt(k.toDataURL("image/png"))}})}.call(t||yt,i,u)}))},at,bt,g;if(kt=n.exportMode,(st={})[r.EXPORTMODE.CLIENT]=1,st[r.EXPORTMODE.AUTO]=0,st[r.EXPORTMODE.SERVER]=0,n.exportatclientside=st[kt],f.browserDetails.hasCanvas){for(function(){var n,r,i,f,u=t.charts;if(tt=[],u)for(i in u)u.hasOwnProperty(i)&&(n=ct[u[i].id])&&(r=u[i],f=ni(Number(r.width),Number(r.height),n.width,n.height),tt.push({id:n.id,width:f.width,height:f.height,x:r.x,y:r.y}));else for(i in ct)ct.hasOwnProperty(i)&&(n=ct[i],tt.push({id:n.id,width:n.width,height:n.height}))}(),d=0,et=tt.length;d<et;d+=1)(i=tt[d]).x=u.pluckNumber(i.x,5),i.y=u.pluckNumber(i.y,nt+5),i.height=u.pluckNumber(i.height),i.width=u.pluckNumber(i.width),nt=a(nt,i.y+i.height),it=a(it,i.x+i.width);nt=t.imageHeight||nt+5;it=t.imageWidth||it+5;at=function(){for(d=0,et=tt.length;d<et;d+=1)i=tt[d],d===et-1&&(gt=!0),ui(i.id,i)};g=t.background;(k=ri.createElement("canvas")).id="newCanvas";k.width=it;k.height=nt;k.style.border="1px solid black";(ut=k.getContext("2d")).fillStyle=g&&g.bgColor||"#ffffff";ut.fillRect(0,0,it,nt);!g||!g.bgImage||(bt=g.bgImage).match(/http:\/\/|https:\/\//)&&/(http:\/\/|https:\/\/)([^\/\:]*)/.exec(bt)[2]&&e.location.hostname!==/(http:\/\/|https:\/\/)([^\/\:]*)/.exec(bt)[2]?at():((ht=new y).src=g.bgImage,ht._userData=g,ut.globalAlpha=u.pluckNumber(g.bgImageAlpha,100)/100,ht.onload=function(){var n=this._userData,i=u.pluckNumber(n.bgImageX,0),r=u.pluckNumber(n.bgImageY,0),t=ni(Number(n.bgImageWidth),Number(n.bgImageHeight),this.width,this.height),f=t.width,e=t.height;try{ut.drawImage(this,i,r,f,e)}finally{ut.globalAlpha=1;at()}},ht.onerror=function(){at()})}}t.__esModule=!0;var f=i(255),h=i(257),u=i(125),r=i(258),c=i(131),e=window,o=void 0,a=Math.max,y=e.Image,p=e.navigator.userAgent.match(/(iPad|iPhone|iPod)/g),l="IMAGE-DATA",w="https:"===e.location.protocol?"https://export.api3.fusioncharts.com/api/v1.0/logs":"http://export.api3.fusioncharts.com/api/v1.0/logs",b="https:"===e.location.protocol?"https://export.api3.fusioncharts.com/":"http://export.api3.fusioncharts.com/",v="",s=void 0;t["default"]={extension:function(n){n.batchExport=k;s=n},name:"batchExportLinker",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(261),e=(r=f)&&r.__esModule?r:{"default":r},u=i(125);t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){var t=n.sender;(function(n,t){return n.getType()===t})(t,"chartAPI")&&t.registerFactory("logo",function(n){var t=n.getFromEnv("chart-attrib"),i=u.getValidValue(t.logourl,"");u.componentFactory(n,e["default"],"logo",i?1:0,[t])})})},name:"LogoExtension",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function f(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r;t.__esModule=!0;u=i(138);r=i(125);var e={vAlign:"top",hAlign:"left"},o={link:{cursor:"pointer",_cursor:"pointer"},normal:{cursor:"default",_cursor:"normal"}},s={tr:{vAlign:"top",hAlign:"right"},bl:{vAlign:"bottom",hAlign:"left"},br:{vAlign:"bottom",hAlign:"right"},cc:{vAlign:"middle",hAlign:"middle"}},h=!(!window.SVGAngle&&!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")),c=function(n){var t=n.config;return{load:function(){var i=void 0,u=n.getGraphicalElement("logoImage"),f=n.getFromEnv("chartConfig"),s=f.borderWidth||0,c=n.getFromEnv("chart"),l=f.height,a=f.width,e=t.logoPosition,o=t.logoScale,v=t.logoLeftMargin,y=t.logoTopMargin,p=t.logoURL,w=t.logoAlpha,b=t.logoPositionSTR,k=t.logoLink;u.show();i=r.setImageDisplayMode("none",e.vAlign,e.hAlign,o,s,a,l,u._.RefImg);h&&(i.w=i.width||0,i.h=i.height||0);i.transform="T"+v+","+y;u.attr(i);c.fireChartInstanceEvent("LogoLoaded",{logoURL:p,logoAlpha:w,logoPosition:b,logoScale:o,logoLink:k})},error:function(i){var r=t.logoURL,u=t.logoAlpha,f=t.logoPositionSTR,e=t.logoScale,o=t.logoLink;n.getFromEnv("chart").fireChartInstanceEvent("LogoLoadError",{logoURL:r,logoAlpha:u,logoPosition:f,logoScale:e,logoLink:o,error:i})},mouseover:function(i){var f=n.getFromEnv("chartInstance"),u=r.getMouseCoordinate(f.ref,i),e=n.getFromEnv("chart"),o=t.logoURL,s=t.logoAlpha,h=t.logoPositionSTR,c=t.logoScale,l=t.logoLink;e.fireChartInstanceEvent("LogoRollover",{logoURL:o,logoAlpha:s,logoPosition:h||"tl",logoScale:c,logoLink:l,chartX:u.chartX,chartY:u.chartY,pageX:u.pageX,pageY:u.pageY})},mouseout:function(i){var f=n.getFromEnv("chartInstance"),u=r.getMouseCoordinate(f.ref,i),e=n.getFromEnv("chart"),o=t.logoURL,s=t.logoAlpha,h=t.logoPositionSTR,c=t.logoScale,l=t.logoLink;e.fireChartInstanceEvent("LogoRollout",{logoURL:o,logoAlpha:s,logoPosition:h||"tl",logoScale:c,logoLink:l,chartX:u.chartX,chartY:u.chartY,pageX:u.pageX,pageY:u.pageY})},click:function(i){var f=n.getFromEnv("chartInstance"),u=r.getMouseCoordinate(f.ref,i),e=n.getFromEnv("chart"),o=t.logoURL,s=t.logoAlpha,h=t.logoPositionSTR,c=t.logoScale,l=t.logoLink;e.fireChartInstanceEvent("LogoClick",{logoURL:o,logoAlpha:s,logoPosition:h||"tl",logoScale:c,logoLink:l,chartX:u.chartX,chartY:u.chartY,pageX:u.pageX,pageY:u.pageY}
43,void 0,t.linkClickFN)}}},l=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.config._context={},i.config.handler=c(i),i.config.linkClickFN=function(){var n=i.config.logoLink;n&&i.getFromEnv("linkClickFN").call({link:n},!0)},r}return f(t,n),t.prototype.configureAttributes=function(){var n=this.config,t=this.getFromEnv("chart-attrib");n.logoURL=r.getValidValue(t.logourl,"");n.logoPositionSTR=r.pluck(t.logoposition,"tl").toLowerCase();n.logoPosition=s[n.logoPositionSTR]||e;n.logoAlpha=r.pluckNumber(t.logoalpha,100);n.logoLink=r.getValidValue(t.logolink);n.logoScale=r.pluckNumber(t.logoscale,100);n.logoLeftMargin=r.pluckNumber(t.logoleftmargin,0);n.logoTopMargin=r.pluckNumber(t.logotopmargin,0);this.setState("dirty",!0)},t.prototype._contextChanged=function(){var n=this.config,i=this.getFromEnv("chartConfig"),r=i.borderWidth,u=i.width,f=i.height,t=void 0;return r!==n._context.chartBorderWidth&&(n._context.chartBorderWidth=r,t=!0),u!==n._context.chartWidth&&(n._context.chartWidth=u,t=!0),f!==n._context.chartHeight&&(n._context.chartHeight=f,t=!0),t},t.prototype.draw=function(){var t=this.config,u=this.getFromEnv("animationManager"),n=this.getGraphicalElement("logoImage"),f=this.getLinkedParent().getChildContainer("logoGroup"),e=t.logoAlpha,i=t.logoURL,s=t.logoLink,r=!this.getState("removed"),h=this._contextChanged();(!r||this.getState("dirty")||h)&&i&&r&&(n=u.setAnimation({el:n||"image",attr:{opacity:.01*e||1,src:i},component:this,container:f}),this.getGraphicalElement("logoImage")||(this.addGraphicalElement("logoImage",n),n.on("load",t.handler.load),n.on("error",t.handler.error),n.on("fc-click",t.handler.click),n.on("fc-mouseover",t.handler.mouseover),n.on("fc-mouseout",t.handler.mouseout)),n.css(o[s?"link":"normal"]))},t}(u.ComponentInterface);t["default"]=l},function(n,t){"use strict";t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]={extension:function(n){n.addEventListener("register",function(t,r){var f=void 0,e=r[0],u=r[1];if(e&&"string"==typeof e&&"theme"===e&&u&&"object"===(void 0===u?"undefined":i(u))){if(u instanceof Array)for(f=0;f<u.length;f++)n.addDep({extension:u[f],name:u[f].name+"Theme",type:"theme"});else n.addDep({extension:u,name:u.name+"Theme",type:"theme"});t.preventDefault()}})},name:"ThemeEngine",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";t.__esModule=!0;var r,f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u=i(131);(r={outputHelpers:{text:function(n,t){var i=(n.sender.id||n.sender).toString();r.outputTo("#"+n.eventId+" ["+i+'] fired "'+n.eventType+'" event. '+("error"===n.eventType||"warning"===n.eventType?t.message:""))},event:function(n,t){this.outputTo(n,t)},verbose:function(n,t){r.outputTo(n.eventId,n.sender.id,n.eventType,t)}},outputHandler:function(n,t){"function"==typeof r.outputTo&&r.currentOutputHelper(n,t)},currentOutputHelper:void 0,outputTo:void 0,enabled:!1}).currentOutputHelper=r.outputHelpers.text;t["default"]={extension:function(n){n["debugger"]={outputFormat:function(n){return!(!n||"function"!=typeof n.toLowerCase||"function"!=typeof r.outputHelpers[n=n.toLowerCase()])&&(r.currentOutputHelper=r.outputHelpers[n],!0)},outputTo:function(t){"function"==typeof t?r.outputTo=t:null===t&&(n["debugger"].enable(!1),delete r.outputTo)},enable:function(t,i,e){var o;return"object"===(void 0===t?"undefined":f(t))&&1===arguments.length&&(t=(o=t).state,i=o.outputTo,e=o.outputFormat),"function"==typeof t&&("string"!=typeof i||2!==arguments.length&&!o||(e=i),i=t,t=!0),"boolean"==typeof t&&t!==r.enabled&&(r.enabled=t,r.enabled?u.addListener("*",r.outputHandler):u.removeListener("*",r.outputHandler)),"function"==typeof i&&(r.outputTo=i),n["debugger"].outputFormat(e),r.enabled}}},name:"Debugger",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function l(n,t){var r=this.apiInstance,l=r.getChildren("dataset")[0],s=l.getChildren(),i=s.centerLabel&&s.centerLabel[0],a=r.config;i===e&&(f.componentFactory(l,u["default"],"centerLabel",1,[a]),i=s.centerLabel&&s.centerLabel[0]);r.addJob("eiMethods-center-lebel"+c++,function(){var u,f,s=r.getDatasets()[0],h=s.config.piePlotOptions.innerSize;if(u=i.config,"object"!==(void 0===t?"undefined":o(t)))t=u;else{for(f in u)t[f]===e&&(t[f]=u[f]);u=Object.assign(u,t)}t.label=n;u.label=n;s.centerLabelConfig=u;h&&i&&i.draw(n||"")},h.priorityList.postRender)}
43t.__esModule=!0;var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},s=i(265),u=(r=s)&&r.__esModule?r:{"default":r},f=i(125),h=i(136),c=0,e=void 0;t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){var t=n.sender;(function(n){var t=n.getName().toLowerCase();return("doughnut2d"===t||"multilevelpie"===t)&&"dataset"===n.getType()})(t)&&t.registerFactory("centerLabel",function(){var n=t.getFromEnv("chartConfig"),i=t.getFromEnv("chartInstance"),r=!(!n.centerlabel&&!n.defaultcenterlabel);i.centerLabel=l;f.componentFactory(t,u["default"],"centerLabel",r?1:0,[n])})})},name:"CenterLabelExtension",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var u,e=i(138),r=i(125),o=i(132),s=i(266),h=(u=s)&&u.__esModule?u:{"default":u};o.addDep({name:"centerLabelAnimation",type:"animationRule",extension:h["default"]});f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return c(t,n),t.prototype.getName=function(){return"centerLabel"},t.prototype.getType=function(){return"centerLabel"},t.prototype.configure=function(n){var t=this.getFromEnv("chart-attrib"),f=this.getFromEnv("number-formatter"),i=n.dataLabelStyle,u=this;u.config={label:r.parseUnsafeString(r.pluck(t.defaultcenterlabel,"")),font:r.pluck(t.centerlabelfont,i.fontFamily),fontSize:r.pluckNumber(t.centerlabelfontsize,parseInt(i.fontSize,10)),color:r.getFirstColor(r.pluck(t.centerlabelcolor,t.valuefontcolor,n.style.inCanvasStyle.color,"555555")),alpha:r.pluckNumber(t.centerlabelalpha,100),bold:r.pluckNumber(t.centerlabelbold,i.fontWeight),italic:r.pluckNumber(t.centerlabelitalic,i.style),bgColor:r.pluck(t.centerlabelbgcolor,""),bgAlpha:r.pluckNumber(t.centerlabelbgalpha,100),borderColor:r.pluck(t.centerlabelbordercolor,i.borderColor),borderAlpha:r.pluckNumber(t.centerlabelborderalpha,100),borderThickness:r.pluckNumber(t.centerlabelborderthickness,i.borderThickness),borderRadius:r.pluckNumber(t.centerlabelborderradius,i.borderRadius),textPadding:r.pluckNumber(t.centerlabeltextpadding,i.borderPadding),padding:r.pluckNumber(t.centerlabelpadding,2),bgOval:r.pluckNumber(t.centerlabelbgoval,0),shadow:r.pluckNumber(t.showcenterlabelshadow,
430),hoverColor:t.centerlabelhovercolor&&r.getFirstColor(r.pluck(t.centerlabelhovercolor)),hoverAlpha:r.pluckNumber(t.centerlabelhoveralpha),toolText:r.parseUnsafeString(r.pluck(t.centerlabeltooltext,r.BLANKSTRING))};u.addExtEventListener("datasetrollover",function(n){var i=n.sender.getFromEnv("dataSource"),t=n.data,e=r.pluck(function(n,t,i){if(n)for(var u,r=t.length||0;r--;)u=new RegExp(t[r],"gi"),n=n.replace(u,i[r]);return n}(i.chart.centerlabel,["\\$value","\\$percentValue","\\$displayValue","\\$label"],[f.scale(t.value),t.pValue,t.displayValue,t.label]),"");u.draw(e,!1)},this.getFromEnv("chart").getDatasets()[0]);u.addExtEventListener("datasetrollout",function(n){var t=n.sender.config.label,i=r.pluck(t,"");u.draw(i,!1)},this.getFromEnv("chart").getDatasets()[0])},t.prototype.draw=function(n){var s,i=this,u=i.getFromEnv("chart"),a=u.config.canvasLeft+.5*u.config.canvasWidth,v=u.config.canvasTop+.5*u.config.canvasHeight,y=u.getDatasets()[0].config.innerSize,d=u.getDatasets()[0].config.innerSize,p=u.getDatasets()[0].config,t=this.config,o=i.getFromEnv("animationManager"),h=i.getFromEnv("smartLabel"),c=this.getGraphicalElement("centerLabel"),f=c,e=this.getGraphicalElement("centerLabelBg"),w=u.getChildContainer("plotGroup"),l=t.padding,b=2*t.textPadding,k={fontFamily:t.font,fontSize:t.fontSize+"px",lineHeight:1.2*t.fontSize+"px",fontWeight:t.bold?"bold":"",fontStyle:t.italic?"italic":""},g=1.414*(.5*y-l)-b,nt=1.414*(.5*d-l)-b,tt=i.getFromEnv("toolTipController");n=r.pluck(n,t.label);h.setStyle(k);h.useEllipsesOnOverflow(u.config.useEllipsesWhenOverflow);s=h.getSmartText(n,g,nt);n?(t.bgOval&&(e=o.setAnimation({el:e||"circle",attr:{cx:a,cy:v,r:.5*y-l,visibility:"visible",container:w,fill:r.hashify(t.bgColor),"fill-opacity":t.bgAlpha/100,stroke:r.hashify(t.borderColor),"stroke-width":t.borderThickness,"stroke-opacity":t.borderAlpha/100},component:i})),f=o.setAnimation({el:c||"text",component:i,container:w,css:k,attr:{x:a,y:v,text:s.text,visibility:"visible",direction:u.config.textDirection,fill:r.toRaphaelColor({FCcolor:{color:t.color,alpha:t.alpha}}),"text-bound":t.bgOval?"none":[r.toRaphaelColor({FCcolor:{color:t.bgColor,alpha:t.bgAlpha}}),r.toRaphaelColor({FCcolor:{color:t.borderColor,alpha:t.borderAlpha}}),t.borderThickness,t.textPadding,t.borderRadius]},label:"text"}),tt.enableToolTip(f,t.toolText||s.tooltext)):(f&&o.setAnimation({el:f,attr:{visibility:"hidden"},component:i}),e&&o.setAnimation({el:e,attr:{visibility:"hidden"},component:i}));c?f.attr("text")!==n&&i.centerLabelChange(n):(i.addEventListener("fc-mouseover",function(){i._centerLabelRollover(u)}),i.addEventListener("fc-mouseout",function(){i._centerLabelRollout(u)}),i.addEventListener("fc-click",function(){i._centerLabelClick(u)}),i.addGraphicalElement("centerLabel",f),i.addGraphicalElement("centerLabelBg",e));p.lastCenterLabelConfig=t;p.centerLabelConfig=t},t.prototype.centerLabelChange=function(n){var t=this.getFromEnv("chart"),r=t.config,i=this.getFromEnv("chartInstance"),u={height:r.height,width:r.width,pixelHeight:t.getFromEnv("chartWidth"),pixelWidth:t.getFromEnv("chartHeight"),id:i.id,renderer:i.args.renderer,container:i.options.containerElement,centerLabelText:n};t.fireChartInstanceEvent("centerLabelChanged",u)},t.prototype._centerLabelRollover=function(n){var i=n.config,t=n.getFromEnv("chartInstance"),r=this.config,u={height:i.height,width:i.width,pixelHeight:n.getFromEnv("chartWidth"),pixelWidth:n.getFromEnv("chartHeight"),id:t.id,renderer:t.args.renderer,container:t.options.containerElement,centerLabelText:r&&r.label};this.getFromEnv("paper").attr("text")&&n.fireChartInstanceEvent("centerLabelRollover",u,void 0,this.hoverOnCenterLabel.bind(this,n))},t.prototype._centerLabelRollout=function(n){var i=n.config,t=n.getFromEnv("chartInstance"),r=this.config,u={height:i.height,width:i.width,pixelHeight:n.getFromEnv("chartWidth"),pixelWidth:n.getFromEnv("chartHeight"),id:t.id,renderer:t.args.renderer,container:t.options.containerElement,centerLabelText:r&&r.label};this.getFromEnv("paper").attr("text")&&n.fireChartInstanceEvent("centerLabelRollout",u,void 0,this.hoverOffCenterLabel.bind(this,n))},t.prototype._centerLabelClick=function(n){var t,r=n.config,i=n.getFromEnv("chartInstance"),u={height:r.height,width:r.width,pixelHeight:n.getFromEnv("chartWidth"),pixelWidth:n.getFromEnv("chartHe
43ight"),id:i.id,renderer:i.args.renderer,container:i.options.containerElement};t=this.config;u.centerLabelText=t&&t.label;this.getFromEnv("paper").attr("text")&&n.fireChartInstanceEvent("centerLabelClick",u)},t.prototype.hoverOnCenterLabel=function(n){var t=n.getChildren("dataset")[0].config.lastCenterLabelConfig;(t.hoverColor||t.hoverAlpha)&&this.getGraphicalElement("centerLabel").attr({fill:r.toRaphaelColor({FCcolor:{color:t.hoverColor||t.color,alpha:t.hoverAlpha||t.alpha}})})},t.prototype.hoverOffCenterLabel=function(n){var t=n.getChildren("dataset")[0].config.lastCenterLabelConfig;(t.hoverColor||t.hoverAlpha)&&this.getGraphicalElement("centerLabel").attr({fill:r.toRaphaelColor({FCcolor:{color:t.color,alpha:t.alpha}})})},t}(e.ComponentInterface);t["default"]=f},function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.centerLabel.centerLabel.text.appearing":function(n){if(n.attr)return[{initialAttr:{x:n.attr.x,y:n.attr.y}}]}}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}var f;t.__esModule=!0;var r=i(125),e=u(i(268)),o=u(i(270));f={dragnode:!0,hlineargauge:!0,column3d:!0,mscolumn3d:!0,bar3d:!0,pareto3d:!0,msbar3d:!0,stackedcolumn3d:!0,stackedbar3d:!0,mscombi3d:!0,mscolumnline3d:!0,stackedcolumn3dline:!0,mscolumn3dlinedy:!0,stackedcolumn3dlinedy:!0,realtimearea:!0,realtimecolumn:!0,realtimeline:!0,realtimestackedarea:!0,realtimestackedcolumn:!0,angulargauge:!0,realtimelinedy:!0,kagi:!0,treemap:!0,heatmap:!0,boxandwhisker2d:!0,scatter:!0,timeseries:!0,bubble:!0,errorscatter:!0,sparkwinloss:!0,zoomscatter:!0,zoomline:!0,zoomlinedy:!0};t["default"]={extension:function(n){n.addEventListener("preconfigure",function(n){if("chartAPI"===n.sender.getType()){var t=n.sender,i=t.getFromEnv("chartInstance");i.drawCrossline=function(n){i.drawConsolidatedToolTip(n);t.iterateComponents(function(t){"crossline-manager"===t.getType()&&(n!==undefined?t.show({value:n}):t.hide())})}}});n.addEventListener("scrollstart",function(n){for(var t,r,u=n.sender.apiInstance.getChildren("canvas"),i=0;i<u.length;i++)(t=(t=u[i].getChildren("crosslineManagerBand"))&&t[0])&&(r=t._handlerAPI,t.config.axisScrolling=!0,r.onhoverout(n))});n.addEventListener("scrollend",function(n){for(var i,r=n.sender.apiInstance.getChildren("canvas"),t=0;t<r.length;t++)(i=r[t].getChildren("crosslineManagerBand"))&&i[0]&&(i[0].config.axisScrolling=!1)});n.addEventListener("instantiated",function(n){if("canvas"===n.sender.getName()){var i=n.sender,t=void 0,u=void 0;i.registerFactory("crossLineManager",function(){var s=n.sender.getFromEnv("chart"),h=s&&s.getName();h&&!f[h.toLowerCase()]&&(r.componentFactory(i,o["default"],"crosslineManagerBand"),t=i.getChildren("crosslineManagerBand")[0],u=t._handlerAPI,t.configure(),r.componentFactory(t,e["default"],"crossline"),t.addExtEventListener("fc-mouseover",u.onhover,i),t.addExtEventListener("fc-mousemove",u.onhover,i),t.addExtEventListener("fc-mouseout",u.onhoverout,i))})}})},name:"crossline-manager",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r,e=i(138),u=i(125),o=i(132),s=i(269),h=(r=s)&&r.__esModule?r:{"default":r};f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return o.addDep({name:"crosslineAnimation",type:"animationRule",extension:h["default"]}),i}return c(t,n),t.prototype.getName=function(){return"crossline"},t.prototype.getType=function(){return"crossline"},t.prototype.show=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i=!!n.onTop,t=n.type;i!==this.config.prevRenderedOnTop&&this.hide();!this[t]&&(t="band");this[t](n);this.config.prevRenderedOnTop=i},t.prototype.band=function(){var s,n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},h=n.managerId,i=n.x1,r=n.y1,f=n.x2,e=n.y2,a=n.thickness,v=!!n.onTop,y=u.pluck(n.fillcolor,"#EEEEEE"),p=u.pluckNumber(n.alpha,50),c=u.toRaphaelColor({color:y,alpha:p}),o=void 0,t=this.getLinkedParent().getLinkedParent().getEffectiveDimensions(),l=[t.left,t.top,t.width,t.height].toString(),w=this.getLinkedParent().getChildContainer("crosslineBottom"),b=this.getLinkedParent().getChildContainer("crosslineTop");s=v?b:w;(o=this.getGraphicalElement("crosslineBand"+h))?n.animDuration?o.animate({path:["M",i,r,"L",f,e]},n.animDuration,"ease-in"):o.attr({path:["M",i,r,"L",f,e],"clip-rect":l}):this.addGraphicalElement("crosslineBand"+h,this.getFromEnv("paper").path({path:["M",i,r,"L",f,e],"clip-rect":l,stroke:c,fill:c,"stroke-width":a,"stroke-linecap":"butt"},s))},t.prototype.hide=function(){for(var t=this.getGraphicalElement(),i=Object.keys(t),n=i.length-1;n>-1;
43n--)t[i[n]].stop(undefined,!0,!0),t[i[n]].remove(),delete t[i[n]]},t}(e.ComponentInterface);t["default"]=f},function(n,t){"use strict";t.__esModule=!0;t["default"]={crossline:{crossline:{path:{updating:function(n){var t=n.attr.path;return[{initialAttr:{path:n.el.attr("path")},finalAttr:{path:t}}]}}}}}},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u;t.__esModule=!0;r=i(125);u=i(138);var f=r.hasSVG?0:.5,s=function(n){return{onhover:function(t,i){n.config.axisScrolling||n.show(i.axes?{axesInfo:i.axes}:{event:t})},onhoverout:function(t){n.hide({event:t})}}},e=function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:{name:n},container:t,state:"appearing",component:i,label:"group"})},h=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i._handlerAPI=s(i),i.mouseOutTimer=undefined,i}return o(t,n),t.prototype.getAttachedAxisInfo=function(){for(var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},u=this.getLinkedParent().getAxes(),t=void 0,n=void 0,f=void 0,e=void 0,i=o.originalEvent&&r.getMouseCoordinate(this.getFromEnv("chart-container"),o.originalEvent,this.getFromEnv("chart")),s=i&&i.chartX||0,h=i&&i.chartY||0,t=u.length-1;t>=0;t--)if(n=u[t].axis,!u[t].isY)return f=!!n.config.isVertical,e=n.getTranslation(),{value:f?n.getValue(h+e):n.getValue(s+e),axis:n,isVertical:f,isY:!1}},t.prototype.configure=function(){var i=this.config,t=this.getFromEnv("chartConfig"),n=this.getFromEnv("chart-attrib"),u=r.pluck(n.crosslinecolor,t.crosslinecolor,"#EEEEEE"),f=r.pluckNumber(t.defaultcrosslinethickness),e=r.pluckNumber(n.crosslineanimation,0)&&1e3*r.pluckNumber(n.crosslineanimationduration,.09),o=r.pluckNumber(n.drawcrosslineontop,t.drawcrosslineontop,0),s=r.pluckNumber(n.crosslinealpha,t.crosslinealpha,50);i.drawCrossLine=r.pluckNumber(n.drawcrossline,t.drawcrossline,0);i.bandStyle={fillcolor:u,alpha:s,thickness:f,managerId:this.getId(),onTop:o,cursor:"pointer",animDuration:e}},t.prototype.createGroup=function(){var n=this.getLinkedParent().getChildContainer("crosslineBottom"),t=this.getLinkedParent().getChildContainer("crosslineTop");this.getChildContainer("crosslineTop")||this.addChildContainer("crosslineTop",e("crosslineTop",t,this));this.getChildContainer("crosslineBottom")||this.addChildContainer("crosslineBottom",e("crosslineBottom",n,this))},t.prototype.show=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=n.event,i=this.config;clearTimeout(this.mouseOutTimer);i.attachedCanvasAxisInfo=this.getAttachedAxisInfo(t);this._setAptAxesInfo(n.axesInfo,n.value);this._show(t)},t.prototype._setAptAxesInfo=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],r=arguments[1],f=t.length,u=void 0,i=this.config.attachedCanvasAxisInfo,n=void 0;if(t.length)for(n=0;n<f;n++)if((u=t[n]).axis===i.axis){i.value=u.value;break}void 0!==r&&(i.value=r)},t.prototype._show=function(n){var l,h,c=this.config,w=this.getFromEnv("chartConfig"),b=this.getChildren("crossline")[0],r=c.attachedCanvasAxisInfo,k=r.value,o=r.axis,d=r.isVertical,g=o.config.endPad,nt=o.getLimit().max-g,t=Math.round(k),tt=r.axis.getPixel(t)-r.axis.getTranslation(),a=void 0,v=void 0,u=void 0,i=Object.assign({},c.bandStyle),e=void 0,s=this.getFromEnv("canvasConfig"),y=s.canvasTop,p=s.canvasLeft,it=s.canvasWidth,rt=y+s.canvasHeight,ut=c.drawCrossLine;t<0||t>nt||this.config.lastIndex!==t&&ut&&(void 0===(u=i.thickness)&&(!1===w._hascolumn?u=1:(a=o.getPixel(0),v=o.getPixel(1),u=Math.abs(v-a))),l=tt,h=u,e=Math.round(l+(h%2/2+f))-(h%2/2+f),this.createGroup(),i.thickness=u,i=d?Object.assign(i,{x1:p,y1:e,x2:p+it,y2:e}):Object.assign(i,{x1:e,y1:y,x2:e,y2:rt}),b.show(i),this.getFromEnv("chart").fireChartInstanceEvent("onChangeCrossLine",{currentIndex:t,lastIndex:this.config.lastIndex,source:n?"mouse interaction":"public API"}),this.config.lastIndex=t)},t.prototype.hide=function(){var n=this,t=this,i=(arguments.length>0&&arguments[0]!==undefined?arguments[0]:{}).event;this.mouseOutTimer=setTimeout(function(){t.getFromEnv("chart").fireChartInstanceEvent("onChangeCrossLine",{lastIndex:t.config.lastIndex,source:i?"mouse interaction":"public API"});delete n.config.lastIndex;n.getChildren("crossline")[0].hide()},20)},t.prototype.getType=function(){return"crossline-manager"},t.prototype.getName=function(){return"crossline-manager-band-category-axis"},t}(u.ComponentInterface);t["default"]=h},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r,f,e;t.__esModule=!0;u=i(138);r=i(125);f={candlestick:!0};e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i,r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return r._handlers=(i=r,{onhover:function(n){n.originalEvent&&i.show(n)},onhoverout:function(n){n.originalEvent&&i.hide(n)}}),r}return o(t,n),t.prototype.getAxesInfo=function(){for(var s=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i=arguments[1].getAxes(),n=void 0,f=[],t=void 0,e=void 0,u=void 0,o=r.getMouseCoordinate(this.getFromEnv("chart-container"),s.originalEvent,this.getFromEnv("chart")),h=o.chartX||0,c=o.chartY||0,n=i.length-1;n>=0;n--)t=i[n].axis,e=i[n].isY,u=!!t.config.isVertical,f.push({value:u?t.getValue(c):t.getValue(h),axis:t,isVertical:u,isY:e});return f},t.prototype.getName=function(){return"multiCanvasCrosslineManager"},t.prototype.getType=function(){return"multiCanvasCrosslineManager"},t.prototype.show=function(n){var t,i=n.sender,r=this.getFromEnv("chart");t=this.getAxesInfo(n,i);r.iterateComponents(function(n){"canvas"===n.getName()&&n!==i&&n.fireEvent("fc-mousemove",{axes:t})})},t.prototype.hide=function(n){var t=n.sender,i=r.getMouseCoordinate(t.getFromEnv("chart-container"),n&&n.originalEvent,t.getFromEnv("chart")),u=i.chartX,f=i.chartY;t.isWithinCanvas(u,f)||this.getFromEnv("chart").iterateComponents(function(n){"canvas"===n.getName()&&n!==t&&n.fireEvent("fc-mouseout")})},t}(u.ComponentInterface);t["default"]={extension:function(n){n.addEventListener("instantiated",function(n){if(n.sender.getType&&"chartAPI"===n.sender.getType()&&f[n.sender.getName&&n.sender.getName()]){var t=n.sender,u=void 0,i=void 0;t.registerFactory("multiCanvasCrossline",function(){r.componentFactory(t,e,"multiCanvasCrosslineManager");u=t.getChildren("multiCanvasCrosslineManager")[0];i=u._handlers;t.iterateComponents(function(n){"canvas"===n.getName()&&(n.addEventListener("fc-mouseover",i.onhover),n.addEventListener("fc-mousemove",i.onhover),n.addEventListener("fc-mouseout",i.onhoverout))})},["canvas"])}})},name:"multi-canvas-crossline-manager",type:"extension",requiresFusionCharts:!0}},function(n,t,i){"use strict";t.__esModule=!0;t.setConfig=t.getConfig=undefined;var r,f=i(273),e=(r=f)&&r.__esModule?r:{"default":r},u=i(280);t["default"]=e["default"];t.getConfig=u.getConfig;t.setConfig=u.setConfig},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(274),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";t.__esModule=!0;
43var u,e=i(275),o=(u=e)&&u.__esModule?u:{"default":u},f=i(319),r=i(276),s=function(){function n(t,i,r){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.dataTables={};this._defaultDataTable=null;this._id=+new Date+"";t&&i&&t.constructor===Array&&i.constructor===Array&&this.createDataTable(t,i,r)}return n.prototype.createDataTable=function(n,t,i,u){if(!n||!t)throw new Error("Both data and schema must be provided to build DataTable");if(n.constructor!==Array)throw new Error("Data must be provided in 2D array format or array of json objects");if(t.constructor!==Array||0===t.length)throw new Error("Input schema is not in a correct format - schema must be an array of column configurations");var h,f,s={},e=void 0;if(e=Object.keys(this.dataTables),u){if(e.includes(u))throw new Error("A table with the id "+u+" already exists in the DataStore. Please use a different id.");}else u=r.createTableID(e);return Object.assign(s,{enableIndex:!0,enableUTC:!1},i),h=r.parseAndIndexData(n,t,s),f=new o["default"](this,h,t,s,null,null,u),0===e.length&&(this._defaultDataTable=f),this.dataTables[u]=f,f},n.prototype.appendRows=function(n,t){var o,f,u,e,i=this.getDataTable(t);u=i.getSchema();e=r.buildDateColumnsFormatter(u);f=r.parseData(n,u,e);(o=i._data).push.apply(o,f);r.indexData(i._data,u,i._config,e);i._appendRows(f);this.trigger("itemsAdded",{rows:n,tableID:t})},n.prototype.getDataTable=function(n){if(n){if(!this.dataTables[n])throw new Error("DataTable with id "+n+" is not found in the DataStore.");return this.dataTables[n]}return this._defaultDataTable},n.prototype.on=function(n,t){f.addHandler(n,t,this)},n.prototype.off=function(n,t){f.removeHandler(n,t,this)},n.prototype.trigger=function(n,t){f.triggerEvent(n,this,t)},n.prototype.dispose=function(){var n=this;for(var t in n.dataTables)n.dataTables[t].dispose(),delete n.dataTables[t];delete n._id;delete n.dataTables;delete n._defaultDataTable;this.trigger("disposed");n=null},n.prototype._propagate=function(n){for(var t in this.trigger("payloadReceived",n),this.dataTables)this.dataTables[t]._payloadReceiver(n)},n}();t["default"]=s},function(n,t,i){"use strict";t.__esModule=!0;var r=i(276),u=i(319),f=function(){function n(t,i,r,u,f,e,o){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this._dataStore=t;this._parentTable=f;this._parentTable&&this._parentTable._children.push(this);this._children=[];this._opsFunnel=e;this._data=i||[];this._schema=r;this._config=u;this._id=o;this._result=null}return n.prototype._appendRows=function(n){var u=this._children&&this._children.length||0,r=this._result&&this._result.schema.length||0,t,i;for(r&&(this._calcColumns=[]),t=0;t<r;t++)this._result.schema[t].calcFn&&this._calcColumns.push(this._result.schema[t]);for(this._result&&delete this._result,i=0;i<u;i++)this._children[i]._appendRows(n)},n.prototype.count=function(){return this._executeFunnel().data.length},n.prototype.getSchema=function(){return this._executeFunnel().schema},n.prototype.getID=function(){return this._id},n.prototype.getDataStore=function(){return this._dataStore},n.prototype.getChildren=function(n){if(n){for(var t=0;t<this._children.length;t++)if(this._children[t]._id===n)return this._children[t];return null}return this._children},n.prototype.getData=function(n,t){n=n||0;t=t&&("string"==typeof t||t instanceof String)||null===t?undefined:t;var i=this._executeFunnel();return{data:i.data&&i.data.slice(n,t&&t>0?n+t:t),schema:i.schema}},n.prototype.dispose=function(){var n=this,r=n._children&&n._children.length||0,t,i;if(n._parentTable&&n._parentTable._children){for(t=void 0,t=0;t<n._parentTable._children.length&&("undefined"==typeof n._id||n._id!==n._parentTable._children[t]._id);t++);t!==n._parentTable._children.length&&n._parentTable._children.splice(t,1)}for(delete n._dataStore,delete n._parentTable,delete n._opsFunnel,delete n._data,delete n._schema,delete n._config,delete n._result,delete n._id,i=0;i<r;i++)n._children[i].dispose();delete n._children;n._trigger("disposed");delete n._evtHandlers;n=null},n.prototype.min=function(n){var t=this.getData();return r.columnMinValue(n,t.data,t.schema)},n.prototype.max=function(n){var t=this.getData();return r.columnMaxValue(n,t.data,t.schema)},n.prototype.unique=function(n){var t=this.getData();return r.columnUnique(n,t.data,t.schema)},n.prototype.extents=function(n){var t=this.getData();return r.columnExtents(n,t.data,t.schema)},n.prototype.addColumns=function(){for(var r,n,u=arguments.length,t=Array(u),i=0;i<u;i++)t[i]=arguments[i];if(r=t.length,r>0)for(this._calcColumns=this._calcColumns||[],n=0;n<r;n++){if(!t[n].name)throw new Error("name is required in column "+(n+1));
43if(t[n].calcFn&&!(t[n].calcFn instanceof Function))throw new Error("calcFn must be a function in column "+(n+1));t[n].calcFn||(t[n].calcFn=function(){return undefined});this._calcColumns.push(Object.assign({},t[n]))}this._trigger("updated",t)},n.prototype.query=function(t){return t&&t.constructor!==Array&&(t=[t]),new n(this._dataStore,this._data,this._schema,this._config,this,t)},n.prototype.indexOf=function(n){var t=this._executeFunnel();return r.columnIndexOf(n,t.schema)},n.prototype.on=function(n,t){u.addHandler(n,t,this)},n.prototype.off=function(n,t){u.removeHandler(n,t,this)},n.prototype._trigger=function(n,t){u.triggerEvent(n,this,t)},n.prototype._executeFunnel=function(){var t,i,o;if(!this._result)if(this._opsFunnel){var s,e=void 0,u=void 0,f=void 0,n=void 0;for(u=(e=this._parentTable._executeFunnel()).data.slice(0),f=e.schema.slice(0),n=Object.assign({},e.config),s=this._opsFunnel.length,t=0;t<s;t++)this._opsFunnel[t]&&this._opsFunnel[t].fn&&(i=this._opsFunnel[t].fn(u,f,n),u=i.generatorFn?i.generatorFn():i.data,f=i.schema,(n=Object.assign(n,i.config)).indexBy===undefined&&(n.enableIndex=!1));this._result={data:u,schema:f,config:n}}else this._result={data:this._data,schema:this._schema,config:this._config};return this._calcColumns&&this._calcColumns.length>0&&(o=r.addColumnsSchema(this._result.schema,this._calcColumns),this._result.schema=o.schema,this._result.data=r.addColumnsData(this._result.data,this._result.schema,o.calcColumns),delete this._calcColumns),this._result},n.prototype._flushResult=function(n){var r=this._result&&this._result.schema.length||0,t,i;for(r&&(this._calcColumns=[]),t=0;t<r;t++)this._result.schema[t].calcFn&&this._calcColumns.push(this._result.schema[t]);if(this._result&&(this._result=null),this._children)for(i=0;i<this._children.length;i++)this._children[i]._flushResult(n);this._trigger("resultFlushed",n)},n.prototype.propagate=function(n){this.getDataStore()._propagate({trigger:this,payload:n})},n.prototype._payloadReceiver=function(n){var i=this._children&&this._children.length||0,t;for(n&&n.trigger&&n.trigger!==this&&this._trigger("payloadReceived",n),t=0;t<i;t++)this._children[t]._payloadReceiver(n)},n.prototype.getMinDiff=function(n){var t=this.getData();return r.columnMinDiff(n,t.data,t.schema,this._config.indexBy)},n.prototype.isUTCEnabled=function(n){return r.isUTCEnabled(n,this.getSchema())},n}();t["default"]=f},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function u(n,t){if(!t||!n)return null;for(var i=0;i<t.length;i++)if(t[i]&&t[i].hasOwnProperty("name")&&t[i].name===n)return i;return-1}function s(n,t,i){return i[n.name]!==undefined&&t?i[n.name]?+i[n.name].parse(t):+new Date(t):"number"===n.type?r.isNumber(t)?t:t?parseFloat(t):null:t}function f(n){for(var i={},t=0;t<n.length;t++){if(!n[t].name)throw new Error("Input schema is not in a correct format - each column must have a name");n[t].type&&"date"===n[t].type&&(i[n[t].name]=n[t].format?(n[t].enableUTC!==undefined?n[t].enableUTC:h.getConfig("enableUTC"))?c["default"].utcParser(n[t].format):c["default"].parser(n[t].format):null)}return i}function l(n,t,i){var c=[],e,r;if(n.length>0){e=i;r=void 0;e||(e=f(t));try{for(var l=t.length,o=void 0,u=void 0,a=void 0,h=0;h<n.length;h++){if(o=[],(u=n[h]).constructor===Array)for(a=Math.min(l,u.length),r=0;r<a;r++)o[r]=s(t[r],u[r],e);else{if("object"!==(void 0===u?"undefined":v(u)))continue;for(r=0;r<l;r++)u[t[r].name]&&(o[r]=s(t[r],u[t[r].name],e))}c.push(o)}}catch(y){throw new Error("Error while parsing the data - "+y);}}return c}function a(n,t,i,r){var h;if(i.enableIndex){var u=void 0,o=void 0,s=void 0;if(!i.indexBy)if((s=r)||(s=f(t)),h=Object.keys(s),h.length>0)i.indexBy=h[0];else{for(u=0;u<t.length;u++)if(t[u].type&&"number"===t[u].type){i.indexBy=t[u].name;break}u===t.length&&(i.indexBy=t[0].name)}for(u=0;u<t.length&&(!t[u]||t[u].name!==i.indexBy);u++);if(u===t.length)throw new Error("Index column is not found in schema");switch(t[u].type){case"number":case"date":o=e.numberComparator;break;default:o=e.stringComparator}y["default"](n,function(n,t){return o(n[u],t[u])})}}
43t.__esModule=!0;t.isUTCEnabled=t.indexData=t.parseData=t.buildDateColumnsFormatter=t.createTableID=t.parseAndIndexData=t.addColumnsData=t.addColumnsSchema=t.columnUnique=t.columnExtents=t.columnMinDiff=t.columnMaxValue=t.columnMinValue=t.columnIndexOf=undefined;var v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r=i(277),e=i(278),y=o(i(279)),h=i(280),c=o(i(281)),p=o(i(296));t.columnIndexOf=u;t.columnMinValue=function(n,t,i){var f,s=void 0,o,e;if(null===(f=u(n,i))||-1===f)return null;if(t&&t.length>0)for(o=void 0,s=Number.POSITIVE_INFINITY,e=0;e<t.length;e++)o="interval"===i[f].type?t[e][f]?t[e][f].start:null:t[e][f],r.isNumber(o)&&o<s&&(s=o);return s};t.columnMaxValue=function(n,t,i){var f,s=void 0,o,e;if(null===(f=u(n,i))||-1===f)return null;if(t&&t.length>0)for(o=void 0,s=Number.NEGATIVE_INFINITY,e=0;e<t.length;e++)o="interval"===i[f].type?t[e][f]?t[e][f].end:null:t[e][f],r.isNumber(o)&&o>s&&(s=o);return s};t.columnMinDiff=function(n,t,i,f){var o,h=t,y=t.length,s=void 0,l;if(null===(o=u(n,i))||-1===o)return null;if(i[o]&&["date","number"].indexOf(i[o].type)<0)throw new Error("Operation valid only on date or number columns");if(f&&n===f||(h=t.slice(0)).sort(function(n,t){return e.numberComparator(n[o],t[o])}),h&&y>0){var c=void 0,a=void 0,v=void 0;for(s=Number.POSITIVE_INFINITY,l=0;l<h.length-1&&(a=h[l][o],v=h[l+1][o],r.isNumber(v)&&r.isNumber(a))&&(c=v-a,0!==(s=r.isNumber(c)&&c>=0&&c<s?c:s));l++);}return s===Number.POSITIVE_INFINITY?null:s};t.columnExtents=function(n,t,i){var s=Number.POSITIVE_INFINITY,h=Number.NEGATIVE_INFINITY,f=u(n,i),o=void 0,e;if(null===f||-1===f)return null;if(t&&t.length>0)for(e=0;e<t.length;e++)o="interval"===i[f].type?t[e][f]?t[e][f].start:null:t[e][f],r.isNumber(o)&&o<s&&(s=o),o="interval"===i[f].type?t[e][f]?t[e][f].end:null:t[e][f],r.isNumber(o)&&o>h&&(h=o);return{min:s,max:h}};t.columnUnique=function(n,t,i){var f=u(n,i),o=[],e=void 0,r;if(null===f||-1===f)return[];for(r=0;r<t.length;r++)o.push(t[r][f]);return t&&t.length>0?1===(e=Array.from(new p["default"](o))).length&&"undefined"==typeof e[0]?[]:e:[]};t.addColumnsSchema=function(n,t){for(var f,u,e=t.length,r=n.slice(0),i=0;i<e;i++){for(f=r.length,t[i].originalName=t[i].name,u=0;u<f;u++)t[i].name===r[u].name&&(t[i].i=t[i].i&&++t[i].i||1,t[i].name=t[i].originalName+" "+t[i].i),t[i].type&&-1!==["string","number","date"].indexOf(t[i].type)||(t[i].type="string");delete t[i].originalName;delete t[i].i;r.push({name:t[i].name,type:t[i].type||"string"});t[i].calcFn&&(r[r.length-1].calcFn=t[i].calcFn);t[i].format&&(r[r.length-1].format=t[i].format);t[i].enableUTC&&(r[r.length-1].enableUTC=t[i].enableUTC);t[i].columnIndex=r.length-1}return{schema:r,calcColumns:t}};t.addColumnsData=function(n,t,i){for(var u,r,e,c=n.length,l=i.length,a=t.length,h={},v=f(i),o=0;o<a;o++)h[t[o].name]=o;for(u=0;u<c;u++)for(r=0;r<l;r++)i[r].calcFn&&(e=i[r].calcFn(n[u],h,u),e=s(i[r],e,v),n[u][i[r].columnIndex]=e);return n};t.parseAndIndexData=function(n,t,i){var r=f(t),u=l(n,t,r);return a(u,t,i,r),u};t.createTableID=function(n){for(var t=n.length+1;n.includes("table-"+t);)t++;return"table-"+t};t.buildDateColumnsFormatter=f;t.parseData=l;t.indexData=a;t.isUTCEnabled=function(n,t){var i;return null===(i=u(n,t))||-1===i||"date"!==t[i].type&&"interval"!==t[i].type?null:t[i].enableUTC!==undefined?t[i].enableUTC:h.getConfig("enableUTC")}},function(n,t){"use strict";t.__esModule=!0;t.isNumber=function(n){return"number"==typeof n&&!isNaN(n-n)}},function(n,t,i){"use strict";t.__esModule=!0;t.stringComparator=t.numberComparator=undefined;var r=i(277);t.numberComparator=function(n,t){return null===n||void 0===n?t===n?0:1:r.isNumber(t)?n-t:isNaN(n)&&isNaN(t)?0:-1};t.stringComparator=function(n,t){return null===n||void 0===n?t===n?0:1:r.isNumber(t)?r.isNumber(n)?n-t:-1:n===t?0:n<t?-1:1}},function(n,t){"use strict";function r(n,t,i,r,u){var s,e;for(i=i||0,r=r||n.length,u=u||i+1,t||(t=function(n,t){return n-t}),i===u&&++u;u<r;++u){var f=i,o=u,h=n[o];do s=f+(o-f>>1),t(h,n[s])<0?o=s:f=s+1;while(f<o);for(e=u;e>f;--e)n[e]=n[e-1];n[f]=h}}function h(n,t,i,r){var u=i+1;if(u===r)return 1;if(t(n[u++],n[i])<0){for(;u<r&&t(n[u],n[u-1])<0;)u++;!function(n,t,i){for(--i;t<i;){var r=n[t];n[t++]=n[i];n[i--]=r}}(n,i,u)}else for(;u<r&&t(n[u],n[u-1])>=0;)u++;return u-i}function u(n,t,i,r,u,f){var o=0,s=0,e=1,c=void 0,h=void 0;if(f(n,t[i+u])>0){for(s=r-u;e<s&&f(n,t[i+u+e])>0;)o=e,(e=1+(e<<1))<=0&&(e=s);e>s&&(e=s);o+=u;e+=u}else{for(s=u+1;e<s&&f(n,t[i+u-e])<=0;)o=e,(e=1+(e<<1))<=0&&(e=s);e>s&&(e=s);c=o;o=u-e;e=u-c}for(o++;o<e;)f(n,t[i+(h=o+(e-o>>>1))])>
430?o=h+1:e=h;return e}function f(n,t,i,r,u,f){var o=0,s=0,e=1,c=void 0,h=void 0;if(f(n,t[i+u])<0){for(s=u+1;e<s&&f(n,t[i+u-e])<0;)o=e,(e=1+(e<<1))<=0&&(e=s);e>s&&(e=s);c=o;o=u-e;e=u-c}else{for(s=r-u;e<s&&f(n,t[i+u+e])>=0;)o=e,(e=1+(e<<1))<=0&&(e=s);e>s&&(e=s);o+=u;e+=u}for(o++;o<e;)f(n,t[i+(h=o+(e-o>>>1))])<0?e=h:o=h+1;return e}var c;t.__esModule=!0;var e=64,i=7,o=256,s=40;c=function(){function n(t,r){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.arr=t;this.comparer=r;this.length=t.length;this.tmpStorageLen=this.length<2*o?this.length>>>1:o;this.tmp=new Array(this.tmpStorageLen);this.runBaseArr=new Array(s);this.runLenArr=new Array(s);this.minGallop=i;this.stackSize=0}return n.prototype.pushRun=function(n,t){this.runBaseArr[this.stackSize]=n;this.runLenArr[this.stackSize]=t;this.stackSize++},n.prototype.mergeCollapse=function(){for(var n=void 0;this.stackSize>1;){if((n=this.stackSize-2)>=1&&this.runLenArr[n-1]<=this.runLenArr[n]+this.runLenArr[n+1]||n>=2&&this.runLenArr[n-2]<=this.runLenArr[n]+this.runLenArr[n-1])this.runLenArr[n-1]<this.runLenArr[n+1]&&n--;else if(this.runLenArr[n]>this.runLenArr[n+1])break;this.mergeAt(n)}},n.prototype.mergeForceCollapse=function(){for(var n=void 0;this.stackSize>1;)(n=this.stackSize-2)>0&&this.runLenArr[n-1]<this.runLenArr[n+1]&&n--,this.mergeAt(n)},n.prototype.mergeAt=function(n){var s,h=this.comparer,e=this.arr,r=this.runBaseArr[n],t=this.runLenArr[n],o=this.runBaseArr[n+1],i=this.runLenArr[n+1];this.runLenArr[n]=t+i;n===this.stackSize-3&&(this.runBaseArr[n+1]=this.runBaseArr[n+2],this.runLenArr[n+1]=this.runLenArr[n+2]);this.stackSize--;r+=s=f(e[o],e,r,t,0,h);0!=(t-=s)&&0!==(i=u(e[r+t-1],e,o,i,i-1,h))&&(t<=i?this.mergeLo(r,t,o,i):this.mergeHi(r,t,o,i))},n.prototype.mergeLo=function(n,t,r,e){for(var o=0,h=0,c=r,s=n,y=void 0,l=void 0,a=void 0,v=void 0,o=0;o<t;o++)this.tmp[o]=this.arr[n+o];if(this.arr[s++]=this.arr[c++],0!=--e)if(1!==t){for(y=this.minGallop;;){l=0;a=0;v=!1;do if(this.comparer(this.arr[c],this.tmp[h])<0){if(this.arr[s++]=this.arr[c++],a++,l=0,0==--e){v=!0;break}}else if(this.arr[s++]=this.tmp[h++],l++,a=0,1==--t){v=!0;break}while((l|a)<y);if(v)break;
43do{if(0!==(l=f(this.arr[c],this.tmp,h,t,0,this.comparer))){for(o=0;o<l;o++)this.arr[s+o]=this.tmp[h+o];if(s+=l,h+=l,(t-=l)<=1){v=!0;break}}if(this.arr[s++]=this.arr[c++],0==--e){v=!0;break}if(0!==(a=u(this.tmp[h],this.arr,c,e,0,this.comparer))){for(o=0;o<a;o++)this.arr[s+o]=this.arr[c+o];if(s+=a,c+=a,0==(e-=a)){v=!0;break}}if(this.arr[s++]=this.tmp[h++],1==--t){v=!0;break}y--}while(l>=i||a>=i);if(v)break;y<0&&(y=0);y+=2}if(this.minGallop=y,y<1&&(this.minGallop=1),1===t){for(o=0;o<e;o++)this.arr[s+o]=this.arr[c+o];this.arr[s+e]=this.tmp[h]}else for(o=0;o<t;o++)this.arr[s+o]=this.tmp[h+o]}else{for(o=0;o<e;o++)this.arr[s+o]=this.arr[c+o];this.arr[s+e]=this.tmp[h]}else for(o=0;o<t;o++)this.arr[s+o]=this.tmp[h+o]},n.prototype.mergeHi=function(n,t,r,e){for(var o=0,v=n+t-1,w=e-1,s=r+e-1,h=0,y=0,p=void 0,c=void 0,l=void 0,a=void 0,o=0;o<e;o++)this.tmp[o]=this.arr[r+o];if(this.arr[s--]=this.arr[v--],0!=--t)if(1!==e){for(p=this.minGallop;;){c=0;l=0;a=!1;do if(this.comparer(this.tmp[w],this.arr[v])<0){if(this.arr[s--]=this.arr[v--],c++,l=0,0==--t){a=!0;break}}else if(this.arr[s--]=this.tmp[w--],l++,c=0,1==--e){a=!0;break}while((c|l)<p);if(a)break;do{if(0!=(c=t-f(this.tmp[w],this.arr,n,t,t-1,this.comparer))){for(t-=c,y=(s-=c)+1,h=(v-=c)+1,o=c-1;o>=0;o--)this.arr[y+o]=this.arr[h+o];if(0===t){a=!0;break}}if(this.arr[s--]=this.tmp[w--],1==--e){a=!0;break}if(0!=(l=e-u(this.arr[v],this.tmp,0,e,e-1,this.comparer))){for(e-=l,y=(s-=l)+1,h=(w-=l)+1,o=0;o<l;o++)this.arr[y+o]=this.tmp[h+o];if(e<=1){a=!0;break}}if(this.arr[s--]=this.arr[v--],0==--t){a=!0;break}p--}while(c>=i||l>=i);if(a)break;p<0&&(p=0);p+=2}if(this.minGallop=p,p<1&&(this.minGallop=1),1===e){for(y=(s-=t)+1,h=(v-=t)+1,o=t-1;o>=0;o--)this.arr[y+o]=this.arr[h+o];this.arr[s]=this.tmp[w]}else for(h=s-(e-1),o=0;o<e;o++)this.arr[h+o]=this.tmp[o]}else{for(y=(s-=t)+1,h=(v-=t)+1,o=t-1;o>=0;o--)this.arr[y+o]=this.arr[h+o];this.arr[s]=this.tmp[w]}else for(h=s-(e-1),o=0;o<e;o++)this.arr[h+o]=this.tmp[o]},n}();t["default"]=function(n,t,i,u){if(n.constructor!==Array)throw new TypeError("Sorting can only be applied on arrays.");i=i||0;u=u||n.length;t||(t=function(n,t){return n-t});var s,f=u-i,o=void 0,l=void 0,a=void 0;if(!(f<2))if(f<e)r(n,t,i,u,i+(o=h(n,t,i,u)));else{s=function(n){for(var t=0;n>=e;)t|=1&n,n>>=1;return n+t}(f);l=new c(n,t);do(o=h(n,t,i,i+f))<s&&(r(n,t,i,i+(a=f<=s?f:s),i+o),o=a),l.pushRun(i,o),l.mergeCollapse(),f-=o,i+=o;while(0!==f);l.mergeForceCollapse()}};t.binaryInsertionSort=r;t.mergeSort=function l(n,t){if(n.constructor!==Array)throw new TypeError("Merge sort can only be applied on Array.");if(1===n.length)return n;t||(t=function(n,t){return n-t});var i=Math.floor(n.length/2),r=n.slice(0,i),u=n.slice(i);return function(n,t,i){for(var f=[],r=0,u=0;r<n.length&&u<t.length;)i(n[r],t[u])<=0?(f.push(n[r]),r++):(f.push(t[u]),u++);return f.concat(n.slice(r)).concat(t.slice(u))}(l(r,t),l(u,t),t)}},function(n,t){"use strict";t.__esModule=!0;var i={enableUTC:!1};t.getConfig=function(n){if(!n)throw new Error("configName is missing");return i[n]};t.setConfig=function(n,t){if(!n)throw new Error("configName is missing");i[n]=t}},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t.TimeConverter=undefined;var f=e(i(282)),y=i(284),o=e(y),s=i(290),h=i(289),ut=e(i(285)),c=e(i(291)),ft=e(i(288)),l=e(i(293)),et=e(i(295));var u=/^\s*\d+/,ot=/^\s*Q\d+/,st=/^%/,ht=/[\\^$*+?|[\]().{}]/g,r=function(n,t,i){var u=n<0?"-":"",r=(u?-n:n)+"",f=r.length;return u+(f<i?new Array(i-f+1).join(t)+r:r)},ct=function(n){return n.replace(ht,"\\$&")},a=function(n){return new RegExp("^(?:"+n.map(ct).join("|")+")","i")},v=function(n){for(var i={},t=-1,r=n.length;++t<r;)i[n[t].toLowerCase()]=t;return i},lt=function(n,t,i){var r=u.exec(t.slice(i,i+1));return r?(n.w=+r[0],i+r[0].length):-1},at=function(n,t,i){var r=u.exec(t.slice(i,i+1));return r?(n.u=+r[0],i+r[0].length):-1},vt=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.U=+r[0],i+r[0].length):-1},yt=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.V=+r[0],i+r[0].length):-1},pt=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.W=+r[0],i+r[0].length):-1},wt=function(n,t,i){var r=ot.exec(t.slice(i,i+2));return r?(n.m=3*(r[0][1]-1),i+r[0].length):-1},bt=function(n,t,i){var r=u.exec(t.slice(i,i+4));return r?(n.y=+r[0],i+r[0].length):-1},kt=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.y=+r[0]+(+r[0]>68?1900:2e3),i+r[0].length):-1}
43,dt=function(n,t,i){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(i,i+6));return r?(n.Z=r[1]?0:-(r[2]+(r[3]||"00")),i+r[0].length):-1},gt=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.m=r[0]-1,i+r[0].length):-1},p=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.d=+r[0],i+r[0].length):-1},ni=function(n,t,i){var r=u.exec(t.slice(i,i+3));return r?(n.m=0,n.d=+r[0],i+r[0].length):-1},w=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.H=+r[0],i+r[0].length):-1},ti=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.M=+r[0],i+r[0].length):-1},ii=function(n,t,i){var r=u.exec(t.slice(i,i+2));return r?(n.S=+r[0],i+r[0].length):-1},ri=function(n,t,i){var r=u.exec(t.slice(i,i+3));return r?(n.L=+r[0],i+r[0].length):-1},ui=function(n,t,i){var r=u.exec(t.slice(i,i+6));return r?(n.L=Math.floor(r[0]/1e3),i+r[0].length):-1},fi=function(n,t,i){var r=st.exec(t.slice(i,i+1));return r?i+r[0].length:-1},ei=function(n,t,i){var r=u.exec(t.slice(i));return r?(n.Q=+r[0],i+r[0].length):-1},oi=function(n,t,i){var r=u.exec(t.slice(i));return r?(n.Q=1e3*+r[0],i+r[0].length):-1},b=function(n,t){return r(n.getDate(),t,2)},si=function(n,t){return r(n.getHours(),t,2)},hi=function(n,t){return r(n.getHours()%12||12,t,2)},ci=function(n,t){return r(1+ut["default"].count(c["default"].floor(n),n),t,3)},k=function(n,t){return r(n.getMilliseconds(),t,3)},li=function(n,t){return k(n,t)+"000"},ai=function(n,t){return r(n.getMonth()+1,t,2)},vi=function(n,t){return r(n.getMinutes(),t,2)},yi=function(n,t){return r(n.getSeconds(),t,2)},pi=function(n){return"Q"+Math.ceil((n.getMonth()+1)/3)},wi=function(n){var t=n.getDay();return 0===t?7:t},bi=function(n,t){return r(s.sunday.count(c["default"].floor(n),n),t,2)},ki=function(n,t){var i=n.getDay();return n=i>=4||0===i?s.thursday.floor(n):s.thursday.ceil(n),r(s.thursday.count(c["default"].floor(n),n)+(4===c["default"].floor(n).getDay()),t,2)},di=function(n){return n.getDay()},gi=function(n,t){return r(s.monday.count(c["default"].floor(n),n),t,2)},nr=function(n,t){return r(n.getFullYear()%100,t,2)},tr=function(n,t){return r(n.getFullYear()%1e4,t,4)},ir=function(n){var t=n.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+r(t/60|0,"0",2)+r(t%60,"0",2)},d=function(n,t){return r(n.getUTCDate(),t,2)},rr=function(n,t){return r(n.getUTCHours(),t,2)},ur=function(n,t){return r(n.getUTCHours()%12||12,t,2)},fr=function(n,t){return r(1+ft["default"].count(l["default"].floor(n),n),t,3)},g=function(n,t){return r(n.getUTCMilliseconds(),t,3)},er=function(n,t){return g(n,t)+"000"},or=function(n,t){return r(n.getUTCMonth()+1,t,2)},sr=function(n,t){return r(n.getUTCMinutes(),t,2)},hr=function(n,t){return r(n.getUTCSeconds(),t,2)},cr=function(n){return"Q"+Math.ceil((n.getUTCMonth()+1)/3)},lr=function(n){var t=n.getUTCDay();return 0===t?7:t},ar=function(n,t){return r(h.utcSunday.count(l["default"].floor(n),n),t,2)},vr=function(n,t){var i=n.getUTCDay();return n=i>=4||0===i?h.utcThursday.floor(n):h.utcThursday.ceil(n),r(h.utcThursday.count(l["default"].floor(n),n)+(4===l["default"].floor(n).getUTCDay()),t,2)},yr=function(n){return n.getUTCDay()},pr=function(n,t){return r(h.utcMonday.count(l["default"].floor(n),n),t,2)},wr=function(n,t){return r(n.getUTCFullYear()%100,t,2)},br=function(n,t){return r(n.getUTCFullYear()%1e4,t,4)},kr=function(){return"+0000"},nt=function(){return"%"},tt=function(n){return+n},it=function(n){return Math.floor(+n/1e3)},rt=function(){function n(t){var i=this;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);var c=t.dateTime,l=t.date,y=t.time,r=t.periods,u=t.days,e=t.shortDays,s=t.months,h=t.shortMonths,rt=a(r),ut=v(r),ft=a(u),et=v(u),ot=a(e),st=v(e),ht=a(s),ct=v(s),dr=a(h),gr=v(h);this._formats={a:function(n){return e[n.getDay()]},A:function(n){return u[n.getDay()]},b:function(n){return h[n.getMonth()]},B:function(n){return s[n.getMonth()]},d:b,e:b,f:li,H:si,I:hi,j:ci,L:k,m:ai,M:vi,p:function(n){return r[+(n.getHours()>=12)]},q:pi,Q:tt,s:it,S:yi,u:wi,U:bi,V:ki,w:di,W:gi,y:nr,Y:tr,Z:ir,"%":nt};this._utcFormats={a:function(n){return e[n.getUTCDay()]},A:function(n){return u[n.getUTCDay()]},b:function(n){return h[n.getUTCMonth()]},B:function(n){return s[n.getUTCMonth()]},d:d,e:d,f:er,H:rr,I:ur,j:fr,L:g,m:or,M:sr,p:function(n){return r[+(n.getUTCHours()>=12)]},q:cr,Q:tt,s:it,S:hr,u:lr,U:ar,V:vr,w:yr,W:pr,y:wr,Y:br,Z:kr,"%":nt};this._parses={a:function(n,t,i){var r=ot.exec(t.slice(i));return r?(n.w=st[r[0].toLowerCase()],i+r[0].length):-1},A:function(n,t,i){var r=ft.exec(t.slice(i));return r?(n.w=et[r[0].toLowerCase()],i+r[0].length):-1},b:function(n,t,i){var r=dr.exec(t.slice(i));return r?(n.m=gr[r[0].toLowerCase()],i+r[0].length):-1},B:function(n,t,i){var r=ht.exec(t.slice(i));return r?(n.m=ct[r[0].toLowerCase()],i+r[0].length):-1},c:null,d:p,e:p,f:ui,H:w,I:w,j:ni,L:ri,m:gt,M:ti,p:function(n,t,i){var r=rt.exec(t.slice(i));return r?(n.p=ut[r[0].toLowerCase()],i+r[0].length):-1},Q:ei,q:wt,s:oi,S:ii,u:at,U:vt,V:yt,w:lt,W:pt,x:null,X:null,y:kt,Y:bt,Z:dt,"%":fi};this._formats.x=function(n){return new f["default"](l,i._formats).format(n)};this._formats.X=function(n){return new f["default"](y,i._formats).format(n)};this._formats.c=function(n){return new f["default"](c,i._formats).format(n)};this._utcFormats.x=function(n){return new f["default"](l,i._utcFormats).format(n)};this._utcFormats.X=function(n){return new f["default"](y,i._utcFormats).format(n)};this._utcFormats.c=function(n){return new f["default"](c,i._utcFormats).format(n)};this._parses.c=function(n,t,r){return new o["default"](c,i._parses).parseSpecifier(n,t,r)};this._parses.x=function(n,t,r){return new o["default"](l,i._parses).parseSpecifier(n,t,r)};this._parses.X=function(n,t,r){return new o["default"](y,i._parses).parseSpecifier(n,t,r)}}return n.prototype.formatter=function(n){return new f["default"](n,this._formats)},n.prototype.utcFormatter=function(n){return new f["default"](n,this._utcFormats)},n.prototype.parser=function(n){return new o["default"](n+="",this._parses,function(n){if(n.y>=0&&n.y<100){var t=new Date(-1,n.m,n.d,n.H,n.M,n.S,n.L);return t.setFullYear(n.y),t}return new Date(n.y,n.m,n.d,n.H,n.M,n.S,n.L)})},n.prototype.utcParser=function(n){return new o["default"](n+="",this._parses,y.utcDate)},n}();t.TimeConverter=rt;t["default"]=new rt(et["default"])},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(283),f=(r=u)&&r.__esModule?r:{"default":r},e=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this._specifier=t;this._formats=i}return n.prototype.format=function(n){var t,u,o,h,e=[],i=-1,s=0,r=this._specifier,c=r.length;for(n instanceof Date||(n=new Date(+n));++i<c;)37===r.charCodeAt(i)&&(e.push(r.slice(s,i)),t=r.charAt(++i),u=f["default"][t],null===(h=u)||void 0===h?u="e"===t?" ":"0":t=r.charAt(++i),o=this._formats[t],o&&(t=o(n,u)),e.push(t),s=i+1);return e.push(r.slice(s,i)),e.join("")},n.prototype.toString=function(){return this._specifier},n}();t["default"]=e},function(n,t){"use strict";t.__esModule=!0;t["default"]={"-":"",_:" ",0:"0"}},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}
43}t.__esModule=!0;t.utcDate=undefined;var s=f(i(283)),h=f(i(285)),c=f(i(288)),e=i(289),o=i(290);var r=function(n){return{y:n,m:0,d:1,H:0,M:0,S:0,L:0}},u=function(n){if(n.y>=0&&n.y<100){var t=new Date(Date.UTC(-1,n.m,n.d,n.H,n.M,n.S,n.L));return t.setUTCFullYear(n.y),t}return new Date(Date.UTC(n.y,n.m,n.d,n.H,n.M,n.S,n.L))},l=function(){function n(t,i,r){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this._specifier=t;this._parses=i;this._newDate=r}return n.prototype.parseSpecifier=function(n,t,i){for(var r,f,u=0,e=this._specifier.length,o=t.length;u<e;){if(i>=o)return-1;if(37===(r=this._specifier.charCodeAt(u++))){if(r=this._specifier.charAt(u++),!(f=this._parses[r in s["default"]?this._specifier.charAt(u++):r])||(i=f(n,t,i))<0)return-1}else if(r!==t.charCodeAt(i++))return-1}return i},n.prototype.parse=function(n){var i,f,t=r(1900);if(n+="",this.parseSpecifier(t,n,0)!==n.length)return null;if("Q"in t)return new Date(t.Q);if("p"in t&&(t.H=t.H%12+12*t.p),"V"in t){if(t.V<1||t.V>53)return null;"w"in t||(t.w=1);"Z"in t?(i=(f=(i=u(r(t.y))).getUTCDay())>4||0===f?e.utcMonday.ceil(i):e.utcMonday.floor(i),i=c["default"].offset(i,7*(t.V-1)),t.y=i.getUTCFullYear(),t.m=i.getUTCMonth(),t.d=i.getUTCDate()+(t.w+6)%7):(i=(f=(i=this._newDate(r(t.y))).getDay())>4||0===f?o.monday.ceil(i):o.monday.floor(i),i=h["default"].offset(i,7*(t.V-1)),t.y=i.getFullYear(),t.m=i.getMonth(),t.d=i.getDate()+(t.w+6)%7)}else("W"in t||"U"in t)&&("w"in t||(t.w="u"in t?t.u%7:"W"in t?1:0),f="Z"in t?u(r(t.y)).getUTCDay():this._newDate(r(t.y)).getDay(),t.m=0,t.d="W"in t?(t.w+6)%7+7*t.W-(f+5)%7:t.w+7*t.U-(f+6)%7);return"Z"in t?(t.H+=t.Z/100|0,t.M+=t.Z%100,u(t)):this._newDate(t)},n.prototype.toString=function(){return this._specifier},n}();t.utcDate=u;t["default"]=l},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(286),e=(r=f)&&r.__esModule?r:{"default":r},u=i(287),o=new e["default"]("day",function(n){return n.setHours(0,0,0,0)},function(n,t){return n.setDate(n.getDate()+t)},function(n,t){return(t-n-(t.getTimezoneOffset()-n.getTimezoneOffset())*u.durationMinute)/u.durationDay},function(n){return n.getDate()-1});t["default"]=o},function(n,t){"use strict";t.__esModule=!0;var i=new Date,r=new Date,u=function(n){return void 0===n||null===n},f=function(){function n(t,i,r,u,f){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this._name=t;this._floori=i;this._offseti=r;this._count=u;this._field=f}return n.prototype.name=function(){return this._name},n.prototype.floor=function(n){var t=new Date(Number(n));return this._floori(t),t},n.prototype.ceil=function(n){var t=new Date(n-1);return this._floori(t),this._offseti(t,1),this._floori(t),t},n.prototype.round=function(n){var t=this.floor(n),i=this.ceil(n);return n-t<i-n?t:i},n.prototype.offset=function(n,t){var i=new Date(Number(n));return this._offseti(i,u(t)?1:Math.floor(t)),i},n.prototype.range=function(n,t,i){var f=[],r=this.ceil(n),o=u(i)?1:Math.floor(i),e=void 0;if(!(r<t&&o>0))return f;do e=new Date(Number(r)),f.push(e),this._offseti(r,o),this._floori(r);while(e<r&&r<t);return f},n.prototype.filter=function(t){var i=this;return new n(this.name(),function(n){if(!Number.isNaN(Number(n)))for(;i._floori(n),!t(n);)n.setTime(n-1)},function(n,r){var u=r;if(!Number.isNaN(Number(n)))if(u<0)for(;++u<=0;){0;do i._offseti(n,-1);while(!t(n))}else for(;--u>=0;)do i._offseti(n,1);while(!t(n))})},n.prototype.count=function(n,t){var u=0;return this._count&&(i.setTime(Number(n)),r.setTime(Number(t)),this._floori(i),this._floori(r),u=Math.floor(this._count(i,r))),u},n.prototype.every=function(n){var i=this,t=Math.floor(n);return this._count&&Number.isFinite(t)&&t>0?t>1?this.filter(this._field?function(n){return i._field(n)%t==0}:function(n){return i.count(0,n)%t==0}):this:null},n}();t["default"]=f},function(n,t){"use strict";t.__esModule=!0;t.durationSecond=1e3;t.durationMinute=6e4;t.durationHour=36e5;t.durationDay=864e5;t.durationWeek=6048e5;t.durationMonth=2592e6;t.durationQuarter=78894e5;t.durationYear=315576e5},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(286),f=(r=u)&&r.__esModule?r:{"default":r},e=i(287),o=new f["default"]("day",function(n){return n.setUTCHours(0,0,0,0)},function(n,t){return n.setUTCDate(n.getUTCDate()+t)},function(n,t){return(t-n)/e.durationDay},function(n){return n.getUTCDate()-1}
43);t["default"]=o},function(n,t,i){"use strict";t.__esModule=!0;t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=undefined;var u,f=i(286),e=(u=f)&&u.__esModule?u:{"default":u},o=i(287),r=function(n,t){return new e["default"](t,function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-n)%7);t.setUTCHours(0,0,0,0)},function(n,t){return n.setUTCDate(n.getUTCDate()+7*t)},function(n,t){return(t-n)/o.durationWeek})},s=r(0,"week"),h=r(0,"sunday"),c=r(1,"monday"),l=r(2,"tuesday"),a=r(3,"wednesday"),v=r(4,"thursday"),y=r(5,"friday"),p=r(6,"saturday");t["default"]=s;t.utcSunday=h;t.utcMonday=c;t.utcTuesday=l;t.utcWednesday=a;t.utcThursday=v;t.utcFriday=y;t.utcSaturday=p},function(n,t,i){"use strict";t.__esModule=!0;t.saturday=t.friday=t.thursday=t.wednesday=t.tuesday=t.monday=t.sunday=undefined;var u,e=i(286),o=(u=e)&&u.__esModule?u:{"default":u},f=i(287),r=function(n,t){return new o["default"](t,function(t){t.setDate(t.getDate()-(t.getDay()+7-n)%7);t.setHours(0,0,0,0)},function(n,t){return n.setDate(n.getDate()+7*t)},function(n,t){return(t-n-(t.getTimezoneOffset()-n.getTimezoneOffset())*f.durationMinute)/f.durationWeek})},s=r(0,"week"),h=r(0,"sunday"),c=r(1,"monday"),l=r(2,"tuesday"),a=r(3,"wednesday"),v=r(4,"thursday"),y=r(5,"friday"),p=r(6,"saturday");t["default"]=s;t.sunday=h;t.monday=c;t.tuesday=l;t.wednesday=a;t.thursday=v;t.friday=y;t.saturday=p},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(292),f=new((r=u)&&r.__esModule?r:{"default":r})["default"]("year",function(n){n.setMonth(0,1);n.setHours(0,0,0,0)},function(n,t){return n.setFullYear(n.getFullYear()+t)},function(n,t){return t.getFullYear()-n.getFullYear()},function(n){return n.getFullYear()});t["default"]=f},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,f,u,e;t.__esModule=!0;f=i(286);u=(r=f)&&r.__esModule?r:{"default":r};e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.every=function(n){var t=Math.floor(n);return this.count&&Number.isFinite(t)&&t>0?new u["default"]("year",function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t);n.setMonth(0,1);n.setHours(0,0,0,0)},function(n,i){return n.setFullYear(n.getFullYear()+i*t)}):null},t}(u["default"]);t["default"]=e},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(294),f=new((r=u)&&r.__esModule?r:{"default":r})["default"]("year",function(n){n.setUTCMonth(0,1);n.setUTCHours(0,0,0,0)},function(n,t){return n.setUTCFullYear(n.getUTCFullYear()+t)},function(n,t){return t.getUTCFullYear()-n.getUTCFullYear()},function(n){return n.getUTCFullYear()});t["default"]=f},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,f,u,e;t.__esModule=!0;f=i(286);u=(r=f)&&r.__esModule?r:{"default":r};e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.every=function(n){return isFinite(n=Math.floor(n))&&n>0?new u["default"]("year",function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/n)*n);t.setUTCMonth(0,1);t.setUTCHours(0,0,0,0)},function(t,i){return t.setUTCFullYear(t.getUTCFullYear()+i*n)}):null},t}(u["default"]);t["default"]=e},function(n,t){"use strict";t.__esModule=!0;t["default"]={dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
43ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}},function(n,t,i){i(297);i(78);i(298);i(301);i(312);i(315);i(317);n.exports=i(7).Set},function(n,t,i){"use strict";var u=i(90),r={};r[i(65)("toStringTag")]="z";r+""!="[object z]"&&i(18)(Object.prototype,"toString",function(){return"[object "+u(this)+"]"},!0)},function(n,t,i){for(var o=i(299),b=i(48),k=i(18),d=i(6),s=i(8),h=i(81),c=i(65),l=c("iterator"),a=c("toStringTag"),v=h.Array,y={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=b(y),e=0;e<p.length;e++){var u,f=p[e],g=y[f],w=d[f],r=w&&w.prototype;if(r&&(r[l]||s(r,l,v),r[a]||s(r,a,f),h[f]=v,g))for(u in o)r[u]||k(r,u,o[u],!0)}},function(n,t,i){"use strict";var r=i(98),u=i(300),f=i(81),e=i(24);n.exports=i(80)(Array,"Array",function(n,t){this._t=e(n);this._i=0;this._k=t},function(){var t=this._t,i=this._k,n=this._i++;return!t||n>=t.length?(this._t=undefined,u(1)):u(0,"keys"==i?n:"values"==i?t[n]:[n,t[n]])},"values");f.Arguments=f.Array;r("keys");r("values");r("entries")},function(n){n.exports=function(n,t){return{value:t,done:!!n}}},function(n,t,i){"use strict";var r=i(302),u=i(308);n.exports=i(309)("Set",function(n){return function(){return n(this,arguments.length>0?arguments[0]:undefined)}},{add:function(n){return r.def(u(this,"Set"),n=0===n?0:n,n)}},r)},function(n,t,i){"use strict";var h=i(9).f,c=i(46),l=i(303),a=i(21),v=i(304),y=i(305),p=i(80),e=i(300),w=i(306),o=i(13),s=i(307).fastKey,r=i(308),u=o?"_s":"size",f=function(n,t){var i,r=s(t);if("F"!==r)return n._i[r];for(i=n._f;i;i=i.n)if(i.k==t)return i};n.exports={getConstructor:function(n,t,i,e){var s=n(function(n,r){v(n,s,t,"_i");n._t=t;n._i=c(null);n._f=undefined;n._l=undefined;n[u]=0;r!=undefined&&y(r,i,n[e],n)});return l(s.prototype,{clear:function(){for(var i=r(this,t),f=i._i,n=i._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=undefined),delete f[n.i];i._f=i._l=undefined;i[u]=0},"delete":function(n){var e=r(this,t),i=f(e,n),o,s;return i&&(o=i.n,s=i.p,delete e._i[i.i],i.r=!0,s&&(s.n=o),o&&(o.p=s),e._f==i&&(e._f=o),e._l==i&&(e._l=s),e[u]--),!!i},forEach:function(n){r(this,t);for(var i,u=a(n,arguments.length>1?arguments[1]:undefined,3);i=i?i.n:this._f;)for(u(i.v,i.k,this);i&&i.r;)i=i.p},has:function(n){return!!f(r(this,t),n)}}),o&&h(s.prototype,"size",{get:function(){return r(this,t)[u]}}),s},def:function(n,t,i){var e,o,r=f(n,t);return r?r.v=i:(n._l=r={i:o=s(t,!0),k:t,v:i,p:e=n._l,n:undefined,r:!1},n._f||(n._f=r),e&&(e.n=r),n[u]++,"F"!==o&&(n._i[o]=r)),n},getEntry:f,setStrong:function(n,t,i){p(n,t,function(n,i){this._t=r(n,t);this._k=i;this._l=undefined},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?e(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=undefined,e(1))},i?"entries":"values",!i,!0);w(t)}}},function(n,t,i){var r=i(18);n.exports=function(n,t,i){for(var u in t)r(n,u,t[u],i);return n}},function(n){n.exports=function(n,t,i,r){if(!(n instanceof t)||r!==undefined&&r in n)throw TypeError(i+": incorrect invocation!");return n}},function(n,t,i){var f=i(21),e=i(86),o=i(87),s=i(10),h=i(31),c=i(89),r={},u={};(t=n.exports=function(n,t,i,l,a){var d,y,w,v,b=a?function(){return n}:c(n),k=f(i,l,t?2:1),p=0;if("function"!=typeof b)throw TypeError(n+" is not iterable!");if(o(b)){for(d=h(n.length);d>p;p++)if((v=t?k(s(y=n[p])[0],y[1]):k(n[p]))===r||v===u)return v}else for(w=b.call(n);!(y=w.next()).done;)if((v=e(w,k,y.value,t))===r||v===u)return v}).BREAK=r;t.RETURN=u},function(n,t,i){"use strict";var u=i(6),f=i(9),e=i(13),r=i(65)("species");n.exports=function(n){var t=u[n];e&&t&&!t[r]&&f.f(t,r,{configurable:!0,get:function(){return this}})}},function(n,t,i){var r=i(20)("meta"),o=i(11),f=i(19),s=i(9).f,h=0,u=Object.isExtensible||function(){return!0},c=!i(14)(function(){return u(Object.preventExtensions({}))}),e=function(n){s(n,r,{value:{i:"O"+ ++h,w:{}}})},l=n.exports={KEY:r,NEED:!1,fastKey:function(n,t){if(!o(n))return"symbol"==typeof n?n:("string"==typeof n?"S":"P")+n;
vendor: 3,193 bytes, line 43
43if(!f(n,r)){if(!u(n))return"F";if(!t)return"E";e(n)}return n[r].i},getWeak:function(n,t){if(!f(n,r)){if(!u(n))return!0;if(!t)return!1;e(n)}return n[r].w},onFreeze:function(n){return c&&l.NEED&&u(n)&&!f(n,r)&&e(n),n}}},function(n,t,i){var r=i(11);n.exports=function(n,t){if(!r(n)||n._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return n}},function(n,t,i){"use strict";var e=i(6),r=i(5),o=i(18),s=i(303),h=i(307),c=i(305),l=i(304),u=i(11),f=i(14),a=i(91),v=i(83),y=i(310);n.exports=function(n,t,i,p,w,b){var tt=e[n],k=tt,g=w?"set":"add",d=k&&k.prototype,rt={},nt=function(n){var t=d[n];o(d,n,"delete"==n?function(n){return!(b&&!u(n))&&t.call(this,0===n?0:n)}:"has"==n?function(n){return!(b&&!u(n))&&t.call(this,0===n?0:n)}:"get"==n?function(n){return b&&!u(n)?undefined:t.call(this,0===n?0:n)}:"add"==n?function(n){return t.call(this,0===n?0:n),this}:function(n,i){return t.call(this,0===n?0:n,i),this})};if("function"==typeof k&&(b||d.forEach&&!f(function(){(new k).entries().next()}))){var it=new k,ft=it[g](b?{}:-0,1)!=it,et=f(function(){it.has(1)}),ot=a(function(n){new k(n)}),ut=!b&&f(function(){for(var t=new k,n=5;n--;)t[g](n,n);return!t.has(-0)});ot||((k=t(function(t,i){l(t,k,n);var r=y(new tt,t,k);return i!=undefined&&c(i,w,r[g],r),r})).prototype=d,d.constructor=k);(et||ut)&&(nt("delete"),nt("has"),w&&nt("get"));(ut||ft)&&nt(g);b&&d.clear&&delete d.clear}else k=p.getConstructor(t,n,w,g),s(k.prototype,i),h.NEED=!0;return v(k,n),rt[n]=k,r(r.G+r.W+r.F*(k!=tt),rt),b||p.setStrong(k,n,w),k}},function(n,t,i){var u=i(11),r=i(311).set;n.exports=function(n,t,i){var f,e=t.constructor;return e!==i&&"function"==typeof e&&(f=e.prototype)!==i.prototype&&u(f)&&r&&r(n,f),n}},function(n,t,i){var u=i(11),f=i(10),r=function(n,t){if(f(n),!u(t)&&null!==t)throw TypeError(t+": can't set as prototype!");};n.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(n,t,u){try{(u=i(21)(Function.call,i(40).f(Object.prototype,"__proto__").set,2))(n,[]);t=!(n instanceof Array)}catch(f){t=!0}return function(n,i){return r(n,i),t?n.__proto__=i:u(n,i),n}}({},!1):undefined),check:r}},function(n,t,i){var r=i(5);r(r.P+r.R,"Set",{toJSON:i(313)("Set")})},function(n,t,i){var r=i(90),u=i(314);n.exports=function(n){return function(){if(r(this)!=n)throw TypeError(n+"#toJSON isn't generic");return u(this)}}},function(n,t,i){var r=i(305);n.exports=function(n,t){var i=[];return r(n,!1,i.push,i,t),i}},function(n,t,i){i(316)("Set")},function(n,t,i){"use strict";var r=i(5);n.exports=function(n){r(r.S,n,{of:function(){for(var n=arguments.length,t=new Array(n);n--;)t[n]=arguments[n];return new this(t)}})}},function(n,t,i){i(318)("Set")},function(n,t,i){"use strict";var r=i(5),u=i(22),e=i(21),f=i(305);n.exports=function(n){r(r.S,n,{from:function(n){var r,t,o,s,i=arguments[1];return u(this),(r=i!==undefined)&&u(i),n==undefined?new this:(t=[],r?(o=0,s=e(i,arguments[2],2),f(n,!1,function(n){t.push(s(n,o++))})):f(n,!1,t.push,t),new this(t))}})}},function(n,t){"use strict";function i(n,t){if("string"!=typeof n)throw new Error("eventName must be a non-empty string");if(!(t instanceof Object))throw new Error("sender must be an object");return t._evtHandlers&&t._evtHandlers[n]||[]}
43t.__esModule=!0;t.addHandler=function r(n,t,i){var e,u;if(t instanceof Array){for(var o=[],s=t.length,f=0;f<s;f+=1)o.push(r(n,t[f],i));return o}if(!n||"string"!=typeof n)throw new Error("eventName must be a non-empty string");if("function"!=typeof t)throw new Error("handler must be a function");if(!(i instanceof Object))throw new Error("sender must be an object");for(i._evtHandlers=i._evtHandlers||{},i._evtHandlers[n]&&i._evtHandlers[n]instanceof Array||(i._evtHandlers[n]=[]),e=i._evtHandlers[n].length,u=0;u<e;u++)if(i._evtHandlers[n][u]===t)return!1;return i._evtHandlers[n].push(t),!0};t.getHanlders=i;t.removeHandler=function u(n,t,r){var f,s,e;if(t instanceof Array){for(var h=[],c=t.length,o=0;o<c;o+=1)h.push(u(n,t[o],r));return h}if(!n||"string"!=typeof n)throw new Error("eventName must be a non-empty string");if(t&&"function"!=typeof t)throw new Error("handler must be a function");if(!(r instanceof Object))throw new Error("sender must be an object");if((f=i(n,r))instanceof Array&&0!==f.length){if(!t)return delete r._evtHandlers[n],!0;for(s=f.length,e=0;e<s;e++)f[e]===t&&f.splice(e,1);return!0}};t.triggerEvent=function(n,t,r){var u,e,o,f;if(!n||"string"!=typeof n)throw new Error("eventName must be a non-empty string");if(!(t instanceof Object))throw new Error("sender must be an object");if(o={eventName:n,sender:t,data:r},(u=i(n,t))instanceof Array&&0!==u.length){for(e=u.length,f=0;f<e;f++)u[f](o);return!0}}},function(n,t,i){"use strict";t.__esModule=!0;t.pivot=t.sort=t.pipe=t.groupBy=t.select=t.filter=t.greaterEquals=t.greater=t.lessEquals=t.less=t.equals=t.between=undefined;var r=i(321);t.between=r.between;t.equals=r.equals;t.less=r.less;t.lessEquals=r.lessEquals;t.greater=r.greater;t.greaterEquals=r.greaterEquals;t.filter=r.filter;t.select=r.select;t.groupBy=r.groupBy;t.pipe=r.pipe;t.sort=r.sort;t.pivot=r.pivot},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t.pivot=t.sort=t.pipe=t.groupBy=t.select=t.filter=t.greaterEquals=t.indexColGreaterEquals=t.greater=t.indexColGreater=t.lessEquals=t.indexColLessEquals=t.less=t.indexColLess=t.equals=t.indexColEquals=t.between=t.indexColBetween=undefined;var r=i(322),f=i(325),e=u(i(326)),o=u(i(346)),s=u(i(347)),h=u(i(348));t.indexColBetween=r.indexColBetween;t.between=r.between;t.indexColEquals=r.indexColEquals;t.equals=r.equals;t.indexColLess=r.indexColLess;t.less=r.less;t.indexColLessEquals=r.indexColLessEquals;t.lessEquals=r.lessEquals;t.indexColGreater=r.indexColGreater;t.greater=r.greater;t.indexColGreaterEquals=r.indexColGreaterEquals;t.greaterEquals=r.greaterEquals;t.filter=f.filter;t.select=f.select;t.groupBy=e["default"];t.pipe=o["default"];t.sort=s["default"];t.pivot=h["default"]},function(n,t,i){"use strict";function s(n,t,i,e){var s=t,h=i;return{ops:"indexColBetween",type:u.OperatorTypes.IndexOpsFilter,_updateArgs:function(n,t){s=n;h=t},fn:function(t,i,u,c){c&&(t=c.call());e||(e=r(i,n));var l,a,v=void 0;return v="interval"===i[n].type?function(t,i){return o.numberComparator(t[n].end,i)}:e,l=f.leftMostExactOrGreater(s,t,e,0,t.length),a=f.rightMostExactOrLesser(h,t,v,l,t.length),{data:t,schema:i,config:u,generatorFn:function(){return t.slice(l,a+1)}}}}}function h(n,t,i){var e=t;return{ops:"indexColEquals",type:u.OperatorTypes.IndexOpsFilter,_updateArgs:function(n){e=n},fn:function(t,u,o,s){s&&(t=s.call());
43i||(i=r(u,n));var h,c;return(h=f.leftMostExactOrGreater(e,t,i,0,t.length))>=t.length||0!==i(t[h],e)?{data:[],schema:u,config:o}:(c=f.rightMostExactOrLesser(e,t,i,h,t.length),{data:t,schema:u,config:o,generatorFn:function(){return t.slice(h,c+1)}})}}}function c(n,t,i){var e=t;return{ops:"indexColLess",type:u.OperatorTypes.IndexOpsFilter,_updateArgs:function(n){e=n},fn:function(t,u,o,s){s&&(t=s.call());i||(i=r(u,n));var h=f.leftMostExactOrGreater(e,t,i,0,t.length);return{data:t,schema:u,config:o,generatorFn:function(){return t.slice(0,h)}}}}}function l(n,t,i){var e=t;return{ops:"indexColLessEquals",type:u.OperatorTypes.IndexOpsFilter,_updateArgs:function(n){e=n},fn:function(t,u,o,s){s&&(t=s.call());i||(i=r(u,n));var h=f.rightMostExactOrLesser(e,t,i,0,t.length);return{data:t,schema:u,config:o,generatorFn:function(){return t.slice(0,h+1)}}}}}function a(n,t,i){var e=t;return{ops:"indexColGreater",type:u.OperatorTypes.IndexOpsFilter,_updateArgs:function(n){e=n},fn:function(t,u,o,s){s&&(t=s.call());i||(i=r(u,n));var h=f.rightMostExactOrLesser(e,t,i,0,t.length),c=f.leftMostExactOrGreater(null,t,i,h,t.length);return{data:t,schema:u,config:o,generatorFn:function(){return t.slice(h+1,c)}}}}}function v(n,t,i){var e=t;return{ops:"indexColGreaterEquals",type:u.OperatorTypes.IndexOpsFilter,_updateArgs:function(n){e=n},fn:function(t,u,o,s){s&&(t=s.call());
43i||(i=r(u,n));var h=f.leftMostExactOrGreater(e,t,i,0,t.length),c=f.leftMostExactOrGreater(null,t,i,h,t.length);return{data:t,schema:u,config:o,generatorFn:function(){return t.slice(h,c)}}}}}var r;t.__esModule=!0;t.greaterEquals=t.indexColGreaterEquals=t.greater=t.indexColGreater=t.lessEquals=t.indexColLessEquals=t.less=t.indexColLess=t.equals=t.indexColEquals=t.between=t.indexColBetween=undefined;var f=i(323),e=i(276),u=i(324),o=i(278);r=function(n,t){switch(n[t].type){case"interval":return function(n,i){return o.numberComparator(n[t].start,i)};case"number":case"date":return function(n,i){return o.numberComparator(n[t],i)};default:return function(n,i){return o.stringComparator(String(n[t]).toLowerCase(),String(i).toLowerCase())}}};t.indexColBetween=s;t.between=function(n,t,i){var f=t,o=i;return{ops:"between",type:u.OperatorTypes.GenericFilter,_updateArgs:function(n,t){f=n;o=t},fn:function(t,i,u,h){h&&(t=h.call());var l=e.columnIndexOf(n,i),c=void 0;if(l>=0)return c=r(i,l),u&&u.indexBy===n?s(l,f,o,c).fn(t,i,u):{data:t,schema:i,config:u,generatorFn:function(){return t.filter(function(n){return c(n,f)>=0&&c(n,o)<=0})}};throw new Error("Column '"+n+"' is not found in the schema.");}}};t.indexColEquals=h;t.equals=function(n,t){var i=t;return{ops:"equals",type:u.OperatorTypes.GenericFilter,_updateArgs:function(n){i=n},fn:function(t,u,f,o){o&&(t=o.call());var s=e.columnIndexOf(n,u),c=void 0;if(s>=0)return c=r(u,s),f&&f.indexBy===n?h(s,i,c).fn(t,u,f):{data:t,schema:u,config:f,generatorFn:function(){return t.filter(function(n){return 0===c(n,i)})}};throw new Error("Column '"+n+"' is not found in the schema.");}}};t.indexColLess=c;t.less=function(n,t){var i=t;return{ops:"less",type:u.OperatorTypes.GenericFilter,_updateArgs:function(n){i=n},fn:function(t,u,f,o){o&&(t=o.call());var s=e.columnIndexOf(n,u),h=void 0;if(s>=0)return h=r(u,s),f&&f.indexBy===n?c(s,i,h).fn(t,u,f):{data:t,schema:u,config:f,generatorFn:function(){return t.filter(function(n){return h(n,i)<0})}};throw new Error("Column '"+n+"' is not found in the schema.");}}};t.indexColLessEquals=l;t.lessEquals=function(n,t){var i=t;return{ops:"lessEquals",type:u.OperatorTypes.GenericFilter,_updateArgs:function(n){i=n},fn:function(t,u,f,o){o&&(t=o.call());var s=e.columnIndexOf(n,u),h=void 0;if(s>=0)return h=r(u,s),f&&f.indexBy===n?l(s,i,h).fn(t,u,f):{data:t,schema:u,config:f,generatorFn:function(){return t.filter(function(n){return h(n,i)<=0})}};throw new Error("Column '"+n+"' is not found in the schema.");}}};t.indexColGreater=a;t.greater=function(n,t){var i=t;return{ops:"greater",type:u.OperatorTypes.GenericFilter,_updateArgs:function(n){i=n},fn:function(t,u,f,o){o&&(t=o.call());var s=e.columnIndexOf(n,u),h=void 0;if(s>=0)return h=r(u,s),f&&f.indexBy===n?a(s,i,h).fn(t,u,f):{data:t,schema:u,config:f,generatorFn:function(){return t.filter(function(n){return null!==n[s]&&"undefined"!=typeof n[s]&&h(n,i)>0})}};throw new Error("Column '"+n+"' is not found in the schema.");}}};t.indexColGreaterEquals=v;t.greaterEquals=function(n,t){var i=t;return{ops:"greaterEquals",type:u.OperatorTypes.GenericFilter,_updateArgs:function(n){i=n},fn:function(t,u,f,o){o&&(t=o.call());var s=e.columnIndexOf(n,u),h=void 0;if(s>=0)return h=r(u,s),f&&f.indexBy===n?v(s,i,h).fn(t,u,f):{data:t,schema:u,config:f,generatorFn:function(){return t.filter(function(n){return null!==n[s]&&"undefined"!=typeof n[s]&&h(n,i)>=0})}};throw new Error("Column '"+n+"' is not found in the schema.");}}}},function(n,t){"use strict";t.__esModule=!0;t.leftMostExactOrGreater=function(n,t,i,r,u){for(var o,f=r,e=u;f<e;)o=f+Math.floor((e-f)/2),i(t[o],n)<0?f=o+1:e=o;return f};t.rightMostExactOrLesser=function(n,t,i,r,u){for(var o,f=r,e=u;f<e;)o=f+Math.floor((e-f)/2),i(t[o],n)>0?e=o:f=o+1;return f-1}},function(n,t){"use strict";t.__esModule=!0;t.OperatorTypes={IndexOpsFilter:0,GenericFilter:1,GroupBy:2,Sort:3,Select:4}},function(n,t,i){"use strict";t.__esModule=!0;t.filter=t.select=undefined;var r=i(324),u=i(276);t.select=function(n,t){return n=n&&n.constructor!==Array?[n]:n,{ops:"select",type:r.OperatorTypes.Select,fn:function(i,r,f){var h=[],o=[],e,s;if(n)if(e=void 0,(t=t||{exclude:!1}).exclude)for(e=0;e<r.length;e++)n.includes(r[e].name)||(h.push(r[e]),o.push(e));else for(s=void 0,e=0;e<n.length;e++)(s=u.columnIndexOf(n[e],r))>-1&&!o.includes(s)&&(h.push(r[s]),o.push(s));else h=r;return{data:i,schema:h,config:f,generatorFn:function(){var u=o.length;if(u>0){for(var f=[],n=void 0,t=void 0,r=void 0,n=0;n<i.length;n++){for(r=[],t=0;t<u;t++)r[t]=i[n][o[t]];f[n]=r}return f}return i.slice(0)}}}}};t.filter=function(n){var t=this;return{ops:"filter",type:r.OperatorTypes.GenericFilter,fn:function(i,r,u,f){return{data:i,schema:r,config:u,generatorFn:function(){f&&(i=f.call());for(var e={},u=0;u<r.length;u++)e[r[u].name]=u;return i.filter(function(i){return n.call(t,i,e)})}}}}}},function(n,t,i){"use strict";function c(n,t,i,r){var f,o,u,e,h,c=[],l=t.length,a=i.length;for(t=t instanceof Array?t:[t],i=i instanceof Array?i:[i],u=0;u<l;u++)f=r(t[u].column,n),h={name:t[u].outputAs||t[u].column,type:"date"===f.type?"interval":f.type},f.enableUTC!==undefined&&(h.enableUTC=f.enableUTC),c.push(h);for(u=0;
43u<a;u++){if(e=i[u].operation||"avg",f=r(i[u].column,n),!s["default"].resolve(e))throw new Error(e+" is not a defined operation");switch(e){case"first":case"last":o=f.type;break;case"count":o="number";break;default:if("number"!==f.type)throw new Error(e+" can apply only on numbers");o="number"}c.push({name:i[u].outputAs||i[u].column+(e?" - "+e:""),type:o})}return c}function l(n,t,i){return t&&i===t[0]||(t=[i],n.push(t)),t}function a(n,t,i,u,f){if(i>=t[0].end){var e=void 0;switch(u.duration.Unit){case"Month":case"Quarter":case"Year":e=r.getDateStart(i,u.duration,u.enableUTC,u.weekStartFrom,f);break;default:e=i-(i-f)%u.duration.ms}t=[o.interval(e,u)];n.push(t)}return t}function v(){var n={};return function(t,i,r){if(!n[t]){var f=e.columnIndexOf(t,i),u=i[f];if(u===undefined)throw new Error("incorrect column name in config - "+t);n[t]=u;n[t].column=t;n[t].index=f;"date"===u.type&&r&&(n[t].peaks=e.columnExtents(t,r,i))}return n[t]}}function d(n,t,i,u,f,e,s,h,c,l){var a=void 0,v=void 0,p="",w=[],b=void 0,d=void 0,g=i.length,k;if(n.length>0){for(a=0;a<g;a++)if("date"===(v=f(i[a].column,t)).type){if(e[a].startValFloorVal>n[v.index])return h;switch(i[a].timeUnit.name){case"Month":case"Quarter":case"Year":e[a].value=r.getDateStart(n[v.index],e[a].intervalConfig.duration,e[a].intervalConfig.enableUTC,e[a].intervalConfig.weekStartFrom,e[a].startValFloorVal);break;default:e[a].value=n[v.index]-(n[v.index]-e[a].startValFloorVal)%e[a].intervalConfig.duration.ms}p+=e[a].value+"-"}else w[a]=n[v.index],p+=n[v.index]+"-";if(s[p=p.slice(0,-1)]>=0)w=c[s[p]],b=s[p];else{for(k in s[p]=h++,e)d=o.interval(e[k].value,e[k].intervalConfig),w[k]=d;c.push(w);b=c.length-1}return l[b]=l[b]||{},w&&y(n,t,w,g,u,f,l[b]),h}}function y(n,t,i,r,u,f,e){for(var a=u.length,c=void 0,l=void 0,h=void 0,o=void 0,o=0;o<a;o++)if(n[(c=f(u[o].column,t)).index]!==undefined&&null!==n[c.index]){switch(l=u[o].operation||"avg"){case"sum":case"min":case"max":case"first":case"last":h=null;break;default:h=e[o]=e[o]&&e[o]+1||1}i[r+o]="count"===l?h:s["default"].resolve(l)(i[r+o]!==undefined?i[r+o]:null,n[c.index],h)}}t.__esModule=!0;t._singleSortedAddRowDate=t._singleSortedAddRow=undefined;var f,e=i(276),r=i(327),u=i(342),o=i(343),p=i(344),s=(f=p)&&f.__esModule?f:{"default":f};i(345);var h=i(280),w=i(324),b=i(323),k=i(278);t["default"]=function(n,t){var i=n,f=t;return{ops:"groupBy",type:w.OperatorTypes.GroupBy,_updateArgs:function(n,t){i=n;f=t},fn:function(n,t,s,p){if(p&&(n=p.call()),!i||0===i.length)throw new Error("groupConfigArray cannot be empty");if(!f||0===f.length)throw new Error("aggrConfigArray cannot be empty");return!(i instanceof Array)&&i instanceof Object&&(i=[i]),!(f instanceof Array)&&f instanceof Object&&(f=[f]),1===i.length&&s&&i[0].column===s.indexBy?function(n,t,i,f,s){var p,lt,et,w,d,rt,tt,g,it=[],at=[],nt=n.length,vt=0,ot=v(),st=[],ct;if((p=ot(f.column,t)).outputAs=f.outputAs,at=c(t,[p],s,ot),nt>0){if(tt=p.enableUTC||h.getConfig("enableUTC"),"date"===p.type){var ht=void 0,ut=void 0,ft=void 0;et=u.duration(f.timeUnit,Math.abs(f.binSize)||1);n[0]&&n[0][p.index]&&n[nt-1]&&n[nt-1][p.index]||(ht=e.columnExtents(f.column,n,t,i.indexBy));ut=n[0]&&n[0][p.index]||ht.min;(ft=f.startValue&&parseInt(f.startValue,10))?ft>=ut?(w=r.getDateStart(ft,u.duration(f.timeUnit,1),tt,f.weekStartFrom),vt=b.leftMostExactOrGreater(w,n,function(n,t){return k.numberComparator(n[p.index],t)},0,n.length)):w=r.getDateStart(ut,et,tt,f.weekStartFrom,ft):w=r.getDateStart(ut,u.duration(f.timeUnit,1),tt,f.weekStartFrom);lt=n[nt-1]&&n[nt-1][p.index]||ht.max}if(w===undefined||w<=lt)for(ct={duration:et,outputFormat:f.outputFormat,enableUTC:tt,weekStartFrom:f.weekStartFrom},w!==undefined&&(d=[o.interval(w,ct)],it.push(d)),g=vt;g<nt;g++)n[g].length>0&&("date"===p.type?d=a(it,d,n[g][p.index],ct,w):"string"!==p.type&&"number"!==p.type||(d=l(it,d,n[g][p.index])),rt=it.length-1,st[rt]=st[rt]||{},d&&y(n[g],t,d,1,s,ot,st[rt]))}return{data:it,schema:at,config:{indexBy:f.outputAs||f.column}}}(n,t,s,i[0],f):function(n,t,i,f,e){for(var s,a,y,w=[],b=[],k=[],g=!0,nt=n.length,it=f.length,l={},rt=[],p=v(),ut={},tt=0,o=0;o<it;o++)(s=p(f[o].column,t,n)).outputAs=f[o].outputAs,"date"===s.type&&(l[o]||(f[o].startValue>=s.peaks.max&&(g=!1),l[o]=Object.assign({},s),l[o].intervalConfig={duration:u.duration(f[o].timeUnit,Math.abs(f[o].binSize)||
431),outputFormat:f[o].outputFormat,enableUTC:s.enableUTC||h.getConfig("enableUTC"),weekStartFrom:f[o].weekStartFrom},a=parseInt(f[o].startValue,10)||s.peaks.min,l[o].startValFloorVal=a&&r.getDateStart(a,u.duration(f[o].timeUnit,1),l[o].intervalConfig.enableUTC,l[o].intervalConfig.weekStartFrom,parseInt(f[o].startValue,10)),l[o].max=s.peaks.max)),k[o]=s,y||f[o].column!==i.indexBy||(y=f[o].outputAs||f[o].column);if(b=c(t,k,e,p),g&&nt>0)for(o=0;o<nt;o++)tt=d(n[o],t,f,e,p,l,ut,tt,w,rt);return{data:w,schema:b,config:{indexBy:y}}}(n,t,s,i,f)}}};t._singleSortedAddRow=l;t._singleSortedAddRowDate=a},function(n,t,i){"use strict";function c(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}function v(n,t,i,r,u){var e=i!==undefined&&i?a[t.Unit]:l[t.Unit],s;if(r&&!f.Weekdays[r.name])throw new Error("Invalid weekStartFrom provided: "+r);return 1===t.number?"Week"===t.Unit?+e[(r=r||f.Weekdays.Sunday).id].floor(new Date(n)):+e.floor(new Date(n)):u?(s=void 0,"Week"===t.Unit?(s=e[(r=r||f.Weekdays.Sunday).id].count(u,n)%t.number)?o(+e[r.id].floor(n),t.Unit,-s,i,r):+e[r.id].floor(n):(s=e.count(u,n)%t.number)?o(+e.floor(n),t.Unit,-s,i,r):+e.floor(n)):"Week"===t.Unit?+e[(r=r||f.Weekdays.Sunday).id].every(t.number).floor(new Date(n)):+e.every(t.number).floor(new Date(n))}function o(n,t,i,r){switch(t){case"Month":case"Quarter":case"Year":return+(r!==undefined&&r?a[t]:l[t]).offset(new Date(n),i);default:return n+f.DatetimeUnits[t].ms*i}}t.__esModule=!0;t.getDateOffset=t.getDateStart=t.dateRangeCaclulator=t.dateIntervalToString=t.getDefaultOutputFormat=undefined;var e,r=c(i(328)),u=c(i(336)),f=i(341),y=i(281),h=(e=y)&&e.__esModule?e:{"default":e};var s={Year:"%Y",Month:"%b %Y",Day:"%b %d, %Y",Hour:"%b %d, %Y %H hrs",Minute:"%b %d, %Y %H:%M",Second:"%b %d, %Y %H:%M:%S",Millisecond:"%b %d, %Y %H:%M:%S:%L"},l={Millisecond:r.timeMillisecond,Second:r.timeSecond,Minute:r.timeMinute,Hour:r.timeHour,Day:r.timeDay,Week:{0:r.timeSunday,1:r.timeMonday,2:r.timeTuesday,3:r.timeWednesday,4:r.timeThursday,5:r.timeFriday,6:r.timeSaturday},Month:r.timeMonth,Quarter:r.timeQuarter,Year:r.timeYear},a={Millisecond:u.utcMillisecond,Second:u.utcSecond,Minute:u.utcMinute,Hour:u.utcHour,Day:u.utcDay,Week:{0:u.utcSunday,1:u.utcMonday,2:u.utcTuesday,3:u.utcWednesday,4:u.utcThursday,5:u.utcFriday,6:u.utcSaturday},Month:u.utcMonth,Quarter:u.utcQuarter,Year:u.utcYear};t.getDefaultOutputFormat=function(n){switch(n){case"Millisecond":case"Second":case"Minute":case"Hour":case"Day":case"Month":case"Year":return s[n];case"Week":return s.Day;case"Quarter":return s.Month}};t.dateIntervalToString=function(){var t,n=this.config;switch(t=n.enableUTC!==undefined&&n.enableUTC?h["default"].utcFormatter(n.outputFormat):h["default"].formatter(n.outputFormat),n.duration.Unit){case"Millisecond":case"Second":case"Minute":case"Hour":case"Day":case"Month":case"Year":return t.format(new Date(this.start))+(n.duration.number>1?" - "+t.format(new Date(this.end-1)):"");case"Week":case"Quarter":return t.format(new Date(this.start))+" - "+t.format(new Date(this.end-1))}};t.dateRangeCaclulator=function(n,t,i,r){var u,f;return u=n,arguments.length>4&&arguments[4]!==undefined&&arguments[4]&&((f=Object.assign({},t)).number=1,u=v(u,f,i,r)),{startDate:u,endDate:o(u,t.Unit,t.number,i)}};t.getDateStart=v;t.getDateOffset=o},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t.timeYear=t.timeMonth=t.timeQuarter=t.timeSaturday=t.timeFriday=t.timeThursday=t.timeWednesday=t.timeTuesday=t.timeMonday=t.timeSunday=t.timeWeek=t.timeDay=t.timeHour=t.timeMinute=t.timeSecond=t.timeMillisecond=undefined;var f=r(i(329)),e=r(i(331)),o=r(i(332)),s=r(i(333)),h=r(i(285)),u=i(290),c=r(u),l=r(i(334)),a=r(i(335)),v=r(i(291));t.timeMillisecond=f["default"];t.timeSecond=e["default"];t.timeMinute=o["default"];t.timeHour=s["default"];t.timeDay=h["default"];t.timeWeek=c["default"];t.timeSunday=u.sunday;t.timeMonday=u.monday;t.timeTuesday=u.tuesday;t.timeWednesday=u.wednesday;t.timeThursday=u.thursday;t.timeFriday=u.friday;t.timeSaturday=u.saturday;t.timeQuarter=l["default"];t.timeMonth=a["default"];t.timeYear=v["default"]},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(330),f=new((r=u)&&r.__esModule?r:{"default":r})["default"]("millisecond",function(){},function(n,t){return n.setTime(Number(n)+Number(t))},function(n,t){return t-n});t["default"]=f},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,f,u,e;t.__esModule=!0;f=i(286);u=(r=f)&&r.__esModule?r:{"default":r};e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.every=function(n){var t=Math.floor(n);return this.count&&Number.isFinite(t)&&t>0?t>1?new u["default"]("millisecond",function(n){return n.setTime(Math.floor(n/t)*t)},function(n,i){return n.setTime(Number(n)+i*t)},function(n,i){return(i-n)/t}):this:null},t}(u["default"]);t["default"]=e},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(286),e=(r=f)&&r.__esModule?r:{"default":r},u=i(287),o=new e["default"]("second",function(n){return n.setTime(Math.floor(n/u.durationSecond)*u.durationSecond)},function(n,t){return n.setTime(Number(n)+t*u.durationSecond)},function(n,t){return(t-n)/u.durationSecond},function(n){return n.getUTCSeconds()});t["default"]=o},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(286),e=(r=f)&&r.__esModule?r:{"default":r},u=i(287),o=new e["default"]("minute",function(n){return n.setTime(Math.floor(n/u.durationMinute)*u.durationMinute)},function(n,t){return n.setTime(Number(n)+t*u.durationMinute)},function(n,t){return(t-n)/u.durationMinute},function(n){return n.getMinutes()});t["default"]=o},function(n,t,i){"use strict";t.__esModule=!0;
43var u,f=i(286),e=(u=f)&&u.__esModule?u:{"default":u},r=i(287),o=new e["default"]("hour",function(n){var t=n.getTimezoneOffset()*r.durationMinute%r.durationHour;t<0&&(t+=r.durationHour);n.setTime(Math.floor((Number(n)-t)/r.durationHour)*r.durationHour+t)},function(n,t){return n.setTime(Number(n)+t*r.durationHour)},function(n,t){return(t-n)/r.durationHour},function(n){return n.getHours()});t["default"]=o},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(286),f=new((r=u)&&r.__esModule?r:{"default":r})["default"]("quarter",function(n){n.setMonth(n.getMonth()-(n.getMonth()+3)%3,1);n.setHours(0,0,0,0)},function(n,t){return n.setMonth(n.getMonth()+3*t)},function(n,t){return(t.getMonth()-(t.getMonth()+3)%3-(n.getMonth()-(n.getMonth()+3)%3))/3+4*(t.getFullYear()-n.getFullYear())},function(n){return Math.floor(n.getMonth()/3)});t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(286),f=new((r=u)&&r.__esModule?r:{"default":r})["default"]("month",function(n){n.setDate(1);n.setHours(0,0,0,0)},function(n,t){return n.setMonth(n.getMonth()+t)},function(n,t){return t.getMonth()-n.getMonth()+12*(t.getFullYear()-n.getFullYear())},function(n){return n.getMonth()});t["default"]=f},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t.utcYear=t.utcMonth=t.utcQuarter=t.utcSaturday=t.utcFriday=t.utcThursday=t.utcWednesday=t.utcTuesday=t.utcMonday=t.utcSunday=t.utcWeek=t.utcDay=t.utcHour=t.utcMinute=t.utcSecond=t.utcMillisecond=undefined;var f=u(i(329)),e=u(i(331)),o=u(i(337)),s=u(i(338)),h=u(i(288)),r=i(289),c=u(r),l=u(i(339)),a=u(i(340)),v=u(i(293));t.utcMillisecond=f["default"];t.utcSecond=e["default"];t.utcMinute=o["default"];t.utcHour=s["default"];t.utcDay=h["default"];t.utcWeek=c["default"];t.utcSunday=r.utcSunday;t.utcMonday=r.utcMonday;t.utcTuesday=r.utcTuesday;t.utcWednesday=r.utcWednesday;t.utcThursday=r.utcThursday;t.utcFriday=r.utcFriday;t.utcSaturday=r.utcSaturday;t.utcQuarter=l["default"];t.utcMonth=a["default"];t.utcYear=v["default"];t["default"]={getInterval:function(n){switch(n+""){case"millisecond":return f["default"];case"second":return e["default"];case"minute":return o["default"];case"hour":return s["default"];case"day":return h["default"];case"week":return c["default"];case"sunday":return r.utcSunday;case"monday":return r.utcMonday;case"tuesday":return r.utcTuesday;case"wednesday":return r.utcWednesday;case"thursday":return r.utcThursday;case"friday":return r.utcFriday;case"saturday":return r.utcSaturday;case"quarter":return l["default"];case"month":return a["default"];case"year":return v["default"]}}}},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(286),e=(r=f)&&r.__esModule?r:{"default":r},u=i(287),o=new e["default"]("minute",function(n){return n.setUTCSeconds(0,0)},function(n,t){return n.setTime(Number(n)+t*u.durationMinute)},function(n,t){return(t-n)/u.durationMinute},function(n){return n.getUTCMinutes()});t["default"]=o},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(286),e=(r=f)&&r.__esModule?r:{"default":r},u=i(287),o=new e["default"]("hour",function(n){return n.setUTCMinutes(0,0,0)},function(n,t){return n.setTime(Number(n)+t*u.durationHour)},function(n,t){return(t-n)/u.durationHour},function(n){return n.getUTCHours()});t["default"]=o},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(286),f=new((r=u)&&r.__esModule?r:{"default":r})["default"]("quarter",function(n){n.setUTCMonth(n.getUTCMonth()-(n.getUTCMonth()+3)%3,1);n.setUTCHours(0,0,0,0)},function(n,t){return n.setUTCMonth(n.getUTCMonth()+3*t)},function(n,t){return(t.getUTCMonth()-(t.getUTCMonth()+3)%3-(n.getUTCMonth()-(n.getUTCMonth()+3)%3))/3+4*(t.getUTCFullYear()-n.getUTCFullYear())},function(n){return Math.floor(n.getMonth()/3)});t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(286),f=new((r=u)&&r.__esModule?r:{"default":r})["default"]("month",function(n){n.setUTCDate(1);n.setUTCHours(0,0,0,0)},function(n,t){return n.setUTCMonth(n.getUTCMonth()+t)},function(n,t){return t.getUTCMonth()-n.getUTCMonth()+12*(t.getUTCFullYear()-n.getUTCFullYear())},function(n){return n.getUTCMonth()});t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;
43t.Weekdays=t.DatetimeUnits=undefined;var r=i(287),u={Millisecond:{name:"Millisecond",ms:1},Second:{name:"Second",ms:r.durationSecond},Minute:{name:"Minute",ms:r.durationMinute},Hour:{name:"Hour",ms:r.durationHour},Day:{name:"Day",ms:r.durationDay},Week:{name:"Week",ms:r.durationWeek},Month:{name:"Month",ms:r.durationMonth},Quarter:{name:"Quarter",ms:r.durationQuarter},Year:{name:"Year",ms:r.durationYear}};t.DatetimeUnits=u;t.Weekdays={Sunday:{name:"Sunday",id:0},Monday:{name:"Monday",id:1},Tuesday:{name:"Tuesday",id:2},Wednesday:{name:"Wednesday",id:3},Thursday:{name:"Thursday",id:4},Friday:{name:"Friday",id:5},Saturday:{name:"Saturday",id:6}}},function(n,t,i){"use strict";t.__esModule=!0;t.duration=undefined;var r=i(341);t.duration=function(n,t){if(!n||!r.DatetimeUnits[n.name])throw new Error("Invalid Unit provided: "+n);return t=Math.abs(t)||1,{Unit:n.name,number:t,ms:n.ms*t}}},function(n,t,i){"use strict";t.__esModule=!0;t.interval=undefined;var u=i(341),r=i(327);t.interval=function(n,t){var f=arguments.length>2&&arguments[2]!==undefined&&arguments[2];if(t.duration.ms){var i=r.dateRangeCaclulator(n,t.duration,t.enableUTC,t.weekStartFrom||u.Weekdays.Sunday,f),e=i.startDate,o=i.endDate;return t.outputFormat=t.outputFormat||r.getDefaultOutputFormat(t.duration.Unit),{start:e,end:o,config:t,toString:r.dateIntervalToString}}}},function(n,t){"use strict";t.__esModule=!0;var i=function(){function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.store={}}return n.prototype.register=function(n,t){this.store[n]=t},n.prototype.resolve=function(n){return this.store[n]},n}(),r=function(){var n=null;return null===n&&(n=new i),n}();t["default"]=r},function(n,t,i){"use strict";t.__esModule=!0;t.avg=t.sum=undefined;var r,f,u,e,o,s=i(344),h=(r=s)&&r.__esModule?r:{"default":r};t.sum=f=function(n,t){return n+t};t.avg=u=function(n,t,i){return((i-1)*n+t)/i};o={sum:f,avg:u,count:function(n){return++n},min:function(n,t){return null!==n?n>t?t:n:t},max:function(n,t){return null!==n?n<t?t:n:t},first:function(n,t){return null===n?t:n},last:function(n,t){return t},variance:e=function(n,t,i){var e,r=t,f=0;return n&&(r=n.avg,f=n.variance),e=r,i>1&&(f=(f*(i-2)+(t-(r=u(r,t,i)))*(t-e))/(i-1)),{avg:r,variance:f}},stddev:function(n,t,i){var r,u;return n&&(r={avg:n.avg,variance:n.stddev*n.stddev}),{avg:(u=e(r,t,i)).avg,stddev:Math.sqrt(u.variance)}}};Object.entries(o).forEach(function(n){h["default"].register(n[0],n[1])});t.sum=f;t.avg=u},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(){for(var n,s=void 0,i=[],f=[],o=[],c=function(n,t){for(var i=[],f=n.length,r=0;r<f;r++)t[r]||i.push(n[r]);return i&&i.length>0&&u.binaryInsertionSort(i,function(n,t){return n.type-t.type}),i},h=arguments.length,t=Array(h),e=0;e<h;e++)t[e]=arguments[e];for(s=t.length,n=0;n<s;n++)switch(t[n].type){case r.OperatorTypes.IndexOpsFilter:case r.OperatorTypes.GenericFilter:i.push(t[n]);f.push(!1);break;case r.OperatorTypes.Select:case r.OperatorTypes.Sort:i.push(t[n]);f.push(!0);break;case r.OperatorTypes.GroupBy:o=o.concat(c(i,f),t[n]);i=[];f=[]}return o.concat(function(n){var t=[],r=n.length,i;for(u.binaryInsertionSort(n,function(n,t){return n.type-t.type}),t.push(n[0]),i=1;i<r;i++)n[i].type>=3&&n[i].type===t[t.length-1].type&&t.pop(),t.push(n[i]);return t}(i))};var r=i(324),u=i(279)},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(324),e=i(276),u=i(278),o=i(279),s=(r=o)&&r.__esModule?r:{"default":r};t["default"]=function(n){var t=n;return{ops:"sort",type:f.OperatorTypes.Sort,_updateArgs:function(n){t=n},fn:function(n,i,r,f){return{data:n,schema:i,config:t.constructor===Array&&t.length?{indexBy:t[0].column}:t.constructor===Object?{indexBy:t.column}:undefined,generatorFn:function(){var c;if(f&&(n=f.call()),c=void 0,t.constructor===Function)c=t;else{t.constructor!==Array&&(t=[t]);for(var h=[],o=[],r=void 0,l=void 0,a=void 0,r=0;r<t.length;r++)if(t[r].column){if(l=e.columnIndexOf(t[r].column,i),o.push(l),-1===l)throw new Error("Sort column is not found in schema - "+t[r].column);switch(i[l].type){case"number":case"interval":case"date":h.push(u.numberComparator);break;default:h.push(u.stringComparator)}}c=function(n,u){for(r=0;r<t.length;r++){if(0!==(a="interval"===i[o[r]].type?"desc"===t[r].order?h[r](u[o[r]].start,n[o[r]].start):h[r](n[o[r]].start,u[o[r]].start):"desc"===t[r].order?h[r](u[o[r]],n[o[r]]):h[r](n[o[r]],u[o[r]])))return a;
43if(r===t.length-1)return 0}}}return s["default"](n,c),n}}}}}},function(n,t,i){"use strict";function h(n){return n&&n.__esModule?n:{"default":n}}function p(n,t,i,r,u,f,e,o,h){for(var p=u.length,y=void 0,a=void 0,v=void 0,c=void 0,l=void 0,c=0;c<p;c++)if(n[y=o(u[c].column,t)]!==undefined&&null!==n[y]){switch(a=u[c].operation||"avg",l=e[n[f]+" - "+(u[c].outputAs||u[c].column+(a?" - "+a:""))],a){case"sum":case"min":case"max":case"first":case"last":v=null;break;default:v=h[l]=h[l]&&h[l]+1||1}i[r+l]="count"===a?v:s["default"].resolve(a)(i[r+l]!==undefined?i[r+l]:null,n[y],v)}}t.__esModule=!0;var r=i(276),f=i(327),e=i(342),c=i(343),s=h(i(344));i(345);var l=i(280),a=i(324),o=i(326),v=h(o),u=i(278),y=i(323);t["default"]=function(n,t,i){var h=n,b=t,w=i;return{ops:"pivot",type:a.OperatorTypes.GroupBy,_updateArgs:function(n,t,i){h=n;b=t;w=i},fn:function(n,t,i,a){if(0===h.length)throw new Error("groupConfigArray cannot be empty");if(0===w.length)throw new Error("aggrConfigArray cannot be empty");if(!b)throw new Error("pivotCol cannot be empty");return!(h instanceof Array)&&h instanceof Object&&(h=[h]),!(w instanceof Array)&&w instanceof Object&&(w=[w]),1===h.length&&i&&h[0].column===i.indexBy?function(n,t,i,h,a,v){var ot,w,d,st,yt,pt,ht,ct,b,k,rt,tt,g,ut,it=[],wt=[],bt={},nt=n.length,kt=0,dt=(ut={},function(n,t){return ut[n]||(ut[n]=r.columnIndexOf(n,t)),ut[n]}),lt=[],vt;if(-1===(w=r.columnIndexOf(h.column,t)))throw new Error("incorrect column name in groupConfigArr - "+h);if(-1===(st=r.columnIndexOf(v,t)))throw new Error("incorrect pivot column name");if(d=t[w],yt=t[st],(ht=Object.assign({},h)).type=d.type,ht.outputAs=h.outputAs,ot=function(n,t,i,f,e){var y,p,d,g,nt,l,h,a,w,o,v,c,b,k=[],tt={},it=0;for(i=i instanceof Array?i:[i],f=f instanceof Array?f:[f],g=i.length,nt=f.length,o=0;o<g;o++){if(l=r.columnIndexOf(i[o].column,t),h=t[l],-1===l)throw new Error("incorrect column name in groupConfigArr - "+i[o].column);b={name:i[o].outputAs||i[o].column,type:"date"===h.type?"interval":h.type};h.enableUTC!==undefined&&(b.enableUTC=h.enableUTC);k.push(b)}switch(e.type){case"number":case"date":y=u.numberComparator;break;default:y=u.stringComparator}for((p=r.columnUnique(e.name,n,t)).sort(function(n,t){return y(n,t)}),d=p.length,o=0;o<nt;o++){if(c=f[o].operation||"avg",l=r.columnIndexOf(f[o].column,t),h=t[l],-1===l)throw new Error("incorrect column name in aggrConfigArr - "+f[o].column);if(!s["default"].resolve(c))throw new Error(c+" is not a defined operation");switch(c){case"first":case"last":a=h.type;break;case"count":a="number";break;default:if("number"!==h.type)throw new Error(c+" can apply only on numbers");a="number"}for(v=0;v<d;v++)w=p[v]+" - "+(f[o].outputAs||f[o].column+(c?" - "+c:"")),tt[w]=it++,k.push({name:w,type:a})}return{schema:k,pivots:tt}}(n,t,ht,a,yt),wt=ot.schema,bt=ot.pivots,nt>0){if(tt=d.enableUTC||l.getConfig("enableUTC"),"date"===d.type){var at=void 0,ft=void 0,et=void 0;ct=e.duration(h.timeUnit,Math.abs(h.binSize)||1);n[0]&&n[0][w]&&n[nt-1]&&n[nt-1][w]||(at=r.columnExtents(h.column,n,t,i.indexBy));ft=n[0]&&n[0][w]||at.min;(et=h.startValue&&parseInt(h.startValue,10))?et>=ft?(b=f.getDateStart(et,e.duration(h.timeUnit,1),tt,h.weekStartFrom),kt=y.leftMostExactOrGreater(b,n,function(n,t){return u.numberComparator(n[w],t)},0,n.length)):b=f.getDateStart(ft,ct,tt,h.weekStartFrom,et):b=f.getDateStart(ft,e.duration(h.timeUnit,1),tt,h.weekStartFrom);pt=n[nt-1]&&n[nt-1][w]||at.max}if(b===undefined||b<=pt)for(vt={duration:ct,outputFormat:h.outputFormat,enableUTC:tt,weekStartFrom:h.weekStartFrom},b!==undefined&&(k=[c.interval(b,vt)],it.push(k)),g=kt;g<nt;g++)n[g].length>0&&("date"===d.type?k=o._singleSortedAddRowDate(it,k,n[g][w],vt,b):"string"!==d.type&&"number"!==d.type||(k=o._singleSortedAddRow(it,k,n[g][w])),rt=it.length-1,lt[rt]=lt[rt]||{},k&&p(n[g],t,k,1,a,st,bt,dt,lt[rt]))}return{data:it,schema:wt,config:{indexBy:h.outputAs||h.column}}}(n,t,i,h[0],w,b):function(n,t,i,f,e,o,s){var k=void 0,h=void 0,l=void 0,a=void 0,y=void 0,c=void 0,p=void 0,d=void 0,g=void 0,nt={},w={},rt=function(n){return w.hasOwnProperty(n)?w[n]:-1},ut=function(n,t){w[n]=t},tt=function(n,t,i,r){return n+" - "+(t||i+(r?" - "+r:""))},b=[],it=[];switch(k=v["default"](e.concat({column:s}),o),h=k.fn(n,t,i,f),a=r.columnUnique(s,n,t),p=r.columnIndexOf(s,h.schema),h.schema[p].type){case"number":case"date":l=u.numberComparator;break;default:l=u.stringComparator}return y=a&&a.sort(function(n,t){return l(n,t)})||[],c=h.schema.filter(function(n){return n.name!==s}),d=c.length,g=e.map(function(n){return n.outputAs||n.column}),b=function(){for(var t=[],n=void 0,r=function(i){if(g.includes(c[i].name))t.push(c[i]),nt[c[i].name]=i;else{n=o.filter(function(n){return(n.outputAs||n.column+(n.operation?" - "+n.operation:""))===c[i].name})[0];for(var r=0;r<y.length;r++)t.push({name:tt(y[r],n.outputAs,n.column,n.operation),type:c[i].type})}},i=0;i<d;i++)r(i);return t}(),h.data.length>0&&(it=function(n){for(var u=[],y=n.length,c={},t=void 0,i=void 0,w=void 0,f=void 0,b=void 0,r={},e="",k,l,a,v,t=0;t<y;t++)c[n[t].name]=t;for(t=0;t<h.data.length;t++){for(r={},e="",i=0;i<h.schema.length;i++)nt.hasOwnProperty(h.schema[i].name)?(r[c[h.schema[i].name]]=h.data[t][i],e+="interval"===h.schema[i].type?h.data[t][i].start:h.data[t][i]):h.schema[i].name!==s&&(f=o.filter(function(n){return(n.outputAs||n.column+(n.operation?" - "+n.operation:""))===h.schema[i].name})[0],(b=c[tt(h.data[t][p],f.outputAs,f.column,f.operation)])&&(r[b]=h.data[t][i]));if((w=rt(e))>-1){k=u[w];for(l in r)k[l]=r[l]}else{a=new Array(y);for(v in r)a[v]=r[v];u.push(a);ut(e,u.length-1)}}return u}(b)),{data:it,schema:b,config:{indexBy:h.config.indexBy===s?undefined:h.config.indexBy}}}(n,t,i,a,h,w,b)}}}},function(n,t,i){"use strict";t.__esModule=!0;t.aggregatorStore=undefined;var r,u=i(344),f=(r=u)&&r.__esModule?r:{"default":r};t.aggregatorStore=f["default"]},function(n,t,i){"use strict";t.__esModule=!0;t.Weekdays=t.DatetimeUnits=t.duration=t.formatDate=t.parseDate=t.after=t.before=undefined;var r=i(351),u=i(352),e=i(342),f=i(341);t.before=r.before;t.after=r.after;t.parseDate=u.parseDate;t.formatDate=u.formatDate;t.duration=e.duration;t.DatetimeUnits=f.DatetimeUnits;t.Weekdays=f.Weekdays},function(n,t,i){"use strict";t.__esModule=!0;t.after=t.before=undefined;var r=i(327),u=i(341);t.before=function(n,t,i,f){if(!n)throw new Error("duration is missing");if(t&&(isNaN(t)||isNaN(+new Date(t))))throw new Error("timestamp is incorrect");return r.getDateOffset(isNaN(t)?+new Date:t,n.Unit,-n.number,i,f||u.Weekdays.Sunday)};t.after=function(n,t,i,f){if(!n)throw new Error("duration is missing");if(t&&(isNaN(t)||isNaN(+new Date(t))))throw new Error("timestamp is incorrect");return r.getDateOffset(isNaN(t)?+new Date:t,n.Unit,n.number,i,f||u.Weekdays.Sunday)}},function(n,t,i){"use strict";t.__esModule=!0;t.formatDate=t.parseDate=undefined;var r,f=i(281),u=(r=f)&&r.__esModule?r:{"default":r};t.parseDate=function(n,t,i){var r;if(t&&(r=(r=(i!==undefined&&i?u["default"].utcParser(t):u["default"].parser(t)).parse(n))&&r.getTime()),r||(r=i!==undefined&&i?+new Date(n+"Z"):+new Date(n)),!r)throw new Error("Incorrect string or format provided");return r};t.formatDate=function(n,t,i){var r;if(isNaN(parseInt(n,10)))throw new Error("Timestamp must be a number: "+n);if(t||(t="%a, %-d %b %Y, %H:%M:%S:%L"),!(r=(i!==undefined&&i?u["default"].utcFormatter(t):u["default"].formatter(t)).format(new Date(n))))throw new Error("Incorrect format provided: "+t);return r}},function(n,t){"use strict";t.__esModule=!0;t["default"]={column2d:"charts",column3d:"charts",bar2d:"charts",bar3d:"charts",pie2d:"charts",pie3d:"charts",line:"charts",area2d:"charts",doughnut2d:"charts",doughnut3d:"charts",pareto2d:"charts",pareto3d:"charts",mscolumn2d:"charts",mscolumn3d:"charts",msline:"charts",msarea:"charts",msbar2d:"charts",msbar3d:"charts",stackedcolumn2d:"charts",marimekko:"charts",stackedcolumn3d:"charts",stackedarea2d:"charts",stackedcolumn2dline:"charts",stackedcolumn3dline:"charts",stackedbar2d:"charts",stackedbar3d:"charts",msstackedcolumn2d:"charts",mscombi2d:"charts",mscombi3d:"charts",mscolumnline3d:"charts",mscombidy2d:"charts",mscolumn3dlinedy:"charts",stackedcolumn3dlinedy:"charts",msstackedcolumn2dlinedy:"charts",scatter:"charts",bubble:"charts",ssgrid:"charts",scrollcolumn2d:"charts",scrollcolumn3d:"charts",scrollline2d:"charts",scrollarea2d:"charts",scrollstackedcolumn2d:"charts",scrollcombi2d:"charts",scrollcombidy2d:"charts",spline:"charts",splinearea:"charts",msspline:"charts",mssplinearea:"charts",mssplinedy:"charts",multiaxisline:"powercharts",multilevelpie:"powercharts",
43waterfall2d:"powercharts",msstepline:"powercharts",inversemsline:"powercharts",inversemscolumn2d:"powercharts",inversemsarea:"powercharts",errorbar2d:"powercharts",errorscatter:"powercharts",errorline:"powercharts",logmsline:"powercharts",logmscolumn2d:"powercharts",logstackedcolumn2d:"powercharts",radar:"powercharts",dragnode:"powercharts",candlestick:"powercharts",selectscatter:"powercharts",dragcolumn2d:"powercharts",dragline:"powercharts",dragarea:"powercharts",boxandwhisker2d:"powercharts",kagi:"powercharts",heatmap:"powercharts",angulargauge:"widgets",bulb:"widgets",cylinder:"widgets",drawingpad:"widgets",funnel:"widgets",hbullet:"widgets",hled:"widgets",hlineargauge:"widgets",vlineargauge:"widgets",pyramid:"widgets",realtimearea:"widgets",realtimecolumn:"widgets",realtimeline:"widgets",realtimelinedy:"widgets",realtimestackedarea:"widgets",realtimestackedcolumn:"widgets",sparkcolumn:"widgets",sparkline:"widgets",sparkwinloss:"widgets",thermometer:"widgets",vbullet:"widgets",vled:"widgets",zoomline:"zoomline",zoomlinedy:"zoomline",gantt:"gantt",treemap:"treemap",zoomscatter:"zoomscatter",overlappedbar2d:"overlappedbar2d",overlappedcolumn2d:"overlappedcolumn2d",msstackedcolumn2dsplinedy:"msstackedcolumn2dsplinedy",timeseries:"timeseries"}},function(n,t,i){"use strict";t.__esModule=!0;var f=i(125),u=12e4,r={};t["default"]=function(n){if(!r[n]){var e=document.getElementsByTagName("head")[0],t=document.createElement("script"),i=setTimeout(function(){t.onerror({type:"timeout",target:t})},u);t.charset="utf-8";t.timeout=u;r[n]=new Promise(function(n,r){t.onload=function(r){t.onerror=t.onload=null;clearTimeout(i);n(r)};t.onerror=function(n){t.onerror=t.onload=null;clearTimeout(i);r(n)}});f.isXSSSafe(n,!1)||(n="function"==typeof encodeURIComponent?window.encodeURIComponent(n):window.escape(n));t.src=n;e.appendChild(t)}return r[n]}},function(n){(function(t){n.exports=t}).call(this,{})}])["default"]});(window.webpackJsonpFusionCharts=window.webpackJsonpFusionCharts||[]).push([[2],Array(359).concat([function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(360));u=f(i(431));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("dataset",u["default"],["vCanvas"]),i}return o(t,n),t.getName=function(){return"SSCartesian"},t.prototype.getName=function(){return"SSCartesian"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.hasLegend=!1;t.linethickness=4},t.prototype._checkInvalidSpecificData=function(){var n=this.getFromEnv("dataSource").data;if(!n||!n.length)return!0},t.prototype._setCategories=function(){var n=this.getFromEnv("dataSource"),i=this.getChildren("xAxis"),t=n.dataset,r=n.data||t&&t[0].data;i[0].setTickValues(r)},t}(r["default"]);t["default"]=e},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}
43t.__esModule=!0;var f=u(i(361)),r=i(125),e=u(i(376)),o=u(i(424)),s=u(i(427)),h=u(i(429));var l=Math.max,a=Math.min,v=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("axis",e["default"],["canvas"]),i.registerFactory("canvas",o["default"]),i.registerFactory("vCanvas",s["default"],["axis"]),i.registerFactory("mouseTracker",h["default"],["canvas"]),i}return c(t,n),t.getName=function(){return"Cartesian"},t.prototype.getName=function(){return"Cartesian"},t.prototype.getType=function(){return"chartAPI"},t.prototype._allocateXAxisLabelSpace=function(n){var e,t=this.config,o=n.getAxisEndLabelDisplaySpace(),i=o.left,r=o.right,u=o.top,f=o.bottom,h=t.availableWidth,c=t.availableHeight,l=t.canvasLeft,a=t.canvasRight,v=t.canvasTop,y=t.canvasBottom,p=t.width,w=t.height,s=function(n,t){return n<t&&t>0?t-n:0};u+f>c&&(u=c*u/(e=u+f),f=c*f/e);i+r>h&&(i=h*i/(e=i+r),r=h*r/e);i=s(l,i);r=s(p-a,r);u=s(v,u);f=s(w-y,f);this._allocateSpace({left:i,right:r,top:u,bottom:f})},t.prototype._setCategories=function(){var n=this.getFromEnv("dataSource"),t=this.getChildren("xAxis"),i=n.categories&&n.categories.length&&n.categories[0].category;t&&t[0].setTickValues(i)},t.prototype._feedAxesRawData=function(){var t,n,i=this.config,u=this.getFromEnv("dataSource");return t=this.getSpecificxAxisConf(),n=this.getSpecificyAxisConf(),t.vtrendlines=r.extend2([],u.vtrendlines),n.trendlines=r.extend2([],u.trendlines),i.isstacked&&(n.isPercent=r.pluckNumber(i.stack100percent,0)),{yAxisConf:[n],xAxisConf:[t]}},t.prototype.getSpecificxAxisConf=function(){var n=this.getFromEnv("chart-attrib"),i=this.config,u=this.config.is3D,t=this.getBasexAxisConf();return t.isReverse=i.reverseXAxis,t.axisLineColor=r.pluck(n.xaxislinecolor,n.axislinecolor,"#000000"),t.showAlternateGridColor=r.pluckNumber(n.showalternatevgridcolor,0),t.numDivLines=r.pluckNumber(n.numvdivlines,i.numVDivLines),t.axisName=n.xaxisname,t.setAdaptiveMin=r.pluckNumber(n.setadaptivexmin,i.setadaptivexmin,i.setadaptivexmin),t.showLimits=r.pluckNumber(n.showvlimits,i.showvlimits),t.showDivLineValues=r.pluckNumber(n.showvdivlinevalues,n.showvdivlinevalues,i.showvdivlinevalues),t.zeroPlaneThickness=r.pluckNumber(n.vzeroplanethickness,n.vdivlinethickness,i.zeroplanethickness,2),t.zeroPlaneAlpha=r.pluckNumber(n.vzeroplanealpha,n.vdivlinealpha,i.zeroplanealpha),t.showZeroPlaneValue=r.pluckNumber(n.showvzeroplanevalue,i.showzeroplanevalue),t.showAxisLine=u?0:r.pluckNumber(n.showxaxisline,n.showaxislines,n.drawAxisLines,i.showxaxisline,0),t.maxLabelHeight=n.maxlabelheight,t.showZeroPlane=r.pluckNumber(n.showvzeroplane,i.showzeroplane),t},t.prototype.getSpecificyAxisConf=function(){var n=this.getFromEnv("chart-attrib"),t=this.config,u=this.config.is3D,e=u?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D,s=t.isInverse,i=this.getFromEnv("color-manager"),o=r.pluckNumber(n.showzeroplane,t.showzeroplane,1),f=r.pluckNumber(n.showzeroplanevalue,t.showzeroplanevalue);return o||void 0!==f||(f=0),{isVertical:!0,isReverse:!s,isOpposit:!1,outCanfontFamily:r.pluck(n.outcnvbasefont,n.basefont,"Verdana,sans"),outCanfontSize:r.pluckFontSize(n.outcnvbasefontsize,n.basefontsize,10),outCancolor:r.pluck(n.outcnvbasefontcolor,n.basefontcolor,i.getColor(e.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisBreaks:n.yaxisbreaks,axisNamePadding:n.yaxisnamepadding,axisValuePadding:n.yaxisvaluespadding,axisNameFont:n.yaxisnamefont,axisNameFontSize:n.yaxisnamefontsize,axisNameFontColor:n.yaxisnamefontcolor,axisNameFontBold:n.yaxisnamefontbold,axisNameFontItalic:n.yaxisnamefontitalic,axisNameBgColor:n.yaxisnamebgcolor,axisNameBorderColor:n.yaxisnamebordercolor,axisNameAlpha:n.yaxisnamealpha,axisNameFontAlpha:n.yaxisnamefontalpha,axisNameBgAlpha:n.yaxisnamebgalpha,axisNameBorderAlpha:n.yaxisnameborderalpha,axisNameBorderPadding:n.yaxisnameborderpadding,axisNameBorderRadius:n.yaxisnameborderradiu
43s,axisNameBorderThickness:n.yaxisnameborderthickness,axisNameBorderDashed:n.yaxisnameborderdashed,axisNameBorderDashLen:n.yaxisnameborderdashlen,axisNameBorderDashGap:n.yaxisnameborderdashgap,axisNameWidth:n.yaxisnamewidth,useEllipsesWhenOverflow:n.useellipseswhenoverflow,rotateAxisName:r.pluckNumber(n.rotateyaxisname,1),axisName:n.yaxisname,divLineColor:r.pluck(n.divlinecolor,i.getColor(e.divLineColor)),divLineAlpha:r.pluck(n.divlinealpha,u?i.getColor("divLineAlpha3D"):i.getColor("divLineAlpha")),divLineThickness:r.pluckNumber(n.divlinethickness,1),divLineIsDashed:Boolean(r.pluckNumber(n.divlinedashed,n.divlineisdashed,0)),divLineDashLen:r.pluckNumber(n.divlinedashlen,4),divLineDashGap:r.pluckNumber(n.divlinedashgap,2),showAlternateGridColor:r.pluckNumber(n.showalternatehgridcolor,1),alternateGridColor:r.pluck(n.alternatehgridcolor,i.getColor("altHGridColor")),alternateGridAlpha:r.pluck(n.alternatehgridalpha,i.getColor("altHGridAlpha")),numDivLines:r.pluckNumber(n.numdivlines,t.numDivLines),axisMinValue:t.yRangeMin||n.yaxisminvalue,axisMaxValue:t.yRangeMax||n.yaxismaxvalue,setAdaptiveMin:r.pluckNumber(n.setadaptivesymin,n.setadaptiveymin,t.setAdaptiveMin),adjustDiv:n.adjustdiv,labelStep:n.yaxisvaluesstep,showAxisValues:r.pluckNumber(n.showyaxisvalues,n.showyaxisvalue,t.showyaxisvalues),showLimits:r.pluckNumber(n.showyaxislimits,n.showlimits,this.showLimits),showDivLineValues:r.pluckNumber(n.showdivlinevalues,n.showdivlinevalue,t.showdivlinevalues),showZeroPlane:o,zeroPlaneColor:n.zeroplanecolor,zeroPlaneThickness:r.pluckNumber(n.zeroplanethickness,n.divlinethickness,t.zeroplanethickness,2),zeroPlaneAlpha:r.pluckNumber(n.zeroplanealpha,n.divlinealpha,t.zeroplanealpha),showZeroPlaneValue:f,showZeroPlaneOnTop:t.showzeroplaneontop,trendlineColor:n.trendlinecolor,trendlineToolText:n.trendlinetooltext,trendlineThickness:n.trendlinethickness,trendlineAlpha:n.trendlinealpha,showTrendlinesOnTop:n.showtrendlinesontop,showAxisLine:u?0:r.pluckNumber(n.showyaxisline,n.showaxislines,n.drawAxisLines,t.showyaxisline,0),axisLineThickness:r.pluckNumber(n.yaxislinethickness,n.axislinethickness,1),axisLineAlpha:r.pluckNumber(n.yaxislinealpha,n.axislinealpha,100),axisLineColor:r.pluck(n.yaxislinecolor,n.axislinecolor,"#000000"),forceTrendBelow:!!t.is3D}},t.prototype.getBasexAxisConf=function(){var n=this.getFromEnv("chart-attrib"),i=this.config.is3D,u=i?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D,t=this.getFromEnv("color-manager");return{isVertical:!1,isOpposit:!1,outCanfontFamily:r.pluck(n.outcnvbasefont,n.basefont,"Verdana,sans"),outCanfontSize:r.pluckFontSize(n.outcnvbasefontsize,n.basefontsize,10),outCancolor:r.pluck(n.outcnvbasefontcolor,n.basefontcolor,t.getColor(u.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisNamePadding:n.xaxisnamepadding,axisValuePadding:n.labelpadding,axisNameFont:n.xaxisnamefont,axisNameFontSize:n.xaxisnamefontsize,axisNameFontColor:n.xaxisnamefontcolor,axisNameFontBold:n.xaxisnamefontbold,axisNameFontItalic:n.xaxisnamefontitalic,axisNameBgColor:n.xaxisnamebgcolor,axisNameBorderColor:n.xaxisnamebordercolor,axisNameAlpha:n.xaxisnamealpha,axisNameFontAlpha:n.xaxisnamefontalpha,axisNameBgAlpha:n.xaxisnamebgalpha,axisNameBorderAlpha:n.xaxisnameborderalpha,axisNameBorderPadding:n.xaxisnameborderpadding,axisNameBorderRadius:n.xaxisnameborderradius,axisNameBorderThickness:n.xaxisnameborderthickness,axisNameBorderDashed:n.xaxisnameborderdashed,axisNameBorderDashLen:n.xaxisnameborderdashlen,axisNameBorderDashGap:n.xaxisnameborderdashgap,useEllipsesWhenOverflow:n.useellipseswhenoverflow,divLineColor:r.pluck(n.vdivlinecolor,n.divlinecolor,t.getColor(u.divLineColor)),divLineAlpha:r.pluck(n.vdivlinealpha,n.divlinealpha,i?t.getColor("divLineAlpha3D"):t.getColor("divLineAlpha")),divLineThickness:r.pluckNumber(n.vdivlinethickness,n.divlinethickness,1),divLineIsDashed:Boolean(r.pluckNumber(n.vdivlinedashed,n.vdivlineisdashed,n.divlinedashed,n.divlineisdashed,0)),divLineDashLen:r.pluckNumber(n.vdivlinedashlen,n.divlinedashlen,4),divLineDashGap:r.pluckNumber(n.vdivlinedashgap,n.divlinedashgap,2),alternateGridColor:r.pluck(n.alternatevgridcolor,t.getColor("altVGridColor")),alternateGridAlpha:r.pluck(n.alternatevgridalpha,t.getColor("altVGridAlpha")),labelFont:n.labelfont,labelFontSize:n.labelfontsize,labelFontColor:n.labelfontcolor,labelFontAlpha:n.labelalpha,labelFontBold:n.labelfontbold,labelFontItalic:n.labelfontitalic,axisMinValue:n.xaxisminvalue,axisMaxValue:n.xaxismaxvalue,adjustDiv:n.adjustvdiv,labelDisplay:n.labeldisplay,showLabels:n.showlabels,rotateLabels:n.rotatelabels,slantLabel:r.pluckNumber(n.slantlabels,n.slantlabel),labelStep:r.pluckNumber(n.labelstep,n.xaxisvaluesstep),showAxisValues:r.pluckNumber(n.showxaxisvalues,n.showxaxisvalue),zeroPlaneColor:n.vzeroplanecolor,trendlineColor:n.trendlinecolor,trendlineToolText:n.trendlinetooltext,trendlineThickness:n.trendlinethickness,trendlineAlpha:n.trendlinealpha,showTrendlinesOnTop:n.showtrendlinesontop,axisLineThickness:r.pluckNumber(n.xaxislinethickness,n.axislinethickness,1),axisLineAlpha:r.pluckNumber(n.xaxislinealpha,n.axislinealpha,100)}},t.prototype.getConfig=function(n){return n?this.config[n]:this.config},t.prototype._getSumValueSpace=function(n){var u,e={},o=this.isBar,s=this.getFromEnv("dataSource").chart,h=0!==this.showsum?r.pluckNumber(s.showsum,this.showsum,0):0,c=r.pluckNumber(this.config.stack100percent),l=this.config.isstacked,t=0,f=[],i=0;if(this.iterateComponents(function(n){"cartesianStackGroup"!==n.getName()&&"marimekkoStackgroup"!==n.getName()||f.push(n)}),h&&c&&l&&f.length){for(u=f.length-1;u>=0;u--)e=f[u].getMaxSumValueSpace(),o?t=Math.max(t,e.maxWidth):i=Math.max(i,e.maxHeight);i>n&&(i=n);t>n&&(t=n)}return{top:i,right:t}},t.prototype.setAxisDimention=function(){var t=this.getChildren("xAxis")&&this.getChildren("xAxis")[0],e=this.getChildren("yAxis")&&this.getChildren("yAxis")[0],i=this.getFromEnv("chartConfig"),o=i.xDepth,n=this.getChildren("canvas")&&this.getChildren("canvas")[0].config,u=n&&n.canvasBorderWidth,s=t&&t.getChildren("scrollBar")&&t.getChildren("scrollBar")[0],v=(s&&!s.getState("removed")||i.is3D)&&i.shift,r=n&&n.canvasPadding,h=n.canvasLeft,f=n&&n.canvasPaddingLeft,c=n&&n.canvasPaddingRight,l=n.canvasTop,a=n&&n.canvasPaddingTop;t&&t.setAxisConfig({canvasPaddingLeft:Math.max(f,r),canvasPaddingRight:Math.max(c,r)});t&&t.setAxisDimention({x:h+(o||0)+Math.max(f,r),y:i.canvasBottom+(v||0)+u,opposite:l-u,axisLength:n.canvasWidth-(o||0)-Math.max(f,r)-Math.max(c,r)});e&&e.setAxisDimention({x:h-u,y:l+a,opposite:i.canvasRight+u,axisLength:i.canvasHeight-a-n.canvasPaddingBottom})},t.prototype._getTrendLineMinMax=function(n,t){var i,r,e,o,s,u="v"===n?this.getFromEnv("dataSource").vtrendlines:this.getFromEnv("dataSource").trendlines,f={max:-Infinity,min:Infinity};if(t=t||"p",u)for(r=0,o=u.length;r<o;r+=1)for(e=0,s=u[r].line?u[r].line.length:0;e<s;e+=1)i=u[r].line[e],"s"===t&&"s"!==i.parentyaxis||"s"!==t&&"s"===i.parentyaxis||(f.max=l(i.startvalue||-Infinity,i.endvalue||-Infinity,f.max),f.min=a(i.startvalue||Infinity,i.endvalue||Infinity,f.min));return f},t}(f["default"]);t["default"]=v},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var r,f=i(362),e=(r=f)&&r.__esModule?r:{"default":r},o=i(125);u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.prototype._spaceManager=function(){var et,r,k,ot,i,v,y,p,w,b,st,ht,d,g,nt,tt,ct,it,t,n=this.config,rt=this.getChildren("xAxis")&&this.getChildren("xAxis")[0],lt=this.getChildren("yAxis")&&this.getChildren("yAxis")||[],ui=n.legendposition,fi=n.xDepth,at=n.yDepth,vt=n.canvasBgDepth,yt=n.canvasBaseDepth,ei=n.canvasBasePadding,pt=this.getChildren("canvas")[0],u=pt.config.canvasBorderWidth,oi=n.realTimeConfig&&n.realTimeConfig.showRTValue,f=n.borderWidth,e=n.canvasMarginTop,s=n.canvasMarginBottom,h=n.canvasMarginLeft,c=n.canvasMarginRight,l=n.minCanvasHeight,a=n.minCanvasWidth,wt=n.minChartWidth,bt=n.minChartHeight,ut=n.height,ft=n.width,kt=!1,dt=!1,gt=n.origCanvasTopMargin,ni=n.origCanvasBottomMargin,ti=n.origCanvasLeftMargin,ii=n.origCanvasRightMargin,ri=[];for(n.canvasWidth-2*f<wt&&(g=(n.canvasWidth-wt)/2),n.canvasHeight-2*f<bt&&(d=(n.canvasHeight-bt)/2),this._allocateSpace({top:d||f,bottom:d||f,left:g||f,right:g||f}),b=0,ot=lt.length;b<ot;b++)k=lt[b],et=.7*n.availableWidth,it=k&&k.placeAxis(et)||{},ri.push({axisIndex:b,spaceTaken:it}),k&&this._allocateSpace(it);n.yAxisSpaceAllocation=ri;this._allocateSpace(this._manageActionBarSpace&&this._manageActionBarSpace(.225*n.availableHeight)||{});this._manageLegendSpace&&n.showLegend&&this._manageLegendSpace(void 0);r=ui===o.POSITION_BOTTOM?.6*n.availableHeight:.6*n.availableWidth;at&&(this._allocateSpace({bottom:at}),n.shift=fi+ei+yt);vt&&this._allocateSpace({right:vt});n.canvasWidth-2*u<a&&(tt=(n.canvasWidth-a)/2);this._allocateSpace({left:tt||u,right:tt||u});a>ft-h-c&&(dt=!0,i=n.canvasWidth-a,t=h+c,h=n.canvasMarginLeft=i*h/t,c=n.canvasMarginRight=i*c/t);p=h>n.canvasLeft?h-n.canvasLeft:0;w=c>ft-n.canvasRight?c+n.canvasRight-ft:0;this._allocateSpace({left:p,right:w});dt&&(t=ti+ii,(ht=n.canvasWidth)>a&&(p=(i=ht-a)*ti/t,w=i*ii/t),this._allocateSpace({left:p,right:w}));n.actualCanvasMarginRight=w;n.actualCanvasMarginBottom=y;this._manageChartMenuBar(r);r=.2*n.availableHeight;this._getSumValueSpace&&this._allocateSpace(this._getSumValueSpace(r));r=.3*n.availableHeight;n.realtimeEnabled&&(oi?this._allocateSpace(this._realTimeValuePositioning(r)):this._hideRealTimeValue());this._resetViewPortConfig&&this._resetViewPortConfig();this._setAxisScale&&this._setAxisScale();r=.6*n.availableHeight;n.xAxisSpaceAllocation=ct=rt&&rt.placeAxis(r);rt&&this._allocateSpace(ct);n.canvasHeight-2*u<l&&(nt=(n.canvasHeight-l)/2);this._allocateSpace({top:nt||u,bottom:nt||u});this._allocateSpace({bottom:yt});l>ut-e-s&&(kt=!0,i=n.canvasHeight-l,t=e+s,e=n.canvasMarginTop=i*e/t,s=n.canvasMarginBottom=i*s/t);v=e>n.canvasTop?e-n.canvasTop:0;y=s>ut-n.canvasBottom?s+n.canvasBottom-ut:0;this._allocateSpace({top:v,bottom:y});kt&&(t=gt+ni,(st=n.canvasHeight)>l&&(v=(i=st-l)*gt/t,y=i*ni/t),this._allocateSpace({top:v,bottom:y}));n.actualCanvasMarginTop=v;n.actualCanvasMarginLeft=p;
43pt.setDimension({top:n.canvasTop,left:n.canvasLeft,width:n.canvasWidth,height:n.canvasHeight})},t.prototype._postSpaceManagement=function(){var n,f=this.config,t=this.getChildren(),i=t.xAxis&&t.xAxis[0],u=t.legend&&t.legend[0],e=f.xDepth,r=this.getChildren("canvas");for(this.setAxisDimention&&this.setAxisDimention(),i&&this._allocateXAxisLabelSpace(i),i&&i.shiftLabels(-e,0),u&&u.postSpaceManager(),n=0;n<(r&&r.length);n++)r[n].setCanvasPadding();this.setAxisDimention&&this.setAxisDimention();this.allocateDimensionOfChartMenuBar()},t}(e["default"]);t["default"]=u},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function lt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function g(){var u,t=this,f=t.config,e=t.getFromEnv("chart-attrib"),o="t"===f.toolbarVAlign?"chartMenuBar":"actionBar",s="t"===f.toolbarVAlign?"actionBar":"chartMenuBar",i=void 0,n=void 0,c=t.getFromEnv("tool-config"),l=f.printOption.enabled;u=this.config.realTimeConfig||{};r.componentFactory(t,y.ToolBar,s,0,[e]);r.componentFactory(t,y.ToolBar,o,1,[e]);i=t.getChildren(o)[0];t.addToEnv("toolbar",i);ct.SymbolStore.register("ContextIcon",function(n,t,i){var e=n,r=t,o=2*i,s=h(o/4),c=.7*h(o/2),u=e-c,f=e+c,l=r+s,a=r-s;return["M",u,r,"L",f,r,"M",u,l,"L",f,l,"M",u,a,"L",f,a]});n=i.attachChild(y.Hamburger,"tool","hamburgerMenu-"+i.getId()+"-"+t.getId()+"-0");t.addToEnv("hamburger",n);n.configure(Object.assign({},c,{name:"ContextIcon"}));n._mouseOutEvent||(n._mouseOutEvent=function(){this.getChild("listContainer").hide()});n._mouseOverEvent||(n._mouseOverEvent=function(){this.getChild("listContainer").show()});n.addEventListener("fc-mouseover",n._mouseOverEvent);n.addEventListener("fc-mouseout",n._mouseOutEvent);l&&n.appendInMenu([{name:"Print",action:"click",handler:function(){t.getFromEnv("chartInstance").print()}}]);this._setRTmenu&&this._setRTmenu(u.showRTmenuItem,u.useMessageLog)}function nt(){this.getChildren("canvas")[0]._mapChildren(function(n){n.syncDraw()})}function tt(n){this.config.skipConfigureIteration={};this.parseChartAttr(n);this.createComponent(n);this._createToolBox();this.setTooltipStyle();this.configureChildren()}var v;t.__esModule=!0;t.configurer=t._createToolBox=t._drawDataset=undefined;var it=o(i(161)),rt=o(i(363)),w=i(132),ut=o(i(366)),ft=o(i(368)),et=o(i(370)),ot=o(i(372)),st=o(i(147)),b=i(131),ht=o(i(375)),r=i(125),u=o(i(127)),y=i(228),ct=i(232);var c=w.getDep("redraphael","plugin"),k="VML"===c.type,e=Math.max,s=Math.min,h=Math.round,at={datalabelclick:!0,connectorclick:!0,categoryclick:!0,processclick:!0,milestoneclick:!0,labelclick:!0,dataplotclick:!0},vt=r.preDefStr.SEVENTYSTRING,yt=r.preDefStr.AUTOSTRING,a="onpointerover"in window.document,f=function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:n,container:t,state:"appearing",component:i,label:"group"})},pt=function(n){var t=n.data.config;t._containerMouseState="mousedown";t._mdx1=n.clientX!==r.UNDEF?n.clientX:n.changedTouches&&n.changedTouches[0].clientX;t.mdy1=n.clientY!==r.UNDEF?n.clientY:n.changedTouches&&n.changedTouches[0].clientY;"touchstart"===n.type&&(t._touchStartedAt=(new Date).getTime())},wt=function(n){var t=n.data.config,i=n.clientX!==r.UNDEF?n.clientX:n.changedTouches&&n.changedTouches[0].clientX,u=n.clientY!==r.UNDEF?n.clientY:n.changedTouches&&n.changedTouches[0].clientY;(Math.abs(t._mdx1-i)>=2.5||Math.abs(t.mdy1-u)>=2.5)&&(n.data.config._containerMouseState=undefined)},d=function(n){(new Date).getTime()-n.data.config._touchStartedAt<500&&setTimeout(function(){p(n)})},p=function(n){var f,t=n.data,i=t.getFromEnv("chartInstance"),e=n.originalEvent,u=t.config,o=r.getMouseCoordinate(t.getFromEnv("chart-container"),e,t);i.ref&&"mousemove"!==u._containerMouseState&&(f=r.extend2({height:i.args.height,width:i.args.width,pixelHeight:t.getFromEnv("chartWidth"),pixelWidth:t.getFromEnv("chartHe
43ight"),id:i.args.id,renderer:i.args.renderer,container:i.options.containerElement},o),t.fireChartInstanceEvent("chartclick",f),u.link&&(!u.hotElemClicked||u.clickURLOverridesPlotLinks)&&t.getFromEnv("linkClickFN").call({link:u.link}),u.hotElemClicked=!1)},l=function(n){var i=n.type,t=n.data,r=t.getFromEnv("eventListeners");"mouseover"!==i&&"touchstart"!==i||!1!==t.config.mouseStateIn?"mouseout"!==i&&"touchend"!==i||(t.config.posOb=!1):(t.config.mouseStateIn=!0,v.onContainerRollOver(n),r.push(u["default"].listen(k?document:window,"mouseover",v.winMouseHover,t)))};w.addDep({name:"commonAnimation",type:"animationRule",extension:ht["default"]});v=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.addToEnv("stringConstants",{COMPONENT:"component",CANVAS:"canvas",CAPTION:"caption"}),i.addToEnv("getMouseCoordinate",r.getMouseCoordinate),i._drawDataset=nt,i.config.mouseStateIn=!1,i.registerFactory("canvas",rt["default"]),i._firstConfigure=!0,i}return lt(t,n),t.getName=function(){return"CommonAPI"},t.prototype.plotEventHandler=function(n){var o,e,u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=arguments[2],l=arguments[3],f=u.type,a=r.getMouseCoordinate(this.getFromEnv("chart-container"),u,this),v=n&&n.data("eventArgs")||l,t=r.extend2(a,v),s=this.fireGroupEvent,h=n&&n.data("groupId"),c=function(){u.FusionChartsPreventEvent=!0};"index"in t&&!("dataIndex"in t)&&(t.dataIndex=t.index);"value"in t&&!("dataValue"in t)&&(t.dataValue=t.value);"dataplotrollover"===(i=r.pluck(i,"dataplotclick").toLowerCase())?(u.FusionChartsPreventEvent=!1,s?b.raiseEventGroup(h,i,t,this.getFromEnv("chartInstance"),r.UNDEF,r.UNDEF,c):this.fireChartInstanceEvent(i,t,r.UNDEF,r.UNDEF,c)):s&&!at[i]?b.raiseEventGroup(h,i,t,this.getFromEnv("chartInstance")):this.fireChartInstanceEvent(i,t);"fc-click"!==f&&"click"!==f&&"mouseup"!==f&&"touchend"!==f||!/click/i.test(i)||(e=(o=this.getFromEnv())&&o.linkClickFN,t.link&&e&&e.call({link:t.link},!0))},t.prototype.getName=function(){return"Cartesian"},t.prototype.preConfigure=function(t){var i=this.getFromEnv("number-formatter");this.addToEnv("chart-attrib",t.chart);i?i.configure():this.addToEnv("number-formatter",new st["default"](this));n.prototype.preConfigure.call(this,t)},t.prototype.postConfigure=function(t){n.prototype.postConfigure.call(this,t);this._firstConfigure=!1},t.prototype.setDefaults=function(){n.prototype.setDefaults.call(this);var t=this.getFromEnv("number-formatter");t&&t.setDefaults&&t.setDefaults()},t.prototype.getType=function(){return"chartAPI"},t.prototype.parseChartAttr=function(n){var a,h,b,v,y,k,d,p,f=n||this.getFromEnv("dataSource"),t=void 0,w=this.config.is3D,g=w?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D,i=void 0,tt=this.isBar,c=void 0,o=this.getFromEnv("color-manager"),u=void 0,l=void 0,nt=void 0;o||(o=new ot["default"](this),this.addToEnv("color-manager",o));f.chart=f.chart||f.graph||f.map||{};delete f.map;delete f.graph;!(t=f.chart)&&(t=f.chart={});i=this.config||(this.config={});r.parseConfiguration(t,i,{},{showvalues:!0,crosslinecolor:!0,drawcrosslineontop:!0,crosslinealpha:!0,drawcrossline:!0});i.showValues=r.pluckNumber(t.showvalues,i.showvalues);i.viewPortConfig={scaleY:1,scaleX:1,x:0,y:0};this.addToEnv("tool-config",function(){for(var i,r=arguments.length,t=Array(r),n=0;n<r;n++)t[n]=arguments[n];return i=t[0],t.slice(1).forEach(function(n){for(var t in n)n.hasOwnProperty(t)&&n[t]!==undefined&&(i[t]=n[t])}),i}({},{scale:t.toolbarbuttonscale,width:t.toolbarbuttonwidth,height:t.toolbarbuttonheight,radius:t.toolbarbuttonradius,spacing:t.toolbarbuttonspacing,marginTop:t.toolbarbuttonmargintop,marginLeft:t.toolbarbuttonmarginleft,marginRight:t.toolbarbuttonmarginright,marginBottom:t.toolbarbuttonmarginbottom,fill:t.toolbarbuttoncolor,labelFill:t.toolbarlabelcolor,symbolFill:t.toolbarsymbolcolor,hoverFill:t.toolbarbuttonhovercolor,stroke:t.toolbarbuttonbordercolor,symbolStroke:t.toolbarsymbolbordercolor,strokeWidth:t.toolbarbuttonborderthickness,symbolStrokeWidth:t.toolbarsymbolborderthickness,bSymbolPadding:t.toolbarsymbolpadding,symbolHPadding:t.toolbarsymbolhpadding,symbolVPadding:t.toolbarsymbolvpadding,hAlign:t.toolbarhalign,vAlign:t.toolbarvalign}));w&&(tt?(i.xDepth=5,i.yDepth=5):(i.xDepth=10,i.yDepth=10),i.showCanvasBase=nt=Boolean(r.pluckNumber(t.showcanvasbase,1)),i.canvasBasePadding=r.pluckNumber(t.canvasbasepadding,2),i.canvasBaseDepth=nt?r.pluckNumber(t.canvasbasedepth,10):0,i.canvasBgDepth=r.pluckNumber(t.canvasbgdepth,3));o&&o.configure();i.placeAxisLabelsOnTop=r.pluckNumber(t.placexaxislabelsontop,0);i.enableAnimation=r.pluckNumber(t.animation,t.defaultanimation,1);i.showToolTip=r.pluckNumber(t.showtooltip,1);i.printOption={enabled:r.pluckNumber(t.printshowbutton,t.showprintmenuitem,0)};i.drawCrossLineOnTop=r.pluckNumber(t.drawcrosslineontop,1);u=i.style={};this.addToEnv("style",u);i.textDirection="1"===t.hasrtltext?"rtl":r.BLANKSTRING;u.inCanfontFamily=a=r.pluck(t.basefont,"Verdana,sans");u.inCanfontSize=h=r.pluckFontSize(t.basefontsize,10);u.inCancolor=c=r.pluck(t.basefontcolor,o.getColor(g.baseFontColor));u.outCanfontFamily=r.pluck(t.outcnvbasefont,a);u.fontSize=b=r.pluckFontSize(t.outcnvbasefontsize,h);u.outCanfontSize=b+r.PXSTRING;u.outCancolor=r.pluck(t.outcnvbasefontcolor,c).replace(/^#? ([a-f0-9]+)/gi,"#$1");u.baseFontSize=h;u.inCanfontSize=h+r.PXSTRING;u.inCancolor=c.replace(/^#? ([a-f0-9]+)/gi,"#$1");u.inCanvasStyle=k={fontFamily:a,fontSize:h,color:c};u.inCanLineHeight=d=r.setLineHeight(k);l=(l=r.getFirstValue(t.valuebordercolor,r.BLANKSTRING))?r.convertColor(l,r.pluckNumber(t.valueborderalpha,t.valuealpha,100)):r.BLANKSTRING;i.reverseXAxis=this.config.allowreversexaxis&&r.pluckNumber(t.reversexaxis,0);i.showBorder=r.pluckNumber(t.showborder,w?0:1);i.borderWidth=e(i.showBorder?r.pluckNumber(t.borderthickness,1):0,0);i.useplotgradientcolor=r.pluckNumber(t.plotgradientcolor,i.useplotgradientcolor,0);i.valuefontbold=r.pluckNumber(t.valuefontbold,i.valuefontbold);i.dataLabelStyle=p={fontFamily:r.pluck(t.valuefont,a),fontSize:r.pluck(t.valuefontsize,r.pInt(h,10))+r.PXSTRING,lineHeight:d,color:r.convertColor(r.pluck(t.valuefontcolor,c),r.pluckNumber(t.valuefontalpha,t.valuealpha,100)),fontWeight:i.valuefontbold?"bold":"normal",fontStyle:r.pluckNumber(t.valuefontitalic)?"italic":"normal",border:l||t.valuebgcolor?r.pluckNumber(t.valueborderthickness,1)+"px solid":r.BLANKSTRING,borderColor:l,borderThickness:r.pluckNumber(t.valueborderthickness,1),borderPadding:r.pluckNumber(t.valueborderpadding,2),borderRadius:r.pluckNumber(t.valueborderradiu
43s,0),backgroundColor:t.valuebgcolor?r.convertColor(t.valuebgcolor,r.pluckNumber(t.valuebgalpha,t.valuealpha,100)):r.BLANKSTRING,borderDash:r.pluckNumber(t.valueborderdashed,0)?r.getDashStyle(r.pluckNumber(t.valueborderdashlen,4),r.pluckNumber(t.valueborderdashgap,2)):r.DASH_DEF};r.setLineHeight(p);i.legendposition=r.pluck(t.legendposition,r.POSITION_BOTTOM);i.alignLegendWithCanvas=r.pluckNumber(t.alignlegendwithcanvas,1);i.origMarginTop=r.pluckNumber(t.charttopmargin,this.chartTopMargin,15);i.origMarginLeft=r.pluckNumber(t.chartleftmargin,this.chartLeftMargin,15);i.origMarginBottom=r.pluckNumber(t.chartbottommargin,this.chartBottomMargin,15);i.origMarginRight=r.pluckNumber(t.chartrightmargin,this.chartRightMargin,15);i.origCanvasLeftMargin=r.pluckNumber(t.canvasleftmargin,0);i.origCanvasRightMargin=r.pluckNumber(t.canvasrightmargin,0);i.origCanvasTopMargin=r.pluckNumber(t.canvastopmargin,0);i.origCanvasBottomMargin=r.pluckNumber(t.canvasbottommargin,0);i.minChartWidthPercent=r.pluckNumber(t.minchartwidth,this.minChartWidth,50)/100;i.minChartHeightPercent=r.pluckNumber(t.minchartheight,this.minChartHeight,50)/100;i.minCanvasWidthPercent=r.pluckNumber(t.mincanvaswidth,this.minCanvasWidth,60)/100;i.minCanvasHeightPercent=r.pluckNumber(t.mincanvasheight,this.minCanvasHeight,30)/100;v=r.pluck(t.zeroplanecolor,t.divlinecolor,o.getColor(g.divLineColor));y=r.pluck(t.zeroplanealpha,t.divlinealpha,o.getColor("divLineAlpha"));i.zeroPlaneColor=r.convertColor(v,y);i.zeroPlaneBorderColor=r.convertColor(r.pluck(t.zeroplanebordercolor,v),r.pluckNumber(t.zeroplaneshowborder,1)?y:0);i.zeroPlaneShowBorder=r.pluckNumber(t.zeroplaneshowborder,1);i.realtimeEnabled=r.pluckNumber(t.realtimeenabled,this.isRealTime);i.showLegend=r.pluckNumber(t.showlegend,this.showLegend,1);i.link=t.clickurl;i.transposeAxis=r.pluckNumber(this.transposeAxis,t.transposeaxis,0);i.useEllipsesWhenOverflow=r.pluckNumber(t.useellipseswhenoverflow,t.useellipsewhenoverflow,1);i.drawTrendRegion=r.pluckNumber(t.drawcrossline,0);i.plotcolorintooltip=r.pluckNumber(t.plotcolorintooltip,this.config.singleseries?0:1);i.plotbinsize=s(r.pluckNumber(t.plotbinsize,this.plotbinsize,.5),1);i.labelbinsize=s(r.pluckNumber(t.labelbinsize,1),1);i.labelbinsize=i.plotbinsize>i.labelbinsize?i.plotbinsize:i.labelbinsize;i.enableMouseOutEvent=r.pluckNumber(t.enablemouseoutevent,this.enableMouseOutEvent,1);i.plotSpacePercent=Math.max(r.pluckNumber(t.plotspacepercent,this.plotSpacePercent),0);i.maxColWidth=Math.abs(r.pluckNumber(t.maxcolwidth,50));i.maxBarHeight=Math.abs(r.pluckNumber(t.maxbarheight,50));i.overlapColumns=r.pluckNumber(t.overlapcolumns,t.overlapbars,i.is3D?0:1);i.plotPaddingPercent=t.plotpaddingpercent;i.tooltipgrayoutcolor=r.pluck(t.tooltipgrayoutcolor,r.preDefStr.colors.AAAAAA);i.clickURLOverridesPlotLinks=r.pluckNumber(t.clickurloverridesplotlinks,0);i.toolbarX=r.pluckNumber(t.toolbarx);i.toolbarY=r.pluckNumber(t.toolbary);i.toolbarPosition=function(n){switch(n){case"tr":case"rt":case"top right":case"right top":n="tr";break;case"br":case"rb":case"bottom right":case"right bottom":n="br";break;case"tl":case"lt":case"top left":case"left top":n="tl";break;case"bl":case"lb":case"bottom left":case"left bottom":n="bl";break;default:n="tr"}return n}(r.pluck(t.toolbarposition,"tr").toLowerCase());i.toolbarHAlign="left"===(r.BLANKSTRING+t.toolbarhalign).toLowerCase()?"l":i.toolbarPosition.charAt(1);i.toolbarVAlign="bottom"===(r.BLANKSTRING+t.toolbarvalign).toLowerCase()?"b":i.toolbarPosition.charAt(0);i.toolbarVMargin=r.pluckNumber(t.toolbarvmargin,6);i.toolbarHMargin=r.pluckNumber(t.toolbarhmargin,10);this.addToEnv("chartConfig",i);this.addToEnv("linkClickFN",r.getLinkAction(this.getFromEnv("dataSource"),this));this.addToEnv("dataLabelStyle",p)},t.prototype.createComponent=function(){var n=void 0;n=this.config.skipConfigureIteration;this.createBaseComponent();this.getFromEnv("animationManager").setAnimationState(this._firstConfigure?"initial":"update");r.componentFactory(this,ut["default"],"caption");n.caption=!0;r.componentFactory(this,ft["default"],"subCaption");n.subCaption=!0;r.componentFactory(this,et["default"],"background");n.background=!0;this._createConfigurableComponents&&this._createConfigurableComponents();this.config.realtimeEnabled&&this._realTimeConfigure&&this._realTimeConfigure()},t.prototype.configureChildren=function(){var n=this;n._mapChildren(function(t){!t.getState("removed")&&n.config.skipConfigureIteration[t.getName()]&&t.configure&&t.configure()})},t.prototype._createToolBox=function(){g.call(this)},t.prototype.configureAttributes=function(n){tt.call(this,n)},t.prototype.setTooltipStyle=function(){var n=this.config;this.getFromEnv("toolTipController").setStyle({bgColor:r.convertColor(n.tooltipbgcolor||"FFF",n.tooltipbgalpha||100),rawBgColor:(n.tooltipbgcolor||"FFF").replace(/\s+/g,"").replace(/^#?([a-f0-9]+)/gi,"#$1"),fontColor:(n.tooltipcolor||n.basefontcolor||"545454").replace(/\s+/g,"").replace(/^#?([a-f0-9]+)/gi,"#$1"),borderColor:r.convertColor(n.tooltipbordercolor||"666",n.tooltipborderalpha||100),rawBorderColor:(n.tooltipbordercolor||"666").replace(/\s+/g,"").replace(/^#?([a-f0-9]+)/gi,"#$1"),bgAlpha:r.pluckNumber(n.tooltipbgalpha,100),borderThickness:r.pluckNumber(n.tooltipborderthickness,1),showToolTipShadow:r.pluckNumber(n.showtooltipshadow,n.showshadow,1),borderRadius:r.pluckNumber(n.tooltipborderradiu
43s,0),"font-size":n.basefontsize||10,"font-family":n.basefont||this.getFromEnv("style").inCanfontFamily,padding:r.pluckNumber(n.tooltippadding||3),borderAlpha:r.pluckNumber(n.tooltipborderalpha,100)})},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.valuefontbold=0;t.stickytracking=1;t.usemessagelog=0;t.zeroplanethickness=r.UNDEF;t.animationeffect="linear";t.showshadow=1;t.showhovereffect=r.UNDEF;t.plothovereffect=r.UNDEF;t.anchorhovereffect=r.UNDEF;t.plotborderdashed=r.UNDEF;t.stack100percent=r.UNDEF;t.showpercentvalues=r.UNDEF;t.showpercentintooltip=r.UNDEF;t.plotbordercolor=r.UNDEF;t.showtooltip=1;t.seriesnameintooltip=1;t.rotatevalues=0;t.minimizetendency=0;t.plotfillangle=270;t.valuepadding=2;t.useplotgradientcolor=1;t.plotborderthickness=1;t.plotfillalpha=vt;t.showvalues=1;t.valueposition=yt;t.drawcrossline=r.UNDEF;t.tooltipsepchar=", ";t.usedataplotcolorforlabels=0;t.placevaluesinside=0;t.showplotborder=1;t.use3dlighting=1;t.useroundedges=0;t.plotspacepercent=20;t.plotpaddingpercent=r.UNDEF;t.plotfillratio=r.UNDEF;t.maxcolwidth=50;t.plotborderdashlen=5;t.plotborderdashgap=4;t.useScaleRecursively=!0;t.formatnumberscale=1;t.decimals=2;t.decimalprecision=10;t.tooltipbgcolor="FFF";t.tooltipcolor=r.UNDEF;t.tooltipbordercolor="666";t.tooltipbgalpha=100;t.tooltipborderthickness=1;t.showtooltipshadow=r.UNDEF;t.basefontsize=10;t.basefont="Verdana, sans";t.tooltipborderradius=0;t.tooltippadding=3;t.tooltipborderalpha=100;t.origw=r.UNDEF;t.origh=r.UNDEF},t.prototype.configure=function(t){this.sanitizeData(t);this.addToEnv("dataSource",t);this.fireEvent("internal.dataSanitized",{});t=this.getFromEnv("dataSource");n.prototype.configure.call(this,t)},t.prototype._checkInvalidData=function(){var n=this.getFromEnv("dataSource"),t=this.getFromEnv("chartInstance");if(!(this.isWidget||this.isMap||n.data&&0!==n.data.length||n.dataset||n.value||n.lineset||n.annotations||n.category||n.tasks||n.process||n.axis))return this.setChartMessage(),this.drawChartMessage(),t.__state.dataReady=!1,t.jsVars.hasNativeMessage=!0,t.jsVars.drawCount+=1,!0},t.prototype._checkInvalidSpecificData=function(){var t=this.getFromEnv("dataSource"),i=t.dataset,n=t.categories;if(!i||!n||0===n.length||!n[0].category)return!0},t.prototype.sanitizeData=function(n){n.chart=n.chart||n.graph||n.map||{}},t.prototype.setChartEvents=function(){var f=this.getFromEnv("eventListeners"),o=this.getFromEnv("dataSource"),e=o&&o.chart,i=this.getFromEnv("paper")&&this.getFromEnv("paper").canvas,n=this.getFromEnv("chart-container"),s=e&&r.pluckNumber(e.enablechartmousemoveevent,0);(e||i)&&(u["default"].unlisten(n,a?"click":"touchend",a?p:d),f.push(u["default"].listen(n,"mousedown touchstart",pt,this)),f.push(u["default"].listen(n,"mousemove touchmove",wt,this)),f.push(u["default"].listen(n,a?"click":"touchend",a?p:d,this)),u["default"].unlisten(i,"mouseover",l,this),u["default"].unlisten(i,"touchstart",l,this),u["default"].unlisten(i,"mouseout",l,this),u["default"].unlisten(i,"touchend",l,this),f.push(u["default"].listen(i,"mouseover touchstart mouseout touchend",l,this)),u["default"].unlisten(n,"mousemove",t.onContainerMouseMove,this),u["default"].unlisten(n,"touchmove",t.onContainerMouseMove,this),s&&f.push(u["default"].listen(n,"mousemove touchmove",t.onContainerMouseMove,this)))},t.prototype.get=function(n,t){var i=this[n];return t?i&&i[t]:i},t.prototype.prepareAttributes=function(){this.config.hasChartMessage||n.prototype.prepareAttributes.call(this)},t.prototype.disposeChartStyleSheet=function(){var n=this.getFromEnv("paper");n&&n.cssClear()},t.prototype.createChartStyleSheet=function(){this.getFromEnv("paper").cssRender()},t.prototype._dispose=function(){for(var t=this.getFromEnv("eventListeners"),i=t&&t.length;i--;)t[i].unlisten();n.prototype._dispose.call(this)},t.prototype._allocateSpace=function(n){var o,s,r=this.getChildren("canvas"),i=r&&r[0].config,t=this.config,u=t.canvasHeight,f=t.canvasWidth,h=t.availableHeight,c=t.availableWidth;s=t.canvasLeft+=n.left||0;o=t.canvasTop+=n.top||0;f=t.canvasWidth=e(f-((n.left||0)+(n.right||0)),0);u=t.canvasHeight=e(u-((n.top||0)+(n.bottom||0)),0);t.availableHeight=e(h-((n.top||0)+(n.bottom||0)),0);t.availableWidth=e(c-((n.left||0)+(n.right||0)),0);t.canvasRight=s+f;t.canvasBottom=o+u;i&&(i.canvasPaddingLeft=e(i.canvasPaddingLeft,n.paddingLeft||0),i.canvasPaddingRight=e(i.canvasPaddingRight,n.paddingRight||0),i.canvasPaddingTop=e(i.canvasPaddingTop,n.paddingTop||0),i.canvasPaddingBottom=e(i.canvasPaddingBottom,n.paddingBottom||0));r&&r[0].setDimension({top:o,left:s,width:f,height:u})},t.prototype._fetchCaptionPos=function(n){var t=this.config,o=t.width,s=this.getChildren("chartMenuBar")&&this.getChildren("chartMenuBar")[0],f=(s?
43s.getLogicalSpace():{}).width||0,i=(this.getChildren("caption")&&this.getChildren("caption")[0]).config,e=i.width,u="l"===t.toolbarHAlign,a=t.width-n,v=u?n:a,h=t.origMarginRight,c=t.origMarginLeft,l=u?c:h;return i.align===r.POSITION_MIDDLE?v-e/2-l-f:"start"===i.align?u?-1:o-t.canvasLeft-l-e-f+i.horizontalPadding:u?o-(h+c+f+e):-1},t.prototype._manageCaptionSpacing=function(n,t){return this.getChildren("caption")[0].manageSpace(n,t)},t.prototype._manageChartMenuBar=function(n){var i,s,t=this.config,o=this.getChildren("chartMenuBar")&&this.getChildren("chartMenuBar")[0],a=t.toolbarY!==undefined,u=o?o.getLogicalSpace():{height:0,width:0},f=(this.getChildren("caption")&&this.getChildren("caption")[0]).config,v=f.isOnTop,c=t.width/2,l=t.canvasRight,y=l?(t.canvasLeft+l)/2:c,h=0,p=f.alignWithCanvas?y:c;return a&&(u.height=0),o&&o.setDimension({x:t.toolbarX!==undefined?t.toolbarX:r.pluckNumber("l"===t.toolbarHAlign?0:+t.width),y:t.toolbarY!==undefined?t.toolbarY:r.pluckNumber("t"===t.toolbarVAlign?0:+t.height),width:u.width,height:u.height}),delete f._offsetHeight,s=f.alignWithCanvas?t.canvasWidth:t.width-t.origMarginLeft-t.origMarginRight,v?(i=this._manageCaptionSpacing(n,s),h=this._fetchCaptionPos(p),f._offsetHeight=h<0?u.height:0,i.top=h<0?r.pluckNumber(i.top,0)+u.height:e(i.top,u.height),this._allocateSpace(i)):(this._allocateSpace({top:u.height}),i=this._manageCaptionSpacing(n,s),this._allocateSpace(i)),{top:u?e(u.height,i.top):i.top,bottom:i.bottom}},t.prototype._manageSpace=function(){var e,o,c,l,a,v,y,p,i,r,u,f,k=this.getChildren("canvas")&&this.getChildren("canvas")[0],t=k&&k.config,n=this.config,w=this.getFromEnv("chartWidth"),b=this.getFromEnv("chartHeight");n.width=w;n.height=b;n.minChartHeight=i=n.minChartHeightPercent*b;n.minChartWidth=r=n.minChartWidthPercent*w;n.minCanvasWidth=e=n.minCanvasWidthPercent*r;n.minCanvasHeight=o=n.minCanvasHeightPercent*i;n.marginTop=c=n.origMarginTop;n.marginLeft=l=n.origMarginLeft;n.marginBottom=a=n.origMarginBottom;n.marginRight=v=n.origMarginRight;n.canvasMarginTop=n.origCanvasTopMargin;n.canvasMarginLeft=n.origCanvasLeftMargin;n.canvasMarginBottom=n.origCanvasBottomMargin;n.canvasMarginRight=n.origCanvasRightMargin;n.canvasHeight=y=n.height-n.marginTop-n.marginBottom;n.canvasWidth=p=n.width-n.marginLeft-n.marginRight;n.availableHeight=y-o;n.availableWidth=p-e;y<i&&(u=b-i,n.canvasHeight=i,f=c+a,n.marginTop=u*c/f,n.marginBottom=u*a/f,n.availableHeight=i-o);p<r&&(u=w-r,f=v+l,n.canvasWidth=r,n.marginLeft=u*l/f,n.marginRight=u*v/f,n.availableWidth=r-e);n.canvasLeft=n.marginLeft;n.canvasTop=n.marginTop;t&&(t.canvasPaddingLeft=s(t.origCanvasLeftPad,h(.1*n.height)),t.canvasPaddingRight=s(t.origCanvasRightPad,h(.1*n.height)),t.canvasPaddingTop=s(t.origCanvasTopPad,h(.1*n.height)),t.canvasPaddingBottom=s(t.origCanvasBottomPad,h(.1*n.height)));this._spaceManager()},t.prototype._preDraw=function(){this._mapChildren(function(n){n.getState("removed")||n.preDraw&&n.preDraw()});this._setAxisLimits&&this._setAxisLimits();this._createToolBoxGantt&&this._createToolBoxGantt()},t.prototype._clearTimers=function(){var n,i=this.config&&this.config.realTimeConfig,t=this.config.timers,r=t&&t.setTimeout,u=t&&t.setInterval;for(n in i&&(i.refreshIntervalFlag=!1),r)clearTimeout(r[n]);for(n in u)clearInterval(u[n])},t.prototype.setChartCursor=function(){var n=this.config.link,t=this.getFromEnv("paper").canvas.style;c.svg?t.cursor=n?r.POINTER:"default":this.getFromEnv("paper").canvas.style.cursor=n?r.HAND:"default"},t.prototype._createLayers=function(){var n,t=this.getFromEnv("animationManager");n=this.getContainer("parentgroup")||this.addContainer("parentgroup",t.setAnimation({el:"group",attr:{name:"parentgroup"},component:this}));!this.getChildContainer("backgroundGroup")&&this.addChildContainer("backgroundGroup",f({name:"background"},n,this));!this.getChildContainer("axisBottomGroup")&&this.addChildContainer("axisBottomGroup",f({name:"axisbottom"},n,this));!this.getChildContainer("belowPlotGroup")&&this.addChildContainer("belowPlotGroup",f({name:"belowplot"},n,this));!this.getChildContainer("plotGroup")&&this.addChildContainer("plotGroup",f({name:"plots"},n,this));!this.getChildContainer("axisTopGroup")&&this.addChildContainer("axisTopGroup",f({name:"axistop"},n,this));!this.getChildContainer("sumLabelsLayer")&&this.addChildContainer("sumLabelsLayer",f({name:"sumlabels","class":"fusioncharts-datalabels"},n,this));!this.getChildContainer("datalabelsGroup")&&this.addChildContainer("datalabelsGroup",f({name:"datalabel"},n,this));!this.getChildContainer("abovePlotGroup")&&this.addChildContainer("abovePlotGroup",f({name:"aboveplot"},n,this));!this.getChildContainer("captionGroup")&&this.addChildContainer("captionGroup",f({name:"caption"},n,this));!this.getChildContainer("defaultGroup")&&this.addChildContainer("defaultGroup",f({name:"chartdefault"},n,this));!this.getChildContainer("defaultShadowGroup")&&this.addChildContainer("defaultShadowGroup",f({name:"chartdefault-shadow"},n,this));!this.getChildContainer("trackerGroup")&&this.addChildContainer("trackerGroup",f({name:"tracker"},n,this));!this.getChildContainer("toolbar-master")&&this.addChildContainer("toolbar-master",f({name:"toolbar-master"},n,this));!this.getChildContainer("logoGroup")&&this.addChildContainer("logoGroup",t.setAnimation({el:"group",attr:{name:"logo"},component:this}))},t.prototype._setDataLabelStyle=function(){var n=this.config.dataLabelStyle,t={fontFamily:n.fontFamily,fontSize:n.fontSize,fontWeight:n.fontWeight,fontStyle:n.fontStyle};this.getChildContainer("datalabelsGroup").css(t)},t.prototype._manageCaptionPosition=function(){var p,n=this.config,t=this.getChildren(),w=t.caption&&t.caption[0],b=t.subCaption&&t.subCaption[0],i=w.
43config,ut=i.widgetValueHeight||0,ft=b.config,f=void 0,u=void 0,et=n.canvasWidth,ot=i.align,st=i.text,c=i.alignWithCanvas,o=i.horizontalPadding,s=n.width,k=n.canvasLeft,ht=n.canvasRight,ct=n.marginRight,d=n.marginLeft,g=n.marginTop,lt=(h(k)||0)+r.pluckNumber(et,s)/2,nt=i.height,at=ft.height,l=t.legend&&t.legend[0]&&t.legend[0].config||{},a=l.height||0,tt=l.legendPadding||0,vt=n.legendposition,it=this.getFromEnv("gLegend")||{},v=0,yt=!!(it.conf||{}).showLegend,rt=this.config.borderWidth,y=t.actionBar,e=0;switch(l.isActive||(a=0),yt&&this.config.gLegendEnabled&&(v=it.getLogicalSpace().height),ot){case"end":f=c?ht-o:s-o;break;case"start":f=c?k+o:o;break;default:f=c?lt:d+.5*(s-d-ct)||s/2}i.isOnTop?u=(rt||0)+(g||0):("right"===vt.toLowerCase()&&(tt=0,a=0,v=0),y&&((e=(y[0].getLogicalSpace&&y[0].getLogicalSpace()||{}).height)===r.UNDEF||e===Infinity||e<0)&&(e=0),u=this.config.height-this.config.marginBottom-nt-(at||0)-(rt||0)-(tt||0)-(a||0)-v-ut-e);u+=i._offsetHeight||0;w.setDimention({x:f,y:u});p=st?u+nt+2:u||g||0;b.setDimention({x:f,y:p})},t.prototype._updateVisuals=function(){var e,i=this.getFromEnv("core-options"),n=this.getFromEnv("paper"),o=this.getFromEnv("animationManager"),t=this.config,u=this.getFromEnv("chartWidth"),f=this.getFromEnv("chartHeight");i&&!i._SVGDefinitionURLUpdated&&(/^\s*absolute\s*$/i.test(i.SVGDefinitionURL)&&(c._url=(c._g&&c._g.win||window).location.href.replace(/#.*?$/,r.BLANKSTRING)),i._SVGDefinitionURLUpdated=!0);n?(r.hasSVG||!t._prevWidth&&!t._prevHeight||n.setSize(t._prevWidth,t._prevHeight),e={width:u,height:f},o.setAnimation({el:n,attr:e,component:this})):((n=new c(this.getFromEnv("chart-container"),u,f)).setHTMLClassName("fusioncharts-div"),this.addToEnv("paper",n),n.setConfig("stroke-linecap",r.ROUND),this.setChartEvents());t._prevWidth=u;t._prevHeight=f;this.setChartCursor();this._createLayers();this._setDataLabelStyle();this._drawCreditLabel()},t.prototype.allocateDimensionOfChartMenuBar=function(){var n=this.config,r=this.getFromEnv("toolbar"),f=r.config,o=f.hDirection,h=f.vDirection,t=r.getLogicalSpace(),c=r.getDimension(),u=c.y,i=c.x;"t"===n.toolbarVAlign?(u+=n.toolbarVMargin*h+s(0,t.height*h),i+=n.toolbarHMargin*o-e(0,t.width*o),i="l"===n.toolbarHAlign?i+t.width:i-t.width):(u=n.height-n.marginBottom-t.height,i="b"===n.toolbarVAlign&&"r"===n.toolbarHAlign?n.width-n.marginRight-t.width:n.marginLeft);n.toolbarX!==undefined&&(i=n.toolbarX);n.toolbarY!==undefined&&(u=n.toolbarY);r.setDimension({x:i,y:u,width:t.width,height:t.height});r.manageSpace()},t.prototype.draw=function(){var n=this.getFromEnv("chartInstance");this.config.hasChartMessage?(this._hide(),this.drawChartMessage(),this.fireChartInstanceEvent("nodatatodisplay",{},[n.id]),n.jsVars.drawCount+=1,n.__state.dataReady=!1,n.jsVars.hasNativeMessage=!0):(this._hideChartMessage(),this._clearTimers&&this._clearTimers(),this.config.plotOverFlow=!1,this._show(),this._updateVisuals(),this.setState("initiated",!0),n.jsVars.drawCount+=1,n.jsVars.hasNativeMessage=!1)},t.prototype.manageSpace=function(){this.config.hasChartMessage||(this._preDraw(),this.addToolbar&&this.addToolbar(),this._manageSpace(),this._postSpaceManagement&&this._postSpaceManagement())},t.prototype._show=function(){this.getContainer("parentgroup")&&this.getContainer("parentgroup").show()},t.prototype._manageActionBarSpace=function(){var i=this.config,n=this.getChildren("actionBar"),t=(n&&n[0]&&n[0].getLogicalSpace()||{}).height||0;return i.actionBarHeight=t,{bottom:t}},t.prototype._hide=function(){this.getContainer("parentgroup")&&this.getContainer("parentgroup").hide()},t.onContainerMouseMove=function(n){var u,t=n.data,i=t.getFromEnv("chartInstance"),f=n.originalEvent,e=r.getMouseCoordinate(t.getFromEnv("chart-container"),f,t);i.ref&&(u=r.extend2({height:i.args.height,width:i.args.width,pixelHeight:t.getFromEnv("chartWidth"),pixelWidth:t.getFromEnv("chartHeight"),id:i.args.id,renderer:i.args.renderer,container:i.options.containerElement},e),t.fireChartInstanceEvent("chartMouseMove",u))},t.onContainerRollOver=function(n){var u,t=n.data,i=t.getFromEnv("chartInstance"),f=n.originalEvent,e=r.getMouseCoordinate(t.getFromEnv("chart-container"),f,t);i.ref&&(u=r.extend2({height:i.args.height,width:i.args.width,pixelHeight:t.getFromEnv("chartWidth"),pixelWidth:t.getFromEnv("chartHe
43ight"),id:i.args.id,renderer:i.args.renderer,container:i.options.containerElement},e),t.fireChartInstanceEvent("chartRollOver",u))},t.onContainerRollOut=function(n){var u,t=n.chart,i=t.getFromEnv("chartInstance"),f=n.event,e=r.getMouseCoordinate(t.getFromEnv("chart-container"),f,t);i.ref&&(u=r.extend2({height:i.args.height,width:i.args.width,pixelHeight:t.getFromEnv("chartWidth"),pixelWidth:t.getFromEnv("chartHeight"),id:i.args.id,renderer:i.args.renderer,container:i.options.containerElement},e),t.fireChartInstanceEvent("chartRollOut",u))},t.winMouseHover=function(n){var i=n.originalEvent,f=i.target||i.originalTarget||i.srcElement||i.relatedTarget||i.fromElement,r=n.data,o=r.getFromEnv("paper"),e={chart:r,event:n.originalEvent};k?o.getById(f.parentNode.raphaelid)||(t.onContainerRollOut(e),r.config.mouseStateIn=!1,u["default"].unlisten(document,"mouseover",t.winMouseHover)):f.viewportElement||(r.config.mouseStateIn=!1,t.onContainerRollOut(e),u["default"].unlisten(window,"mouseover",t.winMouseHover))},t}(it["default"]);t["default"]=v;t._drawDataset=nt;t._createToolBox=g;t.configurer=tt},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var i=void 0,t,r;for(e.componentFactory(n,f["default"],"canvas",n.config.showVolumeChart?2:1),t=0,r=(i=n.getChildren("canvas")).length;t<r;t++)i[t].configure()};var r,u=i(364),f=(r=u)&&r.__esModule?r:{"default":r},e=i(125)},function(n,t,i){"use strict";function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var h;t.__esModule=!0;var e,c=i(138),r=i(125),l=i(132),a=i(365),v=(e=a)&&e.__esModule?e:{"default":e};var f=Math.max,o=r.preDefStr.miterStr,p=r.preDefStr.noneStr,s=r.preDefStr.ROUND,u=function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:{name:n},container:t,component:i,label:"group"})};l.addDep({name:"canvasAnimation",type:"animationRule",extension:v["default"]});h=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.config={},i.config.axes=i.config.axes||[],i.setLinkedItem("axes",[]),i.setLinkedItem("primaryAxis",{}),i.addToEnv("canvasConfig",r.config),r}return y(t,n),t.prototype.getName=function(){return"canvas"},t.prototype.getType=function(){return"canvas"},t.prototype.createGroup=function(){var h=this.getFromEnv("chart"),n=h.getChildContainer(),t=h.getContainer("parentgroup"),o=this.getEffectiveDimensions(),w=this.getFromEnv("chart-attrib"),b=r.pluckNumber(w.areaovercolumns,1),c=this.getChildContainer("axisReferenceVisualsFloor"),v=this.getChildContainer("axisReferenceVisualsBottom"),s=this.getChildContainer("axisReferenceVisualsMiddle"),y=this.getChildContainer("axisReferenceVisualsTop"),k=this.getChildContainer("axisReferenceVisualsCeil"),l=this.getChildContainer("areaGroup"),f=this.getChildContainer("areaShadowGroup"),a=this.getChildContainer("columnGroup"),e=this.getChildContainer("columnShadowGroup"),i=n.plotGroup,p=[o.left,o.top,o.width,o.height].toString();this.getContainer("canvasGroup")||this.addContainer("canvasGroup",u("canvas",t,this)).insertAfter(n.backgroundGroup);v||(v=this.addChildContainer("axisReferenceVisualsBottom",u("axisReferenceVisualsBottom",t,this)).insertAfter(n.axisBottomGroup));c||(c=this.addChildContainer("axisReferenceVisualsFloor",u("axisReferenceVisualsFloor",t,this)).insertAfter(n.axisBottomGroup));c.attr({"clip-rect":p});!this.getChildContainer("crossline")&&this.addChildContainer("crossline",u("crossline",t,this)).insertBefore(n.plotGroup);!this.getChildContainer("crosslineBottom")&&this.addChildContainer("crosslineBottom",u("crosslineBottom",t,this)).insertBefore(n.plotGroup);!this.getChildContainer("crosslineTop")&&this.addChildContainer("crosslineTop",u("crosslineTop",t,this)).insertBefore(n.abovePlotGroup);!this.getChildContainer("datalabelsGroup")&&this.addChildContainer("datalabelsGroup",u("canvasdatalabel",h.getChildContainer("datalabelsGroup"),this));s||(s=this.addChildContainer("axisReferenceVisualsMiddle",u("axisReferenceVisualsMiddle",t,this)).insertBefore(n.plotGroup));s.attr({"clip-rect":p});y||(y=this.addChildContainer("axisReferenceVisualsTop",u("axisReferenceVisualsTop",t,this)).insertBefore(n.datalabelsGroup));!this.getChildContainer("quadrantGroup")&&this.addChildContainer("quadrantGroup",u("quadrant",t,this)).insertAfter(s);k||this.addChildContainer("axisReferenceVisualsCeil",u("axisReferenceVisualsCeil",t,this)).insertBefore(n.datalabelsGroup);!this.getChildContainer("sumLabelsLayer")&&this.addChildContainer("sumLabelsLayer",n.sumLabelsLayer);
43e||(e=this.addChildContainer("columnShadowGroup",u("column-shadow-group",i,this)));a||(a=this.addChildContainer("columnGroup",u("column",i,this)));f||(f=this.addChildContainer("areaShadowGroup",u("area-shadow-group",i,this)));l||(l=this.addChildContainer("areaGroup",u("area",i,this)));b?(e.insertBefore(f),a.insertBefore(f)):(f.insertBefore(e),l.insertBefore(e));!this.getChildContainer("lineShadowGroup")&&this.addChildContainer("lineShadowGroup",u("line-shadow-group",i,this));!this.getChildContainer("lineGroup")&&this.addChildContainer("lineGroup",u("line",i,this));!this.getChildContainer("defaultShadowGroup")&&this.addChildContainer("defaultShadowGroup",u("default-shadow-group",i,this));!this.getChildContainer("defaultGroup")&&this.addChildContainer("defaultGroup",u("default",i,this))},t.prototype.isWithinCanvas=function(n,t){var i=this.config,r=i.canvasLeft,f=r+i.canvasWidth,u=i.canvasTop,e=u+i.canvasHeight;return n>=r&&n<=f&&t>=u&&t<=e},t.prototype.setCanvasPadding=function(){var t,n=this.config;t=this.getCanvasPadding();n.canvasPaddingLeft=f(n.canvasPaddingLeft,t.paddingLeft||0);n.canvasPaddingRight=f(n.canvasPaddingRight,t.paddingRight||0);n.canvasPaddingTop=f(n.canvasPaddingTop,t.paddingTop||0);n.canvasPaddingBottom=f(n.canvasPaddingBottom,t.paddingBottom||0)},t.prototype.getEffectiveDimensions=function(){var n=this.config;return{left:n.canvasLeft,top:n.canvasTop,width:n.canvasWidth,height:n.canvasHeight,paddingLeft:n.canvasPaddingLeft,paddingTop:n.canvasPaddingTop,paddingRight:n.canvasPaddingRight,paddingBottom:n.canvasPaddingBottom}},t.prototype.setDimension=function(n){var t=this.config;t.canvasTop=n.top;t.canvasLeft=n.left;t.canvasWidth=n.width;t.canvasHeight=n.height},t.prototype.getCanvasPadding=function(){var r,t,u,e,o=this.getFromEnv("chartConfig").canvasWidth,i=this.config.maxPaddingPercent*o/100,n={paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0};return this._mapChildren(function(i){for(t in r=i.getCanvasPadding&&i.getCanvasPadding()||{})r.hasOwnProperty(t)&&(n[t]=f(r[t],n[t]))}),u=n.paddingLeft||0,e=n.paddingRight||0,i<u&&(n.paddingLeft=i),i<e&&(n.paddingRight=i),n},t.prototype.configureAttributes=function(){var o,s,h,e,c,a=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},v=this.getLinkedParent(),y=this.getFromEnv("chartConfig"),t=this.config,n=this.getFromEnv("chart-attrib"),u=this.getFromEnv("color-manager"),l=y.is3D,p=l?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D,i=t.isRoundEdges=r.pluckNumber(n.useroundedges,0),w=r.pluckNumber(n.showxaxisline,n.showyaxisline,n.showaxislines,0)?0:1;t.canvasBorderRadius=r.pluckNumber(n.plotborderradius,i?2:0);h=t.showCanvasBorder=Boolean(r.pluckNumber(n.showcanvasborder,w,o,i?0:1));c=t.oriCanvasBorderThickness=f(r.pluckNumber(n.canvasborderthickness,i?0:r.pluckNumber(v.canvasborderthickness,2),0));o=t.canvasBorderWidth=l?0:h?c:0;t.canvasBorderColor=r.convertColor(r.pluck(n.canvasbordercolor,u.getColor(r.canvasBorderColorStr)),r.pluck(n.canvasborderalpha,u.getColor("canvasBorderAlpha")));s=t.canBGAlpha=r.pluck(n.canvasbgalpha,u.getColor(r.canvasBGAlphaStr));t.canBGColor={FCcolor:{color:r.pluck(n.canvasbgcolor,u.getColor(p.canvasBgColor)),alpha:r.pluck(n.canvasbgalpha,100),angle:r.pluck(n.canvasbgangle,0),ratio:r.pluck(n.canvasbgratio)}};e=t.shadow=r.pluckNumber(n.showshadow,i,0)&&i?{enabled:!0,opacity:s/100}:0;t.shadowOnCanvasFill=e&&e.enabled;t.canvasPadding=r.pluckNumber(n.canvaspadding,0);t.origCanvasTopPad=r.pluckNumber(n.canvastoppadding,0);t.origCanvasBottomPad=r.pluckNumber(n.canvasbottompadding,0);t.origCanvasLeftPad=r.pluckNumber(n.canvasleftpadding,0);t.origCanvasRightPad=r.pluckNumber(n.canvasrightpadding,0);Object.assign(t,a);this.config.inputComponents=[];this.config.maxPaddingPercent=12.5;this._mapChildren(function(n){n.getState("removed")||n.getType&&"dataset"===n.getType()||"axisRefVisuals"===n.getType()||n.configure&&n.configure()})},t.prototype.disposeAllInputs=function(){this.config.inputComponents.forEach(function(n){n.dispose()});this.config.inputComponents.length=0},t.prototype.axisExists=function(n){for(var r=this.getLinkedItem("axes"),t=void 0,u=!1,t=0,i=r.length;t<i;t++)if(r[t].axis===n){u=!0;break}return u},t.prototype.attachAxis=function(n,t,i){var f=this.getLinkedItem("axes"),r=t?"yAxis":"xAxis",u=this.getFromEnv(r)||[];return this.axisExists(n)||(f.push({axis:n,isY:t,config:i||{}}),u.push(n),this.addToEnv(r,u)),this},t.prototype.setPrimaryAxis=function(n,t){this.getLinkedItem("primaryAxis")[n]=this.getLinkedItem("axes").find(function(n){return n.axis===t})},t.prototype.getAxes=function(){var n;return Object.keys(n=this.getLinkedItem("primaryAxis")).length?[n.xAxis,n.yAxis]:this.getLinkedItem("axes").slice(0)},t.prototype.detachAxis=function(n,t){var i=this.getLinkedItem("axes"),r=Infinity;return t?i.splice(t,1):(i.forEach(function(t,i){t.axis===n&&(r=i)}),i.splice(r,1))},t.prototype.preDraw=function(){this._mapChildren(function(n){n.getState("removed")||n.preDraw&&n.preDraw()})},t.prototype.draw=function(){this.createGroup();this.getFromEnv("chart").config.skipCanvasDrawing||this.drawCanvas()},t.prototype.drawCanvas=function(){var tt,ot,v,y,t=this,w=t.getFromEnv("chart"),ut=w.isBar,at=w.getFromEnv("dataSource").chart,b=t.getFromEnv("animationManager"),u=w.config,n=t.config,k=n.clip={},vt=w.getChildContainer("plotGroup"),yt=w.getChildContainer("datalabelsGroup"),e=t.getGraphicalElement("canvasBorderElement"),st=void 0,h=t.getGraphicalElement("canvasElement"),it=void 0,c=n.canvasLeft||(n.canvasLeft=u.canvasLeft),l=n.canvasTop||(n.canvasTop=u.canvasTop),d=n.canvasWidth||(n.canvasWidth=u.canvasWidth),a=n.canvasHeight||(n.canvasHeight=u.canvasHeight),g=n.xDepth=u.xDepth||0,nt=n.yDepth=u.yDepth||
430,ht=t.getContainer("canvasGroup"),pt=t.getChildContainer("quadrantGroup"),ft=n.canvasBorderRadius,i=n.canvasBorderWidth,rt=.5*i,ct=n.canvasBorderColor,wt=n.canBGColor,bt=n.canBGAlpha,kt=n.shadow,et=void 0,dt=n.showCanvasBG=Boolean(r.pluckNumber(at.showcanvasbg,1)),gt=n.shadowOnCanvasFill,lt=n.showCanvasBorder;ot=wt;et={x:c-rt,y:l-rt,width:d+i,height:a+i,r:ft,"stroke-width":i,stroke:ct,"stroke-linejoin":i>2?s:o};lt?(e&&e.show(),st=b.setAnimation({el:e||"rect",component:t,attr:{x:c-rt,y:l-rt,width:d+i,height:a+i,r:ft,"stroke-width":i,stroke:ct,"stroke-linejoin":i>2?s:o},label:"rect",container:ht}).shadow(kt),e||t.addGraphicalElement("canvasBorderElement",st)):e&&(t.removeGraphicalElement(e),b.setAnimation({el:e,component:t,callback:function(){e.hide()}}));v=lt?0:n.oriCanvasBorderThickness;k["clip-canvas"]=[f(0,c-g-v),f(0,l-nt-v),f(1,d+2*g+2*v),f(1,a+nt+2*v)];k["clip-sum-value"]=[f(0,c-g),ut?l:0,f(1,ut?u.width-c:d+2*g),f(1,ut?a+nt:l+a)];k["clip-canvas-init"]=[f(0,c-g),f(0,l-nt),1,f(1,a+2*nt)];tt=k["clip-canvas"].slice(0);y=function(n,i){b.setAnimation({el:n,attr:{"clip-rect":i},label:"container",component:t,state:n.attrs["clip-rect"]?"updating":"appearing"})};u.skipClipping||(y(vt,tt),y(yt,tt),y(pt,tt),y(t.getChildContainer("sumLabelsLayer"),k["clip-sum-value"]));dt?(et={x:c,y:l,width:d,height:a,r:ft,"stroke-width":0,stroke:p,fill:r.toRaphaelColor(ot)},h&&h.show(),it=b.setAnimation({el:h||"rect",attr:et,label:"rect",container:ht,component:t}),h||t.addGraphicalElement("canvasElement",it),gt?it.shadow({opacity:bt/100}):it.shadow(!1)):h&&b.setAnimation({el:h,component:t,callback:function(){h.hide()}})},t}(c.ComponentInterface);t["default"]=h},function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.canvas.canvas":function(){return{"rect.appearing":function(){return[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},slot:"initial"}]},"*":null}},"update.canvas.canvas":{"rect.updating":[{slot:"middle"}]}}},function(n,t,i){"use strict";function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e;t.__esModule=!0;var u,r=i(125),o=i(138),s=i(132),h=i(367),c=(u=h)&&u.__esModule?u:{"default":u};var f=Math.max,a=Math.min,v=Math.ceil;s.addDep({name:"captionAnimation",type:"animationRule",extension:c["default"]});e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return l(t,n),t.prototype.getType=function(){return"caption"},t.prototype.getName=function(){return"caption"},t.prototype.configure=function(){var u=this.getFromEnv("chart"),t=u.getFromEnv("chart-attrib"),n=this.config||{},f=u.getFromEnv("style"),e=f.outCanfontFamily,o=f.outCancolor,s=f.fontSize,i=["top","center"];switch(this.config.text=r.parseUnsafeString(t.caption),n.style={fontFamily:r.pluck(t.captionfont,e),color:r.convertColor(r.pluck(t.captionfontcolor,o).replace(/^#? ([a-f0-9]+)/gi,"#$1")),fontSize:r.pluckNumber(t.captionfontsize,s+3)+"px",fontWeight:0===r.pluckNumber(t.captionfontbold)?r.NORMAL:r.BOLD},n.align||(n.align=""),n.align=r.pluck(t.captionposition,t.captionalignment,"center"),n.align&&((i=n.align.split("-"))[0]&&(i[0]=i[0].toLowerCase()),i[1]&&(i[1]=i[1].toLowerCase()),i.length<2&&(i[1]=i[0])),i[0]){case"top":n.isOnTop=1;break;case"bottom":n.isOnTop=0;break;default:n.isOnTop=r.pluckNumber(t.captionontop,1)}switch(i[1]){case"right":n.align="end";break;case"left":n.align="start";break;default:n.align="middle"}n.isOnLeft=!r.pluckNumber(t.captiononright,0);n.captionPosition=r.getValidValue(t.captionposition,"top").toLowerCase();n.alignWithCanvas=r.pluckNumber(t.aligncaptionwithcanvas,u.config.alignCaptionWithCanvas,1);n.horizontalPadding=r.pluckNumber(t.captionhorizontalpadding,n.alignWithCanvas?0:15);n.drawCaption=!0;r.setLineHeight(n.style)},t.prototype.allocatePosition=function(){this.getFromEnv("chart")._manageCaptionPosition()},t.prototype.draw=function(){var o,i=this.getFromEnv("chart"),u=i.config,s=i.getFromEnv("animationManager"),c=i.config.textDirection,l=i.getChildContainer().captionGroup,f=i.getFromEnv("smartLabel"),t=this.getGraphicalElement("captionElement"),h=this.getFromEnv("toolTipController"),n=this.config,e=n.style,a=n.text,v=n.x,y=n.align;a?(o={text:n.text,fill:e.color,x:v,y:n.y,"text-anchor":y||"middle","vertical-align":n.verticalAlign||"top",visibility:n.drawCaption?r.visibleStr:r.hiddenStr,direction:c},(t=this.addGraphicalElement("captionElement",s.setAnimation({el:t||"text",attr:o,container:l,state:void 0,component:this,label:"text"}))).css(e),u.showtooltip?h.enableToolTip(t,n.originalText):h.disableToolTip(t),f&&(f.useEllipsesOnOverflow(u.useEllipsesWhenOverflow),f.setStyle(e))):t&&s.setAnimation({el:t,component:this,callback:function(){this.hide()},doNotRemove:!0});u.savedCaption=t},t.prototype.manageSpace=function(n,t){var p,y,d,nt,g,w=this.getFromEnv("chart"),it=w.config,ct=w.getChildren("caption")[0],lt=w.getChildren("subCaption")[0],e=ct.config,s=lt.config,tt=w.getFromEnv("dataSource").chart,b=w.getFromEnv("smartLabel"),k=n,rt=r.parseUnsafeString(tt.caption),ut=r.parseUnsafeString(tt.subcaption),u=r.pluckNumber(tt.captionpadding,10),at=u,ft=!1,c=0,l=0,h=0,o=0,i=0,et=w.getChildren("canvas"),ot=f(et&&et[0].config.canvasBorderThickness,0),st=0,ht=0;return k>3?(u<ot&&(u=ot+2),rt!==r.BLANKSTRING&&(d=e.style,o=v(r.pluckNumber(parseFloat(d.fontHeight,10),parseFloat(d.lineHeight,10),12))),ut!==r.BLANKSTRING&&(g=s.style,i=r.pluckNumber(parseInt(g.fontHeight,10),parseInt(g.lineHeight,10),12)),(
43o>0||i>0)&&((c=o+i+u)>(k=f(k,0))?(ft=!0,(l=k-c)<u?u=f(l,5):(l-=u,u=0,i>l?(h=i-l+10,i=0,s._originalText=s.text,s.text=r.BLANKSTRING):(l-=i,i=0,o>l&&(h=o-l)))):h=k-c,b.useEllipsesOnOverflow(it.useEllipsesWhenOverflow),o>0&&(b.setStyle(d),h=(o+=h)-(p=b.getSmartText(rt,t,o)).height,e.height=o=p.height,e.text=p.text,e.originalText=!!p.tooltext&&p.tooltext,st=p.width),i>0&&(b.setStyle(g),h=(i+=h)-(y=b.getSmartText(ut,t,i)).height,i=y.height,s.text=y.text,s.height=y.height,s.originalText=!!y.tooltext&&y.tooltext,ht=y.width),ft&&h>0&&(u+=a(at-u,h)),e.captionPadding=u,e.height=o,e.width=st,s.width=ht,s.height=i,c=o+i+u),c>it.canvasHeight?(c=0,e.drawCaption=!1):e.drawCaption=!0,nt=e.isOnTop?{top:c}:{bottom:c,top:5}):(nt={bottom:0,top:0},e.drawCaption=!1),nt},t.prototype.setDimention=function(n){var t=this.config;t.x=n.x;t.y=n.y},t}(o.ComponentInterface);t["default"]=e},function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.caption.caption":function(){return{"text.appearing":function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"initial"}]}}}}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var r=i(125),o=u(i(366)),s=i(132),h=u(i(369));f=Math.max;s.addDep({name:"subcaptionAnimation",type:"animationRule",extension:h["default"]});e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return c(t,n),t.prototype.getType=function(){return"caption"},t.prototype.getName=function(){return"subCaption"},t.prototype.configure=function(){var u=this.getFromEnv("chart"),n=u.getFromEnv("chart-attrib"),t=this.config||{},e=u.getFromEnv("style"),o=u.getChildren("caption")[0],s=e.outCanfontFamily,h=e.outCancolor,c=e.fontSize,i=["top","center"];switch(t.text=r.parseUnsafeString(n.subcaption),t.align||(t.align=""),t.align=r.pluck(n.captionposition,n.captionalignment,"center"),o.config.align&&((i=o.config.align.split("-"))[0]&&(i[0]=i[0].toLowerCase()),i[1]&&(i[1]=i[1].toLowerCase()),i.length<2&&(i[1]=i[0])),i[0]){case"top":t.isOnTop=1;break;case"bottom":t.isOnTop=0;break;default:t.isOnTop=r.pluckNumber(n.captionontop,1)}t.alignWithCanvas=r.pluckNumber(u.aligncaptionwithcanvas,n.aligncaptionwithcanvas,1);t.horizontalPadding=r.pluckNumber(n.captionhorizontalpadding,o.config.alignWithCanvas?0:15);t.style={fontFamily:r.pluck(n.subcaptionfont,n.captionfont,s),color:r.convertColor(r.pluck(n.subcaptionfontcolor,n.captionfontcolor,h).replace(/^#? ([a-f0-9]+)/gi,"#$1")),fontSize:r.pluckNumber(n.subcaptionfontsize,r.pluckNumber(f(r.pluckNumber(n.captionfontsize)-3,-1),c)+r.pluckNumber(u.subTitleFontSizeExtender,1))+"px",fontWeight:0===r.pluckNumber(n.subcaptionfontbold,u.subTitleFontWeight,n.captionfontbold)?r.NORMAL:r.BOLD};r.setLineHeight(t.style)},t.prototype.draw=function(){var i=this.getFromEnv("chart"),h=i.getFromEnv("animationManager"),e=i.getChildren("caption")[0],u=i.config,c=u.textDirection,l=i.getChildContainer().captionGroup,n=this.getGraphicalElement("subCaptionElement"),o=this.getFromEnv("toolTipController"),t=this.config,f=t.style,a=t.text,v=e.config.align,s=void 0;a?(s={text:t.text,fill:f.color,x:t.x,y:t.y,"text-anchor":v||"middle","vertical-align":"top",direction:c,visibility:e.config.drawCaption?r.visibleStr:r.hiddenStr},(n=this.addGraphicalElement("subCaptionElement",h.setAnimation({el:n||"text",attr:s,container:l,state:void 0,component:this,hookFn:function(){this.css(f)},label:"text"}))).css(f),u.showtooltip?o.enableToolTip(n,t.originalText):o.disableToolTip(n)):n&&this.removeGraphicalElement(n);u.savedSubCaption=n},t.prototype.setDimention=function(n){this.config.x=n.x;this.config.y=n.y},t}(o["default"]);t["default"]=e},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(367),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"initial.caption.subCaption":f["default"]["initial.caption.caption"]}},function(n,t,i){"use strict";function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;
43var u,e=i(138),r=i(125),o=i(132),s=i(371),h=(u=s)&&u.__esModule?u:{"default":u};var l="BackgroundLoaded",a="BackgroundLoadError",v="none",y=function(n){var t=n.config;return{load:function(){var r=t.bgImageDisplayMode,u=t.bgImageVAlign,f=t.bgImageHAlign,e=t.bgImageScale,o=t.bgSWFAlpha,s=t.bgSWF,i=n.getGraphicalElement("backgroundImage")._.RefImg;n.getFromEnv("chart").fireChartInstanceEvent(l,{url:s,bgImageAlpha:o,bgImageDisplayMode:r,bgImageVAlign:u,bgImageHAlign:f,bgImageScale:e,imageheight:i.height,imagewidth:i.width})},error:function(i){var r=t.bgImageDisplayMode,u=t.bgImageVAlign,f=t.bgImageHAlign,e=t.bgImageScale,o=t.bgSWFAlpha,s=t.bgSWF;n.getFromEnv("chart").fireChartInstanceEvent(a,{url:s,bgImageAlpha:o,error:i,bgImageDisplayMode:r,bgImageVAlign:u,bgImageHAlign:f,bgImageScale:e})}}};o.addDep({name:"backgroundAnimation",type:"animationRule",extension:h["default"]});f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.config.handler=y(i),i}return c(t,n),t.prototype.getName=function(){return"background"},t.prototype.getType=function(){return"background"},t.prototype._getBackgroundCosmetics=function(){var n=this.getFromEnv("chart-attrib"),t=this.getFromEnv("color-manager"),i=this.getFromEnv("chartConfig").is3D?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D;return{FCcolor:{color:r.pluck(n.bgcolor,t.getColor(i.bgColor)),alpha:r.pluck(n.bgalpha,t.getColor(i.bgAlpha)),angle:r.pluck(n.bgangle,t.getColor(i.bgAngle)),ratio:r.pluck(n.bgratio,t.getColor(i.bgRatio))}}},t.prototype.configureAttributes=function(){var s,i,u,n=this.config,t=this.getFromEnv("chart-attrib"),h=this.getFromEnv("chartConfig"),e=h.is3D,f=this.getFromEnv("color-manager"),o=n.bgImageDisplayMode=r.pluck(t.bgimagedisplaymode,"none").toLowerCase();n.bgSWF=r.pluck(t.bgimage,t.bgswf);n.bgSWFAlpha=r.pluckNumber(t.bgimagealpha,t.bgswfalpha,100);s=n.showBorder=r.pluckNumber(t.showborder,h.showBorder,e?0:1);n.borderWidth=Math.max(s?r.pluckNumber(t.borderthickness,1):0,0);
43n.borderRadius=r.pluckNumber(t.borderradius,0);n.borderDashStyle=r.pluckNumber(t.borderdashed,0)?r.getDashStyle(r.pluckNumber(t.borderdashlen,4),r.pluckNumber(t.borderdashgap,2),void 0):v;n.borderAlpha=r.pluck(t.borderalpha,e?"100":f&&f.getColor("borderAlpha"));n.borderColor=r.convertColor(r.pluck(t.bordercolor,e?"#666666":f&&f.getColor("borderColor")),n.borderAlpha);n.bgImageVAlign=i=r.getValidValue(t.bgimagevalign,"").toLowerCase();n.bgImageHAlign=u=(t.bgimagehalign||"").toLowerCase();n.bgImageScale=r.pluckNumber(t.bgimagescale,100);n.containerBackgroundColor=r.getContainerBackgroundColor(this.getFromEnv("chartInstance"));n.backgroundColor=this._getBackgroundCosmetics();"tile"===o||"fill"===o||"fit"===o?("top"!==i&&"middle"!==i&&"bottom"!==i&&(n.bgImageVAlign="middle"),"left"!==u&&"middle"!==u&&"right"!==u&&(n.bgImageHAlign="middle")):("top"!==i&&"middle"!==i&&"bottom"!==i&&(n.bgImageVAlign="top"),"left"!==u&&"middle"!==u&&"right"!==u&&(n.bgImageHAlign="left"))},t.prototype.draw=function(){var a,v,u,f,i,e,k=this.getFromEnv("paper"),y=this.getGraphicalElement("backgroundElement"),p=this.getGraphicalElement("borderElement"),n=this.config,d=this.getFromEnv("chart"),w=this.getFromEnv("chartConfig"),g=n.backgroundColor,c=this.getFromEnv("animationManager"),o=this.getGraphicalElement("backgroundImage"),b=n.bgSWF,l=d.getChildContainer("backgroundGroup"),s=w.width,h=w.height,t=n.borderWidth||0,nt=n.borderRadius,tt=n.borderDashStyle,it=n.borderColor,rt=n.bgSWFAlpha,ut=t+","+t+","+(s-2*t)+","+(h-2*t),ft=n.bgImageDisplayMode,et=n.bgImageVAlign,ot=n.bgImageHAlign,st=n.bgImageScale;k.canvas.style.backgroundColor=n.containerBackgroundColor;i=h-2*t;u={x:t,y:t,width:(e=s-2*t)<0?0:e,height:i>0?i:0,stroke:r.preDefStr.noneStr,fill:r.toRaphaelColor(g)};(a=c.setAnimation({el:y||"rect",attr:u,container:l,component:this,label:"rect"})).show();y||this.addGraphicalElement("backgroundElement",a);i=h-t;u={x:t/2,y:t/2,width:(e=s-t)<0?0:e,height:i>0?i:0,stroke:it,"stroke-width":t,"stroke-dasharray":tt,fill:r.preDefStr.noneStr,r:nt||0};(v=c.setAnimation({el:p||"rect",attr:u,container:l,component:this,label:"rect"})).show();p||this.addGraphicalElement("borderElement",v);b&&!this.getState("removed")?((f=c.setAnimation({el:o||"imagegrid",attr:{imagegrid:[ft,et,ot,st,t,s,h],src:b,opacity:.01*rt,"clip-rect":ut},container:l,component:this,label:"imagegrid"})).show(),o||(this.addGraphicalElement("backgroundImage",f),f.on("load",n.handler.load),f.on("error",n.handler.error))):o&&this.removeGraphicalElement(o)},t}(e.ComponentInterface);t["default"]=f},function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.background.background":function(){return{"rect.appearing":function(){return[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},slot:"initial"}]}}}}},function(n,t,i){"use strict";function h(n,t){var f,e,h,c,v,y,p,i,l,w,s,o=[],a=u.stringConstants;if((t=(t=t.replace(/\s/g,a.BLANK)).toLowerCase())===a.BLANK||null===t||void 0===t)o=[n];else for(h=t.split(a.COMMASTRING),c=n.split(a.COMMASTRING),v=Math.max(h.length,c.length,1),y=h[0],p=c[0],w=/[\{\}]/gi,s=0;s<v;s++)i=(h[s]||y).replace(w,""),l=c[s]||p,"color"===i?o.push(l):"light"===i.substr(0,5)?(e=100-(e=-1===(f=i.indexOf("-"))?1:i.substr(f+1,i.length-f)),o.push(r.getLightColor(l,e))):"dark"===i.substr(0,4)?(e=100-(e=-1===(f=i.indexOf("-"))?1:i.substr(f+1,i.length-f)),o.push(r.getDarkColor(l,e))):o.push(i);return o}function c(n,t){for(var f,s=n.toString().split(u.stringConstants.COMMASTRING),e=[],o=100,i=0;i<t;i++)f=r.pluckNumber(s[i]),u.defined(f)&&(o=f),e[i]=o;return e.join()}function l(n,t){for(var i,e=n.split(u.stringConstants.COMMASTRING),o=[],f=0,r=0;r<t;r++)i=e[r],i=(i=isNaN(i)||void 0===i?0:Math.abs(Number(i)))>100?100:i,o[r]=i,f+=i;if(f=f>100?100:f,e.length<t)for(r=e.length;r<t;r++)o[r]=(100-f)/(t-e.length);return o[-1]=0,o.join()}var u;t.__esModule=!0;var f,r=i(125),e=function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}(i(373)),o=i(374),s=(f=o)&&f.__esModule?f:{"default":f};u=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.parseColorMix=h;this.parseAlphaList=c;this.parseRatioList=l;this.linkedItems={iapi:t};this.configure();this.paletteColors=["AFD8F8","F6BD0F","8BBA00","FF8E46","008E8E","D64646","8E468E","588526","B3AA00","008ED6","9D080D","A186BE","CC6600","FDC689","ABA000","F26D7D","FFF200","0054A6","F7941C","CC3300","006600","663300","6DCFF6"]}return n.prototype.configure=function(){var f=this,u=n.stringConstants,h=f.linkedItems.iapi,o=h.getFromEnv("dataSource").chart||{},t=f.paletteOptions=r.extend2(r.extend2({},e),h.defaultPaletteOptions||{},!1,!0),i=f.themeEnabled=o.palettethemecolor;f.paletteIndex=(o.palette>0&&o.palette<6?o.palette:r.pluckNumber(h.paletteIndex,1))-1;f.iterator=0;f.paletteColors=t.paletteColors[f.themeEnabled?0:f.paletteIndex];n.defined(o.palettecolors)&&o.palettecolors!==u.BLANK&&(f.paletteColors=s["default"](o.palettecolors)?o.palettecolors.slice():o.palettecolors.split(/\s*\,\s*/));f.paletteLen=f.paletteColors.length;f.useFlatColors=r.pluckNumber(o.useflatdataplotcolor,h.useFlatColor,0);i&&(f.paletteIndex=5,t.bgColor[5]=r.getLightColor(i,35)+u.COMMASTRING+r.getLightColor(i,10),t.bgAngle[5]=270,t.bgRatio[5]=u.BGRATIOSTRING,t.bgAlpha[5]="50,50",t.canvasBgColor[5]=u.COLOR_WHITE,t.canvasBgAngle[5]=0,t.canvasBgAlpha[5]=u.HUNDREDSTRING,t.canvasBgRatio[5]=u.BLANK,t.canvasBorderColor[5]=r.getDarkColor(i,80),t.canvasBorderAlpha[5]=100,t.showShadow[5]=1,t.divLineColor[5]=r.getDarkColor(i,20),t.divLineAlpha[5]=40,t.altHGridColor[5]=r.getLightColor(i,20),t.altHGridAlpha[5]=15,t.altVGridColor[5]=r.getLightColor(i,80),t.altVGridAlpha[5]=10,t.anchorBgColor[5]=u.COLOR_WHITE,t.toolTipBgColor[5]=u.COLOR_WHITE,t.toolTipBorderColor[5]=r.getDarkColor(i,80),t.baseFontColor[5]=i.split&&i.split(u.COMMASTRING)[0],t.borderColor[5]=r.getDarkColor(i,60),t.borderAlpha[5]=50,t.legendBgColor[5]=u.COLOR_WHITE,t.legendBorderColor[5]=r.getDarkColor(i,80),t.plotGradientColor[5]=u.COLOR_WHITE,t.plotBorderColor[5]=r.getDarkColor(i,85),t.plotFillColor[5]=r.getDarkColor(i,85),t.bgColor3D[5]=u.COLOR_WHITE,t.bgAlpha3D[5]=u.HUNDREDSTRING,t.bgAngle3D[5]=90,t.bgRatio3D[5]=u.BLANK,t.canvasBgColor3D[5]=r.getLightColor(i,20),t.canvasBaseColor3D[5]=r.getLightColor(i,40),t.divLineColor3D[5]=r.getDarkColor(i,20),t.divLineAlpha3D[5]=40,t.legendBgColor3D[5]=u.COLOR_WHITE,t.legendBorderColor3D[5]=r.getDarkColor(i,80),t.toolTipbgColor3D[5]=u.COLOR_WHITE,t.toolTipBorderColor3D[5]=r.getDarkColor(i,80),t.baseFontColor3D[5]=i.split&&i.split(u.COMMASTRING)[0],t.anchorBgColor3D[5]=u.COLOR_WHITE,t.tickColor&&(t.tickColor[5]=r.getDarkColor(i,90)),t.trendDarkColor&&(t.trendDarkColor[5]=r.getDarkColor(i,90)),t.trendLightColor&&(t.trendLightColor[5]=r.getLightColor(i,t.TrendLightShadeOffset)),t.msgLogC
43olor&&(t.msgLogColor[5]=r.getLightColor(i,80)),t.dialColor&&(t.dialColor[5]=r.getDarkColor(i,95)+",FFFFFF,"+r.getDarkColor(i,95)),t.dialBorderColor&&(t.dialBorderColor[5]=r.getDarkColor(i,95)+",FFFFFF,"+r.getDarkColor(i,95)),t.pivotColor&&(t.pivotColor[5]=r.getLightColor(i,95)+",FFFFFF,"+r.getLightColor(i,95)),t.pivotBorderColor&&(t.pivotBorderColor[5]=r.getDarkColor(i,95)+",FFFFFF,"+r.getDarkColor(i,95)),t.pointerBorderColor&&(t.pointerBorderColor[5]=r.getDarkColor(i,75)),t.pointerBgColor&&(t.pointerBgColor[5]=r.getDarkColor(i,75)),t.thmBorderColor&&(t.thmBorderColor[5]=r.getDarkColor(i,90)),t.thmFillColor&&(t.thmFillColor[5]=r.getLightColor(i,55)),t.gaugeBorderColor&&(t.gaugeBorderColor[5]=r.getDarkColor(i,90)),t.gaugeFillColor&&(t.gaugeFillColor[5]=r.getLightColor(i,55)),t.cylFillColor&&(t.cylFillColor[5]=r.getLightColor(i,55)),t.periodColor&&(t.periodColor[5]=r.getLightColor(i,10)),t.winColor&&(t.winColor[5]="666666"),t.lossColor&&(t.lossColor[5]="CC0000"),t.drawColor&&(t.drawColor[5]="666666"),t.scorelessColor&&(t.scorelessColor[5]="FF0000"),t.gridColor&&(t.gridColor[5]=r.getLightColor(i,30)),t.categoryBgColor&&(t.categoryBgColor[5]=r.getLightColor(i,10)),t.dataTableBgColor&&(t.dataTableBgColor[5]=r.getLightColor(i,10)),t.gridResizeBarColor&&(t.gridResizeBarColor[5]=r.getDarkColor(i,90)),t.scrollBarColor&&(t.scrollBarColor[5]=r.getLightColor(i,50)))},n.prototype.getColor=function(n){return this.paletteOptions[n][this.paletteIndex]},n.prototype.getPlotColor=function(n){var t=this,r=t.paletteColors,i=t.useFlatColors?t.getColor("plotFillColor"):r[n%t.paletteLen];return i||(t.iterator===t.paletteLen&&(t.iterator=0),i=r[t.iterator],t.iterator+=1),i},n}();u.stringConstants={BLANK:"",COMMASTRING:",",BGRATIOSTRING:"0,100",COLOR_WHITE:"FFFFFF",HUNDREDSTRING:"100"};u.defined=function(n){return void 0!==n&&null!==n};t["default"]=u},function(n,t){"use strict";t.__esModule=!0;var i=["AFD8F8","F6BD0F","8BBA00","FF8E46","008E8E","D64646","8E468E","588526","B3AA00","008ED6","9D080D","A186BE","CC6600","FDC689","ABA000","F26D7D","FFF200","0054A6","F7941C","CC3300","006600","663300","6DCFF6"];t.paletteColors=[i,i,i,i,i];t.bgColor=["CBCBCB,E9E9E9","CFD4BE,F3F5DD","C5DADD,EDFBFE","A86402,FDC16D","FF7CA0,FFD1DD"];t.bgAngle=[270,270,270,270,270];t.bgRatio=["0,100","0,100","0,100","0,100","0,100"];t.bgAlpha=["50,50","60,50","40,20","20,10","30,30"];t.canvasBgColor=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"];t.canvasBgAngle=[0,0,0,0,0];t.canvasBgAlpha=["100","100","100","100","100"];t.canvasBgRatio=["","","","",""];t.canvasBorderColor=["545454","545454","415D6F","845001","68001B"];t.canvasBorderAlpha=[100,100,100,90,100];t.showShadow=[0,1,1,1,1];t.divLineColor=["717170","7B7D6D","92CDD6","965B01","68001B"];t.divLineAlpha=[40,45,65,40,30];t.altHGridColor=["EEEEEE","D8DCC5","99C4CD","DEC49C","FEC1D0"];t.altHGridAlpha=[50,35,10,20,15];t.altVGridColor=["767575","D8DCC5","99C4CD","DEC49C","FEC1D0"];t.altVGridAlpha=[10,20,10,15,10];t.anchorBgColor=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"];t.toolTipBgColor=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"];t.toolTipBorderColor=["545454","545454","415D6F","845001","68001B"];t.baseFontColor=["555555","60634E","025B6A","A15E01","68001B"];t.borderColor=["767575","545454","415D6F","845001","68001B"];t.borderAlpha=[50,50,50,50,50];t.legendBgColor=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"];t.legendBorderColor=["545454","545454","415D6F","845001","D55979"];t.plotGradientColor=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"];t.plotBorderColor=["333333","8A8A8A","FFFFFF","FFFFFF","FFFFFF"];t.plotFillColor=["767575","D8DCC5","99C4CD","DEC49C","FEC1D0"];t.bgColor3D=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"];t.bgAlpha3D=["100","100","100","100","100"];t.bgAngle3D=[90,90,90,90,90];t.bgRatio3D=["","","","",""];t.canvasBgColor3D=["DDE3D5","D8D8D7","EEDFCA","CFD2D8","FEE8E0"];t.canvasBaseColor3D=["ACBB99","BCBCBD","C8A06C","96A4AF","FAC7BC"];t.divLineColor3D=["ACBB99","A4A4A4","BE9B6B","7C8995","D49B8B"];t.divLineAlpha3D=[100,100,100,100,100];t.legendBgColor3D=["F0F3ED","F3F3F3","F7F0E8","EEF0F2","FEF8F5"];t.legendBorderColor3D=["C6CFB8","C8C8C8","DFC29C","CFD5DA","FAD1C7"];t.toolTipbgColor3D=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"];t.toolTipBorderColor3D=["49563A","666666","49351D","576373","681C09"];t.baseFontColor3D=["49563A","4A4A4A","49351D","48505A","681C09"];t.anchorBgColor3D=["FFFFFF","FFFFFF","FFFFFF","FFFFFF","FFFFFF"]},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){return Array.isArray(n)}},function(n,t){"use strict";t.__esModule=!0;t["default"]={"*.*.*":{"*.disappearing":[{finalAttr:{opacity:0}
43,slot:"initial",callback:function(){this.hide()}}]}}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t["default"]=function(n){var o=n.getChildren("canvas")[0],t=o.getChildren("axisRefVisualCartesian")[0],s={zoomable:!0,pannable:!0},h=n._feedAxesRawData(),i=void 0,u=void 0,c=function(n){var i=n.sender;t.addexplicitDrawItems(i.getId(),i);t.asyncDraw()};r.componentFactory(n,f["default"],"yAxis",1,h.yAxisConf);r.componentFactory(n,e["default"],"xAxis",1,h.xAxisConf);i=n.getChildren("yAxis")[0];u=n.getChildren("xAxis")[0];i.setLinkedItem("canvas",o);u.setLinkedItem("canvas",o);t.setLinkedItem(i.getId(),i);t.setLinkedItem(u.getId(),u);t.addExtEventListener("visiblerangeset",c,u);t.addExtEventListener("visiblerangeset",c,i);o.attachAxis(u,!1,n.zoomX?s:{});o.attachAxis(i,!0,n.zoomY?s:{});n._setCategories()};var r=i(125),f=u(i(377)),e=u(i(422))},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var s=u(i(378)),r=i(125),h=u(i(398)),c=u(i(399)),e=i(386),o=u(i(421));f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.config.scale=new c["default"],i}return l(t,n),t.prototype.getName=function(){return"numeric"},t.prototype.generateTicks=function(){var e=this.getScale(),r=this.config,y=r.numDivLines+1,c=e.getDomain(),l=c[0],a=c[1],n=void 0,s=r.axisRange,i=s.min,t=s.max,v=r.dataLimit,u=void 0,f=void 0;return l===i&&a===t?(o["default"](v.min,v.max,e,r),r.ticks):(n=e.ticks(y),u=Math.abs(n[1]-n[0]),l===i&&-1===n.indexOf(i)&&n.unshift(i),a===t&&-1===n.indexOf(t)&&n.push(t),(f=Math.abs(i%u))&&(i-=f),(f=Math.abs(t%u))&&(t-=f),r._allTicks=h["default"](i,t,u).concat(t),s.tickInterval=u,n)},t.prototype.setTickValues=function(n){this.config.userTicks=n||[];this.config.tickValues={tickValue:[]}},t.prototype._parseTickValues=function(n){var i,t,u,f,h=this.getFromEnv("chart"),o=this.config,c=n&&n.length,s=0;for(o.tickValues={},i=o.tickValues.tickValue=[],u=0;u<c;u+=1)if(t=r.extend2({},n[u]),f=Number(t.x),!t.vline){if(e.extractStyleInfo(t,h),!f&&0!==f)continue;t.x=f;o.irregularCatAxis=!0;i.push(t);i[s].label=r.parseUnsafeString(i[s].label);s+=1}o.oriCatLen=s},t.prototype.calculateTicksOnLabelMode=function(){var h,f,n,u,c,e,t,o=this.config,s=o.xAxisLabelMode,i=Object.assign([],o.userTicks),l=this.getFromEnv("number-formatter");if("mixed"===s||"auto"===s){if(f=[],h=l.xAxis,"mixed"===s)for(n=0,c=i.length;n<c;n+=1)f[i[n].x||i[n].y||n]=!0;else i=[];for(t=this.getAxisConfig(),e=o.ticks,u=0;u<e.length;++u)f[n=e[u]]||i.push({label:r.BLANKSTRING+h.call(l,n),x:n,showverticalline:0===n?t.showZeroPlane:1,isNumeric:!0,linecolor:0===n?t.zeroPlaneColor:t.divLineColor,linealpha:0===n?t.zeroPlaneAlpha:t.divLineAlpha,linethickness:0===n?t.zeroPlaneThickness:t.divLineThickness,linedashed:t.divLineIsDashed,linedashLen:t.divLineDashLen,linedashgap:t.divLineDashGap})}this._parseTickValues(i)},t.prototype.getInterval=function(){return this.config.axisRange.tickInterval},t.prototype._setAxisRange=function(n){var s,l,a,i=n.min,u=n.max,t=this.config,v=t.axisRange,f=t.dataLimit,e=t.dependentInfo,h,c;if(!(i>u))if(f.min===i&&f.max===u||(l=!0),void 0===t.visibleMin||t.setPadding||l){if(h=r.extent([i,u,f.min,f.max]),i=h[0],u=h[1],f.min=i,f.max=u,this.fireEvent("dataLimitSet",Object.assign({},f)),e){if(e.limit){if(!(s=e.dataLimit))return;c=r.extent([i,u,s.min,s.max]);i=c[0];u=c[1];t.isDataLimitSet=!0}if(e.count&&void 0===e.numDivLines)return}
43o["default"](i,u,this.getScale(),t);a=t.isZeroTickForced?3:2;this.fireEvent("divlinesSet",t.ticks.length-a);t.tickValues&&this.calculateTicksOnLabelMode();this.setVisibleConfig(v.min,v.max)}else t.setPadding=!1},t}(s["default"]);f.prototype.setDataLimit=e.setDataLimit;t["default"]=f},function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var e,o=i(379),s=(e=o)&&e.__esModule?e:{"default":e},r=i(125),f=i(386);u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.prototype._getHMaxLabelDimention=function(n){function or(n,t){switch(t.toLowerCase()){case"left":return Math.abs(e._getCustomPixel(n));case"right":return Math.abs(ft.width-e._getCustomPixel(n))}}var ni,pi,ti,ot,u,l,it,h,ct,st,v,ut,ii,lt,at,i,wi,b,vt,yt,y,ri,ui,pt,bi,wt,fi,ki,di,gi,nr,bt,kt,ei,dt,e=this,t=e.config,w=e.getFromEnv("chart"),ft=w.config,s=w.getFromEnv("smartLabel"),tr=t.axisRange,d=t.labels,g=t.labelDisplay,gt=t.slantLabel,c=d.style,sr=t.maxLabelHeight,hr=e.getInterval(),nt=t.staggerLines,oi=t.labelStep,cr=ft.canvasLeft,lr=ft.canvasRight,si=nt-2,hi=tr.max,k=tr.min,ht=0,f=t.tickValues&&t.tickValues.tickValue,ar=f&&f.length,vr=w.distributedColumns,p=0,a={text:r.UNDEF,width:0,style:r.UNDEF},ci=0,li=4,ir=r.stubFN,ai=r.stubFN,rr=r.stubFN,rt={},ur=0,vi=!1,yi=0,fr=!1,er=Number.POSITIVE_INFINITY,et=t.ticks,tt=Number.POSITIVE_INFINITY;if(vr)for(i=0;i<ar;i++)f[i+1]?f[i].x&&(f[i].plotWidth=e.getPixel(f[i+1].x-f[i].x)-e.getPixel(0)):f[i].plotWidth=e.getPixel(ft.canvasRight-f[i].x)-e.getPixel(0);if(t.tickValues&&(!f||0===f.length))return{width:0,height:0};if("rotate"===g&&(t.rotateLabels=1),t.tickValues||(t.irregularCatAxis=!1),t.sWidthAdjstFactor=pi=0===si?1:1===si?1.5:si,s.useEllipsesOnOverflow(ft.useEllipsesWhenOverflow),s.setStyle({fontSize:c.fontSize,fontFamily:c.fontFamily,lineHeight:c.lineHeight,fontWeight:c.fontWeight}),t.irregularCatAxis){for(f.sort(function(n,t){return n.x-t.x}),i=0,p=f.length;i<p;i++){if(u=f[i],void 0!==ri){if(tt=Math.abs(u.x-ri),pt=Math.abs(e._getCustomPixel(k)-e._getCustomPixel(k+tt)),s.setStyle(Object.assign({},u.style)),pt<1.2*s.getOriSize("W").width){u.label="";tt=er;continue}bi._individualIWR=pt;u._individualIWL=pt;er=tt}bi=u;ri=u.x}for(tt===Number.POSITIVE_INFINITY&&(tt=Math.floor(Math.min(u.x,hi-u.x)),tt=Math.max(tt,4)),i=0,p=f.length;i<p;i++)u=f[i],i||(u._individualIWL=Infinity),i===p-1&&(u._individualIWR=Infinity),u.individualIW=Math.min(u._individualIWL,u._individualIWR);it=Math.abs(e._getCustomPixel(k)-e._getCustomPixel(k+tt));it=Math.min(2*or(f[0].x,"left"),2*or(f[p-1].x,"right"),it)}else it=Math.abs(e._getCustomPixel(k)-e._getCustomPixel(k+hr));if(n=sr||n,rt.__root__={getHeight:function(n){var t=f[n]._ovrStyle.lineHeight;return parseInt(t.replace(/(\d+)px/,"$1"),10)},getWidth:function(){return n},getCalculatedLabelStep:function(n){for(var v,o,nt,i,y,p,w,tt,rt,b,u=0,ut=n.length,a=Number.NEGATIVE_INFINITY,f={},d=0,u=0;u<ut;u++)(i=n[u]).style=i.style||{};if(t.irregularCatAxis)return t.labelStep;for(u=0;u<ut;u++)(i=n[u])&&(i.label||(i.label=""),y=i.oriLabel||i.label,l={fontSize:c.fontSize,fontFamily:c.fontFamily,lineHeight:c.lineHeight,fontWeight:c.fontWeight},d++,i.style=i.style||{},r.extend2(l,i.style),f[v=l.fontSize+l.fontFamily+l.lineHeight+l.fontWeight]?y.length>f[v].label.length&&(f[v].label=y):f[v]={label:y,style:l});for(p in f)f.hasOwnProperty(p)&&(o=f[p].style,nt=f[p].label,o.lineHeight=r.setLineHeight(o),s.setStyle(o),t.rotateLabels&&(rt=parseInt(o.lineHeight.replace(/(\d+)px/,"$1"),10)),h=s.getSmartText(nt,r.UNDEF,rt),tt=0===t.rotateLabels?h.width>60?60:h.width:h.height,a=Math.max(tt,a));return"wrap"!==g&&"auto"!==g||(a=Math.min(ei,a)),w=Math.floor(Math.abs(e._getCustomPixel(hi)-e._getCustomPixel(k))/a),b=Math.max(Math.ceil(d/w),t.labelStep),it=Math.abs(e._getCustomPixel(k)-e._getCustomPixel(k+b)),d<=w?t.labelStep:b}},rt._inProp={},rt.getCopyById=function(n){var t,u=this._inProp,f=this.__root__,i=u.copyStore;return(t=(i=i||{})[n])?t:(r.extend2(t=i[n]={},f),t)},t.tickValues){switch(g){case"rotate":d.rotation=gt?300:270;v=rt.getCopyById("rotate");break;case"stagger":(v=rt.getCopyById("stagger")).getHeight=function(n){var i,u;return u=(i=t.tickValues.tickValue[n])&&i.style||(i.style={}),l={fontSize:c.fontSize,fontFamily:c.fontFamily,lineHeight:c.lineHeight,fontWeight:c.fontWeight},r.extend2(l,u),s.setStyle(l),s.getOriSize(i.label).height};v.getWidth=function(n){return li=1,n.individualIW?n.individualIW:2*it*pi-li};rr=function(i){var h,l,e,u,r,a,f=i.length,o=0;if(s.setStyle(c),e=s.getOriSize("WWW").height,l=i[f-1],Math.floor(l._cumulativeSum)<=Math.ceil(f*(e+2)))r=Math.floor(n/e),nt=r-nt<0?r:nt;else{r=Math.floor(n/(e+4));do for(o=0,u=(a=r)-1,f=i.length;u<f;){if(f-u<r&&(u=f-1),~~((h=i[u])._cumulativeSum-o)>-~n){vi=!0;break}vi=!1;o=h._cumulativeSum;u+=a}while(r--&&vi);r++;nt=Math.min(nt,r)}t.drawnStaggerLines=nt};ir=function(n){for(var t,r,f=0,i=0,u=n.length;i<u;i++)(t=n[i]).stepSkipped||((r=(t&&t.style||{}).lineHeight)||(r=c.lineHeight),ti=f++%nt,t.labelPadding=ti?r.replace(/px/i,"")*ti:0)};break;case"none":(v=rt.getCopyById("none")).getHeight=r.stubFN;v.getWidth=r.stubFN;ai=r.stubFN;t.rotateLabels&&(d.rotation=gt?300:270,ui=n);v.getCalculatedLabelStep=function(){return t.labelStep};break;
vendor: 7,252 bytes, line 43
43default:(v=rt.getCopyById("auto")).getHeight=function(){return n};v.getWidth=function(n){return n.individualIW?n.individualIW:it-2*li};s.setStyle(a.style);dt=s.getOriSize("WWW");ei=dt.width;ai=function(n,i){var e,o,u,f,c=w.getFromEnv("chart-attrib"),l=r.pluckNumber(c&&c.rotatelabels);if(!t.irregularCatAxis&&(s.setStyle(n),dt=s.getOriSize("WWW"),(ei=dt.width)>=it&&0!==l)){for(d.rotation=gt?300:270,d.forceRotate=!0,v=rt.getCopyById("rotate"),ct=v.getWidth,st=v.getHeight,a.width=0,e=0,o=i.length;e<o;e++)(u=i[e])&&(u.label||u.oriLabel)&&0!==r.pluckNumber(u.showlabel,t.showLabels,1)&&!0!==u.stepSkipped&&(f=u._ovrStyle,s.setStyle({fontSize:f.fontSize,fontFamily:f.fontFamily,lineHeight:f.lineHeight,fontWeight:f.fontWeight}),h=s.getSmartText(u.oriLabel,ct(u),st(e)),u.label=h.text,u.labelTooltext=h.tooltext,u._sLabel=h,a.width<h.width&&(a.text=h.text,a.width=h.width,a.height=h.height,a.style=f));ut=a.text}}}for(ct=v.getWidth,st=v.getHeight,oi=t.labels.step=t.labelStep=t._oriLabelStep,oi=t.labels.step=t.labelStep=v.getCalculatedLabelStep(f),i=o.minimumEnquiry(f),ii=0,wi=0,p=f.length;i<p;i++,ii++)(u=f[i])&&(u.label||u.oriLabel)&&0!==r.pluckNumber(u.showlabel,t.showLabels,1)&&(fr=!0,l={fontSize:c.fontSize,fontFamily:c.fontFamily,lineHeight:c.lineHeight,fontWeight:c.fontWeight},r.extend2(l,u.style),l.lineHeight=r.setLineHeight(l),(nr=l.fontSize+l.fontFamily+l.lineHeight+l.fontWeight)!==gi&&(s.setStyle(l),gi=nr),ii%oi?(u.stepSkipped=!0,u.appliedSmartLabel=!1,yi++):(u.appliedSmartLabel=!0,u.stepSkipped=!1,u._ovrStyle=l,f[i].plotWidth?ni=Math.max("rotate"===g?f[i].plotWidth-6:0,st(i)):("rotate"===g?i<p-1&&(ot=e.getPixel(i+1)-e.getPixel(i)-10):ot=0,"rotate"===g&&isNaN(+ot)&&(ot=ft.canvasWidth/e.getVisibleLength()-3),ni=Math.max(ot,st(i))),ur+=(h=s.getSmartText(u.oriLabel||u.label,ct(u),ni)).height+2,e.components.labels[wi++]={config:{width:h.width,height:h.height,props:{label:{}}}},u._cumulativeSum=ur,u.oriLabel=u.oriLabel||u.label,u.label=h.text,u.labelTooltext=h.tooltext,u._sLabel=h,a.width<h.oriTextWidth&&(r.extend2(a,h),a.style=l),ci<h.height&&(ci=h.height)));if(!fr)return{height:0,width:0};if(rr(f,yi),ir(f,yi),ai(a.style,f),ut=a.text||"","mixed"===t.xAxisLabelMode)for(yt=t.isPercent?w.getFromEnv("number-formatter").percentValue:w.getFromEnv("number-formatter").xAxis,ht=ut.length,i=0,bt=et&&et.length;i<bt;++i)vt=et[i],(b=""+yt.call(w.getFromEnv("number-formatter"),vt,t.axisIndex)).length>ht&&(ut=b,ht=b.length);for(a.height=Math.max(ci,a.height||0),ki=f.length,i=0,p=f.length;i<p&&!(wt=f[i])._sLabel;i++);for(i=(p=f.length)-1;i>=0&&!(fi=f[i])._sLabel;i--);di=1!==e.getZoom();d.rotation||di||!wt._sLabel?(t.axisEndLabelDisplaySpace.left=0,t.axisEndLabelDisplaySpace.right=0):(t.axisEndLabelDisplaySpace.left=Math.max(cr-(e._getCustomPixel(wt.x||0)-wt._sLabel.width/2),0),t.axisEndLabelDisplaySpace.right=Math.max(e._getCustomPixel(fi.x||ki-1)+fi._sLabel.width/2-lr,0));y=a}else{for(yt=t.numberFormatterFn?w.getFromEnv("number-formatter")[t.numberFormatterFn]:t.isPercent?w.getFromEnv("number-formatter").percentValue:w.getFromEnv("number-formatter").xAxis,i=0,bt=et&&et.length;i<bt;++i)kt=et[i],vt=r.toPrecision(kt,10),b=""+yt.call(w.getFromEnv("number-formatter"),vt,t.axisIndex),kt===k&&(lt=b),kt===hi&&(at=b),y=s.getOriSize(b),e.components.labels[i]={config:{width:y.width,height:y.height,props:{label:{}}}},b.length>ht&&(ut=b,ht=b.length);s.setStyle({fontSize:c.fontSize,fontFamily:c.fontFamily,lineHeight:c.lineHeight,fontWeight:c.fontWeight});y=s.getOriSize(ut||"");"rotate"===g&&(d.rotation=270);t.rotateLabels&&(d.rotation=gt?300:270);d.rotation||(lt=s.getOriSize(lt||""),at=s.getOriSize(at||""),t.axisEndLabelDisplaySpace.left=lt.width/2+2,t.axisEndLabelDisplaySpace.right=at.width/2+2)}return t.tickValues&&"stagger"===g&&(y.height=nt*a.height),y.width=ui?Math.min(ui,y.width):y.width,y.width=r.pluckNumber(y.width),y.maxWidth=r.pluckNumber(y.maxWidth),y},t.prototype._getVMaxLabelDimention=function(n){var b,k,d,e,g,nt,s,tt,it,t,f,rt,c,y,u=this.config,o=this.getFromEnv("chart"),p=o.config,h=o.getFromEnv("smartLabel"),i=u.labels.style,ot=u.useEllipsesWhenOverflow,ut=u.maxLabelWidthPercent,ft=u.minLabelWidthPercent,a=0,v=o.getFromEnv("dataSource").categories,et={height:0,width:0},w=u.ticks,l={};if(h.useEllipsesOnOverflow(p.useEllipsesWhenOverflow),h.setStyle({fontSize:i.fontSize,fontFamily:i.fontFamily,lineHeight:i.lineHeight,fontWeight:i.fontWeight}),u.tickValues){for(v&&(l={fontFamily:v[0].font,fontSize:v[0].fontsize,color:v[0].fontcolor}),ut&&(k=ut/100*p.width)<n&&(n=k),ft&&(d=ft/100*p.width)>n&&(n=d),e=0,it=(tt=u.tickValues.tickValue).length;e<it;e++)t=tt[e],0!==r.pluckNumber(t.showlabel,u.showLabels)&&(c={fontFamily:r.pluck(t.font,t.labelfont,l.fontFamily,i.fontFamily),fontSize:r.pluck(t.fontsize,t.labelfontsize,l.fontSize,i.fontSize).replace(/px/i,"")+"px",fontWeight:"normal"==i.fontWeight?r.pluckNumber(t.fontbold,t.labelfontbold,0)?"bold":"normal":i.fontWeight,fontStyle:"normal"==i.fontStyle?r.pluckNumber(t.fontitalic,t.labelfontitalic,0)?"italic":"normal":i.fontStyle},(y={fontFamily:r.pluck(c.fontFamily,l.fontFamily,i.fontFamily),fontSize:r.pluck(c.fontSize,l.fontSize,i.fontSize),fontWeight:r.pluck(c.fontWeight,i.fontWeight),fontStyle:r.pluck(c.fontStyle,i.fontStyle)}).lineHeight=r.setLineHeight(y),h.setStyle(y),f=h.getSmartText(t.oriLabel||t.label,n,i.lineHeight,ot),this.components.labels[e]={config:{width:f.width,height:f.height,props:{label:{}}}},t.oriLabel=t.oriLabel||t.label,t.label=s=f.text,t.labelTooltext=f.tooltext,f.width>a&&(et=f,a=f.width));return et}for(rt=u.numberFormatterFn?o.getFromEnv("number-formatter")[u.numberFormatterFn]:u.isPercent?o.getFromEnv("number-formatter").yAxisPercentValue:o.getFromEnv("number-formatter").yAxis,e=0,g=w&&w.length;e<g;++e)nt=r.toPrecision(w[e],10),s=""+rt.call(o.getFromEnv("number-formatter"),nt,u.axisIndex),f=h.getSmartText(s),this.components.labels[e]={config:{width:f.width,height:f.height,props:{label:{}}}},s.length>a&&(b=s,a=s.length);return h.getOriSize(b)},t.prototype.getCleanValue=function(n,t){return this.getFromEnv("number-formatter").getCleanValue(n,t)},t.prototype.generateMinorTicks=function(){if(this)return[]},t.prototype.setCanvas=function(n){this.config.canvas=n},t.prototype._adjustNumberFormatter=function(n){var f,t,i=this.config,h=i.axisIndex,c=i.isVertical,u=this.getFromEnv("chart").getFromEnv("number-formatter"),e=i._defaultDecimalPrecision,o=i._defaultForceDecimal,s=0;t=c||"yAxis"===i.numberFormatterFn?(u.Y[h]||u.Y[0]).yAxisLabelConf:u.paramX;e!==r.UNDEF?t.decimalprecision=e:i._defaultDecimalPrecision=t.decimalprecision;o!==r.UNDEF?t.forcedecimals=o:i._defaultForceDecimal=t.forcedecimals;parseInt(n,10)>0||(f=n.toString().split(".")[1])&&((s=f.match(/^[0]*/)[0].length+1)>t.decimalprecision&&(t.forcedecimals=1),t.decimalprecision=Math.max(s,t.decimalprecision))},t.prototype.setLabelConfig=function(n){var t,i=this.config.labels;for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t])},t}(s["default"]);u.prototype._parseLabel=f._parseLabel;u.prototype._drawLabel=f._drawLabel;u.prototype.getTrendLineLimits=f.getTrendLineLimits;u.prototype.setAxisPadding=f.setAxisPadding;u.prototype.getLabel=f.getLabel;t["default"]=u},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}
43}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e;t.__esModule=!0;t.minimumEnquiry=t.getCrispPath=undefined;var v=f(i(380)),r=i(125),y=f(i(381)),p=f(i(382)),w=f(i(383)),h=f(i(384)),b=i(132),k=i(229),s=i(386);var o=function(n,t){var r,i,u=!1,f=t%2;return n[1]===n[4]&&(r=n[1],i=Math.round(r),n[1]=n[4]=f?i>r?i-.5:i+.5:i,u=!0),n[2]===n[5]&&(r=n[2],i=Math.round(r),n[2]=n[5]=f?i>r?i-.5:i+.5:i,u=!0),{path:n,isCrisped:u}},c=function(n){return function(t,i){return!!(n.minValue<=t&&n.maxValue>=t||n.minValue<=i&&n.maxValue>=i)}},l=function(n){return function(t){return!!(n.minValue<=t&&n.maxValue>=t)}},u={wrtVisible:!0},a=function(n){for(var t=0,i=n.length;t<i;t++)if(n[t].label||n[t].oriLabel)return t};b.addDep({name:"cartesianAxisAnimation",type:"animationRule",extension:y["default"]});e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.config.referenceInfo=[],i.config.prevTicks=[],i.config.prevIntervalArr=[],i.config.prevTrendLabels=[],i.config.prevCategoryIntervalArr=[],i}return d(t,n),t.prototype.configureAttributes=function(t){n.prototype.configureAttributes.call(this,t)},t.prototype.placeAxis=function(n){var f,u=this.getScale(),i=this.getFromEnv("chart"),r=this.getChildren("scrollBar")&&this.getChildren("scrollBar")[0],o=this.config.isVertical,s=this.config.isOpposit,h=this.config.isReverse,t=i.config,e={};return r&&!r.getState("removed")&&(f=r.getLogicalSpace())&&(o?(i.config.shift=f.width+r.config.conf.padding,e[s?"right":"left"]=i.config.shift):(i.config.shift=f.height+r.config.conf.padding,e[s?"top":"bottom"]=i.config.shift),i._allocateSpace(e)),o?(h?u.setRange([t.canvasBottom,t.canvasTop]):u.setRange([t.canvasTop,t.canvasBottom]),this._placeVerticalAxis(n)):(h?u.setRange([t.canvasRight,t.canvasLeft]):u.setRange([t.canvasLeft,t.canvasRight]),this._placeHorizontalAxis(n))},t.prototype._placeVerticalAxis=function(n){var s,ft,a,ct,tt,et,lt,v,at,vt,f,y,ot,i,yt,pt,p,it,t=this.config,st=this.getFromEnv("chart"),wt=st.config,l=st.getFromEnv("smartLabel"),ii=t.axisRange,ri=t.minLabelWidthPercent,k=t.name,bt=t.isOpposit,w=this.getFromEnv("number-formatter"),kt=wt.canvasHeight,dt=t.labelPadding=r.pluckNumber(t.rawAttr.axisValuePadding,4),d=r.pluckNumber(t.rawAttr.axisNamePadding,5),ui=t.useEllipsesWhenOverflow,rt=t.name.style,ht=t.trend.trendStyle,g=t.axisName,c=t.trendLines,fi=t.drawLabelsOpposit,ei=t.drawAxisNameOpposit,ut=0,oi=0,o=0,b=0,h=0,e=0,u={left:0,right:0},gt="",ni="",nt=0,ti=-1;if(ri&&(ti=ri/100*wt.width),t.oriCanvasHeight=kt,dt<0&&(t.labelPadding=2),pt=t.drawTick&&t.tickLength?t.axisLineThickness+t.tickLength:t.axisLineThickness,t.showAxisLine?(t.labelPadding=r.pluckNumber(dt,2)+pt,t.labelPadding<0&&(t.labelPadding=(t.axisLineThickness<0?0:pt)+2),n-=t.axisLineThickness):(t.labelPadding=r.pluckNumber(dt,2),t.labelPadding<0&&(t.labelPadding=2)),at=ii.max,vt=ii.min,t.name.rotation=0,t.labels.step=t.labelStep,t.labels.isDraw=1,t.labels.drawNormalVal=t.showDivLineValues,t.labels.drawLimitVal=t.showLimits,nt=rt.lineHeight,nt=Number(nt.replace(/px/i,"")),g&&nt<n&&(n-=nt),1!==t.showLimits&&1!==t.showDivLineValues&&(t.labels.isDraw=0),((y=t.drawLabels?this._getVMaxLabelDimention(n-t.labelPadding):{width:0,height:0}).width+t.labelPadding>n&&!t.tickValues||0===y.width)&&(t.labels.isDraw=0),t.labels.isDraw&&(t.labelMaxW=y.width>ti?y.width:ti,t.labelMaxH=y.height,o=ut=t.labelMaxW+t.labelPadding),t.drawTrendLines&&t.drawTrendLabels&&c&&c.length){for(ct=t.isPercent?w.percentValue:t.isVertical?w.yAxis:w.xAxis,l.useEllipsesOnOverflow(wt.useEllipsesWhenOverflow),l.setStyle({fontSize:ht.fontSize,fontFamily:ht.fontFamily,lineHeight:ht.lineHeight,fontWeight:ht.fontWeight}),s=0,ft=c.length;s<ft;s+=1)for(v=0,ot=c[s].line&&c[s].line.length;v<ot;v+=1)i=c[s].line[v],p=w.getCleanValue(r.pluck(i.startvalue,i.value,0)),it=r.pluckNumber(i.endvalue,p),p<=at&&p>=vt&&it<=at&&it>=vt&&(t.isOpposit&&(i.valueonright=1),lt=1===(yt=r.pluckNumber(i.valueonright,0))?i.endvalue||i.startvalue:i.startvalue||i.endvalue,(f=r.parseUnsafeString(i.origText||i.displayvalue||lt||""))===lt&&(f=""+ct.call(w,f)),yt?f.length>ni.length&&(ni=f):f.length>gt.length&&(gt=f));for(e=(y=l.getOriSize(ni)).width+t.labelPadding,h=(y=l.getOriSize(gt)).width+t.labelPadding,bt?(e>o&&e>n&&(e=n),h>n-(o=Math.max(o,e+t.labelPadding))&&(h=Math.min(h,n-o))):(h>o&&h>n&&(h=n),e>n-(o=Math.max(o,h+t.labelPadding))&&(e=Math.min(e,n-o))),s=0,ft=c.length;s<ft;s+=1)for(v=0,ot=c[s].line&&c[s].line.length;v<ot;v+=1)i=c[s].line[v],p=w.getCleanValue(r.pluck(i.startvalue,i.value,0)),it=r.pluckNumber(i.endvalue,p),f=1===Number(i.valueonright)?i.origText||i.displayvalue||""+it||"":i.origText||i.displayvalue||""+p||"",(f=r.parseUnsafeString(""+f))!==i.endvalue&&f!==i.startvalue||(f=""+ct.call(w,f)),i.origText=f,et=(yt=r.pluckNumber(i.valueonright,0))?l.getSmartText(f,e,st.canvasHeight,ui):l.getSmartText(f,o,st.canvasHeight,ui),(a=t.parsedTrendLabels[oi++]
43)&&(a.attr.text=i.displayvalue=et.text,t.isOpposit&&(a.valueOnRight=1,a.attr["text-anchor"]=r.POSITION_START)),et.tooltext?(i.valueToolText=et.tooltext,a&&(a.valueToolText=i.valueToolText)):(delete i.valueToolText,a&&delete a.valueToolText)}return n+=nt,!t.drawAxisName||n-o-e<=0||""===g?(k.isDraw=!1,k.value=""):(l.setStyle({fontSize:rt.fontSize,fontFamily:rt.fontFamily,lineHeight:rt.lineHeight,fontWeight:rt.fontWeight}),k.isDraw=!0,t.rotateAxisName?(t.name.rotation=bt?90:270,tt=l.getSmartText(g,kt,n-o-e),k.value=g,t.nameMaxW=Math.min(tt.height),b=t.nameMaxW+d):(tt=l.getSmartText(g,n-o-e,kt),k.value=g,t.nameMaxW=Math.min(tt.width,n-o),t.nameMaxH=tt.height,t.axisNameWidth>=0&&(t.nameMaxW=Math.min(t.nameMaxW,t.axisNameWidth)),b=t.nameMaxW+d)),bt?(fi?(u.left+=Math.max(ut,h),u.right+=e):(u.left+=h,u.right+=Math.max(ut,e)),ei?(t.axisNamePadding=u.left+d,u.left+=b):(t.axisNamePadding=u.right+d,u.right+=b)):(fi?(u.left+=h,u.right+=Math.max(ut,e)):(u.left+=Math.max(ut,h),u.right+=e),ei?(t.axisNamePadding=u.right+d,u.right+=b):(t.axisNamePadding=u.left+d,u.left+=b)),k.isDraw&&t.axisNamePadding+t.nameMaxW>n&&(t.axisNamePadding=n-t.nameMaxW,b=t.nameMaxW+t.axisNamePadding-o),u},t.prototype._placeHorizontalAxis=function(n){var ft,c,lt,l,a,tt,et,ot,w,at,v,i,y,e,vt,st,it,ht,t=this.config,b=this.getFromEnv("chart"),yt=b.config,k=b.getFromEnv("smartLabel"),pt=t.axisRange,rt=t.name,gt=t.isOpposit,ni=b.getFromEnv("number-formatter"),wt=t.drawLabelsOpposit,bt=t.drawAxisNameOpposit,o=0,kt=yt.canvasWidth,ct=t.labelPadding=r.pluckNumber(t.rawAttr.axisValuePadding,4),dt=r.pluckNumber(t.rawAttr.axisNamePadding,5),ti=t.useEllipsesWhenOverflow,d=t.name.style,g=t.trend.trendStyle,ut=t.axisName,nt=t.vTrendLines,s=0,ii=0,p=0,u={top:0,bottom:0},f=0,h=0;if(ct<0&&(t.labelPadding=2),st=t.drawTick&&t.tickLength?t.axisLineThickness+t.tickLength:t.axisLineThickness,t.showAxisLine?(t.labelPadding=r.pluckNumber(ct,2)+st,t.labelPadding<0&&(t.labelPadding=(t.axisLineThickness<0?0:st)+2),n-=t.axisLineThickness):(t.labelPadding=r.pluckNumber(ct,2),t.labelPadding<0&&(t.labelPadding=2)),et=pt.max,ot=pt.min,t.labels.rotation=0,t.labels.step=t.labelStep,t.labels.isDraw=1,t.labels.drawNormalVal=t.showDivLineValues,t.labels.drawLimitVal=t.showLimits,h=d.lineHeight,h=Number(h.replace(/px/i,"")),ut&&h<n&&(n-=h),t.rotateLabels&&"stagger"!==t.labelDisplay&&"none"!==t.labelDisplay&&(t.labelDisplay="rotate"),1!==t.showLimits&&1!==t.showDivLineValues&&(t.labels.isDraw=0),e=t.drawLabels?this._getHMaxLabelDimention(n-t.labelPadding):{width:0,height:0},t.labels.rotation?e.width+t.labelPadding>n&&!t.tickValues&&(t.labels.isDraw=0):e.height+t.labelPadding>n&&!t.tickValues&&(t.labels.isDraw=0),t.labels.isDraw&&(t.labels.rotation?(t.labelMaxW=e.height,t.labelMaxH=e.width,o=e.width+t.labelPadding):(t.labelMaxW=e.width,t.labelMaxH=e.height,o=e.height+t.labelPadding),s=o),v=(s=Math.max(s,t.labelPadding))<=n?n-s:n,t.drawTrendLines&&t.drawTrendLabels&&nt&&t.isActive)for(vt=t.isPercent?this.getFromEnv("number-formatter").percentValue:t.isVertical?this.getFromEnv("number-formatter").yAxis:this.getFromEnv("number-formatter").xAxis,k.useEllipsesOnOverflow(yt.useEllipsesWhenOverflow),k.setStyle({fontSize:g.fontSize,fontFamily:g.fontFamily,lineHeight:g.lineHeight,fontWeight:g.fontWeight}),c=0,lt=nt.length;c<lt;c+=1)for(tt=0,at=nt[c].line&&nt[c].line.length;tt<at;tt+=1)i=nt[c].line[tt],it=ni.getCleanValue(r.pluck(i.startvalue,i.value,0)),ht=r.pluckNumber(i.endvalue,it),it<=et&&it>=ot&&ht<=et&&ht>=ot&&(ft=1===r.pluckNumber(i.valueonright,0)?i.endvalue||i.startvalue:i.startvalue||i.endvalue,(w=r.parseUnsafeString(i.origText||i.displayvalue||ft||""))===ft&&(w=""+vt.call(b.getFromEnv("number-formatter"),w)),i.origText=w,v-((y=k.getSmartText(w,b.canvasWidth,g.lineHeight,ti)).height+2)<0?i.displayvalue="":((l=t.parsedTrendLabels[ii++])&&(l.attr.text=i.displayvalue=y.text),f=f<y.height?y.height:f),y.tooltext?(i.valueToolText=y.tooltext,l&&(l.valueToolText=i.valueToolText)):(delete i.valueToolText,l&&delete l.valueToolText));return v-=f,s+=f,v+=h,n+=h,!t.drawAxisName||v<=0||""===ut?(rt.isDraw=!1,rt.value=""):(k.setStyle({fontSize:d.fontSize,fontFamily:d.fontFamily,lineHeight:d.lineHeight,fontWeight:d.fontWeight}),rt.isDraw=!0,a=k.getSmartText(ut,kt,v),rt.value=ut,t.nameMaxW=kt,t.nameMaxH=a.height,p=a.height+dt,t.axisNamePadding=dt+s,t.axisNamePadding+a.height>n&&(t.axisNamePadding=n-a.height,p=a.height+t.axisNamePadding-s)),gt?(wt?u.bottom+=o+f:(u.top+=o,u.bottom+=f),t.trendBottomPadding=u.bottom-f+2,bt?u.bottom+=p:u.top+=p):(wt?(u.top+=o,u.bottom+=f):u.bottom+=o+f,t.trendBottomPadding=u.bottom-f+2,bt?u.top+=p:u.bottom+=p),u},t.prototype._parseCategoryPlotLine=function(){var f,t,i,n=this.config,e=n.axisRange,u=n.tickValues.tickValue,h=r.convertColor(n.divLineColor,n.divLineAlpha),o=n.divLineThickness,c=n.divLineIsDashed?r.getDashStyle(n.divLineDashLen,n.divLineDashGap,o):r.DASH_DEF,a=l(this.getVisibleConfig()),s=n._allTicks,v=s.length;if(f={stroke:h,"stroke-width":o,"stroke-dasharray":c},(!u[0]||u[0].x===r.UNDEF&&u[0].y===r.UNDEF)&&n.lines.isDraw&&n.categoryNumDivLines)for(t=0;t<v;++t)a(i=s[t])&&i!==e.min&&i!==e.max&&this.setReferenceInfo({from:i,type:"line",layer:1,attr:f})},t.prototype._drawComponents=function(){var n=this.config;n.drawAxisName&&this._drawAxisName();n.drawAxisLine&&this._drawAxisLine();n.tickValues?n.drawLabels&&this._drawCategory():n.drawLabels&&this._drawLabel();n.drawTrendLines&&this.drawTrendLabel()},t.prototype.drawTrendLabel=function(){for(var rt,i=this.config,o=i.parsedTrendLabels,ht=this.getFromEnv("animationManager"),ut=this.getFromEnv("toolTipController"),ct=i.axisTrendLabelContainer,g=i.isOpposit,p=i.labelPadding,ft=i.vTrendLines,lt=i.trendLines,a=i.axisDimention,et=this.getVisibleConfig(),ot=et.minValue,st=et.maxValue,w=void 0,t=void 0,l=void 0,v=void 0,nt=void 0,b=void 0,e=void 0,tt=void 0,f=void 0,k=!0,s=void 0,y=void 0,d=void 0,it=void 0,n=void 0,c=void 0,n=0,c=o.length;n<c;n++)o[n].id=n+"_trend";for(ft?v=g?a.opposite-(i.trendBottomPadding||0):a.y+(i.trendBottomPadding||0):(v=g?a.opposite+(p||0):a.x-(p||0),nt=g?a.x+(p||0):a.opposite+(p||0)),n=0,c=(rt=h["default"](function(n,t){return n.attr.text===t.attr.text},i.prevTrendLabels,o)).length;n<c;n++)(d=this.getGraphicalElement(rt[n].id))&&this.removeGraphicalElement(d);if(i.prevTrendLabels=r.extend2([],o),i.drawTrendLabels)for(n=0,c=o.length;n<c;n++)t=o[n],l=this.getGraphicalElement(n+"_trend"),e=+t.from,f=+t.to,k=!0,(it=!isNaN(f))?(ot>(tt=e+(f-e)/2)||st<tt)&&(k=!1):(ot>e||st<e)&&(k=!1),k?(ft?(s=this.getPixel(e,u),y=f?this.getPixel(f,u):0,b=r.pluckNumber(t.isTrendZone,i.isTrendZone,1),it&&f!==e&&b?(t.attr.x=s+(y-s)/2,t.attr.y=v):(t.attr.x=f?y:s,t.attr.y=v)):lt&&(s=this.getPixel(e,u),y=f?this.getPixel(f,u):0,w=r.pluckNumber(t.valueOnRight,0),b=r.pluckNumber(t.isTrendZone,i.isTrendZone,0),it&&f!==e&&b?(t.attr.x=w?nt:v,t.attr.y=s+(y-s)/2):(t.attr.x=w?nt:v,t.attr.y=f&&w?y:s)),l=this.addGraphicalElement(n+"_trend",ht.setAnimation({container:ct,el:l||"text",attr:t.attr,css:t.css,data:{value:tt||e},component:this,label:"text"})),i.showTooltip&&t.valueToolText?ut.enableToolTip(l,t.valueToolText):ut.disableToolTip(l)):l&&this.removeGraphicalElement(l);else for(n=0,c=o.length;n<c;n++)(d=this.getGraphicalElement(o[n].id))&&this.removeGraphicalElement(d)},t.prototype._drawAxisName=function(){var i,e,v,k,y,rt,t=this.config,ut=this.getFromEnv("toolTipController"),p=this.getLinkedItem("canvas").getEffectiveDimensions(),ot=this.getFromEnv("animationManager"),d=p.left,g=p.top,nt=p.width,h=p.height,ft=g+h,st=d+nt,u=this.getFromEnv("chart").config,n=t.name.style,tt=t.name.value,o=t.isOpposit,w=t.isVertical,c=this.getFromEnv("smartLabel"),ht=t.axisNameContainer,f=t.axisNamePadding,l=t.nameMaxH,b=t.nameMaxW,it=t.axisDimention,a=w?it.x:it.y,ct=it.o
43pposite,s=this.getGraphicalElement("axisName"),et=r.pluckNumber(t.name.rotation,w?90:270),lt=this.getFromEnv("paper"),at={fontFamily:n.fontFamily,fontSize:n.fontSize,lineHeight:n.lineHeight,fontWeight:n.fontWeight,fontStyle:n.fontStyle};t.name.isDraw?(i={fontFamily:n.fontFamily,fill:n.color,"vertical-align":"middle","font-size":n.fontSize,"line-height":n.lineHeight},c.useEllipsesOnOverflow(u.useEllipsesWhenOverflow),c.setStyle({fontSize:n.fontSize,fontFamily:n.fontFamily,lineHeight:n.lineHeight,fontWeight:n.fontWeight}),t.drawAxisNameOpposit&&(o=!o,a=ct),w?(f=Math.max(f,function(n,t){var i=0;return n.relativeAxis&&n.relativeAxis.config&&n.relativeAxis.config.axisNamePadding&&(i=Math.max(n.relativeAxis.config.axisNamePadding,i)),n.isOpposit&&t.canvasMarginRight&&(i=Math.max(i,t.canvasMarginRight-t.marginLeft-n.nameMaxW)),!n.isOpposit&&t.canvasMarginLeft&&(i=Math.max(i,t.canvasMarginLeft-t.marginRight-n.nameMaxW)),i}(t,u)),k=t.axisNameAlignCanvas||u.captionalignment&&"left"===u.captionalignment?h:Math.max(h,t.oriCanvasHeight||0),et?(v=(e=c.getSmartText(tt,k,b)).tooltext,y=e.width):(v=(e=c.getSmartText(tt,b,k)).tooltext,y=e.height),rt=t.drawAxisNameFromBottom?ft-y/2:y>h?u.height/2:g+h/2,i.text=e.text,i.x=o?(a||st)+f+b/2:(a||d)-f-b/2,i.y=rt):(v=(e=c.getSmartText(tt,nt,l)).tooltext,o&&u.canvasMarginTop&&(f=Math.max(f,u.canvasMarginTop-u.marginTop-l)),!o&&u.canvasMarginBottom&&(f=Math.max(f,u.canvasMarginBottom-u.marginBottom-l)),i.text=e.text,i.x=d+nt/2,i.y=o?(a||g)-f-l/2:(a||ft)+f+l/2),i["text-bound"]=""===e.text?[]:[n.backgroundColor,n.borderColor,n.borderColor?n.borderThickness:0,n.borderPadding,n.borderRadius,n.borderDash],i.transform=lt.getSuggestiveRotation(w?et:0,i.x,i.y),s=this.addGraphicalElement("axisName",ot.setAnimation({css:at,el:s||"text",attr:i,container:ht,component:this,label:"text"})),t.showTooltip?ut.enableToolTip(s,v):ut.disableToolTip(s)):s&&this.removeGraphicalElement(s)},t.prototype._drawAxisLine=function(){var h,ut,k,ft,t,d,e,et,ot,g,st,nt,c,ht,i,tt,ct,l,n=this.config,s=n.isVertical,a=n.isOpposit,bt=this.getFromEnv("chart"),v=this.getLinkedItem("canvas").getEffectiveDimensions(),lt=this.getFromEnv("animationManager"),it=v.top,rt=v.left,at=it+v.height,vt=rt+v.width,yt=n.axisDimention,f=s?yt.x:yt.y,y=n.drawAxisLineWRTCanvas,p=bt.getFromEnv("dataSource").chart,pt=n.axisAxisLineContainerBottom,wt=this.getGraphicalElement("axisLine"),b=[];if(ft=1===r.pluckNumber(p.showyaxisline,p.showyaxisline)?r.pluckNumber(p.yaxislinethickness,p.pyaxislinethickness,1):0,n.showAxisLine){if(s?(t=a?(f=y?vt:f)+n.axisLineThickness/2:(f=y?rt:f)-n.axisLineThickness/2,k=(tt=o(["M",t,at,"L",t,it],n.axisLineThickness)).path):(t=a?(f=y?it:f)-n.axisLineThickness/2:(f=y?at:f)+n.axisLineThickness/2,k=(tt=o(["M",rt-ft,t,"L",vt,t],n.axisLineThickness)).path),et={path:k,stroke:n.axisLineColor,"stroke-linecap":"butt","stroke-width":n.axisLineThickness,"shape-rendering":tt.isCrisped?"crisp":r.UNDEF},n.drawTick&&n.tickLength)for(h={stroke:n.tickColor,"stroke-width":n.tickWidth},d=s?a?t+n.tickLength:t-n.tickLength:a?t-n.tickLength:t+n.tickLength,i=0,l=(ct=n.tickValues?n.tickValues.tickValue.map(function(n){return s?n.y:n.x}):n.ticks).length;i<l;i+=1)c=(nt=ct[i])+"_tick",g=this.getGraphicalElement(c),e=this.getPixel(nt,u),h.path=o(s?["M",t,e,"L",d,e]:["M",e,t,"L",e,d],n.tickWidth).path,ot=lt.setAnimation({el:g||"path",attr:h,data:{value:nt,path:h.path},container:pt,component:this,label:"path"}),g||this.addGraphicalElement(c,ot),b.push(c);ut=lt.setAnimation({el:wt||"path",attr:et,container:pt,component:this,label:"path"});wt||this.addGraphicalElement("axisLine",ut);b.push("axisLine")}for(i=0,l=(ht=w["default"](n.prevTicks,b)).length;i<l;i++)(st=this.getGraphicalElement(ht[i]))&&this.removeGraphicalElement(st);n.prevTicks=b},t.prototype._parseCategory=function(){var p,n,g,nt,s,lt,c,e,tt,w,it,rt,h,i,at,ut,gt,l,ft,ni,vt,ti,yt,ii,pt,a,ri,wt,v,t=this.config,bt=t.axisDimention||{},et=this.getFromEnv("chart"),ot=et.getFromEnv("smartLabel"),kt=this.components,st=kt.labels,ht=this.getLinkedItem("canvas").getEffectiveDimensions(),ui=et.config,o=t.isOpposit,b=t.labels,f=b.style,dt=t.isVertical,f
43i=ht.top,ei=ht.left,hi=fi+ht.height,ci=ei+ht.width,ct=t.labelPadding,k=dt?bt.x:bt.y,li=bt.opposite,d=et.getFromEnv("dataSource").categories,y={},ai=t.tickValues.tickValue,oi=t.axisRange.min,vi=t.drawnStaggerLines,si=(t.labelStep!==t.labels.step||1!==this.getZoom())&&"stagger"===t.labelDisplay;if(t.labels.isDraw)for(dt&&(pt=Math.abs(this.getPixel(0,u)-this.getPixel(0+t.axisRange.tickInterval,u)),t.labelMaxH>pt&&(vt=Math.ceil(t.labelMaxH/pt)),vt>t.labels.step&&(t.labels.step=vt)),si&&(ii=2*Math.abs(this.getPixel(oi,u)-this.getPixel(oi+t.labels.step,u))*t.sWidthAdjstFactor-1),ri=(nt=t.labels.rotation)?t.labelMaxH:t.labelMaxW,wt=nt?t.labelMaxW:t.labelMaxH,t.drawLabelsOpposit&&(o=!o,k=li),d&&d[0]&&"auto"!==t.xAxisLabelMode&&(y.fontFamily=d[0].font,y.fontSize=d[0].fontsize,y.color=d[0].fontcolor),t.ParentCss=h={fontFamily:r.pluck(y.fontFamily,f.fontFamily),fontSize:r.pluck(y.fontSize,f.fontSize),fontWeight:r.pluck(f.fontWeight),fontStyle:r.pluck(f.fontStyle)},h.lineHeight=r.setLineHeight(h),ft=this._getCategoryArr(),kt.labelIndexArr=[],p=0,ni=ft.length;p<ni;p+=1)n=ai[v=ft[p].index],gt=ft[p].value,kt.labelIndexArr.push(v),tt=r.pluck(n.font,n.labelfont),w=r.pluck(n.fontsize,n.labelfontsize),it=r.pluck(n.fontbold,n.labelfontbold)?r.pluckNumber(n.fontbold,n.labelfontbold,0)?"bold":r.NORMAL:r.UNDEF,rt=r.pluck(n.fontitalic,n.labelfontitalic)?r.pluckNumber(n.fontitalic,n.labelfontitalic,0)?"italic":r.NORMAL:r.UNDEF,at=r.convertColor(r.pluck(n.fontcolor,n.labelfontcolor,y.color,f.color),r.pluckNumber(n.labelalpha,t.rawAttr.labelFontAlpha,et.config.singleseries?r.UNDEF:n.alpha,100)),tt||w||it||rt?(e={},tt&&(e.fontFamily=tt),w&&(e.fontSize=w),it&&(e.fontWeight=it),rt&&(e.fontStyle=rt),e.lineHeight=w?r.setLineHeight(e):h.lineHeight):e=r.UNDEF,(e||h)&&-1!==(lt=(e||h).lineHeight).indexOf("px")&&(s=lt.replace(/px/i,""),s=parseFloat(s)),!1===n.appliedSmartLabel&&(ot.setStyle(n._ovrStyle||h),a=ot.getSmartText(n.oriLabel||n.label,ri,wt),n.oriLabel=n.oriLabel||n.label,n.label=a.text,n.labelTooltext=a.labelTooltext,n.appliedSmartLabel=!0),ut=this.getPixel(gt,u),dt?(g=n.label||"",c=Number(n.labelPadding)||0,i={fill:at,"line-height":s,opacity:1,"text-anchor":o?r.POSITION_START:r.POSITION_END,text:g,cursor:!ui.singleseries&&n.link||n.labellink||f.labelLink?r.POINTER:"",x:o?(k||ci)+ct:(k||ei)-ct,y:c?ut+c:ut}):(g=n.label||"",c=Number(n.labelPadding)||0,i={fill:at,"line-height":s,opacity:1,text:g,cursor:!ui.singleseries&&n.link||n.labellink||f.labelLink?r.POINTER:"",x:ut,y:o?(fi||k)-ct:(k||hi)+ct},nt?(i["text-anchor"]=o?r.POSITION_START:r.POSITION_END,i["vertical-align"]="middle"):(i["text-anchor"]=r.POSITION_MIDDLE,i["vertical-align"]=o?r.POSITION_BOTTOM:r.POSITION_TOP),si?((ti=n.labelCount%vi)&&((s=n.style.lineHeight)||(s=t.labels.style.lineHeight),yt=s.replace(/px/i,"")*ti,i.y=o?i.y-yt:i.y+yt),ot.setStyle(n._ovrStyle||h),a=ot.getSmartText(n.oriLabel||n.label,ii,wt),n.oriLabel=n.oriLabel||n.label,i.text=n.label=a.text,n.labelTooltext=a.labelTooltext,n.appliedSmartLabel=!0):c&&(o?i.y-=c:i.y+=c)),l={label:n.label,lineHeight:lt,border:r.pluckNumber(n.borderthickness,n.labelborderthickness)?r.pluckNumber(n.borderthickness,n.labelborderthickness,1)+"px solid":"",borderColor:n.bordercolor||n.labelbordercolor?r.convertColor(n.bordercolor||n.labelbordercolor,r.pluckNumber(n.borderalpha,n.labelborderalpha,n.alpha,n.labelalpha,100)):r.BLANKSTRING,borderThickness:r.pluckNumber(n.borderthickness,n.labelborderthickness),borderPadding:r.pluckNumber(n.borderpadding,n.labelborderpadding),borderRadius:r.pluckNumber(n.borderradius,n.labelborderradius),backgroundColor:n.bgcolor||n.labelbgcolor?r.convertColor(n.bgcolor||n.labelbgcolor,r.pluckNumber(n.bgalpha,n.labelbgalpha,n.alpha,n.labelalpha,t.rawAttr.labelFontAlpha,100)):r.BLANKSTRING,borderDash:r.pluckNumber(n.borderdashed,n.labelborderdashed,0)?r.getDashStyle(r.pluckNumber(n.borderdashlen,n.labelborderdashlen,4),r.pluckNumber(n.borderdashgap,n.labelborderdashgap,2)):0===r.pluckNumber(n.borderdashed,n.labelborderdashed)?r.DASH_DEF:f.borderDash},i["text-bound"]=n.label?[r.pluck(l.backgroundColor,f.backgroundColor),r.pluck(l.borderColor,f.borderColor),r.pluck(l.borderThickness,f.borderThickness),r.pluck(l.borderPadding,f.borderPadding),r.pluck(l.borderRadius,f.borderRadius),r.pluck(l.borderDash,f.borderDash)]:[],b.shiftX&&(i.x+=b.shiftX),b.shiftY&&(i.y+=b.shiftY),i.transform=r.getSuggestiveRotation(nt,i.x,i.y),st[v]=st[v]||{config:{props:{label:{}}}},st[v].config.props.label.attr=i,st[v].config.props.label.css=e},t.prototype.allocatePosition=function(){var n=this.config;n.tickValues?n.drawLabels&&this._parseCategory():n.drawLabels&&this._parseLabel();this.getChildren("scrollBar")&&this.getChildren("scrollBar")[0]&&this.getChildren("scrollBar")[0].setDimension(this.getScrollerDimension())},t.prototype._drawCategory=function(){var n,e,u,c,y,f,l,i,p,o,s,t=this.config,w=this.getFromEnv("chart"),d=w.config,g=t.labels,nt=this.getFromEnv("animationManager"),tt=g.style,b=this.getFromEnv("toolTipController"),k=t.axisContainer,it=this.config.categoryLabel||(this.config.categoryLabel=[]),a=function(n){return function(t){w.plotEventHandler(this,t,n)}},rt=t.tickValues.tickValue,v=[];if(t.labels.isDraw){for(k.css(t.ParentCss),f=this._getCategoryArr(),n=0,i=(y=h["default"](function(n,t){return n.value===t.value},t.prevCategoryIntervalArr,f)).length;n<i;n++)(o=this.getGraphicalElement(y[n].value+"_label"))&&this.removeGraphicalElement(o);for(t.prevCategoryIntervalArr=r.extend2([],f),n=0,i=f.length;n<i;n+=1)v[n]=f[n].value+"_label";for(n=0,i=f.length;n<i;n+=1)e=rt[s=f[n].index],c=(p=this.components.labels[s].config).props.label.attr,l=this.getGraphicalElement(v[n]),u=nt.setAnimation({el:l||"text",attr:c,container:k,data:{value:void 0},component:this,label:"text",css:p.props.label.css}),l||(this.addGraphicalElement(v[n],u),u.on("fc-click",a("dataLabelClick")).hover(a("dataLabelRollOver"),a("dataLabelRollOut"))),u.data("eventArgs",{link:!d.singleseries&&e.link||e.labellink||tt.labelLink,text:c.text,index:s}),e.labelTooltext?b.enableToolTip(u,e.labelTooltext):b.disableToolTip(u),it[s]=u}else for(n=0,i=t.prevCategoryIntervalArr.length;n<i;n++)(o=this.getGraphicalElement(t.prevCategoryIntervalArr[n].value+"_label"))&&this.removeGraphicalElement(o)},t.prototype._getCategoryArr=function(){var f,t,e,o,i,h,s,v,c,y,n=this.config,b=n.isVertical,l=0,p=0,w=[];for(f=n.tickValues.tickValue,o=a(f),e=f?f.length-1:0,b&&(c=Math.abs(this.getPixel(0,u)-this.getPixel(1,u)),n.labelMaxH>c&&(l=Math.ceil(n.labelMaxH/c)),l>n.labels.step&&(n.labels.step=l)),v=n.labels.step>0?n.labels.step:1,y=1!==this.getZoom(),h=this.getVisibleConfig(),t=o;t<=e;t+=v)(i=f[t])&&(s=r.pluckNumber(i.x,i.y,t),0!==r.pluckNumber(i.showlabel,n.showLabels,1)&&(y&&(s<h.minValue||s>
43h.maxValue)?i.labelCount=p++:("auto"!==n.xAxisLabelMode&&"mixed"!==n.xAxisLabelMode||0!==n.showZeroPlane&&0!==n.showZeroPlaneValue||0!==s)&&(n.labels.drawNormalVal||n.labels.drawLimitVal&&(t===o||t===e))&&(n.labels.drawNormalVal||t===o||t===e)&&(n.labels.drawLimitVal||t!==o&&t!==e)&&(i.labelCount=p++,w.push({index:t,value:s}))));return w},t.prototype.getValue=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{wrtVisible:!1},i=this.getScale(),r=this.getTranslation();return i.getDomainValue(t.wrtVisible?n:n-r)},t.prototype.getPixel=function(n){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{wrtVisible:!1},r=this.getScale(),u=this.getTranslation(),t=r.getRangeValue(n);return i.wrtVisible?t:t+u},t.prototype._getCustomPixel=function(n,t){var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{wrtVisible:!1};if(!t)return this.getPixel(n,r);var i=this.getScale().copy(),u=i.getRange(),o=u[0],s=u[1],f=Math.min(o,s),e=i.getRangeValue(n),h=this.getTranslation();return i.setRange([f,f+t]),r.wrtVisible?e:e+h},t.prototype.getTranslation=function(){return this.config.translation||0},t.prototype.setScrollType=function(n){"none"!==n&&"smart"!==n&&"always"!==n||(this.config.scrollType=n,"none"===n?this.disableScroll():this.enableScroll())},t.prototype.getScrollType=function(){return this.config.scrollType},t.prototype._createScrollBar=function(){var u,n=this,t=n.config,r=n.getFromEnv("chart"),f=n.getFromEnv("animationManager"),i=n.getChildren("scrollBar")&&n.getChildren("scrollBar")[0];i||(i=n.attachChild(new k.Scroller,"scrollBar"));i.configure({isHorizontal:!t.isVertical});i.attachEventHandlers({scrollStart:function(n){u=n;r.fireChartInstanceEvent("scrollstart",{scrollPosition:n})},scroll:function(i){var h=t.axisRange.max,c=t.axisRange.min,u=n.getVisibleConfig(),l=u.minValue,e=u.maxValue-l,a=h-e,o=p["default"](c,a),s=t.isReverse?o(1-i):o(i);n.setState("scrolling",!0);f.setAnimationState("scroll");r.fireChartInstanceEvent("onScroll",{scrollPosition:i});n.setVisibleConfig(s,s+e)},scrollEnd:function(n){r.fireChartInstanceEvent("scrollend",{scrollPosition:n,prevScrollPosition:u})}})},t.prototype._disposeScrollBar=function(){var n=this.getChildren("scrollBar")&&this.getChildren("scrollBar")[0];n&&n.remove()},t.prototype.getScrollerDimension=function(){var t,h,c,l,y,s,p,a,w,b,v,k,d,g,nt,tt,f,ft=this.getFromEnv("chart"),n=this.config,e=n.axisRange,o=n.scrollOptions||(n.scrollOptions={}),it=e.max,rt=e.min,et=o.vxLength,ut=this.getChildren("scrollBar")[0],i=ft.getChildren("canvas")[0].config,ot=n.scrollerContainer;if(ut)return t=ut.config,h=i.canvasLeft,c=i.canvasTop,l=i.canvasHeight,y=i.canvasWidth,s=i.canvasBorderWidth,p=n.showAxisLine&&n.axisLineThickness||0,a=r.pluckNumber(s,n.lineStartExtension),w=r.pluckNumber(s,n.lineEndExtension),o.viewPortMin=rt,o.viewPortMax=it,b=(nt=(d=this.getVisibleConfig()).maxValue-(g=d.minValue))/(tt=e.max-e.min),f=(g-e.min)/(tt-nt),v=o.windowedCanvasWidth=this.getPixel(et,u),k=o.fullCanvasWidth=this.getPixel(it-rt,u)-v,t.scrollRatio=b,t.roundEdges=i.isRoundEdges,t.fullCanvasWidth=k,t.windowedCanvasWidth=v,t.parentLayer=ot,t.scrollPosition=f,n.isVertical?(t.scrollPosition=n.isReverse?1-f:f,{x:h,y:c,height:l}):(t.scrollPosition=f,{x:h-a,y:c+l+s+p-2,width:y+a+w})},t.prototype.enableScroll=function(){this._createScrollBar()},t.prototype.disableScroll=function(){this._disposeScrollBar()},t.prototype.isScrollEnabled=function(){return!!this.getChildren("scrollBar")},t.prototype.setVisibleConfig=function(n,t){var r,i=this.config,u=this.getZoom(),f=this.getScale();return!(n>=t||n<i.axisRange.min||t>i.axisRange.max)&&(r=f.setDomain([n,t]).getDomain(),i.visibleMin=r[0],i.visibleMax=r[1],i.zoom=this._computeZoom(),i.translation=this._computeTranslation(),1===u&&1===this.getZoom()||(i.ticks=this.generateTicks(),i.minorTicks=this.generateMinorTicks(),i.tickValues&&this.calculateTicksOnLabelMode&&this.calculateTicksOnLabelMode()),this.clearReferenceInfo(),this._parseReferenceVisuals(),this.fireEvent("visiblerangeset",{minValue:n,maxValue:t}),this.asyncDraw(),!0)},t.prototype.hide=function(){var n=this.config;n.axisContainer&&(n.axisLabelContainerTop.hide(),n.axisContainer.hide(),n.axisNameContainer.hide(),n.axisTrendLabelContainer.hide(),n.axisAxisLineContainer.hide(),n.axisAxisLineContainerBottom.hide())},t.prototype.show=function(){var n=this.config;n.axisContainer&&(n.axisLabelContainerTop.show(),n.axisContainer.show(),n.axisNameContainer.show(),n.axisTrendLabelContainer.show(),n.axisAxisLineContainer.show(),n.axisAxisLineContainerBottom.show())},t.prototype.getZoom=function(){return this.config.zoom||1},t.prototype._computeTranslation=function(){var n=this.config,t=this.getVisibleConfig(),i=r.pluckNumber(t.minValue,n.axisRange.min,0),u=r.pluckNumber(n.axisRange.min,t.minValue,0);return this.getPixel(i)-this.getPixel(u)},t.prototype._computeZoom=function(){var n=this.config,t=this.getVisibleConfig(),f=r.pluckNumber(t.minValue,n.axisRange.min,0),e=r.pluckNumber(t.maxValue,n.axisRange.max,1),o=r.pluckNumber(n.axisRange.min,t.minValue,0),s=r.pluckNumber(n.axisRange.max,t.maxValue,1),i=n.maxZoomLimit,u=(s-o)/(e-f);return u>i?i:u},t.prototype.getTickValues=function(){var n=this.config.tickValues;return n&&n.tickValue||[]},t.prototype.dataLabels=function(n){var t=this.config.axisIndex;return this.getFromEnv("number-formatter").dataLabels(n,t)},t.prototype.getAxisBase=function(){var t=this.getVisibleConfig(),i=t.minValue,n=t.maxValue;return i<0&&n>0?0:n<=0?n:i},t.prototype._parseReferenceVisuals=function(){var i,r,n=this.config,u=this.getTickValues(),f=u.length,t=this.getFromEnv("chartConfig").is3D;n.isActive||(i=n.lines.isDraw,r=n.band.isDraw,n.lines.isDraw=0,n.band.isDraw=0);n.tickValues?n.drawLabels&&this._parseCategoryLine(u,0,f):n.drawPlotlines&&this._parsePlotLine();n.tickValues&&"auto"!==n.xAxisLabelMode?(n.drawPlotlines&&!t&&this._parseCategoryPlotLine(),n.drawPlotBands&&!t&&this._parseCategoryPlotBand(),"mixed"===n.xAxisLabelMode&&n.drawPlotBands&&!t&&this._parsePlotBand()):n.drawPlotBands&&!t&&this._parsePlotBand();n.isActive||(n.lines.isDraw=i,n.band.isDraw=r);n.drawTrendLines&&this._parseTrendLine()},t.prototype._parseCategoryPlotBand=function(){var s,e,u,f,n,t=this.config,o=t.tickValues.tickValue,l=t.showAlternateGridColor,a=t.alternateGridColor,v=t.alternateGridAlpha,i=t._allTicks,h=this.getLimit(),y=h.min,p=h.max,w=c(this.getVisibleConfig());if((!o[0]||o[0].x===r.UNDEF&&o[0].y===r.UNDEF)&&l&&t.band.isDraw&&t.categoryNumDivLines)for(s={f
43ill:r.toRaphaelColor(r.convertColor(a,v)),"stroke-width":0},e=0,n=0;n<i.length;++e,++n)w(i[n],i[n+1])&&(u=i[n],e%2==0&&(f=i[n+1])!==r.UNDEF&&(u===y&&(u="canvasStart"),f===p&&(f="canvasEnd"),this.setReferenceInfo({from:u,to:f,layer:0,type:"band",attr:s})))},t.prototype._parseTrendLine=function(){var a,nt,e,tt,h,it,o,c,v,s,n,l,p,f,u,w,k,y,d,b,t=this.config,rt=t.isVertical,ut=t.axisIndex,lt=this.getFromEnv("chart-attrib"),g=this.getFromEnv("number-formatter"),ft=t.axisRange,et=ft.max,ot=ft.min,i=t.trend.trendStyle,at={fontFamily:i.fontFamily,fontSize:i.fontSize,lineHeight:i.lineHeight,fontWeight:i.fontWeight,fontStyle:i.fontStyle},st=t.vTrendLines,ht=t.trendLines,ct=0;if(o=ht||st)for(e=0,tt=o.length;e<tt;e+=1)for(a=0,nt=o[e].line&&o[e].line.length;a<nt;a+=1)n=o[e].line[a],k=rt?"yAxis":"xAxis",f=n.startvalue||n.value||0,f=g.getCleanValue(r.pluck(n.startvalue,n.value,0)),u=Number(n.endvalue)||r.UNDEF,h=r.getValidValue(r.parseUnsafeString(r.pluck(o[e].line[a].tooltext,o[0].tooltext,t.trendlineToolText))),h=r.parseTooltext(h,[7,15,16,17,18,19],{startValue:f,startDataValue:g[k](f,ut),endValue:u||f,endDataValue:g[k](u||f,ut),axisName:t.axisName},n),f>et||f<ot||u>et||u<ot||(st?(l=r.parseUnsafeString(n.displayvalue||""),c=r.pluckNumber(n.istrendzone,t.isTrendZone,1),u!==r.UNDEF&&""!==u&&u!==f&&c?(v={fill:r.convertColor(r.pluck(n.color,t.trendlineColor),r.pluck(n.alpha,t.trendlineAlpha,40)),"stroke-width":0},s={fill:r.convertColor(r.pluck(n.color,i.color),r.pluck(i.valueAlpha,n.alpha,t.trendlineAlpha,99)),"vertical-align":r.POSITION_TOP,text:l}):(w=r.pluckNumber(n.thickness,t.trendlineThickness,1),v={stroke:r.convertColor(r.pluck(n.color,t.trendlineColor),r.pluck(n.alpha,t.trendlineAlpha,99)),"stroke-width":w,"stroke-dasharray":r.pluck(n.dashed,t.trendlinesAreDashed)===r.ONESTRING?r.getDashStyle(r.pluckNumber(n.dashlen,t.trendlinesDashLen),r.pluckNumber(n.dashgap,t.trendlinesDashGap)):r.DASH_DEF},s={fill:r.convertColor(r.pluck(n.color,i.color),r.pluck(i.valueAlpha,n.alpha,t.trendlineAlpha,99)),"vertical-align":r.POSITION_TOP,text:l})):ht&&(l=r.pluck(r.parseUnsafeString(n.displayvalue),n.startvalue,""),p=r.pluckNumber(n.valueonright,0),c=r.pluckNumber(n.istrendzone,t.isTrendZone,0),u!==r.UNDEF&&""!==u&&u!==f&&c?(v={fill:r.convertColor(r.pluck(n.color,t.trendlineColor),r.pluck(n.alpha,t.trendlineAlpha,40)),"stroke-width":0},s={"text-anchor":p?r.POSITION_START:r.POSITION_END,fill:r.convertColor(r.pluck(n.color,i.color),r.pluck(i.valueAlpha,n.alpha,t.trendlineAlpha,99)),text:l}):(w=r.pluckNumber(n.thickness,t.trendlineThickness,1),v={stroke:r.convertColor(r.pluck(n.color,t.trendlineColor),r.pluck(n.alpha,t.trendlineAlpha,99)),"stroke-width":w,"stroke-dasharray":r.pluck(n.dashed,t.trendlinesAreDashed)===r.ONESTRING?r.getDashStyle(r.pluckNumber(n.dashlen,t.trendlinesDashLen),r.pluckNumber(n.dashgap,t.trendlinesDashGap)):r.DASH_DEF},s={"text-anchor":p?r.POSITION_START:r.POSITION_END,fill:r.convertColor(r.pluck(n.color,i.color),r.pluck(i.valueAlpha,n.alpha,t.trendlineAlpha,99)),text:l})),s["text-bound"]=s.text?[i.backgroundColor,i.borderColor,i.borderThickness,i.borderPadding,i.borderRadius,i.borderDash]:[],t.showTooltip&&h||(h=""),it=t.forceTrendBelow?0:r.pluckNumber(n.showontop,lt.showtrendlinesontop,0),rt?(y=f,b=u!==r.UNDEF?u:f):(y=u!==r.UNDEF?u:f,b=f),d=c&&y!==b?"band":"line",y!==r.UNDEF&&this.setReferenceInfo({from:y,to:b,toolText:h,attr:v,layer:it?3:2,type:d,id:"trend"+ct+d}),t.parsedTrendLabels.push({css:at,valueOnRight:p,isTrendZone:c,from:f,to:u,attr:s}),ct+=1)},t.prototype._parsePlotLine=function(){var t,i,o,u,s,n=this.config,h=n.axisRange,c=h.max,a=h.min,p=l(this.getVisibleConfig()),w=n.showCanvasBorder,b=r.convertColor(n.divLineColor,n.divLineAlpha),k=n.divLineThickness,v=n.divLineIsDashed?r.getDashStyle(n.divLineDashLen,n.divLineDashGap):r.DASH_DEF,d=r.convertColor(n.zeroPlaneColor,n.zeroPlaneAlpha),g=n.zeroPlaneThickness,y=n._allTicks,nt=y.length,f=n.showZeroPlaneOnTop,e=n.minorTicks,tt=e&&e.length;if(n.lines.isDraw)for(i=0;i<nt;++i)p(t=y[i])&&(u={"stroke-dasharray":v},0===n.showZeroPlane&&0===t||w&&(t===c||t===a)||(0===t&&t!==a&&t!==c?(u.stroke=d,u["stroke-width"]=g,f=n.showZeroPlaneOnTop):(f=0,u.stroke=b,u["stroke-width"]=k),this.setReferenceInfo({type:"line",from:t,layer:0===t&&f?3:1,attr:u})));for(s={stroke:n.minorDivlinecolor,"stroke-width":n.minorDivLineThickness,"stroke-dasharray":v},i=0;i<tt;++i)o=e[i],this.setReferenceInfo({type:"line",from:o,layer:1,attr:s})},t.prototype._parseCategoryLine=function(n,t,i){var o,f,h,c,s,l,a=this.config,v=this.getFromEnv("color-manager"),e=this.getFromEnv("chartInstance").getJSONData().categories,u={};if(t=t||0,i=i||n?n.length-1:0,a.drawPlotlines)for(l=1!==this.getZoom(),h=this.getVisibleConfig(),e&&e[0]&&(u.verticalLineColor=e[0].verticallinecolor,u.verticalLineAlpha=e[0].verticallinealpha,u.verticalLineThickness=e[0].verticallinethickness,u.verticalLineDashed=e[0].verticallinedashed,u.verticalLineDashLen=e[0].verticallinedashlen,u.verticalLineDashGap=e[0].verticallinedashgap),o=t;o<=i;o+=1)(f=n[o])&&(s=r.pluckNumber(f.x,f.y,o),1===Number(f.showverticalline)&&(l&&(s<h.minValue||s>h.maxValue)||((c={stroke:r.convertColor(r.pluck(f.linecolor,u.verticalLineColor,a.divLineColor,v.getColor("divLineColor")),r.pluck(f.linealpha,u.verticalLineAlpha,v.getColor("divLineAlpha"))),"stroke-width":r.pluckNumber(f.linethickness,u.verticalLineThickness,1)})["stroke-dasharray"]=r.pluckNumber(f.linedashed,u.verticalLineDashed,0)?r.getDashStyle(r.pluckNumber(f.linedashLen,u.verticalLineDashLen,4),r.pluckNumber(f.linedashgap,u.verticalLineDashGap,2),c["stroke-width"]):r.DASH_DEF,this.setReferenceInfo({type:"line",from:s,layer:1,attr:c}))))},t.prototype._parsePlotBand=function(){var f,u,e,n,o,s,i=this.config,l=i.showAlternateGridColor,a=i.alternateGridColor,v=i.alternateGridAlpha,t=i._allTicks,y=c(this.getVisibleConfig()),h=i.isReverse;if(l&&i.band.isDraw)for(u=1,f={fill:r.toRaphaelColor(r.convertColor(a,v)),"stroke-width":0},n=0,e=t.length;n<e;++n,++u)y(t[n],t[n+1])&&u%2==0&&t[n+1]!==r.UNDEF&&(s=h?Math.max(t[n],t[n+1]):Math.min(t[n],t[n+1]),o=h?Math.min(t[n],t[n+1]):Math.max(t[n],t[n+1]),this.setReferenceInfo({from:s,to:o,type:"band",layer:0,attr:f}))},t.prototype.getReferenceInfo=function(){return this.config.referenceInfo},t.prototype.setReferenceInfo=function(n){this.config.referenceInfo.push(n)},t.prototype.clearReferenceInfo=function(){var n=this.config;n.referenceInfo=[];
43n.parsedTrendLabels=[];n.parsedVlineInfo=[]},t.prototype.resetStoredLimits=function(){this.config.dataLimit={}},t.prototype.decideScroll=function(){var n=this.getScrollType();"always"===n||"smart"===n&&1!==this.getZoom()?this.enableScroll():this.disableScroll()},t.prototype.getAxisDimension=function(){var n=this.config.axisDimention;return{x:n.x,y:n.y,opposite:n.opposite,axisLength:n.axisLength}},t}(v["default"]);e.prototype.setAxisDimention=s.setAxisDimention;e.prototype.shiftLabels=s.shiftLabels;e.prototype._createContainer=s._createContainer;t["default"]=e;t.getCrispPath=o;t.minimumEnquiry=a},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,r,u,e;t.__esModule=!0;f=i(138);r=i(125);u=function(n,t){return n<t?t:n};e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.getType=function(){return"axis"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.components={labels:[]};var t=this.config;t.setAdaptiveMin=0;t.adjustDiv=1;t.axisNameWidth=r.UNDEF;t.rotateAxisName=0;t.useEllipsesWhenOverflow=1;t.divLineColor=r.UNDEF;t.divLineAlpha=r.UNDEF;t.divLineThickness=r.UNDEF;t.divLineIsDashed=r.UNDEF;t.divLineDashLen=r.UNDEF;t.divLineDashGap=r.UNDEF;t.showAlternateGridColor=r.UNDEF;t.alternateGridColor=r.UNDEF;t.alternateGridAlpha=r.UNDEF;t.showZeroPlane=1;t.zeroPlaneAlpha=80;t.showZeroPlaneValue=1;t.showZeroPlaneOnTop=1;t.showAxisLine=r.UNDEF;t.axisLineThickness=r.UNDEF;t.axisLineAlpha=r.UNDEF;t.tickLength=0;t.trendlineToolText=r.UNDEF;t.trendlineColor="333333";t.trendlineThickness=1;t.trendlineAlpha=r.UNDEF;t.showTrendlinesOnTop=0;t.trendlinesAreDashed=0;t.trendlinesDashLen=5;t.trendlinesDashGap=2;t.isTrendZone=r.UNDEF;t.showTrendlines=1;t.showTrendlineLabels=1;t.showLabels=1;t.maxLabelHeight=r.UNDEF;t.rotateLabels=r.UNDEF;t.slantLabel=0;t.showAxisValues=1;t.showTooltip=1;t.isActive=!0;t.drawLabels=!0;t.drawOnlyCategoryLine=!1;t.drawLabelsOpposit=!1;t.drawPlotlines=!0;t.drawAxisLine=!0;t.drawPlotBands=!0;t.drawAxisName=!0;t.drawAxisNameOpposit=!1;t.axisNameAlignCanvas=!1;t.drawAxisNameFromBottom=!1;t.drawTrendLines=!0;t.drawTrendLabels=!0;t.drawTick=!0;t.drawTickMinor=!0;t.animateAxis=!0;t.drawAxisLineWRTCanvas=!0;t.isRelativeAxisInverse=!1;t.axisIndex=0;t.uniqueClassName=0;t.viewPortRatio={};t.canvas={};t.axisRange={};t.drawnStaggerLines=r.UNDEF;t.axisDimention={};t.forceZeroTick=!0;t.isZeroTickForced=!1;t.extremeLabels={firstLabel:{},lastLabel:{}};t._setRangeAgain=!1;t._defaultForceDecimal=r.UNDEF;t._defaultDecimalPrecision=r.UNDEF;t.rangeChanged=!1;t.dimensionChanged=!1;t.apparentScrollPos=0;t.visibleMin=r.UNDEF;t.visibleMax=r.UNDEF;t.setPadding=!1;t.trendLimits=r.UNDEF},t.prototype.configureAttributes=function(n){var i,e,o,s,t=this.config,h=this.getFromEnv("chart"),l=this.getFromEnv("dataSource"),a=h.config.is3D,f=l.chart,c=this.getFromEnv("number-formatter");i=t.rawAttr=n;t.referenceInfo=[];t.parsedTrendLabels=[];t.parsedVlineInfo=[];t.trendLines=i.trendlines;t.vTrendLines=i.vtrendlines;r.parseConfiguration(i,t);t.axisName=r.parseUnsafeString(i.axisName);t.axisValuePadding=t.axisNamePadding||r.pluckNumber(i.axisValuePadding,4);t.axisNamePadding=t.axisNamePadding||r.pluckNumber(i.axisNamePadding,5);t.maxLabelWidthPercent=r.pluckNumber(i.maxLabelWidthPercent);t.maxLabelWidthPercent=Math.abs(t.maxLabelWidthPercent);t.minLabelWidthPercent=Math.abs(r.pluckNumber(i.minLabelWidthPercent));t.numDivLines=r.pluckNumber(i.numDivLines,4);t.numDivLines=u(t.numDivLines,0);t.categoryNumDivLines=r.pluckNumber(i.numDivLines,0);t.axisValuePadding=u(t.axisValuePadding,0);t.isReverse=r.pluckNumber(i.isReverse,0);t.isOpposit=r.pluckNumber(i.isOpposit,0);t.isVertical=r.pluckNumber(i.isVertical,0);t.categoryDivLinesFromZero=1;t.axisMinValue=c.getCleanValue(i.axisMinValue);t.axisMaxValue=c.getCleanValue(i.axisMaxValue);
43t.zeroPlaneColor=r.pluck(i.zeroPlaneColor,i.divLineColor);t.zeroPlaneThickness=r.pluck(i.zeroPlaneThickness,i.divLineThickness);t.axisLineColor=r.convertColor(i.axisLineColor,i.axisLineAlpha);t.tickAlpha=r.pluckNumber(i.tickAlpha,t.axisLineAlpha);t.tickColor=r.convertColor(r.pluck(i.tickColor,i.axisLineColor),t.tickAlpha);t.tickWidth=r.pluckNumber(i.tickWidth,t.axisLineThickness);t.maxZoomLimit=r.pluckNumber(f.maxzoomlimit,h.maxzoomlimit,1e3);t.showVLines=r.pluckNumber(f.showvlines,1);t.showVLinesOnTop=r.pluckNumber(f.showvlinesontop,0);t.showVLineLabels=r.pluckNumber(f.showvlinelabels,this.showVLineLabels,1);t.showVLineLabelBorder=r.pluckNumber(f.showvlinelabelborder,1);t.rotateVLineLabels=r.pluckNumber(f.rotatevlinelabels,0);t.vLineColor=r.pluck(f.vlinecolor,"333333");t.vLineLabelColor=r.pluck(f.vlinelabelcolor);t.vLineThickness=r.pluck(f.vlinethickness,1);t.vLineAlpha=r.pluckNumber(f.vlinealpha,80);t.vLineLabelBgColor=r.pluck(f.vlinelabelbgcolor,"ffffff");t.vLineLabelBgAlpha=r.pluckNumber(f.vlinelabelbgalpha,a?50:100);t.staggerLines=Math.max(r.pluckNumber(f.staggerlines,2),2);t.staggerLines=u(t.staggerLines,1);t.trendlineValuesOnOpp=r.pluck(i.trendlineValuesOnOpp,i.trendlineValuesOnOpp,0);t.labelDisplay=r.pluck(i.labelDisplay,"auto").toLowerCase();t.labelStep=r.pluckNumber(i.labelStep,1);t.labelStep=Math.round(t.labelStep);t.labelStep=u(t.labelStep,1);t.startPad=0;t.endPad=0;t._oriLabelStep=t.labelStep;t.showLimits=r.pluckNumber(i.showLimits,t.showAxisValues);t.showUpperLimit=i.showLimits;t.showDivLineValues=r.pluckNumber(i.showDivLineValues,t.showAxisValues);t.showCanvasBorder=h.getChildren("canvas")[0].config.showCanvasBorder?1:0;t.axisBreak=i.axisBreaks;t.isBreak=!!t.axisBreak;t.isBreak&&this._processAxisBreak();e=(e=r.getFirstValue(i.axisNameBorderColor,r.BLANKSTRING))?r.convertColor(e,r.pluckNumber(i.axisNameBorderAlpha,i.axisNameAlpha,100)):r.BLANKSTRING;t.name=t.name||{};t.name.style={fontFamily:r.pluck(i.axisNameFont,i.outCanfontFamily),fontSize:r.pluck(i.axisNameFontSize,r.pInt(i.outCanfontSize))+r.PXSTRING,color:r.convertColor(r.pluck(i.axisNameFontColor,i.outCancolor),r.pluckNumber(i.axisNameFontAlpha,i.axisNameAlpha,100)),fontWeight:r.pluckNumber(i.axisNameFontBold,1)?"bold":r.NORMAL,fontStyle:r.pluckNumber(i.axisNameFontItalic)?"italic":r.NORMAL,border:e||i.axisNameBgColor?r.pluckNumber(i.axisNameBorderThickness,1)+"px solid":r.UNDEF,borderColor:e,borderThickness:r.pluckNumber(i.axisNameBorderThickness,1),borderPadding:r.pluckNumber(i.axisNameBorderPadding,2),borderRadius:r.pluckNumber(i.axisNameBorderRadius,0),backgroundColor:i.axisNameBgColor?r.convertColor(i.axisNameBgColor,r.pluckNumber(i.axisNameBgAlpha,i.axisNameAlpha,100)):r.BLANKSTRING,borderDash:r.pluckNumber(i.axisNameBorderDashed,0)?r.getDashStyle(r.pluckNumber(i.axisNameBorderDashLen,4),r.pluckNumber(i.axisNameBorderDashGap,2)):r.DASH_DEF};t.name.style.lineHeight=r.setLineHeight(t.name.style);o=(o=r.getFirstValue(f.trendvaluebordercolor,r.BLANKSTRING))?r.convertColor(o,r.pluckNumber(f.trendvalueborderalpha,f.trendvaluealpha,100)):r.BLANKSTRING;t.trend=t.trend||{};t.trend.trendStyle={fontFamily:r.pluck(f.trendvaluefont,i.outCanfontFamily),color:r.pluck(f.trendvaluefontcolor,i.trendlineColor,i.outCancolor,"333333"),valueAlpha:f.trendvaluealpha,fontSize:r.pluckFontSize(f.trendvaluefontsize,r.pInt(i.outCanfontSize))+r.PXSTRING,fontWeight:r.pluckNumber(f.trendvaluefontbold)?"bold":r.NORMAL,fontStyle:r.pluckNumber(f.trendvaluefontitalic)?"italic":r.NORMAL,border:o||f.trendvaluebgcolor?r.pluckNumber(f.trendvalueborderthickness,1)+"px solid":"",borderColor:o,borderThickness:r.pluckNumber(f.trendvalueborderthickness,1),borderPadding:r.pluckNumber(f.trendvalueborderpadding,2),borderRadius:r.pluckNumber(f.trendvalueborderradius,0),backgroundColor:f.trendvaluebgcolor?r.convertColor(f.trendvaluebgcolor,r.pluckNumber(f.trendvaluebgalpha,f.trendvaluealpha,100)):r.BLANKSTRING,borderDash:r.pluckNumber(f.trendvalueborderdashed,0)?r.getDashStyle(r.pluckNumber(f.trendvalueborderdashlen,4),r.pluckNumber(f.trendvalueborderdashgap,2)):r.DASH_DEF};t.trend.trendStyle.lineHeight=r.setLineHeight(t.trend.trendStyle);t.labels=t.labels||{};t.lines=t.lines||{};t.band=t.band||{};s=(s=r.getFirstValue(f.labelbordercolor,r.BLANKSTRING))?r.convertColor(s,r.pluckNumber(f.labelborderalpha,f.labelalpha,100)):r.BLANKSTRING;t.labels.style={fontFamily:r.pluck(i.labelFont,i.outCanfontFamily),fontSize:r.pluckNumber(i.labelFontSize,r.pInt(i.outCanfontSize))+r.PXSTRING,fontWeight:r.pluckNumber(i.labelFontBold)?"bold":r.NORMAL,fontStyle:r.pluckNumber(i.labelFontItalic)?"italic":r.NORMAL,color:r.convertColor(r.pluck(i.labelFontColor,i.outCancolor),r.pluckNumber(i.labelFontAlpha,100)),labelLink:f.labellink,border:s||f.labelbgcolor?r.pluckNumber(f.labelborderthickness,1)+"px solid":"",borderColor:s,borderThickness:r.pluckNumber(f.labelborderthickness,1),borderPadding:r.pluckNumber(f.labelborderpadding,2),borderRadius:r.pluckNumber(f.labelborderradiu
43s,0),backgroundColor:f.labelbgcolor?r.convertColor(f.labelbgcolor,r.pluckNumber(f.labelbgalpha,f.labelalpha,100)):r.BLANKSTRING,borderDash:r.pluckNumber(f.labelborderdashed,0)?r.getDashStyle(r.pluckNumber(f.labelborderdashlen,4),r.pluckNumber(f.labelborderdashgap,2)):r.DASH_DEF};t.labels.style.lineHeight=r.setLineHeight(t.labels.style);t.numberFormatterFn=r.pluck(i.numberFormatterFn);t.apparentScrollPos=i.apparentScrollPos||t.apparentScrollPos;t.axisRange={};t.dataLimit={};t.axisEndLabelDisplaySpace={left:0,right:0,top:0,bottom:0};t.isConfigured=!0;t._defaultForceDecimal=r.UNDEF;t._defaultDecimalPrecision=r.UNDEF;t.lines.isDraw=r.pluckNumber(i.lines&&i.lines.isDraw,1);t.band.isDraw=r.pluckNumber(i.band&&i.band.isDraw,1)},t.prototype.createContainer=function(n,t,i){var r=this.getFromEnv("animationManager");return this.addContainer(n,r.setAnimation({container:i,attr:t,el:this.getContainer(n)||"group",component:this,label:"group"}))},t.prototype.createGroup=function(n,t,i){var r=arguments.length>3&&arguments[3]!==undefined?arguments[3]:"group";return this.getFromEnv("animationManager").setAnimation({container:i,attr:t,el:this.config[n]||"group",component:this,label:r})},t.prototype.getValuePadding=function(){var n=this.config;return{left:n.startPad,right:n.endPad}},t.prototype.draw=function(){var r,u,f,e,t=this.config,s=this.getFromEnv("chart").config,h=t.isVertical,n=s.viewPortConfig,o=this.getChildren().limitUpdater,i=t.viewPortRatio||{};this._createContainer();f=n.y*n.scaleY;e=n.x*n.scaleX;i.scaleX&&i.scaleY&&(i.scaleX!==n.scaleX||i.scaleY!==n.scaleY)?(i.scaleX=n.scaleX,i.scaleY=n.scaleY,this._drawComponents()):(h?(u=f-n.y*n.scaleY,t.axisContainer.transform("t0,"+u),t.axisLabelContainerTop.transform("t0,"+u)):(r=e-n.x*n.scaleX,t.axisContainer.transform("t"+r+",0"),t.axisLabelContainerTop.transform("t"+r+",0")),this._drawComponents());this.addExtEventListener("animationcomplete",function(){o&&o.forEach(function(n){n.draw()})},this.getFromEnv("animationmanager"));this.addToEnv("prevScale",this.getScale().copy())},t.prototype.setScale=function(n){this.config.scale=n},t.prototype.getScale=function(){return this.config.scale},t.prototype.getLimit=function(){var n=this.config.axisRange;return{min:n.min,max:n.max,tickInterval:n.tickInterval}},t.prototype.getVisibleConfig=function(){var n=this.config;return{minValue:n.visibleMin,maxValue:n.visibleMax}},t.prototype.setAxisConfig=function(n){var t,i=this.config;for(t in n)n.hasOwnProperty(t)&&(i[t]=n[t])},t.prototype.getAxisConfig=function(n){var t=this.config;return n?t[n]:t},t.prototype.getVisibleLength=function(){var n=this.getVisibleConfig();return Math.abs(n.maxValue-n.minValue)},t.prototype.getAxisEndLabelDisplaySpace=function(){return this.config.axisEndLabelDisplaySpace||{}},t.prototype.getTicksLen=function(){var n=this.config.tickValues;return n&&n.tickValue.length||0},t}(f.ComponentInterface);t["default"]=e},function(n,t){"use strict";t.__esModule=!0;var i=[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},slot:"axis"}],r=[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}],u={"text.appearing":r,"path.appearing":r,"rect.appearing":r},f={"text.appearing":i,"path.appearing":i,"rect.appearing":i,"scroller.appearing":i};t["default"]={"initial.axis.numeric":f,"initial.axis.category":f,"initial.axis.log":f,"update.axis.numeric":u,"update.axis.category":u,"update.axis.log":u};t.appearingAxis=i;t.appearingFinal=r;t.axisAnimationAxis=f;t.axisAnimationFinal=u},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n,t){n=Number(n);var i=(t=Number(t))-n;return function(t){return i*t+n}}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n,t){return n.filter(function(n){return t.indexOf(n)<0})}},function(n,t,i){var r=i(385),u=i(203)(function(n,t,i){for(var f=[],u=0,e=t.length;u<e;)r(n,t[u],i)||r(n,t[u],f)||f.push(t[u]),u+=1;return f});n.exports=u},function(n){n.exports=function(n,t,i){for(var r=0,u=i.length;r<u;){if(n(t,i[r]))return!0;r+=1}return!1}},function(n,t,i){"use strict";t.__esModule=!0;t._parseLabel=t.extractStyleInfo=t.getLabel=t.setAxisPadding=t._createContainer=t.shiftLabels=t.setTickValues=t._drawLabel=t.getPixel=t.getTrendLineLimits=t.setDataLimit=t.setAxisDimention=undefined;var f,r=i(125),o=i(387),s=(f=o)&&f.__esModule?f:{"default":f},u={wrtVisible:!0},e=function(n,t){var i,u,f,h,e,o,s,c={labelfont:["fontFamily"],labelfontcolor:["fontColor"],labelfontsize:["fontSize",function(n){return n?r.pluckNumber(n)+"px":r.UNDEF}],labelfontbold:["fontWeight",function(n){return n?"bold":"normal"}],labelfontitalic:["fontStyle",function(n){return n?"italic":"normal"}],labelfontalpha:["fontAlpha"]},l=t.getFromEnv("dataSource").categories,a=l&&l[0]||{},p=function(n){return n},v=!1,y={};for(i in a)"category"===i||i in n||(u=a[i],n[i]=u);for(i in c)e=(h=c[i])[0],o=h[1]||p,u=n[i],f=n[e.toLowerCase()],u===r.UNDEF&&f===r.UNDEF||(s=o(u))===r.UNDEF&&(s=o(f))===r.UNDEF||(y[e]=s,v=!0),v&&(n.style=y)};t.setAxisDimention=function(n){var u=this.getScale(),i=this.config,f=this.getFromEnv("chart").config,t=i.axisDimention||(i.axisDimention={}),e=i.isReverse;t.opposite=r.pluckNumber(n.opposite,t.opposite);t.x=r.pluckNumber(n.x,t.x,f.canvasLeft);t.y=r.pluckNumber(n.y,t.y,f.canvasTop);t.axisLength=r.pluckNumber(n.axisLength,t.axisLength);i.isVertical?e?u.setRange([t.y+t.axisLength,t.y]):u.setRange([t.y,t.y+t.axisLength]):e?u.setRange([t.x+t.axisLength,t.x]):u.setRange([t.x,t.x+t.axisLength]);i.translation=this._computeTranslation()};t.setDataLimit=function(n,t){var s,h,c,l,i=this.config,u=this.getFromEnv("dataSource").categories,v=u&&u[0]&&u[0].category,y=i.startPad||0,p=i.endPad||0,a=i.xAxisLabelMode,f,e,o;("categories"===a||"mixed"===a)&&(f=r.extent(v,function(n){return Number(n.x)}),s=f[0],h=f[1]);e=this.getTrendLineLimits();c=e[0];l=e[1];o=r.extent([c,l,s,h,t,n],function(n){return Number(n)});t=o[0];n=o[1];i.originalMax=n;i.originalMin=t;n=i.isPercent?100:n+p;t=i.isPercent?0:t-y;this._setAxisRange({min:t,max:n});i.axisRange.tickInterval!==r.UNDEF&&this._adjustNumberFormatter(i.axisRange.tickInterval)};t.getTrendLineLimits=function(){var f,e,o,s,n=this.config,t=n.trendLines||n.vTrendLines||n.trendPoints,h=t&&t[0]&&t[0].line||t&&t.point,i,u;return n.trendLimits?n.trendLimits:(i=r.extent(h,function(n){return""===n.startvalue?r.UNDEF:Number(n.startvalue)}),f=i[0],e=i[1],u=r.extent(h,function(n){return""===n.endvalue?r.UNDEF:Number(n.endvalue)}),o=u[0],s=u[1],n.trendLimits=r.extent([f,e,o,s],function(n){return Number(n)}),n.trendLimits)};t.getPixel=function(n){return this.getScale().getRangeValue(n)};t._drawLabel=function(){var i,u,f,t,e,a,o,h,v,c,y,n=this.config,g=this.getFromEnv("animationManager"),p=this.getFromEnv("toolTipController"),w=n.axisRange,r=n.labels.style,b=this.components,nt=w.max,tt=w.min,k=n.axisContainer,d=n.extremeLabels,it=n.ticks,l=[],rt={fontFamily:r.fontFamily,fontSize:r.fontSize,fontWeight:r.fontWeight,fontStyle:r.fontStyle,lineHeight:r.lineHeight};if(n.labels.isDraw)for(y=b.labels,c=b.labelIndexArr,k.css(rt),u=0,f=c&&c.length;u<f;u+=1)e=(h=it[i=c[u]])+"_label",t=this.getGraphicalElement(e),o=y[i].config.props.label.attr,t=this.addGraphicalElement(e,g.setAnimation({el:t||"text",attr:o,container:k,data:{value:h},component:this,label:"text"})),o.tooltext?p.enableToolTip(t,o.tooltext):p.disableToolTip(t),h===nt?d.lastLabel.graphic=t:h===tt&&(d.firstLabel.graphic=t),l.push(e);for(i=0,f=(v=s["default"](n.prevIntervalArr,l)).length;i<f;i++)(a=this.getGraphicalElement(v[i]))&&this.removeGraphicalElement(a);n.prevIntervalArr=l};t.setTickValues=function(n){var f,t,h=n&&n.length,i=this.config,c=i.startPad||0,l=this.getFromEnv("chart"),u=0,s=i.tickValues={},o=s.tickValue=[],a=s.vline=[],v=s.tickIdMap={},y=i.endPad||0;for(i.hasCategory=1,f=0;f<h;f+=1)(t=r.extend2({},n[f])).vline?(t.startIndex=o.length-1,a.push(t)):(t.id&&(v[t.id.toLowerCase()]={tickObj:t,index:u}),(i.mapTickValuesById&&t.id||!i.mapTickValuesById)&&(e(t,l),o.push(t),o[u].label=r.parseUnsafeString(o[u].label),u+=1));i.oriCatLen=u;this._setAxisRange({max:Number(r.toPrecision(u-1+y,10)),min:Number(r.toPrecision(0-c,10)),tickInterval:Number(r.toPrecision(1,10))})};t.shiftLabels=function(n,t){var i=this.config.labels;i.shiftX=n;i.shiftY=t};t._createContainer=function(){var t,u,f,e,o,n=this.config,l=n.isVertical,s=this.getLinkedParent().getChildContainer(),i=s.axisBottomGroup,r=s.axisTopGroup,h=-this.getTranslation(),c=l?"T0,"+h:"T"+h+",0";u=this.createContainer("axisNameGroup",{name:"dataset-Name-group"},i);t=this.createContainer("axisLineGroup",{name:"axis-Line-group"},r);f=this.createContainer("axisTrendGroupTop",{name:"dataset-Trend-group-top"},r);e=this.createContainer("axisLabelGroup",{name:"dataset-Label-group"},i);o=this.createContainer("axisLabelGroupTop",{name:"dataset-Label-group"},r);this.getGraphicalElement("scrollerContainer")||this.addGraphicalElement("scrollerContainer",this.createGroup("scrollerContainer",{name:"scroller-container"},t,"scroller"));n.axisContainer=this.createGroup("axisContainer",{name:"dataset-axis",transform:c},e);n.axisLabelContainerTop=this.createGroup("axisLabelContainerTop",{name:"dataset-top-label",transform:c},o);n.axisAxisLineContainer=this.createGroup("axisAxisLineContainer",{name:"axis-line-tick"},t);n.axisTrendLabelContainer=this.createGroup("axisTrendLabelContainer",{name:"dataset-axis-trend-label"},f);n.axisNameContainer=this.createGroup("axisNameContainer",{name:"dataset-axis-name"},u);n.axisAxisLineContainerBottom=this.createGroup("axisAxisLineContainerBottom",{name:"axis-line-tick-bottom"},i)};t.setAxisPadding=function(){var t,i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0,n=this.config,u=this.getScale().getDomain(),f=u[0],e=u[1];1===n.oriCatLen&&(0===i&&(i=.5),0===r&&(r=.5));t=i-n.startPad;n.startPad=Math.max(n.startPad,i);n.endPad=Math.max(n.endPad,r);t>0&&(n.setPadding=!0,this._setAxisRange({min:f-t,max:e+t}));n.tickValues||n.originalMax&&n.originalMin&&this.setDataLimit(n.originalMax,n.originalMin)};t.getLabel=function(n){var i=this.config,t=i.tickValues&&i.tickValues.tickValue[n],u={};return t&&t.tooltext&&(u.label=t.label,t.tooltext=r.parseTooltext(t.tooltext,[3],u)),{label:t&&(t.oriLabel||t.label),tooltext:t&&t.tooltext}};t.extractStyleInfo=e;t._parseLabel=function(){var v,dt,st,h,ht,ct,ft,gt,b,t,ni,ti,i,f,nt,k,e=this,n=e.config,et=e.getLinkedItem("canvas").getEffectiveDimensions(),lt=n.axisDimention,ii=e.getFromEnv("chart"),ri=ii.config,at=n.axisRange,s=n.isOpposit,tt=n.labels,ui=e.components,vt=ui.labels,y=tt.style,it=ii.getFromEnv("smartLabel"),l=n.isVertical,p=at.max,c=at.min,rt=e.getFromEnv("number-formatter"),fi=et.top,yt=et.left,si=fi+et.height,pt=yt+et.width,ot=n.labelPadding,ei=n.extremeLabels,ut=l?lt.x:lt.y,hi=lt.opposite,wt=n.labelMaxH,bt=n.labelMaxW,ci=at.tickInterval,d=Math.abs(e.getPixel(c,u)-e.getPixel(c+ci,u)),o=[],li=n.ticks,w=0,a=n.isReverse,ai=r.pluckNumber(e.getFromEnv("chart-attrib").showzeroplanevalue),kt=!0,oi=e.getLimit(),g;if(it.useEllipsesOnOverflow(ri.useEllipsesWhenOverflow),it.setStyle({fontSize:y.fontSize,fontFamily:y.fontFamily,lineHeight:y.lineHeight,fontWeight:y.fontWeight}),(h=y.lineHeight)&&-1!==h.indexOf("px")&&(h=parseFloat(h.replace("px",""))),0===ai&&(kt=!1),n.labels.isDraw)for((n.drawLabelsOpposit&&(s=!s,ut=hi),b={fill:y.color,"line-height":h,"font-size":y.fontSize,opacity:1},st=n.labels.rotation,l?(n.labelMaxH>d&&!n.tickValues&&(ft=Math.ceil(n.labelMaxH/d)),b["text-anchor"]=s?r.POSITION_START:r.POSITION_END):(n.labelMaxW>d&&!n.tickValues&&(ft=Math.ceil(n.labelMaxW/d)),st?(b["text-anchor"]=s?r.POSITION_START:r.POSITION_END,b["vertical-align"]="middle"):b["vertical-align"]=s?r.POSITION_BOTTOM:r.POSITION_TOP,ni=yt,ti=ri.width-pt),ft>n.labels.step&&(n.labels.step=ft),gt=n.numberFormatterFn?rt[n.numberFormatterFn]:n.isPercent?rt.yAxisPercentValue:l?rt.yAxis:rt.xAxis,ei.firstLabel={},ei.lastLabel={},k=li.filter(function(t,i,r){return 0!==t||n.showZeroPlaneValue?!(!l&&i!==r.length-1&&e.getPixel(t,u)+n.labelMaxW>pt||(i%n.labels.step==0?(o[w++]=i,0):!n.labels.drawLimitVal||0!==i&&i!==r.length-1||(o[w++]=i,0))):!(!kt||kt&&oi.max!==t&&oi.min!==t||(o[w++]=i,0))}),n.isZeroTickForced&&-1!==k.indexOf(0))&&(g=void 0,w=0,o=[],nt=e.getPixel(0),k=k.filter(function(n,t,i){return g=e.getPixel(n),0===i[t+1]||0===i[t-1]?l?!(g
43+wt>=nt&&nt>=g-wt||(o[w++]=t,0)):!(g+bt>=nt&&nt>=g-bt||(o[w++]=t,0)):(o[w++]=t,!0)})),ht=(l?bt:d/2)*n.labels.step,ct=l?d/2:wt,ui.labelIndexArr=o.slice(),v=0,dt=k.length;v<dt;v+=1)i=k[v],vt[o[v]]=vt[o[v]]||{config:{props:{label:{}}}},t=Object.assign({},b),f=r.UNDEF,(n.labels.drawNormalVal||i===c||i===p)&&(n.labels.drawLimitVal||i!==c&&i!==p)?i===c&&n.lowerLimitDisplay&&n.labels.drawLimitVal?(f=it.getSmartText(n.lowerLimitDisplay,ht,ct+h/2),t.text=f.text,t.tooltext=f.tooltext):i===p&&n.upperLimitDisplay&&n.labels.drawLimitVal?(f=it.getSmartText(n.upperLimitDisplay,ht,ct+h/2),t.text=f.text,t.tooltext=f.tooltext):(t.text=""+gt.call(rt,i,n.axisIndex),f=it.getOriSize(t.text)):t.text="",l?(t.x=s?(ut||pt)+ot:(ut||yt)-ot,t.y=e.getPixel(i,u),(a&&i===c&&n.lowerLimitDisplay||!a&&i===p&&n.upperLimitDisplay)&&f&&f.height>h&&(t["vertical-align"]=r.POSITION_BOTTOM),(a&&i===p&&n.upperLimitDisplay||!a&&i===c&&n.lowerLimitDisplay)&&f&&f.height>h&&(t["vertical-align"]=r.POSITION_TOP),n.placeValuesInside&&(t["text-anchor"]=s?r.POSITION_END:r.POSITION_START)):(t.x=e.getPixel(i,u),t.y=s?(ut||fi)-ot:(ut||si)+ot,(!a&&i===c||a&&i===p)&&f&&f.width>2*ni&&(t["text-anchor"]=r.POSITION_START),(!a&&i===p||a&&i===c)&&f&&f.width>2*ti&&(t["text-anchor"]=r.POSITION_END),t["vertical-align"]=n.placeValuesInside?s?r.POSITION_TOP:r.POSITION_BOTTOM:s?r.POSITION_BOTTOM:r.POSITION_TOP),tt.shiftX&&(t.x+=tt.shiftX),tt.shiftY&&(t.y+=tt.shiftY),t.transform=r.getSuggestiveRotation(st,t.x,t.y),vt[o[v]].config.props.label.attr=t}},function(n,t,i){var r=i(388),u=i(199)(function(n,t){for(var u=[],i=0,f=n.length;i<f;)r(n[i],t)||r(n[i],u)||(u[u.length]=n[i]),i+=1;return u});n.exports=u},function(n,t,i){var r=i(389);n.exports=function(n,t){return r(t,n,0)>=0}},function(n,t,i){var r=i(390);n.exports=function(n,t,i){var f,u;if("function"==typeof n.indexOf)switch(typeof t){case"number":if(0===t){for(f=1/t;i<n.length;){if(0===(u=n[i])&&1/u===f)return i;i+=1}return-1}if(t!=t){for(;i<n.length;){if("number"==typeof(u=n[i])&&u!=u)return i;i+=1}return-1}return n.indexOf(t,i);case"string":case"boolean":case"function":case"undefined":return n.indexOf(t,i);case"object":if(null===t)return n.indexOf(t,i)}for(;i<n.length;){if(r(n[i],t))return i;i+=1}return-1}},function(n,t,i){var r=i(199),u=i(391),f=r(function(n,t){return u(n,t,[],[])});n.exports=f},function(n,t,i){function h(n,t,i,r){function h(n,t){return u(n,t,i.slice(),r.slice())}var o=f(n),s=f(t);return!e(function(n,t){return!e(h,t,n)},s,o)}function u(n,t,i,f){var a,e,v,p,w,y;if(r(n,t))return!0;if((a=s(n),a!==s(t))||null==n||null==t)return!1;if("function"==typeof n["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n);if("function"==typeof n.equals||"function"==typeof t.equals)return"function"==typeof n.equals&&n.equals(t)&&"function"==typeof t.equals&&t.equals(n);switch(a){case"Arguments":case"Array":case"Object":if("function"==typeof n.constructor&&"Promise"===c(n.constructor))return n===t;break;case"Boolean":case"Number":case"String":if(typeof n!=typeof t||!r(n.valueOf(),t.valueOf()))return!1;break;case"Date":if(!r(n.valueOf(),t.valueOf()))return!1;break;case"Error":return n.name===t.name&&n.message===t.message;case"RegExp":if(n.source!==t.source||n.global!==t.global||n.ignoreCase!==t.ignoreCase||n.multiline!==t.multiline||n.sticky!==t.sticky||n.unicode!==t.unicode)return!1}for(e=i.length-1;e>=0;){if(i[e]===n)return f[e]===t;e-=1}switch(a){case"Map":return n.size===t.size&&h(n.entries(),t.entries(),i.concat([n]),f.concat([t]));case"Set":return n.size===t.size&&h(n.values(),t.values(),i.concat([n]),f.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}if(v=o(n),v.length!==o(t).length)return!1;for(p=i.concat([n]),w=f.concat([t]),e=v.length-1;e>=0;){if(y=v[e],!l(y,t)||!u(t[y],n[y],p,w))return!1;e-=1}return!0}var f=i(392),e=i(385),c=i(393),l=i(206),r=i(394),o=i(395),s=i(397);n.exports=u},function(n){n.exports=function(n){for(var t,i=[];!(t=n.next()).done;)i.push(t.value);return i}},function(n){n.exports=function(n){var t=String(n).match(/^function (\w*)/);return null==t?"":t[1]}},function(n,t,i){var r=i(199)(function(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t});n.exports=r},function(n,t,i){var e=i(200),r=i(206),o=i(396),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
43ing"],f=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),h=function(n,t){for(var i=0;i<n.length;){if(n[i]===t)return!0;i+=1}return!1},c=e("function"!=typeof Object.keys||f?function(n){if(Object(n)!==n)return[];var t,e,i=[],c=f&&o(n);for(t in n)!r(t,n)||c&&"length"===t||(i[i.length]=t);if(s)for(e=u.length-1;e>=0;)r(t=u[e],n)&&!h(i,t)&&(i[i.length]=t),e-=1;return i}:function(n){return Object(n)!==n?[]:Object.keys(n)});n.exports=c},function(n,t,i){var u=i(206),r=Object.prototype.toString;n.exports=function(){return"[object Arguments]"===r.call(arguments)?function(n){return"[object Arguments]"===r.call(n)}:function(n){return u("callee",n)}}},function(n,t,i){var r=i(200)(function(n){return null===n?"Null":n===undefined?"Undefined":Object.prototype.toString.call(n).slice(8,-1)});n.exports=r},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(){var u,n=void 0,i=void 0,t=void 0,r=void 0,f=[];if(arguments.length>2?(n=arguments.length<=0?undefined:arguments[0],i=arguments.length<=1?undefined:arguments[1],t=arguments.length<=2?undefined:arguments[2]):1===arguments.length?(n=0,i=arguments.length<=0?undefined:arguments[0],t=1):(n=arguments.length<=0?undefined:arguments[0],i=arguments.length<=1?undefined:arguments[1],t=1),u=Math.floor(Math.max(0,Math.ceil((i-n)/t))),isFinite(u))for(r=0;r<u;++r)f.push(t*r+n);return f}},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e;t.__esModule=!0;var u=i(400),o=f(u),r=i(416),s=f(r),h=f(i(382)),c=i(417);e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this,u.deInterpolateLinear,h["default"]))}return l(t,n),t.prototype.ticks=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:7,n=this.getDomain();return this.majorTicks=s["default"](n[0],n[n.length-1],t)},t.prototype.tickFormat=function(n,t){return c.tickFormat(this.getDomain(),n,t,this._localeConverter)},t.prototype.nice=function(){var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:7,u=this.getDomain(),f=0,e=u.length-1,t=u[f],i=u[e],n=void 0;return i<t&&(n=t,t=i,i=n,n=f,f=e,e=n),(n=r.tickIncrement(t,i,o))>0?(t=Math.floor(t/n)*n,i=Math.ceil(i/n)*n,n=r.tickIncrement(t,i,o)):n<0&&(t=Math.ceil(t*n)/n,i=Math.floor(i*n)/n,n=r.tickIncrement(t,i,o)),n>0?(u[f]=Math.floor(t/n)*n,u[e]=Math.ceil(i/n)*n,this.setDomain(u)):n<0&&(u[f]=Math.ceil(t*n)/n,u[e]=Math.floor(i*n)/n,this.setDomain(u)),this},t.prototype.copy=function(){return u.copyScale(this,new t)},t.prototype.minorTicks=function(){for(var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:4,n=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.majorTicks||this.ticks(),o=n.length,s=n[1]-n[0],u=[],t=void 0,f=void 0,e=void 0,i=void 0,i=0;i<o-1;++i)for(e=n[i],f=s/(Number(r)+1),t=1;t<=r;t+=1)u.push(e+f*t);return u},t.prototype.contextTicks=function(){return this.contextTicksArr||[]},t.prototype.getType=function(){return"linear"},t}(o["default"]);t["default"]=e},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function e(n,t,i,r){var u,f;return n[0]>n[1]?(u=i(n[1],n[0]),f=r(t[1],t[0])):(u=i(n[0],n[1]),f=r(t[0],t[1])),function(n){return f(u(n))}}function c(n,t){n=Number(n);var i=(t=Number(t))-n;return i?function(t){return(t-n)/i}:v["default"](i)}var h,r,l;t.__esModule=!0;t.bimap=t.deInterpolateLinear=t.copyScale=undefined;var o=u(i(401)),a=u(i(403)),v=u(i(402)),f=u(i(404)),s=i(405);h=0;r=[0,1];l=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.domain=r;this.range=r;this.deInterpolate=t;this.reInterpolate=i;this.interpolate=o["default"];this.clamp=!1;this.input=null;this.output=null;this.locale=f["default"];this._localeConverter=new s.NumberConverter(f["default"]);this._rescale();this._id="scale_"+h++}return n.prototype._rescale=function(){return this.input=null,this.output=null,this},n.prototype.setDomain=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:r;return this.domain=n.map(Number),this._rescale()},n.prototype.getDomain=function(){return this.domain.slice()},n.prototype.setRange=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:r;return this.range=n.slice(),this._rescale()},n.prototype.getRange=function(){return this.range.slice()},n.prototype.setInterpolate=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:o["default"];return this.interpolate=n,this._rescale()},n.prototype.getInterpolate=function(){return this.interpolate},n.prototype.setClamp=function(){var n=arguments.length>0&&arguments[0]!==undefined&&arguments[0];return this.clamp=!!n,this._rescale()},n.prototype.getClamp=function(){return this.clamp},n.prototype.rangeRound=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:r;return this.range=n.slice(),this.interpolate=a["default"],this._rescale()},n.prototype.getRangeValue=function(n){n=null!==n?n:undefined;var t=this.getClamp()?function(n){return function(t,i){t=Number(t);i=Number(i);var r=n(t,i);return function(n){return n<=t?0:n>=i?1:r(n)}}}(this.deInterpolate):this.deInterpolate;return this.output||(this.output=e(this.getDomain(),this.getRange(),t,this.interpolate)),this.output(Number(n))},n.prototype.getDomainValue=function(n){var t=this.getClamp()?function(n){return function(t,i){t=Number(t);i=Number(i);var r=n(t,i);return function(n){return n<=0?t:n>=1?i:r(n)}}}(this.reInterpolate):this.reInterpolate;return this.input||(this.input=e(this.getRange(),this.getDomain(),c,t)),this.input(Number(n))},n.prototype.setLocale=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:f["default"];return this.locale=n,this._localeConverter=new s.NumberConverter(n),this},n.prototype.getLocale=function(){return this.locale},n.prototype.getId=function(){return this._id},n}();t.copyScale=function(n,t){return t.setInterpolate(n.getInterpolate()).setClamp(n.getClamp()).setDomain(n.getDomain()).setRange(n.getRange())};t.deInterpolateLinear=c;t.bimap=e;t["default"]=l},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
43}function u(n){return null!==n&&void 0!==n}t.__esModule=!0;var f=r(i(382)),e=r(i(402));t["default"]=function(n,t){var i=f["default"];return u(t)&&u(n)&&"boolean"!=typeof t?i(n,t):e["default"](t)}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){return function(){return n}}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n,t){n=Number(n);var i=(t=Number(t))-n;return function(t){return Math.round(i*t+n)}}},function(n,t){"use strict";t.__esModule=!0;t["default"]={decimal:".",thousands:",",grouping:[3],prefix:"$",suffix:""}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var u,f;t.__esModule=!0;t.NumberConverter=undefined;var s=r(i(404)),h=r(i(406)),e=r(i(408)),c=r(i(414)),l=r(i(415)),a=r(i(409)),o=i(125);u=function(n){return n};f=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.localeInfo={group:t.grouping&&t.thousands?c["default"](t.grouping,t.thousands):u,prefix:t.prefix,suffix:t.suffix,decimal:t.decimal,numerals:t.numerals?l["default"](t.numerals):u,percent:t.percent||"%",prefixes:t.prefixes||["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]}}return n.prototype.formatter=function(n){return new e["default"](n,this.localeInfo)},n.prototype.formatPrefix=function(n,t){(n=new a["default"](n)).type="f";var u=this.localeInfo.prefix,f=this.localeInfo.suffix,s=o.extend2(o.extend2({},this.localeInfo),{prefix:"",suffix:""}),i=new e["default"](n,s),r=3*Math.max(-8,Math.min(8,Math.floor(h["default"](t)/3))),c=Math.pow(10,-r),l=this.localeInfo.prefixes[8+r/3];return{format:function(n){return u+i.format(c*n)+l+f},setCustomPrefix:function(n){return i.setCustomPrefix(n),this},getCustomPrefix:function(n){return i.getCustomPrefix(n)},setCustomSuffix:function(n){return i.setCustomSuffix(n),this},getCustomSuffix:function(n){return i.getCustomSuffix(n)}}},n}();t.NumberConverter=f;t["default"]=new f(s["default"])},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(407),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=function(n){return(n=f["default"](Math.abs(n)))?n[1]:NaN}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n,t){var r,i=void 0;return(r=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0?null:[(i=n.slice(0,r)).length>
431?i[0]+i.slice(2):i,+n.slice(r+1)]}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var u,e;t.__esModule=!0;var o=r(i(409)),f=r(i(410)),s=r(i(413)),h=i(411);u=function(n){return void 0===n||null===n};e=function(){function n(t,i){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.specifier=new o["default"](t);this.localeInfo=i;var r=this.specifier.symbol;this.fill=this.specifier.fill;this.align=this.specifier.align;this.sign=this.specifier.sign;this.zero=this.specifier.zero;this.width=this.specifier.width;this.comma=this.specifier.comma;this.precision=this.specifier.precision;this.trim=this.specifier.trim;this.type=this.specifier.type;"n"===this.type?(this.comma=!0,this.type="g"):f["default"][this.type]||(u(this.precision)&&(this.precision=12),this.trim=!0,this.type="g");(this.zero||"0"===this.fill&&"="===this.align)&&(this.zero=!0,this.fill="0",this.align="=");this.prefix="$"===r?this.localeInfo.prefix:"#"===r&&/[boxX]/.test(this.type)?"0"+this.type.toLowerCase():"";this.suffix="$"===r?this.localeInfo.suffix:/[%p]/.test(this.type)?this.localeInfo.percent:"";this.formatType=f["default"][this.type];this.mayHaveSuffix=/[defgprs%]/.test(this.type);this.precision=u(this.precision)?6:/[gprs]/.test(this.type)?Math.max(1,Math.min(21,this.precision)):Math.max(0,Math.min(20,this.precision));this.setCustomPrefix("");this.setCustomSuffix("")}return n.prototype.format=function(n){var r=this.prefix,t=this.suffix,c=this.formatType,f=void 0,e=void 0,i=void 0,u=void 0,l=void 0,o=void 0;if("c"===this.type)t=c(n)+t,n="";else if(f=(n=+n)<0,n=c(Math.abs(n),this.precision),this.trim&&(n=s["default"](n)),f&&0==+n&&(f=!1),r=f?("("===this.sign?this.sign:"-")+r:"-"===this.sign||"("===this.sign?""+r:this.sign+r,t="s"===this.type?this.localeInfo.prefixes[8+h.prefixExponent/3]+t:""+t,t+=f&&"("===this.sign?")":"",this.mayHaveSuffix)for(u=-1,l=n.length;++u<l;)if((o=n.charCodeAt(u))<48||o>57){t=(46===o?this.localeInfo.decimal+n.slice(u+1):n.slice(u))+t;n=n.slice(0,u);break}switch(this.comma&&!this.zero&&(n=this.localeInfo.group(n,Infinity)),i=(e=r.length+n.length+t.length)<this.width?new Array(this.width-e+1).join(this.fill):"",this.comma&&this.zero&&(n=this.localeInfo.group(i+n,i.length?this.width-t.length:Infinity),i=""),this.align){case"<":n=r+n+t+i;break;case"=":n=r+i+n+t;break;case"^":e=i.length/2;n=i.slice(0,e)+r+n+t+i.slice(e);break;default:n=i+r+n+t}return this.getCustomPrefix()+this.localeInfo.numerals(n)+this.getCustomSuffix()},n.prototype.setCustomPrefix=function(n){return this._customPrefix=n+"",this},n.prototype.getCustomPrefix=function(){return this._customPrefix},n.prototype.setCustomSuffix=function(n){return this._customSuffix=n+"",this},n.prototype.getCustomSuffix=function(){return this._customSuffix},n.prototype.toString=function(){return this.specifier.toString()},n}();t["default"]=e},function(n,t){"use strict";t.__esModule=!0;var r=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i,i=function(n){return void 0===n||null===n},u=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);var i=r.exec(t);if(!i)throw new Error("Invalid number format specifier: "+t);this.fill=i[1]||" ";this.align=i[2]||">";this.sign=i[3]||"-";this.symbol=i[4]||"";this.zero=Boolean(i[5]);this.width=i[6]&&Number(i[6]);this.comma=Boolean(i[7]);this.precision=i[8]&&Number(i[8].slice(1));this.trim=Boolean(i[9]);this.type=i[10]||""}return n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(i(this.width)?"":M
43ath.max(1,0|this.width))+(this.comma?",":"")+(i(this.precision)?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type},n}();t["default"]=u},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;var f=u(i(411)),r=u(i(412));t["default"]={"%":function(n,t){return(100*n).toFixed(t)},b:function(n){return Math.round(n).toString(2)},c:function(n){return n+""},d:function(n){return Math.round(n).toString(10)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},g:function(n,t){return n.toPrecision(t)},o:function(n){return Math.round(n).toString(8)},p:function(n,t){return r["default"](100*n,t)},r:r["default"],s:f["default"],X:function(n){return Math.round(n).toString(16).toUpperCase()},x:function(n){return Math.round(n).toString(16)}}},function(n,t,i){"use strict";t.__esModule=!0;t.prefixExponent=undefined;var r,e=i(407),u=(r=e)&&r.__esModule?r:{"default":r},f=void 0;t.prefixExponent=f;t["default"]=function(n,i){var h,r,o,s=u["default"](n,i),e=void 0;return s?(e=s[0],(r=(h=s[1])-(t.prefixExponent=f=3*Math.max(-8,Math.min(8,Math.floor(h/3))))+1)===(o=e.length)?e:r>o?e+new Array(r-o+1).join("0"):r>0?e.slice(0,r)+"."+e.slice(r):"0."+new Array(1-r).join("0")+u["default"](n,Math.max(0,i+r-1))[0]):n+""}},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(407),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=function(n,t){var i,u=f["default"](n,t),r=void 0;return u?(r=u[0],i=u[1],Number(i)<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")):n+""}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){for(var u=n.length,t=1,i=-1,r=void 0;t<u;++t)if("."===n[t])i=r=t;else if("0"===n[t])0===i&&(i=t),r=t;else if(i>0){if(!+n[t])break;i=0}return i>0?n.slice(0,i)+n.slice(r+1):n}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n,t){return function(i,r){for(var f=i.length,o=[],s=0,u=n[0],e=0;f>0&&u>0&&(e+u+1>r&&(u=Math.max(1,r-e)),o.push(i.substring(f-=u,f+u)),!((e+=u+1)>r));)u=n[s=(s+1)%n.length];return o.reverse().join(t)}}},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){return function(t){return t.replace(/[0-9]/g,function(t){return n[+t]})}}},function(n,t){"use strict";function f(n){return n>=i?10:n>=r?5:n>=u?2:1}function e(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,e=arguments.length>2&&arguments[2]!==undefined?arguments[2]:7,t=(u-r)/Math.max(0,e),n=Math.floor(Math.log(t)/Math.LN10),i=t/Math.pow(10,n);return n>=0?f(i)*Math.pow(10,n):-Math.pow(10,-n)/f(i)}t.__esModule=!0;var i=Math.sqrt(50),r=Math.sqrt(10),u=Math.sqrt(2);t["default"]=function(){var s,i,n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:7,r=-1,u=void 0,o=[];if(f=+f,(n=+n)==(t=+t)&&f>0)return[n];if((s=t<n)&&(u=n,n=t,t=u),0===(i=e(n,t,f))||!isFinite(i))return[];if(i>0)for(n=Math.ceil(n/i),t=Math.floor(t/i),u=Math.ceil(t-n+1);++r<u;)o[r]=(n+r)*i;else for(n=Math.floor(n*i),t=Math.ceil(t*i),u=Math.ceil(n-t+1);++r<u;)o[r]=(n-r)/i;return s&&o.reverse(),o};t.tickIncrement=e;t.tickStep=function(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,e=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,s=arguments.length>2&&arguments[2]!==undefined?arguments[2]:7,o=Math.abs(e-f)/Math.max(0,s),h=Math.floor(Math.log(o)/Math.LN10),n=Math.pow(10,h),t=o/n;return t>=i?n*=10:t>=r?n*=5:t>=u&&(n*=2),e<f?-n:n}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n){return n>=f?10:n>=e?5:n>=o?2:1}function h(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,u=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:7,t=(u-r)/Math.max(0,f),n=Math.floor(Math.log(t)/Math.LN10),i=t/Math.pow(10,n);return n>=0?s(i)*Math.pow(10,n):-Math.pow(10,-n)/s(i)}function c(){var i=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,s=arguments.length>2&&arguments[2]!==undefined?arguments[2]:7,u=Math.abs(r-i)/Math.max(0,s),h=Math.floor(Math.log(u)/Math.LN10),n=Math.pow(10,h),t=u/n;return t>=f?n*=10:t>=e?n*=5:t>=o&&(n*=2),r<i?-n:n}
43t.__esModule=!0;t.tickFormat=t.tickStep=t.tickIncrement=undefined;var l=r(i(405)),a=r(i(418)),v=r(i(419)),y=r(i(409)),p=r(i(420));var f=Math.sqrt(50),e=Math.sqrt(10),o=Math.sqrt(2),u=function(n){return null===n||void 0===n};t["default"]=function(){var o,i,n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1,f=arguments.length>2&&arguments[2]!==undefined?arguments[2]:7,r=-1,u=void 0,e=[];if(f=+f,(n=+n)==(t=+t)&&f>0)return[n];if((o=t<n)&&(u=n,n=t,t=u),0===(i=h(n,t,f))||!isFinite(i))return[];if(i>0)for(n=Math.ceil(n/i),t=Math.floor(t/i),u=Math.ceil(t-n+1);++r<u;)e[r]=(n+r)*i;else for(n=Math.floor(n*i),t=Math.ceil(t*i),u=Math.ceil(n-t+1);++r<u;)e[r]=(n-r)/i;return o&&e.reverse(),e};t.tickIncrement=h;t.tickStep=c;t.tickFormat=function(n,t,i){var h=arguments.length>3&&arguments[3]!==undefined?arguments[3]:l["default"],f=n[0],e=n[n.length-1],o=c(f,e,u(t)?7:t),r=void 0,s=void 0;switch((i=new y["default"](u(i)?",f":i)).type){case"s":return s=Math.max(Math.abs(f),Math.abs(e)),r=p["default"](o,s),u(i.precision)&&!isNaN(r)&&(i.precision=r),function(n){return h.formatPrefix(i,s).format(n)};case"":case"e":case"g":case"p":case"r":r=v["default"](o,Math.max(Math.abs(f),Math.abs(e)));u(i.precision)&&!isNaN(r)&&(i.precision=r-("e"===i.type));break;case"f":case"%":r=a["default"](o);u(i.precision)&&!isNaN(r)&&(i.precision=r-2*("%"===i.type))}return function(n){return h.formatter(i).format(n)}}},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(406),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=function(n){return Math.max(0,-f["default"](Math.abs(n)))}},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(406),u=(r=f)&&r.__esModule?r:{"default":r};t["default"]=function(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,u["default"](t)-u["default"](n))+1}},function(n,t,i){"use strict";t.__esModule=!0;var r,f=i(406),u=(r=f)&&r.__esModule?r:{"default":r};t["default"]=function(n,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(u["default"](t)/3)))-u["default"](Math.abs(n)))}},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}var o;t.__esModule=!0;var u=e(i(398)),r=i(125),f=i(400),s=e(i(382));o=f.bimap([2,100],[80,20],f.deInterpolateLinear,s["default"]);t["default"]=function(n,t,i,f){var y,h,wt,bt,p,e,s,it,k,c,l,rt,ut,ft,d,et,kt,ot,st,ht,g,w,ct,a=f.isPercent?0:f.axisMinValue,v=f.isPercent?100:f.axisMaxValue,dt=!!f.adjustDiv,lt=f.numDivLines,gt=!!f.setAdaptiveMin,at=f.axisRange,ni=Math.pow(2,-24),nt=!0,tt=.2,vt=!0,ti=f.xAxisLabelMode,b=f.dependentInfo,yt,pt;(y=f.majorTMNumber!==r.UNDEF?Math.max(0,lt-2):lt,b&&b.count&&!b.limit&&b.numDivLines!==r.UNDEF&&(y=lt=b.numDivLines,dt=!1),h=y+1,n===r.UNDEF&&t===r.UNDEF&&(n=0,t=1,nt=!1),t===n&&0===t&&(t=1,nt=!1),"categories"!==ti&&"mixed"!==ti||(nt=!1),nt?(bt=Math.floor(Math.log(Math.abs(t))/Math.LN10),wt=Math.floor(Math.log(Math.abs(n))/Math.LN10),p=Math.max(wt,bt),e=Math.pow(10,p),Math.abs(t)/e<2&&Math.abs(n)/e<2&&(p--,e=Math.pow(10,p)),rt=Math.floor(Math.log(t-n)/Math.LN10),ut=Math.pow(10,rt),t-n>0&&e/ut>=10&&(e=ut,p=rt),it=(Math.floor(t/e)+1)*e,k=n<0?(Math.floor(Math.abs(n/e))+1)*e*-1:gt?(k=Math.floor(Math.abs(n/e)-1)*e)<0?0:k:0,!gt&&t<=0&&(it=0),c=!(!v&&0!==v),l=!(!a&&0!==a),f.freezeLimit||(!1===c||!0===c&&Number(v)<t&&t-Number(v)>ni?(t=it,c=!1):t=Number(v),!1===l||!0===l&&Number(a)>n&&Number(a)-n>ni?(n=k,l=!1):n=Number(a))):(c=!(!v&&0!==v),l=!(!a&&0!==a),!0===c&&Number(v)>=t?t=Number(v):c=!1,!0===l&&Number(a)<=n?n=Number(a):l=!1),kt=[n,t],i.setDomain(kt),dt&&!f.freezeLimit)?c||l?(g=(ft=(ht=function(n,t,i,u,f,e){for(var it=t-n,h=void 0,p=void 0,w=void 0,c=n,rt=Math.ceil(i*(1-u)),ut=Math.floor(i*(1+u)),l=void 0,s=void 0,b=void 0,k=void 0,a=void 0,v=void 0,o=[],d=-1,g=void 0,nt=void 0,y=void 0,tt=function(n){return function(n){for(var i=[10,5,2,1],t=void 0,u=i.length,r=void 0,t=0;t<u;++t)if(n%i[t]%1==0){r=!0;break}return r}(h=it/(n+1))?n:r.UNDEF};!(g&&nt||((y=i+ ++d)>=ut&&(nt=!0),l=tt(y))||((y=i-d)<=rt&&(g=!0),l=tt(y))););for(n<0&&t>0&&f&&(w=!0),p=0;p<l;p++)w&&c<0&&c+h>0&&(o.push(0),s=!0),c+=h,o.push(c);return l===r.UNDEF&&f&&((k=(o=e.ticks(i)).length)>1?(b=.2*(h=Math.abs(o[0]-o[1])),a=o[0],v=o[k-1],Math.abs(n-a)<=b&&0!==a&&o.shift(),Math.abs(t-v)<=b&&0!==v&&o.pop(),0!==a&&0!==v||(s=!0)):0===o[0]&&(s=!0)),w&&!s&&-1===o.indexOf(0)&&(n<0&&o[0]>0?o=[0].concat(o):t>0&&o[o.length-1]<0?o.push(0):o=[0],s=!0),{output:o,interval:h,isZeroTickForced:s}}(n,t,y,tt=(ct=y)>=100?.2:ct<=1?0:o(ct)/100,f.forceZeroTick,i)).output).length,w=ht.isZeroTickForced,Math.abs((y-g+(w?1:0))/y)>tt?s=(t-n)/h:(s=0===g||1===g&&w?t-n:ht.interval,f.isZeroTickForced=w,f.ticks=w&&0===n?ft.concat(t):[n].concat(ft,t),vt=!1)):(f.ticks=y?i.nice(h).ticks(h):i.getDomain(),s=Math.abs(f.ticks[1]-f.ticks[0]),vt=!1):c||l||f.freezeLimit?s=(t-n)/h:(yt=i.nice(h).getDomain(),((et=(d=yt[0])+(s=function(n){if(n<=1)return 1;var t=[],i=Math.ceil(n);return t[2]=i%2,t[5]=i%5,t[10]=i%10,r.safeMin(t)+i}(e=((et=yt[1])-d)/h))*h)-t)/t>tt||(d-n)/n>tt?(i.setDomain([n,t]),s=(t-n)/h):(n=d,t=et,i.setDomain([n,t])));vt&&(n<0&&t>0&&f.forceZeroTick?(0===(st=(ot=u["default"](n,0,s))[ot.length-1]+s)?st+=s:f.isZeroTickForced=!0,f.ticks=ot.concat(0,u["default"](st,t,s),t)):f.ticks=u["default"](n,t,s).concat(t));pt=i.getDomain();n=pt[0];t=pt[1];f._allTicks=f.ticks.slice();at.tickInterval=s;at.min=n;at.max=t}},function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}
43}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var a=e(i(378)),f=e(i(398)),v=e(i(423)),r=i(125),y=i(386);var s=r.preDefStr.POSITION_START,u=r.preDefStr.POSITION_MIDDLE,h=r.preDefStr.POSITION_TOP,o=r.preDefStr.POSITION_BOTTOM,w=r.preDefStr.POSITION_END,c={wrtVisible:!0},l=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.config.scale=new v["default"],i}return p(t,n),t.prototype.getName=function(){return"category"},t.prototype.getCategoryFromId=function(n){var t=this.config.tickValues;return(t&&t.tickIdMap)[n]||{}},t.prototype.generateTicks=function(){var s=this.getScale(),t=this.config,n=s.getDomain(),u=t.categoryNumDivLines+1,h=(n[1]-n[0])/u,i=t.axisRange,e=i.min,r=i.max,o=(r-e)/u;return t._allTicks=f["default"](e,r,o).concat(r),i.tickInterval=o,f["default"](n[0],n[1],h).concat(n[1])},t.prototype._parseCategoryVline=function(){var ut,ft,et,n,p,b,k,i,f,c,e,l,ot,a,st,ht,ct,lt,tt,at,vt,yt,d,pt,wt,bt,v,kt,it,g,dt,t=this.config,gt=t.axisRange,ni=gt.min,ti=gt.max,y=this.getFromEnv("chart").config,ii=y.style||{},rt=t.isVertical,nt={fontFamily:y.style.inCanfontFamily,fontSize:y.style.inCanfontSize,color:y.style.inCancolor,lineHeight:y.style.inCanLineHeight};for(et=(ft=t.tickValues.vline).length,kt=1!==this.getZoom(),it=this.getVisibleConfig(),b=0;b<et;b++)n=ft[b],p=r.parseUnsafeString(n.label),k=Boolean(r.pluckNumber(n.showlabelborder,t.showVLineLabelBorder,1)),ut=Boolean(r.pluckNumber(n.showlabelbackground,1)),"center"===(i=r.pluck(n.labelhalign,rt?s:u))?i=u:"left"===i?i=s:"right"===i&&(i=w),(f=r.pluck(n.labelvalign,rt?u:o).toLowerCase())===u?f=u:f===h?f=o:f===o&&(f=h),c=r.pluckNumber(n.labelposition,0),e=r.pluckNumber(n.lineposition,.5),l=r.pluckNumber(n.showvlines,t.showVLines,1),ot=r.pluckNumber(n.alpha,t.vLineAlpha,80),a=r.pluck(n.color,t.vLineColor).replace(/^#?/,"#"),st=ut?r.pluck(n.labelbgcolor,t.vLineLabelBgColor,"333333").replace(/^#?/,"#"):r.BLANKSTRING,pt=r.pluck(n.labelcolor,t.vLineLabelColor,n.color,ii.inCancolor,t.vLineColor).replace(/^#?/,"#"),ht=r.pluckNumber(n.thickness,t.vLineThickness,1),bt=2,ct=Boolean(Number(r.pluck(n.dashed,0))),lt=r.pluckNumber(n.dashlen,5),at=r.pluckNumber(n.dashgap,2),tt=nt.fontSize,tt=parseInt(tt.replace(/px/i,""),10),wt=r.pluckNumber(n.rotatelabel,t.rotateVLineLabels)?270:0,e=e<0||e>1?.5:e,c=c<0||c>1?0:c,a=r.convertColor(a,l?ot:"0"),dt=n.animate&&!rt?n.startIndex+1:n.startIndex,v=this._getVlinePos(dt,e)-(n.animate?n.leftShift:0),kt&&(v<it.minValue||v>it.maxValue)||v<ni||v>ti||(vt={opacity:1,stroke:a,"stroke-width":ht,"stroke-dasharray":ct?r.getDashStyle(lt,at):"none"},d={opacity:1,text:p,"text-anchor":i,"vertical-align":f,"text-bound":[]},yt={fontSize:nt.fontSize,fontFamily:nt.fontFamily,lineHeight:nt.lineHeight},g={from:v,layer:r.pluckNumber(n.showontop,t.showVLinesOnTop,0)?3:2,attr:vt,type:"line",startIndex:n.startIndex,linePosition:e},p&&(d["text-bound"]=[st,l&&k?a:r.BLANKSTRING,l&&k?1:0,bt,r.UNDEF,l&&k?"solid":r.BLANKSTRING],d.fill=l?pt:a,g.text={label:p,attr:d,layer:4,labelRotation:wt,labelPosition:c,css:yt}),this.setReferenceInfo(g),this.config.parsedVlineInfo.push(g))},t.prototype._parseReferenceVisuals=function(){n.prototype._parseReferenceVisuals.call(this);this.config.drawPlotlines&&this._parseCategoryVline()},t.prototype.categoryInsert=function(n,t,i){var o,s,h,e,u,f=this.config,c=f.axisRange.min,l=t.length,a=f.endPad||0;for(o=f.tickValues.tickValue,h=f.tickValues.tickIdMap,s=f.tickValues.vline,e=0;e<l;e+=1)"true"!==(u=r.extend2({},t[e])).vline&&!0!==u.vline&&1!==u.vline&&"1"!==u.vline?(u.id&&(h[u.id]={tickObj:u,i:n}),o.splice(n,0,u),n+=1):(u.startIndex=n-2,s.push(u));i&&this._setAxisRange({min:c,max:Number(r.toPrecision(o.length-1+a,10))})},t.prototype.categoryDelete=function(n,t,i){for(var u,f=this.config,o=f.axisRange,s=o.min,r=0,e=(u=f.tickValues.vline).length;r<e;r++)u[r].animate=!0,u[r].leftShift=t;f.tickValues.tickValue.splice(n,t);this._shiftVline(n,t,"left");i&&this._setAxisRange({min:s,max:o.max-t})},t.prototype._shiftVline=function(n,t,i){for(var u,e=this.config,f=e.tickValues.vline,s=e.tickValues.tickValue.length,o=f.length,r=0;r<o;r+=1)(u=f[r]).startIndex>=n&&("right"===i?u.startIndex+=t:u.startIndex-=t,(u.startIndex<0||u.startIndex>=s)&&(f.splice(r,1),o-=1,r-=1))},t.prototype.categoryTranslate=function(n){var t,i=this.config,r=this.getPixel(1,c)-this.getPixel(0,c);n=(n||0)*r;i.isReverse&&(n=-n);t=["T",n,",","0"].join("");this.realTimeTranslatableGroups=[{group:i.axisContainer,translationStr:t},{group:i.axisTrendLabelContainer,translationStr:t}]},t.prototype.updateTicksValues=function(n,t){var e,o,i,u,s,f,r,h=this.config,c=h.parsedVlineInfo;if((e=h.tickValues.tickValue)[n])for(r in t)t.hasOwnProperty(r)&&("x"===r&&(o=!0),e[n][r]=t[r]);if(o)for(u=0,s=c.length;u<s;++u)if((f=(i=c[u]).startIndex)===n)i.from=this._getVlinePos(f,i.linePosition);else if(f+1===n){i.from=this._getVlinePos(f,i.linePosition);break}},t.prototype._getVlinePos=function(n,t){var i=this.getTickValues(),c=this.config,s=this.getLimit(),l=s.min,a=s.max,f=i[n],e=i[n+1],u=void 0,h=void 0,o=void 0;return f?e||(u=i[0]&&i[0].x?a:c.oriCatLen-1,o=!0):(u=i[0]&&i[0].x?l:-1,o=!0),h=o?t:((u=r.pluckNumber(f.x,f.y,n))-r.pluckNumber(e.x,e.y,n+1))*t,u+Math.abs(h)},t.prototype.getInterval=function(){if(this)return 1},t.prototype._setAxisRange=function(n){var h,s,u=n.min,i=n.max,t=this.config,e=t.axisRange,c=t.periodLength,o=t.dataLimit,l=o.max,a=o.min;u>i||(l===i&&a===u||(h=!0),t.visibleMin===r.UNDEF||t.setPadding||h?(o.max=i,o.min=u,c&&(t.categoryNumDivLines=(i-u)/c-1),s=(i-u)/(t.categoryNumDivLines+1),this.get
43Scale().setDomain([u,i]),t.ticks=f["default"](u,i,s).concat(i),t._allTicks=t.ticks.slice(),e.min=u,e.max=i,e.tickInterval=s,this.setVisibleConfig(e.min,e.max)):t.setPadding=!1)},t}(a["default"]);l.prototype.setTickValues=y.setTickValues;t["default"]=l},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r=i(400),e=u(r),o=u(i(382));f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this,r.deInterpolateLinear,o["default"]))}return s(t,n),t.prototype.copy=function(){return r.copyScale(this,new t)},t}(e["default"]);t["default"]=f},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t["default"]=function(n){var i=void 0,o=n._parseCanvasCosmetics&&n._parseCanvasCosmetics(),t,u;if(r.componentFactory(n,f["default"],"canvas",n.config.showVolumeChart?2:1),i=n.getChildren("canvas"))for(t=0,u=i.length;t<u;t++)i[t].configure(o),r.componentFactory(i[t],e["default"],"axisRefVisualCartesian")};var f=u(i(364)),e=u(i(425)),r=i(125)},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o=i(138),u=r(i(382)),s=r(i(383)),h=i(379),c=r(i(426));i(132).addDep({name:"cartesianAxisRefAnimation",type:"animationRule",extension:c["default"]});f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.config.map={},i.config.explicitDrawItems={},i}return l(t,n),t.prototype.getType=function(){return"axisRefVisuals"},t.prototype.getName=function(){return"axisRefVisualsCartesian"},t.prototype.draw=function(){var e=this.getDrawingInfo(),o=void 0,y=this.getexplicitDrawItems(),s=this.config,h=s.map,u={},t=void 0,l=void 0,n=void 0,f=void 0,r=void 0,c=void 0,i=this.getLinkedParent(),a=i.getAxes(),v=[],p=i.getChildContainer("axisReferenceVisualsFloor"),w=i.getChildContainer("axisReferenceVisualsBottom"),b=i.getChildContainer("axisReferenceVisualsMiddle"),k=i.getChildContainer("axisReferenceVisualsTop"),d=i.getChildContainer("axisReferenceVisualsCeil");for(i.config.trendlines=[],i.config.vtrendlines=[],t=0;t<a.length;++t)v.push(a[t].axis.getId());for(n in s.containers=[p,w,b,k,d],e)if(e.hasOwnProperty(n)&&(f=this.getLinkedItem(n),v.indexOf(f.getId())>=0))for((r=u[n])||(r=u[n]=[]),o=e[n],t=0;t<o.length;++t)"band"===(l=(c=o[t]).type)?r.push.apply(r,this.createBand(c,f)):"line"===l&&r.push.apply(r,this.createLine(c,f));if(s.isSmartDrawing)for(n in h)h.hasOwnProperty(n)&&!y[n]&&this.getLinkedItem(n)&&(u[n]=h[n]);this.resetexplicitDrawItems();this.removeExtraElements(u)},t.prototype.getDrawingInfo=function(){var i={},n=void 0,r=void 0,u=this.getexplicitDrawItems(),f=this.isCanvasChnaged(),t=(this.config.isSmartDrawing=Object.keys(u).length&&!f)?u:this.getLinkedItem();for(n in t)t.hasOwnProperty(n)&&(r=t[n],i[n]=r.getReferenceInfo());return i},t.prototype.createLine=function(n,t){var d,g=this.config.containers,lt=g[n.layer],at=t.config,vt=this.getFromEnv("paper"),yt=this.getFromEnv("chart").getName(),pt=this.getLinkedParent(),nt=this.getFromEnv("animationManager"),tt=this.getFromEnv("toolTipController"),c=pt.config,wt=c.trendlines,it=at.isVertical,b=c.canvasLeft,k=c.canvasTop,rt=k+c.canvasHeight,ut=b+c.canvasWidth,bt=u["default"](b,ut),kt=u["default"](k,rt),ft=t.getScale(),l=ft.getRangeValue(n.from),et=void 0!==n.to&&ft.getRangeValue(n.to)||l,o=it?["M",b,l,"L",ut,et]:["M",l,rt,"L",et,k],f=n.attr,i=n.text,r=i&&i.attr,ot=i&&i.labelPosition||0,st=t.getId(),ht=n.id||n.from,y=st+"_"+ht,p=void 0,a=this.getGraphicalElement(y),v=void 0,s=void 0,w=n.handlers,ct={start:n.from,end:n.to};for(s in f.path=h.getCrispPath(o,(d=f["stroke-width"],!1||null!==d?f["stroke-width"]:1)).path.toString(),/trend/.test(n.id)&&wt.push({x1:o[1],y1:o[2],x2:o[4],y2:o[5],tooltext:n.toolText,tolerance:f["stroke-width"]<5?2.5:f["stroke-width"]/2}
43),f["stroke-linecap"]="butt",(a=this.addGraphicalElement(y,nt.setAnimation({container:lt,el:a||"path",attr:f,component:this,axis:t,data:{value:ct,path:o},label:"path"}))).data("data",ct),i&&(p=st+"_"+ht+r.text,v=this.getGraphicalElement(p),it?(r.x=bt(ot),r.y=l):(r.x=l,r.y=kt(ot)),r.text=i.label,r.transform=vt.getSuggestiveRotation(i.labelRotation,r.x,r.y),(v=this.addGraphicalElement(p,nt.setAnimation({container:g[i.layer],el:v||"text",attr:r,component:this,axis:t,data:{value:n.from},label:"text",css:i.css}))).data("data",n.from)),/zoomscatter/i.test(yt)||(n.toolText?tt.enableToolTip(a,n.toolText):tt.disableToolTip(a)),w)w.hasOwnProperty(s)&&(a.on(s,w[s].bind(t)),v&&v.on(s,w[s].bind(t)));return i?[y,p]:[y]},t.prototype.createBand=function(n,t){var u,l,nt=this.config.containers[n.layer],tt=t.config,it=this.getFromEnv("animationManager"),p=this.getFromEnv("toolTipController"),w=this.getLinkedParent(),rt=this.getFromEnv("chart").getName(),f=w.config,a=tt.isVertical,e=f.canvasLeft,o=f.canvasTop,b=o+f.canvasHeight,k=e+f.canvasWidth,d=t.getScale(),v=n.from,g=void 0!==n.to?n.to:v,s=void 0,h=void 0,ut=t.getId(),r=void 0,c=void 0,i=n.attr,y=n.handlers;for(c in s="canvasStart"===v?a?o:e:d.getRangeValue(v),h="canvasEnd"===g?a?b:k:d.getRangeValue(g),l=Math.abs(s-h),a?(i.x=e,i.y=Math.min(s,h),i.width=k-e,i.height=l):(i.x=Math.min(s,h),i.y=o,i.width=l,i.height=b-o),u=ut+"_"+(n.id||i.x+"_"+i.y),r=this.getGraphicalElement(u),/trend/.test(n.id)&&w.config.vtrendlines.push({x1:i.x,y1:i.y,x2:i.x+i.width,y2:i.y+i.height,tooltext:n.toolText,tolerance:i["stroke-width"]<5?2.5:i["stroke-width"]/2,isTrendZone:1}),r=this.addGraphicalElement(u,it.setAnimation({container:nt,el:r||"rect",attr:i,component:this,label:"rect"})),/zoomscatter/i.test(rt)||(n.toolText?p.enableToolTip(r,n.toolText):p.disableToolTip(r)),y)y.hasOwnProperty(c)&&r.on(c,y[c].bind(t));return[u]},t.prototype.removeExtraElements=function(n){var f=this.config.map,i=void 0,e=void 0,t=void 0,r=void 0,u=void 0,o=void 0;for(i in f)if(n[i])for(r=(o=s["default"](f[i],n[i])).length,t=0;t<r;++t)(u=this.getGraphicalElement(o[t]))&&this.removeGraphicalElement(u);else for(r=(e=f[i]).length,t=0;t<r;++t)(u=this.getGraphicalElement(e[t]))&&this.removeGraphicalElement(u);this.config.map=n},t.prototype.setLinkedItem=function(t,i){n.prototype.setLinkedItem.call(this,t,i);var r=this;"axis"===i.getType()&&r.addExtEventListener("preremove",function(n){r.removeLinkedItem(n.sender.getId());r.asyncDraw()},i)},t.prototype.addexplicitDrawItems=function(n,t){this.config.explicitDrawItems[n]=t},t.prototype.getexplicitDrawItems=function(){return this.config.explicitDrawItems},t.prototype.resetexplicitDrawItems=function(){this.config.explicitDrawItems={}},t.prototype.isCanvasChnaged=function(){var n=this.getLinkedParent().getEffectiveDimensions(),t=this.config,i=void 0;return i=JSON.stringify(n)!==JSON.stringify(t.canvasDim),t.canvasDim=n,i},t}(o.ComponentInterface);t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;var r=i(381);t["default"]={"initial.axisRefVisuals.axisRefVisualsCartesian":r.axisAnimationAxis,"update.axisRefVisuals.axisRefVisualsCartesian":r.axisAnimationFinal}},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){for(var r,s,i,c,t,l,a=n.getChildren("canvas"),v=a.length,u=[],o=[],h=0;h<v;h++,u=[],o=[])if(!(r=a[h]).getState("removed")){for(i=r.getFromEnv("xAxis"),t=0;t<(i&&i.length);t++)i[t].getState("removed")||u.push(i[t]);for(i=r.getFromEnv("yAxis"),t=0;t<(i&&i.length);t++)i[t].getState("removed")||o.push(i[t]);for(e.componentFactory(r,f["default"],"vCanvas",u.length*o.length),s=r.getChildren("vCanvas"),c=0,t=0;c<(u&&u.length);c++)for(l=0;l<(o&&o.length);l++,t++)s[t].xAxis(u[c]).yAxis(o[l]).canvas(r),s[t].configure(),s[t].addToEnv("vCanvas",s[t])}};var r,u=i(428),f=(r=u)&&r.__esModule?r:{"default":r},e=i(125)},function(n,t,i){"use strict";function a(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e,f;t.__esModule=!0;e=i(138);f=i(125);var u=function(n,t){return n="comp_"+n,t&&(this.config[n]=t),(t||!this.config[n])&&this||this.config[n]},o=function(n,t){return["T",n,",",t].join("")},s=function(n){return-n.getTranslation()},h=function(n,t){return{h:n,v:t}},c=["columnShadowVcanvasGroup","columnVcanvasGroup","areaShadowVcanvasGroup","areaVcanvasGroup","lineShadowVcanvasGroup","lineVcanvasGroup","defaultShadowVcanvasGroup","defaultVcanvasGroup","sumLabelsLayer","vcanvasLabelGroup"],r=function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:{name:n},container:t,state:"appearing",component:i,label:"group"})},l=function(n){return!/category/i.test(n.getName())},v=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return a(t,n),t.prototype.getName=function(){return"virtualCanvas"},t.prototype.getType=function(){return"canvas"},t.prototype.xAxis=function(n){var t=u.call(this,"xAxis",n);return n&&this.listenToAxis(n),n&&this.addToEnv("xAxis",n),t},t.prototype.yAxis=function(n){var t=u.call(this,"yAxis",n);return n&&this.listenToAxis(n),n&&this.addToEnv("yAxis",n),t},t.prototype.paper=function(n){return u.call(this,"paper",n)},t.prototype.canvas=function(n){return u.call(this,"canvas",n)},t.prototype.configure=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},i=this.getFromEnv("chartConfig"),n=this.config;Object.assign(n,t);n.transposeAxis=i.transposeAxis;this._mapChildren(function(n){n.getState("removed")||"dataset"===n.getType()||n.configure&&n.configure()})},t.prototype.getHorizontalVerticalAxes=function(){var t=this.xAxis(),n=this.yAxis();return n.config.isVertical?h(t,n):h(n,t)},t.prototype.preDraw=function(){this._mapChildren(function(n){n.getState("removed")||"dataset"===n.getType()||n.setVisibility&&n.setVisibility()});var n,r=this.config.transposeAxis,t=this.getFromEnv("chart"),i=this.getAxisValuePadding(),u=i.left,f=i.right,e=i.top,o=i.bottom;(n=this.getDataLimits(!r)).min!==Infinity||n.max!==-Infinity?(this._setYAxisLimits(n.min,n.max),t._storeIntialLimit&&t._storeIntialLimit(n.min,n.max)):(this._setYAxisLimits(void 0,void 0),t._storeIntialLimit&&t._storeIntialLimit(void 0,void 0));this._setXAxisLimits(n.xMin,n.xMax);this._setAxisValuePadding(u,f,e,o)},t.prototype.childChanged=function(){var r=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=this.config,i=t.transposeAxis,n=void 0;!1!==r.dataLimitChanged&&(n=this.getDataLimits(!i),!i||n.min===t.range.min&&n.max===t.range.max||(t.range.min=n.min,t.range.max=n.max,this.getFromEnv("yAxis").resetStoredLimits(),n.min!==Infinity||n.max!==-Infinity?this._setYAxisLimits(n.min,n.max):this._setYAxisLimits(void 0,void 0)),n.xMin===t.range.xMin&&n.xMax===t.range.xMax||(t.range.xMin=n.xMin,t.range.xMax=n.xMax,this.getFromEnv("xAxis").resetStoredLimits(),this._setXAxisLimits(n.xMin,n.xMax)));this.asyncDraw()},t.prototype._setAxisValuePadding=function(n,t,i,r){this.getFromEnv("xAxis").setAxisPadding(n,t);i&&r&&this.getFromEnv("yAxis").setAxisPadding(n,t)},t.prototype.getAxisValuePadding=function(){var u={},n=-Infinity,t=-Infinity,i=-Infinity,r=-Infinity;return this._mapChildren(function(f){f.getState("removed")||(u=f.getAxisValuePadding&&f.getAxisValuePadding()||{},n=Math.max(n,u.left||-Infinity),t=Math.max(t,u.right||-Infinity),i=Math.max(i,u.top||-Infinity),r=Math.max(r,u.bottom||-Infinity))}),n===-Infinity&&(n=0),t===-Infinity&&(t=0),i===-Infinity&&(i=0),r===-Infinity&&(r=0),this.config.padding||(this.config.padding={},this.config.padding.left=n,this.config.padding.right=t,this.config.padding.top=i,this.config.padding.bottom=r),{left:n,right:t,top:i,bottom:r}},t.prototype._setYAxisLimits=function(n,t){var i=this.getFromEnv("yAxis");l(i)&&i.setDataLimit(t,n)},t.prototype._setXAxisLimits=function(n,t){var i=this.getFromEnv("xAxis");l(i)&&(t!==-Infinity||n!==+Infinity?i.setDataLimit(t,n):i.setDataLimit(void 0,void 0))},t.prototype.getDataLimits=function(n){var s,h,c,l=this.getFromEnv("chart"),e=-Infinity,o=+Infinity,t=e,i=o,r=o,u=e;return this._mapChildren(function(l){var a;l.getDataLimits&&!l.getState("removed")&&(n||l.getState("visible"))&&(s=l.getDataLimits(n),a=s,h=f.pluck(a.xMax,e),c=f.pluck(a.xMin,o),t=Math.max(t,a.max),i=Math.min(i,a.min),u=
43Math.max(u,h),r=Math.min(r,c))}),this.config.range||(this.config.range={},this.config.range.min=i,this.config.range.max=t,this.config.range.xMin=r,this.config.range.xMax=u),l.config.yMax=t,l.config.yMin=i,{min:i,max:t,xMin:r,xMax:u}},t.prototype.listenToAxis=function(n){var i,t=this;i=function(){t.getState("drawn")&&t.asyncDraw()};this.getState("visiblerangeset"+n.getId())||(this.setState("visiblerangeset"+n.getId(),!0),t.addExtEventListener("visiblerangeset",i,n))},t.prototype.createContainer=function(){var n=this.getLinkedParent();this.getChildContainer("columnShadowVcanvasGroup")||this.addChildContainer("columnShadowVcanvasGroup",r("vcanvas-column-shadow",n.getChildContainer("columnShadowGroup"),this));!this.getChildContainer("columnVcanvasGroup")&&this.addChildContainer("columnVcanvasGroup",r("vcanvas-column-plot",n.getChildContainer("columnGroup"),this));!this.getChildContainer("areaShadowVcanvasGroup")&&this.addChildContainer("areaShadowVcanvasGroup",r("vcanvas-area-shadow",n.getChildContainer("areaShadowGroup"),this));!this.getChildContainer("areaVcanvasGroup")&&this.addChildContainer("areaVcanvasGroup",r("vcanvas-area-plot",n.getChildContainer("areaGroup"),this));!this.getChildContainer("lineShadowVcanvasGroup")&&this.addChildContainer("lineShadowVcanvasGroup",r("vcanvas-line-shadow",n.getChildContainer("lineShadowGroup"),this));!this.getChildContainer("lineVcanvasGroup")&&this.addChildContainer("lineVcanvasGroup",r("vcanvas-line-plot",n.getChildContainer("lineGroup"),this));!this.getChildContainer("defaultShadowVcanvasGroup")&&this.addChildContainer("defaultShadowVcanvasGroup",r("vcanvas-default-shadow",n.getChildContainer("defaultShadowGroup"),this));!this.getChildContainer("defaultVcanvasGroup")&&this.addChildContainer("defaultVcanvasGroup",r("vcanvas-default-plot",n.getChildContainer("defaultGroup"),this));!this.getChildContainer("vcanvasLabelGroup")&&this.addChildContainer("vcanvasLabelGroup",r("vcanvas-label",n.getChildContainer("datalabelsGroup"),this));!this.getChildContainer("columnTrendGroup")&&this.addChildContainer("columnTrendGroup",r("columnTrendGroup",this.getChildContainer("columnVcanvasGroup"),this));!this.getChildContainer("sumLabelsLayer")&&this.addChildContainer("sumLabelsLayer",r("vcanvas-sumLabelsLayer",n.getChildContainer("sumLabelsLayer"),this))},t.prototype.applyTranslation=function(){var n=this,t=function(n){return o(s(n.h),s(n.v))}(n.getHorizontalVerticalAxes());n.createContainer();c.forEach(function(i){var r;r=i;(r=n.getChildContainer(r)).attr({transform:t})})},t.prototype.draw=function(){this.applyTranslation();this.setState("drawn",!0)},t.prototype.getCanvasPadding=function(){var t,n,i={paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0};return this._mapChildren(function(r){if(r.getCanvasPadding&&!r.getState("removed"))for(n in t=r.getCanvasPadding()||{})t.hasOwnProperty(n)&&(i[n]=Math.max(t[n],i[n]))}),i},t.prototype.rtShiftAnim=function(n,t){var r,i=this,u=i.getFromEnv("xAxis"),f=i.getFromEnv("yAxis"),e=u.getPixel(1)-u.getPixel(0),s=f.getPixel(1)-f.getPixel(0),h=i.getFromEnv("animationManager");r=o(n=(n||0)*e,t=(t||0)*s);c.forEach(function(n){i.getChildContainer(n).attr({transform:r});h.setAnimation({el:i.getChildContainer(n),attrs:{transform:"T0,0"}})})},t}(e.ComponentInterface);t["default"]=v},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var t=void 0;n.config.enablemousetracking?(e.componentFactory(n,f["default"],"mouseTracker"),t=n.getChildren("mouseTracker")[0],n.config.mouseTrackerEventAdded||(t.addEvents(),n.config.mouseTrackerEventAdded=!0)):((t=n.getChildren("mouseTracker")&&n.getChildren("mouseTracker")[0])&&t._removeListners(),n.config.mouseTrackerEventAdded=!1)};var r,u=i(430),f=(r=u)&&r.__esModule?r:{"default":r},e=i(125)},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}
43t.__esModule=!0;var r="fc-mouseover",u="fc-mousedown",f="fc-mouseup",e="fc-mousemove",o="fc-click",h=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var s,i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.pIndex=1,i.handler=(s=i,function(n){n.originalEvent&&s.getFromEnv("chart")._mouseEvtHandler(n,s.config.evtData)}),i.eventsList=[u,f,e,o,r],i.config={},i.config.evtData={},i}return s(t,n),t.prototype.getMouseEvents=function(n,t,i){var h=this._lastDatasetIndex,c=this._lastPointIndex,s={fireOut:!1,events:[]};switch(n.type){case o:s.events.push(o);break;case e:h===t&&c===i?(clearTimeout(this.mouseoutTimer),s.events.push(e)):(s.events.push(r),s.fireOut=!0);break;case u:h===t&&c===i||(s.fireOut=!0,s.events.push(r));s.events.push(u);break;case r:h===t&&c===i?clearTimeout(this.mouseoutTimer):(s.fireOut=!0,s.events.push(r));break;case f:this.hasTouchEvent=!1;s.events.push(f);break;case"fc-mouseout":s.fireOut=!0}return s},t.prototype.addEvents=function(){var r,n,u,t=this.getFromEnv("chart"),f=t.getChildren("canvas"),e=this.config.evtData,i=this.eventsList;for(t.config.enableMouseOutEvent&&i.push("fc-mouseout"),this._removeListners(),e.chart=t,e.mouseTracker=this,n=0;n<f.length;n++)for(u in r=f[n],i)r.addEventListener(i[u],this.handler)},t.prototype._removeListners=function(){for(var t,i,r=this.getFromEnv("chart").getChildren("canvas"),u=this.eventsList,n=0;n<r.length;n++)for(i in t=r[n],u)t.removeEventListener(u[i],this.handler);this._removeDocEvents()},t.prototype._removeDocEvents=function(){this.eventOutput&&this.eventOutput.unlisten();this.eventOutput=void 0},t.prototype._dispose=function(){this._removeListners();n.prototype._dispose.call(this)},t}(i(138).ComponentInterface);t["default"]=h},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var f,e,o=n.getChildren(),t=o.canvas&&o.canvas[0],s=t&&t.getChildren("vCanvas"),l=s&&s[0]||t||n,h=n.getFromEnv("dataSource"),c=h.dataset,i=h.data||c&&c[0].data;e=u(i);i&&0!==i.length?(f=n.getDSdef(),r.datasetFactory(l,f,"dataset",1,[e])):n.setChartMessage()};var r=i(125),u=function(n){var t=[],i=[];return r.fcEach(n,function(n,r){"true"!==n.vline&&!0!==n.vline&&1!==n.vline&&"1"!==n.vline?t.push(n):i.push({index:r,data:n})}),{catData:i,data:t}}},function(n,t,i){"use strict";function nt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var w;t.__esModule=!0;t._removePlots=undefined;var a,r=i(125),b=i(138),k=i(132),d=i(433),g=(a=d)&&a.__esModule?a:{"default":a},y=i(136);var u=void 0,o=r.hasTouch?r.TOUCH_THRESHOLD_PIXELS:r.CLICK_THRESHOLD_PIXELS,tt=r.regex.dropHash,it=r.preDefStr.DEFAULT,rt=r.preDefStr.showHoverEffectStr,ut=r.preDefStr.setRolloverAttrStr,ft=r.preDefStr.setRolloutAttrStr,h=Math,e=h.min,f=h.max,c=h.abs,et={top:!0},ot={right:!0},st={left:!0},ht={bottom:!0},ct=h.ceil,v=h.round,l=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},t=arguments[1],i,r;if("function"==typeof t){i=function(i){if(n.hasOwnProperty(i)){var r=n[i];Array.isArray(r)?r.forEach(function(n){return t(n,i)}):n[i]&&t(n[i],i)}};for(r in n)i(r)}},s=function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:{name:n},container:t,state:"appearing",component:i,label:"group"})},p=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[],t=arguments[1];n.forEach(function(n){return l(n&&n.graphics,t)});n.length=0};k.addDep({name:"columnAnimation",type:"animationRule",extension:g["default"]});w=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.components={},i.components.removeDataArr=[],i.__hideElem=function(n,t){i._setRemoveAnim(n,"label"===t?"plotLabel":"rect")},i.__removeElem=function(n,t){i.__hideElem(n,t)},i.config.primitiveType="column",r}return nt(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"column"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.showvalues=u;t.includeinlegend=1;t.plotfillalpha=u;t.plotfillangle=u;t.ratio=u},t.prototype.preConfigure=function(t){if(!t)return!1;this.trimData(t);this.config.JSONData=t;n.prototype.preConfigure.call(this,t)},t.prototype.setSkippingInfo=function(n){this.addToEnv("skipInfo",n||{plotsPerBin:1,drawOnlyM
43ap:[],draw:[],hide:[],skippingApplied:!1,dragHashMap:[]})},t.prototype.getSkippingInfo=function(){return this.getFromEnv("skipInfo")||{plotsPerBin:1,drawOnlyMap:[],draw:[],hide:[],skippingApplied:!1,dragHashMap:[]}},t.prototype.configure=function(t){if(!t)return!1;n.prototype.configure.call(this,t)},t.prototype.configureAttributes=function(){var t=this.getFromEnv("chart"),n=this.config;this.parseAttributes();this._setConfigure();this.getState("visible")&&!1===n.oldVisible&&(n.appearing=!0);n.oldVisible=this.getState("visible");this._realTimeConfigure&&this._realTimeConfigure();!1!==t.config.hasLegend&&t.config.showLegend&&this._addLegend();this.ErrorValueConfigure&&this.ErrorValueConfigure();this.config.YForStackUpdated=!1;this.setState("dirty",!0)},t.prototype.parseAttributes=function(){var h,c,l,u=this.getFromEnv("chart"),v=u.getChildren("yAxis")[0].config.isReverse,n=this.config,t=this.config.JSONData,y=u.config.singleseries,e=u.config,i=u.getFromEnv("dataSource").chart,o=this.getFromEnv("color-manager"),p=this.getJSONIndex(),a=n.plotColor=o.getPlotColor(p),w=r.pluckNumber(t.dashed,i.plotborderdashed),b=r.pluckNumber(i.useplotgradientcolor,1),k=u.isBar,s=u.config.is3D,d=u.config.isdual;n.parentYAxis=d&&"s"===r.pluck(t.parentyaxis&&t.parentyaxis.toLowerCase(),"p")?1:0;n.maxValue=-Infinity;n.minValue=Infinity;n.defaultPadding={left:.5,right:.5};r.parseConfiguration(t,n,e,{data:!0});n.seriesname=r.parseUnsafeString(t.seriesname);n.showValues=r.pluckNumber(t.showvalues,i.showvalues,1);n.showplotborder=r.pluckNumber(i.showplotborder,s?0:1);h=e.plotborderdashlen;c=e.plotborderdashgap;n.plotfillangle=r.pluckNumber(360-i.plotfillangle,k?180:v?90:270);n.plotfillalpha=l=r.pluck(t.alpha,i.plotfillalpha,r.HUNDREDSTRING);n.plotColor=a=r.pluck(t.color,a);n.legendSymbolColor=r.getFirstColor(n.plotColor);n.plotgradientcolor=r.getDefinedColor(i.plotgradientcolor,o.getColor("plotGradientColor"));!b&&(n.plotgradientcolor="");n.plotborderalpha=r.pluck(i.plotborderalpha,l,r.HUNDREDSTRING);n.plotbordercolor=r.pluck(i.plotbordercolor,s&&!y?"#ffffff":o.getColor("plotBorderColor"));n.plotborderdashstyle=w?r.getDashStyle(h,c,void 0):"none";n.showShadow=s?r.pluckNumber(i.showshadow,1):r.pluckNumber(i.showshadow,o.getColor("showShadow"));n.definedGroupPadding=f(e.plotSpacePercent,0);n.includeinlegend=r.pluckNumber(t.includeinlegend,n.seriesname?1:0);this.setState("visible",1===r.pluckNumber(t.visible,!Number(t.initiallyhidden),1));!0===this.getState("visible")?this._conatinerHidden=!1:this._containerHidden=!0;n.legendInteractivity=!1;this.setState("visible",1===r.pluckNumber(this.getState("visible"),n.JSONData.visible,!Number(n.JSONData.initiallyhidden),1))},t.prototype.trimData=function(n){if(this.components||!this.components.data||!this.components.data.length){var r=this.components,u=this.config,f=u&&u.context,l=this.getFromEnv("chart").isRealTime,a=f&&f.prevCatlen,v=this.getFromEnv("xAxis"),e=l?0:v.getTicksLen(),o=a-e,s=r&&r.data,y=s&&s.length,h=n.data&&n.data.length||0,c=y-h,t=void 0,i=void 0;o>c?(t=o,i=e):(t=c,i=h);t>0&&this.removeData(i,t,!1)}},t.prototype.hidePlots=function(){var n,t=this,i=t.components.data,r=t.getSkippingInfo(),u=r.hide,f=r.hideLabel;u.forEach(function(r){(n=i[r])&&n.graphics&&(l(n.graphics,t.__removeElem),n&&(n.graphics={}))});f.forEach(function(r){(n=i[r])&&n.graphics&&(l(n.graphics,t.__removeElem),n&&(n.graphics={}))})},t.prototype._setConfigure=function(n,t){var a,k,v,f,e,h,d,c,i=this,it=i.getFromEnv("chart"),l=it.config,g=i.config,st=i.getFromEnv("xAxis"),rt=it.isRealTime,ut=l.realTimeConfig&&l.realTimeConfig.numDisplaySets,nt=i.getFromEnv("dataSource").categories&&i.getFromEnv("dataSource").categories[0]&&i.getFromEnv("dataSource").categories[0].category,p=g.initCatLen=rt?nt&&Array.isArray(nt)&&nt.filter(function(n){return!n.vline}).length||0:st.getTicksLen(),ht=g.JSONData||[],w=n||ht.data,tt=n&&n.data.length,ct=g.showplotborder,ft=l.plotborderthickness,s=i.components.data,lt=l.isDrag,b=i.getSkippingInfo&&i.getSkippingInfo(),et=b&&b.draw||[],ot=b&&b.skippingApplied;for(d=tt===u&&p>ut?p-ut:0,a=rt?r.pluckNumber(tt,p):Math.min(p,w&&w.length),l.dragTolerance=lt?(ct&&ft>5?ft/2+1:5)+o:0,s||(s=i.components.data=[]),ot&&(a=et.length),h=d;h<a;h++)e=et[h]||h,n?(k=n&&n.data[e]||{},f=t!==u?s[c=t+e]:s[c=s.length-a+e],v=c):(k=w&&w[e]||{},f=s[e-=d],v=e),f||(f=s[v]={}),f.config||(f.config={},f.graphics={}),i._plotConfigure(v,k,tt),c&&c++;ot&&i.addJob("configureRestID",function(){i._configureRestData()},y.priorityList.postRender)},t.prototype._configureRestData=function(){var t,e,f,n,o,s=this.config,h=this.config.JSONData,c=h.data,l=this.getFromEnv("chart-attrib"),a=this.getFromEnv("xAxis").getTicksLen(),v=(this.getSkippingInfo&&this.get
43SkippingInfo()).drawOnlyMap,i=this.components.data;for(i||(i=this.components.data=[]),s.maxValue=-Infinity,s.minValue=Infinity,n=0;n<a;n++)v[n]||(f=i[n],e=n,(t=c&&c[n]||{}).tooltext!==u&&(t.tooltext=r.parseTooltext(t.tooltext,[3],{label:t.label},t,l,h)),f||(f=i[n]={}),f.config||(i[n].config={}),this._plotConfigure(e,t),o&&o++)},t.prototype._plotConfigure=function(n,t,i){var ut,bt,ft,et,kt,ot,v,y,st,g,ht,p,nt,tt,b,dt,ct,gt,ni,lt,ti,ii,at,ri,ui,fi,it,ei,oi,vt,si,hi,ci,rt,k=this.getFromEnv("chart"),c=k.config,o=this.config,l=o.JSONData,nr=k.config.singleseries,li=this.getFromEnv("yAxis"),ai=this.getFromEnv("xAxis"),tr=this.components.data[n],h=k.getFromEnv("dataSource").chart,ir=this.getFromEnv("color-manager"),vi=o.showplotborder,a=o.plotColor,rr=c.showtooltip,ur=c.yaxisname,fr=c.xaxisname,yi=c.tooltipsepchar,er=c.seriesnameintooltip,pi=c.plotborderdashlen,yt=c.plotborderdashgap,wi=c.plotborderthickness,pt=r.pluckNumber(c.useroundedges,0),bi=c.plothovereffect,w=o.plotfillangle,or=o.plotborderdashstyle,s=tr.config,wt=k.isBar,d=k.config.is3D,ki=c.use3dlighting,di=c.realTimeConfig&&c.realTimeConfig.numDisplaySets,gi=di-o.initCatLen,sr=di&&gi>=0?gi:0,hr=c.usedataplotcolorforlabels;rt=ai.getLabel(i?n-i:sr+n);s.origLabel=ci=r.getValidValue(r.parseUnsafeString(rt.label));nt=s.label=r.getValidValue(r.parseUnsafeString(rt.tooltext))||ci;t.tooltext!==u&&(t.tooltext=r.parseTooltext(t.tooltext,[3],{label:rt.label},t,h,l));s.showValue=r.pluckNumber(t.showvalue,o.showValues);s.setValue=p=li.getCleanValue(t.value,r.pluckNumber(c.stack100percent));s.setLink=r.pluck(t.link);s.toolTipValue=ei=li.dataLabels(p);s.setDisplayValue=oi=r.parseUnsafeString(t.displayvalue);s.displayValue=r.pluck(oi,ei);vt=r.pluckNumber(t.dashed);si=r.pluckNumber(t.dashlen,pi);hi=yt=r.pluckNumber(t.dashgap,yt);null!==p&&(o.maxValue=f(o.maxValue,p),o.minValue=e(o.minValue,p));s.plotBorderDashStyle=ht=1===vt?r.getDashStyle(si,hi):0===vt?"none":or;nr?(a=ir.getPlotColor(r.pluckNumber(n-i,n)),a=r.pluck(t.color,a),hr&&ai.updateTicksValues(n,{labelfontcolor:r.convertColor(a)}),g=r.pluck(t.alpha,t.borderalpha,o.plotborderalpha,y).toString()):(a=r.pluck(t.color,o.plotColor),g=r.pluck(t.alpha,o.plotborderalpha,y).toString());st=r.pluck(t.ratio,o.ratio);y=r.pluck(t.alpha,o.plotfillalpha);s.shadow={opacity:o.showShadow?y/100:0};p<0&&!pt&&(ot=o.plotfillangle,w=wt?180-w:360-w);s.colorArr=tt=r.getColumnColor(a+","+o.plotgradientcolor,y,st,w,pt,o.plotbordercolor,g,wt?1:0,!!d);s.originalPlotColor=a;0!==bi&&(b=r.pluck(t.hovercolor,l.hovercolor,h.plotfillhovercolor,h.columnhovercolor,a),dt=r.pluck(t.hoveralpha,l.hoveralpha,h.plotfillhoveralpha,h.columnhoveralpha,y),!(ct=r.pluck(t.hovergradientcolor,l.hovergradientcolor,h.plothovergradientcolor,o.plotgradientcolor))&&(ct=""),gt=r.pluck(t.hoverratio,l.hoverratio,h.plothoverratio,st),ni=r.pluckNumber(360-t.hoverangle,360-l.hoverangle,360-h.plothoverangle,w),lt=r.pluck(t.borderhovercolor,l.borderhovercolor,h.plotborderhovercolor,o.plotbordercolor),ti=r.pluck(t.borderhoveralpha,l.borderhoveralpha,h.plotborderhoveralpha,h.plotfillhoveralpha,h.columnhoveralpha,g,y),ii=r.pluckNumber(t.borderhoverthickness,l.borderhoverthickness,h.plotborderhoverthickness,o.showplotborder&&wi),at=t.borderhoverdashed||l.borderhoverdashed||h.plotborderhoverdashed,ri=r.pluckNumber(t.borderhoverdashgap,l.borderhoverdashgap,h.plotborderhoverdashgap,pi),ui=r.pluckNumber(t.borderhoverdashlen,l.borderhoverdashlen,h.plotborderhoverdashlen,yt),fi=at!==u?Number(at)?r.getDashStyle(ui,ri):"":ht,(c.drawTrendRegion&&!d||1==bi&&b===a)&&(b=r.getLightColor(b,70)),it=r.getColumnColor(b+","+ct,dt,gt,ni,pt,lt,ti.toString(),wt?1:0,!!d),s.setRolloutAttr={fill:d?[r.toRaphaelColor(tt[0]),!ki]:r.toRaphaelColor(tt[0]),stroke:vi?r.toRaphaelColor(tt[1]):r.TRACKER_FILL,"stroke-width":vi?wi:0,"stroke-dasharray":ht},s.setRolloverAttr={fill:d?[r.toRaphaelColor(it[0]),!ki]:r.toRaphaelColor(it[0]),stroke:lt?r.toRaphaelColor(it[1]):r.TRACKER_FILL,"stroke-width":ii,"stroke-dasharray":fi});ut=s.toolTipValue;s.origToolText=ft=r.getValidValue(r.parseUnsafeString(r.pluck(t.tooltext,l.plottooltext,h.plottooltext)));rr?null===ut?v=!1:ft!==u?(kt=[1,2,3,4,5,6,7],bt={yaxisName:ur,xaxisName:fr,formattedValue:ut,label:nt},v=r.parseTooltext(ft,kt,bt,t,h,l)):(er&&(et=r.getFirstValue(l&&l.seriesname)),v=et?et+yi:"",v+=nt?nt+yi:""):v=!1;s.toolText=v;s.setTooltext=v;ot&&(w=ot);s._x=n;s._y=p},t.prototype.updateYForStack=function(){var e,n,t,i,c,l,o=this.getFromEnv("chartConfig"),v=r.pluckNumber(o.showpercentvalues),y=r.pluckNumber(o.showpercentintooltip),p=this.config.JSONData,w=this.getFromEnv("chart-attrib"),a=this.getFromEnv("xAxis").getTicksLen(),b=this.components.data,s=this.getFromEnv("stackValues"),k=v||y?-1:1,f=this.getSkippingInfo&&this.get
43SkippingInfo(),d=f&&f.skippingApplied,h=f&&f.draw||[],g=h&&h.length;for(d&&(a=g),i=0;i<a;i++)n=(e=b[t=h[i]||i])&&e.config,e!==u&&(c=r.getValidValue(r.parseUnsafeString(r.pluck(n.origToolText,p.plottooltext,w.plottooltext))),l=s[t]&&s[t].positive+k*s[t].negative||1,n._b=this._parseValues(t,n._b,l,c),o.stack100percent&&(n._y=n.value+n._b))},t.prototype._parseValues=function(n,t,i,u){var e,o,s=this.getFromEnv("chartConfig"),f=this.components.data[n].config,h=r.pluckNumber(s.showpercentvalues),c=r.pluckNumber(s.showpercentintooltip),l=this.getState("visible"),a=f.setValue,v=r.pluckNumber(s.stack100percent),y=this.getFromEnv("number-formatter"),p=this.getFromEnv("yAxis"),w=f.setDisplayValue;return o=(l&&a||0)/i*100,e=y.percentValue(o),v&&(f.value=o,t=(t||0)/i*100),c&&(f.toolTipValue=e),h&&!w&&(f.displayValue=e),u&&(f.toolText=r.parseTooltext(f.setTooltext,[14,24,25,112],{percentValue:e,sum:p.dataLabels(i),unformattedSum:i})),t},t.prototype._addLegend=function(){var u,f,n,e=this.getFromEnv("chart").isBar,o=this.getFromEnv("chart-attrib"),s=this.config,t=r.getFirstColor(s.legendSymbolColor),i=this.getFromEnv("legend"),h=r.pluckNumber(o.use3dlighting,o.useplotgradientcolor,1),c=r.getLightColor(t,60).replace(tt,r.HASHSTRING);s.includeinlegend?(u=h?{FCcolor:{color:t+","+t+","+r.getLightColor(t,40)+","+t+","+t,ratio:"0,30,30,30,10",angle:e?0:270,alpha:"100,100,100,100,100"}}:{FCcolor:{color:t,angle:e?0:270,ratio:"0",alpha:"100"}},n=i.getItem(this.config.legendItemId),f={type:this.getName(),index:this.getJSONIndex(),label:r.getFirstValue(this.config.JSONData.seriesname)},n||(this.config.legendItemId=i.createItem(this),n=i.getItem(this.config.legendItemId),this.addExtEventListener("fc-click",function(){n.itemClickFn()},n)),n.configure(f),n.setStateCosmetics("default",{symbol:{fill:r.toRaphaelColor(u),rawFillColor:t,stroke:r.toRaphaelColor(c)}}),this.getState("visible")?n.removeLegendState("hidden"):n.setLegendState("hidden")):this.config.legendItemId&&i.disposeItem(this.config.legendItemId)},t.prototype.legendInteractivity=function(n){var u=n.getLinkedParent().getFromEnv("chart"),f=this.getState("visible"),t=this.config,i;(u.getFromEnv("animationManager").setAnimationState("legendInteraction"),t.legendInteractivity=!0,f?this.hide():this.show(),r.isFirefox)&&(i=u.getChildContainer("plotGroup"),i.attrs["clip-rect"]&&i.attr({"clip-rect":i.attrs["clip-rect"]}));t.drawnEvtListenerAttached||(t.drawnEvtListenerAttached=!0,this.addEventListener("drawn",function(){t.legendInteractivity=!1}))},t.prototype.createPinElem=function(){for(var i,r,u=this.getFromEnv("chart"),f=arguments[1].group,e=this.components.data,t=this.graphics.pinElems||(this.graphics.pinElems=[]),o=this.getLinkedParent().getChildContainer().columnVcanvasGroup,n=t.length-1;n>=0;n--)t[n].remove(),t.pop();if(this.getState("visible"))for(n=this.config.scrollMinVal;n<this.config.scrollMaxVal;n++)(r=e[n])&&r.graphics&&(i=r.graphics.element.clone().attr({transform:["T",-(u.config._visx+c(o.transform()[0][1])),-u.config.canvasBottom]}),f.appendChild(i),t.push(i))},t.prototype._checkPointerOverColumn=function(n,t,i){for(var r,s,l,a,d,h,g,v,y=this.getFromEnv("chart").config,e=y.plotborderthickness,tt=y.showplotborder,c=this.components.data,nt=c&&c.length,p=0,w=0,b=y.dragTolerance||0,k=(this.getSkippingInfo&&this.getSkippingInfo()).plotsPerBin,f=v=(v=(g=(ct(n/k)-1)*k+1)+k-1)<nt?v:nt;f>=g;f--){if(!(r=c[f]))return;if(r._height<o&&(p=o),r._width<o&&(w=o),(r._xPos||r._yPos)&&(s=r.config.setValue,tt&&e!==u?h=e/2:e=h=0,null!==s&&(l=t-r._xPos+h,a=i-r._yPos+h+(s>=0?b:0),d=l>=-w/2&&l<=(w||r._width)+e&&a>=-p/2&&a<=(p||r._height)+e+(s<0?2*b:b))))return{pointIndex:f,hovered:d,pointObj:c[f]}}},t.prototype._getHoveredPlot=function(n,t){var r,i,f=this.getFromEnv("chart").isBar,u=this.getFromEnv("xAxis");return n+=u.getTranslation(),r=u.getValue(f?t:n),(i=Math.round(r))-r>0?this._checkPointerOverColumn(i,n,t)||this._checkPointerOverColumn(i-1,n,t):this._checkPointerOverColumn(i+1,n,t)||this._checkPointerOverColumn(i,n,t)},t.prototype.getPlotInCategoryAt=function(){var n,u,f,e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,o=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0,h=this.components.data,t=this.getFromEnv("xAxis"),i=this.getFromEnv("yAxis"),c=t.getTranslation()||0,l=i.getTranslation()||0,s=this.getState("visible"),a=e+c,v=o+l,r=void 0;if("category"===t.getName()&&t.config.hasCategory)r=t;else{if("category"!==i.getName()||!i.config.hasCategory)return!1;r=i}return null!==(u=r.config.isVertical)&&void 0!==u&&(n=h[Math.round(r.getValue(u?v:a))],f=this._getHoveredPlot(e,o),s&&f?f:!(!s||!n)&&{pointIndex:n._index,hovered:!1,pointObj:n})},t.prototype._decideTooltipType=function(n,t){var o=this.getFromEnv("chart").config.drawTrendRegion,s=this.components,f=this.getFromEnv("toolTipController"),i=s.data[n],r=i&&(i.config.finalTooltext||i.config.toolText),u=this.config.currentToolTip,e=t.originalEvent;r&&!o&&(u?f.draw(e,r,u):u=this.config.currentToolTip=f.draw(e,r))},t.prototype._firePlotEvent=function(n,t,i){var e,o=this.getFromEnv("chart"),s=this.components,h=this.getFromEnv("toolTipController"),r=s.data[t],f=r.graphics&&r.graphics.element,c=this.config.currentToolTip;if(f)switch(e=r.config.setLink,n){case"fc-mouseover":this._decideTooltipType(t,i),function(n,t,i,r,u){var e=t.graphics,f=e&&e.element,o=n.getFromEnv("animationManager"),s=f&&f.getData();!0!==s.draged&&(f&&0!==s.showHoverEffect&&(o.setAnimationState("mouseOver"),o.setAnimation({el:f,label:"rect",component:u,attr:f.getData().setRolloverAttr})),!r&&f&&n.plotEventHandler(f,i,"DataPlotRollOver"))}(o,r,i,u,this);e&&(f.node.style.cursor="pointer");break;case"fc-mouseout":h.hide(c),function(n,t,i,r,u){var e=t.graphics,f=e&&e.element,o=n.getFromEnv("animationManager"),s=f&&f.getData();!0!==s.draged&&(f&&0!==s.showHoverEffect&&(o.setAnimationState("mouseOut"),o.setAnimation({el:f,label:"rect",component:u,attr:f.getData().setRolloutAttr})),!r&&f&&n.plotEventHandler(f,i,"DataPlotRollOut"))}(o,r,i,u,this);e&&(f.node.style.cursor=it);break;case"fc-click":o.plotEventHandler(f,i);break;case"fc-mousemove":this._decideTooltipType(t,i)}},t.prototype.createContainer=function(){var t,u,f,r,e=this.getType(),o=this.getFromEnv("chart"),n=this.getLinkedParent(),i=this.config.primitiveType||e;n.getChildContainer(i+"VcanvasGroup")||(i="default");t=n.getChildContainer(i+"VcanvasGroup");r=n.getChildContainer(i+"ShadowVcanvasGroup");u=n.getChildContainer("commonElemGroup")||t;f=n.getChildContainer("anchorGroup")||t;!this.getContainer("shadowGroup")&&this.addContainer("shadowGroup",s("shadow-group",r,this));!this.getContainer("errorShadowGroup")&&this.addContainer("errorShadowGroup",s("error-shadow-group",r,this));!this.getContainer("commonElemsGroup")&&this.addContainer("commonElemsGroup",s("common-elems-group",u,this));!this.getContainer("plotGroup")&&this.addContainer("plotGroup",s("plot-group",f,this));!this.getContainer("errorPlotGroup")&&this.addContainer("errorPlotGroup",s("error-plot-group",t,this));o.hasAnchor&&this.getContainer("errorPlotGroup").insertBefore(this.getContainer("plotGroup"));!this.getContainer("labelGroup")&&this.addContainer("labelGroup",s("label-group",n.getChildContainer("vcanvasLabelGroup"),this).attr("class","fusioncharts-datalabels"))},t.prototype.createCoordinates=function(){var o,n,s,h,t,i,c,l,a,v,tt=this.components.data,y=this.getFromEnv("chart"),k=y.isBar,r=this.getFromEnv("yAxis"),d=this.getFromEnv("xAxis"),it=r.getAxisBase(),rt=r.getPixel(it),ut=d.config.isVertical,p=y.config.xDepth||0,f=y.config.yDepth||
430,g=tt.length,ft=this.components,nt=this.getLinkedParent(),w=nt.getstackConf&&nt.getstackConf(),et=ft.data,e=this.getSkippingInfo&&this.getSkippingInfo(),ot=e&&e.skippingApplied,b=e&&e.draw||[],st=b&&b.length;for(!k&&(p=-p),k&&(f=-f),ot&&(g=st),t=0;t<g;t++)n=(o=et[h=b[t]||t])&&o.config,o!==u&&(s=n._b,a=d.getPixel(w&&w[h]&&w[h].x||n._x),i=(isFinite(a)?a:0)+p,v=r.getPixel(n._y),c=(isFinite(v)?v:0)+f,l=(s?r.getPixel(s):rt)+f,ut?(n._Px=c,n._Py=i,n._Pby=i,n._Pbx=l):(n._Px=i,n._Py=c,n._Pby=l,n._Pbx=i),this.getLineShift&&(n._Py+=this.getLineShift("y")))},t.prototype.setContainerVisibility=function(n){var t,i=this.getContainer();for(t in i)i.hasOwnProperty(t)&&(!1!==this.getState("visible")||!1!==this._conatinerHidden&&this._conatinerHidden!==u||n?(i[t].show(),this._conatinerHidden=!1):(i[t].hide(),this._conatinerHidden=!0))},t.prototype.plotAnimManager=function(n,t,i,r){var u,a,f,o,s,h,e=this.getFromEnv("chart"),w=e.getFromEnv("animationManager"),c=e.config.is3D,v=e.config,l=this.getState("visible"),b=t.x,y=this.getSkippingInfo&&this.getSkippingInfo(),k=y&&y.draw||[],p=this.getFromEnv("plotGroup3d");h=((f=n&&n.config)&&f.setValue)<0;s=c?(a=h?p.negativeGroupArray:p.positiveGroupAarray)[e.isBar?a.length-1-i:i]:this.getContainer("plotGroup");o={el:(u=n.graphics.element)||(c?"cubepath":"rect"),container:s,attr:l&&t,doNotRemove:!0,props:{originalIndex:k[i]||i},index:i,length:r,component:this,label:"rect"};l||(o.callback=function(){this.hide()});n.graphics.element=u=w.setAnimation(o);c&&(u.appendTo(s),(v.isstacked&&h||!v.isstacked&&e.isBar)&&u.toBack());null!==n.config.setValue?this.getState("visible")&&u.show():(u.remove(),delete n.graphics.element);f._oldPx=f._Px;f._oldX=b;l&&(n.oldPrevDataObj=n.prevDataObj)},t.prototype.flushOnScroll=function(n,t){for(var i=void 0,u=this.components.data,r=n,f=t-1;r<=f;r++)(i=u[r])&&i.graphics&&(l(i.graphics,this.__removeElem),i.graphics={})},t.prototype.removingDraw=function(){var t=this;t.components.data.forEach(function(n){l(n.graphics,t.__removeElem);delete n.graphics});n.prototype.removingDraw.call(this)},t.prototype._contextChanged=function(){var u;this.config.context||(this.config.context={});var e,n=this.config.context,o=n.shift,t=this.getFromEnv("xAxis"),f=this.getFromEnv("yAxis"),s=n.axisLimit,r=!1,i={yAxis:{limit:f.getVisibleConfig()},xAxis:{limit:t.getVisibleConfig()}};return i.yAxis.limitPixel={min:f.getPixel(i.yAxis.limit.minValue),max:f.getPixel(i.yAxis.limit.maxValue)},i.xAxis.limitPixel={min:t.getPixel(i.xAxis.limit.minValue),max:t.getPixel(i.xAxis.limit.maxValue)},s!==(e=JSON.stringify(i))&&(n.axisLimit=e,r=!0),o!==this.getFromEnv("shift")&&(n.shift=this.getFromEnv("shift"),r=!0),n.prevColNum!==this.getFromEnv("numOfColumns")&&(n.prevColNum=this.getFromEnv("numOfColumns"),r=!0),t.getProcessLen?u=t.getProcessLen():t.getTicksLen&&(u=t.getTicksLen()),n.prevCatlen!==u&&(n.prevCatlen=u,r=!0),!!this.getFromEnv("chart").isRealTime||r},t.prototype.calculateScrollRange=function(){var t=this.config,n=this.getFromEnv("xAxis"),i=void 0,u=n.getTicksLen(),r=this.getSkippingInfo&&this.getSkippingInfo()||{},o=r.skippingApplied,s=r.draw||[],h=r.labelDraw||[],c=s.length;i=o?c-1:u;t.scrollMinVal=f(v(n.getVisibleConfig().minValue),0)-1;t.scrollMaxVal=e(v(n.getVisibleConfig().maxValue)+1,i)+1;i=o?h.length-1:u;t.scrollMinValForLabel=f(v(n.getVisibleConfig().minValue),0)-1;t.scrollMaxValForLabel=e(v(n.getVisibleConfig().maxValue)+1,i)+1},t.prototype.drawPlots=function(){var i,u,s,f,h,c,r,n,l,a=this.getFromEnv("chart"),t=this.config,y=a.config.plothovereffect,p=this.components.data,w=this.getContainer("shadowGroup"),e=t._oldStartIndex,o=t._oldEndIndex,v=this.getSkippingInfo&&this.getSkippingInfo(),b=v&&v.draw;for(r=t.scrollMinVal,n=t.scrollMaxVal,r>e&&this.flushOnScroll(e,r>o?o:r),n<o&&this.flushOnScroll(n<e?e:n,o),t._oldStartIndex=r,t._oldEndIndex=n,i=r,l=n-1;i<n;i++,l--)(u=p[b[i]||i])&&(c=(f=u.config).props.element.attr,this.plotAnimManager(u,c,i,n),h=u.trackerConfig,(s=u.graphics.element)&&(s.shadow(f.shadow,w).data("BBox",void 0),a.config.enablemousetracking&&s.data("eventArgs",h.eventArgs).data(rt,y).data(ut,f.setRolloverAttr||{}).data(ft,f.setRolloutAttr||{})));t.appearing&&(t.appearing=!1)},t.prototype.setColumnPosition=function(){var s,n=void 0;if((n=this.getFromEnv("plotWidth"))===u){var t,h,l=this.getFromEnv("xAxis"),k=this.getFromEnv("chartConfig"),a=this.getSkippingInfo().plotsPerBin,v=f(k.plotSpacePercent,0),y=f(r.pluckNumber(v,20)%100,0),d=1===a?y/2
4300:0,p=l.getPixel(0),w=l.getPixel(a),i=this.getFromEnv("chart"),g=i.isBar?i.config.maxBarHeight:i.config.maxColWidth,b=c(w-p),o=!0;n=(t=(1-.01*v)*b||e(b*(1-2*d),1*g))/1;w-(h=t/2)-(p-h+t)<4&&(o=!1);0===y&&(o=!0);this.addToEnv("isCrisp",o)}this.addToEnv("columnWidth",n);s=this.getFromEnv("shift")||0;this.addToEnv("columnXShift",s-this.getFromEnv("columnWidth")/2)},t.prototype.parsePlotAttributes=function(n,t){var vt,h,f,yt,rt,pt,wt,bt,l,u,kt,dt,b,gt,ut,ni,a,ti,v,y,k,d,ii,g,ft=this.config,ri=this.config.JSONData,p=this.getFromEnv("chart"),ai=p.getFromEnv("dataSource").chart,vi=p.config.isstacked,ui=this.config,fi=this.groupManager,yi=this.getJSONIndex(),nt=t,tt=this.getState("visible"),w=p.config,pi=p.config.is3D,ei=p.isBar,oi=w.xDepth||0,si=w.yDepth||0,ct=this.getFromEnv("yAxis"),it=this.getFromEnv("xAxis"),wi=w.showtooltip,bi=!1!==this.getState("visible"),ki=this.components.data,i=n.config,di=ct.getAxisBase(),gi=ct.yBasePos=ct.getPixel(di),s=r.pluckNumber(ui.plotborderthickness,w.plotborderthickness),hi=r.pluckNumber(w.useroundedges,0),nr=ui.use3dlighting,lt=e(ft.yAxisMinPixel,ft.yAxisMaxPixel),tr=fi&&fi.stackConf,ci=this.getFromEnv("columnXShift"),li=p.config.viewPortConfig,ir=li.x,rr=li.scaleX,at=r.pluckNumber(w.showplotborder);b=i.setLink;ut=i.colorArr||[];it.config.isVertical?(bt=this.getFromEnv("columnWidth"),wt=ci):(rt=this.getFromEnv("columnWidth"),pt=ci);n.graphics||(ki[nt].graphics={});gt=i.displayValue;!bi&&(i._Py=i._Pby);v=e(i._Px,i._Pbx)+(pt||0)+ir*rr;y=e(i._Py,i._Pby)+(wt||0);tr&&(v-=rt/2);k=rt||c(i._Px-i._Pbx);d=bt||c(i._Py-i._Pby);vt=ei?i._Px-i._Pbx>0?ot:st:i._Py-i._Pby>0?ht:et;dt=r.getValidValue(r.parseUnsafeString(r.pluck(i.origToolText,ri.plottooltext,ai.plottooltext)));this.fineTunePlotDimension&&(v=(g=this.fineTunePlotDimension(v,y,d,k,nt)).xPos,y=g.yPos,k=g.width,d=g.height);h=v;f=y;l=k;u=d;yt=it.getPixel(1)-it.getPixel(0)-(ei?u:l);!isFinite(u)&&(u=0);tt&&(yt<5&&this.getFromEnv("columnWidth")<5||(a=r.crispBound(v,y,l,u,s,vt,vi)),a?(h=a.x,f=a.y,s=a["stroke-width"],l=a.width,u=a.height||1):(h=v,f=y),it.config.isVertical?h===lt&&(h-=s,l+=s):f+u===lt?u+=s:f===lt&&(f-=s,u+=s),i.setRolloutAttr&&(i.setRolloutAttr["stroke-width"]=ft.showplotborder?s:0));kt=i.finalTooltext=!1!==i.toolText?i.toolText+(dt?"":i.toolTipValue):"";ni=i.plotBorderDashStyle;(ti=n.trackerConfig={}).eventArgs={index:nt,link:b,value:i.setValue,displayValue:gt,categoryLabel:i.origLabel,toolText:kt,id:"",datasetIndex:yi,datasetName:ri.seriesname,visible:tt};ii=gi===f+0;i.props={element:{attr:{x:h||0,width:l||0,height:u||0,y:f||0,r:hi,fill:r.toRaphaelColor(ut[0])||"",stroke:at?r.toRaphaelColor(ut[1])||"":r.TRACKER_FILL,"stroke-width":at?s:0,"stroke-dasharray":ni,"stroke-linejoin":"miter",visibility:tt,cursor:b?"pointer":""}}};pi&&(i.props.element.attr.noGradient=!nr,i.props.element.attr.xDepth=oi,i.props.element.attr.yDepth=si);n._xPos=h+oi;n._width=l;n._yPos=f-si;n._height=u;n._index=nt;n._plotBorderThickness=s;(b||wi)&&(u<o&&(f-=(o-u)/2,u=o),ti.attr={x:h,y:f,width:l,height:u,r:hi,cursor:b?"pointer":"",stroke:r.TRACKER_FILL,"stroke-width":at?s:0,fill:r.TRACKER_FILL,visibility:tt});i.oldValue=void 0;n._oldYBaseTouched=ii},t.prototype.parseLabelAttributes=function(n){var o,s,r,e,l,a,v,y,f,t,p,h,c=this.getFromEnv("chart"),k=c.config,w=c.getFromEnv("smartLabel"),i=c.config.dataLabelStyle,b=this.config.legendInteractivity,d=this.getState("visible"),g=k.rotatevalues?270:0;if(f=(t=n&&n.config)&&t.setValue,n===u||f===u||null===f||!0===t.labelSkip)return t&&delete t.labelSkip,void((h=n&&n.graphics)&&h.label&&h.label.hide());(e=n.graphics)&&(v=n._yPos,y=n._xPos,s=t.displayValue,t.showValue&&null!==f?(b&&t._state||(w.setStyle(i),r=w.getOriSize(s),t._state=g?{labelWidth:r.height,labelHeight:r.width}:{labelWidth:r.width,labelHeight:r.height}),a=(p=this._getValuePosition({labelWidth:t._state.labelWidth,labelHeight:t._state.labelHeight,width:n._width,height:n._height,yPos:v,xPos:y,value:f})).textX,l=p.textY,t.props||(t.props={}),t.props.label={attr:{x:a,y:l,text:s,"text-bound":[i.backgroundColor,i.borderColor,i.borderThickness,i.borderPadding,i.borderRadius,i.borderDash],opacity:d?1:0}},o=t.props.label.attr,b||(o["line-height"]=i.lineHeight,o.fill=i.color)):e.label&&(e.label.attr({"text-bound":[]}),e.label.hide()))},t.prototype.allocatePosition=function(){var t,i,f,e,s,h,r,u,c=this.getFromEnv("chart"),a=c.config,n=this.config,v=this.components.data.length,o=this.getFromEnv("yAxis"),y=this.components.data,p=a.isstacked,l=this.getSkippingInfo&&this.get
43SkippingInfo(),w=l&&l.draw;for(this.deleteFromEnv("columnWidth"),this.setColumnPosition(),this.calculateScrollRange(),p&&this.updateYForStack(),this.createCoordinates(),e=o.getLimit(),r=o.getPixel(e.max),u=o.getPixel(e.min),s=n.scrollMinVal,h=n.scrollMaxVal,r>u?(n.yAxisMaxPixel=r,n.yAxisMinPixel=u):(n.yAxisMaxPixel=u,n.yAxisMinPixel=r),i=0;i<v;i++)t=w[i]||i,c.hasScroll&&(t<s||t>h)||(f=y[t])&&(this.parsePlotAttributes(f,t),this.parseLabelAttributes(f))},t.prototype.draw=function(){var r,u,n=this,t=n.config,e=n.getState("visible"),o=n.getFromEnv("xAxis"),h=o.getPixel(0),l=o.getPixel(1),i=n.getFromEnv("groupMaxWidth"),a=n.getFromEnv("chart").config.xDepth||0,f=n.getFromEnv("yAxis"),v=t.drawn,s=f.getLimit(),p=s.max,w=s.min,b=p>0&&w<0,k=n._contextChanged(),d=(n.getSkippingInfo&&n.getSkippingInfo()||{}).skippingApplied;i||(i=c(l-h),n.addToEnv("groupMaxWidth",i));(n.getState("removed")||n.getState("dirty")||k&&e)&&(!v&&n.createContainer(),n.setContainerVisibility(!0),d&&n.hidePlots(),n.drawPlots(),n.drawCommonElements&&!n.config.skipCommonElements&&n.drawCommonElements(),r=t.scrollMinValForLabel,u=t.scrollMaxValForLabel,t.drawn?n.drawLabel(r,u):n.addJob("labelDrawID",function(){n.drawLabel(r,u)},y.priorityList.label),t.drawn=!0,n.removePlots(),t.oldGroupMaxWidth=i,t.oldDataIsPositiveNegative=b,t.oldZeroAxisPos=f.getPixel(f.getAxisBase())+a,n.drawErrorValue&&n.drawErrorValue(),t.prevVisible=e,t.catDiff=0)},t.prototype.show=function(){var t=this.getLinkedParent(),n=this.getFromEnv("legend");n&&n.getItem(this.config.legendItemId)&&n.getItem(this.config.legendItemId).removeLegendState("hidden");this.setState("visible",!0);this.config.appearing=!0;this._conatinerHidden=!1;this.setState("dirty",!0);t.childChanged();this.config.appearing=!1;this.asyncDraw()},t.prototype.hide=function(){var t=this.getLinkedParent(),n=this.getFromEnv("legend");n&&n.getItem(this.config.legendItemId)&&n.getItem(this.config.legendItemId).setLegendState("hidden");this.setState("dirty",!0);this.setState("visible",!1);t.childChanged();this.asyncDraw()},t.prototype.drawLabel=function(n,t){var f,e,k,h,i,d,v,s,p,c,w,b,l=this.getFromEnv("chart"),ht=this.getFromEnv("animationManager"),ct=l.config,lt=this.getFromEnv("xAxis"),g=this.getFromEnv("paper"),at=this.getState("visible"),nt=l.getFromEnv("smartLabel"),a=l.config.dataLabelStyle,tt=this.config,vt=lt.getTicksLen(),it=this.components,yt=it.data,o=it.pool,rt=ct.rotatevalues?270:0,pt=tt.labelDrawn,y=this.getSkippingInfo&&this.getSkippingInfo(),ut=y&&y.skippingApplied,ft=y&&y.labelDraw||[],et=ft.length,ot=r.pluckNumber(n,0),st=r.pluckNumber(t,ut?et:vt),wt=et===Math.abs(st-(ot+1)),bt=function(){this.attr({"text-bound":[]});this.hide()};for((b=this.getContainer("labelGroup")).css({fontFamily:a.fontFamily,fontSize:a.fontSize,fontWeight:a.fontWeight,fontStyle:a.fontStyle}),b.show(),nt.useEllipsesOnOverflow(l.config.useEllipsesWhenOverflow),nt.setStyle(a),h=ot;h<st;h++)v=(s=(f=yt[k=ut&&wt?ft[h]:h])&&f.config)&&s.setValue,f!==u&&v!==u&&null!==v&&!0!==s.labelSkip?(i=f.graphics)&&(s.showValue&&null!==v?(e=s.props.label.attr,d=f._xPos,!i.label&&pt&&l.isRealTime&&((p=r.extend2({},e)).x=e.x-d+(f._newXPos||0),p.transform=g.getSuggestiveRotation(rt,p.x,e.y),o&&o.label[0]&&(i.label=o.label[0],o.label.splice(0,1))),e.transform=g.getSuggestiveRotation(rt,e.x,e.y),(c=i.label)||o&&o.label[0]&&(c=i.label=o.label[0],o.label.splice(0,1)),(c=ht.setAnimation({el:i.label||"text",attr:e,component:this,label:"plotLabel",index:k,container:b,callback:!at&&bt}))&&c.show(),i.label||(i.label=this.addGraphicalElement("plotLabel",c,!0))):i.label&&(i.label.attr({"text-bound":[]}),i.label.hide())):(s&&delete s.labelSkip,(w=f&&f.graphics)&&w.label&&w.label.hide());tt.labelDrawn=!0},t.prototype._getValuePosition=function(n){var p,o,t,k,s,a,i,d,g,w=this.getFromEnv("chart"),rt=w.getChildren(),v=w.config,ut=rt.yAxis[0],l=v.xDepth||0,h=v.yDepth||0,b=v.canvasTop,nt=v.canvasHeight+h,u=n.yPos,y=w.config.is3D,ft=w.config.isstacked,tt=v.valuepadding+2,c=n.height,et=n.width,ot=v.placevaluesinside,st=n.labelHeight,ht=ut.getAxisConfig("isReverse"),it=n.value,ct=n.xPos;return ht||(d=!(it<0)),s=r.pluck(d,it<0),a=g=st+tt,k=c,t=u-(i=.5*g+tt),o=ct+.5*et,s?(p=b+nt-(u+c+h),t=u):p=u-b,ft?(t=e(b+nt-.5*a,t=u+.5*c+(h||0)),t=f(b+.5*a,t),o-=l):ot?k>=a?(t=u+(s?c-i:i),y&&(o-=l,t+=h)):p>=a?(t=u+(s?c+i:-i),y&&s&&(o-=l,t+=h)):(t=u+(s?c-i:i),y&&(o-=l,t+=h)):p>=a?(t=u+(s?c+i:-i),y&&(s?(o-=l,t+=h):o-=l/2)):(t=u+(s?c-i:i),y&&(o-=l,t+=h)),{textX:o,textY:t}},t.prototype.getDataLimits=function(){return{max:this.config.maxValue,min:this.config.minValue}},t.prototype.addData=function(n,t,i){var r,e=this.components,f=e.data,o=n.data.length;for(e.addDataArr=n.data,0===t?this.startPosition=!0:t+o!==f.length&&t!==u||(this.startPosition=!1),r=0;r<o;r++)t!==u?f.splice(t+r,0,{config:{}}):f.push({config:{}});this._setConfigure(n,t);i&&this.asyncDraw()},t.prototype.removeData=function(n,t,i){var r,o,h=this.getFromEnv("chart"),e=this.components,s=e.data,f=e.removeDataArr||(e.removeDataArr=[]);for(t===u&&(t=1),(n=n||0)+t!==s.length&&h.isRealTime?0!==n&&n!==u||(this.endPosition=!1):this.endPosition=!0,e.removeDataArr=f=f.concat(s.splice(n,t)),r=(o=f.length)-1;r>=0;r--)f[r]||f.splice(r,1);this.removeDataLen=o;i&&this.asyncDraw()},t.prototype.updateData=function(n,t,i){var r=this.config,o=r.maxValue,s=r.prevMin,u=this.getFromEnv("chart"),h=this.groupManager||this,f=u.getFromEnv("xAxis"),e=u.getFromEnv("yAxis");this._setConfigure(n,t);this.getDataLimits();r.maxValue===o&&r.minValue===s||(this.maxminFlag=!0);i&&(u._setAxisLimits(),f&&f[0].asyncDraw(),e&&e[0].asyncDraw(),h.asyncDraw())},t.prototype.removePlots=function(){var n=this.components,t=n&&n.removeDataArr;p(t,this.__removeElem)},t.prototype.removeGraphicElem=function(n,t){this.__removeElem(n,t)},t.prototype.getAxisValuePadding=function(){return this.config.defaultPadding},t.prototype.getCanvasPadding=function(){var n,y,t,l,s,e,p=this.config||(this.config={}),at=this.components||{},d=this.getFromEnv("chart"),g=d.config.rotatevalues,w=this.getFromEnv("xAxis"),h=this.getFromEnv("yAxis"),ut=d.config.dataLabelStyle,ft=this.getSkippingInfo(),et=ft.skippingApplied,nt=ft.draw,tt=at.data||[],vt=et?nt[0]:0,yt=et?nt[nt.length-1]:tt.length-1,ot=p.leftMostData||tt[vt],st=p.rightMostData||tt[yt],it={},rt={},c=0,i=0,o=0,b=w.getPixel(0),a=this.getFromEnv("smartLabel"),v={paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0},k=0,ht=w.getValuePadding(),ct=p.topMostData,lt=p.bottomMostData;return this.setColumnPosition(),e={xPosOffset:this.getFromEnv("columnXShift"),columnWidth:this.getFromEnv("columnWidth"),height:u},ot&&(l=(n=ot.config).showValue,t=n&&n.anchorProps||{},l&&(y=n.displayValue,a.useEllipsesOnOverflow(d.config.useEllipsesWhenOverflow),a.setStyle(ut),rt=a.getOriSize(y),k=g?rt.height:rt.width),null!==n.setValue&&(s=w.getPixel(ht.left),(o=(c=t.enabled&&r.pluckNumber(t.radius,0)+r.pluckNumber(t.borderThickness,0)/2||0)-(s-b))<0&&(o=0),(i=(k||0)/2-(s-b)-(e&&e.xPosOffset+e.columnWidth/2||0))<0&&(i=0)),v.paddingLeft=f(o,i)),o=i=0,st&&(l=(n=st.config).showValue,t=n&&n.anchorProps||{},l&&!g&&(y=n.displayValue,a.setStyle(ut),it=a.getOriSize(y),k=g?it.height:it.width),null!==n.setValue&&(s=w.getPixel(ht.right),(o=(c=t.enabled&&r.pluckNumber(t.radius,0)+r.pluckNumber(t.borderThickness,0)/2||0)-(s-b))<0&&(o=0),(i=(k||0)/2-(s-b)+(e&&e.xPosOffset+e.columnWidth/2||0))<0&&(i=0)),v.paddingRight=f(o,i)),ct&&(l=(n=ct.config).showValue,t=n&&n.anchorProps||{},null!==n.setValue&&(c=r.pluckNumber(t.radius,0)+r.pluckNumber(t.borderThickness,0)/2,i=Math.max(c-(h.getPixel(n.setValue.y)-h.getPixel(h.getLimit().max)),0)),v.paddingTop=i),lt&&(t=(n=lt.config)&&n.anchorProps||{},null!==n.setValue&&(c=r.pluckNumber(t.radius,0)+r.pluckNumber(t.borderThickness,0)/2,i=Math.max(c-(h.getPixel(h.getLimit().min)-h.getPixel(n.setValue.y)),0)),v.paddingBottom=i),v},t.prototype.getEventArgs=function(){var n=this.config||{};return{datasetName:(this.config.JSONData||{}).seriesname,datasetIndex:this.getJSONIndex(),id:n.userID,visible:!this.getState("visible")}},t.prototype.getData=function(){return this.components.data},t.prototype.setJSONIndex=function(n){this.config.index=n},t.prototype.getJSONIndex=function(){return this.config.index||0},t.prototype.remove=function(t){var i=this.config.legendItemId,r=this.getFromEnv("chart").getChildren("legend"),u=this.getFromEnv("legend");r&&r.length&&u&&i&&u.disposeItem(i);n.prototype.remove.call(this,t)},t.prototype.setMaxMin=function(n){var t,o,y,p=this.components,s=p.data,i=p.removeDataArr,r=this.config,b=s.length,h=-Infinity,c=+Infinity,l=r.maxValue,a=r.minValue,w=i.length,v=!1;if(n)v=l===n.startValue||a===n.startValue||l<n.config.setValue||a>n.config.setValue;else if(w)for(t=0;t<w;++t)if(l===(y=i[t]&&i[t].config&&i[t].config.setValue)||a===y){v=!0;break}if(v){for(t=0;t<b;t++)s[t]&&(o=s[t].config.setValue)!==u&&(h=f(h,o),c=e(c,o));r.maxValue=h;r.minValue=c}},t}(b.ComponentInterface);t._removePlots=p;t["default"]=w},function(n,t,i){"use strict";t.__esModule=!0;var r=i(125);t["default"]={"initial.dataset.column":function(){var i=this,s=i.getFromEnv("chart"),o=s.config.yDepth||
vendor: 3,909 bytes, line 43
430,n="y",t="height",u="x",f="width",e=i.getFromEnv("yAxis"),h=i.getFromEnv("xAxis"),c=function(r,h){var v,y,a,w,k=i.config,d=h&&h.graphics&&h.graphics.element,b=r.attr,l=e.getPixel(e.getAxisBase())+(s.isBar?-o:o),c={},p=k.oldZeroAxisPos;if(v=d.attr(),c[n]=y=v[n],c[t]=v[t],c[u]=v[u],c[f]=v[f],a=v[n]+v[t],l!==p&&(p-l>=0?(y>l&&y<=p+.7&&(c[n]=l,a>p&&(c[t]=a-c[n])),a>l&&a<=p+.7&&(c[t]=l-(c[n]||0===c[n]?c[n]:y))):(y<l&&y>=p-.7&&(c[n]=l,a>l&&(c[t]=a-c[n])),a<l&&a>=p-.7&&(c[t]=l-(c[n]||0===c[n]?c[n]:y))),w=!0),i.config.catDiff&&(c[u]=b[u],c[f]=b[f],w=!0),h._plot_1Start=c,w)return{finalAttr:c,slot:"axis"}};return{"rect.appearing":function(c){var v,y,p,l,w=e.getPixel(e.getAxisBase())+(s.isBar?-o:o),b=c.props&&c.props.originalIndex||c.index,k=i.components.data[b],a=c.attr;return h.config.isVertical&&(n="x",t="width",u="y",f="height"),v=a[n],y=a[t],l=Math.sign(v+y/2-w),p=1===l?v:v+y,k._posWRT0=l,[{initialAttr:function(){var i={};return i[n]=p,i.opacity=0,i[t]=0,i},finalAttr:{opacity:1},startEnd:function(){var u=c.length;return r.animHelperFN.getTimeByValue(r.animHelperFN.animByWeight(c.index,u,.6),{startPx:w,endPx:1===l?i.config.yAxisMaxPixel:i.config.yAxisMinPixel},{startPx:p,endPx:1===l?a[n]+a[t]:a[n]})},hookFn:function(){this.attr({opacity:1})},effect:"linear",slot:"plot"}]},"rect.updating":function(r){var yt,ft,dt,pt,et,ot,gt,st,g,l,y,p,ht,ct,lt,at,ni,wt,tt,d,b,bt,kt,nt,ti,k,it,ii,rt=[],a=i.components.data[r.props&&r.props.originalIndex||r.index],v=r.attr,vt=a&&a.graphics&&a.graphics.element,w=e.getPixel(e.getAxisBase())+(s.isBar?-o:o),ut=0,ri=i.getFromEnv("numColDiff");return h.config.isVertical&&(n="x",t="width",u="y",f="height"),(ii=c(r,a))&&rt.push(ii),ht=(p=a.prevDataObj)&&p._plot_1Start,tt=p&&p._plot_1End,ct=p&&p._plot_2Start,lt=a.oldPrevDataObj,at=a.oldPrevDataObj&&a.oldPrevDataObj._plot_1End,dt=(yt=(st=a._plot_1Start)[n])+(ft=st[t]),pt=yt+ft/2,gt=(et=v[n])+(ot=v[t])/2,ni=(dt+(et+ot))/2,d=Math.sign(pt-w),b=Math.sign(gt-w),(y={})[n]=(l={})[n]=(yt+et)/2,y[t]=l[t]=(ft+ot)/2,ft?d!==b?(y[t]=l[t]=0,l[n]=lt&<._oldPosWRT0===d?at[n]+(1===d?at[t]:0):w,y[n]=ct?ct[n]+(1===b?ct[t]:0):w,wt=g=!0):p!==lt&&(kt=(bt=at||!(!tt||Math.sign(tt[n]+tt[t]/2-w)!==d)&&tt)?bt[n]+(1===d?bt[t]:0):w,1===d?(y[n]=l[n]=kt,y[t]=l[t]=ni-l[n]):y[t]=l[t]=kt-l[n],g=!0):p&&p._oldPosWRT0===b||0===i.stackIndex?((k={})[t]=0,k[n]=ht?ht[n]+(p._posWRT0>0?ht[t]:0):w,a._posWRT0=b,a._plot_1Start=k,y[n]=l[n]=(k[n]+et)/2,y[t]=l[t]=ot/2):pt===w&&(b!==a._posWRT0?ut=.5:(g=!0,l[n]=1===b?w:w-l[t])),ri<0?(l[u]=v[u],l[f]=v[f],g=!0):ri>0?ut=.5:st[u]===v[u]&&st[f]==v[f]||(.5===ut?((k={})[u]=v[u],k[f]=v[f],nt=function(){wt&&vt.attr(y);vt.attr(k)}):(l[u]=v[u],l[f]=v[f],g=!0,nt&&(ti=function(){vt.attr(k)},nt=void 0))),g&&(rt.push({finalAttr:l,startEnd:{start:0,end:.5},hookFn:ti,slot:"plot"}),ut=.5),!nt&&(nt=function(){wt&&vt.attr(y)}),rt.push({effect:"linear",startEnd:{start:ut,end:1},finalAttr:{x:v.x,y:v.y,width:v.width,height:v.height},callback:function(){null!==a.config.setValue&&void 0!==a.config.setValue||this.hide()},hookFn:nt,slot:"plot"}),delete(it=Object.assign({},v)).x,delete it.y,delete it.width,delete it.height,rt.push({finalAttr:it,effect:"linear",slot:"plot"}),a._plot_1End=l,a._plot_2Start=y,a._oldPosWRT0=a._posWRT0,a._posWRT0=b,rt},"rect._disappearing":function(r){var a,v,f,y,p,w=e.getPixel(e.getAxisBase())+(s.isBar?-o:o),b=i.components.removeDataArr,u=b&&b[r.props&&r.props.originalIndex||r.index]||i.components.data[r.props&&r.props.originalIndex||r.index],k=u&&u.graphics&&u.graphics.element,h=u.oldPrevDataObj&&u.oldPrevDataObj._plot_1End,l=[];if(k)return(y=c(r,u))&&l.push(y),e.config.isVertical||(n="x",t="width"),a=(v=(p=u._plot_1Start)[n])+p[t]/2>w?h?h[n]+h[t]:v:h?h[n]:w,(f={})[n]=a,f[t]=0,f.width=u._width,f.x=u._xPos,l.push({startEnd:{start:0,end:i.getFromEnv("numOfColumns")<1?1:.5},finalAttr:f,slot:"plot"}),u._plot_1End=r.finalAttr,l},"plotLabel.appearing":[{initialAttr:{opacity:0}
43,slot:"final"}],"plotLabel._disappearing":[{hookFn:function(){this.hide()},slot:"initial"}],"plotLabel.updating":[{hookFn:function(){this.hide()},slot:"initial"},{hookFn:function(){this.show()},initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}],"group.appearing":function(n){return"label-group"===n.attr.name?[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]:[{initialAttr:{opacity:1},finalAttr:{opacity:1},slot:"final"}]},"*":null}}}},,,,,,,,,,,,,,,,function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var o=u(i(450)),r=i(125),s=i(132),h=u(i(452));f=Math.abs;s.addDep({name:"lineAnimation",type:"animationRule",extension:h["default"]});e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.updateYForStack=r.stubFN,i.config.primitiveType="line",i}return c(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"line"},t.prototype.createPinElem=function(){for(var i,r,u=this.getFromEnv("chart"),o=arguments[1].group,e=this.config.lineOb,t=this.getGraphicalElement("pinElems")||this.addGraphicalElement("pinElems",[]),s=this.getFromEnv("paper"),h=this.getLinkedParent().getChildContainer("lineVcanvasGroup"),n=t.length-1;n>=0;n--)t[n].remove(),t.pop();if(this.getState("visible"))for(r in e)i=e[r].el,t.push(s.path(o).attr({path:i.attrs.path,transform:["T",-(u.config._visx+f(h.transform()[0][1])),-u.config.canvasBottom]}).attr(this.config.pin))},t.prototype._addLegend=function(){var t,u,f=this.getFromEnv("chart"),n=this.config,i=f.getChildren("legend")[0],e=r.pluckNumber(n.drawanchors,1);n.includeinlegend?(u={enabled:n.includeinlegend,type:this.getName(),drawLine:r.pluck(n.drawLine,!0),index:this.getJSONIndex(),anchorSide:e?n.anchorsides:0,label:r.getFirstValue(this.config.JSONData.seriesname)},(t=i.getItem(this.config.legendItemId))||(this.config.legendItemId=i.createItem(this),t=i.getItem(this.config.legendItemId),this.addExtEventListener("fc-click",function(){t.itemClickFn()},t)),t.setStateCosmetics("default",{symbol:{fill:r.toRaphaelColor({color:n.anchorbgcolor,alpha:n.anchorbgalpha}),rawFillColor:n.anchorbgcolor,rawStrokeColor:n.anchorbordercolor,stroke:r.toRaphaelColor({color:n.anchorbordercolor,alpha:"100"}),"stroke-width":n.anchorborderthickness,lineWidth:n.linethickness}}),this.getState("visible")?t.removeLegendState("hidden"):t.setLegendState("hidden"),t.configure(u)):this.config.legendItemId&&i.disposeItem(this.config.legendItemId)},t.prototype._getDataLimits=function(){var n=this.config,r=this.getFromEnv("chart").config,t=n.maxValue,i=n.minValue,u=r.transposeAxis;return!1===this.getState("visible")&&u&&(t=-Infinity,i=+Infinity),{max:t,min:i}},t.prototype._drawCommonElementsHelper=function(n){var r,u,o,i=this,f="",t={},s=i.getFromEnv("animationManager"),h=i.config,c=h.shadow,l=h.linethickness,e=i.getContainer("commonElemsGroup"),a=function(){!1===i.getState("visible")&&this.hide()};for(f in n){for(r=["M0,0"],u=0,o=(t=n[f]).path&&t.path.length;u<o;++u)r=r.concat(t.path[u].getPathArr());i.config.drawLine?(t.el=s.setAnimation({el:t.el||"path",container:e,component:i,attr:!1!==i.getState("visible")&&Object.assign({path:r},t.attr),label:"line",callback:a}),i.getState("visible")&&t.el&&t.el.show()):t.el&&(t.el=s.setAnimation({el:t.el,component:i,doNotRemove:!0,callback:function(){this.hide()}}));!t.used&&delete n[f];t.el&&(l?t.el.shadow(c,e):t.el.shadow({opacity:0}
43,e),t.el.toFront());t.old=!0;t.used=!1;t.prevPath=t.path;t.attrs=void 0;t.path=void 0}},t.prototype.getLineShift=function(n){var t=this.getFromEnv("chart"),i=t.config.is3D,r=t.config.use3dlineshift;return"y"===n?i?r?0:-10:0:i?10:0},t.prototype.drawCommonElements=function(){var nt,w,c,s,l,e,t,u,b,k,o=this.components.data,i=this.config,a=this.getFromEnv("xAxis"),v=this.getFromEnv("yAxis"),tt=i.lineDashStyle,it=i.linethickness,d={color:i.linecolor,alpha:i.alpha},h=[r.toRaphaelColor(d),tt].join(":"),ot=h,n={x:a.getLimit(),y:v.getLimit()},rt=o.length,y=this.config.lineOb||{},f=0,g=!1,p=this.getSkippingInfo&&this.getSkippingInfo(),ut=p&&p.draw||[],st=ut.length,ht=p&&p.skippingApplied,ft=function(n,t,i){var r=y[n];r||(r=y[n]={});n!==ot&&(r.hasDifferentColor=!0);r.used=!0;r.pathWithNull=i;r.path=r.path||[];r.stroke=n.split(":")[0];r.dashStyle=n.split(":")[1];r.path.push(t);r.dashStyle=r.dashStyle&&r.dashStyle.split(",");r.attr={"stroke-dasharray":r.dashStyle,"stroke-width":it,stroke:r.stroke,"stroke-linecap":"round","stroke-linejoin":it>2?"round":"miter"}},et=[];for(n.x.minPixel=a.getPixel(n.x.min),n.x.maxPixel=a.getPixel(n.x.max),n.y.minPixel=v.getPixel(n.y.min),n.y.maxPixel=v.getPixel(n.y.max),n.y.base=v.getPixel(0),n.x.base=a.getPixel(0),ht&&(rt=st),s=0;s<rt;++s)(l=o[c=ut[s]||s])&&((t=l.config||{})._Pbx=void 0,t._Pby=void 0,et[c]={config:{_Px:t._Px,_Py:t._Py,setValue:t.setValue}},w={color:t.setColor,alpha:t.setAlpha},nt=t.dashStyle,h!==(e=[r.toRaphaelColor({color:r.pluck(w.color,d.color),alpha:r.pluck(w.alpha,d.alpha)}),nt||tt].join(":"))&&null!==l._yVal&&(g=!0,u=c,b=this.getLinePath(o,{begin:f,end:u+1}),k=this.getLinePath(o,{begin:f,end:u+1},void 0),t.connStartIndex=f,t.connEndIndex=u,ft(h,b,k.getPathArr()),h=e,f=c,u=null),null!==l._yVal&&(h=e));e||(e="");i.pathStartIndex=f;i.pathEndIndex=u;ft(e,b=this.getLinePath(o,{begin:g?f:i.scrollMinVal,end:g?u:i.scrollMaxVal}),(k=this.getLinePath(o,{begin:f,end:u},void 0)).getPathArr());this._drawCommonElementsHelper(y);this.config.lineOb=y;i.prevLim=n;i.prevDataStore=et},t.prototype.show=function(){n.prototype.show.call(this);this.fireEvent("datasetVisibilityChanged",{dataset:this,state:"show"})},t.prototype.hide=function(){n.prototype.hide.call(this);this.fireEvent("datasetVisibilityChanged",{dataset:this,state:"hide"})},t}(o["default"]);t["default"]=e},function(n,t,i){"use strict";function p(n){return n&&n.__esModule?n:{"default":n}}function rt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var g;t.__esModule=!0;var nt=p(i(432)),r=i(125),y=i(136),tt=i(132),it=p(i(451));var u,h=!r.hasSVG,o="DataPlotRollOver",l="DataPlotRollOut",a=r.hasTouch?r.TOUCH_THRESHOLD_PIXELS:r.CLICK_THRESHOLD_PIXELS,ut=r.preDefStr.DEFAULT,f=r.preDefStr.setRolloverAttrStr,e=r.preDefStr.setRolloutAttrStr,ft=function(){var n=this.pathArr,t=this.path2Arr;return n.length||t.length?n.concat(t):["M0,0"]},w=function(n){return n!==u&&null!==n&&""!==n},c="Z",v=Math,b=v.min,s=v.max,k=v.ceil,d=function(n,t){var ct,k=n.getFromEnv("chart").config,d=t.config,ut=t.graphics,nt=ut.image||ut.element,dt=d.eventArgs,o=nt._.RefImg,v=t._xPos,y=t._yPos,u=d.anchorProps,gt=n.getContainer("shadowGroup"),i=d.hoverEffects,ni=d.setLink,l=u.imageScale,ft=u.imageAlpha,tt=i.imageHoverAlpha,p=i.imageHoverScale,g=o.height*l*.01,et=o.width*l*.01,lt=o.width*p*.01,ti=o.height*p*.01,it=void 0,a=void 0,at=void 0,vt=void 0,ot=void 0,yt=void 0,rt=void 0,st=void 0,pt=void 0,wt=void 0,w=void 0,c=void 0,bt=void 0,kt=void 0,ht=void 0;ct=u.isAnchorRadius;u.markerRadius=a=u.radius=ct?u.radius:b(et,g)/2;h?(c={x:v-o.width*l*.005,y:y-o.height*l*.005,width:et,height:g},w={x:v-o.width*p*.005,y:y-o.height*p*.005,width:lt,height:o.height*p*.01,alpha:tt},d.isAnchorsDrawn=!0,k.dragTolerance=k.dragTolerance<g?g+.5:k.dragTolerance,nt.data("alwaysInvisible",!l).data("setRolloverProperties",i).data("hoverEnabled",i).data(f,w).data(e,c).data("imgRef",o).data("anchorRadius",l).data("anchorHoverRadius",p),nt.attr(c),c.alph
43a=ft):(it=u.symbol[1],kt=i.isAnchorHoverRadius,at=u.shadow,st=u.imagePadding,i.radius=kt?i.anchorRadius:a+1,ot=i.radius-st-.5*i.anchorBorderThickness,rt=a-st-.5*u.borderThickness,w=c={},k.dragTolerance=k.dragTolerance<a?a+.5:k.dragTolerance,ht={fill:r.toRaphaelColor({color:u.bgColor,alpha:u.bgAlpha}),"stroke-width":u.borderThickness,stroke:r.toRaphaelColor({color:u.borderColor,alpha:u.borderAlpha})},c=r.extend2({path:r.polyPathToPath([it||2,v,y,a,u.startAngle,void 0])},ht),i&&(w={path:r.polyPathToPath([i.anchorSides||2,v,y,i.radius,i.startAngle,i.dip]),fill:r.toRaphaelColor({color:i.anchorColor,alpha:i.anchorBgAlpha}),"stroke-width":i.anchorBorderThickness,stroke:r.toRaphaelColor({color:i.anchorBorderColor,alpha:i.anchorBorderAlpha})},tt>(wt=s(i.anchorAlpha,i.anchorBorderAlpha))&&(tt=wt)),u.bgAlpha&&u.borderAlpha&&ft>(pt=s(u.bgAlpha,u.borderAlpha))&&(ft=pt),(bt=ut.element).attr(Object.assign(ht,{path:c.path})),bt.attr({cursor:ni?"pointer":""}).data("alwaysInvisible",!a).data("setRolloverProperties",i).data("hoverEnabled",i.enabled).data(f,w).data(e,c).data("anchorRadius",a).data("anchorHoverRadius",i&&i.radius).data("eventArgs",dt).shadow(at,gt),yt=r.polyPathToPath([it||2,v,y,rt>0?rt:0,u.startAngle,void 0]),vt=r.polyPathToPath([it||2,v,y,ot>0?ot:0,i.startAngle,i.dip]),u.imgRefWidth=o.width,u.imgRefHeight=o.height,u.imgRefScale=l,u.rolloutClipRadius=rt,c={x:v-o.width*l*.005,y:y-o.height*l*.005,width:et,height:g,"clip-path":yt},w={x:v-o.width*p*.005,y:y-o.height*p*.005,width:lt,height:ti,alpha:tt,"clip-path":vt},nt.attr({x:c.x,y:c.y,width:c.width,height:c.height,"clip-path":c["clip-path"]}).data("alwaysInvisible",!l).data("setRolloverProperties",i).data(f,w).data(e,c).data("anchorRadius",l).data("imgRef",o).data("anchorHoverRadius",p),d.isAnchorsDrawn=!0,a=s(a,i&&i.anchorRadius||0,2));t._xPos=v;t._yPos=y;n.parseLabelAttributes(t,t._index)};tt.addDep({name:"areaAnimation",type:"animationRule",extension:it["default"]});g=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.__removeElem=function(n,t){i._setRemoveAnim(n,"element"===t||"image"===t?"anchor":"label")},i.config.primitiveType="area",r}return rt(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"area"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.valueposition=u;t.plotborderdashlen=u;t.plotborderdashgap=u;t.plotborderdashstyle=u;t.plotborderthickness=u;t.linethickness=u;t.linedashlen=u;t.linedashgap=u;t.dashed=u;t.linedashstyle=u;t.linecolor=u;t.linealpha=u;t.anchorbgcolor=u;t.anchorbordercolor=u;t.anchorradius=u;t.anchoralpha=u;t.anchorimageurl=u;t.anchorsides=u;t.anchorbgalpha=u;t.anchorborderthickness=u;t.anchorshadow=u;t.anchorstartangle=u;t.anchorimagealpha=u;t.anchorimagescale=u;t.anchorimagepadding=u;t.alpha=u;t.parentyaxis=u},t.prototype._getHoveredPlot=function(n,t){var o,u,f,s,h,i,e=this.getFromEnv("xAxis"),c=this.components.data,v=c.length,l=this.config,y=this.getFromEnv("chartConfig").viewPortConfig.step||1,a=l&&l.radius||0,r=(this.getSkippingInfo&&this.getSkippingInfo()).plotsPerBin;for(n+=e.getTranslation(),u=Math.floor(Math.max(e.getValue(n-a),0)),f=Math.ceil(Math.min(e.getValue(n+a),v-1)),h+r-1,r>1&&(u=h=(k(u/r)-1)*r+1,f=k(f/r)*r),i=f;i>=u&&(!(o=c[i])||i%y||!(s=this.isWithinShape(o,i,n,t)));i--);return s},t.prototype.getClip=function(n){var i=this.getFromEnv("xAxis"),r=this.getFromEnv("yAxis"),u=r.getLimit(),f=i.getLimit(),e=i.getPixel(f.min),o=r.getPixel(u.min),s=r.getPixel(u.max),c=Math.abs(i.getPixel(f.max)-e),h=o-s,t=[];return t.push(e),t.push(h<0?o:s),"init"===n?t.push(0):"canvas"===n&&t.push(c),t.push(Math.abs(h)),t},t.prototype.isWithinShape=function(n,t,i,u,f){var e,c,s,l,o,v,y,p,w,b,k,d,h,g;if(n&&((f=n.config.setValue)||0===f))return e=n.config.anchorProps,c=n.config,l=e&&e.borderThickness,this,o=this.getFromEnv("chart").config.viewPortConfig,v=this.components.data,y=r.pluckNumber(c.dragTolerance,0),g=o?o.x*o.scaleX:0,p=n._xPos-g,null!==(w=n._yPos)?(h=n.config.hoverEffects,(s=Math.max(e&&e.radius,h&&h.anchorRadius||0,a)+l/2)||(s=3),b=i-p,k=u-w,((d=Math.sqrt(Math.pow(b,2)+Math.pow(k,2)))<=s||d<=y)&&{pointIndex:t,hovered:!0,pointObj:v[t]}):void 0},t.prototype._parseShadowOptions=function(){var n=this.getFromEnv("chart"),t=this.config,i=n.getFromEnv("dataSource").chart,u=this.getFromEnv("color-manager"),f=r.pluckNumber(n.defaultPlotShadow,u.getColor("showShadow"));return{opacity:r.pluckNumber(i.showshadow,f)?t.alpha/100:0}},t.prototype._firePlotEvent=function(n,t,i){var e,o,s,f=this.getFromEnv("chart"),l=this.components,a=this.getFromEnv("toolTipController"),r=l.data[t]||{},v=this.getGraphicalElement("sharedAnchor"),h=r.graphics&&r.graphics.element||(r.config&&r.config.setValue)!==u&&v,y=this.config.currentToolTip,c=f.getFromEnv("paper").canvas.style;if(h)switch(s=(e=r.config).setLink,o=e.eventArgs,n){case"fc-mouseover":this._decideTooltipType(t,i);this._rolloverResponseSetter(f,r,i);s&&(c.cursor="pointer");break;case"fc-mouseout":a.hide(y);this._rolloutResponseSetter(f,r,i);c.cursor=ut;break;case"fc-click":f.plotEventHandler(h,i,"dataplotclick",o);break;case"fc-mousemove":this._decideTooltipType(t,i)}},t.prototype._rolloverResponseSetter=function(n,t,i,r){var f=t.graphics,u=f&&(f.element||this.getAnchor(t)),e=u&&u.data("draged"),s=u&&u.data("hoverEnabled");!0!==e&&(this._hoverFunc(t,o,s,n.getFromEnv("dataSource").chart),!r&&u&&n.plotEventHandler(u,i,o))},t.prototype._rolloutResponseSetter=function(n,t,i,r){var f=t.graphics,u=f&&(f.element||this.getAnchor(t)),s=u&&u.data("draged"),h=u&&u.data("hoverEnabled"),c=this.type,e=t.config,o=e.anchorProps,a=o.radius&&o.anchorAlpha;!0!==s&&(this._hoverFunc(t,l,h,n.getFromEnv("dataSource").chart),!r&&u&&n.plotEventHandler(u,i,l));e.isAnchorsDrawn&&!a&&"area"===c&&u&&u.hide()},t.prototype.getAnchor=function(){var i,s,h,c,n,r,l,a,v,u=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},y=this.getFromEnv("animationManager"),t=this.getGraphicalElement("sharedAnchor"),o=u.config;return t?(i=o.anchorProps,s=o.eventArgs,(r=(n=o.hoverEffects).enabled)&&(h=n.attrs&&n.attrs.setRolloutAttr,c=n.attrs&&n.attrs.setRolloverAttr),l=i.radius,a=i.shadow,v=this.getFromEnv("chartConfig").prevAnchorHovered,n.anchorAnimation=0,u._index!==v&&(t.shadow(a,this.getContainer("shadowGroup")).data("anchorRadius",l).data("anchorHoverRadius",n.anchorRadius).data("hoverEnabled",r).data("eventArgs",s),r&&t.data(f,c).data(e,h)),this.getFromEnv("chartConfig").prevAnchorHovered=u._index,t):(t=y.setAnimation({el:"path",container:this.getContainer("plotGroup"),label:"anchor",doNotRemove:!0,
43component:this}),this.addGraphicalElement("sharedAnchor",t),t)},t.prototype.configureAttributes=function(n){if(!n)return!1;this.trimData(n);var t=this.getFromEnv("chart");this.config.JSONData=n;this.parseAttributes();this._setConfigure();this._realTimeConfigure&&this._realTimeConfigure();!1!==t.config.hasLegend&&t.config.showLegend&&this._addLegend();this.setState("dirty",!0)},t.prototype.parseAttributes=function(){var s,h,o=this.getFromEnv("chart"),f=o.config,n=this.config,a=this.getName(),t=this.config.JSONData,i=o.getFromEnv("dataSource").chart,c=o.config.singleseries,e=this.getFromEnv("color-manager"),v=Math.floor(this.getJSONIndex()),y=r.pluckNumber(t.showplotborder,i.showplotborder||1),l=r.getFirstColor(!c||r.getValidValue(i.palettecolors)?e.getPlotColor(v):e.getColor("plotFillColor").split(/\s*\,\s*/)[0]),p=f.isdual,w=f.haslineset;n.maxValue=-Infinity;n.minValue=Infinity;r.parseConfiguration(t,n,o.config,{data:!0});n.showValues=r.pluckNumber(t.showvalues,i.showvalues,"radar"===a?0:1);n.anchorimageurl=r.pluck(t.anchorimageurl,i.anchorimageurl,u);n.plotColor=l;n.parentYAxis=p?w?1:"s"===r.pluck(t.parentyaxis&&t.parentyaxis.toLowerCase(),"p")?1:0:0;n.valueposition=n.valueposition.toLowerCase();n.plotfillcolor=r.pluck(t.color,i.plotfillcolor,l);n.seriesname=r.parseUnsafeString(t.seriesname);s=f.useplotgradientcolor;n.plotgradientcolor=0!==s?r.getDefinedColor(i.plotgradientcolor,e.getColor("plotGradientColor")):"";n.plotfillalpha=r.pluck(t.alpha,f.plotfillalpha);n.fillColor={color:n.plotfillcolor+(n.plotgradientcolor?","+n.plotgradientcolor:""),alpha:n.plotfillalpha,angle:n.plotfillangle};n.plotborderalpha=y?r.pluck(t.plotborderalpha,i.plotborderalpha,t.alpha,i.plotfillalpha,"95"):0;n.plotbordercolor=r.pluck(t.plotbordercolor,i.plotbordercolor,i.areabordercolor,c?r.getValidValue(i.palettecolors)?e.getPlotColor(0):e.getColor("plotBorderColor").split(/\s*\,\s*/)[0]:"666666");n.drawLine=r.pluckNumber(t.drawline,i.drawlines,1);n.plotborderdashstyle=n.dashed?r.getDashStyle(n.plotborderdashlen,n.plotborderdashgap):"none";n.linecolor=r.pluck(t.color,i.linecolor,n.plotColor);n.legendSymbolColor="line"===this.type?n.linecolor:n.plotfillcolor;n.includeinlegend=r.pluckNumber(t.includeinlegend,n.seriesname?1:0);h=r.getDashStyle(n.linedashlen,n.linedashgap);n.lineDashStyle=n.dashed?h:"none";n.defaultPadding={left:0,right:0};n.shadow=this._parseShadowOptions();n.drawanchors=r.pluckNumber(t.drawanchors,t.showanchors,i.showanchors,i.drawanchors);n.anchorbgcolor=r.getFirstColor(r.pluck(t.anchorbgcolor,f.anchorbgcolor,e.getColor("anchorBgColor")));n.anchorbordercolor=r.getFirstColor(r.pluck(t.anchorbordercolor,f.anchorbordercolor,n.linecolor,n.plotColor));this.setState("visible",1===r.pluckNumber(t.visible,!Number(t.initiallyhidden),1)&&n.drawLine)},t.prototype._setConfigure=function(n,t){var b,i,c,e,o,s,l,h,k,tt=this.getFromEnv("chart"),d=this.config,f=tt.config,et=this.config.JSONData||[],ot=this.getFromEnv("xAxis"),it=tt.isRealTime,rt=f.realTimeConfig&&f.realTimeConfig.numDisplaySets,g=this.getFromEnv("dataSource").categories&&this.getFromEnv("dataSource").categories[0]&&this.getFromEnv("dataSource").categories[0].category,v=d.initCatLen=it?g&&Array.isArray(g)&&g.filter(function(n){return!n.vline}).length||0:ot.getTicksLen(),p=n||et.data,nt=n&&n.data.length,st=f.isDrag,w=this.getSkippingInfo&&this.getSkippingInfo(),ut=w&&w.draw||[],ht=ut.length,ft=w&&w.skippingApplied;for(k=nt===u&&v>rt?v-rt:0,c=it?r.pluckNumber(nt,v):Math.min(v,p&&p.length),d.imageCount=0,(e=this.components.data)||(e=this.components.data=[]),d.maxRadius=-Infinity,f.dragTolerance=f.dragTolerance||-Infinity,ft&&(c=ht),s=k;s<c;s++)o=ut[s]||s,n?(b=n&&n.data[o]||{},i=t!==u?e[h=t+o]:e[h=e.length-c+o],l=h):(b=p&&p[o]||{},i=e[o-=k],l=o),i||(i=e[l]={}),i.config||(i.config={}),i.graphics||(i.graphics={}),this._plotConfigure(l,b,nt),h&&h++;ft&&this.addJob("configureRestID",this._configureRestData.bind(this),y.priorityList.postRender);f.dragTolerance=st?(f.dragTolerance>5?f.dragTolerance:5.5)+a:0;this.ErrorValueConfigure&&this.ErrorValueConfigure()},t.prototype._configureRestData=function(){var u,t,i,n,f,e,h=this.getFromEnv("chart"),r=this.config,o=h.config,s=this.config.JSONData.data||[],c=(this.getSkippingInfo&&this.get
43SkippingInfo()).drawOnlyMap,l=this.getFromEnv("xAxis").getTicksLen();for(r.imageCount=0,(i=this.components.data)||(i=this.components.data=[]),r.maxRadius=-Infinity,o.dragTolerance=o.dragTolerance||-Infinity,r.maxValue=-Infinity,r.minValue=Infinity,n=0;n<l;n++)c[n]||(t=i[n],u=s&&s[n]||{},f=n,t||(t=i[n]={}),t.config||(i[n].config={}),t.graphics||(t.graphics={}),this._plotConfigure(f,u),e&&e++)},t.prototype._plotConfigure=function(n,t,i){var h,g,l,nt,tt,it,y,p,c,w,rt=this.getFromEnv("chart"),e=this.config,o=rt.config,v=this.config.JSONData,k=rt.getFromEnv("dataSource").chart,d=this.components.data[n],st=this.getFromEnv("xAxis"),ut=this.getFromEnv("yAxis"),ht=o.isDrag,f=d&&d.config,ct=r.parseUnsafeString(o.yaxisname),lt=r.parseUnsafeString(o.xaxisname),ft=o.tooltipsepchar,at=e.dashed,et=o.realTimeConfig&&o.realTimeConfig.numDisplaySets,ot=et-e.initCatLen,vt=et&&ot>=0?ot:0;c=st.getLabel(i?n-i:vt+n);f.label=r.getValidValue(r.parseUnsafeString(c.tooltext||c.label));t.tooltext!==u&&(t.tooltext=r.parseTooltext(t.tooltext,[3],{label:c.label},t,k,v));f.setValue=l=ut.getCleanValue(t.value,e.stack100percent);f.setLink=r.pluck(t.link);f.anchorProps=this._parseAnchorProperties(n);e.maxRadius=s(f.anchorProps.radius+f.anchorProps.borderThickness/2,e.maxRadius);w=f.anchorProps.radius+f.anchorProps.borderThickness/2;f.dragTolerance=ht?(w<6?5.5:w+.5)+a:0;f.label=r.getValidValue(r.parseUnsafeString(c.tooltext||c.label));f.showValue=r.pluckNumber(t.showvalue,e.showValues);f.dashed=r.pluckNumber(t.dashed,at);f.dashStyle=f.dashed?r.getDashStyle(e.linedashlen,e.linedashgap):"none";f.color=r.pluck(t.color,e.linecolor);f.setColor=t.color;f.setAlpha=t.alpha;f.setDashed=t.dashed;f.alpha=r.pluck(t.alpha,t.linealpha,e.linealpha);f.origLabel=r.getValidValue(r.parseUnsafeString(c.label));null!==l&&(e.maxValue=s(e.maxValue,l),e.minValue=b(e.minValue,l));f.setTooltext=r.parseUnsafeString(t.toolText);f.toolTipValue=g=ut.dataLabels(l);f.setDisplayValue=nt=r.parseUnsafeString(t.displayvalue);f.displayValue=r.pluck(nt,g);f.formatedVal=y=f.toolTipValue;f.setTooltext=r.getValidValue(r.parseUnsafeString(r.pluck(t.tooltext,v.plottooltext,k.plottooltext)));f.valuePosition=r.pluck(t.valueposition,e.valueposition);f.valuePosition&&(f.valuePosition=f.valuePosition.toLowerCase());o.showtooltip?null===y?h=!1:f.setTooltext!==u?(tt=[1,2,3,4,5,6,7],it={yaxisName:ct,xaxisName:lt,formattedValue:y,label:f.label},h=r.parseTooltext(f.setTooltext,tt,it,t,k,v)):(o.seriesnameintooltip&&(p=r.getFirstValue(v&&v.seriesname)),h=p?p+ft:"",h+=f.label?f.label+ft:"",h+=f.setTooltext?"":f.toolTipValue):h=!1;f.toolText=h;f.setLevelTooltext=f.setTooltext;f._x=t.index===u?n:t.index;f._y=l;f.finalTooltext=f.setTooltext=h;f.hoverEffects=this._parseHoverEffectOptions(d,t);f.anchorProps.isAnchorHoverRadius=f.hoverEffects.anchorRadius;o.dragTolerance=s(o.dragTolerance,e.maxRadius,f.hoverEffects.anchorRadius)},t.prototype.drawCommonElements=function(){var e,v,d,g,o,u,s,nt,n=this,f=n.components.data,tt=n.getFromEnv("chart"),i=n.config,y=tt.config,h=n.getFromEnv("xAxis"),c=n.getFromEnv("yAxis"),p=i.scrollMinVal,w=i.scrollMaxVal,it=!y.drawfullareaborder,rt=i.plotbordercolor,ut=i.plotborderalpha,ft=i.plotborderdashstyle,l=i.plotborderthickness,st=i.fillColor,b=n.getFromEnv("animationManager"),t={x:h.getLimit(),y:c.getLimit()},et=[],ht=i.shadow,ct=n.getContainer("shadowGroup"),k=h.getState("scrolling"),a=n.getSkippingInfo&&n.getSkippingInfo(),ot=a&&a.draw||[],lt=ot.length,at=a&&a.skippingApplied;for(t.x.minPixel=h.getPixel(t.x.min),t.x.maxPixel=h.getPixel(t.x.max),t.y.minPixel=c.getPixel(t.y.min),t.y.maxPixel=c.getPixel(t.y.max),t.y.base=c.getPixel(0),t.x.base=h.getPixel(0),at&&(p=0,w=lt),s=p;s<w;s++)f[u=ot[s]||s]&&f[u].config&&(et[u]={config:{_Px:f[u].config._Px,_Pbx:f[u].config._Pbx,_Py:f[u].config._Py,_Pby:f[u].config._Pby,setValue:f[u].config.setValue}});nt={begin:p,end:w};g={path:(d=this.getLinePath(f,k?nt:null,!n.getState("visible")&&"base")).getPathArr(),stroke:r.toRaphaelColor({color:rt,alpha:ut}),"stroke-width":it?0:l,"stroke-linecap":"round",fill:r.toRaphaelColor(st),"stroke-linejoin":l>2?"round":"miter","stroke-dasharray":ft};v=n.getGraphicalElement("lineElement");e=b.setAnimation({el:v||"path",container:n.getContainer("commonElemsGroup"),attr:n.getState("visible")&&g,component:n,doNotRemove:!0,label:"line",callback:function(){n.getState("visible")||this.hide()}});!v&&e&&n.addGraphicalElement("lineElement",e);n.getState("visible")&&e&&e.show();n.getState("visible")&&!k&&e.shadow(ht,ct);k||(o=n.getGraphicalElement("connector"),it?o=n.addGraphicalElement("connector",b.setAnimation({attr:{path:d.getPathArr(),stroke:r.toRaphaelColor({color:rt,alpha:ut}),"stroke-width":l,"stroke-linecap":"round","stroke-linejoin":l>2?"round":"miter","stroke-dasharray":ft},el:o||"path",container:n.getContainer("commonElemsGroup"),component:n,label:"line",callback:!n.getState("visible")&&function(){this.hide()}})):o&&b.setAnimation({attr:{},el:o,container:n.getContainer("commonElemsGroup"),component:n,label:"line",callback:function(){this.hide()}}));i.prevLim=t;i.prevDataStore=et;"realTimeUpdate"===tt.state&&(n.realTimeUpdated=!0);y.connectnulldataOld=y.connectnulldata},t.prototype.parsePlotAttributes=function(n,t){var c,l,a,y,v,p,o,s,h,w,i,g=this.getJSONIndex(),nt=this.getState("visible"),tt=this.config,it=this.config.JSONData,b=t,u={},k={},d={};s=(i=n.config)._Px;h=i._Py;c=i._x;l=i._y;y=i.setLink;a=i.setValue;
43u=i.anchorProps;w=i.displayValue;o=i.hoverEffects;p=i.finalTooltext=i.toolText;i.eventArgs={index:b,link:y,value:a,displayValue:w,categoryLabel:i.origLabel,toolText:p,id:tt.userID,datasetIndex:g||0,datasetName:it.seriesname,visible:nt};v=u.symbol;n._xPos=s;n._yPos=h;n._xVal=c;n._yVal=l;n._index=b;null!==l&&null!==c?(i.eventArgs.x=c,i.eventArgs.y=l,o.enabled&&(d={path:r.polyPathToPath([o.anchorSides||2,s,h,o.anchorRadius,o.startAngle,o.dip]),fill:r.toRaphaelColor({color:o.anchorColor,alpha:o.anchorBgAlpha}),stroke:r.toRaphaelColor({color:o.anchorBorderColor,alpha:o.anchorBorderAlpha}),"stroke-width":o.anchorBorderThickness},k={path:r.polyPathToPath([v[1]||2,s,h,u.radius,u.startAngle,i.dip||0]),fill:r.toRaphaelColor({color:u.bgColor,alpha:u.bgAlpha}),stroke:r.toRaphaelColor({color:u.borderColor,alpha:u.borderAlpha}),"stroke-width":u.borderThickness},o.attrs={hoverEnabled:o.enabled,anchorRadius:u.radius,anchorHoverRadius:o.anchorRadius},o.attrs[f]=d,o.attrs[e]=k,u.isAnchorHoverRadius=o.attrs.anchorRadius),u.imageUrl&&(i.anchorImageLoaded=!1),i.props={element:{attr:{path:r.polyPathToPath([v[1]||2,s,h,u.radius,u.startAngle,i.dip||0]),fill:r.toRaphaelColor({color:u.bgColor,alpha:u.bgAlpha}),stroke:r.toRaphaelColor({color:u.borderColor,alpha:u.borderAlpha}),"stroke-width":u.borderThickness}}}):a&&(a.isNull=!0)},t.prototype.parseLabelAttributes=function(n,t){var o,p,s,r,ut,e,ft,h,b,l,k,d,i,et,a,g,nt,v,ot,st,tt,y,it=this.getFromEnv("chart"),c=it.config,lt=this.getFromEnv("smartLabel"),f=it.config.dataLabelStyle,ht=this.components.data,at=c.stack100percent,vt=c.rotatevalues?270:0,ct=c.canvasTop,yt=c.canvasHeight,pt=it.config.isstacked,rt=t;if(tt=(i=n&&n.config)&&i.setValue,n!==u&&tt!==u&&null!==tt&&!0!==i.labelSkip){switch(b=i.anchorProps,a=n._yPos||n.config._Py,et=n._xPos||n.config._Px,st=b.markerRadius||b.radius-3,p=c.valuepadding+2+st,i.valuePosition){case"above":l=0;break;case"below":l=1;break;default:g=ht[rt-1]&&ht[rt-1].config||{};pt&&at?(nt=g.value,v=i.value):(nt=g.setValue,v=i.setValue);l=rt&&nt>v?1:0}o=i.displayValue;ot=i.showValue;w(o)&&""!==o&&null!==v&&ot&&(y={text:o,fill:f.color,"text-bound":[f.backgroundColor,f.borderColor,f.borderThickness,f.borderPadding,f.borderRadius,f.borderDash]},s=lt.getOriSize(o),i._state=i._state||{},vt?(i._state.labelWidth=s.height,i._state.labelHeight=s.width,i._rotated=!0):(i._state.labelWidth=s.width,i._state.labelHeight=s.height,i._rotated=!1),r=ut=i._state.labelHeight,r+=p,h=.5*ut+p,k=a-ct,d=ct+yt-a,e=a,ft=et,r+=4,l?d>r?(e+=h,i._valueBelowPoint=1):k>r&&(e-=h,i._valueBelowPoint=0):k>r?(e-=h,i._valueBelowPoint=0):d>r&&(e+=h,i._valueBelowPoint=1),y.x=ft,y.y=e);i.props=i.props||{};i.props.label={attr:y}}else i&&delete i.labelSkip},t.prototype.allocatePosition=function(){var f,c,n=this,e=n.config,l=n.getFromEnv("chart"),r=l.config,v=r.showpercentvalues,y=r.showpercentintooltip,a=n.components,s=a.data,p=n.getFromEnv("xAxis"),t=0,i=0,w=r.isstacked,b=Number(r.stack100percent),h=r.viewPortConfig.step||1,k=l.hasScroll,o=n.getSkippingInfo&&n.getSkippingInfo(),d=o&&o.labelDraw||[],g=o&&o.draw||[];for(c=a.animAttrs=[],n.calculateScrollRange(),p.getState("scrolling")||w&&(b||v||y)&&n.updateYForStack(),n.createCoordinates(),i=e.scrollMinVal;i<e.scrollMaxVal;i+=h)t=g[i]||i,k&&!r.skipAttr&&(t<void 0||t>void 0)||((f=s[t])&&f.config?n.parsePlotAttributes(f,t):c[t]=u);for(h>1&&e.skipIgnorerIndices.map(function(n){return s[n]}).filter(function(n){return n||n.config}).forEach(function(i){return n.parsePlotAttributes(i,t)}),i=e.scrollMinValForLabel;i<e.scrollMaxValForLabel;i+=h)t=d[i]||i,f=s[t],n.parseLabelAttributes(f,t)},t.prototype.drawPlot=function(n,t){var a=this.config,o=n.config,i=n.graphics,h=o.anchorProps,v=this.getState("visible"),y=h.radius,p=h.shadow,w=h.anchorAlpha,b=y&&w,k=this.getContainer("plotGroup"),d=this.getContainer("shadowGroup"),c=this.getFromEnv("animationManager"),r=void 0,s=void 0,l=void 0;null!==o._y&&null!==o._x?(h.imageUrl?this.drawAnchorImage(n):(r=i.element,(l=i.image)&&l.remove(),delete i.image,(a.drawanchors||b)&&v&&null!==n.config.setValue?(r=i.element=c.setAnimation({el:r||"path",container:k,attr:o.props.element.attr,index:t,length:length,callback:function(){this.show()},component:this,label:"anchor"})).shadow(p,d):r&&(this.__removeElem(i.element,"element"),delete i.element,r=u)),s=o.hoverEffects,r&&(s.enabled?r.data("hoverEnabled",s.attrs.hoverEnabled).data("anchorRadius",s.attrs.anchorRadius).data("anchorHoverRadius",s.attrs.anchorHoverRadius).data(f,s.attrs[f]).data(e,s.attrs[e]):r.data("hoverEnabled",!1),r.data("eventArgs",o&&o.eventArgs))):i.element&&(i.element=c.setAnimation({el:i.element,component:this}))},t.prototype.drawPlots=function(){var c,i,r,n=this,w=n.getFromEnv("chart").config,l=n.components,t=n.config,a=l.data,f=0,e=0,v=l.animAttrs,o=t._oldStartIndex,s=t._oldEndIndex,h=n.getGraphicalElement("sharedAnchor"),y=w.viewPortConfig.step||1,p=n.getSkippingInfo&&n.getSkippingInfo(),b=p&&p.draw||[];for(v=l.animAttrs=[],i=t.scrollMinVal,r=t.scrollMaxVal,i>o&&n.flushOnScroll(o,i>s?s:i),r<s&&n.flushOnScroll(r<o?o:r,s),t._oldStartIndex=i,t._oldEndIndex=r,n.hideAllAnchors&&n.hideAllAnchors(),e=i;e<r;e+=y)f=b[e]||e,(c=a[f])&&c.config?n.drawPlot(c,f):v[f]=u;y>1&&t.skipIgnorerIndices.map(function(n){return a[n]}).filter(function(n){return n||n.config}
43).forEach(function(t){return n.drawPlot(t,f)});0===f||t.drawanchors?h&&h.hide():h?h.hide():n.getAnchor()},t.prototype.drawAnchorImage=function(n){var f=this.getContainer("plotGroup"),t=n.graphics,u=this.getFromEnv("animationManager"),i=void 0,e=h?t.element:t.image,r=n.config.anchorProps,s=r.anchorAlpha&&r.radius,o=r.imageAlpha;this.getState("visible")&&s?(h||(t.element=u.setAnimation({el:t.element||"path",container:f,attr:n.config.props.element.attr,label:"anchor",component:this}).show()),n.config.props.element.attr.opacity=.01*o,i=u.setAnimation({el:e||"image",container:f,component:this,label:"anchor",attr:{opacity:.01*o}}),h?t.element=i:t.image=i,e?i.attrs.src!==r.imageUrl?i.attr("src",r.imageUrl):i._.RefImg&&d(this,n):(i.on("load",this._onAnchorImageLoad(n)),i.attr("src",r.imageUrl)),i.show()):(t.image&&u.setAnimation({el:t.image,state:"disappearing",component:this,doNotRemove:!0,callback:function(){this.hide()}}),t.element&&u.setAnimation({el:t.element,state:"disappearing",component:this,doNotRemove:!0,callback:function(){this.hide()}}))},t.prototype.getLineSegment=function(n,t,i){var e=t._Px,f=t._Py,o=t._Pbx,r=t._Pby,s=this.getFromEnv("yAxis").getPixel(0),h=t.setValue,l=this.getFromEnv("chart").config.connectnulldata;return"zero"===i?(f=s,r=s):"base"===i&&(f=t._Pby),null===h||h.isNull?l||(n.pointsJoined>0&&(n.path2Arr[n.path2Arr.length-1]!==c&&r!==u&&n.path2Arr.push(c),n.pathArr=n.pathArr.concat(n.path2Arr),n.path2Arr=[]),n.temp=[],n.temp2=[],n.lastValidValue=!1):n.lastValidValue?(n.temp.length&&(n.pathArr=n.pathArr.concat(n.temp),o!==u&&(n.path2Arr=n.temp2,n.temp2=[]),n.temp=[],n.pointsJoined++),n.pathArr.push(["L",e,f]),r!==u&&n.path2Arr.unshift(["L",e,r])):(n.temp.push(["M",e,f]),r!==u&&n.temp2.push(["L",o,r]),n.pointsJoined=0,n.lastValidValue=!0),n},t.prototype.getLinePath=function(n,t,i){var e,f,r,p,v,g,nt,h,o=this,rt=o.getFromEnv("chart").config,ut=n.length,tt=t&&t.begin||0,it=o.getState("visible")?t&&t.end||ut:0,w=rt.viewPortConfig.step||1,l=(o.removeDataLen,[]),y=o.getSkippingInfo&&o.getSkippingInfo(),b=y&&y.draw||[],et=b.length,ot=y&&y.skippingApplied,k=o.config.skipIgnorerIndices,s=[],a={},d=0;for(l=l.concat(n),ot&&(tt=0,it=et),f=tt+0;f<it+0;f+=w)if(v=l[e=b[f]||f])if((r=v.config).setValue===u||r&&!0===r.isSkipped)r&&delete r.isSkipped;else{if(w>1)for(;k[d]<f;)(nt=l[k[d]])&&((h=nt.config).setValue===u||h&&!0===h.isSkipped?h&&delete h.isSkipped:(s=s.concat(h),d++));s=s.concat(r);p=r._Pby;g=f}if(w>1)for(e=g+1;e<=f;e++)(v=l[b[e]||e])&&((r=v.config).setValue===u||r&&!0===r.isSkipped?r&&delete r.isSkipped:k.includes(e)&&(s=s.concat(r),p=r._Pby));return(a=s.reduce(function(n,t){return o.getLineSegment(n,t,i)},{temp:[],temp2:[],pathArr:[],path2Arr:[],pointsJoined:0,lastValidValue:!1,getPathArr:ft})).path2Arr[a.path2Arr.length-1]!==c&&a.pointsJoined>0&&p!==u&&a.path2Arr.push(c),a},t.prototype._removeDataVisuals=function(n){var u,i,r,t,f=this.components.pool||(this.components.pool={});if(n)for(i in r=n.graphics)u=f[i]||(f[i]=[]),(t=r[i]).hide&&"function"==typeof t.hide&&(t.attr({"text-bound":[]}),t.hide(),t.shadow&&t.shadow(!1)),u.push(r[i])},t.prototype._parseAnchorProperties=function(n,t){var v,c,l,e=this.config,y=this.getName(),a=this.getFromEnv("chart"),h=a.config.anchoralpha,p=!a.config.anchoralpha&&/area/gi.test(y)?0:1,o=e.JSONData,s=a.getFromEnv("dataSource").chart,f=(t||o.data||[])[n]||{},i={};return c=r.pluck(f.anchorstartangle,o.anchorstartangle,s.anchorstartangle,f.anchorimagealpha,o.anchorimagealpha,s.anchorimagealpha,f.anchorimagescale,o.anchorimagescale,s.anchorimagescale,f.anchorimagepadding,o.anchorimagepadding,s.anchorimagepadding,f.anchorimageurl,o.anchorimageurl,s.anchorimageurl,f.anchorradius,o.anchorradius,s.anchorradius,f.anchorbgcolor,o.anchorbgcolor,s.anchorbgcolor,f.anchorbordercolor,o.anchorbordercolor,s.anchorbordercolor,f.anchoralpha,o.anchoralpha,s.anchoralpha,f.anchorsides,o.anchorsides,s.anchorsides,f.anchorborderthickness,o.anchorborderthickness,s.anchorborderthickness,u)!==u,l=r.pluckNumber(f.drawanchors,e.drawanchors),i.enabled=c?r.pluckNumber(l,c):r.pluckNumber(l,p),i.startAngle=r.pluckNumber(f.anchorstartangle,e.anchorstartangle),i.imageAlpha=r.pluckNumber(f.anchorimagealpha,e.anchorimagealpha),i.imageScale=r.pluckNumber(f.anchorimagescale,e.anchorimagescale),i.imagePadding=r.pluckNumber(f.anchorimagepadding,e.anchorimagepadding),i.imagePadding<0&&(i.imagePadding=0),i.imageUrl=r.pluck(f.anchorimageurl,e.anchorimageurl),i.imageUrl&&e.imageCount++,i.radius=i.enabled?r.pluckNumber(f.anchorradius,e.anchorradius):0,i.isAnchorRadius=r.pluck(f.anchorradius,o.anch
43orradius,s.anchorradius),i.bgColor=r.pluck(f.anchorbgcolor,e.anchorbgcolor),h=i.enabled?r.getFirstAlpha(r.pluck(f.anchoralpha,e.anchoralpha,i.enabled?r.HUNDREDSTRING:"0")):0,i.anchorAlpha=h,i.bgAlpha=r.getFirstAlpha(r.pluck(f.anchorbgalpha,e.anchorbgalpha,h))*h/100,i.imageAlpha=i.imageAlpha*h/100,i.borderColor=r.pluck(f.anchorbordercolor,e.anchorbordercolor),i.borderAlpha=h,i.sides=r.pluck(f.anchorsides,e.anchorsides),i.borderThickness=r.pluck(f.anchorborderthickness,e.anchorborderthickness),i.symbol=r.mapSymbolName(i.sides).split("_"),v=r.pluckNumber(f.anchorshadow,e.anchorshadow)&&i.radius>=1,i.shadow={opacity:v?h/100:0},i},t.prototype._hideGraphics=function(n){var t;for(var i in n)if(n.hasOwnProperty(i)){if(!(t=n[i]))continue;t.hide?t.hide():this._hideGraphics(t)}},t.prototype._parseHoverEffectOptions=function(n,t){var f=this.config.JSONData,s=this.getFromEnv("chart"),i=s.getFromEnv("dataSource").chart,h=s.config,l=n.config,a=this.config,o=l.anchorProps||{},c=h.plothovereffect,v=a.drawanchors,e={enabled:!1};return t=t||{},0!==c&&0!==v&&(e.enabled=r.pluck(t.hovercolor,t.anchorhovercolor,t.hovercolor,f.hovercolor,t.anchorbghovercolor,f.anchorbghovercolor,i.anchorbghovercolor,f.anchorhovercolor,i.anchorhovercolor,t.hoveralpha,t.anchorhoveralpha,f.anchorhoveralpha,i.anchorhoveralpha,t.bghoveralpha,t.anchorbghoveralpha,f.anchorbghoveralpha,i.anchorbghoveralpha,t.anchorborderhovercolor,t.borderhovercolor,f.anchorborderhovercolor,i.anchorborderhovercolor,t.anchorborderhoverthickness,t.borderhoverthickness,f.anchorborderhoverthickness,i.anchorborderhoverthickness,t.anchorborderhoveralpha,t.borderhoveralpha,f.anchorborderhoveralpha,i.anchorborderhoveralpha,t.hoverdip,t.anchorhoverdip,f.anchorhoverdip,i.anchorhoverdip,t.anchorhoverstartangle,f.anchorhoverstartangle,i.anchorhoverstartangle,t.hoversides,t.anchorhoversides,f.anchorhoversides,i.anchorhoversides,t.hoverradius,t.anchorhoverradius,f.anchorhoverradius,i.anchorhoverradius,f.plotfillhovercolor,i.plotfillhovercolor,h.plothovereffect,u)!==u,e.startAngle=r.pluckNumber(t.anchorhoverstartangle,f.anchorhoverstartangle,i.anchorhoverstartangle,o.startAngle),e.anchorSides=r.pluckNumber(t.hoversides,t.anchorhoversides,f.anchorhoversides,i.anchorhoversides,o.sides),e.anchorRadius=r.pluckNumber(t.anchorhoverradius,f.anchorhoverradius,i.anchorhoverradius),e.isAnchorHoverRadius=e.anchorRadius,e.anchorRadius=r.pluckNumber(e.anchorRadius,o.radius+(c?2:0)),e.anchorScale=r.pluck(t.hoverscale,f.anchorscale,i.anchorscale),e.imageHoverScale=r.pluckNumber(t.anchorimagehoverScale,f.anchorimagehoverscale,i.anchorimagehoverscale,110),e.imageHoverAlpha=r.pluckNumber(t.anchorimagehoveralpha,f.anchorimaghoverealpha,i.anchorimagehoveralpha),e.anchorAlpha=r.pluck(t.anchorhoveralpha,t.hoveralpha,f.anchorhoveralpha,i.anchorhoveralpha,o.anchorAlpha),e.anchorColor=r.getFirstColor(r.pluck(t.hovercolor,t.anchorhovercolor,t.hoverColor,t.anchorbghovercolor,f.anchorbghovercolor,f.anchorhovercolor,f.hovercolor,i.anchorbghovercolor,i.anchorhovercolor,i.plotfillhovercolor,o.bgColor)),e.anchorBgAlpha=r.pluck(t.bghoveralpha,t.anchorbghoveralpha,f.anchorbghoveralpha,i.anchorbghoveralpha,i.plotfillhoveralpha,o.bgAlpha),e.anchorBgAlpha=e.anchorBgAlpha*e.anchorAlpha/100,e.anchorBorderColor=r.pluck(t.borderhovercolor,t.anchorborderhovercolor,f.anchorborderhovercolor,i.anchorborderhovercolor,o.borderColor),e.anchorBorderAlpha=r.pluck(t.borderhoveralpha,t.anchorborderhoveralpha,f.anchorborderhoveralpha,i.anchorborderhoveralpha,e.anchorAlpha,o.borderAlpha),e.anchorBorderThickness=r.pluckNumber(t.borderhoverthickness,t.anchorborderhoverthickness,f.anchorborderhoverthickness,i.anchorborderhoverthickness,i.anchorBorderThickness,o.borderThickness),e.dip=r.pluck(t.hoverdip,t.anchorhoverdip,f.anchorhoverdip,i.anchorhoverdip,o.dip),e.anchorAnimation=r.pluckNumber(t.anchorhoveranimation,f.anchorhoveranimation,i.anchorhoveranimation,1)),e},t.prototype._hoverPlotAnchor=function(n,t){var a,g,nt,tt,it,ct=this.getFromEnv("smartLabel"),rt=this.getFromEnv("chart").getChildren("canvas")[0].getEffectiveDimensions(),b=rt.top,ut=b+rt.height,v=n.config._Py,y=this.getFromEnv("animationManager"),k=this.getGraphicalElement("sharedAnchor"),i=n.graphics.element||k,r=n.graphics.label,p=n.config||{},lt=p.anchorProps.anchorAlpha,at=p&&p.anchorProps.imageUrl,u=h&&at?n.graphics.element:n.graphics.image,ft="image"===i.type,et=i.data("anchorRadius"),ot=i.data("anchorHoverRadius"),st=i.data(f),ht=i.data(e),c=r&&(r.data("isBelow")?1:-1)*(ft?.5*(st.height-ht.height):ot-et),w=t===o?st:ht,s=!0,d={path:w.path},vt={fill:w.fill,"stroke-width":w["stroke-width"],stroke:w.stroke},yt=r&&r.data("rotation")||"";v-3*(a=ct.getOriSize(p.displayValue).height)/2+c<b?c=b-v+3*a/2:v+3*a/2+c>ut&&(c=ut-v-3*a/2);it={transform:"T0,"+(t===o?c:0)+yt};y.setAnimationState(t===o?"mouseOver":"mouseOut");u&&(nt=u.data(f),tt=u.data(e),(g=t==o?nt:tt).alpha*=.01);ft?d.alpha*=.01:Object.assign(d,vt);(t===o&&!ot||t===l&&!et)&&(s=!1);y.setAnimation({el:i,label:"anchor",component:this,doNotRemove:!0,
43callback:function(){s||i.hide()},attr:s&&d});s&&i.show();u&&(y.setAnimation({el:u,label:"anchor",component:this,attr:s&&g}),s&&u.show());(n.graphics&&n.graphics.element||k&&k.element)&<&&r&&y.setAnimation({el:r,label:"label",component:this,doNotRemove:!0,attr:it})},t.prototype.drawLabel=function(n,t){var h,p,b,i,k,f,d,e,o,v,c,l,g=this.getFromEnv("chart"),ot=g.config,st=this.getFromEnv("smartLabel"),s=g.config.dataLabelStyle,nt=this.components.data,ht=this.getFromEnv("paper"),y=this.getFromEnv("animationManager"),tt="",ct=ot.rotatevalues?270:0,lt=this.getContainer("labelGroup"),at=this.getState("visible"),vt=nt.length,a=this.getSkippingInfo&&this.getSkippingInfo(),it=a&&a.skippingApplied,rt=a&&a.labelDraw||[],ut=rt.length,ft=r.pluckNumber(n,0),et=r.pluckNumber(t,it?ut:vt),yt=ut===Math.abs(et-(ft+1));for(d={"font-weight":s.fontWeight,"font-style":s.fontStyle,"font-family":s.fontFamily,"font-size":s.fontSize,"line-height":s.lineHeight},st.setStyle(d),o=ft;o<et;o++)v=(i=(e=nt[it&&yt?rt[o]:o])&&e.config)&&i.setValue,e!==u&&v!==u&&null!==v&&!0!==i.labelSkip?(h=e.graphics,tt=i.displayValue,k=i.showValue,f=h.label,c=i.props.label.attr,w(tt)&&k&&at?(b=i.props.label.attr.x,p=i.props.label.attr.y,c.transform=ht.getSuggestiveRotation(ct,b,p),h.label=f=y.setAnimation({el:f||"text",container:lt,component:this,attr:c,label:"label"}),f.data("isBelow",i._valueBelowPoint),f.data("rotation",c.transform)):f&&(h.label=y.setAnimation({el:f,component:this,label:"label"}))):(i&&delete i.labelSkip,(l=e&&e.graphics)&&l.label&&(l.label=y.setAnimation({el:l.label,component:this})))},t.prototype.getAxisValuePadding=function(){return this.config.defaultPadding},t.prototype._hoverFunc=function(n,t,i,r){if(i)return this._hoverPlotAnchor(n,t,r)},t.prototype._onAnchorImageLoad=function(n){var t=this;return function(){var i=n._index;d(t,n);t.config.drawn?t.drawLabel(i,i+1):t.addJob("labelUpdateOnImageLoadID"+i,function(){t.drawLabel(i,i+1)},y.priorityList.label)}},t}(nt["default"]);t["default"]=g},function(n,t){"use strict";t.__esModule=!0;t["default"]={"*.dataset.area":function(){return{"anchor.appearing":[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},startEnd:{start:.5,end:1},slot:"plot"}],"anchor.updating":[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}],"anchor.disappearing":[{finalAttr:{opacity:0,"fill-opacity":0,"stroke-opacity":0},slot:"final"}],"line.appearing":function(n){var t=n.component,f=t.components.data,i=t.getFromEnv("chartConfig").isstacked,e=t.getFromEnv("chartConfig").is3D,o=t.getLinePath(f,null,i||e?"base":"zero"),s=n.attr,r=t.getState("_total"),u=t.config._childIndex;return[{initialAttr:{opacity:0,path:o.getPathArr()},finalAttr:{opacity:1,path:s.path},startEnd:{start:i?.5/r*u:0,end:i?.5/r*(u+1):.5},slot:"plot",hookFn:function(){this.attr({opacity:1})}}]},"label.appearing":[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}],"label.updating":function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]},"group.appearing":function(n){return"label-group"===n.attr.name?[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]:"plot-group"===n.attr.name?[{initialAttr:{opacity:0},finalAttr:{opacity:1},startEnd:{start:.5,end:1},slot:"plot"}]:[{initialAttr:{opacity:1},finalAttr:{opacity:1},slot:"final"}]},"*":null}}}},function(n,t){"use strict";t.__esModule=!0;t["default"]={"*.dataset.line":function(){var n=this.getClip("canvas"),t=this.getClip("init");return{"anchor.appearing":function(){return[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},slot:"final"}]},"anchor.updating":function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"plot"}]},"anchor.disappearing":function(){return[{finalAttr:{opacity:0,"fill-opacity":0,"stroke-opacity":0},slot:"plot"}]},"line.appearing":function(){return[{initialAttr:{"clip-rect":t},finalAttr:{"clip-rect":n},slot:"middle",callback:function(){this.attr({"clip-rect":null})}}]},"line.updating":function(){return[{initialAttr:{opacity:1,"clip-rect":t},finalAttr:{opacity:1,"clip-rect":n},slot:"plot"}]},"label.appearing":[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}],"group.appearing":function(n){return"label-group"===n.attr.name?[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]:"plot-group"===n.attr.name?[{initialAttr:{opacity:0},finalAttr:{opacity:1},startEnd:{start:.5,end:1},slot:"plot"}]:[{initialAttr:{opacity:1},finalAttr:{opacity:1},slot:"final"}]},"*":null}}}},,,,,,function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function f(){var e,o,i=this.config,t=this.getFromEnv("color-manager"),s=this.getFromEnv("dataSource"),n=s.chart,u=this.config.is3D,f=u?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D;return e={isVertical:!0,isReverse:!1,isOpposit:!1,outCanfontFamily:r.pluck(n.outcnvbasefont,n.basefont,"Verdana,sans"),outCanfontSize:r.pluckFontSize(n.outcnvbasefontsize,n.basefontsize,10),outCancolor:r.pluck(n.outcnvbasefontcolor,n.basefontcolor,t.getColor(f.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisNamePadding:n.xaxisnamepadding,maxLabelWidthPercent:n.maxlabelwidthpercent,minLabelWidthPercent:n.minlabelwidthpercent,axisValuePadding:n.labelpadding,axisNameFont:n.xaxisnamefont,axisNameFontSize:n.xaxisnamefontsize,axisNameFontColor:n.xaxisnamefontcolor,axisNameFontBold:n.xaxisnamefontbold,axisNameFontItalic:n.xaxisnamefontitalic,axisNameBgColor:n.xaxisnamebgcolor,axisNameBorderColor:n.xaxisnamebordercolor,axisNameAlpha:n.xaxisnamealpha,axisNameFontAlpha:n.xaxisnamefontalpha,axisNameBgAlpha:n.xaxisnamebgalpha,axisNameBorderAlpha:n.xaxisnameborderalpha,axisNameBorderPadding:n.xaxisnameborderpadding,axisNameBorderRadius:n.xaxisnameborderradius,axisNameBorderThickness:n.xaxisnameborderthickness,axisNameBorderDashed:n.xaxisnameborderdashed,axisNameBorderDashLen:n.xaxisnameborderdashlen,axisNameBorderDashGap:n.xaxisnameborderdashgap,axisNameWidth:n.xaxisnamewidth,useEllipsesWhenOverflow:n.useellipseswhenoverflow,divLineColor:r.pluck(n.vdivlinecolor,n.divlinecolor,t.getColor(f.divLineColor)),divLineAlpha:r.pluck(n.vdivlinealpha,n.divlinealpha,u?t.getColor("divLineAlpha3D"):t.getColor("divLineAlpha")),divLineThickness:r.pluckNumber(n.vdivlinethickness,n.divlinethickness,1),divLineIsDashed:Boolean(r.pluckNumber(n.vdivlinedashed,n.vdivlineisdashed,n.divlinedashed,n.divlineisdashed,0)),divLineDashLen:r.pluckNumber(n.vdivlinedashlen,n.divlinedashlen,4),divLineDashGap:r.pluckNumber(n.vdivlinedashgap,n.divlinedashgap,2),showAlternateGridColor:0,alternateGridColor:r.pluck(n.alternatehgridcolor,t.getColor("altHGridColor")),alternateGridAlpha:r.pluck(n.alternatehgridalpha,t.getColor("altHGridAlpha")),numDivLines:n.numvdivlines,labelFont:n.labelfont,labelFontSize:n.labelfontsize,labelFontColor:n.labelfontcolor,labelFontAlpha:n.labelalpha,labelFontBold:n.labelfontbold,labelFontItalic:n.labelfontitalic,axisName:n.xaxisname,axisMinValue:n.xaxisminvalue,axisMaxValue:n.xaxismaxvalue,setAdaptiveMin:n.setadaptivexmin,adjustDiv:n.adjustvdiv,labelDisplay:n.labeldisplay,showLabels:n.showlabels,rotateLabels:n.rotatelabels,slantLabel:r.pluckNumber(n.slantlabels,n.slantlabel),labelStep:r.pluckNumber(n.labelstep,n.xaxisvaluesstep),showAxisValues:r.pluckNumber(n.showxaxisvalues,n.showxaxisvalue),showLimits:n.showvlimits,showDivLineValues:r.pluckNumber(n.showvdivlinevalues,n.showvdivlinevalues),zeroPlaneColor:n.vzeroplanecolor,zeroPlaneThickness:r.pluckNumber(n.vzeroplanethickness,n.vdivlinethickness,2),zeroPlaneAlpha:r.pluckNumber(n.vzeroplanealpha,n.vdivlinealpha,i.zeroplanealpha),showZeroPlaneValue:n.showvzeroplanevalue,trendlineColor:n.trendlinecolor,trendlineToolText:n.trendlinetooltext,trendlineThickness:n.trendlinethickness,rotateAxisName:r.pluckNumber(n.rotatexaxisname,1),trendlineAlpha:n.trendlinealpha,showTrendlinesOnTop:n.showtrendlinesontop,showAxisLine:u?0:r.pluckNumber(n.showxaxisline,n.showaxislines,n.drawAxisLines,0),axisLineThickness:r.pluckNumber(n.xaxislinethickness,n.axislinethickness,1),axisLineAlpha:r.pluckNumber(n.xaxislinealpha,n.axislinealpha,100),axisLineColor:r.pluck(n.xaxislinecolor,n.axislinecolor,"#000000")},(o={isVertical:!1,isReverse:!1,isOpposit:!1,outCanfontFamily:r.pluck(n.outcnvbasefont,n.basefont,"Verdana,sans"),outCanfontSize:r.pluckFontSize(n.outcnvbasefontsize,n.basefontsize,10),outCancolor:r.pluck(n.outcnvbasefontcolor,n.basefontcolor,t.getColor(f.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisNamePadding:n.yaxisnamepadding,axisValuePadding:n.yaxisvaluespadding,axisNameFont:n.yaxisnamefont,axisNameFontSize:n.yaxisnamefontsize,axisNameFontColor:n.yaxisnamefontcolor,axisNameFontBold:n.yaxisnamefontbold,axisNameFontItalic:n.yaxisnamefontitalic,axisNameBgColor:n.yaxisnamebgcolor,axisNameBorderColor:n.yaxisnamebordercolor,axisNameAlpha:n.yaxisnamealpha,axisNameFontAlpha:n.yaxisnamefontalpha,axisNameBgAlpha:n.yaxisnamebgalpha,axisNameBorderAlpha:n.yaxisnameborderalpha,axisNameBorderPadding:n.yaxisnameborderpadding,axisNameBorderRadius:n.yaxisnameborderradiu
43s,axisNameBorderThickness:n.yaxisnameborderthickness,axisNameBorderDashed:n.yaxisnameborderdashed,axisNameBorderDashLen:n.yaxisnameborderdashlen,axisNameBorderDashGap:n.yaxisnameborderdashgap,axisNameWidth:n.yaxisnamewidth,useEllipsesWhenOverflow:n.useellipseswhenoverflow,axisName:n.yaxisname,divLineColor:r.pluck(n.divlinecolor,t.getColor(f.divLineColor)),divLineAlpha:r.pluck(n.divlinealpha,u?t.getColor("divLineAlpha3D"):t.getColor("divLineAlpha")),divLineThickness:r.pluckNumber(n.divlinethickness,1),divLineIsDashed:Boolean(r.pluckNumber(n.divlinedashed,n.divlineisdashed,0)),divLineDashLen:r.pluckNumber(n.divlinedashlen,4),divLineDashGap:r.pluckNumber(n.divlinedashgap,2),showAlternateGridColor:r.pluckNumber(n.showalternatevgridcolor,1),alternateGridColor:r.pluck(n.alternatevgridcolor,t.getColor("altVGridColor")),alternateGridAlpha:r.pluck(n.alternatevgridalpha,t.getColor("altVGridAlpha")),numDivLines:n.numdivlines,axisMinValue:n.yaxisminvalue,axisMaxValue:n.yaxismaxvalue,setAdaptiveMin:n.setadaptiveymin,adjustDiv:n.adjustdiv,labelStep:n.yaxisvaluesstep,showAxisValues:r.pluckNumber(n.showyaxisvalues,n.showyaxisvalue),showLimits:r.pluckNumber(n.showyaxislimits,n.showlimits,this.showLimits),showDivLineValues:r.pluckNumber(n.showdivlinevalues,n.showdivlinevalue),zeroPlaneColor:n.zeroplanecolor,zeroPlaneThickness:r.pluckNumber(n.zeroplanethickness,n.divlinethickness,2),zeroPlaneAlpha:r.pluckNumber(n.zeroplanealpha,n.divlinealpha,i.zeroplanealpha),showZeroPlaneValue:n.showzeroplanevalue,trendlineColor:n.trendlinecolor,trendlineToolText:n.trendlinetooltext,trendlineThickness:n.trendlinethickness,trendlineAlpha:n.trendlinealpha,isTrendZone:0,showTrendlinesOnTop:n.showtrendlinesontop,showAxisLine:u?0:r.pluckNumber(n.showyaxisline,n.showaxislines,n.drawAxisLines,0),axisLineThickness:r.pluckNumber(n.yaxislinethickness,n.axislinethickness,1),axisLineAlpha:r.pluckNumber(n.yaxislinealpha,n.axislinealpha,100),axisLineColor:r.pluck(n.yaxislinecolor,n.axislinecolor,"#000000"),numberFormatterFn:"yAxis",showZeroPlaneOnTop:i.showzeroplaneontop,forceTrendBelow:!!i.is3D}).vtrendlines=s.trendlines,e.trendlines=s.vtrendlines,i.isstacked&&(o.isPercent=r.pluckNumber(i.stack100percent,0)),{xAxisConf:[e],yAxisConf:[o]}}function e(){var ft,i,k,u,y,p,w,b,et,ot,d,g,nt,st,ht,tt,ct,lt,t,n=this.config,f=this.getChildren(),it=f.yAxis&&f.yAxis[0],ii=f.xAxis&&f.xAxis||[],ri=r.preDefStr.POSITION_BOTTOM,ui=n.legendposition,fi=n.xDepth,at=n.yDepth,ei=f.canvas[0],vt=n.canvasBgDepth,yt=n.canvasBaseDepth,oi=n.canvasBasePadding,e=f.canvas[0].config.canvasBorderWidth,si=n.realTimeConfig&&n.realTimeConfig.showRTValue,o=n.borderWidth,s=n.canvasMarginTop,h=n.canvasMarginBottom,c=n.canvasMarginLeft,l=n.canvasMarginRight,a=n.minCanvasHeight,v=n.minCanvasWidth,pt=n.minChartWidth,wt=n.minChartHeight,rt=n.height,ut=n.width,bt=!1,kt=!1,dt=n.origCanvasTopMargin,gt=n.origCanvasBottomMargin,ni=n.origCanvasLeftMargin,ti=n.origCanvasRightMargin;n.canvasWidth-2*o<pt&&(g=(n.canvasWidth-pt)/2);n.canvasHeight-2*o<wt&&(d=(n.canvasHeight-wt)/2);this._allocateSpace({top:d||o,bottom:d||o,left:g||o,right:g||o});k=ii[0];ft=.7*n.availableWidth;n.yAxisSpaceAllocation=ct=k&&k.placeAxis(ft);k&&this._allocateSpace(ct);ht=.225*n.availableHeight;st=this._manageActionBarSpace&&this._manageActionBarSpace(ht)||{};this._allocateSpace(st);this._manageLegendSpace&&this._manageLegendSpace();i=ui===ri?.6*n.availableHeight:.6*n.availableWidth;at&&(this._allocateSpace({left:at}),n.shift=fi+oi+yt);vt&&this._allocateSpace({top:vt});n.canvasWidth-2*e<v&&(tt=(n.canvasWidth-v)/2);this._allocateSpace({left:tt||e,right:tt||e});v>ut-c-l&&(kt=!0,u=n.canvasWidth-v,t=c+l,c=n.canvasMarginLeft=u*c/t,l=n.canvasMarginRight=u*l/t);w=c>n.canvasLeft?c-n.canvasLeft:0;b=l>ut-n.canvasRight?l+n.canvasRight-ut:0;this._allocateSpace({left:w,right:b});this._allocateSpace({left:yt});kt&&(t=ni+ti,(ot=n.canvasWidth)>v&&(w=(u=ot-v)*ni/t,b=u*ti/t),this._allocateSpace({left:w,right:b}));n.actualCanvasMarginRight=b;n.actualCanvasMarginBottom=p;this._manageChartMenuBar(i);i=.2*n.availableHeight;this._allocateSpace(this._getSumValueSpace(i));i=.3*n.availableHeight;n.realtimeEnabled&&(si?this._allocateSpace(this._realTimeValuePositioning(i)):this._hideRealTimeValue());i=.6*n.availableHeight;n.xAxisSpaceAllocation=lt=it&&it.placeAxis(i);it&&this._allocateSpace(lt);i=.3*n.availableHeight;this._manageScrollerPosition&&this._manageScrollerPosition(i);n.canvasHeight-2*e<a&&(nt=(n.canvasHeight-a)/2);this._allocateSpace({top:nt||e,bottom:nt||e});a>rt-s-h&&(bt=!0,u=n.canvasHeight-a,t=s+h,s=n.canvasMarginTop=u*s/t,h=n.canvasMarginBottom=u*h/t);y=s>n.canvasTop?s-n.canvasTop:0;p=h>rt-n.canvasBottom?h+n.canvasBottom-rt:0;this._allocateSpace({top:y,bottom:p});bt&&(t=dt+gt,(et=n.canvasHeight)>a&&(y=(u=et-a)*dt/t,p=u*gt/t),this._allocateSpace({top:y,bottom:p}));n.actualCanvasMarginTop=y;n.actualCanvasMarginLeft=w;
43ei.setDimension({top:n.canvasTop,left:n.canvasLeft,width:n.canvasWidth,height:n.canvasHeight})}function o(){var u,s,f,h,c=this.config,t=this.getChildren(),l=t.xAxis&&t.xAxis[0],i=t.yAxis&&t.yAxis[0],a=t.legend&&t.legend[0],v=c.xDepth,n=t.canvas[0].config,r=n.canvasBorderWidth,e=n.canvasPadding,o=Math.max;i&&this._allocateXAxisLabelSpace(i);u=n.canvasPaddingLeft;s=n.canvasPaddingRight;f=n.canvasPaddingTop;h=n.canvasPaddingBottom;i&&i.setAxisDimention({x:n.canvasLeft+u,y:n.canvasTop+n.canvasHeight+r,opposite:n.canvasTop-r,axisLength:n.canvasWidth-u-s});l&&l.setAxisDimention({x:n.canvasLeft-(c.shift||0)-r,y:n.canvasTop+(v||0)+o(f,e),opposite:n.canvasRight+r,axisLength:n.canvasHeight-(v||0)-o(f,e)-o(h,e)});a&&a.postSpaceManager();this.allocateDimensionOfChartMenuBar()}var s;t.__esModule=!0;t.__postSpaceManagement=t.__spaceManager=t.__feedAxesRawData=undefined;var h=u(i(459)),c=u(i(432)),r=i(125);s=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return l(t,n),t.prototype.getName=function(){return"MSBarCartesian"},t.getName=function(){return"MSBarCartesian"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.enablemousetracking=!0},t.prototype._feedAxesRawData=function(){return f.call(this)},t.prototype._spaceManager=function(){e.call(this)},t.prototype._postSpaceManagement=function(){o.call(this)},t.prototype.getDSdef=function(){return c["default"]},t.prototype.getDSGroupdef=function(){},t}(h["default"]);t.__feedAxesRawData=f;t.__spaceManager=e;t.__postSpaceManagement=o;t["default"]=s},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var e=r(i(360)),u=i(460),o=r(i(461)),s=r(i(462));f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("dataset",o["default"],["vCanvas"]),i.registerFactory("legend",s["default"]),i}return h(t,n),t.getName=function(){return"MSCartesian"},t.prototype.getName=function(){return"MSCartesian"},t.prototype.getType=function(){return"chartAPI"},t.prototype._createLayers=function(){n.prototype._createLayers.call(this);var t=this.getFromEnv("animationManager");this.getChildContainer("legendGroup")||this.addChildContainer("legendGroup",t.setAnimation({el:"group",attr:{name:"legend"},component:this,container:this.getContainer("parentgroup"),label:"group"}))},t.prototype._manageLegendSpace=function(){u._manageLegendSpace.call(this)},t.prototype.manageGradientLegendSpace=function(n){return u.manageGradientLegendSpace.call(this,n)},t}(e["default"]);t["default"]=f},function(n,t,i){"use strict";t.__esModule=!0;t.manageGradientLegendSpace=t._manageLegendSpace=undefined;var r=i(125);t._manageLegendSpace=function(){var i,o,s,f,u=this.config,n=this.getChildren("legend")&&this.getChildren("legend")[0],c=this.getChildren("gLegend")&&this.getChildren("gLegend")[0],h=this.getFromEnv("dataSource").colorrange,l=u.hasLegend,t={},e=this.hasGradientLegend,a=this.getFromEnv("dataSource").chart,v=r.pluckNumber(a.mapbycategory,0);e&&h&&r.pluckNumber(h.gradient)&&!v?(i=c.conf,e=!0,u.gLegendEnabled=!0,f=.5,o=i.legendPosition):(i=n&&n.config,e=!1,u.gLegendEnabled=!1,f=(o=i&&i.legendPos)===r.POSITION_RIGHT?.8:.4);s=o===r.POSITION_RIGHT?u.availableWidth*f:u.availableHeight*f;e?t=this.manageGradientLegendSpace(s):!1!==l&&n&&!n.getState("removed")&&(t=n&&n._manageLegendPosition(s));this._allocateSpace({bottom:t&&t.bottom||0,right:t&&t.right||0})};t.manageGradientLegendSpace=function(n){var e,t,i,u,o=this.config,f=this.getFromEnv("gLegend"),s=f&&f.conf;return o.gLegendPadding=r.pluckNumber(this.getFromEnv("chart-attrib").legendpadding,10),i=Math.min(o.gLegendPadding,.5*n),s?(e=s.legendPosition,u=f.getLogical
43Space(n),t=e===r.POSITION_BOTTOM?{bottom:(u.height||0)+i}:{right:(u.width||0)+i}):t={bottom:0,right:0},t}},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var f,e,t=n.getFromEnv("dataSource").dataset,i=void 0,o=i=n.getChildren().canvas[0].getChildren("vCanvas")[0],s=n.config.defaultDatasetType||"",u=void 0;t?((e=n.getDSGroupdef())&&(r.componentFactory(i,e,"datasetGroup_"+s,1,[t]),u=i.getChildren("datasetGroup_"+s)),u&&(o=u[0]),f=n.getDSdef(),r.datasetFactory(o,f,"dataset",t.length,t)):n.setChartMessage()};var r=i(125)},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var t=void 0;u.componentFactory(n,e["default"],"legend");(t=n.getChildren("legend")[0]).configure();n.addToEnv("legend",t);n.config.showLegend||t.remove()};var r,u=i(125),f=i(463),e=(r=f)&&r.__esModule?r:{"default":r}},function(n,t,i){"use strict";function c(n){return n&&n.__esModule?n:{"default":n}}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var y;t.__esModule=!0;var r=i(125),p=i(138),w=c(i(464)),b=i(132),k=i(228),d=c(i(466)),e=i(136);var s={left:r.POSITION_START,right:r.POSITION_END,center:r.POSITION_MIDDLE},o=Math,f=o.min,u=o.max,h=o.floor,l=o.ceil,a=r.preDefStr.NORMAL,v={fontWeight:{1:r.preDefStr.BOLD,0:a},fontStyle:{1:"italic",0:a},textDecoration:{1:"underline",0:r.preDefStr.noneStr}},nt=function(n){var t=void 0,i=void 0;return{dragstart:function(){t=n.config.xL||n.config.xPos;
43i=n.config.yL||n.config.yPos},dragmove:function(r){var h,c,a=r.originalEvent.data[0],v=r.originalEvent.data[1],o=n.config,l=n.getFromEnv("chartConfig"),s=(o.borderWidth||0)+2;h=f(u(t+a,s),l.width-o.width-s);c=f(u(i+v,s),l.height-o.height-s);o.xPos=o.xL=h;o.yPos=o.yL=c;n.addJob("draw",n.dragDraw,e.priorityList&&e.priorityList.draw)}}};b.addDep({name:"legendAnimation",type:"animationRule",extension:d["default"]});y=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i._stateCosmetics={},i._legendState=[],i.dragDraw=function(){i.draw()},i.drawScroll=function(){i.createItemGroup()},i.config.handlers=nt(i),r}return g(t,n),t.prototype.createItem=function(n){var t;return t=new w["default"],this.attachChild(t,"legendItem"),t.setLinkedItem("owner",n),t.addEventListener("mouseover",function(){t.setLegendState("hover",!0)}),t.addEventListener("mouseout",function(){t.removeLegendState("hover")}),t.getId()},t.prototype.getItem=function(n){var i=this.getChildren().legendItem,t;if(void 0===n)return!1;if(i)for(t=0;t<i.length;t++)if(i[t].getId()===n)return i[t]},t.prototype.getSortedLegendItems=function(){for(var t=this.getChildren("legendItem")||[],f=this.config.reverselegend,i={},u=[],n=void 0,n=0,r=t.length;n<r;n++)void 0===t[n].config.index?i[r+n]=t[n]:i[t[n].config.index]=t[n];return Object.keys(i).sort(function(n,t){return f?t-n:n-t}).forEach(function(n){u.push(i[n])}),u},t.prototype.disposeItem=function(n){var t=this.getItem(n);t&&t.remove()},t.prototype.getName=function(){return"legend"},t.prototype.getType=function(){return"legend"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.enabled=!0;t.symbolWidth=12;t.borderRadius=1;t.lastScrollPos=0;t.oriSymbolPadding=3;t.textPadding=4;t.scrollY=0;t.backgroundColor="#FFFFFF";t.initialItemX=0;t.title={text:r.BLANKSTRING,x:0,y:0,padding:2};t.scroll={};t.itemStyle={}},t.prototype.createLegendGroup=function(){var i,n=this.config,r=this.getFromEnv("chart"),e=r.config,s=this.getFromEnv("animationManager"),t=.5*(n.borderWidth||0)+2,o=this.getContainer("legendGroup");n.xL&&(n.xL=f(u(n.xL,t),e.width-n.width-t));n.yL&&(n.yL=f(u(n.yL,t),e.height-n.height-t));i=s.setAnimation({el:o||"group",attr:{name:"legendGroup",transform:["T",n.xL||n.xPos,n.yL||n.yPos]},container:r.getChildContainer("legendGroup"),component:this});o||this.addContainer("legendGroup",i)},t.prototype.draw=function(){this.createLegendGroup();this.drawLegendBox();this.createItemGroup();this.drawCaption();this.createScrollGroup();this.decideScroll()},t.prototype.decideScroll=function(){var n=this.config;n.scroll.enabled?this.createScrollBar():n.hasScroll&&(this.getChildren("legendScrollBar")[0].remove(),n.hasScroll=!1)},t.prototype.createItemGroup=function(){var n,u=this.getFromEnv("animationManager"),f=this.getContainer("legendGroup"),t=this.getChildContainer("itemGroup"),i=r.pluckNumber(this.config.padding,4),e=.5*i,o=Math.max(this.config.height-i,0),s=","+this.config.width+","+o;return n=u.setAnimation({el:t||"group",attr:{name:"item",transform:["T",0,this.config.scrollY||0]},container:f,component:this}),t||this.addChildContainer("itemGroup",n),this.config.scroll.enabled?n.attr({"clip-rect":"0,"+e+s}):n.attr({"clip-rect":null}),n},t.prototype.createScrollGroup=function(){var n=this.getFromEnv("animationManager"),t=this.getChildContainer("scrollGroup"),i=this.getContainer("legendGroup");this.config.scroll.enabled&&!this.getGraphicalElement("scrollerContainer")&&this.addGraphicalElement("scrollerContainer",n.setAnimation({el:t||"group",attr:{name:"scrollGroup"},container:i,component:this,label:"scroller"}))},t.prototype.createScrollBar=function(){var f,u,o,c,l,a,t=this,n=t.config,v=t.getFromEnv("chart-attrib"),i=t.getChildren("legendScrollBar")&&t.getChildren("legendScrollBar")[0],s=n.borderWidth||0,p=.5*s,h=r.pluckNumber(n.padding,4),w=.5*h,b=n.width,y=n.height;
43f={conf:{isHorizontal:!1},handler:{scroll:function(i){n.lastScrollPos=i;n.scrollY=(o-n.totalHeight)*i;t.addJob("scrollDraw",t.drawScroll,e.priorityList&&e.priorityList.draw)},mousedown:function(n){n.preventDefault();n.stopPropagation()}}};v.legendscrollbgcolor&&(f.conf.color=r.convertColor(v.legendscrollbgcolor));i||(i=t.attachChild(new k.Scroller,"legendScrollBar"),this.config.hasScroll=!0);i.configure(f.conf);i.attachEventHandlers(f.handler);u=i.config;o=Math.max(y-h,0);c=b-10+w-s;l=p;a=Math.max(y-s,0);u.scrollRatio=(o+h)/n.totalHeight;u.startPercent=0;u.scrollPosition=n.lastScrollPos;u.parentLayer=t.getChildContainer("scrollGroup");i.setDimension({x:c,y:l,height:a})},t.prototype.drawCaption=function(){var f,i,u,s,c=this.getChildContainer("itemGroup"),t=this.getGraphicalElement("caption"),e=this.getFromEnv("animationManager"),n=this.config,o=r.pluckNumber(n.padding,4),l=n.scroll.enabled,h=n.width;if(n.title&&n.title.text!==r.BLANKSTRING&&n.validLegendItem){switch(n.title.align){case r.POSITION_START:u=o;break;case r.POSITION_END:u=h-o-(l?10:0);break;default:u=.5*h}i=n.title.style;f={text:n.title.text,title:n.title.originalText||r.BLANKSTRING,x:u,y:o,fill:n.title.style.color,direction:n.textDirection,"line-height":i.lineHeight,"vertical-align":r.POSITION_TOP,"text-anchor":n.title.align,opacity:1};s={"font-weight":i.fontWeight,"font-style":i.fontStyle,"font-family":i.fontFamily,"font-size":i.fontSize};t&&t.show();t?e.setAnimation({el:t,attr:f,component:this}):(t=e.setAnimation({el:"text",attr:f,component:this,container:c}),(t=this.addGraphicalElement("caption",t)).css(s));this.getFromEnv("toolTipController").enableToolTip(t,n.title.originalText)}else t&&e.setAnimation({el:t,component:this,doNotRemove:!0,callback:function(){t.hide()}})},t.prototype.drawLegendBox=function(){var t,r=this.getFromEnv("animationManager"),n=this.config,u=this.getContainer("legendGroup"),f=n.width,i=this.getGraphicalElement("box"),e=n.height,o=n.borderRadius,s=n.backgroundColor,h=n.borderColor,c=n.borderAlpha,l=n.backgroundAlpha,a=n.borderWidth||0;return t=r.setAnimation({el:i||"rect",attr:{x:0,y:0,width:f,height:e,r:o,stroke:h,"stroke-width":a,fill:s||"none","stroke-opacity":c/100,"fill-opacity":l/100,cursor:n.legendAllowDrag?"move":"default"},container:u,component:this,label:"legendGroup"}),i||(this.addGraphicalElement("box",t),t.shadow(n.shadow)),t},t.prototype.getPosition=function(){var u,f,o,s,h,n=this.getFromEnv("chart").config,t=this.config,b=n.height-n.canvasBottom,k=n.canvasLeft,d=n.canvasWidth,c=t.chartMarginLeft||0,l=t.chartMarginRight||0,g=t.chartMarginBottom||0,nt=n.actionBarHeight||0,a=t.actualCanvasMarginLeft||0,tt=n.actualCanvasMarginBottom||0,v=n.actualCanvasMarginRight||0,y=t.alignLegendWithCanvas,p=n.height,it=n.canvasTop,i=t.width||0,e=t.height||0,rt=n.borderWidth,ut=n.oriCanvasLeft,ft=n.oriTopSpace,et=n.oriBottomSpace,w=0,ot=t.borderWidth||0;return t.legendPos===r.POSITION_RIGHT&&(t.align=r.POSITION_RIGHT,t.verticalAlign=r.POSITION_MIDDLE,h=t.layout="vertical"),h?(u=n.width-l-v-i-rt,f=(w=r.pluckNumber(ft,it))+.5*(p-r.pluckNumber(et,b)-w-e)+(t.y||0)):(o=n.width-(c+a+(l+v)),s=y?d-i:o-i,u=(y?r.pluckNumber(ut,k):c+a)+s/2,f=p-e-tt-g-nt),r.crispBound(u,f,i,e,ot)},t.prototype.setTranslation=function(n,t){var i=this.config;i._translateX=n;i._translateY=t;i.translate="t"+n+","+t},t.prototype.allocatePosition=function(){var t,n=this.config;t=n.translate?r.crispBound(n._translateX,n._translateY,n.width,n.height,n.borderWidth):this.getPosition();n.xPos=t.x;n.yPos=t.y;n.width=t.width;n.height=t.height},t.prototype._manageLegendPosition=function(n){var t=this.config,i=t.legendPos;return t.padding=4,t.textPadding=4,i===r.POSITION_RIGHT?this._placeLegendBlockRight(n):this._placeLegendBlockBottom(n)},t.prototype.setDimension=function(n){var kt,dt,ei,ft,t=this.config,gt=this.getSortedLegendItems(),oi=gt.length,c=n.width,ot=n.height,ni=2*ot,i=void 0,st=void 0,si=void 0,ht=void 0,y=0,tt=0,v=0,nt=0,a=0,et=0,hi=0,ci=0,ct=[],ti=!1,w=t.padding,lt=t.textPadding,d=this.getFromEnv("smartLabel"),at=this.getStateCosmetics("default"),pi=
43parseInt(at.text["font-size"],10)||10,li=0,b=0,s=void 0,it=void 0,vt=void 0,ai=void 0,ii=void 0,rt=t.title,wi=rt.padding,yt=void 0,bi=t.minimiseWrappingInLegend,pt=t.legendPadding,vi=t.legendScale,ki=t.alignLegendWithCanvas,e=t.numColumns,k=t.oriSymbolPadding,p=void 0,ri=void 0,g=void 0,ut=void 0,wt=void 0,bt=void 0,yi=void 0,ui=void 0,o=void 0,fi=void 0,di=c;for(ri={width:2*w,height:2*w},(p=pi+1)<=0&&(p=1),c=Math.max(c-2*w,0),k*=vi,(p=f(p*=vi,c))<=0&&(k=p=0),t.symbolWidth=p,t.textPadding=4,t.legendHeight=dt=p+2*k,t.rowHeight=s=u(parseInt(at.text["line-height"],10)||12,dt),kt=lt+k+w,d.setStyle(r.extend2({},at.text)),ei=d.getOriSize(r.TESTSTR).height,it=pt+t.borderWidth/2+1,it=f(it,ot-ei-8),pt=.05*s,t.initialItemY=0,t.initialItemX=0,g=0;g<oi;g+=1)st=i=(ht=gt[g]).config||(ht.config={}),(si=i.name=r.parseUnsafeString(st.label))===r.BLANKSTRING||0===st.enabled||!1===st.enabled||ht.getState("removed")?i.enabled=0:(i.enabled=1,v+=1,ui=!0,o=d.getOriSize(si),y=u(y,o.width),et=u(et,f(o.height,ni)),tt+=o.width);if(t.validLegendItem=ui,nt=tt/v,tt+=(ft=dt+pt+lt+k+2*w)*v,t.x=!ki&&tt>di?0:t.x,ui){for(nt+=ft,y+=ft,e>0&&v<e&&(e=v),tt<=c&&(e<=0||e===v)?(e=v,a=nt=tt/v,ti=!0,et>s&&(ci=(et-s)/2,s=et)):e>0&&(a=c/e)>nt?a>y&&(a=y):c>y&&(bi||1.5*nt>y)?(v<(e=h(c/y))&&(e=v),a=y):c>=2*nt?(v<(e=h(c/nt))&&(e=v),(a=h(c/e))>y&&(a=y)):(e=1,a=c),t.itemWidth=a,(vt=l(a-ft))<0&&(k=vt=lt=0),t.symbolPadding=k,t.textPadding=lt,t.width=Math.max(a*e-pt,0),rt.oriText!==r.BLANKSTRING&&(d.setStyle(rt.style),o=d.getSmartText(rt.oriText,c,ni),rt.text=o.text,o.tooltext&&(rt.originalText=o.tooltext),yt=o.width+2*w,t.width<yt&&(t.initialItemX=(yt-t.width)/2,t.width=yt),t.initialItemY=hi=o.height+wi),d.setStyle(r.extend2({},at.text)),g=0;g<oi;g+=1)if(0!==(i=(ht=gt[g]).config).enabled){if(0===vt&&(ct[b]=!0,i.name=r.BLANKSTRING,ut=1,bt=parseInt(b/e,10),wt=b%e,i._legendX=wt*a,i._legendY=bt*s+2*w,i._legendH=ut*s,i._totalWidth=p+k),ti)(o=d.getOriSize(i.name)).height<s&&(i._legendTestY=(s-o.height)/2),i._markerYGutter=ci,i._legendX=li,i._legendY=2*w,i._legendH=s,i._totalWidth=p+kt+o.width,li+=o.width+ft;else{for(o=d.getSmartText(i.name,vt,ni),i.name=o.text,o.tooltext&&(i.originalText=o.tooltext);!0===ct[b];)b+=1;for(ai=o.height/s,ii=b,ut=0;ut<ai;ut+=1,ii+=e)ct[ii]=!0;o.height<s&&(i._legendTestY=(s-o.height)/2);bt=parseInt(b/e,10);wt=b%e;i._legendX=wt*a;i._legendY=bt*s+2*w;i._legendH=ut*s;i._totalWidth=p+kt+o.width}b++}yi=ti?1:l(ct.length/e);ri.height+=yi*s+hi;t.height=t.totalHeight=ri.height;t.rowHeight=s;t.legendNumColumns=e;t.height-2*k>ot?(t.height=ot,(fi=t.scroll||(t.scroll={})).enabled=!0,fi.flatScrollBars=t.flatScrollBars,fi.scrollBar3DLighting=t.scrollBar3DLighting,t.width=t.width+12>c?t.width:t.width+12):t.scroll.enabled=!1;it+=t.height;t.isActive=!0;t.enabled=!0}else t.enabled=!1,t.width=0,it=0;return{width:c,height:it}},t.prototype._placeLegendBlockBottom=function(n){var a,b,v,o,s,u=this.getFromEnv("chart"),t=u.config,it=u.getFromEnv("chartWidth"),rt=u.getFromEnv("chartHeight"),ut=t.canvasLeft,ft=t.width-(t.canvasRight||0),f=u.getFromEnv("smartLabel"),i=this.config,y=i.chartMarginLeft,p=i.chartMarginRight,et=i.chartMarginTop,ot=i.alignLegendWithCanvas,st=this.getSortedLegendItems().length,k=i.legendPadding,d=t.canvasMarginRight,g=t.canvasMarginLeft,w=u.getChildren("yAxis"),h=w&&w[0].config.isVertical?w:u.getChildren("xAxis"),nt=h&&h[0],tt=h&&h[1],c=nt&&nt.config||{},l=tt&&tt.config||{}
43,ht=c.nameMaxW,ct=l.nameMaxW,lt=c.name&&c.name.style||{},at=l.name&&l.name.style||{},vt=c.axisName||r.BLANKSTRING,yt=l.axisName||r.BLANKSTRING,e=t.canvasWidth-t.canvasMarginLeft-t.canvasMarginRight;return i.paddingBottom=t.height-t.canvasBottom,f.useEllipsesOnOverflow(t.useEllipsesWhenOverflow),f.setStyle(lt),o=f.getOriSize(vt),f.setStyle(at),s=f.getOriSize(yt),e<k&&(i.padding=k=e=0),(o||s)&&(b=r.pluckNumber(o.height,0)>r.pluckNumber(s.height,0)?(v=ht)&&o.width:(v=ct)&&s.width),e=ot?e:it-(b+et>rt-n?2*v+p+y+d+g:p+y+g+d),i.showLegend&&0!==st?(i.x=(ut-y-ft+p)/2,a=this.setDimension({width:e,height:n}).height):(a=0,i.height=0,i.width=0),{bottom:a,right:0}},t.prototype._placeLegendBlockRight=function(n){var y,i,p,o,s,e,g,w,b,ft,t=this.config,nt=this.getFromEnv("chart"),et=nt.config,l=nt.getFromEnv("smartLabel"),lt=nt.getChildren("canvas")[0].config.canvasBorderThickness||0,tt=t.textPadding,at=t.title.padding,c=t.oriSymbolPadding,h=t.legendPadding,ot=t.legendScale,it=this.getStateCosmetics("default"),vt=parseInt(it.text["font-size"],
4310),st=2*et.canvasHeight,rt=0,a=2*t.padding,v={width:a,height:a},k={},ut=!1,ht=this.getSortedLegendItems(),ct=ht.length,d=0;if(t.initialItemY=0,t.initialItemX=0,(n-=a+h)<h&&(t.padding=h=n=0),(o=vt+1)<=0&&(o=1),c*=ot,(o=f(o*=ot,n))<=0&&(c=o=0),t.symbolPadding=c,t.symbolWidth=o,t.legendHeight=s=o+2*c,t.rowHeight=u(parseInt(it.text["line-height"],10)||12,s),y=h+t.borderWidth/2+lt,(p=n-s-h-tt)<0&&(p=0),l.useEllipsesOnOverflow(et.useEllipsesWhenOverflow),l.setStyle(r.extend2({},it.text)),t.showLegend&&0!==ct){for(d=0;d<ct;d+=1)b=e=(ft=ht[d]).config||(ft.config={}),g=e.name=r.parseUnsafeString(b.label),e._legendX=0,e._legendY=v.height,0!==b.enabled&&!1!==b.enabled&&g!==r.BLANKSTRING?(e.enabled=1,ut=!0,0===p?(v.height+=e._legendH=s,e.name=r.BLANKSTRING,e._totalWidth=o+c):(i=l.getSmartText(g,p,st),e.name=i.text,i.tooltext&&(e.originalText=i.tooltext),i.height<s&&(e._legendTestY=(s-i.height)/2),e._totalWidth=o+c+tt+i.width+h,v.height+=e._legendH=u(i.height,s),rt=u(i.width,rt))):e.enabled=0;t.validLegendItem=ut;ut?(t.itemWidth=rt+s+h+tt,t.width=t.itemWidth+a,t.title.oriText!==r.BLANKSTRING&&(l.setStyle(t.title.style),i=l.getSmartText(t.title.oriText,n,st),t.title.text=i.text,i.tooltext&&(t.title.originalText=i.tooltext),w=i.width+a,t.width<w&&(t.initialItemX=(w-t.width)/2,t.width=w),t.initialItemY=i.height+at,v.height+=t.initialItemY),t.height=t.totalHeight=v.height,y=f(t.width+y,n),k.right=y+h,t.isActive=!0,t.enabled=!0):(t.enabled=!1,t.width=0,k.right=0)}else k.right=0,t.height=0,t.width=0;return k},t.prototype.postSpaceManager=function(){var n=this.config,i=n.legendPos,t=this.getFromEnv("chart").config.canvasHeight;i===r.POSITION_RIGHT&&(n.height>t?(n.height=t,n.scroll.enabled=!0,n.scroll.flatScrollBars=n.flatScrollBars,n.scroll.scrollBar3DLighting=n.scrollBar3DLighting,n.width+=(n.scroll.scrollBarWidth=10)+(n.scroll.scrollBarPadding=2)):n.scroll.enabled=!1)},t.prototype.configureAttributes=function(){var f=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};n.prototype.configureAttributes.call(this,f);var k,c,y,p,d,t=this.config,e=this.getFromEnv("chart"),o=e.config,l=this.getFromEnv("style"),i=e.getFromEnv("chart-attrib"),ft=e.config.is3D,w=this.getFromEnv("color-manager"),g=ft?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D,nt=t.interactiveLegend=!1!==e.hasInteractiveLegend&&Boolean(r.pluckNumber(i.interactivelegend,1)),b=r.pluckNumber(i.useroundedges,0),tt=l.outCancolor,h=f.style&&f.style.text,it=r.pluck(i.legenditemfont,h&&h["font-family"],l.outCanfontFamily),a=r.pluckNumber(i.legendiconscale,1),rt=r.pluckFontSize(i.legenditemfontsize,h&&h["font-size"],l.fontSize)+"px",ut=r.pluck(i.legenditemfontcolor,h&&h.color,tt).replace(/^#?([a-f0-9]+)/gi,"#$1"),et=r.getFirstColor(r.pluck(i.legenditemhoverfontcolor,ut));t.isActive=!1;t.chartMarginTop=o.origMarginTop;t.chartMarginRight=o.origMarginRight;t.chartMarginBottom=o.origMarginBottom;t.chartMarginLeft=o.origMarginLeft;t.reverselegend=r.pluckNumber(i.reverselegend,0);t.showLegend=r.pluckNumber(i.showlegend,!e.dontShowLegendByDefault,1);k=r.setLineHeight({fontSize:rt});t.legendPos=r.pluck(i.legendposition,e.legendposition,f.legendPosition,r.POSITION_BOTTOM).toLowerCase();t.numColumns=r.pluckNumber(i.legendnumcolumns,0);t.xL=t.yL=0;(a<=0||a>5)&&(a=1);t.drawCustomLegendIcon=r.pluckNumber(i.drawcustomlegendicon,f.drawcustomlegendicon,0);t.legendScale=a;t.legendPadding=r.pluckNumber(i.legendpadding,7);t.alignLegendWithCanvas=r.pluckNumber(f.alignlegendwithcanvas,o.alignLegendWithCanvas);t.title.style={fontFamily:r.pluck(i.legendcaptionfont,it),fontSize:r.pluckFontSize(i.legendcaptionfontsize,l.fontSize)+"px",color:r.pluck(i.legendcaptionfontcolor,tt).replace(/^#?([a-f0-9]+)/gi,"#$1"),fontWeight:v.fontWeight[r.pluckNumber(i.legendcaptionfontbold,1)]||r.BLANKSTRING};d=i.legendcaptionalignment?i.legendcaptionalignment.toLowerCase():s.center;t.title.align=s[d]||s.center;t.title.style["text-anchor"]=t.title.align;t.padding=4;c=r.pluck(i.legendbordercolor,w.getColor(g.legendBorderColor));y=t.borderAlpha=r.pluckNumber(i.legendborderalpha,100);t.borderColor=r.convertColor(c,y);t.borderWidth=r.pluckNumber(i.legendborderthickness,f.legendborderthickness,!b||i.legendbordercolor?1:0);t.borderRadius=r.pluckNumber(b,0);t.backgroundAlpha=p=r.pluckNumber(i.legendbgalpha,f.legendbgalpha,100);t.backgroundColor=r.convertColor(r.pluck(i.legendbgcolor,w.getColor(g.legendBgC
43olor)),p);t.symbol3DLighting=Boolean(r.pluckNumber(i.use3dlighting,i.useplotgradientcolor,1));t.shadow=Boolean(r.pluckNumber(i.legendshadow,1));t.shadow&&(t.shadow={enabled:t.shadow,opacity:u(y,p)/100});t.prevReversed=Boolean(r.pluckNumber(t.reversed,0));t.reversed=Boolean(r.pluckNumber(i.reverselegend,0));t.lineWidth=r.pluckNumber(i.linethickness,2);t.borderRadius=r.pluckNumber(i.legendborderradius,b?3:0);t.legendAllowDrag=Boolean(r.pluckNumber(i.legendallowdrag,0));t.title.oriText=r.parseUnsafeString(r.getFirstValue(i.legendcaption,r.BLANKSTRING));t.legendScrollBgColor=r.getFirstColor(r.pluck(i.legendscrollbgcolor,i.scrollcolor,w.getColor("altHGridColor")));t.legendScrollBarColor=r.pluck(i.legendscrollbarcolor,c);t.legendScrollBtnColor=r.pluck(i.legendscrollbtncolor,c);t.minimiseWrappingInLegend=r.pluckNumber(i.minimisewrappinginlegend,0);t.flatScrollBars=r.pluckNumber(i.flatscrollbars,0);t.scrollBar3DLighting=r.pluckNumber(i.scrollbar3dlighting,1);t.orderReversed=!1;this.setStateCosmetics("hidden",{symbol:{fill:r.convertColor(r.pluck(i.legenditemhiddencolor,"cccccc").replace(/^#?([a-f0-9]+)/gi,"#$1")),stroke:r.convertColor(r.pluck(i.legenditemhiddencolor,"cccccc").replace(/^#?([a-f0-9]+)/gi,"#$1"))},text:{fill:r.convertColor(r.pluck(i.legenditemhiddencolor,"cccccc").replace(/^#?([a-f0-9]+)/gi,"#$1"))}});this.setStateCosmetics("default",{text:{fill:r.convertColor(ut),"font-family":it,cursor:nt?r.preDefStr.POINTER:"default","font-size":rt,"line-height":k,"vertical-align":r.POSITION_TOP,"text-anchor":r.POSITION_START,direction:"rtl"===o.textDirection?"rtl":"initial","font-weight":v.fontWeight[r.pluckNumber(i.legenditemfontbold,0)]||r.BLANKSTRING},symbol:{bgColor:r.pluck(i.legendiconbgcolor),cursor:nt?r.preDefStr.POINTER:"default",borderColor:r.pluck(i.legendiconbordercolor),bgAlpha:r.pluck(i.legendiconbgalpha,i.legendiconalpha,100),borderAlpha:r.pluck(i.legendiconborderalpha,i.legendiconalpha,100),borderThickness:r.pluckNumber(i.legendiconborderthickness),startAngle:r.pluckNumber(i.legendiconstartangle,45),sides:r.pluckNumber(i.legendiconsides,f.legendiconsides,4)}});this.setStateCosmetics("hover",function(n,t){return t.hasState("hidden")||(n.text||(n.text={}),n.text.fill=r.convertColor(et.replace(/^#?([a-f0-9]+)/gi,"#$1")),n.text.cursor="inherit"),n});t.legendAllowDrag&&!t._dragEvtListenerBinded?(this.addEventListener("fc-dragstart",t.handlers.dragstart),this.addEventListener("fc-dragmove",t.handlers.dragmove),t._dragEvtListenerBinded=!0):(this.removeEventListener("fc-dragstart",t.handlers.dragstart),this.removeEventListener("fc-dragmove",t.handlers.dragmove),t._dragEvtListenerBinded=!1)},t.prototype.getLegendState=function(){return this._legendState},t.prototype.hasState=function(n){for(var r=this.getLegendState(),t=0,i=r.length;t<i;t++)if(r[t]===n)return!0;return!1},t.prototype.setLegendState=function(n,t){this.hasState(n)||(t?this._legendState.push(n):this._legendState.unshift(n));this.asyncDraw()},t.prototype.removeLegendState=function(n){var t,i,r=1;if(n)for(t=0,i=this._legendState.length;t<i&&r;t++)n===this._legendState[t]&&(this._legendState.splice(t,1),r=0);else this._legendState.length=0;this.asyncDraw()},t.prototype.setStateCosmetics=function(n,t){this._stateCosmetics[n]=t},t.prototype.removeStateCosmetics=function(n){delete this._stateCosmetics[n]},t.prototype.getStateCosmetics=function(n){return this._stateCosmetics[n]},t.prototype.hide=function(){var n=this.getFromEnv("chart").getChildContainer("legendGroup");n&&n.hide()},t}(p.ComponentInterface);t["default"]=y},function(n,t,i){"use strict";function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var h;t.__esModule=!0;var o,c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r=i(125),l=i(138),a=i(132),v=i(465),y=(o=v)&&o.__esModule?o:{"default":o};var f=r.preDefStr.POINTER,e="M",u="L",s=function(n,t){var i=n.config,u=n.getLinkedParent().config,c=u.symbolWi
43dth,o=r.pluckNumber(u.padding,4),e=.5*c,l=(u.initialItemX||0)+i._legendX+o,a=(u.initialItemY||0)+i._legendY-o,v=l+u.symbolPadding+e,y=a+(i._markerYGutter||0)+u.symbolPadding+e,s=r.mapSymbolName(i.anchorSide),h=i.symbol=s&&s.split("_")||[],p="spoke"===h[0]?1:0;return("line"===i.type||i.drawLine)&&(e*=.6),{path:r.polyPathToPath([h[1]||2,v,y,e,i.startAngle,i.spoke||p]),cursor:t.cursor||f,stroke:t.stroke,fill:t.fill,"stroke-width":t["stroke-width"]||.5}};a.addDep({name:"legendItemAnimation",type:"animationRule",extension:y["default"]});h=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i._stateCosmetics={},i._legendState=[],i}return p(t,n),t.prototype.getName=function(){return"legendItem"},t.prototype.parseLegendCosmetics=function(){for(var e=this.getLinkedParent(),o=e.getLegendState(),s=this.getLegendState(),t=void 0,i=void 0,u=["default"],n={},f=void 0,u=u.concat(o,s),f=0;f<u.length;f++)t=e.getStateCosmetics(u[f]),i=this.getStateCosmetics(u[f]),t&&("function"==typeof t?n=t(n,this):r.extend2(n,t)),i&&("function"==typeof i?n=i(n,this):r.extend2(n,i));return n},t.prototype.getType=function(){return"legendItem"},t.prototype.configure=function(n){var t,r,i=this.config,u;for(t in n)if(n.hasOwnProperty(t))if("object"!==c(n[t]))i[t]=n[t];else{u=i[t]?i[t]:{};for(r in n[t])u[r]=n[t][r];i[t]=u}},t.prototype.itemClickFn=function(){var n=this.getFromEnv("chart-attrib"),t=r.pluckNumber(n.interactivelegend,1),i=this.getLinkedItem("owner");t&&i.legendInteractivity(this)},t.prototype.dispose=function(){this.removeEventListener("fc-click",this.click);this.removeEventListener("fc-mouseover",this.mouseover);this._dispose()},t.prototype.getLegendState=function(){return this._legendState},t.prototype.hasState=function(n){for(var r=this.getLegendState(),t=0,i=r.length;t<i;t++)if(r[t]===n)return!0;return!1},t.prototype.setLegendState=function(n,t){this.hasState(n)||(t?this._legendState.push(n):this._legendState.unshift(n));this.asyncDraw()},t.prototype.removeLegendState=function(n){var t,i,r=1;if(n)for(t=0,i=this._legendState.length;t<i&&r;t++)n===this._legendState[t]&&(this._legendState.splice(t,1),r=0);else this._legendState.length=0;this.asyncDraw()},t.prototype.removeStateCosmetics=function(n){delete this._stateCosmetics[n]},t.prototype.setStateCosmetics=function(n,t){this._stateCosmetics[n]=t},t.prototype.getStateCosmetics=function(n){return this._stateCosmetics[n]},t.prototype.draw=function(){var n,pt,o,wt,bt,b,g,et,nt,c,y,l,tt,p,kt,ot,dt,gt,h,w,ni,st,ti,ii,ri,ui,fi,ht,ei,ct,lt,k,at,a,oi,it,si,hi,vt=this.getLinkedParent(),ai=vt.getFromEnv("chart").config,rt=this.getFromEnv("animationManager"),t=this.config,i=vt.config,vi=i.legendHeight,v=i.symbolPadding,d=i.symbolWidth,yt=i.interactiveLegend,yi=i.textPadding||2,ci=r.pluckNumber(i.padding,4),pi=i.itemHoverStyle,ut=vt.getChildContainer("itemGroup"),wi=i.drawCustomLegendIcon,ft=this.hasState("hidden"),li={};o=(n=this.parseLegendCosmetics()).symbol;wt=i.initialItemX||0;bt=i.initialItemY||0;nt=t.type;h=n.symbol.stroke||"000000";w=n.symbol.fill;pt=n.symbol.lineWidth||i.lineWidth;st=t.anchorSide;ti=t.drawLine;c=wt+t._legendX+ci;y=bt+t._legendY-ci;
43lt=this.getGraphicalElement("legendItemBackground");et=this.getGraphicalElement("legendItemText");l=this.getGraphicalElement("legendItemLine");p=this.getGraphicalElement("legendItemSymbol");!(yt=r.pluck(t.interactiveLegend,yt))&&(n.cursor="default");k=n.text;si=c+vi+yi-2;hi=y+(t._legendTestY||0);k.text=t.name;k.x=si;k.y=hi;g=rt.setAnimation({el:et||"text",attr:k,component:this,container:ut,label:"icon"});et||(g=this.addGraphicalElement("legendItemText",g));g.data("legendItem",t);at=!1;wi&&!1!==t.customLegendIcon?(ui=!ft&&o.borderColor,fi=r.pluck(o.borderAlpha),ii=!ft&&o.bgColor,ri=r.pluck(o.bgAlpha,"100"),ht=n.symbol.rawFillColor,w=ft?n.symbol.fill:ii||ht,w=r.convertColor(w,ri),ei=n.symbol.rawStrokeColor,h=ft?n.symbol.stroke:ui||ei||ht,h=r.convertColor(h,fi),kt=c+v+(ot=.5*d),b=y+(t._markerYGutter||0)+v+ot,dt="spoke"===(gt=r.mapSymbolName(o.sides)&&r.mapSymbolName(o.sides).split("_")||[])[0]?1:0,a={path:r.polyPathToPath([gt[1]||2,kt,b,ot,o.startAngle||0,dt]),cursor:n.symbol.cursor||f,stroke:h,fill:w,"stroke-width":r.pluckNumber(o.borderThickness,1)}):"line"===nt||ti?(b=y+(t._markerYGutter||0)+v+.5*d,it={path:[e,c+v,b,u,c+v+d,b]},at=!0,li={opacity:ai.legendiconalpha||1,"stroke-width":pt,stroke:h,cursor:n.cursor||f},st&&(a=s(this,n.symbol))):st?a=s(this,n.symbol):"line"!==nt&&(h=t.symbolStroke||h,a={path:function(n,t,i,r,f){var s,o,h,c,k,y,p,w,b,v,d,l=[e],a="Z";switch(f){case"column":case"dragColumn":case"column3D":case"realtimeColumn":case"errorBar2D":o=.5*(s=.25*i);h=.7*r;c=.4*r;l=l.concat([n,t+r,"l",0,-h,s,0,0,h,"z","m",s+o,0,"l",0,-r,s,0,0,r,"z","m",s+o,0,"l",0,-c,s,0,0,c,"z"]);break;case"bar2D":case"bar3D":s=.3*i;o=.6*i;c=(h=r/4)/2;l=l.concat([n,t,u,n+o,t,n+o,t+h,n,t+h,a,e,n,t+h+c,u,n+i,t+h+c,n+i,t+h+c+h,n,t+2*h+c,a,e,n,t+2*(h+c),u,n+s,t+2*(h+c),n+s,t+r,n,t+r,a]);break;case"area":case"area3d":case"areaspline":case"dragArea":case"realTimeArea":case"splinearea":s=.3*i;o=.6*i;h=.6*r;c=.2*r;k=.8*r;l=l.concat([n,t+k,u,n,t+h,n+s,t+c,n+o,t+h,n+i,t+c,n+i,t+k,a]);break;case"pie2D":case"pie3d":case"doughnut2D":case"doughnut3D":o=.9*(s=.5*i);y=n+s+(v=1);w=t+s-v;p=n+s-(d=1);b=t+s+d;l=l.concat([y,w,u,y,w-o+v,"A",o-v,o-v,0,0,1,y+o-v,w,a,e,p,b,u,p,b-o,"A",o,o,0,1,0,p+o,b,a]);break;case"boxandwhisker2d":l=l.concat([n,t,u,n+i,t,n+i,t+r,n,t+r,a]);break;default:l=l.concat([n,t,u,n+i,t,n+i,t+r,n,t+r,a])}return{path:l}}(c+v,y+(t._markerYGutter||0)+v,d,d,nt).path,"stroke-width":.5,stroke:h,fill:w,cursor:n.cursor||f});it&&at?(Object.assign(it,li),l=rt.setAnimation({el:l||"path",attr:it,component:this,callback:function(){this.show()},container:ut}),this.getGraphicalElement("legendItemLine")||(l=this.addGraphicalElement("legendItemLine",l))):l&&l.hide();a?(a.opacity=r.pluckNumber(n.symbol.opacity,1),tt=rt.setAnimation({el:p||"path",attr:a,component:this,callback:function(){this.show()},container:ut,label:"icon"}),p&&p.node||(tt=this.addGraphicalElement("legendItemSymbol",tt)),tt.data("legendItem",t)):p&&p.hide();ni=n.background&&n.background.legendBackgroundColor?r.convertColor(n.background.legendBackgroundColor,n.background.alpha):r.TRACKER_FILL;oi={x:c,y:y,width:t._totalWidth,height:t._legendH,r:0,fill:ni,opacity:1,"stroke-width":1,stroke:"none",cursor:n.symbol.cursor||f};ct=rt.setAnimation({el:lt||"rect",attr:oi,css:void 0,component:this,label:"background",container:ut});
43lt||this.addGraphicalElement("legendItemBackground",ct);ct.data("legendItem",this).data("interactive",yt).data("itemHoverStyle",pi).data("itemStyle",n)},t}(l.ComponentInterface);t["default"]=h},function(n,t){"use strict";t.__esModule=!0;t["default"]={"*.legendItem.legendItem":function(){return{"icon.appearing":function(){return[{initialAttr:{opacity:0},slot:"plot",startEnd:{start:.5,end:1},finalAttr:{opacity:1}}]},"background.appearing":function(n){return[{initialAttr:{opacity:0},slot:"plot",startEnd:{start:.5,end:1},finalAttr:{opacity:n.attr.opacity}}]},"icon.disappearing":function(){return[{finalAttr:{opacity:0},slot:"initial"}]}}}}},function(n,t){"use strict";t.__esModule=!0;var i=[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"plot"}],r=[{slot:"plot",startEnd:{start:0,end:.5}}],u=[{slot:"intial"}];t["default"]={"*.legend.legend":function(){return{"legendGroup.appearing":i,"legendGroup.updating":r,"legendGroup.disappearing":u,"scroller.appearing":i,"scroller.updating":r,"scroller.disappearing":u}}}},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var c;t.__esModule=!0;t.drawLabel=undefined;var l=o(i(432)),r=i(125),a=i(132),v=o(i(468));var p=r.preDefStr.visibleStr,w=r.preDefStr.hiddenStr,b=r.preDefStr.POSITION_MIDDLE,u=r.preDefStr.POSITION_START,f=r.preDefStr.POSITION_END,s=Math,k=s.min,e=s.max,h=function(){var bt,h,y,kt,ft,dt,it,gt,d,n,lt,i,ni,l,a,rt,ut,o,s,g,ti,at,vt,ii,v=this.getFromEnv("chart"),ot=v.config,yi=this.config.JSONData,ri=this.getFromEnv("animationManager"),ui=v.getChildren("canvas")[0].config,t=v.config.dataLabelStyle,yt=yi.data,fi=v.config.categories,nt=v.config.is3D,ei=v.config.isstacked,oi=fi&&fi.length,si=yt&&yt.length,pi=this.getData(),hi=v.getFromEnv("smartLabel"),st=ui.yDepth,tt=ui.xDepth,wi=v.getFromEnv("number-formatter"),et="",pt=ot.placevaluesinside,ht=ot.canvasWidth,c=ot.canvasLeft,ci=ot.valuepadding+2,li=this.getContainer("labelGroup"),ct=this.getSkippingInfo&&this.getSkippingInfo(),ai=ct&&ct.skippingApplied,vi=ct&&ct.labelDraw||[],bi=vi.length,wt=this.getState("visible"),ki=function(){this.hide()};for(wt&&li.show(),hi.setStyle(t),bt=ai?bi:oi<si?oi:si,ft=0;ft<bt;ft++)rt=(g=(h=pi[kt=ai?vi[ft]:ft])&&h.config)&&g.setValue,void 0!==h&&void 0!==rt&&null!==rt&&!0!==g.labelSkip?(it=h.graphics)&&(dt=yt[kt],ni=h._yPos,l=h._xPos,rt=wi.getCleanValue(dt.value),i=r.pluckNumber(rt)<0,gt=h._height,a=h._width,ut=ei?b:i?pt?u:f:pt?f:u,et=g.displayValue,at=it.label,g.showValue&&void 0!==(ii=et)&&null!==ii&&et!==r.BLANKSTRING&&null!==rt?(y={text:et,fill:t.color,"text-bound":[t.backgroundColor,t.borderColor,t.borderThickness,t.borderPadding,t.borderRadius,t.borderDash],"line-height":t.lineHeight,visibility:this.getState("visible")?p:w},o=hi.getOriSize(et).width,o+=ci,s=ci,d=ni+.5*gt,n=l+(i?0:a),lt=i?l-c:c+ht-(l+a),ei?(n=e(c+.5*o,n+=.5*(i?a:-a)
43),n=k(c+ht-.5*o,n),n-=nt?tt:0,d+=nt?st:0):pt?a>=o?(n+=i?s:-s,nt&&(d+=st,n-=tt)):o<lt?(n+=i?-s:s,ut=i?f:u,nt&&i&&(n-=tt)):(i?(n=l+a+e(o-l-a+c,0)-s,ut=f):(n=l-e(o-(c+ht-l),0)+s,ut=u),nt&&(n-=tt,d+=st)):lt>=o?(n+=i?-s:s,nt&&i&&(n-=tt,d+=tt)):(n+=i?s+o:-(s+o),nt&&(n-=tt,d+=st)),(n>c+ht||n<c)&&(n=c+4,ut=u),y["text-anchor"]=ut,y.x=n,y.y=d,y["text-bound"]=[t.backgroundColor,t.borderColor,t.borderThickness,t.borderPadding,t.borderRadius,t.borderDash],y.opacity=wt?1:0,ti=ri.setAnimation({el:at||"text",container:li,component:this,attr:y,callback:!wt&&ki,label:"plotLabel"}),at||(it.label=ti)):it.label&&(it.label=ri.setAnimation({el:it.label,component:this}))):((vt=h&&h.graphics)&&vt.label&&vt.label.hide(),g&&delete g.labelSkip);this.config.labelDrawn=!0};a.addDep({name:"barAnimation",type:"animationRule",extension:v["default"]});c=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return y(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"bar2D"},t.prototype.drawLabel=function(){h.call(this)},t}(l["default"]);t.drawLabel=h;t["default"]=c},function(n,t,i){"use strict";t.__esModule=!0;var r=i(125);t["default"]={"initial.dataset.bar2D":function(){var n=this,t=n.getFromEnv("chart"),i=t.config.yDepth||0,u=n.getFromEnv("yAxis");return{"rect.appearing":function(f){var s,h,c,e,l=u.getPixel(u.getAxisBase())+(t.isBar?-i:i),a=f.index,v=n.components.data[a],o=f.attr;return s=o.x,h=o.width,e=Math.sign(s+h/2-l),c=1===e?s:s+h,v._posWRT0=e,[{initialAttr:function(){var n={};return n.x=c,n.width=0,n.opacity=0,n},finalAttr:{opacity:1},startEnd:function(){var t=f.length;return r.animHelperFN.getTimeByValue(r.animHelperFN.animByWeight(a,t,.6),{startPx:l,endPx:1===e?n.config.yAxisMaxPixel:n.config.yAxisMinPixel},{startPx:c,endPx:1===e?o.x+o.width:o.x})},hookFn:function(){this.attr({opacity:1})},effect:"linear",slot:"plot"}]},"plotLabel.appearing":function(){return[{initialAttr:{opacity:0}
43,slot:"final"}]},"*":null}}}},,,,,,,,function(n,t,i){"use strict";function p(n){return n&&n.__esModule?n:{"default":n}}function pt(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function ht(n){if(this.config.JSONData){var i,r,t=void 0,s=this.getFromEnv("legend"),u=void 0,f=this.config.JSONData,h=f.data&&f.data.length,e=n.data&&n.data.length||0,o=h-e;for(o>0&&this.removeData(e,o,!1),t=0,i=(r=this.components.removeDataArr||[]).length;t<i;t++)(u=r[t].config).legendItemId&&s.disposeItem(u.legendItemId)}}var ct;t.__esModule=!0;t.hideFn=t.plotClickHandler=t.labelClickFn=t.trimData=t.plotGraphicClick=undefined;var nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},lt=p(i(450)),r=i(125),tt=i(132),at=p(i(477)),vt=p(i(216)),yt=i(136),it=p(i(182));var wt=tt.getDep("redraphael","plugin"),u=void 0,l=window,h=l.document,bt=!r.hasSVG,rt="createTouch"in h,kt=rt&&!(l.navigator.maxTouchPoints||l.navigator.msMaxTouchPoints),ut=r.preDefStr.visibleStr,d=8===h.documentMode?ut:"",e=Math,dt=e.atan2,f=e.sin,s=e.cos,g=e.max,gt=e.min,a=e.abs,w=e.ceil,ni=e.floor,v=e.PI,ft=v/2,et=180/e.PI,o=2*v,ti=v+ft,c=function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:{name:n},container:t,component:i,label:"group"})},ot=function(n,t,i,r,u){return dt((t-i[1]-r.top)/u,n-i[0]-r.left)},y=function(n,t){return function(i){t.data("plotItem").seriesData.isRotating||n.plotGraphicClick.call(t,i)}},st=function(n){return function(t){var k,tt,c,r,i,e,s,it,d,g,ut,u,l=this.element||this,h=l.plotItem||l.data("plotItem"),a=l.data("eventArgs")||{},v=h.chart,y=n.getFromEnv("animationManager"),p=h.index,w=n.config,et=w.enableMultiSlicing,ft=n.components.data[p],b=ft.graphics,f=ft.config,ot=f.doNotSlice,o=f.slicedTranslation;if(!w.isRotating&&t&&v.plotEventHandler(l,t),!(w.isRotating||w.singletonCase||ot)&&v.config&&(tt=!et&&n.sliceInOtherPies(p),!(i=f.sliced)||!tt)){if(rt&&!kt){if(g=(new Date).getTime(),h.lastSliceTimeStamp&&g-h.lastSliceTimeStamp<400)return;h.lastSliceTimeStamp=g}return c=b.element,it=b.connector,r=b.label||b.dataLabel,o="object"===(void 0===o?"undefined":nt(o))?"t"+o:o,d=f.connectorPath,e=(i?-1:1)*f.transX,s=(i?-1:1)*f.transY,ut=c.data("eventArgs")||c.data("eventArgs",{}),v.fireChartInstanceEvent("slicingStart",{slicedState:i,dataIndex:"index"in a&&a.index,data:n.getPlotData(p,i)}),y.setAnimationState("slicing"),y.setAnimation({el:c,attr:{transform:i?"t0,0":o},component:n,label:"slice",callback:function(){v.fireChartInstanceEvent("slicingEnd",{slicedState:i,dataIndex:"index"in a&&a.index,data:n.getPlotData(p,!i)})}}),r&&r.x&&((k=r.data("textPos"))||(k=r.data("textPos",{x:r.x,y:r.y})),y.setAnimation({el:r,attr:{x:r.x+(i?0:e),y:r.y+(i?0:s)},label:"label-sliced",component:n}),k.x=r.x+(i?0:e)),d&&((u=d.slice(0))[1]+=e,u[2]+=s,u[4]+=e,u[5]+=s,u[6]+=e,u[7]+=s,y.setAnimation({el:it,attr:{path:u},label:"connector-sliced",component:n}),f.connectorPath=u),ut.isSliced=i=f.sliced=!i,i}}},ii=function(n){var t=n.getFromEnv("animationManager");return{plotDragMove:function(t){var f,o=this.data("plotItem"),r=o.chart,e=t.data,s=e[0],h=e[1],c=e[2],l=e[3],i=o.seriesData,u=n.config;isNaN(s)||isNaN(h)||!u.enableRotation||i.singletonCase||i.isRightClicked||(f=ot.call(t,c,l,i.pieCenter,i.chartPosition,1),i.dragStartAngle===f||i.isRotating||(i.isRotating=!0,r.fireChartInstanceEvent("RotationStart",{startingAngle:i._rotationalStartAngle=r._startingAngle()})),u.startAngle+=f-i.dragStartAngle,i.dragStartAngle=f,i.moveDuration=0,u.updateInited||(u.updateInited=!0,r.addJob("pie_batch_rotate",r._batchRotate||(r._batchRotate=function(){n._rotate();u.updateInited=!1}),yt.priorityList.draw,{oneInAFrame:!0})))},plotDragStart:function(t){var u,f=this.data("plotItem"),s=f.chart,i=f.seriesData,e=n.config,o=r.pluckNumber(t.button,t.originalEvent.button),c=-e.startAngle*et,a=t.data[0],v=t.data[1];i.isRightClicked=!(r.touchEnabled||0===o||1===o);e.enableRotation&&!i.isRightClicked&&(i.isRotating=!1,i.chartPosition=function(n,t){var r,i={left:0,top:0};if(n.getBoundingClientRect)r=n.getBoundingClientRect(),i.top=r.top+(l.pageYOffset||h.scrollTop||0)-(h.clientTop||0),i.left=r.left+(l.pageXOffset||h.scrollLeft||0)-(h.clientLeft||0);else for(;n;)i.left+=n.offsetLeft||0,i.top+=n.offsetTop||0,n===h.body||n===h.documentElement||t||(i.left-=n.scrollLeft||0,i.top-=n.scrollTop||0),n=n.offsetParent;return i}(s.getFromEnv("chart-container")),u=ot.call(t,a,v,i.pieCenter,i.chartPosition,1),i.dragStartAngle=u,i.startingAngleOnDragStart=c)},plotDragEnd:function(){var u=this.data("plotItem"),t=u.chart,f=t.getChildren("dataset")[0].config,e=t.config,i=u.seriesData,o=-f.startAngle*et;i.isRightClicked||(e.clicked=!0,t.disposed||n._rotate(),delete e.clicked,i.isRotating&&(setTimeout(function(){i.isRotating=!1},0),t.fireChartInstanceEvent("RotationEnd",{startingAngle:r.normalizeAngle(o,!0),changeInAngle:o-f.startingAngleOnDragStart}
43)),!i.isHovered&&n.config.handlersAPI.onPlotHover(this,!1))},plotRollOver:function(n){var t=this.plotItem||this.data("plotItem"),r=t.chart,u=t.seriesData,i=r.getDatasets()[0],f=i.getFromEnv("animationManager");u.isRotating||(r.plotEventHandler(this,n,"DataPlotRollOver"),i.config.handlersAPI.onPlotHover(this,!0,f));i.fireEvent("datasetrollover",t);u.isHovered=!0},plotRollOut:function(n){var t=this.plotItem||this.data("plotItem"),i=t.chart,r=t.seriesData,u=i.getDatasets()[0];r.isRotating||(i.plotEventHandler(this,n,"DataPlotRollOut"),u.config.handlersAPI.onPlotHover(this,!1));u.fireEvent("datasetrollout",t);r.isHovered=!1},onPlotHover:function(i,u){var f=i.data("plotItem"),s=f.center,o=f.rolloverProperties||{},e=u?o.color:f.color,h=u?o.borderWidth:f.borderWidth,c=u?o.borderColor:f.borderColor;e&&(u&&(e.cx=s[0],e.cy=s[1],e.r=f.radius),o.enabled&&t.setAnimation({el:f.graphic,component:n,attr:{fill:r.toRaphaelColor(e),"stroke-width":h,stroke:c}}))}}},ri=function(n,t){return n.point.value-t.point.value},ui=function(n,t){return n.angle-t.angle},b=function(n,t){t&&n.getFromEnv("linkClickFN")&&n.getFromEnv("linkClickFN").call({link:t},!0)},k=function(){this.hide()},fi=["start","start","end","end"],ei=[-1,1,1,-1],oi=[1,1,-1,-1];tt.addDep({name:"pie2dAnimation",type:"animationRule",extension:at["default"]});vt["default"](wt);ct=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.plotGraphicClick=st(i),i}return pt(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"pie2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.doughnutradius=0},t.prototype.configureAttributes=function(n){if(!n)return!1;this.trimData(n);this.config.JSONData=n;var h,c,l,o,f=this.getFromEnv("chart"),a=f.config,t=this.config,s=this.config.JSONData,i=this.getFromEnv("chart-attrib"),y=f.config.is3D,e=void 0;t.handlersAPI=ii(this);this.setState("visible",1===r.pluckNumber(this.config.JSONData.visible,!Number(this.config.JSONData.initiallyhidden),1));r.parseConfiguration({},this.config,f&&f.config);o=t.enableAnimation=r.pluckNumber(i.animation,i.defaultanimation,1);t.animation=!!o&&{duration:1e3*r.pluckNumber(i.animationduration,i.moveduration,1)};t.transposeAnim=!(!o&&!r.pluckNumber(t.transposeanimation,1))&&{duration:1e3*r.pluckNumber(i.transposeanimduration,.2)};t.showPlotBorder=r.pluckNumber(i.showplotborder,1);t.showHoverEffect=r.pluckNumber(i.plothovereffect,i.showhovereffect,u);t.showTooltip=r.pluckNumber(i.showtooltip,1);t.toolText=r.getValidValue(r.parseUnsafeString(r.pluck(s.plottooltext,i.plottooltext)));l=t.enableMultiSlicing=r.pluckNumber(i.enablemultislicing,1);h=t.use3DLighting=r.pluckNumber(i.use3dlighting,1);e=t.radius3D=h?r.pluckNumber(i.radius3d,90):100;t.showZeroPies=r.pluckNumber(i.showzeropies,1);t.showPercentInToolTip=r.pluckNumber(i.showpercentintooltip,1);t.showLabels=r.pluckNumber(i.showlabels,1);t.showValues=r.pluckNumber(s.showvalues,i.showvalues,1);t.showPercentValues=r.pluckNumber(i.showpercentvalues,i.showpercentagevalues,0);c=t.toolTipSepChar=r.pluck(i.tooltipsepchar,i.hovercapsepchar,r.COMMASPACE);t.labelSepChar=r.pluck(i.labelsepchar,c);t.pieBorderColor=r.pluck(i.plotbordercolor,i.piebordercolor);t.pieBorderAlpha=r.pluckNumber(i.plotborderalpha,i.pieborderalpha);t.pieBorderThickness=t.showPlotBorder?r.pluckNumber(i.plotborderthickness,i.pieborderthickness,a.plotborderthickness,1):0;t.plotDashLen=r.pluckNumber(i.plotborderdashlen,5);t.plotDashGap=r.pluckNumber(i.plotborderdashgap,4);t.showValueInLegend=r.pluckNumber(i.showvalueinlegend,0);t.showLabelInLegend=r.pluckNumber(i.showlabelinlegend,1);t.valueBeforeLabelInLegend=r.pluckNumber(i.valuebeforelabelinlegend,0);t.showValueAsPercentInLegend=r.pluckNumber(i.showvalueaspercentinlegend,1);t.legendSepChar=r.pluck(i.legendsepchar,", ");t.showvalues=r.pluckNumber(i.showvalues,1);t.chartPosition=r.getPosition(f.getFromEnv("chart-container"),f);t.timerThreshold=30;e>100&&(e=100);e<0&&(e=0);t.showLegend=r.pluckNumber(i.showlegend,0);t.reverselegend=!r.pluckNumber(i.reverselegend,0);f.config.is3D=y;t.pieYScale=r.pluckNumber(i.pieyscale,40);t.pieYScale<1&&(t.pieYScale=1);t.pieYScale>=100&&(t.pieYScale=80);t.pieYScale/=100;t.pieSliceDepth=r.pluckNumber(i.pieslicedepth,15);t.pieSliceDepth<1&&(t.pieSliceDepth=1);t.managedPieSliceDepth=t.pieSliceDepth;t.enableMultiSlicing=!!l;t.startAngle=r.pluckNumber(i.startingangle,0)%360*(-v/180);t.usePerPointLabelColor=i.colorlabelsfromplot==r.ONESTRING;t.reversePlotOrder=r.pluckNumber(i.reverseplotorder,0);t.animateClockWise=r.pluckNumber(i.animateclockwise,t.reversePlotOrder);t.showShadow=r.pluckNumber(i.showshadow,1);t.singletonCase=1===s.data.length;t.valueTotal=0;this._setConfigure();a.showLegend&&this._addLegend()},t.prototype.trimData=function(n){ht.call(this,n)},t.prototype._parseDisplayProperties=function(n,t){var v,o,y,s,h,f,c,b,k,l="",tt=this.getFromEnv("chart"),a=this.getFromEnv("number-formatter"),p=tt.getFromEnv("chart-attrib"),i=this.config,d=r.pluckNumber(t.y,a.getCleanValue(n.value,!0)),w=i.valueTotal,it=i.showLabels,e=r.parseUnsafeString(r.pluck(t.seriesName,n.label,n.name,r.BLANKSTRING)),g=i.showPercentValues,rt=i.showPercentInToolTip,nt=i.labelSepChar,ut=i.toolTipSepChar,ft=i.showTooltip;v=r.getValidValue(r.parseUnsafeString(r.pluck(n.tooltext,i.toolText)));o=t.pValue=a.percentValue(d/w*100);s=t.value=a.dataLabels(d)||r.BLANKSTRING;h=1===r.pluckNumber(n.showlabel,it)?e:r.BLANKSTRING;f=1===(k=r.pluckNumber(n.showvalue,i.showValues))?1===g?o:s:r.BLANKSTRING;y=rt?o:s;c=r.getValidValue(r.parseUnsafeString(n.displayvalue));b=r.pluck(c,e+nt+(g?o:s),r.BLANKSTRING);f=c!==u&&k?c:f!==r.BLANKSTRING&&h!==r.BLANKSTRING?h+nt+f:r.pluck(h,f);ft&&(l=v!==u?r.parseTooltext(v,[1,2,3,5,6,7,14,24,25],{formattedValue:s,label:e,yaxisName:r.parseUnsafeString(p.yaxisname),xaxisName:r.parseUnsafeString(p.xaxisname),percentValue:o,sum:a.dataLabels(w),unformattedSum:w}
43,n,p):(l=e)!=r.BLANKSTRING?l+ut+y:y);t.displayValue=f;t.displayValueArgs=b;t.toolText=l;t.seriesName=e;t.categoryLabel=e},t.prototype._isStyled=function(n){if(this.getFromEnv("chart").config.usedataplotcolorforlabels||n.labelbordercolor||n.labelbgcolor||n.labelborderthickness||n.labelborderalpha||n.labelalpha||n.labelfont||n.labelfontsize||n.labelfontcolor||n.labelfontalpha||n.labelalpha||n.labelfontbold||n.labelfontitalic||n.labelborderpadding||n.labelborderradius||n.labelbgalpha||n.labelborderdashed||n.labelborderdashlen||n.labelborderdashgap)return!0},t.prototype._setConfigure=function(n,t){var f,ot,v,b,st,ht,rt,ct,l,ut,ft,lt,c,k,i,y,at,o,vt=this.components,dt=vt.removeDataArr=vt.removeDataArr||[],yt=this.getFromEnv("chart"),h=yt.getFromEnv("dataSource").chart,a=yt.config,e=this.config,gt=this.config.JSONData,et=(n||gt).data,d=et&&et.length,ni=e.showZeroPies,nt=e.valueTotal||0,p=[],ti=r.pluckNumber(h.plotborderdashed,0),s=this.components.data||(this.components.data=[]),tt=this.getFromEnv("number-formatter"),ii=this.getFromEnv("color-manager"),ri=e.labelInLeg,ui=e.valInLeg,pt=e.pieBorderThickness,fi=e.reversePlotOrder,wt=e.radius3D,ei=e.enableMultiSlicing,bt=e.lastSlicedid||0,oi=r.pluckNumber(h.plotBorderDashed,5),si=r.pluckNumber(h.plotborderdashgap,4),hi=r.pluckNumber(h.valuebeforelabelinlegend,0),ci=r.pluckNumber(h.showvalueaspercentinlegend,1),w=0,kt=r.pluck(h.legendsepchar,", ");for(a.dataLabelStyle=r.parsexAxisStyles({},{},h,a.dataLabelStyle,v),f=0;f<d;f+=1)c=et[f],null===(y=tt.getCleanValue(c.value,!0))||!ni&&0===y?w+=1:(p.push(c),nt+=y);if(!e.singletonCase&&(e.singletonCase=d-w==1),w&&s.length>d-w)for(f=s.length-1;w>0;f-=1,w-=1)s[f]&&(at=(c=s[f]).config,dt.push(c),at.y=null);for(0===nt&&(p=[]),e.valueTotal=nt,e.dataLabelCounter=0,a.allPlotSliceEnabled=a.enableslicing,f=(d=p.length)-1;f>=0;f-=1)k=f,n?(o=p[f],c=t!==u?s[k=t+f]:s[k=s.length-d+f]):(c=s[f]||(s[f]={graphics:{},config:{}}),o=p[f]),(i=c&&c.config)||(i=s[k].config={}),c.graphics||(s[k].graphics={}),i.y=y=tt.getCleanValue(o.value,!0),i.seriesName=ot=r.parseUnsafeString(r.pluck(o.label,o.name,r.BLANKSTRING)),i.labellink=r.pluck(o.labellink,h.labellink),v=r.pluck(o.color,ii.getPlotColor(f)),b=r.pluck(o.alpha,h.plotfillalpha,r.HUNDREDSTRING),ht=(st=i.borderConfig=this._parseBorderConfig(v,b,o)).setPlotBorderColor,rt=st.setPlotBorderAlpha,ct={opacity:g(b,rt)/100},(ft=Boolean(r.pluckNumber(o.issliced,h.issliced,0)))&&(ei||(-1!==bt&&(s[s.length-bt-1].sliced=!1),e.lastSlicedid=f),e.preSliced=ft),lt=r.pluckNumber(o.dashed,ti)?r.getDashStyle(r.pluck(o.dashlen,oi),r.pluck(o.dashgap,si),pt):"none",this._parseDisplayProperties(o,i),l=ri?ot:r.BLANKSTRING,ui&&(ut=ci?tt.legendPercentValue(y/nt*100):tt.legendValue(y),l=hi?ut+(l&&kt+l):(l&&l+kt)+ut),e.dataLabelCounter+=1,this._isStyled(o)?i.style=r.parsexAxisStyles(o,{},h,a.dataLabelStyle,v):i.style&&delete i.style,i.showInLegend=l!==r.BLANKSTRING,i.isVisible=!0,i.name=l,i.shadow=ct,i.setColor=v,i.color=it["default"](v,b,wt,e.doughnutradius),i._3dAlpha=b,i.borderColor=r.convertColor(ht,rt),i.borderWidth=pt,i.link=r.getValidValue(o.link),i.sliced=ft,i.dashStyle=lt,(i.doNotSlice=r.pluck(o.enableslicing,a.enableslicing)!=r.ONESTRING)||a.allPlotSliceEnabled!==r.ZEROSTRING||(a.allPlotSliceEnabled=r.ONESTRING),this._parseHoverEffectOptions(f),i.centerLabelConfig=void 0,i.radius3D=wt;fi&&s&&s.reverse();e.dataArr=p;e.enableRotation=s.length>1?r.pluckNumber(h.enablerotation,1):0},t.prototype._parseHoverEffectOptions=function(n){var l,e,v,w,y,b,k,s,d,h,t=this.getFromEnv("chart").getFromEnv("dataSource").chart,p=this.config,c=this.components.data[n].config,i=this.config.JSONData,f=i.data[n],nt=c.setColor,tt=c._3dAlpha,it=p.radius3D,g=c.borderConfig,rt=g.setPlotBorderAlpha,ut=g.setPlotBorderColor,ft=p.setBorderWidth,a=r.pluckNumber(c.hovereffect,p.showHoverEffect),o=c.hoverEffects={enabled:a};if(a===u&&(a=o.enabled=r.pluck(f.hovercolor,i.hovercolor,t.plotfillhovercolor,f.hoveralpha,i.hoveralpha,t.plotfillhoveralpha,f.borderhovercolor,i.borderhovercolor,t.plotborderhovercolor,f.borderhoveralpha,i.borderhoveralpha,t.plotborderhoveralpha,t.plotfillhoveralpha,f.borderhoverthickness,i.borderhoverthickness,t.plotborderhoverthickness,u)!==u),a){if(l=r.pluckNumber(f.highlightonhover,i.highlight,t.highlight,1),(e=r.pluck(f.hovercolor,i.hovercolor,t.plotfillhovercolor))&&l&&(l=0),e=r.pluck(e,nt),v=r.pluck(f.hoveralpha,i.hoveralpha,t.plotfillhoveralpha,tt),w=r.pluck(f.borderhovercolor,i.borderhovercolor,t.plotborderhovercolor,ut),y=r.pluck(f.borderhoveralpha,i.borderhoveralpha,t.plotborderhoveralpha,t.plotfillhoveralpha,rt),b=r.pluckNumber(f.borderhoverthickness,i.borderhoverthickness,t.plotborderhoverthickness,ft),e.replace(/,+?$/,""),1===l){for(d=(s=(k="string"==typeof e)?e.split(/\s{0,},\s{0,}/):e.color.split(/\s{0,},\s{0,}/)).length,h=0;h<d;h++)s[h]=r.getLightColor(s[h],70);k?e=s.join(","):e.color=s.join(",")}this._setHoverColor(o,e,v,it);o.alpha=v;o.borderColor=r.convertColor(w,y);o.borderAlpha=y;o.borderWidth=b}else o.enabled=!1},t.prototype.placeDataLabels=function(n,t,i,h){var ar,vr,nr,yr,wt,hu,nt,pr,tr,ut,ir,rr,lt,ct,cu,dt,ii,si,hi,ht,wr,ai,ci,tt,ot,bt,br,lu,au,yt,vu,l,vi,li,yi,ur,kr,dr,yu,kt,p,it,pu,c,fr,wu,rt=this,pi=rt.getFromEnv("chart"),at=pi.config,vt=rt.getFromEnv("animationManager"),of=rt.getFromEnv("toolTipController"),bu=pi.getChildren("legend")[0],gr=rt.getContainer("label-group"),pt=rt.config,ku=at.canvasLeft,du=at.canvasTop,sf=at.canvasWidth,hf=ku+.5*at.canvasWidth,cf=du+.5*at.canvasHeight,er=pi.getFromEnv("smartLabel"),wi=pt.dataLabelOptions,nu=wi.style,bi=r.pluckNumber(w(parseFloat(nu.lineHeight)),12),gu=1===t.length&&at.singletonPlaceValue,nf=wi.skipOverlapLabels,lf=wi.manageLabelOverflow,or=wi.
43connectorPadding,af=wi.distance,sr=h&&h.metrics||[hf,cf,2*pt.pieMinRadius,pt.innerSize||0],di=sr[1],ki=sr[0],hr=.5*sr[2],et=[[],[],[],[]],tf=ku,rf=du,vf=sf,tu=i.labelsRadius=hr+af,uf=parseInt(nu.fontSize,10),st=uf,ff=st/2,ef=[or,or,-or,-or],iu=i.labelsMaxInQuadrant=ni(tu/st),yf=wi.isSmartLineSlanted,ru=sr[3]/2,gi=Number.POSITIVE_INFINITY,cr=[],lr=[],uu=pt.handlersAPI.plotDragStart,fu=pt.handlersAPI.plotDragEnd,eu=pt.handlersAPI.plotDragMove,ou=pt.handlersAPI.plotRollOver,su=pt.handlersAPI.plotRollOut,pf=function(n){var i={};for(var t in n)i[t]=n[t];return n},wf=function(n,t){return function(){n.attr(t)}};if(bu?(vr=(ar=bu.config).symbolWidth,nr=ar.align,yr=ar.borderWidth):(vr=0,nr=0,yr=0),er.useEllipsesOnOverflow(at.useEllipsesWhenOverflow),n||er.setStyle(nu),!ru&&pt.singletonCase&&gu)tt=t[0],(c=tt.config._textAttrs).text&&(it=tt.graphics,p=tt.config,vi=it.label,tt.slicedTranslation=[tf,rf],c["text-anchor"]="middle",c.x=0,c.y=0,c.transform=["t",ki,di],l=vt.setAnimation({el:vi||"text",attr:c,component:rt,css:fr,label:"label",container:gr}),vi||(it.label=l,l.on("fc-dragstart",uu).on("fc-dragmove",eu).on("fc-dragend",fu).on("fc-click",b.bind(l,pi,tt.config.labellink)).on("fc-click",y(rt,l)).on("fc-mouseover",ou).on("fc-mouseout",su)),l.x=ki,l.data("textPos",{x:ki,y:di}).data("plotItem",c.plotItem).data("eventArgs",c.eventArgs),null!==p.y&&p.y!==u&&l.show(),it.connector&&vt.setAnimation({el:it.connector,component:rt,attr:{path:[]}}));else if(gu)dr=ru+(hr-ru)/2,r.fcEach(t,function(n){p=n.config;(c=p._textAttrs).text&&(it=n.graphics,vi=it.label,null!==p.y&&p.y!==u&&((bt=it.connector)&&bt.show(),l&&l.show()),c.transform="t0,0",ot=p.angle,ai=di+dr*f(ot),si=ki+dr*s(ot),c._x=si,c._y=ai,n.sliced&&(kr=n.slicedTranslation,li=kr[0]-tf,yi=kr[1]-rf,si+=li,ai+=yi),c["text-anchor"]="middle",c.x=0,c.y=0,c.transform=["t",si,ai],l=vt.setAnimation({el:vi||"text",attr:c,component:rt,label:"label",css:fr,container:gr}),vi||(it.label=l,l.on("fc-dragstart",uu).on("fc-dragmove",eu).on("fc-dragend",fu).on("fc-click",b.bind(l,pi,n.config.labellink)).on("fc-click",y(rt,l)).on("fc-mouseover",ou).on("fc-mouseout",su)),l.x=c._x,l.x=c._x,l.y=c._y,l.data("plotItem",c.plotItem).data("eventArgs",c.eventArgs),c.visibility===d&&l.show())});else{for(nt=t.length-1;nt>=0;nt--)tt=t[nt],p=tt.config,((c=p._textAttrs||{}).text=p.displayValue)?(it=tt.graphics,null!==p.y&&p.y!==u&&(l=it.label,(bt=it.connector)&&bt.show(),l&&l.show()),c.text=p.displayValue,c.transform="t0,0",(ot=p.angle%o)<0&&(ot=o+ot),et[ot>=0&&ot<ft?1:ot<v?2:ot<ti?3:0].push({point:tt,angle:ot})):(tt.graphics.connector&&(tt.graphics.connector=vt.setAnimation({el:tt.graphics.connector,component:rt})),tt.graphics.label&&(tt.graphics.label=vt.setAnimation({el:tt.graphics.label,component:rt,callback:k})));for(nt=ct=4;nt--;){if(nf&&(lu=et[nt].length-iu)>0)for(et[nt].sort(ri),tr=0,lt=(au=et[nt].splice(0,lu)).length;tr<lt;tr+=1)tt=au[tr].point,c=tt.config._textAttrs,(it=tt.graphics).label&&(it.label=vt.setAnimation({el:it.label,component:rt})),it.connector&&(it.connector=vt.setAnimation({el:it.connector,component:rt}));et[nt].sort(ui)}for(vu=g(et[0].length,et[1].length,et[2].length,et[3].length),yt=g(gt(vu,iu)*st,tu+st),lr=et[0].concat(et[1]),cr=et[2].concat(et[3]),nt=lr.length-1;nt>=0;nt--)delete(kt=lr[nt].point.config).clearance,delete kt.clearanceShift,ut=a(yt*f(kt.angle)),Math.abs(gi-ut)<2*bi&&(kt.clearance=0,lr[nt+1].point.clearanceShift=bi/2),gi=ut;for(gi=Number.POSITIVE_INFINITY,nt=0,lt=cr.length;nt<lt;nt++)delete(kt=cr[nt].point.config).clearance,delete kt.clearanceShift,ut=a(yt*f(kt.angle)),Math.abs(gi-ut)<2*bi&&(kt.clearance=0,cr[nt-1].point.clearanceShift=bi/2),gi=ut;for(et[1].reverse(),et[3].reverse();ct--;){for(lt=(ci=et[ct]).length,nf||(ff=(st=lt>iu?yt/lt:uf)/2),rr=lt*st,wt=yt,nt=0;nt<lt;nt+=1,rr-=st)wt<(ut=a(yt*f(ci[nt].angle)))?ut=wt:ut<rr&&(ut=rr),wt=(ci[nt].oriY=ut)-st;for(hu=fi[ct],ir=yt-(lt-1)*st,wt=0,nt=ci.length-1;nt>=0;nt-=1,ir+=st)tt=ci[nt].point,ot=ci[nt].angle,p=tt.config,(c=p._textAttrs||{}).text&&((fr=p._textCss).cursor=p.labellink?"pointer":"",it=tt.graphics,cu=p.sliced,l=it.label,(ut=a(yt*f(ot)))<wt?ut=wt:ut>ir&&(ut=ir),wt=ut+st,yu=p.clearance===u?2*w(r.pluckNumber(parseFloat(p.style.border),12),12):2*w(r.pluckNumber(parseFloat(p.style.border),p.clearance)),ht=(ut+ci[nt].oriY)/2,dt=ki+oi[ct]*tu*s(e.asin(ht/yt)),ht*=ei[ct],ht+=di,wr=di+hr*f(ot),ii=ki+hr*s(ot),(ct<2&&dt<ii||ct>1&&dt>ii)&&(dt=ii),ai=ht-ff-2,hi=(si=dt+ef[ct])+ef[ct],c._x=hi,lf&&(pr=ct>1?hi-at.canvasLeft:at.canvasLeft+vf-hi,er.setStyle(p.style),bi=r.pluckNumber(w(parseFloat(p.style.lineHeight)),12)+yu,"right"===nr&&p.transX>0?pr-=vr+2*yr:"right"!==nr&&p.transY>0&&(ht-=st),ur=er.getSmartText(p.displayValue,pr,bi),p.clearance===u&&ur.height>st&&(ht+=st),c.text=ur.text,c.tooltip=ur.tooltext),c._y=ht,cu&&(li=p.transX,yi=p.transY,si+=li,dt+=li,ii+=li,wr+=yi,ht+=yi,ai+=yi,hi+=li),c["text-anchor"]=hu,c.vAlign="middle",c.opacity=1,c.x=hi,c.y=ht,pu=l&&l.data("textPos"),null!==p.y&&p.y!==u&&(pu?(wu=pf(c),vt.setAnimation({el:l,attr:wu,callback:wf(l,c),component:rt})):(l=it.label=vt.setAnimation({el:"text",attr:c,css:fr,label:"label",container:gr,component:rt})).on("fc-dragstart",uu).on("fc-dragmove",eu).on("fc-dragend",fu).on("fc-click",b.bind(l,pi,tt.config.labellink)).on("fc-click",y(rt,l)).on("fc-mouseover",ou).on("fc-mouseout",su)),l.x=c._x,l._x=c._x,l.y=c._y,c.tooltip&&(of.enableToolTip(l,c.tooltip),delete c.tooltip),c.visibility===d&&l.show(),l.data("textPos",{x:hi,y:ht}).data("plotItem",c.plotItem).data("eventArgs",c.eventArgs),(bt=it.connector)&&(p.connectorPath=br=["M",ii,wr,"L",yf?dt:ii,ht,si,ht],bt.data("connectorPath")&&at.clicked||vt.setAnimation({el:bt,attr:{path:br},label:"connector",component:rt}),bt.data("connectorPath",{path:br})))}}},t.prototype._setHoverColor=function(n,t,i,r){r?n.color=it["default"](t,i,r,this.config.doughnutradius):(n.color=t,n.alpha=i)},t.prototype.updateData=function(){var t=this.config,i=this.components.data;t.valueTotal-=i[arguments[1]].config.y;n.prototype.updateData.call(this,arguments)},t.prototype._rotate=function(){for(var i,c,w,e,a,n,b,k=this.getFromEnv("chart"),t=this.config,v=this.components.data,y=k.config,d=t.piePlotOptions,g=(t.startAngle||0)%o,p=t.slicingDistance,nt=t.valueTotal,tt=o/nt,it=y.canvasLeft+.5*y.canvasWidth,rt=y.canvasTop+.5*y.canvasHeight,ut=t.pieMinRadius,ft=.5*(d.innerSize||0),l=a=g,h=0;h<v.length;h+=1)n=v[h].config,b=v[h].graphics,null!==(w=n.y)&&w!==u&&(a=l,e=.5*((l-=t.singletonCase?o:w*tt)+a),n.angle=e,n.transX=s(e)*p,n.transY=f(e)*p,n.slicedTranslation="t"+s(e)*p+r.COMMASTRING+f(e)*p,(c=n._rotateAttrs)||(c=n._rotateAttrs={ringpath:[],transform:r.BLANKSTRING}),(i=c.ringpath)[0]=it,i[1]=rt,i[2]=ut,i[3]=ft,i[4]=l,i[5]=a,b.element.attr({ringpath:c.ringpath,transform:n.sliced?n.slicedTranslation:""}));this.placeDataLabels(!0,v,t)},t.prototype._parsePiePlotOptions=function(){var n=this.config;return{size:n.pieMinRadius,slicedOffset:n.slicingDistance}},t.prototype._parseDataLabelOptions=function(){return{style:this.getFromEnv("chart").config.dataLabelStyle}},t.prototype._addLegend=function(){for(var n,t,f,u=this.getFromEnv("legend"),e=this.components.data,i=0;i<e.length;i++)if(null!==(n=e[i].config).y&&n.seriesName)f={index:i,type:this.getName(),label:n.seriesName,enabled:r.pluckNumber(n.includeInLegend,1)},(t=u.getItem(n.legendItemId))||(n.legendItemId=u.createItem(this),t=u.getItem(n.legendItemId),this.addExtEventListener("fc-click",t.itemClickFn,t)),t.configure(f),t.setStateCosmetics("default",{symbol:{fill:r.toRaphaelColor(n.setColor),rawFillColor:n.setColor,stroke:r.toRaphaelColor(n.borderColor)}});else{if(!n.legendItemId)continue;(t=u.getItem(n.legendItemId))&&u.disposeItem(t.getId());delete n.legendItemId}},t.prototype.getPlotData=function(n,t){var i,u,r,e=this.components.data[n].config,f=this.config.userData||(this.config.userData=[]);if(f[n])i=f[n];else{for(r in i=f[n]={},e)"object"!==nt(u=e[r])&&"function"!=typeof u&&0!==r.indexOf("_")&&(i[r]=u);i.value=i.y;i.categoryLabel=i.label=i.seriesName;delete i.y;delete i.total;delete i.doNotSlice;delete i.name;delete i.seriesName;delete i.centerAngle;delete i.showInLegend;delete i.angle;delete i.endAngle;delete i.isVisible;delete i.setColor;delete i.slicedTranslation;delete i.startAngle;delete i.transX;delete i.transY;delete i.pValue}return i.sliced=t,i},t.prototype._parseBorderConfig=function(n,t,i){var o=this.config.pieBorderColor,u=this.getFromEnv("chart").getFromEnv("dataSource").chart,f=r.pluck(i.bordercolor,o),e=r.pluck(i.borderalpha,u.plotborderalpha,u.pieborderalpha);return{setPlotBorderColor:f=r.pluck(f,r.getLightColor(n,25)).split(r.COMMASTRING)[0],setPlotBorderAlpha:e=u.showplotborder==r.ZEROSTRING?r.ZEROSTRING:r.pluck(e,t,"80")}},t.prototype.legendInteractivity=function(n){for(var i=this.components.data,t=void 0,f=n.getId(),u=void 0,t=0,r=i.length;t<r;t++)i[t].config.legendItemId===f&&(u=i[t].graphics,this.plotGraphicClick.call(u.element))},t.prototype.hideElements=function(){var t=this.data&&this.data("plotItem").chart,r=t.getChildren("dataset")&&t.getChildren("dataset")[0],n=0,i=this._&&this._.shadows||[];if(r)for(this.hide();n<i.length;n+=1)i[n].hide()},t.prototype._createContainer=function(){var r,t,i,n,e=this.getName(),o=this.groupName,u=this.getLinkedParent(),f=o||this.dsGroup||e;u.getChildContainer(f+"Group")||(f="default");r=u.getChildContainer("datalabelsGroup");t=this.getContainer("pie-groups")||this.addContainer("pie-groups",c("pie",r,this));i=this.getContainer("pie-plot-groups")||this.addContainer("pie-plot-groups",c("pie-plot",t,this));n=this.getContainer("pie-label-groups")||this.addContainer("pie-label-groups",c("pie-label",t,this));this.getContainer("plot-group")||this.addContainer("plot-group",c("plots",i,this));this.getContainer("plot-shadow-group")||this.addContainer("plot-shadow-group",c("plot-shadows",i,this).toBack());this.getContainer("label-group")||this.addContainer("label-group",c("labels",n,this));this.getContainer("connector-shadow-group")||this.addContainer("connector-shadow-group",c("connector-shadows",n,this));this.getContainer("anchor-shadow-group")||this.addContainer("anchor-shadow-group",c("anchor-shadows",n,this))},t.prototype.allocatePosition=function(){for(var t,i=this.components.data,r=i.length,n=0;n<r;n++)t=i[n],this.parsePlotAttributes(t,n),this.parseLabelAttributes(t,n)},t.prototype.parsePlotAttributes=function(n,t){var g,ot,st,l,a,i,v,ht,y,rt,h,w,ct,lt,ut=this.components.data,at=this.getFromEnv("chart"),nt=at.config,e=this.config,p=t,ft=ut.length,yt=nt.canvasWidth,pt=nt.canvasHeight,b=nt.canvasLeft+.5*yt,k=nt.canvasTop+.5*pt,tt=e.valueTotal,vt=e.piePlotOptions=this._parsePiePlotOptions(),c=vt.slicedOffset,it=vt.size,et=.5*(e.innerSize||0),d=(e.startAngle||0)%o,wt=d-o,kt=e.animateClockWise;ct=tt&&o/tt;e.pieCenter=[b,k];l=d;a=d;t>0&&(l=ut[t-1].config.startAngle,a=ut[t-1].config.endAngle);v=(i=n.config).y;ht=i.displayValue;y=i.sliced;g=i.toolText;ot=!!i.link;null!==v&&v!==u&&!1!==i.isVisible&&((rt=i.color).r=it,rt.cx=b,rt.cy=k,a=l,h=.5*((l-=e.singletonCase?o:v*ct)+a),kt?wt:d,w=e.previousData={cx:b,cy:k,r:it,r2:et},st=this.config.drawn?[w.cx,w.cy,w.r,w.r2,l,a]:[b,k,it,et,l,a],i.eventArgs={index:e.reversePlotOrder?ft-1-p:p,link:i.link,value:i.y,displayValue:i.displayValueArgs,categoryLabel:i.categoryLabel,isSliced:y,toolText:g,pValue:i.pValue}
43,y&&(i.slicedTranslation="t"+s(h)*c+","+f(h)*c),lt={"stroke-width":i.borderWidth,stroke:i.borderColor,fill:bt?function(n,t){var i=t?1:u;return r.toRaphaelColor({color:r.getFirstColor(n.color,i),alpha:r.getFirstAlpha(n.alpha,i)})}(i.color,e.doughnutradius):r.toRaphaelColor(i.color),transform:y?i.slicedTranslation:"","stroke-dasharray":i.dashStyle,redrawDataLabels:d,ringpath:st,cursor:ot?"pointer":""},i.props={element:{attr:lt}},i.eventArgs={index:e.reversePlotOrder?ft-1-p:p,link:i.link,value:i.y,displayValue:i.displayValueArgs,categoryLabel:i.categoryLabel,isSliced:y,toolText:g,pValue:i.pValue},i.plotItem={chart:at,index:p,seriesData:e,value:v,pValue:i.pValue,displayValue:i.displayValue||"",angle:i.angle=h,angle1:i.startAngle=l,angle2:i.endAngle=a,slicedX:s(h)*c,slicedY:f(h)*c,sliced:y,labelText:ht,toolText:g,name:i.name,link:i.link,percentage:tt?v*tt/100:0,originalIndex:ft-p-1,style:i.style,color:r.toRaphaelColor(i.color),borderColor:i.borderColor,borderWidth:i.borderWidth,rolloverProperties:i.hoverEffects,radius:it,center:[b,k],innerDiameter:2*et,centerLabelConfig:i.centerLabelConfig,isVisible:i.isVisible,label:i.seriesName,connector:void 0,transX:i.transX=s(h)*c,transY:i.transY=f(h)*c,slicedTranslation:i.slicedTranslation="t"+s(h)*c+","+f(h)*c})},t.prototype.parseLabelAttributes=function(n){var i,e,o,r,f,s=this.getFromEnv("chart").config,c=s.dataLabelStyle,l=this.config,t=s.style,a=s.textDirection,h=l.dataLabelOptions;(r=(i=n.config)._textAttrs)||(r=i._textAttrs={});e=i.y;o=i.displayValue;t=i.style;null!==e&&e!==u&&!1!==i.isVisible&&(o!==u?(t&&((f=i._textCss)||(f=i._textCss={}),f.fontFamily=t.fontFamily,f.fontSize=t.fontSize,f.lineHeight=t.lineHeight,f.fontWeight=t.fontWeight,f.fontStyle=t.fontStyle),i.plotItem.style=i.style=t||(t=c),r.text=o,r.fill=t.color||"#000000",r["text-bound"]=[t.backgroundColor,t.borderColor,t.borderThickness,t.borderPadding,t.borderRadius,t.borderDash],r.direction=a,r.lineHeight=t.lineHeight,r.visibility=ut):r.visibility="hidden",i.props.label={attr:r,css:f},i.props.connector={attr:{visibility:d,"stroke-width":h.connectorWidth,stroke:h.connectorColor||"#606060"}})},t.prototype.draw=function(){var at,tt,vt,yt,v,et,it,d,rt,b,ot,st,l,t,ht,pt,g,f,ut,o,h,nt,i,n=this,s=n.getFromEnv("animationManager"),p=n.getFromEnv("chart").config,wt=p.dataLabelStyle,e=n.config,ri=e.showShadow,ui=p.alphaanimation,ft=n.components,fi=ft.data,ei=ft.removeDataArr=ft.removeDataArr||[],c=p.style,w=n.pool,oi=n.getState("visible"),ct=ft.data||[],bt=ct.length,si=p.canvasWidth,hi=p.canvasHeight,ci=p.canvasLeft+.5*si,li=p.canvasTop+.5*hi,kt=e.handlersAPI.plotDragStart,dt=e.handlersAPI.plotDragEnd,gt=e.handlersAPI.plotDragMove,ni=e.handlersAPI.plotRollOver,ti=e.handlersAPI.plotRollOut,ai=function(){var n=e.pieCenter||[],t=e.piePlotOptions||[],i={cx:n[0],cy:n[1],r:t.size,r2:.5*(e.innerSize||0)};return function(n){var t,r=!1;for(t in n)if(a(n[t]-i[t])>5){r=!0;break}return r}}(),vi=e.piePlotOptions=n._parsePiePlotOptions(),lt=e.dataLabelOptions,yi=vi.size,pi=.5*(e.innerSize||0),ii={plot:{data:[],animType:"linear"},initial:{data:[]},final:{data:[]}},wi=n.getFromEnv("toolTipController");for(n.getContainer("pie-groups")||n._createContainer(),d=n.getContainer("plot-group"),rt=n.getContainer("plot-shadow-group"),b=n.getContainer("label-group"),ot=n.getContainer("connector-shadow-group"),st=n.getContainer("anchor-shadow-group"),n.config.drawn&&(at=ai({cx:ci,cy:li,r:yi,r2:pi})&&!1),b.css(wt),ut=e.valueTotal,oi&&ut?(d.show(),rt.show(),b.show(),ot.show(),st.show()):(d.hide(),rt.hide(),b.hide(),ot.hide(),st.hide()),ei.length&&n.removeElement(ii),tt=0;tt<bt;tt+=1)l=(vt=ct[tt]).graphics,(nt=(t=vt.config)._textAttrs)||(nt=t._textAttrs={}),ht=t.y,pt=t.displayValue,yt=t.toolText,c=t.style,null!==ht&&ht!==u&&!1!==t.isVisible&&(et=l.element,f=l.label,h=l.connector,pt!==u?(c?((i=t._textCss)||(i=t._textCss={}),i.fontFamily=c.fontFamily,i.fontSize=c.fontSize,i.lineHeight=c.lineHeight,i.fontWeight=c.fontWeight,i.fontStyle=c.fontStyle):t._textCss&&(f&&f.removeCSS(),delete t._textCss,i=u),t.style=c||(c=wt),nt=t.props.label.attr,f?i&&(f.css(i),delete i.fontFamily,delete i.fontSize,delete i.lineHeight,delete i.fontWeight,delete i.fontStyle,i=u):w&&w.label&&w.label.length&&(f=l.label=w.label.splice(0,1)[0]),f&&s.setAnimation({el:f,attr:{opacity:1},component:n}),lt.distance>0&<.connectorWidth&<.enableSmartLabels?(h||w&&w.connector.length&&(h=l.connector=w.connector.splice(0,1)[0]),o=s.setAnimation({el:h||"path",container:b,label:"connector",attr:t.props.connector.attr,component:n}).show(),h||(l.connector=o,o.on("fc-dragstart",kt).on("fc-dragmove",gt).on("fc-dragend",dt).on("fc-mouseover",ni).on("fc-mouseout",ti)),s.setAnimation({el:o,attr:{opacity:1}
43,doNotRemove:!0,component:n})):h&&s.setAnimation({el:h,doNotRemove:!0,attr:{opacity:0},component:n})):(f&&s.setAnimation({el:f,callback:k,doNotRemove:!0,component:n}),h&&s.setAnimation({el:h,callback:k,doNotRemove:!0,component:n})),ut?(f&&f.show(),o&&o.show()):(f&&f.hide(),o&&o.hide()),ui&&s.setAnimation({el:d,attr:{opacity:1},component:n,callback:void 0}),ut&&s.setAnimation({el:b,attr:{opacity:1},component:n}),v=s.setAnimation({el:et||"ringpath",attr:t.props.element.attr,label:"ringpath",props:{startAngle:n.config.startAngle},container:d,component:n}),et||(l.element=v,v.on("fc-dragstart",kt).on("fc-dragmove",gt).on("fc-dragend",dt).on("fc-click",y(n,v)).on("fc-mouseover",ni).on("fc-mouseout",ti)),g=t.plotItem,it=t.eventArgs,g.graphic=v,v.show().shadow(ri&&t.shadow,rt).data("plotItem",g).data("dataset",this).data("eventArgs",it),wi.enableToolTip(v,yt),nt.plotItem=g,nt.eventArgs=it,o&&o.data("plotItem",g).data("eventArgs",it));n.placeDataLabels(!1,fi,e,null,ii);!n.config.__attachRestoreColor&&n.addExtEventListener("animationComplete",function(){var n,t;if(at)for(n=0;n<bt;n+=1)(t=ct[n]).graphics.element&&t.graphics.element.attr({fill:r.toRaphaelColor(t.config.color)})},s);n.config.__attachRestoreColor=!0;n.config.drawn=!0},t.prototype.sliceInOtherPies=function(n){var i,r=this.components.data,t=r.length,u=0;for(this.enableMultiSlicing=!0;t--;
43)t!==n&&(i=r[t]).config.sliced&&++u&&this.plotGraphicClick.call(i.graphics);return this.enableMultiSlicing=!1,!!u},t.prototype.removeElement=function(){for(var t,n,s,h=this.getFromEnv("animationManager"),i=this.getFromEnv("chart").config,u=this.components.removeDataArr||[],f=this.pool=this.pool={},a=u.length,e=this.config,v=i.canvasWidth,y=i.canvasHeight,p=i.canvasLeft+.5*v,w=i.canvasTop+.5*y,c=this.hideElements,b=e.pieMinRadius,k=.5*(e.innerSize||0),l=e.startAngle-o,r=0;r<a;r++){for(n in s=u[0].graphics)(t=s[n])&&("element"===n?h.setAnimation({el:t,attr:{ringpath:[p,w,b,k,l,l+.01],transform:""},callback:c,component:this}):h.setAnimation({el:t,attr:{opacity:0},callback:c,component:this}),f[n]||(f[n]=[]),f[n].push(t));u.splice(0,1)}},t.prototype.getEventArgs=function(n){var i=n.config.index,t=this.components.data[i].config||{};return{datasetName:t.seriesName,datasetIndex:i,id:t.userID,visible:t.isVisible,label:t.seriesName,value:t.value,percentValue:t.pValue,tooltext:t.toolText,link:t.link,sliced:t.sliced}},t.prototype.remove=function(t){var i=this.config.legendItemId,r=this.getFromEnv("legend");r&&i&&r.disposeItem(i);n.prototype.remove.call(this,t)},t}(lt["default"]);t["default"]=ct;t.plotGraphicClick=st;t.trimData=ht;t.labelClickFn=b;t.plotClickHandler=y;t.hideFn=k},function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.dataset.pie2D":function(){return{"group.appearing":function(n){return[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},slot:n.component.getFromEnv("chartConfig").alphaanimation?"plot":"initial"}]},"ringpath.appearing":function(n){var u=n.component,i=n.attr.ringpath.slice(0),t=n.attr.ringpath.slice(0),r=n.props.startAngle,f=n.component.config,e=u.getFromEnv("chartConfig"),o=f.animateClockWise;return e.alphaanimation?[{}]:(o&&(t[4]+=2*Math.PI,t[5]+=2*Math.PI),i[4]=r,i[5]=r,[{initialAttr:{ringpath:i},finalAttr:{ringpath:t,transform:""},startEnd:{start:0,end:.75},effect:"linear",slot:"plot"},{initialAttr:{transform:"",ringpath:t},finalAttr:{ringpath:t},startEnd:{start:.75,end:1},effect:"linear",slot:"plot"}])},"label.appearing":[{initialAttr:{opacity:"0"},finalAttr:{opacity:"1"},slot:"final"}],"connector.updating":function(n){return[{initialAttr:{path:n.attr.path,"stroke-opacity":"0"},finalAttr:{"stroke-opacity":"1"},slot:"final"}]},"label.updating":function(n){return[{initialAttr:{x:n.el.attrs.x},slot:"plot"}]}}},"slicing.dataset.pie2D":function(){return{"slice.updating":function(n){return"t0,0"!==(n.attr&&n.attr.transform)?[{initialAttr:{transform:"t0,0"},slot:"plot"}]:[{finalAttr:{transform:"t0,0"},slot:"plot"}]}}}}},,function(n,t,i){"use strict";t.__esModule=!0;t.manageGradientLegendSpace=t._manageLegendSpace=undefined;var r=i(125);t._manageLegendSpace=function(){var i,o,s,f,u=this.config,n=this.getChildren("legend")&&this.getChildren("legend")[0],c=this.getChildren("gLegend")&&this.getChildren("gLegend")[0],h=this.getFromEnv("dataSource").colorrange,l=u.hasLegend,t={},e=this.hasGradientLegend,a=this.getFromEnv("dataSource").chart,v=r.pluckNumber(a.mapbycategory,0);e&&h&&r.pluckNumber(h.gradient)&&!v?(i=c.conf,e=!0,u.gLegendEnabled=!0,f=.5,o=i.legendPosition):(i=n&&n.config,e=!1,u.gLegendEnabled=!1,f=(o=i&&i.legendPos)===r.POSITION_RIGHT?.8:.4);s=o===r.POSITION_RIGHT?u.availableWidth*f:u.availableHeight*f;e?t=this.manageGradientLegendSpace(s):!1!==l&&n&&!n.getState("removed")&&(t=n&&n._manageLegendPosition(s));this._allocateSpace({bottom:t&&t.bottom||0,right:t&&t.right||0})};t.manageGradientLegendSpace=function(n){var e,t,i,u,o=this.config,f=this.getFromEnv("gLegend"),s=f&&f.conf;return o.gLegendPadding=r.pluckNumber(this.getFromEnv("chart-attrib").legendpadding,10),i=Math.min(o.gLegendPadding,.5*n),s?(e=s.legendPosition,u=f.getLogicalSpace(n),t=e===r.POSITION_BOTTOM?{bottom:(u.height||0)+i}:{right:(u.width||0)+i}):t={bottom:0,right:0},t}},,,,,,,function(n,t){"use strict";t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var t,u,o,h=window.parseFloat,f=n._createNode,c=n._setFillAndStroke,r=n.el.constructor,l={Q:"L",Z:"X",q:"l",z:"x",",":" "},e=/,?([achlmqrstvxz]),?/gi,s=function(){return this.join(",").replace(e,t)};n.svg?(t="$1",u=function(){var i=n.is(arguments[0],"array")?arguments[0]:Array.prototype.slice.call(arguments);i?"string"==typeof i?i=i.replace(e,t):i.toString=s:i="M0,0";this.node.setAttribute("d",i.toString())},n._engine.litepath=function(t,i,u,e,o){var s,h=f("path");return(e||i).canvas.appendChild(h),(s=new r(h,i,e)).type="litepath",s.id=h.raphaelid=n._oid++,h.raphael=!0,c(s,o||{fill:"none",stroke:"#000"}),s},n._getPath.litepath=function(t){return n.parsePathString(t.node.getAttribute("d"))}):n.vml&&(t=function(n,t){return l[t]||t},o=function(){var n=this;return n._transform.apply(n,arguments),n._.bcoord&&(n.node.coordsize=n._.bcoord),n},u=function(n){return n?"string"==typeof n?n=n.replace(e,t):n.toString=s:n="M0,0",this.node.path=n,this},n._engine.litepath=function(t,i,u,e,s){var a,l=f("shape"),v=l.style,c=new r(l,i,e),y=s||{fill:"none",stroke:"#000"};return v.cssText="position:absolute;left:0;top:0;width:21600px;height:21600px;",u=h(u),isNaN(u)?l.coordsize="21600 21600":(c._.bzoom=u,v.width="1px",v.height="1px",l.coordsize=c._.bcoord=u+" "+u),l.coordorigin=i.coordorigin,c.type="litepath",c.id=l.raphaelid=n._oid++,l.raphael=!0,c._transform=c.transform,c.transform=o,n._setFillAndStroke(c,y),(e||i).canvas.appendChild(l),(a=f("skew")).on=!0,l.appendChild(a),c.skew=a,c},n._getPath.litepath=function(t){return n.parsePathString(t.node.path||"")});n.fn.litepath=function(t,f,e){var h,s,o;return"object"===(void 0===t?"undefined":i(t))&&t.constructor!==r&&(h=t,s=(t=t.litepath).zoom,e=t.group),f&&f.constructor===r?(e=f,s=void 0):s=f,t&&t.constructor===r&&(e=t,t=""),(o=n._engine.litepath(t,this,s,e,h)).ca.litepath=u,t&&o.attr("litepath",n.is(t,"array")?[t]:t),this.__set__&&this.__set__.push(o),this._elementsById[o.id]=o}}},,,,,,,,,function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}
43}function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var o,s,h,c,f,u;t.__esModule=!0;t.setAxisDimention=t.getSpecificyAxisConf=t.getSpecificxAxisConf=t._feedAxesRawData=undefined;var l=e(i(459)),a=e(i(496)),r=i(125),v=e(i(497));f=Math.max;u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("axis",a["default"],["canvas"]),i.registerFactory("dataset",v["default"],["vCanvas"]),i}return y(t,n),t.getName=function(){return"MSDyBaseCartesian"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.syncaxislimits=0},t.prototype._feedAxesRawData=function(){var o,t,i,l,s,a,v,u,e,nt=this.config,f=this.getFromEnv("color-manager"),y=this.getFromEnv("dataSource"),n=this.getFromEnv("chart-attrib"),p=this.config.is3D,w=p?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D,tt=nt.primaryAxisOnleft=r.pluckNumber(n.primaryaxisonleft,1),b=r.pluckNumber(n.syncaxislimits,0),k=[{line:[]}],d=[{line:[]}],h=y.trendlines||[],g=r.pluckNumber(n.showzeroplane,1),c=r.pluckNumber(n.showzeroplanevalue);for(g||c!==r.UNDEF||(c=0),o=this.getSpecificxAxisConf(),t=this.getSpecificyAxisConf(),i={isActive:!1,isPercent:this.isPercentage,axisIndex:1,uniqueClassName:1,outCanfontFamily:r.pluck(n.outcnvbasefont,n.basefont,"Verdana,sans"),outCanfontSize:r.pluckFontSize(n.outcnvbasefontsize,n.basefontsize,10),outCancolor:r.pluck(n.outcnvbasefontcolor,n.basefontcolor,f.getColor(w.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisNamePadding:n.yaxisnamepadding,axisValuePadding:n.yaxisvaluespadding,axisNameFont:n.syaxisnamefont,axisNameFontSize:n.syaxisnamefontsize,axisNameFontColor:n.syaxisnamefontcolor,axisNameFontBold:n.syaxisnamefontbold,axisNameFontItalic:n.syaxisnamefontitalic,axisNameBgColor:n.syaxisnamebgcolor,axisNameBorderColor:n.syaxisnamebordercolor,axisNameAlpha:n.syaxisnamealpha,axisNameFontAlpha:n.syaxisnamefontalpha,axisNameBgAlpha:n.syaxisnamebgalpha,axisNameBorderAlpha:n.syaxisnameborderalpha,axisNameBorderPadding:n.syaxisnameborderpadding,axisNameBorderRadius:n.syaxisnameborderradius,axisNameBorderThickness:n.syaxisnameborderthickness,axisNameBorderDashed:n.syaxisnameborderdashed,axisNameBorderDashLen:n.syaxisnameborderdashlen,axisNameBorderDashGap:n.syaxisnameborderdashgap,axisNameWidth:n.syaxisnamewidth,useEllipsesWhenOverflow:n.useellipseswhenoverflow,rotateAxisName:r.pluckNumber(n.rotateyaxisname,1),axisName:n.syaxisname,divLineColor:r.pluck(n.divlinecolor,f.getColor(w.divLineColor)),divLineAlpha:r.pluck(n.divlinealpha,f.getColor("divLineAlpha")),divLineThickness:r.pluckNumber(n.divlinethickness,1),divLineIsDashed:Boolean(r.pluckNumber(n.divlinedashed,n.divlineisdashed,0)),divLineDashLen:r.pluckNumber(n.divlinedashlen,4),divLineDashGap:r.pluckNumber(n.divlinedashgap,2),showAlternateGridColor:r.pluckNumber(n.showalternatehgridcolor,1),alternateGridColor:r.pluck(n.alternatehgridcolor,f.getColor("altHGridColor")),alternateGridAlpha:r.pluck(n.alternatehgridalpha,f.getColor("altHGridAlpha")),numDivLines:n.numdivlines,axisMinValue:b?r.pluckNumber(n.syaxisminvalue,n.pyaxisminvalue,n.yaxisminvalue):n.syaxisminvalue,axisMaxValue:b?r.pluckNumber(n.syaxismaxvalue,n.pyaxismaxvalue,n.yaxismaxvalue):n.syaxismaxvalue,setAdaptiveMin:n.setadaptivesymin||n.setadaptiveymin,adjustDiv:n.adjustdiv,labelStep:n.yaxisvaluesstep,showAxisValues:r.pluckNumber(n.showsyaxisvalues,n.showsyaxisvalue,n.showyaxisvalues,n.showyaxisvalue),showLimits:r.pluckNumber(n.showsecondarylimits,n.showyaxislimits,n.showlimits),showDivLineValues:r.pluckNumber(n.showdivlinesecondaryvalue,n.showyaxisvalues,n.showyaxisvalue,1),showZeroPlane:g,zeroPlaneColor:n.zeroplanecolor,zeroPlaneThickness:r.pluckNumber(n.zeroplanethickness,n.divlinethickness,2),zeroPlaneAlpha:n.zeroplanealpha,showZeroPlaneValue:c,trendlineColor:n.trendlinecolor,trendlineToolText:n.trendlinetooltext,trendlineThickness:n.trendlinethickness,trendlineAlpha:n.trendlinealpha,showTrendlinesOnTop:n.showtrendlinesontop,showAxisLine:p?0:r.pluckNumber(n.showsyaxisline,n.showaxislines,n.drawAxisLines,0),axisLineThickness:r.pluckNumber(n.syaxislinethickness,n.axislinethickness,1),axisLineAlpha:r.pluckNumber(n.syaxislinealpha,n.axislinealpha,100),axisLineColor:r.pluck(n.syaxislinecolor,n.axislinecolor,"#000000")},o.vtrendlines=r.extend2([],y.vtrendlines),u=0,v=h.length;u<v;u++)for(a=(l=h[u]&&h[u].line||[]).length,e=0;e<a;e++)"s"===(s=l[e]||{}).parentyaxis?k[0].line.push(s):d[0].line.push(s);return t.trendlines=r.extend2([],d),i.trendlines=r.extend2([],k),1===tt?(t.isVertical=!0,t.isReverse=!0,t.isOpposit=!1,i.isVertical=!0,i.isReverse=!0,i.isOpposit=!0):(t.isVertical=!0,t.isReverse=!0,t.isOpposit=!0,i.isVertical=!0,i.isReverse=!0,i.isOpposit=!1),{yAxisConf:[t,i],xAxisConf:[o]}},t.prototype.getSpecificxAxisConf=function(){var n=this.getFromEnv("chart-attrib"),i=this.config.is3D,t=this.getBasexAxisConf(
43),u=this.config;return t.zeroPlaneThickness=r.pluckNumber(n.vzeroplanethickness,n.vdivlinethickness,2),t.zeroPlaneAlpha=r.pluckNumber(n.vzeroplanealpha,n.vdivlinealpha,u.zeroplanealpha),t.showZeroPlaneValue=n.showvzeroplanevalue,t.showAxisLine=i?0:r.pluckNumber(n.showxaxisline,n.showaxislines,n.drawAxisLines,0),t.axisLineColor=r.pluck(n.xaxislinecolor,n.axislinecolor,"#000000"),t.isReverse=!1,t.showAlternateGridColor=r.pluckNumber(n.showalternatevgridcolor,0),t.numDivLines=n.numvdivlines,t.maxLabelHeight=n.maxlabelheight,t.axisName=n.xaxisname,t.setAdaptiveMin=n.setadaptivexmin,t.showLimits=n.showvlimits,t.showDivLineValues=r.pluckNumber(n.showvdivlinevalues,n.showvdivlinevalues),t},t.prototype.getSpecificyAxisConf=function(){var n=this.getFromEnv("chart-attrib"),f=this.config.is3D,e=f?r.chartPaletteStr.chart3D:r.chartPaletteStr.chart2D,i=this.config,t=this.getFromEnv("color-manager"),o=r.pluckNumber(n.syncaxislimits,0),s=r.pluckNumber(n.showzeroplane,1),u=r.pluckNumber(n.showzeroplanevalue);return s||u!==r.UNDEF||(u=0),{outCanfontFamily:r.pluck(n.outcnvbasefont,n.basefont,"Verdana,sans"),outCanfontSize:r.pluckFontSize(n.outcnvbasefontsize,n.basefontsize,10),outCancolor:r.pluck(n.outcnvbasefontcolor,n.basefontcolor,t.getColor(e.baseFontColor)).replace(/^#? ([a-f0-9]+)/gi,"#$1"),axisNamePadding:r.pluckNumber(n.pyaxisnamepadding,n.yaxisnamepadding),axisValuePadding:r.pluckNumber(n.pyaxisvaluespadding,n.yaxisvaluespadding),axisNameFont:r.pluck(n.pyaxisnamefont,n.yaxisnamefont),axisNameFontSize:r.pluckNumber(n.pyaxisnamefontsize,n.yaxisnamefontsize),axisNameFontColor:r.pluck(n.pyaxisnamefontcolor,n.yaxisnamefontcolor),axisNameFontBold:r.pluckNumber(n.pyaxisnamefontbold,n.yaxisnamefontbold),axisNameFontItalic:r.pluckNumber(n.pyaxisnamefontitalic,n.yaxisnamefontitalic),axisNameBgColor:r.pluck(n.pyaxisnamebgcolor,n.yaxisnamebgcolor),axisNameBorderColor:r.pluck(n.pyaxisnamebordercolor,n.yaxisnamebordercolor),axisNameAlpha:r.pluckNumber(n.pyaxisnamealpha,n.yaxisnamealpha),axisNameFontAlpha:r.pluckNumber(n.pyaxisnamefontalpha,n.yaxisnamefontalpha),axisNameBgAlpha:r.pluckNumber(n.pyaxisnamebgalpha,n.yaxisnamebgalpha),axisNameBorderAlpha:r.pluckNumber(n.pyaxisnameborderalpha,n.yaxisnameborderalpha),axisNameBorderPadding:r.pluckNumber(n.pyaxisnameborderpadding,n.yaxisnameborderpadding),axisNameBorderRadius:r.pluckNumber(n.pyaxisnameborderradius,n.yaxisnameborderradius),axisNameBorderThickness:r.pluckNumber(n.pyaxisnameborderthickness,n.yaxisnameborderthickness),axisNameBorderDashed:r.pluckNumber(n.pyaxisnameborderdashed,n.yaxisnameborderdashed),axisNameBorderDashLen:r.pluckNumber(n.pyaxisnameborderdashlen,n.yaxisnameborderdashlen),axisNameBorderDashGap:r.pluckNumber(n.pyaxisnameborderdashgap,n.yaxisnameborderdashgap),axisNameWidth:r.pluckNumber(n.pyaxisnamewidth,n.yaxisnamewidth),useEllipsesWhenOverflow:n.useellipseswhenoverflow,rotateAxisName:r.pluckNumber(n.rotateyaxisname,1),axisName:r.pluck(n.pyaxisname,n.yaxisname),divLineColor:r.pluck(n.divlinecolor,t.getColor(e.divLineColor)),divLineAlpha:r.pluck(n.divlinealpha,t.getColor("divLineAlpha")),divLineThickness:r.pluckNumber(n.divlinethickness,1),divLineIsDashed:Boolean(r.pluckNumber(n.divlinedashed,n.divlineisdashed,0)),divLineDashLen:r.pluckNumber(n.divlinedashlen,4),divLineDashGap:r.pluckNumber(n.divlinedashgap,2),showAlternateGridColor:r.pluckNumber(n.showalternatehgridcolor,1),alternateGridColor:r.pluck(n.alternatehgridcolor,t.getColor("altHGridColor")),alternateGridAlpha:r.pluck(n.alternatehgridalpha,t.getColor("altHGridAlpha")),numDivLines:n.numdivlines,axisMinValue:o?r.pluckNumber(n.syaxisminvalue,n.pyaxisminvalue,n.yaxisminvalue):r.pluckNumber(n.pyaxisminvalue,n.yaxisminvalue),axisMaxValue:o?r.pluckNumber(n.syaxismaxvalue,n.pyaxismaxvalue,n.yaxismaxvalue):r.pluckNumber(n.pyaxismaxvalue,n.yaxismaxvalue),setAdaptiveMin:n.setadaptiveymin,adjustDiv:n.adjustdiv,labelStep:n.yaxisvaluesstep,showAxisValues:r.pluckNumber(n.showyaxisvalues,n.showyaxisvalue),showLimits:r.pluckNumber(n.showyaxislimits,n.showlimits,this.showLimits),showDivLineValues:r.pluckNumber(n.showdivlinevalues,n.showdivlinevalue),showZeroPlane:s,zeroPlaneColor:n.zeroplanecolor,zeroPlaneThickness:r.pluckNumber(n.zeroplanethickness,n.divlinethickness,i.zeroplanethickness,2),zeroPlaneAlpha:r.pluckNumber(n.zeroplanealpha,n.divlinealpha,i.zeroplanealpha),showZeroPlaneValue:u,showZeroPlaneOnTop:i.showzeroplaneontop,trendlineColor:n.trendlinecolor,trendlineToolText:n.trendlinetooltext,trendlineThickness:n.trendlinethickness,trendlineAlpha:n.trendlinealpha,showTrendlinesOnTop:n.showtrendlinesontop,showAxisLine:f?0:r.pluckNumber(n.showyaxisline,n.showaxislines,n.drawAxisLines,0),axisLineThickness:r.pluckNumber(n.yaxislinethickness,n.axislinethickness,1),axisLineAlpha:r.pluckNumber(n.yaxislinealpha,n.axislinealpha,100),axisLineColor:r.pluck(n.yaxislinecolor,n.axislinecolor,"#000000"),forceTrendBelow:!!i.is3D}},t.prototype.setAxisDimention=function(){var e,o,n=this.config,r=this.getChildren(),h=r.yAxis,c=r.xAxis&&r.xAxis[0],l=h[0],a=h[1],v=n.xDepth,t=r.canvas[0].config,i=t.canvasBorderWidth,s=t.canvasPadding,y=t.canvasPaddingLeft,w=t.canvasPaddingRight,u=t.canvasPaddingTop,b=n.primaryAxisOnleft,p=t.canvasPaddingBottom;c&&c.setAxisDimention({x:n.canvasLeft+(v||0)+f(y,s),y:n.canvasBottom+(n.shift||0)+i,opposite:n.canvasTop-i,axisLength:n.canvasWidth-(v||0)-f(y,s)-f(w,s)});b?(n.yAxisStartXPos=n.canvasLeft-i,n.sYAxisStartXPos=n.canvasRight+i):(n.yAxisStartXPos=n.canvasRight+i,n.sYAxisStartXPos=n.canvasLeft-i);e=n.yAxisStartXPos;o=n.sYAxisStartXPos;
43l&&l.setAxisDimention({x:e,y:n.canvasTop+u,opposite:o,axisLength:n.canvasHeight-u-p});a&&a.setAxisDimention({x:o,y:n.canvasTop+u,opposite:e,axisLength:n.canvasHeight-u-p})},t}(l["default"]);t._feedAxesRawData=o=u.prototype._feedAxesRawData;t.getSpecificxAxisConf=s=u.prototype.getSpecificxAxisConf;t.getSpecificyAxisConf=h=u.prototype.getSpecificyAxisConf;t.setAxisDimention=c=u.prototype.setAxisDimention;t._feedAxesRawData=o;t.getSpecificxAxisConf=s;t.getSpecificyAxisConf=h;t.setAxisDimention=c;t["default"]=u},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t["default"]=function(n){var s,o=n.getChildren("canvas")[0],h=function(n,t){return JSON.stringify(n)!==JSON.stringify(t)},c={zoomable:!0,pannable:!0},i=void 0,l=!!Number(n.config.syncaxislimits),t=void 0,u=o.getChildren("axisRefVisualCartesian")[0],a=n._feedAxesRawData(),v=function(n){var t=n.sender;u.addexplicitDrawItems(t.getId(),t);u.asyncDraw()};r.componentFactory(n,e["default"],"xAxis",1,a.xAxisConf);r.componentFactory(n,f["default"],"yAxis",2,a.yAxisConf);i=(s=n.getChildren()).xAxis[0];(t=s.yAxis).forEach(function(t){t.setLinkedItem("canvas",o);u.setLinkedItem(t.getId(),t);u.addExtEventListener("visiblerangeset",v,t);o.attachAxis(t,!0,n.zoomY?c:{})});i.setLinkedItem("canvas",o);u.setLinkedItem(i.getId(),i);t[1].setAxisConfig({dependentInfo:{id:t[0].getId(),count:!0,limit:l}});t[1].getState("divlineEventAdded")||(t[1].addExtEventListener("divlinesSet",function(n){var i=t[1].config.dependentInfo;n.sender.getId()===i.id&&(i.numDivLines=n.data)},t[0]),t[1].setState("divlineEventAdded",!0));l&&(t[1].getState("dataLimitEventAdded")||(t[1].addExtEventListener("dataLimitSet",function(n){var i=t[1].config.dependentInfo;n.sender.getId()===i.id&&h(i.dataLimit,n.data)&&(i.dataLimit=n.data,t[1].config.isDataLimitSet&&t[1].setDataLimit())},t[0]),t[1].setState("dataLimitEventAdded",!0)),t[0].setAxisConfig({dependentInfo:{id:t[1].getId(),limit:!0}}),t[0].getState("dataLimitEventAdded")||(t[0].addExtEventListener("dataLimitSet",function(n){var i=t[0].config.dependentInfo;n.sender.getId()===i.id&&h(i.dataLimit,n.data)&&(i.dataLimit=n.data,t[0].setDataLimit())},t[1]),t[0].setState("dataLimitEventAdded",!0)));u.addExtEventListener("visiblerangeset",v,i);o.attachAxis(i,!1,n.zoomX?c:{});n._setCategories()};var r=i(125),f=u(i(377)),e=u(i(422))},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var p=n.getFromEnv("dataSource").dataset,l=n.getChildren().canvas[0].getChildren("vCanvas"),d=l[0],g=l[1],s=void 0,nt=n.getFromEnv("chartConfig").isdual,o=void 0,h={vCanvasDatasetsDef0:{},vCanvasDatasetsDef1:{}},i=void 0,e=void 0,a=void 0,t=void 0,v=void 0,c=void 0,y=void 0,b={},k={},w;for(p||n.setChartMessage(),o=0;o<p.length;o++)"s"===(v=(s=p[o]).parentyaxis||"").toLowerCase()&&nt?(t=r.pluck(s.renderas,n.config.sDefaultDatasetType),c=g,y=k,i=h.vCanvasDatasetsDef1):(t=r.pluck(s.renderas,n.config.defaultDatasetType),c=d,y=b,i=h.vCanvasDatasetsDef0),t=n.getDSType(t,"s"===v.toLowerCase()),(a=n.getDSGroupdef(t,"s"===v.toLowerCase()))&&(r.componentFactory(c,a,f),y[a.getName().toLowerCase()]=!0),y[t.toLowerCase()]=!0,i[t]?(i[t].conf.push(s),i[t].indices.push(o)):(i[t]={},i[t].indices=[o],i[t].classDef=n.getDSdef(t),i[t].conf=[s],i[t].pYAxis=v.toLowerCase(),i[t].parent=a?c.getChildren(f)[0]:c);for(w in n.config._hascolumn=!1,h)if(h.hasOwnProperty(w))for(t in i=h[w])i.hasOwnProperty(t)&&("group"===(e=i[t]).parent.getType()&&e.parent.configure(e.conf),r.datasetFactory(e.parent,e.classDef,"dataset_"+t,e.conf.length,e.conf,e.indices),"column"===t&&(n.config._hascolumn=!0));u.removeComponents(l[0],Object.keys(b));u.removeComponents(l[1],Object.keys(k))};var r=i(125),u=i(498),f="multiseriesColumnManager"},function(n,t){"use strict";t.__esModule=!0;t.removeComponents=function(n,t){n&&n.iterateComponents(function(n){-1!==t.indexOf(n.getName().toLowerCase())||n.getLinkedParent().getState("removed")||n.remove()})}},,,,,,,,,,,,function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e,o;t.__esModule=!0;var s=u(i(450)),r=i(125),h=u(i(511)),c=i(132),l=i(512),a=u(i(513));f=r.preDefStr.setRolloverAttrStr;e=r.preDefStr.setRolloutAttrStr;c.addDep({name:"mssplineareaAnimation",type:"animationRule",extension:a["default"]});o=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.drawCommonElements=r.stubFN,i}return v(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.configureAttributes=function(t){n.prototype.configureAttributes&&n.prototype.configureAttributes.call(this,t);h["default"].call(this)},t.prototype.getDataLimits=function(){return{max:this.config.maxValue,min:this.config.minValue}},t.prototype.drawPlots=function(){var lt,o,at,nt,w,vt,t,u,i,tt,yt,y,s,pt,it,wt,bt,kt,dt,p,rt,gt,h,c,n=this.config,ni=this.getFromEnv("chart"),ut=ni.config,oi=this.getFromEnv("xAxis"),ft=null,ti=[],et=this.components.data,si=ut.connectnulldata,hi=ut.minimizetendency,ii=n.plotbordercolor,ri=n.plotborderalpha,ui=n.plotBorderDashStyle,b=n.plotborderthickness,a=this.getContainer(),ot=[],k=this.getGraphicalElement("splineElement"),ci=n.fillColor,fi=this.components.removeDataArr||[],li=fi.length,ai=a&&a.shadowGroup,vi=n.shadow,st=this.getState("visible"),v={},ei=!ut.drawfullareaborder,ht=this.getGraphicalElement("connector"),ct=this.getFromEnv("animationManager"),d=n._oldStartIndex,g=n._oldEndIndex,yi=this.config.JSONData.renderas||ni.config.defaultDatasetType,pi=/area/gi.test(yi);for(n.imagesLoaded=0,et||(et=this.components.data),lt=oi.getTicksLen(),h=n.scrollMinVal,c=n.scrollMaxVal,h>d&&this.flushOnScroll(d,h>g?g:h),c<g&&this.flushOnScroll(c<d?d:c,g),n._oldStartIndex=h,n._oldEndIndex=c,o=h;o<c;o++)(u=et[o])&&(yt=(t=u&&u.config).setValue,kt=(v=t.anchorProps).shadow,i=u.graphics.element,tt=u.graphics.hotElement,p=u.graphics.image,null===yt?(i&&i.hide(),tt&&tt.hide(),p&&p.hide(),si||(ft=null)):(w=t._P
43y,nt=t._Px,!1===st&&(w=t._Pby),ti.push({x:nt,y:w,lastXPos:vt,lastYPos:ft}),vt=nt,ft=w,pt=v.anchorAlpha,bt=v.radius&&pt,s=t.hoverEffects,wt=i?st&&bt?"updating":"disappearing":"appearing",v.imageUrl?this.drawAnchorImage(u):(it=Object.assign({},t.props.element.attr),"disappearing"!==wt&&st||(it=r.UNDEF),i=u.graphics.element=ct.setAnimation({el:i||"path",attr:it,container:a.plotGroup,component:this,label:"anchor"}),p&&p.hide(),i&&i.show().shadow(kt,a.anchorShadowGroup).data("anchorRadius",v.radius).data("anchorHoverRadius",s.anchorRadius).data("eventArgs",t.eventArgs),s.enabled&&i&&i.data("anchorRadius",v.radius).data("anchorHoverRadius",s.anchorRadius).data("hoverEnabled",s.enabled).data(f,s.attrs.setRolloverAttr).data(e,s.attrs.setRolloutAttr))));for(at=lt,rt={path:ot=(ot=l.getSplinePath(ti,t&&t._Pby,hi,pi,at).closedPath).join(),stroke:r.toRaphaelColor({color:ii,alpha:ri}),"stroke-width":ei?0:b,fill:r.toRaphaelColor(ci),"stroke-linecap":"round","stroke-linejoin":b>2?"round":"miter","stroke-dasharray":ui},this.getState("visible")||(rt=r.UNDEF),!(y=ct.setAnimation({el:k||"path",attr:rt,container:a.commonElemsGroup,component:this,label:"line"}))&&k&&this.removeGraphicalElement(k),k||this.addGraphicalElement("splineElement",y),""!==ot&&this.getState("visible")?y.show().shadow(vi,ai):y&&y.hide(),ei&&(gt={path:[],stroke:r.toRaphaelColor({color:ii,alpha:ri}),"stroke-width":b,"stroke-linecap":"round","stroke-linejoin":b>2?"round":"miter","stroke-dasharray":ui,name:"connector"},dt=ct.setAnimation({el:ht||"path",attr:gt,container:a.areaGroup,state:ht?this.getState("visible")?"updating":"disappearing":"appearing",component:this,label:"line"}),ht||this.addGraphicalElement("connector",dt)),o=0;o<li;o++)this._removeDataVisuals(fi.shift())},t.prototype.getName=function(){return"splinearea"},t}(s["default"]);t["default"]=o},function(n,t){"use strict";t.__esModule=!0;var i=function(n,t,i){for(var e,o,s,f={},u=0;u<n.length;++u)f["D"+n[u].index]=0;for(e=0;e<10;++e)for(u=0;u<n.length;++u)o=0===u?(3*(n[u+1].y-n[u].y)-f["D"+n[u+1].index])/2:u===n.length-1?(3*(n[u].y-n[u-1].y)-f["D"+n[u-1].index])/2:(3*(n[u+1].y-n[u-1].y)-f["D"+n[u+1].index]-f["D"+n[u-1].index])/4,f["D"+n[u].index]=o;for(s=Math.round(t/(n.length-1)),u=1;u<n.length;++u)r(u,n,f,i,s)},r=function(n,t,i,r,u){var o,a,p,w,b,k,s,h,c,v,e,l,f=t,y=n;for(o=i["D"+f[0].index],a=i["D"+f[y].index],p=f[0].y,w=o,b=3*(f[y].y-f[0].y)-2*o-a,k=2*(f[0].y-f[y].y)+o+a,s=r.max,h=r.min,c=0,v=u;c<=v;c++)(l=p+w*(e=c/v)+b*e*e+k*e*e*e)<h&&(h=l),l>s&&(s=l);r.max=s;r.min=h};t["default"]=function(){var t,n=this.config,u=this.getFromEnv("chart"),r=this.getFromEnv("chartConfig"),f=u.config.origRenderWidth,e=r.connectnulldata,o=r.minimizetendency,s=this.components.data,h=Number.MIN_VALUE,c=Number.MAX_VALUE;0===o&&(t=function l(n,t,r,u,f){var o=[],s=!1,e=u||0;for(f=f||{max:Number.MIN_VALUE,min:Number.MAX_VALUE};e<n.length;++e)if(s){if(isNaN(n[e].config.setValue)||null===n[e].config.setValue){if(r)continue;break}o.push({index:e,y:n[e].config.setValue})}else{if(isNaN(n[e].config.setValue)||null===n[e].config.setValue)continue;s=!0;o.push({index:e,y:n[e].config.setValue})}return o.length>2&&i(o,t,f),e<n.length&&!r&&l(n,t,r,e,f),f}(s,f,e),n.maxValue=Math.max(n.maxValue,t.max),n.minValue=Math.min(n.minValue,t.min),n.maxValue===h&&
43(n.maxValue=0),n.minValue===c&&(n.minValue=0))}},function(n,t){"use strict";t.__esModule=!0;var r="M",s="Z",u="R",f="C",h=Math,l=h.sqrt,a=h.abs,v=function(n,t,i,r){return(r-t)/(i-n)},e=function(n,t,i,r){return(n-i)*t+r},o=function(n,t,i,r){return(n-r)/t+i},c=function(n,t,i,r){var f=(r-t)/l((i-n)*(i-n)+(r-t)*(r-t)),u=a(.5*f);return n*u+i*(1-u)},i=function(n,t,i,r){var h=n.length,e=n[h-1],o=e.length,c=e[0],l=e[o-2];o<3||(c!==u&&c!==f||3!==o||(n[h-1][0]="L"),t&&n.push(["L",l,r,i,r,s]))};t.getSplinePath=function(n,t,h,l,a){for(var tt,y,p,ct,w,nt,dt,ht,pt,vt,lt,yt,rt,ut,ft,d,st,et,at,it,ot,bt,kt,ni=h,wt=[null],b=[],k=[],g=0,gt=n.length;g<gt;g+=1)yt=n[g],bt=n[g-1]||{},kt=n[g+1]||{},w=yt.x,y=yt.y,nt=bt.x,p=bt.y,dt=kt.x,ct=kt.y,ht=yt.lastYPos,pt=yt.lastXPos,et=b.length,vt=k.length,ni?null!==ht?(tt=it,g===n.length-1?(st=wt[g-at-1],d=e(ft=rt=(w+nt)/2,st,nt,p),(p>y&&d<y||p<y&&d>y)&&(ft=o(d=y,st,nt,p)),it.push(ft,d,rt,(y+p)/2,w,y),b.push(it),k.push(it),l&&i(b,!0,ot,t),l&&i(k,!1)):(st=wt[g-at-1],p>y&&ct>=y||p<y&&ct<=y?(lt=0,rt=c(nt,p,w,y),ut=y,g-at!=1?(d=e(ft=rt,st,nt,p),(p>y&&d<y||p<y&&d>y)&&(ft=o(d=y,st,nt,p)),it.push(ft,d,rt,ut,w,y)):it.push((w+nt)/2,(y+p)/2,rt,ut,w,y)):p===y?(lt=0,it.push(nt,p,w,y,w,y)):(p>y&&y>ct||p<y&&y<ct)&&(lt=v(nt,p,dt,ct),rt=c(nt,p,w,y),ut=e(rt,lt,w,y),(p>y&&ut>p||p<y&&ut<p)&&(rt=o(ut=p,lt,w,y)),g-at!=1?(d=e(ft=rt,st,nt,p),(p>y&&d<y||p<y&&d>y)&&(ft=o(d=y,st,nt,p)),it.push(ft,d,rt,ut,w,y)):it.push((w+nt)/2,(y+p)/2,rt,ut,w,y)),wt.push(lt))):null===ht&&0!==g?(tt||(tt=[]),tt[0]===f&&(b.push(it),k.push(it),l&&i(b,!0,ot,t),l&&i(k,!1)),b.push([r,w,y]),k.push([r,w,y]),ot=w,it=[f],at=g,wt=[null]):(b.push([r,w,y]),k.push([r,w,y]),ot=w,it=[f],at=g):null!==ht?et>=2?(b[et-1][0]===r&&b.push([u]),k[vt-1][0]===r&&k.push([u]),et=b.length,vt=k.length,(tt=b[et-1]).length,b[et-1].push(w),b[et-1].push(y),k[vt-1].push(w),k[vt-1].push(y),g===a-1&&tt[0]===u&&(i(b,!0,ot,t),i(k,!1))):(b.push([r,pt,ht]),b.push([u,w,y]),k.push([r,pt,ht]),k.push([u,w,y]),ot=pt):null===ht&&et>=2&&((tt=b[et-1])[0]===u&&(i(b,!0,ot,t),i(k,!1)),b.push([r,w,y]),k.push([r,w,y]),ot=w);return tt=b[b.length-1],l&&tt&&(tt[tt.length-1]===s||tt[0]!==u&&tt[0]!==f||(i(b,!0,ot,t),i(k,!1))),l||(b=ni?b:k).length>=2&&i(b,!1),{closedPath:b,openPath:k}}},function(n,t,i){"use strict";t.__esModule=!0;var r=i(125);t["default"]={"*.dataset.splinearea":function(){return{"anchor.appearing":[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},startEnd:{start:.5,end:1},slot:"plot"}],"anchor.updating":[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}],"anchor.disappearing":[{finalAttr:{opacity:0,"fill-opacity":0,"stroke-opacity":0},slot:"final"}],"line.appearing":function(n){var t=n.component,u=t.components.data,f=t.getLinePath(u,null,"zero"),i=n.attr;return[{initialAttr:{opacity:0,path:function(n){for(var s=n.length,u=[],t=void 0,f=void 0,e=!1,o=!0,i=void 0,i=0;i<s;++i)t=n[i],o?(u.push(t),f=r.extend2([],t),o=!1):"Z"!==t?e||(u.push(t),t.toString()===n[i-1].toString()&&(e=!0)):(o=!0,e=!1,f[0]="L",u.push(f,"Z"));return u}(f.getPathArr())},finalAttr:{opacity:1,path:i&&i.path},startEnd:{start:0,end:.5},slot:"plot",hookFn:function(){this.attr({opacity:1})}}]},"label.appearing":[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}],"label.updating":function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]},"group.appearing":function(n){return"label-group"===n.attr.name?[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"final"}]:"plot-group"===n.attr.name?[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},startEnd:{start:.5,end:1},slot:"plot"}]:[{initialAttr:{opacity:1},finalAttr:{opacity:1},slot:"final"}]}}}}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(449)),e=i(125),o=r(i(511)),s=i(132),h=i(512),c=r(i(515));s.addDep({name:"mssplineAnimation",type:"animationRule",extension:c["default"]});u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return l(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"spline"},t.prototype.configureAttributes=function(t){n.prototype.configureAttributes&&n.prototype.configureAttributes.call(this,t);o["default"].call(this)},t.prototype.getDataLimits=function(){return{max:this.config.maxValue,min:this.config.minValue}},t.prototype.drawCommonElements=function(){var l,f,a,t,s,v=this.components.data,i=this.config,b=Number(this.getFromEnv("chartConfig").connectnulldata),o=this.getFromEnv("xAxis"),u=this.getFromEnv("yAxis"),k=i.lineDashStyle,d=i.linethickness,y=[],c=null,g={color:i.linecolor,alpha:i.alpha},n={x:o.getLimit(),y:u.getLimit()},nt=this.getState("visible")?v.length:0,r=i.lineOb||{},p=[],w=this.getFromEnv("chart"),tt=/area/gi.test(w.defaultDatasetType);for(n.x.minPixel=o.getPixel(n.x.min),n.x.maxPixel=o.getPixel(n.x.max),n.y.minPixel=u.getPixel(n.y.min),n.y.maxPixel=u.getPixel(n.y.max),n.y.base=u.getPixel(0),n.x.base=o.getPixel(0),f=0;f<nt;++f)(a=v[f])&&(s=(t=a.config||{}).setValue,t._Pbx=void 0,t._Pby=void 0,p[f]={config:{_Px:t._Px,_Py:t._Py,setValue:t.setValue}},b||null!==s&&void 0!==s?(y.push({x:t._Px,y:t._Py,lastYPos:c,lastXPos:l}),c=t._Py,l=t._Px):c=null);i.pathStartIndex=0;i.pathEndIndex=void 0;r["default"]=r["default"]||{};r["default"].used=!0;r["default"].path=[{pathArr:h.getSplinePath(y,u.getPixel(u.getAxisBase()),w.config.minimizetendency,tt).closedPath,path2Arr:[],getPathArr:function(){var n=this.pathArr,t=this.path2Arr;return n.length||t.length?n.concat(t):[]}}];r["default"].attr={"stroke-dasharray":k,"stroke-width":d,stroke:e.toRaphaelColor(g),"stroke-linecap":"round"};this._drawCommonElementsHelper(r);this.config.lineOb=r;i.prevLim=n;i.prevDataStore=p},t}(f["default"]);t["default"]=u},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(452),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"*.dataset.spline":f["default"]["*.dataset.line"]}},function(n,t,i){"use strict";function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,r;t.__esModule=!0;f=i(138);r=i(125);var u=Math,e=u.min,s=u.max,h=u.abs,c=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.setState("visible",!0),i}return o(t,n),t.prototype.getType=function(){return"group"},t.getName=function(){return"columnMultiSeriesgroup"},t.prototype.getName=function(){return"columnMultiSeriesgroup"},t.prototype.preConfigure=function(t){if(!t)return!1;this.config.JSONData=t;n.prototype.preConfigure.call(this,t)},t.prototype.configure=function(t){if(!t)return!1;n.prototype.configure.call(this,t)},t.prototype.setVisibility=function(){var n=0;this._mapChildren(function(n){n.setVisibility&&n.setVisibility()});this._mapChildren(function(t){t.getState("visible")&&n++}
43);this.setState("visible",!!n)},t.prototype.createContainer=function(){var r=this.getFromEnv("animationManager"),n=void 0,t=void 0,i=this.getLinkedParent().getChildContainer();for(n in i)t=i[n],this.getChildContainer(n)||this.addChildContainer(n,r.setAnimation({el:"group",attr:{name:"manager-"+n},component:this,container:t}))},t.prototype.allocatePosition=function(){this.setColumnPosition()},t.prototype.draw=function(){this.createContainer()},t.prototype.getCanvasPadding=function(){var t,n,i={paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0};return this.setColumnPosition(),this._mapChildren(function(r){for(n in t=!r.getState("removed")&&r.getState("visible")&&r.getCanvasPadding&&r.getCanvasPadding()||{})t.hasOwnProperty(n)&&(i[n]=Math.max(t[n],i[n]))}),i},t.prototype.setColumnPosition=function(){var i,a,o,v,u=this.getFromEnv("chartConfig"),nt=this.getFromEnv("chart-attrib"),y=this.getFromEnv("xAxis"),tt=this.getFromEnv("numOfColumns"),p=u.plotSpacePercent,w=s(r.pluckNumber(p,20)%100,0),it=w/200,b=y.getPixel(0),k=y.getPixel(1),d=this.getFromEnv("chart").isBar?u.maxBarHeight:u.maxColWidth,f=h(k-b),t=void 0,c=u.plotPaddingPercent,l=!0,rt=u.overlapColumns,g=0,n=0;this.addToEnv("groupMaxWidth",f);this._mapChildren(function(t){t.getState("removed")||!1===t.getState("visible")||n++});this.addToEnv("numOfColumns",n);this.addToEnv("numColDiff",r.pluckNumber(tt-n,0));t=(1-.01*p)*f||e(f*(1-2*it),d*(n||1));void 0===nt.plotspacepercent&&t>=u.canvasWidth/2&&(t=f-d/2);o=e((i=0===n?t:t/n)-1,n>1?rt||void 0!==c?c>0?i*c/100:0:4:0);this.addToEnv("plotWidth",i-o);a=-(n/2*i-i/2);this._mapChildren(function(n){!n.getState("removed")&&n.getState("visible")&&(n.addToEnv("shift",a+g*i+o/2),g++)});k-(v=t/2)-(b-v+t)<4&&(l=!1);0===w&&(l=!0);this.addToEnv("isCrisp",l)},t.prototype.childChanged=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.config,u=this.getLinkedParent(),t=void 0,i=0,o=this.getState("visible"),f={},r=void 0;this._mapChildren(function(n){n.getState("visible")&&i++});this.setState("visible",!!i);o!==!!i&&(r=!0);!1!==e.dataLimitChanged&&((t=this.getDataLimits()).min===n.range.min&&t.max===n.range.max||(n.range.min=t.min,n.range.max=t.max,f.dataLimitChanged=!0,r=!0));r?u.childChanged&&u.childChanged(f):this.asyncDraw()},t.prototype.getAxisValuePadding=function(){var i={},n=-Infinity,t=-Infinity;return this._mapChildren(function(r){r.getState("removed")||(i=r.getAxisValuePadding&&r.getAxisValuePadding()||{},n=Math.max(n,i.left||-Infinity),t=Math.max(t,i.right||-Infinity))}),n===-Infinity&&(n=0),t===-Infinity&&(t=0),this.config.padding||(this.config.padding={},this.config.padding.left=n,this.config.padding.right=t),{left:n,right:t}},t.prototype.getDataLimits=function(n){var i=+Infinity,r=-Infinity,t=void 0,u=0,f=function(n){r=Math.max(r,n.max);i=Math.min(i,n.min)};return this._mapChildren(function(i){i.getState("removed")||(!1!==i.getState("visible")?(u++,t=i.getDataLimits(n),f(t)):n&&(t=i.getDataLimits(n),f(t)))}),u?this.setState("visible",!0):this.setState("visible",!1),this.config.range||(this.config.range={},this.config.range.min=this.config.dataMin,this.config.range.max=this.config.dataMax),{max:r,min:i}},t.prototype.isVisible=function(){return!this.isNotVisible},t}(f.ComponentInterface);t["default"]=c},,function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(459)),e=r(i(432)),o=r(i(516));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.eiMethods={},i}return s(t,n),t.getName=function(){return"MSColumn2D"},t.prototype.getName=function(){return"MSColumn2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.friendlyName="Multi-series Column Chart";this.config.defaultDatasetType="column";this.config.enablemousetracking=!0},t.prototype.getDSdef=function(){return e["default"]},t.prototype.getDSGroupdef=function(){return o["default"]},t}(f["default"]);t["default"]=u},function(n,t,i){"use strict";t.__esModule=!0;t.scrollTo=undefined;var r=i(136);t.scrollTo=function(n){var t=this.apiInstance;t.addJob("scrollToAPoint",function(){if(n>=0&&n<=1){var i=(t.getChildren&&t.getChildren()).xAxis[0],e=i.getChildren("scrollBar")&&i.getChildren("scrollBar")[0],c=e&&e.getChildren("scrollAnchor")[0],r=i.getLimit&&i.getLimit(),u=i.getVisibleConfig&&i.getVisibleConfig(),f=u.maxValue-u.minValue,o=r.max-r.min,s=n*(o-f)+r.min,l=s+f,h=(u.minValue-r.min)/(o-f);c.config.scrollPosition=n;t.fireChartInstanceEvent("scrollStart",{scrollPosition:h});i.setVisibleConfig(s,l);t.fireChartInstanceEvent("scrollEnd",{previousScrollPosition:h,scrollPosition:n})}},r.priorityList.postRender)}},,,,,,function(n,t,i){"use strict";function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var s;t.__esModule=!0;var r,h=i(138),u=i(125),c=i(132),l=i(526),a=(r=l)&&r.__esModule?r:{"default":r};var y=u.preDefStr.visibleStr,e=Math,o=e.min,f=e.max;c.addDep({name:"cartesianStackAnimation",type:"animationRule",extension:a["default"]});s=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.setState("visible",!0),i}return v(t,n),t.prototype.getType=function(){return"group"},t.getName=function(){return"cartesianStackGroup"},t.prototype.getName=function(){return"cartesianStackGroup"},t.prototype.preConfigure=function(t){if(!t)return!1;this.config.JSONData=t;n.prototype.preConfigure.call(this,t)},t.prototype.configure=function(t){if(!t)return!1;n.prototype.configure.call(this,t)},t.prototype.setSkippingInfo=function(n){this.addToEnv("skipInfo",n||{drawOnlyM
43ap:[],plotsPerBin:1,draw:[],hide:[],skippingApplied:!1,dragHashMap:[],prevDrawArray:[]})},t.prototype.getSkippingInfo=function(){return this.getFromEnv("skipInfo")||{drawOnlyMap:[],plotsPerBin:1,draw:[],hide:[],skippingApplied:!1,dragHashMap:[],prevDrawArray:[]}},t.prototype.setVisibility=function(){var n=0;this._mapChildren(function(t){t.getState("visible")&&n++});this.setState("visible",!!n)},t.prototype.createContainer=function(){var t=this.getFromEnv("animationManager"),n=void 0,i=this.getLinkedParent(),r=void 0,u=i.getChildContainer();for(n in u)r=u[n],this.getChildContainer(n)||this.addChildContainer(n,t.setAnimation({el:"group",attr:{name:"manager-"+n},container:r,component:this}));this.getContainer("sumLabelsLayer")||this.addContainer("sumLabelsLayer",t.setAnimation({el:"group",attr:{name:"manager-sumLabelsLayer","class":"fusioncharts-datalabels"},label:"group",container:i.getChildContainer("sumLabelsLayer"),component:this}));!this.getChildContainer("commonElemGroup")&&this.addChildContainer("commonElemGroup",t.setAnimation({el:"group",attr:{name:"manager-common-elem-group"},label:"group",container:i.getChildContainer("areaVcanvasGroup"),component:this}));!this.getChildContainer("anchorGroup")&&this.addChildContainer("anchorGroup",t.setAnimation({el:"group",attr:{name:"manager-anchor-group"},label:"group",container:i.getChildContainer("areaVcanvasGroup"),component:this}))},t.prototype.draw=function(){this.createContainer();this.drawSumValue()},t.prototype._setStackPosition=function(){var i=+Infinity,r=-Infinity,h=this.getFromEnv("numOfColumns"),t=0,n=[],e=this.getSkippingInfo&&this.getSkippingInfo()||{},s=e.draw||[],c=s.length,l=e.skippingApplied;this._mapChildren(function(u){if(!u.getState("removed")&&!1!==u.getState("visible")){t++;var a=void 0,p=u.getData(),e=void 0,y=void 0,v=void 0,h=0,b=p&&p.length,w=0;for(l&&(b=c),y=0;y<b;y++)(a=p[e=s[y]||y])&&a.config&&void 0!==a.config.setValue&&(n[e]||(n[e]={}),v=a.config.setValue,n[e].positive||(n[e].positive=0),n[e].negative||(n[e].negative=0),v>=0?(h=v+(w=n[e].positive),n[e].positive=h):v<0&&(h=v+(w=n[e].negative),n[e].negative=h),null!==v&&(n[e].isNotNull=!0),r=f(h,r),i=o(h,i),a.config._y=h,a.config._b=w)}});this.config.stackValues=n;this.config.dataMin=i;this.config.dataMax=r;t?this.setState("visible",!0):this.setState("visible",!1);this.addToEnv("stackValues",n);this.addToEnv("numOfColumns",t);this.addToEnv("numColDiff",u.pluckNumber(h-t,0))},t.prototype.allocatePosition=function(){this._setStackPosition()},t.prototype._getXpos=function(n){var t=this.getFromEnv("shift")||0;return this.getFromEnv("xAxis").getPixel(n)+t},t.prototype.drawSumValue=function(){var ht=arguments.length>0&&arguments[0]!==undefined?arguments[0]:0,ct=arguments[1],lt=this.config,w=this.getFromEnv("yAxis"),at=this.getFromEnv("paper"),g=this.getFromEnv("animationManager"),b=this.getFromEnv("chart"),vt=b.isBar,nt=this.getFromEnv("smartLabel"),h=b.config,tt=h.canvasRight,yt=this.getFromEnv("chart-attrib"),c=u.pluckNumber(h.stack100percent),it=h.rotatevalues?270:0,r=lt.stackValues,pt=ct||r&&r.length,i=h.dataLabelStyle,n=void 0,e=void 0,k=void 0,rt=void 0,ut=void 0,o=void 0,l=this.getContainer("sumLabelsLayer"),f=this.getGraphicalElement("sumLabels"),s=void 0,t=void 0,ft=void 0,et=void 0,a=void 0,d=void 0,ot=void 0,v=void 0,st=void 0,p=void 0;if(u.pluckNumber(yt.showsum,b.showsum,0)){if(l.css(i),nt.setStyle(i),(v=f&&f.length)>(st=r.length))for(;v>=st;)p=f[v],v--,p&&(p.hide(),this.removeGraphicalElement(p));for(n=ht;n<pt;n++)s=Array.isArray(f)&&f[n],r[n]&&r[n].isNotNull?(a=(ot=(ft=r[n].positive)+(et=r[n].negative))<0?et:ft,(d=w.dataLabels(ot))&&(rt=i.backgroundColor,ut=i.borderColor,o=nt.getOriSize(d),vt?(k=this._getXpos(n)+o.height/2,e=w.getPixel(c?100:a)+o.width/2,c||(e-=e+o.width>tt?e+o.width-tt:0)):(e=this._getXpos(n),k=w.getPixel(c?100:a)),(t=this.getSumValuePosition(o,{stack100percent:c,rotateValues:it,xPos:e,yPos:k,offsetY:a})).text=d,t.fill=i.color,t["text-bound"]=[rt,ut,i.borderThickness,i.borderPadding,i.borderRadius,i.borderDash],t["line-height"]=i.lineHeight,t.visibility=y,t.transform=at.getSuggestiveRotation(it,t.x,t.y),t["text-anchor"]&&delete t["text-bound"],(s=g.setAnimation({el:s||"text",attr:t,label:"text",container:l,component:this})).show(),Array.isArray(f)&&f[n]||this.addGraphicalElement("sumLabels",s,!0))):s&&s.hide()}else g.setAnimation({el:l,label:"sumLabelGroup"}),l.hide()},t.prototype.getSumValuePosition=function(n,t){var u,o,r,s=this.getFromEnv("chart"),f=s.config,v=f.canvasBottom,h=f.canvasTop,y=s.config.is3D,c=s.isBar,p=t.stack100percent,w=f.yDepth,b=f.xDepth,i=t.yPos,e=t.xPos,l=this.getFromEnv("canvasConfig").canvasBorderWidth,a=t.offsetY;return r=(r=u=t.rotateValues?n.width:n.height)/2+2,p?h<=u?i=r:(i=c?t.yPos:h-r-l,e+=c?l:0):(a>=0&&((o=i-h)<u?i=i+r-o:(i-=r,e+=c?2:0)),a<0&&((o=v-i)<u?i-=r:i+=r,y&&(e-=b,i+=w))),{x:e,y:i}},t.prototype.childChanged=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.config,u=this.getLinkedParent(),t=void 0,o=this.getState("visible"),i=0,f={},r=void 0;this._mapChildren(function(n){n.getState("visible")&&i++});this.setState("visible",!!i);o!==!!i&&(r=!0);!1!==e.dataLimitChanged&&((t=this.getDataLimits()).min===n.range.min&&t.max===n.range.max||(n.range.min=t.min,n.range.max=t.max,f.dataLimitChanged=!0,r=!0));r?u.childChanged&&u.childChanged(f):this.asyncDraw()},t.prototype.getAxisValuePadding=function(){var i={},n=-Infinity,t=-Infinity;return this._mapChildren(function(r){r.getState("removed")||(i=r.getAxisValuePadding&&r.getAxisValuePadding()||{},n=Math.max(n,i.left||-Infinity),t=Math.max(t,i.right||-Infinity))}),n===-Infinity&&(n=0),t===-Infinity&&(t=0),this.config.padding||(this.config.padding={},this.config.padding.left=n,this.config.padding.right=t),{left:n,right:t}},t.prototype.getDataLimits=function(n){return this._setStackPosition(),this.config.range||(this.config.range||(this.config.range={}),this.config.range.min=this.config.dataMin,this.config.range.max=this.config.dataMax),n?this._getStackLimit():{max:this.config.dataMax,min:this.config.dataMin}},t.prototype._getStackLimit=function(){var t=+Infinity,i=-Infinity,n=[],r=this.getSkippingInfo&&this.get
43SkippingInfo()||{},u=r.draw||[],e=u.length,s=r.skippingApplied;return this._mapChildren(function(r){if(!r.getState("removed")){var l=void 0,y=r.getData(),h=void 0,a=void 0,v=void 0,c=0,p=y&&y.length;for(s&&(p=e),a=0;a<p;a++)(l=y[h=u[a]||a])&&l.config&&void 0!==l.config.setValue&&null!==l.config.setValue&&(n[h]||(n[h]={}),v=l.config.setValue,n[h].positive||(n[h].positive=0),n[h].negative||(n[h].negative=0),v>0?(c=v+n[h].positive,n[h].positive=c):v<0&&(c=v+n[h].negative,n[h].negative=c),i=f(c,i),t=o(c,t))}}),{max:i,min:t}},t.prototype.isVisible=function(){return!this.isNotVisible},t.prototype.getMaxSumValueSpace=function(){var n,e,o,s,h,t=this.config.stackValues,c=this.getFromEnv("chart"),l={},a=t&&t.length,v=this.getFromEnv("number-formatter"),i=0,r=0,u=this.getFromEnv("smartLabel"),y=c.config.dataLabelStyle;for(u.useEllipsesOnOverflow(c.config.useEllipsesWhenOverflow),u.setStyle(y),n=0;n<a;n++)t[n]&&(h=t[n].positive+t[n].negative,e=v.dataLabels(h),o=(l=u.getOriSize(e)).width,s=l.height,r=f(r,o),i=f(i,s));return{maxWidth:r,maxHeight:i}},t.prototype.getCanvasPadding=function(){var t,n,i={paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0};return this._setStackPosition(),this._mapChildren(function(r){for(n in t=r.getCanvasPadding&&r.getCanvasPadding()||{})t.hasOwnProperty(n)&&(i[n]=Math.max(t[n],i[n]))}),i},t}(h.ComponentInterface);t["default"]=s},function(n,t){"use strict";t.__esModule=!0;var r=function(){return[{initialAttr:{opacity:1},finalAttr:{opacity:1},slot:"plot"}]},i=function(){return[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},slot:"final"}]};t["default"]={"initial.group.cartesianStackGroup":function(){return{"group.appearing":r,"text.appearing":i,"*":null}},"initial.group.marimekkoStackgroup":function(){return{"text.appearing":i,"*":null}}}},,,,,,,,function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var o=r(i(518)),s=r(i(535)),h=r(i(537)),c=r(i(462)),u=i(125);f=function(n,t,i){var s,y,r,a,v,p,h,u,f,e,o,w=i&&i.length,c=n,l=t;if(!w)return undefined;for(s=w-1;s>=0;s--)if(u=(r=i[s]).x1,f=r.y1,e=r.x2,o=r.y2,r.isTrendZone){if(c>=u&&c<=e&&l>=f&&l<=o)return r}else if(f!==o&&u!==e?(a=y=(f-o)/(u-e),v=-1,p=f-y*u,h=Math.abs(a*c+v*l+p)/Math.sqrt(Math.pow(a,2)+Math.pow(v,2))):u===e?h=Math.abs(u-c):f===o&&(h=Math.abs(f-l)),h<=r.tolerance)return r};e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("axis",h["default"],["canvas"]),i.registerFactory("legend",c["default"]),i.registerFactory("quadrant",function(n){var i=n.getChildren("canvas")[0],t=void 0,r=n.getChildren(),f=function(){return t.asyncDraw()};u.componentFactory(i,s["default"],"quadrant");(t=i.getChildren("quadrant")[0]).addExtEventListener("visiblerangeset",f,r.xAxis[0]);t.addExtEventListener("visiblerangeset",f,r.yAxis[0]);t.configure()},["dataset"]),i}return l(t,n),t.getName=function(){return"ScatterBase"},t.prototype.mouseoutHandler=function(n,t,i){var r=this.config.datasetOrder||this.getDatasets(),u=this.getChildren("mouseTracker")[0];r[t]&&r[t].components.data[i]?r[t]._firePlotEvent("fc-mouseout",i,n):this.getFromEnv("toolTipController").hideAll();delete u._lastDatasetIndex;delete u._lastPointIndex},t.prototype.parseChartAttr=function(t){n.prototype.parseChartAttr.call(this,t);this.config.drawTrendRegion=0},t.prototype.__setDefaultConfig=function(){var t=this.config;n.prototype.__setDefaultConfig&&n.prototype.__setDefaultConfig.call(this);t.valuefontbold=0;t.stickytracking=1;t.usemessagelog=0;t.animationeffect="linear";t.showshadow=1;t.showhovereffect=void 0;t.plothovereffect=void 0;t.anchorhovereffect=void 0;t.plotborderdashed=void 0;t.stack100percent=void 0;t.showpercentvalues=void 0;t.showpercentintooltip=void 0;t.plotbordercolor=void 0;t.showtooltip=1;t.seriesnameintooltip=1;t.rotatevalues=0;t.minimizetendency=0;t.plotfillangle=270;t.valuepadding=2;t.useplotgradientcolor=1;t.plotborderthickness=1;t.plotfillalpha="70";t.showvalues=1;t.valueposition="auto";t.tooltipsepchar=", ";t.usedataplotcolorforlabels=0;t.placevaluesinside=0;t.showplotborder=1;t.use3dlighting=1;t.useroundedges=0;t.plotspacepercent=20;t.plotpaddingpercent=void 0;t.plotfillratio=void 0;t.maxcolwidth=50;t.plotborderdashlen=5;t.plotborderdashgap=4;t.useScaleRecursively=!0;t.zeroplanethickness=1;t.zeroplanealpha=40;t.showzeroplaneontop=0;t.setadaptivexmin=1},t.prototype._drawTrendTooltip=function(n,t){var r=this.getFromEnv("toolTipController"),i=this.config.currentTrendToolTip,u=n.tooltext,f=t.originalEvent;i?r.draw(f,u,i):i=this.config.currentTrendToolTip=r.draw(f,u)},t.prototype._mouseEvtHandler=function(n,t){var a,y,g,c,l,s,e,p,nt,o,i=this,h=t.mouseTracker,tt=i.getChildren("canvas")[0],it=i.getFromEnv("toolTipController"),ut=n.originalEvent,r=i.config,rt=r.canvasBaseDepth||0,ft=r.canvasLeft-(r.toleranceLeft||0),et=r.canvasRight+(r.toleranceRight||0),ot=r.canvasBottom+(r.toleranceBottom||0),st=r.canvasTop-(r.toleranceTop||0),w=r.datasetOrder||i.getDatasets(),b=!1,d=w.length,v=h._lastDatasetIndex,k=h._lastPointIndex;if(c=(g=u.getMouseCoordinate(i.getFromEnv("chart-container"),ut,i)).chartX,l=g.chartY,c>ft-rt&&c<et&&l>st&&l<ot+rt){for(;d--&&!b;)(s=w[d])&&s.getState("visible")&&((e=s._getHoveredPlot&&s._getHoveredPlot(c,l))&&e.hovered||a)&&(b=!0,e.datasetIndex=d,o=h.getMouseEvents(n,e.datasetIndex,e.pointIndex));a=f(c,l,tt.config.vtrendlines);y=f(c,l,tt.config.trendlines)}if((!b||o&&o.fireOut)&&void 0!==v&&w[v]&&w[v]._firePlotEvent&&(o&&!o.events.length?h.mouseoutTimer=setTimeout(function(){i.mouseoutHandler(n,v,k)}
43,20):(i.mouseoutHandler(n,v,k),clearTimeout(h.mouseoutTimer))),b)for(i.config.currentTrendToolTip&&it.hide(i.config.currentTrendToolTip),(nt=o.events&&o.events.length)&&(h._lastDatasetIndex=e.datasetIndex,k=h._lastPointIndex=e.pointIndex),p=0;p<nt;p+=1)s&&s._firePlotEvent&&s._firePlotEvent(o.events[p],k,n,e.datasetIndex);else a&&a.tooltext?i._drawTrendTooltip(a,n):y&&y.tooltext?i._drawTrendTooltip(y,n):i.config.currentTrendToolTip&&it.hide(i.config.currentTrendToolTip)},t.prototype._setCategories=function(){var f=this.getFromEnv("dataSource"),e=f.chart,n=this.getChildren("xAxis"),i=u.pluck(e.xaxislabelmode,"categories"),r=f.categories,t=r&&r[0]&&r[0].category;n[0].setAxisConfig({xAxisLabelMode:"categories"});"auto"!==i&&"mixed"!==i&&t&&t.length>0?n[0].setTickValues(t):"auto"!==i?(n[0].setTickValues(t),n[0].setAxisConfig({xAxisLabelMode:"mixed"})):(n[0].setTickValues(t),n[0].setAxisConfig({xAxisLabelMode:"auto"}))},t.prototype._allocateSpace=function(n){var r=this.getChildren("canvas"),i=r&&r[0].config,t=this.config,u=t.canvasHeight,f=t.canvasWidth,e=t.availableHeight,o=t.availableWidth;t.canvasLeft+=n.left||0;t.canvasTop+=n.top||0;f=t.canvasWidth=Math.max(f-((n.left||0)+(n.right||0)),0);u=t.canvasHeight=Math.max(u-((n.top||0)+(n.bottom||0)),0);t.availableHeight=Math.max(e-((n.top||0)+(n.bottom||0)),0);t.availableWidth=Math.max(o-((n.left||0)+(n.right||0)),0);t.canvasRight=t.canvasLeft+f;t.canvasBottom=t.canvasTop+u;i&&(i.canvasPaddingLeft=Math.max(i.canvasPaddingLeft,n.paddingLeft||0),i.canvasPaddingRight=Math.max(i.canvasPaddingRight,n.paddingRight||0),i.canvasPaddingTop=Math.max(i.canvasPaddingTop,n.paddingTop||0),i.canvasPaddingBottom=Math.max(i.canvasPaddingBottom,n.paddingBottom||0));r[0].setDimension({top:t.canvasTop,left:t.canvasLeft,width:t.canvasWidth,height:t.canvasHeight})},t.prototype._postSpaceManagement=function(){var n,f=this.config,t=this.getChildren(),i=t.xAxis&&t.xAxis[0],u=t.legend&&t.legend[0],e=f.xDepth,r=this.getChildren("canvas");for(this.setAxisDimention(),i&&this._allocateXAxisLabelSpace(i),i&&i.shiftLabels(-e,0),u&&u.postSpaceManager(),n=0;n<(r&&r.length);n++)r[n].setCanvasPadding();this.setAxisDimention();this.allocateDimensionOfChartMenuBar()},t.prototype._checkInvalidSpecificData=function(){if(!this.getFromEnv("dataSource").dataset)return!0},t}(o["default"]);t["default"]=e},function(n,t,i){"use strict";function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var h;t.__esModule=!0;var u,c=i(138),r=i(125),l=i(132),a=i(536),v=(u=a)&&u.__esModule?u:{"default":u};var f=r.preDefStr.POSITION_START,e=r.preDefStr.POSITION_TOP,o=r.preDefStr.POSITION_BOTTOM,s=r.preDefStr.POSITION_END;l.addDep({name:"quadrantAnimation",type:"animationRule",extension:v["default"]});h=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.pIndex=1,i.components={},i.conf={},i.graphics={},r}return y(t,n),t.prototype.getType=function(){return"canvas"},t.prototype.getName=function(){return"quadrant"},t.prototype.configure=function(){var c,l,a,v,y,i,f,p,e,o,s,h,w,d,b,g,nt,tt,it,rt,ut,ft,et,ot,t=this.conf,k=this.getFromEnv("chart"),st=k.config,n=k.getFromEnv("dataSource").chart,ht=k.getChildren("canvas")[0].config,u=st.dataLabelStyle,ct=k.getFromEnv("smartLabel");(t.enabled=r.pluckNumber(n.drawquadrant,0))&&(nt=r.pluckNumber(n.quadrantxval),tt=r.pluckNumber(n.quadrantyval),it=r.convertColor(r.pluck(n.quadrantlinecolor,ht.canvasBorderColor),r.pluck(n.quadrantlinealpha,n.quadrantlinealpha,r.HUNDREDSTRING)),rt=r.pluckNumber(n.quadrantlinethickness,ht.canvasBorderThickness),ft=r.pluckNumber(n.quadrantlinedashed,n.quadrantlineisdashed,0),ut=r.pluckNumber(n.quadrantlinedashlen,4),et=r.pluckNumber(n.quadrantlinedashgap,2),ot=ft?r.getDashStyle(ut,et):"none",t.xVal=nt,t.yVal=tt,t.quadrantLineColor=it,t.quadrantLineThickness=rt,t.dashStyle=ot,w=r.getValidValue(n.quadrantlabeltl,""),d=r.getValidValue(n.quadrantlabeltr,""),b=r.getValidValue(n.quadrantlabelbl,""),g=r.getValidValue(n.quadrantlabelbr,""),t.quadrantLabelPadding=r.pluckNumber(n.quadrantlabelpadding,3),ct.useEllipsesOnOverflow(st.useEllipsesWhenOverflow),ct.setStyle(u),""!==w?(i=r.getFirstValue(n.quadrantlabeltlbordercolor,n.quadrantlabelbordercolor,""),f=r.pluck(n.quadrantlabeltlbgcolor,n.quadrantlabelbgcolor),p=r.pluckNumber(n.quadrantlabeltlborderthickness,n.quadrantlabelborderthickness,1),i=i?r.convertColor(i,r.pluckNumber(n.quadrantlabeltlborderalpha,n.quadrantlabelborderalpha,n.quadrantlabeltlalpha,n.quadrantlabelalpha,100)):"",(e=t.tlConfig)||(e=t.tlConfig={enabled:!0,styleObj:{}}),e.label=w,e.styleObj.fontSize=r.pluck(r.pluckNumber(n.quadrantlabeltlfontsize,n.quadrantlabelfontsize),parseInt(u.fontSize,10))+"px",e.styleObj.lineHeight=u.lineHeight,e.styleObj.fontFamily=r.pluck(n.quadrantlabeltlfont,n.quadrantlabelfont,u.fontFamily),e.styleObj.color=r.convertColor(r.pluck(n.quadrantlabeltlfontcolor,n.quadrantlabelfontcolor,u.color),r.pluckNumber(n.quadrantlabeltlfontalpha,n.quadrantlabelfontalpha,100)),e.styleObj.fontWeight=r.pluckNumber(n.quadrantlabeltlfontbold,n.quadrantlabelfontbold)?"bold":"normal",e.styleObj.fontStyle=r.pluckNumber(n.quadrantlabeltlfontitalic,n.quadrantlabelfontitalic)?"italic":"normal",r.setLineHeight(e.styleObj),c=i,l=r.pluckNumber(n.quadrantlabeltlborderpadding,n.quadrantlabelborderpadding,2),a=r.pluckNumber(n.quadrantlabeltlborderradiu
43s,n.quadrantlabelborderradius,0),v=f?r.convertColor(f,r.pluckNumber(n.quadrantlabeltlbgalpha,n.quadrantlabelbgalpha,n.quadrantlabeltlalpha,n.quadrantlabelalpha,100)):"",y=r.pluckNumber(n.quadrantlabeltlborderdashed,n.quadrantlabelborderdashed,0)?r.getDashStyle(r.pluckNumber(n.quadrantlabeltlborderdashlen,n.quadrantlabelborderdashlen,4),r.pluckNumber(n.quadrantlabeltlborderdashgap,n.quadrantlabelborderdashgap,2)):"none",e["text-bound"]=[v,c,p,l,a,y]):t.tlConfig&&(t.tlConfig.label=w),""!==d?(i=r.getFirstValue(n.quadrantlabeltrbordercolor,n.quadrantlabelbordercolor,""),f=r.pluck(n.quadrantlabeltrbgcolor,n.quadrantlabelbgcolor),p=r.pluckNumber(n.quadrantlabeltrborderthickness,n.quadrantlabelborderthickness,1),i=i?r.convertColor(i,r.pluckNumber(n.quadrantlabeltrborderalpha,n.quadrantlabelborderalpha,n.quadrantlabeltralpha,n.quadrantlabelalpha,100)):"",(o=t.trConfig)||(o=t.trConfig={enabled:!0,styleObj:{}}),o.label=r.getValidValue(n.quadrantlabeltr,""),o.styleObj.fontSize=r.pluck(r.pluckNumber(n.quadrantlabeltrfontsize,n.quadrantlabelfontsize),parseInt(u.fontSize,10))+"px",o.styleObj.lineHeight=u.lineHeight,o.styleObj.fontFamily=r.pluck(n.quadrantlabeltrfont,n.quadrantlabelfont,u.fontFamily),o.styleObj.color=r.convertColor(r.pluck(n.quadrantlabeltrfontcolor,n.quadrantlabelfontcolor,u.color),r.pluckNumber(n.quadrantlabeltrfontalpha,n.quadrantrabelfontalpha,100)),o.styleObj.fontWeight=r.pluckNumber(n.quadrantlabeltrfontbold,n.quadrantlabelfontbold)?"bold":"normal",o.styleObj.fontStyle=r.pluckNumber(n.quadrantlabeltrfontitalic,n.quadrantlabelfontitalic)?"italic":"normal",r.setLineHeight(o.styleObj),c=i,l=r.pluckNumber(n.quadrantlabeltrborderpadding,n.quadrantlabelborderpadding,2),a=r.pluckNumber(n.quadrantlabeltrborderradiu
43s,n.quadrantlabelborderradius,0),v=f?r.convertColor(f,r.pluckNumber(n.quadrantlabeltrbgalpha,n.quadrantlabelbgalpha,n.quadrantlabeltralpha,n.quadrantlabelalpha,100)):"",y=r.pluckNumber(n.quadrantlabeltrborderdashed,n.quadrantlabelborderdashed,0)?r.getDashStyle(r.pluckNumber(n.quadrantlabeltrborderdashlen,n.quadrantlabelborderdashlen,4),r.pluckNumber(n.quadrantlabeltrborderdashgap,n.quadrantlabelborderdashgap,2)):"none",o["text-bound"]=[v,c,p,l,a,y]):t.trConfig&&(t.trConfig.label=d),""!==b?(i=r.getFirstValue(n.quadrantlabelblbordercolor,n.quadrantlabelbordercolor,""),f=r.pluck(n.quadrantlabelblbgcolor,n.quadrantlabelbgcolor),p=r.pluckNumber(n.quadrantlabelblborderthickness,n.quadrantlabelborderthickness,1),i=i?r.convertColor(i,r.pluckNumber(n.quadrantlabelblborderalpha,n.quadrantlabelborderalpha,n.quadrantlabelblalpha,n.quadrantlabelalpha,100)):"",(s=t.blConfig)||(s=t.blConfig={enabled:!0,styleObj:{}}),s.label=b,s.styleObj.fontSize=r.pluck(r.pluckNumber(n.quadrantlabelblfontsize,n.quadrantlabelfontsize),parseInt(u.fontSize,10))+"px",s.styleObj.lineHeight=u.lineHeight,s.styleObj.fontFamily=r.pluck(n.quadrantlabelblfont,n.quadrantlabelfont,u.fontFamily),s.styleObj.color=r.convertColor(r.pluck(n.quadrantlabelblfontcolor,n.quadrantlabelfontcolor,u.color),r.pluckNumber(n.quadrantlabelblfontalpha,n.quadrantlabelfontalpha,100)),s.styleObj.fontWeight=r.pluckNumber(n.quadrantlabelblfontbold,n.quadrantlabelfontbold)?"bold":"normal",s.styleObj.fontStyle=r.pluckNumber(n.quadrantlabelblfontitalic,n.quadrantlabelfontitalic)?"italic":"normal",r.setLineHeight(s.styleObj),c=i,l=r.pluckNumber(n.quadrantlabelblborderpadding,n.quadrantlabelborderpadding,2),a=r.pluckNumber(n.quadrantlabelblborderradius,n.quadrantlabelborderradius,0),v=f?r.convertColor(f,r.pluckNumber(n.quadrantlabelblbgalpha,n.quadrantlabelbgalpha,n.quadrantlabelblalpha,n.quadrantlabelalpha,100)):"",y=r.pluckNumber(n.quadrantlabelblborderdashed,n.quadrantlabelborderdashed,0)?r.getDashStyle(r.pluckNumber(n.quadrantlabelblborderdashlen,n.quadrantlabelborderdashlen,4),r.pluckNumber(n.quadrantlabelblborderdashgap,n.quadrantlabelborderdashgap,2)):"none",s["text-bound"]=[v,c,p,l,a,y]):t.blConfig&&(t.blConfig.label=b),""!==g?(i=r.getFirstValue(n.quadrantlabelbrbordercolor,n.quadrantlabelbordercolor,""),f=r.pluck(n.quadrantlabelbrbgcolor,n.quadrantlabelbgcolor),p=r.pluckNumber(n.quadrantlabelbrborderthickness,n.quadrantlabelborderthickness,1),i=i?r.convertColor(i,r.pluckNumber(n.quadrantlabelbrborderalpha,n.quadrantlabelborderalpha,n.quadrantlabelbralpha,n.quadrantlabelalpha,100)):"",(h=t.brConfig)||(h=t.brConfig={enabled:!0,styleObj:{}}),h.label=r.getValidValue(n.quadrantlabelbr,""),h.styleObj.fontSize=r.pluck(r.pluckNumber(n.quadrantlabelbrfontsize,n.quadrantlabelfontsize),parseInt(u.fontSize,10))+"px",h.styleObj.lineHeight=u.lineHeight,h.styleObj.fontFamily=r.pluck(n.quadrantlabelbrfont,n.quadrantlabelfont,u.fontFamily),h.styleObj.color=r.convertColor(r.pluck(n.quadrantlabelbrfontcolor,n.quadrantlabelfontcolor,u.color),r.pluckNumber(n.quadrantlabelbrfontalpha,n.quadrantrabelfontalpha,100)),h.styleObj.fontWeight=r.pluckNumber(n.quadrantlabelbrfontbold,n.quadrantlabelfontbold)?"bold":"normal",h.styleObj.fontStyle=r.pluckNumber(n.quadrantlabelbrfontitalic,n.quadrantlabelfontitalic)?"italic":"normal",r.setLineHeight(h.styleObj),v=f?r.convertColor(f,r.pluckNumber(n.quadrantlabelbrbgalpha,n.quadrantlabelbgalpha,n.quadrantlabelbralpha,n.quadrantlabelalpha,100)):"",c=i,l=r.pluckNumber(n.quadrantlabelbrborderpadding,n.quadrantlabelborderpadding,2),a=r.pluckNumber(n.quadrantlabelbrborderradiu
43s,n.quadrantlabelborderradius,0),y=r.pluckNumber(n.quadrantlabelbrborderdashed,n.quadrantlabelborderdashed,0)?r.getDashStyle(r.pluckNumber(n.quadrantlabelbrborderdashlen,n.quadrantlabelborderdashlen,4),r.pluckNumber(n.quadrantlabelbrborderdashgap,n.quadrantlabelborderdashgap,2)):"none",h["text-bound"]=[v,c,p,l,a,y]):t.brConfig&&(t.brConfig.label=g))},t.prototype._preDraw=function(){var i,o,t,s,h,r,n=this.conf,c=this.getFromEnv("chart"),k=c.getChildren("xAxis")[0],d=c.getChildren("yAxis")[0],v=k.getLimit(),y=d.getLimit(),l=v.max,a=y.max,u=v.min,f=y.min,p=c.config,w=p.canvasWidth,b=p.canvasHeight,e=n.quadrantLabelPadding,g=n.tlConfig,nt=n.trConfig,tt=n.blConfig,it=n.brConfig;return i=n.xVal||(n.xVal=(u+l)/2),(o=n.yVal||(n.yVal=(f+a)/2))>=f&&o<=a&&i>=u&&i<=l?(s=w-(t=w/(l-u)*(i-u)),h=b-(r=b/(a-f)*(o-f)),t-=e,s-=e,r-=e,((h-=e)<0||t<0)&&(g.enabled=!1),(h<0||s<0)&&(nt.enabled=!1),(r<0||t<0)&&(tt.enabled=!1),(r<0||t<0)&&(it.enabled=!1)):n.enabled=!1,this},t.prototype._createGroups=function(){var n,i=this.getFromEnv("chart"),t=i.getFromEnv("animationManager"),u=i.getChildren("canvas")[0].getChildContainer("quadrantGroup"),r=this.getContainer("quadrantChildContainer"),f=this.getContainer("quadrantLineGroup"),e=this.getContainer("quadrantTLGroup"),o=this.getContainer("quadrantTRGroup"),s=this.getContainer("quadrantBLGroup"),h=this.getContainer("quadrantBRGroup");n=t.setAnimation({el:r||"group",attr:{name:"quadrant-child-container"},container:u,component:this,label:"group"});r||this.addContainer("quadrantChildContainer",n);this.addContainer("quadrantLineGroup",t.setAnimation({el:f||"group",attr:{name:"quadrantLineGroup"},container:n,component:this,label:"group"}));this.addContainer("quadrantTLGroup",t.setAnimation({el:e||"group",attr:{name:"quadrantTLGroup"},container:n,component:this,label:"group"}));this.addContainer("quadrantTRGroup",t.setAnimation({el:o||"group",attr:{name:"quadrantTRGroup"},container:n,component:this,label:"group"}));this.addContainer("quadrantBLGroup",t.setAnimation({el:s||"group",attr:{name:"quadrantBLGroup"},container:n,component:this,label:"group"}));this.addContainer("quadrantBRGroup",t.setAnimation({el:h||"group",attr:{name:"quadrantBRGroup"},container:n,component:this,label:"group"}))},t.prototype.draw=function(){var h,a,it,ct,lt,at,vt,t=this._preDraw(),n=t.conf,rt=t.getFromEnv("chart"),c=rt.config,yt=c.reverseXAxis,l={wrtVisible:!0},u=t.getFromEnv("smartLabel"),r=t.getFromEnv("animationManager"),i=t.graphics,v=i.tlLabel,y=i.trLabel,p=i.blLabel,w=i.brLabel,b=c.textDirection,k=rt.getChildren("xAxis")[0],d=rt.getChildren("yAxis")[0],pt=n.tlConfig||{},wt=n.trConfig||{},bt=n.blConfig||{},kt=n.brConfig||{},dt=pt.enabled&&pt.label,gt=wt.enabled&&wt.label,ni=bt.enabled&&bt.label,ti=kt.enabled&&kt.label,oi=c.canvasLeft,si=c.canvasTop,g=n.quadrantLabelPadding,nt=k.getLimit(),ii=d.getLimit(),hi=yt?nt.min:nt.max,ci=yt?nt.max:nt.min,li=ii.max,ai=ii.min,ut=k.getPixel(ci,l)+g,ft=k.getPixel(hi,l)-g,et=d.getPixel(ai,l)-g,ot=d.getPixel(li,l)+g,st=k.getPixel(n.xVal,l),ht=d.getPixel(n.yVal,l),ri=st-ut,ui=ft-st,fi=ht-ot,ei=et-ht,vi=i.horizontalQuadLine,yi=i.verticalQuadLine,tt=function(){this.hide()};t._createGroups();a=t.getContainer("quadrantChildContainer");it=t.getContainer("quadrantLineGroup");ct=t.getContainer("quadrantTLGroup");lt=t.getContainer("quadrantTRGroup");at=t.getContainer("quadrantBLGroup");vt=t.getContainer("quadrantBRGroup");n.enabled?(a.show(),i.horizontalQuadLine=r.setAnimation({el:vi||"path",container:it,attr:{path:"M"+oi+" "+ht+"h"+c.canvasWidth,stroke:n.quadrantLineColor,"stroke-dasharray":n.dashStyle,"stroke-width":n.quadrantLineThickness,"stroke-linecap":"butt"},component:t,label:"path"}),i.verticalQuadLine=r.setAnimation({el:yi||"path",container:it,attr:{path:"M"+st+" "+si+"v"+c.canvasHeight,stroke:n.quadrantLineColor,"stroke-width":n.quadrantLineThickness,"stroke-dasharray":n.dashStyle,"stroke-linecap":"butt"},component:t,label:"path"}),dt?(u.useEllipsesOnOverflow(c.useEllipsesWhenOverflow),u.setStyle(n.tlConfig.styleObj),h=u.getSmartText(dt,ri,fi),(v=i.tlLabel=r.setAnimation({el:v||"text",attr:{"text-anchor":f,"vertical-align":e,x:ut,y:ot,text:h.text,direction:b,"text-bound":n.tlConfig["text-bound"]}
43,container:ct,component:t,label:"text"})).css(n.tlConfig.styleObj)):v&&r.setAnimation({el:v,callback:tt,component:this,label:"text"}),gt?(u.setStyle(n.trConfig.styleObj),h=u.getSmartText(gt,ui,fi),(y=i.trLabel=r.setAnimation({el:y||"text",attr:{"text-anchor":s,"vertical-align":e,direction:b,x:ft,y:ot,text:h.text,"text-bound":n.trConfig["text-bound"]},container:lt,component:t,label:"text"})).css(n.trConfig.styleObj)):y&&r.setAnimation({el:y,callback:tt,component:this,label:"text"}),ni?(u.setStyle(n.blConfig.styleObj),h=u.getSmartText(ni,ri,ei),(p=i.blLabel=r.setAnimation({el:p||"text",attr:{"text-anchor":f,"vertical-align":o,direction:b,x:ut,y:et,text:h.text,"text-bound":n.blConfig["text-bound"]},container:at,component:t,label:"text"})).css(n.blConfig.styleObj)):p&&r.setAnimation({el:p,callback:tt,component:this,label:"text"}),ti?(u.setStyle(n.brConfig.styleObj),h=u.getSmartText(ti,ui,ei),(w=i.brLabel=r.setAnimation({el:w||"text",attr:{"text-anchor":s,"vertical-align":o,direction:b,x:ft,y:et,text:h.text,"text-bound":n.brConfig["text-bound"]},container:vt,component:t,label:"text"})).css(n.brConfig.styleObj)):w&&r.setAnimation({el:w,callback:tt,component:this,label:"text"})):a&&r.setAnimation({el:a,component:t,doNotRemove:!0,callback:function(){this.hide()},label:"group"})},t}(c.ComponentInterface);t["default"]=h},function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.canvas.quadrant":function(){return{"path.appearing":function(){return[{initialAttr:{opacity:0}
43,finalAttr:{opacity:1},slot:"axis"}]},"text.appearing":function(){return[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"plot"}]}}}}},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var e=n.getChildren("canvas")[0],t=e.getChildren("axisRefVisualCartesian")[0],o={zoomable:!0,pannable:!0},s=n._feedAxesRawData(),i=void 0,r=void 0,h=function(n){var i=n.sender;t.addexplicitDrawItems(i.getId(),i);t.asyncDraw()};u.componentFactory(n,f["default"],"yAxis",1,s.yAxisConf);u.componentFactory(n,f["default"],"xAxis",1,s.xAxisConf);i=n.getChildren("yAxis")[0];r=n.getChildren("xAxis")[0];i.setLinkedItem("canvas",e);r.setLinkedItem("canvas",e);t.setLinkedItem(i.getId(),i);t.setLinkedItem(r.getId(),r);t.addExtEventListener("visiblerangeset",h,r);t.addExtEventListener("visiblerangeset",h,i);e.attachAxis(r,!1,n.zoomX?o:{});e.attachAxis(i,!0,n.zoomY?o:{});n._setCategories()};var r,u=i(125),e=i(377),f=(r=e)&&r.__esModule?r:{"default":r}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function y(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var h;t.__esModule=!0;var c=u(i(449)),r=i(125),l=i(132),a=u(i(539)),v=u(i(540));var f=Math,e=f.max,o=f.min,s=f.round;l.addDep({name:"scatterAnimation",type:"animationRule",extension:v["default"]});h=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return y(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.setupHoverTracker=function(){var f,n,i,e,o,r,u,s=this.config.searchDataArr=[],h=this.components.data,c={},t=this.getSkippingInfo&&this.getSkippingInfo(),l=t&&t.draw||[],v=l.length,y=t&&t.skippingApplied;for(i=h.length,y&&(i=v),n=0;n<i;n++)(r=h[f=l[n]||[n]])&&(e=(u=r.config)._Px,o=u._Py,c=u.anchorProps,s.push({x:e,y:o,index:f,data:r,r:c.radius||0}));this.config.dataTree=(new a["default"]).buildKdTree(s)},t.prototype.getName=function(){return"scatter"},t.prototype.configureAttributes=function(n){if(!n)return!1;this.trimData(n);this.config.JSONData=n;var s,h,o,c,l,f=this.getFromEnv("chart"),t=this.config,u=t.JSONData,v=f.areaAlpha,i=f.getFromEnv("dataSource").chart,e=this.getFromEnv("color-manager"),y=r.pluckNumber(u.showplotborder,i.showplotborder||1),a=e.getPlotColor(this.index),p=t.lineDashed=r.pluckNumber(u.linedashed,u.dashed,i.linedashed,0),w=this.isLineSet;t.plotColor=a;c=r.pluckNumber(f.defaultPlotShadow,e.getColor("showShadow"));t.xAxisLabelMode=r.pluck(i.xaxislabelmode,"categories");t.toolTipSepChar=r.pluck(i.tooltipsepchar,", ");t.defaultValuePadding={left:0,right:0};t.parentYAxis=h=w?1:"s"===r.pluck(u.parentyaxis&&u.parentyaxis.toLowerCase(),"p")?1:0;this.config.yAxis=this.getFromEnv("yAxis")[h];t.connectNullData=r.pluckNumber(i.connectnulldata,0);t.seriesname=r.parseUnsafeString(u.seriesname);t.includeinlegend=r.pluckNumber(u.includeinlegend,t.seriesname?1:0);t.enableAnimation=o=r.pluckNumber(i.animation,i.defaultanimation,1);t.animation=!!o&&{duration:1e3*r.pluckNumber(i.animationduration,1)};t.transposeanimation=r.pluckNumber(i.transposeanimation,o);t.transposeanimduration=1e3*r.pluckNumber(i.transposeanimduration,.2);t.showvalues=r.pluckNumber(u.showvalues,i.showvalues);t.valuePadding=r.pluckNumber(i.valuepadding,2);t.valuePosition=r.pluck(u.valueposition,i.valueposition,"auto");t.showTooltip=r.pluckNumber(i.showtooltip,1);t.seriesNameInTooltip=r.pluckNumber(i.seriesnameintooltip,1);
43t.plotFillColor=t.plotfillcolor=r.pluck(u.color,i.plotfillcolor,a);t.plotFillAngle=t.plotFillAngle=r.pluck(i.plotfillangle,270);t.plotFillAlpha=t.plotfillalpha=r.pluck(u.alpha,i.plotfillalpha,v,"70");l=r.pluckNumber(i.useplotgradientcolor,1);t.plotGradientColor=t.plotgradientcolor=0!==l?r.getDefinedColor(i.plotgradientcolor,e.getColor("plotGradientColor")):"";t.fillColor=t.fillcolor={color:t.plotfillcolor+(t.plotgradientcolor?","+t.plotgradientcolor:r.BLANKSTRING),alpha:t.plotfillalpha,angle:t.plotFillAngle};t.plotBorderAlpha=t.plotborderalpha=y?r.pluck(u.plotborderalpha,i.plotborderalpha,u.alpha,"95"):0;t.plotBorderColor=t.plotbordercolor=r.pluck(u.plotbordercolor,i.plotbordercolor,i.areabordercolor,"666666");t.dashed=s=r.pluckNumber(u.dashed,i.plotborderdashed);t.plotBorderDashLen=t.plotborderdashlen=r.pluck(u.plotborderdashlen,i.plotborderdashlen,5);t.plotBorderDashGap=t.plotborderdashgap=r.pluck(u.plotborderdashgap,i.plotborderdashgap,4);t.plotBorderThickness=t.plotborderthickness=r.pluckNumber(u.plotborderthickness,i.plotborderthickness,1);t.plotBorderDashStyle=t.plotborderdashstyle=s?r.getDashStyle(t.plotborderdashlen,t.plotborderdashgap):"none";t.showHoverEffect=t.showhovereffect=r.pluckNumber(i.plothovereffect,i.anchorhovereffect,i.showhovereffect,void 0);t.rotateValues=r.pluckNumber(i.rotatevalues)?270:0;t.drawLine=r.pluckNumber(u.drawline,i.drawlines,0);t.lineThickness=t.linethickness=r.pluckNumber(u.linethickness,i.linethickness,2);t.lineDashLen=t.linedashlen=r.pluckNumber(u.linedashlen,i.linedashlen,5);t.lineDashGap=t.linedashgap=r.pluckNumber(u.linedashgap,i.linedashgap,4);t.lineAlpha=t.linealpha=r.pluckNumber(u.linealpha,i.linealpha,u.alpha,r.HUNDREDSTRING);t.lineColor=t.linecolor=r.pluck(u.linecolor,i.linecolor,u.color,t.plotColor);t.lineDashStyle=t.linedashstyle=r.getDashStyle(t.linedashlen,t.linedashgap);t.lineDashStyle=t.linedashstyle=p?t.linedashstyle:"none";t.shadow={opacity:r.pluckNumber(i.showshadow,c)?t.linealpha/100:0};t.drawanchors=r.pluckNumber(u.drawanchors,u.showanchors,i.drawanchors,i.showanchors);t.anchorbgcolor=r.getFirstColor(r.pluck(u.anchorbgcolor,i.anchorbgcolor,e.getColor("anchorBgColor")));t.anchorbordercolor=r.getFirstColor(r.pluck(u.anchorbordercolor,u.color,i.anchorbordercolor,t.linecolor));t.anchorradius=r.pluckNumber(u.anchorradius,i.anchorradius,3);t.anchoralpha=r.pluck(u.anchoralpha,u.alpha,i.anchoralpha,r.HUNDREDSTRING);t.anchorbgalpha=r.pluck(u.anchorbgalpha,u.alpha,i.anchorbgalpha,r.HUNDREDSTRING);t.anchorborderthickness=r.pluck(u.anchorborderthickness,i.anchorborderthickness,1);t.anchorsides=r.pluckNumber(u.anchorsides,i.anchorsides,t.index+3);t.anchorimageurl=r.pluck(u.anchorimageurl,i.anchorimageurl);t.anchorimagealpha=r.pluckNumber(u.anchorimagealpha,i.anchorimagealpha,100);t.anchorimagescale=r.pluckNumber(u.anchorimagescale,i.anchorimagescale,100);t.anchorimagepadding=r.pluckNumber(u.anchorimagepadding,i.anchorimagepadding,1);t.anchorstartangle=r.pluckNumber(u.anchorstartangle,i.anchorstartangle,90);t.anchorshadow=r.pluckNumber(u.anchorshadow,i.anchorshadow,0);t.plotToolText=r.getValidValue(r.parseUnsafeString(r.pluck(u.plottooltext,i.plottooltext)));this.setState("visible",1===r.pluckNumber(u.visible,!Number(u.initiallyhidden),1));this._setConfigure();!1!==f.config.hasLegend&&f.config.showLegend&&this._addLegend();this.setState("dirty",!0)},t.prototype.calculateScrollRange=function(){var n=this.config,u=this.getFromEnv("chart"),t=this.getFromEnv("xAxis"),i=u.hasScroll,r=this.components.data.length;n.scrollMinVal=i?e(s(t.getVisibleConfig().minValue)-1,0):0;n.scrollMaxVal=i?o(s(t.getVisibleConfig().maxValue)+2,r):r;n.scrollMinValForLabel=n.scrollMinVal;n.scrollMaxValForLabel=n.scrollMaxVal},t.prototype._setConfigure=function(){var e,n,f,u,i,o,c,k,d,l,a,g,nt=-Infinity,tt=+Infinity,v=nt,y=tt,p=tt,w=nt,h=this.components.data||(this.components.data=[]),ot=this.getFromEnv("chart"),t=this.config,it=t.JSONData,b=ot.getFromEnv("dataSource").chart,rt=it.data||[],st=rt.length,s=this.getFromEnv("number-formatter"),ht=r.parseUnsafeString(b.yaxisname),ct=r.parseUnsafeString(b.xaxisname),lt=t.lineDashed,at=t.linedashstyle,ut=t.parentYAxis,ft=t.toolTipSepChar,et=t.seriesname;for(t.imageCount=0,e=0;e<st;e+=1)u=rt[e],(n=(f=h[e]||(h[e]={})).config||(f.config={})).setValue=i={x:s.getCleanValue(u.x),y:s.getCleanValue(u.y)},null!==i.x&&null!==i.y&&(i.x>w&&(w=i.x,t.rightMostData=f),i.x<p&&(p=i.x,t.leftMostData=f),i.y>v&&(v=i.y,t.topMostData=f),i.y<y&&(y=i.y,t.bottomMostData=f)),n._x=i.x,n._y=i.y,n.setLink=r.pluck(u.link),n.anchorProps=this._parseAnchorProperties(e),n.showValue=r.pluckNumber(u.showvalue,t.showvalues),n.dashed=r.pluckNumber(u.dashed,lt),n.color=r.pluck(u.color,t.linecolor),n.alpha=r.pluck(u.alpha,t.linealpha),n.dashStyle=n.dashed?at:"none",n.toolTipValue=c=s.dataLabels(i.y,ut),n.setDisplayValue=g=r.parseUnsafeString(u.displayvalue),l=n.formatedVal=r.pluck(u.toolTipValue,s.dataLabels(i.y,ut)),a=s.xAxis(i.x),n.displayValue=r.pluck(g,c),n.setTooltext=r.getValidValue(r.parseUnsafeString(r.pluck(u.tooltext,t.plotToolText))),t.showTooltip?void 0!==n.setTooltext?(k=[4,5,6,7,8,9,10,11],d={yaxisName:ht,xaxisName:ct,yDataValue:l,xDataValue:a},o=r.parseTooltext(n.setTooltext,k,d,u,b,it)):null===l?o=!1:(o=et?et+ft:r.BLANKSTRING,o+=i.x?a+ft:r.BLANKSTRING,o+=c):o=!1,n.toolText=o,f?f.graphics||(h[e].graphics={}):f=h[e]={graphics:{}},n.hoverEffects=this._parseHoverEffectOptions(f,u),n.anchorProps.isAnchorHoverRadius=n.hoverEffects.anchorRadius;t.xMax=w;t.xMin=p;t.yMin=y;
43t.yMax=v;this.ErrorValueConfigure&&this.ErrorValueConfigure()},t.prototype._getHoveredPlot=function(n,t){var i=this.config.dataTree.getNeighbour({x:n,y:t},!0);if(i)return{pointIndex:i.index||i.i,hovered:!0,pointObj:i.data}},t.prototype.drawPlots=function(){n.prototype.drawPlots.call(this);this.setupHoverTracker()},t.prototype.getRegressionPoints=function(){var c,i,r,n,f,t,l,a,u=this.getChildren("regression"),e=-Infinity,o=Infinity,s=-Infinity,h=Infinity;if(u&&u.length&&!u[0].getState("removed")){for(l=(c=u[0]._config.regressionPoints||[]).length,i=0;i<l;i++)for(f=c[i],r=0;r<f.length;r++)for(a=(t=f[r]||[]).length,n=0;n<a;n++)e=Math.max(e,t[n].x),o=Math.min(o,t[n].x),s=Math.max(s,t[n].y),h=Math.min(h,t[n].y);return{max:s,min:h,xMax:e,xMin:o}}},t.prototype.getDataLimits=function(){var t=this.config,s=this.getFromEnv("chart").config,i=t.yMax,r=t.yMin,u=t.xMax,f=t.xMin,e=-Infinity,o=+Infinity,h=s.transposeAxis,n=this.getRegressionPoints();return!1===this.getState("visible")&&h&&(i=e,r=o,u=e,f=o),n&&(i=Math.max(i,n.max),r=Math.min(r,n.min),u=Math.max(u,n.xMax),f=Math.min(f,n.xMin)),{max:i,min:r,xMax:u,xMin:f}},t.prototype.getAxisValuePadding=function(){return this.config.defaultValuePadding},t.prototype.getCanvasPadding=function(){for(var ct,lt,at,n,i,l,ut,t,gt,ni,ft,v,y,vt,p,b=this.config||(this.config={}),oi=this.components||{},k=this.getFromEnv("chartConfig"),ti=k.rotatevalues,u=this.getFromEnv("xAxis"),d=this.getFromEnv("yAxis"),s=u.config.isReverse,ii=this.getFromEnv("dataLabelStyle"),h=oi.data||[],si=h.length,et=b.leftMostData||h[0],ot=b.rightMostData||h[h.length-1],ri=b.topMostData,ui=b.bottomMostData,hi=o(k.canvasHeight,k.canvasWidth)/8,yt=u.getValue(0),pt=1,wt=1,ci=k.zMax,bt=b.bubbleScale,kt={},dt={},f=0,g=0,fi=u.config.axisRange,li=fi.min,ai=fi.max,ei=d.config.axisRange,st=ei.min,ht=ei.max,c=u.getPixel(li),w=u.getPixel(ai),nt=this.getFromEnv("smartLabel"),tt={paddingLeft:0,paddingRight:0},it=0,rt=hi/Math.sqrt(ci),a=0;a<si;a++)ct=h[a].config,lt=et.config,at=ot.config,l=Math.sqrt(ct.z),v=Math.round(l*rt)*bt||0,y=u.getValue(v)-yt,t=ct.x-y/2,1===pt&&(l=Math.sqrt(lt.z),v=Math.round(l*rt)*bt||0,y=u.getValue(v)-yt,gt=lt.x-y/2),1===wt&&(l=Math.sqrt(at.z),v=Math.round(l*rt)*bt||0,y=u.getValue(v)-yt,ni=at.x-y/2),pt=0,wt=0,gt>t&&(et=h[a],pt=1),ni<t&&(ot=h[a],wt=1);return et&&(i=(n=et.config).anchorProps.radius,(vt=n.showValue)&&(ft=n.displayValue,nt.useEllipsesOnOverflow(k.useEllipsesWhenOverflow),nt.setStyle(ii),dt=nt.getOriSize(ft),it=ti?dt.height:dt.width),null!==n.setValue&&(t=u.getPixel(n.setValue.x),g=s?w-(ut=t-.5*it):c-(ut=t-.5*it),f=!s&&t-i<=c||s&&t-i<=w?s?w-(t-i):c-(t-i):0),tt.paddingLeft=e(g,f)),ot&&(vt=(n=ot.config).showValue,i=n.anchorProps.radius,vt&&(ft=n.displayValue,nt.setStyle(ii),kt=nt.getOriSize(ft),it=ti?kt.height:kt.width),null!==n.setValue&&(g=(ut=(t=u.getPixel(n.setValue.x))-c+.5*it)-w+c,s&&(g=ut),f=!s&&t+i>=w||s&&t+i>=c?s?t+i-c:t+i-w:0),tt.paddingRight=e(g,f)),ri&&(i=(n=ri.config).anchorProps.radius||0,ht=d.getPixel(ht),null!==n.setValue&&(p=d.getPixel(n.setValue.y),f=r.pluckNumber(i,0)+r.pluckNumber(n.anchorProps.borderThickness,0)/2),tt.paddingTop=ht-(p-f)>0?ht-(p-f):0),ui&&(i=(n=ui.config).anchorProps.radius||0,st=d.getPixel(st),null!==n.setValue&&(p=d.getPixel(n.setValue.y),f=r.pluckNumber(i,0)+r.pluckNumber(n.anchorProps.borderThickness,0)/2),tt.paddingBottom=p+f-st>0?p+f-st:0),tt},t.prototype._addLegend=function(){var o,s,h,c,t,f,e,l=this.getFromEnv("chart"),n=this.config,i=l.getChildren("legend")[0],a=r.pluckNumber(n.drawanchors,1),u={fillColor:(f=n.anchorbgcolor,e=r.HUNDREDSTRING,f=r.getFirstColor(f),e=r.getFirstAlpha(e),{FCcolor:{gradientUnits:"objectBoundingBox",cx:.4,cy:.4,r:"100%",color:r.getLightColor(f,70)+","+r.getDarkColor(f,50),alpha:e+","+e,ratio:r.BGRATIOSTRING,radialGradient:!0}}),lineColor:{FCcolor:{color:n.anchorbordercolor,alpha:n.anchoralpha}},lineWidth:n.anchorborderthickness};i.config.symbol3DLighting?u.fillcolor&&u.fillcolor.FCcolor?(o=r.extend2({},u.fillcolor)).FCcolor.alpha="100":o=r.pluck(u.fillColor):o={FCcolor:{color:r.pluck((s=u.fillColor)&&(s.FCcolor&&s.FCcolor.color.split(",")[0]||s)),angle:0,ratio:"0",alpha:"100"}};
43c={enabled:n.includeInLegend,type:this.type,drawLine:r.pluck(n.drawLine,!0),anchorSide:a?n.anchorsides:0,label:r.getFirstValue(this.config.JSONData.seriesname)};n.includeinlegend?((t=i.getItem(this.config.legendItemId))?t.configure({style:i.config.itemStyle,hiddenStyle:i.config.itemHiddenStyle,datasetVisible:i.config.datasetVisible,hoverStyle:i.config.itemHoverStyle}):(this.config.legendItemId=i.createItem(this),t=i.getItem(this.config.legendItemId),this.addExtEventListener("fc-click",function(){t.itemClickFn()},t)),t.configure(c),t.setStateCosmetics("default",{symbol:{fill:r.toRaphaelColor(o),rawFillColor:n.anchorbgcolor,rawStrokeColor:n.lineColor,stroke:r.toRaphaelColor(r.pluck((h=u.lineColor)&&(h.FCcolor&&h.FCcolor.color.split(",")[0]||h))),"stroke-width":n.anchorborderthickness}}),this.getState("visible")?t.removeLegendState("hidden"):t.setLegendState("hidden")):this.config.legendItemId&&i.disposeItem(this.config.legendItemId)},t.prototype.getDSGroupdef=function(){},t.prototype.trimData=function(n){if(this.config.JSONData){var i=this.config,u=i&&i.context,c=u&&u.prevCatlen,f=this.getFromEnv("xAxis").getTicksLen(),e=c-f,o=i.JSONData,l=o.data&&o.data.length,s=n.data&&n.data.length||0,h=l-s,t=void 0,r=void 0;e>h?(t=e,r=f):(t=h,r=s);t>0&&this.removeData(r,t,!1)}},t}(c["default"]);t["default"]=h},function(n,t){"use strict";t.__esModule=!0; 44/** ! 45 * @license FusionCharts JavaScript Library - KDtree 46 * Copyright FusionCharts Technologies LLP 47 * License Information at <http://www.fusioncharts.com/license> 48 * 49 * @version //? write(JSON.parse(require('fs').readFileSync('./package.json')).version); 50 */ 51var u=function(n,t,i,r,u){return Math.pow(i-n,2)+Math.pow(r-t,2)<=Math.pow(u,2)},f=Math.PI,o=Math.cos,s=Math.sin,h=Math.max,c=Math.min,a=f/180,i=function(n,t,i,r,u,f){var e,o,s;return e=(r-t)*(u-i),o=(i-n)*(f-r),isNaN(e)&&(e=0),isNaN(o)&&(o=0),0==(s=e-o)?0:s>0?1:2},r=function(n,t,i,r,u,f){return i<=h(n,u)&&i>=c(n,u)&&r<=h(t,f)&&r>=c(t,f)},v=function(n,t,u,f,e,o,s,h){var c=i(n,t,u,f,e,o),l=i(n,t,u,f,s,h),a=i(e,o,s,h,n,t),v=i(e,o,s,h,u,f);return c!==l&&a!==v||!(0!==c||!r(n,t,e,o,u,f))||!(0!==l||!r(n,t,s,h,u,f))||!(0!==a||!r(e,o,n,t,s,h))||!(0!==v||!r(e,o,u,f,s,h))},y=function(n,t,e,h,c,l,y){var g,p,w,b,k,d,nt,tt=0,it=!1;if(u(n,t,e,h,c)&&l>=3){for(p=void 0===y?.5*f:y%360*a,nt=2*f/l,w=e+c*o(-p),d=h+c*s(-p),g=0;g<l;g++){if(b=e+c*o(-(p+=nt)),k=h+c*s(-p),v(w,d,b,k,n,t,Infinity,t)){if(0===i(w,d,n,t,b,k))return r(w,d,n,t,b,k);tt++}w=b;d=k}it=tt%2!=0}return it},l=function(n,t){return!n||n&&t&&t.i>n.i?t:n},e=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.configure(t)}return n.prototype.configure=function(n){this.validatorFn=n?this.shapeValidator():this.defaultValidator()},n.prototype.defaultValidator=function(){var n=this;return function(t){var i=n.mousePoint;return!!(t&&Math.pow((t.x-i.x)/n.xLimit,2)+Math.pow((t.y-i.y)/n.yLimit,2)<=1)}},n.prototype.shapeValidator=function(){var n=this;return function(t){var c,r,l,a,s,v,h,p,w=n.mousePoint,i=t&&t.shapeInfo,f=!1,e=w.x,o=w.y;switch(i&&i.type){case"circle":r=i.radius;f=u(e,o,t.x,t.y,r);break;case"arc":c=i.innerradius;r=i.radius;f=!u(e,o,t.x,t.y,c)&&u(e,o,t.x,t.y,r);break;case"polygon":r=i.radius;a=i.startAngle;l=i.sides;f=y(e,o,t.x,t.y,r,l,a);break;case"rect":case"rectangle":s=t.x;h=t.y;v=s+(i.width||0);p=h+(i.height||0);f=e>=s&&e<=v&&o>=h&&o<=p;break;case"default":f=!1}return f}},n.prototype.buildKdTree=function(n){return this.kdTree=function(n){function i(n,t,i){var r=n[t];n[t]=n[i];n[i]=r}var t,f,e,r=n&&n[0]&&n[0].r||5,s=Math.max,u=Math.floor,o=Math.sqrt,h=Math.min,c=Math.log,l=Math.exp,a=Math.pow;for(f=function(n,t,r,e){for(var v,b,k,p,d,g,nt,w,y,a;e>r;){for(e-r>600&&(b=t-r+1,k=c(v=e-r+1),p=.5*l(2*k/3),d=.5*o(k*p*(v-p)/v)*(b-v/2<0?-1:1),g=s(r,u(t-b*p/v+d)),nt=h(e,u(t+(v-b)*p/v+d)),f(n,t,g,nt)),w=n[t],y=r,a=e,i(n,r,t),n[e].x>w.x&&i(n,r,e);y<a;){for(i(n,y,a),y++,a--;n[y].x<w.x;)y++;for(;n[a].x>w.x;)a--}n[r].x===w.x?i(n,r,a):i(n,++a,e);a<=t&&(r=a+1);t<=a&&(e=a-1)}},e=function(n,t,r,f){for(var v,b,k,p,d,g,nt,w,y,a;f>r;){for(f-r>600&&(b=t-r+1,k=c(v=f-r+1),p=.5*l(2*k/3),d=.5*o(k*p*(v-p)/v)*(b-v/2<0?-1:1),g=s(r,u(t-b*p/v+d)),nt=h(f,u(t+(v-b)*p/v+d)),e(n,t,g,nt)),w=n[t],y=r,a=f,i(n,r,t),n[f].y>w.y&&i(n,r,f);y<a;){for(i(n,y,a),y++,a--;n[y].y<w.y;)y++;for(;n[a].y>w.y;)a--}n[r].y===w.y?i(n,r,a):i(n,++a,f);a<=t&&(r=a+1);t<=a&&(f=a-1)}},t=(n=n||[]).length;t--;)n[t].r>r&&(r=n[t].r),n[t].i=t,n[t].x=+n[t].x,n[t].y=+n[t].y;return{tree:0===n.length?{}:function v(n,t,i,r){var o,u={},s=r?"y":"x";return t===i?(u.point=n[t],u):i-t==1?(n[t][s]>n[i][s]?(u.point=n[t],u.left={point:n[i]}):(u.point=n[i],u.left={point:n[t]}),u):(o=t+i>>1,r?e(n,o,t,i):f(n,o,t,i),u.point=n[o],u.left=v(n,t,o-1,!r),u.right=v(n,o+1,i,!r),u)}(n,0,n.length-1,!1),search:function(n,t,i,u){function w(n,t,i,r){return o(a(n-i,2)+a(t-r,2))}function b(r,u){return"circle"===i?w(r,u,n,t)<=s:r>=s&&r<=v&&u>=y&&u<=p}function k(n,t,i){return n>=t&&n<=i}function d(i){var r=k(n,i.x1,i.x2)&&k(t,i.y1,i.y2),u=w(n,t,i.point.x,i.point.y);if(!f)return f=i,e=r,void(h=u);r?e?i.point.i>f.point.i&&(f=i,e=r,h=u):(f=i,e=r,h=u):e||u<h&&(f=i,e=r,h=u)}
51function g(r,u){"circle"===i?s=r:(s=n-r||0,v=n+r||0,y=t-u||0,p=t+u||0)}var f,c,l,nt=this.tree,s=n-r,v=n+r,y=t-r,p=t+r,e=!1,h=0;return u=u||{},l=function(n){n&&n.point&&(g(u.rx||n.point.r,u.ry||n.point.r),b(n.point.x,n.point.y)&&d(n),y<=n.point.y&&c(n.left),p>=n.point.y&&c(n.right))},(c=function(n){n&&n.point&&(g(u.rx||n.point.r,u.ry||n.point.r),b(n.point.x,n.point.y)&&d(n),s<=n.point.x&&l(n.left),v>=n.point.x&&l(n.right))})(nt),f&&f.point||f}}}(n),this.tree=this.kdTree.tree,this},n.prototype.getNeighbour=function(n,t,i){var r=this.tree,u={x1:n.x-this.xLimit,x2:n.x+this.xLimit,y1:n.y-this.yLimit,y2:n.y+this.yLimit},f=this.validatorFn;return this.mousePoint=n,t?this.kdTree&&this.kdTree.search(n.x,n.y,i,n.options):r?this._searchBtwnLimit(u,r,!0,f):void 0},n.prototype._searchBtwnLimit=function(n,t,i,r){var f,u,e=i?"x":"y",o=i?n.x1:n.y1,s=i?n.x2:n.y2;if(void 0!==(f=t&&t.point&&t.point[e]))return r(t.point)&&(u=t.point),f>=o&&t.left&&(u=l(u,this._searchBtwnLimit(n,t.left,!i,r))),f<=s&&t.right&&(u=l(u,this._searchBtwnLimit(n,t.right,!i,r))),u},n.prototype._setSearchLimit=function(n,t){this.xLimit=n;this.yLimit=t},n}();e.prototype.constructor=e;t["default"]=e},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(452),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"*.dataset.scatter":f["default"]["*.dataset.line"]}},,,,,,function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,f;t.__esModule=!0;t._checkInvalidSpecificData=undefined;var e=r(i(459)),o=r(i(432)),s=r(i(525)),h=r(i(547));u=function(){var i=this.getFromEnv("dataSource"),n=i.dataset,r=i.categories,t=void 0;if(!n||!r)return!0;if(t=n.length)for(;t--;)if(!n[t].dataset)return!0};f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("dataset",h["default"],["vCanvas"]),i}return c(t,n),t.getName=function(){return"MSStackedColumn2D"},t.prototype._checkInvalidSpecificData=function(){return u.call(this)},t.prototype.getName=function(){return"MSStackedColumn2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Stacked Column Chart";t.defaultDatasetType="column";t.isstacked=!0;t.enablemousetracking=!0},t.prototype.getDSdef=function(){return o["default"]},t.prototype.getDSGroupdef=function(){return s["default"]},t}(e["default"]);t["default"]=f;t._checkInvalidSpecificData=u},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var i=n.getFromEnv("dataSource").dataset,c=i&&i.length,t=void 0,r=void 0,l=0,f=void 0,a=n.getChildren("canvas")[0].getChildren("vCanvas")[0],o=void 0,s=void 0,v=[],h=void 0;if(i){for(u.componentFactory(a,e["default"],"multiSeriesGroup_column"),h=a.getChildren("multiSeriesGroup_column")[0],t=0;t<c;t++)v.push(i[t].dataset);for(u.componentFactory(h,n.getDSGroupdef(),"stackedGroup_column",c,v),s=h.getChildren("stackedGroup_column"),t=0;t<s.length;t++)if(!0!==s[t].getState("removed")){if(!(f=i[t].dataset))return void n.setChartMessage();r=f&&f.length;o=Array(r).fill(t*l).map(function(n,t){return n+t});u.datasetFactory(s[t],n.getDSdef(),"dataset_column",r,f,o);l=r}n.config._lastDatasetIndex=o[o.length-1]}else n.setChartMessage()};var r,u=i(125),f=i(516),e=(r=f)&&r.__esModule?r:{"default":r}},,,function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}
51}function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,f;t.__esModule=!0;r=u(i(450));f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=0,i}return e(t,n),t.getName=function(){return"MSArea"},t.prototype.getName=function(){return"MSArea"},t.prototype.getDSdef=function(){return r["default"]},t.prototype.getDSGroupdef=function(){return undefined},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Area Chart";t.defaultDatasetType="area";t.defaultcrosslinethickness=1},t}(u(i(551))["default"]);t["default"]=f},function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;t._setDefaultConfig=undefined;var r,e=i(518),o=(r=e)&&r.__esModule?r:{"default":r},u=i(125);var h=u.preDefStr.SEVENTYSTRING,f=function(){var n=this.config;n.anchorborderthickness=1;n.anchorimageurl=void 0;n.anchorimagepadding=1;n.anchorsides=1;n.anchoralpha=void 0;n.anchorbgalpha=u.HUNDREDSTRING;n.anchorimagealpha=u.HUNDREDSTRING;n.anchorimagescale=100;n.anchorstartangle=90;n.anchorshadow=0;n.anchorbgcolor=void 0;n.anchorbordercolor=void 0;n.anchorradius=3;n.showvalues=1;n.plotfillalpha=h;n.linedashlen=5;n.linedashgap=4;n.linedashed=void 0;n.linealpha=u.HUNDREDSTRING;n.linethickness=2;n.drawfullareaborder=1;n.connectnulldata=0},c=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.getName=function(){return"AreaBase"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);f.call(this)},t}(o["default"]);t["default"]=c;t._setDefaultConfig=f},,,,,,,,,,,,,,,,function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var u=i(125),o=r(i(495)),s=i(546),h=r(i(449)),c=r(i(432)),l=r(i(525)),a=r(i(568));f=u.preDefStr.SEVENTYSTRING;e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.stack100percent=0,i.hasLineSet=!0,i.lineset=!0,i.registerFactory("dataset",a["default"],["vCanvas"]),i}return v(t,n),t.getName=function(){return"MSStackedColumn2DLineDy"},t.prototype.getName=function(){return"MSStackedColumn2DLineDy"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.sDefaultDatasetType="line";t.friendlyName="Multi-series Dual Y-Axis Stacked Column and Line Chart";t.defaultDatasetType="column";t.isdual=!0;
51t.haslineset=!0;t.isstacked=!0;t.enablemousetracking=!0;t.anchorborderthickness=1;t.anchorimageurl=void 0;t.anchorimagepadding=1;t.anchorsides=1;t.anchoralpha=void 0;t.anchorbgalpha=u.HUNDREDSTRING;t.anchorimagealpha=u.HUNDREDSTRING;t.anchorimagescale=100;t.anchorstartangle=90;t.anchorshadow=0;t.anchorbgcolor=void 0;t.anchorbordercolor=void 0;t.anchorradius=3;t.showvalues=1;t.plotfillalpha=f;t.linedashlen=5;t.linedashgap=4;t.linedashed=void 0;t.linealpha=u.HUNDREDSTRING;t.linethickness=2;t.drawfullareaborder=1;t.connectnulldata=0},t.prototype._checkInvalidSpecificData=function(){return s._checkInvalidSpecificData.call(this)},t.prototype.getDSdef=function(n){return"line"===n?h["default"]:c["default"]},t.prototype.getDSGroupdef=function(){return l["default"]},t}(o["default"]);t["default"]=e},function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var i,r=n.getFromEnv("dataSource"),h=r.dataset,t=r.lineset,u=void 0,s=n.getChildren("canvas")[0].getChildren("vCanvas")[1];h||0!==t.length?(f["default"](n),i=n.config._lastDatasetIndex+1,t&&t.length?(u=Array(t.length).fill(i).map(function(n,t){return n+t}),e.datasetFactory(s,n.getDSdef("line"),"dataset_line",t.length,t,u)):o(s)):n.setChartMessage()};var r,u=i(547),f=(r=u)&&r.__esModule?r:{"default":r},e=i(125),o=function(n){for(var i=n.getChildren("dataset_line"),t=void 0,t=i&&i.length-1;t>-1;t--)i[t].remove()}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(551));u=f(i(449));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i.axisPaddingLeft=0,i.axisPaddingRight=0,i}return o(t,n),t.getName=function(){return"MSLine"},t.prototype.getName=function(){return"MSLine"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Line Chart";t.defaultDatasetType="line";t.zeroplanethickness=1;t.zeroplanealpha=40;t.showzeroplaneontop=0;t.enablemousetracking=!0;t.defaultcrosslinethickness=1},t.prototype.getDSdef=function(){return u["default"]},t.prototype.getDSGroupdef=function(){},t}(r["default"]);t["default"]=e},,,function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(599),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(600),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=i(551);u=f(i(514));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i}return o(t,n),t.getName=function(){return"Spline"},t.prototype.getName=function(){return"Spline"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Spline Chart";t.singleseries=!0;t.defaultDatasetType="msspline";t.minimizetendency=0;
51t.zeroplanethickness=1;t.zeroplanealpha=40;t.showzeroplaneontop=0;t.enablemousetracking=!0;t.defaultcrosslinethickness=1;r._setDefaultConfig.call(this)},t.prototype.getDSdef=function(){return u["default"]},t}(f(i(359))["default"]);t["default"]=e},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(602),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(600)),e=i(551),o=r(i(510));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=0,i}return s(t,n),t.getName=function(){return"SplineArea"},t.prototype.getName=function(){return"SplineArea"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;e._setDefaultConfig.call(this);t.friendlyName="Spline Area Chart";t.singleseries=!0;t.hasLegend=!1;t.defaultDatasetType="mssplinearea";t.anchoralpha="100";t.minimizetendency=0;t.enablemousetracking=!0;t.defaultcrosslinethickness=1;t.showzeroplaneontop=1},t.prototype.getDSdef=function(){return o["default"]},t.prototype.getDSGroupdef=function(){},t}(f["default"]);t["default"]=u},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(604),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(605),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=i(551);u=f(i(514));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i}return o(t,n),t.getName=function(){return"MSSpline"},t.prototype.getName=function(){return"MSSpline"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Spline Chart";t.defaultDatasetType="msspline";t.minimizetendency=0;t.zeroplanethickness=1;t.zeroplanealpha=40;t.showzeroplaneontop=0;t.enablemousetracking=!0;t.defaultcrosslinethickness=1;r._setDefaultConfig.call(this)},t.prototype.getDSdef=function(){return u["default"]},t.prototype.getDSGroupdef=function(){},t}(f(i(459))["default"]);t["default"]=e},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(607),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=i(551),e=r(i(495)),o=r(i(514));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.isDual=!0,i}return s(t,n),t.getName=function(){return"MSSplineDy"},t.prototype.getName=function(){return"MSSplineDy"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Dual Y-Axis Spline Chart";t.defaultDatasetType="msspline";t.minimizetendency=0;
51t.zeroplanethickness=1;t.zeroplanealpha=40;t.showzeroplaneontop=0;t.enablemousetracking=!0;t.defaultcrosslinethickness=1;t.isdual=!0;f._setDefaultConfig.call(this)},t.prototype.getDSdef=function(){return o["default"]},t.prototype.getDSGroupdef=function(){},t.prototype.getDSType=function(){return"spline"},t}(e["default"]);t["default"]=u},function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(609),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(605)),e=i(551),o=r(i(510));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.friendlyName="Multi-series Spline Area Chart",i.defaultPlotShadow=0,i}return s(t,n),t.getName=function(){return"MSSplineArea"},t.prototype.getName=function(){return"MSSplineArea"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;e._setDefaultConfig.call(this);t.defaultDatasetType="mssplinearea";t.minimizetendency=0;t.zeroplanethickness=2;t.zeroplanealpha=80;t.showzeroplaneontop=1;t.enablemousetracking=!0;t.defaultcrosslinethickness=1},t.prototype.getDSdef=function(){return o["default"]},t.prototype.getDSGroupdef=function(){},t}(f["default"]);t["default"]=u},,,,,function(n,t,i){"use strict";i.r(t);var r=i(615),u=i(618),f=i(621),e=i(624),o=i(632),s=Object(r["default"])(Object(u["default"])(["fantasy-land/chain","chain"],e["default"],function(n,t){return"function"==typeof t?function(i){return n(t(i))(i)}:Object(f["default"])(!1)(Object(o["default"])(n,t))}));t["default"]=s},function(n,t,i){"use strict";function f(n){return function t(i,f){switch(arguments.length){case 0:return t;case 1:return Object(r["default"])(i)?t:Object(u["default"])(function(t){return n(i,t)});default:return Object(r["default"])(i)&&Object(r["default"])(f)?t:Object(r["default"])(i)?Object(u["default"])(function(t){return n(t,f)}):Object(r["default"])(f)?Object(u["default"])(function(t){return n(i,t)}):n(i,f)}}}i.r(t);i.d(t,"default",function(){return f});var u=i(616),r=i(617)},function(n,t,i){"use strict";function u(n){return function t(i){return 0===arguments.length||Object(r["default"])(i)?t:n.apply(this,arguments)}}i.r(t);i.d(t,"default",function(){return u});var r=i(617)},function(n,t,i){"use strict";function r(n){return null!=n&&"object"==typeof n&&!0===n["@@functional/placeholder"]}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";function f(n,t,i){return function(){var o,f,e;if(0===arguments.length)return i();if(o=Array.prototype.slice.call(arguments,0),f=o.pop(),!Object(r["default"])(f)){for(e=0;e<n.length;){if("function"==typeof f[n[e]])return f[n[e]].apply(f,o);e+=1}if(Object(u["default"])(f))return t.apply(null,o)(f)}return i.apply(this,arguments)}}i.r(t);i.d(t,"default",function(){return f});var r=i(619),u=i(620)},function(n,t,i){"use strict";i.r(t);t["default"]=Array.isArray||function(n){return null!=n&&n.length>=0&&"[object Array]"===Object.prototype.toString.call(n)}},function(n,t,i){"use strict";function r(n){return"function"==typeof n["@@transducer/step"]}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";function u(n){return function t(i){for(var o,s,e,f=[],u=0,h=i.length;u<h;){if(Object(r["default"])(i[u]))for(e=0,s=(o=n?t(i[u]):i[u]).length;e<s;)f[f.length]=o[e],e+=1;else f[f.length]=i[u];u+=1}return f}}i.r(t);i.d(t,"default",function(){return u});var r=i(622)},function(n,t,i){"use strict";i.r(t);var r=i(616),u=i(619),f=i(623),e=Object(r["default"])(function(n){return!!Object(u["default"])(n)||!!n&&"object"==typeof n&&!Object(f["default"])(n)&&(1===n.nodeType?!!n.length:0===n.length||n.length>0&&n.hasOwnProperty(0)&&n.hasOwnProperty(n.length-1))});t["default"]=e},function(n,t,i){"use strict";function r(n){return"[object String]"===Object.prototype.toString.call(n)}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);var r=i(615),u=i(625),f=i(632),e=Object(r["default"])(function(n,t){return Object(f["default"])(n,Object(u["default"])(t))});t["default"]=e},function(n,t,i){"use strict";i.r(t);var f=i(626),e=i(622),r=i(627),u=i(631);t["default"]=function(n){var t=function(n){return{"@@transducer/init":u["default"].init,"@@transducer/result":function(t){return n["@@transducer/result"](t)},"@@transducer/step":function(t,i){var r=n["@@transducer/step"](t,i);return r["@@transducer/reduced"]?Object(f["default"])(r):r}}}(n);return{"@@transducer/init":u["default"].init,"@@transducer/result":function(n){return t["@@transducer/result"](n)},"@@transducer/step":function(n,i){return Object(e["default"])(i)?Object(r["default"])(t,n,i):Object(r["default"])(t,n,[i])}}}},function(n,t,i){"use strict";function r(n){return{"@@transducer/value":n,"@@transducer/reduced":!0}}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";function u(n,t,i){for(var r=i.next();!r.done;){if((t=n["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=i.next()}return n["@@transducer/result"](t)}function f(n,t,i,r){return n["@@transducer/result"](i[r](Object(s["default"])(n["@@transducer/step"],n),t))}function h(n,t,i){if("function"==typeof n&&(n=Object(o["default"])(n)),Object(e["default"])(i))return function(n,t,i){for(var r=0,u=i.length;r<u;){if((t=n["@@transducer/step"](t,i[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return n["@@transducer/result"](t)}(n,t,i);if("function"==typeof i["fantasy-land/reduce"])return f(n,t,i,"fantasy-land/reduce");if(null!=i[r])return u(n,t,i[r]());if("function"==typeof i.next)return u(n,t,i);if("function"==typeof i.reduce)return f(n,t,i,"reduce");throw new TypeError("reduce: list must be array or iterable");}var r;i.r(t);i.d(t,"default",function(){return h});var e=i(622),o=i(628),s=i(629);r="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator"},function(n,t,i){"use strict";function u(n){return new r(n)}i.r(t);i.d(t,"default",function(){return u});var r=function(){function n(n){this.f=n}return n.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap");},n.prototype["@@transducer/result"]=function(n){return n},n.prototype["@@transducer/step"]=function(n,t){return this.f(n,t)},n}()},function(n,t,i){"use strict";i.r(t);var r=i(630),u=i(615),f=Object(u["default"])(function(n,t){return Object(r["default"])(n.length,function(){return n.apply(t,arguments)})});t["default"]=f},function(n,t,i){"use strict";function r(n,t){switch(n){case 0:return function(){return t.apply(this,arguments)};case 1:return function(){return t.apply(this,arguments)};case 2:return function(){return t.apply(this,arguments)};case 3:return function(){return t.apply(this,arguments)};case 4:return function(){return t.apply(this,arguments)};case 5:return function(){return t.apply(this,arguments)};case 6:return function(){return t.apply(this,arguments)};case 7:return function(){return t.apply(this,arguments)};case 8:return function(){return t.apply(this,arguments)};case 9:return function(){return t.apply(this,arguments)};case 10:return function(){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten");}}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);t["default"]={init:function(){return this.xf["@@transducer/init"]()},result:function(n){return this.xf["@@transducer/result"](n)}}},function(n,t,i){"use strict";i.r(t);var r=i(615),u=i(618),f=i(633),e=i(627),o=i(634),s=i(635),h=i(637),c=Object(r["default"])(Object(u["default"])(["fantasy-land/map","map"],o["default"],function(n,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return Object(s["default"])(t.length,function(){return n.call(this,t.apply(this,arguments))});case"[object Object]":return Object(e["default"])(function(i,r){return i[r]=n(t[r]),i},{},Object(h["default"])(t));default:return Object(f["default"])(n,t)}}));t["default"]=c},function(n,t,i){"use strict";function r(n,t){for(var i=0,r=t.length,u=Array(r);i<r;)u[i]=n(t[i]),i+=1;return u}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);var u=i(615),r=i(631),f=function(){function n(n,t){this.xf=t;this.f=n}return n.prototype["@@transducer/init"]=r["default"].init,n.prototype["@@transducer/result"]=r["default"].result,n.prototype["@@transducer/step"]=function(n,t){return this.xf["@@transducer/step"](n,this.f(t))},n}(),e=Object(u["default"])(function(n,t){return new f(n,t)});t["default"]=e},function(n,t,i){"use strict";i.r(t);var r=i(630),u=i(616),f=i(615),e=i(636),o=Object(f["default"])(function(n,t){return 1===n?Object(u["default"])(t):Object(r["default"])(n,Object(e["default"])(n,[],t))});t["default"]=o},function(n,t,i){"use strict";function u(n,t,i){return function(){for(var s,h=[],o=0,c=n,e=0;e<t.length||o<arguments.length;)e<t.length&&(!Object(r["default"])(t[e])||o>=arguments.length)?s=t[e]:(s=arguments[o],o+=1),h[e]=s,Object(r["default"])(s)||(c-=1),e+=1;return c<=0?i.apply(this,h):Object(f["default"])(c,u(n,h,i))}}i.r(t);i.d(t,"default",function(){return u});var f=i(630),r=i(617)},function(n,t,i){"use strict";i.r(t);var e=i(616),r=i(638),o=i(639),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
51ing"],f=function(){return arguments.propertyIsEnumerable("length")}(),h=function(n,t){for(var i=0;i<n.length;){if(n[i]===t)return!0;i+=1}return!1},c="function"!=typeof Object.keys||f?function(n){if(Object(n)!==n)return[];var t,e,i=[],c=f&&Object(o["default"])(n);for(t in n)!Object(r["default"])(t,n)||c&&"length"===t||(i[i.length]=t);if(s)for(e=u.length-1;e>=0;)t=u[e],Object(r["default"])(t,n)&&!h(i,t)&&(i[i.length]=t),e-=1;return i}:function(n){return Object(n)!==n?[]:Object.keys(n)},l=Object(e["default"])(c);t["default"]=l},function(n,t,i){"use strict";function r(n,t){return Object.prototype.hasOwnProperty.call(t,n)}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);var u=i(638),r=Object.prototype.toString;t["default"]=function(){return"[object Arguments]"===r.call(arguments)?function(n){return"[object Arguments]"===r.call(n)}:function(n){return Object(u["default"])("callee",n)}}},function(n,t,i){"use strict";i.r(t);var r=i(641),u=i(616),f=i(635),e=Object(u["default"])(function(n){return Object(f["default"])(n.length,function(){var t=0,u=arguments[0],f=arguments[arguments.length-1],i=Array.prototype.slice.call(arguments,0);return i[0]=function(){var n=u.apply(this,Object(r["default"])(arguments,[t,f]));return t+=1,n},n.apply(this,i)})});t["default"]=e},function(n,t,i){"use strict";function r(n,t){var i;n=n||[];t=t||[];var u=n.length,f=t.length,r=[];for(i=0;i<u;)r[r.length]=n[i],i+=1;for(i=0;i<f;)r[r.length]=t[i],i+=1;return r}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);var r=i(615),u=Object(r["default"])(function(n,t){for(var i,r=0,f=n.length,e=t.length,u=[];r<f;){for(i=0;i<e;)u[u.length]=[n[r],t[i]],i+=1;r+=1}return u});t["default"]=u},function(n,t,i){"use strict";i.r(t);var r=i(644),u=i(616),f=Object(u["default"])(function(n){return null!=n&&"function"==typeof n.clone?n.clone():Object(r["default"])(n,[],[],!0)});t["default"]=f},function(n,t,i){"use strict";function r(n,t,i,e){var o=function(u){for(var o,s=t.length,f=0;f<s;){if(n===t[f])return i[f];f+=1}for(o in t[f+1]=n,i[f+1]=u,n)u[o]=e?r(n[o],t,i,!0):n[o];return u};switch(Object(f["default"])(n)){case"Object":return o({});case"Array":return o([]);case"Date":return new Date(n.valueOf());case"RegExp":return Object(u["default"])(n);default:return n}}i.r(t);i.d(t,"default",function(){return r});var u=i(645),f=i(646)},function(n,t,i){"use strict";function r(n){return new RegExp(n.source,(n.global?"g":"")+(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.sticky?"y":"")+(n.unicode?"u":""))}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);var r=i(616),u=Object(r["default"])(function(n){return null===n?"Null":n===undefined?"Undefined":Object.prototype.toString.call(n).slice(8,-1)});t["default"]=u},function(n,t,i){"use strict";i.r(t);var r=i(648),u=i(650),f=Object(u["default"])(r["default"]);t["default"]=f},function(n,t,i){"use strict";i.r(t);var r=i(616),u=i(649),f=Object(r["default"])(u["default"]);t["default"]=f},function(n,t,i){"use strict";function r(n){return n}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);var r=i(651),u=i(615),f=Object(u["default"])(function(n,t){for(var u,f,o=new r["default"],e=[],i=0;i<t.length;)u=n(f=t[i]),o.add(u)&&e.push(f),i+=1;return e});t["default"]=f},function(n,t,i){"use strict";function u(n,t,i){var f,u=typeof n,e;switch(u){case"string":case"number":return 0===n&&1/n==-Infinity?!!i._items["-0"]||(t&&(i._items["-0"]=!0),!1):null!==i._nativeSet?t?(f=i._nativeSet.size,i._nativeSet.add(n),i._nativeSet.size===f):i._nativeSet.has(n):u in i._items?n in i._items[u]||(t&&(i._items[u][n]=!0),!1):(t&&(i._items[u]={},i._items[u][n]=!0),!1);case"boolean":return u in i._items?(e=n?1:0,!!i._items[u][e]||(t&&(i._items[u][e]=!0),!1)):(t&&(i._items[u]=n?[!1,!0]:[!0,!1]),!1);case"function":return null!==i._nativeSet?t?(f=i._nativeSet.size,i._nativeSet.add(n),i._nativeSet.size===f):i._nativeSet.has(n):u in i._items?!!Object(r["default"])(n,i._items[u])||(t&&i._items[u].push(n),!1):(t&&(i._items[u]=[n]),!1);case"undefined":return!!i._items[u]||(t&&(i._items[u]=!0),!1);case"object":if(null===n)return!!i._items["null"]||(t&&(i._items["null"]=!0),!1);default:return(u=Object.prototype.toString.call(n))in i._items?!!Object(r["default"])(n,i._items[u])||(t&&i._items[u].push(n),!1):(t&&(i._items[u]=[n]),!1)}}i.r(t);var r=i(652),f=function(){function n(){this._nativeSet="function"==typeof Set?new Set:null;this._items={}}return n.prototype.add=function(n){return!u(n,!0,this)},n.prototype.has=function(n){return u(n,!1,this)},n}();t["default"]=f},function(n,t,i){"use strict";function u(n,t){return Object(r["default"])(t,n,0)>=0}i.r(t);i.d(t,"default",function(){return u});var r=i(653)},function(n,t,i){"use strict";function u(n,t,i){var f,u;if("function"==typeof n.indexOf)switch(typeof t){case"number":if(0===t){for(f=1/t;i<n.length;){if(0===(u=n[i])&&1/u===f)return i;i+=1}return-1}if(t!=t){for(;i<n.length;){if("number"==typeof(u=n[i])&&u!=u)return i;i+=1}return-1}return n.indexOf(t,i);case"string":case"boolean":case"function":case"undefined":return n.indexOf(t,i);case"object":if(null===t)return n.indexOf(t,i)}for(;i<n.length;){if(Object(r["default"])(n[i],t))return i;i+=1}return-1}i.r(t);i.d(t,"default",function(){return u});var r=i(654)},function(n,t,i){"use strict";i.r(t);var r=i(615),u=i(655),f=Object(r["default"])(function(n,t){return Object(u["default"])(n,t,[],[])});t["default"]=f},function(n,t,i){"use strict";function h(n,t,i,r){function h(n,t){return u(n,t,i.slice(),r.slice())}var o=Object(f["default"])(n),s=Object(f["default"])(t);return!Object(e["default"])(function(n,t){return!Object(e["default"])(h,t,n)},s,o)}function u(n,t,i,f){var a,e,v,p,w,y;if(Object(r["default"])(n,t))return!0;
51if((a=Object(s["default"])(n),a!==Object(s["default"])(t))||null==n||null==t)return!1;if("function"==typeof n["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n);if("function"==typeof n.equals||"function"==typeof t.equals)return"function"==typeof n.equals&&n.equals(t)&&"function"==typeof t.equals&&t.equals(n);switch(a){case"Arguments":case"Array":case"Object":if("function"==typeof n.constructor&&"Promise"===Object(c["default"])(n.constructor))return n===t;break;case"Boolean":case"Number":case"String":if(typeof n!=typeof t||!Object(r["default"])(n.valueOf(),t.valueOf()))return!1;break;case"Date":if(!Object(r["default"])(n.valueOf(),t.valueOf()))return!1;break;case"Error":return n.name===t.name&&n.message===t.message;case"RegExp":if(n.source!==t.source||n.global!==t.global||n.ignoreCase!==t.ignoreCase||n.multiline!==t.multiline||n.sticky!==t.sticky||n.unicode!==t.unicode)return!1}for(e=i.length-1;e>=0;){if(i[e]===n)return f[e]===t;e-=1}switch(a){case"Map":return n.size===t.size&&h(n.entries(),t.entries(),i.concat([n]),f.concat([t]));case"Set":return n.size===t.size&&h(n.values(),t.values(),i.concat([n]),f.concat([t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}if(v=Object(o["default"])(n),v.length!==Object(o["default"])(t).length)return!1;for(p=i.concat([n]),w=f.concat([t]),e=v.length-1;e>=0;){if(y=v[e],!Object(l["default"])(y,t)||!u(t[y],n[y],p,w))return!1;e-=1}return!0}i.r(t);i.d(t,"default",function(){return u});var f=i(656),e=i(657),c=i(658),l=i(638),r=i(659),o=i(637),s=i(646)},function(n,t,i){"use strict";function r(n){for(var t,i=[];!(t=n.next()).done;)i.push(t.value);return i}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";function r(n,t,i){for(var r=0,u=i.length;r<u;){if(n(t,i[r]))return!0;r+=1}return!1}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";function r(n){var t=String(n).match(/^function (\w*)/);return null==t?"":t[1]}i.r(t);i.d(t,"default",function(){return r})},function(n,t,i){"use strict";i.r(t);var r=i(615),u=Object(r["default"])(function(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t});t["default"]=u},,,,,,,,,,,,,,,,,,,,,function(n,t,i){"use strict";i.r(t);var r=i(681),u=i(615),f=Object(u["default"])(function(n,t){return Object(r["default"])({},n,t)});t["default"]=f},function(n,t,i){"use strict";i.r(t);var r=i(682);t["default"]="function"==typeof Object.assign?Object.assign:r["default"]},function(n,t,i){"use strict";function u(n){var t,i;if(null==n)throw new TypeError("Cannot convert undefined or null to object");for(var f=Object(n),u=1,e=arguments.length;u<e;){if(t=arguments[u],null!=t)for(i in t)Object(r["default"])(i,t)&&(f[i]=t[i]);u+=1}return f}i.r(t);i.d(t,"default",function(){return u});var r=i(638)},,,,,,,,,,,,,,,,,,,,function(n,t,i){"use strict";i.r(t);var r=i(616),u=Object(r["default"])(function(n){for(var u,t,r=0,i=[];r<n.length;){for(u=n[r],t=0;t<u.length;)"undefined"==typeof i[t]&&(i[t]=[]),i[t].push(u[t]),t+=1;r+=1}return i});t["default"]=u},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var s=r(i(402)),u=i(400),h=r(u),c=r(i(745));var a=function(n,t){return(t=Math.log(t/n))?function(i){return Math.log(i/n)/t}:s["default"](t)},v=function(n,t){return n<0?function(i){return-Math.pow(-t,i)*Math.pow(-n,1-i)}:function(i){return Math.pow(t,i)*Math.pow(n,1-i)}},y=function(n){return isFinite(n)?+("1e"+n):n<0?0:n},f=function(n){return 10===n?y:n===Math.E?Math.exp:function(t){return Math.pow(n,t)}},e=function(n){return n===Math.E?Math.log:10===n?Math.log10:2===n?Math.log2:function(t){return Math.log(t)/Math.log(n)}},o=function(n){return function(t){return-n(-t)}},p=function(n){function t(){var i;return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),(i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this,a,v)),i).setDomain([1,10]),i.base=10,i.logs=e(i.base),i.pows=f(i.base),i}return l(t,n),t.prototype._rescaleLog=function(){return this.logs=e(this.base),this.pows=f(this.base),this.getDomain()[0]<0&&(this.logs=o(this.logs),this.pows=o(this.pows)),this},t.prototype.setBase=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:10;return this.base=Number(n),this._rescaleLog()},t.prototype.getBase=function(){return this.base},t.prototype.setDomain=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[1,10];return n.prototype.setDomain.call(this,t),this._rescaleLog()},t.prototype.nice=function(){var i,r,u=this.getDomain(),n=u[0],t=u[1],f=this.base;return n===t&&(n-=n/100),i=Math.log(n)/Math.log(f),r=Math.log(t)/Math.log(f),(i%1||r%1)&&(n<=t?(n=this.pows(Math.floor(i)),t=this.pows(Math.ceil(r))):(n=this.pows(Math.ceil(i)),t=this.pows(Math.floor(r))),this.setDomain([n,t])),this},t.prototype.tickFormat=function(n,t){var i=this.base;return null==t&&(t=10===i?".0e":","),"function"!=typeof t&&(t=this._localeConverter.formatter(t)),null==n&&(n=10),function(n){return t.format(n)}},t.prototype.ticks=function(){var r,e,o,s,u,h,l=this.getDomain(),t=l[0],i=l[1],a=1,v=0,f=[],n=this.base,c;if(t<=0||i<=0)return f;for(t>i&&(c=this.getDomain(),i=c[0],t=c[1],a=0),n>
511?(e=r=Math.ceil(Math.log(i)/Math.log(n)),o=Math.floor(Math.log(t)/Math.log(n))):n>0&&n<1&&(r=Math.floor(Math.log(i)/Math.log(n)),e=Math.ceil(Math.log(t)/Math.log(n)),o=r),u=r,h=e;h>=o;--h)t<=(s=this.pows(u))&&i>=s&&(f[v++]=s),n>1?u--:u++;return this.majorTicks=a?f.reverse():f},t.prototype.copy=function(){return u.copyScale(this,(new t).setBase(this.base))},t.prototype.minorTicks=function(n){var h=arguments.length>1&&arguments[1]!==undefined?arguments[1]:this.majorTicks||this.ticks(),t=this.base,l=c["default"](h),r=void 0,f=[],a=Math.log(t)/Math.log(10),e=t>1?-1:1,i=void 0,o=void 0,s=void 0,u=void 0;return n=Number(n)||a%1?4:8,l.forEach(function(h){var l=h[0],c=h[1];for(t>1?i=Math.ceil(Math.log(c)/Math.log(t)):t>0&&t<1&&(i=Math.floor(Math.log(c)/Math.log(t))),s=Math.pow(t,i)-Math.pow(t,i+e),o=s/(n+1),r=1;r<=n;++r)l<=(u=Math.pow(t,i+e)+o*r)&&c>=u&&f.push(u)}),f},t.prototype.contextTicks=function(){return this.contextTicksArr||[]},t.prototype.getType=function(){return"log"},t}(h["default"]);t["default"]=p},function(n,t){"use strict";function i(n,t){return[n,t]}
51t.__esModule=!0;t["default"]=function(n,t){null!==t&&void 0!==t||(t=i);for(var r=0,u=n.length-1,f=n[0],e=new Array(u<0?0:u);r<u;)e[r]=t(f,f=n[++r]);return e}},,,,,,,,,,,function(n){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},,,,,,,,,,function(n,t,i){"use strict";i.r(t);var r=i(615),u=i(618),f=i(767),e=Object(r["default"])(Object(u["default"])(["all"],f["default"],function(n,t){for(var i=0;i<t.length;){if(!n(t[i]))return!1;i+=1}return!0}));t["default"]=e},function(n,t,i){"use strict";i.r(t);var r=i(615),u=i(768),f=i(631),e=function(){function n(n,t){this.xf=t;this.f=n;this.all=!0}return n.prototype["@@transducer/init"]=f["default"].init,n.prototype["@@transducer/result"]=function(n){return this.all&&(n=this.xf["@@transducer/step"](n,!0)),this.xf["@@transducer/result"](n)},n.prototype["@@transducer/step"]=function(n,t){return this.f(t)||(this.all=!1,n=Object(u["default"])(this.xf["@@transducer/step"](n,!1))),n},n}(),o=Object(r["default"])(function(n,t){return new e(n,t)});t["default"]=o},function(n,t,i){"use strict";function r(n){return n&&n["@@transducer/reduced"]?n:{"@@transducer/value":n,"@@transducer/reduced":!0}}i.r(t);i.d(t,"default",function(){return r})},,,,function(n,t,i){i(297);i(78);i(298);i(773);i(774);i(775);i(776);n.exports=i(7).Map},function(n,t,i){"use strict";var r=i(302),u=i(308);n.exports=i(309)("Map",function(n){return function(){return n(this,arguments.length>0?arguments[0]:undefined)}},{get:function(n){var t=r.getEntry(u(this,"Map"),n);return t&&t.v},set:function(n,t){return r.def(u(this,"Map"),0===n?0:n,t)}},r,!0)},function(n,t,i){var r=i(5);r(r.P+r.R,"Map",{toJSON:i(313)("Map")})},function(n,t,i){i(316)("Map")},function(n,t,i){i(318)("Map")},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var u,f,e,o,s,h,c,l,a;Object.defineProperty(t,"__esModule",{value:!0});
51t.create=t.createGenerateClassName=t.sheets=t.RuleList=t.SheetsManager=t.SheetsRegistry=t.toCssValue=t.getDynamicStyles=undefined;u=i(778);Object.defineProperty(t,"getDynamicStyles",{enumerable:!0,get:function(){return r(u)["default"]}});f=i(779);Object.defineProperty(t,"toCssValue",{enumerable:!0,get:function(){return r(f)["default"]}});e=i(780);Object.defineProperty(t,"SheetsRegistry",{enumerable:!0,get:function(){return r(e)["default"]}});o=i(781);Object.defineProperty(t,"SheetsManager",{enumerable:!0,get:function(){return r(o)["default"]}});s=i(783);Object.defineProperty(t,"RuleList",{enumerable:!0,get:function(){return r(s)["default"]}});h=i(794);Object.defineProperty(t,"sheets",{enumerable:!0,get:function(){return r(h)["default"]}});c=i(795);Object.defineProperty(t,"createGenerateClassName",{enumerable:!0,get:function(){return r(c)["default"]}});l=r(i(798));a=t.create=function(n){return new l["default"](n)};t["default"]=a()},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function r(n){var t=null,f,u,e,o;for(f in n)u=n[f],e=void 0===u?"undefined":i(u),"function"===e?(t||(t={}),t[f]=u):"object"!==e||null===u||Array.isArray(u)||(o=r(u),o&&(t||(t={}),t[f]=o));return t}},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(n){var u=arguments.length>1&&arguments[1]!==undefined&&arguments[1],t,r;if(!Array.isArray(n))return n;if(t="",Array.isArray(n[0]))for(r=0;r<n.length&&"!important"!==n[r];r++)t&&(t+=", "),t+=i(n[r]," ");else t=i(n,", ");return u||"!important"!==n[n.length-1]||(t+=" !important"),t};var i=function(n,t){for(var i="",r=0;r<n.length&&"!important"!==n[r];r++)i&&(i+=t),i+=n[r];return i}},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),r=function(){function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.registry=[]}return i(n,[{key:"add",value:function(n){var t=this.registry,r=n.options.index,i;if(-1===t.indexOf(n))if(0===t.length||r>=this.index)t.push(n);else for(i=0;i<t.length;i++)if(t[i].options.index>r)return void t.splice(i,0,n)}},{key:"reset",value:function(){this.registry=[]}},{key:"remove",value:function(n){var t=this.registry.indexOf(n);this.registry.splice(t,1)}},{key:"toString",value:function(n){return this.registry.filter(function(n){return n.attached}).map(function(t){return t.toString(n)}).join("\n")}},{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),n}();t["default"]=r},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=i(782),e=(r=f)&&r.__esModule?r:{"default":r},o=function(){function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.sheets=[];this.refs=[];this.keys=[]}return u(n,[{key:"get",value:function(n){var t=this.keys.indexOf(n);return this.sheets[t]}},{key:"add",value:function(n,t){var i=this.sheets,u=this.refs,f=this.keys,r=i.indexOf(t);return-1!==r?r:(i.push(t),u.push(0),f.push(n),i.length-1)}},{key:"manage",value:function(n){var t=this.keys.indexOf(n),i=this.sheets[t];return 0===this.refs[t]&&i.attach(),this.refs[t]++,this.keys[t]||this.keys.splice(t,0,n),i}},{key:"unmanage",value:function(n){var t=this.keys.indexOf(n);-1!==t?this.refs[t]>0&&(this.refs[t]--,0===this.refs[t]&&this.sheets[t].detach()):e["default"](!1,"SheetsManager: can't find sheet to unmanage")}},{key:"size",get:function(){return this.keys.length}}]),n}();t["default"]=o},function(n){"use strict";var t=function(){};t=function(n,t,i){var u=arguments.length,r,e,f;for(i=new Array(u>2?u-2:0),r=2;r<u;r++)i[r-2]=arguments[r];if(t===undefined)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");
51if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!n){e=0;f="Warning: "+t.replace(/%s/g,function(){return i[e++]});"undefined"!=typeof console&&console.error(f);try{throw new Error(f);}catch(o){}}};n.exports=t},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var e;Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},s=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),h=r(i(784)),c=r(i(792)),u=r(i(785)),f=r(i(793));e=function(){function n(t){var i=this;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.map={};this.raw={};this.index=[];this.update=function(n,t){var u=i.options,f=u.jss.plugins,e=u.sheet,r;if("string"==typeof n)f.onUpdate(t,i.get(n),e);else for(r=0;r<i.index.length;r++)f.onUpdate(n,i.index[r],e)};this.options=t;this.classes=t.classes}return s(n,[{key:"add",value:function(n,t,i){var e=this.options,v=e.parent,c=e.sheet,y=e.jss,p=e.Renderer,l=e.generateClassName,r,s,a;return!(i=o({classes:this.classes,parent:v,sheet:c,jss:y,Renderer:p,generateClassName:l},i)).selector&&this.classes[n]&&(i.selector="."+f["default"](this.classes[n])),this.raw[n]=t,r=h["default"](n,t,i),s=void 0,!i.selector&&r instanceof u["default"]&&(s=l(r,c),r.selector="."+f["default"](s)),this.register(r,s),a=i.index===undefined?this.index.length:i.index,this.index.splice(a,0,r),r}},{key:"get",value:function(n){return this.map[n]}},{key:"remove",value:function(n){this.unregister(n);this.index.splice(this.indexOf(n),1)}},{key:"indexOf",value:function(n){return this.index.indexOf(n)}},{key:"process",value:function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)}},{key:"register",value:function(n,t){this.map[n.key]=n;n instanceof u["default"]&&(this.map[n.selector]=n,t&&(this.classes[n.key]=t))}},{key:"unregister",value:function(n){delete this.map[n.key];n instanceof u["default"]&&(delete this.map[n.selector],delete this.classes[n.key])}},{key:"link",value:function(n){for(var u,t,f,r=this.options.sheet.renderer.getUnescapedKeysMap(this.index),i=0;i<n.length;i++)u=n[i],t=this.options.sheet.renderer.getKey(u),r[t]&&(t=r[t]),f=this.map[t],f&&c["default"](f,u)}},{key:"toString",value:function(n){for(var r,t="",u=this.options.sheet,f=!!u&&u.options.link,i=0;i<this.index.length;i++)r=this.index[i].toString(n),(r||f)&&(t&&(t+="\n"),t+=r);return t}}]),n}();t["default"]=e},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"unnamed",o=arguments[1],t=arguments[2],s=t.jss,i=e["default"](o),r
51=s.plugins.onCreateRule(n,i,t);return r?r:("@"===n[0]&&u["default"](!1,"[JSS] Unknown at-rule %s",n),new f["default"](n,i,t))};var u=r(i(782)),f=r(i(785)),e=r(i(787))},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var u;Object.defineProperty(t,"__esModule",{value:!0});var f=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),s=r(i(782)),h=r(i(786)),c=r(i(779));u=function(){function n(t,i,r){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.type="style";this.isProcessed=!1;var u=r.sheet,e=r.Renderer,f=r.selector;this.key=t;this.options=r;this.style=i;f&&(this.selectorText=f);this.renderer=u?u.renderer:new e}return o(n,[{key:"prop",value:function(n,t){var i,r,u,f;return t===undefined?this.style[n]:this.style[n]===t?this:(i=null==(t=this.options.jss.plugins.onChangeValue(t,n,this))||!1===t,r=n in this.style,i&&!r)?this:(u=i&&r,u?delete this.style[n]:this.style[n]=t,this.renderable)?(u?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,t),this):(f=this.options.sheet,f&&f.attached&&s["default"](!1,'Rule is not linked. Missing sheet option "link: true".'),this)}},{key:"applyTo",value:function(n){var t=this.toJSON();for(var i in t)this.renderer.setProperty(n,i,t[i]);return this}},{key:"toJSON",value:function(){var i={},t,n;for(t in this.style)n=this.style[t],"object"!==(void 0===n?"undefined":e(n))?i[t]=n:Array.isArray(n)&&(i[t]=c["default"](n));return i}},{key:"toString",value:function(n){var t=this.options.sheet,i=!!t&&t.options.link?f({},n,{allowEmpty:!0}):n;return h["default"](this.selector,this.style,i)}},{key:"selector",set:function(n){if(n!==this.selectorText&&(this.selectorText=n,this.renderable&&!this.renderer.setSelector(this.renderable,n)&&this.renderable)){var t=this.renderer.replaceRule(this.renderable,this);t&&(this.renderable=t)}},get:function(){return this.selectorText}}]),n}();t["default"]=u},function(n,t,i){"use strict";function r(n,t){for(var i="",r=0;r<t;r++)i+=" ";return i+n}Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(n,t){var p=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},i="",o,h,c,l,a,v,s,y;if(!t)return i;var w=p.indent,u=w===undefined?0:w,e=t.fallbacks;if(u++,e)if(Array.isArray(e))for(o=0;o<e.length;o++){h=e[o];for(c in h)l=h[c],null!=l&&(i+="\n"+r(c+": "+f["default"](l)+";",u))}else for(a in e)v=e[a],null!=v&&(i+="\n"+r(a+": "+f["default"](v)+";",u));for(s in t)y=t[s],null!=y&&"fallbacks"!==s&&(i+="\n"+r(s+": "+f["default"](y)+";",u));return i||p.allowEmpty?i=r(n+" {"+i+"\n",--u)+r("}",u):i};var u,e=i(779),f=(u=e)&&u.__esModule?u:{"default":u}},function(n,t,i){"use strict";var u;Object.defineProperty(t,"__esModule",{value:!0});u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function f(n){var i,r,e,t;if(null==n||(i=void 0===n?"undefined":u(n),"string"===i||"number"===i||"function"===i))return n;if(s(n))return n.map(f);if(o["default"](n))return n;r={};for(e in n)t=n[e],r[e]="object"!==(void 0===t?"undefined":u(t))?t:f(t);return r};var r,e=i(788),o=(r=e)&&r.__esModule?r:{"default":r},s=Array.isArray},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,f=i(789),u=(r=f)&&r.__esModule?r:{"default":r};t["default"]=function(n){return n&&n[u["default"]]&&n===n[u["default"]]()}},function(n,t,i){"use strict";i.r(t),function(n,r){var u,e=i(791),f;u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:r;f=Object(e["default"])(u);t["default"]=f}.call(this,i(118),i(790)(n))},function(n){n.exports=function(n){if(!n.webpackPolyfill){var t=Object.create(n);t.children||(t.children=[]);Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}});Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}});Object.defineProperty(t,"exports",{enumerable:!0});t.webpackPolyfill=1}return t}},function(n,t,i){"use strict";function r(n){var t,i=n.Symbol;return"function"==typeof i?i.observable?t=i.observable:(t=i("observable"),i.observable=t):t="@@observable",t}i.r(t);i.d(t,"default",function(){return r})},function(n,t){"use strict";
51Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(n,t){n.renderable=t;n.rules&&t.cssRules&&n.rules.link(t.cssRules)}},function(n,t,i){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var i=n.CSS,r=/([[\].#*$><+~=|^:(),"'`])/g;t["default"]=function(n){return i&&i.escape?i.escape(n):n.replace(r,"\\$1")}}).call(this,i(118))},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=i(780),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=new f["default"]},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});var u=r(i(782)),f=(r(i(796)),r(i(797)));t["default"]=function(){var n=0;return function(t,i){(n+=1)>1e10&&u["default"](!1,"[JSS] You might have a memory leak. Rule counter is at %s.",n);var e="",r="";return i&&(e=i.options.classNamePrefix||"",null!=i.options.jss.id&&(r+=i.options.jss.id)),e+t.key+"-"+f["default"]+(r&&"-"+r)+"-"+n}}},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var u;Object.defineProperty(t,"__esModule",{value:!0});var f=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},e=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),o=r(i(792)),s=r(i(783));u=function(){function n(t,i){var r=this;for(var u in function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n),this.update=function(n,t){return"string"==typeof n?r.rules.update(n,t):r.rules.update(n),r},this.attached=!1,this.deployed=!1,this.linked=!1,this.classes={},this.options=f({},i,{sheet:this,parent:this,classes:this.classes}),this.renderer=new i.Renderer(this),this.rules=new s["default"](this.options),t)this.rules.add(u,t[u]);this.rules.process()}return e(n,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(n,t,i){var u=this.queue,r;return this.attached&&!u&&(this.queue=[]),r=this.rules.add(n,t,i),this.options.jss.plugins.onProcessRule(r),this.attached?this.deployed?(u?u.push(r):(this.insertRule(r),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=undefined)),r):r:(this.deployed=!1,r)}},{key:"insertRule",value:function(n){var t=this.renderer.insertRule(n);t&&this.options.link&&o["default"](n,t)}},{key:"addRules",value:function(n,t){var i=[];for(var r in n)i.push(this.addRule(r,n[r],t));return i}},{key:"getRule",value:function(n){return this.rules.get(n)}},{key:"deleteRule",value:function(n){var t=this.rules.get(n);return!!t&&(this.rules.remove(t),!this.attached||!t.renderable||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(n){return this.rules.indexOf(n)}},{key:"deploy",value:function(){return this.renderer.deploy(),this.deployed=!0,this}},{key:"link",value:function(){var n=this.renderer.getRules();return n&&this.rules.link(n),this.linked=!0,this}},{key:"toString",value:function(n){return this.rules.toString(n)}}]),n}();t["default"]=u},function(n,t,i){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var i="2f1acc6c3a606b082e5eef5e54414ffb";null==n[i]&&(n[i]=0);t["default"]=n[i]++}).call(this,i(118))},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},h=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},c=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}
51return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),l=r(i(799)),a=r(i(796)),v=r(i(800)),y=r(i(801)),p=r(i(807)),w=r(i(808)),u=r(i(794)),b=r(i(785)),f=r(i(795)),k=r(i(784)),e=r(i(809)),o=r(i(810));var d=y["default"].concat([p["default"],w["default"]]),g=0,nt=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.id=g++;this.version="9.8.7";this.plugins=new v["default"];this.options={createGenerateClassName:f["default"],Renderer:l["default"]?e["default"]:o["default"],plugins:[]};this.generateClassName=f["default"]();this.use.apply(this,d);this.setup(t)}return c(n,[{key:"setup",value:function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return n.createGenerateClassName&&(this.options.createGenerateClassName=n.createGenerateClassName,this.generateClassName=n.createGenerateClassName()),null!=n.insertionPoint&&(this.options.insertionPoint=n.insertionPoint),(n.virtual||n.Renderer)&&(this.options.Renderer=n.Renderer||(n.virtual?o["default"]:e["default"])),n.plugins&&this.use.apply(this,n.plugins),this}},{key:"createStyleSheet",value:function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},i=t.index,r;return"number"!=typeof i&&(i=0===u["default"].index?0:u["default"].index+1),r=new a["default"](n,h({},t,{jss:this,generateClassName:t.generateClassName||this.generateClassName,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:i})),this.plugins.onProcessSheet(r),r}},{key:"removeStyleSheet",value:function(n){return n.detach(),u["default"].remove(n),this}},{key:"createRule",value:function(n){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},u=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{},t,i;return"object"===(void 0===n?"undefined":s(n))&&(u=r,r=n,n=undefined),t=u,t.jss=this,t.Renderer=this.options.Renderer,t.generateClassName||(t.generateClassName=this.generateClassName),t.classes||(t.classes={}),i=k["default"](n,r,t),!t.selector&&i instanceof b["default"]&&(i.selector="."+t.generateClassName(i)),this.plugins.onProcessRule(i),i}},{key:"use",value:function(){for(var t=this,i=arguments.length,r=Array(i),n=0;n<i;n++)r[n]=arguments[n];return r.forEach(function(n){-1===t.options.plugins.indexOf(n)&&(t.options.plugins.push(n),t.plugins.use(n))}),this}}]),n}();t["default"]=nt},function(n,t,i){"use strict";i.r(t);i.d(t,"isBrowser",function(){return u});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u="object"===("undefined"==typeof window?"undefined":r(window))&&"object"===("undefined"==typeof document?"undefined":r(document))&&9===document.nodeType;t["default"]=u},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=i(782),e=(r=f)&&r.__esModule?r:{"default":r},o=function(){function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.hooks={onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}}return u(n,[{key:"onCreateRule",value:function(n,t,i){for(var u,r=0;r<this.hooks.onCreateRule.length;r++)if(u=this.hooks.onCreateRule[r](n,t,i),u)return u;return null}},{key:"onProcessRule",value:function(n){if(!n.isProcessed){for(var i=n.options.sheet,t=0;t<this.hooks.onProcessRule.length;t++)this.hooks.onProcessRule[t](n,i);n.style&&this.onProcessStyle(n.style,n,i);n.isProcessed=!0}}},{key:"onProcessStyle",value:function(n,t,i){for(var r=n,u=0;u<this.hooks.onProcessStyle.length;u++)r=this.hooks.onProcessStyle[u](r,t,i),t.style=r}},{key:"onProcessSheet",value:function(n){for(var t=0;t<this.hooks.onProcessSheet.length;t++)this.hooks.onProcessSheet[t](n)}}
51,{key:"onUpdate",value:function(n,t,i){for(var r=0;r<this.hooks.onUpdate.length;r++)this.hooks.onUpdate[r](n,t,i)}},{key:"onChangeValue",value:function(n,t,i){for(var r=n,u=0;u<this.hooks.onChangeValue.length;u++)r=this.hooks.onChangeValue[u](r,t,i);return r}},{key:"use",value:function(n){for(var t in n)this.hooks[t]?this.hooks[t].push(n[t]):e["default"](!1,'[JSS] Unknown hook "%s".',t)}}]),n}();t["default"]=o},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}var f,s;Object.defineProperty(t,"__esModule",{value:!0});var u=r(i(802)),h=r(i(803)),e=r(i(804)),c=r(i(805)),o=r(i(806));f={"@charset":u["default"],"@import":u["default"],"@namespace":u["default"],"@keyframes":h["default"],"@media":e["default"],"@supports":e["default"],"@font-face":c["default"],"@viewport":o["default"],"@-ms-viewport":o["default"]};s=Object.keys(f).map(function(n){var t=new RegExp("^"+n),i=f[n];return{onCreateRule:function(n,r,u){return t.test(n)?new i(n,r,u):null}}});t["default"]=s},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),r=function(){function n(t,i,r){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.type="simple";this.isProcessed=!1;this.key=t;this.value=i;this.options=r}return i(n,[{key:"toString",value:function(){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"}}]),n}();t["default"]=r},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=i(783),o=(r=e)&&r.__esModule?r:{"default":r},s=function(){function n(t,i,r){for(var f in function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n),this.type="keyframes",this.isProcessed=!1,this.key=t,this.options=r,this.rules=new o["default"](u({},r,{parent:this})),i)this.rules.add(f,i[f],u({},this.options,{parent:this,selector:f}));this.rules.process()}return f(n,[{key:"toString",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{indent:1},n=this.rules.toString(t);return n&&(n+="\n"),this.key+" {\n"+n+"}"}}]),n}();t["default"]=s},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n},f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=i(783),o=(r=e)&&r.__esModule?r:{"default":r},s=function(){function n(t,i,r){for(var f in function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n),this.type="conditional",this.isProcessed=!1,this.key=t,this.options=r,this.rules=new o["default"](u({},r,{parent:this})),i)this.rules.add(f,i[f]);this.rules.process()}return f(n,[{key:"getRule",value:function(n){return this.rules.get(n)}},{key:"indexOf",value:function(n){return this.rules.indexOf(n)}},{key:"addRule",value:function(n,t,i){var r=this.rules.add(n,t,i);return this.options.jss.plugins.onProcessRule(r),r}},{key:"toString",value:function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{indent:1},n=this.rules.toString(t);return n?this.key+" {\n"+n+"\n}":""}}]),n}();t["default"]=s},function(n,t,i){"use strict";
51Object.defineProperty(t,"__esModule",{value:!0});var r,f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=i(786),u=(r=e)&&r.__esModule?r:{"default":r},o=function(){function n(t,i,r){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.type="font-face";this.isProcessed=!1;this.key=t;this.style=i;this.options=r}return f(n,[{key:"toString",value:function(n){if(Array.isArray(this.style)){for(var i="",t=0;t<this.style.length;t++)i+=u["default"](this.key,this.style[t]),this.style[t+1]&&(i+="\n");return i}return u["default"](this.key,this.style,n)}}]),n}();t["default"]=o},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),f=i(786),e=(r=f)&&r.__esModule?r:{"default":r},o=function(){function n(t,i,r){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.type="viewport";this.isProcessed=!1;this.key=t;this.style=i;this.options=r}return u(n,[{key:"toString",value:function(n){return e["default"](this.key,this.style,n)}}]),n}();t["default"]=o},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});var f=r(i(785)),e=r(i(784)),u=r(i(788));t["default"]={onCreateRule:function(n,t,i){if(!u["default"](t))return null;var f=t,r=e["default"](n,{},i);return f.subscribe(function(n){for(var t in n)r.prop(t,n[t])}),r},onProcessRule:function(n){var r;if(n instanceof f["default"]){var i=n,t=i.style,e=function(n){var r=t[n];if(!u["default"](r))return"continue";delete t[n];r.subscribe({next:function(t){i.prop(n,t)}})};for(r in t)e(r)}}}},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});var o=u(i(783)),s=u(i(785)),h=u(i(784));var f=Date.now(),r="fnValues"+f,e="fnStyle"+ ++f;t["default"]={onCreateRule:function(n,t,i){if("function"!=typeof t)return null;var r=h["default"](n,{},i);return r[e]=t,r},onProcessStyle:function(n,t){var f={},i,u;for(i in n)u=n[i],"function"==typeof u&&(delete n[i],f[i]=u);return(t=t)[r]=f,n},onUpdate:function(n,t){var i,u,f,h;if(t.rules instanceof o["default"])t.rules.update(n);else if(t instanceof s["default"]){if((t=t)[r])for(i in t[r])t.prop(i,t[r][i](n));if(u=(t=t)[e],u){f=u(n);for(h in f)t.prop(h,f[h])}}}}},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function b(n,t){try{return n.style.getPropertyValue(t)}catch(i){return""}}function k(n,t,i){try{var r=i;if(Array.isArray(i)&&(r=w["default"](i,!0),"!important"===i[i.length-1]))return n.style.setProperty(t,r,"important"),!0;n.style.setProperty(t,r)}catch(u){return!1}return!0}function d(n,t){try{n.style.removeProperty(t)}catch(i){e["default"](!1,'[JSS] DOMException "%s" was thrown. Tried to remove property "%s".',i.message,t)}}function it(n,t){return n.selectorText=t,n.selectorText===t}function rt(n){var r=c["default"].registry,i,t,u;if(r.length>0){if(i=function(n,t){for(var i,r=0;r<n.length;r++)if(i=n[r],i.attached&&i.options.index>t.index&&i.options.insertionPoint===t.insertionPoint)return i;return null}(r,n),i)return i.renderer.element;if(i=function(n,t){for(var r,i=n.length-1;i>=0;i--)if(r=n[i],r.attached&&r.options.insertionPoint===t.insertionPoint)return r;return null}(r,n))return i.renderer.element.nextElementSibling}if(t=n.insertionPoint,t&&"string"==typeof t){if(u=function(n){for(var i,r=f(),t=0;t<r.childNodes.length;t++)if(i=r.childNodes[t],8===i.nodeType&&i.nodeValue.trim()===n)return i;return null}(t),u)return u.nextSibling;e["default"]("jss"===t,'[JSS] Insertion point "%s" not found.',t)}return null}var s,r,u,f,l,a,v;
51Object.defineProperty(t,"__esModule",{value:!0});var y=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),e=o(i(782)),c=o(i(794)),p=o(i(785)),w=o(i(779));s=function(n){var t=void 0;return function(){return t||(t=n()),t}};var h,g=1,nt=7,tt=(h=function(n){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return n.substr(t,n.indexOf("{")-1)},function(n){var t,i;return n.type===g?n.selectorText:n.type===nt?(t=n.name,t)?"@keyframes "+t:(i=n.cssText,"@"+h(i,i.indexOf("keyframes"))):h(n.cssText)});f=s(function(){return document.head||document.getElementsByTagName("head")[0]});l=(r=void 0,u=!1,function(n){var h={},t,i,e,o,s;for(r||(r=document.createElement("style")),t=0;t<n.length;t++)i=n[t],i instanceof p["default"]&&(e=i.selector,e&&-1!==e.indexOf("\\")&&(u||(f().appendChild(r),u=!0),r.textContent=e+" {}",o=r.sheet,o&&(s=o.cssRules,s&&(h[s[0].selectorText]=i.key))));return u&&(f().removeChild(r),u=!1),h});a=s(function(){var n=document.querySelector('meta[property="csp-nonce"]');return n?n.getAttribute("content"):null});v=function(){function n(t){var r;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n);this.getPropertyValue=b;this.setProperty=k;this.removeProperty=d;this.setSelector=it;this.getKey=tt;this.getUnescapedKeysMap=l;this.hasInsertedRules=!1;t&&c["default"].add(t);this.sheet=t;var i=this.sheet?this.sheet.options:{},u=i.media,f=i.meta,e=i.element;this.element=e||document.createElement("style");this.element.setAttribute("data-jss","");u&&this.element.setAttribute("media",u);f&&this.element.setAttribute("data-meta",f);r=a();r&&this.element.setAttribute("nonce",r)}return y(n,[{key:"attach",value:function(){!this.element.parentNode&&this.sheet&&(this.hasInsertedRules&&(this.deploy(),this.hasInsertedRules=!1),function(n,t){var r=t.insertionPoint,i=rt(t),u,o,s;i?(u=i.parentNode,u&&u.insertBefore(n,i)):r&&"number"==typeof r.nodeType?(o=r,s=o.parentNode,s?s.insertBefore(n,o.nextSibling):e["default"](!1,"[JSS] Insertion point is not in the DOM.")):f().insertBefore(n,i)}(this.element,this.sheet.options))}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(){this.sheet&&(this.element.textContent="\n"+this.sheet.toString()+"\n")}},{key:"insertRule",value:function(n,t){var i=this.element.sheet,r=i.cssRules,u=n.toString();if(t||(t=r.length),!u)return!1;try{i.insertRule(u,t)}catch(f){return e["default"](!1,"[JSS] Can not insert an unsupported rule \n\r%s",n),!1}return this.hasInsertedRules=!0,r[t]}},{key:"deleteRule",value:function(n){var i=this.element.sheet,t=this.indexOf(n);return-1!==t&&(i.deleteRule(t),!0)}},{key:"indexOf",value:function(n){for(var i=this.element.sheet.cssRules,t=0;t<i.length;t++)if(n===i[t])return t;return-1}},{key:"replaceRule",value:function(n,t){var i=this.indexOf(n),r=this.insertRule(t,i);return this.element.sheet.deleteRule(i),r}},{key:"getRules",value:function(){return this.element.sheet.cssRules}}]),n}();t["default"]=v},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}(),r=function(){function n(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,n)}return i(n,[{key:"setProperty",value:function(){return!0}},{key:"getPropertyValue",value:function(){return""}},{key:"removeProperty",value:function(){}},{key:"setSelector",value:function(){return!0}},{key:"getKey",value:function(){return""}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){return!1}},{key:"deleteRule",value:function(){return!0}},{key:"replaceRule",value:function(){return!1}},{key:"getRules",value:function(){}},{key:"indexOf",value:function(){return-1}}]),n}();t["default"]=r},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}Object.defineProperty(t,"__esModule",{value:!0});var u=r(i(812)),f=r(i(814)),e=r(i(815)),o=r(i(816)),s=r(i(817)),h=r(i(818)),c=r(i(820)),l=r(i(822)),a=r(i(824)),v=r(i(830));t["default"]=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};return{plugins:[u["default"](n.template),f["default"](n.global),e["default"](n.extend),o["default"](n.nested),s["default"](n.compose),h["default"](n.camelCase),c["default"](n.defaultUnit),l["default"](n.expand),a["default"](n.vendorPrefixer),v["default"](n.propsSort)]}}},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=i(813),f=(r=u)&&r.__esModule?r:{"default":r},e=function(n){"string"==typeof n.style&&(n.style=f["default"](n.style))};t["default"]=function(){return{onProcessRule:e}}},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,u=i(782),f=(r=u)&&r.__esModule?r:{"default":r},e=/;\n/;t["default"]=function(n){for(var t,i,s,h,u={},o=n.split(e),r=0;r<o.length;r++)t=(o[r]||"").trim(),t&&(i=t.indexOf(":"),-1!==i?(s=t.substr(0,i).trim(),h=t.substr(i+1).trim(),u[s]=h):f["default"](!1,'Malformed CSS string "%s"',t));return u}},function(n,t,i){"use strict";function s(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function h(n,t){for(var r=n.split(a),u="",i=0;i<r.length;i++)u+=t+" "+r[i].trim(),r[i+1]&&(u+=", ");return u}var u,f,o;Object.defineProperty(t,"__esModule",{value:!0});u=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};f=function(){function n(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}return function(t,i,r){return i&&n(t.prototype,i),r&&n(t,r),t}}();t["default"]=function(){return{onCreateRule:function(n,t,i){if(n===r)return new c(n,t,i);if("@"===n[0]&&n.substr(0,e.length)===e)return new l(n,t,i);var u=i.parent;return u&&("global"!==u.type&&"global"!==u.options.parent.type||(i.global=!0)),i.global&&(i.selector=n),null},onProcessRule:function(n){"style"===n.type&&(function(n){var f=n.options,e=n.style,i=e[r],t;if(i){for(t in i)f.sheet.addRule(t,i[t],u({},f,{selector:h(t,n.selector)}));delete e[r]}}(n),function(n){var e=n.options,i=n.style,t,f;for(t in i)t.substr(0,r.length)===r&&(f=h(t.substr(r.length),n.selector),e.sheet.addRule(f,i[t],u({},e,{selector:f})),delete i[t])}(n))}}};o=i(777);var r="@global",e="@global ",c=function(){function n(t,i,r){for(var f in s(this,n),this.type="global",this.key=t,this.options=r,this.rules=new o.RuleList(u({},r,{parent:this})),i)this.rules.add(f,i[f],{selector:f});this.rules.process()}return f(n,[{key:"getRule",value:function(n){return this.rules.get(n)}},{key:"addRule",value:function(n,t,i){var r=this.rules.add(n,t,i);return this.options.jss.plugins.onProcessRule(r),r}},{key:"indexOf",value:function(n){return this.rules.indexOf(n)}},{key:"toString",value:function(){return this.rules.toString()}}]),n}(),l=function(){function n(t,i,r){s(this,n);this.name=t;this.options=r;var f=t.substr(e.length);this.rule=r.jss.createRule(f,i,u({},r,{parent:this,selector:f}))}return f(n,[{key:"toString",value:function(n){return this.rule.toString(n)}}]),n}(),a=/\s*,\s*/g},function(n,t,i){"use strict";function r(n,t,i){var u=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return function(n,t,i,u){var s,o,c,l;if("string"!==e(n.extend))if(Array.isArray(n.extend))for(s=0;s<n.extend.length;s++)r(n.extend[s],t,i,u);else for(o in n.extend)"extend"!==o?f(n.extend[o])?(o in u||(u[o]={}),r(n.extend[o],t,i,u[o])):u[o]=n.extend[o]:r(n.extend.extend,t,i,u);else{if(!i)return;if(c=i.getRule(n.extend),!c)return;if(c===t)return void h["default"](!1,"[JSS] A rule tries to extend itself \r\n%s",t);l=c.options.parent;l&&r(l.rules.raw[n.extend],t,i,u)}}(n,t,i,u),function(n,t,i,u){for(var e in n)"extend"!==e&&(f(u[e])&&f(n[e])?r(n[e],t,i,u[e]):u[e]=f(n[e])?r(n[e],t,i):n[e])}(n,t,i,u),u}var e;Object.defineProperty(t,"__esModule",{value:!0});e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(){return{onProcessStyle:function(n,t,i){return"extend"in n?r(n,t,i
51):n},onChangeValue:function(n,t,i){var u,r;if("extend"!==t)return n;if(null==n||!1===n){for(u in i[o])i.prop(u,null);return i[o]=null,null}for(r in n)i.prop(r,n[r]);return i[o]=n,null}}};var u,s=i(782),h=(u=s)&&u.__esModule?u:{"default":u},f=function(n){return n&&"object"===(void 0===n?"undefined":e(n))&&!Array.isArray(n)},o="extendCurrValue"+Date.now()},function(n,t,i){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});r=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n};t["default"]=function(){function t(n){return function(t,i){var r=n.getRule(i);return r?r.selector:(o["default"](!1,"[JSS] Could not find the referenced rule %s in %s.",i,n.options.meta||n),i)}}function i(t,i){for(var h,u,e,c=i.split(f),l=t.split(f),r="",o=0;o<c.length;o++)for(h=c[o],u=0;u<l.length;u++)e=l[u],r&&(r+=", "),r+=n(e)?e.replace(s,h):h+" "+e;return r}function u(n,t,i){if(i)return r({},i,{index:i.index+1});var u=n.options.nestingLevel;return u=u===undefined?1:u+1,r({},n.options,{nestingLevel:u,index:t.indexOf(n)+1})}var n=function(n){return-1!==n.indexOf("&")};return{onProcessStyle:function(f,e){var o,v,y,s;if("style"!==e.type)return f;var c=e.options.parent,l=void 0,a=void 0;for(o in f)v=n(o),y="@"===o[0],(v||y)&&((l=u(e,c,l),v)?(s=i(o,e.selector),a||(a=t(c)),s=s.replace(h,a),c.addRule(s,f[o],r({},l,{selector:s}))):y&&c.addRule(o,null,l).addRule(e.key,f[o],{selector:e.selector}),delete f[o]);return f}}};var u,e=i(782),o=(u=e)&&u.__esModule?u:{"default":u},f=/\s*,\s*/g,s=/&/g,h=/\$([\w-]+)/g},function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(){return{onProcessStyle:function(n,t){return n.composes?(function i(n,t){var r,o,f,e;if(!t)return!0;if(Array.isArray(t)){for(r=0;r<t.length;r++)if(o=i(n,t[r]),!o)return!1;return!0}return t.indexOf(" ")>-1?i(n,t.split(" ")):(f=n.options.parent,"$"===t[0])?(e=f.getRule(t.substr(1)),e?e===n?(u["default"](!1,"[JSS] Cyclic composition detected. \r\n%s",n),!1):(f.classes[n.key]+=" "+f.classes[e.key],!0):(u["default"](!1,"[JSS] Referenced rule is not defined. \r\n%s",n),!1)):(n.options.parent.classes[n.key]+=" "+t,!0)}(t,n.composes),delete n.composes,n):n}}};var r,f=i(782),u=(r=f)&&r.__esModule?r:{"default":r}},function(n,t,i){"use strict";function u(n){var t={};for(var i in n)t[f["default"](i)]=n[i];return n.fallbacks&&(t.fallbacks=Array.isArray(n.fallbacks)?n.fallbacks.map(u):u(n.fallbacks)),t}Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(){return{onProcessStyle:function(n){if(Array.isArray(n)){for(var t=0;t<n.length;t++)n[t]=u(n[t]);return n}return u(n)},onChangeValue:function(n,t,i){var r=f["default"](t);return t===r?n:(i.prop(r,n),null)}}};var r,e=i(819),f=(r=e)&&r.__esModule?r:{"default":r}},function(n){"use strict";var i=/[A-Z]/g,r=/^ms-/,t={};n.exports=function(n){return n in t?t[n]:t[n]=n.replace(i,"-$&").toLowerCase().replace(r,"-ms-")}},function(n,t,i){"use strict";function o(n){var r=/(-[a-z])/g,u=function(n){return n[1].toUpperCase()},i={};for(var t in n)i[t]=n[t],i[t.replace(r,u)]=n[t];return i}function r(n,t,i){var c,e,o,h,u;if(!t)return t;c=t;e=void 0===t?"undefined":f(t);switch("object"===e&&Array.isArray(t)&&(e="array"),e){case"object":if("fallbacks"===n){for(o in t)t[o]=r(o,t[o],i);break}for(h in t)t[h]=r(n+"-"+h,t[h],i);break;case"array":for(u=0;u<t.length;u++)t[u]=r(n,t[u],i);break;case"number":0!==t&&(c=t+(i[n]||s[n]||""))}return c}var f,u,e,s;Object.defineProperty(t,"__esModule",{value:!0});f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(){var n=o(arguments.length>0&&arguments[0]!==undefined?arguments[0]:{});return{onProcessStyle:function(t,i){if("style"!==i.type)return t;for(var u in t)t[u]=r(u,t[u],n);return t},onChangeValue:function(t,i){return r(i,t,n)}}};e=i(821);s=o(((u=e)&&u.__esModule?u:{"default":u})["default"])},function(n,t){"use strict";
51Object.defineProperty(t,"__esModule",{value:!0});t["default"]={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},function(n,t,i){"use strict";function s(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function e(n,t,i,r){return null==i[t]?n:0===n.length?[]:Array.isArray(n[0])?e(n[0],t,i):"object"===f(n[0])?function(n,t,i){return n.map(function(n){return o(n,t,i,!1,!0)})}(n,t,r):[n]}function o(n,t,i,f,e){var h,o;if(!r.propObj[t]&&!r.customPropObj[t])return[];if(h=[],r.customPropObj[t]&&(n=function(n,t,i,r){var e,f,o;for(e in i)f=i[e],"undefined"!=typeof n[e]&&(r||!t.prop(f))&&(o=u(s({},f,n[e]),t)[f],r?t.style.fallbacks[f]=o:t.style[f]=o),delete n[e];return n}(n,i,r.customPropObj[t],f)),Object.keys(n).length)for(o in r.propObj[t])n[o]?Array.isArray(n[o])?h.push(null===r.propArrayInObj[o]?n[o]:n[o].join(" ")):h.push(n[o]):null!=r.propObj[t][o]&&h.push(r.propObj[t][o]);return!h.length||e?h:[h]}function u(n,t,i){var s,h,c;for(s in n)if(h=n[s],Array.isArray(h)){if(!Array.isArray(h[0])){if("fallbacks"===s){for(c=0;c<n.fallbacks.length;c++)n.fallbacks[c]=u(n.fallbacks[c],t,!0);continue}n[s]=e(h,s,r.propArray);n[s].length||delete n[s]}}else if("object"===(void 0===h?"undefined":f(h))){if("fallbacks"===s){n.fallbacks=u(n.fallbacks,t,!0);continue}n[s]=o(h,s,t,i);n[s].length||delete n[s]}else""===n[s]&&delete n[s];return n}var f,r;Object.defineProperty(t,"__esModule",{value:!0});f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(){return{onProcessStyle:function(n,t){if(!n||"style"!==t.type)return n;if(Array.isArray(n)){for(var i=0;i<n.length;i++)n[i]=u(n[i],t);return n}return u(n,t)}}};r=i(823)},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.propArray={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0};t.propArrayInObj={position:!0,size:!0};t.propObj={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}};t.customPropObj={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}}},function(n,t,i){"use strict";
51Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(){return{onProcessRule:function(n){"keyframes"===n.type&&(n.key="@"+r.prefix.css+n.key.substr(1))},onProcessStyle:function(n,t){var i,s,f;if("style"!==t.type)return n;for(i in n){var e=n[i],o=!1,u=r.supportedProperty(i);u&&u!==i&&(o=!0);s=!1;f=r.supportedValue(u,e);f&&f!==e&&(s=!0);(o||s)&&(o&&delete n[i],n[u||i]=f||e)}return n},onChangeValue:function(n,t){return r.supportedValue(t,n)}}};var r=function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t}(i(825))},function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}Object.defineProperty(t,"__esModule",{value:!0});t.supportedValue=t.supportedProperty=t.prefix=undefined;var u=r(i(826)),f=r(i(827)),e=r(i(829));t["default"]={prefix:u["default"],supportedProperty:f["default"],supportedValue:e["default"]};t.prefix=u["default"];t.supportedProperty=f["default"];t.supportedValue=e["default"]},function(n,t,i){"use strict";var f,s,u;Object.defineProperty(t,"__esModule",{value:!0});var r,h=i(799),e="",o="";if(((r=h)&&r.__esModule?r:{"default":r})["default"]){f={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"};s=document.createElement("p").style;for(u in f)if(u+"Transform"in s){e=u;o=f[u];break}}t["default"]={js:e,css:o}},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}var u,r,f,e;Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(n){return u?null!=r[n]?r[n]:(r[n]=h["default"](n)in u.style?n:s["default"].js+h["default"]("-"+n)in u.style?s["default"].css+n:!1,r[n]):n};var c=o(i(799)),s=o(i(826)),h=o(i(828));if(u=void 0,r={},c["default"]){u=document.createElement("p");f=window.getComputedStyle(document.documentElement,"");for(e in f)isNaN(e)||(r[f[e]]=f[e])}},function(n,t){"use strict";function r(n,t){return t?t.toUpperCase():""}Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(n){return n.replace(i,r)};var i=/[-\s]+(.)?/g},function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}var f,e,r,u;Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(n,t){if(!u||"string"!=typeof t||!isNaN(parseInt(t,10)))return t;var i=n+t;if(null!=r[i])return r[i];try{u.style[n]=t}catch(f){return r[i]=!1,!1}return""!==u.style[n]?r[i]=t:("-ms-flex"===(t=e["default"].css+t)&&(t="-ms-flexbox"),u.style[n]=t,""!==u.style[n]&&(r[i]=t)),r[i]||(r[i]=!1),u.style[n]="",r[i]};f=o(i(799));e=o(i(826));r={};u=void 0;f["default"]&&(u=document.createElement("p"))},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t["default"]=function(){function n(n,t){return n.length-t.length}return{onProcessStyle:function(t,i){var u,r,f;if("style"!==i.type)return t;u={};r=Object.keys(t).sort(n);for(f in r)u[r[f]]=t[r[f]];return u}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t){"use strict";t.__esModule=!0;t["default"]=function(){var r,n,t,u,o,f=this.getChildren(),i=this.getDatasets(),h=f.xAxis&&f.xAxis[0]||f.scale,s=[],e=0;if(i){for(r=i.length,n=0;n<r;n++)e=Math.max(e,i[n].components.data.length);for(n=0;n<e;n++)for((o=s[n]=[])[0]=h.getLabel(n).label,t=1;t<=r;t++)u=i[t-1].components.data[n],o[t]=u&&u.config.setValue;return s}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){!function(n){var t=n.getChildren("colorManager");if(!n.getFromEnv("dataSource").colorrange)return t&&(t[0].config.legendItemIds=[]),void n.deleteFromEnv("colorManager");if(t)return n.addToEnv("colorManager",t[0]),void t[0].configure();t=new f["default"];n.attachChild(t,"colorManager");n.addToEnv("colorManager",t);t.configure()}(n)};var r,u=i(953),f=(r=u)&&r.__esModule?r:{"default":r}},function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function u(n){var t=n||o;return r.getValidColor(t)||o}
51t.__esModule=!0;var h=i(138),c=f(i(954)),l=f(i(955)),r=i(125);var e="rgba(192,192,192,"+(r.isIE?.002:1e-6)+")",o="#000000",s=function(){var t,n={};return n.legendCarpetConf={spreadFactor:.85,allowDrag:!1,captionAlignment:"center",padding:{v:3,h:3},style:{fill:"#e4d9c1",stroke:"#c4b89d"}},n.legendCaptionConf={spreadFactor:.2,padding:{v:2,h:2},style:{fill:"#786B50",fontFamily:"sans-serif",fontSize:"12px",fontWeight:"bold",fontStyle:"normal"},bound:{style:{stroke:"none"}}},n.legendBodyConf={spreadFactor:.8,padding:{v:2,h:2},bound:{style:{stroke:"none"}}},n.legendAxisConf={legendAxisHeight:11,spreadFactor:.4,padding:{v:1,h:1},style:{stroke:"none","stroke-opacity":0,"stroke-width":1},line:{grooveLength:3,offset:8,style:{stroke:"rgba(255, 255, 255, 0.65)","stroke-width":1.5}},shadow:{style:{stroke:"none",fill:r.toRaphaelColor({FCcolor:{alpha:"25,0,0",angle:360,color:"000000,FFFFFF,FFFFFF",ratio:"0,30,40"}})}},bound:{style:{stroke:"none"}}},n.sliderGroupConf={showTooltip:1,outerCircle:{rFactor:1.4,style:{fill:e,stroke:"#757575","stroke-width":3}},innerCircle:{rFactor:.65,style:{fill:e,stroke:"#FFFFFF"}}},n.axisTextItemConf={spreadFactor:.3,padding:{v:1,h:1},style:{fill:"#786B50",fontFamily:"sans-serif",fontSize:"12px",fontWeight:"normal",fontStyle:"normal"}},{init:function(n){t=n.chart},legacyDataParser:function(n,i){var e,h,o,p,s,k,v,l,f,c,a,w,d,y={},b=t.getFromEnv("number-formatter"),g=t.getFromEnv("dataSource"),tt=g.dataset,nt=g.data;if(i=i||{},!n)return!1;for("maps"!==t.defaultDatasetType||void 0!==i.min&&void 0!==i.max?"HeatMap"!==t.getName()||void 0!==i.min&&void 0!==i.max||(i={min:Infinity,max:-Infinity},tt.forEach(function(n){n.data&&n.data.forEach(function(n){i.min=Math.min(i.min,r.pluckNumber(n.value,i.min));i.max=Math.max(i.max,r.pluckNumber(n.value,i.max))})})):(i={min:Infinity,max:-Infinity},nt&&nt.forEach(function(n){i.min=Math.min(i.min,r.pluckNumber(n.value,i.min));i.max=Math.max(i.max,r.pluckNumber(n.value,i.min))})),y.mapByPercent=a=!!r.pluckNumber(n.mapbypercent,0),e=n.color||[],void 0===n.minvalue&&(n.minvalue=void 0!==i.min?a?0:i.min:0),void 0===n.maxvalue&&(n.maxvalue=void 0!==i.max?a?100:i.max:100),n.maxvalue!==n.minvalue&&i.min!==Infinity&&i.max!==-Infinity||(n.minvalue=0,n.maxvalue=100),w=!1,s=0,v=e.length;s<v;s++)if(e[s].maxvalue){w=!0;break}for(w||(e=[]),o=n.code,l=y.colorRange=[],y.gradient=!!r.pluckNumber(n.gradient,1),e.length?o=u(o):(o?(p=u(o),o=u()):(o=u(),d=o,p=r.getLightColor(d,1)),e.push({code:p,maxvalue:n.maxvalue,label:void 0})),function(n){for(var u,f=t.getFromEnv("number-formatter"),i=0,r=n.length;i<r;i++)(u=n[i].maxvalue)&&(n[i].maxvalue=f.getCleanValue(u))}(e),e=e.sort(function(n,t){return n.maxvalue-t.maxvalue}),f=c=n.minvalue&&b.getCleanValue(n.minvalue),c=(void 0!==f||null!==f)&&(a?f+"%":b.legendValue(f)),l.push({code:r.dehashify(o),value:f,displayValue:c,label:n.startlabel}),s=0,v=e.length;s<v;s++)k=u((h=e[s]).code||h.color),f=c=h.maxvalue,isNaN(parseInt(f,10))||(c=(void 0!==f||null!==f)&&(a?f+"%":b.legendValue(f)),l.push({code:r.dehashify(k),value:f,displayValue:c,label:h.label||h.displayvalue}));return l[l.length-1].label=n.endlabel||h.label,y},getDefaultConf:function(t){return n[t]}}}(),v=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.datasource={},i.config.legendItemIds=[],i}return a(t,n),t.prototype.configure=function(){var t,n=this.getFromEnv("chart"),o="maps"===n.defaultDatasetType,h="TreeMap"===n.getName(),f=this.getFromEnv("dataSource").chart.mapbycategory,a=n.getFromEnv("number-formatter"),u=void 0,e=n.config.showLegend,i=n.getChildren("colorRange")&&n.getChildren("colorRange")[0];switch(n.addToEnv("colorManager",this),this.datasource=n.getFromEnv("dataSource"),t=this.datasource.colorrange,i&&i.remove({instant:!0}),e||(this.config.legendItemIds=[]),o?t.gradient&&Number(t.gradient)?"gradient":t.color?"icon":"none":h?"gradient":t.gradient&&"0"!=t.gradient&&!Number(f)?"gradient":"icon"){case"gradient":s.init({chart:n});u=s.legacyDataParser(t);r.componentFactory(n,l["default"],"colorRange",1,[u]);i=n.getChildren("colorRange")[0];n.addToEnv("colorRange",i);u||(i._dontPlot=!0);this.config.legendItemIds=[];this._configureGradientLegend(i);break;case"icon":r.componentFactory(n,c["default"],"colorRange",1,[{colorRange:t,sortLegend:0,mapByCategory:r.pluckNumber(f,0),defaultColor:"cccccc",numberFormatter:a}]);n.addToEnv("colorRange",n.getChildren("colorRange")[0]);e&&this._addLegendItems();break;case"none":n.deleteFromEnv("colorManager");this.config.legendItemIds=[]}},t.prototype._configureGradientLegend=function(n){var t=this,i=t.getFromEnv("chart").getFromEnv("gLegend");i&&(i.setColorRange(n),t.addExtEventListener("rangeUpdated",function(n,i){t.f
51ireEvent("legendUpdate",{"original-event":n,maxMinArray:i,component:"gradientlegend"})},i))},t.prototype._addLegendItems=function(){for(var u=this.config,o=this.getFromEnv("chart"),f=o.getChildren("legend")[0],t=o.getFromEnv("colorRange").colorArr,s=void 0,h=void 0,e=t.length,i=void 0,n=void 0,c=void 0,n=0;n<e;n++)c={label:r.pluck(t[n].label,t[n].displayvalue),datasetObj:t[n],index:n},h=r.getLightColor(t[n].code,40),s={FCcolor:{color:t[n].code+","+t[n].code+","+h,ratio:"0,70,30",angle:270,alpha:"100,100,100"}},(i=f.getItem(u.legendItemIds[n]))||(u.legendItemIds.push(f.createItem(this)),(i=f.getItem(u.legendItemIds[n])).addEventListener("fc-click",i.itemClickFn)),i.removeLegendState("hidden"),t[n].legendItemId=i&&i.getId(),i.configure(c),i.setStateCosmetics("default",{symbol:{fill:r.toRaphaelColor(s),rawFillColor:t[n].code}});for(n=e;n<u.legendItemIds.length;n++)f.disposeItem(u.legendItemIds[n]);u.legendItemIds.splice(e)},t.prototype.legendInteractivity=function(n){var t=this.getFromEnv("colorRange").colorArr[n.config.index];this.fireEvent("legendUpdate",{legendItem:n,colorObj:t,component:"legend"})},t.prototype.getColor=function(n){var t=this.datasource.colorrange,i=this.datasource.chart.mapbycategory;return!Number(i)&&Number(t.gradient)?{code:this.getColorByValue(n)}:this.getColorObj(n)},t.prototype.getValueRatio=function(){return this.getFromEnv("colorRange").getValueRatio()},t.prototype.getCumulativeValueRatio=function(){return this.getFromEnv("colorRange").getCumulativeValueRatio()},t.prototype.getBoxFill=function(n){return this.getFromEnv("colorRange").getBoxFill(n)},t.prototype.getColorByValue=function(n){return this.getFromEnv("colorRange").getColorByValue(n)},t.prototype.getColorObj=function(n){return this.getFromEnv("colorRange").getColorObj(n)},t}(h.ComponentInterface);t["default"]=v},function(n,t,i){"use strict";function f(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u;t.__esModule=!0;r=i(125);u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var r=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this)),i=r;return i.mapByCategory=!1,i.colorArr=[],i.noValidRange=!0,i.sortLegend=!1,r}return f(t,n),t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.defaultObj={code:"CCCCCC",alpha:"100"}},t.prototype.getType=function(){return"colorComponent"},t.prototype.getName=function(){return"colorBucket"},t.prototype.configure=function(n){if(n){var h=this.mapByCategory,t=n.numberFormatter,c=n.colorRange||{},e=r.extend2([],c.color),v=this.getLinkedParent(),g=this.getFromEnv("dataSource"),nt=Math.min(Math.max(r.pluckNumber(g.chart.palette,0)-1,0),4),y=v.defaultPaletteOptions&&v.defaultPaletteOptions.paletteColors[nt],tt=r.pluckNumber(t.getCleanValue(c.maxvalue),Infinity),it=r.pluckNumber(t.getCleanValue(c.minvalue),-Infinity),p=this.colorArr,w=void 0,o=void 0,l=void 0,a=void 0,b=void 0,k=void 0,i=void 0,d=void 0,u=void 0,f=void 0,s=void 0;if(void 0!==n.mapByCategory&&(h=this.mapByCategory=!!Number(n.mapByCategory)),(e=h?e.filter(function(n){return n.code||n.color}):e.filter(function(n){return n.minvalue||n.maxvalue})).forEach(function(n){n.minvalue&&n.maxvalue&&+n.maxvalue<+n.minvalue&&(d=n.maxvalue,n.maxvalue=n.minvalue,n.minvalue=d);n.minvalue?n.maxvalue?(f=t.getCleanValue(n.minvalue),u=t.getCleanValue(n.maxvalue),n.rangeLabel=t.dataLabels(f)+"-"+t.dataLabels(u)):(f=t.getCleanValue(n.minvalue),n.maxvalue=u=tt,n.rangeLabel=u===Infinity?">"+t.dataLabels(f):t.dataLabels(f)+"-"+t.dataLabels(u)):(n.minvalue=f=it,u=t.getCleanValue(n.maxvalue),n.rangeLabel=f===-Infinity?"<"+t.dataLabels(u):t.dataLabels(f)+"-"+t.dataLabels(u))}),e.sort(function(n,t){return+n.minvalue==+t.minvalue?n.maxvalue-t.maxvalue:n.minvalue-t.minvalue}),e&&(w=e.length)){for(p.length=0,o=0;o<w;o+=1)i=e[o],l=r.pluck(i.color,i.code,y&&y[o]),a=r.pluck(i.alpha),k=r.pluck(i.bordercolor),b=r.pluck(i.borderalpha,100),u=r.pluckNumber(i.maxvalue),f=r.pluckNumber(i.minvalue),s=r.pluck(i.label,i.displayvalue,i.rangeLabel),(l&&u>=f||h&&s)&&p.push({code:l,alpha:a||"100",oriAlpha:a,maxvalue:u,minvalue:f,label:r.parseUnsafeString(s),labelId:s.toLowerCase(),bordercolor:k,borderAlpha:b,name:i.name});this.sortedColorArr=this.colorArr.slice(0)}else this.noValidRange=!0,this.colorArr=[],this.sortedColorArr=[]}},t.prototype.getColorObj=function(n){if(void 0===n)return{outOfRange:!0};var f=void 0,u=this.sortedColorArr,i=this.gradient?1:0,t=u[i],e=void 0;if(this.mapByCategory){for(n=r.parseUnsafeString(n).toLowerCase()||n.toString().toLowerCase();t;){if(t.labelId===n||t.maxvalue>=n&&t.minvalue<=n)return{code:t.code,alpha:t.alpha||"100",oriAlpha:t.oriAlpha,seriesIndex:i,legendItemId:t.legendItemId};t=u[i+=1]}return{outOfRange:!0}}if(this.gradient){if(this.scaleMin<=n&&this.scaleMax>=n){for(;t&&t.maxvalue<n;)t=u[i+=1];return e=(n-t.minvalue)/t.range,{code:function(n,t,i){var u=n[0],f=n[1],e=n[2],o=u+(t[0]-u)*i,s=f+(t[1]-f)*i,h=e+(t[2]-e)*i;return{hex:(r.COLOR_BLACK+(o<<16|s<<8|h).toString(16)).slice(-6),rgb:[o,s,h]}}(u[i-1].codeRGB,t.codeRGB,e).hex}}return{outOfRange:!0}}for(;t;){if(n<t.minvalue&&!f)return 0===i?{code:t.code,alpha:t.alpha||"100",oriAlpha:t.oriAlpha,seriesIndex:i,name:t.name,label:t.label,outOfRange:!0,bordercolor:t.bordercolor,borderalpha:t.borderAlpha}
51:{code:u[i-1].code,alpha:u[i-1].alpha||"100",oriAlpha:u[i-1].oriAlpha,seriesIndex:i,name:u[i-1].name,label:u[i-1].label,outOfRange:!0,bordercolor:u[i-1].bordercolor,borderalpha:u[i-1].borderAlpha};if(n>t.maxvalue&&i===u.length-1)return{code:t.code,alpha:t.alpha||"100",oriAlpha:t.oriAlpha,seriesIndex:i,name:t.name,label:t.label,outOfRange:!0,bordercolor:t.bordercolor,borderalpha:t.borderAlpha};if(t.maxvalue>n&&t.minvalue<=n)return{code:t.code,alpha:t.alpha||"100",oriAlpha:t.oriAlpha,seriesIndex:i,name:t.name,label:t.label,bordercolor:t.bordercolor,borderalpha:t.borderAlpha};if(n===t.maxvalue&&(f={code:t.code,alpha:t.alpha||"100",oriAlpha:t.oriAlpha,seriesIndex:i,name:t.name,label:t.label,bordercolor:t.bordercolor,borderalpha:t.borderAlpha}),i===u.length-1&&f)return f;t=u[i+=1]}if(!u.length)return{outOfRange:!0}},t.prototype.getColorRangeArr=function(n,t){var h,u,c,e,f,o,i,s,a=this.colorArr,l=[];if(!this.defaultAsigned&&(n>t&&(h=n,n=t,t=h),n<t&&(e=this.getColorObj(n),o=this.getColorObj(t),e&&o))){for(f=n,u=e.seriesIndex,c=o.seriesIndex;u<=c;u+=1)(i=r.extend2({},a[u])).minvalue!==f&&(i.minvalue=f),l.push(i),s=i,f=i.maxvalue;s&&(s.maxvalue=t)}return l},t}(i(138).ComponentInterface);t["default"]=u},function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r,f;t.__esModule=!0;u=i(138);r=i(125);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.colorRange={},i.valueRatio={},i.data={},i.mapByPercent=undefined,i}return e(t,n),t.prototype.getType=function(){return"colorComponent"},t.prototype.getName=function(){return"gradientColorRange"},t.prototype.configure=function(n){if(n){var r,i,t=void 0;for(this.data=n,this.appender="",i=this.colorRange=n.colorRange.sort(function(n,t){return n.value-t.value}),this.valueRatio=void 0,this.values=[],t=0,r=i.length;t<r;t++)this.values.push(i[t].value)}},t.prototype.getValueRatio=function(){var t,r,i=this.colorRange,u=i.length,n=this.valueRatio,o=i[u-1].value,f=i[0].value,s=o-f,e=0;if(n)return n;for(n=this.valueRatio=[],t=0;t<u;t++)r=(i[t].value-f)/s,n.push(100*(r-e)),e=r;return n},t.prototype.getCumulativeValueRatio=function(){for(var i,t=this.colorRange,r=t.length,u=t[0].value,e=t[r-1].value,f=[],n=0;n<r;n++)i=t[n],f.push((i.value-u)/(e-u)*100);return f},t.prototype.getBoxFill=function(n){for(var i,u,e=this.colorRange,s=e.length,o=[],f=n?90:0,t=0;t<s;t++)i=e[t],o.push(i.code);return u={FCcolor:{alpha:"100,100,100",angle:f,color:o.join(","),ratio:this.getValueRatio().join(",")}},r.toRaphaelColor(u)},t.prototype.getColorByValue=function(n){var h,t,c,l,u=this.values,a=this.colorRange,v,y,o,f,p,e,w,i,b,k,s;if(void 0!==n&&null!==n){for(t=0,h=u.length;t<h;t++){if(n===u[t]){l=a[t].code;break}if(!t&&n<u[t]){c=!0;break}if(t===h-1&&n>u[t]){c=!0;break}if(n>u[t]&&n<u[t+1]){v=a[t];y=a[t+1];o=n;f=void 0;p=void 0;void 0;void 0;void 0;void 0;void 0;void 0;e=v.value;w=v.code;i=r.HEXtoRGB(w);b=y.value;k=y.code;s=r.HEXtoRGB(k);f=b-e;p=[Math.round(i[0]+(s[0]-i[0])/f*(o-e)),Math.round(i[1]+(s[1]-i[1])/f*(o-e)),Math.round(i[2]+(s[2]-i[2])/f*(o-e))];l=r.RGBtoHex(p);break}}if(!c)return l}},t}(u.ComponentInterface);t["default"]=f},function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t["default"]=function(n){!function(n){var t=n.getFromEnv("dataSource").colorrange,s=n.getFromEnv("dataSource").chart.mapbycategory,h="maps"===n.defaultDatasetType,c="TreeMap"===n.getName(),o=void 0,i=n.getFromEnv("legend"),u=n.getFromEnv("gLegend");o=t&&n.config.showLegend?h?t.gradient&&Number(t.gradient)?"gradient":t.color?"icon":"none":c?t.gradient&&"0"!=t.gradient?"gradient":"none":t.gradient&&"0"!=t.gradient&&!Number(s)?"gradient":"icon":"none";switch(o){case"gradient":n.deleteFromEnv("legend");i&&i.remove();r.componentFactory(n,f["default"],"gLegend",1);(u=n.getChildren("gLegend")[0]).configure();n.addToEnv("gLegend",u);break;case"icon":n.deleteFromEnv("gLegend");u&&u.remove();r.componentFactory(n,e["default"],"legend",1,{showLegend:!0});(i=n.getChildren("legend")[0]).configure();n.addToEnv("legend",i);break;case"none":n.deleteFromEnv("gLegend");n.deleteFromEnv("legend");u&&u.remove();i&&i.remove()}}(n)};var r=i(125),f=u(i(957)),e=u(i(463))},function(n,t,i){"use strict";function c(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function k(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function d(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function e(n,t){return function i(n,t){var r;for(var f in n)ut.call(n,f)&&(r=n[f],t[f]===u?t[f]=r:"object"===(void 0===r?"undefined":it(r))&&null!==r&&i(r,t[f]))}(n,t),t}function a(n){var t=n||g;return r.getValidColor(t)||g}function b(n){var t,i=n.fontSize+"";return i?(t=i.replace(/(\d+)(px)*/,"$1px"),n.fontSize=t,n):n}function w(n){return!(n!==u&&void 0!==n&&null!==n&&!isNaN(n))}
51t.__esModule=!0;var it="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},r=i(125),rt=i(138);var u=void 0,o={},v="rgba(192,192,192,"+(r.isIE?.002:1e-6)+")",l=void 0,s=!1,h=!0,g="#000000",ut={}.hasOwnProperty,y="M",p="L",f=void 0;o.CAPTION="CAPTION";o.LEGEND_BODY="LEGEND_BODY";o.AXIS_LABEL="LEGEND_LABEL";o.LEGEND_AXIS="LEGEND_AXIS";o.RANGE="RANGE";o.AXIS_VALUE="AXIS_VALUE";l=function(){var t,n={};return n.legendCarpetConf={spreadFactor:.85,allowDrag:!1,captionAlignment:"center",padding:{v:3,h:3},style:{fill:"#e4d9c1",stroke:"#c4b89d"}},n.legendCaptionConf={spreadFactor:.2,padding:{v:2,h:2},style:{fill:"#786B50",fontFamily:"sans-serif",fontSize:"12px",fontWeight:"bold",fontStyle:"normal"},bound:{style:{stroke:"none"}}},n.legendBodyConf={spreadFactor:.8,padding:{v:2,h:2},bound:{style:{stroke:"none"}}},n.legendAxisConf={legendAxisHeight:11,spreadFactor:.4,padding:{v:1,h:1},style:{stroke:"none","stroke-opacity":0,"stroke-width":1},line:{grooveLength:3,offset:8,style:{stroke:"rgba(255, 255, 255, 0.65)","stroke-width":1.5}},shadow:{style:{stroke:"none",fill:r.toRaphaelColor({FCcolor:{alpha:"25,0,0",angle:360,color:"000000,FFFFFF,FFFFFF",ratio:"0,30,40"}})}},bound:{style:{stroke:"none"}}},n.sliderGroupConf={showTooltip:1,outerCircle:{rFactor:1.4,style:{fill:v,stroke:"#757575","stroke-width":3}},innerCircle:{rFactor:.65,style:{fill:v,stroke:"#FFFFFF"}}},n.axisTextItemConf={spreadFactor:.3,padding:{v:1,h:1},style:{fill:"#786B50",fontFamily:"sans-serif",fontSize:"12px",fontWeight:"normal",fontStyle:"normal"}},{init:function(n){t=n.chart},legacyDataParser:function(n,i){var e,h,o,w,s,d,y,l,f,c,v,b,g,p={},k=t.getFromEnv("number-formatter");if(!n)return!1;for(p.mapByPercent=v=!!r.pluckNumber(n.mapbypercent,0),e=n.color||[],n.minvalue===u&&(n.minvalue=i.min!==u?v?0:i.min:0),n.maxvalue===u&&(n.maxvalue=i.max!==u?v?100:i.max:100),b=!1,s=0,y=e.length;s<y;s++)if(e[s].maxvalue){b=!0;break}for(b||(e=[]),o=n.code,l=p.colorRange=[],p.gradient=!!r.pluckNumber(n.gradient,1),e.length?o=a(o):(o?(w=a(o),o=a()):(o=a(),g=o,w=r.getLightColor(g,1)),e.push({code:w,maxvalue:n.maxvalue,label:u})),function(n){for(var u,f=t.getFromEnv("number-formatter"),i=0,r=n.length;i<r;i++)(u=n[i].maxvalue)&&(n[i].maxvalue=f.getCleanValue(u))}(e),e=e.sort(function(n,t){return n.maxvalue-t.maxvalue}),f=c=n.minvalue&&k.getCleanValue(n.minvalue),c=(f!==u||null!==f)&&(v?f+"%":k.legendValue(f)),l.push({code:r.dehashify(o),value:f,displayValue:c,label:n.startlabel}),s=0,y=e.length;s<y;s++)d=a((h=e[s]).code||h.color),f=c=h.maxvalue,isNaN(parseInt(f,10))||(c=(f!==u||null!==f)&&(v?f+"%":k.legendValue(f)),l.push({code:r.dehashify(d),value:f,displayValue:c,label:h.label||h.displayvalue}));return l[l.length-1].label=n.endlabel||h.label,p},getDefaultConf:function(t){return n[t]}}}();var ft=function(n){function t(){c(this,t);var i=k(this,n.call(this));return f=i,i.enabled=!1,i.drawOptions={},i.components={},i}return d(t,n),t.prototype.getType=function(){return"gradientLegend"},t.prototype.getName=function(){return"gLegend"},t.prototype.setColorRange=function(n){var t=this.drawOptions.colorRange=n;t&&t._preparationGoneWrong&&(this._dontPlot=!0)},t.prototype.configureAttributes=function(){var f,e,o,a,s,h,c,v,y,p,w=this.getFromEnv("chart"),n=this.getFromEnv("dataSource").chart,t=this.conf={},b=n.outcnvbasefont,k=n.outcnvbasefontsize,d=n.outcnvbasefontcolor,i=w.config.dataLabelStyle;l.init({chart:w});this.data=this.getFromEnv("dataSource").colorrange;this._dontPlot||(this.drawOptions={smartLabel:this.getFromEnv("smartLabel"),gLegend:this},this._dontPlot=!1,this._recalculateLogicalSpace=!0,t.caption=r.pluck(n.legendcaption),t.legendPosition=r.pluck(n.legendposition,"bottom").toLowerCase(),t.showLegend=r.pluckNumber(n.showlegend,1),t.interactiveLegend=r.pluckNumber(n.interactivelegend,1),t.showLegendLabels=r.pluckNumber(n.showlegendlabels,1),f=n.legenditemfontcolor||d,e=n.legenditemfont||b,o=n.legenditemfontsize||k,a=r.pluckNumber(n.legenditemfontbold,0),s=n.legendcaptionfontcolor||d,h=n.legendcaptionfont||b,c=n.legendcaptionfontsize||k,v=r.pluckNumber(n.legendcaptionfontbold,1),p=(y=n.legendaxisbordercolor?r.hashify(r.dehashify(n.legendaxisbordercolor)):u)?r.pluckNumber(n.legendaxisborderalpha,100)/100:u,t.axisTextItemConf={style:{fill:f?r.convertColor(r.pluck(f)):i.color,fontFamily:e?r.pluck(e):i.fontFamily,fontSize:o?r.pluckNumber(o):i.fontSize.match(/\d+/)[0],fontWeight:a?"bold":i.fontWeight}},t.legendCaptionConf={style:{fill:s?r.convertColor(r.pluck(s)):i.color,fontFamily:h?r.pluck(h):i.fontFamily,fontSize:c?r.pluckNumber(c):i.fontSize.match(/\d+/)[0],fontWeight:v?"bold":i.fontWeight,fontStyle:"normal"}},t.legendAxisConf={legendAxisHeight:11,style:{stroke:y,"stroke-opacity":p},line:{style:{stroke:r.convertColor(r.pluck(n.legendscalelinecolor,"FFF8E9"),r.pluckNumber(n.legendscalelinealpha,100)),"stroke-width":r.pluckNumber(n.legendscalelinethickness)}}},t.sliderGroupConf={showTooltip:r.pluckNumber(n.showtooltip,1),outerCircle:{rFactor:r.pluckNumber(n.sliderdiameterfactor),style:{stroke:r.convertColor(r.pluck(n.legendpointerbordercolor,"757575"),r.pluckNumber(n.legendpointerborderalpha,100))}},innerCircle:{rFactor:r.pluckNumber(n.sliderholediameterfactor),style:{stroke:r.convertColor(r.pluck(n.legendpointercolor,"FFFFFF"),r.pluckNumber(n.legendpointeralpha,100))}}},t.legendCarpetConf={spreadFactor:r.pluckNumber(n.legendspreadfactor),allowDrag:!!r.pluckNumber(n.legendallowdrag,0),captionAlignment:r.pluck(n.legendcaptionalignment,"center"),style:{fill:r.convertColor(r.pluck(n.legendbgcolor,"e4d9c1"),r.pluckNumber(n.legendbgalpha,100)),stroke:r.convertColor(r.pluck(n.legendbordercolor,"c4b89d"),r.pluckNumber(n.legendborderalpha,100)),"stroke-width":r.pluckNumber(n.legendborderthickness,1)}})},t.prototype.postConfigureInit=function(){var r,c,u,i,t,f,s,y,a,v,h,n=this.conf;this.elem={};n.interactiveLegend?(i=e(l.getDefaultConf("sliderGroupConf"),n.sliderGroupConf),this.sGroup?((u=this.elem.sGroup=this.sGroup).c
51onfigure(i),this.elem.sGroup.gLegend=this):(this.sGroup=this.elem.sGroup=u=new lt(i),u.configure(i),this.elem.sGroup.gLegend=this)):(this.sGroup&&this.sGroup.dispose(),this.sGroup&&delete this.sGroup);(i=e(l.getDefaultConf("legendCarpetConf"),n.legendCarpetConf)).legendPosition=n.legendPosition;h=l.getDefaultConf("legendBodyConf");"bottom"===n.legendPosition?(this.drawOptions.refSideKey="canvasWidth",this.drawOptions.refOffsetKey="canvasLeft",t=e(l.getDefaultConf("axisTextItemConf"),n.axisTextItemConf),h.legendPosition="bottom",(v=e(l.getDefaultConf("legendAxisConf"),n.legendAxisConf)).legendPosition="bottom",t.legendPosition="bottom"):(this.drawOptions.refSideKey="canvasHeight",this.drawOptions.refOffsetKey="canvasTop",t=e(l.getDefaultConf("axisTextItemConf"),n.axisTextItemConf),h.legendPosition="right",(v=e(l.getDefaultConf("legendAxisConf"),n.legendAxisConf)).legendPosition="right",t.legendPosition="right");Object.keys(this.components).length||(this.components.LegendCarpet=new ot,this.components.LegendBody=new ht,this.components.LegendAxis=new ct,this.components.LegendValues=new at,n.showLegendLabels&&(this.components.LegendLabels=new nt));c=this.components.LegendAxis;y=this.components.LegendValues;r=this.components.LegendCarpet;f=this.components.LegendBody;n.showLegendLabels&&(s=this.components.LegendLabels);this.components.LegendCarpet.configure(i);this.components.LegendValues.configure(t);this.components.LegendAxis.configure(v);this.components.LegendBody.configure(this.drawOptions.colorRange,h,t);n.showLegendLabels&&s.configure(t);n.caption?(a=e(l.getDefaultConf("legendCaptionConf"),n.legendCaptionConf),this.componentCaption&&Object.keys(this.componentCaption).length?this.componentCaption.configure(n.caption,a):(this.componentCaption=new st).configure(n.caption,a),r.addCompositions(this.componentCaption,o.CAPTION)):(r.removeCompositions(o.CAPTION),this.componentCaption&&this.componentCaption.dispose(),delete this.componentCaption);u&&c.addCompositions(u,o.RANGE);s&&f.addCompositions(s,o.AXIS_LABEL);f.addCompositions(c,o.LEGEND_AXIS);f.addCompositions(y,o.AXIS_VALUE);r.addCompositions(f,o.LEGEND_BODY);this.elem.gl=new et(r)},t.prototype.getValueRange=function(){var t,i,n=this.elem&&this.elem.sGroup,r=n.sliders,u=n.extremes;return t=r["false"].currPos,i=u[1]-u[0]+r["true"].currPos,[{min:n.getValueFormPixel(t),max:n.getValueFormPixel(i)}]},t.prototype._dispose=function(){this.elem&&this.elem.gl&&this.elem.gl.dispose();this.elem={};n.prototype._dispose.call(this)},t.prototype.getCalculatedLogicalSpace=function(){return this._logicalArea},t.prototype.setCalculatedLogicalSpace=function(n){this._logicalArea=n},t.prototype.getLogicalSpace=function(n){var t,i,r,o=this.conf,e={height:0,width:0},u=this.drawOptions,f=this.getFromEnv("chartConfig");return this._recalculateLogicalSpace?this._dontPlot?e:(this._recalculateLogicalSpace=!1,this.postConfigureInit(),o.showLegend?(i=u.refSideKey,r=u.refOffsetKey,this.drawOptions.refSide=f[i],this.drawOptions.refOffset=f[r],this.drawOptions.maxOtherSide=n||this.drawOptions.maxOtherSide,this.elem.gl&&(t=this.elem.gl.getLogicalSpace(this.drawOptions,!0),this.elem.gl&&this.setCalculatedLogicalSpace(t)),this.getCalculatedLogicalSpace()):e):(i=u.refSideKey,r=u.refOffsetKey,this.drawOptions.refSide=f[i],this.drawOptions.refOffset=f[r],this.drawOptions.maxOtherSide=n||this.drawOptions.maxOtherSide,t=this.elem.gl.getLogicalSpace(this.drawOptions,!0),this.setCalculatedLogicalSpace(t),this.getCalculatedLogicalSpace()||e)},t.prototype.resetLegend=function(){var n;(n=this.elem&&this.elem.sGroup)&&n.reset()},t.prototype.allocatePosition=function(){var t,r,e,o,u,f,s=this.getFromEnv("chart"),n=s.config,i=this.conf||{},h=i.legendPosition,c=n.canvasLeft,l=n.canvasTop,a=n.canvasWidth,v=n.canvasHeight,y=n.marginBottom,p=n.marginRight;s.config.gLegendEnabled&&(t=this.getCalculatedLogicalSpace(),e=i.width=t.width,o=i.height=t.height,"bottom"===h?(u=c+((r=a-e)<0?0:r/2),f=n.height-t.height-y-(n.actionBarHeight||0)):(f=l+((r=v-o)<0?0:r/2),u=n.width-t.width-p),i.xPos=u,i.yPos=f)},t.prototype.draw=function(){var n=this.getFromEnv("chart"),i=n.getFromEnv("dataSource").colorrange,t=this.conf||{},r=n.hasGradientLegend;n.config.gLegendEnabled&&i&&r&&this.drawLegendComponent(t.xPos,t.yPos,{parentGroup:n.getContainer("parentgroup"),animationManager:n.getFromEnv("animationManager")})},t.prototype.drawLegendComponent=function(n,t,i){var r,u=this.conf;this._dontPlot||(u.showLegend?(this.drawOptions.animationManager=i.animationManager,this.drawOptions.parentGroup=i.parentGroup,this.drawOptions.x=n,this.drawOptions.y=t,this.drawOptions.maxOtherSide=this.drawOptions.maxOtherSide||i.maxOtherSide,r=this.elem.gl.draw(this.drawOptions).getBBox(),u.xPos=r.x,u.yPos=r.y,u.height=r.height,u.width=r.width,this.enabled=!0):this.enabled=!1)},t}(rt.ComponentInterface),et=function(){function n(t){c(this,n);this.carpet=t}return n.prototype.draw=function(n){return this.carpet.draw(n)}
51,n.prototype.getLogicalSpace=function(n,t){return this.carpet.getLogicalSpace(n,t)},n.prototype.dispose=function(){this.carpet&&this.carpet.group&&this.carpet.group.remove()},n}(),ot=function(){function n(t){c(this,n);this.conf=t;this._id="GL_CARPET";this.compositionsByCategory={};this.node=u;this.group=u;this._lSpace=u;this.autoRecalculate=!1;this.groupName="fc-gradient-legend";this.moveInstructions={}}return n.prototype.configure=function(n){this.conf=n},n.prototype.getName=function(){return"LegendCarpet"},n.prototype.getType=function(){return"legend"},n.prototype.addCompositions=function(n,t){this.compositionsByCategory[t]=n},n.prototype.removeCompositions=function(n){delete this.compositionsByCategory[n]},n.prototype.getBoundingBox=function(n){var t,i,o=this.conf,s=o.spreadFactor,r=n.refSide,h=n.alignment,c=n.refOffset,f=n.x,e=n.y;return"bottom"===this.conf.legendPosition?(t=o.width=r*s,i=n.maxOtherSide,!h||f!==u&&null!==f||(f=(c+r)/2-t/2)):(i=o.height=r*s,t=n.maxOtherSide,!h||e!==u&&null!==e||(e=(c+r)/2-i/2)),{width:t,height:i,x:f,y:e}},n.prototype.getPostCalcDecisionsH=function(n,t){var i,u=this.conf.padding,r=0;for(i in this.moveInstructions={},t)r+=t[i].height||0;n.height=r+2*u.v},n.prototype.getLogicalSpace=function(n,t){var l,u,r,o,s,i=this._lSpace,a=["CAPTION","LEGEND_BODY"],h=this.conf.padding,p=this.compositionsByCategory,c=0,v={},y=0,f;if(i&&!t)return i.isImpure=!0,i;for((w((i=this._lSpace=u=this.getBoundingBox(n)).x)||w(i.y)||w(i.height)||w(i.width))&&(this.autoRecalculate=!0),(r=e(u,{})).height-=2*h.v,r.width-=2*h.h,r.x+=h.h,r.y+=h.v,f=0;f<a.length;f++)(l=p[a[f]])&&((s=e(r,{})).y+=c,c=r.height*l.conf.spreadFactor,s.height=c+y,o=l.getLogicalSpace(e(s,{}),n,t),y=s.height-o.height,v[a[f]]=o,c=o.height);return this.getPostCalcDecisions(u,v),this._lSpace=u,u},n.prototype.setupDragging=function(){var n=this.group,t=0,i=0,u=0,f=0;n.css({cursor:"move"});n.drag(function(r,e){t=r;i=e;n.attr({transform:"t"+(u+t)+","+(f+i)})},function(){u+=t;f+=i},r.stubFN)},n.prototype.draw=function(n){var i,o,r,u=this.conf,s=["CAPTION","LEGEND_BODY"],h=this.compositionsByCategory,e=n.animationManager,c=n.parentGroup,t;for(this.getLogicalSpace(n,this.autoRecalculate),r=this._lSpace,this.group=i=e.setAnimation({el:this.group||"group",attr:{name:this.groupName},component:f,container:c,label:"carpetGroup"}),this.node=e.setAnimation({el:this.node||"rect",attr:r,css:u.style,component:f,container:i,label:"rect"}),t=0;t<s.length;t++)(o=h[s[t]])&&o.draw(u.captionAlignment,r,{animationManager:e,colorRange:n.colorRange,numberFormatter:n.numberFormatter,parentLayer:i,smartLabel:n.smartLabel,moveInstructions:this.moveInstructions[void 0],gLegend:n.gLegend});return u.allowDrag&&this.setupDragging(),this.node},n.prototype.getPostCalcDecisions=function(n,t){return"bottom"===this.conf.legendPosition?this.getPostCalcDecisionsH(n,t):this.getPostCalcDecisionsV(n,t)},n.prototype.getPostCalcDecisionsV=function(n,t){var u,i,f,e=this.conf.padding,r=Number.NEGATIVE_INFINITY,o=this.moveInstructions;for(i in this.getPostCalcDecisionsH(n,t),t)r=r<(u=t[i].width)?u:r;for(i in n.width=r+2*e.h,t)(f=r-(u=t[i].width))&&(o[i]="t"+f/2+",0")},n}(),st=function(){function n(t,i){c(this,n);this.rawText=t;this.conf=i;this._id="GL_CAPTION";this.node=u;this.bound=u;this._lSpace=u;this.LegendCaption={};this.LegendCaption.LEFT={x:function(n,t){return t.x+n.width/2+2}};this.LegendCaption.RIGHT={x:function(n,t){return t.x+t.width-n.width/2-2}};this.LegendCaption.CENTER={x:function(){var n=arguments[1];return n.x+n.width/2}}}return n.prototype.configure=function(n,t){this.rawText=n;this.conf=t},n.prototype.getName=function(){return"LegendCaption"},n.prototype.getType=function(){return"caption"},n.prototype.getLogicalSpace=function(n,t,i){var h,r,o,c,s=this.conf.padding,f=this._lSpace,l=this.rawText,a=t.gLegend.getFromEnv("chartConfig");return f&&!i?(f.isImpure=!0,f):(f=this._lSpace={bound:{height:0,width:0},node:{logicArea:u,smartText:u}},h=t.smartLabel,l?((r=e(n,{})).height-=2*s.v,r.width-=2*s.h,r.x+=s.h,r.y+=s.v,h.useEllipsesOnOverflow(a.useEllipsesWhenOverflow),b(c=e(this.conf.style,{})),h.setStyle(this._metaStyle=c),o=h.getSmartText(l,r.width,r.height),r.height=o.height,r.width=o.width,n.height=o.height+2*s.v,n.width=o.width+2*s.h,f.node.smartText=o,f.node.logicArea=r,f.bound=n,n):f.bound)},n.prototype.draw=function(){var s,r,h,c,l,a,t,e,i,n,u,o=this.conf,v=o.bound||{};return arguments.length>=3?(t=arguments[0],e=arguments[1],i=arguments[2]):arguments.length>=2&&(t=arguments[0],i=arguments[1]),s=i.parentLayer,u=i.animationManager,this.group=r=u.setAnimation({el:this.group||"group",attr:{name:"legend-caption"},css:o.style,component:f,container:s}
vendor: 9,401 bytes, line 51
51),this.getLogicalSpace(e,i),n=(l=this._lSpace).node,c=l.bound,this.bound=h=u.setAnimation({el:this.bound||"rect",attr:c,css:v.style,container:r,component:f}),a="string"==typeof t?this.LegendCaption[t.toUpperCase()].x(n.smartText,e||n.logicArea):t,this.node=u.setAnimation({el:this.node||"text",attr:{text:n.smartText.text,x:a,y:n.logicArea.y+n.smartText.height/2,lineHeight:this._metaStyle.lineHeight,fill:o.style.fill},container:r,component:f}),{group:r,bound:h,node:this.node}},n.prototype.dispose=function(){this.group.remove();this.bound.remove();this.node.remove()},n}(),ht=function(){function n(t,i,r){c(this,n);this.colorRange=t;this.conf=i;this.childTextConf=r;this._id="GL_BODY";this.bound=u;this.group=u;this.compositionsByCategory={};this._lSpace=u;this.SC_STACK=[o.AXIS_LABEL,o.LEGEND_AXIS,o.AXIS_VALUE];this.DARW_STACK=[o.AXIS_VALUE,o.LEGEND_AXIS,o.AXIS_LABEL]}return n.prototype.configure=function(n,t,i){this.colorRange=n;this.conf=t;this.childTextConf=i;this.compositionsByCategory={}},n.prototype.getName=function(){return"LegendBody"},n.prototype.getType=function(){return"legend"},n.prototype.addCompositions=function(n,t){this.compositionsByCategory[t]=n},n.prototype.getSpaceTaken=function(n){return"bottom"===this.conf.legendPosition?n.height:n.width},n.prototype.getLogicalSpace=function(n,t,i){var h,l,c,r,a,o,v,f=this._lSpace,s=this.conf.padding,p=this.compositionsByCategory,y=0;if(f&&!i)return f.isImpure=!0,f;for(f=this._lSpace={bound:{height:0,width:0},node:{logicArea:u}},(r=e(n,{})).height-=2*s.v,r.width-=2*s.h,r.x+=s.h,r.y+=s.v,a=this.getCompositionPlotAreaFor(r),t.colorRange=this.colorRange,o=0,v=this.SC_STACK.length;o<v;o++)(h=p[this.SC_STACK[o]])&&(l=a(c,h.conf.spreadFactor),c=h.getLogicalSpace(e(l,{}),t,i),y+=this.getSpaceTaken(c));return this.updateEffectivePlotArea(n,r,y),f.node.logicArea=r,f.bound=n,n},n.prototype.draw=function(){var r,u,e,o,t,s,h,n,i,c,l=this.childTextConf,a=this.conf.bound.style||{},v=this.compositionsByCategory;for(arguments.length>=3?(s=arguments[1],n=arguments[2]):arguments.length>=2&&(n=arguments[1]),u=n.parentLayer,r=n.animationManager,this.getLogicalSpace(s,n),h=this._lSpace,this.group=t=r.setAnimation({el:this.group||"group",attr:{name:"legend-body",transform:"t0,0"},css:l.style,container:u,component:f}),this.bound=e=r.setAnimation({el:this.bound||"rect",attr:h.bound,css:a,container:t,component:f}),n.colorRange=this.colorRange,n.parentLayer=t,i=0,c=this.DARW_STACK.length;i<c;i++)(o=v[this.DARW_STACK[i]])&&o.draw(n);return n.moveInstructions&&t.attr({transform:n.moveInstructions}),{bound:e,group:t}},n.prototype.getCompositionPlotAreaFor=function(n){var t,i="bottom"===this.conf.legendPosition;return t=e(n,{}),function(r,u){return r=r||{},i?(t.y+=r.height||0,t.height=n.height*u):(t.x+=r.width||0,t.width=n.width*u),t}},n.prototype.updateEffectivePlotArea=function(n,t,i){var r=this.conf.padding;"bottom"===this.conf.legendPosition?(t.height=i,n.height=i+2*r.v):(t.width=i,n.width=i+2*r.h)},n}(),nt=function(){function n(t){c(this,n);this.conf=t;this.node=[];this._id="GL_LABELS"}return n.prototype.configure=function(n){this.conf=n},n.prototype.getType=function(){return"label"},n.prototype.getName=function(){return"LegendLabel"},n.prototype.getEffectivePlotArea=function(n){var t=this.conf.padding;return n.height-=2*t.v,n.width-=2*t.h,n.x+=t.h,n.y+=t.v,n},n.prototype.getLogicalSpace=function(n,t,i){var tt,l,it,s,c,rt,ut,ht,v,h,y,p,w,k,o,ct,lt,ft,et,r,ot,st,d,g="bottom"===this.conf.legendPosition,a=this._lSpace,at=this.conf,vt=at.padding,nt=[],yt=t.gLegend.getFromEnv("chartConfig"),f=[];if(a&&!i)return a.isImpure=!0,a;for(tt=t.colorRange,l=t.smartLabel,h=tt.getCumulativeValueRatio(),it=tt.colorRange,w=(a=this._lSpace={bound:{height:0,width:0},node:{logicArea:u,smartTexts:[]}}).node.smartTexts,ht=e(n,{}),o=this.getEffectivePlotArea(ht),d=g?o.width:o.height,l.useEllipsesOnOverflow(yt.useEllipsesWhenOverflow),st=e(at.style,{}),b(this._metaStyle=st),l.setStyle(st),ct=l.getSmartText("W"),s=0,c=it.length;s<c;s++)(v=it[s].label)?f.push({oriIndex:s,label:v}):w[s]=u;if(0===(c=f.length))return{height:0,width:0};for(p=y=c>1?(h[f[c-1].oriIndex]-h[f[0].oriIndex])/2*d/100:Math.max(h[f[0].oriIndex],100-h[f[0].oriIndex])/2*d/100,g?((r=l.getSmartText(f[0].label,p,o.height)).x=h[f[0].oriIndex]*o.width/100,rt=r.x+r.width):((r=l.getSmartText(f[0].label,p,o.width)).y=h[f[0].oriIndex]*o.height/100,rt=r.y+r.width),nt.push(r.height),w[f[0].oriIndex]=r,g?((r=l.getSmartText(f[c-1].label,p,o.height)).x=h[f[c-1].oriIndex]*o.width/100,ut=r.x-r.width):((r=l.getSmartText(f[c-1].label,p,o.width)).y=h[f[c-1].oriIndex]*o.height/100,ut=r.y-r.width),nt.push(r.height),w[f[c-1].oriIndex]=r,et=rt,s=1;s<c-1;s++)v=f[s].label,ot=f[s].oriIndex,r=u,lt=s+1===c-1?ut:h[f[s+1].oriIndex]*d/100,ft=h[f[s].oriIndex]*d/100,(y=Math.min(ft-et,lt-ft))>2*ct.width&&(g?(r=l.getSmartText(v,y,o.height)).x=h[ot]*o.width/100:(r=l.getSmartText(v,y,o.width)).y=h[ot]*o.height/100,et=y,nt.push(r.height)),w[f[s].oriIndex]=r;return k=Math.max.apply(Math,nt),g?(o.height=k,n.height=k+2*vt.v):(o.width=k,n.width=k+2*vt.v),a.node.logicArea=o,a.bound=n,n},n.prototype.draw=function(){var v,y,e,p,n,c,u,i,t,l,o,s,w="bottom"===this.conf.legendPosition,a=this.conf,b=a.bound&&a.bound.style||{stroke:"none"},r={},h;for(arguments.length>=2&&arguments[1]?(p=arguments[0],u=arguments[1]):arguments.length>=1&&(u=arguments[0]),s=u.animationManager,v=u.parentLayer,this.getLogicalSpace(p,u),t=(c=this._lSpace).node.logicArea,l=c.node.smartTexts,this.group=e=s.setAnimation({el:this.group||"group",attr:{name:"legend-labels"},container:v,component:f}),this.bound=y=s.setAnimation({el:this.bound||"rect",attr:c.bound,css:b,container:e,component:f}),h=0;h<this.node.length;h++)this.node[h].remove();for(this.node=[],i=0,o=l.length;i<o;i++)(n=l[i])&&(w?(r.y=t.y+n.height/2,r.x=i===o-1?t.x+n.x-n.width/2:i?t.x+n.x:t.x+n.x+n.width/2):(r.x=t.x+n.height/2,r.y=i===o-1?t.y+n.y-n.width/2:i?t.y+n.y:t.y+n.y+n.width/2),this.node.push(s.setAnimation({el:"text",attr:{text:n.text,x:r.x,y:r.y,lineHeight:this._metaStyle.lineHeight,fill:a.style.fill,transform:w?"R0":"R270,"+r.x+","+r.y},container:e,component:f})));return{group:e,bound:y,node:this.node}},n}(),ct=function(){function n(t){c(this,n);this.conf=t;this._id="FL_AXIS";this.node=u;this.group=u;this.shadow=u;this.markerLine=u;this.compositionsByCategory={}}return n.prototype.configure=function(n){this.conf=n},n.prototype.getName=function(){return"LegendAxis"},n.prototype.getType=function(){return"axis"},n.prototype.addCompositions=function(n,t){this.compositionsByCategory[t]=n},n.prototype.getLogicalSpace=function(){var l,s,h,v,n,y,p="bottom"===this.conf.legendPosition,r=arguments[0],w=arguments[2],t=this._lSpace,a=this.conf,i=a.padding,c=a.legendAxisHeight,b=this.compositionsByCategory,f=0;return t&&!w?(t.isImpure=!0,t):(t=this._lSpace={bound:{height:0,width:0},node:{logicArea:u}},(n=e(r,{})).height-=2*i.v,n.width-=2*i.h,n.x+=i.h,n.y+=i.v,l=c/2+a.line.offset,s=c/2,(v=b[o.RANGE])&&(y=v.sliders["false"].conf.outerCircle.rFactor*c,s+=f=Math.max(y/2-c/2,0)),p?(n.y+=f,n.height=h=s+l+f,r.height=h+2*i.v):(n.x+=f,n.width=h=s+l+f,r.width=h+2*i.v),t.node.logicArea=n,t.bound=r,r)},n.prototype.getDrawableAxisArea=function(n){var t=this.conf,i="bottom"===this.conf.legendPosition;return{x:n.x,y:n.y,width:i?n.width:t.legendAxisHeight,height:i?t.legendAxisHeight:n.height,r:t.legendAxisHeight/2}},n.prototype.preDrawingRangeParamV=function(n){return{x:n.x+n.width/2,calculationBase:n.width,rangeStart:n.y,rangeEnd:n.y+n.height,prop:"x"}},n.prototype.preDrawingRangeParamH=function(n){return{y:n.y+n.height/2,calculationBase:n.height,rangeStart:n.x,rangeEnd:n.x+n.width,prop:"y"}},n.prototype.preDrawingRangeParam=function(n){return"bottom"===this.conf.legendPosition?this.preDrawingRangeParamH(n):this.preDrawingRangeParamV(n)},n.prototype.getScaleMarkerPathStrH=function(n,t){var u,s,h,o,r,i=e(n,{}),f=this.conf.line,c="",l="";for(i.x+=i.r,i.width-=2*i.r,r=i.y+i.height,u=0,s=t.length;u<s;u++)h=t[u],o=i.x+h*i.width/100,c+=y+o+","+(r-f.grooveLength)+p+o+","+(r+f.offset);return c+(l+=y+i.x+","+(r+f.offset)+p+(i.x+i.width)+","+(r+f.offset))},n.prototype.getColorGradientH=function(n){return{axis:n.getBoxFill(),shadow:r.toRaphaelColor({FCcolor:{alpha:"25,0,0",angle:90,color:"000000,FFFFFF,FFFFFF",ratio:"0,30,40"}})}},n.prototype.draw=function(){var l,a,s,v,y,p,i,t,h,e,c,n,r,w,u=this.conf,k=u.bound||{},d=u.line,g=k.style||{},b=this.compositionsByCategory;for(s in arguments.length>=2?(a=arguments[0],n=arguments[1]):arguments.length>=1&&(n=arguments[0]),r=n.animationManager,l=n.parentLayer,y=(v=n.colorRange).getCumulativeValueRatio(),this.getLogicalSpace(a,n),c=this._lSpace,this.group=i=r.setAnimation({el:this.group||"group",attr:{name:"legend-axis"},container:l,component:f}),this.bound=r.setAnimation({el:this.bound||"rect",attr:c.bound,css:g,component:f,container:i}),e=this.getDrawableAxisArea(c.node.logicArea),h=this.getColorGradient(v),u.style.fill=h.axis,u.shadow.style.fill=h.shadow,this.node=r.setAnimation({el:this.node||"rect",attr:e,css:u.style,container:i,component:f}),this.shadow=r.setAnimation({el:this.shadow||"rect",attr:e,css:u.shadow.style,container:i,component:f}),w=this.getScaleMarkerPathStr(e,y),this.path=r.setAnimation({el:this.path||"path",attr:{path:w},css:d.style,container:i,component:f}),b)switch(p=b[s],s){case o.RANGE:n[(t=this.preDrawingRangeParam(e)).prop]=t[t.prop];
51n.key=t.prop;n.rCalcBase=t.calculationBase;n.parentLayer=i;p.draw(t.rangeStart,t.rangeEnd,n)}},n.prototype.getScaleMarkerPathStr=function(n,t){return"bottom"===this.conf.legendPosition?this.getScaleMarkerPathStrH(n,t):this.getScaleMarkerPathStrV(n,t)},n.prototype.getColorGradient=function(n){return"bottom"===this.conf.legendPosition?this.getColorGradientH(n):this.getColorGradientV(n)},n.prototype.getScaleMarkerPathStrV=function(n,t){var u,s,h,r,o,i=e(n,{}),f=this.conf.line,c="",l="";for(i.y+=i.r,i.height-=2*i.r,r=i.x+i.width,u=0,h=t.length;u<h;u++)s=t[u],o=i.y+s*i.height/100,c+=y+(r-f.grooveLength)+","+o+p+(r+f.offset)+","+o;return c+(l+=y+(r+f.offset)+","+i.y+p+(r+f.offset)+","+(i.y+i.height))},n.prototype.getColorGradientV=function(n){return{axis:n.getBoxFill(!0),shadow:r.toRaphaelColor({FCcolor:{alpha:"25,0,0",angle:360,color:"000000,FFFFFF,FFFFFF",ratio:"0,30,40"}})}},n}(),tt=function(){function n(t,i,r){c(this,n);this.conf=i.conf;this.sliderIndex=t;this.rangeGroup=i.sliderGroup;this._id=r;this.node=u;this.tracker=u;this.currPos=0;this.swing=[]}return n.prototype.configure=function(n,t,i){this.conf=t.conf;this.sliderIndex=n;this.rangeGroup=t.sliderGroup;this._id=i;this.currPos=0;this.swing=[]},n.prototype.getType=function(){return"slider"},n.prototype.getName=function(){return"Slider"},n.prototype.updateSwingRange=function(n,t){this.swing[+n]=t},n.prototype.draw=function(n,t,i,r){var b,s,l,k,e,o,a,g=r.parentLayer,h=r.animationManager,y=this.conf,p=y.outerCircle,w=y.innerCircle,nt=h.getFromEnv("chart").config,c=Math.ceil(p.rFactor*r.rCalcBase/2),u=Math.ceil(w.rFactor*r.rCalcBase/2),tt=c-u,it=r.gLegend.getFromEnv("toolTipController"),d=this.sliderIndex;return y.outerRadius=c,y.innerRadius=u,this._scaleVal=t,w.style["stroke-width"]=tt,u+=k=Math.ceil(p.style["stroke-width"]/2),s=this.node=h.setAnimation({el:this.node||"group",attr:{name:"fc-gl-slider",cursor:"pointer",transform:"t0,0"},container:g,component:f}),"x"===r.key?(e=i,o=n,o+=d?-u:+u):(e=n,o=i,e+=d?-u:+u),this.oCircle=h.setAnimation({el:this.oCircle||"circle",attr:{cx:e,cy:o,r:c},css:p.style,container:s,component:f}),this.iCircle=h.setAnimation({el:this.iCircle||"circle",attr:{cx:e,cy:o,r:u},css:w.style,container:s,component:f}),a=this.tracker=h.setAnimation({el:this.tracker||"circle",attr:{cx:e,cy:o,r:c+5,fill:v,stroke:v,cursor:"pointer"},container:s,component:f}),s.attr({transform:"x"===r.key?"t0,"+this.currPos:"t"+this.currPos+",0"}),b=nt.showToolTip?t:"",it.enableToolTip(a,b),this._dragAPI=l=this.getDragAPI("x"===r.key),a.undrag(),a.drag(l.dragging,l.dragStart,l.dragEnd),{translateAscending:c+k}},n.prototype.getDragAPI=function(n){var i,e,r,f,t=this,h=t.node,o=t.sliderIndex,u=t.rangeGroup,s=t.conf.innerRadius;return{dragging:function(c){var a,v,l,p,y;return c.stopPropagation(),l=n?c.data[1]:c.data[0],o?(a=i[0]-i[1]+s,v=0):(a=0,v=i[1]-i[0]-s),(y=t.currPos+l)<a?l+=a-y:y>v&&(l-=y-v),h.attr({transform:n?"t0,"+(t.currPos+l):"t"+(t.currPos+l)+",0"}),e=l,r&&clearTimeout(r),r=setTimeout(function(){u.updateWhenInRest(t,t.currPos+l)},100),p=u.updateWhenInMove(t,t.currPos+l),t.conf.showTooltip&&t.tracker.data("__FC_tooltipText",p),f=!0,!0},dragStart:function(n){n.stopPropagation();i=t.swing;f=!1;u.dragStarted(t)},dragEnd:function(){var n;u.dragCompleted(t,f,t.currPos+e);f&&(r&&clearTimeout(r),r=setTimeout(function(){u.updateWhenInRest(t,t.currPos)},100),t.currPos+=e,n=i[+o]+t.currPos,u.updateRange(t,n))}}},n.prototype.dispose=function(){this.node.remove();this.oCircle.remove();this.iCircle.remove();this.tracker.remove()},n}(),lt=function(){function n(t){c(this,n);var r=t,i={};this._id="GL_SG1";this.conf=t;i.conf=r;this.extremes=[];this.sliders={};this.min=undefined;this.max=undefined;i.sliderGroup=this;this.valueRange=[];this.callbacks=[];this.sliders[s]=new tt(s,i,this._id+"_"+ +s);this.sliders[h]=new tt(h,i,this._id+"_"+ +h)}return n.prototype.configure=function(n){var i=n,t={};this.min=undefined;this.max=undefined;this.conf=n;t.conf=i;t.sliderGroup=this;this.sliders[s].configure(s,t,this._id+"_"+ +s);this.sliders[h].configure(h,t,this._id+"_"+ +h)},n.prototype.getType=function(){return"slider"},n.prototype.getName=function(){return"SliderGroup"},n.prototype.initRange=function(n,t){var i=n.sliderIndex;this.extremes[+i]=t},n.prototype.updateRange=function(n,t){var i=n.sliderIndex;this.sliders[!i].updateSwingRange(i,t)},n.prototype.reset=function(){var n={};n.conf=this.conf;n.sliderGroup=this;this.min=undefined;this.max=undefined;this.sliders[s].configure(s,n,this._id+"_"+ +s);this.sliders[h].configure(h,n,this._id+"_"+ +h);this.draw.apply(this,this._drawParams)},n.prototype.draw=function(n,t,i){var v,y,p,o,c,l,w=this.sliders,u=w[s],f=w[h],b=i.colorRange,r=b.colorRange,a=b.data.mapByPercent,e=i.gLegend.getFromEnv("number-formatter");return this._fcChart=i.gLegend.getFromEnv("chart"),this.getValueFormPixel=function(n,t,i,r){var u=(t-n)/(r-i);this.getValueFormPixel=function(t){return n+u*t}},this.updateWhenInMove=function(n,t){this.updateWhenInMove=function(i,r){var f,u,e=this.extremes;return f=i.sliderIndex?e[1]-e[0]+r:r,u=this.getValueFormPixel(f),u=t?parseFloat(u).toFixed(2)+"%":n.legendValue(u)}},this._drawParams=[n,t,i],this.updateWhenInMove(e,a),p=u.conf.outerCircle,y=u.conf.innerCircle,o=Math.ceil(y.rFactor*i.rCalcBase/2),o+=Math.ceil(p.style["stroke-width"]/2),this.extremes[0]=n+o,this.extremes[1]=t-o,c=this.extremes[1]-this.extremes[0],this.min=this.min?this.min:r[0].value,this.max=this.max?this.max:r[r.length-1].value,l=r[r.length-1].value-r[0].value,u.currPos=c*(this.min-r[0].value)/l,f.currPos=c*(this.max-r[0].value)/l-c,u.draw(n,a?e.legendPercentValue(this.min):e.legendValue(this.min),i[i.key],i),v=f.draw(t,a?e.legendPercentValue(this.max):e.legendValue(this.max),i[i.key],i),u.swing=this.extremes.slice(0),f.swing=this.extremes.slice(0),u.swing[1]+=f.currPos,f.swing[0]+=u.currPos,this.getValueFormPixel(r[0].value,r[r.length-1].value,this.extremes[0],this.extremes[1]),v},n.prototype.updateWhenInRest=function(n,t){var r,u,e=this.sliders,i=this.extremes,f=n.sliderIndex;f?(r=e[!f].currPos,u=i[1]-i[0]+t):(r=t,u=i[1]-i[0]+e[!f].currPos);this.min=Number(this.getValueFormPixel(r).toFixed(2));this.max=Number(this.getValueFormPixel(u).toFixed(2));this.gLegend.fireEvent("rangeUpdated",[{min:this.min,max:this.max}])},n.prototype.dragStarted=function(n){var i=this.sliders,r=this.extremes,t=n.conf,u=this._fcChart;u.fireChartInstanceEvent("legendpointerdragstart",{pointerIndex:+n.sliderIndex,pointers:[{value:this.getValueFormPixel(i["false"].currPos)},{value:this.getValueFormPixel(r[1]-r[0]+i["true"].currPos)}],legendPointerHeight:t.outerRadius,legendPointerWidth:t.innerRadius,outerRadius:t.outerRadius,innerRadius:t.
vendor: 4,681 bytes, line 51
51innerRadius},[u.id])},n.prototype.dragCompleted=function(n,t,i){var r,u,s=this.sliders,f=this.extremes,e=n.conf,h=this.getValueFormPixel(s["false"].currPos),c=this.getValueFormPixel(f[1]-f[0]+s["true"].currPos),o=this._fcChart;n.sliderIndex?(r=h,u=this.getValueFormPixel(f[1]-f[0]+i)):(r=this.getValueFormPixel(i),u=c);t&&o.fireChartInstanceEvent("legendrangeupdated",{previousMinValue:h,previousMaxValue:c,minValue:r,maxValue:u},[o.id]);o.fireChartInstanceEvent("legendpointerdragstop",{pointerIndex:+n.sliderIndex,pointers:[{value:r},{value:u}],legendPointerHeight:e.outerRadius,legendPointerWidth:e.innerRadius,outerRadius:e.outerRadius,innerRadius:e.innerRadius},[o.id])},n.prototype.dispose=function(){this.sliders[s].dispose();this.sliders[h].dispose()},n}(),at=function(n){function t(){c(this,t);var i=k(this,n.call(this,arguments[0]));return i._id="GL_VALUES",i.node=[],i}return d(t,n),t.prototype.configure=function(n){this.conf=n},t.prototype.getName=function(){return"LegendValues"},t.prototype.getType=function(){return"legend"},t.prototype.getLogicalSpace=function(n,t,i){var rt,c,a,f,s,h,o,l,d,v,y,lt,ut,at,vt,ft,yt,et,ot,r,st,k,ht,ct,g,nt="bottom"===this.conf.legendPosition,p=this._lSpace,pt=this.conf,w=pt.padding,wt=t.gLegend.getFromEnv("chartConfig"),tt=[],it=[];if(p&&!i)return p.isImpure=!0,p;for(rt=t.colorRange,c=t.smartLabel,a=rt.colorRange,o=rt.getCumulativeValueRatio(),g=(p=this._lSpace={bound:{height:0,width:0},node:{logicArea:u,smartTexts:[]}}).node.smartTexts,(r=e(n,{})).height-=2*w.v,r.width-=2*w.h,r.x+=w.h,r.y+=w.v,c.useEllipsesOnOverflow(wt.useEllipsesWhenOverflow),ct=e(pt.style,{}),b(this._metaStyle=ct),c.setStyle(ct),ht=c.getSmartText("W"),h=a.length,nt?(y=l=(o[h-1]-o[0])/2*r.width/100,k=a[0].displayValue,(f=c.getSmartText("string"!=typeof k&&k!==u&&k.toString()||k,y,r.height)).x=o[0]*r.width/100,lt=f.x+f.width,tt.push(f.height)):(y=l=(o[h-1]-o[0])/2*r.height/100,(f=c.getSmartText(a[0].displayValue,r.width,y)).y=o[0]*r.height/100,vt=f.y+f.width,it.push(f.width)),g[0]=f,nt?((f=c.getSmartText(a[h-1].displayValue,y,r.height)).x=o[h-1]*r.width/100,at=f.x-f.width,tt.push(f.height),ut=lt):((f=c.getSmartText(a[h-1].displayValue,r.width,y)).y=o[h-1]*r.height/100,yt=f.y-f.height,it.push(f.width),ft=vt),g[h-1]=f,s=1;s<h-1;s++)f=u,st=a[s].displayValue,nt?(d=s+1===h-1?at:o[s+1]*r.width/100,v=o[s]*r.width/100,(l=Math.min(v-ut,d-v))>1.5*ht.width&&((f=c.getSmartText(st,2*l,r.height)).x=o[s]*r.width/100,ut=l,tt.push(f.height))):(d=s+1===h-1?yt:o[s+1]*r.height/100,v=o[s]*r.height/100,(l=Math.min(v-ft,d-v))>2*ht.height&&((f=c.getSmartText(st,r.width,2*l)).y=o[s]*r.height/100,ft=l,it.push(f.width))),g[s]=f;return nt?(et=Math.max.apply(Math,tt),r.height=et,n.height=et+2*w.v):(ot=Math.max.apply(Math,it),r.width=ot,n.width=ot+2*w.h),p.node.logicArea=r,p.bound=n,n},t.prototype.draw=function(){var a,v,e,y,l,t,r,p,i,o,w,n,s,h=this.conf,b="bottom"===h.legendPosition,k=h.bound&&h.bound.style||{stroke:"none"},u={},c;for(arguments.length>=2&&arguments[1]?(y=arguments[0],r=arguments[1]):arguments.length>=1&&(r=arguments[0]),s=r.animationManager,a=r.parentLayer,p=r.colorRange.getCumulativeValueRatio(),this.getLogicalSpace(y,r),t=(l=this._lSpace).node.logicArea,w=l.node.smartTexts,this.group=e=s.setAnimation({el:this.group||"group",attr:{name:"legend-values"},container:a,component:f}),this.bound=v=s.setAnimation({el:this.bound||"rect",attr:l.bound,css:k,container:e,component:f}),c=0;c<this.node.length;c++)this.node[c].remove();for(this.node=[],i=0,o=p.length;i<o;i++)(n=w[i])&&(b?(u.y=t.y+n.height/2,u.x=i===o-1?t.x+n.x-n.width/2:i?t.x+n.x:t.x+n.x+n.width/2):(u.x=t.x+n.width/2,u.y=i===o-1?t.y+n.y-n.height/2:i?t.y+n.y:t.y+n.y+n.height/2),this.node.push(s.setAnimation({el:"text",attr:{text:n.text,x:u.x,y:u.y,lineHeight:this._metaStyle.lineHeight,fill:h.style.fill},container:e,component:f})));return{group:e,bound:v}},t}(nt);t["default"]=ft},,,,,function(n,t,i){"use strict";t.__esModule=!0;t.getCoordinates=t.getPlotFromPixel=t.polarToCartesian=t.cartesianToPolar=undefined;var o=i(125),r=function(n){return n*(Math.PI/180)},u=function(n){return n*(180/Math.PI)},f=function(n,t){var f,i;return f=Math.sqrt(n*n+t*t),i=u(Math.atan(t/n)),n<0&&t>=0?i+=180:n<0&&t<0?i+=180:n>0&&t<0&&(i+=360),{radius:f,theta:r(i)}},e=function(n,t){return!(arguments.length>2&&arguments[2]!==undefined)||arguments[2]||(t=r(t)),{x:n*Math.cos(t),y:n*Math.sin(t)}};t.cartesianToPolar=f;t.polarToCartesian=e;t.getPlotFromPixel=function(n,t){var i,r,e=n.x,o=n.y,s=t.getScale();return r=f(e,o),i=s.getDomainValue(r.theta),u(i)};t.getCoordinates=function(n,t){var f,s=t.getScale(),i=n.radius,r=t.config,h=r.axisDimention.centerX,c=r.axisDimention.centerY,u=void 0;
51return i=o.pluckNumber(i,r.radius,0),f=s.getRangeValue(n.theta),(u=e(i,f)).x+=h,u.y+=c,u}},,,,function(n,t){"use strict";t.__esModule=!0;t["default"]=[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:"axis"}]},,,,,,function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(267),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,i){"use strict";t.__esModule=!0;t.symbolList=undefined;var e,f=i(132).getDep("redraphael","plugin"),r=Math.cos,u=Math.sin,o=Math.PI;t.symbolList=e={pinModeIcon:function(n,t,i){var r=.5*i,c=n-i,l=n+i,a=n-r,v=n+r,h=n+.5,y=h+1,u=h+1.5,e=t-i,o=t+r,f=t-r,s=t+(i-r);return["M",c,e,"L",a,f,a,s,c,o,n-.5,o,n,t+i+.5,h,o,l,o,v,s,v,f,l,e,u,e,u,f,u,s,y,s,y,f,u,f,u,e,"Z"]},zoomOutIcon:function(n,t,i){var o=n-.2*i,s=t-.2*i,e=.8*i,p=f.rad(43),w=f.rad(48),l=o+e*r(p),a=s+e*u(p),v=o+e*r(w),y=s+e*u(w),h=i,c=f.rad(45);return["M",l,a,"A",e,e,0,1,0,v,y,"Z","M",l+1,a+1,"L",l+h*r(c),a+h*u(c),v+h*r(c),y+h*u(c),v+1,y+1,"Z","M",o-2,s,"L",o+2,s,"Z"]},resetIcon:function(n,t,i){var f=i,l=n-f,a=t,h=(o/2+o)/2,e=n+f*r(h),s=t+f*u(h),c=2*f/3;return["M",l,a,"A",f,f,0,1,1,e,s,"L",e+c,s-1,e+2,s+c-.5,e,s]},zoomInIcon:function(n,t,i){var e=n-.2*i,o=t-.2*i,s=.8*i,p=f.rad(43),w=f.rad(48),l=e+s*r(p),a=o+s*u(p),v=e+s*r(w),y=o+s*u(w),h=i,c=f.rad(45);return["M",l,a,"A",s,s,0,1,0,v,y,"Z","M",l+1,a+1,"L",l+h*r(c),a+h*u(c),v+h*r(c)-1,y+h*u(c)-1,v+1,y+1,"Z","M",e-2,o,"L",e+2,o,"Z","M",e,o-2,"L",e,o+2,"Z"]},zoomModeIcon:function(n,t,i){var e=n-.2*i,o=t-.2*i,s=.8*i,b=f.rad(43),k=f.rad(48),v=e+s*r(b),y=o+s*u(b),p=e+s*r(k),w=o+s*u(k),l=i,a=f.rad(45),d=v+l*r(a),g=y+l*u(a),h=p+l*r(a)-1,c=w+l*u(a)-1;return[].concat(["M",v,y,"A",s,s,0,1,0,p,w,"Z","M",v+1,y+1,"L",d,g,h,c,h+1,c-1,h+1.5,c+1.5,h-1,c+1,h,c,p+1,w+1,"Z","M",e-2,o,"L",e+2,o,"Z","M",e,o-2,"L",e,o+2,"Z"])},panModeIcon:function(n,t,i){var r;return[].concat(["M",(r=n)-(i*=2.5)/16,t-i/8,"L",r+i/16,t-i/8,"L",r+i/16,t-i/3.2,"L",r+6*i/32,t-10*i/32,"L",r,t-i/2,"L",r-6*i/32,t-10*i/32,"L",r-i/16,t-i/3.2,"Z","M",r+i/8,t-i/16,"L",r+10*i/32,t-i/16,"L",r+10*i/32,t-6*i/32,"L",r+i/2,t,"L",r+10*i/32,t+6*i/32,"L",r+10*i/32,t+i/16,"L",r+i/8,t+i/16,"Z","M",r+i/16,t+5*i/32,"L",r+i/16,t+10*i/32,"L",r+6*i/32,t+10*i/32,"L",r,t+i/2,"L",r-6*i/32,t+10*i/32,"L",r-i/16,t+10*i/32,"L",r-i/16,t+5*i/32,"Z","M",r-i/8,t-i/16,"L",r-10*i/32,t-i/16,"L",r-10*i/32,t-6*i/32,"L",r-i/2,t,"L",r-10*i/32,t+6*i/32,"L",r-10*i/32,t+i/16,"L",r-i/8,t+i/16,"Z"])}};t.symbolList=e},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r,e=i(516),o=(r=e)&&r.__esModule?r:{"default":r},u=i(125);f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.prototype.getType=function(){return"group"},t.prototype.getName=function(){return"columnOverlappedGroup"},t.prototype.setColumnPosition=function(){var a=this.getFromEnv("chart-attrib"),e=this.getFromEnv("xAxis"),i=this.getFromEnv("chart"),v=this.getFromEnv("numOfColumns"),o=Math.max(u.pluckNumber(a.plotspacepercent),0),s=Math.max(u.pluckNumber(o,20)%100,0),y=s/200,h=e.getPixel(0),c=e.getPixel(1),p=i.isBar?i.config.maxBarHeight:i.config.maxColWidth,r=Math.abs(c-h),t=void 0,f=!0,l=0,n=0;this.addToEnv("groupMaxWidth",r);this._mapChildren(function(t){t.getState("removed")||!1===t.getState("visible")||n++});this.addToEnv("numOfColumns",n);this.addToEnv("numColDiff",u.pluckNumber(v-n,0));void 0===(t=this.getFromEnv("plotWidth"))&&(t=(1-.01*o)*r||Math.min(r*(1-2*y),p*(n||1)));
51this._mapChildren(function(i){i.getState("removed")||!1===i.getState("visible")||(i.addToEnv("plotWidth",t-t/n*l),l++)});c-NaN-(h-NaN+void 0)<4&&(f=!1);0===s&&(f=!0);this.addToEnv("isCrisp",f)},t}(o["default"]);t["default"]=f}])]);!function(n){"object"==typeof module&&"undefined"!=typeof module.exports?module.exports=n:n()}(function(){(window.webpackJsonpFusionCharts=window.webpackJsonpFusionCharts||[]).push([[1],{356:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}t.__esModule=!0;t.Mssplinearea=t.Msspline=t.MSSplineDy=t.Splinearea=t.Spline=t.MSColumn2D=t.MSColumn3D=t.MSLine=t.MSBar2D=t.MSBar3D=t.MSArea=t.Marimekko=t.MSCombi2D=t.MSCombi3D=t.MSColumnLine3D=t.StackedColumn2DLine=t.StackedColumn3DLine=t.MSCombidy2D=t.MSColumn3DLineDy=t.StackedColumn3DLineDy=t.MSStackedColumn2DLineDy=t.StackedColumn2D=t.StackedColumn3D=t.StackedBar2D=t.StackedBar3D=t.StackedArea2D=t.MSStackedColumn2D=t.Scatter=t.Bubble=t.ScrollColumn2D=t.ScrollLine2D=t.ScrollArea2D=t.ScrollStackedColumn2D=t.ScrollCombi2D=t.ScrollCombiDy2D=t.Pareto3D=t.Pareto2D=t.Doughnut3D=t.Doughnut2D=t.Pie3D=t.Pie2D=t.Bar3D=t.Bar2D=t.Area=t.Line=t.Column3D=t.Column2D=undefined;var u=r(i(357)),f=r(i(434)),e=r(i(447)),o=r(i(453)),s=r(i(455)),h=r(i(469)),c=r(i(474)),l=r(i(480)),a=r(i(487)),v=r(i(489)),y=r(i(493)),p=r(i(504)),w=r(i(507)),b=r(i(520)),k=r(i(523)),d=r(i(527)),g=r(i(528)),nt=r(i(530)),tt=r(i(531)),it=r(i(544)),rt=r(i(545)),ut=r(i(548)),ft=r(i(552)),et=r(i(557)),ot=r(i(560)),st=r(i(564)),ht=r(i(566)),ct=r(i(569)),lt=r(i(574)),at=r(i(575)),vt=r(i(576)),yt=r(i(579)),pt=r(i(582)),wt=r(i(584)),bt=r(i(585)),kt=r(i(586)),dt=r(i(591)),gt=r(i(592)),ni=r(i(593)),ti=r(i(594)),ii=r(i(596)),ri=r(i(597)),ui=r(i(598)),fi=r(i(601)),ei=r(i(603)),oi=r(i(606)),si=r(i(608));t.Column2D=u["default"];t.Column3D=f["default"];t.Line=e["default"];t.Area=o["default"];t.Bar2D=s["default"];t.Bar3D=h["default"];t.Pie2D=c["default"];t.Pie3D=l["default"];t.Doughnut2D=a["default"];t.Doughnut3D=v["default"];t.Pareto2D=y["default"];t.Pareto3D=p["default"];t.ScrollCombiDy2D=w["default"];t.ScrollCombi2D=b["default"];t.ScrollStackedColumn2D=k["default"];t.ScrollArea2D=d["default"];t.ScrollLine2D=g["default"];t.ScrollColumn2D=nt["default"];t.Bubble=tt["default"];t.Scatter=it["default"];t.MSStackedColumn2D=rt["default"];t.StackedArea2D=ut["default"];t.StackedBar3D=ft["default"];t.StackedBar2D=et["default"];t.StackedColumn3D=ot["default"];t.StackedColumn2D=st["default"];t.MSStackedColumn2DLineDy=ht["default"];t.StackedColumn3DLineDy=ct["default"];t.MSColumn3DLineDy=lt["default"];t.MSCombidy2D=at["default"];t.StackedColumn3DLine=vt["default"];t.StackedColumn2DLine=yt["default"];t.MSColumnLine3D=pt["default"];t.MSCombi3D=wt["default"];t.MSCombi2D=bt["default"];t.Marimekko=kt["default"];t.MSArea=dt["default"];t.MSBar3D=gt["default"];t.MSBar2D=ni["default"];t.MSLine=ti["default"];t.MSColumn3D=ii["default"];t.MSColumn2D=ri["default"];t.Spline=ui["default"];t.Splinearea=fi["default"];t.MSSplineDy=oi["default"];t.Msspline=ei["default"];t.Mssplinearea=si["default"];t["default"]={name:"charts",type:"package",requiresFusionCharts:!0,extension:function(n){n.addDep(u["default"]);n.addDep(f["default"]);n.addDep(e["default"]);n.addDep(o["default"]);n.addDep(s["default"]);n.addDep(h["default"]);n.addDep(c["default"]);n.addDep(l["default"]);n.addDep(a["default"]);n.addDep(v["default"]);n.addDep(y["default"]);n.addDep(p["default"]);n.addDep(w["default"]);n.addDep(b["default"]);n.addDep(k["default"]);n.addDep(d["default"]);n.addDep(g["default"]);n.addDep(nt["default"]);n.addDep(tt["default"]);n.addDep(it["default"]);n.addDep(rt["default"]);n.addDep(ut["default"]);n.addDep(ft["default"]);n.addDep(et["default"]);n.addDep(ot["default"]);n.addDep(st["default"]);n.addDep(ht["default"]);n.addDep(ct["default"]);n.addDep(lt["default"]);n.addDep(at["default"]);n.addDep(vt["default"]);n.addDep(yt["default"]);n.addDep(pt["default"]);n.addDep(wt["default"]);n.addDep(bt["default"]);n.addDep(kt["default"]);n.addDep(dt["default"]);n.addDep(gt["default"]);n.addDep(ni["default"]);n.addDep(ti["default"]);n.addDep(ii["default"]);n.addDep(ri["default"]);n.addDep(ui["default"]);n.addDep(fi["default"]);n.addDep(oi["default"]);n.addDep(ei["default"]);n.addDep(si["default"])}}},357:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(358),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},358:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}
51}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(359));u=f(i(432));e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.getName=function(){return"Column2D"},t.prototype.getName=function(){return"Column2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.friendlyName="Column Chart";this.config.singleseries=!0;this.config.defaultDatasetType="column";this.config.enablemousetracking=!0},t.prototype.getDSdef=function(){return u["default"]},t}(r["default"]);t["default"]=e},434:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(435),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},435:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(436));u=f(i(444));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i.defaultZeroPlaneHighlighted=!1,i}return o(t,n),t.getName=function(){return"Column3D"},t.prototype.getName=function(){return"Column3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.hasLegend=!1;t.singleseries=!0;t.friendlyName="3D Column Chart";t.showplotborder=0;t.enablemousetracking=!0},t.prototype.getDSdef=function(){return u["default"]},t}(r["default"]);t["default"]=e},436:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(359)),e=r(i(437)),o=r(i(441));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("canvas",e["default"]),i.registerFactory("dataset",o["default"],["vCanvas"]),i}return s(t,n),t.getName=function(){return"SSCartesian3D"},t.prototype.getName=function(){return"SSCartesian3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.hasLegend=!1;t.showplotborder=0;t.drawcrosslineontop=0;t.showzeroplaneontop=0},t}(f["default"]);t["default"]=u},437:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}
51}t.__esModule=!0;t["default"]=function(n){var i=void 0,t,u;if(r.componentFactory(n,f["default"],"canvas",n.config.showVolumeChart?2:1),i=n.getChildren("canvas"))for(t=0,u=i.length;t<u;t++)i[t].configure(),r.componentFactory(i[t],e["default"],"axisRefVisualCartesian")};var f=u(i(438)),e=u(i(425)),r=i(125)},438:function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function w(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var a;t.__esModule=!0;var v=e(i(364)),r=i(125),s=i(132),y=e(i(439)),p=e(i(440));var o=s.getDep("redraphael","plugin"),b=r.preDefStr.ROUND,k=r.preDefStr.miterStr,u=Math.max,d=o,h={chart2D:{bgColor:"bgColor",bgAlpha:"bgAlpha",bgAngle:"bgAngle",bgRatio:"bgRatio",canvasBgColor:"canvasBgColor",canvasBaseColor:"canvasBaseColor",divLineColor:"divLineColor",legendBgColor:"legendBgColor",legendBorderColor:"legendBorderColor",toolTipbgColor:"toolTipbgColor",toolTipBorderColor:"toolTipBorderColor",baseFontColor:"baseFontColor",anchorBgColor:"anchorBgColor"},chart3D:{bgColor:"bgColor3D",bgAlpha:"bgAlpha3D",bgAngle:"bgAngle3D",bgRatio:"bgRatio3D",canvasBgColor:"canvasBgColor3D",canvasBaseColor:"canvasBaseColor3D",divLineColor:"divLineColor3D",divLineAlpha:"divLineAlpha3D",legendBgColor:"legendBgColor3D",legendBorderColor:"legendBorderColor3D",toolTipbgColor:"toolTipbgColor3D",toolTipBorderColor:"toolTipBorderColor3D",baseFontColor:"baseFontColor3D",anchorBgColor:"anchorBgColor3D"}},f=function(){this.hide()},c=function(){this.hide();this._.cubeside.hide();this._.cubetop.hide()},l=function(){this.show();this._.cubeside.show();this._.cubetop.show()};s.addDep({name:"canvas3dAnimation",type:"animationRule",extension:y["default"]});p["default"](o);a=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return w(t,n),t.prototype.getName=function(){return"canvas"},t.prototype.getType=function(){return"canvas"},t.prototype.drawCanvas=function(){this.getFromEnv("chart").isBar?this.drawCanvas3dBar():this.drawCanvas3dColumn()},t.prototype.configureAttributes=function(){n.prototype.configureAttributes.call(this);this.config.xDepth=10;this.config.yDepth=10},t.prototype.drawCanvas3dColumn=function(){var yt,nt,tt,ot,pt,it,wt,bt,kt,dt,gt,ni,st,ht,p,w,b=this.getFromEnv("chart"),hi=b.getFromEnv("dataSource"),rt=this.config,i=b.config,t=rt.canvasLeft,u=rt.canvasTop,e=rt.canvasWidth,s=rt.canvasHeight,a=hi.chart,v=this.getFromEnv("animationManager"),ut=b.getFromEnv("color-manager"),ti=this.getGraphicalElement("canvasBorderElement"),ii=this.getGraphicalElement("canvasElement"),n=this.config,ct=n.clip={},k=this.getContainer("canvasGroup"),ri=this.getGraphicalElement("canvasBg"),ui=this.getGraphicalElement("canvas3DBase"),ci=r.preDefStr.miterStr,y=Math.max,li=(r.preDefStr.ROUND,b.getChildContainer("plotGroup")),ai=b.getChildContainer("datalabelsGroup"),fi=this.getGraphicalElement("canvas3dbaseline"),lt=n.canvasBgColor,at=n.showCanvasBG=Boolean(r.pluckNumber(a.showcanvasbg,1)),ft=i.canvasBgDepth,vt=i.showCanvasBase,vi=i.canvasBaseDepth,ei=n.canvasBaseColor3D=r.pluck(a.canvasbasecolor,ut.getColor("canvasBaseColor3D")),oi=n.use3DLighting=r.pluckNumber(a.use3dlighting,1),yi=h.chart3D,si=n.canvasBorderRadius=r.pluckNumber(a.plotborderradius,0),pi=n.canvasBorderColor=r.convertColor(r.pluck(a.canvasbordercolor,ut.getColor(r.canvasBorderColorStr))),d=n.canBGAlpha=r.pluck(a.canvasbgalpha,ut.getColor("canvasBgAlpha")),g=n.canBGColor=r.pluck(a.canvasbgcolor,ut.getColor(yi.canvasBgColor)),et=i.canvasBasePadding||2;lt=n.canvasBgColor=oi?{FCcolor:{color:r.getDarkColor(g,85)+r.COMMASTRING+r.getLightColor(g,5
515),alpha:d+r.COMMASTRING+d,ratio:r.BGRATIOSTRING,angle:r.getAngle(i.width-(i.marginLeft+i.marginRight),i.height-(i.marginTop+i.marginBottom),1)}}:r.convertColor(g,d);g=g.split(r.COMMASTRING)[0];d=d.split(r.COMMASTRING)[0];p=n.xDepth;w=n.yDepth;it={x:+t,y:+u,width:e+0,height:s+0,r:si,"stroke-width":0,stroke:pi,"stroke-linejoin":ci};yt=v.setAnimation({el:ti||"rect",attr:it,component:this,label:"canvas",container:k});ti||this.addGraphicalElement("canvasBorderElement",yt);ct["clip-canvas"]=[y(0,t-p),y(0,u),y(1,e+p),y(1,s+w)];ct["clip-canvas-init"]=[y(0,t-p),y(0,u-w),1,y(1,s+2*w)];st=ct["clip-canvas"].slice(0);v.setAnimation({el:li,attr:{"clip-rect":st},component:this});v.setAnimation({el:ai,attr:{"clip-rect":st},component:this});it={x:t,y:u,width:e,height:s,r:si,"stroke-width":0,stroke:"none",fill:r.toRaphaelColor(lt)};nt=v.setAnimation({el:ii||"rect",attr:it,component:this,label:"canvas",callback:at?r.stubFN:f,container:k});ii||this.addGraphicalElement("canvasElement",nt);pt=["M",t+e,u,"L",t+e+ft,u+1.2*ft,t+e+ft,u+s-ft,t+e,u+s,"Z"];tt=v.setAnimation({el:ri||"path",attr:{path:pt,"stroke-width":0,stroke:"none",fill:r.toRaphaelColor(lt)},component:this,label:"canvas",callback:at?r.stubFN:f,container:k});ri||this.addGraphicalElement("canvasBg",tt);at?(tt.show(),nt.show()):(tt.hide(),nt.hide());wt=t-p-et;bt=u+s+w+et;kt=e;dt=vi;gt=p+et;ni=w+et;ot=v.setAnimation({el:ui||"cubepath",component:this,index:0,attr:{cubepath:[wt,bt,kt,dt,gt,ni],stroke:"none","stroke-width":0,fill:ei.replace(r.dropHash,r.HASHSTRING),noGradient:!oi},callback:vt?r.stubFN:c,label:"canvas",container:k});ui||this.addGraphicalElement("canvas3DBase",ot);ht=v.setAnimation({el:fi||"path",attr:{path:["M",t,u+s,"H",e+t],stroke:o.tintshade(ei.replace(r.dropHash,r.HASHSTRING),.05).rgba},component:this,callback:vt?r.stubFN:f,label:"canvas",container:k});fi||this.addGraphicalElement("canvas3dbaseline",ht);vt&&(l.call(ot),ht.show())},t.prototype.drawCanvas3dBar=function(){var yt,rt,ut,st,ft,pt,wt,bt,kt,dt,gt,ni,ht,ct,p=this.getFromEnv("chart"),ai=p.getFromEnv("dataSource"),t=p.config,e=t.canvasLeft,i=t.canvasTop,w=t.canvasWidth,a=t.canvasHeight,o=ai.chart,et=p.getFromEnv("color-manager"),ti=this.getGraphicalElement("canvasBorderElement"),ii=this.getGraphicalElement("canvasElement"),n=this.config,lt=n.clip={},g=this.getContainer("canvasGroup"),ri=this.getGraphicalElement("canvasBg"),ui=this.getGraphicalElement("canvas3DBase"),vi=p.getChildContainer("plotGroup"),yi=p.getChildContainer("datalabelsGroup"),s=this.getFromEnv("animationManager"),fi=this.getGraphicalElement("canvas3dbaseline"),at=n.canvasBgColor,ei=n.showCanvasBG=Boolean(r.pluckNumber(o.showcanvasbg,1)),ot=t.canvasBgDepth,vt=t.showCanvasBase,oi=t.canvasBaseDepth,si=n.canvasBaseColor3D=r.pluck(o.canvasbasecolor,et.getColor("canvasBaseColor3D")),hi=n.use3DLighting=r.pluckNumber(o.use3dlighting,1),pi=h.chart3D,ci=n.canvasBorderRadius=r.pluckNumber(o.plotborderradius,0),nt=n.canvasBorderWidth=0,li=.5*nt,wi=n.canvasBorderColor=r.convertColor(r.pluck(o.canvasbordercolor,et.getColor(r.canvasBorderColorStr))),tt=n.canBGAlpha=r.pluck(o.canvasbgalpha,et.getColor("canvasBgAlpha")),it=n.canBGColor=r.pluck(o.canvasbgcolor,et.getColor(pi.canvasBgColor)),v=n.xDepth,y=n.yDepth;at=n.canvasBgColor=hi?{FCcolor:{color:r.getDarkColor(it,85)+","+r.getLightColor(it,55),alpha:tt+","+tt,ratio:r.BGRATIOSTRING,angle:r.getAngle(t.width-(t.marginLeft+t.marginRight),t.height-(t.marginTop+t.marginBottom),1)}}:r.convertColor(it,tt);it=it.split(",")[0];tt=tt.split(",")[0];v=n.xDepth=5;y=n.yDepth=5;ft={x:e-li,y:i-li,width:w+nt,height:a+nt,r:ci,"stroke-width":nt,stroke:wi,"stroke-linejoin":nt>2?b:k};yt=s.setAnimation({el:ti||"rect",attr:ft,container:g,label:"canvas",component:this});ti||this.addGraphicalElement("canvasBorderElement",yt);lt["clip-canvas"]=[u(0,e-v),u(0,i),u(1,w+v),u(1,a+y)];lt["clip-canvas-init"]=[u(0,e-v),u(0,i-y),1,u(1,a+2*y)];ht=lt["clip-canvas"].slice(0);s.setAnimation({el:vi,attr:{"clip-rect":ht},component:this});s.setAnimation({el:yi,attr:{"clip-rect":ht},component:this});ft={x:e,y:i,width:w,height:a,r:ci,"stroke-width":0,stroke:"none",fill:r.toRaphaelColor(at)};rt=s.setAnimation({el:ii||"rect",attr:ft,component:this,label:"canvas",container:g});ii||this.addGraphicalElement("canvasElement",rt);pt=["M",e,i,"L",e+1.2*ot,i-ot,e+w-ot,i-ot,e+w,i,"Z"];ut=s.setAnimation({el:ri||"path",attr:{path:pt,"stroke-width":0,stroke:"none",fill:r.toRaphaelColor(at)},component:this,callback:ei?r.stubFN:f,label:"canvas",container:g});ri||this.addGraphicalElement("canvasBg",ut);ei?(rt.show(),ut.show()):(rt.hide(),ut.hide());wt=e-v-oi-1;bt=i+y+1;kt=oi;dt=a;gt=v+1;ni=y+1;st=s.setAnimation({el:ui||"cubepath",attr:{cubepath:[wt,bt,kt,dt,gt,ni],stroke:"none","stroke-width":0,fill:si.replace(r.dropHash,r.HASHSTRING),noGradient:!hi},component:this,callback:vt?r.stubFN:c,label:"canvas",container:g});ui||this.addGraphicalElement("canvas3DBase",st);ct=s.setAnimation({el:fi||"path",attr:{path:["M",e,i,"V",a+i],stroke:d.tintshade(si.replace(r.dropHash,r.HASHSTRING),.05).rgba},component:this,callback:vt?r.stubFN:f,label:"canvas",container:g});fi||this.addGraphicalElement("canvas3dbaseline",ct);vt&&(ct.show(),l.call(st))},t}(v["default"]);t["default"]=a},439:function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.canvas.canvas":{"canvas.appearing":[{initialAttr:{opacity:0}
51,finalAttr:{opacity:1},slot:"initial"}]}}},440:function(n,t,i){"use strict";var u,r;t.__esModule=!0;u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n};t["default"]=function(n){var t,i=Math.atan2;n.define&&n.define([{name:"cubepath",cubepath:function(){var h,c,o,i,s={"stroke-linejoin":"round","shape-rendering":"precision",stroke:"none"},f=arguments,l=f.length-1,e=f[l],a=function(n,i,f,e,o,s){var h=this,c=h._.cubetop,l=h._.cubeside;return"object"===(void 0===n?"undefined":u(n))||n===t&&i===t&&f===t&&e===t&&o===t&&s===t?this:(n=r.pluckNumber(n,h.attrs.x,0),i=r.pluckNumber(i,h.attrs.y,0),f=r.pluckNumber(f,h.attrs.width,0),e=r.pluckNumber(e,h.attrs.height,0),o=r.pluckNumber(o,h.attrs.xDepth,0),s=r.pluckNumber(s,h.attrs.yDepth,0),h.attrs.x=n,h.attrs.y=i,h.attrs.width=f,h.attrs.height=e,h.attrs.xDepth=o,h.attrs.yDepth=s,h._attr("path",["M",n+f,i,"l",0,e,-f,0,0,-e,"z"]),c.attr("path",["M",n,i,"l",1,1,f-1,0,0,-1,o,-s,-f,0,"z"]),l.attr("path",["M",n+f-1,i+1,"l",0,e-1,1,0,o,-s,0,-e,-o,s]),this)};for(o in e&&e.constructor===n.el.constructor?f[l]=t:e=t,h=this.path(s,e),c=this.path(s,e),(i=this.path(s,e))._.cubetop=h.follow(i,t,"before"),i._.cubeside=c.follow(i,t,"before"),n.fn.cubepath.ca)i.ca[o]=n.fn.cubepath.ca[o];return i._attr=i.attr,i._shadow=i.shadow,i.attr=function(n,r){var f="object"===(void 0===n?"undefined":u(n));return f&&(n.cubepath?r=[].concat(n.cubepath):((r=[]).push(n.x),r.push(n.y),r.push(n.width),r.push(n.height),r.push(n.xDepth),r.push(n.yDepth)),n.noGradient!==t&&(i.attrs.noGradient=n.noGradient)),n===t&&r===t?this.attrs:r===t?this.attrs[n]:(f?a.apply(this,r):"drop-shadow"===n&&function(n,t,i,r){var u=this,f=u._.cubetop,e=u._.cubeside;return u.dropshadow&&(f.dropshadow(n,-t,i,r),e.dropshadow(n,-t,i,r)),!1}.apply(this,[].concat(r)),i._attr(n),this)},i.appendTo=function(n){n.appendChild(i._.cubetop);n.appendChild(i._.cubeside);n.appendChild(i)},"object"===u(f[0])?i.attr(f[0]):a.apply(i,[f[0],f[1],f[2],f[3],f[4],f[5]])},fn:{_getBBox2:function(){var t=this._.cubeside.getBBox(),i=this._.cubetop.getBBox(),n=this.getBBox();return{x:n.x+i.height,y:n.y-t.width,width:n.width,height:n.height}},shadow:function(){return this._.cubeside.shadow.apply(this._.cubeside,arguments),this._.cubetop.shadow.apply(this._.cubetop,arguments),this._shadow.apply(this,arguments)}},ca:{"stroke-linejoin":function(){return{"stroke-linejoin":"round"}},fill:function(r,u){var f,e=this,s=e._.cubetop,h=e._.cubeside,o=e._attr("cubepath")||[0,0,0,0,0,0],c=o[2],l=o[4],a=o[5];return u===t&&(u=e._attr("noGradient")),r=n.color(r),u?(e._attr("fill",r),s.attr("fill",n.tintshade(r,-.78).rgba),h.attr("fill",n.tintshade(r,-.65).rgba)):(f="opacity"in r?"rgba("+[r.r,r.g,r.b,r.opacity]+")":"rgb("+[r.r,r.g,r.b]+")",e._attr("fill",[270,n.tintshade(f,.55).rgba,n.tintshade(f,-.65).rgba].join("-")),h.attr("fill",[270,n.tintshade(f,-.75).rgba,n.tintshade(f,-.35).rgba].join("-")),s.attr("fill",[45+n.deg(i(a,l+c)),n.tintshade(f,-.78).rgba,n.tintshade(f,.22).rgba].join("-"))),!1}}}])};r=i(125)},441:function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var i,r,f,s=n.getChildren().canvas[0].getChildren("vCanvas")[0],h=n.getFromEnv("dataSource"),c=h.dataset,l=n.config.defaultDatasetType||"",t=h.data||c&&c[0].data;r=o(t);t&&0!==t.length?(u.componentFactory(s,e["default"],"datasetGroup_"+l),f=s.getChildren("datasetGroup_"+l)[0],i=n.getDSdef(),u.datasetFactory(f,i,"dataset",1,[r])):n.setChartMessage()};var r,u=i(125),f=i(442),e=(r=f)&&r.__esModule?r:{"default":r},o=function(n){var t=[];return u.fcEach(n,function(n){"true"!==n.vline&&!0!==n.vline&&1!==n.vline&&"1"!==n.vline&&t.push(n)}),{data:t}}},442:function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var r,f=i(138),e=i(132),o=i(443),s=(r=o)&&r.__esModule?r:{"default":r};e.addDep({name:"column3dManagerAnimation",type:"animationRule",extension:s["default"]});u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.setState("visible",!0),i}return h(t,n),t.prototype.getType=function(){return"group"},t.prototype.getName=function(){return"column3d"},t.prototype.getCanvasPadding=function(){var t,n,i={paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0};return this._mapChildren(function(r){for(n in t=r.getCanvasPadding&&r.getCanvasPadding()||{})t.hasOwnProperty(n)&&(i[n]=Math.max(t[n],i[n]))}),i},t.prototype.createContainer=function(){var r=this.getFromEnv("animationManager"),n=void 0,t=void 0,i=this.getLinkedParent().getChildContainer();for(n in i)t=i[n],this.getChildContainer(n)||this.addChildContainer(n,r.setAnimation({el:"group",attr:{name:"manager"+n},container:t,component:this,label:"group"}))},t.prototype.draw3DContainer=function(){var t,i=this.getFromEnv("animationManager"),n=this.getChildContainer("plotGroup3d"),f=this.getFromEnv("xAxis").getTicksLen(),r=n&&n.negative,u=n&&n.positive,e=this.getLinkedParent().getChildContainer().columnVcanvasGroup;for(!this.getChildContainer("plotGroup3d")&&this.addChildContainer("plotGroup3d",i.setAnimation({el:"group",attr:{name:"3d-plots"},container:e,component:this,label:"group"})),n=this.getChildContainer("plotGroup3d"),this.addToEnv("plotGroup3d",n),r=n.negative=i.setAnimation({el:r||"group",attr:{name:"negative-values"},container:n,component:this,label:"group"}),u=n.positive=i.setAnimation({el:u||"group",attr:{name:"positive-values"},container:n,component:this,label:"group"}),n.zeroPlane=i.setAnimation({el:n.zeroPlane||"group",attr:{name:"zero-plane"},container:n,component:this,label:"group"}).insertBefore(n.positive),(n.negativeGroupArray=n.negativeGroupArray=r.data("categoryplots"))||(r.data("categoryplots",new Array(f)),n.negativeGroupArray=r.data("categoryplots")),(n.positiveGroupAarray=n.positiveGroupAarray=u.data("categoryplots"))||(u.data("categoryplots",new Array(f)),n.positiveGroupAarray=u.data("categoryplots")),t=0;t<f;t++)n.negativeGroupArray[t]=i.setAnimation({el:n.negativeGroupArray[t]||"group",attr:{name:"negative-group-"+t},container:r,component:this,label:"group"}),n.positiveGroupAarray[t]=i.setAnimation({el:n.positiveGroupAarray[t]||"group",attr:{name:"positive-group-"+t},container:u,component:this,label:"group"})},t.prototype.drawZeroPlane=function(){var f,c,o=this.getFromEnv("chart"),v=o.getFromEnv("animationManager"),r=o.isBar,t=o.config,y=t.use3dlighting,l=this.getChildContainer("plotGroup3d"),s=this.getFromEnv("yAxis"),a=s.getLimit(),p=a.max,w=a.min,i=this.getGraphicalElement("zeroplane"),n={},h=t.xDepth,u=t.yDepth,e=s.getPixel(s.getAxisBase());w<0&&p>=0?(!this.graphics&&(this.graphics={}),c=l.zeroPlane,n.fill=t.zeroPlaneColor,n.noGradient=!y,n.stroke=t.zeroPlaneBorderColor||"none",n["stroke-width"]=t.zeroPlaneShowBorder?1:0,n.x=r?e-h:t.canvasLeft-h,n.y=r?t.canvasTop+u:e+u,n.width=r?1:t.canvasWidth,n.height=r?t.canvasHeight:1,n.xDepth=h,n.yDepth=u,i&&(i.show(),i._.cubetop.show(),i._.cubeside.show()),f={el:i||"cubepath",attr:n,container:c,component:this,label:"zeroPlane"}):i&&(f={el:i,attr:r?{x:e-u}:{y:e+u}
51,component:this,doNotRemove:!0,callback:function(){i.hide();i._.cubetop.hide();i._.cubeside.hide()},container:l,label:"zeroPlane"});f&&this.addGraphicalElement("zeroplane",v.setAnimation(f))},t.prototype.draw=function(){this.createContainer();this.draw3DContainer();this.drawZeroPlane()},t.prototype.childChanged=function(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.config,u=this.getLinkedParent(),t=void 0,i=0,o=this.getState("visible"),f={},r=void 0;this._mapChildren(function(n){n.getState("visible")&&i++});this.setState("visible",!!i);o!==!!i&&(r=!0);!1!==e.dataLimitChanged&&((t=this.getDataLimits()).min===n.range.min&&t.max===n.range.max||(n.range.min=t.min,n.range.max=t.max,f.dataLimitChanged=!0,r=!0));r?u.childChanged&&u.childChanged(f):this.asyncDraw()},t.prototype.getAxisValuePadding=function(){var i={},n=-Infinity,t=-Infinity;return this._mapChildren(function(r){r.getState("removed")||(i=r.getAxisValuePadding&&r.getAxisValuePadding()||{},n=Math.max(n,i.left||-Infinity),t=Math.max(t,i.right||-Infinity))}),n===-Infinity&&(n=0),t===-Infinity&&(t=0),this.config.padding||(this.config.padding={},this.config.padding.left=n,this.config.padding.right=t),{left:n,right:t}},t.prototype.getDataLimits=function(n){var i=+Infinity,r=-Infinity,t=void 0,u=0,f=function(n){r=Math.max(r,n.max);i=Math.min(i,n.min)};return this._mapChildren(function(i){i.getState("removed")||(!1!==i.getState("visible")?(u++,t=i.getDataLimits(n),f(t)):n&&(t=i.getDataLimits(n),f(t)))}),u?this.setState("visible",!0):this.setState("visible",!1),this.config.range||(this.config.range={},this.config.range.min=this.config.dataMin,this.config.range.max=this.config.dataMax),{max:r,min:i}},t.prototype.isVisible=function(){return!this.isNotVisible},t}(f.ComponentInterface);t["default"]=u},443:function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.group.column3d":function(){return{"zeroPlane.appearing":function(){return[{initialAttr:{opacity:0}
51,finalAttr:{opacity:1},slot:"axis"}]}}}}},444:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var e;t.__esModule=!0;var o=f(i(432)),u=i(125),r=i(445),s=i(132),h=f(i(446));s.addDep({name:"column3dAnimation",type:"animationRule",extension:h["default"]});e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.setContainerVisibility=u.stubFN,i}return c(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"column3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.use3dlighting=u.UNDEF},t.prototype.createContainer=function(){var n=this.getLinkedParent(),t=this.getFromEnv("paper");this.getContainer("labelGroup")||this.addContainer("labelGroup",function(n,t,i){return t.group(n,i)}("label-group",t,n.getChildContainer("vcanvasLabelGroup")).attr("class","fusioncharts-datalabels")).attr("opacity",1)},t.prototype._getHoveredPlot=function(n,t){var u,i,f=this.getFromEnv("chart").isBar;return u=this.getFromEnv("xAxis").getValue(f?t:n),(i=Math.round(u))-u>0?r._checkPointerOverColumn.call(this,i,n,t)||r._checkPointerOverColumn.call(this,i-1,n,t):r._checkPointerOverColumn.call(this,i+1,n,t)||r._checkPointerOverColumn.call(this,i,n,t)},t}(o["default"]);t["default"]=e},445:function(n,t){"use strict";t.__esModule=!0;var i=Math.round;t._checkPointerOverColumn=function(n,t,r){var v,y,c,e,u,o,s,l,a,p=this.getFromEnv("chart").config,h=p.plotborderthickness,b=p.showplotborder,w=this.components.data,f=w[n];if(f)return v=f.config.setValue,u=(u=(h=b?h:0)/2)%2==0?u+1:i(u),null!==v&&(o=f._xPos-10,l=f._width+10,s=f._yPos,a=f._height+10,c=r-s+u,e=!!(e=!!(e=(y=t-o+u)>=0&&y<=l+h&&c>=0&&c<=a+h)&&t+r-(o+s)-10>0)&&t+r-(o+s+l+a)+10<0)?{pointIndex:n,hovered:e,pointObj:w[n]}:void 0}},446:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(433),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"initial.dataset.column3D":f["default"]["initial.dataset.column"]}},447:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(448),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},448:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var o=u(i(359)),s=u(i(449)),r=i(125);f=r.preDefStr.SEVENTYSTRING;e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i.axisPaddingLeft=0,i.axisPaddingRight=0,i}return h(t,n),t.getName=function(){return"Line"},t.prototype.getName=function(){return"Line"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Line Chart";t.singleseries=!0;t.defaultDatasetType="line";t.anchorborderthickness=1;t.anchorimageurl=void 0;t.anchorimagepadding=1;t.anchorsides=1;t.anchoralpha=void 0;t.anchorbgalpha=r.HUNDREDSTRING;t.anchorimagealpha=r.HUNDREDSTRING;t.anchorimagescale=100;t.anchorstartangle=90;t.anchorshadow=0;t.anchorbgcolor=void 0;t.anchorbordercolor=void 0;t.anchorradius=3;t.showvalues=1;t.plotfillalpha=f;t.linedashlen=5;t.linedashgap=4;t.linedashed=void 0;t.linealpha=r.HUNDREDSTRING;t.linethickness=2;t.drawfullareaborder=1;t.connectnulldata=0;
51t.zeroplanethickness=1;t.enablemousetracking=!0;t.zeroplanealpha=40;t.showzeroplaneontop=0;t.defaultcrosslinethickness=1},t.prototype.getDSdef=function(){return s["default"]},t}(o["default"]);t["default"]=e},453:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(454),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},454:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var o=u(i(359)),s=u(i(450)),r=i(125);f=r.preDefStr.SEVENTYSTRING;e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=0,i}return h(t,n),t.getName=function(){return"Area2D"},t.prototype.getName=function(){return"Area2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Area Chart";t.singleseries=!0;t.defaultDatasetType="area";t.anchorborderthickness=1;t.anchorimageurl=void 0;t.anchorimagepadding=1;t.anchorsides=1;t.anchoralpha=void 0;t.anchorbgalpha=r.HUNDREDSTRING;t.anchorimagealpha=r.HUNDREDSTRING;t.anchorimagescale=100;t.anchorstartangle=90;t.anchorshadow=0;t.anchorbgcolor=void 0;t.anchorbordercolor=void 0;t.anchorradius=3;t.showvalues=1;t.plotfillalpha=f;t.linedashlen=5;t.linedashgap=4;t.linedashed=void 0;t.linealpha=r.HUNDREDSTRING;t.linethickness=2;t.drawfullareaborder=1;t.connectnulldata=0;t.enablemousetracking=!0;t.defaultcrosslinethickness=1},t.prototype.getDSdef=function(){return s["default"]},t}(o["default"]);t["default"]=e},455:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(456),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},456:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(457));u=f(i(467));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.isBar=!0,i}return o(t,n),t.getName=function(){return"Bar2D"},t.prototype.getType=function(){return"chartAPI"},t.prototype.getName=function(){return"Bar2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.friendlyName="Bar Chart";this.config.singleseries=!0;this.config.defaultDatasetType="bar2d";this.config.enablemousetracking=!0},t.prototype.getDSdef=function(){return u["default"]},t.prototype.getDSGroupdef=function(){},t}(r["default"]);t["default"]=e},457:function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r,e=i(359),o=(r=e)&&r.__esModule?r:{"default":r},u=i(458);f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.prototype.getName=function(){return"SSBarCartesian"},t.getName=function(){return"SSBarCartesian"},t.prototype._feedAxesRawData=function(){return u.__feedAxesRawData.call(this)},t.prototype._spaceManager=function(){u.__spaceManager.call(this)},t.prototype._postSpaceManagement=function(){u.__postSpaceManagement.call(this)},t}(o["default"]);t["default"]=f},469:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(470),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},470:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}
51}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(471));u=f(i(472));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i.fireGroupEvent=!0,i.isBar=!0,i.defaultZeroPlaneHighlighted=!1,i}return o(t,n),t.getName=function(){return"Bar3D"},t.prototype.getName=function(){return"Bar3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.singleseries=!0;t.friendlyName="3D Bar Chart";t.defaultDatasetType="bar3d";t.showplotborder=0;t.enablemousetracking=!0},t.prototype.getDSdef=function(){return u["default"]},t}(r["default"]);t["default"]=e},471:function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var u,e=i(436),o=(u=e)&&u.__esModule?u:{"default":u},r=i(458);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.__feedAxesRawData=r.__feedAxesRawData,i.__spaceManager=r.__spaceManager,i.__postSpaceManagement=r.__postSpaceManagement,i}return s(t,n),t.getName=function(){return"SSBarCartesian3D"},t.prototype.getName=function(){return"SSBarCartesian3D"},t.prototype._feedAxesRawData=function(){return r.__feedAxesRawData.call(this)},t.prototype._spaceManager=function(){r.__spaceManager.call(this)},t.prototype._postSpaceManagement=function(){r.__postSpaceManagement.call(this)},t}(o["default"]);t["default"]=f},472:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(444)),e=i(467),o=i(132),s=r(i(473));o.addDep({name:"bar3DAnimation",type:"animationRule",extension:s["default"]});u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"bar3D"},t.prototype._checkPointerOverColumn=function(n,t,i){var l,a,s,u,f,e,h,c,v=this.getFromEnv("chart").config,o=v.plotborderthickness,p=v.showplotborder,y=this.components.data,r=y[n];if(r)return l=r.config.setValue,o=p?o:0,null!==l&&(e=r._yPos,c=r._height+5,f=r._xPos-5,h=r._width+5,s=i-e,u=!!(u=!!(u=(a=t-f)>=0&&a<=h+o&&s>=0&&s<=c+o)&&t+i-(f+e)-5>0)&&t+i-(f+e+h+c)+5<0)?{pointIndex:n,hovered:u,pointObj:y[n]}:void 0},t.prototype._getHoveredPlot=function(n,t){var r,i,u=this.getFromEnv("chart").isBar;return r=this.getFromEnv("xAxis").getValue(u?t:n),(i=Math.round(r))-r>0?this._checkPointerOverColumn(i,n,t)||this._checkPointerOverColumn(i-1,n,t):this._checkPointerOverColumn(i+1,n,t)||this._checkPointerOverColumn(i,n,t)},t.prototype.drawLabel=function(){e.drawLabel.call(this)},t}(f["default"]);t["default"]=u},473:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(468),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"initial.dataset.bar3D":f["default"]["initial.dataset.bar2D"]}},474:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(475),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},475:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}
51}function g(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var a=u(i(476)),v=u(i(362)),r=i(125),y=u(i(366)),p=u(i(368)),w=u(i(370)),b=u(i(478)),k=u(i(462)),d=i(479),o=i(136);var f=Math,e=f.min,s=f.max,nt=f.abs,h=f.PI,tt=f.round,it=h/180,rt=180/h,c=0,l=function(n,t,i){var f,r,o=!!i,e=void 0,u=void 0;return n?((r=(f=n.components&&n.components.data||[])[t=n.config.reversePlotOrder?f.length-t-1:t])&&(e=r.config,u=o!==r.config.sliced||void 0===i?n.plotGraphicClick.call(r.graphics.element):e.sliced),u):u},ut=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultSeriesType="pie",i.defaultPlotShadow=1,i.reverseLegend=1,i.defaultPaletteOptions=undefined,i.sliceOnLegendClick=!0,i.dontShowLegendByDefault=!0,i.defaultZeroPlaneHighlighted=!1,i.hasCanvas=!0,i.eiMethods={isPlotItemSliced:function(n){var i,r,u=this.apiInstance,t=u&&u.getDatasets();return t&&(t=t[0])&&(i=t.components.data)&&i[n]&&(r=i[n].config)&&r.sliced},addData:function(){var t=this.apiInstance,n=t&&t.getDatasets();return n&&(n=n[0])&&n.addData.apply(n,arguments)},removeData:function(){var t=this.apiInstance,n=t&&t.getDatasets();return n&&(n=n[0])&&n.removeData.apply(n,arguments)},updateData:function(){var t=this.apiInstance,n=t&&t.getDatasets();return n&&(n=n[0])&&n.updateData.apply(n,arguments)},slicePlotItem:function(n,t,i){var r=this.apiInstance;if(!i)return l(r.getDatasets()[0],n,t);r.addJob("eiMethods-slice-plot"+c++,function(){var u=l(r.getDatasets()[0],n,t);return"function"==typeof i&&i(u)},o.priorityList.postRender)},startingAngle:function(n,t,i){var u,r=this.apiInstance;if(!i)return r._startingAngle(n,t);r.addJob("eiMethods-start-angle"+c++,function(){u=r._startingAngle(n,t);"function"==typeof i&&i(u)},o.priorityList.postRender)}},i.registerFactory("dataset",b["default"],["vCanvas","legend"]),i.registerFactory("legend",k["default"]),i}return g(t,n),t.getName=function(){return"Pie2D"},t.prototype.getName=function(){return"Pie2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.alignCaptionWithCanvas=0;t.formatnumberscale=1;t.isSingleSeries=!0;t.friendlyName="Pie Chart";t.defaultDatasetType="Pie2D";t.plotborderthickness=1;t.decimals=2;t.alphaanimation=0;t.singletonPlaceValue=!0;t.usedataplotcolorforlabels=0;t.enableslicing=r.ONESTRING;t.skipCanvasDrawing=!0},t.prototype.parseChartAttr=function(t){n.prototype.parseChartAttr.call(this,t);var i=this.getFromEnv("chart-attrib");this.config.showLegend=r.pluckNumber(i.showlegend,0)},t.prototype.configureAttributes=function(n){var t=this.config;this.parseChartAttr(n);this.createComponent(n);this.config.skipConfigureIteration.axis=!0;this.configureChildren();this._createToolBox();this.getFromEnv("toolTipController").setStyle({bgColor:r.convertColor(t.tooltipbgcolor||"FFF",t.tooltipbgalpha||100),rawBgColor:(t.tooltipbgcolor||"FFF").replace(/^#?([a-f0-9]+)/gi,"#$1"),fontColor:(t.tooltipcolor||t.basefontcolor||"545454").replace(/^#?([a-f0-9]+)/gi,"#$1"),borderColor:r.convertColor(t.tooltipbordercolor||"666",t.tooltipborderalpha||100),rawBorderColor:(t.tooltipbordercolor||"666").replace(/^#?([a-f0-9]+)/gi,"#$1"),bgAlpha:r.pluckNumber(t.tooltipbgalpha,100),borderThickness:r.pluckNumber(t.tooltipborderthickness,1),showToolTipShadow:r.pluckNumber(t.showtooltipshadow||0),borderRadius:r.pluckNumber(t.tooltipborderradius,0),"font-size":t.basefontsize||10,"font-family":t.basefont||this.getFromEnv("style").inCanfontFamily,padding:r.pluckNumber(t.tooltippadding||3),borderAlpha:r.pluckNumber(t.tooltipborderalpha,100)})},t.prototype._createLayers=function(){n.prototype._createLayers.call(this);var t=this.getFromEnv("animationManager");this.getChildContainer("legendGroup")||this.addChildContainer("legendGroup",t.setAnimation({el:"group",attr:{name:"legend"},component:this,container:this.getContainer("parentgroup"),label:"group"}))},t.prototype.createComponent=function(){var n=void 0;n=this.config.skipConfigureIteration={};this.createBaseComponent();this.getFromEnv("animationManager").setAnimationState(this._firstConfigure?"initial":"update");r.componentFactory(this,y["default"],"caption");n.caption=!0;r.componentFactory(this,p["default"],"subCaption");n.subCaption=!0;r.componentFactory(this,w["default"],"background");n.background=!0;n.canvas=!0;this._createConfigurableComponents&&this._createConfigurableComponents();this.config.realtimeEnabled&&this._realTimeConfigure&&this._realTimeConfigure()},t.prototype._postSpaceManagement=function(){this.config.showLegend&&this.getChildren("legend")&&this.getChildren("legend")[0].postSpaceManager();this.allocateDimensionOfChartMenuBar()},t.prototype._checkInvalidSpecificData=function(){var n,i,t,u=0,f=0,r=this.getFromEnv("dataSource").data;if(!r)return!0;for(i=r.length||0,n=0;n<i;n++)t=Number(r[n].value),u+=isNaN(t)||0!==t?0:1,f+=isNaN(t)?1:0;return u+f>=i},t.prototype._spaceManager=function(){var it,rt,a,v,t=this.config,y=this.getChildren("dataset")[0],ut=y.components.data,i=y.config,ft=this.getFromEnv("legend"),ct=this.getFromEnv("color-manager"),p=this.getFromEnv("smartLabel"),lt=[],o=i.dataLabelCounter,w=0,n=this.getFromEnv("dataSource").chart,at=r.pluckNumber(n.managelabeloverflow,0),vt=r.pluckNumber(n.slicingdistance),c=i.preSliced||t.allPlotSliceEnabled!==r.ZEROSTRING||n.showlegend===r.ONESTRING&&n.interactivelegend!==r.ZEROSTRING?nt(r.pluckNumber(vt,20)):0,b=r.pluckNumber(n.pieradius,0),et=r.pluckNumber(n.enablesmartlabels,n.enablesmartlabel,1),yt=et?r.pluckNumber(n.skipoverlaplabels,n.skipoverlaplabel,1):0,pt=r.pluckNumber(n.issmartlineslanted,1),l=o?r.pluckNumber(n.labeldistance,n.smartlabelclearance,5):c,k=l,wt=t.width,ot=t.height,st=(this._manageActionBarSpace(.225*ot)||{}).bottom,d=wt-(t.marginRight+t.marginLeft),u=ot-(t.marginTop+t.marginBottom)-(st?st+t.marginBottom:0),bt=e(u,d),kt=r.pluck(n.smartlinecolor,ct.getColor("plotFillColor")),dt=r.pluckNumber(n.smartlinealpha,100),gt=r.pluckNumber(n.smartlinethickness,.7),f=i.dataLabelOptions=y._parseDataLabelOptions(),ni=f.style,g=o?r.pluckNumber(parseInt(ni.lineHeight,10),12):0,h=0===b?.15*bt:b,ti=2*h,tt={bottom:0,right:0},ii=i.pieYScale,ht=i.pieSliceDepth;if(f.connectorWidth=gt,f.connectorPadding=r.pluckNumber(n.connectorpadding,5),f.connectorColor=r.convertColor(kt,dt),o&&(k=l+c),v=ti+2*(g+k),u-=((it=this._manageChartMenuBar(v<u?u-v:u/2)).top||0)+(it.bottom||0),i.showLegend&&(this.config.hasLegend=!0,r.pluck(n.legendposition,r.POSITION_BOTTOM).toLowerCase()!==r.POSITION_RIGHT?u-=(tt=ft._manageLegendPosition(u/2)).bottom:d-=(tt=ft._manageLegendPosition(u/2)).right),this._allocateSpace(tt),p.useEllipsesOnOverflow(t.useEllipsesWhenOverflow),1!==o)for(;o--;)p.setStyle(ut[o].config.style||t.dataLabelStyle),lt[o]=rt=p.getOriSize(ut[o].config.displayValue),w=s(w,rt.width);0===b?h=this._stubRadius(d,w,u,k,c,g,h,l):(i.slicingDistance=c,i.pieMinRadius=h,f.distance=l);a=u-2*(h*ii+g);i.managedPieSliceDepth=ht>a?ht-a:i.pieSliceDepth;f.isSmartLineSlanted=pt;f.enableSmartLabels=et;f.skipOverlapLabels=yt;f.manageLabelOverflow=at},t.prototype._stubRadius=function(n,t,i,u,f,o,h,c){var a,v=this.getChildren("dataset")[0],l=v.config,y=this.getFromEnv("dataSource").chart,p=r.pluckNumber(y.slicingdistance),w=l.dataLabelOptions||(l.dataLabelOptions=v._parseDataLabelOptions());return(a=e(n/2-t-f,i/2-o)-u)>=h?h=a:p||(f=s(e(u-(h-a),f),10)),l.slicingDistance=f,l.pieMinRadius=h,w.distance=c,h},t.prototype._startingAngle=function(n,t){var u,f=this.getChildren("dataset")[0],i=f.config,r=(u=i.startAngle)*-rt+(-1*u<0?360:0);return isNaN(n)||i.singletonCase||i.isRotating||(n+=t?r:0,i.startAngle=-n*it,f._rotate(n),r=n),tt(100*((r%=360)+(r<0?360:0)))/100}
51,t.prototype._manageLegendSpace=function(){d._manageLegendSpace.call(this)},t.prototype.getDSdef=function(){return a["default"]},t}(v["default"]);t["default"]=ut},478:function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var i,f,e=n.getFromEnv("dataSource"),o=e.dataset,t=e.data||o&&o[0].data;f=u(t);t&&0!==t.length?(i=n.getDSdef(),r.datasetFactory(n,i,"dataset",1,[f])):n.setChartMessage()};var r=i(125),u=function(n){var t=[];return r.fcEach(n,function(n){"true"!==n.vline&&!0!==n.vline&&1!==n.vline&&"1"!==n.vline&&t.push(n)}),{catData:[],data:t}}},480:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(481),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},481:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}t.__esModule=!0;var e=u(i(475)),o=u(i(482)),s=i(125);var r=Math,c=r.round,f=r.min,l=r.max,a=r.PI,v=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=0,i}return h(t,n),t.getName=function(){return"Pie3D"},t.prototype.getName=function(){return"Pie3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.friendlyName="3D Pie Chart";t.defaultDatasetType="Pie3D";t.plotborderthickness=.1;t.alphaanimation=1},t.prototype.animate=function(){var t,u,f,e,r,n,o,s,h=this.components.dataset[0],l=h.config,c=h.components.data,v=c.length,y=l.alphaAnimation,i=this.get("config","animationObj"),p=i.duration||0,w=i.dummyObj,b=i.animObj,k=i.animType;if(!y)for(t=0;t<v;t++)f=(u=c[t]).graphics,r=u.config.shapeArgs,n=2*a,(e=f.element)&&(e.attr({sAngle:n,eAngle:n}),o=r.sAngle,s=r.eAngle,(void 0).animateWith(w,b,{cx:o-n,cy:s-n},p,k))},t.prototype._stubRadius=function(n,t,i,r,u,e,o){var c,a=this.getChildren("dataset")[0],h=a.config,v=a.config,y=s.pluckNumber(v.slicingdistance),p=h.dataLabelOptions||(h.dataLabelOptions=a._parseDataLabelOptions()),w=h.pieYScale,b=h.pieSliceDepth;return(c=f(n/2-t-u,((i-=b)/2-e)/w)-r)>=o?o=c:y||(u=r=l(f(r-(o-c),u),10)),h.slicingDistance=u,h.pieMinRadius=o,p.distance=r,o},t.prototype._startingAngle=function(n,t){var u,f=this.getChildren("dataset")[0],r=f.config,i=(u=r.startAngle)+(u<0?360:0);return isNaN(n)||r.singletonCase||r.isRotating||(n+=t?i:0,f._rotate(n),i=n),c(100*((i%=360)+(i<0?360:0)))/100},t.prototype.getDSdef=function(){return o["default"]},t}(e["default"]);t["default"]=v},482:function(n,t,i){"use strict";function et(n){return n&&n.__esModule?n:{"default":n}}function ct(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function lt(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}function at(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var ti,ii;t.__esModule=!0;var ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},k=i(476),ui=et(k),r=i(125),fi=i(138),ei=i(483),oi=et(i(485)),ht=i(132),si=et(i(486));var w=ht.getDep("redraphael","plugin"),hi=window,h=void 0,g=8===window.document.documentMode?"visible":"",vt=r.preDefStr.elementStr,f="M",p="L",s="v",u="A",e="Z",v=Math,yt=v.max,ot=v.min,pt=v.abs,st=v.ceil,c=v.sin,ci=v.atan2,l=v.cos,li=v.floor,a=v.round,o=v.PI,y=2*o,nt=o/2,b=o+nt,wt=function(n,t){for(var r=[],i=0,u=n.length;i<u;i++)r[i]=t.call(n[i],n[i],i,n);return r},bt=function(n){return"string"==typeof n},kt=function(n,t){return parseInt(n,t||10)},dt={lighting3D:{},lighting2D:{}},gt=function(n,t,i,r,u){return ci((t-i[1]-r.top)/u,n-i[0]-r.left)},tt=function(n){var r=this.data("plotItem"),o=r.index,t=r.chart,s=t.getFromEnv("animationManager"),h=t.config,i=t.getChildren("dataset")[0],c=i.config,u=i.components.data[o],l=u.graphics,a=u.config,f=l.element,e=a.hoverEffects;c.isRotating||(t.plotEventHandler(f,n,"DataPlotRollOver"),e.enabled&&s.setAnimation({el:f,attr:e,component:i}));h.isHovered=!0},it=function(n){var u=this.data("plotItem"),o=u.index,t=u.chart,s=t.getFromEnv("animationManager"),h=t.config,r=t.getChildren("dataset")[0],c=r.config,f=r.components.data[o],l=f.graphics,i=f.config,e=l.element;c.isRotating||(t.plotEventHandler(e,n,"DataPlotRollOut"),s.setAnimation({el:e,attr:{color:i.color.color.split(",")[0],alpha:i._3dAlpha,borderWidth:i.borderWidth,borderColor:i.borderColor},component:r}));h.isHovered=!1},rt=function(n){var i,u=this.data("plotItem").chart.getChildren("dataset")[0],f=r.pluckNumber(n.button,n.originalEvent.button),t=u.config,e=n.data[0],o=n.data[1];t.isRightClicked=!(r.touchEnabled||0===f||1===f);t.enableRotation&&!t.isRightClicked&&(t.isRotating=!1,i=gt.call(n,e,o,t.center,t.chartPosition=r.getPosition(u.getFromEnv("chart-container")),t.pieYScale),t.dragStartAngle=i,t._lastAngle=-t.startAngle,t.startingAngleOnDragStart=t.startAngle)},ut=function(){var f=this.data("plotItem"),s=f.index,t=f.chart,h=t.getFromEnv("animationManager"),c=t.config,u=t.getChildren("dataset")[0],n=u.config,e=u.components.data[s],l=e.graphics,i=e.config,a=l.element,o=n.startAngle;n.isRightClicked||n.isRotating&&(setTimeout(function(){n.isRotating=!1},0),t.fireChartInstanceEvent("rotationEnd",{startingAngle:r.normalizeAngle(o,!0),changeInAngle:o-n.startingAngleOnDragStart}),!c.isHovered&&h.setAnimation({el:a,attr:{color:i.color.color.split(",")[0],alpha:i._3dAlpha,borderWidth:i.borderWidth,borderColor:i.borderColor},component:u}))}
vendor: 4,700 bytes, line 51
51,ft=function(n){var i,e,h,u=this.data("plotItem").chart,f=n.data,c=f[0],l=f[1],a=f[2],v=f[3],s=u.getChildren("dataset")[0],t=s.config;isNaN(c)||isNaN(l)||!t.enableRotation||t.singletonCase||t.isRightClicked||(i=gt.call(n,a,v,t.center,t.chartPosition,t.pieYScale),t.dragStartAngle===i||t.isRotating||(t.isRotating=!0,u.fireChartInstanceEvent("rotationStart",{startingAngle:r.normalizeAngle(t.startAngle,!0)})),h=i-t.dragStartAngle,t.dragStartAngle=i,t.moveDuration=0,t._lastAngle+=180*h/o,e=(new Date).getTime(),(!t._lastTime||t._lastTime+t.timerThreshold<e)&&(t._lastTime||s._rotate(),t.timerId=setTimeout(function(){u.disposed&&u.disposing||s._rotate()},t.timerThreshold),t._lastTime=e))},ai=function(n,t){return n._conf.index-t._conf.index||n._conf.cIndex-t._conf.cIndex||n._conf.isStart-t._conf.isStart||n._conf.si-t._conf.si},vi=function(n,t){return n.point.value-t.point.value},yi=function(n,t){return n.angle-t.angle},pi=["start","start","end","end"],wi=[-1,1,1,-1],bi=[1,1,-1,-1],ni={stroke:!0,strokeWidth:!0,"stroke-width":!0,dashstyle:!0,"stroke-dasharray":!0,translateX:!0,translateY:!0,"stroke-opacity":!0,fill:!0,"fill-opacity":!0,opacity:!0,transform:!0,cursor:!0,sAngle:!0,eAngle:!0,color:!0,alpha:!0,borderColor:!0,borderAlpha:!0,borderWidth:!0,rolloverProps:!0,showBorderEffect:!0,positionIndex:!0,cx:!0,cy:!0,radiusYFactor:!0,r:!0,innerR:!0},ki=function(n,t){var i,f,c,e,l,a,v,r=this,u=r._confObject,o={},y=u.elements,s=u.Pie3DManager;if(bt(n)&&(v=t)!==h&&null!==v&&(i=n,(n={})[i]=t),!n||bt(n))r=ni[n]?u[n]:r._attr(n);else{for(i in n)f=n[i],ni[i]?(u[i]=f,"cursor"===i||"transform"===i||"opacity"===i||"fill-opacity"===i?(o[i]=f,a=!0):"sAngle"===i||"eAngle"===i||"cx"===i||"cy"===i||"radiusYFactor"===i||"r"===i||"innerR"===i?e=!0:"color"!==i&&"alpha"!==i&&"borderColor"!==i&&"borderAlpha"!==i&&"borderWidth"!==i||(l=!0)):r._attr(i,f);if(e&&(s._setSliceShape(u),s.refreshDrawing()),(l||e)&&s._setSliceCosmetics(u),a){for(c in y)y[c].attr(o);r._attr(o)}}return r},di=function(n,t,i){if(!i){var r,u=this._confObject.elements;for(r in u)u[r].on(n,t);return this._on(n,t)}this._on(n,t,!0)},gi=function(n,t,i){var r,u=this._confObject.elements,f=hi.navigator.userAgent.toLowerCase().indexOf("android")>-1;for(r in u)f&&"topBorder"!==r&&"frontOuter"!==r&&"startSlice"!==r&&"endSlice"!==r||u[r].drag(n,t,i);return this._drag(n,t,i)},nr=function(){var n,t=this._confObject.elements;for(n in t)t[n].hide();return this._hide()},tr=function(){var n,t=this._confObject.elements;for(n in t)t[n].show();return this._show()},ir=function(){var t,n=this._confObject,i=n.elements;for(t in i)i[t].destroy();return r.hasSVG&&(n.clipTop.destroy(),n.clipOuterFront.destroy(),n.clipOuterBack.destroy(),n.clipOuterFront1&&n.clipOuterFront1.destroy(),n.clipInnerFront&&n.clipInnerFront.destroy(),n.clipInnerBack&&n.clipInnerBack.destroy()),this._destroy()},rr=function(n,t){var i,r=this._confObject.elements;if(t===h)return this._data(n);for(i in r)r[i].data(n,t);return this._data(n,t)},d=0;ht.addDep({name:"pie3dAnimation",type:"animationRule",extension:oi["default"]});ti=function(n){function t(){return ct(this,t),lt(this,n.apply(this,arguments))}return at(t,n),t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.setBorderWidth=h;t.alphaanimation=1;t.showBorderEffect=h},t.prototype.placeDataLabels=function(n){var pr,dt,wr,s,br,gi,ht,nr,tr,gt,ct,kr,ii,ri,ui,fi,lt,ir,ei,oi,at,w,dr,gr,u,hr,ai,cr,lr,i,e,ni,nu,si,tu,bt,t,d=this,hi=d.getFromEnv("chart"),lu=hi.getFromEnv("toolTipController"),ci=hi.config,vt=d.config,rr=d.components.data,iu=vt.piePlotOptions,ur=ci.canvasLeft,ru=ci.canvasTop,au=ci.canvasWidth,vu=ur+.5*ci.canvasWidth,yu=ru+.5*ci.canvasHeight,ki=hi.getFromEnv("smartLabel"),kt=vt.dataLabelOptions,fr=kt.style,uu=r.pluckNumber(st(parseFloat(fr.lineHeight)),12),pu=r.getFirstValue(kt.placeInside,!1),fu=kt.skipOverlapLabels,wu=kt.manageLabelOverflow,er=kt.connectorPadding,bu=kt.distance,eu=kt.connectorWidth,et=[[],[],[],[]],ou=ur,su=ru,ku=au,hu=parseInt(fr.fontSize,10),wt=hu,or=wt/2,cu=[er,er,-er,-er],du=kt.isSmartLineSlanted,gu=bu>0,li=vt.center||(vt.center=[vu,yu,iu.size,iu.innerSize||0]),sr=li[1],di=li[0],nf=li[2],tf=li[4],rf=vt.labelsRadius,uf=a(100*vt.labelsRadiusY)/100,ar=vt.maxLabels,ff=vt.enableSmartLabels,vr=vt.pieSliceDepth/2,ti=hi.getFromEnv("animationManager"),yr=d.getContainer("label-group");if(ki.useEllipsesOnOverflow(ci.useEllipsesWhenOverflow),vt.dataLabelCounter)if(n||ki.setStyle(fr),1==rr.length)at=rr[0],e=at.graphics,i=at.config,t=i._textAttrs,bt=i._textCss,u=e.label,ni=e.connector,i.slicedTranslation=[ou,su],null!==i.y&&i.y!==h&&(t.visibility=g,t["text-anchor"]="middle",t.x=di,t.y=sr+or-2,t._x=di),bt.curs
51or=i.labellink?"pointer":"",(u=e.label=ti.setAnimation({el:e.label||"text",attr:t,css:bt,label:"label",container:yr,component:d})).on("fc-dragstart",rt).on("fc-dragmove",ft).on("fc-dragend",ut).on("fc-click",k.labelClickFn.bind(u,hi,at.config.labellink)).on("fc-mouseup",k.plotClickHandler(d,u)).on("fc-mouseover",tt).on("fc-mouseout",it),t._x&&(u.x=t._x,delete t.x),u.data("plotItem",t.plotItem).data("eventArgs",t.eventArgs),t.visibility===g&&u.show(),ni&&ni.hide();else if(pu)r.fcEach(rr,function(n){var r,f,o;e=n.graphics;i=n.config;t=i._textAttrs;u=e.label;null!==i.y&&i.y!==h&&(w=i.angle,ei=sr+li[6]*c(w)+or-2,ui=di+li[5]*l(w),t._x=ui,t._y=ei,i.sliced&&(f=(r=n.slicedTranslation)[0]-ou,o=r[1]-su,ui+=f,ei+=o),t.visibility=g,t.align="middle",t.x=ui,t.y=ei);bt.cursor=i.labellink?"pointer":"";(u=e.label=ti.setAnimation({el:e.label||"text",attr:t,css:bt,label:"label",container:yr,component:d})).data("plotItem",t.plotItem).data("eventArgs",t.eventArgs);t.visibility===g&&u.show();u.x=t._x;u._x=t._x;u._y=t._y});else{for(r.fcEach(rr,function(n){if(e=n.graphics,i=n.config,bt=i._textCss,!((t=i._textAttrs).text=i.displayValue))return e.connector&&ti.setAnimation({el:e.connector,component:d,callback:k.hideFn}),void(e.label&&ti.setAnimation({el:e.label,component:d,callback:k.hideFn}));e=n.graphics;null!==i.y&&i.y!==h&&(u=e.label,(ni=e.connector)&&ni.show(),u&&u.show());u=e.label;(w=i.angle)<0&&(w=y+w);et[w>=0&&w<nt?1:w<o?2:w<b?3:0].push({point:n,angle:w})}),s=4;s--;){if(fu&&(dr=et[s].length-ar)>0)for(et[s].sort(vi),gi=0,gt=(gr=et[s].splice(0,dr)).length;gi<gt;gi+=1)at=gr[gi].point,(e=at.graphics).label&&ti.setAnimation({el:e.label,attr:{visibility:"hidden"},component:d}),e.connector&&ti.setAnimation({el:e.connector,attr:{visibility:"hidden"},component:d});et[s].sort(yi)}for(tu=yt(et[0].length,et[1].length,et[2].length,et[3].length),si=yt(ot(tu,ar)*wt,uf+wt),et[1].reverse(),et[3].reverse(),ki.setStyle(fr),ct=4;ct--;){for(gt=(oi=et[ct]).length,fu||(or=(wt=gt>ar?si/gt:hu)/2),tr=gt*wt,dt=si,s=0;s<gt;s+=1,tr-=wt)dt<(ht=pt(si*c(oi[s].angle)))?ht=dt:ht<tr&&(ht=tr),dt=(oi[s].oriY=ht)-wt;for(wr=pi[ct],nr=si-(gt-1)*wt,dt=0,s=oi.length-1;s>=0;s-=1,nr+=wt)at=oi[s].point,e=at.graphics,i=at.config,t=i._textAttrs,bt=i._textCss,null!==i.y&&t.text&&(w=oi[s].angle,kr=i.sliced,u=e.label,(ht=pt(si*c(w)))<dt?ht=dt:ht>nr&&(ht=nr),dt=ht+wt,lt=(ht+oi[s].oriY)/2,ii=di+bi[ct]*rf*l(v.asin(lt/si)),lt*=wi[ct],lt+=sr,ir=sr+tf*c(w),ri=di+nf*l(w),(ct<2&&ii<ri||ct>1&&ii>ri)&&(ii=ri),ei=lt+or-2,fi=(ui=ii+cu[ct])+cu[ct],t._x=fi,wu&&(br=ct>1?fi-ur:ur+ku-fi,ki.setStyle(i.style),uu=r.pluckNumber(st(parseFloat(i.style.lineHeight)),12)+(2*st(parseFloat(i.style.border),12)||0),lr=ki.getSmartText(i.displayValue,br,uu),t.text=lr.text,t.tooltip=lr.tooltext),w<o&&(lt+=vr,ir+=vr,ei+=vr),t._y=ei,kr&&(ai=i.transX,cr=i.transY,ui+=ai,ii+=ai,ri+=ai,lt+=cr,ir+=cr,fi+=ai),t.visibility=g,t["text-anchor"]=wr,t.x=fi,t.y=lt,t.opacity=1,bt.cursor=i.labellink?"pointer":"",hr=e.label,(u=ti.setAnimation({el:hr||"text",attr:t,css:bt,container:yr,component:d,label:"label"})).data("textPos",{x:fi,y:lt}).data("plotItem",t.plotItem).data("eventArgs",t.eventArgs),hr||(e.label=u,u.on("fc-dragstart",rt).on("fc-dragmove",ft).on("fc-dragend",ut).on("fc-click",k.labelClickFn.bind(u,hi,at.config.labellink)).on("fc-click",k.plotClickHandler(d,u)).on("fc-mouseover",tt).on("fc-mouseout",it)),u.x=t._x,u._x=t._x,u.y=t._y,t.tooltip&&(lu.enableToolTip(u,t.tooltip),delete t.tooltip),gu&&eu&&ff&&(ni=e.connector,i.connectorPath=nu=[f,ri,ir,p,du?ii:ri,lt,ui,lt],pr={path:nu,"stroke-width":eu,stroke:kt.connectorColor||"#606060",opacity:1,visibility:g},ni&&ti.setAnimation({el:ni,attr:pr,label:"connector",component:d})))}}},t.prototype._parsePie3DOptions=function(){var n=this.config;return{size:2*n.pieMinRadius,slicedOffset:n.slicingDistance,allowPointSelect:!0,cursor:"pointer",innerSize:"pie3d"===this.getName()?0:ei._getInnerSize.call(this)}},t.prototype._parseBorderConfig=function(n,t,i){var o=this.config.pieBorderColor,u=this.getFromEnv("chart-attrib"),f=r.pluck(i.bordercolor,o),e=r.pluck(i.borderalpha,u.plotborderalpha,u.pieborderalpha);return{setPlotBorderColor:f=r.pluck(f,r.getLightColor(n,90)).split(",")[0],setPlotBorderAlpha:e=u.showplotborder==r.ZEROSTRING?r.ZEROSTRING:r.pluck(e,t,"80")}},t.prototype._initPie3dManager=function(){var o,k,d,i,g,u,f,nt,tt,et,st,ht=this.getFromEnv("chart"),s=ht.config,h=0,n=this.config,vt=this.components,e=n.dataLabelOptions,ct=n.pie3DOptions=this._parsePie3DOptions(),yt=r.pluck(n.startAngle,0)%y,it=n.managedPieSliceDepth,lt=n.slicedOffset=ct.slicedOffset,p=s.canvasWidth,w=s.canvasHeight,t=[s.canvasLeft+.5*p,s.canvasTop+.5*w-.5*it],rt=vt.data,at=ot(p,w),ut=e.distance,ft=n.pieYScale,pt=n.slicedOffsetY||(n.slicedOffsetY=lt*n.pieYScale),b=this.getFromEnv("pie3DManager");for(t.push(2*n.pieMinRadius,ct.innerSize||0),(t=wt(t,function(n,t){return/%$/.test(n)?[p,w-it,at,at][t]*kt(n)/100:n}
51))[2]/=2,t[3]/=2,t.push(t[2]*ft),t.push((t[2]+t[3])/2),t.push(t[5]*ft),this.getX=function(n,i){return u=v.asin((n-t[1])/(t[2]+ut)),t[0]+(i?-1:1)*l(u)*(t[2]+ut)},n.center=t,r.fcEach(rt,function(n){h+=n.config.y}),n.labelsRadius=t[2]+ut,n.labelsRadiusY=n.labelsRadius*ft,n.quadrantHeight=(w-it)/2,n.quadrantWidth=p/2,nt=(f=a(1e3*(f=yt))/1e3)+y,k=r.pluckNumber(parseInt(e.style.fontSize,10),10)+4,n.maxLabels=li(n.quadrantHeight/k),n.labelFontSize=k,n.connectorPadding=r.pluckNumber(e.connectorPadding,5),n.isSmartLineSlanted=r.pluck(e.isSmartLineSlanted,!0),n.connectorWidth=r.pluckNumber(e.connectorWidth,1),n.enableSmartLabels=e.enableSmartLabels,b||(b=new ii(ht),this.attachChild(b,"pie3DManager",!1),this.addToEnv("pie3DManager",b)),this._configurePie3DManager(),o=rt.length-1;o>=0;o-=1)i=rt[o].config,d=f,tt=h?i.y/h:0,(f=a(1e3*(f+tt*y))/1e3)>nt&&(f=nt),g=f,i.shapeArgs={sAngle:a(1e3*d)/1e3,eAngle:a(1e3*g)/1e3},i.centerAngle=u=(g+d)/2%y,i.slicedTranslation=[a(l(u)*lt),a(c(u)*pt)],et=l(u)*t[2],n.radiusY=st=c(u)*t[4],i.tooltipPos=[t[0]+.7*et,t[1]+st],i.percentage=100*tt,i.total=h},t.prototype._configurePie3DManager=function(){var n=this.config,i=this.components,t=this.getFromEnv("pie3DManager"),r=i.data;t&&t.configure(n.pieSliceDepth,1===r.length,n.use3DLighting,!1)},t.prototype.allocatePosition=function(){var t,o,p,w,s,b,h,e=this.getFromEnv("chart").config,u=this.config,f=this.components.data,i=r.pluck(u.startAngle,0)%y,nt=u.pie3DOptions=this._parsePie3DOptions(),k=u.pieYScale,d=u.managedPieSliceDepth,c=e.canvasWidth,l=e.canvasHeight,g=ot(c,l),n=[e.canvasLeft+.5*c,e.canvasTop+.5*l-.5*d],v=0,tt=f.length;for(n.push(2*u.pieMinRadius,nt.innerSize||0),(n=wt(n,function(n,t){return/%$/.test(n)?[c,l-d,g,g][t]*kt(n)/100:n}))[2]/=2,n[3]/=2,n.push(n[2]*k),n.push((n[2]+n[3])/2),n.push(n[5]*k),u.center=n,r.fcEach(f,function(n){v+=n.config.y}),h=(i=a(1e3*i)/1e3)+y,t=f.length-1;t>=0;t-=1)s=f[t],p=i,b=v?s.config.y/v:0,(i=a(1e3*(i+b*y))/1e3)>h&&(i=h),w=i,s.config.shapeArgs={sAngle:a(1e3*p)/1e3,eAngle:a(1e3*w)/1e3};for(t=0;t<tt;t++)o=f[t],this.parsePlotAttributes(o,t),this.parseLabelAttributes(o,t)},t.prototype.parsePlotAttributes=function(n,t){var v,it,rt,p,w,b,nt,k,s,ut,d,ft,i,e,o,a,et,ot,at=this.components,f=this.config,st=this.getFromEnv("chart"),ht=st.config,vt=at.data,y=f.dataLabelOptions,u=y.style,tt=f.slicingDistance,ct=f.slicedOffsetY||(f.slicedOffsetY=tt*f.pieYScale),yt=f.showBorderEffect,lt=vt.length,pt=f.usePerPointLabelColor,wt=ht.textDirection,g=t,bt=ht.dataLabelStyle;v=f.center;f.prevPositions;it=f.pieYScale;(e=(i=n.config)._textAttrs)||(e=i._textAttrs={});(o=i._textCss)||(o=i._textCss={});w=i.y;b=i.displayValue;k=i.sliced;d=i.shapeArgs;s=i.centerAngle;ft=i.toolText;nt=!!i.link;u=i.style;null!==w&&w!==h&&(a={sAngle:d.sAngle,eAngle:d.eAngle,r:v[2],innerR:v[3],cx:v[0],cy:v[1],radiusYFactor:it,opacity:1},b!==h?(u?((o=i._textCss)||(o=i._textCss={}),o.fontFamily=u.fontFamily,o.fontSize=u.fontSize,o.lineHeight=u.lineHeight,o.fontWeight=u.fontWeight,o.fontStyle=u.fontStyle):i._textCss&&(delete i._textCss,o=h),i.style=u||(u=bt),e.text=b,e.fill=(pt?r.toRaphaelColor(i.color):u.color)||"#000000",e["text-bound"]=[u.backgroundColor,u.borderColor,u.borderThickness,u.borderPadding,u.borderRadius,u.borderDash],e.direction=wt,e.lineHeight=u.lineHeight,y.distance>0&&(ut=y.connectorWidth)&&y.enableSmartLabels&&(et={"stroke-width":ut,stroke:y.connectorColor||"#606060",cursor:nt?"pointer":"",opacity:1})):e.text="",i.plotItem=p={chart:st,index:g,seriesData:f,value:w,angle:i.angle=s,link:i.link,shapeArgs:d,slicedX:k&&!f.singletonCase?l(s)*tt:0,slicedY:k&&!f.singletonCase?c(s)*ct:0,sliced:k,labelText:b,name:i.name,percentage:i.percentage,toolText:ft,originalIndex:lt-g-1,style:i.style,transX:i.transX=l(s)*tt,transY:i.transY=c(s)*ct,slicedTranslation:i.slicedTranslation="t"+i.transX+","+i.transY,label:void 0,connector:void 0},i.eventArgs=rt={index:f.reversePlotOrder?lt-1-g:g,link:i.link,value:i.y,displayValue:i.displayValueArgs,categoryLabel:i.categoryLabel,isSliced:i.sliced,toolText:i.toolText},ot={color:i.color.color.split(",")[0],alpha:i._3dAlpha,borderWidth:i.borderWidth,borderColor:i.borderColor,borderAlpha:i.borderConfig.setPlotBorderAlpha},r.extend2(a,ot),a.cursor=nt?"pointer":"",a.showBorderEffect=yt,a.transform="t"+p.slicedX+","+p.slicedY,e.plotItem=p,e.eventArgs=rt,i.props={element:{attr:a},connector:{attr:et},label:{attr:e,css:o}})},t.prototype.draw=function(){var w,ni,wt,nt,b,ti,ot,st,bt,ht,g,ii,ct,lt,n,p,o,a,v,kt,e,y,u,s,ri,at,ui,fi,t=this,ei=t.components,f=t.config,dt=t.getFromEnv("chart"),oi=dt.config,vt=dt.getFromEnv("animationManager"),yt=ei.data,et=f.dataLabelOptions,i=et.style,gt=f.slicingDistance,si=f.slicedOffsetY||(f.
51slicedOffsetY=gt*f.pieYScale),vi=f.showBorderEffect,pt=yt.length,yi=f.usePerPointLabelColor,pi=oi.textDirection,hi=f.valueTotal,wi=ei.removeDataArr||[],bi=t.getState("visible"),d=t.getContainer("labelGroup"),ci={},li=t.getFromEnv("toolTipController"),ai=oi.dataLabelStyle;for(t.getContainer("pie-groups")||t._createContainer(),d=t.getContainer("label-group"),kt=t.getContainer("plot-group"),vt.setAnimation({el:d,attr:{css:ai},component:t,label:"labelcontainer",callback:function(){bi&&hi?(d.show(),kt.show()):(d.hide(),kt.hide())}}),t._initPie3dManager(),wt=t.getFromEnv("pie3DManager"),wi.length&&t.remove(),w=f.center,f.prevPositions||w,ni=f.pieYScale,yt&&pt||(yt=[]),v=-1;++v<pt;)if((y=(n=(ti=yt[v]).config)._textAttrs)||(y=n._textAttrs={}),p=ti.graphics,ot=n.y,st=n.displayValue,ht=n.sliced,ct=n.shapeArgs,g=n.centerAngle,lt=n.toolText,bt=!!n.link,i=n.style,null!==ot&&ot!==h){for(ui in e=p.element,o=p.label,a=p.connector,s={sAngle:ct.sAngle,eAngle:ct.eAngle,r:w[2],innerR:w[3],cx:w[0],cy:w[1],radiusYFactor:ni,opacity:1},e?at=!1:(at=!0,(e=p.element=wt.useSliceFromPool())||(e=p.element=wt.createSlice().drag(ft,rt,ut).on("fc-mouseover",tt).on("fc-mouseout",it)).on("fc-click",k.plotClickHandler(t,e))),st!==h&&(i?((u=n._textCss)||(u=n._textCss={}),u.fontFamily=i.fontFamily,u.fontSize=i.fontSize,u.lineHeight=i.lineHeight,u.fontWeight=i.fontWeight,u.fontStyle=i.fontStyle):n._textCss&&(o&&o.removeCSS(),delete n._textCss,u=h),n.style=i||(i=ai),y.text=st,y.fill=(yi?r.toRaphaelColor(n.color):i.color)||"#000000",y["text-bound"]=[i.backgroundColor,i.borderColor,i.borderThickness,i.borderPadding,i.borderRadius,i.borderDash],y.direction=pi,y.lineHeight=i.lineHeight,o&&u&&(vt.setAnimation({el:o,attr:{css:u},component:t}),delete u.fontFamily,delete u.fontSize,delete u.lineHeight,delete u.fontWeight,delete u.fontStyle,u=h),et.distance>0&&(ii=et.connectorWidth)&&et.enableSmartLabels&&(ri={"stroke-width":ii,stroke:et.connectorColor||"#606060",cursor:bt?"pointer":"",opacity:1},d.show(),a=p.connector=vt.setAnimation({el:p.connector||"path",attr:ri,container:d,label:"connector",component:t}).show().on("fc-dragstart",rt).on("fc-dragmove",ft).on("fc-dragend",ut).on("fc-mouseover",tt).on("fc-mouseout",it))),hi?(o&&o.show(),a&&a.show()):(o&&o.hide(),a&&a.hide()),b={chart:dt,index:v,seriesData:f,value:ot,angle:n.angle=g,link:n.link,shapeArgs:ct,slicedX:ht&&!f.singletonCase?l(g)*gt:0,slicedY:ht&&!f.singletonCase?c(g)*si:0,sliced:ht,labelText:st,name:n.name,percentage:n.percentage,toolText:lt,originalIndex:pt-v-1,style:n.style,graphic:e,transX:n.transX=l(g)*gt,transY:n.transY=c(g)*si,slicedTranslation:n.slicedTranslation="t"+n.transX+","+n.transY,label:o,connector:a},nt={index:f.reversePlotOrder?pt-1-v:v,link:n.link,value:n.y,displayValue:n.displayValueArgs,categoryLabel:n.categoryLabel,isSliced:n.sliced,toolText:n.toolText},ci={color:n.color.color.split(",")[0],alpha:n._3dAlpha,borderWidth:n.borderWidth,borderColor:n.borderColor,borderAlpha:n.borderConfig.setPlotBorderAlpha},at&&r.extend2(s,ci),e.data("groupId",v).data("plotItem",b).data("eventArgs",nt),e.data("groupId",v).data("plotItem",b).data("eventArgs",nt),s.cursor=bt?"pointer":"",s.showBorderEffect=vi,s.color=n.color.color.split(",")[0],s.alpha=n._3dAlpha,s.borderWidth=n.borderWidth,s.borderColor=n.borderColor,li.enableToolTip(e,lt),fi=e._confObject.elements)li.enableToolTip(fi[ui],lt);s.transform="t"+b.slicedX+","+b.slicedY;y.plotItem=b;y.eventArgs=nt;vt.setAnimation({el:e,attr:s,component:t,label:"slice",state:at?"appearing":"updating"});a&&a.data("plotItem",b).data("eventArgs",nt)}d.show();t.placeDataLabels(!1);t.drawn=!0;f.prevPositions=w.slice(0)},t.prototype.remove=function(){for(var n,t,u,e=this.config,l=this.components,o=this.getFromEnv("animationManager"),f=l.removeDataArr||[],s=this.pool=this.pool=[],a=f.length,v=this.getFromEnv("pie3DManager"),h=function(n,t){return function(){t===vt?(v.removeSlice(n.element),delete n.element):n[t].hide()}},c=e.startAngle,i=e.center,r=0;r<a;r++){for(n in t=f[0].graphics)u=t[n],s[n]||(s[n]=[]),n===vt?o.setAnimation({el:u,attr:{sAngle:-c,eAngle:.01-c,r:i[2],innerR:i[3],cx:i[0],cy:i[1]},component:this,callback:h(t,n)}):o.setAnimation({el:u,attr:{opacity:0}
51,component:this,callback:h(t,n)});f.splice(0,1)}},t.prototype._rotate=function(n){var t,i=this,u=i.config,v=i.getFromEnv("animationManager"),f=i.components.data,e=u.slicedOffset,s=u.slicedOffsetY,y=u.startAngle,h=i.getFromEnv("pie3DManager");n=isNaN(n)?-u._lastAngle:n;t=(n-y)%360;u.startAngle=r.pluckNumber(n,u.startAngle)%360;t=-t*o/180;h&&h.rotate(t);r.fcEach(f,function(n){var f,w=n.graphics,u=n.config,h=w.element,y=u.shapeArgs,b=y.sAngle+=t,k=y.eAngle+=t,p=u.angle=r.normalizeAngle((b+k)/2),o=u.sliced,d=l(p),g=c(p);f=u.slicedTranslation=[a(d*e),a(g*s)];u.transX=f[0];u.transY=f[1];u.slicedX=o?l(t)*e:0;u.slicedY=o?c(t)*s:0;h&&o&&v.setAnimation({el:h,attr:{transform:"t"+f[0]+","+f[1]},component:i})});i.placeDataLabels(!0,f)},t.prototype.foldingFn=function(){var n=this.config.startAngle;return{sAngle:-n,eAngle:.01-n}},t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"pie3d"},t}(ui["default"]);w&&w._availableAnimAttrs&&w._availableAnimAttrs.cx&&(w._availableAnimAttrs.innerR=w._availableAnimAttrs.depth=w._availableAnimAttrs.radiusYFactor=w._availableAnimAttrs.sAngle=w._availableAnimAttrs.eAngle=w._availableAnimAttrs.cx);si["default"](w);ii=function(n){function t(i){ct(this,t);var r=lt(this,n.call(this)),u=r;return u.config={},u.linkedItems={chart:i},r}return at(t,n),t.prototype.getType=function(){return"pie3DManager"},t.prototype.getName=function(){return"pie3d"},t.prototype.createSlice=function(){var i=this.renderer,n=void 0,f={elements:{},Pie3DManager:this},e=this.slicingWallsArr,t=f.elements,u=r.hasSVG?"litepath":"path";return(n=i[u](this.getContainer("topGroup")))._confObject=f,f.thisElement=n,n._destroy=n.destroy,n.destroy=ir,n._show=n.show,n.show=tr,n._hide=n.hide,n.hide=nr,n._on=n.on,n.on=di,n._drag=n.drag,n.drag=gi,n._attr=n.attr,n.attr=ki,n._data=n.data,n.data=rr,this.pointElemStore.push(n),t.topBorder=i[u](this.getContainer("topGroup")),t.bottom=i[u](this.getContainer("bottomBorderGroup")).attr({"stroke-width":0}),t.bottomBorder=i[u](this.getContainer("bottomBorderGroup")),t.frontOuter=i[u](this.getContainer("slicingWallsFrontGroup")).attr({"stroke-width":0}),t.backOuter=i[u](this.getContainer("slicingWallsFrontGroup")).attr({"stroke-width":0}),t.startSlice=i[u](this.getContainer("slicingWallsFrontGroup")),t.endSlice=i[u](this.getContainer("slicingWallsFrontGroup")),t.frontOuter1=i[u](this.getContainer("slicingWallsFrontGroup")).attr({"stroke-width":0}),t.frontOuter._conf={si:d,isStart:.5},t.frontOuter1._conf={si:d,isStart:.5},t.startSlice._conf={si:d,isStart:0},t.endSlice._conf={si:d,isStart:1},t.backOuter._conf={si:d,isStart:.4},e.push(t.startSlice,t.frontOuter1,t.frontOuter,t.backOuter,t.endSlice),this.isDoughnut&&(t.frontInner=i[u](this.getContainer("slicingWallsFrontGroup")).attr({"stroke-width":0}),t.backInner=i[u](this.getContainer("slicingWallsFrontGroup")).attr({"stroke-width":0}),t.backInner._conf={si:d,isStart:.5},t.frontInner._conf={si:d,isStart:.4},e.push(t.frontInner,t.backInner)),d+=1,n},t.prototype.refreshDrawing=function(){var i=this.slicingWallsArr,e=0,n=void 0,s=i.length,t=void 0,r=void 0,u=void 0,f=void 0,h=this.getContainer("slicingWallsFrontGroup"),c=this.getContainer("slicingWallsBackGroup");for(i.sort(ai),t=function(n){var i,t,r,u,f=n[0]&&n[0]._conf.index;for(r=f<=o,t=1,i=n.length;t<i;t+=1)if((u=n[t]._conf.index)<=o!==r||u<f)return t;return 0}(i);e<s;e+=1,t+=1)t===s&&(t=0),(f=(n=i[t])._conf.index)<nt?h.appendChild(n):f<=o?(r?n.insertBefore(r):h.appendChild(n),r=n):f<=b?(u?n.insertBefore(u):c.appendChild(n),u=n):c.appendChild(n)},t.prototype.configure=function(n,t,i,r){var s,h=this.getLinkedParent(),u=this.getFromEnv("paper"),o=h.getContainer("plot-group");"object"===(void 0===(s=n)?"undefined":ri(s))&&(t=(n=n.depth).hasOnePoint,i=n.use3DLighting,r=n.isDoughnut);this.renderer||(this.renderer=u);this.hasOnePoint=t;this.use3DLighting=i;this.isDoughnut=r;this.depth=n;!this.getContainer("bottomBorderGroup")&&this.addContainer("bottomBorderGroup",u.group("bottom-border",o));this.getContainer("bottomBorderGroup").attr({transform:"t0,"+n});!this.getContainer("slicingWallsBackGroup")&&this.addContainer("slicingWallsBackGroup",u.group("slicingWalls-back-Side",o));!this.getContainer("slicingWallsFrontGroup")&&this.addContainer("slicingWallsFrontGroup",u.group("slicingWalls-front-Side",o));!this.getContainer("topGroup")&&this.addContainer("topGroup",u.group("top-Side",o));!this.pointElemStore&&(this.pointElemStore=[]);!this.slicingWallsArr&&(this.slicingWallsArr=[]);this.moveCmdArr=[f];this.lineCmdArr=[p];this.closeCmdArr=[e];this.colorObjs=[]},t.prototype._parseSliceColor=function(n,t,i){var a,f,w,b,k,o,l,d,g,nt,e,et,ot,tt,it,rt,st,ht,ut,u,v=3,ct=this.use3DLighting,s=ct?dt.lighting3D:dt.lighting2D,ft=i.radiusYFactor,h=i.cx,y=i.cy,c=i.r,lt=c*ft,p=i.innerR||0,at=h+c,vt=h-c,yt=h+p,pt=h-p;return~n.indexOf("rgb")&&(n=r.rawRGBtoHEX(n)),e=(t=t||100)/2,s[n]&&s[n][t]?u=s[n][t]:(s[n]||(s[n]={}),s[n][t]||(s[n][t]={}
51),u=s[n][t],ct?(a=r.getDarkColor(n,80),f=r.getDarkColor(n,75),o=r.getLightColor(n,85),l=r.getLightColor(n,70),d=r.getLightColor(n,40),g=r.getLightColor(n,50),nt=r.getLightColor(n,65),w=r.getDarkColor(n,69),b=r.getDarkColor(n,75),k=r.getDarkColor(n,95)):(v=10,a=r.getDarkColor(n,90),f=r.getDarkColor(n,87),o=r.getLightColor(n,93),l=r.getLightColor(n,87),d=r.getLightColor(n,80),nt=g=r.getLightColor(n,85),k=r.getDarkColor(n,85),w=r.getDarkColor(n,75),b=r.getDarkColor(n,80)),et=f+","+o+","+l+","+o+","+f,tt=t+","+t+","+t+","+t+","+t,ot=f+","+n+","+o+","+n+","+f,it=e+","+e+","+e+","+e+","+e,st=f+","+n+","+d+","+n+","+f,ht=b+","+o+","+g+","+o+","+w,ut="FFFFFF,FFFFFF,FFFFFF,FFFFFF,FFFFFF",rt="0,"+e/v+","+t/v+","+e/v+",0",u.top=r.hasSVG?{FCcolor:{gradientUnits:"userSpaceOnUse",radialGradient:!0,color:nt+","+k,alpha:t+","+t,ratio:"0,100"}}:{FCcolor:{gradientUnits:"objectBoundingBox",color:l+","+l+","+o+","+f,alpha:t+","+t+","+t+","+t,angle:-72,ratio:"0,8,15,77"}},u.frontOuter={FCcolor:{gradientUnits:"userSpaceOnUse",y1:0,y2:0,color:ht,alpha:tt,angle:0,ratio:"0,20,15,15,50"}},u.backOuter={FCcolor:{gradientUnits:"userSpaceOnUse",y1:0,y2:0,color:st,alpha:it,angle:0,ratio:"0,62,8,8,22"}},u.frontInner={FCcolor:{gradientUnits:"userSpaceOnUse",y1:0,y2:0,color:ot,alpha:it,angle:0,ratio:"0,25,5,5,65"}},u.backInner={FCcolor:{gradientUnits:"userSpaceOnUse",y1:0,y2:0,color:et,alpha:tt,angle:0,ratio:"0,62,8,8,22"}},u.topBorder={FCcolor:{gradientUnits:"userSpaceOnUse",y1:0,y2:0,color:ut,alpha:rt,angle:0,ratio:"0,20,15,15,50"}},u.topInnerBorder={FCcolor:{gradientUnits:"userSpaceOnUse",y1:0,y2:0,color:ut,alpha:rt,angle:0,ratio:"0,50,15,15,20"}},u.bottom=r.toRaphaelColor(r.convertColor(n,e)),u.startSlice=r.toRaphaelColor(r.convertColor(a,t)),u.endSlice=r.toRaphaelColor(r.convertColor(a,t))),u.cx===h&&u.cy===y&&u.rx===c&&u.radiusYFactor===ft&&u.innerRx===p||(r.hasSVG&&(u.top.FCcolor.cx=h,u.top.FCcolor.cy=y,u.top.FCcolor.r=c,u.top.FCcolor.fx=h-.3*c,u.top.FCcolor.fy=y+1.2*lt),u.topBorder.FCcolor.x1=u.backOuter.FCcolor.x1=u.frontOuter.FCcolor.x1=vt,u.topBorder.FCcolor.x2=u.backOuter.FCcolor.x2=u.frontOuter.FCcolor.x2=at,u.topInnerBorder.FCcolor.x1=u.backInner.FCcolor.x1=u.frontInner.FCcolor.x1=pt,u.topInnerBorder.FCcolor.x2=u.backInner.FCcolor.x2=u.frontInner.FCcolor.x2=yt,u.cx=h,u.cy=y,u.rx=c,u.radiusYFactor=ft,u.innerRx=p),u},t.prototype.allocatePosition=function(){},t.prototype.rotate=function(n){var t,r=this.pointElemStore,i=0,u=r.length;if(!this.hasOnePoint){for(;i<u;i+=1)(t=r[i]._confObject).sAngle+=n,t.eAngle+=n,this._setSliceShape(t);this.refreshDrawing()}},t.prototype.removeSlice=function(n){for(var i,u=this.pointElemStore,r=n._confObject.elements,f=this.slicingWallsArr,e=u.length,t=e-1;t>=0;t-=1)u[t]===n&&u.splice(t,1);for(t=(e=f.length)-1;t>=0;t-=1)(i=f[t])!==r.startSlice&&i!==r.frontOuter1&&i!==r.frontOuter&&i!==r.backInner&&i!==r.endSlice||f.splice(t,1);n.hide&&n.hide();this._slicePool||(this._slicePool=[]);this._slicePool.push(n);this.refreshDrawing()},t.prototype.useSliceFromPool=function(){var n,r=this._slicePool||(this._slicePool=[]),i=this.slicingWallsArr,t=!1;return r.length&&(t=r.shift(),this.pointElemStore.push(t),t.show(),n=t._confObject.elements,i.push(n.startSlice,n.frontOuter1,n.frontOuter),n.backInner&&i.push(n.backInner),i.push(n.endSlice)),t},t.prototype._setSliceShape=function(n,t){var ci,ki,di,gi,nr,g,ct,hr,cr,lr,ar,ot,ri,it,st,gt,si,fi,et,dt,ui,bt,lt,ei,ii,ai,hi,rt,tt,ut,li,yi,vr,pi,yr,tr,ir,wi,bi,rr,ur,pr,wr,k=function(n,t,i,r,f,e,o,s){return n==i&&t==r?[]:[u,f,e,0,s,o,i,r]},fr=n.sAngle,er=n.eAngle,at=r.normalizeAngle(fr),kt=r.normalizeAngle(er),ti=this.isDoughnut,br=n.radiusYFactor,ni=n.cx,i=n.cy,h=n.r,a=h*br,or=h+(r.hasSVG?-1:2),sr=a+(r.hasSVG?-1:2),v=n.innerR||0,w=v*br,d=this.depth,ht=d+i,vt=ni+h,wt=ni-h,yt=ni+v,pt=ni-v,kr=i-a,vi=[f,pt,kr,p,pt,ht+a,e],ft=n.elements,oi="path",dr=(at+kt)/2,gr=at>kt;ki=l(at);di=c(at);gi=l(kt);nr=c(kt);g=ni+h*ki;hr=ni+or*ki;cr=i+sr*di;fi=(ct=i+a*di)+d;et=ni+h*gi;lr=ni+or*gi;ar=i+sr*nr;ui=(dt=i+a*nr)+d;ti?(ot=ni+v*ki,gt=(ri=i+w*di)+d,it=ni+v*gi,si=(st=i+w*nr)+d,n.startSlice=[f,g,ct,p,g,fi,ot,gt,ot,ri,e],n.endSlice=[f,et,dt,p,et,ui,it,si,it,st,e]):(n.startSlice=[f,g,ct,p,g,fi,ni,ht,
vendor: 6,565 bytes, line 51
51ni,i,e],n.endSlice=[f,et,dt,p,et,ui,ni,ht,ni,i,e]);r.hasSVG?(ci=function(n,t){return(n>t?y:0)+t-n}(at,kt),n.clipTopPath=ti?[[f,g,ct,u,h,a,0,ci>o?1:0,1,et,dt,p,it,st,u,v,w,0,ci>o?1:0,0,ot,ri,e]]:[[f,g,ct,u,h,a,0,ci>o?1:0,1,et,dt,p,ni,i,e]],n.clipOuterFrontPath1=[vi],n.clipTopBorderPath=[[f,hr,cr,u,or,sr,0,ci>o?1:0,1,lr,ar,p,et,dt,et,dt+1,u,h,a,0,ci>o?1:0,0,g,ct+1,p,g,ct,e]],fr!=er?at>kt?at<o?(n.clipOuterFrontPath=[[f,vt,i,u,h,a,0,0,1,et,dt,s,d,u,h,a,0,0,0,vt,i+d,e]],n.clipOuterFrontPath1=[[f,wt,i,u,h,a,0,0,0,g,ct,s,d,u,h,a,0,0,1,wt,i+d,e]],n.clipOuterBackPath=[[f,vt,i,u,h,a,0,1,0,wt,i,s,d,u,h,a,0,1,1,vt,i+d,e]],ti&&(n.clipInnerBackPath=[[f,yt,i,u,v,w,0,1,0,pt,i,s,d,u,v,w,0,1,1,yt,i+d,e]],n.clipInnerFrontPath=[[f,yt,i,u,v,w,0,0,1,it,st,s,d,u,v,w,0,0,0,yt,i+d,e,f,pt,i,u,v,w,0,0,0,ot,ri,s,d,u,v,w,0,0,1,pt,i+d,e]])):kt>o?(n.clipOuterFrontPath=[[f,vt,i,u,h,a,0,1,1,wt,i,s,d,u,h,a,0,1,0,vt,i+d,e]],n.clipOuterBackPath=[[f,wt,i,u,h,a,0,0,1,et,dt,s,d,u,h,a,0,0,0,wt,i+d,e,f,vt,i,u,h,a,0,0,0,g,ct,s,d,u,h,a,0,0,1,vt,i+d,e]],ti&&(n.clipInnerFrontPath=[[f,yt,i,u,v,w,0,1,1,pt,i,s,d,u,v,w,0,1,0,yt,i+d,e]],n.clipInnerBackPath=[[f,pt,i,u,v,w,0,0,1,it,st,s,d,u,v,w,0,0,0,pt,i+d,e,f,yt,i,u,v,w,0,0,0,ot,ri,s,d,u,v,w,0,0,1,yt,i+d,e]])):(n.clipOuterFrontPath=[[f,vt,i,u,h,a,0,0,1,et,dt,s,d,u,h,a,0,0,0,vt,i+d,e]],n.clipOuterBackPath=[[f,g,ct,u,h,a,0,0,1,vt,i,s,d,u,h,a,0,0,0,g,fi,e]],ti&&(n.clipInnerFrontPath=[[f,yt,i,u,v,w,0,0,1,it,st,s,d,u,v,w,0,0,0,yt,i+d,e]],n.clipInnerBackPath=[[f,ot,ri,u,v,w,0,0,1,yt,i,s,d,u,v,w,0,0,0,ot,gt,e]])):at<o?kt>o?(n.clipOuterFrontPath=[[f,g,ct,u,h,a,0,0,1,wt,i,s,d,u,h,a,0,0,0,g,fi,e]],n.clipOuterBackPath=[[f,wt,i,u,h,a,0,0,1,et,dt,s,d,u,h,a,0,0,0,wt,i+d,e]],ti&&(n.clipInnerFrontPath=[[f,ot,ri,u,v,w,0,0,1,pt,i,s,d,u,v,w,0,0,0,ot,gt,e]],n.clipInnerBackPath=[[f,pt,i,u,v,w,0,0,1,it,st,s,d,u,v,w,0,0,0,pt,i+d,e]])):(n.clipOuterFrontPath=[[f,g,ct,u,h,a,0,0,1,et,dt,s,d,u,h,a,0,0,0,g,fi,e]],n.clipOuterBackPath=[vi],ti&&(n.clipInnerFrontPath=[[f,ot,ri,u,v,w,0,0,1,it,st,s,d,u,v,w,0,0,0,ot,gt,e]],n.clipInnerBackPath=[vi])):(n.clipOuterFrontPath=[vi],n.clipOuterBackPath=[[f,g,ct,u,h,a,0,0,1,et,dt,s,d,u,h,a,0,0,0,g,fi,e]],ti&&(n.clipInnerFrontPath=[vi],n.clipInnerBackPath=[[f,ot,ri,u,v,w,0,0,1,it,st,s,d,u,v,w,0,0,0,ot,gt,e]])):n.clipOuterFrontPath=n.clipOuterBackPath=n.clipInnerBackPath=n.clipInnerFrontPath=[vi],oi="litepath",n.clipBottomBorderPath=n.clipTopPath,n.startSlice=[n.startSlice],n.endSlice=[n.endSlice]):(rt=this.moveCmdArr,tt=this.lineCmdArr,ut=this.closeCmdArr,li=[ni,i],yi=[wt,i],vr=[ni,kr],pi=[vt,i],yr=[ni,i+a],tr=[wt,ht],ir=[vt,ht],wi=[pt,i],bi=[yt,i],rr=[pt,ht],ur=[yt,ht],n.clipOuterFrontPath1=[],fr!=er?(at>kt?at<o?(bt=k(g,ct,wt,i,h,a,1,0),ei=k(wt,i,vt,i,h,a,1,0),ai=k(vt,i,et,dt,h,a,1,0),n.clipOuterBackPath=rt.concat(yi,ei,tt,ir,k(vt,ht,wt,ht,h,a,0,0),ut),n.clipOuterFrontPath1=rt.concat([g,ct],bt,tt,tr,k(wt,ht,g,fi,h,a,0,0),ut),n.clipOuterFrontPath=rt.concat(pi,ai,tt,[et,ui],k(et,ui,vt,ht,h,a,0,0),ut),n.clipTopBorderPath=rt.concat([g,ct],bt,ei,ai),ti?(lt=k(it,st,yt,i,v,w,0,0),ii=k(yt,i,pt,i,v,w,0,0),hi=k(pt,i,ot,ri,v,w,0,0),n.clipInnerBackPath=rt.concat(bi,ii,tt,rr,k(pt,ht,yt,ht,v,w,1,0),ut),n.clipInnerFrontPath=rt.concat(wi,hi,tt,[ot,gt],k(ot,gt,pt,ht,v,w,1,0),ut,rt,[it,st],lt,tt,ur,k(yt,ht,it,si,v,w,1,0),ut),n.clipTopPath=n.clipTopBorderPath.concat(tt,[it,st],lt,ii,hi,ut),n.clipTopBorderPath=n.clipTopBorderPath.concat(rt,[it,st],lt,ii,hi)):n.clipTopPath=n.clipTopBorderPath.concat(tt,li,ut)):kt>o?(bt=k(g,ct,vt,i,h,a,1,0),ei=k(vt,i,wt,i,h,a,1,0),ai=k(wt,i,et,dt,h,a,1,0),n.clipOuterFrontPath=rt.concat(pi,ei,tt,tr,k(wt,ht,vt,ht,h,a,0,0),ut),n.clipOuterBackPath=rt.concat([g,ct],bt,tt,ir,k(vt,ht,g,fi,h,a,0,0),ut,rt,yi,ai,tt,[et,ui],k(et,ui,wt,ht,h,a,0,0),ut),n.clipTopBorderPath=rt.concat([g,ct],bt,ei,ai),ti?(lt=k(it,st,pt,i,v,w,0,0),ii=k(pt,i,yt,i,v,w,0,0),hi=k(yt,i,ot,ri,v,w,0,0),n.clipInnerFrontPath=rt.concat(wi,ii,tt,ur,k(yt,ht,pt,ht,v,w,1,0),ut),n.clipInnerBackPath=rt.concat(bi,hi,tt,[ot,gt],k(ot,gt,yt,ht,v,w,1,0),ut,rt,[it,st],lt,tt,rr,k(pt,ht,it,si,v,w,1,0),ut),n.clipTopPath=n.clipTopBorderPath.concat(tt,[it,st],lt,ii,hi,ut),n.clipTopBorderPath=n.clipTopBorderPath.concat(rt,[it,st],lt,ii,hi)):n.clipTopPath=n.clipTopBorderPath.concat(tt,li,ut)):(bt=k(g,ct,vt,i,h,a,1,0),ei=k(vt,i,et,dt,h,a,1,0),n.clipOuterFrontPath=rt.concat(pi,ei,tt,[et,ui],k(et,ui,vt,ht,h,a,0,0),ut),n.clipOuterBackPath=rt.concat([g,ct],bt,tt,ir,k(vt,ht,g,fi,h,a,0,0),ut),n.clipTopBorderPath=rt.concat([g,ct],bt,ei),ti?(lt=k(it,st,yt,i,v,w,0,0),ii=k(yt,i,ot,ri,v,w,0,0),n.clipInnerFrontPath=rt.concat([it,st],lt,tt,ur,k(yt,ht,it,si,v,w,1,0),ut),n.clipInnerBackPath=rt.concat(bi,ii,tt,[ot,gt],k(ot,gt,yt,ht,v,w,1,0),ut),n.clipTopPath=n.clipTopBorderPath.concat(tt,[it,st],lt,ii,ut),n.clipTopBorderPath=n.clipTopBorderPath.concat(rt,[it,st],lt,ii)):n.clipTopPath=n.clipTopBorderPath.concat(tt,li,ut)):at<o?kt>o?(bt=k(g,ct,wt,i,h,a,1,0),ei=k(wt,i,et,dt,h,a,1,0),n.clipOuterBackPath=rt.concat(yi,ei,tt,[et,ui],k(et,ui,wt,ht,h,a,0,0),ut),n.clipOuterFrontPath=rt.concat([g,ct],bt,tt,tr,k(wt,ht,g,fi,h,a,0,0),ut),n.clipTopBorderPath=rt.concat([g,ct],bt,ei),ti?(lt=k(it,st,pt,i,v,w,0,0),ii=k(pt,i,ot,ri,v,w,0,0),n.clipInnerBackPath=rt.concat([it,st],lt,tt,rr,k(pt,ht,it,si,v,w,1,0),ut),n.clipInnerFrontPath=rt.concat(wi,ii,tt,[ot,gt],k(ot,gt,pt,ht,v,w,1,0),ut),n.clipTopPath=n.clipTopBorderPath.concat(tt,[it,st],lt,ii,ut),n.clipTopBorderPath=n.clipTopBorderPath.concat(rt,[it,st],lt,ii)):n.clipTopPath=n.clipTopBorderPath.concat(tt,li,ut)):(bt=k(g,ct,et,dt,h,a,1,0),n.clipOuterBackPath=rt.concat([g,ct]),n.clipTopBorderPath=n.clipOuterBackPath.concat(bt),n.clipOuterFrontPath=n.clipTopBorderPath.concat(tt,[et,ui],k(et,ui,g,fi,h,a,0,0),ut),ti?(lt=k(it,st,ot,ri,v,w,0,0),n.clipInnerBackPath=rt.concat([it,st]),n.clipTopPath=n.clipTopBorderPath.concat(tt,[it,st],lt,ut),n.clipTopBorderPath=n.clipTopBorderPath.concat(rt,[it,st],lt),n.clipInnerFrontPath=n.clipInnerBackPath.concat(lt,tt,[ot,gt],k(ot,gt,it,si,v,w,1,0),ut)):n.clipTopPath=n.clipTopBorderPath.concat(tt,li,ut)):(bt=k(g,ct,et,dt,h,a,1,0),n.clipOuterFrontPath=rt.concat([g,ct]),n.clipTopBorderPath=n.clipOuterFrontPath.concat(bt),n.clipOuterBackPath=n.clipTopBorderPath.concat(tt,[et,ui],k(et,ui,g,fi,h,a,0,0),ut),ti?(lt=k(it,st,ot,ri,v,w,0,0),n.clipInnerFrontPath=rt.concat([it,st]),n.clipTopPath=n.clipTopBorderPath.concat(tt,[it,st],lt,ut),n.clipTopBorderPath=n.clipTopBorderPath.concat(n.clipInnerFrontPath,lt),n.clipInnerBackPath=n.clipInnerFrontPath.concat(lt,tt,[ot,gt],k(ot,gt,it,si,v,w,1,0),ut)):n.clipTopPath=n.clipTopBorderPath.concat(tt,li,ut)),bt
51=rt.concat(yi,tt,pi),lt=rt.concat(vr,tt,yr),n.clipTopPath=n.clipTopPath.concat(bt,lt),n.clipOuterFrontPath=n.clipOuterFrontPath.concat(bt),n.clipOuterFrontPath1=n.clipOuterFrontPath1.concat(bt),n.clipOuterBackPath=n.clipOuterBackPath.concat(bt),ti&&(lt=rt.concat(wi,tt,bi),n.clipInnerFrontPath=n.clipInnerFrontPath.concat(lt),n.clipInnerBackPath=n.clipInnerBackPath.concat(lt))):(n.clipTopPath=n.clipOuterFrontPath=n.clipOuterBackPath=[],ti&&(n.clipInnerFrontPath=n.clipInnerBackPath=[])),n.clipBottomBorderPath=n.clipTopBorderPath);t||(ft.startSlice._conf.index=at,ft.endSlice._conf.index=kt,ft.backOuter._conf.index=wr=gr&&(at<=b||kt>b)||at<=b&&kt>b?b:at>o?at:kt,ft.frontOuter._conf.index=pr=kt<=nt?kt:at>kt||at<=nt?nt:at,ft.frontOuter1._conf.index=at,ft.frontOuter1._conf.cIndex=o,at>kt?(ft.backOuter._conf.cIndex=at<b?b:y,ft.startSlice._conf.cIndex=at<o?(at+o)/2:(at+y)/2,ft.endSlice._conf.cIndex=ft.frontOuter._conf.cIndex=0):ft.backOuter._conf.cIndex=ft.startSlice._conf.cIndex=ft.endSlice._conf.cIndex=ft.frontOuter._conf.cIndex=dr,ci>o?ft.frontOuter1.show().attr(oi,n.clipOuterFrontPath1):ft.frontOuter1.hide(),n.thisElement._attr(oi,n.clipTopPath),ft.bottom.attr(oi,n.clipTopPath),ft.bottomBorder.attr(oi,n.clipBottomBorderPath),ft.topBorder&&ft.topBorder.attr(oi,n.clipTopBorderPath),ft.frontOuter.attr(oi,n.clipOuterFrontPath),ft.backOuter.attr(oi,n.clipOuterBackPath),ti&&(ft.backInner.attr(oi,n.clipInnerBackPath),ft.frontInner.attr(oi,n.clipInnerFrontPath),ft.backInner._conf.index=wr,ft.frontInner._conf.index=pr,at>kt?(ft.backInner._conf.cIndex=y,ft.frontInner._conf.cIndex=0):ft.backInner._conf.cIndex=ft.frontInner._conf.cIndex=dr),this.hasOnePoint?(ft.startSlice.hide(),ft.endSlice.hide()):(ft.startSlice.attr(oi,n.startSlice).show(),ft.endSlice.attr(oi,n.endSlice).show()))},t.prototype._setSliceCosmetics=function(n){var t,e,o=n.thisElement,s=n.showBorderEffect,i=n.elements,u=r.convertColor(n.borderColor,r.pluckNumber(n.borderAlpha,n.alpha)),f=n.borderWidth;n.color&&(n.color=n.color.color?n.color.color:n.color,t=this._parseSliceColor(n.color,n.alpha,n),r.hasSVG?(e={fill:r.toRaphaelColor(t.top),"stroke-width":0},s?i.topBorder.show().attr({fill:r.toRaphaelColor(t.topBorder),"stroke-width":0}):(i.topBorder.hide(),e.stroke=u,e["stroke-width"]=f),o._attr(e)):(o._attr({fill:r.toRaphaelColor(t.top),"stroke-width":0}),i.topBorder.attr({stroke:u,"stroke-width":f})),i.bottom.attr({fill:r.toRaphaelColor(t.bottom)}),i.bottomBorder.attr({stroke:u,"stroke-width":f}),i.frontOuter.attr({fill:r.toRaphaelColor(t.frontOuter)}),i.frontOuter1.attr({fill:r.toRaphaelColor(t.frontOuter)}),i.backOuter.attr({fill:r.toRaphaelColor(t.backOuter)}),i.startSlice.attr({fill:r.toRaphaelColor(t.startSlice),stroke:u,"stroke-width":f}),i.endSlice.attr({fill:r.toRaphaelColor(t.endSlice),stroke:u,"stroke-width":f}),this.isDoughnut&&(i.frontInner.attr({fill:r.toRaphaelColor(t.frontInner)}),i.backInner.attr({fill:r.toRaphaelColor(t.backInner)})))},t}(fi.ComponentInterface);t["default"]=ti},483:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,e;t.__esModule=!0;t._getInnerSize=undefined;var o=f(i(476)),s=i(132),r=i(125),h=f(i(484));u=function(){var u,v,o,s,i,h,f,c,y,p=this.getFromEnv("chart"),l=this.config,a=p.getFromEnv("dataSource").chart,n=l.doughnutradius,t=r.pluckNumber(a.use3dlighting,1)?r.pluckNumber(a.radius3d,a["3dradius"],50):100,e=l.pieMinRadius;if(t>100&&(t=100),t<0&&(t=0),u=/%/.test(n)?e*(n=Number(n.split("%")[0])/100):n<=0||n>=e?e/2:r.pluckNumber(n),l.innerRadius=u,t>0&&r.hasSVG&&(o=(100-(v=parseInt(u/e*100,10)))/2,h=v+","+(s=parseInt(o*t/100,10))+","+2*(o-s)+","+s,this&&(c=this.components.data)))for(f=0,y=c.length;f<y;f+=1)(i=c[f].config).color&&(i.color.ratio=h,i.hoverEffects&&i.hoverEffects.color&&(i.hoverEffects.color.ratio=h));return 2*u};s.addDep({name:"doughnut2dAnimation",type:"animationRule",extension:h["default"]});e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return c(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"doughnut2D"},t.prototype.configureAttributes=function(t){n.prototype.configureAttributes.call(this,t);var i=this.config,u=this.getFromEnv("chartConfig");i.doughnutradius=r.pluck(u.doughnutradius,i.doughnutradius,"50%")},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.doughnutradius="50%"},t.prototype._parsePiePlotOptions=function(){var t=n.prototype._parsePiePlotOptions.call(this);return t.innerSize=this._getInnerSize(),t},t.prototype._getInnerSize=function(){return u.call(this)},t.prototype.allocatePosition=function(){this.config.innerSize=this._getInnerSize();n.prototype.allocatePosition.call(this)},t}(o["default"]);t._getInnerSize=u;t["default"]=e},484:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(477),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"initial.dataset.doughnut2D":f["default"]["initial.dataset.pie2D"]}},485:function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.dataset.pie3d":function(){return{"group.appearing":function(n){var t=n.component.getFromEnv("chartConfig");return"plots"===n.attr.name?[{initialAttr:{opacity:"0"},finalAttr:{opacity:"1"},slot:t.alphaanimation?"plot":"initial"}]:[{initialAttr:{opacity:"1"},finalAttr:{opacity:"1"},slot:"final"}]},"slice.appearing":function(n){var i=n.component,r=i.getFromEnv("chart").config,u=i.config,t=n.attr;return r.alphaanimation?[{initialAttr:{opacity:"1"},slot:"plot"}]:u.animateClockWise?[{initialAttr:{sAngle:0,eAngle:0,transform:""},finalAttr:{sAngle:t.sAngle,eAngle:t.eAngle,transform:""},slot:"plot",startEnd:{start:0,end:.75}},{finalAttr:{transform:t.transform},slot:"plot",startEnd:{start:.75,end:1}}]:[{initialAttr:{sAngle:2*Math.PI,eAngle:2*Math.PI,transform:""},finalAttr:{sAngle:t.sAngle,eAngle:t.eAngle,transform:""},slot:"plot",startEnd:{start:0,end:.75}},{finalAttr:{transform:t.transform},slot:"plot",startEnd:{start:.75,end:1}}]},"label.updating":[{initialAttr:{opacity:"1"},finalAttr:{opacity:"1"},slot:"final"}],"label.appearing":[{initialAttr:{opacity:"0"},finalAttr:{opacity:"1"},slot:"final"}],"connector.updating":function(n){return[{initialAttr:{path:n.el.attr("path")||n.attr.path,opacity:n.el.attr("opacity")},finalAttr:{path:n.attr.path},slot:"final"}]},"connector.appearing":function(n){return[{initialAttr:"string"==typeof n.el?{opacity:"0"}:{path:n.attr.path,opacity:"0"},slot:"final"}]},"connector-sliced.updating":function(n){return[{initialAttr:{path:n.el.attr("path")},finalAttr:{path:n.attr.path},slot:"plot"}]},"label-sliced.updating":function(n){return[{initialAttr:{x:n.el.attr("x"),y:n.el.attr("y")},slot:"plot"}]},"*":null}}}},487:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(488),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},488:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(475)),e=r(i(483)),o=i(125);u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.getName=function(){return"Doughnut2D"},t.prototype.getName=function(){return"Doughnut2D"},t.prototype.configureAttributes=function(t){n.prototype.configureAttributes.call(this,t);var i=this.config,r=this.getFromEnv("chart-attrib");i.doughnutradius=o.pluck(r.doughnutradius,"50%")},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Doughnut Chart";t.defaultDatasetType="Doughnut2D";t.singletonPlaceValue=!1},t.prototype.getDSdef=function(){return e["default"]},t}(f["default"]);t["default"]=u},489:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(490),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},490:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(481));u=f(i(491));e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.getName=function(){return"Doughnut3D"},t.prototype.getName=function(){return"Doughnut3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="3D Doughnut Chart";t.defaultDatasetType="Doughnut3D";t.singletonPlaceValue=!1},t.prototype.getDSdef=function(){return u["default"]},t}(r["default"]);t["default"]=e},491:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(482));u=f(i(492));i(132).addDep({name:"doughnut3dAnimation",type:"animationRule",extension:u["default"]});e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"doughnut3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.doughnutradius="50%"},t.prototype._configurePie3DManager=function(){var n=this.config,i=this.components,t=this.getFromEnv("pie3DManager"),r=i.data;t&&t.configure(n.pieSliceDepth,1===r.length,n.use3DLighting,!0)},t}(r["default"]);t["default"]=e},492:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(485),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"initial.dataset.doughnut3D":f["default"]["initial.dataset.pie3d"]}},493:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(494),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},494:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function f(){for(var t,e=this.getFromEnv("dataSource"),o=e.dataset,r=this.getFromEnv("number-formatter"),s=this.getChildren("xAxis"),i=e.data||o&&o[0].data||[],u=[],f={},n=i.length-1;n>=0;n--)"true"===(t=i[n]).vline||"1"===t.vline||1===t.vline||!0===t.vline?(f[n]=t,i.splice(n,1)):null===r.getCleanValue(t.value,!0)&&i.splice(n,1);for(n in i.sort(function(n,t){return r.getCleanValue(t.value,!0)-r.getCleanValue(n.value,!0)}),u=i.slice(),f)u.splice(n,0,f[n]);s[0].setTickValues(u)}var u,e;t.__esModule=!0;t._setCategories=undefined;var o=r(i(495)),s=i(499),h=i(501),c=r(i(502)),l=i(125),a=r(i(503));u=l.preDefStr.NINETYSTRING;e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.isPercentage=!0,i.registerFactory("axis",c["default"],["canvas"]),i.registerFactory("dataset",a["default"],["vCanvas"]),i}return v(t,n),t.getName=function(){return"Pareto2D"},t.prototype.getName=function(){return"Pareto2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.singleseries=!0;t.hasLegend=!1;t.defaultDatasetType="column";t.plotfillalpha=u;t.enablemousetracking=!0},t.prototype._setCategories=function(){f.call(this)},t.prototype._checkInvalidSpecificData=function(){var n=this.getFromEnv("dataSource").data;if(!n||!n.length)return!0},t.prototype.getDSdef=function(n){return"column"===n?s.ParetoColumnDataset:h.ParetoLineDataset},t.prototype.getDSGroupdef=function(){},t}(o["default"]);t["default"]=e;t._setCategories=f},499:function(n,t,i){"use strict";function e(n){return n&&n.__esModule?n:{"default":n}}function a(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var s;t.__esModule=!0;t.ParetoColumnDataset=undefined;var r=i(125),h=e(i(432)),c=i(132),l=e(i(500));var u=Math,v=u.min,f=u.max,o=u.abs;c.addDep({name:"paretoAnimation",type:"animationRule",extension:l["default"]});s=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return a(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"paretoColumn"},t.prototype.configureAttributes=function(n){if(!n)return!1;this.trimData(n);this.config.JSONData=n;var rt,ri,ui,ut,fi,vt,a,ft,k,yt,d,pt,y,p,et,ot,st,wt,bt,ei,e,c,g,u,ht,oi,nt,si,kt,hi,ci,li,ai,vi,yi,pi,wi,bi,ct,ki,dt,di,gi,s,nr,tr,ir,rr,ur=this.getFromEnv("chart"),i=this.config,fr=this.getFromEnv("xAxis"),w=i.JSONData,lt=w.data,er=lt&<.length,t=this.getFromEnv("chart-attrib"),tt=this.getFromEnv("color-manager"),or=this.index||this.positionIndex,h=tt.getPlotColor(or),sr=r.pluckNumber(w.dashed,t.plotborderdashed),hr=r.pluckNumber(t.useplotgradientcolor,1),cr=r.pluckNumber(t.showtooltip,1),lr=r.parseUnsafeString(t.yaxisname),ar=r.parseUnsafeString(t.xaxisname),it=this.components.data,b=this.getFromEnv("number-formatter"),l=ur.config.is3D,gt=-Infinity,ni=+Infinity,ti=0,at=[],ii=0,vr=i.tootipSepChar=r.pluck(t.tooltipsepchar,", ");for(i.defaultPadding={left:.5,right:.5},i.enableAnimation=ki=r.pluckNumber(t.animation,t.defaultanimation,1),i.animation=!!ki&&{duration:1e3*r.pluckNumber(t.animationduration,1)},i.showTooltip=r.pluckNumber(t.showtooltip,1),i.valuePadding=r.pluckNumber(t.valuepadding,2),i.rotateValues=r.pluckNumber(t.rotatevalues)?270:0,i.showHoverEffect=pt=r.pluckNumber(t.plothovereffect,t.showhovereffect,void 0),i.showShadow=d||l?r.pluckNumber(t.showshadow,1):r.pluckNumber(t.showshadow,tt.getColor("showShadow")),i.useDataPlotColorForLabels=rr=r.pluckNumber(t.usedataplotcolorforlabels,0),i.use3dlineshift=r.pluckNumber(t.use3dlineshift,ur.use3dlineshift),rt=i.showplotborder=r.pluckNumber(t.showplotborder,l?0:1),i.plotDashLen=ft=r.pluckNumber(t.plotborderdashlen,5),i.plotDashGap=k=r.pluckNumber(t.plotborderdashgap,4),i.plotfillangle=y=r.pluckNumber(360-t.plotfillangle,90),i.plotfillalpha=p=r.pluck(t.plotfillalpha,"100"),i.plotColor=h,i.isRoundEdges=d=r.pluckNumber(t.useroundedges,0),i.plotRadius=r.pluckNumber(t.useRoundEdges,i.isRoundEdges?1:0),i.plotfillratio=et=r.pluck(t.plotfillratio),i.plotgradientcolor=ot=r.getDefinedColor(t.plotgradientcolor,tt.getColor("plotGradientColor")),!hr&&(ot=""),i.plotborderalpha=st=rt&&!l?r.pluck(t.plotborderalpha,p,"100"):0,i.plotbordercolor=wt=r.pluck(t.plotbordercolor,l?"#ffffff"
51:tt.getColor("plotBorderColor")),i.plotborderthickness=yt=r.pluckNumber(t.plotborderthickness,1),i.plotBorderDashStyle=ei=sr?r.getDashStyle(ft,k):"none",i.showValues=r.pluckNumber(t.showvalues,1),i.definedGroupPadding=f(r.pluckNumber(t.plotspacepercent),0),i.plotSpacePercent=f(r.pluckNumber(t.plotspacepercent,20)%100,0),i.maxcolwidth=r.pluckNumber(t.maxcolwidth,50),i.plotpaddingpercent=r.pluckNumber(t.plotpaddingpercent),i.placevaluesinside=r.pluckNumber(t.placevaluesinside,0),i.use3dlighting=r.pluckNumber(t.use3dlighting,1),i.parentYAxis=0,this.setState("visible",1===r.pluckNumber(w.visible,1)),this.setState("dirty",!0),it||(it=this.components.data=[]),s=0;s<er;s++)ti+=tr=o(b.getCleanValue(lt[s].value)),at[s]=r.extend2({},lt[s]),at[s].value=tr;for(at.sort(function(n,t){return t.value-n.value}),i.imageCount=0,s=0;s<er;s++)e=at[s],(g=it[s])||(g=it[s]={graphics:{}}),g.config||(u=it[s].config={}),null!==(c=o(b.getCleanValue(e.value)))&&(u=g&&g.config,ir=fr.getLabel(s),u.label=r.getValidValue(r.parseUnsafeString(r.pluck(ir.label))),u.showValue=r.pluckNumber(e.showvalue,i.showValues),u.setValue=c,u.setLink=r.pluck(e.link),u.setDisplayValue=oi=r.parseUnsafeString(e.displayvalue),ii+=u.setValue,nr=b.dataLabels(c),u.shadow={opacity:i.showShadow?p/100:0},dt=r.pluckNumber(e.dashed),di=r.pluckNumber(e.dashlen,ft),gi=k=r.pluckNumber(e.dashgap,k),u.plotBorderDashStyle=bt=1===dt?r.getDashStyle(di,gi):0===dt?"none":ei,h=tt.getPlotColor(s),h=r.pluck(e.color,h),et=r.pluck(e.ratio,i.plotfillratio),p=r.pluck(e.alpha,i.plotfillalpha),st=r.pluck(e.alpha,i.plotborderalpha),c<0&&!d&&(vt=y,y=360-y),u.colorArr=ht=r.getColumnColor(h+","+ot,p,et,y,d,wt,st.toString(),0,!!l),0!==pt&&(nt=r.pluck(e.hovercolor,t.plotfillhovercolor,t.columnhovercolor,h),si=r.pluck(e.hoveralpha,t.plotfillhoveralpha,t.columnhoveralpha,p),!(kt=r.pluck(e.hovergradientcolor,t.plothovergradientcolor,ot))&&(kt=""),hi=r.pluck(e.hoverratio,t.plothoverratio,et),ci=r.pluckNumber(360-e.hoverangle,360-w.hoverangle,360-t.plothoverangle,y),li=r.pluck(e.borderhovercolor,t.plotborderhovercolor,wt),ai=r.pluck(e.borderhoveralpha,w.borderhoveralpha,t.plotborderhoveralpha,t.plotfillhoveralpha,st,p),vi=r.pluckNumber(e.borderhoverthickness,w.borderhoverthickness,t.plotborderhoverthickness,yt),yi=r.pluckNumber(e.borderhoverdashed,t.plotborderhoverdashed),pi=r.pluckNumber(e.borderhoverdashgap,t.plotborderhoverdashgap,ft),wi=r.pluckNumber(e.borderhoverdashlen,t.plotborderhoverdashlen,k),bi=yi?r.getDashStyle(wi,pi):bt,1==pt&&nt===h&&(nt=r.getLightColor(nt,70)),ct=r.getColumnColor(nt+","+kt,si,hi,ci,d,li,ai.toString(),0,!!l),u.setRolloutAttr={fill:l?[r.toRaphaelColor(ht[0]),!i.use3dlighting]:r.toRaphaelColor(ht[0]),stroke:rt&&r.toRaphaelColor(ht[1]),"stroke-width":yt,"stroke-dasharray":bt},u.setRolloverAttr={fill:l?[r.toRaphaelColor(ct[0]),!i.use3dlighting]:r.toRaphaelColor(ct[0]),stroke:rt&&r.toRaphaelColor(ct[1]),"stroke-width":vi,"stroke-dasharray":bi}),rr&&fr.updateTicksValues(s,{labelfontcolor:r.convertColor(h)}),u.originalPlotColor=h,u.displayValue=r.pluck(oi,nr),ut=u.setTooltext=u.origToolText=r.getValidValue(r.parseUnsafeString(r.pluck(e.tooltext,t.plottooltext))),u.toolTipValue=b.dataLabels(c,i.parentYAxis),u._x=s,u._y=c,ri=u.toolTipValue,gt=f(gt,c),ni=v(ni,c),cr?(i.showTooltip?void 0!==ut?(ui={formattedValue:ri,label:u.label,yaxisName:lr,xaxisName:ar,cumulativeValue:ii,cumulativeDataValue:b.dataLabels(ii),cumulativePercentValue:void 0,sum:b.dataLabels(ti),unformattedSum:ti},fi=[1,2,3,5,6,7,20,21,22,23,24,25],a=r.parseTooltext(ut,fi,ui,e,t)):a=u.label?u.label+vr:"":a=!1,u.toolText=a):a=!1,u.toolText=a,u.tooltext=ut,u.setTooltext=a,vt&&(y=vt));i.maxValue=gt;i.minValue=ni},t}(h["default"]);t.ParetoColumnDataset=s},500:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(433),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]={"initial.dataset.paretoColumn":f["default"]["initial.dataset.column"]}},501:function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}
51t.__esModule=!0;t.ParetoLineDataset=undefined;var u,o=i(449),s=(u=o)&&u.__esModule?u:{"default":u},r=i(125);var f=Math,c=f.min,l=f.max,e=f.abs,a=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.prototype.configureAttributes=function(n){if(!n)return!1;this.trimData(n);this.config.JSONData=n;var a,s,o,h,u,it,rt,f,b,ut,ft,k,et=this.getFromEnv("chart"),t=this.config,ct=this.getFromEnv("xAxis"),p=t.JSONData,w=p.data,ot=w&&w.length,i=this.getFromEnv("chart-attrib"),d=this.getFromEnv("color-manager"),lt=r.pluckNumber(i.showtooltip,1),v=(r.parseUnsafeString(i.yaxisname),r.parseUnsafeString(i.xaxisname),this.components.data),g=this.getFromEnv("number-formatter"),at=et.config.is3D,nt=-Infinity,tt=+Infinity,st=0,y=[],ht=0,vt=t.tootipSepChar=r.pluck(i.tooltipsepchar,", ");for(t.defaultPadding={left:.5,right:.5},t.enableAnimation=it=r.pluckNumber(i.animation,i.defaultanimation,1),t.animation=!!it&&{duration:1e3*r.pluckNumber(i.animationduration,1)},t.showTooltip=r.pluckNumber(i.showtooltip,1),t.valuePadding=r.pluckNumber(i.valuepadding,2),t.rotateValues=r.pluckNumber(i.rotatevalues)?270:0,t.showHoverEffect=r.pluckNumber(i.plothovereffect,i.showhovereffect,void 0),t.showShadow=at?r.pluckNumber(i.showshadow,1):r.pluckNumber(i.showshadow,d.getColor("showShadow")),t.useDataPlotColorForLabels=r.pluckNumber(i.usedataplotcolorforlabels,0),t.use3dlineshift=r.pluckNumber(i.use3dlineshift,et.use3dlineshift),t.drawLine=1,t.linecolor=r.getFirstColor(r.pluck(i.linecolor,d.getColor("plotBorderColor"))),t.linethickness=r.pluckNumber(i.linethickness,2),t.linealpha=r.pluck(i.linealpha,"100"),t.linedashed=r.pluckNumber(i.linedashed,0),t.linedashlen=r.pluckNumber(p.linedashlen,i.linedashlen,5),t.linedashgap=r.pluckNumber(p.linedashgap,i.linedashgap,4),rt=r.getDashStyle(t.linedashlen,t.linedashgap),t.lineDashStyle=t.linedashed?rt:"none",t.drawanchors=r.pluckNumber(i.drawanchors,i.showanchors),t.anchorbgcolor=r.pluck(i.anchorbgcolor,d.getColor("anchorBgColor")),t.anchorbordercolor=r.pluck(i.anchorbordercolor,t.linecolor),t.anchorradius=r.pluckNumber(i.anchorradius,3),t.anchoralpha=r.pluck(i.anchoralpha),t.anchorbgalpha=r.pluck(i.anchorbgalpha,100),t.anchorborderthickness=r.pluck(i.anchorborderthickness,1),t.anchorsides=r.pluck(i.anchorsides,0),t.anchorimageurl=r.pluck(i.anchorimageurl),t.anchorimagealpha=r.pluckNumber(i.anchorimagealpha,100),t.anchorimagescale=r.pluckNumber(i.anchorimagescale,100),t.anchorimagepadding=r.pluckNumber(i.anchorimagepadding,1),t.anchorstartangle=r.pluckNumber(i.anchorstartangle,90),t.parentYAxis=1,t.valuePosition=r.pluck(i.valueposition,"auto"),t.showvalues=t.showValues=r.pluckNumber(i.showlinevalues,i.showvalues,1),this.setState("visible",1===r.pluckNumber(p.visible,1)),this.setState("dirty",!0),t.shadow={opacity:t.showShadow?t.linealpha/100:0},t.showCumulativeLine=r.pluckNumber(i.showcumulativeline,1),t.maxRadius=-Infinity,v||(v=this.components.data=[]),f=0;f<ot;f++)st+=ut=e(g.getCleanValue(w[f].value)),y[f]=r.extend2({},w[f]),y[f].value=ut;for(y.sort(function(n,t){return t.value-n.value}),t.imageCount=0,f=0;f<ot;f++)s=y[f],(h=v[f])||(h=v[f]={graphics:{}}),h.config||(u=v[f].config={}),null!==(o=e(g.getCleanValue(s.value)))&&(u=h&&h.config,ft=ct.getLabel(f),u.label=r.getValidValue(r.parseUnsafeString(r.pluck(ft.label))),u.showValue=r.pluckNumber(s.showvalue,t.showValues),u.setValue=o,u.setLink=r.pluck(s.link),u.setDisplayValue=r.parseUnsafeString(s.displayvalue),ht+=u.setValue,o=u.setValue=ht/st*100,b=g.percentValue(o),u.toolTipValue=b,u.displayValue=b,u.valuePosition=r.pluck(s.valueposition,t.valuePosition),u.anchorProps=this._parseAnchorProperties(f,y),u.hoverEffects=this._parseHoverEffectOptions(h),k=u.anchorProps,t.maxRadius=Math.max(t.maxRadius,k.radius+k.borderThickness/2),u._x=f,u._y=o,u.toolTipValue,nt=l(nt,o),tt=c(tt,o),lt?(a=!!t.showTooltip&&(u.label?u.label+vt+u.toolTipValue:""),u.toolText=a):a=!1,u.toolText=a,u.tooltext=void 0,u.setTooltext=a);t.maxValue=nt;t.minValue=tt},t}(s["default"]);t.ParetoLineDataset=a},502:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}
51}t.__esModule=!0;t["default"]=function(n){var c=n.getFromEnv("chart-attrib"),l=r.pluckNumber(c.showcumulativeline,1),t=n.getChildren("canvas")[0],i=t.getChildren("axisRefVisualCartesian")[0],s={zoomable:!0,pannable:!0},h=n._feedAxesRawData(),o=void 0,u=void 0,a=function(){return i.asyncDraw()};r.componentFactory(n,e["default"],"xAxis",1,h.xAxisConf);u=n.getChildren().xAxis[0];i.setLinkedItem(u.getId(),u);t.attachAxis(u,!1,n.zoomX?s:{});u.setLinkedItem("canvas",t);r.componentFactory(n,f["default"],"yAxis",l?2:1,h.yAxisConf);(o=n.getChildren("yAxis"))&&o[1]&&o[1].setAxisConfig({isPercent:!0,drawLabels:!0,drawPlotLines:!0,drawAxisName:!0,drawAxisLine:!0,drawPlotBands:!0,drawTrendLines:!0,drawTrendLabels:!0});o.forEach(function(r){!0!==r.getState("removed")?(r.setLinkedItem("canvas",t),i.setLinkedItem(r.getId(),r),t.attachAxis(r,!0,n.zoomY?s:{}),i.setLinkedItem(r.getId(),r),i.addExtEventListener("visiblerangeset",a,r)):t.detachAxis(r)});n._setCategories()};var f=u(i(377)),e=u(i(422)),r=i(125)},503:function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var r,c=n.getChildren(),l=n.getFromEnv("chart-attrib"),t=c.canvas[0].getChildren("vCanvas"),o=n.getFromEnv("dataSource"),s=o.dataset,a=u.pluckNumber(l.showcumulativeline,1),f=o.data||s&&s[0].data,i=void 0,h=void 0;r={data:f};f&&0!==f.length?(i=n.getDSdef("column"),n.config.is3D&&(u.componentFactory(t[0],e["default"],"datasetGroup_column"),h=t[0].getChildren("datasetGroup_column")[0]),u.datasetFactory(h||t[0],i,"dataset",1,[r]),a&&(i=n.getDSdef("line"),u.datasetFactory(t[1],i,"dataset",1,[r],[1]))):n.setChartMessage()};var r,f=i(442),e=(r=f)&&r.__esModule?r:{"default":r},u=i(125)},504:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(505),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},505:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(494)),e=i(125),o=i(506),s=i(501),h=r(i(437));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.fireGroupEvent=!0,i.defaultPlotShadow=1,i.isPercentage=!0,i.registerFactory("canvas",h["default"]),i}return c(t,n),t.getName=function(){return"Pareto3D"},t.prototype.getName=function(){return"Pareto3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.friendlyName="3D Pareto Chart";t.singleseries=!0;t.hasLegend=!1;t.defaultDatasetType="column3d";t.plotfillalpha=e.preDefStr.NINETYSTRING;t.use3dlineshift=1;t.enablemousetracking=!0;t.showzeroplaneontop=0},t.prototype.getDSdef=function(n){return"column"===n?o.ParetoColumn3DDataset:s.ParetoLineDataset},t}(f["default"]);t["default"]=u},506:function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r,f;t.__esModule=!0;t.ParetoColumn3DDataset=undefined;u=i(499);r=i(445);f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return e(t,n),t.prototype._getHoveredPlot=function(n,t){var u,i;return u=this.getFromEnv("xAxis").getValue(n),(i=Math.round(u))-u>0?r._checkPointerOverColumn.call(this,i,n,t)||r._checkPointerOverColumn.call(this,i-1,n,t):r._checkPointerOverColumn.call(this,i+1,n,t)||r._checkPointerOverColumn.call(this,i,n,t)},t.prototype.createContainer=function(){var n=this.getLinkedParent();this.getContainer("labelGroup")||this.addContainer("labelGroup",function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:{name:n},container:t,state:"appearing",component:i,label:"group"})}("label-group",n.getChildContainer("vcanvasLabelGroup"),this).attr("class","fusioncharts-datalabels"))},t}(u.ParetoColumnDataset);t.ParetoColumn3DDataset=f},507:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(508),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},508:function(n,t,i){"use strict";function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var r,e=i(509),o=(r=e)&&r.__esModule?r:{"default":r},u=i(517),s=i(519);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.canvasborderthickness=1,i.avgScrollPointWidth=40,i.hasScroll=!0,i.eiMethods={scrollTo:s.scrollTo},i}return h(t,n),t.getName=function(){return"ScrollCombiDy2D"},t.includeInputOptions=function(){return["SwipeGesture"]},t.prototype.getName=function(){return"ScrollCombiDy2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Scrollable Dual Y-Axis Combination Chart";t.defaultDatasetType="column";t.showzeroplaneontop=0},t.prototype.configureAttributes=function(t){n.prototype.configureAttributes.call(this,t);u.configurer.call(this,t)},t.prototype._setAxisScale=function(){u._setAxisScale.call(this)},t.prototype._resetViewPortConfig=function(){u._resetViewPortConfig.call(this)},t}(o["default"]);t["default"]=f},509:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var o=r(i(495)),s=r(i(432)),h=r(i(450)),c=r(i(449)),l=r(i(510)),a=r(i(514)),v=r(i(516)),u=i(125),y=r(i(497));f=u.preDefStr.SEVENTYSTRING;e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.isDual=!0,i.registerFactory("dataset",y["default"],["vCanvas"]),i}return p(t,n),t.getName=function(){return"MSCombidy2D"},t.prototype.getName=function(){return"MSCombidy2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Dual Y-Axis Combination Chart";t.sDefaultDatasetType="line";t.defaultDatasetType="column";t.enablemousetracking=!0;t.isdual=1;t.anchorborderthickness=1;t.anchorimageurl=void 0;t.anchorimagepadding=1;t.anchorsides=1;t.anchoralpha=void 0;t.anchorbgalpha=u.HUNDREDSTRING;t.anchorimagealpha=u.HUNDREDSTRING;t.anchorimagescale=100;t.anchorstartangle=90;t.anchorshadow=0;t.anchorbgcolor=void 0;t.anchorbordercolor=void 0;t.anchorradius=3;t.showvalues=1;t.plotfillalpha=f;t.linedashlen=5;t.linedashgap=4;t.linedashed=void 0;t.linealpha=u.HUNDREDSTRING;t.linethickness=2;t.drawfullareaborder=1;t.connectnulldata=0;t.showzeroplaneontop=0},t.prototype.getDSdef=function(n){return"splinearea"===n?l["default"]:"spline"===n?a["default"]:"area"===n?h["default"]:"line"===n?c["default"]:s["default"]},t.prototype.getDSGroupdef=function(n){if("column"===n)return v["default"]},t.prototype.getDSType=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return"splinearea"===n.toLowerCase()?"splinearea":"spline"===n.toLowerCase()?"spline":"area"===n.toLowerCase()?"area":"line"===n.toLowerCase()?"line":"column"},t}(o["default"]);t["default"]=e},517:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}function o(){var t,i,c,e,o,l=this.config,n=this.getChildren("xAxis")[0],a=n.getTicksLen(),v=this.getFromEnv("dataSource").chart,y=l.width,r=0,p=l.scrollToEnd,s=u.pluckNumber(v.numvisibleplot,f(y/this.avgScrollPointWidth)),h;this.iterateComponents(function(n){n.getType&&"dataset"===n.getType()&&n.getName&&"column"===n.getName()&&!n.getState("removed")&&r++});this.config.isstacked&&(r=1);c=a*(r=r||1);h=n.getVisibleConfig();i=h.maxValue;t=h.minValue;s>=2&&s<c?(e=s/r,n.setScrollType("always"),p?t=i-e:i=t+e,0===t&&(i-=1),n.setVisibleConfig(t,i)):(o=n.getLimit(),n.setVisibleConfig(o.min,o.max),n.setScrollType("none"))}function s(){this.config.viewPortConfig={scaleX:1,scaleY:1,x:0,y:0}}function h(){var n,t=this.getFromEnv("dataSource").chart;(n=this.config).scrollToEnd=u.pluckNumber(t.scrolltoend,0);n.lastScrollPosition=e}var f,e,c;t.__esModule=!0;t.configurer=t._resetViewPortConfig=t._setAxisScale=undefined;var l=r(i(518)),a=r(i(432)),v=r(i(516)),u=i(125),y=i(519);f=Math.floor;e=void 0;c=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.tooltipConstraint="plot",i.canvasborderthickness=1,i.avgScrollPointWidth=40,i.hasScroll=!0,i.defaultPlotShadow=1,i.binSize=0,i.eiMethods.scrollTo=y.scrollTo,i}return p(t,n),t.getName=function(){return"ScrollColumn2D"},t.includeInputOptions=function(){return["SwipeGesture"]},t.prototype.getName=function(){return"ScrollColumn2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.defaultDatasetType="column";t.showzeroplaneontop=1;t.friendlyName="Scrollable Multi-series Column Chart"},t.prototype.configureAttributes=function(t){n.prototype.configureAttributes.call(this,t);h.call(this,t)},t.prototype._setAxisScale=function(){o.call(this)},t.prototype.parseChartAttr=function(t){n.prototype.parseChartAttr.call(this,t)}
51,t.prototype._resetViewPortConfig=function(){s.call(this)},t.prototype.getDSdef=function(){return a["default"]},t.prototype.getDSGroupdef=function(){return v["default"]},t}(l["default"]);t["default"]=c;t._setAxisScale=o;t._resetViewPortConfig=s;t.configurer=h},520:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(521),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},521:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(522)),e=r(i(432)),o=r(i(450)),s=r(i(449)),h=r(i(510)),c=r(i(514)),l=r(i(516)),a=r(i(497));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.hasScroll=!0,i.canvasborderthickness=1,i.avgScrollPointWidth=40,i.defaultPlotShadow=1,i.registerFactory("dataset",a["default"],["vCanvas"]),i}return v(t,n),t.getName=function(){return"ScrollCombi2D"},t.prototype.getName=function(){return"ScrollCombi2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Scrollable Combination Chart";t.defaultDatasetType="column";t.zeroplanethickness=1;t.zeroplanealpha=80;t.enablemousetracking=!0;t.showzeroplaneontop=0;t.defaultcrosslinethickness=null},t.prototype.getDSdef=function(n){return"splinearea"===n?h["default"]:"spline"===n?c["default"]:"area"===n?o["default"]:"line"===n?s["default"]:e["default"]},t.prototype.getDSGroupdef=function(n){if("column"===n)return l["default"]},t.prototype.getDSType=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return"splinearea"===n.toLowerCase()?"splinearea":"spline"===n.toLowerCase()?"spline":"area"===n.toLowerCase()?"area":"line"===n.toLowerCase()?"line":"column"},t}(f["default"]);t["default"]=u},522:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f,e;t.__esModule=!0;var o=u(i(517)),s=u(i(450)),r=i(125);f=r.preDefStr.SEVENTYSTRING;e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.canvasborderthickness=1,i.hasScroll=!0,i.avgScrollPointWidth=75,i.defaultPlotShadow=0,i.binSize=0,i}return h(t,n),t.getName=function(){return"ScrollArea2D"},t.prototype.getName=function(){return"ScrollArea2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Scrollable Multi-series Area Chart";t.defaultDatasetType="scrollarea2d";t.enablemousetracking=!0;t.anchorborderthickness=1;t.anchorimageurl=void 0;t.anchorimagepadding=1;t.anchorsides=1;t.anchoralpha=void 0;t.anchorbgalpha=r.HUNDREDSTRING;t.anchorimagealpha=r.HUNDREDSTRING;t.anchorimagescale=100;t.anchorstartangle=90;t.anchorshadow=0;t.anchorbgcolor=void 0;t.anchorbordercolor=void 0;t.anchorradius=3;t.showvalues=1;t.plotfillalpha=f;t.linedashlen=5;t.linedashgap=4;t.linedashed=void 0;t.linealpha=r.HUNDREDSTRING;t.linethickness=2;t.drawfullareaborder=1;t.connectnulldata=0;t.defaultcrosslinethickness=1},t.prototype.getDSdef=function(){return s["default"]},t.prototype.getDSGroupdef=function(){return undefined},t}(o["default"]);t["default"]=e},523:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(524),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},524:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}
51}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(517));u=f(i(525));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.canvasborderthickness=1,i.avgScrollPointWidth=75,i}return o(t,n),t.getName=function(){return"ScrollStackedColumn2D"},t.prototype.getName=function(){return"ScrollStackedColumn2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Scrollable Stacked Column Chart";t.isstacked=!0},t.prototype.getDSGroupdef=function(){return u["default"]},t}(r["default"]);t["default"]=e},527:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(522),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},528:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(529),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},529:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(522));u=f(i(449));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.canvasborderthickness=1,i.avgScrollPointWidth=75,i.defaultPlotShadow=1,i.binSize=0,i}return o(t,n),t.getName=function(){return"ScrollLine2D"},t.prototype.getName=function(){return"ScrollLine2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Scrollable Multi-series Line Chart";t.defaultDatasetType="line";t.zeroplanethickness=1;t.zeroplanealpha=40;t.showzeroplaneontop=0;t.enablemousetracking=!0;t.defaultcrosslinethickness=1},t.prototype.getDSdef=function(){return u["default"]},t.prototype.getDSGroupdef=function(){return undefined},t}(r["default"]);t["default"]=e},530:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(517),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},531:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(532),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},532:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(533)),e=r(i(541)),o=r(i(543));u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.getName=function(){return"Bubble"},t.prototype.getName=function(){return"Bubble"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Bubble Chart";t.enablemousetracking=!0},t.prototype.getDSdef=function(){return e["default"]},t.prototype.getDSGroupdef=function(){return o["default"]},t}(f["default"]);t["default"]=u},533:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}
51}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(534));u=f(i(538));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.isXY=!0,i.defaultZeroPlaneHighlighted=!1,i}return o(t,n),t.getName=function(){return"Scatter"},t.prototype.getName=function(){return"Scatter"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Scatter Chart";t.hasLegend=!0;t.allowreversexaxis=!0;t.enablemousetracking=!0},t.prototype.getDSdef=function(){return u["default"]},t.prototype.getDSGroupdef=function(){},t}(r["default"]);t["default"]=e},541:function(n,t,i){"use strict";function o(n){return n&&n.__esModule?n:{"default":n}}function p(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var c;t.__esModule=!0;var l=o(i(538)),r=i(125),a=o(i(539)),v=i(132),y=o(i(542));var w=r.hasTouch?r.TOUCH_THRESHOLD_PIXELS:r.CLICK_THRESHOLD_PIXELS,s=r.preDefStr.setRolloverAttrStr,h=r.preDefStr.setRolloutAttrStr,e=Math,b=e.round,u=e.min,f=e.max;v.addDep({name:"bubbleAnimation",type:"animationRule",extension:y["default"]});c=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return p(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"bubble"},t.prototype.configureAttributes=function(n){if(!n)return!1;this.trimData(n);this.config.JSONData=n;var ct,a,g,p,w,b,k,nt,s,e,c,h,tt,lt,at,d,vt,yt,v,pt,wt,it,y,bt=this.getFromEnv("chart"),i=bt.getFromEnv("dataSource").chart,o=this.config.JSONData,t=this.config,kt=o.data||[],ni=this.getFromEnv("color-manager"),ti=this.index,l=this.getFromEnv("number-formatter"),rt=r.pluck(r.parseUnsafeString(i.tooltipsepchar),", "),ut=-Infinity,ft=+Infinity,et=ut,ot=ft,st=ut,ht=ft,dt=ut,gt=ft;for(t.seriesname=r.parseUnsafeString(o.seriesname),t.includeinlegend=r.pluckNumber(o.includeinlegend,t.seriesname?1:0),t.anchorBgColor=r.getFirstColor(r.pluck(o.color,o.plotfillcolor,i.plotfillcolor,ni.getPlotColor(ti))),t.showPlotBorder=r.pluckNumber(o.showplotborder,i.showplotborder,1),t.anchorBorderThickness=t.showPlotBorder?r.pluckNumber(o.plotborderthickness,i.plotborderthickness,1):0,t.anchorBorderColor=r.getFirstColor(r.pluck(o.plotbordercolor,i.plotbordercolor,"666666")),t.plotFillAlpha=r.pluck(o.plotfillalpha,o.bubblefillalpha,i.plotfillalpha,"100"),t.plotBorderAlpha=r.pluck(o.plotborderalpha,i.plotborderalpha,"95"),t.negativeColor=r.pluck(i.negativecolor,"FF0000"),t.is3d=0!==r.pluckNumber(i.use3dlighting,o.is3d,i.is3d),t.bubbleScale=r.pluckNumber(i.bubblescale,1),t.minBubbleRadius=r.pluckNumber(i.minbubbleradius),t.clipBubbles=r.pluckNumber(i.clipbubbles,1),t.enableAnimation=nt=r.pluckNumber(i.animation,i.defaultanimation,1),t.animation=!!nt&&{duration:1e3*r.pluckNumber(i.animationduration,1)},t.showTooltip=r.pluckNumber(i.showtooltip,1),t.transposeAnimation=r.pluckNumber(i.transposeanimation,nt),t.transposeAnimDuration=1e3*r.pluckNumber(i.transposeanimduration,.2),t.seriesNameInTooltip=r.pluckNumber(i.seriesnameintooltip,1),t.rotateValues=r.pluckNumber(i.rotatevalues)?270:0,t.showHoverEffect=r.pluckNumber(i.plothovereffect,i.showhovereffect,void 0),t.showValues=t.showvalues=r.pluckNumber(o.showvalues,i.showvalues,0
51),p=this.components.data=this.components.data||(this.components.data=[]),ct=kt.length,t.fillColor=t.is3d?r.toRaphaelColor(r.getPointColor(t.anchorBgColor,t.plotFillAlpha)):r.toRaphaelColor({color:t.anchorBgColor,alpha:t.plotFillAlpha}),t.strokeColor=r.toRaphaelColor({color:t.anchorBorderColor,alpha:t.plotFillAlpha}),a=0;a<ct;a++)if(s=kt[a],!(g=p[a]=p[a]||(p[a]={})).graphics&&(g.graphics={}),(e=g.config={}).x=l.getCleanValue(s.x),e.y=l.getCleanValue(s.y),e.z=l.getCleanValue(s.z,!0),e.setValue={x:e.x,y:e.y,z:e.z},e._x=e.x,e._y=e.y,e._z=e.z,e.showValue=r.pluckNumber(s.showvalue,t.showValues),e.anchorProps={},d=e.label=e.x,e.setLink=r.getValidValue(s.link),t.max=dt=f(dt,e.z||0),t.min=gt=u(gt,e.z||0),e.is3d=0!==r.pluckNumber(s.is3d,t.is3d),et=f(et,e.x),ot=u(ot,e.x),st=f(st,e.y),ht=u(ht,e.y),w=e.color=r.getFirstColor(r.pluck(s.color,s.z<0?t.negativeColor:t.anchorBgColor)),b=e.alpha=r.pluck(s.alpha,t.plotFillAlpha),e.colorObj=wt=e.is3d?r.getPointColor(w,b):{color:w,alpha:b},e.setDisplayValue=vt=r.parseUnsafeString(r.pluck(s.displayvalue,s.name,s.label)),k=e.formatedVal=null===e.y?e.y:l.dataLabels(e.y),e.displayValue=r.pluck(vt,e.formatedVal),e.setTooltext=r.getValidValue(r.parseUnsafeString(r.pluck(s.tooltext,o.plottooltext,i.plottooltext))),t.showTooltip?null===k?c=!1:void 0!==e.setTooltext?(at=[4,5,6,7,8,9,10,11,12,13,118],lt={yDataValue:k,xDataValue:l.xAxis(d),yaxisName:r.parseUnsafeString(i.yaxisname),xaxisName:r.parseUnsafeString(i.xaxisname),zDataValue:l.dataLabels(e.z)},c=r.parseTooltext(e.setTooltext,at,lt,s,i,o)):(t.seriesNameInTooltip&&(tt=r.getFirstValue(o&&o.seriesname)),c=tt?tt+rt:"",c+=d?l.xAxis(d)+rt:"",c+=k,c+=s.z?rt+l.formatValue(s.z):""):c=!1,e.toolText=c,h=e.hoverEffects={},0!==t.showHoverEffect){if(it=h.enabled=void 0!==r.pluck(s.hoveralpha,o.hoveralpha,i.bubblehoveralpha,s.hovercolor,o.hovercolor,o.bubblehovercolor,i.bubblehovercolor,s.borderhovercolor,o.borderhovercolor,i.plotborderhovercolor,s.borderhoveralpha,o.borderhoveralpha,i.plotborderhoveralpha,s.hoverscale,o.bubblehoverscale,i.bubblehoverscale,s.borderhovercolor,o.borderhovercolor,i.plotborderhovercolor,s.borderhoverthickness,o.borderhoverthickness,i.plotborderhoverthickness,s.negativehovercolor,o.negativeColor,i.negativecolor,s.is3donhover,i.plotfillhovercolor,o.is3donhover,i.is3donhover,void 0),h.negativeColor=r.pluck(s.negativehovercolor,o.negativehovercolor,i.negativehovercolor,t.negativeColor),h.is3d=r.pluckNumber(s.is3donhover,o.is3donhover,i.is3donhover,e.is3d),h.color=r.pluck(s.hovercolor,o.hovercolor,o.bubblehovercolor,i.plotfillhovercolor,i.bubblehovercolor,e.is3d?wt.FCcolor.color:w),h.color=h.negativeColor&&s.z<0?h.negativeColor:h.color,h.scale=r.pluck(s.hoverscale,o.hoverscale,o.bubblehoverscale,i.bubblehoverscale,1),h.color=r.getFirstColor(h.color),h.alpha=r.pluck(s.hoveralpha,o.hoveralpha,i.plotfillhoveralpha,i.bubblehoveralpha,b),h.borderColor=r.pluck(s.borderhovercolor,o.borderhovercolor,i.plotborderhovercolor,t.anchorBorderColor),h.borderAlpha=r.pluck(s.borderhoveralpha,o.borderhoveralpha,i.plotborderhoveralpha,h.alpha,t.plotBorderAlpha),h.borderThickness=r.pluckNumber(s.borderhoverthickness,o.borderhoverthickness,i.plotborderhoverthickness,t.anchorBorderThickness),h.color=h.is3d?r.getPointColor(h.color,h.alpha):{FCcolor:{color:h.color,alpha:h.alpha}},1===(it&&t.showHoverEffect?0:t.showHoverEffect)){for(pt=(y=(yt="string"==typeof h.color)?h.color.split(/\s{0,},\s{0,}/):h.color.FCcolor.color.split(/\s{0,},\s{0,}/)).length,v=0;v<pt;v++)y[v]=r.getLightColor(y[v],70);yt?h.color=y.join(","):h.color.FCcolor.color=y.join(",")}!1===it&&(h.enabled=Boolean(t.showHoverEffect))}else h.enabled=!1;t.xMax=et;t.xMin=ot;t.yMin=ht;t.yMax=st;this.setState("dirty",!0);this.setState("visible",1===r.pluckNumber(o.visible,!Number(o.initiallyhidden),1));bt.config.showLegend&&this._addLegend();this.setState("dirty",!0)},t.prototype._getHoveredPlot=function(n,t){var i=this.config.dataTree.getNeighbour({x:n,y:t},!0,"circle");if(i)return{pointIndex:i.index||i.i,hovered:!0,pointObj:i.data}},t.prototype._hoverPlotAnchor=function(n,t,i){var u=this.getFromEnv("animationManager"),r=n.graphics.element,f="DataPlotRollOut"===t?r.data(h):r.data(s);i&&r&&(u.setAnimationState&&u.setAnimationState("DataPlotRollOut"===t?"mouseOut":"mouseOver"),u.setAnimation({el:r,attr:f,component:this}))},t.prototype._addLegend=function(){var n,r,u=this.getFromEnv("chart"),i=this.config,t=u.getChildren("legend")[0];i.includeinlegend?(r={enabled:i.includeInLegend,anchorSide:1,type:this.t
51ype,label:i.seriesname},(n=t.getItem(this.config.legendItemId))?n.configure({style:t.config.itemStyle,hiddenStyle:t.config.itemHiddenStyle,datasetVisible:t.config.datasetVisible,hoverStyle:t.config.itemHoverStyle}):(this.config.legendItemId=t.createItem(this),n=t.getItem(this.config.legendItemId),this.addExtEventListener("fc-click",function(){n.itemClickFn()},n)),n.configure(r),n.setStateCosmetics("default",{symbol:{fill:i.fillColor,rawFillColor:i.anchorBgColor,rawStrokeColor:i.anchorBorderColor,stroke:i.strokeColor}}),this.getState("visible")?n.removeLegendState("hidden"):n.setLegendState("hidden")):this.config.legendItemId&&t.disposeItem(this.config.legendItemId)},t.prototype.getBubbleRadius=function(n){var t,i=e.sqrt,r=this.config,h=r.bubbleScale,o=r.minBubbleRadius,s=this.getFromEnv("chartConfig"),c=u(s.canvasHeight,s.canvasWidth)/8,l=i(this.getLinkedParent().getDataLimitRange().zMax),a=i(n);return t=b(a*c/l)*h||0,o&&(t=f(t,o)),t},t.prototype.createCoordinates=function(){for(var f,n,e,i,r,o,s=this.components,c=s.data,u=this.getFromEnv("yAxis"),l=u.getAxisBase(),a=u.getPixel(l),h=this.getFromEnv("xAxis"),v=h.config.isVertical,y=c.length,p=s.data,t=0;t<y;t++)n=(f=p[t])&&f.config,void 0!==f&&(e=n._b,i=h.getPixel(n._x),r=u.getPixel(n._y),o=e?u.getPixel(e):a,"bubble"===this.getName()&&(n.r=this.getBubbleRadius(n._z)),v?(n._Px=r,n._Py=i,n._Pby=r,n._Pbx=o):(n._Px=i,n._Py=r,n._Pby=o,n._Pbx=i))},t.prototype.parsePlotAttributes=function(n,t){var e,h,c,i,v,y,l,p,b,k,o,d,u,nt=this.config.JSONData,tt=this.getFromEnv("chart").config,s=this.config,g=t,a=this.getState("visible"),it=s.anchorBorderThickness;i=n.config;y=r.pluckNumber(i.x,g);l=i.y;p=i.z;b=i.setLink;k=i.displayValue;v=i.toolText;i.finalTooltext=i.toolText;o=i.hoverEffects;null!==l&&((u=i.eventArgs||(i.eventArgs={})).index=g,u.link=b,u.value=l,u.y=l,u.x=y,u.z=p,u.displayValue=k,u.toolText=v,u.id=this.userID,u.datasetIndex=this.config.index,u.datasetName=nt.seriesname,u.visible=a,h=i._Py,c=i._Px,e=i.r,[].push({x:c,y:h,r:e}),d=i.setRolloutAttr={fill:r.toRaphaelColor(i.colorObj),"stroke-width":s.anch
51orBorderThickness,stroke:r.toRaphaelColor({color:s.anchorBorderColor,alpha:s.plotBorderAlpha}),r:e},!1!==o.enabled&&(i.setRolloverAttr={fill:r.toRaphaelColor(o.color),"stroke-width":o.borderThickness,stroke:r.toRaphaelColor({color:o.borderColor,alpha:o.borderAlpha}),r:e*o.scale}),i.props={element:{attr:{cx:c,cy:a?h:tt.canvasBottom+e,r:e||0,fill:r.toRaphaelColor(i.colorObj),"stroke-width":s.anchorBorderThickness,visibility:a,stroke:d.stroke}}},i.trackerConfig||(i.trackerConfig={}),i.trackerConfig.trackerRadius=f(e+(it||0),w),n._xPos=c,n._yPos=h)},t.prototype.allocatePosition=function(){var t,n,r,u,f,i,e,o=this.components.data,s=[];for(this.createCoordinates(),n=0,r=o.length;n<r;n+=1)t=o[n],this.parsePlotAttributes(t,n),this.parseLabelAttributes(t,n),t&&(u=(i=t.config)._Px,f=i._Py,e=i.r||0,s.push({x:u,y:f,index:n,data:t,r:e}));this.config.dataTree=(new a["default"]).buildKdTree(s)},t.prototype.getCanvasPadding=function(){for(var w,b,k,l,i,et,d,ot,st,a,f,e,ht,g=this.config||(this.config={}),yt=this.components||{},o=this.getFromEnv("chartConfig"),ct=o.rotatevalues,n=this.getFromEnv("xAxis"),pt=this.getFromEnv("dataLabelStyle"),t=yt.data||[],wt=t.length,s=g.leftMostData||t[0],h=g.rightMostData||t[t.length-1],bt=u(o.canvasHeight,o.canvasWidth)/8,nt=1,tt=1,kt=o.zMax,it=g.bubbleScale,lt=n.config.axisRange,dt=lt.max,v=lt.min,at=n.getPixel(dt),vt=n.getPixel(v),rt={},ut={},y=this.getFromEnv("smartLabel"),ft={paddingLeft:0,paddingRight:0},p=0,c=bt/Math.sqrt(kt),r=0;r<wt;r++)w=t[r].config,b=s.config,k=h.config,i=Math.sqrt(w.z),f=Math.round(i*c)*it||0,e=n.getValue(f)-v,d=w.x-e/2,1===nt&&(i=Math.sqrt(b.z),f=Math.round(i*c)*it||0,e=n.getValue(f)-v,ot=b.x-e/2),1===tt&&(i=Math.sqrt(k.z),f=Math.round(i*c)*it||0,e=n.getValue(f)-v,st=k.x-e/2),nt=0,tt=0,ot>d&&(s=t[r],nt=1),st<d&&(h=t[r],tt=1);return y.useEllipsesOnOverflow(o.useEllipsesWhenOverflow),y.setStyle(pt),s&&s.config.showValue&&(a=(l=s.config).displayValue,ut=y.getOriSize(a),p=ct?ut.height:ut.width,vt>(et=n.getPixel(l.x)-.5*p)&&(ft.paddingLeft=vt-et)),h&&h.config.showValue&&(a=(l=h.config).displayValue,rt=y.getOriSize(a),p=ct?rt.height:rt.width,at<(ht=n.getPixel(l.x)+.5*p)&&(ft.paddingRight=ht-at)),ft},t.prototype.drawPlots=function(){for(var n,f,e,r,t,a,o,i=this,w=i.getFromEnv("animationManager"),v=i.components.data,c=i.getContainer(),b=i.getState("visible"),y=i.getContainer("labelGroup"),k=function(){!1===b&&(c.plotGroup.hide(),c.commonElemsGroup.hide(),y&&y.hide(),i._containerHidden=!0)},p={},u=0,l=v.length;u<l;u+=1)a=(t=(r=v[u]).config).y,n=r.graphics.element,p=t.hoverEffects,e=r.graphics.hotElement,o=r.graphics.label,null!==a?(f=r.graphics.element,n=w.setAnimation({el:f||"circle",attr:t.props.element.attr,label:"circle",callback:k,component:i,container:c.plotGroup}),f||(r.graphics.element=n),n.show(),n.data("hoverEnabled",p.enabled).data(s,t.setRolloverAttr).data(h,t.setRolloutAttr).data("anchorRadius",t.r).data("anchorHoverRadius",t.r),n&&n.data("eventArgs",t&&t.eventArgs)):(n&&n.hide(),e&&e.hide(),o&&o.hide()),n&&(n.isDrawn=!0)},t.prototype.getDataLimits=function(){var s=this.getFromEnv("chart").config,n=this.config,i=n.yMax,r=n.yMin,e=-Infinity,o=+Infinity,h=s.transposeAxis,u=n.xMin,f=n.xMax,c=n.max,l=n.min,t=this.getRegressionPoints();return!1===this.getState("visible")&&h&&(i=e,r=o,u=o,f=e),t&&(i=Math.max(i,t.max),r=Math.min(r,t.min),f=Math.max(f,t.xMax),u=Math.min(u,t.xMin)),{max:i,min:r,xMin:u,xMax:f,zMax:c,zMin:l}},t}(l["default"]);t["default"]=c},542:function(n,t){"use strict";t.__esModule=!0;t["default"]={"initial.dataset.bubble":function(){return{"circle.appearing":function(n){return[{initialAttr:{cx:n.attr.cx,cy:n.attr.cy,r:0},slot:"plot"}]},"group.appearing":function(n){return"label-group"===n.attr.name?[{initialAttr:{opacity:0}
51,finalAttr:{opacity:1},slot:"final"}]:[{initialAttr:{opacity:1},finalAttr:{opacity:1},slot:"final"}]},"*":null}}}},543:function(n,t,i){"use strict";function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u,r,f;t.__esModule=!0;u=i(138);r=i(125);f=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.setState("visible",!0),i}return e(t,n),t.prototype.createContainer=function(){var n=void 0,r=this.getFromEnv("animationManager"),t=void 0,i=this.getLinkedParent().getChildContainer();for(n in i)t=i[n],this.getChildContainer(n)||this.addChildContainer(n,r.setAnimation({el:"group",attr:{name:"manager-"+n},component:this,container:t}))},t.prototype.draw=function(){this.createContainer()},t.prototype.getDataLimitRange=function(){var n,f,u,h,t,e=this.getChildren(),i=-Infinity,r=+Infinity,o=-Infinity,s=+Infinity;for(f in e)if(e.hasOwnProperty(f)&&(u=e[f])instanceof Array)for(h=u.length,n=0;n<h;n++)u[n].getState("removed")||(t=u[n].getDataLimits(),o=Math.max(o,t.xMax||-Infinity),s=Math.min(s,t.xMin||+Infinity),i=Math.max(i,t.zMax||-Infinity),r=Math.min(r,t.zMin||+Infinity));return{xMax:o,xMin:s,zMax:i=i===-Infinity?0:i,zMin:r=r===+Infinity?0:r}},t.prototype.childChanged=function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},n=this.config,e=this.getLinkedParent(),i=void 0,r=void 0,f={},u=void 0;!1===t.hide&&!1===t.show||(this._mapChildren(function(n){n.setState("dirty",!0)}),u=!0);!1!==t.dataLimitChanged&&((i=this.getDataLimits()).min===n.range.min&&i.max===n.range.max||(n.range.min=i.min,n.range.max=i.max,f.dataLimitChanged=!0,u=!0));!1!==t.paddingChanged&&((r=this.getAxisValuePadding()).left===n.padding.left&&r.right===n.padding.right||(n.padding.left=r.left,n.padding.right=r.right,f.paddingChanged=!0,u=!0));u?e.childChanged&&e.childChanged(f):this.asyncDraw()},t.prototype.getAxisValuePadding=function(){var i={},n=-Infinity,t=-Infinity;return this._mapChildren(function(r){r.getState("removed")||!1===r.getState("visible")||(i=r.getAxisValuePadding&&r.getAxisValuePadding()||{},n=Math.max(n,i.left||-Infinity),t=Math.max(t,i.right||-Infinity))}),n===-Infinity&&(n=0),t===-Infinity&&(t=0),this.config.padding||(this.config.padding={},this.config.padding.left=n,this.config.padding.right=t),{left:n,right:t}},t.prototype.getCanvasPadding=function(){var t,n,i={paddingLeft:0,paddingRight:0,paddingTop:0,paddingBottom:0};return this._mapChildren(function(r){if(!r.getState("removed"))for(n in t=r.getCanvasPadding&&r.getCanvasPadding()||{})t.hasOwnProperty(n)&&(i[n]=Math.max(t[n],i[n]))}),i},t.prototype.getDataLimits=function(){var o,s,h,c=this.getFromEnv("chart"),f=-Infinity,e=+Infinity,n=f,t=e,i=e,u=f;return this._mapChildren(function(c){var l;c.getDataLimits&&!c.getState("removed")&&(o=c.getDataLimits(),l=o,s=r.pluck(l.xMax,f),h=r.pluck(l.xMin,e),n=Math.max(n,l.max),t=Math.min(t,l.min),u=Math.max(u,s),i=Math.min(i,h))}),n===-Infinity&&(n=0),t===+Infinity&&(t=0),this.config.range||(this.config.range={},this.config.range.min=t,this.config.range.max=n,this.config.range.xMin=i,this.config.range.xMax=u),c.config.yMax=n,c.config.yMin=t,{min:t,max:n,xMin:i,xMax:u}},t.prototype.isVisible=function(){return!this.isNotVisible},t.prototype.getType=function(){return"manager"},t.prototype.getName=function(){return"BubbleGroupManager"},t.prototype.remove=function(){this._mapChildren(function(n){n.getState("removed")||n.remove()});n.prototype.remove.call(this)},t}(u.ComponentInterface);t["default"]=f},544:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(533),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},545:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(546),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},548:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(549),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},549:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(550)),e=r(i(525)),o=i(125);u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.showsum=0,i}return s(t,n),t.getName=function(){return"StackedArea2D"},t.prototype.getName=function(){return"StackedArea2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Stacked Area Chart";t.plotfillalpha=o.HUNDREDSTRING;t.isstacked=1},t.prototype.getDSGroupdef=function(){return e["default"]},t}(f["default"]);t["default"]=u},552:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(553),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},553:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(554)),e=r(i(525)),o=r(i(472));u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.getName=function(){return"StackedBar3D"},t.prototype.getName=function(){return"StackedBar3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="3D Stacked Bar Chart";t.enablemousetracking=!0;t.maxbarheight=50;t.isstacked=!0},t.prototype.getDSdef=function(){return o["default"]},t.prototype.getDSGroupdef=function(){return e["default"]},t}(f["default"]);t["default"]=u},554:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(555)),e=r(i(516)),o=r(i(472)),s=r(i(556));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultSeriesType="bar3d",i.defaultPlotShadow=1,i.isBar=!0,i.defaultZeroPlaneHighlighted=!1,i.registerFactory("dataset",s["default"],["vCanvas"]),i}return h(t,n),t.getName=function(){return"MSBar3D"},t.prototype.getName=function(){return"MSBar3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.friendlyName="Multi-series 3D Bar Chart";t.hasLegend=!0;t.defaultDatasetType="bar3d";t.showplotborder=0;t.enablemousetracking=!0},t.prototype.getDSdef=function(){return o["default"]},t.prototype.getDSGroupdef=function(){return e["default"]},t}(f["default"]);t["default"]=u},555:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(458)),e=r(i(437)),o=r(i(556));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("canvas",e["default"]),i.registerFactory("dataset",o["default"],["vCanvas"]),i}return s(t,n),t.getName=function(){return"MSBarCartesian3D"},t.prototype.getName=function(){return"MSBarCartesian3D"},t.prototype.parseChartAttr=function(t){n.prototype.parseChartAttr.call(this,t);this.config.drawTrendRegion=0},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.showplotborder=0;t.showzeroplaneontop=0},t}(f["default"]);t["default"]=u},556:function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var o,s,h,i=n.getFromEnv("dataSource").dataset,r=void 0,c=r=n.getChildren().canvas[0].getChildren("vCanvas")[0],t=n.config.defaultDatasetType||"",f=void 0;i||n.setChartMessage();u.componentFactory(r,e["default"],"datasetGroup_"+t);f=r.getChildren("datasetGroup_"+t)[0];o=n.getDSGroupdef();u.componentFactory(f,o,"datasetGroup_"+t);(h=f.getChildren("datasetGroup_"+t))&&(c=h[0]);s=n.getDSdef();u.datasetFactory(c,s,"dataset",i.length,i)};var r,u=i(125),f=i(442),e=(r=f)&&r.__esModule?r:{"default":r}},557:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(558),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},558:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(559));u=f(i(525));e=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return o(t,n),t.getName=function(){return"StackedBar2D"},t.prototype.getName=function(){return"StackedBar2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Stacked Bar Chart";t.enablemousetracking=!0;t.maxbarheight=50;t.isstacked=!0},t.prototype.getDSGroupdef=function(){return u["default"]},t}(r["default"]);t["default"]=e},559:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(458)),e=r(i(467)),o=r(i(516)),s=r(i(461));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.isBar=!0,i.registerFactory("dataset",s["default"],["vCanvas"]),i}return h(t,n),t.getName=function(){return"MSBar2D"},t.prototype.getName=function(){return"MSBar2D"},t.prototype.getDSdef=function(){return e["default"]},t.prototype.getDSGroupdef=function(){return o["default"]},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Bar Chart";t.hasLegend=!0;t.defaultDatasetType="bar2d"},t}(f["default"]);t["default"]=u},560:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(561),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},561:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(562)),e=r(i(444)),o=r(i(525));u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.getName=function(){return"StackedColumn3D"},t.prototype.getName=function(){return"StackedColumn3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="3D Stacked Column Chart";t.maxbarheight=50;t.enablemousetracking=!0;t.isstacked=!0},t.prototype.getDSdef=function(){return e["default"]},t.prototype.getDSGroupdef=function(){return o["default"]},t}(f["default"]);t["default"]=u},562:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(563)),e=r(i(444)),o=r(i(516));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i.defaultZeroPlaneHighlighted=!1,i}return s(t,n),t.getName=function(){return"MSColumn3D"},t.prototype.getName=function(){return"MSColumn3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.friendlyName="Multi-series 3D Column Chart";t.defaultDatasetType="column3d";t.showplotborder=0;t.enablemousetracking=!0},t.prototype.getDSdef=function(){return e["default"]},t.prototype.getDSGroupdef=function(){return o["default"]},t}(f["default"]);t["default"]=u},563:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(459)),e=r(i(437)),o=r(i(556));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("canvas",e["default"]),i.registerFactory("dataset",o["default"],["vCanvas"]),i}return s(t,n),t.getName=function(){return"MSCartesian3D"},t.prototype.getName=function(){return"MSCartesian3D"},t.prototype.parseChartAttr=function(t){n.prototype.parseChartAttr.call(this,t);this.config.drawTrendRegion=0},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.showplotborder=0;t.drawcrosslineontop=0;t.showzeroplaneontop=0},t}(f["default"]);t["default"]=u},564:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(565),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},565:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(518)),e=r(i(432)),o=r(i(525));u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.getName=function(){return"StackedColumn2D"},t.prototype.getName=function(){return"StackedColumn2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Stacked Column Chart";t.isstacked=!0},t.prototype.getDSdef=function(){return e["default"]},t.prototype.getDSGroupdef=function(){return o["default"]},t}(f["default"]);t["default"]=u},566:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(567),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},569:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(570),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},570:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(571));u=f(i(525));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultSecondaryDataset="line",i.isDual=!0,i}return o(t,n),t.getName=function(){return"StackedColumn3DLineDy"},t.prototype.getName=function(){return"StackedColumn3DLineDy"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.sDefaultDatasetType="line";t.friendlyName="Stacked 3D Column and Line Chart";t.defaultDatasetType="column3d";t.use3dlineshift=1;t.isdual=!0;t.isstacked=!0;t.showplotborder=0;t.enablemousetracking=!0},t.prototype.getDSGroupdef=function(n){if("column3d"===n)return u["default"]},t}(r["default"]);t["default"]=e},571:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(572)),e=r(i(444)),o=r(i(449)),s=r(i(516)),h=r(i(573));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i.isDual=!0,i.registerFactory("dataset",h["default"],["vCanvas"]),i}return c(t,n),t.getName=function(){return"MSColumn3DLineDy"},t.prototype.getName=function(){return"MSColumn3DLineDy"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.sDefaultDatasetType="line";t.friendlyName="Multi-series 3D Column and Line Chart";t.defaultDatasetType="column3d";t.use3dlineshift=1;t.isdual=!0;t.showplotborder=0;t.enablemousetracking=!0;t.anchorborderthickness=1;t.anchorimageurl=void 0;t.anchorimagepadding=1;t.anchorsides=1;t.anchoralpha=void 0;t.anchorbgalpha="100";t.anchorimagealpha="100";t.anchorimagescale=100;t.anchorstartangle=90;t.anchorshadow=0;t.anchorbgcolor=void 0;t.anchorbordercolor=void 0;t.anchorradius=3;t.showvalues=1;t.plotfillalpha="70";t.linedashlen=5;t.linedashgap=4;t.linedashed=void 0;t.linealpha="100";t.linethickness=2;t.drawfullareaborder=1;t.connectnulldata=0;t.showzeroplaneontop=0},t.prototype.getDSdef=function(n){return"line"===n?o["default"]:e["default"]},t.prototype.getDSGroupdef=function(n){if("column3d"===n)return s["default"]},t.prototype.getDSType=function(n,t){return n&&"line"===n.toLowerCase()||t?"line":"column3d"},t}(f["default"]);t["default"]=u},572:function(n,t,i){"use strict";function f(n){return n&&n.__esModule?n:{"default":n}
51}function o(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var r,u,e;t.__esModule=!0;r=f(i(495));u=f(i(437));e=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("canvas",u["default"]),i}return o(t,n),t.prototype.parseChartAttr=function(t){n.prototype.parseChartAttr.call(this,t);this.config.drawTrendRegion=0},t.getName=function(){return"MSDybaseCartesian3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);this.config.is3D=!0},t.prototype.getName=function(){return"MSDybaseCartesian3D"},t}(r["default"]);t["default"]=e},573:function(n,t,i){"use strict";t.__esModule=!0;t["default"]=function(n){var b=n.getFromEnv("dataSource").dataset,y=n.getChildren().canvas[0].getChildren("vCanvas"),tt=y[0],it=y[1],c=void 0,rt=n.getFromEnv("chartConfig").isdual,s=void 0,l={vCanvasDatasetsDef0:{},vCanvasDatasetsDef1:{}},k=void 0,i=void 0,u=void 0,p=void 0,t=void 0,w=void 0,a=void 0,v=void 0,g={},nt={},d;for(b||n.setChartMessage(),s=0;s<b.length;s++)"s"===(w=(c=b[s]).parentyaxis||"").toLowerCase()&&rt?(t=r.pluck(c.renderas,n.config.sDefaultDatasetType),a=it,v=nt,i=l.vCanvasDatasetsDef1):(t=r.pluck(c.renderas,n.config.defaultDatasetType),a=tt,v=g,i=l.vCanvasDatasetsDef0),t=n.getDSType(t,"s"===w.toLowerCase()),(p=n.getDSGroupdef(t,w))&&(r.componentFactory(a,h["default"],o),v[(k=a.getChildren(o)[0]).getName()]=!0,r.componentFactory(k,p,e),v[p.getName().toLowerCase()]=!0),v[t.toLowerCase()]=!0,i[t]?(i[t].conf.push(c),i[t].indices.push(s)):(i[t]={},i[t].indices=[s],i[t].classDef=n.getDSdef(t),i[t].conf=[c],i[t].pYAxis=w.toLowerCase(),i[t].parent=p?k.getChildren(e)[0]:a);for(d in l)if(l.hasOwnProperty(d))for(t in i=l[d])i.hasOwnProperty(t)&&("group"===(u=i[t]).parent.getType()&&u.parent.configure(u.conf),r.datasetFactory(u.parent,u.classDef,"dataset_"+t,u.conf.length,u.conf,u.indices));f.removeComponents(y[0],Object.keys(g));f.removeComponents(y[1],Object.keys(nt))};var u,s=i(442),h=(u=s)&&u.__esModule?u:{"default":u},r=i(125),f=i(498),e="multiseriesColumnManager",o="multiseriesColumnManager3D"},574:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(571),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},575:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(509),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},576:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(577),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},577:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(578)),e=r(i(444)),o=r(i(449)),s=r(i(525));u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return h(t,n),t.getName=function(){return"StackedColumn3DLine"},t.prototype.getName=function(){return"StackedColumn3DLine"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.friendlyName="Stacked 3D Column and Line Chart";t.use3dlineshift=1;t.isstacked=!0;t.stack100percent=0;t.showplotborder=0;t.enablemousetracking=!0},t.prototype.getDSdef=function(n){return"line"===n?o["default"]:e["default"]},t.prototype.getDSGroupdef=function(n){return"column"===n?s["default"]:undefined},t.prototype.getDSType=function(n){return n&&"line"===n.toLowerCase()?"line":"column"},t}(f["default"]);t["default"]=u},578:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(563)),e=r(i(444)),o=r(i(510)),s=r(i(514)),h=r(i(450)),c=r(i(449)),l=r(i(516)),a=r(i(573));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i.registerFactory("dataset",a["default"],["vCanvas"]),i}return v(t,n),t.getName=function(){return"MSCombi3D"},t.prototype.getName=function(){return"MSCombi3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.friendlyName="Multi-series 3D Combination Chart";t.defaultDatasetType="column3d";t.showplotborder=0;t.enablemousetracking=!0;t.anchorborderthickness=1;t.anchorimageurl=void 0;t.anchorimagepadding=1;t.anchorsides=1;t.anchoralpha=void 0;t.anchorbgalpha="100";t.anchorimagealpha="100";t.anchorimagescale=100;t.anchorstartangle=90;t.anchorshadow=0;t.anchorbgcolor=void 0;t.anchorbordercolor=void 0;t.anchorradius=3;t.showvalues=1;t.plotfillalpha="70";t.linedashlen=5;t.linedashgap=4;t.linedashed=void 0;t.linealpha="100";t.linethickness=2;t.drawfullareaborder=1;t.connectnulldata=0},t.prototype.getDSdef=function(n){return"splinearea"===n?o["default"]:"spline"===n?s["default"]:"area"===n?h["default"]:"line"===n?c["default"]:e["default"]},t.prototype.getDSGroupdef=function(n){if("column3d"===n)return l["default"]},t.prototype.getDSType=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return"area"===n.toLowerCase()?"area":"line"===n.toLowerCase()?"line":"spline"===n.toLowerCase()?"spline":"splinearea"===n.toLowerCase()?"splinearea":"column3d"},t}(f["default"]);t["default"]=u},579:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(580),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},580:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(581)),e=r(i(432)),o=r(i(449)),s=r(i(514)),h=r(i(525));u=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return c(t,n),t.getName=function(){return"StackedColumn2DLine"},t.prototype.getName=function(){return"StackedColumn2DLine"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Stacked Column and Line Chart";t.defaultDatasetType="column";t.isstacked=!0;t.stack100percent=0;t.enablemousetracking=!0},t.prototype.getDSdef=function(n){return"spline"===n?s["default"]:"line"===n?o["default"]:e["default"]},t.prototype.getDSGroupdef=function(n){if("column"===n)return h["default"]},t.prototype.getDSType=function(){return"line"===(arguments.length>0&&arguments[0]!==undefined?arguments[0]:"").toLowerCase()?"line":"column"},t}(f["default"]);t["default"]=u},581:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}
51}function v(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(551)),e=r(i(432)),o=r(i(450)),s=r(i(449)),h=r(i(510)),c=r(i(514)),l=r(i(516)),a=r(i(497));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.registerFactory("dataset",a["default"],["vCanvas"]),i}return v(t,n),t.getName=function(){return"MSCombi2D"},t.prototype.getName=function(){return"MSCombi2D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Multi-series Combination Chart";t.defaultDatasetType="column";t.enablemousetracking=!0;t.showzeroplaneontop=0},t.prototype.getDSdef=function(n){return"splinearea"===n?h["default"]:"spline"===n?c["default"]:"area"===n?o["default"]:"line"===n?s["default"]:e["default"]},t.prototype.getDSGroupdef=function(n){if("column"===n)return l["default"]},t.prototype.getDSType=function(){var n=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";return"splinearea"===n.toLowerCase()?"splinearea":"spline"===n.toLowerCase()?"spline":"area"===n.toLowerCase()?"area":"line"===n.toLowerCase()?"line":"column"},t}(f["default"]);t["default"]=u},582:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(583),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},583:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function h(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(578)),e=r(i(444)),o=r(i(449)),s=r(i(516));u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.defaultPlotShadow=1,i}return h(t,n),t.getName=function(){return"MSColumnLine3D"},t.prototype.getName=function(){return"MSColumnLine3D"},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.is3D=!0;t.friendlyName="Multi-series Column and Line Chart";t.use3dlineshift=1;t.showplotborder=0;t.enablemousetracking=!0},t.prototype.getDSdef=function(n){return"line"===n?o["default"]:e["default"]},t.prototype.getDSGroupdef=function(n){return"column3d"===n?s["default"]:undefined},t.prototype.getDSType=function(n){return n&&"line"===n.toLowerCase()?"line":"column3d"},t}(f["default"]);t["default"]=u},584:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(578),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},585:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(581),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},586:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(587),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},587:function(n,t,i){"use strict";function r(n){return n&&n.__esModule?n:{"default":n}}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var u;t.__esModule=!0;var f=r(i(459)),e=r(i(588)),o=r(i(590)),s=r(i(461)),h=i(125);u=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.isValueAbs=!0,i.distributedColumns=!0,i.stack100percent=!0,i.isStacked=!0,i.showsum=1,i.registerFactory("dataset",function(n){s["default"](n);var t=n.getChildren().canvas[0].getChildren("vCanvas")[0],i=n.config.defaultDatasetType||"";t.getChildren("datasetGroup_"+i)[0].addToEnv("categories",n.getFromEnv("dataSource").categories)},["vCanvas"]),i}return c(t,n),t.getName=function(){return"Marimekko"},t.prototype._checkInvalidSpecificData=function(){var t=this.getFromEnv("dataSource"),i=t.dataset,n=t.categories;if(!(i&&n&&0!==n.length&&n[0].category&&n[0].category instanceof Array))return!0},t.prototype.getName=function(){return"Marimekko"},t.prototype.parseChartAttr=function(t){n.prototype.parseChartAttr.call(this,t);this.config.showXAxisPercentValues=h.pluckNumber(t.chart&&t.chart.showxaxispercentvalues,1)},t.prototype.__setDefaultConfig=function(){n.prototype.__setDefaultConfig.call(this);var t=this.config;t.friendlyName="Marimekko Chart";t.defaultDatasetType="marimekko";t.isstacked=!0;t.showpercentvalues=0;t.usepercentdistribution=1;t.showsum=1;t.enablemousetracking=!0},t.prototype.getDSdef=function(){return e["default"]},t.prototype.getDSGroupdef=function(){return o["default"]},t}(f["default"]);t["default"]=u},588:function(n,t,i){"use strict";function u(n){return n&&n.__esModule?n:{"default":n}
51}function l(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var o;t.__esModule=!0;var s=u(i(432)),r=i(125),h=u(i(589)),c=i(132);var a=r.regex.dropHypeash,f=Math,e=f.round,v=f.abs;c.addDep({name:"marimekkoAnimation",type:"animationRule",extension:h["default"]});o=function(n){function t(){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t);var i=function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.call(this));return i.config.groupName="column",i}return l(t,n),t.prototype.getType=function(){return"dataset"},t.prototype.getName=function(){return"marimekko"},t.prototype.configure=function(t){r.fcEach(t.data,function(n){n&&(n.value=v(n.value))});n.prototype.configure.call(this,t)},t.prototype._addLegend=function(){var e,u,o,n,f=this.config,i=this.getFromEnv("legend"),s=r.pluckNumber(this.getFromEnv("chart-attrib").useplotgradientcolor,1),t=f.legendSymbolColor;e=r.getLightColor(t,60).replace(a,r.HASHSTRING);u=s?{FCcolor:{color:t+","+t+","+r.getLightColor(t,40)+","+t+","+t,ratio:"0,70,30",angle:270,alpha:"100,100,100,100,100"}}:{FCcolor:{color:t,angle:0,ratio:"0",alpha:"100"}};
51o={enabled:f.includeInLegend,type:this.type,label:r.getFirstValue(this.config.JSONData.seriesname)};f.includeinlegend?((n=i.getItem(this.config.legendItemId))||(this.config.legendItemId=i.createItem(this),n=i.getItem(this.config.legendItemId),this.addExtEventListener("fc-click",function(){n.itemClickFn()},n)),n.configure(o),n.setStateCosmetics("default",{symbol:{fill:r.toRaphaelColor(u),rawFillColor:u.FCcolor.color,stroke:r.toRaphaelColor(e)}}),this.getState("visible")?n.removeLegendState("hidden"):n.setLegendState("hidden")):this.config.legendItemId&&i.disposeItem(this.config.legendItemId)},t.prototype.searchIndex=function(n,t){for(var i,f,e=this.getFromEnv("xAxis"),r=0,u=t.length-1;r<=u;)if(i=Math.round((r+u)/2)||0,(f=e.getPixel(t[i].x)+t[i].columnWidth/2)<n)r=i+1;else{if(!(f>n))return i;u=i-1}return r},t.prototype.allocatePosition=function(){this.getLinkedParent()._setStackDimensions();n.prototype.allocatePosition.call(this)},t.prototype._getHoveredPlot=function(n,t){var r,e,u,f,o=this.getLinkedParent(),s=o.getstackConf(),h=this.getFromEnv("chartConfig"),i=o.config,c=h.plotborderthickness,l=h.showplotborder,a=s.length-1;return e=n+(r=(r=(c=l?c:0)/2)%2==0?r+1:Math.round(r)),f=u&&i.datasetIndex||this.searchIndex(e,s),i.datasetIndex||(i.datasetIndex=f),(u=this._checkPointerOverColumn(f,n,t))?delete i.datasetIndex:this.index===a&&delete i.datasetIndex,u},t.prototype.setColumnPosition=function(){return this},t.prototype.fineTunePlotDimension=function(n,t,i,r,u){var c=this.getLinkedParent().getstackConf(),l=this.getFromEnv("chart"),f=l.config.plotborderthickness,o=l.getChildren("canvas")[0].config,s=o.canvasBorderWidth>0,a=o.canvasRight,h=o.canvasTop,v=o.canvasLeft;return c.length?(n-=(r=c[u].columnWidth)/2,parseInt(t,10)<=h&&(i-=h-t-+s,t=h-+s),f<=1&&(e(n)<=v&&(r+=n,r-=n=v-f/2+ +!!f-+s),e(n+r)>=a&&(r=a-n+f/2-+!!f+ +s)),{xPos:n,yPos:t,width:r,height:i}):{xPos:n,yPos:t,width:r,height:i}},t}(s["default"]);t["default"]=o},589:function(n,t,i){"use strict";t.__esModule=!0;var r=i(125);t["default"]={"initial.dataset.marimekko":function(){var n=this,t=n.getFromEnv("chart"),i=t.config.yDepth||0,u=n.getFromEnv("yAxis");return{"rect.appearing":function(f){var o,s,h,c,l=u.getPixel(u.getAxisBase())+(t.isBar?-i:i),e=f.attr;return o=e.y,s=e.height,c=Math.sign(o+s/2-l),h=o+s,[{initialAttr:function(){var n={};return n.y=h,n.height=0,n},slot:"plot",startEnd:function(){return r.animHelperFN.getTimeByValue({start:0,end:.6},{startPx:l,endPx:1===c?n.config.yAxisMaxPixel:n.config.yAxisMinPixel},{startPx:h,endPx:1===c?e.y+e.height:e.y})},effect:"linear"}]},"group.appearing":null,"group.updating":null,"plotLabel.appearing":[{initialAttr:{opacity:0}
51,slot:"final"}],"*":null}}}},590:function(n,t,i){"use strict";function s(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}});t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):function(n,t){for(var r,u,f=Object.getOwnPropertyNames(t),i=0;i<f.length;i++)r=f[i],u=Object.getOwnPropertyDescriptor(t,r),u&&u.configurable&&n[r]===undefined&&Object.defineProperty(n,r,u)}(n,t))}var f;t.__esModule=!0;var u,e=i(525),o=(u=e)&&u.__esModule?u:{"default":u},r=i(125);f=function(n){function t(){return function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}(this,t),function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,n.apply(this,arguments))}return s(t,n),t.prototype.getType=function(){return"group"},t.prototype.getName=function(){return"marimekkoStackgroup"},t.prototype.getstackConf=function(){return this.config.stackConf},t.prototype._setStackPosition=function(){n.prototype._setStackPosition.call(this);for(var f,h,e,o,i=this.config,c=i.stackConf||(i.stackConf=[]),u=i.stackValues,l=this.getFromEnv("categories")[0].category,d=this.getFromEnv("number-formatter"),a=0,v=0,y=0,p=this.getFromEnv("xAxis"),w=p.getVisibleConfig(),s=w.minValue,b=w.maxValue-s,k=s,t=0,r=u.length;t<r;t++)v+=u[t]&&u[t].positive||0;for(i.totalSumValue=v,t=0;t<l.length;t++)(h=l[t]).widthpercent&&(a+=d.getCleanValue(h.widthpercent));for(100===a&&(i.setUserWidth=1),f=this.getStackSumPercent(),t=0,r=u.length;t<r;t++)(e=c[t])||(e=c[t]={}),y+=f[t]/100,o=f[t]/100*b/2+k,k=y*b+s,e.x=o,p.updateTicksValues(t,{x:o})},t.prototype.getStackSumPercent=function(){for(var t=this.config,i=t.stackValues,u=t.totalSumValue,f=this.getFromEnv("number-formatter"),e=this.getFromEnv("categories")[0].category,o=t.setUserWidth,r=[],n=0;n<i.length;n++)r[n]=o?f.getCleanValue(e[n].widthpercent):(i[n]&&i[n].positive||0)/u*100;return r},t.prototype.draw=function(){n.prototype.draw.call(this);this.drawLabel()},t.prototype.createContainer=function(){n.prototype.createContainer.call(this);var t=this.getLinkedParent();this.getContainer("commonLabelContainer")||this.addContainer("commonLabelContainer",function(n,t,i){return i.getFromEnv("animationManager").setAnimation({el:"group",attr:{name:n},container:t,component:i,label:"group"})}("manager-commonLabelContainer",t.getChildContainer("vcanvasLabelGroup"),this))},t.prototype.drawLabel=function(){var w,b,f,k,e,n,o,s,d,i,g,nt,a,h,u,tt=this.config,it=this.getFromEnv("smartLabel"),et=this.getFromEnv("animationManager"),c=this.getStackSumPercent(),ot=this.getFromEnv("chart-attrib"),rt=this.getChildren("dataset"),ut=tt.stackConf,st=this.getContainer("commonLabelContainer"),ht=this.getFromEnv("number-formatter"),ft=0,v=this.getFromEnv("chartConfig"),ct=v.canvasBottom,lt=this.getFromEnv("xAxis"),at=this.getFromEnv("style"),t=v.dataLabelStyle,vt=c.length,y=tt.stackValues,yt=v.showXAxisPercentValues,p=this.getGraphicalElement("commonLabels")||[],pt=p.length,l;if(it.setStyle(t),yt){for(nt=r.pluck(t.backgroundColor,"#ffffff"),g=r.pluck(t.borderColor===r.BLANKSTRING?"#"+at.inCancolor:t.borderColor,"#000000"),a=r.pluck(t.borderThickness,1),n=0;n<vt-1;n++)y[n]&&(ft+=c[n],o=ht.percentValue(ft),k=lt.getPixel(ut[n].x)+ut[n].columnWidth/2,e=ct,i=p[n],y[n].positive!==y[n].negative?(s={text:o,fill:t.color,"text-bound":[nt,g,a,t.borderPadding,t.borderRadius,t.borderDash],"line-height":t.lineHeight,visibility:r.visibleStr},e=e-it.getOriSize(o).height/2-a,s.x=k,s.y=e,i&&i.show(),d=et.setAnimation({el:i||"text",container:st,attr:s,label:"text",component:this}),i||this.addGraphicalElement("commonLabels",d,!0)):(o="",i&&i.hide()));for(l=n;l<pt;l++)p[l].hide()}for(h=0;h<rt.length;h++)for(f=(b=rt[h]).components.data,w=b.config.JSONData,u=0;u<f.length;u++)f[u].config.finalTooltext=r.parseTooltext(f[u].config.finalTooltext,[111],{xAxisPercentValue:c[u]&&c[u].toPrecision(4)+"%"},f,ot,w)},t.prototype._getXpos=function(n){return this.getFromEnv("xAxis").getPixel(this.config.stackConf[n].x)},t.prototype._setStackDimensions=function(){for(var t,f,e,r,o,i=this.config,l=i.stackValues,u=this.getFromEnv("categories")[0].category,s=0,h=this.getFromEnv("number-formatter"),a=this.getStackSumPercent(),v=this.getFromEnv("canvasConfig").canvasWidth,c=i.stackConf||(i.stackConf=[]),n=0;n<u.length;n++)(t=u[n]).widthpercent&&(s+=h.getCleanValue(t.widthpercent));for(100===s&&(f=i.setUserWidth=1),n=0,e=l.length;n<e;n++)t=u[n],(r=c[n])||(r=c[n]={}),o=f?h.getCleanValue(t.widthpercent)/100:a[n]/100,r.columnWidth=o*v},t}(o["default"]);t["default"]=f},591:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(550),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},592:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(554),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},593:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(559),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},594:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(595),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},596:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(562),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]},597:function(n,t,i){"use strict";t.__esModule=!0;var r,u=i(518),f=(r=u)&&r.__esModule?r:{"default":r};t["default"]=f["default"]}}])}); 52/**! 53 @license 54 handlebars v4.7.9 55Copyright (C) 2011-2019 by Yehuda Katz 56Permission is hereby granted, free of charge, to any person obtaining a copy 57of this software and associated documentation files (the "Software"), to deal 58in the Software without restriction, including without limitation the rights 59to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 60copies of the Software, and to permit persons to whom the Software is 61furnished to do so, subject to the following conditions: 62The above copyright notice and this permission notice shall be included in 63all copies or substantial portions of the Software. 64THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 65IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 66FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 67AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 68LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 69OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 70THE SOFTWARE. 71*/ 72!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exp
72orts.Handlebars=t():n.Handlebars=t()}(this,function(){return function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={exports:{},id:r,loaded:!1};return n[r].call(u.exports,u,u.exports,t),u.loaded=!0,u.exports}var i={};return t.m=n,t.c=i,t.p="",t(0)}([function(n,t,i){"use strict";function o(){var n=k();return n.compile=function(t,i){return e.compile(t,i,n)},n.precompile=function(t,i){return e.precompile(t,i,n)},n.AST=l["default"],n.Compiler=e.Compiler,n.JavaScriptCompiler=v["default"],n.Parser=f.parser,n.parse=f.parse,n.parseWithoutProcessing=f.parseWithoutProcessing,n}var u=i(1)["default"];t.__esModule=!0;var s=i(2),h=u(s),c=i(83),l=u(c),f=i(84),e=i(89),a=i(90),v=u(a),y=i(87),p=u(y),w=i(82),b=u(w),k=h["default"].create,r=o();r.create=o;b["default"](r);r.Visitor=p["default"];r["default"]=r;t["default"]=r;n.exports=t["default"]},function(n,t){"use strict";t["default"]=function(n){return n&&n.__esModule?n:{"default":n}};t.__esModule=!0},function(n,t,i){"use strict";function o(){var n=new s.HandlebarsEnvironment;return e.extend(n,s),n.SafeString=a["default"],n.Exception=y["default"],n.Utils=e,n.escapeExpression=e.escapeExpression,n.VM=h,n.template=function(t){return h.template(t,n)},n}var u=i(3)["default"],f=i(1)["default"];t.__esModule=!0;var c=i(4),s=u(c),l=i(76),a=f(l),v=i(6),y=f(v),p=i(5),e=u(p),w=i(77),h=u(w),b=i(82),k=f(b),r=o();r.create=o;k["default"](r);r["default"]=r;t["default"]=r;n.exports=t["default"]},function(n,t){"use strict";t["default"]=function(n){var t,i;if(n&&n.__esModule)return n;if(t={},null!=n)for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t["default"]=n,t};t.__esModule=!0},function(n,t,i){"use strict";function e(n,t,i){this.helpers=n||{};this.partials=t||{};this.decorators=i||{};y.registerDefaultHelpers(this);p.registerDefaultDecorators(this)}var s=i(1)["default"],h,c,l,f,a;t.__esModule=!0;t.HandlebarsEnvironment=e;var r=i(5),v=i(6),o=s(v),y=i(10),p=i(70),w=i(72),u=s(w),b=i(73);t.VERSION="4.7.9";h=8;t.COMPILER_REVISION=h;c=7;t.LAST_COMPATIBLE_COMPILER_REVISION=c;l={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=l;f="[object Object]";e.prototype={constructor:e,logger:u["default"],log:u["default"].log,registerHelper:function(n,t){if(r.toString.call(n)===f){if(t)throw new o["default"]("Arg not supported with multiple helpers");r.extend(this.helpers,n)}else this.helpers[n]=t},unregisterHelper:function(n){delete this.helpers[n]},registerPartial:function(n,t){if(r.toString.call(n)===f)r.extend(this.partials,n);else{if("undefined"==typeof t)throw new o["default"]('Attempting to register a partial called "'+n+'" as undefined');this.partials[n]=t}},unregisterPartial:function(n){delete this.partials[n]},registerDecorator:function(n,t){if(r.toString.call(n)===f){if(t)throw new o["default"]("Arg not supported with multiple decorators");r.extend(this.decorators,n)}else this.decorators[n]=t},unregisterDecorator:function(n){delete this.decorators[n]},resetLoggedPropertyAccesses:function(){b.resetLoggedProperties()}};a=u["default"].log;t.log=a;t.createFrame=r.createFrame;t.logger=u["default"]},function(n,t){"use strict";function e(n){return v[n]}function f(n){for(var i,t=1;t<arguments.length;t++)for(i in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],i)&&(n[i]=arguments[t][i]);return n}function o(n,t){for(var i=0,r=n.length;i<r;i++)if(n[i]===t)return i;return-1}function s(n){if("string"!=typeof n){if(n&&n.toHTML)return n.toHTML();if(null==n)return"";if(!n)return n+"";n=""+n}return p.test(n)?n.replace(y,e):n}function h(n){return!n&&0!==n||!(!u(n)||0!==n.length)}function c(n){var t=f({},n);return t._parent=n,t}function l(n,t){return n.path=t,n}function a(n,t){return(n?n+".":"")+t}var i,u;t.__esModule=!0;t.extend=f;t.indexOf=o;t.escapeExpression=s;t.isEmpty=h;t.createFrame=c;t.blockParams=l;t.appendContextPath=a;var v={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},y=/[&<>"'`=]/g,p=/[&<>"'`=]/,r=Object.prototype.toString;t.toString=r;i=function(n){return"function"==typeof n};
72i(/x/)&&(t.isFunction=i=function(n){return"function"==typeof n&&"[object Function]"===r.call(n)});t.isFunction=i;u=Array.isArray||function(n){return!(!n||"object"!=typeof n)&&"[object Array]"===r.call(n)};t.isArray=u},function(n,t,i){"use strict";function u(n,t){var i=t&&t.loc,s=void 0,c=void 0,o=void 0,h=void 0,l,e;for(i&&(s=i.start.line,c=i.end.line,o=i.start.column,h=i.end.column,n+=" - "+s+":"+o),l=Error.prototype.constructor.call(this,n),e=0;e<r.length;e++)this[r[e]]=l[r[e]];Error.captureStackTrace&&Error.captureStackTrace(this,u);try{i&&(this.lineNumber=s,this.endLineNumber=c,f?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:h,enumerable:!0})):(this.column=o,this.endColumn=h))}catch(a){}}var f=i(7)["default"],r;t.__esModule=!0;r=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];u.prototype=new Error;t["default"]=u;n.exports=t["default"]},function(n,t,i){n.exports={"default":i(8),__esModule:!0}},function(n,t,i){var r=i(9);n.exports=function(n,t,i){return r.setDesc(n,t,i)}},function(n){var t=Object;n.exports={create:t.create,getProto:t.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:t.getOwnPropertyDescriptor,setDesc:t.defineProperty,setDescs:t.defineProperties,getKeys:t.keys,getNames:t.getOwnPropertyNames,getSymbols:t.getOwnPropertySymbols,each:[].forEach}},function(n,t,i){"use strict";function u(n){o["default"](n);h["default"](n);l["default"](n);v["default"](n);p["default"](n);b["default"](n);d["default"](n)}function f(n,t,i){n.helpers[t]&&(n.hooks[t]=n.helpers[t],i||(n.helpers[t]=void 0))}var r=i(1)["default"];t.__esModule=!0;t.registerDefaultHelpers=u;t.moveHelperToHooks=f;var e=i(11),o=r(e),s=i(12),h=r(s),c=i(65),l=r(c),a=i(66),v=r(a),y=i(67),p=r(y),w=i(68),b=r(w),k=i(69),d=r(k)},function(n,t,i){"use strict";t.__esModule=!0;var r=i(5);t["default"]=function(n){n.registerHelper("blockHelperMissing",function(t,i){var f=i.inverse,e=i.fn,u;return t===!0?e(this):t===!1||null==t?f(this):r.isArray(t)?t.length>0?(i.ids&&(i.ids=[i.name]),n.helpers.each(t,i)):f(this):(i.data&&i.ids&&(u=r.createFrame(i.data),u.contextPath=r.appendContextPath(i.data.contextPath,i.name),i={data:u}),e(t,i))})};n.exports=t["default"]},function(n,t,i){"use strict";var u=i(13)["default"],f=i(43)["default"],e=i(55)["default"],o=i(60)["default"],s=i(1)["default"];t.__esModule=!0;var r=i(5),h=i(6),c=s(h);t["default"]=function(n){n.registerHelper("each",function(n,t){function h(t,i,u){s&&(s.key=t,s.index=i,s.first=0===i,s.last=!!u,l&&(s.contextPath=l+t));v+=b(n[t],{data:s,blockParams:r.blockParams([n[t],t],[l+t,null])})}var a;if(!t)throw new c["default"]("Must pass iterator to #each");var b=t.fn,k=t.inverse,i=0,v="",s=void 0,l=void 0;if(t.data&&t.ids&&(l=r.appendContextPath(t.data.contextPath,t.ids[0])+"."),r.isFunction(n)&&(n=n.call(this)),t.data&&(s=r.createFrame(t.data)),n&&"object"==typeof n)if(r.isArray(n))for(a=n.length;i<a;i++)i in n&&h(i,i,i===n.length-1);else if("function"==typeof u&&n[f]){for(var p=[],w=e(n),y=w.next();!y.done;y=w.next())p.push(y.value);for(n=p,a=n.length;i<a;i++)h(i,i,i===n.length-1)}else!function(){var t=void 0;
vendor: 6,240 bytes, line 72
72o(n).forEach(function(n){void 0!==t&&h(t,i-1);t=n;i++});void 0!==t&&h(t,i-1,!0)}();return 0===i&&(v=k(this)),v})};n.exports=t["default"]},function(n,t,i){n.exports={"default":i(14),__esModule:!0}},function(n,t,i){i(15);i(42);n.exports=i(21).Symbol},function(n,t,i){"use strict";var f=i(9),d=i(16),u=i(17),g=i(18),e=i(20),et=i(24),ot=i(19),st=i(27),nt=i(28),dt=i(30),ht=i(29),gt=i(31),ct=i(36),ni=i(37),ti=i(38),ii=i(39),a=i(32),tt=i(26),lt=f.getDesc,s=f.setDesc,l=f.create,at=ct.get,o=d.Symbol,v=d.JSON,y=v&&v.stringify,p=!1,r=ht("_hidden"),ri=f.isEnum,w=st("symbol-registry"),h=st("symbols"),b="function"==typeof o,c=Object.prototype,it=g&&ot(function(){return 7!=l(s({},"a",{get:function(){return s(this,"a",{value:7}).a}})).a})?function(n,t,i){var r=lt(c,t);r&&delete c[t];s(n,t,i);r&&n!==c&&s(c,t,r)}:s,vt=function(n){var t=h[n]=l(o.prototype);return t._k=n,g&&p&&it(c,n,{configurable:!0,set:function(t){u(this,r)&&u(this[r],n)&&(this[r][n]=!1);it(this,n,tt(1,t))}}),t},k=function(n){return"symbol"==typeof n},rt=function(n,t,i){return i&&u(h,t)?(i.enumerable?(u(n,r)&&n[r][t]&&(n[r][t]=!1),i=l(i,{enumerable:tt(0,!1)})):(u(n,r)||s(n,r,tt(1,{})),n[r][t]=!0),it(n,t,i)):s(n,t,i)},ut=function(n,t){ii(n);for(var i,r=ni(t=a(t)),u=0,f=r.length;f>u;)rt(n,i=r[u++],t[i]);return n},yt=function(n,t){return void 0===t?l(n):ut(l(n),t)},pt=function(n){var t=ri.call(this,n);return!(t||!u(this,n)||!u(h,n)||u(this,r)&&this[r][n])||t},wt=function(n,t){var i=lt(n=a(n),t);return!i||!u(h,t)||u(n,r)&&n[r][t]||(i.enumerable=!0),i},bt=function(n){for(var t,i=at(a(n)),f=[],e=0;i.length>e;)u(h,t=i[e++])||t==r||f.push(t);return f},kt=function(n){for(var t,i=at(a(n)),r=[],f=0;i.length>f;)u(h,t=i[f++])&&r.push(h[t]);return r},ui=function(n){if(void 0!==n&&!k(n)){for(var t,i,r=[n],u=1,f=arguments;f.length>u;)r.push(f[u++]);return t=r[1],"function"==typeof t&&(i=t),!i&&ti(t)||(t=function(n,t){if(i&&(t=i.call(this,n,t)),!k(t))return t}),r[1]=t,y.apply(v,r)}},fi=ot(function(){var n=o();return"[null]"!=y([n])||"{}"!=y({a:n})||"{}"!=y(Object(n))}),ft;b||(o=function(){if(k(this))throw TypeError("Symbol is not a constructor");return vt(dt(arguments.length>0?arguments[0]:void 0))},et(o.prototype,"toString",function(){return this._k}),k=function(n){return n instanceof o},f.create=yt,f.isEnum=pt,f.getDesc=wt,f.setDesc=rt,f.setDescs=ut,f.getNames=ct.get=bt,f.getSymbols=kt,g&&!i(41)&&et(c,"propertyIsEnumerable",pt,!0));ft={"for":function(n){return u(w,n+="")?w[n]:w[n]=o(n)},keyFor:function(n){return gt(w,n)},useSetter:function(){p=!0},useSimple:function(){p=!1}};f.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(n){var t=ht(n);ft[n]=b?t:vt(t)});p=!0;e(e.G+e.W,{Symbol:o});e(e.S,"Symbol",ft);e(e.S+e.F*!b,"Object",{create:yt,defineProperty:rt,defineProperties:ut,getOwnPropertyDescriptor:wt,getOwnPropertyNames:bt,getOwnPropertySymbols:kt});v&&e(e.S+e.F*(!b||fi),"JSON",{stringify:ui});nt(o,"Symbol");nt(Math,"Math",!0);nt(d.JSON,"JSON",!0)},function(n){var t=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(n){var t={}.hasOwnProperty;n.exports=function(n,i){return t.call(n,i)}},function(n,t,i){n.exports=!i(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(n){n.exports=function(n){try{return!!n()}catch(t){return!0}}},function(n,t,i){var f=i(16),e=i(21),o=i(22),u="prototype",r=function(n,t,i){var s,l,h,p=n&r.F,a=n&r.G,w=n&r.S,y=n&r.P,b=n&r.B,k=n&r.W,v=a?e:e[t]||(e[t]={}),c=a?f:w?f[t]:(f[t]||{})[u];a&&(i=t);for(s in i)l=!p&&c&&s in c,l&&s in v||(h=l?c[s]:i[s],v[s]=a&&"function"!=typeof c[s]?i[s]:b&&l?o(h,f):k&&c[s]==h?function(n){var t=function(t){return this instanceof n?new n(t):n(t)};return t[u]=n[u],t}(h):y&&"function"==typeof h?o(Function.call,h):h,y&&((v[u]||(v[u]={}))[s]=h))};r.F=1;r.G=2;r.S=4;r.P=8;r.B=16;r.W=32;n.exports=r},function(n){var t=n.exports={version:"1.2.6"};"number"==typeof __e&&(__e=t)},function(n,t,i){var r=i(23);n.exports=function(n,t,i){if(r(n),void 0===t)return n;switch(i){case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)}}return function(){return n.apply(t,arguments)}}},function(n){n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,t,i){n.exports=i(25)},function(n,t,i){var r=i(9),u=i(26);n.exports=i(18)?function(n,t,i){return r.setDesc(n,t,u(1,i))}:function(n,t,i){return n[t]=i,n}},function(n){n.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},function(n,t,i){var r=i(16),u="__core-js_shared__",f=r[u]||(r[u]={});n.exports=function(n){return f[n]||(f[n]={})}},function(n,t,i){var u=i(9).setDesc,f=i(17),r=i(29)("toStringTag");n.exports=function(n,t,i){n&&!f(n=i?n:n.prototype,r)&&u(n,r,{configurable:!0,value:t})}},function(n,t,i){var u=i(27)("wks"),f=i(30),r=i(16).Symbol;n.exports=function(n){return u[n]||(u[n]=r&&r[n]||(r||f)("Symbol."+n))}},function(n){var t=0,i=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++t+i).toString(36))}},function(n,t,i){var r=i(9),u=i(32);n.exports=function(n,t){for(var i,f=u(n),e=r.getKeys(f),s=e.length,o=0;s>o;)if(f[i=e[o++]]===t)return i}},function(n,t,i){var r=i(33),u=i(35);n.exports=function(n){return r(u(n))}},function(n,t,i){var r=i(34);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==r(n)?n.split(""):Object(n)}},function(n){var t={}.toString;n.exports=function(n){return t.call(n).slice(8,-1)}},function(n){n.exports=function(n){if(void 0==n)throw TypeError("Can't call method on "+n);return n}},function(n,t,i){var f=i(32),r=i(9).getNames,e={}.toString,u="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(n){try{return r(n)}catch(t){return u.slice()}};n.exports.get=function(n){return u&&"[object Window]"==e.call(n)?o(n):r(f(n))}},function(n,t,i){var r=i(9);n.exports=function(n){var t=r.getKeys(n),i=r.getSymbols;if(i)for(var u,f=i(n),o=r.isEnum,e=0;f.length>e;
72)o.call(n,u=f[e++])&&t.push(u);return t}},function(n,t,i){var r=i(34);n.exports=Array.isArray||function(n){return"Array"==r(n)}},function(n,t,i){var r=i(40);n.exports=function(n){if(!r(n))throw TypeError(n+" is not an object!");return n}},function(n){n.exports=function(n){return"object"==typeof n?null!==n:"function"==typeof n}},function(n){n.exports=!0},function(){},function(n,t,i){n.exports={"default":i(44),__esModule:!0}},function(n,t,i){i(45);i(51);n.exports=i(29)("iterator")},function(n,t,i){"use strict";var r=i(46)(!0);i(48)(String,"String",function(n){this._t=String(n);this._i=0},function(){var n,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(n=r(t,i),this._i+=n.length,{value:n,done:!1})})},function(n,t,i){var r=i(47),u=i(35);n.exports=function(n){return function(t,i){var e,s,o=String(u(t)),f=r(i),h=o.length;return f<0||f>=h?n?"":void 0:(e=o.charCodeAt(f),e<55296||e>56319||f+1===h||(s=o.charCodeAt(f+1))<56320||s>57343?n?o.charAt(f):e:n?o.slice(f,f+2):(e-55296<<10)+(s-56320)+65536)}}},function(n){var t=Math.ceil,i=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?i:t)(n)}},function(n,t,i){"use strict";var o=i(41),f=i(20),v=i(24),s=i(25),y=i(17),h=i(49),p=i(50),w=i(28),b=i(9).getProto,r=i(29)("iterator"),e=!([].keys&&"next"in[].keys()),c="@@iterator",l="keys",u="values",a=function(){return this};n.exports=function(n,t,i,k,d,g,nt){var ht;p(i,t,k);var rt,ut,ft=function(n){if(!e&&n in tt)return tt[n];switch(n){case l:return function(){return new i(this,n)};case u:return function(){return new i(this,n)}}return function(){return new i(this,n)}},ct=t+" Iterator",ot=d==u,st=!1,tt=n.prototype,et=tt[r]||tt[c]||d&&tt[d],it=et||ft(d);if(et&&(ht=b(it.call(new n)),w(ht,ct,!0),!o&&y(tt,c)&&s(ht,r,a),ot&&et.name!==u&&(st=!0,it=function(){return et.call(this)})),o&&!nt||!e&&!st&&tt[r]||s(tt,r,it),h[t]=it,h[ct]=a,d)if(rt={values:ot?it:ft(u),keys:g?it:ft(l),entries:ot?ft("entries"):it},nt)for(ut in rt)ut in tt||v(tt,ut,rt[ut]);else f(f.P+f.F*(e||st),t,rt);return rt}},function(n){n.exports={}},function(n,t,i){"use strict";var u=i(9),f=i(26),e=i(28),r={};i(25)(r,i(29)("iterator"),function(){return this});n.exports=function(n,t,i){n.prototype=u.create(r,{next:f(1,i)});e(n,t+" Iterator")}},function(n,t,i){i(52);var r=i(49);r.NodeList=r.HTMLCollection=r.Array},function(n,t,i){"use strict";var u=i(53),r=i(54),f=i(49),e=i(32);n.exports=i(48)(Array,"Array",function(n,t){this._t=e(n);this._i=0;this._k=t},function(){var t=this._t,i=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):"keys"==i?r(0,n):"values"==i?r(0,t[n]):r(0,[n,t[n]])},"values");f.Arguments=f.Array;u("keys");u("values");u("entries")},function(n){n.exports=function(){}},function(n){n.exports=function(n,t){return{value:t,done:!!n}}},function(n,t,i){n.exports={"default":i(56),__esModule:!0}},function(n,t,i){i(51);i(45);n.exports=i(57)},function(n,t,i){var r=i(39),u=i(58);n.exports=i(21).getIterator=function(n){var t=u(n);if("function"!=typeof t)throw TypeError(n+" is not iterable!");return r(t.call(n))}},function(n,t,i){var r=i(59),u=i(29)("iterator"),f=i(49);n.exports=i(21).getIteratorMethod=function(n){if(void 0!=n)return n[u]||n["@@iterator"]||f[r(n)]}},function(n,t,i){var r=i(34),u=i(29)("toStringTag"),f="Arguments"==r(function(){return arguments}());n.exports=function(n){var t,i,e;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(i=(t=Object(n))[u])?i:f?r(t):"Object"==(e=r(t))&&"function"==typeof t.callee?"Arguments":e}},function(n,t,i){n.exports={"default":i(61),__esModule:!0}},function(n,t,i){i(62);n.exports=i(21).Object.keys},function(n,t,i){var r=i(63);i(64)("keys",function(n){return function(t){return n(r(t))}})},function(n,t,i){var r=i(35);n.exports=function(n){return Object(r(n))}},function(n,t,i){var r=i(20),u=i(21),f=i(19);n.exports=function(n,t){var i=(u.Object||{})[n]||Object[n],e={};e[n]=t(i);r(r.S+r.F*f(function(){i(1)}),"Object",e)}},function(n,t,i){"use strict";var f=i(1)["default"],r,u;t.__esModule=!0;r=i(6);u=f(r);t["default"]=function(n){n.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new u["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"');})};n.exports=t["default"]},function(n,t,i){"use strict";var f=i(1)["default"];t.__esModule=!0;var r=i(5),e=i(6),u=f(e);t["default"]=function(n){n.registerHelper("if",function(n,t){if(2!=arguments.length)throw new u["default"]("#if requires exactly one argument");return r.isFunction(n)&&(n=n.call(this)),!t.hash.includeZero&&!n||r.isEmpty(n)?t.inverse(this):t.fn(this)});n.registerHelper("unless",function(t,i){if(2!=arguments.length)throw new u["default"]("#unless requires exactly one argument");return n.helpers["if"].call(this,t,{fn:i.inverse,inverse:i.fn,hash:i.hash})})};n.exports=t["default"]},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){n.registerHelper("log",function(){for(var i,r=[void 0],t=arguments[arguments.length-1],u=0;u<arguments.length-1;u++)r.push(arguments[u]);i=1;null!=t.hash.level?i=t.hash.level:t.data&&null!=t.data.level&&(i=t.data.level);r[0]=i;n.log.apply(n,r)})};n.exports=t["default"]},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){n.registerHelper("lookup",function(n,t,i){return n?i.lookupProperty(n,t):n})};n.exports=t["default"]},function(n,t,i){"use strict";var u=i(1)["default"];t.__esModule=!0;var r=i(5),f=i(6),e=u(f);t["default"]=function(n){n.registerHelper("with",function(n,t){var u,i;if(2!=arguments.length)throw new e["default"]("#with requires exactly one argument");return(r.isFunction(n)&&(n=n.call(this)),u=t.fn,r.isEmpty(n))?t.inverse(this):(i=t.data,t.data&&t.ids&&(i=r.createFrame(t.data),i.contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),u(n,{data:i,blockParams:r.blockParams([n],[i&&i.c
72ontextPath])}))})};n.exports=t["default"]},function(n,t,i){"use strict";function f(n){u["default"](n)}var e=i(1)["default"],r,u;t.__esModule=!0;t.registerDefaultDecorators=f;r=i(71);u=e(r)},function(n,t,i){"use strict";t.__esModule=!0;var r=i(5);t["default"]=function(n){n.registerDecorator("inline",function(n,t,i,u){var f=n;return t.partials||(t.partials={},f=function(u,f){var e=i.partials,o;return i.partials=r.extend({},e,t.partials),o=n(u,f),i.partials=e,o}),t.partials[u.args[0]]=u.fn,f})};n.exports=t["default"]},function(n,t,i){"use strict";t.__esModule=!0;var u=i(5),r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(n){if("string"==typeof n){var t=u.indexOf(r.methodMap,n.toLowerCase());n=t>=0?t:parseInt(n,10)}return n},log:function(n){var t;if(n=r.lookupLevel(n),"undefined"!=typeof console&&r.lookupLevel(r.level)<=n){t=r.methodMap[n];console[t]||(t="log");for(var u=arguments.length,f=Array(u>1?u-1:0),i=1;i<u;i++)f[i-1]=arguments[i];console[t].apply(console,f)}}};t["default"]=r;n.exports=t["default"]},function(n,t,i){"use strict";function o(n){var i=u(null),t;return i.__proto__=!1,e.extend(i,n.allowedProtoProperties),t=u(null),t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1,t.__lookupSetter__=!1,e.extend(t,n.allowedProtoMethods),{properties:{whitelist:i,defaultValue:n.allowProtoPropertiesByDefault},methods:{whitelist:t,defaultValue:n.allowProtoMethodsByDefault}}}function s(n,t,i){return"function"==typeof n?f(t.methods,i):f(t.properties,i)}function f(n,t){return void 0!==n.whitelist[t]?n.whitelist[t]===!0:void 0!==n.defaultValue?n.defaultValue:(h(t),!1)}function h(n){r[n]!==!0&&(r[n]=!0,y["default"].log("error",'Handlebars: Access has been denied to resolve the property "'+n+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}function c(){l(r).forEach(function(n){delete r[n]})}var u=i(74)["default"],l=i(60)["default"],a=i(1)["default"];t.__esModule=!0;t.createProtoAccessControl=o;t.resultIsAllowed=s;t.resetLoggedProperties=c;var e=i(5),v=i(72),y=a(v),r=u(null)},function(n,t,i){n.exports={"default":i(75),__esModule:!0}},function(n,t,i){var r=i(9);n.exports=function(n,t){return r.create(n,t)}},function(n,t){"use strict";function i(n){this.string=n}
72t.__esModule=!0;i.prototype.toString=i.prototype.toHTML=function(){return""+this.string};t["default"]=i;n.exports=t["default"]},function(n,t,i){"use strict";function v(n){var t=n&&n[0]||1,e=u.COMPILER_REVISION,i,f;if(!(t>=u.LAST_COMPATIBLE_COMPILER_REVISION&&t<=u.COMPILER_REVISION)){if(t<u.LAST_COMPATIBLE_COMPILER_REVISION){i=u.REVISION_CHANGES[e];f=u.REVISION_CHANGES[t];throw new r["default"]("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+i+") or downgrade your runtime to an older version ("+f+").");}throw new r["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+n[1]+").");}}function y(n,t){function o(i,u,e){var o;if(e.hash&&(u=f.extend({},u,e.hash),e.ids&&(e.ids[0]=!0)),i=t.VM.resolvePartial.call(this,i,u,e),e.hooks=this.hooks,e.protoAccessControl=this.protoAccessControl,o=t.VM.invokePartial.call(this,i,u,e),null==o&&t.compile&&(e.partials[e.name]=t.compile(i,n.compilerOptions,t),o=e.partials[e.name](u,e)),null!=o){if(e.indent){for(var h=o.split("\n"),s=0,c=h.length;s<c&&(h[s]||s+1!==c);s++)h[s]=e.indent+h[s];o=h.join("\n")}return o}throw new r["default"]("The partial "+e.name+" could not be compiled when running in runtime-only mode");}function u(t){function s(t){return""+n.main(i,t,i.helpers,i.partials,f,o,e)}var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],f=r.data,e,o;return u._setup(r),!r.partial&&n.useData&&(f=b(t,f)),e=void 0,o=n.useBlockParams?[]:void 0,n.useDepths&&(e=r.depths?t!=r.depths[0]?[t].concat(r.depths):r.depths:[t]),(s=h(n.main,s,i,r.depths||[],f,o))(t,r)}if(!t)throw new r["default"]("No environment passed to template");if(!n||!n.main)throw new r["default"]("Unknown template object: "+typeof n);n.main.decorator=n.main_d;t.VM.checkRevision(n.compiler);var s=n.compiler&&7===n.compiler[0],i={strict:function(n,t,u){if(!(n&&t in n))throw new r["default"]('"'+t+'" not defined in '+n,{loc:u});return i.lookupProperty(n,t)},lookupProperty:function(n,t){var r=n[t];return null==r?r:Object.prototype.hasOwnProperty.call(n,t)?r:a.resultIsAllowed(r,i.protoAccessControl,t)?r:void 0},lookup:function(n,t){for(var u,f=n.length,r=0;r<f;r++)if(u=n[r]&&i.lookupProperty(n[r],t),null!=u)return u},lambda:function(n,t){return"function"==typeof n?n.call(t):n},escapeExpression:f.escapeExpression,invokePartial:o,fn:function(t){var i=n[t];return i.decorator=n[t+"_d"],i},programs:[],program:function(n,t,i,r,u){var f=this.programs[n],o=this.fn(n);return t||u||r||i?f=e(this,n,o,t,i,r,u):f||(f=this.programs[n]=e(this,n,o)),f},data:function(n,t){for(;n&&t--;)n=n._parent;return n},mergeIfNeeded:function(n,t){var i=n||t;return n&&t&&n!==t&&(i=f.extend({},t,n)),i},nullContext:d({}),noop:t.VM.noop,compilerInfo:n.compiler};return u.isTop=!0,u._setup=function(r){var u,e;r.partial?(i.protoAccessControl=r.protoAccessControl,i.helpers=r.helpers,i.partials=r.partials,i.decorators=r.decorators,i.hooks=r.hooks):(u={},c(u,t.helpers,i),c(u,r.helpers,i),i.helpers=u,n.usePartial&&(i.partials=i.mergeIfNeeded(r.partials,t.partials)),(n.usePartial||n.useDecorators)&&(i.decorators=f.extend({},t.decorators,r.decorators)),i.hooks={},i.protoAccessControl=a.createProtoAccessControl(r),e=r.allowCallsToHelperMissing||s,l.moveHelperToHooks(i,"helperMissing",e),l.moveHelperToHooks(i,"blockHelperMissing",e))},u._child=function(t,u,f,o){if(n.useBlockParams&&!f)throw new r["default"]("must pass block params");if(n.useDepths&&!o)throw new r["default"]("must pass parent depths");return e(i,t,n[t],u,0,f,o)},u}function e(n,t,i,r,u,f,e){function o(t){var u=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e;return!e||t==e[0]||t===n.nullContext&&null===e[0]||(o=[t].concat(e)),i(n,t,n.helpers,n.partials,u.data||r,f&&[u.blockParams].concat(f),o)}return o=h(i,o,n,e,r,f),o.program=t,o.depth=e?e.length:0,o.blockParams=u||0,o}function p(n,t,i){return n?n.call||i.name||(i.name=n,n=o(i.partials,n)):n="@partial-block"===i.name?o(i.data,"partial-block"):o(i.partials,i.name),n}function w(n,t,i){var h=o(i.data,"partial-block"),e;if(i.partial=!0,i.ids&&(i.data.contextPath=i.ids[0]||i.data.contextPath),e=void 0,i.fn&&i.fn!==s&&!function(){i.data=u.createFrame(i.data);var n=i.fn;e=i.data["partial-block"]=function(t){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return i.data=u.createFrame(i.data),i.data["partial-block"]=h,n(t,i)};n.partials&&(i.partials=f.extend({},i.partials,n.partials))}(),void 0===n&&e&&(n=e),void 0===n)throw new r["default"]("The partial "+i.name+" could not be found");if(n instanceof Function)return n(t,i)}function s(){return""}function o(n,t){if(n&&Object.prototype.hasOwnProperty.call(n,t))return n[t]}function b(n,t){return t&&"root"in t||(t=t?u.createFrame(t):{},t.root=n),t}function h(n,t,i,r,u,e){if(n.decorator){var o={};t=n.decorator(t,o,i,r&&r[0],u,e,r);f.extend(t,o)}return t}function c(n,t,i){t&&g(t).forEach(function(r){var u=t[r];n[r]=k(u,i)})}function k(n,t){var i=t.lookupProperty;return ut.wrapHelper(n,function(n){return n.lookupProperty=i,n})}var d=i(78)["default"],g=i(60)["default"],nt=i(3)["default"],tt=i(1)["default"];t.__esModule=!0;t.checkRevision=v;t.template=y;t.wrapProgram=e;t.resolvePartial=p;t.invokePartial=w;t.noop=s;var it=i(5),f=nt(it),rt=i(6),r=tt(rt),u=i(4),l=i(10),ut=i(81),a=i(73)},function(n,t,i){n.exports={"default":i(79),__esModule:!0}},function(n,t,i){i(80);n.exports=i(21).Object.seal},function(n,t,i){var r=i(40);i(64)("seal",function(n){return function(t){return n&&r(t)?n(t):t}})},function(n,t){"use strict";function i(n,t){if("function"!=typeof n)return n;return function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=t(i),n.apply(this,arguments)}}
72t.__esModule=!0;t.wrapHelper=i},function(n,t){"use strict";t.__esModule=!0;t["default"]=function(n){!function(){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)}();var t=globalThis.Handlebars;n.noConflict=function(){return globalThis.Handlebars===n&&(globalThis.Handlebars=t),n}};n.exports=t["default"]},function(n,t){"use strict";t.__esModule=!0;var i={helpers:{helperExpression:function(n){return"SubExpression"===n.type||("MustacheStatement"===n.type||"BlockStatement"===n.type)&&!!(n.params&&n.params.length||n.hash)},scopedId:function(n){return/^\.|this\b/.test(n.original)},simpleId:function(n){return 1===n.parts.length&&!i.helpers.scopedId(n)&&!n.depth}}};t["default"]=i;n.exports=t["default"]},function(n,t,i){"use strict";function s(n,t){if("Program"===n.type)return c(n),n;o["default"].yy=u;u.locInfo=function(n){return new u.SourceLocation(t&&t.srcName,n)};return o["default"].parse(n)}function h(n,t){var i=s(n,t),r=new w["default"](t);return r.accept(i)}function c(n){f(n)}function f(n){if(null!=n){if(Array.isArray(n))return void n.forEach(f);if("object"==typeof n){if("PathExpression"===n.type){if(!l(n.depth))throw new r["default"]("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(n.parts))throw new r["default"]("Invalid AST: PathExpression.parts must be an array");for(var t=0;t<n.parts.length;t++)if("string"!=typeof n.parts[t])throw new r["default"]("Invalid AST: PathExpression.parts must only contain strings");}else if("NumberLiteral"===n.type){if("number"!=typeof n.value||!isFinite(n.value))throw new r["default"]("Invalid AST: NumberLiteral.value must be a number");}else if("BooleanLiteral"===n.type&&"boolean"!=typeof n.value)throw new r["default"]("Invalid AST: BooleanLiteral.value must be a boolean");
72a(n).forEach(function(t){"loc"!==t&&f(n[t])})}}}function l(n){return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n&&n>=0}var a=i(60)["default"],e=i(1)["default"],v=i(3)["default"],u;t.__esModule=!0;t.parseWithoutProcessing=s;t.parse=h;var y=i(85),o=e(y),p=i(86),w=e(p),b=i(88),k=v(b),d=i(6),r=e(d),g=i(5);t.parser=o["default"];u={};g.extend(u,k)},function(n,t){"use strict";t.__esModule=!0;var i=function(){function n(){this.yy={}}var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,
vendor: 5,323 bytes, line 72
72EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(n,t,i,r,u,f){var e=f.length-1,s,o;switch(u){case 1:return f[e-1];case 2:this.$=r.prepareProgram(f[e]);break;case 3:this.$=f[e];break;case 4:this.$=f[e];break;case 5:this.$=f[e];break;case 6:this.$=f[e];break;case 7:this.$=f[e];break;case 8:this.$=f[e];break;case 9:this.$={type:"CommentStatement",value:r.stripComment(f[e]),strip:r.stripFlags(f[e],f[e]),loc:r.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:f[e],value:f[e],loc:r.locInfo(this._$)};break;case 11:this.$=r.prepareRawBlock(f[e-2],f[e-1],f[e],this._$);break;case 12:this.$={path:f[e-3],params:f[e-2],hash:f[e-1]};break;case 13:this.$=r.prepareBlock(f[e-3],f[e-2],f[e-1],f[e],!1,this._$);break;case 14:this.$=r.prepareBlock(f[e-3],f[e-2],f[e-1],f[e],!0,this._$);break;case 15:this.$={open:f[e-5],path:f[e-4],params:f[e-3],hash:f[e-2],blockParams:f[e-1],strip:r.stripFlags(f[e-5],f[e])};break;case 16:this.$={path:f[e-4],params:f[e-3],hash:f[e-2],blockParams:f[e-1],strip:r.stripFlags(f[e-5],f[e])};break;case 17:this.$={path:f[e-4],params:f[e-3],hash:f[e-2],blockParams:f[e-1],strip:r.stripFlags(f[e-5],f[e])};break;case 18:this.$={strip:r.stripFlags(f[e-1],f[e-1]),program:f[e]};break;case 19:s=r.prepareBlock(f[e-2],f[e-1],f[e],f[e],!1,this._$);o=r.prepareProgram([s],f[e-1].loc);o.chained=!0;this.$={strip:f[e-2].strip,program:o,chain:!0};break;case 20:this.$=f[e];break;case 21:this.$={path:f[e-1],strip:r.stripFlags(f[e-2],f[e])};break;case 22:this.$=r.prepareMustache(f[e-3],f[e-2],f[e-1],f[e-4],r.stripFlags(f[e-4],f[e]),this._$);break;case 23:this.$=r.prepareMustache(f[e-3],f[e-2],f[e-1],f[e-4],r.stripFlags(f[e-4],f[e]),this._$);break;case 24:this.$={type:"PartialStatement",name:f[e-3],params:f[e-2],hash:f[e-1],indent:"",strip:r.stripFlags(f[e-4],f[e]),loc:r.locInfo(this._$)};break;case 25:this.$=r.preparePartialBlock(f[e-2],f[e-1],f[e],this._$);break;case 26:this.$={path:f[e-3],params:f[e-2],hash:f[e-1],strip:r.stripFlags(f[e-4],f[e])};break;case 27:this.$=f[e];break;case 28:this.$=f[e];break;case 29:this.$={type:"SubExpression",path:f[e-3],params:f[e-2],hash:f[e-1],loc:r.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:f[e],loc:r.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:r.id(f[e-2]),value:f[e],loc:r.locInfo(this._$)};break;case 32:this.$=r.id(f[e-1]);break;case 33:this.$=f[e];break;case 34:this.$=f[e];break;case 35:this.$={type:"StringLiteral",value:f[e],original:f[e],loc:r.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(f[e]),original:Number(f[e]),loc:r.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===f[e],original:"true"===f[e],loc:r.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:r.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:r.locInfo(this._$)};break;case 40:this.$=f[e];break;case 41:this.$=f[e];break;case 42:this.$=r.preparePath(!0,f[e],this._$);break;case 43:this.$=r.preparePath(!1,f[e],this._$);break;case 44:f[e-2].push({part:r.id(f[e]),original:f[e],separator:f[e-1]});this.$=f[e-2];break;case 45:this.$=[{part:r.id(f[e]),original:f[e]}];break;case 46:this.$=[];break;case 47:f[e-1].push(f[e]);break;case 48:this.$=[];break;case 49:f[e-1].push(f[e]);break;case 50:this.$=[];break;case 51:f[e-1].push(f[e]);break;case 58:this.$=[];break;case 59:f[e-1].push(f[e]);break;case 64:this.$=[];break;case 65:f[e-1].push(f[e]);break;case 70:this.$=[];break;case 71:f[e-1].push(f[e]);break;case 78:this.$=[];break;case 79:f[e-1].push(f[e]);break;case 82:this.$=[];break;case 83:f[e-1].push(f[e]);break;case 86:this.$=[];break;case 87:f[e-1].push(f[e]);break;case 90:this.$=[];break;case 91:f[e-1].push(f[e]);break;case 94:this.$=[];break;case 95:f[e-1].push(f[e]);break;case 98:this.$=[f[e]];break;case 99:f[e-1].push(f[e]);break;case 100:this.$=[f[e]];break;case 101:f[e-1].push(f[e
vendor: 11,482 bytes, line 72
72])}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(
72n){throw new Error(n);},parse:function(n){function it(){var n;return n=k.lexer.lex()||1,"number"!=typeof n&&(n=k.symbols_[n]||n),n}var k=this,r=[0],e=[null],t=[],h=this.table,d="",c=0,g=0,y=0,l,nt,i,p,o,u,w,a,f,tt,v,s,b;for(this.lexer.setInput(n),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,"undefined"==typeof this.lexer.yylloc&&(this.lexer.yylloc={}),l=this.lexer.yylloc,t.push(l),nt=this.lexer.options&&this.lexer.options.ranges,"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError),s={};;){if((o=r[r.length-1],this.defaultActions[o]?u=this.defaultActions[o]:(null!==i&&"undefined"!=typeof i||(i=it()),u=h[o]&&h[o][i]),"undefined"==typeof u||!u.length||!u[0])&&(b="",!y)){v=[];for(a in h[o])this.terminals_[a]&&a>2&&v.push("'"+this.terminals_[a]+"'");b=this.lexer.showPosition?"Parse error on line "+(c+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[i]||i)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==i?"end of input":"'"+(this.terminals_[i]||i)+"'");this.parseError(b,{text:this.lexer.match,token:this.terminals_[i]||i,line:this.lexer.yylineno,loc:l,expected:v})}if(u[0]instanceof Array&&u.length>1)throw new Error("Parse Error: multiple actions possible at state: "+o+", token: "+i);switch(u[0]){case 1:r.push(i);e.push(this.lexer.yytext);t.push(this.lexer.yylloc);
vendor: 10,886 bytes, line 72
72r.push(u[1]);i=null;p?(i=p,p=null):(g=this.lexer.yyleng,d=this.lexer.yytext,c=this.lexer.yylineno,l=this.lexer.yylloc,y>0&&y--);break;case 2:if(f=this.productions_[u[1]][1],s.$=e[e.length-f],s._$={first_line:t[t.length-(f||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(f||1)].first_column,last_column:t[t.length-1].last_column},nt&&(s._$.range=[t[t.length-(f||1)].range[0],t[t.length-1].range[1]]),w=this.performAction.call(s,d,g,c,this.yy,u[1],e,t),"undefined"!=typeof w)return w;f&&(r=r.slice(0,-2*f),e=e.slice(0,-1*f),t=t.slice(0,-1*f));r.push(this.productions_[u[1]][0]);e.push(s.$);t.push(s._$);tt=h[r[r.length-2]][r[r.length-1]];r.push(tt);break;case 3:return!0}}return!0}},i=function(){var n={EOF:1,parseError:function(n,t){if(!this.yy.parser)throw new Error(n);this.yy.parser.parseError(n,t)},setInput:function(n){return this._input=n,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0],t;return this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n,t=n.match(/(?:\r\n?|\n).*/g),t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var i=n.length,t=n.split(/(?:\r\n?|\n)/g),r,u;return this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i-1),this.offset-=i,r=this.match.split(/(?:\r\n?|\n)/g),this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),t.length-1&&(this.yylineno-=t.length-1),u=this.yylloc.range,this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:t?(t.length===r.length?this.yylloc.first_column:0)+r[r.length-t.length].length-t[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-i]),this},more:function(){return this._more=!0,this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),t=new Array(n.length+1).join("-");return n+this.upcomingInput()+"\n"+t+"^"},next:function(){var f,n,r,e,t,u,i;if(this.done)return this.EOF;for(this._input||(this.done=!0),this._more||(this.yytext="",this.match=""),u=this._currentRules(),i=0;i<u.length&&(r=this._input.match(this.rules[u[i]]),!r||n&&!(r[0].length>n[0].length)||(n=r,e=i,this.options.flex));i++);return n?(t=n[0].match(/(?:\r\n?|\n).*/g),t&&(this.yylineno+=t.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:t?t[t.length-1].length-t[t.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],f=this.performAction.call(this,this.yy,this,u[e],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f?f:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var n=this.next();return"undefined"!=typeof n?n:this.lex()},begin:function(n){this.conditionStack.push(n)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(n){this.begin(n)}};return n.options={},n.performAction=function(n,t,i){function r(n,i){return t.yytext=t.yytext.substring(n,t.yyleng-i+n)}switch(i){case 0:if("\\\\"===t.yytext.slice(-2)?(r(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(r(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(r(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(t.yytext);this.popState();this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=r(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=r(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();return t.lexer=i,n.prototype=t,t.Parser=n,new n}();t["default"]=i;n.exports=t["default"]},function(n,t,i){"use strict";function r(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=n}function e(n,t,i){void 0===t&&(t=n.length);var r=n[t-1],u=n[t-2];return r?"ContentStatement"===r.type?(u||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:i}function o(n,t,i){void 0===t&&(t=-1);var r=n[t+1],u=n[t+2];return r?"ContentStatement"===r.type?(u||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:i}function f(n,t,i){var r=n[null==t?0:t+1],u;r&&"ContentStatement"===r.type&&(i||!r.rightStripped)&&(u=r.value,r.value=r.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==u)}function u(n,t,i){var r=n[null==t?n.length-1:t-1],u;if(r&&"ContentStatement"===r.type&&(i||!r.leftStripped))return u=r.value,r.value=r.value.replace(i?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==u,r.leftStripped}var c=i(1)["default"],s,h;t.__esModule=!0;s=i(87);h=c(s);r.prototype=new h["default"];r.prototype.Program=function(n){var h=!this.options.ignoreStandalone,c=!this.isRootSeen,r,s;this.isRootSeen=!0;for(var i=n.body,t=0,v=i.length;t<v;t++)if(r=i[t],s=this.accept(r),s){var l=e(i,t,c),a=o(i,t,c),y=s.openStandalone&&l,p=s.closeStandalone&&a,w=s.inlineStandalone&&l&&a;s.close&&f(i,t,!0);s.open&&u(i,t,!0);h&&w&&(f(i,t),u(i,t)&&"PartialStatement"===r.type&&(r.indent=/([ \t]+$)/.exec(i[t-1].original)[1]));h&&y&&(f((r.program||r.inverse).body),u(i,t));h&&p&&(f(i,t),u((r.inverse||r.program).body))}return n};r.prototype.BlockStatement=r.prototype.DecoratorBlock=r.prototype.PartialBlockStatement=function(n){var c,h;this.accept(n.program);this.accept(n.inverse);var t=n.program||n.inverse,i=n.program&&n.inverse,r=i,s=i;if(i&&i.chained)for(r=i.body[0].program;s.chained;)s=s.body[s.body.length-1].program;return c={open:n.openStrip.open,close:n.closeStrip.close,openStandalone:o(t.body),closeStandalone:e((r||t).body)},(n.openStrip.close&&f(t.body,null,!0),i)?(h=n.inverseStrip,h.open&&u(t.body,null,!0),h.close&&f(r.body,null,!0),n.closeStrip.open&&u(s.body,null,!0),!this.options.ignoreStandalone&&e(t.body)&&o(r.body)&&(u(t.body),f(r.body))):n.closeStrip.open&&u(t.body,null,!0),c};r.prototype.Decorator=r.prototype.MustacheStatement=function(n){return n.strip};r.prototype.PartialStatement=r.prototype.CommentStatement=function(n){var t=n.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}};t["default"]=r;n.exports=t["default"]},function(n,t,i){"use strict";function r(){this.parents=[]}function u(n){this.acceptRequired(n,"path");this.acceptArray(n.params);this.acceptKey(n,"hash")}function e(n){u.call(this,n);this.acceptKey(n,"program");this.acceptKey(n,"inverse")}function o(n){this.acceptRequired(n,"name");this.acceptArray(n.params);this.acceptKey(n,"hash")}var h=i(1)["default"],s,f;t.__esModule=!0;s=i(6);f=h(s);r.prototype={constructor:r,mutating:!1,acceptKey:function(n,t){var i=this.accept(n[t]);if(this.mutating){if(i&&!r.prototype[i.type])throw new f["default"]('Unexpected node type "'+i.type+'" found when accepting '+t+" on "+n.type);n[t]=i}},acceptRequired:function(n,t){if(this.acceptKey(n,t),!n[t])throw new f["default"](n.type+" requires "+t);},acceptArray:function(n){for(var t=0,i=n.length;t<i;t++)this.acceptKey(n,t),n[t]||(n.splice(t,1),t--,i--)},accept:function(n){if(n){if(!this[n.type])throw new f["default"]("Unknown type: "+n.type,n);this.current&&this.parents.unshift(this.current);this.current=n;var t=this[n.type](n);return this.current=this.parents.shift(),!this.mutating||t?t:t!==!1?n:void 0}},Program:function(n){this.acceptArray(n.body)},MustacheStatement:u,Decorator:u,BlockStatement:e,DecoratorBlock:e,PartialStatement:o,PartialBlockStatement:function(n){o.call(this,n);this.acceptKey(n,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:u,PathExpression:function(){}
72,StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(n){this.acceptArray(n.pairs)},HashPair:function(n){this.acceptRequired(n,"value")}};t["default"]=r;n.exports=t["default"]},function(n,t,i){"use strict";function u(n,t){if(t=t.path?t.path.original:t,n.path.original!==t){var i={loc:n.path.loc};throw new r["default"](n.path.original+" doesn't match "+t,i);}}function e(n,t){this.source=n;this.start={line:t.first_line,column:t.first_column};this.end={line:t.last_line,column:t.last_column}}function o(n){return/^\[.*\]$/.test(n)?n.substring(1,n.length-1):n}function s(n,t){return{open:"~"===n.charAt(2),close:"~"===t.charAt(t.length-3)}}function h(n){return n.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function c(n,t,i){var u,h;i=this.locInfo(i);for(var e=n?"@":"",o=[],s=0,f=0,c=t.length;f<c;f++)if(u=t[f].part,h=t[f].original!==u,e+=(t[f].separator||"")+u,h||".."!==u&&"."!==u&&"this"!==u)o.push(u);else{if(o.length>0)throw new r["default"]("Invalid path: "+e,{loc:i});".."===u&&s++}return{type:"PathExpression",data:n,depth:s,parts:o,original:e,loc:i}}function l(n,t,i,r,u,f){var e=r.charAt(3)||r.charAt(2),o="{"!==e&&"&"!==e,s=/\*/.test(r);return{type:s?"Decorator":"MustacheStatement",path:n,params:t,hash:i,escaped:o,strip:u,loc:this.locInfo(f)}}function a(n,t,i,r){u(n,i);r=this.locInfo(r);var f={type:"Program",body:t,strip:{},loc:r};return{type:"BlockStatement",path:n.path,params:n.params,hash:n.hash,program:f,openStrip:{},inverseStrip:{},closeStrip:{},loc:r}}function v(n,t,i,f,e,o){var h,s,c;if(f&&f.path&&u(n,f),h=/\*/.test(n.open),t.blockParams=n.blockParams,s=void 0,c=void 0,i){if(h)throw new r["default"]("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=f.strip);c=i.strip;s=i.program}return e&&(e=s,s=t,t=e),{type:h?"DecoratorBlock":"BlockStatement",path:n.path,params:n.params,hash:n.hash,program:t,inverse:s,openStrip:n.strip,inverseStrip:c,closeStrip:f&&f.strip,loc:this.locInfo(o)}}function y(n,t){if(!t&&n.length){var i=n[0].loc,r=n[n.length-1].loc;i&&r&&(t={source:i.source,start:{line:i.start.line,column:i.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:n,strip:{},loc:t}}function p(n,t,i,r){return u(n,i),{type:"PartialBlockStatement",name:n.path,params:n.params,hash:n.hash,program:t,openStrip:n.strip,closeStrip:i&&i.strip,loc:this.locInfo(r)}}var w=i(1)["default"],f,r;t.__esModule=!0;t.SourceLocation=e;t.id=o;t.stripFlags=s;t.stripComment=h;t.preparePath=c;t.prepareMustache=l;t.prepareRawBlock=a;t.prepareBlock=v;t.prepareProgram=y;t.preparePartialBlock=p;f=i(6);r=w(f)},function(n,t,i){"use strict";function e(){}function c(n,t,i){if(null==n||"string"!=typeof n&&"Program"!==n.type)throw new r["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+n);t=t||{};"data"in t||(t.data=!0);t.compat&&(t.useDepths=!0);var u=i.parse(n,t),f=(new i.Compiler).compile(u,t);return(new i.JavaScriptCompiler).compile(f,t)}function l(n,t,i){function e(){var r=i.parse(n,t),u=(new i.Compiler).compile(r,t),f=(new i.JavaScriptCompiler).compile(u,t,void 0,!0);return i.template(f)}function o(n,t){return f||(f=e()),f.call(this,n,t)}if(void 0===t&&(t={}),null==n||"string"!=typeof n&&"Program"!==n.type)throw new r["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+n);t=u.extend({},t);"data"in t||(t.data=!0);t.compat&&(t.useDepths=!0);var f=void 0;return o._setup=function(n){return f||(f=e()),f._setup(n)},o._child=function(n,t,i,r){return f||(f=e()),f._child(n,t,i,r)},o}function o(n,t){if(n===t)return!0;if(u.isArray(n)&&u.isArray(t)&&n.length===t.length){for(var i=0;i<n.length;i++)if(!o(n[i],t[i]))return!1;return!0}}function s(n){if(!n.path.parts){var t=n.path;n.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}var a=i(74)["default"],h=i(1)["default"];t.__esModule=!0;t.Compiler=e;t.precompile=c;t.compile=l;var v=i(6),r=h(v),u=i(5),y=i(83),f=h(y),p=[].slice;e.prototype={compiler:e,equals:function(n){var i=this.opcodes.length,r,u,t;if(n.opcodes.length!==i)return!1;for(t=0;t<i;t++)if(r=this.opcodes[t],u=n.opcodes[t],r.opcode!==u.opcode||!o(r.args,u.args))return!1;for(i=this.children.length,t=0;t<i;t++)if(!this.children[t].equals(n.children[t]))return!1;return!0},guid:0,compile:function(n,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=u.extend(a(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,"if":!0,unless:!0,"with":!0,log:!0,lookup:!0},t.knownHelpers),this.accept(n)},compileProgram:function(n){var r=new this.compiler,t=r.compile(n,this.options),i=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[i]=t,this.useDepths=this.useDepths||t.useDepths,i},accept:function(n){if(!this[n.type])throw new r["default"]("Unknown type: "+n.type,n);this.sourceNode.unshift(n);var t=this[n.type](n);return this.sourceNode.shift(),t},Program:function(n){this.options.blockParams.unshift(n.blockParams);for(var i=n.body,r=i.length,t=0;t<r;t++)this.accept(i[t]);return this.options.blockParams.shift(),this.isSimple=1===r,this.blockParams=n.blockParams?n.blockParams.length:0,this},BlockStatement:function(n){var t,i,r;s(n);t=n.program;i=n.inverse;t=t&&this.compileProgram(t);i=i&&this.compileProgram(i);r=this.classifySexpr(n);"helper"===r?this.helperSexpr(n,t,i):"simple"===r?(this.simpleSex
72pr(n),this.opcode("pushProgram",t),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("blockValue",n.path.original)):(this.ambiguousSexpr(n,t,i),this.opcode("pushProgram",t),this.opcode("pushProgram",i),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue"));this.opcode("append")},DecoratorBlock:function(n){var t=n.program&&this.compileProgram(n.program),i=this.setupFullMustacheParams(n,t,void 0),r=n.path;this.useDecorators=!0;this.opcode("registerDecorator",i.length,r.original)},PartialStatement:function(n){var u,t,e,f,i;if(this.usePartial=!0,u=n.program,u&&(u=this.compileProgram(n.program)),t=n.params,t.length>1)throw new r["default"]("Unsupported number of partial arguments: "+t.length,n);t.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):t.push({type:"PathExpression",parts:[],depth:0}));e=n.name.original;f="SubExpression"===n.name.type;f&&this.accept(n.name);this.setupFullMustacheParams(n,u,void 0,!0);i=n.indent||"";this.options.preventIndent&&i&&(this.opcode("appendContent",i),i="");this.opcode("invokePartial",f,e,i);this.opcode("append")},PartialBlockStatement:function(n){this.PartialStatement(n)},MustacheStatement:function(n){this.SubExpression(n);n.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(n){this.DecoratorBlock(n)},ContentStatement:function(n){n.value&&this.opcode("appendContent",n.value)},CommentStatement:function(){},SubExpression:function(n){s(n);var t=this.classifySexpr(n);"simple"===t?this.simpleSexpr(n):"helper"===t?this.helperSexpr(n):this.ambiguousSexpr(n)},ambiguousSexpr:function(n,t,i){var r=n.path,u=r.parts[0],f=null!=t||null!=i;this.opcode("getContext",r.depth);this.opcode("pushProgram",t);this.opcode("pushProgram",i);r.strict=!0;this.accept(r);this.opcode("invokeAmbiguous",u,f)},simpleSexpr:function(n){var t=n.path;t.strict=!0;this.accept(t);this.opcode("resolvePossibleLambda")},helperSexpr:function(n,t,i){var o=this.setupFullMustacheParams(n,t,i),u=n.path,e=u.parts[0];if(this.options.knownHelpers[e])this.opcode("invokeKnownHelper",o.length,e);else{if(this.options.knownHelpersOnly)throw new r["default"]("You specified knownHelpersOnly, but used the unknown helper "+e,n);u.strict=!0;u.falsy=!0;this.accept(u);this.opcode("invokeHelper",o.length,u.original,f["default"].helpers.simpleId(u))}},PathExpression:function(n){this.addDepth(n.depth);this.opcode("getContext",n.depth);var t=n.parts[0],i=f["default"].helpers.scopedId(n),r=!n.depth&&!i&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,n.parts):t?n.data?(this.options.data=!0,this.opcode("lookupData",n.depth,n.parts,n.strict)):this.opcode("lookupOnContext",n.parts,n.falsy,n.strict,i):this.opcode("pushContext")},StringLiteral:function(n){this.opcode("pushString",n.value)},NumberLiteral:function(n){this.opcode("pushLiteral",n.value)},BooleanLiteral:function(n){this.opcode("pushLiteral",n.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(n){var i=n.pairs,t=0,r=i.length;for(this.opcode("pushHash");t<r;t++)this.pushParam(i[t].value);for(;t--;)this.opcode("assignToHash",i[t].key);this.opcode("popHash")},opcode:function(n){this.opcodes.push({opcode:n,args:p.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(n){n&&(this.useDepths=!0)},classifySexpr:function(n){var u=f["default"].helpers.simpleId(n.path),e=u&&!!this.blockParamIndex(n.path.parts[0]),t=!e&&f["default"].helpers.helperExpression(n),i=!e&&(t||u),o,r;return i&&!t&&(o=n.path.parts[0],r=this.options,r.knownHelpers[o]?t=!0:r.knownHelpersOnly&&(i=!1)),t?"helper":i?"ambiguous":"simple"},pushParams:function(n){for(var t=0,i=n.length;t<i;t++)this.pushParam(n[t])},pushParam:function(n){var t=null!=n.value?n.value:n.original||"",i,r;this.stringParams?(t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),n.depth&&this.addDepth(n.depth),this.opcode("getContext",n.depth||0),this.opcode("pushStringParam",t,n.type),"SubExpression"===n.type&&this.accept(n)):(this.trackIds&&(i=void 0,(!n.parts||f["default"].helpers.scopedId(n)||n.depth||(i=this.blockParamIndex(n.parts[0])),i)?(r=n.parts.slice(1).join("."),this.opcode("pushId","BlockParam",i,r)):(t=n.original||t,t.replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",n.type,t))),this.accept(n))},setupFullMustacheParams:function(n,t,i,r){var u=n.params;return this.pushParams(u),this.opcode("pushProgram",t),this.opcode("pushProgram",i),n.hash?this.accept(n.hash):this.opcode("emptyHash",r),u},blockParamIndex:function(n){for(var i,r,t=0,f=this.options.blockParams.length;t<f;t++)if(i=this.options.blockParams[t],r=i&&u.indexOf(i,n),i&&r>=0)return[t,r]}}},function(n,t,i){"use strict";function r(n){this.value=n}function u(){}function h(n,t,i,r,u){var f=t.popStack(),o=i.length,e;for(n&&o--,e=r;e<o;e++)f=t.nameLookup(f,i[e],u);return n?[t.aliasable("container.strict"),"(",f,", ",t.quotedString(i[o]),", ",JSON.stringify(t.source.currentLocation)," )"]:f}var c=i(60)["default"],e=i(1)["default"];t.__esModule=!0;var o=i(4),l=i(6),f=e(l),a=i(5),v=i(91),s=e(v);u.prototype={nameLookup:function(n,t){return this.internalNameLookup(n,t)},depthedLookup:function(n){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(n),")"]},compilerInfo:function(){var n=o.COMPILER_REVISION,t=o.REVISION_CHANGES[n];return[n,t]},appendToBuffer:function(n,t,i){return a.isArray(n)||(n=[n]),n=this.source.wrap(n,t),this.environment.isSimple?["return ",n,";"]:i?["buffer += ",n,";"]:(n.appendToBuffer=!0,n)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(n,t){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",n,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(n,t,i,r){var c,u;this.environment=n;this.options=t;this.stringParams=this.options.stringParams;this.trackIds=this.options.trackIds;
72this.precompile=!r;this.name=this.environment.name;this.isChild=!!i;this.context=i||{decorators:[],programs:[],environments:[]};this.preamble();this.stackSlot=0;this.stackVars=[];this.aliases={};this.registers={list:[]};this.hashes=[];this.compileStack=[];this.inlineStack=[];this.blockParams=[];this.compileChildren(n,t);this.useDepths=this.useDepths||n.useDepths||n.useDecorators||this.options.compat;this.useBlockParams=this.useBlockParams||n.useBlockParams;for(var l=n.opcodes,o=void 0,h=void 0,e=void 0,s=void 0,e=0,s=l.length;e<s;e++)o=l[e],this.source.currentLocation=o.loc,h=h||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=h,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new f["default"]("Compile completed with content left on stack");if(this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),r?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge())),c=this.createFunctionContext(r),this.isChild)return c;u={compiler:this.compilerInfo(),main:c};this.decorators&&(u.main_d=this.decorators,u.useDecorators=!0);var a=this.context,v=a.programs,y=a.decorators;for(e=0,s=v.length;e<s;e++)u[e]=v[e],y[e]&&(u[e+"_d"]=y[e],u.useDecorators=!0);return this.environment.usePartial&&(u.usePartial=!0),this.options.data&&(u.useData=!0),this.useDepths&&(u.useDepths=!0),this.useBlockParams&&(u.useBlockParams=!0),this.options.compat&&(u.compat=!0),r?u.compilerOptions=this.options:(u.compiler=JSON.stringify(u.compiler),this.source.currentLocation={start:{line:1,column:0}},u=this.objectLiteral(u),t.srcName?(u=u.toStringWithSourceMap({file:t.destName}),u.map=u.map&&u.map.toString()):u=u.toString()),u},preamble:function(){this.lastContext=0;this.source=new s["default"](this.options.srcName);this.decorators=new s["default"](this.options.srcName)},createFunctionContext:function(n){var e=this,i="",f=this.stackVars.concat(this.registers.list),r,t,u;return f.length>0&&(i+=", "+f.join(", ")),r=0,c(this.aliases).forEach(function(n){var t=e.aliases[n];t.children&&t.referenceCount>1&&(i+=", alias"+ ++r+"="+n,t.children[0]="alias"+r)}),this.lookupPropertyFunctionIsUsed&&(i+=", "+this.lookupPropertyFunctionVarDeclaration()),t=["container","depth0","helpers","partials","data"],(this.useBlockParams||this.useDepths)&&t.push("blockParams"),this.useDepths&&t.push("depths"),u=this.mergeSource(i),n?(t.push(u),Function.apply(this,t)):this.source.wrap(["function(",t.join(","),") {\n ",u,"}"])},mergeSource:function(n){var e=this.environment.isSimple,f=!this.forceBuffer,r=void 0,u=void 0,t=void 0,i=void 0;return this.source.each(function(n){n.appendToBuffer?(t?n.prepend(" + "):t=n,i=n):(t&&(u?t.prepend("buffer += "):r=!0,i.add(";"),t=i=void 0),u=!0,e||(f=!1))}),f?t?(t.prepend("return "),i.add(";")):u||this.source.push('return "";'):(n+=", buffer = "+(r?"":this.initializeBuffer()),t?(t.prepend("return buffer + "),i.add(";")):this.source.push("return buffer;")),n&&this.source.prepend("var "+n.substring(2)+(r?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(n){var r=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)],i;this.setupHelperArgs(n,0,t);i=this.popStack();t.splice(1,0,i);this.push(this.source.functionCall(r,"call",t))},ambiguousBlockValue:function(){var i=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)],t;this.setupHelperArgs("",0,n,!0);this.flushInline();t=this.topStack();n.splice(1,0,t);this.pushSource(["if (!",this.lastHelper,") { ",t," = ",this.source.functionCall(i,"call",n),"}"])},appendContent:function(n){this.pendingContent?n=this.pendingContent+n:this.pendingLocation=this.source.currentLocation;this.pendingContent=n},append:function(){if(this.isInline())this.replaceStack(function(n){return[" != null ? ",n,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var n=this.popStack();this.pushSource(["if (",n," != null) { ",this.appendToBuffer(n,void 0,!0)," }"]);this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(n){this.lastContext=n},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(n,t,i,r){var u=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(n[u++]));this.resolvePath("context",n,u,t,i)},lookupBlockParam:function(n,t){this.useBlockParams=!0;this.push(["blockParams[",n[0],"][",n[1],"]"]);this.resolvePath("context",t,1)},lookupData:function(n,t,i){n?this.pushStackLiteral("container.data(data, "+n+")"):this.pushStackLiteral("data");this.resolvePath("data",t,0,!0,i)},resolvePath:function(n,t,i,r,u){var e=this;if(this.options.strict||this.options.assumeObjects)return void this.push(h(this.options.strict&&u,this,t,i,n));for(var o=t.length,s=function(i){e.replaceStack(function(u){var f=e.nameLookup(u,t[i],n);return r?[" && ",f]:[" != null ? ",f," : ",u]})},f=i;f<o;f++)s(f)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(n,t){this.pushContext();this.pushString(t);"SubExpression"!==t&&("string"==typeof n?this.pushString(n):this.pushStackLiteral(n))},emptyHash:function(n){this.trackIds&&this.push("{}");this.stringParams&&(this.push("{}"),this.push("{}"));this.pushStackLiteral(n?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash);this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var n=this.hash;this.hash=this.hashes.pop();this.trackIds&&this.push(this.objectLiteral(n.ids));this.stringParams&&(this.push(this.objectLiteral(n.contexts)),this.push(this.objectLiteral(n.types)));this.push(this.objectLiteral(n.values))},pushString:function(n){this.pushStackLiteral(this.quotedString(n))},pushLiteral:function(n){this.pushStackLiteral(n)},pushProgram:function(n){null!=n?this.pushStackLiteral(this.programExpression(n)):this.pushStackLiteral(null)},registerDecorator:function(n,t){var i=this.nameLookup("decorators",t,"decorator"),r=this.setupHelperArgs(t,n);this.decorators.push(["var decorator = ",i,";"]);this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+t+'"'),"); }"]);this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",r])," || fn;"])},invokeHelper:function(n,t,i){var o=this.popStack(),u=this.setupHelper(n,t),r=[],f,e;i&&r.push(u.name);r.push(o);this.options.strict||r.push(this.aliasable("container.hooks.helperMissing"));f=["(",this.itemsSeparatedBy(r,"||"),")"];e=this.source.functionCall(f,"call",u.callParams);this.push(e)},itemsSeparatedBy:function(n,t){var r=[],i;for(r.push(n[0]),i=1;i<n.length;i++)r.push(t,n[i]);return r},invokeKnownHelper:function(n,t){var i=this.setupHelper(n,t);this.push(this.source.functionCall(i.name,"call",i.callParams))},invokeAmbiguous:function(n,t){var u;this.useRegister("helper");u=this.popStack();this.emptyHash();var i=this.setupHelper(0,n,t),f=this.lastHelper=this.nameLookup("helpers",n,"helper"),r=["(","(helper = ",f," || ",u,")"];this.options.strict||(r[0]="(helper = ",r.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing")));this.push(["(",r,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(n,t,i){var u=[],r=this.setupParams(t,1,u);n&&(t=this.popStack(),delete r.name);i&&(r.indent=JSON.stringify(i));r.helpers="helpers";r.partials="partials";r.decorators="container.decorators";n?u.unshift(t):u.unshift(this.nameLookup("partials",t,"partial"));this.options.compat&&(r.depths="depths");r=this.objectLiteral(r);u.push(r);this.push(this.source.functionCall("container.invokePartial","",u))},assignToHash:function(n){var f=this.popStack(),i=void 0,r=void 0,u=void 0,t;this.trackIds&&(u=this.popStack());this.stringParams&&(r=this.popStack(),i=this.popStack());t=this.hash;i&&(t.contexts[n]=i);r&&(t.types[n]=r);u&&(t.ids[n]=u);t.values[n]=f},pushId:function(n,t,i){"BlockParam"===n?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(i?" + "+JSON.stringify("."+i):"")):"PathExpression"===n?this.pushString(t):"Sub
72Expression"===n?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:u,compileChildren:function(n,t){for(var r,u,o=n.children,i=void 0,f=void 0,e=0,s=o.length;e<s;e++)i=o[e],f=new this.compiler,r=this.matchExistingProgram(i),null==r?(u=this.context.programs.push("")-1,i.index=u,i.name="program"+u,this.context.programs[u]=f.compile(i,t,this.context,!this.precompile),this.context.decorators[u]=f.decorators,this.context.environments[u]=i,this.useDepths=this.useDepths||f.useDepths,this.useBlockParams=this.useBlockParams||f.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams):(i.index=r.index,i.name="program"+r.index,this.useDepths=this.useDepths||r.useDepths,this.useBlockParams=this.useBlockParams||r.useBlockParams)},matchExistingProgram:function(n){for(var i,t=0,r=this.context.environments.length;t<r;t++)if(i=this.context.environments[t],i&&i.equals(n))return i},programExpression:function(n){var i=this.environment.children[n],t=[i.index,"data",i.blockParams];return(this.useBlockParams||this.useDepths)&&t.push("blockParams"),this.useDepths&&t.push("depths"),"container.program("+t.join(", ")+")"},useRegister:function(n){this.registers[n]||(this.registers[n]=!0,this.registers.list.push(n))},push:function(n){return n instanceof r||(n=this.source.wrap(n)),this.inlineStack.push(n),n},pushStackLiteral:function(n){this.push(new r(n))},pushSource:function(n){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0);n&&this.source.push(n)},replaceStack:function(n){var u=["("],t=void 0,e=void 0,o=void 0,i,s,h;if(!this.isInline())throw new f["default"]("replaceStack on non-inline");i=this.popStack(!0);i instanceof r?(t=[i.value],u=["(",t],o=!0):(e=!0,s=this.incrStack(),u=["((",this.push(s)," = ",i,")"],t=this.topStack());h=n.call(this,t);o||this.popStack();e&&this.stackSlot--;this.push(u.concat(h,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var u=this.inlineStack,n,f,t,i;for(this.inlineStack=[],n=0,f=u.length;n<f;n++)t=u[n],t instanceof r?this.compileStack.push(t):(i=this.incrStack(),this.pushSource([i," = ",t,";"]),this.compileStack.push(i))},isInline:function(){return this.inlineStack.length},popStack:function(n){var i=this.isInline(),t=(i?this.inlineStack:this.compileStack).pop();if(!n&&t instanceof r)return t.value;if(!i){if(!this.stackSlot)throw new f["default"]("Invalid stack pop");this.stackSlot--}return t},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,n=t[t.length-1];return n instanceof r?n.value:n},contextName:function(n){return this.useDepths&&n?"depths["+n+"]":"depth"+n},quotedString:function(n){return this.source.quotedString(n)},objectLiteral:function(n){return this.source.objectLiteral(n)},aliasable:function(n){var t=this.aliases[n];return t?(t.referenceCount++,t):(t=this.aliases[n]=this.source.wrap(n),t.aliasable=!0,t.referenceCount=1,t)},setupHelper:function(n,t,i){var r=[],u=this.setupHelperArgs(t,n,r,i),f=this.nameLookup("helpers",t,"helper"),e=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:r,paramsInit:u,name:f,callParams:[e].concat(r)}},setupParams:function(n,t,i){var r={},o=[],s=[],h=[],c=!i,l=void 0,f,e,u;for(c&&(i=[]),r.name=this.quotedString(n),r.hash=this.popStack(),this.trackIds&&(r.hashIds=this.popStack()),this.stringParams&&(r.hashTypes=this.popStack(),r.hashContexts=this.popStack()),f=this.popStack(),e=this.popStack(),(e||f)&&(r.fn=e||"container.noop",r.inverse=f||"container.noop"),u=t;u--;)l=this.popStack(),i[u]=l,this.trackIds&&(h[u]=this.popStack()),this.stringParams&&(s[u]=this.popStack(),o[u]=this.popStack());return c&&(r.args=this.source.generateArray(i)),this.trackIds&&(r.ids=this.source.generateArray(h)),this.stringParams&&(r.types=this.source.generateArray(s),r.contexts=this.source.generateArray(o)),this.options.data&&(r.data="data"),this.useBlockParams&&(r.blockParams="blockParams"),r},setupHelperArgs:function(n,t,i,r){var u=this.setupParams(n,t,i);return u.loc=JSON.stringify(this.source.currentLocation),u=this.objectLiteral(u),r?(this.useRegister("options"),i.push("options"),["o
72ptions=",u]):i?(i.push(u),""):u}},function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),i=u.RESERVED_WORDS={},n=0,r=t.length;n<r;n++)i[t[n]]=!0}();u.isValidJavaScriptVariableName=function(n){return!u.RESERVED_WORDS[n]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(n)};t["default"]=u;n.exports=t["default"]},function(n,t,i){"use strict";function f(n,t,i){if(u.isArray(n)){for(var f=[],r=0,e=n.length;r<e;r++)f.push(t.wrap(n[r],i));return f}return"boolean"==typeof n||"number"==typeof n?n+"":n}function e(n){this.srcFile=n;this.source=[]}var o=i(60)["default"],u,r;t.__esModule=!0;u=i(5);r=void 0;try{}catch(s){}r||(r=function(n,t,i,r){this.src="";r&&this.add(r)},r.prototype={add:function(n){u.isArray(n)&&(n=n.join(""));this.src+=n},prepend:function(n){u.isArray(n)&&(n=n.join(""));this.src=n+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});e.prototype={isEmpty:function(){return!this.source.length},prepend:function(n,t){this.source.unshift(this.wrap(n,t))},push:function(n,t){this.source.push(this.wrap(n,t))},merge:function(){var n=this.empty();return this.each(function(t){n.add([" ",t,"\n"])}),n},each:function(n){for(var t=0,i=this.source.length;t<i;t++)n(this.source[t])},empty:function(){var n=this.currentLocation||{start:{}};return new r(n.start.line,n.start.column,this.srcFile)},wrap:function(n){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return n instanceof r?n:(n=f(n,this,t),new r(t.start.line,t.start.column,this.srcFile,n))},functionCall:function(n,t,i){return i=this.generateList(i),this.wrap([n,t?"."+t+"(":"(",i,")"])},quotedString:function(n){return'"'+(n+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(n){var i=this,r=[],t;
72return o(n).forEach(function(t){var u=f(n[t],i);"undefined"!==u&&r.push([i.quotedString(t),":",u])}),t=this.generateList(r),t.prepend("{"),t.add("}"),t},generateList:function(n){for(var i=this.empty(),t=0,r=n.length;t<r;t++)t&&i.add(","),i.add(f(n[t],this));return i},generateArray:function(n){var t=this.generateList(n);return t.prepend("["),t.add("]"),t}};t["default"]=e;n.exports=t["default"]}])}),function(){"use strict";function at(n){for(var i,r,f=Array.prototype.slice.call(arguments,1),t=0,u=f.length;u>t;t+=1)if(i=f[t])for(r in i)e.call(i,r)&&(n[r]=i[r]);return n}function f(n,t,i){this.locales=n;this.formats=t;this.pluralFn=i}function y(n){this.id=n}function p(n,t,i,r,u){this.id=n;this.useOrdinal=t;this.offset=i;this.options=r;this.pluralFn=u}function w(n,t,i,r){this.id=n;this.offset=t;this.numberFormat=i;this.string=r}function b(n,t){this.id=n;this.options=t}function t(n,i,r){var f="string"==typeof n?t.__parse(n):n;if(!f||"messageFormatPattern"!==f.type)throw new TypeError("A message must be provided as a String or AST.");r=this._mergeFormats(t.formats,r);u(this,"_locale",{value:this._resolveLocale(i)});var e=this._findPluralRuleFunction(this._locale),o=this._compilePattern(f,i,r,e),s=this;this.format=function(n){return s._format(o,n)}}function vt(n){return 400*n/146097}function n(n,t){t=t||{};ni(n)&&(n=n.concat());i(this,"_locale",{value:this._resolveLocale(n)});i(this,"_options",{value:{style:this._resolveStyle(t.style),units:this._isValidUnits(t.units)&&t.units}});i(this,"_locales",{value:n});i(this,"_fields",{value:this._findFields(this._locale)});i(this,"_messages",{value:ft(null)});var r=this;this.format=function(n,t){return r._format(n,t)}}function yt(n){var t=ui(null);return function(){var u=Array.prototype.slice.call(arguments),i=pt(u),r=i&&t[i];return r||(r=new(ii.apply(n,[null].concat(u))),i&&(t[i]=r)),r}}function pt(n){if("undefined"!=typeof JSON){for(var t,u=[],i=0,r=n.length;r>i;i+=1)t=n[i],u.push(t&&"object"==typeof t?wt(t):t);return JSON.stringify(u)}}function wt(n){var t,i,f,r,e=[],o=[],u;
72for(t in n)n.hasOwnProperty(t)&&o.push(t);for(u=o.sort(),i=0,f=u.length;f>i;i+=1)t=u[i],r={},r[t]=n[t],e[i]=r;return e}function k(n){for(var i,r,f=Array.prototype.slice.call(arguments,1),t=0,u=f.length;u>t;t+=1)if(i=f[t])for(r in i)i.hasOwnProperty(r)&&(n[r]=i[r]);return n}function bt(n){function t(n,t){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn("{{"+n+"}} is deprecated, use: {{"+t.name+"}}"),t.apply(this,arguments)}}function a(n){if(!n.fn)throw new Error("{{#intl}} must be invoked as a block helper");var t=w(n.data),i=k({},t.intl,n.hash);return t.intl=i,n.fn(this,{data:t})}function r(n,t){var r,u,i,f=t.data&&t.data.intl,e=n.split(".");try{for(i=0,u=e.length;u>i;i++)r=f=f[e[i]]}finally{if(void 0===r)throw new ReferenceError("Could not find Intl object: "+n);}return r}function s(n,t,r){n=new Date(n);f(n,"A date or timestamp must be provided to {{formatDate}}");r||(r=t,t=null);var u=r.data.intl&&r.data.intl.locales,e=i("date",t,r);return ct(u,e).format(n)}function h(n,t,r){n=new Date(n);f(n,"A date or timestamp must be provided to {{formatTime}}");r||(r=t,t=null);var u=r.data.intl&&r.data.intl.locales,e=i("time",t,r);return ct(u,e).format(n)}function v(n,t,r){n=new Date(n);f(n,"A date or timestamp must be provided to {{formatRelative}}");r||(r=t,t=null);var e=r.data.intl&&r.data.intl.locales,u=i("relative",t,r),o=r.hash.now;return delete u.now,oi(e,u).format(n,{now:o})}function c(n,t,r){y(n,"A number must be provided to {{formatNumber}}");r||(r=t,t=null);var u=r.data.intl&&r.data.intl.locales,f=i("number",t,r);return fi(u,f).format(n)}function u(n,t){var i;if(t||(t=n,n=null),i=t.hash,!n&&"string"!=typeof n&&!i.intlName)throw new ReferenceError("{{formatMessage}} must be provided a message or intlName");var u=t.data.intl||{},f=u.locales,e=u.formats;return!n&&i.intlName&&(n=r(i.intlName,t)),"function"==typeof n?n(i):("string"==typeof n&&(n=ei(n,f,e)),n.format(i))}function l(){var n,i,r=[].slice.call(arguments).pop(),t=r.hash;for(n in t)t.hasOwnProperty(n)&&(i=t[n],"string"==typeof i&&(t[n]=b(i)));return new p(String(u.apply(this,arguments)))}function f(n,t){if(!isFinite(n))throw new TypeError(t);}function y(n,t){if("number"!=typeof n)throw new TypeError(t);}function i(n,t,i){var u,f=i.hash;return t?("string"==typeof t&&(u=r("formats."+n+"."+t,i)),u=k({},u,f)):u=f,u}var p=n.SafeString,w=n.createFrame,b=n.Utils.escapeExpression,e={intl:a,intlGet:r,formatDate:s,formatTime:h,formatRelative:v,formatNumber:c,formatMessage:u,formatHTMLMessage:l,intlDate:t("intlDate",s),intlTime:t("intlTime",h),intlNumber:t("intlNumber",c),intlMessage:t("intlMessage",u),intlHTMLMessage:t("intlHTMLMessage",l)};for(var o in e)e.hasOwnProperty(o)&&n.registerHelper(o,e[o])}function d(n){h.__addLocaleData(n);ot.__addLocaleData(n)}var e=Object.prototype.hasOwnProperty,g=function(){try{return!!Object.defineProperty({},"a",{})}catch(n){return!1}}(),u=(!g&&!Object.prototype.__defineGetter__,g?Object.defineProperty:function(n,t,i){"get"in i&&n.__defineGetter__?n.__defineGetter__(t,i.get):(!e.call(n,t)||"value"in i)&&(n[t]=i.value)}),nt=Object.create||function(n,t){function f(){}var r,i;f.prototype=n;r=new f;for(i in t)e.call(t,i)&&u(r,i,t[i]);return r},kt=f,tt,s,it,et,lt;f.prototype.compile=function(n){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(n)};f.prototype.compileMessage=function(n){if(!n||"messageFormatPattern"!==n.type)throw new Error('Message AST is not of type: "messageFormatPattern"');for(var i,f=n.elements,r=[],t=0,u=f.length;u>t;t+=1)switch(i=f[t],i.type){case"messageTextElement":r.push(this.compileMessageText(i));break;case"argumentElement":r.push(this.compileArgument(i));break;default:throw new Error("Message element does not have a valid type");}return r};f.prototype.compileMessageText=function(n){return this.currentPlural&&/(^|[^\\])#/g.test(n.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new w(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,n.value)):n.value.replace(/\\#/g,"#")};f.prototype.compileArgument=function(n){var i=n.format;
vendor: 10,133 bytes, line 72
72if(!i)return new y(n.id);var t,r=this.formats,u=this.locales,f=this.pluralFn;switch(i.type){case"numberFormat":return t=r.number[i.style],{id:n.id,format:new Intl.NumberFormat(u,t).format};case"dateFormat":return t=r.date[i.style],{id:n.id,format:new Intl.DateTimeFormat(u,t).format};case"timeFormat":return t=r.time[i.style],{id:n.id,format:new Intl.DateTimeFormat(u,t).format};case"pluralFormat":return t=this.compileOptions(n),new p(n.id,i.ordinal,i.offset,t,f);case"selectFormat":return t=this.compileOptions(n),new b(n.id,t);default:throw new Error("Message element does not have a valid format type");}};f.prototype.compileOptions=function(n){var r=n.format,u=r.options,f={},t,e,i;for(this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===r.type?n:null,t=0,e=u.length;e>t;t+=1)i=u[t],f[i.selector]=this.compileMessage(i.value);return this.currentPlural=this.pluralStack.pop(),f};y.prototype.format=function(n){return n?"string"==typeof n?n:String(n):""};p.prototype.getOption=function(n){var t=this.options,i=t["="+n]||t[this.pluralFn(n-this.offset,this.useOrdinal)];return i||t.other};w.prototype.format=function(n){var t=this.numberFormat.format(n-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+t).replace(/\\#/g,"#")};b.prototype.getOption=function(n){var t=this.options;return t[n]||t.other};tt=function(){function t(n,t){function i(){this.constructor=n}i.prototype=t.prototype;n.prototype=new i}function n(n,t,i,r,u,f){this.message=n;this.expected=t;this.found=i;this.offset=r;this.line=u;this.column=f;this.name="SyntaxError"}function i(t){function si(n){function i(n,i,r){for(var u,f=i;r>f;f++)u=t.charAt(f),"\n"===u?(n.seenCR||n.line++,n.column=1,n.seenCR=!1):"\r"===u||"\u2028"===u||"\u2029"===u?(n.line++,n.column=1,n.seenCR=!0):(n.column++,n.seenCR=!1)}return l!==n&&(l>n&&(l=0,nt={line:1,column:1,seenCR:!1}),i(nt,l,n),l=n),nt}function e(n){b>i||(i>b&&(b=i,tt=[]),tt.push(n))}function hi(i,r,u){function o(n){var t=1;for(n.sort(function(n,t){return n.description<t.description?-1:n.description>t.description?1:0});t<n.length;)n[t-1]===n[t]?n.splice(t,1):t++}function s(n,t){function e(n){function t(n){return n.charCodeAt(0).toString(16).toUpperCase()}return n.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(n){return"\\x0"+t(n)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(n){return"\\x"+t(n)}).replace(/[\u0180-\u0FFF]/g,function(n){return"\\u0"+t(n)}).replace(/[\u1080-\uFFFF]/g,function(n){return"\\u"+t(n)})}for(var u,f,r=new Array(n.length),i=0;i<n.length;i++)r[i]=n[i].description;return u=n.length>1?r.slice(0,-1).join(", ")+" or "+r[n.length-1]:r[0],f=t?'"'+e(t)+'"':"end of input","Expected "+u+" but "+f+" found."}var f=si(u),e=u<t.length?t.charAt(u):null;return null!==r&&o(r),new n(null!==i?i:s(r,e),r,e,u,f.line,f.column)}function it(){return rt()}function rt(){var u,n,t;for(u=i,n=[],t=ut();t!==r;)n.push(t),t=ut();return n!==r&&(s=u,n=nr(n)),u=n}function ut(){var n;return n=li(),n===r&&(n=vi()),n}function ci(){var h,f,n,e,c,l;if(h=i,f=[],n=i,e=o(),e!==r?(c=y(),c!==r?(l=o(),l!==r?(e=[e,c,l],n=e):(i=n,n=u)):(i=n,n=u)):(i=n,n=u),n!==r)for(;n!==r;)f.push(n),n=i,e=o(),e!==r?(c=y(),c!==r?(l=o(),l!==r?(e=[e,c,l],n=e):(i=n,n=u)):(i=n,n=u)):(i=n,n=u);else f=u;return f!==r&&(s=h,f=tr(f)),h=f,h===r&&(h=i,f=k(),f!==r&&(f=t.substring(h,i)),h=f),h}function li(){var t,n;return t=i,n=ci(),n!==r&&(s=t,n=ir(n)),t=n}function ai(){var o,s,n;if(o=d(),o===r){if(o=i,s=[],ct.test(t.charAt(i))?(n=t.charAt(i),i++):(n=r,0===f&&e(lt)),n!==r)for(;n!==r;)s.push(n),ct.test(t.charAt(i))?(n=t.charAt(i),i++):(n=r,0===f&&e(lt));else s=u;s!==r&&(s=t.substring(o,i));o=s}return o}function vi(){var n,y,b,p,k,l,a,v,w;return n=i,123===t.charCodeAt(i)?(y=at,i++):(y=r,0===f&&e(vt)),y!==r?(b=o(),b!==r?(p=ai(),p!==r?(k=o(),k!==r?(l=i,44===t.charCodeAt(i)?(a=h,i++):(a=r,0===f&&e(c)),a!==r?(v=o(),v!==r?(w=yi(),w!==r?(a=[a,v,w],l=a):(i=l,l=u)):(i=l,l=u)):(i=l,l=u),l===r&&(l=g),l!==r?(a=o(),a!==r?(125===t.charCodeAt(i)?(v=yt,i++):(v=r,0===f&&e(pt)),v!==r?(s=n,y=rr(p,l),n=y):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u),n}function yi(){var n;return n=pi(),n===r&&(n=wi(),n===r&&(n=bi(),n===r&&(n=ki()))),n}function pi(){var a,n,b,l,v,p,w;return a=i,t.substr(i,6)===wt?(n=wt,i+=6):(n=r,0===f&&e(ur)),n===r&&(t.substr(i,4)===bt?(n=bt,i+=4):(n=r,0===f&&e(fr)),n===r&&(t.substr(i,4)===kt?(n=kt,i+=4):(n=r,0===f&&e(er)))),n!==r?(b=o(),b!==r?(l=i,44===t.charCodeAt(i)?(v=h,i++):(v=r,0===f&&e(c)),v!==r?(p=o(),p!==r?(w=y(),w!==r?(v=[v,p,w],l=v):(i=l,l=u)):(i=l,l=u)):(i=l,l=u),l===r&&(l=g),l!==r?(s=a,n=or(n,l),a=n):(i=a,a=u)):(i=a,a=u)):(i=a,a=u),a}function wi(){var n,l,y,a,p,v;return n=i,t.substr(i,6)===dt?(l=dt,i+=6):(l=r,0===f&&e(sr)),l!==r?(y=o(),y!==r?(44===t.charCodeAt(i)?(a=h,i++):(a=r,0===f&&e(c)),a!==r?(p=o(),p!==r?(v=ft(),v!==r?(s=n,l=hr(v),n=l):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u),n}function bi(){var n,l,y,a,p,v;return n=i,t.substr(i,13)===gt?(l=gt,i+=13):(l=r,0===f&&e(cr)),l!==r?(y=o(),y!==r?(44===t.charCodeAt(i)?(a=h,i++):(a=r,0===f&&e(c)),a!==r?(p=o(),p!==r?(v=ft(),v!==r?(s=n,l=lr(v),n=l):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u),n}function ki(){var n,l,w,p,b,v,y;if(n=i,t.substr(i,6)===ni?(l=ni,i+=6):(l=r,0===f&&e(ar)),l!==r)if(w=o(),w!==r)if(44===t.charCodeAt(i)?(p=h,i++):(p=r,0===f&&e(c)),p!==r)if(b=o(),b!==r){if(v=[],y=a(),y!==r)for(;y!==r;)v.push(y),y=a();else v=u;v!==r?(s=n,l=vr(v),n=l):(i=n,n=u)}else i=n,n=u;else i=n,n=u;else i=n,n=u;else i=n,n=u;return n}function di(){var o,n,s,h;return o=i,n=i,61===t.charCodeAt(i)?(s=yr,i++):(s=r,0===f&&e(pr)),s!==r?(h=d(),h!==r?(s=[s,h],n=s):(i=n,n=u)):(i=n,n=u),n!==r&&(n=t.substring(o,i)),o=n,o===r&&(o=y()),o}function a(){var n,h,c,y,l,p,a,w,v;return n=i,h=o(),h!==r?(c=di(),c!==r?(y=o(),y!==r?(123===t.charCodeAt(i)?(l=at,i++):(l=r,0===f&&e(vt)),l!==r?(p=o(),p!==r?(a=rt(),a!==r?(w=o(),w!==r?(125===t.charCodeAt(i)?(v=yt,i++):(v=r,0===f&&e(pt)),v!==r?(s=n,h=wr(c,a),n=h):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u)):(i=n,n=u),n}function gi(){var n,h,l,c;return n=i,t.substr(i,7)===ti?(h=ti,i+=7):(h=r,0===f&&e(br)),h!==r?(l=o(),l!==r?(c=d(),c!==r?(s=n,h=kr(c),n=h):(i=n,n=u)):(i=n,n=u)):(i=n,n=u),n}function ft(){var n,t,h,f,e;if(n=i,t=gi(),t===r&&(t=g),t!==r)if(h=o(),h!==r){if(f=[],e=a(),e!==r)for(;e!==r;)f.push(e),e=a();else f=u;f!==r?(s=n,t=dr(t,f),n=t):(i=n,n=u)}else i=n,n=u;else i=n,n=u;return n}function k(){var o,n;if(f++,o=[],ii.test(t.charAt(i))?(n=t.charAt(i),i++):(n=r,0===f&&e(ri)),n!==r)for(;n!==r;)o.push(n),ii.test(t.charAt(i))?(n=t.charAt(i),i++):(n=r,0===f&&e(ri));else o=u;return f--,o===r&&(n=r,0===f&&e(gr)),o}function o(){var u,n,o;for(f++,u=i,n=[],o=k();o!==r;)n.push(o),o=k();return n!==r&&(n=t.substring(u,i)),u=n,f--,u===r&&(n=r,0===f&&e(nu)),u}function et(){var n;return tu.test(t.charAt(i))?(n=t.charAt(i),i++):(n=r,0===f&&e(iu)),n}function v(){var n;return ru.test(t.charAt(i))?(n=t.charAt(i),i++):(n=r,0===f&&e(uu)),n}function d(){var a,n,o,h,c,l;if(a=i,48===t.charCodeAt(i)?(n=fu,i++):(n=r,0===f&&e(eu)),n===r){if(n=i,o=i,ou.test(t.charAt(i))?(h=t.charAt(i),i++):(h=r,0===f&&e(su)),h!==r){for(c=[],l=et();l!==r;)c.push(l),l=et();c!==r?(h=[h,c],o=h):(i=o,o=u)}else i=o,o=u;o!==r&&(o=t.substring(n,i));n=o}return n!==r&&(s=a,n=hu(n)),a=n}function ot(){var n,o,c,h,l,a,y,p;return cu.test(t.charAt(i))?(n=t.charAt(i),i++):(n=r,0===f&&e(lu)),n===r&&(n=i,t.substr(i,2)===ui?(o=ui,i+=2):(o=r,0===f&&e(au)),o!==r&&(s=n,o=vu()),n=o,n===r&&(n=i,t.substr(i,2)===fi?(o=fi,i+=2):(o=r,0===f&&e(yu)),o!==r&&(s=n,o=pu()),n=o,n===r&&(n=i,t.substr(i,2)===ei?(o=ei,i+=2):(o=r,0===f&&e(wu)),o!==r&&(s=n,o=bu()),n=o,n===r&&(n=i,t.substr(i,2)===oi?(o=oi,i+=2):(o=r,0===f&&e(ku)),o!==r?(c=i,h=i,l=v(),l!==r?(a=v(),a!==r?(y=v(),y!==r?(p=v(),p!==r?(l=[l,a,y,p],h=l):(i=h,h=u)):(i=h,h=u)):(i=h,h=u)):(i=h,h=u),h!==r&&(h=t.substring(c,i)),c=h,c!==r?(s=n,o=du(c),n=o):(i=n,n=u)):(i=n,n=u))))),n}function y(){var f,n,t;if(f=i,n=[],t=ot(),t!==r)for(;t!==r;)n.push(t),t=ot();else n=u;return n!==r&&(s=f,n=gu(n)),f=n}var p,w=arguments.length>1?arguments[1]:{},r={},st={start:it},ht=it,nr=function(n){return{type:"messageFormatPattern",elements:n}},u=r,tr=function(n){for(var i,r,f,e="",t=0,u=n.length;u>t;t+=1)for(r=n[t],i=0,f=r.length;f>i;i+=1)e+=r[i];return e},ir=function(n){return{type:"messageTextElement",value:n}},ct=/^[^ \t\n\r,.+={}#]/,lt={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},at="{",vt={type:"literal",value:"{",description:'"{"'},g=null,h=",",c={type:"literal",value:",",description:'","'},yt="}",pt={type:"literal",value:"}",description:'"}"'},rr=function(n,t){return{type:"argumentElement",id:n,format:t&&t[2]}},wt="number",ur={type:"literal",value:"number",description:'"number"'},bt="date",fr={type:"literal",value:"date",description:'"date"'},kt="time",er={type:"literal",value:"time",description:'"time"'},or=function(n,t){return{type:n+"Format",style:t&&t[2]}},dt="plural",sr={type:"literal",value:"plural",description:'"plural"'},hr=function(n){return{type:n.type,ordinal:!1,offset:n.offset||0,options:n.options}},gt="selectordinal",cr={type:"literal",value:"selectordinal",description:'"selectordinal"'},lr=function(n){return{type:n.type,ordinal:!0,offset:n.offset||0,options:n.options}},ni="select",ar={type:"literal",value:"select",description:'"select"'},vr=function(n){return{type:"selectFormat",options:n}},yr="=",pr={type:"literal",value:"=",description:'"="'},wr=function(n,t){return{type:"optionalFormatPattern",selector:n,value:t}},ti="offset:",br={type:"literal",value:"offset:",description:'"offset:"'},kr=function(n){return n},dr=function(n,t){return{type:"pluralFormat",offset:n,options:t}},gr={type:"other",description:"whitespace"},ii=/^[ \t\n\r]/,ri={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},nu={type:"other",description:"optionalWhitespace"},tu=/^[0-9]/,iu={type:"class",value:"[0-9]",description:"[0-9]"},ru=/^[0-9a-f]/i,uu={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"}
72,fu="0",eu={type:"literal",value:"0",description:'"0"'},ou=/^[1-9]/,su={type:"class",value:"[1-9]",description:"[1-9]"},hu=function(n){return parseInt(n,10)},cu=/^[^{}\\\0-\x1F� \t\n\r]/,lu={type:"class",value:"[^{}\\\\\\0-\\x1F� \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F� \\t\\n\\r]"},ui="\\#",au={type:"literal",value:"\\#",description:'"\\\\#"'},vu=function(){return"\\#"},fi="\\{",yu={type:"literal",value:"\\{",description:'"\\\\{"'},pu=function(){return"{"},ei="\\}",wu={type:"literal",value:"\\}",description:'"\\\\}"'},bu=function(){return"}"},oi="\\u",ku={type:"literal",value:"\\u",description:'"\\\\u"'},du=function(n){return String.fromCharCode(parseInt(n,16))},gu=function(n){return n.join("")},i=0,s=0,l=0,nt={line:1,column:1,seenCR:!1},b=0,tt=[],f=0;if("startRule"in w){if(!(w.startRule in st))throw new Error("Can't start parsing from rule \""+w.startRule+'".');ht=st[w.startRule]}if(p=ht(),p!==r&&i===t.length)return p;throw p!==r&&i<t.length&&e({type:"end",description:"end of input"}),hi(null,tt,b);}return t(n,Error),{SyntaxError:n,parse:i}}();s=t;u(t,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}});u(t,"__localeData__",{value:nt(null)});u(t,"__addLocaleData",{value:function(n){if(!n||!n.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");t.__localeData__[n.locale.toLowerCase()]=n}});u(t,"__parse",{value:tt.parse});u(t,"defaultLocale",{enumerable:!0,writable:!0,value:void 0});t.prototype.resolvedOptions=function(){return{locale:this._locale}};t.prototype._compilePattern=function(n,t,i,r){var u=new kt(t,i,r);return u.compile(n)};t.prototype._findPluralRuleFunction=function(n){for(var r=t.__localeData__,i=r[n.toLowerCase()];i;){if(i.pluralRuleFunction)return i.pluralRuleFunction;i=i.parentLocale&&r[i.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+n);};t.prototype._format=function(n,t){for(var i,u,f,o="",r=0,s=n.length;s>r;r+=1)if(i=n[r],"string"!=typeof i){if(u=i.id,!t||!e.call(t,u))throw new Error("A value must be provided for: "+u);f=t[u];o+=i.options?this._format(i.getOption(f),t):i.format(f)}else o+=i;return o};t.prototype._mergeFormats=function(n,t){var i,r,u={};for(i in n)e.call(n,i)&&(u[i]=r=nt(n[i]),t&&e.call(t,i)&&at(r,t[i]));return u};t.prototype._resolveLocale=function(n){var i,u,r,f,e,o;for("string"==typeof n&&(n=[n]),n=(n||[]).concat(t.defaultLocale),e=t.__localeData__,i=0,u=n.length;u>i;i+=1)for(r=n[i].toLowerCase().split("-");r.length;){if(f=e[r.join("-")])return f.locale;r.pop()}o=n.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+n.join(", ")+", or the default locale: "+o);};it={locale:"en",pluralRuleFunction:function(n,t){var i=String(n).split("."),e=!i[1],f=Number(i[0])==n,r=f&&i[0].slice(-1),u=f&&i[0].slice(-2);return t?1==r&&11!=u?"one":2==r&&12!=u?"two":3==r&&13!=u?"few":"other":1==n&&e?"one":"other"}};s.__addLocaleData(it);s.defaultLocale="en";var h=s,r=Math.round,dt=function(n,t){n=+n;t=+t;var u=r(t-n),f=r(u/1e3),e=r(f/60),o=r(e/60),i=r(o/24),h=r(i/7),s=vt(i),c=r(12*s),l=r(s);return{millisecond:u,second:f,minute:e,hour:o,day:i,week:h,month:c,year:l}},rt=Object.prototype.hasOwnProperty,gt=Object.prototype.toString,ut=function(){try{return!!Object.defineProperty({},"a",{})}catch(n){return!1}}(),i=(!ut&&!Object.prototype.__defineGetter__,ut?Object.defineProperty:function(n,t,i){"get"in i&&n.__defineGetter__?n.__defineGetter__(t,i.get):(!rt.call(n,t)||"value"in i)&&(n[t]=i.value)}),ft=Object.create||function(n,t){function f(){}var u,r;f.prototype=n;u=new f;for(r in t)rt.call(t,r)&&i(u,r,t[r]);return u},l=Array.prototype.indexOf||function(n,t){var r=this,i,u;if(!r.length)return-1;for(i=t||0,u=r.length;u>i;i++)if(r[i]===n)return i;return-1},ni=Array.isArray||function(n){return"[object Array]"===gt.call(n)},ti=Date.now||function(){return(new Date).getTime()},a=n,o=["second","minute","hour","day","month","year"],v=["best fit","numeric"];i(n,"__localeData__",{value:ft(null)});i(n,"__addLocaleData",{value:function(t){if(!t||!t.locale)throw new Error("Locale data provided to IntlRelativeFormat is missing a `locale` property value");n.__localeData__[t.locale.toLowerCase()]=t;h.__addLocaleData(t)}});i(n,"defaultLocale",{enumerable:!0,writable:!0,value:void 0});i(n,"thresholds",{enumerable:!0,value:{second:45,minute:45,hour:22,day:26,month:11}});n.prototype.resolvedOptions=function(){return{locale:this._locale,style:this._options.style,units:this._options.units}};n.prototype._compileMessage=function(n){var t,e=this._locales,o=(this._locale,this._fields[n]),i=o.relativeTime,r="",u="",f;for(t in i.future)i.future.hasOwnProperty(t)&&(r+=" "+t+" {"+i.future[t].replace("{0}","#")+"}");for(t in i.past)i.past.hasOwnProperty(t)&&(u+=" "+t+" {"+i.past[t].replace("{0}","#")+"}");return f="{when, select, future {{0, plural, "+r+"}}past {{0, plural, "+u+"}}}",new h(f,e)};n.prototype._getMessage=function(n){var t=this._messages;return t[n]||(t[n]=this._compileMessage(n)),t[n]};n.prototype._getRelativeUnits=function(n,t){var i=this._fields[t];if(i.relative)return i.relative[n]};n.prototype._findFields=function(t){for(var r=n.__localeData__,i=r[t.toLowerCase()];i;){if(i.fields)return i.fields;i=i.parentLocale&&r[i.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlRelativeFormat is missing `fields` for :"+t);};n.prototype._format=function(n,t){var i=t&&void 0!==t.now?t.now:ti(),f;if(void 0===n&&(n=i),!isFinite(i))throw new RangeError("The `now` option provided to IntlRelativeFormat#format() is not in valid range.");if(!isFinite(n))throw new RangeError("The date value provided to IntlRelativeFormat#format() is not in valid range.");var e=dt(i,n),r=this._options.units||this._selectUnits(e),u=e[r];return"numeric"!==this._options.style&&(f=this._getRelativeUnits(u,r),f)?f
72:this._getMessage(r).format({0:Math.abs(u),when:0>u?"past":"future"})};n.prototype._isValidUnits=function(n){if(!n||l.call(o,n)>=0)return!0;if("string"==typeof n){var t=/s$/.test(n)&&n.substr(0,n.length-1);if(t&&l.call(o,t)>=0)throw new Error('"'+n+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+t);}throw new Error('"'+n+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+o.join('", "')+'"');};n.prototype._resolveLocale=function(t){var i,u,r,f,e,o;for("string"==typeof t&&(t=[t]),t=(t||[]).concat(n.defaultLocale),e=n.__localeData__,i=0,u=t.length;u>i;i+=1)for(r=t[i].toLowerCase().split("-");r.length;){if(f=e[r.join("-")])return f.locale;r.pop()}o=t.pop();throw new Error("No locale data has been added to IntlRelativeFormat for: "+t.join(", ")+", or the default locale: "+o);};n.prototype._resolveStyle=function(n){if(!n)return v[0];if(l.call(v,n)>=0)return n;throw new Error('"'+n+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+v.join('", "')+'"');};n.prototype._selectUnits=function(t){for(var r,i=0,u=o.length;u>i&&(r=o[i],!(Math.abs(t[r])<n.thresholds[r]));i+=1);return r};et={locale:"en",pluralRuleFunction:function(n,t){var i=String(n).split("."),e=!i[1],f=Number(i[0])==n,r=f&&i[0].slice(-1),u=f&&i[0].slice(-2);return t?1==r&&11!=u?"one":2==r&&12!=u?"two":3==r&&13!=u?"few":"other":1==n&&e?"one":"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"Hour",relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},minute:{displayName:"Minute",relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}}}};a.__addLocaleData(et);a.defaultLocale="en";var ot=a,ii=Function.prototype.bind||function(n){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var r=Array.prototype.slice.call(arguments,1),u=this,t=function(){},i=function(){return u.apply(this instanceof t?this:n,r.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(t.prototype=this.prototype),i.prototype=new t,i},st=Object.prototype.hasOwnProperty,ht=function(){try{return!!Object.defineProperty({},"a",{})}catch(n){return!1}}(),ri=(!ht&&!Object.prototype.__defineGetter__,ht?Object.defineProperty:function(n,t,i){"get"in i&&n.__defineGetter__?n.__defineGetter__(t,i.get):(!st.call(n,t)||"value"in i)&&(n[t]=i.value)}),ui=Object.create||function(n,t){function u(){}var r,i;u.prototype=n;r=new u;for(i in t)st.call(t,i)&&ri(r,i,t[i]);return r},c=yt,fi=c(Intl.NumberFormat),ct=c(Intl.DateTimeFormat),ei=c(h),oi=c(ot),si={locale:"en",pluralRuleFunction:function(n,t){var i=String(n).split("."),e=!i[1],f=Number(i[0])==n,r=f&&i[0].slice(-1),u=f&&i[0].slice(-2);return t?1==r&&11!=u?"one":2==r&&12!=u?"two":3==r&&13!=u?"few":"other":1==n&&e?"one":"other"},fields:{year:{displayName:"Year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},month:{displayName:"Month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},day:{displayName:"Day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"Hour",relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},minute:{displayName:"Minute",relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},second:{displayName:"Second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}}}};d(si);lt={registerWith:bt,__addLocaleData:d};this.HandlebarsIntl=lt}.call(this);HandlebarsIntl.__addLocaleData({locale:"tr",pluralRuleFunction:function(n,t){return t?"other":n==1?"one":"other"},fields:{year:{displayName:"Yıl",relative:{"0":"bu yıl","1":"gelecek yıl","-1":"geçen yıl"},relativeTime:{future:{one:"{0} yıl sonra",other:"{0} yıl sonra"},past:{one:"{0} yıl önce",other:"{0} yıl önce"}}},month:{displayName:"Ay",relative:{"0":"bu ay","1":"gelecek ay","-1":"geçen ay"},relativeTime:{future:{one:"{0} ay sonra",other:"{0} ay sonra"},past:{one:"{0} ay önce",other:"{0} ay önce"}}},day:{displayName:"Gün",relative:{"0":"bugün","1":"yarın","2":"öbür gün","-1":"dün","-2":"evvelsi gün"},relativeTime:{future:{one:"{0} gün sonra",other:"{0} gün sonra"},past:{one:"{0} gün önce",other:"{0} gün önce"}}},hour:{displayName:"Saat",relativeTime:{future:{one:"{0} saat sonra",other:"{0} saat sonra"},past:{one:"{0} saat önce",other:"{0} saat önce"}}},minute:{displayName:"Dakika",relativeTime:{future:{one:"{0} dakika sonra",other:"{0} dakika sonra"},past:{one:"{0} dakika önce",other:"{0} dakika önce"}}},second:{displayName:"Saniye",relative:{"0":"Åimdi"},relativeTime:{future:{one:"{0} saniye sonra",other:"{0} saniye sonra"},past:{one:"{0} saniye önce",other:"{0} saniye önce"}}}}});HandlebarsIntl.__addLocaleData({locale:"tr-CY",parentLocale:"tr"});HandlebarsIntl.__addLocaleData({locale:"tr-TR",parentLocale:"tr"});$(".navbar-toggler").click(function(){var n=$("#collapseHamburger").attr("aria-expanded");n==="true"?($("#hamburger").attr("class","hamburger").attr("src","/images/hamburger.png"),$("#bodyBody").css("overflow","auto"),$("#body-container,#top-footer-container").css("opacity","100"),$("#menuDiv").css("display","none")):($("#hamburger").attr("class","cross menu-icon").attr("src","/images/close.png"),$("#bodyBody").css("overflow","hidden"),$("#menuDiv").css("display","block"),$("#menuDiv").css("overflow","auto"),document.getElementById("menuDiv").style.height=$(window).height()+"px",$("#body-container,#top-footer-container").css("opacity","0"))});$(".card").on("shown.bs.collapse",function(n){$(this).hasClass("subcard")?($(this).find(".sub-menu
72-plus-icon").attr("src","/images/minus_hamburger.svg"),n.stopPropagation()):($(this).find(".menu-plus-icon").attr("src","/images/minus_hamburger.svg"),n.stopPropagation())});$(".card").on("hidden.bs.collapse",function(n){$(this).hasClass("subcard")?($(this).find(".sub-menu-plus-icon").attr("src","/images/plus_hamburger.svg"),n.stopPropagation()):($(this).find(".menu-plus-icon").attr("src","/images/plus_hamburger.svg"),n.stopPropagation())});$(document).ready(function(){$(".general-bulletin-slick-home").slick({slidesToShow:1,dots:!0,adaptiveHeight:!0,arrows:!0,infinite:!0,speed:2e3,autoplay:!0,autoplaySpeed:4e3});$(".general-bulletin-slick-home-3").slick({infinite:!0,slidesToShow:3,slidesToScroll:3,dots:!0,arrows:!0,speed:500,autoplay:!1,autoplaySpeed:4e3,responsive:[{breakpoint:768,settings:{slidesToShow:3,adaptiveHeight:!0}},{breakpoint:601,settings:{slidesToShow:2,adaptiveHeight:!0}},{breakpoint:480,settings:{slidesToShow:1,adaptiveHeight:!0}}]});$(".general-bulletin-slick-photo").slick({infinite:!0,slidesToShow:3,slidesToScroll:1,dots:!0,arrows:!0,speed:500,autoplay:!0,autoplaySpeed:4e3,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1,dots:!1,arrows:!1}}]});$(".general-bulletin-slick").slick({centerMode:!0,centerPadding:"0px",slidesToShow:3,slidesToScroll:3,dots:!0,infinite:!1,adaptiveHeight:!0,arrows:!0,responsive:[{breakpoint:768,settings:{centerPadding:"0px",slidesToShow:3,adaptiveHeight:!0}},{breakpoint:601,settings:{centerPadding:"0px",slidesToShow:2,adaptiveHeight:!0}},{breakpoint:480,settings:{centerPadding:"0px",slidesToShow:1,adaptiveHeight:!0}}]})});$(".general-bulletin-slick-home").on("init",function(){$(".general-bulletin-slick-home .slick-prev").prependTo(".general-bulletin-slick-home .slick-dots");$(".general-bulletin-slick-home .slick-next").prependTo(".general-bulletin-slick-home .slick-dots");var i=$(".general-bulletin-slick-home .slick-dots li").length,t=i*15,n=document.querySelectorAll(".general-bulletin-slick-home .slick-prev")[0];n.style.left="calc((50% - ("+t+"px)) - 15px)";n=document.querySelectorAll(".general-bulletin-slick-home .slick-next")[0];n.style.right="calc((50% - ("+t+"px)) - 15px)"});(function(n){if(bindAccorrdionClick(),n(".alan-kodu").mask("B00",{translation:{B:{pattern:/[2-5]/}}}),n(".cep-alan-kodu").mask("B00",{translation:{B:{pattern:/5/}}}),n(".phone-tr").mask("(000)0000000"),n(".cell-phone-tr").mask("(B00)0000000",{translation:{B:{pattern:/5/}}}),n(".txtTc").mask("00000000000"),n(".money").mask("#.##0",{reverse:!0}),n(".credit-card").mask("0000-0000-0000-0000"),n(".tc-serial").mask("A00A00000",{translation:{A:{pattern:/[A-Za-z]/}}}),window.location.hash){var t=n(window.location.hash);t.length>0&&n(window.location.hash).trigger("click")}})(jQuery);$(window).scroll(function(){var n=$(window).scrollTop();n>0?$("#header").addClass("ahe-box-shadow-bottom"):$("#header").removeClass("ahe-box-shadow-bottom")});checkTcNum=function(n){var r,i,t,e;for(n=n.toString(),r=/^[0-9]{11}$/.test(n),i=0,t=0;t<10;t++)i+=Number(n.substr(t,1));var o=i%10===Number(n.substr(10,1)),u=0,f=0;for(t=0;t<10;t+=2)u+=Number(n.substr(t,1));for(t=1;t<10;t+=2)f+=Number(n.substr(t,1));return e=(u*7-f)%10===Number(n.substr(9,0)),r&&o&&e};$(document).ready(function(){$(".ahe-multiselect.floating-label label").on("click",function(){var i=$(this),n=i.parent(),t;n.hasClass("is-focused")||n.hasClass("ahe-is-focused")||n.hasClass("has-value")||(t=n.find("button"),setTimeout(function(){t[0].click()},0))});$(".ahe-multiselect select").on("show.bs.select",function(){var n=$(this),i=n.parent().parent(),t=n.selectpicker("val"),r=0;t!=null&&(r=t.length);i.addClass("ahe-is-focused")});$(".ahe-multiselect select").on("hide.bs.select",function(){var t=$(this),n=t.parent().parent(),i=t.selectpicker("val"),r=0;i!=null&&(r=i.length);n.removeClass("has-value");n.removeClass("ahe-is-focused");r>0&&n.addClass("has-value")});$(".ahe-multiselect select").on("changed.bs.select",function(){var t=$(this),i=t.parent().parent(),r=t.selectpicker("val"),n=0;r!=null&&(n=r.length);i.addClass("ahe-is-focused");(n>0||n==0)&&setTimeout(function(){i.addClass("has-value")},0)});Handlebars.registerHelper("decimal",function(n){return n==null?null:n.toFixed(2)});Handlebars.registerHelper("ifMod",function(n,t,i,r,u){return n%t==i||n==r-1&&i>0?u.fn(this):u.inverse(this)});HandlebarsIntl.registerWith(Handlebars)});arrSum=function(n){return n.reduce(function(n,t){return n+t},0)};$(document).ready(function(){$("input[type=radio][name=calculationoption]").change(function(){var n=this;$("#salarycalculationbuttonpanel").removeClass("d-none");$("#salarydurationformgroup").addClass("d-none");$("#salaryamountformgroup").addClass("d-none");n.value=="0"?$("#salarydurationformgroup").removeClass("d-none"):n.value=="1"&&$("#salaryamountformgroup").removeClass("d-none")});$("#salaryCalculationChartPanel").on("show.bs.collapse",function(){$("#salarydetailarrowimg").attr("src","/images/arrow-up.svg");$("#salarydetailspan").html("GrafiÄi Gizle")});$("#salaryCalculationChartPanel").on("hide.bs.collapse",function(){$("#salarydetailarrowimg").attr("src","/images/down-arrow2.svg");$("#salarydetailspan").html("GrafiÄi Göster")});$("#salaryCalculationModal").on("hide.bs.modal",function(){$("#salarycalculationresultpanel").addClass("d-none");$("#salarycalculationinputpanel").removeClass("d-none");$("#salarycalculationbuttonpanel").addClass("d-none");$("#salarycalculationform .floating-label").removeClass("has-value");$("input[type=radio][name=calculationoption]:checked").prop("checked",!1);$("#salaryperiod").val("");$("#salaryduration").val("");$("#salaryamount").val("")}
72);$.validator.addMethod("maxsalary",function(n,t){var r=parseFloat($("#salaryModalTotalSaving").data("savingvalue")),i=parseFloat($("#salaryModalTotalSaving").data("totalCont")),u=Math.floor((r-i)*.95+i);return this.optional(t)||parseFloat(getNumberFromString(n))<=u},function(){var t=parseFloat($("#salaryModalTotalSaving").data("savingvalue")),n=parseFloat($("#salaryModalTotalSaving").data("totalCont")),i=Math.floor((t-n)*.95+n);return"MaaÅ "+formatNumberAsMoney(i)+" TL den az olmalıdır."});var n,t=function(){return n};$.validator.addMethod("minsalary",function(t,i){var o=parseFloat($("#salaryModalTotalSaving").data("minWage")),s=parseInt($("#salaryperiod").val()),r=parseFloat($("#salaryModalTotalSaving").data("savingvalue")),f=0,h=Math.ceil(o*[.15,.45,.9,1.8][s]);f=parseInt($("#salaryModalTotalSaving").data("remainingYear"))>2?.03:.0101;var c=Math.pow(1+f,1/12)-1,l=parseFloat($("#salaryamount").val()),u=parseFloat($("#salaryModalTotalSaving").data("totalCont")),a=l/(1-(r-u)/r*.05),v=u-a*(u/r),y=(r-r/(1+c))*(1-(r-v)/r*.05),e=formatNumberAsMoney(Math.max(h,Math.ceil(y)));return n="MaaÅ "+e+" TL den az olamaz.",this.optional(i)||parseFloat(getNumberFromString(t))>=parseFloat(getNumberFromString(e))},t);$("#salarycalculationform").validate({rules:{salaryperiod:"required",salaryduration:"required",salaryamount:{required:!0,minsalary:{},maxsalary:{}}},messages:{salaryperiod:"Bu alan boÅ bırakılamaz.",salaryduration:"Bu alan boÅ bırakılamaz.",salaryamount:{required:"Bu alan boÅ bırakılamaz."}},errorElement:"em",errorPlacement:function(n,t){n.addClass("ahe-color-errVal-red Info-text2 field-validation-error position-absolute");t.prop("type")==="checkbox"?n.insertAfter(t.next("label")):n.insertAfter(t)}})});var SalaryReCalculationButtonClick=function(){$("#salarycalculationresultpanel").addClass("d-none");$("#salarycalculationinputpanel").removeClass("d-none")},SalaryCalculationButtonClick=function(){var i=$("#salarycalculationform"),r,t,n;(i.validate(),r=i.valid(),r)&&(t=$("input[type=radio][name=calculationoption]:checked").val(),n={},n.TotalSaving=$("#salaryModalTotalSaving").data("savingvalue"),n.Period=$("#salaryperiod").val(),n.Duration=$("#salaryduration").val(),n.Salary=getNumberFromString($("#salaryamount").val()),n.Type=t,n.TotalCont=parseFloat($("#salaryModalTotalSaving").data("totalCont")),n.RemainingYear=parseInt($("#salaryModalTotalSaving").data("remainingYear")),$.ajax({url:"/FuturePlanningTools/CalculateSalary",data:n,type:"POST",success:function(i){$("#salarycalculationresultpanel").removeClass("d-none");$("#salarycalculationinputpanel").addClass("d-none");$("#salarydurationresultinfo").addClass("d-none");$("#salaryamountresultinfo").addClass("d-none");t=="0"?($("#salarydurationresultinfo").removeClass("d-none"),WriteSalaryCalculationGraph(i,n)):t=="1"&&($("#salaryamountresultinfo").removeClass("d-none"),WriteSalaryCalculationGraph(i,n))}}))},WriteSalaryCalculationGraph=function(n,t){for(var i,r,a,f=[{suffix:"ay",factor:12},{suffix:"3 ay",factor:4},{suffix:"6 ay",factor:2},{suffix:"sene",factor:1}][parseInt(t.Period)],l="MaaÅ adedi ("+f.suffix+")",o=[],e=0,u=0;u<n.length;u++){if(i=n[u],r={},r.value=i.salary,t.Type=="0")r.label=(i.duration*f.factor).toString(),parseInt(t.Duration)==i.duration&&(r.showlabel="1",r.showvalue="1",r.anchorRadius="4",r.displayValue=i.salary,r.tooltext=formatNumberAsMoney(i.salary)+" TL",$("#salarycalculationresultdiv").html(formatNumberAsMoney(i.salary)+" TL"));else if(r.label=i.salaryCount.toString(),parseInt(t.Salary)<=i.salary){parseInt(t.Salary)==i.salary&&(r.showlabel="1",r.showvalue="1",r.anchorRadius="4",r.displayValue=i.salary,r.tooltext=i.salaryCount+", "+formatNumberAsMoney(i.salary)+" TL");var s=i.salaryCount*(12/f.factor),h=Math.floor(s/12),c=s%12;$("#salarycalculationresultdiv").html((h>0?h+" yıl ":"")+(c>0?c+" ay":""))}o.push(r);u==n.length-1&&(e=i.salary)}a=new FusionCharts({type:"line",renderAt:"chart-container",width:"100%",dataFormat:"json",dataSource:{chart:{bgColor:"#ecf2f6",bgAlpha:"100",decimalSeparator:",",thousandSeparator:".",formatNumberScale:"0",yaxisname:"MaaÅ tutarı (TL)",xaxisname:l,numberSuffix:"",slantLabels:"1",showHoverEffect:"1",yaxisminvalue:e,showaxislines:"1",anchorRadius:"0",anchorBgColor:"#0066b3",anchorHoverRadius:"8",theme:"fusion",showValues:"0",yAxisValuesStep:"2",palettecolors:"#0066b3"},data:o,trendlines:[{line:[{startvalue:e,color:"#000000",thickness:"2.5",displayvalue:" "}]}]}}).render()};$(document).ready(function(){$(".form-group > .floating-label select, .form-group > .floating-label input").each(function(){var n=$(this).val();n===""?$(this).parent().removeClass("has-value"):$(this).parent().addClass("has-value")})});String.prototype.turkishToUpper=function(){var n=this,t={i:"İ","Å":"Å","Ä":"Ä","ü":"Ã","ö":"Ã","ç":"Ã","ı":"I"};return n=n.replace(/(([iıÅÄüçö]))/g,function(n){return t[n]}),n.toUpperCase()};String.prototype.turkishToLower=function(){var n=this,t={"İ":"i",I:"ı","Å":"Å","Ä":"Ä","Ã":"ü","Ã":"ö","Ã":"ç"};return n=n.replace(/(([İIÅÄÃÃÃ]))/g,function(n){return t[n]}),n.toLowerCase()};$("#searchText").bind("cut copy paste",function(n){n.preventDefault()}); 73/*! 74 * Bootstrap v4.1.1 (https://getbootstrap.com/) 75 * Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 76 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 77 */ 78(function(n,t){typeof exports=="object"&&typeof module!="undefined"?t(exports,require("jquery"),require("popper.js")):typeof define=="function"&&define.amd?define(["exports","jquery","popper.js"],t):t(n.bootstrap={},n.jQuery,n.Popper)})(this,function(n,t,i){"use strict";function o(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function f(n,t,i){return t&&o(n.prototype,t),i&&o(n,i),n}function s(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function u(n){for(var i,r,t=1;t<arguments.length;t++)i=arguments[t]!=null?arguments[t]:{},r=Object.keys(i),typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(n){return Object.getOwnPropertyDescriptor(i,n).enumerable}))),r.forEach(function(t){s(n,t,i[t])});return n}function h(n,t){n.prototype=Object.create(t.prototype);n.prototype.constructor=n;n.__proto__=t}t=t&&t.hasOwnProperty("default")?t["default"]:t;i=i&&i.hasOwnProperty("default")?i["default"]:i;var r=function(n){function f(n){return{}.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase()}function e(){return{bindType:i,delegateType:i,handle:function(t){return n(t.target).is(this)?t.handleObj.handler.apply(this,arguments):undefined}}}function o(i){var u=this,r=!1;n(this).one(t.TRANSITION_END,function(){r=!0});return setTimeout(function(){r||t.triggerTransitionEnd(u)},i),this}function s(){n.fn.emulateTransitionEnd=o;n.event.special[t.TRANSITION_END]=e()}var i="transitionend",r=1e6,u=1e3,t={TRANSITION_END:"bsTransitionEnd",getUID:function(n){do n+=~~(Math.random()*r);while(document.getElementById(n));return n},getSelectorFromElement:function(t){var i=t.getAttribute("data-target"),r;i&&i!=="#"||(i=t.getAttribute("href")||"");try{return r=n(document).find(i),r.length>0?i:null}catch(u){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var i=n(t).css("transition-duration"),r=parseFloat(i);return r?(i=i.split(",")[0],parseFloat(i)*u):0},reflow:function(n){return n.offsetHeight},triggerTransitionEnd:function(t){n(t).trigger(i)},supportsTransitionEnd:function(){return Boolean(i)},isElement:function(n){return(n[0]||n).nodeType},typeCheckConfig:function(n,i,r){for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)){var o=r[u],e=i[u],s=e&&t.isElement(e)?"element":f(e);
78if(!new RegExp(o).test(s))throw new Error(n.toUpperCase()+": "+('Option "'+u+'" provided type "'+s+'" ')+('but expected type "'+o+'".'));}}};return s(),t}(t),c=function(n){var i="alert",h="4.1.1",u="bs.alert",e="."+u,c=n.fn[i],o={CLOSE:"close"+e,CLOSED:"closed"+e,CLICK_DATA_API:"click"+e+".data-api"},s={ALERT:"alert",FADE:"fade",SHOW:"show"},t=function(){function t(n){this._element=n}var i=t.prototype;return i.close=function(n){var t=this._element,i;(n&&(t=this._getRootElement(n)),i=this._triggerCloseEvent(t),i.isDefaultPrevented())||this._removeElement(t)},i.dispose=function(){n.removeData(this._element,u);this._element=null},i._getRootElement=function(t){var u=r.getSelectorFromElement(t),i=!1;return u&&(i=n(u)[0]),i||(i=n(t).closest("."+s.ALERT)[0]),i},i._triggerCloseEvent=function(t){var i=n.Event(o.CLOSE);return n(t).trigger(i),i},i._removeElement=function(t){var u=this,i;if(n(t).removeClass(s.SHOW),!n(t).hasClass(s.FADE)){this._destroyElement(t);return}i=r.getTransitionDurationFromElement(t);n(t).one(r.TRANSITION_END,function(n){return u._destroyElement(t,n)}).emulateTransitionEnd(i)},i._destroyElement=function(t){n(t).detach().trigger(o.CLOSED).remove()},t._jQueryInterface=function(i){return this.each(function(){var f=n(this),r=f.data(u);r||(r=new t(this),f.data(u,r));i==="close"&&r[i](this)})},t._handleDismiss=function(n){return function(t){t&&t.preventDefault();n.close(this)}},f(t,null,[{key:"VERSION",get:function(){return h}}]),t}();n(document).on(o.CLICK_DATA_API,{DISMISS:'[data-dismiss="alert"]'}.DISMISS,t._handleDismiss(new t));return n.fn[i]=t._jQueryInterface,n.fn[i].Constructor=t,n.fn[i].noConflict=function(){return n.fn[i]=c,t._jQueryInterface},t}(t),l=function(n){var r="button",c="4.1.1",e="bs.button",o="."+e,s=".data-api",l=n.fn[r],t={ACTIVE:"active",BUTTON:"btn",FOCUS:"focus"},i={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},h={CLICK_DATA_API:"click"+o+s,FOCUS_BLUR_DATA_API:"focus"+o+s+" "+("blur"+o+s)},u=function(){function r(n){this._element=n}var u=r.prototype;return u.toggle=function(){var f=!0,o=!0,u=n(this._element).closest(i.DATA_TOGGLE)[0],r,e;if(u&&(r=n(this._element).find(i.INPUT)[0],r)){if(r.type==="radio"&&(r.checked&&n(this._element).hasClass(t.ACTIVE)?f=!1:(e=n(u).find(i.ACTIVE)[0],e&&n(e).removeClass(t.ACTIVE))),f){if(r.hasAttribute("disabled")||u.hasAttribute("disabled")||r.classList.contains("disabled")||u.classList.contains("disabled"))return;r.checked=!n(this._element).hasClass(t.ACTIVE);n(r).trigger("change")}r.focus();o=!1}o&&this._element.setAttribute("aria-pressed",!n(this._element).hasClass(t.ACTIVE));f&&n(this._element).toggleClass(t.ACTIVE)},u.dispose=function(){n.removeData(this._element,e);this._element=null},r._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(e);i||(i=new r(this),n(this).data(e,i));t==="toggle"&&i[t]()})},f(r,null,[{key:"VERSION",get:function(){return c}}]),r}();n(document).on(h.CLICK_DATA_API,i.DATA_TOGGLE_CARROT,function(r){r.preventDefault();var f=r.target;n(f).hasClass(t.BUTTON)||(f=n(f).closest(i.BUTTON));u._jQueryInterface.call(n(f),"toggle")}).on(h.FOCUS_BLUR_DATA_API,i.DATA_TOGGLE_CARROT,function(r){var u=n(r.target).closest(i.BUTTON)[0];n(u).toggleClass(t.FOCUS,/^focus(in)?$/.test(r.type))});return n.fn[r]=u._jQueryInterface,n.fn[r].Constructor=u,n.fn[r].noConflict=function(){return n.fn[r]=l,u._jQueryInterface},u}(t),a=function(n){var h="carousel",y="4.1.1",l="bs.carousel",e="."+l,v=".data-api",p=n.fn[h],w=37,b=39,k=500,a={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},d={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},i={NEXT:"next",PREV:"prev",LEFT:"left",RIGHT:"right"},o={SLIDE:"slide"+e,SLID:"slid"+e,KEYDOWN:"keydown"+e,MOUSEENTER:"mouseenter"+e,MOUSELEAVE:"mouseleave"+e,TOUCHEND:"touchend"+e,LOAD_DATA_API:"load"+e+v,CLICK_DATA_API:"click"+e+v},t={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"carousel-item-right",LEFT:"carousel-item-left",NEXT:"carousel-item-next",PREV:"carousel-item-prev",ITEM:"carousel-item"},s={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-sli
78de], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},c=function(){function v(t,i){this._items=null;this._interval=null;this._activeElement=null;this._isPaused=!1;this._isSliding=!1;this.touchTimeout=null;this._config=this._getConfig(i);this._element=n(t)[0];this._indicatorsElement=n(this._element).find(s.INDICATORS)[0];this._addEventListeners()}var c=v.prototype;return c.next=function(){this._isSliding||this._slide(i.NEXT)},c.nextWhenVisible=function(){!document.hidden&&n(this._element).is(":visible")&&n(this._element).css("visibility")!=="hidden"&&this.next()},c.prev=function(){this._isSliding||this._slide(i.PREV)},c.pause=function(t){t||(this._isPaused=!0);n(this._element).find(s.NEXT_PREV)[0]&&(r.triggerTransitionEnd(this._element),this.cycle(!0));clearInterval(this._interval);this._interval=null},c.cycle=function(n){n||(this._isPaused=!1);this._interval&&(clearInterval(this._interval),this._interval=null);this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},c.to=function(t){var f=this,r,u;if(this._activeElement=n(this._element).find(s.ACTIVE_ITEM)[0],r=this._getItemIndex(this._activeElement),!(t>this._items.length-1)&&!(t<0)){if(this._isSliding){n(this._element).one(o.SLID,function(){return f.to(t)});return}if(r===t){this.pause();this.cycle();return}u=t>r?i.NEXT:i.PREV;this._slide(u,this._items[t])}},c.dispose=function(){n(this._element).off(e);n.removeData(this._element,l);this._items=null;this._config=null;this._element=null;this._interval=null;this._isPaused=null;this._isSliding=null;this._activeElement=null;this._indicatorsElement=null},c._getConfig=function(n){return n=u({},a,n),r.typeCheckConfig(h,n,d),n},c._addEventListeners=function(){var t=this;if(this._config.keyboard)n(this._element).on(o.KEYDOWN,function(n){return t._keydown(n)});if(this._config.pause==="hover"){n(this._element).on(o.MOUSEENTER,function(n){return t.pause(n)}).on(o.MOUSELEAVE,function(n){return t.cycle(n)});if("ontouchstart"in document.documentElement)n(this._element).on(o.TOUCHEND,function(){t.pause();t.touchTimeout&&clearTimeout(t.touchTimeout);t.touchTimeout=setTimeout(function(n){return t.cycle(n)},k+t._config.interval)})}},c._keydown=function(n){if(!/input|textarea/i.test(n.target.tagName))switch(n.which){case w:n.preventDefault();this.prev();break;case b:n.preventDefault();this.next()}},c._getItemIndex=function(t){return this._items=n.makeArray(n(t).parent().find(s.ITEM)),this._items.indexOf(t)},c._getItemByDirection=function(n,t){var e=n===i.NEXT,o=n===i.PREV,r=this._getItemIndex(t),s=this._items.length-1,h=o&&r===0||e&&r===s,f,u;return h&&!this._config.wrap?t:(f=n===i.PREV?-1:1,u=(r+f)%this._items.length,u===-1?this._items[this._items.length-1]:this._items[u])},c._triggerSlideEvent=function(t,i){var u=this._getItemIndex(t),f=this._getItemIndex(n(this._element).find(s.ACTIVE_ITEM)[0]),r=n.Event(o.SLIDE,{relatedTarget:t,direction:i,from:f,to:u});return n(this._element).trigger(r),r},c._setActiveIndicatorElement=function(i){if(this._indicatorsElement){n(this._indicatorsElement).find(s.ACTIVE).removeClass(t.ACTIVE);var r=this._indicatorsElement.children[this._getItemIndex(i)];r&&n(r).addClass(t.ACTIVE)}},c._slide=function(u,f){var y=this,h=n(this._element).find(s.ACTIVE_ITEM)[0],k=this._getItemIndex(h),e=f||h&&this._getItemByDirection(u,h),d=this._getItemIndex(e),p=Boolean(this._interval),c,l,a,w,v,b;if(u===i.NEXT?(c=t.LEFT,l=t.NEXT,a=i.LEFT):(c=t.RIGHT,l=t.PREV,a=i.RIGHT),e&&n(e).hasClass(t.ACTIVE)){this._isSliding=!1;return}(w=this._triggerSlideEvent(e,a),w.isDefaultPrevented())||h&&e&&(this._isSliding=!0,p&&this.pause(),this._setActiveIndicatorElement(e),v=n.Event(o.SLID,{relatedTarget:e,direction:a,from:k,to:d}),n(this._element).hasClass(t.SLIDE)?(n(e).addClass(l),r.reflow(e),n(h).addClass(c),n(e).addClass(c),b=r.getTransitionDurationFromElement(h),n(h).one(r.TRANSITION_END,function(){n(e).removeClass(c+" "+l).addClass(t.ACTIVE);n(h).removeClass(t.ACTIVE+" "+l+" "+c);y._isSliding=!1;setTimeout(function(){return n(y._element).trigger(v)},0)}).emulateTransitionEnd(b)):(n(h).removeClass(t.ACTIVE),n(e).addClass(t.ACTIVE),this._isSliding=!1,n(this._element).trigger(v)),p&&this.cycle())},v._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(l),r=u({},a,n(this).data()),f;if(typeof t=="object"&&(r=u({},r,t)),f=typeof t=="string"?t:r.slide,i||(i=new v(this,r),n(this).data(l,i)),typeof t=="number")i.to(t);else if(typeof f=="string"){if(typeof i[f]=="undefined")throw new TypeError('No method n
78amed "'+f+'"');i[f]()}else r.interval&&(i.pause(),i.cycle())})},v._dataApiClickHandler=function(i){var s=r.getSelectorFromElement(this),f,o,e;s&&(f=n(s)[0],f&&n(f).hasClass(t.CAROUSEL))&&(o=u({},n(f).data(),n(this).data()),e=this.getAttribute("data-slide-to"),e&&(o.interval=!1),v._jQueryInterface.call(n(f),o),e&&n(f).data(l).to(e),i.preventDefault())},f(v,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return a}}]),v}();n(document).on(o.CLICK_DATA_API,s.DATA_SLIDE,c._dataApiClickHandler);n(window).on(o.LOAD_DATA_API,function(){n(s.DATA_RIDE).each(function(){var t=n(this);c._jQueryInterface.call(t,t.data())})});return n.fn[h]=c._jQueryInterface,n.fn[h].Constructor=c,n.fn[h].noConflict=function(){return n.fn[h]=p,c._jQueryInterface},c}(t),v=function(n){var e="collapse",v="4.1.1",i="bs.collapse",o="."+i,y=n.fn[e],c={toggle:!0,parent:""},p={toggle:"boolean",parent:"(string|element)"},s={SHOW:"show"+o,SHOWN:"shown"+o,HIDE:"hide"+o,HIDDEN:"hidden"+o,CLICK_DATA_API:"click"+o+".data-api"},t={SHOW:"show",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},l={WIDTH:"width",HEIGHT:"height"},a={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},h=function(){function h(t,i){var e,u,o,f;for(this._isTransitioning=!1,this._element=t,this._config=this._getConfig(i),this._triggerArray=n.makeArray(n('[data-toggle="collapse"][href="#'+t.id+'"],'+('[data-toggle="collapse"][data-target="#'+t.id+'"]'))),e=n(a.DATA_TOGGLE),u=0;u<e.length;u++)o=e[u],f=r.getSelectorFromElement(o),f!==null&&n(f).filter(t).length>0&&(this._selector=f,this._triggerArray.push(o));this._parent=this._config.parent?this._getParent():null;this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray);this._config.toggle&&this.toggle()}var o=h.prototype;return o.toggle=function(){n(this._element).hasClass(t.SHOW)?this.hide():this.show()},o.show=function(){var e=this,u,o,c,f;if(!this._isTransitioning&&!n(this._element).hasClass(t.SHOW)&&(this._parent&&(u=n.makeArray(n(this._parent).find(a.ACTIVES).filter('[data-parent="'+this._config.parent+'"]')),u.length===0&&(u=null)),!u||(o=n(u).not(this._selector).data(i),!o||!o._isTransitioning))&&(c=n.Event(s.SHOW),n(this._element).trigger(c),!c.isDefaultPrevented())){u&&(h._jQueryInterface.call(n(u).not(this._selector),"hide"),o||n(u).data(i,null));f=this._getDimension();n(this._element).removeClass(t.COLLAPSE).addClass(t.COLLAPSING);this._element.style[f]=0;this._triggerArray.length>0&&n(this._triggerArray).removeClass(t.COLLAPSED).attr("aria-expanded",!0);this.setTransitioning(!0);var l=function(){n(e._element).removeClass(t.COLLAPSING).addClass(t.COLLAPSE).addClass(t.SHOW);e._element.style[f]="";e.setTransitioning(!1);n(e._element).trigger(s.SHOWN)},v=f[0].toUpperCase()+f.slice(1),y="scroll"+v,p=r.getTransitionDurationFromElement(this._element);n(this._element).one(r.TRANSITION_END,l).emulateTransitionEnd(p);this._element.style[f]=this._element[y]+"px"}},o.hide=function(){var h=this,f,i,u,e,o,c,l,a;if(!this._isTransitioning&&n(this._element).hasClass(t.SHOW)&&(f=n.Event(s.HIDE),n(this._element).trigger(f),!f.isDefaultPrevented())){if(i=this._getDimension(),this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",r.reflow(this._element),n(this._element).addClass(t.COLLAPSING).removeClass(t.COLLAPSE).removeClass(t.SHOW),this._triggerArray.length>0)for(u=0;u<this._triggerArray.length;u++)e=this._triggerArray[u],o=r.getSelectorFromElement(e),o!==null&&(c=n(o),c.hasClass(t.SHOW)||n(e).addClass(t.COLLAPSED).attr("aria-expanded",!1));this.setTransitioning(!0);l=function(){h.setTransitioning(!1);n(h._element).removeClass(t.COLLAPSING).addClass(t.COLLAPSE).trigger(s.HIDDEN)};this._element.style[i]="";a=r.getTransitionDurationFromElement(this._element);n(this._element).one(r.TRANSITION_END,l).emulateTransitionEnd(a)}},o.setTransitioning=function(n){this._isTransitioning=n},o.dispose=function(){n.removeData(this._element,i);this._config=null;this._parent=null;this._element=null;this._triggerArray=null;this._isTransitioning=null},o._getConfig=function(n){return n=u({},c,n),n.toggle=Boolean(n.toggle),r.typeCheckConfig(e,n,p),n},o._getDimension=function(){var t=n(this._element).hasClass(l.WIDTH);return t?l.WIDTH:l.HEIGHT},o._getParent=function(){var u=this,t=null,i;return r.isElement(this._config.parent)?(t=this._config.parent,typeof this._config.parent.jquery!="undefined"&&(t=this._config.parent[0])):t=n(this._config.parent)[0],i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',n(t).find(i).each(function(n,t){u._addAriaAndCollapsedClass(h._getTargetFromElement(t),[t])}),t},o._addAriaAndCollapsedClass=function(i,r){if(i){var u=n(i).hasClass(t.SHOW);r.length>0&&n(r).toggleClass(t.COLLAPSED,!u).attr("aria-expanded",u)}},h._getTargetFromElement=function(t){var i=r.getSelectorFromElement(t);return i?n(i)[0]:null},h._jQueryInterface=function(t){return this.each(function(){var f=n(this),r=f.data(i),e=u({},c,f.data(),typeof t=="object"&&t?t:{});if(!r&&e.toggle&&/show|hide/.test(t)&&(e.toggle=!1),r||(r=new h(this,e),f.data(i,r)),typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError('No method n
78amed "'+t+'"');r[t]()}})},f(h,null,[{key:"VERSION",get:function(){return v}},{key:"Default",get:function(){return c}}]),h}();n(document).on(s.CLICK_DATA_API,a.DATA_TOGGLE,function(t){t.currentTarget.tagName==="A"&&t.preventDefault();var u=n(this),f=r.getSelectorFromElement(this);n(f).each(function(){var t=n(this),r=t.data(i),f=r?"toggle":u.data();h._jQueryInterface.call(t,f)})});return n.fn[e]=h._jQueryInterface,n.fn[e].Constructor=h,n.fn[e].noConflict=function(){return n.fn[e]=y,h._jQueryInterface},h}(t),y=function(n){var c="dropdown",d="4.1.1",a="bs.dropdown",s="."+a,y=".data-api",g=n.fn[c],v=27,p=32,k=9,w=38,b=40,nt=3,tt=new RegExp(w+"|"+b+"|"+v),e={HIDE:"hide"+s,HIDDEN:"hidden"+s,SHOW:"show"+s,SHOWN:"shown"+s,CLICK:"click"+s,CLICK_DATA_API:"click"+s+y,KEYDOWN_DATA_API:"keydown"+s+y,KEYUP_DATA_API:"keyup"+s+y},t={DISABLED:"disabled",SHOW:"show",DROPUP:"dropup",DROPRIGHT:"dropright",DROPLEFT:"dropleft",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",POSITION_STATIC:"position-static"},o={DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",MENU:".dropdown-menu",NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)"},l={TOP:"top-start",TOPEND:"top-end",BOTTOM:"bottom-start",BOTTOMEND:"bottom-end",RIGHT:"right-start",RIGHTEND:"right-end",LEFT:"left-start",LEFTEND:"left-end"},it={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},rt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},h=function(){function h(n,t){this._element=n;this._popper=null;this._config=this._getConfig(t);this._menu=this._getMenuElement();this._inNavbar=this._detectNavbar();this._addEventListeners()}var y=h.prototype;return y.toggle=function(){var u,l,s,c,f;if(!this._element.disabled&&!n(this._element).hasClass(t.DISABLED)&&(u=h._getParentFromElement(this._element),l=n(this._menu).hasClass(t.SHOW),h._clearMenus(),!l)&&(s={relatedTarget:this._element},c=n.Event(e.SHOW,s),n(u).trigger(c),!c.isDefaultPrevented())){if(!this._inNavbar){if(typeof i=="undefined")throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");f=this._element;this._config.reference==="parent"?f=u:r.isElement(this._config.reference)&&(f=this._config.reference,typeof this._config.reference.jquery!="undefined"&&(f=this._config.reference[0]));this._config.boundary!=="scrollParent"&&n(u).addClass(t.POSITION_STATIC);this._popper=new i(f,this._menu,this._getPopperConfig())}if("ontouchstart"in document.documentElement&&n(u).closest(o.NAVBAR_NAV).length===0)n(document.body).children().on("mouseover",null,n.noop);this._element.focus();this._element.setAttribute("aria-expanded",!0);n(this._menu).toggleClass(t.SHOW);n(u).toggleClass(t.SHOW).trigger(n.Event(e.SHOWN,s))}},y.dispose=function(){n.removeData(this._element,a);n(this._element).off(s);this._element=null;this._menu=null;this._popper!==null&&(this._popper.destroy(),this._popper=null)},y.update=function(){this._inNavbar=this._detectNavbar();this._popper!==null&&this._popper.scheduleUpdate()},y._addEventListeners=function(){var t=this;n(this._element).on(e.CLICK,function(n){n.preventDefault();n.stopPropagation();
78t.toggle()})},y._getConfig=function(t){return t=u({},this.constructor.Default,n(this._element).data(),t),r.typeCheckConfig(c,t,this.constructor.DefaultType),t},y._getMenuElement=function(){if(!this._menu){var t=h._getParentFromElement(this._element);this._menu=n(t).find(o.MENU)[0]}return this._menu},y._getPlacement=function(){var r=n(this._element).parent(),i=l.BOTTOM;return r.hasClass(t.DROPUP)?(i=l.TOP,n(this._menu).hasClass(t.MENURIGHT)&&(i=l.TOPEND)):r.hasClass(t.DROPRIGHT)?i=l.RIGHT:r.hasClass(t.DROPLEFT)?i=l.LEFT:n(this._menu).hasClass(t.MENURIGHT)&&(i=l.BOTTOMEND),i},y._detectNavbar=function(){return n(this._element).closest(".navbar").length>0},y._getPopperConfig=function(){var i=this,n={},t;return typeof this._config.offset=="function"?n.fn=function(n){return n.offsets=u({},n.offsets,i._config.offset(n.offsets)||{}),n}:n.offset=this._config.offset,t={placement:this._getPlacement(),modifiers:{offset:n,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}},this._config.display==="static"&&(t.modifiers.applyStyle={enabled:!1}),t},h._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(a),r=typeof t=="object"?t:null;if(i||(i=new h(this,r),n(this).data(a,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},h._clearMenus=function(i){var u,r,v,s;if(!i||i.which!==nt&&(i.type!=="keyup"||i.which===k))for(u=n.makeArray(n(o.DATA_TOGGLE)),r=0;r<u.length;r++){var f=h._getParentFromElement(u[r]),c=n(u[r]).data(a),l={relatedTarget:u[r]};c&&(v=c._menu,n(f).hasClass(t.SHOW))&&(i&&(i.type==="click"&&/input|textarea/i.test(i.target.tagName)||i.type==="keyup"&&i.which===k)&&n.contains(f,i.target)||(s=n.Event(e.HIDE,l),n(f).trigger(s),s.isDefaultPrevented())||("ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),u[r].setAttribute("aria-expanded","false"),n(v).removeClass(t.SHOW),n(f).removeClass(t.SHOW).trigger(n.Event(e.HIDDEN,l))))}},h._getParentFromElement=function(t){var i,u=r.getSelectorFromElement(t);return u&&(i=n(u)[0]),i||t.parentNode},h._dataApiKeydownHandler=function(i){var f,e,s,u,r;if((/input|textarea/i.test(i.target.tagName)?i.which!==p&&(i.which===v||(i.which===b||i.which===w)&&!n(i.target).closest(o.MENU).length):tt.test(i.which))&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!n(this).hasClass(t.DISABLED))){if(f=h._getParentFromElement(this),e=n(f).hasClass(t.SHOW),!e&&(i.which!==v||i.which!==p)||e&&(i.which===v||i.which===p)){i.which===v&&(s=n(f).find(o.DATA_TOGGLE)[0],n(s).trigger("focus"));n(this).trigger("click");return}(u=n(f).find(o.VISIBLE_ITEMS).get(),u.length!==0)&&(r=u.indexOf(i.target),i.which===w&&r>0&&r--,i.which===b&&r<u.length-1&&r++,r<0&&(r=0),u[r].focus())}},f(h,null,[{key:"VERSION",get:function(){return d}},{key:"Default",get:function(){return it}},{key:"DefaultType",get:function(){return rt}}]),h}();n(document).on(e.KEYDOWN_DATA_API,o.DATA_TOGGLE,h._dataApiKeydownHandler).on(e.KEYDOWN_DATA_API,o.MENU,h._dataApiKeydownHandler).on(e.CLICK_DATA_API+" "+e.KEYUP_DATA_API,h._clearMenus).on(e.CLICK_DATA_API,o.DATA_TOGGLE,function(t){t.preventDefault();t.stopPropagation();h._jQueryInterface.call(n(this),"toggle")}).on(e.CLICK_DATA_API,o.FORM_CHILD,function(n){n.stopPropagation()});return n.fn[c]=h._jQueryInterface,n.fn[c].Constructor=h,n.fn[c].noConflict=function(){return n.fn[c]=g,h._jQueryInterface},h}(t,i),p=function(n){var s="modal",a="4.1.1",h="bs.modal",e="."+h,v=n.fn[s],y=27,l={backdrop:!0,keyboard:!0,focus:!0,show:!0},p={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},t={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,FOCUSIN:"focusin"+e,RESIZE:"resize"+e,CLICK_DISMISS:"click.dismiss"+e,KEYDOWN_DISMISS:"keydown.dismiss"+e,MOUSEUP_DISMISS:"mouseup.dismiss"+e,MOUSEDOWN_DISMISS:"mousedown.dismiss"+e,CLICK_DATA_API:"click"+e+".data-api"},i={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",SHOW:"show"},o={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},c=function(){function v(t,i){this._config=this._getConfig(i);this._element=t;this._dialog=n(t).find(o.DIALOG)[0];this._backdrop=null;this._isShown=!1;this._isBodyOverflowing=!1;this._ignoreBackdropClick=!1;this._scrollbarWidth=0}var c=v.prototype;return c.toggle=function(n){return this._isShown?this.hide():this.show(n)},c.show=function(r){var u=this,f;if(!this._isTransitioning&&!this._isShown&&(n(this._element).hasClass(i.FADE)&&(this._isTransitioning=!0),f=n.Event(t.SHOW,{relatedTarget:r}),n(this._element).trigger(f),!this._isShown&&!f.isDefaultPrevented())){this._isShown=!0;this._checkScrollbar();this._setScrollbar();this._adjustDialog();n(document.body).addClass(i.OPEN);this._setEscapeEvent();this._setResizeEvent();n(this._element).on(t.CLICK_DISMISS,o.DATA_DISMISS,function(n){return u.hide(n)});n(this._dialog).on(t.MOUSEDOWN_DISMISS,function(){n(u._element).one(t.MOUSEUP_DISMISS,function(t){n(t.target).is(u._element)&&(u._ignoreBackdropClick=!0)})});this._showBackdrop(function(){return u._showElement(r)})}},c.hide=function(u){var s=this,f,e,o;(u&&u.preventDefault(),!this._isTransitioning&&this._isShown)&&(f=n.Event(t.HIDE),n(this._element).trigger(f),this._isShown&&!f.isDefaultPrevented())&&(this._isShown=!1,e=n(this._element).hasClass(i.FADE),e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),n(document).off(t.FOCUSIN),n(this._element).removeClass(i.SHOW),n(this._element).off(t.CLICK_DISMISS),n(this._dialog).off(t.MOUSEDOWN_DISMISS),e?(o=r.getTransitionDurationFromElement(this._element),n(this._element).one(r.TRANSITION_END,function(n){return s._hideModal(n)}).emulateTransitionEnd(o)):this._hideModal())},c.dispose=function(){n.removeData(this._element,h);n(window,document,this._element,this._backdrop).off(e);this._config=null;this._element=null;this._dialog=null;this._backdrop=null;this._isShown=null;this._isBodyOverflowing=null;this._ignoreBackdropClick=null;this._scrollbarWidth=null},c.handleUpdate=function(){this._adjustDialog()},c._getConfig=function(n){return n=u({}
78,l,n),r.typeCheckConfig(s,n,p),n},c._showElement=function(u){var f=this,o=n(this._element).hasClass(i.FADE),s,e,h;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element);this._element.style.display="block";this._element.removeAttribute("aria-hidden");this._element.scrollTop=0;o&&r.reflow(this._element);n(this._element).addClass(i.SHOW);this._config.focus&&this._enforceFocus();s=n.Event(t.SHOWN,{relatedTarget:u});e=function(){f._config.focus&&f._element.focus();f._isTransitioning=!1;n(f._element).trigger(s)};o?(h=r.getTransitionDurationFromElement(this._element),n(this._dialog).one(r.TRANSITION_END,e).emulateTransitionEnd(h)):e()},c._enforceFocus=function(){var i=this;n(document).off(t.FOCUSIN).on(t.FOCUSIN,function(t){document!==t.target&&i._element!==t.target&&n(i._element).has(t.target).length===0&&i._element.focus()})},c._setEscapeEvent=function(){var i=this;if(this._isShown&&this._config.keyboard)n(this._element).on(t.KEYDOWN_DISMISS,function(n){n.which===y&&(n.preventDefault(),i.hide())});else this._isShown||n(this._element).off(t.KEYDOWN_DISMISS)},c._setResizeEvent=function(){var i=this;if(this._isShown)n(window).on(t.RESIZE,function(n){return i.handleUpdate(n)});else n(window).off(t.RESIZE)},c._hideModal=function(){var r=this;this._element.style.display="none";this._element.setAttribute("aria-hidden",!0);this._isTransitioning=!1;this._showBackdrop(function(){n(document.body).removeClass(i.OPEN);r._resetAdjustments();r._resetScrollbar();n(r._element).trigger(t.HIDDEN)})},c._removeBackdrop=function(){this._backdrop&&(n(this._backdrop).remove(),this._backdrop=null)},c._showBackdrop=function(u){var f=this,e=n(this._element).hasClass(i.FADE)?i.FADE:"",s,o,h;if(this._isShown&&this._config.backdrop){this._backdrop=document.createElement("div");this._backdrop.className=i.BACKDROP;e&&n(this._backdrop).addClass(e);n(this._backdrop).appendTo(document.body);n(this._element).on(t.CLICK_DISMISS,function(n){if(f._ignoreBackdropClick){f._ignoreBackdropClick=!1;return}n.target===n.currentTarget&&(f._config.backdrop==="static"?f._element.focus():f.hide())});if(e&&r.reflow(this._backdrop),n(this._backdrop).addClass(i.SHOW),!u)return;if(!e){u();return}s=r.getTransitionDurationFromElement(this._backdrop);n(this._backdrop).one(r.TRANSITION_END,u).emulateTransitionEnd(s)}else!this._isShown&&this._backdrop?(n(this._backdrop).removeClass(i.SHOW),o=function(){f._removeBackdrop();
78u&&u()},n(this._element).hasClass(i.FADE)?(h=r.getTransitionDurationFromElement(this._backdrop),n(this._backdrop).one(r.TRANSITION_END,o).emulateTransitionEnd(h)):o()):u&&u()},c._adjustDialog=function(){var n=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&n&&(this._element.style.paddingLeft=this._scrollbarWidth+"px");this._isBodyOverflowing&&!n&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},c._resetAdjustments=function(){this._element.style.paddingLeft="";this._element.style.paddingRight=""},c._checkScrollbar=function(){var n=document.body.getBoundingClientRect();this._isBodyOverflowing=n.left+n.right<window.innerWidth;this._scrollbarWidth=this._getScrollbarWidth()},c._setScrollbar=function(){var t=this,i,r;this._isBodyOverflowing&&(n(o.FIXED_CONTENT).each(function(i,r){var u=n(r)[0].style.paddingRight,f=n(r).css("padding-right");n(r).data("padding-right",u).css("padding-right",parseFloat(f)+t._scrollbarWidth+"px")}),n(o.STICKY_CONTENT).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)-t._scrollbarWidth+"px")}),n(o.NAVBAR_TOGGLER).each(function(i,r){var u=n(r)[0].style.marginRight,f=n(r).css("margin-right");n(r).data("margin-right",u).css("margin-right",parseFloat(f)+t._scrollbarWidth+"px")}),i=document.body.style.paddingRight,r=n(document.body).css("padding-right"),n(document.body).data("padding-right",i).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px"))},c._resetScrollbar=function(){n(o.FIXED_CONTENT).each(function(t,i){var r=n(i).data("padding-right");typeof r!="undefined"&&n(i).css("padding-right",r).removeData("padding-right")});n(o.STICKY_CONTENT+", "+o.NAVBAR_TOGGLER).each(function(t,i){var r=n(i).data("margin-right");typeof r!="undefined"&&n(i).css("margin-right",r).removeData("margin-right")});var t=n(document.body).data("padding-right");typeof t!="undefined"&&n(document.body).css("padding-right",t).removeData("padding-right")},c._getScrollbarWidth=function(){var n=document.createElement("div"),t;return n.className=i.SCROLLBAR_MEASURER,document.body.appendChild(n),t=n.getBoundingClientRect().width-n.clientWidth,document.body.removeChild(n),t},v._jQueryInterface=function(t,i){return this.each(function(){var r=n(this).data(h),f=u({},l,n(this).data(),typeof t=="object"&&t?t:{});if(r||(r=new v(this,f),n(this).data(h,r)),typeof t=="string"){if(typeof r[t]=="undefined")throw new TypeError('No method named "'+t+'"');r[t](i)}else f.show&&r.show(i)})},f(v,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return l}}]),v}();n(document).on(t.CLICK_DATA_API,o.DATA_TOGGLE,function(i){var e=this,f,o=r.getSelectorFromElement(this),s,l;o&&(f=n(o)[0]);s=n(f).data(h)?"toggle":u({},n(f).data(),n(this).data());(this.tagName==="A"||this.tagName==="AREA")&&i.preventDefault();l=n(f).one(t.SHOW,function(i){if(!i.isDefaultPrevented())l.one(t.HIDDEN,function(){n(e).is(":visible")&&e.focus()})});c._jQueryInterface.call(n(f),s,this)});return n.fn[s]=c._jQueryInterface,n.fn[s].Constructor=c,n.fn[s].noConflict=function(){return n.fn[s]=v,c._jQueryInterface},c}(t),e=function(n){var h="tooltip",y="4.1.1",c="bs.tooltip",t="."+c,p=n.fn[h],a="bs-tooltip",w=new RegExp("(^|\\s)"+a+"\\S+","g"),b={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},k={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},d={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},s={SHOW:"show",OUT:"out"},g={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},e={FADE:"fade",SHOW:"show"},v={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner",ARROW:".arrow"},o={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},l=function(){function p(n,t){if(typeof i=="undefined")throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0;this._timeout=0;this._hoverState="";this._activeTrigger={};this._popper=null;this.element=n;this.config=this._getConfig(t);this.tip=null;this._setListeners()}var l=p.prototype;return l.enable=function(){this._isEnabled=!0},l.disable=function(){this._isEnabled=!1},l.toggleEnabled=function(){this._isEnabled=!this._isEnabled},l.toggle=function(t){if(this._isEnabled)if(t){var r=this.constructor.DATA_KEY,i=n(t.currentTarget).data(r);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i));i._activeTrigger.click=!i._activeTrigger.click;i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(n(this.getTipElement()).hasClass(e.SHOW)){this._leave(null,this);return}this._enter(null,this)}},l.dispose=function(){clearTimeout(this._timeout);n.removeData(this.element,this.constructor.DATA_KEY);n(this.element).off(this.constructor.EVENT_KEY);n(this.element).closest(".modal").off("hide.bs.modal");this.tip&&n(this.tip).remove();this._isEnabled=null;this._timeout=null;this._hoverState=null;this._activeTrigger=null;this._popper!==null&&this._popper.destroy();this._popper=null;this.element=null;this.config=null;this.tip=null},l.show=function(){var t=this,f,l,u,o,a,h,y,c,p;if(n(this.element).css("display")==="none")throw new Error("Please use show on visible elements");if(f=n.Event(this.constructor.Event.SHOW),this.isWithContent()&&this._isEnabled){if(n(this.element).trigger(f),l=n.contains(this.element.ownerDocument.documentElement,this.element),f.isDefaultPrevented()||!l)return;if(u=this.getTipElement(),o=r.getUID(this.constructor.NAME),u.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&n(u).addClass(e.FADE),a=typeof this.config.placement=="function"?this.config.placement.call(this,u,this.element):this.config.placement,h=this._getAttachment(a),this.addAttachmentClass(h),y=this.config.container===!1?document.body:n(this.config.container),n(u).data(this.constructor.DATA_KEY,this),n.contains(this.element.ownerDocument.documentElement,this.tip)||n(u).appendTo(y),n(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i(this.element,u,{placement:h,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:v.ARROW}
78,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(n){n.originalPlacement!==n.placement&&t._handlePopperPlacementChange(n)},onUpdate:function(n){t._handlePopperPlacementChange(n)}}),n(u).addClass(e.SHOW),"ontouchstart"in document.documentElement)n(document.body).children().on("mouseover",null,n.noop);c=function(){t.config.animation&&t._fixTransition();var i=t._hoverState;t._hoverState=null;n(t.element).trigger(t.constructor.Event.SHOWN);i===s.OUT&&t._leave(null,t)};n(this.tip).hasClass(e.FADE)?(p=r.getTransitionDurationFromElement(this.tip),n(this.tip).one(r.TRANSITION_END,c).emulateTransitionEnd(p)):c()}},l.hide=function(t){var i=this,u=this.getTipElement(),f=n.Event(this.constructor.Event.HIDE),h=function(){i._hoverState!==s.SHOW&&u.parentNode&&u.parentNode.removeChild(u);i._cleanTipClass();i.element.removeAttribute("aria-describedby");n(i.element).trigger(i.constructor.Event.HIDDEN);i._popper!==null&&i._popper.destroy();t&&t()},c;(n(this.element).trigger(f),f.isDefaultPrevented())||(n(u).removeClass(e.SHOW),"ontouchstart"in document.documentElement&&n(document.body).children().off("mouseover",null,n.noop),this._activeTrigger[o.CLICK]=!1,this._activeTrigger[o.FOCUS]=!1,this._activeTrigger[o.HOVER]=!1,n(this.tip).hasClass(e.FADE)?(c=r.getTransitionDurationFromElement(u),n(u).one(r.TRANSITION_END,h).emulateTransitionEnd(c)):h(),this._hoverState="")},l.update=function(){this._popper!==null&&this._popper.scheduleUpdate()},l.isWithContent=function(){return Boolean(this.getTitle())},l.addAttachmentClass=function(t){n(this.getTipElement()).addClass(a+"-"+t)},l.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},l.setContent=function(){var t=n(this.getTipElement());this.setElementContent(t.find(v.TOOLTIP_INNER),this.getTitle());t.removeClass(e.FADE+" "+e.SHOW)},l.setElementContent=function(t,i){var r=this.config.html;typeof i=="object"&&(i.nodeType||i.jquery)?r?n(i).parent().is(t)||t.empty().append(i):t.text(n(i).text()):t[r?"html":"text"](i)},l.getTitle=function(){var n=this.element.getAttribute("data-original-title");return n||(n=typeof this.config.title=="function"?this.config.title.call(this.element):this.config.title),n},l._getAttachment=function(n){return k[n.toUpperCase()]},l._setListeners=function(){var t=this,i=this.config.trigger.split(" ");i.forEach(function(i){if(i==="click")n(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(n){return t.toggle(n)});else if(i!==o.MANUAL){var r=i===o.HOVER?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,u=i===o.HOVER?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;n(t.element).on(r,t.config.selector,function(n){return t._enter(n)}).on(u,t.config.selector,function(n){return t._leave(n)})}n(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})});this.config.selector?this.config=u({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},l._fixTitle=function(){var n=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||n!=="string")&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},l._enter=function(t,i){var r=this.constructor.DATA_KEY;if(i=i||n(t.currentTarget).data(r),i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i)),t&&(i._activeTrigger[t.type==="focusin"?o.FOCUS:o.HOVER]=!0),n(i.getTipElement()).hasClass(e.SHOW)||i._hoverState===s.SHOW){i._hoverState=s.SHOW;return}if(clearTimeout(i._timeout),i._hoverState=s.SHOW,!i.config.delay||!i.config.delay.show){i.show();return}i._timeout=setTimeout(function(){i._hoverState===s.SHOW&&i.show()},i.config.delay.show)},l._leave=function(t,i){var r=this.constructor.DATA_KEY;if(i=i||n(t.currentTarget).data(r),i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),n(t.currentTarget).data(r,i)),t&&(i._activeTrigger[t.type==="focusout"?o.FOCUS:o.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=s.OUT,!i.config.delay||!i.config.delay.hide){i.hide();return}i._timeout=setTimeout(function(){i._hoverState===s.OUT&&i.hide()},i.config.delay.hide)}},l._isWithActiveTrigger=function(){for(var n in this._activeTrigger)if(this._activeTrigger[n])return!0;return!1},l._getConfig=function(t){return t=u({},this.constructor.Default,n(this.element).data(),typeof t=="object"&&t?t:{}),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),r.typeCheckConfig(h,t,this.constructor.DefaultType),t},l._getDelegateConfig=function(){var t={},n;if(this.config)for(n in this.config)this.constructor.Default[n]!==this.config[n]&&(t[n]=this.config[n]);return t},l._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(w);t!==null&&t.length>0&&i.removeClass(t.join(""))},l._handlePopperPlacementChange=function(n){this._cleanTipClass();this.addAttachmentClass(this._getAttachment(n.placement))},l._fixTransition=function(){var t=this.getTipElement(),i=this.config.animation;t.getAttribute("x-placement")===null&&(n(t).removeClass(e.FADE),this.config.animation=!1,this.hide(),this.show(),this.config.animation=i)},p._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(c),r=typeof t=="object"&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new p(this,r),n(this).data(c,i)),typeof t=="string")){if(typeof i[t]=="undefined")throw new TypeError('No method n
78amed "'+t+'"');i[t]()}})},f(p,null,[{key:"VERSION",get:function(){return y}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return h}},{key:"DATA_KEY",get:function(){return c}},{key:"Event",get:function(){return g}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return b}}]),p}();return n.fn[h]=l._jQueryInterface,n.fn[h].Constructor=l,n.fn[h].noConflict=function(){return n.fn[h]=p,l._jQueryInterface},l}(t,i),w=function(n){var i="popover",a="4.1.1",r="bs.popover",t="."+r,v=n.fn[i],s="bs-popover",y=new RegExp("(^|\\s)"+s+"\\S+","g"),p=u({},e.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-header"><\/h3><div class="popover-body"><\/div><\/div>'}),w=u({},e.DefaultType,{content:"(string|element|function)"}),c={FADE:"fade",SHOW:"show"},l={TITLE:".popover-header",CONTENT:".popover-body"},b={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},o=function(u){function e(){return u.apply(this,arguments)||this}h(e,u);var o=e.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){n(this.getTipElement()).addClass(s+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||n(this.config.template)[0],this.tip},o.setContent=function(){var i=n(this.getTipElement()),t;this.setElementContent(i.find(l.TITLE),this.getTitle());t=this._getContent();typeof t=="function"&&(t=t.call(this.element));this.setElementContent(i.find(l.CONTENT),t);i.removeClass(c.FADE+" "+c.SHOW)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var i=n(this.getTipElement()),t=i.attr("class").match(y);t!==null&&t.length>0&&i.removeClass(t.join(""))},e._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(r),u=typeof t=="object"?t:null;if((i||!/destroy|hide/.test(t))&&(i||(i=new e(this,u),n(this).data(r,i)),typeof t=="string")){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(e,null,[{key:"VERSION",get:function(){return a}},{key:"Default",get:function(){return p}},{key:"NAME",get:function(){return i}},{key:"DATA_KEY",get:function(){return r}},{key:"Event",get:function(){return b}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return w}}]),e}(e);return n.fn[i]=o._jQueryInterface,n.fn[i].Constructor=o,n.fn[i].noConflict=function(){return n.fn[i]=v,o._jQueryInterface},o}(t),b=function(n){var i="scrollspy",v="4.1.1",s="bs.scrollspy",h="."+s,y=n.fn[i],a={offset:10,method:"auto",target:""},p={offset:"number",method:"string",target:"(string|element)"},c={ACTIVATE:"activate"+h,SCROLL:"scroll"+h,LOAD_DATA_API:"load"+h+".data-api"},e={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active"},t={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},l={OFFSET:"offset",POSITION:"position"},o=function(){function y(i,r){var u=this;this._element=i;this._scrollElement=i.tagName==="BODY"?window:i;this._config=this._getConfig(r);this._selector=this._config.target+" "+t.NAV_LINKS+","+(this._config.target+" "+t.LIST_ITEMS+",")+(this._config.target+" "+t.DROPDOWN_ITEMS);this._offsets=[];this._targets=[];this._activeTarget=null;this._scrollHeight=0;n(this._scrollElement).on(c.SCROLL,function(n){return u._process(n)});this.refresh();this._process()}var o=y.prototype;return o.refresh=function(){var t=this,f=this._scrollElement===this._scrollElement.window?l.OFFSET:l.POSITION,i=this._config.method==="auto"?f:this._config.method,e=i===l.POSITION?this._getScrollTop():0,u;this._offsets=[];this._targets=[];this._scrollHeight=this._getScrollHeight();u=n.makeArray(n(this._selector));u.map(function(t){var u,f=r.getSelectorFromElement(t),o;return(f&&(u=n(f)[0]),u&&(o=u.getBoundingClientRect(),o.width||o.height))?[n(u)[i]().top+e,f]:null}).filter(function(n){return n}).sort(function(n,t){return n[0]-t[0]}
78).forEach(function(n){t._offsets.push(n[0]);t._targets.push(n[1])})},o.dispose=function(){n.removeData(this._element,s);n(this._scrollElement).off(h);this._element=null;this._scrollElement=null;this._config=null;this._selector=null;this._offsets=null;this._targets=null;this._activeTarget=null;this._scrollHeight=null},o._getConfig=function(t){if(t=u({},a,typeof t=="object"&&t?t:{}),typeof t.target!="string"){var f=n(t.target).attr("id");f||(f=r.getUID(i),n(t.target).attr("id",f));t.target="#"+f}return r.typeCheckConfig(i,t,p),t},o._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},o._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},o._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},o._process=function(){var t=this._getScrollTop()+this._config.offset,r=this._getScrollHeight(),f=this._config.offset+r-this._getOffsetHeight(),i,n,u;if(this._scrollHeight!==r&&this.refresh(),t>=f){i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i);return}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0){this._activeTarget=null;this._clear();return}for(n=this._offsets.length;n--;)u=this._activeTarget!==this._targets[n]&&t>=this._offsets[n]&&(typeof this._offsets[n+1]=="undefined"||t<this._offsets[n+1]),u&&this._activate(this._targets[n])},o._activate=function(i){var u,r;this._activeTarget=i;this._clear();u=this._selector.split(",");u=u.map(function(n){return n+'[data-target="'+i+'"],'+(n+'[href="'+i+'"]')});r=n(u.join(","));r.hasClass(e.DROPDOWN_ITEM)?(r.closest(t.DROPDOWN).find(t.DROPDOWN_TOGGLE).addClass(e.ACTIVE),r.addClass(e.ACTIVE)):(r.addClass(e.ACTIVE),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_LINKS+", "+t.LIST_ITEMS).addClass(e.ACTIVE),r.parents(t.NAV_LIST_GROUP).prev(t.NAV_ITEMS).children(t.NAV_LINKS).addClass(e.ACTIVE));n(this._scrollElement).trigger(c.ACTIVATE,{relatedTarget:i})},o._clear=function(){n(this._selector).filter(t.ACTIVE).removeClass(e.ACTIVE)},y._jQueryInterface=function(t){return this.each(function(){var i=n(this).data(s),r=typeof t=="object"&&t;if(i||(i=new y(this,r),n(this).data(s,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(y,null,[{key:"VERSION",get:function(){return v}},{key:"Default",get:function(){return a}}]),y}();n(window).on(c.LOAD_DATA_API,function(){for(var i,r=n.makeArray(n(t.DATA_SPY)),u=r.length;u--;)i=n(r[u]),o._jQueryInterface.call(i,i.data())});return n.fn[i]=o._jQueryInterface,n.fn[i].Constructor=o,n.fn[i].noConflict=function(){return n.fn[i]=y,o._jQueryInterface},o}(t),k=function(n){var u="tab",c="4.1.1",h="bs.tab",e="."+h,l=n.fn[u],o={HIDE:"hide"+e,HIDDEN:"hidden"+e,SHOW:"show"+e,SHOWN:"shown"+e,CLICK_DATA_API:"click"+e+".data-api"},t={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",DISABLED:"disabled",FADE:"fade",SHOW:"show"},i={DROPDOWN:".dropdown",NAV_LIST_GROUP:".nav, .list-group",ACTIVE:".active",ACTIVE_UL:"> li > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},s=function(){function u(n){this._element=n}var e=u.prototype;return e.show=function(){var a=this,e,u,f,s,v,h,c,l;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&n(this._element).hasClass(t.ACTIVE)||n(this._element).hasClass(t.DISABLED)||(f=n(this._element).closest(i.NAV_LIST_GROUP)[0],s=r.getSelectorFromElement(this._element),f&&(v=f.nodeName==="UL"?i.ACTIVE_UL:i.ACTIVE,u=n.makeArray(n(f).find(v)),u=u[u.length-1]),h=n.Event(o.HIDE,{relatedTarget:this._element}),c=n.Event(o.SHOW,{relatedTarget:u}),u&&n(u).trigger(h),n(this._element).trigger(c),c.isDefaultPrevented()||h.isDefaultPrevented())||(s&&(e=n(s)[0]),this._activate(this._element,f),l=function(){var t=n.Event(o.HIDDEN,{relatedTarget:a._element}),i=n.Event(o.SHOWN,{relatedTarget:u});n(u).trigger(t);n(a._element).trigger(i)}
78,e?this._activate(e,e.parentNode,l):l())},e.dispose=function(){n.removeData(this._element,h);this._element=null},e._activate=function(u,f,e){var l=this,s,c;s=f.nodeName==="UL"?n(f).find(i.ACTIVE_UL):n(f).children(i.ACTIVE);var o=s[0],a=e&&o&&n(o).hasClass(t.FADE),h=function(){return l._transitionComplete(u,o,e)};o&&a?(c=r.getTransitionDurationFromElement(o),n(o).one(r.TRANSITION_END,h).emulateTransitionEnd(c)):h()},e._transitionComplete=function(u,f,e){var o,s;f&&(n(f).removeClass(t.SHOW+" "+t.ACTIVE),o=n(f.parentNode).find(i.DROPDOWN_ACTIVE_CHILD)[0],o&&n(o).removeClass(t.ACTIVE),f.getAttribute("role")==="tab"&&f.setAttribute("aria-selected",!1));n(u).addClass(t.ACTIVE);u.getAttribute("role")==="tab"&&u.setAttribute("aria-selected",!0);r.reflow(u);n(u).addClass(t.SHOW);u.parentNode&&n(u.parentNode).hasClass(t.DROPDOWN_MENU)&&(s=n(u).closest(i.DROPDOWN)[0],s&&n(s).find(i.DROPDOWN_TOGGLE).addClass(t.ACTIVE),u.setAttribute("aria-expanded",!0));e&&e()},u._jQueryInterface=function(t){return this.each(function(){var r=n(this),i=r.data(h);if(i||(i=new u(this),r.data(h,i)),typeof t=="string"){if(typeof i[t]=="undefined")throw new TypeError('No method named "'+t+'"');i[t]()}})},f(u,null,[{key:"VERSION",get:function(){return c}}]),u}();n(document).on(o.CLICK_DATA_API,i.DATA_TOGGLE,function(t){t.preventDefault();s._jQueryInterface.call(n(this),"show")});return n.fn[u]=s._jQueryInterface,n.fn[u].Constructor=s,n.fn[u].noConflict=function(){return n.fn[u]=l,s._jQueryInterface},s}(t);(function(n){if(typeof n=="undefined")throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=n.fn.jquery.split(" ")[0].split("."),i=9;if(t[0]<2&&t[1]<i||t[0]===1&&t[1]===i&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");})(t);n.Util=r;n.Alert=c;n.Button=l;n.Carousel=a;n.Collapse=v;n.Dropdown=y;n.Modal=p;n.Popover=w;n.Scrollspy=b;n.Tab=k;n.Tooltip=e;Object.defineProperty(n,"__esModule",{value:!0})});!function(n){n.fn.bootpag=function(t){function f(t,f){var h,y,c,l,a,p;f=parseInt(f,10);var e,s=0==i.maxVisible?1:i.maxVisible,y=1==i.maxVisible?0:1,v=Math.floor((f-1)/s)*s,o=t.find("li");i.page=f=f<0?0:f>i.total?i.total:f;o.removeClass(i.activeClass);e=f-1<1?1:i.leaps&&f-1>=i.maxVisible?Math.floor((f-1)/s)*s:f-1;i.firstLastUse&&o.first().toggleClass(i.disabledClass,1===f);h=o.first();i.firstLastUse&&(h=h.next());h.toggleClass(i.disabledClass,1===f).attr("data-lp",e).find("a").attr("href",r(e));y=1==i.maxVisible?0:1;e=f+1>i.total?i.total:i.leaps&&f+1<i.total-i.maxVisible?v+i.maxVisible+y:f+1;c=o.last();i.firstLastUse&&(c=c.prev());c.toggleClass(i.disabledClass,f===i.total).attr("data-lp",e).find("a").attr("href",r(e));o.last().toggleClass(i.disabledClass,f===i.total);l=o.filter("[data-lp="+f+"]");a="."+[i.nextClass,i.prevClass,i.firstClass,i.lastClass].join(",.");l.not(a).length||(p=f<=v?-i.maxVisible:0,o.not(a).each(function(t){e=t+1+v+p;n(this).attr("data-lp",e).toggle(e<=i.total).find("a").html(e).attr("href",r(e))}),l=o.filter("[data-lp="+f+"]"));l.not(a).addClass(i.activeClass);u.data("settings",i)}function r(n){return i.href.replace(i.hrefVariable,n)}var u=this,i=n.extend({total:0,page:1,maxVisible:null,leaps:!0,href:"javascript:void(0);",hrefVariable:"{{number}}",next:"»",prev:"«",firstLastUse:!1,first:'<span aria-hidden="true">←<\/span>',last:'<span aria-hidden="true">→<\/span>',wrapClass:"pagination",activeClass:"active",disabledClass:"disabled",nextClass:"next",prevClass:"prev",lastClass:"last",firstClass:"first"},u.data("settings")||{},t||{});return i.total<=0?this:(n.isNumeric(i.maxVisible)||i.maxVisible||(i.maxVisible=parseInt(i.total,10)),u.data("settings",i),this.each(function(){var h,s,o=n(this),t=['<nav><ul class="',i.wrapClass,' bootpag">'],e;for(i.firstLastUse&&(t=t.concat(['<li data-lp="1" class="',i.firstClass,' page-item"><a class="page-link" href="',r(1),'">',i.first,"<\/a><\/li>"])),i.prev&&(t=t.concat(['<li data-lp="1" class="',i.prevClass,' page-item"><a class="page-link" href="',r(1),'">',i.prev,"<\/a><\/li>"])),e=1;e<=Math.min(i.total,i.maxVisible);e++)t=t.concat(['<li data-lp="',e,'" class="page-item"><a class="page-link" href="',r(e),'">',e,"<\/a><\/li>"]);i.next&&(s=i.leaps&&i.total>i.maxVisible?Math.min(i.maxVisible+1,i.total):2,t=t.concat(['<li data-lp="',s,'" class="',i.nextClass,' page-item"><a class="page-link" href="',r(s),'">',i.next,"<\/a><\/li>"]));i.firstLastUse&&(t=t.concat(['<li data-lp="',i.total,'" class="last page-item"><a class="page-link" href="',r(i.total),'">',i.last,"<\/a><\/li>"]));t.push("<\/ul><\/nav>");o.find("ul.bootpag").remove();o.append(t.join(""));h=o.find("ul.bootpag");o.find("li").click(function(){var t=n(this),r;t.hasClass(i.disabledClass)||t.hasClass(i.activeClass)||(r=parseInt(t.attr("data-lp"),10),u.find("ul.bootpag").each(function(){f(n(this),r)}),u.trigger("page",r))});f(h,i.page)}))}}(jQuery,window); 79/** 80 * bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation) 81 * 82 * @version v1.16.0 83 * @homepage https://bootstrap-table.com 84 * @author wenzhixin <[email protected]> (http://wenzhixin.net.cn/) 85 * @license MIT 86 */ 87!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(n=n||self).BootstrapTable=t(n.jQuery)}(this,function(n){"use strict";function no(n,t){return n(t={exports:{}},t.exports),t.exports}function tc(n,t){return RegExp(n,t)}
87function hi(n){return(hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function pc(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function wc(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function bc(n,t,i){return t&&wc(n.prototype,t),i&&wc(n,i),n}function ct(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var o,i;if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n)){var r=[],u=!0,f=!1,e=void 0;try{for(i=n[Symbol.iterator]();!(u=(o=i.next()).done)&&(r.push(o.value),!t||r.length!==t);u=!0);}catch(n){f=!0;e=n}finally{try{u||null==i.return||i.return()}finally{if(f)throw e;}}return r}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance");}()}function ke(n){return function(n){if(Array.isArray(n)){for(var t=0,i=new Array(n.length);t<n.length;t++)i[t]=n[t];return i}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance");}()}var pu,gt,as,vs,nt,yf,ti,kr,nu,tu,nh,wf,th,lh,df,vh,yh,ie,fe,oi,le,ac,vc,ye,ur,vu,be,tt,kt,yu,de,b,dc;n=n&&n.hasOwnProperty("default")?n.default:n;pu="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var fr=function(n){return n&&n.Math==Math&&n},f=fr("object"==typeof globalThis&&globalThis)||fr("object"==typeof window&&window)||fr("object"==typeof self&&self)||fr("object"==typeof pu&&pu)||Function("return this")(),r=function(n){try{return!!n()}catch(n){return!0}},o=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),to={}.propertyIsEnumerable,io=Object.getOwnPropertyDescriptor,li={f:io&&!to.call({1:2},1)?function(n){var t=io(this,n);return!!t&&t.enumerable}:to},lt=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}},gc={}.toString,k=function(n){return gc.call(n).slice(8,-1)},nl="".split,er=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(n){return"String"==k(n)?nl.call(n,""):Object(n)}:Object,it=function(n){if(null==n)throw TypeError("Can't call method on "+n);return n},y=function(n){return er(it(n))},s=function(n){return"object"==typeof n?null!==n:"function"==typeof n},at=function(n,t){if(!s(n))return n;var i,r;if(t&&"function"==typeof(i=n.toString)&&!s(r=i.call(n))||"function"==typeof(i=n.valueOf)&&!s(r=i.call(n))||!t&&"function"==typeof(i=n.toString)&&!s(r=i.call(n)))return r;throw TypeError("Can't convert object to primitive value");},tl={}.hasOwnProperty,i=function(n,t){return tl.call(n,t)},wu=f.document,il=s(wu)&&s(wu.createElement),ro=function(n){return il?wu.createElement(n):{}},uo=!o&&!r(function(){return 7!=Object.defineProperty(ro("div"),"a",{get:function(){return 7}}).a}),fo=Object.getOwnPropertyDescriptor,ai={f:o?fo:function(n,t){if(n=y(n),t=at(t,!0),uo)try{return fo(n,t)}catch(n){}if(i(n,t))return lt(!li.f.call(n,t),n[t])}},h=function(n){if(!s(n))throw TypeError(String(n)+" is not an object");return n},eo=Object.defineProperty,w={f:o?eo:function(n,t,i){if(h(n),t=at(t,!0),h(i),uo)try{return eo(n,t,i)}catch(n){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(n[t]=i.value),n}},l=o?function(n,t,i){return w.f(n,t,lt(1,i))}:function(n,t,i){return n[t]=i,n},bu=function(n,t){try{l(f,n,t)}catch(i){f[n]=t}return t},vi=f["__core-js_shared__"]||bu("__core-js_shared__",{}),rl=Function.toString;"function"!=typeof vi.inspectSource&&(vi.inspectSource=function(n){return rl.call(n)});var or,yi,sr,oo=vi.inspectSource,so=f.WeakMap,ul="function"==typeof so&&/native code/.test(oo(so)),vt=no(function(n){(n.exports=function(n,t){return vi[n]||(vi[n]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.0",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),fl=0,el=Math.random(),ku=function(n){return"Symbol("+String(void 0===n?"":n)+")_"+(++fl+el).toString(36)},ho=vt("keys"),hr=function(n){return ho[n]||(ho[n]=ku(n))},pi={},ol=f.WeakMap;if(ul){var dt=new ol,sl=dt.get,hl=dt.has,cl=dt.set;or=function(n,t){return cl.call(dt,n,t),t};yi=function(n){return sl.call(dt,n)||{}};sr=function(n){return hl.call(dt,n)}}else gt=hr("state"),pi[gt]=!0,or=function(n,t){return l(n,gt,t),t},yi=function(n){return i(n,gt)?n[gt]:{}},sr=function(n){return i(n,gt)};var du,et={set:or,get:yi,has:sr,enforce:function(n){return sr(n)?yi(n):or(n,{})},getterFor:function(n){return function(t){var i;if(!s(t)||(i=yi(t)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return i}}},rt=no(function(n){var t=et.get,r=et.enforce,u=String(String).split("String");(n.exports=function(n,t,e,o){var h=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof e&&("string"!=typeof t||i(e,"name")||l(e,"name",t),r(e).source=u.join("string"==typeof t?t:""));n!==f?(h?!c&&n[t]&&(s=!0):delete n[t],s?n[t]=e:l(n,t,e)):s?n[t]=e:bu(t,e)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||oo(this)})}),wi=f,co=function(n){if("function"==typeof n)return n},cr=function(n,t){return arguments.length<2?co(wi[n])||co(f[n]):wi[n]&&wi[n][t]||f[n]&&f[n][t]},ll=Math.ceil,al=Math.floor,bi=function(n){return isNaN(n=+n)?0:(n>0?al:ll)(n)},vl=Math.min,yt=function(n){return n>0?vl(bi(n),9007199254740991):0},yl=Math.max,pl=Math.min,lr=function(n,t){var i=bi(n);return i<0?yl(i+t,0):pl(i,t)},lo=function(n){return function(t,i,r){var o,f=y(t),e=yt(f.length),u=lr(r,e);if(n&&i!=i){for(;e>u;)if((o=f[u++])!=o)return!0}else for(;e>u;u++)if((n||u in f)&&f[u]===i)return n||u||0;return!n&&-1}},gu={includes:lo(!0),indexOf:lo(!1)}
87,wl=gu.indexOf,ao=function(n,t){var r,f=y(n),e=0,u=[];for(r in f)!i(pi,r)&&i(f,r)&&u.push(r);for(;t.length>e;)i(f,r=t[e++])&&(~wl(u,r)||u.push(r));return u},ar=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bl=ar.concat("length","prototype"),vr={f:Object.getOwnPropertyNames||function(n){return ao(n,bl)}},ki={f:Object.getOwnPropertySymbols},kl=cr("Reflect","ownKeys")||function(n){var t=vr.f(h(n)),i=ki.f;return i?t.concat(i(n)):t},vo=function(n,t){for(var r,f=kl(t),e=w.f,o=ai.f,u=0;u<f.length;u++)r=f[u],i(n,r)||e(n,r,o(t,r))},dl=/#|\.prototype\./,di=function(n,t){var i=na[gl(n)];return i==ia||i!=ta&&("function"==typeof t?r(t):!!t)},gl=di.normalize=function(n){return String(n).replace(dl,".").toLowerCase()},na=di.data={},ta=di.NATIVE="N",ia=di.POLYFILL="P",yo=di,ra=ai.f,u=function(n,t){var e,i,r,u,s,o=n.target,h=n.global,c=n.stat;if(e=h?f:c?f[o]||bu(o,{}):(f[o]||{}).prototype)for(i in t){if(u=t[i],r=n.noTargetGet?(s=ra(e,i))&&s.value:e[i],!yo(h?i:o+(c?".":"#")+i,n.forced)&&void 0!==r){if(typeof u==typeof r)continue;vo(u,r)}(n.sham||r&&r.sham)&&l(u,"sham",!0);rt(e,i,u,n)}},d=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())}),po=d&&!Symbol.sham&&"symbol"==typeof Symbol(),pt=Array.isArray||function(n){return"Array"==k(n)},g=function(n){return Object(it(n))},ut=Object.keys||function(n){return ao(n,ar)},ua=o?Object.defineProperties:function(n,t){h(n);for(var i,r=ut(t),f=r.length,u=0;f>u;)w.f(n,i=r[u++],t[i]);return n},fa=cr("document","documentElement"),wo=hr("IE_PROTO"),nf=function(){},bo=function(n){return"<script>"+n+"<\/script>"},yr=function(){var n,t,i;try{du=document.domain&&new ActiveXObject("htmlfile")}catch(n){}for(yr=du?function(n){n.write(bo(""));n.close();var t=n.parentWindow.Object;return n=null,t}(du):((t=ro("iframe")).style.display="none",fa.appendChild(t),t.src=String("javascript:"),(n=t.contentWindow.document).open(),n.write(bo("document.F=Object")),n.close(),n.F),i=ar.length;i--;)delete yr.prototype[ar[i]];return yr()};pi[wo]=!0;var ot=Object.create||function(n,t){var i;return null!==n?(nf.prototype=h(n),i=new nf,nf.prototype=null,i[wo]=n):i=yr(),void 0===t?i:ua(i,t)},ko=vr.f,ea={}.toString,go="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ns={f:function(n){return go&&"[object Window]"==ea.call(n)?function(n){try{return ko(n)}catch(n){return go.slice()}}(n):ko(y(n))}},pr=vt("wks"),tf=f.Symbol,oa=po?tf:ku,e=function(n){return i(pr,n)||(pr[n]=d&&i(tf,n)?tf[n]:oa("Symbol."+n)),pr[n]},ts={f:e},sa=w.f,is=function(n){var t=wi.Symbol||(wi.Symbol={});i(t,n)||sa(t,n,{value:ts.f(n)})},ha=w.f,rs=e("toStringTag"),rf=function(n,t,r){n&&!i(n=r?n:n.prototype,rs)&&ha(n,rs,{configurable:!0,value:t})},uf=function(n){if("function"!=typeof n)throw TypeError(String(n)+" is not a function");return n},ca=e("species"),ff=function(n,t){var i;return pt(n)&&("function"!=typeof(i=n.constructor)||i!==Array&&!pt(i.prototype)?s(i)&&null===(i=i[ca])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===t?0:t)},la=[].push,wt=function(n){var i=1==n,u=2==n,f=3==n,t=4==n,r=6==n,e=5==n||r;return function(o,s,h,c){for(var a,v,w=g(o),y=er(w),d=function(n,t,i){if(uf(n),void 0===t)return n;switch(i){case 0:return function(){return n.call(t)};case 1:return function(i){return n.call(t,i)};case 2:return function(i,r){return n.call(t,i,r)};case 3:return function(i,r,u){return n.call(t,i,r,u)}}return function(){return n.apply(t,arguments)}}(s,h,3),b=yt(y.length),l=0,k=c||ff,p=i?k(o,b):u?k(o,0):void 0;b>l;l++)if((e||l in y)&&(v=d(a=y[l],l,w),n))if(i)p[l]=v;else if(v)switch(n){case 3:return!0;case 5:return a;case 6:return l;case 2:la.call(p,a)}else if(t)return!1;return r?-1:f||t?t:p}},ni={forEach:wt(0),map:wt(1),filter:wt(2),some:wt(3),every:wt(4),find:wt(5),findIndex:wt(6)},wr=ni.forEach,a=hr("hidden"),us=e("toPrimitive"),aa=et.set,fs=et.getterFor("Symbol"),p=Object.prototype,v=f.Symbol,gi=cr("JSON","stringify"),es=ai.f,st=w.f,os=ns.f,va=li.f,ft=vt("symbols"),nr=vt("op-symbols"),ef=vt("string-to-symbol-registry"),of=vt("symbol-to-string-registry"),ya=vt("wks"),sf=f.QObject,hf=!sf||!sf.prototype||!sf.prototype.findChild,cf=o&&r(function(){return 7!=ot(st({},"a",{get:function(){return st(this,"a",{value:7}).a}})).a})?function(n,t,i){var r=es(p,t);r&&delete p[t];st(n,t,i);r&&n!==p&&st(p,t,r)}:st,ss=function(n,t){var i=ft[n]=ot(v.prototype);return aa(i,{type:"Symbol",tag:n,description:t}),o||(i.description=t),i},lf=d&&"symbol"==typeof v.iterator?function(n){return"symbol"==typeof n}:function(n){return Object(n)instanceof v},br=function(n,t,r){n===p&&br(nr,t,r);h(n);var u=at(t,!0);return h(r),i(ft,u)?(r.enumerable?(i(n,a)&&n[a][u]&&(n[a][u]=!1),r=ot(r,{enumerable:lt(0,!1)})):(i(n,a)||st(n,a,lt(1,{})),n[a][u]=!0),cf(n,u,r)):st(n,u,r)},hs=function(n,t){h(n);var i=y(t),r=ut(i).concat(vf(i));return wr(r,function(t){o&&!af.call(i,t)||br(n,t,i[t])}),n},af=function(n){var t=at(n,!0),r=va.call(this,t);return!(this===p&&i(ft,t)&&!i(nr,t))&&(!(r||!i(this,t)||!i(ft,t)||i(this,a)&&this[a][t])||r)},cs=function(n,t){var u=y(n),r=at(t,!0),f;if(u!==p||!i(ft,r)||i(nr,r))return f=es(u,r),!f||!i(ft,r)||i(u,a)&&u[a][r]||(f.enumerable=!0),f},ls=function(n){var r=os(y(n)),t=[];
87return wr(r,function(n){i(ft,n)||i(pi,n)||t.push(n)}),t},vf=function(n){var t=n===p,u=os(t?nr:y(n)),r=[];return wr(u,function(n){i(ft,n)&&(!t||i(p,n))&&r.push(ft[n])}),r};if((d||(rt((v=function(){if(this instanceof v)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,n=ku(t),r=function(t){this===p&&r.call(nr,t);i(this,a)&&i(this[a],n)&&(this[a][n]=!1);cf(this,n,lt(1,t))};return o&&hf&&cf(p,n,{configurable:!0,set:r}),ss(n,t)}).prototype,"toString",function(){return fs(this).tag}),li.f=af,w.f=br,ai.f=cs,vr.f=ns.f=ls,ki.f=vf,o&&(st(v.prototype,"description",{configurable:!0,get:function(){return fs(this).description}}),rt(p,"propertyIsEnumerable",af,{unsafe:!0}))),po||(ts.f=function(n){return ss(e(n),n)}),u({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:v}),wr(ut(ya),function(n){is(n)}),u({target:"Symbol",stat:!0,forced:!d},{"for":function(n){var t=String(n),r;return i(ef,t)?ef[t]:(r=v(t),ef[t]=r,of[r]=t,r)},keyFor:function(n){if(!lf(n))throw TypeError(n+" is not a symbol");if(i(of,n))return of[n]},useSetter:function(){hf=!0},useSimple:function(){hf=!1}}),u({target:"Object",stat:!0,forced:!d,sham:!o},{create:function(n,t){return void 0===t?ot(n):hs(ot(n),t)},defineProperty:br,defineProperties:hs,getOwnPropertyDescriptor:cs}),u({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:ls,getOwnPropertySymbols:vf}),u({target:"Object",stat:!0,forced:r(function(){ki.f(1)})},{getOwnPropertySymbols:function(n){return ki.f(g(n))}}),gi)&&(as=!d||r(function(){var n=v();return"[null]"!=gi([n])||"{}"!=gi({a:n})||"{}"!=gi(Object(n))}),u({target:"JSON",stat:!0,forced:as},{stringify:function(n,t){for(var i,r=[n],u=1;arguments.length>u;)r.push(arguments[u++]);if(i=t,(s(t)||void 0!==n)&&!lf(n))return pt(t)||(t=function(n,t){if("function"==typeof i&&(t=i.call(this,n,t)),!lf(t))return t}),r[1]=t,gi.apply(null,r)}})),v.prototype[us]||l(v.prototype,us,v.prototype.valueOf),rf(v,"Symbol"),pi[a]=!0,vs=w.f,nt=f.Symbol,o&&"function"==typeof nt&&(!("description"in nt.prototype)||void 0!==nt().description)){yf={};ti=function(){var n=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof ti?new nt(n):void 0===n?nt():nt(n);return""===n&&(yf[t]=!0),t};vo(ti,nt);kr=ti.prototype=nt.prototype;kr.constructor=ti;var pa=kr.toString,wa="Symbol(test)"==String(nt("test")),ba=/^Symbol\((.*)\)[^)]+$/;vs(kr,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,r=pa.call(t),n;return i(yf,t)?"":(n=wa?r.slice(7,-1):r.replace(ba,"$1"),""===n?void 0:n)}});u({global:!0,forced:!0},{Symbol:ti})}is("iterator");var ii,dr,gr=function(n,t,i){var r=at(t);r in n?w.f(n,r,lt(0,i)):n[r]=i},pf=cr("navigator","userAgent")||"",ys=f.process,ps=ys&&ys.versions,ws=ps&&ps.v8;ws?dr=(ii=ws.split("."))[0]+ii[1]:pf&&(!(ii=pf.match(/Edge\/(\d+)/))||ii[1]>=74)&&(ii=pf.match(/Chrome\/(\d+)/))&&(dr=ii[1]);var bs=dr&&+dr,ka=e("species"),tr=function(n){return bs>=51||!r(function(){var t=[];return(t.constructor={})[ka]=function(){return{foo:1}},1!==t[n](Boolean).foo})},ks=e("isConcatSpreadable"),da=bs>=51||!r(function(){var n=[];return n[ks]=!1,n.concat()[0]!==n}),ga=tr("concat"),nv=function(n){if(!s(n))return!1;var t=n[ks];return void 0!==t?!!t:pt(n)};u({target:"Array",proto:!0,forced:!da||!ga},{concat:function(){for(var r,e,n,o=g(this),u=ff(o,0),t=0,i=-1,f=arguments.length;i<f;i++)if(n=-1===i?o:arguments[i],nv(n)){if(t+(e=yt(n.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<e;r++,t++)r in n&&gr(u,t,n[r])}else{if(t>=9007199254740991)throw TypeError("Maximum allowed index exceeded");gr(u,t++,n)}return u.length=t,u}});var tv=ni.filter,ds=tr("filter"),iv=ds&&!r(function(){[].filter.call({length:-1,0:1},function(n){throw n;})});u({target:"Array",proto:!0,forced:!ds||!iv},{filter:function(n){return tv(this,n,arguments.length>1?arguments[1]:void 0)}});nu=e("unscopables");tu=Array.prototype;null==tu[nu]&&w.f(tu,nu,{configurable:!0,value:ot(null)});var ri=function(n){tu[nu][n]=!0},rv=ni.find,gs=!0;"find"in[]&&Array(1).find(function(){gs=!1});u({target:"Array",proto:!0,forced:gs},{find:function(n){return rv(this,n,arguments.length>1?arguments[1]:void 0)}});ri("find");nh=ni.findIndex;wf=!0;"findIndex"in[]&&Array(1).findIndex(function(){wf=!1});u({target:"Array",proto:!0,forced:wf},{findIndex:function(n){return nh(this,n,arguments.length>1?arguments[1]:void 0)}});ri("findIndex");th=gu.includes;u({target:"Array",proto:!0},{includes:function(n){return th(this,n,arguments.length>1?arguments[1]:void 0)}});ri("includes");var iu=function(n,t){var i=[][n];return!i||!r(function(){i.call(null,t||function(){throw 1;},1)})},uv=gu.indexOf,ih=[].indexOf,rh=!!ih&&1/[1].indexOf(1,-0)<0,fv=iu("indexOf");u({target:"Array",proto:!0,forced:rh||fv}
87,{indexOf:function(n){return rh?ih.apply(this,arguments)||0:uv(this,n,arguments.length>1?arguments[1]:void 0)}});var ui,uh,fh,ev=!r(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype}),eh=hr("IE_PROTO"),ov=Object.prototype,ru=ev?Object.getPrototypeOf:function(n){return n=g(n),i(n,eh)?n[eh]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?ov:null},oh=e("iterator"),sh=!1;[].keys&&("next"in(fh=[].keys())?(uh=ru(ru(fh)))!==Object.prototype&&(ui=uh):sh=!0);null==ui&&(ui={});i(ui,oh)||l(ui,oh,function(){return this});var bf={IteratorPrototype:ui,BUGGY_SAFARI_ITERATORS:sh},sv=bf.IteratorPrototype,uu=Object.setPrototypeOf||("__proto__"in{}?function(){var n,t=!1,i={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]);t=i instanceof Array}catch(n){}return function(i,r){return h(i),function(n){if(!s(n)&&null!==n)throw TypeError("Can't set "+String(n)+" as a prototype");}(r),t?n.call(i,r):i.__proto__=r,i}}():void 0),kf=bf.IteratorPrototype,fu=bf.BUGGY_SAFARI_ITERATORS,ir=e("iterator"),hv=function(){return this},hh=function(n,t,i,r,f,e,o){!function(n,t,i){var r=t+" Iterator";n.prototype=ot(sv,{next:lt(1,i)});rf(n,r,!1)}(i,t,r);var h,a,y,p=function(n){if(n===f&&c)return c;if(!fu&&n in s)return s[n];switch(n){case"keys":case"values":case"entries":return function(){return new i(this,n)}}return function(){return new i(this)}},k=t+" Iterator",w=!1,s=n.prototype,v=s[ir]||s["@@iterator"]||f&&s[f],c=!fu&&v||p(f),b="Array"==t&&s.entries||v;if(b&&(h=ru(b.call(new n)),kf!==Object.prototype&&h.next&&(ru(h)!==kf&&(uu?uu(h,kf):"function"!=typeof h[ir]&&l(h,ir,hv)),rf(h,k,!0))),"values"==f&&v&&"values"!==v.name&&(w=!0,c=function(){return v.call(this)}),s[ir]!==c&&l(s,ir,c),f)if(a={values:p("values"),keys:e?c:p("keys"),entries:p("entries")},o)for(y in a)!fu&&!w&&y in s||rt(s,y,a[y]);else u({target:t,proto:!0,forced:fu||w},a);return a},cv=et.set,lv=et.getterFor("Array Iterator"),rr=hh(Array,"Array",function(n,t){cv(this,{type:"Array Iterator",target:y(n),index:0,kind:t})},function(){var t=lv(this),i=t.target,r=t.kind,n=t.index++;return!i||n>=i.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:i[n],done:!1}:{value:[n,i[n]],done:!1}},"values");ri("keys");ri("values");ri("entries");var av=[].join,vv=er!=Object,yv=iu("join",",");u({target:"Array",proto:!0,forced:vv||yv},{join:function(n){return av.call(y(this),void 0===n?",":n)}});var pv=ni.map,ch=tr("map"),wv=ch&&!r(function(){[].map.call({length:-1,0:1},function(n){throw n;})});u({target:"Array",proto:!0,forced:!ch||!wv},{map:function(n){return pv(this,n,arguments.length>1?arguments[1]:void 0)}});lh=[].reverse;df=[1,2];u({target:"Array",proto:!0,forced:String(df)===String(df.reverse())},{reverse:function(){return pt(this)&&(this.length=this.length),lh.call(this)}});var bv=e("species"),kv=[].slice,dv=Math.max;u({target:"Array",proto:!0,forced:!tr("slice")},{slice:function(n,t){var i,f,e,r=y(this),o=yt(r.length),u=lr(n,o),h=lr(void 0===t?o:t,o);if(pt(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!pt(i.prototype)?s(i)&&null===(i=i[bv])&&(i=void 0):i=void 0,i===Array||void 0===i))return kv.call(r,u,h);for(f=new(void 0===i?Array:i)(dv(h-u,0)),e=0;u<h;u++,e++)u in r&&gr(f,e,r[u]);return f.length=e,f}});var gf=[],ah=gf.sort,gv=r(function(){gf.sort(void 0)}
87),ny=r(function(){gf.sort(null)}),ty=iu("sort");u({target:"Array",proto:!0,forced:gv||!ny||ty},{sort:function(n){return void 0===n?ah.call(g(this)):ah.call(g(this),uf(n))}});vh=Math.max;yh=Math.min;u({target:"Array",proto:!0,forced:!tr("splice")},{splice:function(n,t){var f,r,c,i,o,s,u=g(this),e=yt(u.length),h=lr(n,e),l=arguments.length;if(0===l?f=r=0:1===l?(f=0,r=e-h):(f=l-2,r=yh(vh(bi(t),0),e-h)),e+f-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=ff(u,r),i=0;i<r;i++)(o=h+i)in u&&gr(c,i,u[o]);if(c.length=r,f<r){for(i=h;i<e-r;i++)s=i+f,(o=i+r)in u?u[s]=u[o]:delete u[s];for(i=e;i>e-r+f;i--)delete u[i-1]}else if(f>r)for(i=e-r;i>h;i--)s=i+f-1,(o=i+r-1)in u?u[s]=u[o]:delete u[s];for(i=0;i<f;i++)u[i+h]=arguments[i+2];return u.length=e-r+f,c}});var iy=function(n,t,i){var r,u;return uu&&"function"==typeof(r=t.constructor)&&r!==i&&s(u=r.prototype)&&u!==i.prototype&&uu(n,u),n},fi="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff",eu="["+fi+"]",ry=RegExp("^"+eu+eu+"*"),uy=RegExp(eu+eu+"*$"),ne=function(n){return function(t){var i=String(it(t));return 1&n&&(i=i.replace(ry,"")),2&n&&(i=i.replace(uy,"")),i}},ou={start:ne(1),end:ne(2),trim:ne(3)},fy=vr.f,ey=ai.f,oy=w.f,sy=ou.trim,ht=f.Number,su=ht.prototype,hy="Number"==k(ot(su)),ph=function(n){var r,o,u,f,e,s,i,h,t=at(n,!1);if("string"==typeof t&&t.length>2)if(43===(r=(t=sy(t)).charCodeAt(0))||45===r){if(88===(o=t.charCodeAt(2))||120===o)return NaN}else if(48===r){switch(t.charCodeAt(1)){case 66:case 98:u=2;f=49;break;case 79:case 111:u=8;f=55;break;default:return+t}for(s=(e=t.slice(2)).length,i=0;i<s;i++)if((h=e.charCodeAt(i))<48||h>f)return NaN;return parseInt(e,u)}return+t};if(yo("Number",!ht(" 0o1")||!ht("0b1")||ht("+0x1"))){for(var hu,bt=function(n){var i=arguments.length<1?0:n,t=this;return t instanceof bt&&(hy?r(function(){su.valueOf.call(t)}):"Number"!=k(t))?iy(new ht(ph(i)),t,bt):ph(i)},wh=o?fy(ht):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),te=0;wh.length>te;te++)i(ht,hu=wh[te])&&!i(bt,hu)&&oy(bt,hu,ey(ht,hu));bt.prototype=su;su.constructor=bt;rt(f,"Number",bt)}var ei=Object.assign,bh=Object.defineProperty,kh=!ei||r(function(){if(o&&1!==ei({b:1},ei(bh({},"a",{enumerable:!0,get:function(){bh(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var n={},t={},i=Symbol();return n[i]=7,"abcdefghijklmnopqrst".split("").forEach(function(n){t[n]=n}),7!=ei({},n)[i]||"abcdefghijklmnopqrst"!=ut(ei({},t)).join("")})?function(n){for(var r=g(n),h=arguments.length,u=1,f=ki.f,c=li.f;h>u;)for(var i,t=er(arguments[u++]),e=f?ut(t).concat(f(t)):ut(t),l=e.length,s=0;l>s;)i=e[s++],o&&!c.call(t,i)||(r[i]=t[i]);return r}:ei;u({target:"Object",stat:!0,forced:Object.assign!==kh},{assign:kh});var cy=li.f,dh=function(n){return function(t){for(var i,r=y(t),u=ut(r),s=u.length,f=0,e=[];s>f;)i=u[f++],o&&!cy.call(r,i)||e.push(n?[i,r[i]]:r[i]);return e}},ly={entries:dh(!0),values:dh(!1)}.entries;u({target:"Object",stat:!0},{entries:function(n){return ly(n)}});ie={};ie[e("toStringTag")]="z";var re="[object z]"===String(ie),ay=e("toStringTag"),vy="Arguments"==k(function(){return arguments}()),yy=re?k:function(n){var t,i,r;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(i=function(n,t){try{return n[t]}catch(n){}}(t=Object(n),ay))?i:vy?k(t):"Object"==(r=k(t))&&"function"==typeof t.callee?"Arguments":r},py=re?{}.toString:function(){return"[object "+yy(this)+"]"};re||rt(Object.prototype,"toString",py,{unsafe:!0});var wy=ou.trim,ue=f.parseFloat,gh=1/ue(fi+"-0")!=-1/0?function(n){var t=wy(String(n)),i=ue(t);return 0===i&&"-"==t.charAt(0)?-0:i}:ue;u({global:!0,forced:parseFloat!=gh},{parseFloat:gh});var by=ou.trim,cu=f.parseInt,ky=/^[+-]?0[Xx]/,nc=8!==cu(fi+"08")||22!==cu(fi+"0x16")?function(n,t){var i=by(String(n));return cu(i,t>>>0||(ky.test(i)?16:10))}:cu;u({global:!0,forced:parseInt!=nc},{parseInt:nc});fe=function(){var t=h(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n};var ee,oe,ic={UNSUPPORTED_Y:r(function(){var n=tc("a","y");return n.lastIndex=2,null!=n.exec("abcd")}),BROKEN_CARET:r(function(){var n=tc("^r","gy");return n.lastIndex=2,null!=n.exec("str")})},lu=RegExp.prototype.exec,dy=String.prototype.replace,rc=lu,se=(ee=/a
87/,oe=/b*/g,lu.call(ee,"a"),lu.call(oe,"a"),0!==ee.lastIndex||0!==oe.lastIndex),uc=ic.UNSUPPORTED_Y||ic.BROKEN_CARET,he=void 0!==/()??/.exec("")[1];(se||he||uc)&&(rc=function(n){var c,f,t,r,i=this,s=uc&&i.sticky,u=fe.call(i),e=i.source,h=0,o=n;return s&&(-1===(u=u.replace("y","")).indexOf("g")&&(u+="g"),o=String(n).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==n[i.lastIndex-1])&&(e="(?: "+e+")",o=" "+o,h++),f=new RegExp("^(?:"+e+")",u)),he&&(f=new RegExp("^"+e+"$(?!\\s)",u)),se&&(c=i.lastIndex),t=lu.call(s?f:i,o),s?t?(t.input=t.input.slice(h),t[0]=t[0].slice(h),t.index=i.lastIndex,i.lastIndex+=t[0].length):i.lastIndex=0:se&&t&&(i.lastIndex=i.global?t.index+t[0].length:c),he&&t&&t.length>1&&dy.call(t[0],f,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(t[r]=void 0)}),t});oi=rc;u({target:"RegExp",proto:!0,forced:/./.exec!==oi},{exec:oi});var fc=RegExp.prototype,ec=fc.toString,gy=r(function(){return"/a/b"!=ec.call({source:"a",flags:"b"})}),np="toString"!=ec.name;(gy||np)&&rt(RegExp.prototype,"toString",function(){var n=h(this),i=String(n.source),t=n.flags;return"/"+i+"/"+String(void 0===t&&n instanceof RegExp&&!("flags"in fc)?fe.call(n):t)},{unsafe:!0});var tp=e("match"),oc=function(n){var t;return s(n)&&(void 0!==(t=n[tp])?!!t:"RegExp"==k(n))},ip=function(n){if(oc(n))throw TypeError("The method doesn't accept regular expressions");return n},rp=e("match");u({target:"String",proto:!0,forced:!function(n){var t=/./;try{"/./"[n](t)}catch(i){try{return t[rp]=!1,"/./"[n](t)}catch(n){}}return!1}("includes")},{includes:function(n){return!!~String(it(this)).indexOf(ip(n),arguments.length>1?arguments[1]:void 0)}});var sc=function(n){return function(t,i){var f,e,u=String(it(t)),r=bi(i),o=u.length;return r<0||r>=o?n?"":void 0:(f=u.charCodeAt(r))<55296||f>56319||r+1===o||(e=u.charCodeAt(r+1))<56320||e>57343?n?u.charAt(r):f:n?u.slice(r,r+2):e-56320+(f-55296<<10)+65536}},hc={codeAt:sc(!1),charAt:sc(!0)},up=hc.charAt,fp=et.set,ep=et.getterFor("String Iterator");hh(String,"String",function(n){fp(this,{type:"String Iterator",string:String(n),index:0})},function(){var n,t=ep(this),i=t.string,r=t.index;return r>=i.length?{value:void 0,done:!0}:(n=up(i,r),t.index+=n.length,{value:n,done:!1})});var op=e("species"),sp=!r(function(){var n=/./;return n.exec=function(){var n=[];return n.groups={a:"7"},n},"7"!=="".replace(n,"$<a>")}),cc="$0"==="a".replace(/./,"$0"),hp=!r(function(){var t=/(?:)/,i=t.exec,n;return t.exec=function(){return i.apply(this,arguments)},n="ab".split(t),2!==n.length||"a"!==n[0]||"b"!==n[1]}),ce=function(n,t,i,u){var f=e(n),o=!r(function(){var t={};return t[f]=function(){return 7},7!=""[n](t)}),c=o&&!r(function(){var i=!1,t=/a/;return"split"===n&&((t={}).constructor={},t.constructor[op]=function(){return t},t.flags="",t[f]=/./[f]),t.exec=function(){return i=!0,null},t[f](""),!i});if(!o||!c||"replace"===n&&(!sp||!cc)||"split"===n&&!hp){var a=/./[f],s=i(f,""[n],function(n,t,i,r,u){return t.exec===oi?o&&!u?{done:!0,value:a.call(t,i,r)}:{done:!0,value:n.call(i,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:cc}),v=s[0],h=s[1];rt(String.prototype,n,v);rt(RegExp.prototype,f,2==t?function(n,t){return h.call(n,this,t)}:function(n){return h.call(n,this)})}u&&l(RegExp.prototype[f],"sham",!0)},cp=hc.charAt,lc=function(n,t,i){return t+(i?cp(n,t).length:1)},au=function(n,t){var r=n.exec,i;if("function"==typeof r){if(i=r.call(n,t),"object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==k(n))throw TypeError("RegExp#exec called on incompatible receiver");return oi.call(n,t)},lp=Math.max,ap=Math.min,vp=Math.floor,yp=/\$([$&'`]|\d\d?|<[^>]*>)/g,pp=/\$([$&'`]|\d\d?)/g;ce("replace",2,function(n,t,i,r){function u(n,i,r,u,f,e){var h=r+n.length,o=u.length,s=pp;return void 0!==f&&(f=g(f),s=yp),t.call(e,s,function(t,e){var l,s,c;switch(e.charAt(0)){case"$":return"$";case"&":return n;case"`":return i.slice(0,r);case"'":return i.slice(h);case"<":l=f[e.slice(1,-1)];break;default:if(s=+e,0===s)return t;if(s>o)return c=vp(s/10),0===c?t:c<=o?void 0===u[c-1]?e.charAt(1):u[c-1]+e.charAt(1):t;l=u[s-1]}return void 0===l?"":l})}return[function(i,r){var u=it(this),f=null==i?void 0:i[n];return void 0!==f?f.call(i,u,r):t.call(String(u),i,r)},function(n,f){var y,p,rt,l,e,v,nt,tt;if((r.REPLACE_KEEPS_$0||"string"==typeof f&&-1===f.indexOf("$0"))&&(y=i(t,n,this,f),y.done))return y.value;var s=h(n),o=String(this),it="function"==typeof f;for(it||(f=String(f)),p=s.global,p&&(rt=s.unicode,s.lastIndex=0),l=[];;){if(e=au(s,o),null===e)break;if(l.push(e),!p)break;""===String(e[0])&&(s.lastIndex=lc(o,yt(s.lastIndex),rt))}for(var w,ut="",a=0,b=0;b<l.length;b++){e=l[b];for(var k=String(e[0]),c=lp(ap(bi(e.index),o.length),0),d=[],g=1;g<e.length;g++)d.push(void 0===(w=e[g])?w:String(w));v=e.groups;it?(nt=[k].concat(d,c,o),void 0!==v&&nt.push(v),tt=String(f.apply(void 0,nt))):tt=u(k,o,c,d,v,f);c>=a&&(ut+=o.slice(a,c)+tt,a=c+k.length)}return ut+o.slice(a)}]});le=Object.is||function(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t};ce("search",1,function(n,t,i){return[function(t){var i=it(this),r=null==t?void 0:t[n];return void 0!==r?r.call(t,i):new RegExp(t)[n](String(i))},function(n){var e=i(t,n,this),f;if(e.done)return e.value;var r=h(n),o=String(this),u=r.lastIndex;return le(u,0)||(r.lastIndex=0),f=au(r,o),le(r.lastIndex,u)||(r.lastIndex=u),null===f?-1:f.index}]});var wp=e("species"),bp=[].push,kp=Math.min,si=!r(function(){return!RegExp(4294967295,"y")});ce("split",2,function(n,t,i){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(n,i){var u=String(it(this)),e=void 0===i?4294967295:i>>>0;if(0===e)return[];if(void 0===n)return[u];if(!oc(n))return t.call(u,n,e);for(var f,h,c,r=[],l=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(n.sticky?"y":""),o=0,s=new RegExp(n.source,l+"g");(f=oi.call(s,u))&&!((h=s.lastIndex)>o&&(r.push(u.slice(o,f.index)),f.length>1&&f.index<u.length&&bp.apply(r,f.slice(1)),c=f[0].length,o=h,r.length>=e));)s.lastIndex===f.index&&s.lastIndex++;return o===u.length?!c&&s.test("")||r.push(""):r.push(u.slice(o)),r.length>e?r.slice(0,e):r}:"0".split(void 0,0).length?function(n,i){return void 0===n&&0===i?[]:t.call(this,n,i)}:t,[function(t,i){var u=it(this),f=null==t?void 0:t[n];return void 0!==f?f.call(t,u,i):r.call(String(u),t,i)},function(n,u){var p=i(r,n,this,u,r!==t),w,a,v;if(p.done)return p.value;var s=h(n),f=String(this),b=function(n,t){var i,r=h(n).constructor;return void 0===r||null==(i=h(r)[wp])?t:uf(i)}(s,RegExp),k=s.unicode,d=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(si?"y":"g"),c=new b(si?s:"^(?:"+s.source+")",d),y=void 0===u?4294967295:u>>>0;
87if(0===y)return[];if(0===f.length)return null===au(c,f)?[f]:[];for(var l=0,e=0,o=[];e<f.length;)if(c.lastIndex=si?e:0,a=au(c,si?f:f.slice(e)),null===a||(w=kp(yt(c.lastIndex+(si?0:e)),f.length))===l)e=lc(f,e,k);else{if(o.push(f.slice(l,e)),o.length===y)return o;for(v=1;v<=a.length-1;v++)if(o.push(a[v]),o.length===y)return o;e=l=w}return o.push(f.slice(l)),o}]},!si);ac=ou.trim;u({target:"String",proto:!0,forced:function(n){return r(function(){return!!fi[n]()||"âÂ
á "!="âÂ
á "[n]()||fi[n].name!==n})}("trim")},{trim:function(){return ac(this)}});var ae={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},dp=ni.forEach,ve=iu("forEach")?function(n){return dp(this,n,arguments.length>1?arguments[1]:void 0)}:[].forEach;for(vc in ae)if(ye=f[vc],ur=ye&&ye.prototype,ur&&ur.forEach!==ve)try{l(ur,"forEach",ve)}catch(n){ur.forEach=ve}var pe=e("iterator"),yc=e("toStringTag"),we=rr.values;for(vu in ae)if(be=f[vu],tt=be&&be.prototype,tt){if(tt[pe]!==we)try{l(tt,pe,we)}catch(n){tt[pe]=we}if(tt[yc]||l(tt,yc,vu),ae[vu])for(kt in rr)if(tt[kt]!==rr[kt])try{l(tt,kt,rr[kt])}catch(n){tt[kt]=rr[kt]}}yu=4;try{de=n.fn.dropdown.Constructor.VERSION;void 0!==de&&(yu=parseInt(de,10))}catch(n){}var ci={3:{iconsPrefix:"glyphicon",icons:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"<\/ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s<\/label><\/li>',toolbarDropdownSeparator:'<li class="divider"><\/li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"<\/ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s<\/a><\/li>',dropdownCaret:'<span class="caret"><\/span>',pagination:['<ul class="pagination%s">',"<\/ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s<\/a><\/li>',icon:'<i class="%s %s"><\/i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s<\/span><\/div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s<\/button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s<\/button>'}},4:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"<\/div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s<\/label>',pageDropdown:['<div class="dropdown-menu">',"<\/div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s<\/a>',toolbarDropdownSeparator:'<div class="dropdown-divider"><\/div>
87',dropdownCaret:'<span class="caret"><\/span>',pagination:['<ul class="pagination%s">',"<\/ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s<\/a><\/li>',icon:'<i class="%s %s"><\/i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s<\/div><\/div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s<\/button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s<\/button>'}}}[yu],kc={height:void 0,classes:"table table-bordered table-hover",theadClasses:"",headerStyle:function(){return{}},rowStyle:function(){return{}},rowAttributes:function(){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortName:void 0,sortOrder:"asc",sortStable:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(n){return n},queryParamsType:"limit",responseHandler:function(n){return n},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",pagination:!1,onlyInfoPagination:!1,showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"‹",paginationNextText:"›",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchOnEnterKey:!1,strictSearch:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(){return{}},showColumns:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(n){var t=n.tagName;return["A","BUTTON"].includes(t)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailFormatter:function(){return""},detailFilter:function(){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:ci.classes.buttonsPrefix,buttonsClass:ci.classes.buttons,icons:ci.icons,html:ci.html,iconSize:void 0,iconsPrefix:ci.iconsPrefix,onAll:function(){return!1},onClickCell:function(){return!1},onDblClickCell:function(){return!1},onClickRow:function(){return!1},onDblClickRow:function(){return!1},onSort:function(){return!1},onCheck:function(){return!1},onUncheck:function(){return!1},onCheckAll:function(){return!1},onUncheckAll:function(){return!1},onCheckSome:function(){return!1},onUncheckSome:function(){return!1},onLoadSuccess:function(){return!1},onLoadError:function(){return!1},onColumnSwitch:function(){return!1},onPageChange:function(){return!1},onSearch:function(){return!1},onToggle:function(){return!1},onPreBody:function(){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(){return!1},onCollapseRow:function(){return!1},onRefreshOptions:function(){return!1},onRefresh:function(){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1}},ge={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(n){return"".concat(n," rows per page")},formatShowingRows:function(n,t,i,r){return void 0!==r&&r>0&&r>i?"Showing ".concat(n," to ").concat(t," of ").concat(i," rows (filtered from ").concat(r," total rows)"):"Showing ".concat(n," to ").concat(t," of ").concat(i," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(n){return"to page ".concat(n)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(n){return"Showing ".concat(n," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"}
87,formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}};Object.assign(kc,ge);b={VERSION:"1.16.0",THEME:"bootstrap".concat(yu),CONSTANTS:ci,DEFAULTS:kc,COLUMN_DEFAULTS:{field:void 0,title:void 0,titleTooltip:void 0,"class":void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,switchable:!0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,escape:!1,events:void 0},METHODS:["getOptions","refreshOptions","getData","getSelections","getAllSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],EVENTS:{"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody"},LOCALES:{en:ge,"en-US":ge}};dc=r(function(){ut(1)});u({target:"Object",stat:!0,forced:dc},{keys:function(n){return ut(g(n))}});var t={sprintf:function(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),t=1;t<i;t++)r[t-1]=arguments[t];var u=!0,f=0,e=n.replace(/%s/g,function(){var n=r[f++];return void 0===n?(u=!1,""):n});return u?e:""},isEmptyObject:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(n).length&&n.constructor===Object},isNumeric:function(n){return!isNaN(parseFloat(n))&&isFinite(n)},getFieldTitle:function(n,t){var r=!0,f=!1,e=void 0,o,i,u;try{for(i=n[Symbol.iterator]();!(r=(o=i.next()).done);r=!0)if(u=o.value,u.field===t)return u.title}catch(n){f=!0;e=n}finally{try{r||null==i.return||i.return()}finally{if(f)throw e;}}return""},setFieldIndex:function(n){var v=0,r=[],l=!0,y=!1,p=void 0,w,e,u,o,i,d,s,h,c;try{for(e=n[0][Symbol.iterator]();!(l=(w=e.next()).done);l=!0)v+=w.value.colspan||1}catch(n){y=!0;p=n}finally{try{l||null==e.return||e.return()}finally{if(y)throw p;}}for(u=0;u<n.length;u++)for(r[u]=[],o=0;o<v;o++)r[u][o]=!1;for(i=0;i<n.length;i++){var a=!0,b=!1,k=void 0;try{for(s=n[i][Symbol.iterator]();!(a=(d=s.next()).done);a=!0){var t=d.value,nt=t.rowspan||1,g=t.colspan||1,f=r[i].indexOf(!1);for(t.colspanIndex=f,1===g?(t.fieldIndex=f,void 0===t.field&&(t.field=f)):t.colspanGroup=t.colspan,h=0;h<nt;h++)r[i+h][f]=!0;for(c=0;c<g;c++)r[i][f+c]=!0}}catch(n){b=!0;k=n}finally{try{a||null==s.return||s.return()}finally{if(b)throw k;}}}},updateFieldGroup:function(n){var s,p=(s=[]).concat.apply(s,ke(n)),u=!0,h=!1,c=void 0,l,i,y,r,t;try{for(i=n[Symbol.iterator]();!(u=(l=i.next()).done);u=!0){var w=l.value,f=!0,a=!1,v=void 0;try{for(r=w[Symbol.iterator]();!(f=(y=r.next()).done);f=!0)if(t=y.value,t.colspanGroup>1){for(var e=0,b=function(n){p.find(function(t){return t.fieldIndex===n}).visible&&e++},o=t.colspanIndex;o<t.colspanIndex+t.colspanGroup;o++)b(o);t.colspan=e;t.visible=e>0}}catch(n){a=!0;v=n}finally{try{f||null==r.return||r.return()}finally{if(a)throw v;}}}}catch(n){h=!0;c=n}finally{try{u||null==i.return||i.return()}finally{if(h)throw c;}}},getScrollBarWidth:function(){var i,t,u,r;return void 0===this.cachedWidth&&(i=n("<div/>").addClass("fixed-table-scroll-inner"),t=n("<div/>").addClass("fixed-table-scroll-outer"),t.append(i),n("body").append(t),u=i[0].offsetWidth,t.css("overflow","scroll"),r=i[0].offsetWidth,u===r&&(r=t[0].clientWidth),t.remove(),this.cachedWidth=u-r),this.cachedWidth},calculateObjectValue:function(n,t,i,r){var u=t,e,c,f;if("string"==typeof t)if(e=t.split("."),e.length>1){u=window;var o=!0,s=!1,h=void 0;try{for(f=e[Symbol.iterator]();!(o=(c=f.next()).done);o=!0)u=u[c.value]}catch(n){s=!0;h=n}finally{try{o||null==f.return||f.return()}finally{if(s)throw h;}}}else u=window[t];return null!==u&&"object"===hi(u)?u:"function"==typeof u?u.apply(n,i||[]):!u&&"string"==typeof t&&this.sprintf.apply(this,[t].concat(ke(i)))?this.sprintf.apply(this,[t].concat(ke(i))):r},compareObjects:function(n,t,i){var e=Object.keys(n),o=Object.keys(t),r,f,u;if(i&&e.length!==o.length)return!1;for(r=0,f=e;r<f.length;r++)if(u=f[r],o.includes(u)&&n[u]!==t[u])return!1;return!0},escapeHTML:function(n){return"string"==typeof n?n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`"):n},getRealDataAttr:function(n){for(var t=0,i=Object.entries(n);t<i.length;t++){var u=ct(i[t],2),r=u[0],e=u[1],f=r.split(/(?=[A-Z])/).join("-").toLowerCase();f!==r&&(n[f]=e,delete n[r])}return n},getItemField:function(n,t,i){var r=n,s,u,h;if("string"!=typeof t||n.hasOwnProperty(t))return i?this.escapeHTML(n[t]):n[t];var c=t.split("."),f=!0,e=!1,o=void 0;try{for(u=c[Symbol.iterator]();!(f=(s=u.next()).done);f=!0)h=s.value,r=r&&r[h]}catch(n){e=!0;o=n}finally{try{f||null==u.return||u.return()}finally{if(e)throw o;}}return i?this.escapeHTML(r):r},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(n,t){var r=!0,f=!1,e=void 0,o,i,u;try{for(i=n[Symbol.iterator]();!(r=(o=i.next()).done);r=!0)if(u=o.value,JSON.stringify(u)===JSON.stringify(t))return n.indexOf(u)}catch(n){f=!0;e=n}finally{try{r||null==i.return||i.return()}finally{if(f)throw e;}}return-1},trToData:function(t,i){var u=this,f=[],r=[];return i.each(function(i,e){var o={};o._id=n(e).attr("id");o._class=n(e).attr("class");o._data=u.getRealDataAttr(n(e).data());n(e).find(">td,>th").each(function(f,e){for(var l,h,s,a=+n(e).attr("colspan")||1,v=+n(e).attr("rowspan")||1,c=f;r[i]&&r[i][c];c++);for(l=c;l<c+a;l++)for(h=i;h<i+v;h++)r[h]||(r[h]=[]),r[h][l]=!0;s=t[c].field;o[s]=n(e).html().trim();o["_".concat(s,"_id")]=n(e).attr("id");
87o["_".concat(s,"_class")]=n(e).attr("class");o["_".concat(s,"_rowspan")]=n(e).attr("rowspan");o["_".concat(s,"_colspan")]=n(e).attr("colspan");o["_".concat(s,"_title")]=n(e).attr("title");o["_".concat(s,"_data")]=u.getRealDataAttr(n(e).data())});f.push(o)}),f},sort:function(n,t,i,r,u,f){return null==n&&(n=""),null==t&&(t=""),r&&n===t&&(n=u,t=f),this.isNumeric(n)&&this.isNumeric(t)?(n=parseFloat(n))<(t=parseFloat(t))?-1*i:n>t?i:0:n===t?0:("string"!=typeof n&&(n=n.toString()),-1===n.localeCompare(t)?-1*i:i)},getResizeEventName:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n=n||"".concat(+new Date).concat(~~(1e6*Math.random())),"resize.bootstrap-table-".concat(n)}},gp=function(){function n(t){var i=this,r;pc(this,n);this.rows=t.rows;this.scrollEl=t.scrollEl;this.contentEl=t.contentEl;this.callback=t.callback;this.itemHeight=t.itemHeight;this.cache={};this.scrollTop=this.scrollEl.scrollTop;this.initDOM(this.rows,t.fixedScroll);this.scrollEl.scrollTop=this.scrollTop;this.lastCluster=0;r=function(){i.lastCluster!==(i.lastCluster=i.getNum())&&(i.initDOM(i.rows),i.callback())};this.scrollEl.addEventListener("scroll",r,!1);this.destroy=function(){i.contentEl.innerHtml="";i.scrollEl.removeEventListener("scroll",r,!1)}}return bc(n,[{key:"initDOM",value:function(n,t){void 0===this.clusterHeight&&(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=n[0]+n[0]+n[0],this.getRowsHeight(n));var i=this.initData(n,this.getNum(t)),u=i.rows.join(""),f=this.checkChanges("data",u),e=this.checkChanges("top",i.topOffset),o=this.checkChanges("bottom",i.bottomOffset),r=[];f&&e?(i.topOffset&&r.push(this.getExtra("top",i.topOffset)),r.push(u),i.bottomOffset&&r.push(this.getExtra("bottom",i.bottomOffset)),this.contentEl.innerHTML=r.join(""),t&&(this.contentEl.scrollTop=this.cache.scrollTop)):o&&(this.contentEl.lastChild.style.height="".concat(i.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight){var n=this.contentEl.children,t=n[Math.floor(n.length/2)];this.itemHeight=t.offsetHeight}this.blockHeight=50*this.itemHeight;this.clusterRows=200;this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(n){return this.scrollTop=n?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(n,t){var i;if(n.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:n};var r=Math.max((this.clusterRows-50)*t,0),u=r+this.clusterRows,f=Math.max(r*this.itemHeight,0),s=Math.max((n.length-u)*this.itemHeight,0),e=[],o=r;for(f<1&&o++,i=r;i<u;i++)n[i]&&e.push(n[i]);return{topOffset:f,bottomOffset:s,rowsAbove:o,rows:e}}},{key:"checkChanges",value:function(n,t){var i=t!==this.cache[n];return this.cache[n]=t,i}},{key:"getExtra",value:function(n,t){var i=document.createElement("tr");return i.className="virtual-scroll-".concat(n),t&&(i.style.height="".concat(t,"px")),i.outerHTML}}]),n}(),c=function(){function i(t,r){pc(this,i);this.options=r;this.$el=n(t);this.$el_=this.$el.clone();this.timeoutId_=0;this.timeoutFooter_=0;this.init()}return bc(i,[{key:"init",value:function(){this.initConstants();this.initLocale();this.initContainer();this.initTable();this.initHeader();this.initData();this.initHiddenRows();this.initToolbar();this.initPagination();this.initBody();this.initSearchText();this.initServer()}},{key:"initConstants",value:function(){var i=this.options,r;this.constants=b.CONSTANTS;this.constants.theme=n.fn.bootstrapTable.theme;r=i.buttonsPrefix?"".concat(i.buttonsPrefix,"-"):"";this.constants.buttonsClass=[i.buttonsPrefix,r+i.buttonsClass,t.sprintf("".concat(r,"%s"),i.iconSize)].join(" ").trim()}},{key:"initLocale",value:function(){if(this.options.locale){var i=n.fn.bootstrapTable.locales,t=this.options.locale.split(/-|_/);t[0]=t[0].toLowerCase();t[1]&&(t[1]=t[1].toUpperCase());i[this.options.locale]?n.extend(this.options,i[this.options.locale]):i[t.join("-")]?n.extend(this.options,i[t.join("-")]):i[t[0]]&&n.extend(this.options,i[t[0]])}}},{key:"initContainer",value:function(){var t=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"><\/div>':"",i=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"><\/div>':"";this.$container=n('\n <div class="bootstrap-table '.concat(this.constants.theme,'">\n <div class="fixed-table-toolbar"><\/div>\n ').concat(t,'\n <div class="fixed-table-container">\n <div class="fixed-table-header"><table><\/table><\/div>\n <div class="fixed-table-body">\n <div class="fixed-table-loading">
87\n <span class="loading-wrap">\n <span class="loading-text">').concat(this.options.formatLoadingMessage(),'<\/span>\n <span class="animation-wrap"><span class="animation-dot"><\/span><\/span>\n <\/span>\n <\/div>\n <\/div>\n <div class="fixed-table-footer"><table><thead><tr><\/tr><\/thead><\/table><\/div>\n <\/div>\n ').concat(i,"\n <\/div>\n "));this.$container.insertAfter(this.$el);this.$tableContainer=this.$container.find(".fixed-table-container");this.$tableHeader=this.$container.find(".fixed-table-header");this.$tableBody=this.$container.find(".fixed-table-body");this.$tableLoading=this.$container.find(".fixed-table-loading");this.$tableFooter=this.$el.find("tfoot");this.$toolbar=this.options.buttonsToolbar?n("body").find(this.options.buttonsToolbar):this.$container.find(".fixed-table-toolbar");this.$pagination=this.$container.find(".fixed-table-pagination");this.$tableBody.append(this.$el);this.$container.after('<div class="clearfix"><\/div>');this.$el.addClass(this.options.classes);this.$tableLoading.addClass(this.options.classes);this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('<div class="fixed-table-border"><\/div>'),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var r=this,u=[];this.$header=this.$el.find(">thead");this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=n('<thead class="'.concat(this.options.theadClasses,'"><\/thead>')).appendTo(this.$el);this.$header.find("tr").each(function(t,i){var r=[];n(i).find("th").each(function(t,i){void 0!==n(i).data("field")&&n(i).data("field","".concat(n(i).data("field")));r.push(n.extend({},{title:n(i).html(),"class":n(i).attr("class"),titleTooltip:n(i).attr("title"),rowspan:n(i).attr("rowspan")?+n(i).attr("rowspan"):void 0,colspan:n(i).attr("colspan")?+n(i).attr("colspan"):void 0},n(i).data()))});u.push(r)});Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]);this.options.columns=n.extend(!0,[],u,this.options.columns);this.columns=[];this.fieldsColumnsIndex=[];t.setFieldIndex(this.options.columns);this.options.columns.forEach(function(t,u){t.forEach(function(t,f){var e=n.extend({},i.COLUMN_DEFAULTS,t);void 0!==e.fieldIndex&&(r.columns[e.fieldIndex]=e,r.fieldsColumnsIndex[e.field]=e.fieldIndex);r.options.columns[u][f]=e})});this.options.data.length||(this.options.data=t.trToData(this.columns,this.$el.find(">tbody>tr")),this.options.data.length&&(this.fromHtml=!0));this.footerData=t.trToData(this.columns,this.$el.find(">tfoot>tr"));this.footerData&&this.$el.find("tfoot").html("<tr><\/tr>");!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var i=this,f={},r=[],u;this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]};t.updateFieldGroup(this.options.columns);this.options.columns.forEach(function(n,u){r.push("<tr>");0===u&&!i.options.cardView&&i.options.detailView&&i.options.detailViewIcon&&r.push('<th class="detail" rowspan="'.concat(i.options.columns.length,'">\n <div class="fht-cell"><\/div>\n <\/th>\n '));n.forEach(function(n,e){var v=t.sprintf(' class="%s"',n.class),k=n.widthUnit,c=parseFloat(n.width),d=t.sprintf("text-align: %s; ",n.halign?n.halign:n.align),g=t.sprintf("text-align: %s; ",n.align),l=t.sprintf("vertical-align: %s; ",n.valign),h,a,o,b;if(l+=t.sprintf("width: %s; ",!n.checkbox&&!n.radio||c?c?c+k:void 0:n.showSelectTitle?void 0:"36px"),void 0!==n.fieldIndex||n.visible){var s=t.calculateObjectValue(null,i.options.headerStyle,[n]),y=[],p="";if(s&&s.css)for(h=0,a=Object.entries(s.css);h<a.length;h++){var w=ct(a[h],2),nt=w[0],tt=w[1];y.push("".concat(nt,": ").concat(tt))}if(s&&s.classes&&(p=t.sprintf(' class="%s"',n.class?[n.class,s.classes].join(" "):s.classes)),void 0!==n.fieldIndex){if(i.header.fields[n.fieldIndex]=n.field,i.header.styles[n.fieldIndex]=g+l,i.header.classes[n.fieldIndex]=v,i.header.formatters[n.fieldIndex]=n.formatter,i.header.detailFormatters[n.fieldIndex]=n.detailFormatter,i.header.events[n.fieldIndex]=n.events,i.header.sorters[n.fieldIndex]=n.sorter,i.header.sortNames[n.fieldIndex]=n.sortName,i.header.cellStyles[n.fieldIndex]=n.cellStyle,i.header.searchables[n.fieldIndex]=n.searchable,!n.visible)return;if(i.options.cardView&&!n.cardVisible)return;f[n.field]=n}r.push("<th".concat(t.sprintf(' title="%s"',n.titleTooltip)),n.checkbox||n.radio?t.sprintf(' class="bs-checkbox %s"',n.class||""):p||v,t.sprintf(' style="%s"',d+l+y.join("; ")),t.sprintf(' rowspan="%s"',n.rowspan),t.sprintf(' colspan="%s"',n.colspan),t.sprintf(' data-field="%s"',n.field),0===e&&u>0?" data-not-first-th":"",">");r.push(t.sprintf('<div class="th-inner %s">',i.options.sortable&&n.sortable?"sortable both":""));o=i.options.escape?t.escapeHTML(n.title):n.title;b=o;n.checkbox&&(o="",!i.options.singleSelect&&i.options.checkboxHeader&&(o='<label><input name="btSelectAll" type="checkbox" />
87<span><\/span><\/label>'),i.header.stateField=n.field);n.radio&&(o="",i.header.stateField=n.field);!o&&n.showSelectTitle&&(o+=b);r.push(o);r.push("<\/div>");r.push('<div class="fht-cell"><\/div>');r.push("<\/div>");r.push("<\/th>")}});r.push("<\/tr>")});this.$header.html(r.join(""));this.$header.find("th[data-field]").each(function(t,i){n(i).data(f[n(i).data("field")])});this.$container.off("click",".th-inner").on("click",".th-inner",function(t){var r=n(t.currentTarget);if(i.options.detailView&&!r.parent().hasClass("bs-checkbox")&&r.closest(".bootstrap-table")[0]!==i.$container[0])return!1;i.options.sortable&&r.parent().data().sortable&&i.onSort(t)});this.$header.children().children().off("keypress").on("keypress",function(t){i.options.sortable&&n(t.currentTarget).data().sortable&&13===(t.keyCode||t.which)&&i.onSort(t)});u=t.getResizeEventName(this.$el.attr("id"));n(window).off(u);!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),n(window).on(u,function(){return i.resetView()}));this.$selectAll=this.$header.find('[name="btSelectAll"]');this.$selectAll.off("click").on("click",function(t){t.stopPropagation();var r=n(t.currentTarget).prop("checked");i[r?"checkAll":"uncheckAll"]();i.updateSelected()})}},{key:"initData",value:function(n,t){this.options.data="append"===t?this.options.data.concat(n):"prepend"===t?[].concat(n).concat(this.options.data):n||this.options.data;this.data=this.options.data;"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var n=this,r=this.options.sortName,u="desc"===this.options.sortOrder?-1:1,i=this.header.fields.indexOf(this.options.sortName),f=0;-1!==i&&(this.options.sortStable&&this.data.forEach(function(n,t){n.hasOwnProperty("_position")||(n._position=t)}),this.options.customSort?t.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort(function(f,e){n.header.sortNames[i]&&(r=n.header.sortNames[i]);var s=t.getItemField(f,r,n.options.escape),h=t.getItemField(e,r,n.options.escape),o=t.calculateObjectValue(n.header,n.header.sorters[i],[s,h,f,e]);return void 0!==o?n.options.sortStable&&0===o?u*(f._position-e._position):u*o:t.sort(s,h,u,n.options.sortStable,f._position,e._position)}),void 0!==this.options.sortClass&&(clearTimeout(f),f=setTimeout(function(){n.$el.removeClass(n.options.sortClass);var t=n.$header.find('[data-field="'.concat(n.options.sortName,'"]')).index();n.$el.find("tr td:nth-child(".concat(t+1,")")).addClass(n.options.sortClass)},250)))}},{key:"onSort",value:function(t){var u=t.type,r=t.currentTarget,i="keypress"===u?n(r):n(r).parent(),f=this.$header.find("th").eq(i.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===i.data("field")?this.options.sortOrder="asc"===this.options.sortOrder?"desc":"asc":(this.options.sortName=i.data("field"),this.options.sortOrder=this.options.rememberOrder?"asc"===i.data("order")?"desc":"asc":this.columns[this.fieldsColumnsIndex[i.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[i.data("field")]].order),this.trigger("sort",this.options.sortName,this.options.sortOrder),i.add(f).data("order",this.options.sortOrder),this.getCaret(),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.initSort();this.initBody()}},{key:"initToolbar",value:function(){var f,r=this,i=this.options,u=[],e=0,p=0,w,d,o,s,h,l,g,nt,a,v,y;this.$toolbar.find(".bs-bars").children().length&&n("body").append(n(i.toolbar));this.$toolbar.html("");"string"!=typeof i.toolbar&&"object"!==hi(i.toolbar)||n(t.sprintf('<div class="bs-bars %s-%s"><\/div>',this.constants.classes.pull,i.toolbarAlign)).appendTo(this.$toolbar).append(n(i.toolbar));u=['<div class="'.concat(["columns","columns-".concat(i.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(i.buttonsAlign)].join(" "),'">')];"string"==typeof i.icons&&(i.icons=t.calculateObjectValue(null,i.icons));w={paginationSwitch:'<button class="'.concat(this.constants.buttonsClass,'" type="button" name="paginationSwitch"\n aria-label="Pagination Switch" title="').concat(i.formatPaginationSwitch(),'">\n ').concat(i.showButtonIcons?t.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.paginationSwitchDown):"","\n ").concat(i.showButtonText?i.formatPaginationSwitchUp():"","\n <\/button>
87"),refresh:'<button class="'.concat(this.constants.buttonsClass,'" type="button" name="refresh"\n aria-label="Refresh" title="').concat(i.formatRefresh(),'">\n ').concat(i.showButtonIcons?t.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.refresh):"","\n ").concat(i.showButtonText?i.formatRefresh():"","\n <\/button>"),toggle:'<button class="'.concat(this.constants.buttonsClass,'" type="button" name="toggle"\n aria-label="Toggle" title="').concat(i.formatToggle(),'">\n ').concat(i.showButtonIcons?t.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.toggleOff):"","\n ").concat(i.showButtonText?i.formatToggleOn():"","\n <\/button>"),fullscreen:'<button class="'.concat(this.constants.buttonsClass,'" type="button" name="fullscreen"\n aria-label="Fullscreen" title="').concat(i.formatFullscreen(),'">\n ').concat(i.showButtonIcons?t.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.fullscreen):"","\n ").concat(i.showButtonText?i.formatFullscreen():"","\n <\/button>"),columns:function(){var n=[],f,u;return(n.push('<div class="keep-open '.concat(r.constants.classes.buttonsDropdown,'" title="').concat(i.formatColumns(),'">\n <button class="').concat(r.constants.buttonsClass,' dropdown-toggle" type="button" data-toggle="dropdown"\n aria-label="Columns" title="').concat(i.formatColumns(),'">\n ').concat(i.showButtonIcons?t.sprintf(r.constants.html.icon,i.iconsPrefix,i.icons.columns):"","\n ").concat(i.showButtonText?i.formatColumns():"","\n ").concat(r.constants.html.dropdownCaret,"\n <\/button>\n ").concat(r.constants.html.toolbarDropdown[0])),i.showColumnsSearch&&(n.push(t.sprintf(r.constants.html.toolbarDropdownItem,t.sprintf('<input type="text" class="%s" id="columnsSearch" placeholder="%s" autocomplete="off">',r.constants.classes.input,i.formatSearch()))),n.push(r.constants.html.toolbarDropdownSeparator)),i.showColumnsToggleAll)&&(f=r.getVisibleColumns().length===r.columns.filter(function(n){return!r.isSelectionColumn(n)}).length,n.push(t.sprintf(r.constants.html.toolbarDropdownItem,t.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s<\/span>',f?'checked="checked"':"",i.formatColumnsToggleAll()))),n.push(r.constants.html.toolbarDropdownSeparator)),u=0,r.columns.forEach(function(n){n.visible&&u++}),r.columns.forEach(function(f,e){if(!r.isSelectionColumn(f)&&(!i.cardView||f.cardVisible)){var o=f.visible?' checked="checked"':"",s=u<=r.options.minimumCountColumns&&o?' disabled="disabled"':"";f.switchable&&(n.push(t.sprintf(r.constants.html.toolbarDropdownItem,t.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s<\/span>',f.field,e,o,s,f.title))),p++)}}),n.push(r.constants.html.toolbarDropdown[1],"<\/div>"),n.join("")}()};"string"==typeof i.buttonsOrder&&(i.buttonsOrder=i.buttonsOrder.replace(/\[|\]| |'/g,"").toLowerCase().split(","));var c=!0,b=!1,k=void 0;try{for(o=i.buttonsOrder[Symbol.iterator]();!(c=(d=o.next()).done);c=!0)s=d.value,i["show"+s.charAt(0).toUpperCase()+s.substring(1)]&&u.push(w[s])}catch(n){b=!0;k=n}finally{try{c||null==o.return||o.return()}finally{if(b)throw k;}}if((u.push("<\/div>"),(this.showToolbar||u.length>2)&&this.$toolbar.append(u.join("")),i.showPaginationSwitch&&this.$toolbar.find('button[name="paginationSwitch"]').off("click").on("click",function(){return r.togglePagination()}),i.showFullscreen&&this.$toolbar.find('button[name="fullscreen"]').off("click").on("click",function(){return r.toggleFullscreen()}),i.showRefresh&&this.$toolbar.find('button[name="refresh"]').off("click").on("click",function(){return r.refresh()}),i.showToggle&&this.$toolbar.find('button[name="toggle"]').off("click").on("click",function(){r.toggleView()}),i.showColumns)&&(h=(f=this.$toolbar.find(".keep-open")).find('input[type="checkbox"]:not(".toggle-all")'),l=f.find('input[type="checkbox"].toggle-all'),p<=i.minimumCountColumns&&f.find("input").prop("disabled",!0),f.find("li, label").off("click").on("click",function(n){n.stopImmediatePropagation()}),h.off("click").on("click",function(t){var u=t.currentTarget,i=n(u);r._toggleColumn(i.val(),i.prop("checked"),!1);r.trigger("column-switch",i.data("field"),i.prop("checked"));l.prop("checked",h.filter(":checked").length===r.columns.filter(function(n){return!r.isSelectionColumn(n)}).length)}),l.off("click").on("click",function(t){var i=t.currentTarget;r._toggleAllColumns(n(i).prop("checked"))}),i.showColumnsSearch)){g=f.find("#columnsSearch");nt=f.find(".dropdown-item-marker");g.on("keyup paste change",function(t){var i=t.currentTarget,r=n(i).val().toLowerCase();nt.show();h.each(function(t,i){var u=n(i).parents(".dropdown-item-marker");u.text().toLowerCase().includes(r)||u.hide()})})}if(i.search||this.showSearchClearButton){u=[];var rt=t.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,i.formatSearch(),i.showButtonIcons?t.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.search):"",i.showButtonText?i.formatSearch():""),ut=t.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,i.formatClearSearch(),i.showButtonIcons?t.sprintf(this.constants.html.icon,i.iconsPrefix,i.icons.clearSearch):"",i.showButtonText?i.formatClearSearch():""),tt='<input class="'.concat(this.constants.classes.input,"\n ").concat(t.sprintf(" %s%s",this.constants.classes.inputPrefix,i.iconSize),'\n search-input" type="text" placeholder="').concat(i.formatSearch(),'" autocomplete="off">'),it=tt;(i.showSearchButton||i.showSearchClearButton)&&(a=(i.showSearchButton?rt:"")+(i.showSearchClearButton?ut:""),it=i.search?t.sprintf(this.constants.html.inputGroup,tt,a):a);u.push(t.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(i.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n <\/div>\n '),it));this.$toolbar.append(u.join(""));v=this.$toolbar.find(".search input");y=function(){var n="keyup drop blur ".concat(t.isIEBrowser()?"mouseup":"");v.off(n).on(n,function(n){i.searchOnEnterKey&&13!==n.keyCode||[37,38,39,40].includes(n.keyCode)||(clearTimeout(e),e=setTimeout(function(){r.onSearch({currentTarget:n.currentTarget})},i.searchTimeOut))})};i.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("
87click").on("click",function(){clearTimeout(e);e=setTimeout(function(){r.onSearch({currentTarget:v})},i.searchTimeOut)}),i.searchOnEnterKey&&y()):y();i.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click(function(){r.resetSearch()})}}},{key:"onSearch",value:function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.currentTarget,u=r.firedByInitSearchText,f=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t;if(void 0!==i&&n(i).length&&f){if(t=n(i).val().trim(),this.options.trimOnSearch&&n(i).val()!==t&&n(i).val(t),this.searchText===t&&t.length>0)return;n(i).hasClass("search-input")&&(this.searchText=t,this.options.searchText=t)}u||(this.options.pageNumber=1);this.initSearch();u?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination();this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var n=this,r,i,u;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return void(this.data=t.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]));r=this.searchText&&(this.fromHtml?t.escapeHTML(this.searchText):this.searchText).toLowerCase();i=t.isEmptyObject(this.filterColumns)?null:this.filterColumns;"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter(function(t){return n.filterOptions.filterAlgorithm.apply(null,[t,i])}):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=i?this.options.data.filter(function(t){var e=n.filterOptions.filterAlgorithm,r,f,u;if("and"===e){for(r in i)if(Array.isArray(i[r])&&!i[r].includes(t[r])||!Array.isArray(i[r])&&t[r]!==i[r])return!1}else if("or"===e){f=!1;for(u in i)(Array.isArray(i[u])&&i[u].includes(t[u])||!Array.isArray(i[u])&&t[u]===i[u])&&(f=!0);return f}return!0}):this.options.data);u=this.getVisibleFields();this.data=r?this.data.filter(function(i,f){for(var v,c,s,h,o=0;o<n.header.fields.length;o++)if(n.header.searchables[o]&&(!n.options.visibleSearch||-1!==u.indexOf(n.header.fields[o]))){var l=t.isNumeric(n.header.fields[o])?parseInt(n.header.fields[o],10):n.header.fields[o],a=n.columns[n.fieldsColumnsIndex[l]],e=void 0;if("string"==typeof l)for(e=i,v=l.split("."),c=0;c<v.length;c++)null!==e[v[c]]&&(e=e[v[c]]);else e=i[l];if(a&&a.searchFormatter&&(e=t.calculateObjectValue(a,n.header.formatters[o],[e,i,f,a.field],e)),"string"==typeof e||"number"==typeof e)if(n.options.strictSearch){if("".concat(e).toLowerCase()===r)return!0}else{if(s=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(\d+)?|(\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(r),h=!1,s){var w=s[1]||"".concat(s[5],"l"),b=s[2]||s[3],y=parseInt(e,10),p=parseInt(b,10);switch(w){case">":case"<l":h=y>p;break;case"<":case">l":h=y<p;break;case"<=":case"=<":case">=l":case"=>l":h=y<=p;break;case">=":case"=>":case"<=l":case"=<l":h=y>=p}}if(h||"".concat(e).toLowerCase().includes(r))return!0}}return!1}):this.data}this.initSort()}},{key:"initPagination",value:function(){var e=this,n=this.options,k,a,v,s,h,c,d;if(n.pagination){this.$pagination.show();var i,r,f,w,y,p,b,u=[],l=!1,g=this.getData({includeHiddenRows:!1}),o=n.pageList;if("string"==typeof o&&(o=o.replace(/\[|\]| /g,"").toLowerCase().split(",")),o=o.map(function(t){return"string"==typeof t?t.toLowerCase()===n.formatAllRows().toLowerCase()||["all","unlimited"].includes(t.toLowerCase())?n.formatAllRows():+t:t}),"server"!==n.sidePagination&&(n.totalRows=g.length),this.totalPages=0,n.totalRows&&(n.pageSize===n.formatAllRows()&&(n.pageSize=n.totalRows,l=!0),this.totalPages=1+~~((n.totalRows-1)/n.pageSize),n.totalPages=this.totalPages),this.totalPages>0&&n.pageNumber>this.totalPages&&(n.pageNumber=this.totalPages),this.pageFrom=(n.pageNumber-1)*n.pageSize+1,this.pageTo=n.pageNumber*n.pageSize,this.pageTo>n.totalRows&&(this.pageTo=n.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),k=n.onlyInfoPagination?n.formatDetailPagination(n.totalRows):n.formatShowingRows(this.pageFrom,this.pageTo,n.totalRows,n.totalNotFiltered),u.push('<div class="'.concat(this.constants.classes.pull,"-").concat(n.paginationDetailHAlign,' pagination-detail">
87\n <span class="pagination-info">\n ').concat(k,"\n <\/span>")),!n.onlyInfoPagination){if(u.push('<span class="page-list">'),a=['<span class="'.concat(this.constants.classes.paginationDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle" type="button" data-toggle="dropdown">\n <span class="page-size">\n ').concat(l?n.formatAllRows():n.pageSize,"\n <\/span>\n ").concat(this.constants.html.dropdownCaret,"\n <\/button>\n ").concat(this.constants.html.pageDropdown[0])],o.forEach(function(i,r){var u;(!n.smartDisplay||0===r||o[r-1]<n.totalRows)&&(u=l?i===n.formatAllRows()?e.constants.classes.dropdownActive:"":i===n.pageSize?e.constants.classes.dropdownActive:"",a.push(t.sprintf(e.constants.html.pageDropdownItem,u,i)))}),a.push("".concat(this.constants.html.pageDropdown[1],"<\/span>")),u.push(n.formatRecordsPerPage(a.join(""))),u.push("<\/span><\/div>"),u.push('<div class="'.concat(this.constants.classes.pull,"-").concat(n.paginationHAlign,' pagination">'),t.sprintf(this.constants.html.pagination[0],t.sprintf(" pagination-%s",n.iconSize)),t.sprintf(this.constants.html.paginationItem," page-pre",n.formatSRPaginationPreText(),n.paginationPreText)),this.totalPages<n.paginationSuccessivelySize?(r=1,f=this.totalPages):f=(r=n.pageNumber-n.paginationPagesBySide)+2*n.paginationPagesBySide,n.pageNumber<n.paginationSuccessivelySize-1&&(f=n.paginationSuccessivelySize),n.paginationSuccessivelySize>this.totalPages-r&&(r=r-(n.paginationSuccessivelySize-(this.totalPages-r))+1),r<1&&(r=1),f>this.totalPages&&(f=this.totalPages),v=Math.round(n.paginationPagesBySide/2),s=function(i){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t.sprintf(e.constants.html.paginationItem,r+(i===n.pageNumber?" ".concat(e.constants.classes.paginationActive):""),n.formatSRPaginationPageText(i),i)},r>1){for(h=n.paginationPagesBySide,h>=r&&(h=r-1),i=1;i<=h;i++)u.push(s(i));r-1===h+1?(i=r-1,u.push(s(i))):r-1>h&&(r-2*n.paginationPagesBySide>n.paginationPagesBySide&&n.paginationUseIntermediate?(i=Math.round((r-v)/2+v),u.push(s(i," page-intermediate"))):u.push(t.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(i=r;i<=f;i++)u.push(s(i));if(this.totalPages>f)for(c=this.totalPages-(n.paginationPagesBySide-1),f>=c&&(c=f+1),f+1===c-1?(i=f+1,u.push(s(i))):c>f+1&&(this.totalPages-f>2*n.paginationPagesBySide&&n.paginationUseIntermediate?(i=Math.round((this.totalPages-v-f)/2+f),u.push(s(i," page-intermediate"))):u.push(t.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),i=c;i<=this.totalPages;i++)u.push(s(i));u.push(t.sprintf(this.constants.html.paginationItem," page-next",n.formatSRPaginationNextText(),n.paginationNextText));u.push(this.constants.html.pagination[1],"<\/div>")}this.$pagination.html(u.join(""));d=["bottom","both"].includes(n.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > span").addClass(d);n.onlyInfoPagination||(w=this.$pagination.find(".page-list a"),y=this.$pagination.find(".page-pre"),p=this.$pagination.find(".page-next"),b=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),n.smartDisplay&&(o.length<2||n.totalRows<=o[0])&&this.$pagination.find("span.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),n.paginationLoop||(1===n.pageNumber&&y.addClass("disabled"),n.pageNumber===this.totalPages&&p.addClass("disabled")),l&&(n.pageSize=n.formatAllRows()),w.off("click").on("click",function(n){return e.onPageListChange(n)}),y.off("click").on("click",function(n){return e.onPagePre(n)}),p.off("click").on("click",function(n){return e.onPageNext(n)}),b.off("click").on("click",function(n){return e.onPageNumber(n)}))}else this.$pagination.hide()}},{key:"updatePagination",value:function(t){t&&n(t.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),"server"===this.options.sidePagination?this.initServer():this.initBody(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize))}},{key:"onPageListChange",value:function(t){t.preventDefault();var i=n(t.currentTarget);return i.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=i.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+i.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(t),!1}},{key:"onPagePre",value:function(n){return n.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(n),!1}},{key:"onPageNext",value:function(n){return n.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(n),!1}},{key:"onPageNumber",value:function(t){if(t.preventDefault(),this.options.pageNumber!==+n(t.currentTarget).text())return this.options.pageNumber=+n(t.currentTarget).text(),this.updatePagination(t),!1}},{key:"initRow",value:function(n,i){var r=this,u=[],f={},h=[],w="",c={},l=[],e,a,o,v,s,y;if(!(t.findIndex(this.hiddenRows,n)>
87-1)){if((f=t.calculateObjectValue(this.options,this.options.rowStyle,[n,i],f))&&f.css)for(e=0,a=Object.entries(f.css);e<a.length;e++){var b=ct(a[e],2),nt=b[0],tt=b[1];h.push("".concat(nt,": ").concat(tt))}if(c=t.calculateObjectValue(this.options,this.options.rowAttributes,[n,i],c))for(o=0,v=Object.entries(c);o<v.length;o++){var k=ct(v[o],2),it=k[0],rt=k[1];l.push("".concat(it,'="').concat(t.escapeHTML(rt),'"'))}if(n._data&&!t.isEmptyObject(n._data))for(s=0,y=Object.entries(n._data);s<y.length;s++){var d=ct(y[s],2),g=d[0],p=d[1];if("index"===g)return;w+=" data-".concat(g,"='").concat("object"===hi(p)?JSON.stringify(p):p,"'")}return u.push("<tr",t.sprintf(" %s",l.length?l.join(" "):void 0),t.sprintf(' id="%s"',Array.isArray(n)?void 0:n._id),t.sprintf(' class="%s"',f.classes||(Array.isArray(n)?void 0:n._class)),' data-index="'.concat(i,'"'),t.sprintf(' data-uniqueid="%s"',t.getItemField(n,this.options.uniqueId,!1)),t.sprintf(' data-has-detail-view="%s"',!this.options.cardView&&this.options.detailView&&t.calculateObjectValue(null,this.options.detailFilter,[i,n])?"true":void 0),t.sprintf("%s",w),">"),this.options.cardView&&u.push('<td colspan="'.concat(this.header.fields.length,'"><div class="card-views">')),!this.options.cardView&&this.options.detailView&&this.options.detailViewIcon&&(u.push("<td>"),t.calculateObjectValue(null,this.options.detailFilter,[i,n])&&u.push('\n <a class="detail-icon" href="#">\n '.concat(t.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n <\/a>\n ")),u.push("<\/td>")),this.header.fields.forEach(function(f,e){var l="",c=t.getItemField(n,f,r.options.escape),o="",a="",v={},d="",p=r.header.classes[e],y="",g="",nt="",tt="",it="",s=r.columns[e],w,k,ht;if((!r.fromHtml||void 0!==c||s.checkbox||s.radio)&&s.visible&&(!r.options.cardView||s.cardVisible)){if(s.escape&&(c=t.escapeHTML(c)),h.concat([r.header.styles[e]]).length&&(y=' style="'.concat(h.concat([r.header.styles[e]]).join("; "),'"')),n["_".concat(f,"_id")]&&(d=t.sprintf(' id="%s"',n["_".concat(f,"_id")])),n["_".concat(f,"_class")]&&(p=t.sprintf(' class="%s"',n["_".concat(f,"_class")])),n["_".concat(f,"_rowspan")]&&(nt=t.sprintf(' rowspan="%s"',n["_".concat(f,"_rowspan")])),n["_".concat(f,"_colspan")]&&(tt=t.sprintf(' colspan="%s"',n["_".concat(f,"_colspan")])),n["_".concat(f,"_title")]&&(it=t.sprintf(' title="%s"',n["_".concat(f,"_title")])),(v=t.calculateObjectValue(r.header,r.header.cellStyles[e],[c,n,i,f],v)).classes&&(p=' class="'.concat(v.classes,'"')),v.css){for(var rt=[],b=0,ut=Object.entries(v.css);b<ut.length;b++){var ft=ct(ut[b],2),lt=ft[0],at=ft[1];rt.push("".concat(lt,": ").concat(at))}y=' style="'.concat(rt.concat(r.header.styles[e]).join("; "),'"')}if(o=t.calculateObjectValue(s,r.header.formatters[e],[c,n,i,f],c),n["_".concat(f,"_data")]&&!t.isEmptyObject(n["_".concat(f,"_data")]))for(w=0,k=Object.entries(n["_".concat(f,"_data")]);w<k.length;w++){var et=ct(k[w],2),ot=et[0],vt=et[1];if("index"===ot)return;g+=" data-".concat(ot,'="').concat(vt,'"')}if(s.checkbox||s.radio){a=s.checkbox?"checkbox":a;a=s.radio?"radio":a;var st=s.class||"",yt=(!0===o||c||o&&o.checked)&&!1!==o,pt=!s.checkboxEnabled||o&&o.disabled;l=[r.options.cardView?'<div class="card-view '.concat(st,'">'):'<td class="bs-checkbox '.concat(st,'"').concat(p).concat(y,">"),'<label>\n <input\n data-index="'.concat(i,'"\n name="').concat(r.options.selectItemName,'"\n type="').concat(a,'"\n ').concat(t.sprintf('value="%s"',n[r.options.idField]),"\n ").concat(t.sprintf('checked="%s"',yt?"checked":void 0),"\n ").concat(t.sprintf('disabled="%s"',pt?"disabled":void 0)," />\n <span><\/span>\n <\/label>"),r.header.formatters[e]&&"string"==typeof o?o:"",r.options.cardView?"<\/div>":"<\/td>"].join("");n[r.header.stateField]=!0===o||!!c||o&&o.checked}else(o=null==o?r.options.undefinedText:o,r.options.cardView)?(ht=r.options.showHeader?'<span class="card-view-title"'.concat(y,">").concat(t.getFieldTitle(r.columns,f),"<\/span>"):"",l='<div class="card-view">'.concat(ht,'<span class="card-view-value">').concat(o,"<\/span><\/div>"),r.options.smartDisplay&&""===o&&(l='<div class="card-view"><\/div>')):l="<td".concat(d).concat(p).concat(y).concat(g).concat(nt).concat(tt).concat(it,">").concat(o,"<\/td>");u.push(l)}}),this.options.cardView&&u.push("<\/div><\/td>"),u.push("<\/tr>"),u.join("")}}},{key:"initBody",value:function(i){var s=this,r=this.getData(),c,u;this.trigger("pre-body",r);this.$body=this.$el.find(">tbody");this.$body.length||(this.$body=n("<tbody><\/tbody>").appendTo(this.$el));this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=r.length);for(var h=[],e=n(document.createDocumentFragment()),o=!1,f=this.pageFrom-1;f<this.pageTo;f++)c=r[f],u=this.initRow(c,f,r,e),o=o||!!u,u&&"string"==typeof u&&(this.options.virtualScroll?h.push(u):e.append(u));o?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=ne
87w gp({rows:h,fixedScroll:i,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(){s.fitHeader();s.initBodyEvent()}})):this.$body.html(e):this.$body.html('<tr class="no-records-found">'.concat(t.sprintf('<td colspan="%s">%s<\/td>',this.$header.find("th").length,this.options.formatNoMatches()),"<\/tr>"));i||this.scrollTo(0);this.initBodyEvent();this.updateSelected();this.initFooter();this.resetView();"server"!==this.options.sidePagination&&(this.options.totalRows=r.length);this.trigger("post-body",r)}},{key:"initBodyEvent",value:function(){var i=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",function(r){var f=n(r.currentTarget),e=f.parent(),l=n(r.target).parents(".card-views").children(),a=n(r.target).parents(".card-view"),h=e.data("index"),o=i.data[h],c=i.options.cardView?l.index(a):f[0].cellIndex,u=i.getVisibleFields()[i.options.detailView&&i.options.detailViewIcon&&!i.options.cardView?c-1:c],v=i.columns[i.fieldsColumnsIndex[u]],y=t.getItemField(o,u,i.options.escape),s;f.find(".detail-icon").length||((i.trigger("click"===r.type?"click-cell":"dbl-click-cell",u,y,o,f),i.trigger("click"===r.type?"click-row":"dbl-click-row",o,e,u),"click"===r.type&&i.options.clickToSelect&&v.clickToSelect&&!t.calculateObjectValue(i.options,i.options.ignoreClickToSelectOn,[r.target]))&&(s=e.find(t.sprintf('[name="%s"]',i.options.selectItemName)),s.length&&s[0].click()),"click"===r.type&&i.options.detailViewByClick&&i.toggleDetailView(h,i.header.detailFormatters[i.fieldsColumnsIndex[u]]))}).off("mousedown").on("mousedown",function(n){i.multipleSelectRowCtrlKey=n.ctrlKey||n.metaKey;i.multipleSelectRowShiftKey=n.shiftKey});this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",function(t){return t.preventDefault(),i.toggleDetailView(n(t.currentTarget).parent().parent().data("index")),!1});this.$selectItem=this.$body.find(t.sprintf('[name="%s"]',this.options.selectItemName));this.$selectItem.off("click").on("click",function(t){t.stopImmediatePropagation();var r=n(t.currentTarget);i._toggleCheck(r.prop("checked"),r.data("index"))});this.header.events.forEach(function(r,u){var f=r,o,e,s,h;if(f&&("string"==typeof f&&(f=t.calculateObjectValue(null,f)),o=i.header.fields[u],e=i.getVisibleFields().indexOf(o),-1!==e)){i.options.detailView&&!i.options.cardView&&(e+=1);s=function(t){if(!f.hasOwnProperty(t))return"continue";var r=f[t];i.$body.find(">tr:not(.no-records-found)").each(function(u,f){var s=n(f),l=s.find(i.options.cardView?".card-views>.card-view":">td").eq(e),h=t.indexOf(" "),c=t.substring(0,h),a=t.substring(h+1);l.find(a).off(c).on(c,function(n){var t=s.data("index"),u=i.data[t],f=u[o];r.apply(i,[n,f,u,t])})})};for(h in f)s(h)}})}},{key:"initServer",value:function(i,r,u){var f=this,o={},h=this.header.fields.indexOf(this.options.sortName),e={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder},s;if(this.header.sortNames[h]&&(e.sortName=this.header.sortNames[h]),this.options.pagination&&"server"===this.options.sidePagination&&(e.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,e.pageNumber=this.options.pageNumber),(u||this.options.url||this.options.ajax)&&("limit"===this.options.queryParamsType&&(e={search:e.searchText,sort:e.sortName,order:e.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(e.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),e.limit=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,0===e.limit&&delete e.limit)),t.isEmptyObject(this.filterColumnsPartial)||(e.filter=JSON.stringify(this.filterColumnsPartial,null)),n.extend(e,r||{}),!1!==(o=t.calculateObjectValue(this.options,this.options.queryParams,[e],o))))return i||this.showLoading(),s=n.extend({},t.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:u||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(o):o,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(n,r,u){var e=t.calculateObjectValue(f.options,f.options.responseHandler,[n,u],n);f.load(e);f.trigger("load-success",e,u&&u.status,u);i||f.hideLoading();"server"===f.options.sidePagination&&e[f.options.totalField]>0&&!e[f.options.dataField].length&&f.updatePagination()},error:function(n){var t=[];"server"===f.options.sidePagination&&((t={})[f.options.totalField]=0,t[f.options.dataField]=[]);f.load(t);f.trigger("load-error",n&&n.status,n);i||f.$tableLoading.hide()}}),this.options.ajax?t.calculateObjectValue(this,this.options.ajax,[s],null):(this._xhr&&4!==this._xhr.readyState&&this._xhr.abort(),this._xhr=n.ajax(s)),o}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var n=this.$toolbar.find(".search input");n.val(this.options.searchText);this.onSearch({currentTarget:n,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var t=this;this.$header.find("th").each(function(i,r){n(r).find(".sortable").removeClass("desc asc").addClass(n(r).data("field")===t.options.sortName?t.options.sortOrder:"both")})}},{key:"updateSelected",value:function(){var t=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",t);this.$selectItem.each(function(t,i){n(i).closest("tr")[n(i).prop("checked")?"addClass":"removeClass"]("selected")})}},{key:"updateRows",value:function(){var t=this;this.$selectItem.each(function(i,r){t.data[n(r).data("index")][t.header.stateField]=n(r).prop("checked")})}},{key:"resetRows",value:function(){var n=!0,i=!1,r=void 0,u,t,f;try{for(t=this.data[Symbol.iterator]();!(n=(u=t.next()).done);
87n=!0)f=u.value,this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(f[this.header.stateField]=!1)}catch(n){i=!0;r=n}finally{try{n||null==t.return||t.return()}finally{if(i)throw r;}}this.initHiddenRows()}},{key:"trigger",value:function(t){for(var o,u="".concat(t,".bs.table"),e=arguments.length,r=new Array(e>1?e-1:0),f=1;f<e;f++)r[f-1]=arguments[f];(o=this.options)[i.EVENTS[u]].apply(o,r);this.$el.trigger(n.Event(u),r);this.options.onAll(u,r);this.$el.trigger(n.Event("all.bs.table"),[u,r])}},{key:"resetHeader",value:function(){var n=this;clearTimeout(this.timeoutId_);this.timeoutId_=setTimeout(function(){return n.fitHeader()},this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var i=this,r,c,f,e,o,s,h;if(this.$el.is(":hidden"))this.timeoutId_=setTimeout(function(){return i.fitHeader()},100);else{r=this.$tableBody.get(0);c=r.scrollWidth>r.clientWidth&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?t.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());f=n(":focus");f.length>0&&(e=f.parents("th"),e.length>0&&(o=e.attr("data-field"),void 0!==o&&(s=this.$header.find("[data-field='".concat(o,"']")),s.length>0&&s.find(":input").addClass("focus-temp"))));this.$header_=this.$header.clone(!0,!0);this.$selectAll_=this.$header_.find('[name="btSelectAll"]');this.$tableHeader.css("margin-right",c).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_);this.$tableLoading.css("width",this.$el.outerWidth());h=n(".focus-temp:visible:eq(0)");h.length>0&&(h.focus(),this.$header.find(".focus-temp").removeClass("focus-temp"));this.$header.find("th[data-field]").each(function(r,u){i.$header_.find(t.sprintf('th[data-field="%s"]',n(u).data("field"))).data(n(u).data())});for(var a=this.getVisibleFields(),l=this.$header_.find("th"),u=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);u.length&&u.find('>td[colspan]:not([colspan="1"])').length;)u=u.next();u.find("> *").each(function(r,u){var o=n(u),s=r,e,h,f,c;i.options.detailView&&i.options.detailViewIcon&&!i.options.cardView&&(0===r&&(e=l.filter(".detail"),h=e.innerWidth()-e.find(".fht-cell").width(),e.find(".fht-cell").width(o.innerWidth()-h)),s=r-1);-1!==s&&(f=i.$header_.find(t.sprintf('th[data-field="%s"]',a[s])),f.length>1&&(f=n(l[o[0].cellIndex])),c=f.innerWidth()-f.find(".fht-cell").width(),f.find(".fht-cell").width(o.innerWidth()-c))});this.horizontalScroll();this.trigger("post-header")}}},{key:"initFooter",value:function(){var e,i,l,u,f,s;if(this.options.showFooter&&!this.options.cardView){e=this.getData();i=[];!this.options.cardView&&this.options.detailView&&this.options.detailViewIcon&&i.push('<th class="detail"><div class="th-inner"><\/div><div class="fht-cell"><\/div><\/th>');var o=!0,h=!1,c=void 0;try{for(u=this.columns[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var a,v,n=l.value,y=[],r={},p=t.sprintf(' class="%s"',n.class);if(n.visible){if(this.options.cardView&&!n.cardVisible)return;if(a=t.sprintf("text-align: %s; ",n.falign?n.falign:n.align),v=t.sprintf("vertical-align: %s; ",n.valign),(r=t.calculateObjectValue(null,this.options.footerStyle,[n]))&&r.css)for(f=0,s=Object.entries(r.css);f<s.length;f++){var w=ct(s[f],2),b=w[0],k=w[1];y.push("".concat(b,": ").concat(k))}r&&r.classes&&(p=t.sprintf(' class="%s"',n.class?[n.class,r.classes].join(" "):r.classes));i.push("<th",p,t.sprintf(' style="%s"',a+v+y.concat().join("; ")),">");i.push('<div class="th-inner">');i.push(t.calculateObjectValue(n,n.footerFormatter,[e],this.footerData[0]&&this.footerData[0][n.field]||""));i.push("<\/div>");i.push('<div class="fht-cell"><\/div>');i.push("<\/div>");i.push("<\/th>")}}}catch(e){h=!0;c=e}finally{try{o||null==u.return||u.return()}finally{if(h)throw c;}}this.options.height||this.$tableFooter.length||(this.$el.append("<tfoot><tr><\/tr><\/tfoot>"),this.$tableFooter=this.$el.find("tfoot"));this.$tableFooter.find("tr").html(i.join(""));this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var u=this,r,e,f,i;if(this.$el.is(":hidden"))setTimeout(function(){return u.fitFooter()},100);else{for(r=this.$tableBody.get(0),e=r.scrollWidth>r.clientWidth&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?t.getScrollBarWidth():0,this.$tableFooter.css("margin-right",e).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class")),this.getVisibleFields(),f=this.$tableFooter.find("th"),i=this.$body.find(">
87tr:first-child:not(.no-records-found)");i.length&&i.find('>td[colspan]:not([colspan="1"])').length;)i=i.next();i.find("> *").each(function(t,i){var o=n(i),s=t,r,h,e,c;u.options.detailView&&!u.options.cardView&&(0===t&&(r=f.filter(".detail"),h=r.innerWidth()-r.find(".fht-cell").width(),r.find(".fht-cell").width(o.innerWidth()-h)),s=t-1);-1!==s&&(e=f.eq(t),c=e.innerWidth()-e.find(".fht-cell").width(),e.find(".fht-cell").width(o.innerWidth()-c))});this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var n=this;this.$tableBody.off("scroll").on("scroll",function(){var t=n.$tableBody.scrollLeft();n.options.showHeader&&n.options.height&&n.$tableHeader.scrollLeft(t);n.options.showFooter&&!n.options.cardView&&n.$tableFooter.scrollLeft(t);n.trigger("scroll-body",n.$tableBody)})}},{key:"getVisibleFields",value:function(){var t=[],i=!0,f=!1,e=void 0,o,n,r,u;try{for(n=this.header.fields[Symbol.iterator]();!(i=(o=n.next()).done);i=!0)r=o.value,u=this.columns[this.fieldsColumnsIndex[r]],u&&u.visible&&t.push(r)}catch(t){f=!0;e=t}finally{try{i||null==n.return||n.return()}finally{if(f)throw e;}}return t}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var t=n.extend({},this.options);return delete t.data,n.extend(!0,{},t)}},{key:"refreshOptions",value:function(i){t.compareObjects(this.options,i,!0)||(this.options=n.extend(this.options,i),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(n){var i=this.options.data,r;return(!(this.searchText||this.options.customSearch||this.options.sortName)&&t.isEmptyObject(this.filterColumns)&&t.isEmptyObject(this.filterColumnsPartial)||n&&n.unfiltered||(i=this.data),n&&n.useCurrentPage&&(i=i.slice(this.pageFrom-1,this.pageTo)),n&&!n.includeHiddenRows)&&(r=this.getHiddenRows(),i=i.filter(function(n){return-1===t.findIndex(r,n)})),i}},{key:"getSelections",value:function(){var n=this;return this.data.filter(function(t){return!0===t[n.header.stateField]})}},{key:"getAllSelections",value:function(){var n=this;return this.options.data.filter(function(t){return!0===t[n.header.stateField]})}},{key:"load",value:function(n){var i,t=n;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=t[this.options.totalField]);this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalNotFiltered=t[this.options.totalNotFilteredField]);i=t.fixedScroll;t=Array.isArray(t)?t:t[this.options.dataField];this.initData(t);this.initSearch();this.initPagination();this.initBody(i)}},{key:"append",value:function(n){this.initData(n,"append");this.initSearch();this.initPagination();this.initSort();this.initBody(!0)}},{key:"prepend",value:function(n){this.initData(n,"prepend");this.initSearch();this.initPagination();this.initSort();this.initBody(!0)}},{key:"remove",value:function(n){var t,i,r=this.options.data.length;if(n.hasOwnProperty("field")&&n.hasOwnProperty("values")){for(t=r-1;t>=0;t--)(i=this.options.data[t]).hasOwnProperty(n.field)&&n.values.includes(i[n.field])&&(this.options.data.splice(t,1),"server"===this.options.sidePagination&&(this.options.totalRows-=1));r!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(n){n.hasOwnProperty("index")&&n.hasOwnProperty("row")&&(this.options.data.splice(n.index,0,n.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(t){var s=Array.isArray(t)?t:[t],u=!0,f=!1,e=void 0,o,r,i;try{for(r=s[Symbol.iterator]();!(u=(o=r.next()).done);u=!0)i=o.value,i.hasOwnProperty("index")&&i.hasOwnProperty("row")&&(n.extend(this.options.data[i.index],i.row),i.hasOwnProperty("replace")&&i.replace?this.options.data[i.index]=i.row:n.extend(this.options.data[i.index],i.row))}catch(n){f=!0;e=n}finally{try{u||null==r.return||r.return()}finally{if(f)throw e;}}this.initSearch();this.initPagination();this.initSort();this.initBody(!0)}},{key:"getRowByUniqueId",value:function(n){for(var r,t,f=this.options.uniqueId,i=n,e=null,u=this.options.data.length-1;u>=0;u--){if((r=this.options.data[u]).hasOwnProperty(f))t=r[f];else{if(!r._data||!r._data.hasOwnProperty(f))continue;t=r._data[f]}if("string"==typeof t?i=i.toString():"number"==typeof t&&(Number(t)===t&&t%1==0?i=parseInt(i):t===Number(t)&&0!==t&&(i=parseFloat(i))),t===i){e=r;break}}return e}},{key:"updateByUniqueId",value:function(t){var h=Array.isArray(t)?t:[t],f=!0,e=!1,o=void 0,s,r,i,u;try{for(r=h[Symbol.iterator]();!(f=(s=r.next()).done);f=!0)i=s.value,i.hasOwnProperty("id")&&i.hasOwnProperty("row")&&(u=this.options.data.indexOf(this.getRowByUniqueId(i.id)),-1!==u&&(i.hasOwnProperty("replace")&&i.replace?this.options.data[u]=i.row:n.extend(this.options.data[u],i.row)))}catch(n){e=!0;o=n}finally{try{f||null==r.return||r.return()}finally{if(e)throw o;}}this.initSearch();this.initPagination();this.initSort();this.initBody(!0)}},{key:"removeByUniqueId",value:function(n){var i=this.options.data.length,t=this.getRowByUniqueId(n);t&&this.options.data.splice(this.options.data.indexOf(t),1);i!==this.options.data.length&&(this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"updateCell",value:function(n){n.hasOwnProperty("index")&&n.hasOwnProperty("field")&&n.hasOwnProperty("value")&&(this.data[n.index][n.field]=n.value,!1!==n.reinit&&(this.initSort(),this.initBody(!0)))}},{key:"updateCellByUniqueId",value:function(n){var t=this;n.hasOwnProperty("id")&&n.hasOwnProperty("field")&&n.hasOwnProperty("value")&&((Array.isArray(n)?n:[n]).forEac
87h(function(n){var r=n.id,u=n.field,f=n.value,i=t.options.data.indexOf(t.getRowByUniqueId(r));-1!==i&&(t.options.data[i][u]=f)}),!1!==n.reinit&&(this.initSort(),this.initBody(!0)))}},{key:"showRow",value:function(n){this._toggleRow(n,!0)}},{key:"hideRow",value:function(n){this._toggleRow(n,!1)}},{key:"_toggleRow",value:function(n,i){var r,u;(n.hasOwnProperty("index")?r=this.getData()[n.index]:n.hasOwnProperty("uniqueId")&&(r=this.getRowByUniqueId(n.uniqueId)),r)&&(u=t.findIndex(this.hiddenRows,r),i||-1!==u?i&&u>-1&&this.hiddenRows.splice(u,1):this.hiddenRows.push(r),i?this.updatePagination():(this.initBody(!0),this.initPagination()))}},{key:"getHiddenRows",value:function(n){var o,t,u;if(n)return this.initHiddenRows(),void this.initBody(!0);var s=this.getData(),i=[],r=!0,f=!1,e=void 0;try{for(t=s[Symbol.iterator]();!(r=(o=t.next()).done);r=!0)u=o.value,this.hiddenRows.includes(u)&&i.push(u)}catch(n){f=!0;e=n}finally{try{r||null==t.return||t.return()}finally{if(f)throw e;}}return this.hiddenRows=i,i}},{key:"showColumn",value:function(n){var t=this;(Array.isArray(n)?n:[n]).forEach(function(n){t._toggleColumn(t.fieldsColumnsIndex[n],!0,!0)})}},{key:"hideColumn",value:function(n){var t=this;(Array.isArray(n)?n:[n]).forEach(function(n){t._toggleColumn(t.fieldsColumnsIndex[n],!1,!0)})}},{key:"_toggleColumn",value:function(n,i,r){if(-1!==n&&this.columns[n].visible!==i&&(this.columns[n].visible=i,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var u=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);r&&u.filter(t.sprintf('[value="%s"]',n)).prop("checked",i);u.filter(":checked").length<=this.options.minimumCountColumns&&u.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var n=this;return this.columns.filter(function(t){return t.visible&&!n.isSelectionColumn(t)})}},{key:"getHiddenColumns",value:function(){return this.columns.filter(function(n){return!n.visible})}},{key:"isSelectionColumn",value:function(n){return n.radio||n.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(t){var h=this,u=!0,e=!1,o=void 0,s,r,f,i;try{for(r=this.columns.slice().reverse()[Symbol.iterator]();!(u=(s=r.next()).done);u=!0)if(f=s.value,f.switchable){if(!t&&this.options.showColumns&&this.getVisibleColumns().length===this.options.minimumCountColumns)continue;f.visible=t}}catch(n){e=!0;o=n}finally{try{u||null==r.return||r.return()}finally{if(e)throw o;}}(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)&&(i=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1),t?i.prop("checked",t):i.get().reverse().forEach(function(r){i.filter(":checked").length>h.options.minimumCountColumns&&n(r).prop("checked",t)}),i.filter(":checked").length<=this.options.minimumCountColumns&&i.filter(":checked").prop("disabled",!0))}},{key:"mergeCells",value:function(n){var r,u,t=n.index,i=this.getVisibleFields().indexOf(n.field),f=n.rowspan||1,e=n.colspan||1,o=this.$body.find(">tr"),s;if(this.options.detailView&&!this.options.cardView&&(i+=1),s=o.eq(t).find(">td").eq(i),!(t<0||i<0||t>=this.data.length)){for(r=t;r<t+f;r++)for(u=i;u<i+e;u++)o.eq(r).find(">td").eq(u).hide();s.attr("rowspan",f).attr("colspan",e).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(n){var i=this.getSelections(),t;this.$selectAll.add(this.$selectAll_).prop("checked",n);this.$selectItem.filter(":enabled").prop("checked",n);this.updateRows();t=this.getSelections();n?this.trigger("check-all",t,i):this.trigger("uncheck-all",t,i)}},{key:"checkInvert",value:function(){var i=this.$selectItem.filter(":enabled"),t=i.filter(":checked");i.each(function(t,i){n(i).prop("checked",!n(i).prop("checked"))});this.updateRows();this.updateSelected();this.trigger("uncheck-some",t);t=this.getSelections();this.trigger("check-some",t)}},{key:"check",value:function(n){this._toggleCheck(!0,n)}},{key:"uncheck",value:function(n){this._toggleCheck(!1,n)}},{key:"_toggleCheck",value:function(n,t){var r=this.$selectItem.filter('[data-index="'.concat(t,'"]')),c=this.data[t],h,u,e,i;if(r.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var f=!0,o=!1,s=void 0;try{for(u=this.options.data[Symbol.iterator]();!(f=(h=u.next()).done);f=!0)h.value[this.header.stateField]=!1}catch(n){o=!0;s=n}finally{try{f||null==u.return||u.return()}finally{if(o)throw s;}}this.$selectItem.filter(":checked").not(r).prop("checked",!1)}if(c[this.header.stateField]=n,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(e=[this.multipleSelectRowLastSelectedIndex,t].sort(),i=e[0]+1;i<e[1];i++)this.data[i][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(i,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1;this.multipleSelectRowShiftKey=!1;this.multipleSelectRowLastSelectedIndex=n?t:-1}r.prop("checked",n);this.updateSelected();this.trigger(n?"check":"uncheck",this.data[t],r)}},{key:"checkBy",value:function(n){this._toggleCheckBy(!0,n)}},{key:"uncheckBy",value:function(n){this._toggleCheckBy(!1,n)}},{key:"_toggleCheckBy",value:function(n,i){var r=this,u;i.hasOwnProperty("field")&&i.hasOwnProperty("values")&&(u=[],this.data.forEach(function(f,e){if(!f.hasOwnProperty(i.field))return!1;if(i.values.includes(f[i.field])){var o=r.$selectItem.filter(":enabled").filter(t.sprintf('[data-index="%s"]',e));if(!(o=n?o.not(":checked"):o.filter(":checked")).length)return;o.prop("checked",n);f[r.header.stateField]=n;u.push(f);r.trigger(n?"check":"uncheck",f,o)}}),this.updateSelected(),this.trigger(n?"check-some":"uncheck-some",u))}},{key:"refresh",value:function(n){n&&n.url&&(this.options.url=n.url);n&&n.pageNumber&&(this.options.pageNumber=n.pageNumber);n&&n.pageSize&&(this.options.pageSize=n.pageSize);this.trigger("refresh",this.initServer(n&&n.silent,n&&n.query,n&&n.url))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container);n(this.options.toolbar).insertBefore(this.$el);this.$container.next().remove();this.$container.remove();this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"")}},{key:"resetView",value:function(n){var i=0,r;if(n&&n.height&&(this.options.height=n.height),this.$selectAll.prop("checked",this.$selectItem.length>0&&this.$selectItem.length===this.$selectItem.filter(":checked").length),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),i+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(i+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){var e=this.$toolbar.outerHeight(!0),o=this.$pagination.outerHeight(!0),u=this.options.height-e-o,f=this.$tableBody.find(">table"),s=f.outerHeight();(this.$tableContainer.css("height","".concat(u,"px")),this.$tableBorder)&&(r=u-s-2,this.$tableBody[0].scrollWidth-this.$tableBody.innerWidth()&&(r-=t.getScrollBarWidth()),this.$tableBorder.css("width","".concat(f.outerWidth(),"px")),this.$tableBorder.css("height","".concat(r,"px")))}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(i,"px")));this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.css("display","flex")}},{key:"hideLoading",value:function(){this.$tableLoading.css("display","none")}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var n=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",i=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html(t.sprintf(this.constants.html.icon,this.options.iconsPrefix,n)+" "+i);this.updatePagination()}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen");this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView;this.initHeader();var n=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",i=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"";this.$toolbar.find('button[name="toggle"]').html(t.sprintf(this.constants.html.icon,this.options.iconsPrefix,n)+" "+i);this.initBody();this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(n){var t=this.$toolbar.find(".search input");t.val(n||"");this.onSearch({currentTarget:t})}},{key:"filterBy",value:function(i,r){this.filterOptions=t.isEmptyObject(r)?this.options.filterOptions:n.extend(this.options.filterOptions,r);this.filterColumns=t.isEmptyObject(i)?{}:i;this.options.pageNumber=1;this.initSearch();this.updatePagination()}},{key:"scrollTo",value:function(t){var i,r;if(void 0===t)return this.$tableBody.scrollTop();i={unit:"px",value:0};
87"object"===hi(t)?i=Object.assign(i,t):"string"==typeof t&&"bottom"===t?i.value=this.$tableBody[0].scrollHeight:"string"==typeof t&&(i.value=t);r=i.value;"rows"===i.unit&&(r=0,this.$body.find("> tr:lt(".concat(i.value,")")).each(function(t,i){r+=n(i).outerHeight(!0)}));this.$tableBody.scrollTop(r)}},{key:"getScrollPosition",value:function(){return this.scrollTo()}},{key:"selectPage",value:function(n){n>0&&n<=this.options.totalPages&&(this.options.pageNumber=n,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleDetailView",value:function(n,i){this.$body.find(t.sprintf('> tr[data-index="%s"]',n)).next().is("tr.detail-view")?this.collapseRow(n):this.expandRow(n,i);this.resetView()}},{key:"expandRow",value:function(n,i){var f=this.data[n],r=this.$body.find(t.sprintf('> tr[data-index="%s"][data-has-detail-view]',n));if(!r.next().is("tr.detail-view")){this.options.detailViewIcon&&r.find("a.detail-icon").html(t.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose));r.after(t.sprintf('<tr class="detail-view"><td colspan="%s"><\/td><\/tr>',r.children("td").length));var u=r.next().find("td"),e=i||this.options.detailFormatter,o=t.calculateObjectValue(this.options,e,[n,f,u],"");1===u.length&&u.append(o);this.trigger("expand-row",n,f,u)}}},{key:"collapseRow",value:function(n){var r=this.data[n],i=this.$body.find(t.sprintf('> tr[data-index="%s"][data-has-detail-view]',n));i.next().is("tr.detail-view")&&(this.options.detailViewIcon&&i.find("a.detail-icon").html(t.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",n,r,i.next()),i.next().remove())}},{key:"expandAllRows",value:function(){for(var i=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<i.length;t++)this.expandRow(n(i[t]).data("index"))}},{key:"collapseAllRows",value:function(){for(var i=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<i.length;t++)this.collapseRow(n(i[t]).data("index"))}},{key:"updateColumnTitle",value:function(i){i.hasOwnProperty("field")&&i.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[i.field]].title=this.options.escape?t.escapeHTML(i.title):i.title,this.columns[this.fieldsColumnsIndex[i.field]].visible&&(void 0!==this.options.height?this.$tableHeader:this.$header).find("th[data-field]").each(function(t,r){if(n(r).data("field")===i.field)return n(n(r).find(".th-inner")[0]).text(i.title),!1}))}},{key:"updateFormatText",value:function(n,t){/^format/.test(n)&&this.options[n]&&("string"==typeof t?this.options[n]=function(){return t}:"function"==typeof t&&(this.options[n]=t),this.initToolbar(),this.initPagination(),this.initBody())}}]),i}();return c.VERSION=b.VERSION,c.DEFAULTS=b.DEFAULTS,c.LOCALES=b.LOCALES,c.COLUMN_DEFAULTS=b.COLUMN_DEFAULTS,c.METHODS=b.METHODS,c.EVENTS=b.EVENTS,n.BootstrapTable=c,n.fn.bootstrapTable=function(t){for(var u,r=arguments.length,f=new Array(r>1?r-1:0),i=1;i<r;i++)f[i-1]=arguments[i];return this.each(function(i,r){var e=n(r).data("bootstrap.table"),s=n.extend({},c.DEFAULTS,n(r).data(),"object"===hi(t)&&t),o;if("string"==typeof t){if(!b.METHODS.includes(t))throw new Error("Unknown method: ".concat(t));if(!e)return;u=(o=e)[t].apply(o,f);"destroy"===t&&n(r).removeData("bootstrap.table")}e||n(r).data("bootstrap.table",e=new n.BootstrapTable(r,s))}),void 0===u?this:u},n.fn.bootstrapTable.Constructor=c,n.fn.bootstrapTable.theme=b.THEME,n.fn.bootstrapTable.VERSION=b.VERSION,n.fn.bootstrapTable.defaults=c.DEFAULTS,n.fn.bootstrapTable.columnDefaults=c.COLUMN_DEFAULTS,n.fn.bootstrapTable.events=c.EVENTS,n.fn.bootstrapTable.locales=c.LOCALES,n.fn.bootstrapTable.methods=c.METHODS,n.fn.bootstrapTable.utils=t,n(function(){n('[data-toggle="table"]').bootstrapTable()}),c}),function(n){"use strict";function f(){var t=this,i;this.options.fixedFrom=="right"&&(i=t.options.columns[0].length-1-t.options.fixedNumber,n.each(this.header.events,function(r,u){var o,e,f;if(!(r<i)&&u&&(typeof u=="string"&&(u=calculateObjectValue(null,u)),o=t.header.fields[r],e=n.inArray(o,t.getVisibleFields()),e!==-1)){t.options.detailVie
87w&&!t.options.cardView&&(e+=1);for(f in u)t.$fixedBodyColumns.find(">tr:not(.no-records-found)").each(function(){var r=n(this),c=r.find(t.options.cardView?".card-view":"td").eq(e-i-1),s=f.indexOf(" "),h=f.substring(0,s),l=f.substring(s+1),a=u[f];c.find(l).off(h).on(h,function(n){var i=r.data("index"),u=t.data[i],f=u[o];a.apply(this,[n,f,u,i])})})}}))}n.extend(n.fn.bootstrapTable.defaults,{fixedColumns:!1,fixedNumber:1,fixedFrom:"left"});var t=n.fn.bootstrapTable.Constructor,i=t.prototype.initHeader,r=t.prototype.initBody,u=t.prototype.resetView;t.prototype.initFixedColumns=function(){this.$fixedHeader=n('<div class="fixed-table-header-columns"><table><thead><\/thead><\/table><\/div>');this.timeoutHeaderColumns_=0;this.$fixedHeader.find("table").attr("class",this.$el.attr("class"));this.$fixedHeaderColumns=this.$fixedHeader.find("thead");this.$tableHeader.before(this.$fixedHeader);this.$fixedBody=n('<div class="fixed-table-body-columns"><table><tbody><\/tbody><\/table><\/div>');this.timeoutBodyColumns_=0;this.$fixedBody.find("table").attr("class",this.$el.attr("class"));this.$fixedBodyColumns=this.$fixedBody.find("tbody");this.$tableBody.before(this.$fixedBody);this.options.fixedFrom=="right"&&(this.$fixedHeader.css({right:0}),this.$fixedBody.css({right:0}))};t.prototype.initHeader=function(){if(i.apply(this,Array.prototype.slice.apply(arguments)),this.options.fixedColumns){this.initFixedColumns();var t=this,r=this.$header.find("tr").clone();r.each(function(){if(t.options.fixedFrom=="right"){var i=t.options.columns[0].length-Math.abs(parseInt(t.options.fixedNumber));n(this).find("th:lt("+i+")").remove()}else n(this).find("th:gt("+t.options.fixedNumber+")").remove()});this.$fixedHeaderColumns.html("").append(r)}};t.prototype.initBody=function(){if(r.apply(this,Array.prototype.slice.apply(arguments)),this.options.fixedColumns){var t=this,i=0;this.$fixedBodyColumns.html("");this.$body.find("> tr[data-index]").each(function(){var u=n(this).clone(),f=u.find("td"),e,r;if(u.html(""),e=t.options.fixedFrom=="right"?t.options.columns[0].length-Math.abs(parseInt(t.options.fixedNumber)):t.options.fixedNumber,i>0&&(--e,--i),t.options.fixedFrom=="right")for(r=e;r<t.options.columns[0].length;r++)u.append(f.eq(r).clone());else for(r=0;r<e;r++)u.append(f.eq(r).clone());t.$fixedBodyColumns.append(u);f.eq(0).attr("rowspan")&&(i=f.eq(0).attr("rowspan")-1)})}};t.prototype.resetView=function(){(u.apply(this,Array.prototype.slice.apply(arguments)),this.options.fixedColumns)&&(clearTimeout(this.timeoutHeaderColumns_),this.timeoutHeaderColumns_=setTimeout(n.proxy(this.fitHeaderColumns,this),this.$el.is(":hidden")?100:0),clearTimeout(this.timeoutBodyColumns_),this.timeoutBodyColumns_=setTimeout(n.proxy(this.fitBodyColumns,this),this.$el.is(":hidden")?100:0))};t.prototype.fitHeaderColumns=function(){var t=this,u=this.getVisibleFields(),i=0,f,r;t.options.fixedFrom=="right"?(f=[].slice.call(this.$body.find("tr:first-child:not(.no-records-found) > *")),r=n(f.reverse()),r.each(function(f){var e=n(this),o=f;if(f>=Math.abs(t.options.fixedNumber))return!1;t.options.detailView&&!t.options.cardView&&(o=f-1);t.$fixedHeader.find('th[data-field="'+u[r.length-1+o]+'"]').find(".fht-cell").width(e.innerWidth());i+=e.outerWidth()}),t.$header.find("> tr").each(function(){t.$fixedHeader.height(n(this).height())})):this.$body.find("tr:first-child:not(.no-records-found) > *").each(function(r){var f=n(this),e=r;if(r>=t.options.fixedNumber)return!1;t.options.detailView&&!t.options.cardView&&(e=r-1);t.$fixedHeader.find('th[data-field="'+u[e]+'"]').find(".fht-cell").width(f.innerWidth());i+=f.outerWidth()});this.$fixedHeader.width(i+1).show()};t.prototype.fitBodyColumns=function(){var t=this,i=-(parseInt(this.$el.css("margin-top"))-2),r=this.$tableBody.height()-7;if(console.log("fitBodyColumns"+r),!this.$body.find("> tr[data-index]").length){this.$fixedBody.hide();return}this.options.height||(i=this.$fixedHeader.height(),console.log("fitBodyColumns header Height"+i),r=r-i);this.$fixedBody.css({width:this.$fixedHeader.width(),height:r,top:i}).show();this.$body.find("> tr").each(function(i){t.$fixedBody.find("tr:eq("+i+")").height(n(this).height())});this.$tableBody.on("scroll",function(){t.$fixedBody.find("table").css("top",-n(this).scrollTop())});this.$body.find("> tr[data-index]").off("hover").hover(function(){var i=n(this).data("index");t.$fixedBody.find('tr[data-index="'+i+'"]').addClass("hover")},function(){var i=n(this).data("index");t.$fixedBody.find('tr[data-index="'+i+'"]').removeClass("hover")});this.$fixedBody.find("tr[data-index]").off("hover").hover(function(){var i=n(this).data("index");t.$body.find('tr[data-index="'+i+'"]').addClass("hover")},function(){var i=n(this).data("index");t.$body.find('> tr[data-index="'+i+'"]').removeClass("hover")});f.call(this)}}(jQuery);!function(n,t){function g(){}var u,i,a,v,s,y,h,f,c,e,p,l,o,w,nt,r,b="addtoany",k=".oafg07ee",d=n.head;"function"==typeof[].indexOf&&d&&(t.a2a=t.a2a||{},u=t.a2a_config=t.a2a_config||{},r=(i=n.currentScript instanceof HTMLScriptElement?n.currentScript:null)&&i.src?i.src:"",a=i&&!i.async&&!i.defer,No
87deList&&NodeList.prototype.forEach&&(t.a2a.init=function(t,i){void 0===i&&(i=u);var r=":not([data-a2a-url]):not(.a2a_target)";n.querySelectorAll(".a2a_dd"+r+",.a2a_kit"+r).forEach(function(n){n.matches(".a2a_kit .a2a_dd");n.a2a_index||null!==n.getAttribute("data-a2a-url")||n.matches(".a2a_kit .a2a_dd")||(n.dataset.a2aUrl=i.linkurl||"",i.linkname&&(n.dataset.a2aTitle=i.linkname))});delete u.linkurl;delete u.linkname},t.a2a_init=t.a2a.init,a)&&t.a2a.init("page",{linkurl:u.linkurl,linkname:u.linkname}),t.a2a.page||(t.a2a.page=!0,v=[],["init_all","svg_css"].forEach(function(n){t.a2a[n]=function(){for(var i=[],t=0;t<arguments.length;t++)i[t]=arguments[t];v.push([n,i])}}),y=(s=u.static_server)?s+"/":"https://static.addtoany.com/menu/",o=r&&-1!==r.split("/")[2].indexOf(b),h=(o=(h=!s&&o?r:y).match(/^[^?#]+\//))?o[0]:h,f=function(t,r,u){void 0===t&&(t=h+"eso"+k+".js");void 0===r&&(r=!1);var e=n.createElement((u=void 0===u?!1:u)?"link":"script"),o="module",u=(u?(u="preload",e.href=t,e.rel=r?o+u:u,r||(e.as="script")):(e.src=t,r&&(e.type=o,e.onerror=function(){return f()})),i&&i.nonce?i.nonce:null);u&&(e.nonce=u);d.appendChild(e)},c=function(){var t=h+(s?"":"modules/"),i;f(t+"core"+k+".js",!0);i=n.createElement("link").relList.supports("modulepreload");u.overlays&&u.overlays.length&&i&&f(t+"overlays"+k+".js",!0,!0);c=g},p="a2a_sm_ifr",l=function(){var i,u,r,f;u="a2a_menu_container";i=n.getElementById(u);t.a2a.main=e=i||n.createElement("div");e.id!=u&&(n.getElementById(b)||(e.id=b),e.style.position="static",n.body.insertBefore(e,null));t.addEventListener("message",function(i){var r=i.origin;r&&".addtoany.com"!==r.substr(-13)||"object"==typeof(r=i.data)&&r.a2a&&(r.h1&&(t.a2a.h1=!0),"function"==typeof(i=t.a2a.userServices)?i(r.user_services):t.a2a.userServices=r.user_services,n.getElementById(p).style.display="none")});i=n.createElement("iframe");u=n.createElement("div");r=i.style;f=u.style;i.id=p;r.width=r.height=f.width=f.height="1px";r.top=r.left=r.border="0";r.position=f.position="absolute";r.zIndex=f.zIndex="100000";i.title="AddToAny Utility Frame";i.setAttribute("aria-hidden","true");i.src="https://static.addtoany.com/menu/sm.25.html#type=core&event=load";f.top="0";f.visibility="hidden";e.insertBefore(u,null);u.insertBefore(i,null);l=g},n.body&&l(),"function"==typeof(r="".matchAll)&&r.toString().includes("[native code]")?("loading"!==n.readyState&&c(),o=y+(s?"":"svg/"),n.querySelector('.a2a_dd:empty,.a2a_kit [class*="a2a_button_"]:empty')&&t.a2a.h1&&f(o+"icons.39.svg.js",!1,!0)):f(),w=function(n){var i=t.a2a.core;"function"!=typeof i||n?n?n():t.a2a.core=function(n){return w(n)}:i()},r=function(){nt||(nt=!0,c(),l(),w(),v.forEach(function(n){var i;(i=t.a2a)[n[0]].apply(i,n[1])}))},!(a&&d.contains(i)||!n.body)||"loading"!==n.readyState?r():(n.addEventListener("readystatechange",r),n.addEventListener("DOMContentLoaded",r))))}(document,window),function(n){typeof module=="object"&&typeof module.exports!="undefined"?module.exports=n:n(FusionCharts)}(function(n){(function(n){function t(r){if(i[r])return i[r].exports;var u=i[r]={i:r,l:!1,exports:{}};return n[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var i={};return t.m=n,t.c=i,t.d=function(n,i,r){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:r})},t.n=function(n){var i=n&&n.__esModule?function(){return n["default"]}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=13)})([function(n){function t(n,t){var u=n[1]||"",r=n[3],f,e;return r?t&&typeof btoa=="function"?(f=i(r),e=r.sources.map(function(n){return"/*# sourceURL="+r.sourceRoot+n+" */"}),[u].concat(e).concat([f]).join("\n")):[u].join("\n"):u}function i(n){var t=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return"/*# "+i+" */"}n.exports=function(n){var i=[];return i.toString=function(){return this.map(function(i){var r=t(i,n);return i[2]?"@media "+i[2]+"{"+r+"}":r}).join("")},i.i=function(n,t){var f,r,e,u;for(typeof n=="string"&&(n=[[null,n,""]]),f={},r=0;r<this.length;r++)e=this[r][0],typeof e=="number"&&(f[e]=!0);for(r=0;r<n.length;r++)u=n[r],typeof u[0]=="number"&&f[u[0]]||(t&&!u[2]?u[2]=t:t&&(u[2]="("+u[2]+") and ("+t+")"),i.push(u))},i}},function(n,t,i){function o(n,t){for(var r,f,o,i,e=0;e<n.length;e++)if(r=n[e],f=u[r.id],f){for(f.refs++,i=0;i<f.parts.length;i++)f.parts[i](r.parts[i]);for(;i<r.parts.length;i++)f.parts.push(v(r.parts[i],t))}else{for(o=[],i=0;i<r.parts.length;i++)o.push(v(r.parts[i],t));u[r.id]={id:r.id,refs:1,parts:o}}}function s(n,t){for(var e=[],u={},f=0;f<n.length;
87f++){var i=n[f],r=t.base?i[0]+t.base:i[0],s=i[1],h=i[2],c=i[3],o={css:s,media:h,sourceMap:c};u[r]?u[r].parts.push(o):e.push(u[r]={id:r,parts:[o]})}return e}function h(n,t){var i=f(n.insertInto),u,e;if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");if(u=r[r.length-1],n.insertAt==="top")u?u.nextSibling?i.insertBefore(t,u.nextSibling):i.appendChild(t):i.insertBefore(t,i.firstChild),r.push(t);else if(n.insertAt==="bottom")i.appendChild(t);else if(typeof n.insertAt=="object"&&n.insertAt.before)e=f(n.insertInto+" "+n.insertAt.before),i.insertBefore(t,e);else throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");}function c(n){if(n.parentNode===null)return!1;n.parentNode.removeChild(n);var t=r.indexOf(n);t>=0&&r.splice(t,1)}function l(n){var t=document.createElement("style");return n.attrs.type===undefined&&(n.attrs.type="text/css"),a(t,n.attrs),h(n,t),t}function nt(n){var t=document.createElement("link");return n.attrs.type===undefined&&(n.attrs.type="text/css"),n.attrs.rel="stylesheet",a(t,n.attrs),h(n,t),t}function a(n,t){Object.keys(t).forEach(function(i){n.setAttribute(i,t[i])})}function v(n,t){var i,r,u,f,o;
87if(t.transform&&n.css)if(f=t.transform(n.css),f)n.css=f;else return function(){};return t.singleton?(o=d++,i=e||(e=l(t)),r=p.bind(null,i,o,!1),u=p.bind(null,i,o,!0)):n.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(i=nt(t),r=it.bind(null,i,t),u=function(){c(i);i.href&&URL.revokeObjectURL(i.href)}):(i=l(t),r=tt.bind(null,i),u=function(){c(i)}),r(n),function(t){if(t){if(t.css===n.css&&t.media===n.media&&t.sourceMap===n.sourceMap)return;r(n=t)}else u()}}function p(n,t,i,r){var e=i?"":r.css,f,u;n.styleSheet?n.styleSheet.cssText=y(t,e):(f=document.createTextNode(e),u=n.childNodes,u[t]&&n.removeChild(u[t]),u.length?n.insertBefore(f,u[t]):n.appendChild(f))}function tt(n,t){var i=t.css,r=t.media;if(r&&n.setAttribute("media",r),n.styleSheet)n.styleSheet.cssText=i;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(i))}}function it(n,t,i){var r=i.css,u=i.sourceMap,o=t.convertToAbsoluteUrls===undefined&&u,e,f;(t.convertToAbsoluteUrls||o)&&(r=g(r));u&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(u))))+" */");e=new Blob([r],{type:"text/css"});f=n.href;n.href=URL.createObjectURL(e);f&&URL.revokeObjectURL(f)}var u={},w=function(n){var t;return function(){return typeof t=="undefined"&&(t=n.apply(this,arguments)),t}},b=w(function(){return window&&document&&document.all&&!window.atob}),k=function(n){return document.querySelector(n)},f=function(){var n={};return function(t){if(typeof t=="function")return t();if(typeof n[t]=="undefined"){var i=k.call(this,t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(r){i=null}n[t]=i}return n[t]}}(),e=null,d=0,r=[],g=i(2),y;n.exports=function(n,t){if(typeof DEBUG!="undefined"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{};t.attrs=typeof t.attrs=="object"?t.attrs:{};
87t.singleton||typeof t.singleton=="boolean"||(t.singleton=b());t.insertInto||(t.insertInto="head");t.insertAt||(t.insertAt="bottom");var i=s(n,t);return o(i,t),function(n){for(var c,l,r,e,h=[],f=0;f<i.length;f++)c=i[f],r=u[c.id],r.refs--,h.push(r);for(n&&(l=s(n,t),o(l,t)),f=0;f<h.length;f++)if(r=h[f],r.refs===0){for(e=0;e<r.parts.length;e++)r.parts[e]();delete u[r.id]}}};y=function(){var n=[];return function(t,i){return n[t]=i,n.filter(Boolean).join("\n")}}()},function(n){n.exports=function(n){var t=typeof window!="undefined"&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!n||typeof n!="string")return n;var i=t.protocol+"//"+t.host,r=i+t.pathname.replace(/\/[^\/]*$/,"/");return n.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(n,t){var u=t.trim().replace(/^"(.*)"$/,function(n,t){return t}).replace(/^'(.*)'$/,function(n,t){return t}),f;return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(u)?n:(f=u.indexOf("//")===0?u:u.indexOf("/")===0?i+u:r+u.replace(/^\.\//,""),"url("+JSON.stringify(f)+")")})}},,,,,,,,,,,function(t,i,r){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var u=r(14);n.addDep(u.a)},function(n,t,i){"use strict";var r=i(15),u=i.n(r);t.a={extension:{name:"fusion",theme:{base:{chart:{paletteColors:"#5D62B5, #29C3BE, #F2726F, #FFC533, #62B58F, #BC95DF, #67CDF2",showShadow:"0",showPlotBorder:"0",usePlotGradientColor:"0",showValues:"0",bgColor:"#FFFFFF",canvasBgAlpha:"0",bgAlpha:"100",showBorder:"0",showCanvasBorder:"0",showAlternateHGridColor:"0",divLineColor:"#DFDFDF",showXAxisLine:"0",yAxisNamePadding:"15",sYAxisNamePadding:"15",xAxisNamePadding:"15",captionPadding:"15",xAxisNameFontColor:"#999",yAxisNameFontColor:"#999",sYAxisNameFontColor:"#999",yAxisValuesPadding:"15",labelPadding:"10",transposeAxis:"1",toolTipBgColor:"#FFFFFF",toolTipPadding:"6",toolTipBorderColor:"#E1E1E1",toolTipBorderThickness:"1",toolTipBorderAlpha:"100",toolTipBorderRadius:"2",baseFont:"Source Sans Pro",baseFontColor:"#5A5A5A",baseFontSize:"14",xAxisNameFontBold:"0",yAxisNameFontBold:"0",sYAxisNameFontBold:"0",xAxisNameFontSize:"15",yAxisNameFontSize:"15",sYAxisNameFontSize:"15",captionFontSize:"18",captionFontFamily:"Source Sans Pro SemiBold",subCaptionFontSize:"13",captionFontBold:"1",subCaptionFontBold:"0",subCaptionFontColor:"#999",valueFontColor:"#000000",valueFont:"Source Sans Pro",drawCustomLegendIcon:"1",legendShadow:"0",legendBorderAlpha:"0",legendBorderThickness:"0",legendItemFont:"Source Sans Pro",legendItemFontColor:"#7C7C7C",legendIconBorderThickness:"0",legendBgAlpha:"0",legendItemFontSize:"15",legendCaptionFontColor:"#999",legendCaptionFontSize:"13",legendCaptionFontBold:"0",legendScrollBgColor:"#FFF",crossLineAnimation:"1",crossLineAlpha:"100",showHoverEffect:"1",plotHoverEffect:"1",plotFillHoverAlpha:"90",barHoverAlpha:"90"}},column2d:{chart:{paletteColors:"#5D62B5",placeValuesInside:"0"}},column3d:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",showShadow:"0",chartTopMargin:"35",paletteColors:"#5D62B5"}},line:{chart:{lineThickness:"2",paletteColors:"#5D62B5",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",drawCrossLine:"1"}},area2d:{chart:{paletteColors:"#5D62B5",drawCrossLine:"1"}},bar2d:{chart:{placeValuesInside:"0",showAlternateVGridColor:"0",yAxisValuesPadding:"10",paletteColors:"#5D62B5"}},bar3d:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",showAlternateVGridColor:"0",yAxisValuesPadding:"10",paletteColors:"#5D62B5"}},pie2d:{chart:{use3DLighting:"0",showPercentValues:"1",showValues:"1",showPercentInTooltip:"0",useDataPlotColorForLabels:"0",showLegend:"1",legendIconSides:"2",labelFontColor:"#666"}},pie3d:{chart:{use3DLighting:"0",showPercentValues:"1",showValues:"1",useDataPlotColorForLabels:"0",showLegend:"1",legendIconSides:"2",pieSliceDepth:"15",pieYScale:"60",labelFontColor:"#666",labelDistance:"20",showPercentInTooltip:"0"}},doughnut2d:{chart:{use3DLighting:"0",showPercentValues:"1",showValues:"1",useDataPlotColorForLabels:"0",showLegend:"1",legendIconSides:"2",showPlotBorder:"0",labelFontColor:"#666",centerLabelColor:"#666",centerLabelFontSize:"14",showPercentInTooltip:"0"}},doughnut3d:{chart:{use3DLighting:"0",showPercentValues:"1",showValues:"1",useDataPlotColorForLabels:"0",showLegend:"1",legendIconSides:"2",pieSliceDepth:"15",pieYScale:"60",labelFontColor:"#666",centerLabelColor:"#666",centerLabelFontSize:"14",showPercentInTooltip:"0"}},pareto2d:{chart:{paletteColors:"#5D62B5",lineThickness:"2",anchorRadius:"4",lineColor:"#5D5D5D",anchorBgColor:"#5D5D5D",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},pareto3d:{chart:{paletteColors:"#5D62B5",lineThickness:"2",anchorRadius:"4",lineColor:"#5D5D5D",anchorBgColor:"#5D5D5D",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1",showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",showAlternateVGridColor:"0"}},mscolumn2d:{chart:{showLegend:"1",legendIconSides:"4"}},mscolumn3d:{chart:{showLegend:"1",legendIconSides:"4",showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",showAlternateVGridColor:"0"}},msline:{chart:{lineThickness:"2",anchorRadius:"4",drawCrossLine:"1",showLegend:"1",legendIconSides:"2",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},msbar2d:{chart:{placeValuesInside:"0",showAlternateVGridColor:"0",showLegend:"1",legendIconSides:"4",yAxisValuesPadding:"10"}},msbar3d:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",showAlternateVGridColor:"0",showLegend:"1",legendIconSides:"4",yAxisValuesPadding:"10"}},msarea:{chart:{drawCrossLine:"1",showLegend:"1",legendIconSides:"4"}},marimekko:{chart:{legendIconSides:"4",valueBgColor:"#FFFFFF",valueBgAlpha:"65"}},zoomline:{chart:{lineThickness:"2",flatScrollBars:"1",scrollShowButtons:"0",scrollC
87olor:"#FFF",scrollheight:"10",crossLineThickness:"1",crossLineColor:"#F2F2F2",showLegend:"1",legendIconSides:"2",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},zoomlinedy:{chart:{lineThickness:"2",flatScrollBars:"1",scrollShowButtons:"0",scrollColor:"#FFF",scrollheight:"10",crossLineThickness:"1",crossLineColor:"#F2F2F2",showLegend:"1",legendIconSides:"2",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},stackedcolumn2d:{chart:{showLegend:"1",legendIconSides:"4"}},stackedcolumn3d:{chart:{showLegend:"1",legendIconSides:"4",showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",showAlternateVGridColor:"0"}},stackedbar2d:{chart:{placeValuesInside:"0",showAlternateVGridColor:"0",legendIconSides:"4",yAxisValuesPadding:"10"}},stackedbar3d:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",showAlternateVGridColor:"0",showLegend:"1",legendIconSides:"4",yAxisValuesPadding:"10"}},stackedarea2d:{chart:{drawCrossLine:"1",showLegend:"1",legendIconSides:"4"}},msstackedcolumn2d:{chart:{showLegend:"1",legendIconSides:"4"}},mscombi2d:{chart:{lineThickness:"2",anchorRadius:"4",drawCrossLine:"1",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},mscombi3d:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},mscolumnline3d:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},stackedcolumn2dline:{chart:{showLegend:"1",drawCustomLegendIcon:"0",lineThickness:"2",anchorRadius:"4",drawCrossLine:"1",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},stackedcolumn3dline:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",chartTopMargin:"35",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},mscombidy2d:{chart:{lineThickness:"2",anchorRadius:"4",drawCrossLine:"1",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},mscolumn3dlinedy:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",placeValuesInside:"0",showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},stackedcolumn3dlinedy:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},msstackedcolumn2dlinedy:{chart:{placeValuesInside:"0",showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"},lineset:[{color:"#5D5D5D",anchorBgColor:"#5D5D5D"}]},scatter:{chart:{showCanvasBase:"0",canvasBaseDepth:"0",showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverColor:"#AFAFAF",anchorBorderHoverThickness:"1.5",showLegend:"1",drawCustomLegendIcon:"0"}},zoomscatter:{chart:{showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",anchorBorderHoverColor:"#AFAFAF",showLegend:"1",drawCustomLegendIcon:"0"}},bubble:{chart:{use3DLighting:"0",showLegend:"1",legendIconSides:"2",plotFillAlpha:"80"}},scrollcolumn2d:{chart:{showLegend:"1",legendIconSides:"4",showCanvasBase:"0",canvasBaseDepth:"0",showShadow:"0",adjustDiv:"1",flatScrollBars:"1",scrollShowButtons:"0",scrollheight:"10",scrollC
87olor:"#EBEBEB"}},scrollline2d:{chart:{showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",legendIconSides:"2",flatScrollBars:"1",scrollShowButtons:"0",scrollheight:"10",scrollColor:"#EBEBEB",drawCrossLine:"1",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},scrollarea2d:{chart:{showShadow:"0",adjustDiv:"1",lineThickness:"2",drawAnchors:"0",showLegend:"1",legendIconSides:"2",flatScrollBars:"1",scrollShowButtons:"0",scrollheight:"10",scrollColor:"#EBEBEB"}},scrollstackedcolumn2d:{chart:{showLegend:"1",legendIconSides:"4",flatScrollBars:"1",scrollShowButtons:"0",scrollheight:"10",scrollColor:"#EBEBEB"}},scrollcombi2d:{chart:{lineThickness:"2",anchorRadius:"4",showLegend:"1",flatScrollBars:"1",scrollShowButtons:"0",scrollheight:"10",scrollColor:"#EBEBEB",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},scrollcombidy2d:{chart:{lineThickness:"2",anchorRadius:"4",showLegend:"1",flatScrollBars:"1",scrollShowButtons:"0",scrollheight:"10",scrollColor:"#EBEBEB",drawCustomLegendIcon:"0",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},angulargauge:{chart:{setAdaptiveMin:"1",adjustTM:"1",tickvaluedistance:"10",placeTicksInside:"0",autoAlignTickValues:"1",showGaugeBorder:"0",minortmnumber:"0",majorTMHeight:"8",gaugeFillMix:"{light-0}",pivotbgcolor:"#000000",pivotfillmix:"0",showpivotborder:"1",pivotBorderColor:"#FFFFFF",showValue:"0",valueBelowPivot:"1"},dials:{dial:[{bgColor:"#000000",borderThickness:"0"}]}},bulb:{chart:{is3D:"0",placeValuesInside:"1",valueFont:"Source Sans Pro"}},cylinder:{chart:{cylRadius:"50",cylYScale:"13"}},hled:{chart:{ledGap:"0",showGaugeBorder:"0",setAdaptiveMin:"1",adjustTM:"1",placeTicksInside:"0",autoAlignTickValues:"1",minortmnumber:"0",majorTMHeight:"8",majorTMAlpha:"50"}},hlineargauge:{chart:{showGaugeBorder:"0",setAdaptiveMin:"1",adjustTM:"1",placeTicksInside:"0",autoAlignTickValues:"1",minorTMnumber:"0",majorTMHeight:"8",majorTMAlpha:"50",gaugeFillMix:"{light-0}",valueAbovePointer:"1"}},thermometer:{chart:{use3DLighting:"0",manageResize:"1",autoScale:"1",showGaugeBorder:"1",gaugeBorderAlpha:"40",placeTicksInside:"0",autoAlignTickValues:"1",minortmnumber:"0",majorTMHeight:"8",majorTMAlpha:"50"}},vled:{chart:{ledGap:"0",showGaugeBorder:"0",setAdaptiveMin:"1",adjustTM:"1",placeTicksInside:"0",autoAlignTickValues:"1",minortmnumber:"0",majorTMHeight:"8",majorTMAlpha:"50"}},realtimearea:{chart:{showLegend:"1",legendIconSides:"2"}},realtimecolumn:{chart:{showLegend:"1",legendIconSides:"2"}},realtimeline:{chart:{lineThickness:"2",anchorRadius:"4",showLegend:"1",legendIconSides:"2",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},realtimestackedarea:{chart:{showLegend:"1",legendIconSides:"2"}},realtimestackedcolumn:{chart:{showLegend:"1",legendIconSides:"4"}},realtimelinedy:{chart:{lineThickness:"2",anchorRadius:"4",showLegend:"1",legendIconSides:"2",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},sparkline:{chart:{plotFillColor:"#5D62B5",anchorRadius:"4",highColor:"#29C3BE",lowColor:"#F2726F",captionPosition:"top",showOpenAnchor:"0",showCloseAnchor:"0",showOpenValue:"0",showCloseValue:"0",showHighLowValue:"0",periodColor:"#F3F3F3"}},sparkcolumn:{chart:{plotFillColor:"5D62B5",highColor:"#29C3BE",lowColor:"#F2726F",captionPosition:"middle",periodColor:"#F3F3F3"}},sparkwinloss:{chart:{winColor:"#29C3BE",lossColor:"#F2726F",captionPosition:"middle",drawColor:"#FFC533",scoreLessColor:"#5D62B5",periodColor:"#F3F3F3"}},hbullet:{chart:{plotFillColor:"#5D5D5D",colorRangeFillMix:"{light+0}",tickValueDistance:"3",tickMarkDistance:"3"}},vbullet:{chart:{plotFillColor:"#5D5D5D",colorRangeFillMix:"{light+0}",tickValueDistance:"3",tickMarkDistance:"3"}},funnel:{chart:{is2D:"1",smartLineThickness:"1",smartLineColor:"#B1AFAF",smartLineAlpha:"70",streamlinedData:"1",useSameSlantAngle:"1",alignCaptionWithCanvas:"1"}},pyramid:{chart:{is2D:"1",smartLineThickness:"1",smartLineColor:"#B1AFAF",smartLineAlpha:"70",streamlinedData:"1",useSameSlantAngle:"1",alignCaptionWithCanvas:"1",use3dlighting:"0"}},gantt:{chart:{taskBarFillMix:"{light+0}",flatScrollBars:"1",gridBorderAlpha:"100",gridBorderColor:"#EAEAEA",ganttLineColor:"#EAEAEA",ganttLineAlpha:"100",taskBarRoundRadius:"2",showHoverEffect:"1",plotHoverEffect:"1",plotFillHoverAlpha:"50",showCategoryHoverBand:"1",categoryHoverBandAlpha:"50",showGanttPaneVerticalHoverBand:"1",showProcessHoverBand:"1",processHoverBandAlpha:"50",showGanttPaneHorizontalHoverBand:"1",showConnectorHoverEffect:"1",connectorHoverAlpha:"50",showTaskHoverEffect:"1",taskHoverFillAlpha:"50",slackHoverFillAlpha:"50",scrollShowButtons:"0",drawCustomLegendIcon:"0",legendShadow:"0",legendBorderAlpha:"0",legendBorderThickness:"0",legendIconBorderThickness:"0",legendBgAlpha:"0"},categories:[{fontcolor:"#5D5D5D",fontsize:"14",bgcolor:"#F3F3F3",hoverBandAlpha:"50",showGanttPaneHoverBand:"1",showHoverBand:"1",category:[{fontcolor:"#5D5D5D",fontsize:"14",bgcolor:"#F3F3F3"}]}],tasks:{showBorder:"0",showHoverEffect:"0"},processes:{fontcolor:"#5D5D5D",isanimated:"0",bgcolor:"#FFFFFF",bgAlpha:"100",headerbgcolor:"#F3F3F3",headerfontcolor:"#5D5D5D",showGanttPaneHoverBand:"1",showHoverBand:"1"}
87,text:{fontcolor:"#5D5D5D",bgcolor:"#FFFFFF"},datatable:{fontcolor:"#5D5D5D",bgcolor:"#FFFFFF",bgAlpha:"100",datacolumn:[{bgcolor:"#FFFFFF"}]},connectors:[{hoverThickness:"1.5"}],milestones:{milestone:[{color:"#FFC533"}]}},logmscolumn2d:{chart:{showLegend:"1",legendIconSides:"4"}},logmsline:{chart:{lineThickness:"2",anchorRadius:"4",drawCrossLine:"1",showLegend:"1",legendIconSides:"2",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},spline:{chart:{lineThickness:"2",paletteColors:"#5D62B5",anchorBgColor:"#5D62B5",anchorRadius:"4",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},splinearea:{chart:{paletteColors:"#5D62B5",drawAnchors:"0"}},msspline:{chart:{lineThickness:"2",anchorRadius:"4",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1",showLegend:"1",legendIconSides:"2"}},mssplinearea:{chart:{showLegend:"1",legendIconSides:"2",drawAnchors:"0"}},errorbar2d:{chart:{legendIconSides:"4",errorBarColor:"#5D5D5D",errorBarThickness:"0.7",errorBarAlpha:"80"}},errorline:{chart:{lineThickness:"2",anchorRadius:"4",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1",showLegend:"1",legendIconSides:"2",errorBarColor:"#5D5D5D",errorBarThickness:"0.7",errorBarAlpha:"80"}},errorscatter:{chart:{showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",showLegend:"1",legendIconSides:"2",errorBarColor:"#5D5D5D",errorBarThickness:"0.7",errorBarAlpha:"80",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1"}},inversemsarea:{chart:{drawCrossLine:"1",showLegend:"1",legendIconSides:"2"}},inversemscolumn2d:{chart:{showLegend:"1",legendIconSides:"4"}},inversemsline:{chart:{lineThickness:"2",anchorRadius:"4",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1",drawCrossLine:"1",showLegend:"1",legendIconSides:"2"}},dragcolumn2d:{chart:{showLegend:"1",legendIconSides:"4"}
87,categories:[{category:[{fontItalic:"1"}]}],dataset:[{data:[{allowDrag:"1",alpha:"80"}]}]},dragline:{chart:{lineThickness:"2",anchorRadius:"4",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverThickness:"1.5",anchorBgHoverColor:"#FFFFFF",legendIconBorderThickness:"1",drawCrossLine:"1",showLegend:"1",legendIconSides:"2"},categories:[{category:[{fontItalic:"1"}]}],dataset:[{data:[{allowDrag:"1",alpha:"80",dashed:"1"}]}]},dragarea:{chart:{showLegend:"1",legendIconSides:"2",drawAnchors:"0"},categories:[{category:[{fontItalic:"1"}]}],dataset:[{data:[{allowDrag:"1",alpha:"80",dashed:"1"}]}]},treemap:{chart:{parentLabelLineHeight:"16",baseFontSize:"14",labelFontSize:"14",showParent:"1",showNavigationBar:"0",plotBorderThickness:"0.5",plotBorderColor:"#EAEAEA",labelGlow:"1",labelGlowIntensity:"100",btnBackChartTooltext:"Back",btnResetChartTooltext:"Home",legendScaleLineThickness:"0",legendaxisborderalpha:"0",legendShadow:"0",toolbarButtonScale:"1.55",plotToolText:"$label, $dataValue, $sValue"},data:[{fillColor:"#FAFAFA",data:[{fillColor:"#FAFAFA"}]}]},radar:{chart:{showLegend:"1",legendIconSides:"2",plotFillAlpha:"20",drawAnchors:"0"}},heatmap:{chart:{baseFontSize:"14",labelFontSize:"14",showPlotBorder:"1",plotBorderAlpha:"100",plotBorderThickness:"0.5",plotBorderColor:"#EAEAEA",tlFontColor:"#FDFDFD",tlFont:"Source Sans Pro Light",tlFontSize:"13",trFontColor:"#FDFDFD",trFont:"Source Sans Pro Light",trFontSize:"13",blFontColor:"#FDFDFD",blFont:"Source Sans Pro Light",blFontSize:"13",brFontColor:"#FDFDFD",brFont:"Source Sans Pro Light",brFontSize:"13",captionPadding:"20",legendScaleLineThickness:"0",legendaxisborderalpha:"0",legendShadow:"0"},colorrange:{gradient:"1",code:"#FFC533"}},boxandwhisker2d:{chart:{drawCustomLegendIcon:"0",showLegend:"1",showDetailedLegend:"1",legendIconSides:"2",showPlotBorder:"0",upperBoxBorderAlpha:"0",lowerBoxBorderAlpha:"0",lowerQuartileAlpha:"0",upperQuartileAlpha:"0",upperWhiskerColor:"#5D5D5D",upperWhiskerThickness:"0.7",upperWhiskerAlpha:"80",lowerWhiskerColor:"#5D5D5D",lowerWhiskerThickness:"0.7",lowerWhiskerAlpha:"80",medianColor:"#5D5D5",medianThickness:"0.7",medianAlpha:"100",outliericonshape:"spoke",outliericonsides:"9",meaniconcolor:"#5D5D5D",meanIconShape:"spoke",meaniconsides:"9",meaniconradius:"5"}},candlestick:{chart:{showShadow:"0",showVPlotBorder:"0",bearFillColor:"#F2726F",bullFillColor:"#62B58F",plotLineThickness:"0.3",plotLineAlpha:"100",divLineDashed:"0",showDetailedLegend:"1",legendIconSides:"2",showHoverEffect:"1",plotHoverEffect:"1",showVolumeChart:"0",trendLineColor:"#5D5D5D",trendLineThickness:"1",trendValueAlpha:"100",rollOverBandAlpha:"100",rollOverBandColor:"#F2F2F2"},categories:[{verticalLineColor:"#5D5D5D",verticalLineThickness:"1",verticalLineAlpha:"35"}]},dragnode:{chart:{use3DLighting:"0",plotBorderThickness:"0",plotBorderAlpha:"0",showDetailedLegend:"1",legendIconSides:"2"},dataset:[{color:"#5D62B5"}],connectors:[{connector:[{color:"#29C3BE"}]}]},msstepline:{chart:{drawAnchors:"0",lineThickness:"2",drawCustomLegendIcon:"0"}},multiaxisline:{chart:{showLegend:"1",lineThickness:"2",allowSelection:"0",connectNullData:"1",drawAnchors:"0",divLineDashed:"0",divLineColor:"#DFDFDF",vDivLineColor:"#DFDFDF",vDivLineDashed:"0",yAxisNameFontSize:"13",drawCustomLegendIcon:"0"},axis:[{divLineColor:"#DFDFDF",setAdaptiveYMin:"1",divLineDashed:"0"}]}
87,multilevelpie:{chart:{useHoverColor:"1",hoverFillColor:"#EDEDED",showHoverEffect:"1",plotHoverEffect:"1"},category:[{color:"#EDEDED",category:[{color:"#5D62B5",category:[{color:"#5D62B5"}]}]}]},selectscatter:{chart:{showShadow:"0",adjustDiv:"1",lineThickness:"2",anchorRadius:"4",anchorHoverEffect:"1",anchorHoverRadius:"4",anchorBorderHoverColor:"#FFFFFF",anchorBorderHoverThickness:"1.5",showLegend:"1",legendIconSides:"2"}},waterfall2d:{chart:{paletteColors:"#5D62B5, #29C3BE, #F2726F, #FFC533, #62B58F, #BC95DF, #67CDF2",positiveColor:"62B58F",negativeColor:"#F2726F",showConnectors:"1",connectorDashed:"1",connectorThickness:"0.7",connectorColor:"#5D5D5D"}},kagi:{chart:{rallyThickness:"2",declineThickness:"2",legendIconSides:"2",drawAnchors:"0",rallyColor:"#62B58F",declineColor:"#F2726F"}},geo:{chart:{showLabels:"0",legendScaleLineThickness:"0",legendaxisborderalpha:"0",legendShadow:"0",fillColor:"#FDFDFD",showEntityHoverEffect:"1",entityFillHoverAlpha:"90",connectorHoverAlpha:"90",markerBorderHoverAlpha:"90",showBorder:"1",borderColor:"#5D5D5D",borderThickness:"0.1",nullEntityColor:"5D5D5D",nullEntityAlpha:"50",entityFillHoverColor:"#5D5D5D"},colorrange:{gradient:"1",code:"#FFC533"}},overlappedbar2d:{chart:{placeValuesInside:"0",showAlternateVGridColor:"0",showLegend:"1",legendIconSides:"4",yAxisValuesPadding:"10"}},overlappedcolumn2d:{chart:{showLegend:"1",legendIconSides:"4"}},timeseries:{caption:{style:{text:{"font-size":18,"font-family":"Source Sans Pro SemiBold",fill:"#5A5A5A"}}},subcaption:{style:{text:{"font-family":"Source Sans Pro","font-size":13,fill:"#999999"}}},chart:{paletteColors:"#5D62B5, #29C3BE, #F2726F, #FFC533, #62B58F, #BC95DF, #67CDF2",baseFont:"Source Sans Pro",multiCanvasTooltip:1,style:{text:{"font-family":"Source Sans Pro"},canvas:{"stroke-width":1,stroke:"#DFDFDF"},tooltip:{"font-size":13,color:"#5A5A5A","background-color":"#FFFFFF",opacity:"0.9","border-color":"#E1E1E1","border-width":"1","border-radius":"2",padding:6},navigator:{brush:{handle:{fill:"#EBEBEB"}},scroller:{button:{fill:"#EBEBEB"},track:{fill:"#FFFFFF"},scrollbar:{fill:"#EBEBEB"}}}}},extensions:{customRangeSelector:{style:{title:{text:{"font-family":"Source Sans Pro SemiBold"},icon:{"font-family":"Source Sans Pro SemiBold"},calendar:{normaldate:"fc-cal-date-normal",selecteddate:"fc-cal-date-selected",body:"fc-cal-body"}}}},standardRangeSelector:{style:{button:{text:{fill:"#999999"}},"button:hover":{text:{fill:"#5648D4","font-family":"Source Sans Pro SemiBold"}},"button:active":{text:{fill:"#5648D4","font-family":"Source Sans Pro SemiBold"}},separator:{stroke:"#DFDFDF"}}}},legend:{item:{style:{text:{fill:"#7C7C7C","font-size":15,"font-family":"Source Sans Pro"}}}},xaxis:{style:{title:{"font-size":15,"font-family":"Source Sans Pro",fill:"#999999"},ticks:{major:{stroke:"#DFDFDF","stroke-width":1},minor:{stroke:"#DFDFDF","stroke-width":.75}},text:{major:{color:"#5A5A5A"},minor:{color:"#8D8D8D"},context:{color:"#5A5A5A"}}}},plotconfig:{column:{style:{"plot:hover":{opacity:.75},"plot:highlight":{opacity:.75}}},line:{style:{plot:{"stroke-width":1.5},anchor:{"stroke-width":0}}},area:{style:{anchor:{"stroke-width":0}}},candlestick:{style:{bear:{stroke:"#F2726F",fill:"#F2726F"},"bear:hover":{opacity:.75},"bear:highlight":{opacity:.75},bull:{stroke:"#62B58F",fill:"#62B58F"},"bull:hover":{opacity:.75},"bull:highlight":{opacity:.75}}},ohlc:{style:{bear:{stroke:"#F2726F",fill:"#F2726F"},"bear:hover":{opacity:.75},"bear:highlight":{opacity:.75},bull:{stroke:"#62B58F",fill:"#62B58F"},"bull:hover":{opacity:.75},"bull:highlight":{opacity:.75}}}},yaxis:[{style:{title:{"font-size":"15","font-family":"Source Sans Pro",fill:"#999999"},"tick-mark":{stroke:"#DFDFDF","stroke-width":1},"grid-line":{stroke:"#DFDFDF","stroke-width":1},label:{color:"#5A5A5A"}}}]}}},name:"fusionTheme",type:"theme"}},function(n,t,i){var r=i(16),e,u,f;typeof r=="string"&&(r=[[n.i,r,""]]);u={hmr:!0};u.transform=e;u.insertInto=undefined;f=i(1)(r,u);r.locals&&(n.exports=r.locals);!1&&(n.hot.accept("!!../../../node_modules/css-loader/index.js!./fusioncharts.theme.fusion.css",function(){var t=require("!!../../../node_modules/css-loader/index.js!./fusioncharts.theme.fusion.css"),i;if(typeof t=="string"&&(t=[[n.id,t,""]]),i=function(n,t){var i,r=0;for(i in n){if(!t||n[i]!==t[i])return!1;r++}for(i in t)r--;return r===0}(r.locals,t.locals),!i)throw new Error("Aborting CSS HMR due to changed css-modules locals.");f(t)}),n.hot.dispose(function(){f()}))},function(n,t,i){t=n.exports=i(0)(!1);t.push([n.i,"@font-face {\n font-family: 'Source Sans Pro';\n font-style: normal;\n font-weight: 400;\n src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.
87com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: 'Source Sans Pro Light';\n font-style: normal;\n font-weight: 300;\n src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdu3cOWxw.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n@font-face {\n font-family: 'Source Sans Pro SemiBold';\n font-style: normal;\n font-weight: 600;\n src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdu3cOWxw.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\n/* ft calendar customization */\n.fc-cal-date-normal {\n color: #5F5F5F;\n font-family: 'Source Sans Pro';\n font-size: 11px;\n}\n\n.fc-cal-date-selected {\n color: #FEFEFE;\n font-family: 'Source Sans Pro SemiBold'\n}",""])}])}); 88/*! 89 * jQuery Validation Plugin v1.19.2 90 * 91 * https://jqueryvalidation.org/ 92 * 93 * Copyright (c) 2020 Jörn Zaefferer 94 * Released under the MIT license 95 */ 96(function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof module=="object"&&module.exports?module.exports=n(require("jquery")):n(jQuery)})(function(n){var i,t,r;return n.extend(n.fn,{validate:function(t){if(!this.length){t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.");return}var i=n.data(this[0],"validator");if(i)return i;if(this.attr("novalidate","novalidate"),i=new n.validator(t,this[0]),n.data(this[0],"validator",i),i.settings.onsubmit){this.on("click.validate",":submit",function(t){i.submitButton=t.currentTarget;n(this).hasClass("cancel")&&(i.cancelSubmit=!0);n(this).attr("formnovalidate")!==undefined&&(i.cancelSubmit=!0)});this.on("submit.validate",function(t){function r(){var r,u;return(i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(r=n("<input type='hidden'/>").attr("name",i.submitButton.name).val(n(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler&&!i.settings.debug)?(u=i.settings.submitHandler.call(i,i.currentForm,t),r&&r.remove(),u!==undefined)?u:!1:!0}return(i.settings.debug&&t.preventDefault(),i.cancelSubmit)?(i.cancelSubmit=!1,r()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):r():(i.focusInvalid(),!1)})}return i},valid:function(){var t,i,r;return n(this[0]).is("form")?t=this.validate().form():(r=[],t=!0,i=n(this[0].form).validate(),this.each(function(){t=i.element(this)&&t;t||(r=r.concat(i.errorList))}),i.errorList=r),t},rules:function(t,i){var r=this[0],c=typeof this.attr("contenteditable")!="undefined"&&this.attr("contenteditable")!=="false",e,s,f,u,o,h;if(r!=null&&(!r.form&&c&&(r.form=this.closest("form")[0],r.name=this.attr("name")),r.form!=null)){if(t){e=n.data(r.form,"validator").settings;s=e.rules;f=n.validator.staticRules(r);switch(t){case"add":n.extend(f,n.validator.normalizeRule(i));delete f.messages;s[r.name]=f;i.messages&&(e.messages[r.name]=n.extend(e.messages[r.name],i.messages));break;case"remove":return i?(h={},n.each(i.split(/\s/),function(n,t){h[t]=f[t];delete f[t]}),h):(delete s[r.name],f)}}return u=n.validator.normalizeRules(n.extend({},n.validator.classRules(r),n.validator.attributeRules(r),n.validator.dataRules(r),n.validator.staticRules(r)),r),u.required&&(o=u.required,delete u.required,u=n.extend({required:o},u)),u.remote&&(o=u.remote,delete u.remote,u=n.extend(u,{remote:o})),u}}}),i=function(n){return n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},n.extend(n.expr.pseudos||n.expr[":"],{blank:function(t){return!i(""+n(t).val())},filled:function(t){var r=n(t).val();return r!==null&&!!i(""+r)},unchecked:function(t){return!n(t).prop("checked")}}
96),n.validator=function(t,i){this.settings=n.extend(!0,{},n.validator.defaults,t);this.currentForm=i;this.init()},n.validator.format=function(t,i){return arguments.length===1?function(){var i=n.makeArray(arguments);return i.unshift(t),n.validator.format.apply(this,i)}:i===undefined?t:(arguments.length>2&&i.constructor!==Array&&(i=n.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),n.each(i,function(n,i){t=t.replace(new RegExp("\\{"+n+"\\}","g"),function(){return i})}),t)},n.extend(n.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:n([]),errorLabelContainer:n([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(n){this.lastActive=n;this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,n,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(n)))},onfocusout:function(n){!this.checkable(n)&&(n.name in this.submitted||!this.optional(n))&&this.element(n)},onkeyup:function(t,i){(i.which!==9||this.elementValue(t)!=="")&&n.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])===-1&&(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(n){n.name in this.submitted?this.element(n):n.parentNode.name in this.submitted&&this.element(n.parentNode)},highlight:function(t,i,r){t.type==="radio"?this.findByName(t.name).addClass(i).removeClass(r):n(t).addClass(i).removeClass(r)},unhighlight:function(t,i,r){t.type==="radio"?this.findByName(t.name).removeClass(i).addClass(r):n(t).removeClass(i).addClass(r)}},setDefaults:function(t){n.extend(n.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Lütfen geçerli bir Email giriniz.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:n.validator.format("Please enter no more than {0} characters."),minlength:n.validator.format("Please enter at least {0} characters."),rangelength:n.validator.format("Please enter a value between {0} and {1} characters long."),range:n.validator.format("Please enter a value between {0} and {1}."),max:n.validator.format("Please enter a value less than or equal to {0}."),min:n.validator.format("Please enter a value greater than or equal to {0}."),step:n.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function i(t){var e=typeof n(this).attr("contenteditable")!="undefined"&&n(this).attr("contenteditable")!=="false";if(!this.form&&e&&(this.form=n(this).closest("form")[0],this.name=n(this).attr("name")),r===this.form){var u=n.data(this.form,"validator"),f="on"+t.type.replace(/^validate/,""),i=u.settings;i[f]&&!n(this).is(i.ignore)&&i[f].call(u,this,t)}}this.labelContainer=n(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||n(this.currentForm);this.containers=n(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var r=this.currentForm,u=this.groups={},t;n.each(this.settings.groups,function(t,i){typeof i=="string"&&(i=i.split(/\s/));n.each(i,function(n,i){u[i]=t})});t=this.settings.rules;n.each(t,function(i,r){t[i]=n.validator.normalizeRule(r)});n(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",i).on("click.validate","select, option, [type='radio'], [type='checkbox']",i);if(this.settings.invalidHandler)n(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),n.extend(this.submitted,this.errorMap),this.invalid=n.extend({},this.errorMap),this.valid()||n(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var n=0,t=this.currentElements=this.elements();t[n];n++)this.check(t[n]);return this.valid()},element:function(t){var i=this.clean(t),r=this.validationTargetFor(i),u=this,f=!0,e,o;return r===undefined?delete this.invalid[i.name]:(this.prepareElement(r),this.currentElements=n(r),o=this.groups[r.name],o&&n.each(this.groups,function(n,t){t===o&&n!==r.name&&(i=u.validationTargetFor(u.clean(u.findByName(n))),i&&i.name in u.invali
96d&&(u.currentElements.push(i),f=u.check(i)&&f))}),e=this.check(r)!==!1,f=f&&e,this.invalid[r.name]=e?!1:!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),n(t).attr("aria-invalid",!e)),f},showErrors:function(t){if(t){var i=this;n.extend(this.errorMap,t);this.errorList=n.map(this.errorMap,function(n,t){return{message:n,element:i.findByName(t)[0]}});this.successList=n.grep(this.successList,function(n){return!(n.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){n.fn.resetForm&&n(this.currentForm).resetForm();this.invalid={};this.submitted={};this.prepareForm();this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(n){var t;if(this.settings.unhighlight)for(t=0;n[t];t++)this.settings.unhighlight.call(this,n[t],this.settings.errorClass,""),this.findByName(n[t].name).removeClass(this.settings.validClass);else n.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(n){var i=0;for(var t in n)n[t]!==undefined&&n[t]!==null&&n[t]!==!1&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(n){n.not(this.containers).text("");this.addWrapper(n).hide()},valid:function(){return this.size()===0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{n(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&n.grep(this.errorList,function(n){return n.element.name===t.name}).length===1&&t},elements:function(){var t=this,i={};return n(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var r=this.name||n(this).attr("name"),u=typeof n(this).attr("contenteditable")!="undefined"&&n(this).attr("contenteditable")!=="false";return(!r&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),u&&(this.form=n(this).closest("form")[0],this.name=r),this.form!==t.currentForm)?!1:r in i||!t.objectLength(n(this).rules())?!1:(i[r]=!0,!0)})},clean:function(t){return n(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return n(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=n([]);this.toHide=n([])},reset:function(){this.resetInternals();this.currentElements=n([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(n){this.reset();this.toHide=this.errorsFor(n)},elementValue:function(t){var u=n(t),f=t.type,e=typeof u.attr("contenteditable")!="undefined"&&u.attr("contenteditable")!=="false",i,r;return f==="radio"||f==="checkbox"?this.findByName(t.name).filter(":checked").val():f==="number"&&typeof t.validity!="undefined"?t.validity.badInput?"NaN":u.val():(i=e?u.text():u.val(),f==="file")?i.substr(0,12)==="C:\\fakepath\\"?i.substr(12):(r=i.lastIndexOf("/"),r>=0)?i.substr(r+1):(r=i.lastIndexOf("\\"),r>=0)?i.substr(r+1):i:typeof i=="string"?i.replace(/\r/g,""):i},check:function(t){t=this.validationTargetFor(this.clean(t));var i=n(t).rules(),c=n.map(i,function(n,t){return t}).length,s=!1,h=this.elementValue(t),u,f,r,e;typeof i.normalizer=="function"?e=i.normalizer:typeof this.settings.normalizer=="function"&&(e=this.settings.normalizer);e&&(h=e.call(t,h),delete i.normalizer);for(f in i){r={method:f,parameters:i[f]};try{if(u=n.validator.methods[f].call(this,h,t,r.parameters),u==="dependency-mismatch"&&c===1){s=!0;continue}if(s=!1,u==="pending"){this.toHide=this.toHide.not(this.errorsFor(t));return}if(!u)return this.formatAndAdd(t,r),!1}catch(o){this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.i
96d+", check the '"+r.method+"' method.",o);o instanceof TypeError&&(o.message+=". Exception occurred when checking element "+t.id+", check the '"+r.method+"' method.");throw o;}}if(!s)return this.objectLength(i)&&this.successList.push(t),!0},customDataMessage:function(t,i){return n(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||n(t).data("msg")},customMessage:function(n,t){var i=this.settings.messages[n];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var n=0;n<arguments.length;n++)if(arguments[n]!==undefined)return arguments[n];return undefined},defaultMessage:function(t,i){typeof i=="string"&&(i={method:i});var r=this.findDefined(this.customMessage(t.name,i.method),this.customDataMessage(t,i.method),!this.settings.ignoreTitle&&t.title||undefined,n.validator.messages[i.method],"<strong>Warning: No message defined for "+t.name+"<\/strong>"),u=/\$?\{(\d+)\}/g;return typeof r=="function"?r=r.call(this,i.parameters,t):u.test(r)&&(r=n.validator.format(r.replace(u,"{$1}"),i.parameters)),r},formatAndAdd:function(n,t){var i=this.defaultMessage(n,t);this.errorList.push({message:i,element:n,method:t.method});this.errorMap[n.name]=i;this.submitted[n.name]=i},addWrapper:function(n){return this.settings.wrapper&&(n=n.add(n.parent(this.settings.wrapper))),n},defaultShowErrors:function(){for(var i,t,n=0;this.errorList[n];n++)t=this.errorList[n],this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(n=0;this.successList[n];n++)this.showLabel(this.successList[n]);if(this.settings.unhighlight)for(n=0,i=this.validElements();i[n];n++)this.settings.unhighlight.call(this,i[n],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return n(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var u,s,e,o,r=this.errorsFor(t),h=this.idOrName(t),f=n(t).attr("aria-describedby");r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(i)):(r=n("<"+this.settings.errorElement+">").attr("id",h+"-error").addClass(this.settings.errorClass).html(i||""),u=r,this.settings.wrapper&&(u=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(u):this.settings.errorPlacement?this.settings.errorPlacement.call(this,u,n(t)):u.insertAfter(t),r.is("label")?r.attr("for",h):r.parents("label[for='"+this.escapeCssMeta(h)+"']").length===0&&(e=r.attr("id"),f?f.match(new RegExp("\\b"+this.escapeCssMeta(e)+"\\b"))||(f+=" "+e):f=e,n(t).attr("aria-describedby",f),s=this.groups[t.name],s&&(o=this,n.each(o.groups,function(t,i){i===s&&n("[name='"+o.escapeCssMeta(t)+"']",o.currentForm).attr("aria-describedby",r.attr("id"))}))));!i&&this.settings.success&&(r.text(""),typeof this.settings.success=="string"?r.addClass(this.settings.success):this.settings.success(r,t));this.toShow=this.toShow.add(r)},errorsFor:function(t){var r=this.escapeCssMeta(this.idOrName(t)),u=n(t).attr("aria-describedby"),i="label[for='"+r+"'], label[for='"+r+"'] *";return u&&(i=i+", #"+this.escapeCssMeta(u).replace(/\s+/g,", #")),this.errors().filter(i)},escapeCssMeta:function(n){return n.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(n){return this.groups[n.name]||(this.checkable(n)?n.name:n.id||n.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),n(t).not(this.settings.ignore)[0]},checkable:function(n){return/radio|checkbox/i.test(n.type)},findByName:function(t){return n(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return n("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(n,t){return this.dependTypes[typeof n]?this.dependTypes[typeof n](n,t):!0},dependTypes:{boolean:function(n){return n},string:function(t,i){return!!n(t,i.form).length},"function":function(n,t){return n(t)}},optional:function(t){var i=this.elementValue(t);
96return!n.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,n(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,i){this.pendingRequest--;this.pendingRequest<0&&(this.pendingRequest=0);delete this.pending[t.name];n(t).removeClass(this.settings.pendingClass);i&&this.pendingRequest===0&&this.formSubmitted&&this.form()?(n(this.currentForm).submit(),this.submitButton&&n("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&this.pendingRequest===0&&this.formSubmitted&&(n(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,i){return i=typeof i=="string"&&i||"remote",n.data(t,"previousValue")||n.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:i})})},destroy:function(){this.resetForm();n(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:n.extend(this.classRuleSettings,t)},classRules:function(t){var i={},r=n(t).attr("class");return r&&n.each(r.split(" "),function(){this in n.validator.classRuleSettings&&n.extend(i,n.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(n,t,i,r){/min|max|step/.test(i)&&(t===null||/number|range|text/.test(t))&&(r=Number(r),isNaN(r)&&(r=undefined));r||r===0?n[i]=r:t===i&&t!=="range"&&(n[i]=!0)},attributeRules:function(t){var r={},f=n(t),e=t.getAttribute("type"),u,i;for(u in n.validator.methods)u==="required"?(i=t.getAttribute(u),i===""&&(i=!0),i=!!i):i=f.attr(u),this.normalizeAttributeRule(r,e,u,i);return r.maxlength&&/-1|2147483647|524288/.test(r.maxlength)&&delete r.maxlength,r},dataRules:function(t){var u={},f=n(t),e=t.getAttribute("type"),i,r;for(i in n.validator.methods)r=f.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()),r===""&&(r=!0),this.normalizeAttributeRule(u,e,i,r);return u},staticRules:function(t){var i={},r=n.data(t.form,"validator");return r.settings.rules&&(i=n.validator.normalizeRule(r.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return n.each(t,function(r,u){if(u===!1){delete t[r];return}if(u.param||u.depends){var f=!0;switch(typeof u.depends){case"string":f=!!n(u.depends,i.form).length;break;case"function":f=u.depends.call(i,i)}f?t[r]=u.param!==undefined?u.param:!0:(n.data(i.form,"validator").resetElements(n(i)),delete t[r])}}),n.each(t,function(r,u){t[r]=n.isFunction(u)&&r!=="normalizer"?u(i):u}),n.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),n.each(["rangelength","range"],function(){var i;t[this]&&(n.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:typeof t[this]=="string"&&(i=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(i[0]),Number(i[1])]))}),n.validator.autoCreateRanges&&(t.min!=null&&t.max!=null&&(t.range=[t.min,t.max],delete t.min,delete t.max),t.minlength!=null&&t.maxlength!=null&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if(typeof t=="string"){var i={};n.each(t.split(/\s/),function(){i[this]=!0});t=i}return t},addMethod:function(t,i,r){n.validator.methods[t]=i;n.validator.messages[t]=r!==undefined?r:n.validator.messages[t];
96i.length<3&&n.validator.addClassRules(t,n.validator.normalizeRule(t))},methods:{required:function(t,i,r){if(!this.depend(r,i))return"dependency-mismatch";if(i.nodeName.toLowerCase()==="select"){var u=n(i).val();return u&&u.length>0}return this.checkable(i)?this.getLength(t,i)>0:t!==undefined&&t!==null&&t.length>0},email:function(n,t){return this.optional(t)||/^([\w\.\-]+)@([\w\-]+)((\.(\w){2,63}){1,3})$/.test(n)},url:function(n,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(n)},date:function(){var n=!1;return function(t,i){return n||(n=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}}(),dateISO:function(n,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(n)},number:function(n,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(n)},digits:function(n,t){return this.optional(t)||/^\d+$/.test(n)},minlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u>=r},maxlength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u<=r},rangelength:function(t,i,r){var u=n.isArray(t)?t.length:this.getLength(t,i);return this.optional(i)||u>=r[0]&&u<=r[1]},min:function(n,t,i){return this.optional(t)||n>=i},max:function(n,t,i){return this.optional(t)||n<=i},range:function(n,t,i){return this.optional(t)||n>=i[0]&&n<=i[1]},step:function(t,i,r){var u=n(i).attr("type"),h="Step attribute on input type "+u+" is not supported.",c=new RegExp("\\b"+u+"\\b"),l=u&&!c.test("text,number,range"),e=function(n){var t=(""+n).match(/(?:\.(\d+))?$/);return t?t[1]?t[1].length:0:0},o=function(n){return Math.round(n*Math.pow(10,f))},s=!0,f;if(l)throw new Error(h);return f=e(r),(e(t)>f||o(t)%o(r)!=0)&&(s=!1),this.optional(i)||s},equalTo:function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-equalTo-blur").length)u.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){n(i).valid()});return t===u.val()},remote:function(t,i,r,u){if(this.optional(i))return"dependency-mismatch";u=typeof u=="string"&&u||"remote";var e=this.previousValue(i,u),f,o,s;return(this.settings.messages[i.name]||(this.settings.messages[i.name]={}),e.originalMessage=e.originalMessage||this.settings.messages[i.name][u],this.settings.messages[i.name][u]=e.message,r=typeof r=="string"&&{url:r}||r,s=n.param(n.extend({data:t},r.data)),e.old===s)?e.valid:(e.old=s,f=this,this.startRequest(i),o={},o[i.name]=t,n.ajax(n.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:o,context:f.currentForm,success:function(n){var r=n===!0||n==="true",o,s,h;f.settings.messages[i.name][u]=e.originalMessage;r?(h=f.formSubmitted,f.resetInternals(),f.toHide=f.errorsFor(i),f.formSubmitted=h,f.successList.push(i),f.invalid[i.name]=!1,f.showErrors()):(o={},s=n||f.defaultMessage(i,{method:u,parameters:t}),o[i.name]=e.message=s,f.invalid[i.name]=!0,f.showErrors(o));e.valid=r;f.stopRequest(i,r)}},r)),"pending")}}}),t={},n.ajaxPrefilter?n.ajaxPrefilter(function(n,i,r){var u=n.port;n.mode==="abort"&&(t[u]&&t[u].abort(),t[u]=r)}):(r=n.ajax,n.ajax=function(i){var f=("mode"in i?i:n.ajaxSettings).mode,u=("port"in i?i:n.ajaxSettings).port;return f==="abort"?(t[u]&&t[u].abort(),t[u]=r.apply(this,arguments),t[u]):r.apply(this,arguments)}),n}); 97/*! 98 * jQuery Validation Plugin v1.19.2 99 * 100 * https://jqueryvalidation.org/ 101 * 102 * Copyright (c) 2020 Jörn Zaefferer 103 * Released under the MIT license 104 */ 105(function(n){typeof define=="function"&&define.amd?define(["jquery","./jquery.validate"],n):typeof module=="object"&&module.exports?module.exports=n(require("jquery")):n(jQuery)})(function(n){return function(){function t(n){return n.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-âââ]*/g,"")}n.validator.addMethod("maxWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length<=r},n.validator.format("Please enter {0} words or less."));n.validator.addMethod("minWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length>=r},n.validator.format("Please enter at least {0} words."));n.validator.addMethod("rangeWords",function(n,i,r){var u=t(n),f=/\b\w+\b/g;return this.optional(i)||u.match(f).length>=r[0]&&u.match(f).length<=r[1]},n.validator.format("Please enter between {0} and {1} words."))}(),n.validator.addMethod("abaRoutingNumber",function(n){var r=0,i=n.split(""),u=i.length,t;if(u!==9)return!1;for(t=0;t<u;t+=3)r+=parseInt(i[t],10)*3+parseInt(i[t+1],10)*7+parseInt(i[t+2],10);return r!==0&&r%10==0?!0:!1},"Please enter a valid routing number."),n.validator.addMethod("accept",function(t,i,r){var f=typeof r=="string"?r.replace(/\s/g,""):"image/*",e=this.optional(i),u,o,s;if(e)return e;if(n(i).attr("type")==="file"&&(f=f.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/g,"\\$&").replace(/,/g,"|").replace(/\/\*/g,"/.*"),i.files&&i.files.length))for(s=new RegExp(".?("+f+")$","i"),u=0;u<i.files.length;
105u++)if(o=i.files[u],!o.type.match(s))return!1;return!0},n.validator.format("Please enter a value with a valid mimetype.")),n.validator.addMethod("alphanumeric",function(n,t){return this.optional(t)||/^\w+$/i.test(n)},"Letters, numbers, and underscores only please"),n.validator.addMethod("bankaccountNL",function(n,t){if(this.optional(t))return!0;if(!/^[0-9]{9}|([0-9]{2} ){3}[0-9]{3}$/.test(n))return!1;for(var u=n.replace(/ /g,""),r=0,f=u.length,e,o,i=0;i<f;i++)e=f-i,o=u.substring(i,i+1),r=r+e*o;return r%11==0},"Please specify a valid bank account number"),n.validator.addMethod("bankorgiroaccountNL",function(t,i){return this.optional(i)||n.validator.methods.bankaccountNL.call(this,t,i)||n.validator.methods.giroaccountNL.call(this,t,i)},"Please specify a valid bank or giro account number"),n.validator.addMethod("bic",function(n,t){return this.optional(t)||/^([A-Z]{6}[A-Z2-9][A-NP-Z1-9])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test(n.toUpperCase())},"Please specify a valid BIC code"),n.validator.addMethod("cifES",function(n,t){"use strict";function v(n){return n%2==0}if(this.optional(t))return!0;var a=new RegExp(/^([ABCDEFGHJKLMNPQRSUVW])(\d{7})([0-9A-J])$/gi),o=n.substring(0,1),s=n.substring(1,8),f=n.substring(8,9),h=0,c=0,l=0,u,r,i,e;if(n.length!==9||!a.test(n))return!1;for(u=0;u<s.length;u++)r=parseInt(s[u],10),v(u)?(r*=2,l+=r<10?r:r-9):c+=r;return(h=c+l,i=(10-h.toString().substr(-1)).toString(),i=parseInt(i,10)>9?"0":i,e="JABCDEFGHI".substr(i,1).toString(),o.match(/[ABEH]/))?f===i:o.match(/[KPQS]/)?f===e:f===i||f===e},"Please specify a valid CIF number."),n.validator.addMethod("cnhBR",function(n){if(n=n.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,""),n.length!==11)return!1;var r=0,e=0,o,f,u,t,i,s;if(o=n.charAt(0),new Array(12).join(o)===n)return!1;for(t=0,i=9,s=0;t<9;++t,--i)r+=+(n.charAt(t)*i);for(f=r%11,f>=10&&(f=0,e=2),r=0,t=0,i=1,s=0;t<9;++t,++i)r+=+(n.charAt(t)*i);return u=r%11,u=u>=10?0:u-e,String(f).concat(u)===n.substr(-2)},"Please specify a valid CNH number"),n.validator.addMethod("cnpjBR",function(n,t){"use strict";var f,e,o;if(this.optional(t))return!0;if((n=n.replace(/[^\d]+/g,""),n.length!==14)||n==="00000000000000"||n==="11111111111111"||n==="22222222222222"||n==="33333333333333"||n==="44444444444444"||n==="55555555555555"||n==="66666666666666"||n==="77777777777777"||n==="88888888888888"||n==="99999999999999")return!1;var i=n.length-2,s=n.substring(0,i),h=n.substring(i),r=0,u=i-7;for(f=i;f>=1;f--)r+=s.charAt(i-f)*u--,u<2&&(u=9);if(e=r%11<2?0:11-r%11,e!==parseInt(h.charAt(0),10))return!1;for(i=i+1,s=n.substring(0,i),r=0,u=i-7,o=i;o>=1;o--)r+=s.charAt(i-o)*u--,u<2&&(u=9);return(e=r%11<2?0:11-r%11,e!==parseInt(h.charAt(1),10))?!1:!0},"Please specify a CNPJ value number"),n.validator.addMethod("cpfBR",function(n,t){"use strict";if(this.optional(t))return!0;if(n=n.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,""),n.length!==11)return!1;var r=0,f,e,u,i;if(f=parseInt(n.substring(9,10),10),e=parseInt(n.substring(10,11),10),u=function(n,t){var i=n*10%11;return(i===10||i===11)&&(i=0),i===t},n===""||n==="00000000000"||n==="11111111111"||n==="22222222222"||n==="33333333333"||n==="44444444444"||n==="55555555555"||n==="66666666666"||n==="77777777777"||n==="88888888888"||n==="99999999999")return!1;for(i=1;i<=9;i++)r=r+parseInt(n.substring(i-1,i),10)*(11-i);if(u(r,f)){for(r=0,i=1;i<=10;i++)r=r+parseInt(n.substring(i-1,i),10)*(12-i);return u(r,e)}return!1},"Please specify a valid CPF number"),n.validator.addMethod("creditcard",function(n,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(n))return!1;var f=0,i=0,u=!1,r,e;if(n=n.replace(/\D/g,""),n.length<13||n.length>19)return!1;for(r=n.length-1;r>=0;r--)e=n.charAt(r),i=parseInt(e,10),u&&(i*=2)>9&&(i-=9),f+=i,u=!u;return f%10==0},"Please enter a valid credit card number."),n.validator.addMethod("creditcardtypes",function(n,t,i){if(/[^0-9\-]+/.test(n))return!1;n=n.replace(/\D/g,"");var r=0;return(i.mastercard&&(r|=1),i.visa&&(r|=2),i.amex&&(r|=4),i.dinersclub&&(r|=8),i.enroute&&(r|=16),i.discover&&(r|=32),i.jcb&&(r|=64),i.unknown&&(r|=128),i.all&&(r=255
105),r&1&&(/^(5[12345])/.test(n)||/^(2[234567])/.test(n)))?n.length===16:r&2&&/^(4)/.test(n)?n.length===16:r&4&&/^(3[47])/.test(n)?n.length===15:r&8&&/^(3(0[012345]|[68]))/.test(n)?n.length===14:r&16&&/^(2(014|149))/.test(n)?n.length===15:r&32&&/^(6011)/.test(n)?n.length===16:r&64&&/^(3)/.test(n)?n.length===16:r&64&&/^(2131|1800)/.test(n)?n.length===15:r&128?!0:!1},"Please enter a valid credit card number."),n.validator.addMethod("currency",function(n,t,i){var f=typeof i=="string",r=f?i:i[0],e=f?!0:i[1],u;return r=r.replace(/,/g,""),r=e?r+"]":r+"]?",u="^["+r+"([1-9]{1}[0-9]{0,2}(\\,[0-9]{3})*(\\.[0-9]{0,2})?|[1-9]{1}[0-9]{0,}(\\.[0-9]{0,2})?|0(\\.[0-9]{0,2})?|(\\.[0-9]{1,2})?)$",u=new RegExp(u),this.optional(t)||u.test(n)},"Please specify a valid currency"),n.validator.addMethod("dateFA",function(n,t){return this.optional(t)||/^[1-4]\d{3}\/((0?[1-6]\/((3[0-1])|([1-2][0-9])|(0?[1-9])))|((1[0-2]|(0?[7-9]))\/(30|([1-2][0-9])|(0?[1-9]))))$/.test(n)},n.validator.messages.date),n.validator.addMethod("dateITA",function(n,t){var u=!1,i,f,e,o,r;return/^\d{1,2}\/\d{1,2}\/\d{4}$/.test(n)?(i=n.split("/"),f=parseInt(i[0],10),e=parseInt(i[1],10),o=parseInt(i[2],10),r=new Date(Date.UTC(o,e-1,f,12,0,0,0)),u=r.getUTCFullYear()===o&&r.getUTCMonth()===e-1&&r.getUTCDate()===f?!0:!1):u=!1,this.optional(t)||u},n.validator.messages.date),n.validator.addMethod("dateNL",function(n,t){return this.optional(t)||/^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(n)},n.validator.messages.date),n.validator.addMethod("extension",function(n,t,i){return i=typeof i=="string"?i.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(t)||n.match(new RegExp("\\.("+i+")$","i"))},n.validator.format("Please enter a value with a valid extension.")),n.validator.addMethod("giroaccountNL",function(n,t){return this.optional(t)||/^[0-9]{1,7}$/.test(n)},"Please specify a valid giro account number"),n.validator.addMethod("greaterThan",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-greaterThan-blur").length)u.addClass("validate-greaterThan-blur").on("blur.validate-greaterThan",function(){n(i).valid()});return t>u.val()},"Please enter a greater value."),n.validator.addMethod("greaterThanEqual",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-greaterThanEqual-blur").length)u.addClass("validate-greaterThanEqual-blur").on("blur.validate-greaterThanEqual",function(){n(i).valid()});return t>=u.val()},"Please enter a greater value."),n.validator.addMethod("iban",function(n,t){if(this.optional(t))return!0;var i=n.replace(/ /g,"").toUpperCase(),f="",c=!0,e="",l="",a,o,s,v,h,y,p,r,u;if(i.length<5||(a=i.substring(0,2),y={AL:"\\d{8}[\\dA-Z]{16}",AD:"\\d{8}[\\dA-Z]{12}",AT:"\\d{16}",AZ:"[\\dA-Z]{4}\\d{20}",BE:"\\d{12}",BH:"[A-Z]{4}[\\dA-Z]{14}",BA:"\\d{16}",BR:"\\d{23}[A-Z][\\dA-Z]",BG:"[A-Z]{4}\\d{6}[\\dA-Z]{8}",CR:"\\d{17}",HR:"\\d{17}",CY:"\\d{8}[\\dA-Z]{16}",CZ:"\\d{20}",DK:"\\d{14}",DO:"[A-Z]{4}\\d{20}",EE:"\\d{16}",FO:"\\d{14}",FI:"\\d{14}",FR:"\\d{10}[\\dA-Z]{11}\\d{2}",GE:"[\\dA-Z]{2}\\d{16}",DE:"\\d{18}",GI:"[A-Z]{4}[\\dA-Z]{15}",GR:"\\d{7}[\\dA-Z]{16}",GL:"\\d{14}",GT:"[\\dA-Z]{4}[\\dA-Z]{20}",HU:"\\d{24}",IS:"\\d{22}",IE:"[\\dA-Z]{4}\\d{14}",IL:"\\d{19}",IT:"[A-Z]\\d{10}[\\dA-Z]{12}",KZ:"\\d{3}[\\dA-Z]{13}",KW:"[A-Z]{4}[\\dA-Z]{22}",LV:"[A-Z]{4}[\\dA-Z]{13}",LB:"\\d{4}[\\dA-Z]{20}",LI:"\\d{5}[\\dA-Z]{12}",LT:"\\d{16}",LU:"\\d{3}[\\dA-Z]{13}",MK:"\\d{3}[\\dA-Z]{10}\\d{2}",MT:"[A-Z]{4}\\d{5}[\\dA-Z]{18}",MR:"\\d{23}",MU:"[A-Z]{4}\\d{19}[A-Z]{3}",MC:"\\d{10}[\\dA-Z]{11}\\d{2}",MD:"[\\dA-Z]{2}\\d{18}",ME:"\\d{18}",NL:"[A-Z]{4}\\d{10}",NO:"\\d{11}",PK:"[\\dA-Z]{4}\\d{16}",PS:"[\\dA-Z]{4}\\d{21}",PL:"\\d{24}",PT:"\\d{21}",RO:"[A-Z]{4}[\\dA-Z]{16}",SM:"[A-Z]\\d{10}[\\dA-Z]{12}",SA:"\\d{2}[\\dA-Z]{18}",RS:"\\d{18}",SK:"\\d{20}",SI:"\\d{15}",ES:"\\d{20}",SE:"\\d{20}",CH:"\\d{5}[\\dA-Z]{12}",TN:"\\d{20}",TR:"\\d{5}[\\dA-Z]{17}",AE:"\\d{3}\\d{16}",GB:"[A-Z]{4}\\d{14}",VG:"[\\dA-Z]{4}\\d{16}"},h=y[a],typeof h!="undefined"&&(p=new RegExp("^[A-Z]{2}\\d{2}"+h+"$",""),!p.test(i))))return!1;for(o=i.substring(4,i.length)+i.substring(0,4),r=0;r<o.length;r++)s=o.charAt(r),s!=="0"&&(c=!1),c||(f+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(s));for(u=0;
105u<f.length;u++)v=f.charAt(u),l=""+e+""+v,e=l%97;return e===1},"Please specify a valid IBAN"),n.validator.addMethod("integer",function(n,t){return this.optional(t)||/^-?\d+$/.test(n)},"A positive or negative non-decimal number please"),n.validator.addMethod("ipv4",function(n,t){return this.optional(t)||/^(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)\.(25[0-5]|2[0-4]\d|[01]?\d\d?)$/i.test(n)},"Please enter a valid IP v4 address."),n.validator.addMethod("ipv6",function(n,t){return this.optional(t)||/^((([0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}:[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){5}:([0-9A-Fa-f]{1,4}:)?[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){4}:([0-9A-Fa-f]{1,4}:){0,2}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){3}:([0-9A-Fa-f]{1,4}:){0,3}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){2}:([0-9A-Fa-f]{1,4}:){0,4}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){6}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(([0-9A-Fa-f]{1,4}:){0,5}:((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|(::([0-9A-Fa-f]{1,4}:){0,5}((\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b)\.){3}(\b((25[0-5])|(1\d{2})|(2[0-4]\d)|(\d{1,2}))\b))|([0-9A-Fa-f]{1,4}::([0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})|(::([0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})|(([0-9A-Fa-f]{1,4}:){1,7}:))$/i.test(n)},"Please enter a valid IP v6 address."),n.validator.addMethod("lessThan",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-lessThan-blur").length)u.addClass("validate-lessThan-blur").on("blur.validate-lessThan",function(){n(i).valid()});return t<u.val()},"Please enter a lesser value."),n.validator.addMethod("lessThanEqual",function(t,i,r){var u=n(r);if(this.settings.onfocusout&&u.not(".validate-lessThanEqual-blur").length)u.addClass("validate-lessThanEqual-blur").on("blur.validate-lessThanEqual",function(){n(i).valid()});return t<=u.val()},"Please enter a lesser value."),n.validator.addMethod("lettersonly",function(n,t){return this.optional(t)||/^[a-z]+$/i.test(n)},"Letters only please"),n.validator.addMethod("letterswithbasicpunc",function(n,t){return this.optional(t)||/^[a-z\-.,()'"\s]+$/i.test(n)},"Letters or punctuation only please"),n.validator.addMethod("maxfiles",function(t,i,r){return this.optional(i)?!0:n(i).attr("type")==="file"&&i.files&&i.files.length>r?!1:!0},n.validator.format("Please select no more than {0} files.")),n.validator.addMethod("maxsize",function(t,i,r){if(this.optional(i))return!0;if(n(i).attr("type")==="file"&&i.files&&i.files.length)for(var u=0;u<i.files.length;u++)if(i.files[u].size>r)return!1;return!0},n.validator.format("File size must not exceed {0} bytes each.")),n.validator.addMethod("maxsizetotal",function(t,i,r){var f,u;if(this.optional(i))return!0;if(n(i).attr("type")==="file"&&i.files&&i.files.length)for(f=0,u=0;u<i.files.length;u++)if(f+=i.files[u].size,f>r)return!1;return!0},n.validator.format("Total size of all files must not exceed {0} bytes.")),n.validator.addMethod("mobileNL",function(n,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)6((\s|\s?\-\s?)?[0-9]){8}$/.test(n)},"Please specify a valid mobile number"),n.validator.addMethod("mobileRU",function(n,t){var i=n.replace(/\(|\)|\s+|-/g,"");return this.optional(t)||i.length>9&&/^((\+7|7|8)+([0-9]){10})$/.test(i)},"Please specify a valid mobile number"),n.validator.addMethod("mobileUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?|0)7(?:[1345789]\d{2}|624)\s?\d{3}\s?\d{3})$/)},"Please specify a valid mobile number"),n.validator.addMethod("netmask",function(n,t){return this.optional(t)||/^(254|252|248|240|224|192|128)\.0\.0\.0|255\.(254|252|248|240|224|192|128|0)\.0\.0|255\.255\.(254|252|248|240|224|192|128|0)\.0|255\.255\.255\.(254|252|248|240|224|192|128|0)/i.test(n)},"Please enter a valid netmask."),n.validator.addMethod("nieES",function(n,t){"use strict";if(this.optional(t))return!0;var r=new RegExp(/^[MXYZ]{1}[0-9]{7,8}[TRWAGMYFPDXBNJZSQVHLCKET]{1}$/gi),u=n.substr(n.length-1).toUpperCase(),i;return(n=n.toString().toUpperCase(),n.length>10||n.length<9||!r.test(n))?!1:(n=n.replace(/^[X]/,"0").replace(/^[Y]/,"1").replace(/^[Z]/,"2"),i=n.length===9?n.substr(0,8):n.substr(0,9),"TRWAGMYFPDXBNJZSQVHLCKET".charAt(parseInt(i,10)%23)===u)},"Please specify a valid NIE number."),n.validator.addMethod("nifES",function(n,t){"use strict";return this.optional(t)?!0:(n=n.toUpperCase(),!n.match("((^[A-Z]{1}[0-9]{7}[A-Z0-9]{1}$|^[T]{1}[A-Z0-9]{8}$)|^[0-9]{8}[A-Z]{1}$)"))?!1:/^[0-9]{8}[A-Z]{1}$/.test(n)?"TRWAGMYFPDXBNJZSQVHLCKE".charAt(n.substring(8,0)%23)===n.charAt(8):/^[KLM]{1}/.test(n)?n[8]==="TRWAGMYFPDXBNJZSQVHLCKE".charAt(n.substring(8,1)%23):!1},"Please specify a valid NIF number."),n.validator.addMethod("nipPL",function(n){"use strict";var u,i,t,r,f;if(n=n.replace(/[^0-9]/g,""),n.length!==10)return!1;for(u=[6,5,7,2,3,4,5,6,7],i=0,t=0;t<9;t++)i+=u[t]*n[t];return r=i%11,f=r===10?0:r,f===parseInt(n[9],10)},"Please specify a valid NIP number."),n.validator.addMethod("nisBR",function(n){var r,f,e=0,i,t,u;if(n=n.replace(/([~!@#$%^&*()_+=`{}\[\]\-|\\:;'<>,.\/? ])+/g,""),n.length!==11)return!1;for(f=parseInt(n.substring(10,11),10),r=parseInt(n.substring(0,10),10),t=2;t<12;t++)u=t,t===10&&(u=2),t===11&&(u=3),e+=r%10*u,r=parseInt(r/10,10);return i=e%11,i=i>1?11-i:0,f===i?!0:!1},"Please specify a valid NIS/PIS number"),n.validator.addMethod("notEqualTo",function(t,i,r){return this.optional(i)||!n.validator.methods.equalTo.call(this,t,i,r)},"Please enter a different value, values must not be the same."),n.validator.addMethod("nowhitespace",function(n,t){return this.optional(t)||/^\S+$/i.test(n)},"No white space please"),n.validator.addMethod("pattern",function(n,t,i){return this.optional(t)?!0:(typeof i=="string"&&(i=new RegExp("^(?:"+i+")$")),i.test(n))},"Invalid format."),n.validator.addMethod("phoneNL",function(n,t){return this.optional(t)||/^((\+|00(\s|\s?\-\s?)?)31(\s|\s?\-\s?)?(\(0\)[\-\s]?)?|0)[1-9]((\s|\s?\-\s?)?[0-9]){8}$/.test(n)},"Please specify a valid phone number."),n.validator.addMethod("phonePL",function(n,t){n=n.replace(/\s+/g,"");
105return this.optional(t)||/^(?:(?:(?:\+|00)?48)|(?:\(\+?48\)))?(?:1[2-8]|2[2-69]|3[2-49]|4[1-68]|5[0-9]|6[0-35-9]|[7-8][1-9]|9[145])\d{7}$/.test(n)},"Please specify a valid phone number"),n.validator.addMethod("phonesUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?|0)(?:1\d{8,9}|[23]\d{9}|7(?:[1345789]\d{8}|624\d{6})))$/)},"Please specify a valid uk phone number"),n.validator.addMethod("phoneUK",function(n,t){return n=n.replace(/\(|\)|\s+|-/g,""),this.optional(t)||n.length>9&&n.match(/^(?:(?:(?:00\s?|\+)44\s?)|(?:\(?0))(?:\d{2}\)?\s?\d{4}\s?\d{4}|\d{3}\)?\s?\d{3}\s?\d{3,4}|\d{4}\)?\s?(?:\d{5}|\d{3}\s?\d{3})|\d{5}\)?\s?\d{4,5})$/)},"Please specify a valid phone number"),n.validator.addMethod("phoneUS",function(n,t){return n=n.replace(/\s+/g,""),this.optional(t)||n.length>9&&n.match(/^(\+?1-?)?(\([2-9]([02-9]\d|1[02-9])\)|[2-9]([02-9]\d|1[02-9]))-?[2-9]\d{2}-?\d{4}$/)},"Please specify a valid phone number"),n.validator.addMethod("postalcodeBR",function(n,t){return this.optional(t)||/^\d{2}.\d{3}-\d{3}?$|^\d{5}-?\d{3}?$/.test(n)},"Informe um CEP válido."),n.validator.addMethod("postalCodeCA",function(n,t){return this.optional(t)||/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJKLMNPRSTVWXYZ] *\d[ABCEGHJKLMNPRSTVWXYZ]\d$/i.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postalcodeIT",function(n,t){return this.optional(t)||/^\d{5}$/.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postalcodeNL",function(n,t){return this.optional(t)||/^[1-9][0-9]{3}\s?[a-zA-Z]{2}$/.test(n)},"Please specify a valid postal code"),n.validator.addMethod("postcodeUK",function(n,t){return this.optional(t)||/^((([A-PR-UWYZ][0-9])|([A-PR-UWYZ][0-9][0-9])|([A-PR-UWYZ][A-HK-Y][0-9])|([A-PR-UWYZ][A-HK-Y][0-9][0-9])|([A-PR-UWYZ][0-9][A-HJKSTUW])|([A-PR-UWYZ][A-HK-Y][0-9][ABEHMNPRVWXY]))\s?([0-9][ABD-HJLNP-UW-Z]{2})|(GIR)\s?(0AA))$/i.test(n)},"Please specify a valid UK postcode"),n.validator.addMethod("require_from_group",function(t,i,r){var u=n(r[1],i.form),f=u.eq(0),e=f.data("valid_req_grp")?f.data("valid_req_grp"):n.extend({},this),o=u.filter(function(){return e.elementValue(this)}).length>=r[0];return f.data("valid_req_grp",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),o},n.validator.format("Please fill at least {0} of these fields.")),n.validator.addMethod("skip_or_fill_minimum",function(t,i,r){var u=n(r[1],i.form),f=u.eq(0),e=f.data("valid_skip")?f.data("valid_skip"):n.extend({},this),o=u.filter(function(){return e.elementValue(this)}).length,s=o===0||o>=r[0];return f.data("valid_skip",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),s},n.validator.format("Please either skip these fields or fill at least {0} of them.")),n.validator.addMethod("stateUS",function(n,t,i){var u=typeof i=="undefined",o=u||typeof i.caseSensitive=="undefined"?!1:i.caseSensitive,f=u||typeof i.includeTerritories=="undefined"?!1:i.includeTerritories,e=u||typeof i.includeMilitary=="undefined"?!1:i.includeMilitary,r;return r=f||e?f&&e?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":f?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$",r=o?new RegExp(r):new RegExp(r,"i"),this.optional(t)||r.test(n)},"Please specify a valid state"),n.validator.addMethod("strippedminlength",function(t,i,r){return n(t).text().length>=r},n.validator.format("Please enter at least {0} characters")),n.validator.addMethod("time",function(n,t){return this.optional(t)||/^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(n)},"Please enter a valid time, between 00:00 and 23:59"),n.validator.addMethod("time12h",function(n,t){return this.optional(t)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(n)},"Please enter a valid time in 12-hour am/pm format"),n.validator.addMethod("url2",function(n,t){return this.optional(t)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(n)},n.validator.messages.url),n.validator.addMethod("vinUS",function(n){if(n.length!==17)return!1;for(var e=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],h=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],c=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],s=0,r,t,o,u,f,i=0;i<17;i++){if(o=c[i],t=n.slice(i,i+1),i===8&&(f=t),isNaN(t)){for(r=0;r<e.length;r++)if(t.toUpperCase()===e[r]){t=h[r];t*=o;isNaN(f)&&r===8&&(f=e[r]);break}}else t*=o;s+=t}return(u=s%11,u===10&&(u="X"),u===f)?!0:!1}
105,"The specified vehicle identification number (VIN) is invalid."),n.validator.addMethod("zipcodeUS",function(n,t){return this.optional(t)||/^\d{5}(-\d{4})?$/.test(n)},"The specified US ZIP Code is invalid"),n.validator.addMethod("ziprange",function(n,t){return this.optional(t)||/^90[2-5]\d\{2\}-\d{4}$/.test(n)},"Your ZIP-code must be in the range 902xx-xxxx to 905xx-xxxx"),n});$.validator.methods.range=function(n,t,i){var r=n.replace(/(\d+).(?=\d{3}(\D|$))/g,"$1");return r=r.replace(",","."),this.optional(t)||r>=i[0]&&r<=i[1]};$.validator.methods.number=function(n,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:[\s\.,]\d{3})+)(?:[\.,]\d+)?$/.test(n)};!function(n){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],n):"object"==typeof module&&module.exports?module.exports=n(require("jquery-validation")):jQuery.validator.unobtrusive=n(jQuery)}(function(n){function i(n,t,i){n.rules[t]=i;n.message&&(n.messages[t]=n.message)}function h(n){return n.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function f(n){return n.replace(/([!"#$%&'()*+,.\/:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function e(n){return n.substr(0,n.lastIndexOf(".")+1)}function o(n,t){return 0===n.indexOf("*.")&&(n=n.replace("*.",t)),n}function c(t,i){var r=n(this).find("[data-valmsg-for='"+f(i[0].name)+"']"),u=r.attr("data-valmsg-replace"),e=u?n.parseJSON(u)!==!1:null;r.removeClass("field-validation-valid").addClass("field-validation-error");t.data("unobtrusiveContainer",r);e?(r.empty(),t.removeClass("input-validation-error").appendTo(r)):t.hide()}function l(t,i){var u=n(this).find("[data-valmsg-summary=true]"),r=u.find("ul");r&&r.length&&i.errorList.length&&(r.empty(),u.addClass("validation-summary-errors").removeClass("validation-summary-valid"),n.each(i.errorList,function(){n("<li />").html(this.message).appendTo(r)}))}function a(t){var i=t.data("unobtrusiveContainer"),r,u;i&&(r=i.attr("data-valmsg-replace"),u=r?n.parseJSON(r):null,i.addClass("field-validation-valid").removeClass("field-validation-error"),t.removeData("unobtrusiveContainer"),u&&i.empty())}function v(){var t=n(this),i="__jquery_unobtrusive_validation_form_reset";if(!t.data(i)){t.data(i,!0);try{t.data("validator").resetForm()}finally{t.removeData(i)}t.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors");t.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function s(t){var i=n(t),f=i.data(u),s=n.proxy(v,t),e=r.unobtrusive.options||{},o=function(i,r){var u=e[i];u&&n.isFunction(u)&&u.apply(t,r)};return f||(f={options:{errorClass:e.errorClass||"input-validation-error",errorElement:e.errorElement||"span",errorPlacement:function(){c.apply(t,arguments);o("errorPlacement",arguments)},invalidHandler:function(){l.apply(t,arguments);o("invalidHandler",arguments)},messages:{},rules:{},success:function(){a.apply(t,arguments);o("success",arguments)}},attachValidation:function(){i.off("reset."+u,s).on("reset."+u,s).validate(this.options)},validate:function(){return i.validate(),i.valid()}},i.data(u,f)),f}var t,r=n.validator,u="unobtrusiveValidation";return r.unobtrusive={adapters:[],parseElement:function(t,i){var r,u,o,f=n(t),e=f.parents("form")[0];e&&(r=s(e),r.options.rules[t.name]=u={},r.options.messages[t.name]=o={},n.each(this.adapters,function(){var i="data-val-"+this.name,r=f.attr(i),s={};void 0!==r&&(i+="-",n.each(this.params,function(){s[this]=f.attr(i+this)}),this.adapt({element:t,form:e,message:r,params:s,rules:u,messages:o}))}),n.extend(u,{__dummy__:!0}),i||r.attachValidation())},parse:function(t){var i=n(t),u=i.parents().addBack().filter("form").add(i.find("form")).has("[data-val=true]");i.find("[data-val=true]").each(function(){r.unobtrusive.parseElement(this,!0)});u.each(function(){var n=s(this);n&&n.attachValidation()})}},t=r.unobtrusive.adapters,t.add=function(n,t,i){return i||(i=t,t=[]),this.push({name:n,params:t,adapt:i}),this},t.addBool=function(n,t){return this.add(n,function(r){i(r,t||n,!0)})},t.addMinMax=function(n,t,r,u,f,e){return this.add(n,[f||"min",e||"max"],function(n){var f=n.params.min,e=n.params.max;f&&e?i(n,u,[f,e]):f?i(n,t,f):e&&i(n,r,e)})},t.addSingleVal=function(n,t,r){return this.add(n,[t||"val"],function(u){i(u,r||n,u.params[t])})},r.addMethod("__dummy__",function(){return!0}),r.addMethod("regex",function(n,t,i){var r;return!!this.optional(t)||(r=new RegExp(i).exec(n),r&&0===r.index&&r[0].length===n.length)}),r.addMethod("nonalphamin",function(n,t,i){var r;return i&&(r=n.match(/\W/g),r=r&&r.length>=i),r}),r.methods.extension?(t.addSingleVal("accept","mimtype"),t.addSingleVal("extension","extension")):t.addSingleVal("extension","extension","accept"),t.addSingleVal("regex","pattern"),t.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),t.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),t.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),t.add("equalto",["other"],function(t){var r=e(t.element.name),u=t.params.other,s=o(u,r),h=n(t.form).find(":input").filter("[name='"+f(s)+"']")[0];i(t,"equalTo",h)}),t.add("required",function(n){"INPUT"===n.element.tagName.toUpperCase()&&"CHECKBOX"===n.element.type.toUpperCase()||i(n,"required",!0)}),t.add("remote",["url","type","additionalfields"],function(t){var r={url:t.params.url,type:t.params.type||"GET",data:{}},u=e(t.element.name);n.each(h(t.params.additionalfields||t.element.name),function(i,e){var s=o(e,u);r.data[s]=function(){var i=n(t.form).find(":input").filter("[name='"+f(s)+"']");return i.is(":checkbox")?i.filter(":checked").val()||i.filter(":hidden").val()||"":i.is(":radio")?i.filter(":checked").val()||"":i.val()}});i(t,"remote",r)}),t.add("password",["min","nonalphamin","regex"],function(n){n.params.min&&i(n,"minlength",n.params.min);n.params.nonalphamin&&i(n,"nonalphamin",n.params.nonalphamin);
105n.params.regex&&i(n,"regex",n.params.regex)}),t.add("fileextensions",["extensions"],function(n){i(n,"extension",n.params.extensions)}),n(function(){r.unobtrusive.parse(document)}),r.unobtrusive}); 106/*! 107 * Bootstrap-select v1.13.17 (https://developer.snapappointments.com/bootstrap-select) 108 * 109 * Copyright 2012-2020 SnapAppointments, LLC 110 * Licensed under MIT (https://github.com/snapappointments/bootstrap-select/blob/master/LICENSE) 111 */ 112!function(n,t){void 0===n&&void 0!==window&&(n=window);"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(n)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(n.jQuery)}(this,function(n){!function(n){"use strict";function ni(t,i){var r=t.nodeName.toLowerCase();if(-1!==n.inArray(r,i))return-1===n.inArray(r,kt)||Boolean(t.nodeValue.match(dt)||t.nodeValue.match(gt));for(var f=n(i).filter(function(n,t){return t instanceof RegExp}),u=0,e=f.length;u<e;u++)if(r.match(f[u]))return!0;return!1}function g(n,t,i){var r,e,s;if(i&&"function"==typeof i)return i(n);for(var l=Object.keys(t),u=0,a=n.length;u<a;u++)for(var h=n[u].querySelectorAll("*"),f=0,v=h.length;f<v;f++)if(r=h[f],e=r.nodeName.toLowerCase(),-1!==l.indexOf(e))for(var c=[].slice.call(r.attributes),y=[].concat(t["*"]||[],t[e]||[]),o=0,p=c.length;o<p;o++)s=c[o],ni(s,y)||r.removeAttribute(s.nodeName);else r.parentNode.removeChild(r)}function ut(n){var r,u,i;if(null==this)throw new TypeError;if(r=String(this),n&&"[object RegExp]"==nt.call(n))throw new TypeError;var f=r.length,e=String(n),o=e.length,s=1<arguments.length?arguments[1]:void 0,t=s?Number(s):0;if(t!=t&&(t=0),u=Math.min(Math.max(t,0),f),f<o+u)return!1;for(i=-1;++i<o;)if(r.charCodeAt(u+i)!=e.charCodeAt(i))return!1;return!0}function ft(n,t){var i,u=n.selectedOptions,f=[],r,e;if(t){for(r=0,e=u.length;r<e;r++)(i=u[r]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||f.push(i);return f}return u}function l(n,t){for(var i,r=[],f=t||n.selectedOptions,u=0,e=f.length;u<e;u++)(i=f[u]).disabled||"OPTGROUP"===i.parentNode.tagName&&i.parentNode.disabled||r.push(i.value);return n.multiple?r:r.length?r[0]:null}function ot(n,t,i,r){for(var e,u,o=["display","subtext","tokens"],s=!1,f=0;f<o.length;f++)if(e=o[f],u=n[e],u&&(u=u.toString(),"display"===e&&(u=u.replace(/<[^>]+>/g,"")),r&&(u=st(u)),u=u.toUpperCase(),s="contains"===i?0<=u.indexOf(t):u.startsWith(t)))break;return s}function e(n){return parseInt(n,10)||0}function ui(n){return ti[n]}function st(n){return(n=n.toString())&&n.replace(ii,ui).replace(ri,"")}function fi(n){return p[n]}function yt(i){var s,h=arguments,r=i,e,o,c;if([].shift.apply(h),!f.success){try{f.full=(n.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(i){u.BootstrapVersion?f.full=u.BootstrapVersion.split(" ")[0].split("."):(f.full=[f.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",i))}f.major=f.full[0];f.success=!0}if("4"===f.major)for(e=[],u.DEFAULTS.style===t.BUTTONCLASS&&e.push({name:"style",className:"BUTTONCLASS"}),u.DEFAULTS.iconBase===t.ICONBASE&&e.push({name:"iconBase",className:"ICONBASE"}),u.DEFAULTS.tickIcon===t.TICKICON&&e.push({name:"tickIcon",className:"TICKICON"}),t.DIVIDER="dropdown-divider",t.SHOW="show",t.BUTTONCLASS="btn-light",t.POPOVERHEADER="popover-header",t.ICONBASE="",t.TICKICON="bs-ok-default",o=0;o<e.length;o++)i=e[o],u.DEFAULTS[i.name]=t[i.className];return c=this.each(function(){var e=n(this),t,i,o,f,c,l;if(e.is("select")){if(t=e.data("selectpicker"),i="object"==typeof r&&r,t){if(i)for(o in i)Object.prototype.hasOwnProperty.call(i,o)&&(t.options[o]=i[o])}else{f=e.data();for(c in f)Object.prototype.hasOwnProperty.call(f,c)&&-1!==n.inArray(c,bt)&&delete f[c];l=n.extend({},u.DEFAULTS,n.fn.selectpicker.defaults||{},f,i);l.template=n.extend({},u.DEFAULTS.template,n.fn.selectpicker.defaults?n.fn.selectpicker.defaults.template:{},f.template,i.template);e.data("selectpicker",t=new u(this,l))}"string"==typeof r&&(s=t[r]instanceof Function?t[r].apply(t,h):t.options[r])}}),void 0!==s?s:c}function wt(){if(n.fn.dropdown)return(n.fn.dropdown.Constructor._dataApiKeydownHandler||n.fn.dropdown.Constructor.prototype.keydown).apply(this,arguments)}var bt=["sanitize","whiteList","sanitizeFn"],kt=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],dt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,gt
112=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,y,nt,h,tt,it,rt,c,s,et,p,w,ht,ct,a,pt;"classList"in document.createElement("_")||function(t){var r;if("Element"in t){var u="classList",e="prototype",f=t.Element[e],i=Object,o=function(){var t=n(this);return{add:function(n){return n=Array.prototype.slice.call(arguments).join(" "),t.addClass(n)},remove:function(n){return n=Array.prototype.slice.call(arguments).join(" "),t.removeClass(n)},toggle:function(n,i){return t.toggleClass(n,i)},contains:function(n){return t.hasClass(n)}}};if(i.defineProperty){r={get:o,enumerable:!0,configurable:!0};try{i.defineProperty(f,u,r)}catch(t){void 0!==t.number&&-2146823252!==t.number||(r.enumerable=!1,i.defineProperty(f,u,r))}}else i[e].__defineGetter__&&f.__defineGetter__(u,o)}}(window);h=document.createElement("_");(h.classList.add("c1","c2"),h.classList.contains("c2"))||(tt=DOMTokenList.prototype.add,it=DOMTokenList.prototype.remove,DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,tt.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,it.bind(this))});(h.classList.toggle("c3",!1),h.classList.contains("c3"))&&(rt=DOMTokenList.prototype.toggle,DOMTokenList.prototype.toggle=function(n,t){return 1 in arguments&&!this.contains(n)==!t?t:rt.call(this,n)});h=null;String.prototype.startsWith||(y=function(){try{var n={},t=Object.defineProperty,i=t(n,n,n)&&t}catch(n){}return i}(),nt={}.toString,y?y(String.prototype,"startsWith",{value:ut,configurable:!0,writable:!0}):String.prototype.startsWith=ut);Object.keys||(Object.keys=function(n,t,i){for(t in i=[],n)i.hasOwnProperty.call(n,t)&&i.push(t);return i});HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});c={useDefault:!1,_set:n.valHooks.select.set};n.valHooks.select.set=function(t,i){return i&&!c.useDefault&&n(t).data("selected",!0),c._set.apply(this,arguments)};s=null;et=function(){try{return new Event("change"),!0}catch(n){return!1}}();n.fn.triggerNative=function(n){var t,i=this[0];i.dispatchEvent?(et?t=new Event(n,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(n,!0,!1),i.dispatchEvent(t)):i.fireEvent?((t=document.createEventObject()).eventType=n,i.fireEvent("on"+n,t)):this.trigger(n)};var ti={"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"}
112,ii=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ri=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");a=(p={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},w="(?:"+Object.keys(p).join("|")+")",ht=RegExp(w),ct=RegExp(w,"g"),function(n){return n=null==n?"":""+n,ht.test(n)?n.replace(ct,fi):n});var ei={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},lt=27,oi=13,v=32,b=9,k=38,d=40,f={success:!1,major:"3"};try{f.full=(n.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".");f.major=f.full[0];f.success=!0}catch(e){}var at=0,r=".bs.select",t={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},vt={MENU:"."+t.MENU},i={div:document.createElement("div"),span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode("Â "),fragment:document.createDocumentFragment()};i.noResults=i.li.cloneNode(!1);i.noResults.className="no-results";i.a.setAttribute("role","option");i.a.className="dropdown-item";i.subtext.className="text-muted";i.text=i.span.cloneNode(!1);i.text.className="text";i.checkMark=i.span.cloneNode(!1);var si=new RegExp(k+"|"+d),hi=new RegExp("^"+b+"$|"+lt),o={li:function(n,t,r){var u=i.li.cloneNode(!1);return n&&(1===n.nodeType||11===n.nodeType?u.appendChild(n):u.innerHTML=n),void 0!==t&&""!==t&&(u.className=t),null!=r&&u.classList.add("optgroup-"+r),u},a:function(n,t,r){var u=i.a.cloneNode(!0);return n&&(11===n.nodeType?u.appendChild(n):u.insertAdjacentHTML("beforeend",n)),void 0!==t&&""!==t&&u.classList.add.apply(u.classList,t.split(/\s+/)),r&&u.setAttribute("style",r),u},text:function(n,t){var u,f,r=i.text.cloneNode(!1),e;if(n.content?r.innerHTML=n.content:((r.textContent=n.text,n.icon)&&(e=i.whitespace.cloneNode(!1),(f=(!0===t?i.i:i.span).cloneNode(!1)).className=this.options.iconBase+" "+n.icon,i.fragment.appendChild(f),i.fragment.appendChild(e)),n.subtext&&((u=i.subtext.cloneNode(!1)).textContent=n.subtext,r.appendChild(u))),!0===t)for(;0<r.childNodes.length;)i.fragment.appendChild(r.childNodes[0]);else i.fragment.appendChild(r);return i.fragment},label:function(n){var r,u,t=i.text.cloneNode(!1),f;return(t.innerHTML=n.display,n.icon)&&(f=i.whitespace.cloneNode(!1),(u=i.span.cloneNode(!1)).className=this.options.iconBase+" "+n.icon,i.fragment.appendChild(u),i.fragment.appendChild(f)),n.subtext&&((r=i.subtext.cloneNode(!1)).textContent=n.subtext,t.appendChild(r)),i.fragment.appendChild(t),i.fragment}},u=function(t,i){var f=this,r;c.useDefault||(n.valHooks.select.set=c._set,c.useDefault=!0);this.$element=n(t);this.$newElement=null;this.$button=null;this.$menu=null;this.options=i;this.selectpicker={main:{},search:{},current:{},view:{},isSearching:!1,keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout(function(){f.selectpicker.keydown.keyHistory=""},800)}}}};this.sizeInfo={};null===this.options.title&&(this.options.title=this.$element.attr("title"));r=this.options.windowPadding;"number"==typeof r&&(this.options.windowPadding=[r,r,r,r]);this.val=u.prototype.val;this.render=u.prototype.render;this.refresh=u.prototype.refresh;this.setStyle=u.prototype.setStyle;this.selectAll=u.prototype.selectAll;this.deselectAll=u.prototype.deselectAll;this.destroy=u.prototype.destroy;this.remove=u.prototype.remove;this.show=u.prototype.show;this.hide=u.prototype.hide;this.init()};u.VERSION="1.13.17";u.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(n){return 1==n?"{0} item selected":"{0} items selected"},maxOptionsText:function(n,t){return[1==n?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:t.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:t.ICONBASE,tickIcon:t.TICKICON,showTick:!1,template:{caret:'<span class="caret"><\/span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role","tabindex","style",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]}};u.prototype={constructor:u,init:function(){var n=this,i=this.$element.attr("id");at++;this.selectId="bs-select-"+at;this.$element[0].classList.add("bs-select-hidden");this.multiple=this.$element.prop("multiple");this.autofocus=this.$element.prop("autofocus");this.$element[0].classList.contains("show-tick")&&(this.options.showTick=!0);this.$newElement=this.createDropdown();this.buildData();this.$element.after(this.$newElement).prependTo(this.$newElement);this.$button=this.$newElement.children("button");this.$menu=this.$newElement.children(vt.MENU);this.$menuInner=this.$menu.children(".inner");this.$searchbox=this.$menu.find("input");this.$element[0].classList.remove("bs-select-hidden");!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(t.MENURIGHT);void 0!==i&&this.$button.attr("data-id",i);this.checkDisabled();this.clickListener();this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0];this.setStyle();this.render();this.setWidth();this.options.container?this.selectPosition():this.$element.on("hide"+r,function(){if(n.isVirtual()){var t=n.$menuInner[0],i=t.firstChild.cloneNode(!1);t.replaceChild(i,t.firstChild);t.scrollTop=0}});this.$menu.data("this",this);this.$newElement.data("this",this);this.options.mobile&&this.mobile();this.$newElement.on({"hide.bs.dropdown":function(t){n.$element.trigger("hide"+r,t)},"hidden.bs.dropdown":function(t){n.$element.trigger("hidden"+r,t)},"show.bs.dropdown":function(t){n.$element.trigger("show"+r,t)},"shown.bs.dropdown":function(t){n.$element.trigger("shown"+r,t)}});n.$element[0].hasAttribute("required")&&this.$element.on("invalid"+r,function(){n.$button[0].classList.add("bs-invalid");
112n.$element.on("shown"+r+".invalid",function(){n.$element.val(n.$element.val()).off("shown"+r+".invalid")}).on("rendered"+r,function(){this.validity.valid&&n.$button[0].classList.remove("bs-invalid");n.$element.off("rendered"+r)});n.$button.on("blur"+r,function(){n.$element.trigger("focus").trigger("blur");n.$button.off("blur"+r)})});setTimeout(function(){n.buildList();n.$element.trigger("loaded"+r)})},createDropdown:function(){var h=this.multiple||this.options.showTick?" show-tick":"",c=this.multiple?' aria-multiselectable="true"':"",i="",l=this.autofocus?" autofocus":"";f.major<4&&this.$element.parent().hasClass("input-group")&&(i=" input-group-btn");var r,u="",e="",o="",s="";return this.options.header&&(u='<div class="'+t.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">×<\/button>'+this.options.header+"<\/div>"),this.options.liveSearch&&(e='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+a(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"><\/div>'),this.multiple&&this.options.actionsBox&&(o='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+t.BUTTONCLASS+'">'+this.options.selectAllText+'<\/button><button type="button" class="actions-btn bs-deselect-all btn '+t.BUTTONCLASS+'">'+this.options.deselectAllText+"<\/button><\/div><\/div>"),this.multiple&&this.options.doneButton&&(s='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+t.BUTTONCLASS+'">'+this.options.doneButtonText+"<\/button><\/div><\/div>"),r='<div class="dropdown bootstrap-select'+h+i+'"><button type="button" tabindex="-1" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+l+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"><\/div><\/div> <\/div>'+("4"===f.major?"":'<span class="bs-caret">'+this.options.template.caret+"<\/span>")+'<\/button><div class="'+t.MENU+" "+("4"===f.major?"":t.SHOW)+'">'+u+e+o+'<div class="inner '+t.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+c+'><ul class="'+t.MENU+" inner "+("4"===f.major?t.SHOW:"")+'" role="presentation"><\/ul><\/div>'+s+"<\/div><\/div>",n(r)},setPositionData:function(){var t,n,i;for(this.selectpicker.view.canHighlight=[],t=this.selectpicker.view.size=0;t<this.selectpicker.current.data.length;t++)n=this.selectpicker.current.data[t],i=!0,"divider"===n.type?(i=!1,n.height=this.sizeInfo.dividerHeight):"optgroup-label"===n.type?(i=!1,n.height=this.sizeInfo.dropdownHeaderHeight):n.height=this.sizeInfo.liHeight,n.disabled&&(i=!1),this.selectpicker.view.canHighlight.push(i),i&&(this.selectpicker.view.size++,n.posinset=this.selectpicker.view.size),n.position=(0===t?0:this.selectpicker.current.data[t-1].position)+n.height},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(i,u,f){function a(n,t){var c,l,rt,ut,s,b,ft,et,f=e.selectpicker.current.elements.length,k=[],ot=!0,o=e.isVirtual(),r,a,at,vt,w,nt,tt,it,yt,h;for(e.selectpicker.view.scrollTop=n,c=Math.ceil(e.sizeInfo.menuInnerHeight/e.sizeInfo.liHeight*1.5),l=Math.round(f/c)||1,r=0;r<l;r++){if(a=(r+1)*c,r===l-1&&(a=f),k[r]=[r*c+(r?1:0),a],!f)break;void 0===s&&n-1<=e.selectpicker.current.data[a-1].position-e.sizeInfo.menuInnerHeight&&(s=r)}if(void 0===s&&(s=0),b=[e.selectpicker.view.position0,e.selectpicker.view.position1],rt=Math.max(0,s-1),ut=Math.min(l-1,s+1),e.selectpicker.view.position0=!1===o?0:Math.max(0,k[rt][0])||0,e.selectpicker.view.position1=!1===o?f:Math.min(f,k[ut][1])||0,ft=b[0]!==e.selectpicker.view.position0||b[1]!==e.selectpicker.view.position1,void 0!==e.activeIndex&&(y=e.selectpicker.main.elements[e.prevActiveIndex],p=e.selectpicker.main.elements[e.activeIndex],v=e.selectpicker.main.elements[e.selectedIndex],t&&(e.activeIndex!==e.selectedIndex&&e.defocusItem(p),e.activeIndex=void 0),e.activeIndex&&e.activeIndex!==e.selectedIndex&&e.defocusItem(v)),void 0!==e.prevActiveIndex&&e.prevActiveIndex!==e.activeIndex&&e.prevActiveIndex!==e.selectedIndex&&e.defocusItem(y),(t||ft)&&(et=e.selectpicker.view.visibleElements?e.selectpicker.view.visibleElements.slice():[],e.selectpicker.view.visibleElements=!1===o?e.selectpicker.current.elements:e.selectpicker.current.elements.slice(e.selectpicker.view.position0,e.selectpicker.view.position1),e.setOptionStatus(),(i||!1===o&&t)&&(ot=!function(n,t){return n.length===t.length&&n.every(function(n,i){return n===t[i]})}(et,e.selectpicker.view.visibleElements)),(t||!0===o)&&ot)){var st,ht,u=e.$menuInner[0],ct=document.createDocumentFragment(),pt=u.firstChild.cloneNode(!1),lt=e.selectpicker.view.visibleElements,d=[];for(u.replaceChild(pt,u.firstChild),r=0,at=lt.length;r<at;r++)nt=lt[r],e.options.sanitize&&(vt=nt.lastChild)&&(w=e.selectpicker.current.data[r+e.selectpicker.view.position0])&&w.c
112ontent&&!w.sanitized&&(d.push(vt),w.sanitized=!0),ct.appendChild(nt);(e.options.sanitize&&d.length&&g(d,e.options.whiteList,e.options.sanitizeFn),!0===o?(st=0===e.selectpicker.view.position0?0:e.selectpicker.current.data[e.selectpicker.view.position0-1].position,ht=e.selectpicker.view.position1>f-1?0:e.selectpicker.current.data[f-1].position-e.selectpicker.current.data[e.selectpicker.view.position1-1].position,u.firstChild.style.marginTop=st+"px",u.firstChild.style.marginBottom=ht+"px"):(u.firstChild.style.marginTop=0,u.firstChild.style.marginBottom=0),u.firstChild.appendChild(ct),!0===o&&e.sizeInfo.hasScrollBar)&&(tt=u.firstChild.offsetWidth,t&&tt<e.sizeInfo.menuInnerInnerWidth&&e.sizeInfo.totalMenuWidth>e.sizeInfo.selectWidth?u.firstChild.style.minWidth=e.sizeInfo.menuInnerInnerWidth+"px":tt>e.sizeInfo.menuInnerInnerWidth&&(e.$menu[0].style.minWidth=0,it=u.firstChild.offsetWidth,it>e.sizeInfo.menuInnerInnerWidth&&(e.sizeInfo.menuInnerInnerWidth=it,u.firstChild.style.minWidth=e.sizeInfo.menuInnerInnerWidth+"px"),e.$menu[0].style.minWidth=""))}(e.prevActiveIndex=e.activeIndex,e.options.liveSearch)?i&&t&&(h=0,e.selectpicker.view.canHighlight[h]||(h=1+e.selectpicker.view.canHighlight.slice(1).indexOf(!0)),yt=e.selectpicker.view.visibleElements[h],e.defocusItem(e.selectpicker.view.currentActive),e.activeIndex=(e.selectpicker.current.data[h]||{}).index,e.focusItem(yt)):e.$menuInner.trigger("focus")}var v,y,e=this,o=0,p=[],s,h,c,l;(this.selectpicker.isSearching=i,this.selectpicker.current=i?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),u)&&(f?o=this.$menuInner[0].scrollTop:e.multiple||(s=e.$element[0],h=(s.options[s.selectedIndex]||{}).liIndex,"number"==typeof h&&!1!==e.options.size&&(c=e.selectpicker.main.data[h],l=c&&c.position,l&&(o=l-(e.sizeInfo.menuInnerHeight+e.sizeInfo.liHeight)/2))));a(o,!0);this.$menuInner.off("scroll.createView").on("scroll.createView",function(n,t){e.noScroll||a(this.scrollTop,t);e.noScroll=!1});n(window).off("resize"+r+"."+this.selectId+".createView").on("resize"+r+"."+this.selectId+".createView",function(){e.$newElement.hasClass(t.SHOW)&&a(e.$menuInner[0].scrollTop)})},focusItem:function(n,t,i){if(n){t=t||this.selectpicker.main.data[this.activeIndex];var r=n.firstChild;r&&(r.setAttribute("aria-setsize",this.selectpicker.view.size),r.setAttribute("aria-posinset",t.posinset),!0!==i&&(this.focusedParent.setAttribute("aria-activedescendant",r.id),n.classList.add("active"),r.classList.add("active")))}},defocusItem:function(n){n&&(n.classList.remove("active"),n.firstChild&&n.firstChild.classList.remove("active"))},setPlaceholder:function(){var t=this,i=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option"));i=!0;var n=this.$element[0],r=!1,u=!this.selectpicker.view.titleOption.parentNode,f=n.selectedIndex,e=n.options[f],o=window.performance&&window.performance.getEntriesByType("navigation");u&&(this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",r=!e||0===f&&!1===e.defaultSelected&&void 0===this.$element.data("selected"));!u&&0===this.selectpicker.view.titleOption.index||n.insertBefore(this.selectpicker.view.titleOption,n.firstChild);r&&o.length&&"back_forward"!==o[0].type?n.selectedIndex=0:"complete"!==document.readyState&&window.addEventListener("pageshow",function(){t.selectpicker.view.displayedValue!==n.value&&t.render()})}return i},buildData:function(){function f(t){var i=n[n.length-1];i&&"divider"===i.type&&(i.optID||t.optID)||((t=t||{}).type="divider",n.push(t))}function s(t,i){if((i=i||{}).divider="true"===t.getAttribute("data-divider"),i.divider)f({optID:i.optID});else{var u=n.length,e=t.style.cssText,o=e?a(e):"",r=(t.className||"")+(i.optgroupClass||"");i.optID&&(r="opt "+r);i.optionClass=r.trim();i.inlineStyle=o;i.text=t.textContent;i.content=t.getAttribute("data-content");i.tokens=t.getAttribute("data-tokens");i.subtext=t.getAttribute("data-subtext");i.icon=t.getAttribute("data-icon");t.liIndex=u;i.display=i.content||i.text;i.type="option";i.index=u;i.option=t;i.selected=!!t.selected;i.disabled=i.disabled||!!t.disabled;n.push(i)}}function c(t,r){var e=r[t],b=!(t-1<o)&&r[t-1],k=r[t+1],l=e.querySelectorAll("option"+u),y,p,h,c,v,w;if(l.length){for(h={display:a(e.label),subtext:e.getAttribute("data-subtext"),icon:e.getAttribute("data-icon"),type:"optgroup-label",optgroupClass:" "+(e.className||"")},i++,b&&f({optID:i}),h.optID=i,n.push(h),c=0,v=l.length;c<v;c++)w=l[c],0===c&&(p=(y=n.length-1)+v),s(w,{headerIndex:y,lastIndex:p,optID:h.optID,optgroupClass:h.optgroupClass,disabled:e.disabled});k&&f({optID:i})}}var u=':not([hidden]):not([data-hidden="true"])',n=[],i=0,o=this.setPlaceholder()?1:0,r,h,t,e;for(this.options.hideDisabled&&(u+=":not(:disabled)"),r=this.$element[0].querySelectorAll("select > *"+u),h=r.length,t=o;t<h;t++)e=r[t],"OPTGROUP"!==e.tagName?s(e,{}):c(t,r);this.selectpicker.main.data=this.selectpicker.current.data=n},buildList:function(){function h(i){var u,f=0;switch(i.type){case"divider":u=o.li(!1,t.DIVIDER,i.optID?i.optID+"div":void 0);break;case"option":(u=o.li(o.a(o.text.call(n,i),i.optionClass,i.inlineStyle),"",i.optID)).firstChild&&(u.firstChild.id=n.selectId+"-"+i.index);break;case"optgroup-label":u=o.li(o.label.call(n,i),"dropdown-header"+i.optgroupClass,i.optID)}i.element=u;r.push(u);i.display&&(f+=i.display.length);i.subtext&&(f+=i.subtext.length);i.icon&&(f+=1);e<f&&(e=f,n.selectpicker.view.widestOption=r[r.length-1])}var n=this,f=this.selectpicker.main.data,r=[],e=0,s,u;for((n.options.showTick||n.multiple)&&!i.checkMark.parentNode&&(i.checkMark.className=this.options.iconBase+" "+n.options.tickIcon+" check-mark",i.a.appendChild(i.checkMark)),s=f.length,u=0;u<s;u++)h(f[u]);this.selectpicker.main.elements=this.selectpicker.current.elements=r}
112,findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){var b,t=this,y=this.$element[0],rt=this.setPlaceholder()&&0===y.selectedIndex,a=ft(y,this.options.hideDisabled),u=a.length,e=this.$button[0],k=e.querySelector(".filter-option-inner-inner"),ut=document.createTextNode(this.options.multipleSeparator),n=i.fragment.cloneNode(!1),tt=!1,s,v,d,it,nt,w;if(e.classList.toggle("bs-placeholder",t.multiple?!u:!l(y,a)),t.multiple||1!==a.length||(t.selectpicker.view.displayedValue=l(y,a)),"static"===this.options.selectedTextFormat)n=o.text.call(this,{text:this.options.title},!0);else if(!1===(this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&1<u&&(1<(b=this.options.selectedTextFormat.split(">")).length&&u>b[1]||1===b.length&&2<=u))){if(!rt){for(s=0;s<u&&s<50;s++){var p=a[s],h=this.selectpicker.main.data[p.liIndex],c={};this.multiple&&0<s&&n.appendChild(ut.cloneNode(!1));p.title?c.text=p.title:h&&(h.content&&t.options.showContent?(c.content=h.content.toString(),tt=!0):(t.options.showIcon&&(c.icon=h.icon),t.options.showSubtext&&!t.multiple&&h.subtext&&(c.subtext=" "+h.subtext),c.text=p.textContent.trim()));n.appendChild(o.text.call(this,c,!0))}49<u&&n.appendChild(document.createTextNode("..."))}}else v=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])',this.options.hideDisabled&&(v+=":not(:disabled)"),d=this.$element[0].querySelectorAll("select > option"+v+", optgroup"+v+" option"+v).length,it="function"==typeof this.options.countSelectedText?this.options.countSelectedText(u,d):this.options.countSelectedText,n=o.text.call(this,{text:it.replace("{0}",u.toString()).replace("{1}",d.toString())},!0);(null==this.options.title&&(this.options.title=this.$element.attr("title")),n.childNodes.length||(n=o.text.call(this,{text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),e.title=n.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&tt&&g([n],t.options.whiteList,t.options.sanitizeFn),k.innerHTML="",k.appendChild(n),f.major<4&&this.$newElement[0].classList.contains("bs3-has-addon"))&&(nt=e.querySelector(".filter-expand"),w=k.cloneNode(!0),w.className="filter-expand",nt?e.replaceChild(w,nt):e.appendChild(w));this.$element.trigger("rendered"+r)},setStyle:function(n,t){var u,i=this.$button[0],r=this.$newElement[0],e=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,""));f.major<4&&(r.classList.add("bs3"),r.parentNode.classList&&r.parentNode.classList.contains("input-group")&&(r.previousElementSibling||r.nextElementSibling)&&(r.previousElementSibling||r.nextElementSibling).classList.contains("input-group-addon")&&r.classList.add("bs3-has-addon"));u=n?n.trim():e;"add"==t?u&&i.classList.add.apply(i.classList,u.split(" ")):"remove"==t?u&&i.classList.remove.apply(i.classList,u.split(" ")):(e&&i.classList.remove.apply(i.classList,e.split(" ")),u&&i.classList.add.apply(i.classList,u.split(" ")))},liHeight:function(r){var d,it,rt;if(r||!1!==this.options.size&&!Object.keys(this.sizeInfo).length){var l,a=i.div.cloneNode(!1),o=i.div.cloneNode(!1),y=i.div.cloneNode(!1),h=document.createElement("ul"),nt=i.li.cloneNode(!1),v=i.li.cloneNode(!1),tt=i.a.cloneNode(!1),p=i.span.cloneNode(!1),w=this.options.header&&0<this.$menu.find("."+t.POPOVERHEADER).length?this.$menu.find("."+t.POPOVERHEADER)[0].cloneNode(!0):null,c=this.options.liveSearch?i.div.cloneNode(!1):null,b=this.options.actionsBox&&this.multiple&&0<this.$menu.find(".bs-actionsbox").length?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,k=this.options.doneButton&&this.multiple&&0<this.$menu.find(".bs-donebutton").length?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,ft=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,p.className="text",tt.className="dropdown-item "+(ft?ft.className:""),a.className=this.$menu[0].parentNode.className+" "+t.SHOW,a.style.width=0,"auto"===this.options.width&&(o.style.minWidth=0),o.className=t.MENU+" "+t.SHOW,y.className="inner "+t.SHOW,h.className=t.MENU+" inner "+("4"===f.major?t.SHOW:""),nt.className=t.DIVIDER,v.className="dropdown-header",p.appendChild(document.createTextNode("â")),this.selectpicker.current.data.length){for(d=0;d<this.selectpicker.current.data.length;d++)if(it=this.selectpicker.current.data[d],"option"===it.type){l=it.element;break}}else l=i.li.cloneNode(!1),tt.appendChild(p),l.appendChild(tt);(v.appendChild(p.cloneNode(!0)),this.selectpicker.view.widestOption&&h.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),h.appendChild(l),h.appendChild(nt),h.appendChild(v),w&&o.appendChild(w),c)&&(rt=document.createElement("input"),c.className="bs-searchbox",rt.className="form-control",c.appendChild(rt),o.appendChild(c));b&&o.appendChild(b);y.appendChild(h);o.appendChild(y);k&&o.appendChild(k);a.appendChild(o);document.body.appendChild(a);var et,ot=l.offsetHeight,st=v?v.offsetHeight:0,ht=w?w.offsetHeight:0,ct=c?c.offsetHeight:0,lt=b?b.offsetHeight:0,at=k?k.offsetHeight:0,vt=n(nt).outerHeight(!0),u=!!window.getComputedStyle&&window.getComputedStyle(o),ut=o.offsetWidth,s=u?null:n(o),g={vert:e(u?u.paddingTop:s.css("paddingTop"))+e(u?u.paddingBottom:s.css("paddingBottom"))+e(u?u.borderTopWidth:s.css("borderTopWidth"))+e(u?u.borderBottomWidth:s.css("borderBottomWidth")),horiz:e(u?u.paddingLeft:s.css("paddingLeft"))+e(u?u.paddingRight:s.css("paddingRight"))+e(u?u.borderLeftWidth:s.css("borderLeftWidth"))+e(u?u.borderRightWidth:s.css("borderRightWidth"))},yt={vert:g.vert+e(u?u.marginTop:s.css("marginTop"))+e(u?u.marginBottom:s.css("marginBottom"))+2,horiz:g.horiz+e(u?u.marginLeft:s.css("marginLeft"))+e(u?u.marginRight:s.css("marginRight"))+2};y.style.overflowY="scroll";et=o.offsetWidth-ut;document.body.removeChild(a);this.sizeInfo.liHeight=ot;this.sizeInfo.dropdownHeaderHeight=st;this.sizeInfo.headerHeight=ht;this.sizeInfo.searchHeight=ct;this.sizeInfo.actionsHeight=lt;this.sizeInfo.doneButtonHeight=at;this.sizeInfo.dividerHeight=vt;this.sizeInfo.menuPadding=g;this.sizeInfo.menuExtras=yt;this.sizeInfo.menuWidth=ut;this.sizeInfo.menuInnerInnerWidth=ut-g.horiz;this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth;this.sizeInfo.scrollBarWidth=et;this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight;this.setPositionData()}},getSelectPosition:function(){var t,u=n(window),f=this.$newElement.offset(),i=n(this.options.container),r;this.options.container&&i.length&&!i.is("body")?((t=i.offset()).top+=parseInt(i.css("borderTopWidth")),t.left+=parseInt(i.css("borderLeftWidth"))):t={top:0,left:0};r=this.options.windowPadding;this.sizeInfo.selectOffsetTop=f.top-t.top-u.scrollTop();this.sizeInfo.selectOffsetBot=u.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-t.top-r[2];this.sizeInfo.selectOffsetLeft=f.left-t.left-u.scrollLeft();this.sizeInfo.selectOffsetRight=u.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-t.left-r[1];this.sizeInfo.selectOffsetTop-=r[0];this.sizeInfo.selectOffsetLeft-=r[3]},setMenuSize:function(){var f;
112this.getSelectPosition();var r,n,e,o,s,h,y,u,b=this.sizeInfo.selectWidth,p=this.sizeInfo.liHeight,c=this.sizeInfo.headerHeight,l=this.sizeInfo.searchHeight,a=this.sizeInfo.actionsHeight,v=this.sizeInfo.doneButtonHeight,k=this.sizeInfo.dividerHeight,i=this.sizeInfo.menuPadding,w=0;if(this.options.dropupAuto&&(y=p*this.selectpicker.current.elements.length+i.vert,u=this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&y+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot,!0===this.selectpicker.isSearching&&(u=this.selectpicker.dropup),this.$newElement.toggleClass(t.DROPUP,u),this.selectpicker.dropup=u),"auto"===this.options.size)o=3<this.selectpicker.current.elements.length?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,n=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,e=o+c+l+a+v,h=Math.max(o-i.vert,0),this.$newElement.hasClass(t.DROPUP)&&(n=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),r=(s=n)-c-l-a-v-i.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(f=0;f<this.options.size;f++)"divider"===this.selectpicker.current.data[f].type&&w++;r=(n=p*this.options.size+w*k+i.vert)-i.vert;s=n+c+l+a+v;e=h=""}this.$menu.css({"max-height":s+"px",overflow:"hidden","min-height":e+"px"});this.$menuInner.css({"max-height":r+"px","overflow-y":"auto","min-height":h+"px"});this.sizeInfo.menuInnerHeight=Math.max(r,1);this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth);"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(t.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-b);this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(t){if(this.liHeight(t),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var i=this,u=n(window);this.setMenuSize();this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",function(){return i.setMenuSize()});"auto"===this.options.size?u.off("resize"+r+"."+this.selectId+".setMenuSize scroll"+r+"."+this.selectId+".setMenuSize").on("resize"+r+"."+this.selectId+".setMenuSize scroll"+r+"."+this.selectId+".setMenuSize",function(){return i.setMenuSize()}):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&u.off("resize"+r+"."+this.selectId+".setMenuSize scroll"+r+"."+this.selectId+".setMenuSize")}this.createView(!1,!0,t)},setWidth:function(){var n=this;"auto"===this.options.width?requestAnimationFrame(function(){n.$menu.css("min-width","0");n.$element.on("loaded"+r,function(){n.liHeight();n.setMenuSize();var t=n.$newElement.clone().appendTo("body"),i=t.css("width","auto").children("button").outerWidth();t.remove();n.sizeInfo.selectWidth=Math.max(n.sizeInfo.totalMenuWidth,i);n.$newElement.css("width",n.sizeInfo.selectWidth+"px")})}):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width",""));this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){function s(r){var s={},c=i.options.display||!!n.fn.dropdown.Constructor.Default&&n.fn.dropdown.Constructor.Default.display;i.$bsContainer.addClass(r.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(t.DROPUP,r.hasClass(t.DROPUP));o=r.offset();u.is("body")?e={top:0,left:0}:((e=u.offset()).top+=parseInt(u.css("borderTopWidth"))-u.scrollTop(),e.left+=parseInt(u.css("borderLeftWidth"))-u.scrollLeft());h=r.hasClass(t.DROPUP)?0:r[0].offsetHeight;(f.major<4||"static"===c)&&(s.top=o.top-e.top+h,s.left=o.left-e.left);s.width=r[0].offsetWidth;i.$bsContainer.css(s)}this.$bsContainer=n('<div class="bs-container" />');var o,e,h,i=this,u=n(this.options.container);this.$button.on("click.bs.dropdown.data-api",function(){i.isDisabled()||(s(i.$newElement),i.$bsContainer.appendTo(i.options.container).toggleClass(t.SHOW,!i.$button.hasClass(t.SHOW)).append(i.$menu))});n(window).off("resize"+r+"."+this.selectId+" scroll"+r+"."+this.selectId).on("resize"+r+"."+this.selectId+" scroll"+r+"."+this.selectId,function(){i.$newElement.hasClass(t.SHOW)&&s(i.$newElement)});this.$element.on("hide"+r,function(){i.$menu.data("height",i.$menu.height());i.$bsContainer.detach()})},setOptionStatus:function(n){var t=this,r,i,u;if(t.noScroll=!1,t.selectpicker.view.visibleElements&&t.selectpicker.view.visibleElements.length)for(r=0;
112r<t.selectpicker.view.visibleElements.length;r++)i=t.selectpicker.current.data[r+t.selectpicker.view.position0],u=i.option,u&&(!0!==n&&t.setDisabled(i.index,i.disabled),t.setSelected(i.index,u.selected))},setSelected:function(n,t){var u,i,r=this.selectpicker.main.elements[n],f=this.selectpicker.main.data[n],e=void 0!==this.activeIndex,o=this.activeIndex===n||t&&!this.multiple&&!e;f.selected=t;i=r.firstChild;t&&(this.selectedIndex=n);r.classList.toggle("selected",t);o?(this.focusItem(r,f),this.selectpicker.view.currentActive=r,this.activeIndex=n):this.defocusItem(r);i&&(i.classList.toggle("selected",t),t?i.setAttribute("aria-selected",!0):this.multiple?i.setAttribute("aria-selected",!1):i.removeAttribute("aria-selected"));o||e||!t||void 0===this.prevActiveIndex||(u=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(u))},setDisabled:function(n,i){var r,u=this.selectpicker.main.elements[n];this.selectpicker.main.data[n].disabled=i;r=u.firstChild;u.classList.toggle(t.DISABLED,i);r&&("4"===f.major&&r.classList.toggle(t.DISABLED,i),i?(r.setAttribute("aria-disabled",i),r.setAttribute("tabindex",-1)):(r.removeAttribute("aria-disabled"),r.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add(t.DISABLED),this.$button.addClass(t.DISABLED).attr("aria-disabled",!0)):this.$button[0].classList.contains(t.DISABLED)&&(this.$newElement[0].classList.remove(t.DISABLED),this.$button.removeClass(t.DISABLED).attr("aria-disabled",!1))},clickListener:function(){function e(){i.options.liveSearch?i.$searchbox.trigger("focus"):i.$menuInner.trigger("focus")}function o(){i.dropdown&&i.dropdown._popper&&i.dropdown._popper.state.isCreated?e():requestAnimationFrame(o)}var i=this,u=n(document);u.data("spaceSelect",!1);this.$button.on("keyup",function(n){/(32)/.test(n.keyCode.toString(10))&&u.data("spaceSelect")&&(n.preventDefault(),u.data("spaceSelect",!1))});this.$newElement.on("show.bs.dropdown",function(){3<f.major&&!i.dropdown&&(i.dropdown=i.$button.data("bs.dropdown"),i.dropdown._menu=i.$menu[0])});this.$button.on("click.bs.dropdown.data-api",function(){i.$newElement.hasClass(t.SHOW)||i.setSize()});this.$element.on("shown"+r,function(){i.$menuInner[0].scrollTop!==i.selectpicker.view.scrollTop&&(i.$menuInner[0].scrollTop=i.selectpicker.view.scrollTop);3<f.major?requestAnimationFrame(o):e()});this.$menuInner.on("mouseenter","li a",function(){var n=this.parentElement,t=i.isVirtual()?i.selectpicker.view.position0:0,r=Array.prototype.indexOf.call(n.parentElement.children,n),u=i.selectpicker.current.data[r+t];i.focusItem(n,u,!0)});this.$menuInner.on("click","li a",function(u,f){var w=n(this),c=i.$element[0],lt=i.isVirtual()?i.selectpicker.view.position0:0,ut=i.selectpicker.current.data[w.parent().index()+lt],a=ut.index,at=l(c),et=c.selectedIndex,ot=c.options[et],b=!0,d,g,p,nt;if(i.multiple&&1!==i.options.maxOptions&&u.stopPropagation(),u.preventDefault(),!i.isDisabled()&&!w.parent().hasClass(t.DISABLED)){var h=ut.option,st=n(h),ht=h.selected,k=st.parent("optgroup"),ct=k.find("option"),e=i.options.maxOptions,o=k.data("maxOptions")||!1;if(a===i.activeIndex&&(f=!0),f||(i.prevActiveIndex=i.activeIndex,i.activeIndex=void 0),i.multiple){if((h.selected=!ht,i.setSelected(a,!ht),w.trigger("blur"),!1!==e||!1!==o)&&(d=e<ft(c).length,g=o<k.find("option:selected").length,e&&d||o&&g))if(e&&1==e)c.selectedIndex=-1,h.selected=!0,i.setOptionStatus(!0);else if(o&&1==o){for(p=0;p<ct.length;p++)nt=ct[p],nt.selected=!1,i.setSelected(nt.liIndex,!1);h.selected=!0;i.setSelected(a,!0)}else{var tt="string"==typeof i.options.maxOptionsText?[i.options.maxOptionsText,i.options.maxOptionsText]:i.options.maxOptionsText,v="function"==typeof tt?tt(e,o):tt,it=v[0].replace("{n}",e),rt=v[1].replace("{n}",o),y=n('<div class="notify"><\/div>');v[2]&&(it=it.replace("{var}",v[2][1<e?0:1]),rt=rt.replace("{var}",v[2][1<o?0:1]));h.selected=!1;i.$menu.append(y);e&&d&&(y.append(n("<div>"+it+"<\/div>")),b=!1,i.$element.trigger("maxReached"+r));o&&g&&(y.append(n("<div>"+rt+"<\/div>")),b=!1,i.$element.trigger("maxReachedGrp"+r));setTimeout(function(){i.setSelected(a,!1)},10);y[0].classList.add("fadeOut");setTimeout(function(){y.remove()},1050)}}else ot&&(ot.selected=!1),h.selected=!0,i.setSelected(a,!0);!i.multiple||i.multiple&&1===i.options.maxOptions?i.$button.trigger("focus"):i.options.liveSearch&&i.$searchbox.trigger("focus");b&&(!i.multiple&&et===c.selectedIndex||(s=[h.index,st.prop("selected"),at],i.$element.triggerNative("change")))}});this.$menu.on("click","li."+t.DISABLED+" a, ."+t.POPOVERHEADER+", ."+t.POPOVERHEADER+" :not(.close)",function(t){t.currentTarget==this&&(t.preventDefault(),t.stopPropagation(),i.options.liveSearch&&!n(t.target).hasClass("close")?i.$searchbox.trigger("focus"):i.$button.trigger("focus"))});
112this.$menuInner.on("click",".divider, .dropdown-header",function(n){n.preventDefault();n.stopPropagation();i.options.liveSearch?i.$searchbox.trigger("focus"):i.$button.trigger("focus")});this.$menu.on("click","."+t.POPOVERHEADER+" .close",function(){i.$button.trigger("click")});this.$searchbox.on("click",function(n){n.stopPropagation()});this.$menu.on("click",".actions-btn",function(t){i.options.liveSearch?i.$searchbox.trigger("focus"):i.$button.trigger("focus");t.preventDefault();t.stopPropagation();n(this).hasClass("bs-select-all")?i.selectAll():i.deselectAll()});this.$button.on("focus"+r,function(n){var t=i.$element[0].getAttribute("tabindex");void 0!==t&&n.originalEvent&&n.originalEvent.isTrusted&&(this.setAttribute("tabindex",t),i.$element[0].setAttribute("tabindex",-1),i.selectpicker.view.tabindex=t)}).on("blur"+r,function(n){void 0!==i.selectpicker.view.tabindex&&n.originalEvent&&n.originalEvent.isTrusted&&(i.$element[0].setAttribute("tabindex",i.selectpicker.view.tabindex),this.setAttribute("tabindex",-1),i.selectpicker.view.tabindex=void 0)});this.$element.on("change"+r,function(){i.render();i.$element.trigger("changed"+r,s);s=null}).on("focus"+r,function(){i.options.mobile||i.$button.trigger("focus")})},liveSearchListener:function(){var n=this;this.$button.on("click.bs.dropdown.data-api",function(){n.$searchbox.val()&&n.$searchbox.val("")}
112);this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",function(n){n.stopPropagation()});this.$searchbox.on("input propertychange",function(){var e=n.$searchbox.val(),t,r,h;if(n.selectpicker.search.elements=[],n.selectpicker.search.data=[],e){var o=[],s=e.toUpperCase(),u={},f=[],y=n._searchStyle(),c=n.options.liveSearchNormalize;for(c&&(s=st(s)),t=0;t<n.selectpicker.main.data.length;t++)r=n.selectpicker.main.data[t],u[t]||(u[t]=ot(r,s,y,c)),u[t]&&void 0!==r.headerIndex&&-1===f.indexOf(r.headerIndex)&&(0<r.headerIndex&&(u[r.headerIndex-1]=!0,f.push(r.headerIndex-1)),u[r.headerIndex]=!0,f.push(r.headerIndex),u[r.lastIndex+1]=!0),u[t]&&"optgroup-label"!==r.type&&f.push(t);for(t=0,h=f.length;t<h;t++){var l=f[t],p=f[t-1],v=(r=n.selectpicker.main.data[l],n.selectpicker.main.data[p]);("divider"!==r.type||"divider"===r.type&&v&&"divider"!==v.type&&h-1!==t)&&(n.selectpicker.search.data.push(r),o.push(n.selectpicker.main.elements[l]))}n.activeIndex=void 0;n.noScroll=!0;n.$menuInner.scrollTop(0);n.selectpicker.search.elements=o;n.createView(!0),function(n,t){n.length||(i.noResults.innerHTML=this.options.noneResultsText.replace("{0}",'"'+a(t)+'"'),this.$menuInner[0].firstChild.appendChild(i.noResults))}.call(n,o,e)}else n.$menuInner.scrollTop(0),n.createView(!1)})},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(n){var i=this.$element[0],f,u;return void 0===n?this.$element.val():(f=l(i),(s=[null,null,f],this.$element.val(n).trigger("changed"+r,s),this.$newElement.hasClass(t.SHOW))&&(this.multiple?this.setOptionStatus(!0):(u=(i.options[i.selectedIndex]||{}).liIndex,"number"==typeof u&&(this.setSelected(this.selectedIndex,!1),this.setSelected(u,!0)))),this.render(),s=null,this.$element)},changeAll:function(n){var t,u;if(this.multiple){void 0===n&&(n=!0);var i=this.$element[0],f=0,e=0,h=l(i);i.classList.add("bs-select-hidden");for(var r=0,o=this.selectpicker.current.data,c=o.length;r<c;r++)t=o[r],u=t.option,u&&!t.disabled&&"divider"!==t.type&&(t.selected&&f++,!0===(u.selected=n)&&e++);i.classList.remove("bs-select-hidden");f!==e&&(this.setOptionStatus(),s=[null,null,h],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(n){(n=n||window.event)&&n.stopPropagation();this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(i){var u,tt,f,o,a,s=n(this),ft=s.hasClass("dropdown-toggle"),r=(ft?s.closest(".dropdown"):s.closest(vt.MENU)).data("this"),p=r.findLis(),w=!1,it=i.which===b&&!ft&&!r.options.selectOnTab,et=si.test(i.which)||it,nt=r.$menuInner[0].scrollTop,e=!0===r.isVirtual()?r.selectpicker.view.position0:0,h,rt,y,c,g,ut,l;if(!(112<=i.which&&i.which<=123))if((tt=r.$newElement.hasClass(t.SHOW))||!(et||48<=i.which&&i.which<=57||96<=i.which&&i.which<=105||65<=i.which&&i.which<=90)||(r.$button.trigger("click.bs.dropdown.data-api"),!r.options.liveSearch)){if(i.which===lt&&tt&&(i.preventDefault(),r.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),et){if(!p.length)return;-1!==(u=(f=r.selectpicker.main.elements[r.activeIndex])?Array.prototype.indexOf.call(f.parentElement.children,f):-1)&&r.defocusItem(f);i.which===k?(-1!==u&&u--,u+e<0&&(u+=p.length),r.selectpicker.view.canHighlight[u+e]||-1==(u=r.selectpicker.view.canHighlight.slice(0,u+e).lastIndexOf(!0)-e)&&(u=p.length-1)):i.which!==d&&!it||(++u+e>=r.selectpicker.view.canHighlight.length&&(u=0),r.selectpicker.view.canHighlight[u+e]||(u=u+1+r.selectpicker.view.canHighlight.slice(u+e+1).indexOf(!0)));i.preventDefault();h=e+u;i.which===k?0===e&&u===p.length-1?(r.$menuInner[0].scrollTop=r.$menuInner[0].scrollHeight,h=r.selectpicker.current.elements.length-1):w=(a=(o=r.selectpicker.current.data[h]).position-o.height)<nt:i.which!==d&&!it||(0===u?h=r.$menuInner[0].scrollTop=0:w=nt<(a=(o=r.selectpicker.current.data[h]).position-r.sizeInfo.menuInnerHeight));f=r.selectpicker.current.elements[h];r.activeIndex=r.selectpicker.current.data[h].index;r.focusItem(f);r.selectpicker.view.currentActive=f;w&&(r.$menuInner[0].scrollTop=a);r.options.liveSearch?r.$searchbox.trigger("focus"):s.trigger("focus")}else if(!s.is("input")&&!hi.test(i.which)||i.which===v&&r.selectpicker.keydown.keyHistory){for(c=[],i.preventDefault(),r.selectpicker.keydown.keyHistory+=ei[i.which],r.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(r.selectpicker.keydown.resetKeyHistory.cancel),r.selectpicker.keydown.resetKeyHistory.cancel=r.selectpicker.keydown.resetKeyHistory.start(),y=r.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(y)&&(y=y.charAt(0)),g=0;g<r.selectpicker.current.data.length;g++)ut=r.selectpicker.current.data[g],ot(ut,y,"startsWith",!0)&&r.selectpicker.view.canHighlight[g]&&c.push(ut.index);c.length&&(l=0,p.removeClass("active").find("a").removeClass("active"),1===y.length&&(-1===(l=c.indexOf(r.activeIndex))||l===c.length-1?l=0:l++),rt=c[l],w=0<nt-(o=r.selectpicker.main.data[rt]).position?(a=o.position-o.height,!0):(a=o.position-r.
112sizeInfo.menuInnerHeight,o.position>nt+r.sizeInfo.menuInnerHeight),f=r.selectpicker.main.elements[rt],r.activeIndex=c[l],r.focusItem(f),f&&f.firstChild.focus(),w&&(r.$menuInner[0].scrollTop=a),s.trigger("focus"))}tt&&(i.which===v&&!r.selectpicker.keydown.keyHistory||i.which===oi||i.which===b&&r.options.selectOnTab)&&(i.which!==v&&i.preventDefault(),r.options.liveSearch&&i.which===v||(r.$menuInner.find(".active a").trigger("click",!0),s.trigger("focus"),r.options.liveSearch||(i.preventDefault(),n(document).data("spaceSelect",!0))))}else r.$searchbox.trigger("focus")},mobile:function(){this.options.mobile=!0;this.$element[0].classList.add("mobile-device")},refresh:function(){var t=n.extend({},this.options,this.$element.data());this.options=t;this.checkDisabled();this.buildData();this.setStyle();this.render();this.buildList();this.setWidth();this.setSize(!0);this.$element.trigger("refreshed"+r)},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove();this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove();this.$bsContainer?this.$bsContainer.remove():this.$menu.remove();this.$element.off(r).removeData("selectpicker").removeClass("bs-select-hidden selectpicker");n(window).off(r+"."+this.selectId)}};pt=n.fn.selectpicker;n.fn.selectpicker=yt;n.fn.selectpicker.Constructor=u;n.fn.selectpicker.noConflict=function(){return n.fn.selectpicker=pt,this};n(document).off("keydown.bs.dropdown.data-api").on("keydown.bs.dropdown.data-api",':not(.bootstrap-select) > [data-toggle="dropdown"]',wt).on("keydown.bs.dropdown.data-api",":not(.bootstrap-select) > .dropdown-menu",wt).on("keydown"+r,'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',u.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',function(n){n.stopPropagation()});n(window).on("load"+r+".data-api",function(){n(".selectpicker").each(function(){var t=n(this);yt.call(t,t.data())})})}(n)});!function(n){var t,i;n.hasInitialised||(t={escapeRegExp:function(n){return n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(n,t){var i=" ";return 1===n.nodeType&&(i+n.className+i).replace(/[\n\t]/g,i).indexOf(i+t+i)>=0},addClass:function(n,t){n.className+=" "+t},removeClass:function(n,t){var i=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");n.className=n.className.replace(i,"")},interpolateString:function(n,t){return n.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(){return t(arguments[1])||""})},getCookie:function(n){var t=("; "+document.cookie).split("; "+n+"=");if(!(t.length<2))return t.pop().split(";").shift()}
vendor: 1,443 bytes, line 112
112,setCookie:function(n,t,i,r,u,f){var o=new Date,e;o.setHours(o.getHours()+24*(i||365));e=[n+"="+t,"expires="+o.toUTCString(),"path="+(u||"/")];r&&e.push("domain="+r);f&&e.push("secure");document.cookie=e.join(";")},deepExtend:function(n,t){for(var i in t)t.hasOwnProperty(i)&&(i in n&&this.isPlainObject(n[i])&&this.isPlainObject(t[i])?this.deepExtend(n[i],t[i]):n[i]=t[i]);return n},throttle:function(n,t){var i=!1;return function(){i||(n.apply(this,arguments),i=!0,setTimeout(function(){i=!1},t))}},hash:function(n){var i,r,t=0;if(0===n.length)return t;for(i=0,r=n.length;i<r;++i)t=(t<<5)-t+n.charCodeAt(i),t|=0;return t},normaliseHex:function(n){return"#"==n[0]&&(n=n.substr(1)),3==n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]),n},getContrast:function(n){return n=this.normaliseHex(n),(299*parseInt(n.substr(0,2),16)+587*parseInt(n.substr(2,2),16)+114*parseInt(n.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(n){var t=parseInt(this.normaliseHex(n),16),i=38+(t>>16),r=38+(t>>8&255),u=38+(255&t);return"#"+(16777216+65536*(i<255?i<1?0:i:255)+256*(r<255?r<1?0:r:255)+(u<255?u<1?0:u:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(n){return"object"==typeof n&&null!==n&&n.constructor==Object},traverseDOMPath:function(n,i){return n&&n.parentNode?t.hasClass(n,i)?n:this.traverseDOMPath(n.parentNode,i):null}}
112,n.status={deny:"deny",allow:"allow",dismiss:"dismiss"},n.transitionEnd=function(){var i=document.createElement("div"),n={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var t in n)if(n.hasOwnProperty(t)&&void 0!==i.style[t+"ransition"])return n[t];return""}(),n.hasTransition=!!n.transitionEnd,i=Object.keys(n.status).map(t.escapeRegExp),n.customStyles={},n.Popup=function(){function r(){this.initialise.apply(this,arguments)}function f(n){this.openingTimeout=null;t.removeClass(n,"cc-invisible")}function e(t){t.style.display="none";t.removeEventListener(n.transitionEnd,this.afterTransition);this.afterTransition=null}function o(){var t=this.options.position.split("-"),n=[];return t.forEach(function(t){n.push("cc-"+t)}),n}function u(r){var f=this.options,o=document.createElement("div"),e=f.container&&1===f.container.nodeType?f.container:document.body,u;return o.innerHTML=r,u=o.children[0],u.style.display="none",t.hasClass(u,"cc-window")&&n.hasTransition&&t.addClass(u,"cc-invisible"),this.onButtonClick=function(r){var u=t.traverseDOMPath(r.target,"cc-btn")||r.target,f,e;t.hasClass(u,"cc-btn")&&(f=u.className.match(new RegExp("\\bcc-("+i.join("|")+")\\b")),e=f&&f[1]||!1,e&&(this.setStatus(e),this.close(!0)));t.hasClass(u,"cc-close")&&(this.setStatus(n.status.dismiss),this.close(!0));t.hasClass(u,"cc-revoke")&&this.revokeChoice()}.bind(this),u.addEventListener("click",this.onButtonClick),f.autoAttach&&(e.firstChild?e.insertBefore(u,e.firstChild):e.appendChild(u)),u}function c(n){return"000000"==(n=t.normaliseHex(n))?"#222":t.getLuminance(n)}function s(n,t){for(var i,r=0,u=n.length;r<u;++r)if(i=n[r],i instanceof RegExp&&i.test(t)||"string"==typeof i&&i.length&&i===t)return!0;return!1}var h={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(){},onStatusChange:function(){},onRevokeChoice:function(){},onNoCookieLaw:function(){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'<span class="cc-header">{{header}}<\/span> ',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}<\/span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}<\/a><\/span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}<\/a>',allow:'<a aria-label="allow cookies" role=button tabindex="0" class="cc-btn cc-allow">{{allow}}<\/a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}<\/a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}<\/a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}<\/span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}"><!--googleoff: all-->{{children}}<!--googleon: all--><\/div>',revokeBtn:'<div class="cc-revoke {{classes}}">{{policy}}<\/div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}<\/div>',"opt-in":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}<\/div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}<\/div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blackl
112istPage:[],overrideHTML:null};return r.prototype.initialise=function(i){var r,f,e;this.options&&this.destroy();t.deepExtend(this.options={},h);t.isPlainObject(i)&&t.deepExtend(this.options,i),function(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(n.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(n.status.allow),!0;var u=Object.keys(n.status),i=this.getStatus(),r=u.indexOf(i)>=0;return r&&t(i),r}.call(this)&&(this.options.enabled=!1);s(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1);s(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);r=this.options.window.replace("{{classes}}",function(){var r=this.options,u="top"==r.position||"bottom"==r.position?"banner":"floating",i;return t.isMobile()&&(u="floating"),i=["cc-"+u,"cc-type-"+r.type,"cc-theme-"+r.theme],r.static&&i.push("cc-static"),i.push.apply(i,o.call(this)),function(i){var u=t.hash(JSON.stringify(i)),f="cc-color-override-"+u,r=t.isPlainObject(i);return this.customStyleSelector=r?f:null,r&&function(i,r,u){var h,a,l;if(n.customStyles[i])return void++n.customStyles[i].references;var o={},e=r.popup,f=r.button,s=r.highlight;e&&(e.text=e.text?e.text:t.getContrast(e.background),e.link=e.link?e.link:e.text,o[u+".cc-window"]=["color: "+e.text,"background-color: "+e.background],o[u+".cc-revoke"]=["color: "+e.text,"background-color: "+e.background],o[u+" .cc-link,"+u+" .cc-link:active,"+u+" .cc-link:visited"]=["color: "+e.link],f&&(f.text=f.text?f.text:t.getContrast(f.background),f.border=f.border?f.border:"transparent",o[u+" .cc-btn"]=["color: "+f.text,"border-color: "+f.border,"background-color: "+f.background],f.padding&&o[u+" .cc-btn"].push("padding: "+f.padding),"transparent"!=f.background&&(o[u+" .cc-btn:hover, "+u+" .cc-btn:focus"]=["background-color: "+(f.hover||c(f.background))]),s?(s.text=s.text?s.text:t.getContrast(s.background),s.border=s.border?s.border:"transparent",o[u+" .cc-highlight .cc-btn:first-child"]=["color: "+s.text,"border-color: "+s.border,"background-color: "+s.background]):o[u+" .cc-highlight .cc-btn:first-child"]=["color: "+e.text]));h=document.createElement("style");document.head.appendChild(h);n.customStyles[i]={references:1,element:h.sheet};a=-1;for(l in o)o.hasOwnProperty(l)&&h.sheet.insertRule(l+"{"+o[l].join(";")+"}",++a)}(u,i,"."+f),r}.call(this,this.options.palette),this.customStyleSelector&&i.push(this.customStyleSelector),i}.call(this).join(" ")).replace("{{children}}",function(){var i={},n=this.options,r,u;return n.showLink||(n.elements.link="",n.elements.messagelink=n.elements.message),Object.keys(n.elements).forEach(function(r){i[r]=t.interpolateString(n.elements[r],function(t){var i=n.content[t];return t&&"string"==typeof i&&i.length?i:""})}),r=n.compliance[n.type],r||(r=n.compliance.info),i.compliance=t.interpolateString(r,function(n){return i[n]}),u=n.layouts[n.layout],u||(u=n.layouts.basic),t.interpolateString(u,function(n){return i[n]})}.call(this));f=this.options.overrideHTML;("string"==typeof f&&f.length&&(r=f),this.options.static)?(e=u.call(this,'<div class="cc-grower">'+r+"<\/div>"),e.style.display="",this.element=e.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")):this.element=u.call(this,r),function(){var f=this.setStatus.bind(this),e=this.close.bind(this),o=this.options.dismissOnTimeout,r,u,h,s,i;"number"==typeof o&&o>=0&&(this.dismissTimeout=window.setTimeout(function(){f(n.status.dismiss);e(!0)},Math.floor(o)));r=this.options.dismissOnScroll;"number"==typeof r&&r>=0&&(u=function(){window.pageYOffset>Math.floor(r)&&(f(n.status.dismiss),e(!0),window.removeEventListener("scroll",u),this.onWindowScroll=null)},this.options.enabled&&(this.onWindowScroll=u,window.addEventListener("scroll",u)));h=this.options.dismissOnWindowClick;s=this.options.ignoreClicksFrom;h&&(i=function(r){for(var o,u=!1,c=r.path.length,l=s.length,h=0;h<c;h++)if(!u)for(o=0;o<l;o++)u||(u=t.hasClass(r.path[h],s[o]));u||(f(n.status.dismiss),e(!0),window.removeEventListener("click",i),window.removeEventListener("touchend",i),this.onWindowClick=null)}.bind(this),this.options.enabled&&(this.onWindowClick=i,window.addEventListener("click",i),window.addEventListener("touchend",i)))}.call(this),function(){var i,f,n,r;"info"!=this.options.type&&(this.options.revokable=!0);t.isMobile()&&(this.options.animateRevokable=!1);this.options.revokable&&(i=o.call(this),this.options.animateRevokable&&i.push("cc-animate"),this.customStyleSelector&&i.push(this.customStyleSelector),f=this.options.revokeBtn.replace("{{classes}}",i.join(" ")).replace("{{policy}}",this.options.content.policy),this.revokeBtn=u.call(this,f),n=this.revokeBtn,this.options.animateRevokable&&(r=t.throttle(function(i){var r=!1,u=window.innerHeight-20;
112t.hasClass(n,"cc-top")&&i.clientY<20&&(r=!0);t.hasClass(n,"cc-bottom")&&i.clientY>u&&(r=!0);r?t.hasClass(n,"cc-active")||t.addClass(n,"cc-active"):t.hasClass(n,"cc-active")&&t.removeClass(n,"cc-active")},200),this.onMouseMove=r,window.addEventListener("mousemove",r)))}.call(this);this.options.autoOpen&&this.autoOpen()},r.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null);this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null);this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null);this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null);this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null);this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element);this.element=null;this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn);this.revokeBtn=null,function(i){var f,u,r;t.isPlainObject(i)&&(f=t.hash(JSON.stringify(i)),u=n.customStyles[f],u&&!--u.references&&(r=u.element.ownerNode,r&&r.parentNode&&r.parentNode.removeChild(r),n.customStyles[f]=null))}(this.options.palette);this.options=null},r.prototype.open=function(){if(this.element)return this.isOpen()||(n.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},r.prototype.close=function(t){if(this.element)return this.isOpen()&&(n.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},r.prototype.fadeIn=function(){var i=this.element,r;n.hasTransition&&i&&(this.afterTransition&&e.call(this,i),t.hasClass(i,"cc-invisible"))&&((i.style.display="",this.options.static)&&(r=this.element.clientHeight,this.element.parentNode.style.maxHeight=r+"px"),this.openingTimeout=setTimeout(f.bind(this,i),20))},r.prototype.fadeOut=function(){var i=this.element;n.hasTransition&&i&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),f.bind(this,i)),t.hasClass(i,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=e.bind(this,i),i.addEventListener(n.transitionEnd,this.afterTransition),t.addClass(i,"cc-invisible")))},r.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!n.hasTransition||!t.hasClass(this.element,"cc-invisible"))},r.prototype.toggleRevokeButton=function(n){this.revokeBtn&&(this.revokeBtn.style.display=n?"":"none")},r.prototype.revokeChoice=function(n){this.options.enabled=!0;this.clearStatus();this.options.onRevokeChoice.call(this);n||this.autoOpen()},r.prototype.hasAnswered=function(){return Object.keys(n.status).indexOf(this.getStatus())>=0},r.prototype.hasConsented=function(){var t=this.getStatus();return t==n.status.allow||t==n.status.dismiss},r.prototype.autoOpen=function(){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},r.prototype.setStatus=function(i){var r=this.options.cookie,u=t.getCookie(r.name),f=Object.keys(n.status).indexOf(u)>=0;Object.keys(n.status).indexOf(i)>=0?(t.setCookie(r.name,i,r.expiryDays,r.domain,r.path,r.secure),this.options.onStatusChange.call(this,i,f)):this.clearStatus()},r.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},r.prototype.clearStatus=function(){var n=this.options.cookie;t.setCookie(n.name,"",-1,n.domain,n.path)},r}(),n.Location=function(){function n(n){t.deepExtend(this.options={},r);t.isPlainObject(n)&&t.deepExtend(this.options,n);this.currentServiceIndex=-1}function u(n,t,i){var u,r=document.createElement("script");r.type="text/"+(n.type||"javascript");r.src=n.src||n;r.async=!1;r.onreadystatechange=r.onload=function(){var n=r.readyState;clearTimeout(u);t.done||n&&!/loaded|complete/.test(n)||(t.done=!0,t(),r.onreadystatechange=r.onload=null)};document.body.appendChild(r);u=setTimeout(function(){t.done=!0;t();r.onreadystatechange=r.onload=null},i)}function f(n,t,i,r,u){var f=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0"),e,s,o;if(f.open(r?"POST":"GET",n,1),f.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(u))for(e=0,s=u.length;e<s;++e)o=u[e].split(":",2),f.setRequestHeader(o[0].replace(/^\s+|\s+$/g,""),o[1].replace(/^\s+|\s+$/g,""));"function"==typeof t&&(f.onreadystatechange=function(){f.readyState>3&&t(f)});f.send(r)}function i(n){return new Error("Error ["+(n.code||"UNKNOWN")+"]: "+n.error)}var r={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(n,t){try{var r=JSON.parse(t);return r.error?i(r):{code:r.country}}
112catch(n){return i({error:"Invalid response ("+n+")"})}}}},ipinfodb:function(){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(n,t){try{var r=JSON.parse(t);return"ERROR"==r.statusCode?i({error:r.statusMessage}):{code:r.countryCode}}catch(n){return i({error:"Invalid response ("+n+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(n){window.geoip2?geoip2.country(function(t){try{n({code:t.country.iso_code})}catch(t){n(i(t))}},function(t){n(i(t))}):n(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return n.prototype.getNextService=function(){var n;do n=this.getServiceByIdx(++this.currentServiceIndex);while(this.currentServiceIndex<this.options.services.length&&!n);return n},n.prototype.getServiceByIdx=function(n){var i=this.options.services[n],r;return"function"==typeof i?(r=i(),r.name&&t.deepExtend(r,this.options.serviceDefinitions[r.name](r)),r):"string"==typeof i?this.options.serviceDefinitions[i]():t.isPlainObject(i)?this.options.serviceDefinitions[i.name](i):null},n.prototype.locate=function(n,t){var i=this.getNextService();i?(this.callbackComplete=n,this.callbackError=t,this.runService(i,this.runNextServiceOnError.bind(this))):t(new Error("No services to run"))},n.prototype.setupUrl=function(n){var t=this.getCurrentServiceOpts();return n.url.replace(/\{(.*?)\}/g,function(i,r){if("callback"===r){var u="callback"+Date.now();return window[u]=function(t){n.__JSONP_DATA=JSON.stringify(t)},u}if(r in t.interpolateUrl)return t.interpolateUrl[r]})},n.prototype.runService=function(n,t){var i=this;n&&n.url&&n.callback&&(n.isScript?u:f)(this.setupUrl(n),function(r){var u=r?r.responseText:"";n.__JSONP_DATA&&(u=n.__JSONP_DATA,delete n.__JSONP_DATA);i.runServiceCallback.call(i,t,n,u)},this.options.timeout,n.data,n.headers)},n.prototype.runServiceCallback=function(n,t,i){var u=this,r=t.callback(function(t){r||u.onServiceResult.call(u,n,t)},i);r&&this.onServiceResult.call(this,n,r)},n.prototype.onServiceResult=function(n,t){t instanceof Error||t&&t.error?n.call(this,t,null):n.call(this,null,t)},n.prototype.runNextServiceOnError=function(n,t){if(n){this.logError(n);var i=this.getNextService();i?this.runService(i,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},n.prototype.getCurrentServiceOpts=function(){var n=this.options.services[this.currentServiceIndex];return"string"==typeof n?{name:n}:"function"==typeof n?n():t.isPlainObject(n)?n:{}},n.prototype.completeService=function(n,t){this.currentServiceIndex=-1;n&&n(t)},n.prototype.logError=function(n){var t=this.currentServiceIndex,i=this.getServiceByIdx(t);console.warn("The service["+t+"] ("+i.url+") responded with the following error",n)},n}(),n.Law=function(){function n(){this.initialise.apply(this,arguments)}var i={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","ES","SE","GB","UK","GR","EU"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return n.prototype.initialise=function(n){t.deepExtend(this.options={},i);t.isPlainObject(n)&&t.deepExtend(this.options,n)},n.prototype.get=function(n){var t=this.options;return{hasLaw:t.hasLaw.indexOf(n)>=0,revokable:t.revokable.indexOf(n)>=0,explicitAction:t.explicitAction.indexOf(n)>=0}},n.prototype.applyLaw=function(n,t){var i=this.get(t);return i.hasLaw||(n.enabled=!1,"function"==typeof n.onNoCookieLaw&&n.onNoCookieLaw(t,i)),this.options.regionalLaw&&(i.revokable&&(n.revokable=!0),i.explicitAction&&(n.dismissOnScroll=!1,n.dismissOnTimeout=!1)),n},n}(),n.initialise=function(i,r,u){var o=new n.Law(i.law),f,e;r||(r=function(){});u||(u=function(){});f=Object.keys(n.status);e=t.getCookie("cookieconsent_status");f.indexOf(e)>=0?r(new n.Popup(i)):n.getCountryCode(i,function(t){delete i.law;delete i.location;t.code&&(i=o.applyLaw(i,t.code));r(new n.Popup(i))},function(t){delete i.law;delete i.location;u(t,new n.Popup(i))})},n.getCountryCode=function(t,i,r){t.law&&t.law.countryCode?i({code:t.law.countryCode}):t.location?new n.Location(t.location).locate(function(n){i(n||{})},r):i({})},n.utils=t,n.hasInitialised=!0,window.cookieconsent=n)}(window.cookieconsent||{});!function(n){n(["jquery"],function(n){return function(){function v(n,t,r){return u({type:f.error,iconClass:i().iconClasses.error,message:n,optionsOverride:r,title:t})}function r(r,u){return r||(r=i()),t=n("#"+r.containerId),t.length?t:(u&&(t=nt(r)),t)}function y(n,t,r){return u({type:f.info,iconClass:i().iconClasses.info,message:n,optionsOverride:r,title:t})}function p(n){o=n}function w(n,t,r){return u({type:f.success,iconClass:i().iconClasses.success,message:n,optionsOverride:r,title:t})}function b(n,t,r){return u({type:f.warning,iconClass:i().iconClasses.warning,message:n,optionsOverride:r,title:t})}function k(n,u){var f=i();t||r(f);h(n,f,u)||g(f)}function d(u){var f=i();return t||r(f),u&&0===n(":focus",u).length?void e(u):void(t.children().length&&t.remove())}function g(i){for(var u=t.children(),r=u.length-1;r>=0;r--)h(n(u[r]),i)}function h(t,i,r){var u=!(!r||!r.force)&&r.force;return!(!t||!u&&0!==n(":focus",t).length)&&(t[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){e(t)}}),!0)}function nt(i){return t=n("<div/>").attr("id",i.containerId).addClass(i.positionClass),t.appendTo(n(i.target)),t}
112function tt(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">×<\/button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function c(n){o&&o(n)}function u(u){function k(n){return null==n&&(n=""),n.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function nt(){ut();et();ot();st();ht();ct();ft();tt()}function tt(){var n="";switch(u.iconClass){case"toast-success":case"toast-info":n="polite";break;default:n="assertive"}o.attr("aria-live",n)}function it(){f.closeOnHover&&o.hover(vt,at);!f.onclick&&f.tapToDismiss&&o.click(v);f.closeButton&&p&&p.click(function(n){n.stopPropagation?n.stopPropagation():void 0!==n.cancelBubble&&n.cancelBubble!==!0&&(n.cancelBubble=!0);f.onCloseClick&&f.onCloseClick(n);v(!0)});f.onclick&&o.click(function(n){f.onclick(n);v()})}function rt(){o.hide();o[f.showMethod]({duration:f.showDuration,easing:f.showEasing,complete:f.onShown});f.timeOut>0&&(y=setTimeout(v,f.timeOut),h.maxHideTime=parseFloat(f.timeOut),h.hideEta=(new Date).getTime()+h.maxHideTime,f.progressBar&&(h.intervalId=setInterval(yt,10)))}function ut(){u.iconClass&&o.addClass(f.toastClass).addClass(w)}function ft(){f.newestOnTop?t.prepend(o):t.append(o)}function et(){if(u.title){var n=u.title;f.escapeHtml&&(n=k(u.title));d.append(n).addClass(f.titleClass);o.append(d)}}function ot(){if(u.message){var n=u.message;f.escapeHtml&&(n=k(u.message));g.append(n).addClass(f.messageClass);o.append(g)}}function st(){f.closeButton&&(p.addClass(f.closeClass).attr("role","button"),o.prepend(p))}function ht(){f.progressBar&&(b.addClass(f.progressClass),o.prepend(b))}function ct(){f.rtl&&o.addClass("rtl")}function lt(n,t){if(n.preventDuplicates){if(t.message===s)return!0;s=t.message}return!1}function v(t){var i=t&&f.closeMethod!==!1?f.closeMethod:f.hideMethod,r=t&&f.closeDuration!==!1?f.closeDuration:f.hideDuration,u=t&&f.closeEasing!==!1?f.closeEasing:f.hideE
112asing;if(!n(":focus",o).length||t)return clearTimeout(h.intervalId),o[i]({duration:r,easing:u,complete:function(){e(o);clearTimeout(y);f.onHidden&&"hidden"!==a.state&&f.onHidden();a.state="hidden";a.endTime=new Date;c(a)}})}function at(){(f.timeOut>0||f.extendedTimeOut>0)&&(y=setTimeout(v,f.extendedTimeOut),h.maxHideTime=parseFloat(f.extendedTimeOut),h.hideEta=(new Date).getTime()+h.maxHideTime)}function vt(){clearTimeout(y);h.hideEta=0;o.stop(!0,!0)[f.showMethod]({duration:f.showDuration,easing:f.showEasing})}function yt(){var n=(h.hideEta-(new Date).getTime())/h.maxHideTime*100;b.width(n+"%")}var f=i(),w=u.iconClass||f.iconClass;if("undefined"!=typeof u.optionsOverride&&(f=n.extend(f,u.optionsOverride),w=u.optionsOverride.iconClass||w),!lt(f,u)){l++;t=r(f,!0);var y=null,o=n("<div/>"),d=n("<div/>"),g=n("<div/>"),b=n("<div/>"),p=n(f.closeHtml),h={intervalId:null,hideEta:null,maxHideTime:null},a={toastId:l,state:"visible",startTime:new Date,options:f,map:u};return nt(),rt(),it(),c(a),f.debug&&console&&console.log(a),o}}function i(){return n.extend({},tt(),a.options)}function e(n){t||(t=r());n.is(":visible")||(n.remove(),n=null,0===t.children().length&&(t.remove(),s=void 0))}var t,o,s,l=0,f={error:"error",info:"info",success:"success",warning:"warning"},a={clear:k,remove:d,error:v,getContainer:r,info:y,options:{},subscribe:p,success:w,version:"2.1.3",warning:b};return a}()})}("function"==typeof define&&define.amd?define:function(n,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)});!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Sweetalert2=t()}(this,function(){"use strict";function w(n){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function wi(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function bi(n,t){for(var i,r=0;r<t.length;r++)i=t[r],i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(n,i.key,i)}function ki(n,t,i){return t&&bi(n.prototype,t),i&&bi(n,i),n}function y(){return(y=Object.assign||function(n){for(var i,r,t=1;t<arguments.length;t++){i=arguments[t];for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(n[r]=i[r])}return n}).apply(this,arguments)}function ct(n){return(ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function gt(n,t){return(gt=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function di(){return(di=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(n){return!1}}()?Reflect.construct:function(n,t,i){var r=[null],u;return r.push.apply(r,t),u=new(Function.bind.apply(n,r)),i&>(u,i.prototype),u}).apply(null,arguments)}function su(n,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):t}function gi(n,t,i){return(gi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(n,t,i){var u=function(n,t){for(;!Object.prototype.hasOwnProperty.call(n,t)&&null!==(n=ct(n)););return n}(n,t),r;if(u)return r=Object.getOwnPropertyDescriptor(u,t),r.get?r.get.call(i):r.value})(n,t,i||n)}function nr(n){return Object.keys(n).map(function(t){return n[t]})}function rt(n){return Array.prototype.slice.call(n)}function tt(n){console.error("".concat(ir," ").concat(n))}function ot(n,t){!function(n){-1===rr.indexOf(n)&&(rr.push(n),a(n))}('"'.concat(n,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'))}function ni(n){return n&&Promise.resolve(n)===n}function tr(n){var t={};for(var i in n)t[n[i]]="swal2-"+n[i];return t}function h(t,r,u){rt(t.classList).forEach(function(i){-1===nr(n).indexOf(i)&&-1===nr(b).indexOf(i)&&t.classList.remove(i)});r&&r[u]&&i(t,r[u])}function ti(t,i){if(!i)return null;switch(i){case"select":case"textarea":case"file":return f(t,n[i]);case"checkbox":return t.querySelector(".".concat(n.checkbox," input"));case"radio":return t.querySelector(".".concat(n.radio," input:checked"))||t.querySelector(".".concat(n.radio," input:first-child"));case"range":return t.querySelector(".".concat(n.range," input"));default:return f(t,n.input)}}function ur(n){if(n.focus(),"file"!==n.type){var t=n.value;n.value="";n.value=t}}function at(n,t,i){n&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(
112Boolean)),t.forEach(function(t){n.forEach?n.forEach(function(n){i?n.classList.add(t):n.classList.remove(t)}):i?n.classList.add(t):n.classList.remove(t)}))}function vt(n,t,i){i||0===parseInt(i)?n.style[t]="number"==typeof i?i+"px":i:n.style.removeProperty(t)}function o(n,t){var i=1<arguments.length&&void 0!==t?t:"flex";n.style.opacity="";n.style.display=i}function c(n){n.style.opacity="";n.style.display="none"}function yt(n,t,i){t?o(n,i):c(n)}function k(n){return!(!n||!(n.offsetWidth||n.offsetHeight||n.getClientRects().length))}function fr(n){var t=window.getComputedStyle(n),i=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return 0<i||0<r}function l(){return document.body.querySelector("."+n.container)}function pt(n){var t=l();return t?t.querySelector(n):null}function v(n){return pt("."+n)}function ii(){var t=e();return rt(t.querySelectorAll("."+n.icon))}function ri(){var n=ii().filter(function(n){return k(n)});return n.length?n[0]:null}function er(){return v(n.title)}function u(){return v(n.content)}function or(){return v(n.image)}function sr(){return v(n["progress-steps"])}function hr(){return v(n["validation-message"])}function ft(){return pt("."+n.actions+" ."+n.confirm)}function et(){return pt("."+n.actions+" ."+n.cancel)}function wt(){return v(n.actions)}function cr(){return v(n.header)}function lr(){return v(n.footer)}function ui(){return v(n.close)}function fi(){var n=rt(e().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(function(n,t){return n=parseInt(n.getAttribute("tabindex")),(t=parseInt(t.getAttribute("tabindex")))<n?1:n<t?-1:0}),t=rt(e().querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]')).filter(function(n){return"-1"!==n.getAttribute("tabindex")});return function(n){for(var i=[],t=0;t<n.length;t++)-1===i.indexOf(n[t])&&i.push(n[t]);return i}(n.concat(t)).filter(function(n){return k(n)})}function ar(){return"undefined"==typeof window||"undefined"==typeof document}function it(n){nt.isVisible()&&vr!==n.target.value&&nt.resetValidationMessage();vr=n.target.value}function ei(n,t){n instanceof HTMLElement?t.appendChild(n):"object"===w(n)?au(t,n):n&&(t.innerHTML=n)}function pr(t,r,u){yt(t,u["showC"+r.substring(1)+"Button"],"inline-block");t.innerHTML=u[r+"ButtonText"];t.setAttribute("aria-label",u[r+"ButtonAriaLabel"]);t.className=n[r];h(t,u.customClass,r+"Button");i(t,u[r+"ButtonClass"])}function vu(t,r){var e=wt(),u=ft(),f=et();r.showConfirmButton||r.showCancelButton?o(e):c(e);h(e,r.customClass,"actions");pr(u,"confirm",r);pr(f,"cancel",r);r.buttonsStyling?function(t,r,u){i([t,r],n.styled);u.confirmButtonColor&&(t.style.backgroundColor=u.confirmButtonColor);u.cancelButtonColor&&(r.style.backgroundColor=u.cancelButtonColor);var f=window.getComputedStyle(t).getPropertyValue("background-color");t.style.borderLeftColor=f;t.style.borderRightColor=f}(u,f,r):(d([u,f],n.styled),u.style.backgroundColor=u.style.borderLeftColor=u.style.borderRightColor="",f.style.backgroundColor=f.style.borderLeftColor=f.style.borderRightColor="")}function yu(t,r){var u=l();u&&(function(t,r){"string"==typeof r?t.style.background=r:r||i([document.documentElement,document.body],n["no-backdrop"])}(u,r.backdrop),!r.backdrop&&r.allowOutsideClick&&a('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(t,r){r in n?i(t,n[r]):(a('The "position" parameter is not valid, defaulting to "center"'),i(t,n.center))}(u,r.position),function(t,r){if(r&&"string"==typeof r){var u="grow-"+r;u in n&&i(t,n[u])}}(u,r.grow),h(u,r.customClass,"container"),r.customContainerClass&&i(u,r.customContainerClass))}function oi(n,t){n.placeholder&&!t.inputPlaceholder||(n.placeholder=t.inputPlaceholder)}function bu(t,i){var e=u().querySelector("#"+n.content);i.html?(ei(i.html,e),o(e,"block")):i.text?(e.textContent=i.text,o(e,"block")):c(e),function(t,i){for(var l,a,p,v=r.innerParams.get(t),y=!v||i.input!==v.input,w=u(),h=["input","file","range","select","radio","checkbox","textarea"],e=0;e<h.length;e++)l=n[h[e]],a=f(w,l),pu(h[e],i.inputAttributes),wu(a,l,i),y&&c(a);if(i.input){if(!s[i.input])return tt('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(i.input,'"'));y&&(p=s[i.input](i),o(p))}}(t,i);h(u(),i.customClass,"content")}function wr(t,r){var u=sr(),f;if(!r.progressSteps||0===r.progressSteps.length)return c(u);o(u);u.innerHTML="";f=parseInt(null===r.currentProgressStep?nt.getQueueStep():r.currentProgressStep);f>=r.progressSteps.length&&a("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)");r.progressSteps.forEach(function(t,e){var o=function(t){var r=document.createElement("li");return i(r,n["progress-step"]),r.innerHTML=t,r}(t),s;(u.appendChild(o),e===f&&i(o,n["active-progress-step"]),e!==r.progressSteps.length-1)&&(s=function(t){var r=document.createElement("li");return i(r,n["progress-step-line"]),t.progressStepsDistance&&(r.style.width=t.progressStepsDistance),r}(t),u.appendChild(s))})}function ku(t,u){var f=cr();h(f,u.customClass,"header");wr(0,u),function(t,i){var f=r.innerParams.get(t),u;f&&i.type===f.type&&ri()?h(ri(),i.customClass,"icon"):(kr(),i.type)&&((dr(),-1!==Object.keys(b).indexOf(i.type))?(u=pt(".".concat(n.icon,".").concat(b[i.type])),o(u),h(u,i.customClass,"icon"),at(u,"swal2-animate-".concat(i.type,"-icon"),i.animation)):tt('Unknown type! Expected "success", "error", "warning", "info" or "question", got "'.concat(i.type,'"')))}(t,u),function(t,r){var u=or();if(!r.imageUrl)return c(u);o(u);u.setAttribute("src",r.imageUrl);u.setAttribute("alt",r.imageAlt);vt(u,"width",r.imageWidth);vt(u,"height",r.imageHeight);u.className=n.image;h(u,r.customClass,"image");r.imageClass&&i(u,r.imageClass)}(0,u),function(n,t){var i=er();yt(i,t.title||t.titleText);t.title&&ei(t.title,i);t.titleText&&(i.innerText=t.titleText);h(i,t.customClass,"title")}(0,u),function(n,t){var i=ui();h(i,t.customClass,"closeButton");yt(i,t.showCloseButton);i.setAttribute("aria-label",t.closeButtonAriaLabel)}(0,u)}function br(t,r){!function(t,r){var u=e();vt(u,"width",r.width);vt(u,"padding",r.padding);r.background&&(u.style.background=r.background);u.className=n.popup;r.toast?(i([document.documentElement,document.body],n["toast-shown"]),i(u,n.toast)):i(u,n.modal);h(u,r.customClass,"popup");"string"==typeof r.customClass&&i(u,r.customClass);at(u,n.noanimation,!r.animation)}(0,r);yu(0,r);ku(t,r);bu(t,r);vu(0,r),function(n,t){var i=lr();yt(i,t.footer);t.footer&&ei(t.footer,i);h(i,t.customClass,"footer")}(0,r)}function si(){var t=e();t||nt.fire("");t=e();var r=wt(),u=ft(),f=et();o(r);o(u);i([t,r],n.loading);u.disabled=!0;f.disabled=!0;t.setAttribute("data-loading",!0);t.setAttribute("aria-busy",!0);t.focus()}function gr(n){return nu.hasOwnProperty(n)}function hi(n){return nf[n]}function tu(){var i=r.innerParams.get(this),t=r.domCache.get(this);i.showConfirmButton||(c(t.confirmButton),i.showCancelButton||c(t.actions));d([t.popup,t.actions],n.loading);t.popup.removeAttribute("aria-busy");t.popup.removeAttribute("data-loading");t.confirmButton.disabled=!1;t.cancelButton.disabled=!1}function uf(){null===ut.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(ut.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=ut.previousBodyPadding+function(){var n,t;return"ontouchstart"in window||navigator.msMaxTouchPoints?0:(n=document.createElement("div"),n.style.width="50px",n.style.height="50px",n.style.overflow="scroll",document.body.appendChild(n),t=n.offsetWidth-n.clientWidth,document.body.removeChild(n),t)}()+"px")}function iu(){return!!window.MSInputMethodContext&&!!document.documentMode}function ci(){var n=l(),t=e();n.style.removeProperty("align-items");t.offsetTop<0&&(n.style.alignItems="flex-start")}function ru(i,r,u){r?vi(u):(du().then(function(){return vi(u)}),t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1);delete t.keydownHandler;delete t.keydownTarget;i.parentNode&&i.parentNode.removeChild(i);d([document.documentElement,document.body],[n.shown,n["height-auto"],n["no-backdrop"],n["toast-shown"],n["toast-column"]]);yr()&&(ff(),of(),sf(),hf())}function kt(t){var o=l(),u=e();if(u&&!st(u,n.hide)){var s=r.innerParams.get(this),c=li.swalPromiseResolve.get(this),f=s.onClose,h=s.onAfterClose;d(u,n.show);i(u,n.hide);ht&&fr(u)?u.addEventListener(ht,function(t){t.target===u&&function(t,i,u,f){st(t,n.hide)&&ru(i,u,f);ai(r);ai(li)}(u,o,bt(),h)}):ru(o,bt(),h);null!==f&&"function"==typeof f&&f(u);c(t||{});delete this.params}}function dt(n,t,i){var u=r.domCache.get(n);t.forEach(function(n){u[n].disabled=i})}function uu(n,t){if(!n)return!1;if("radio"===n.type)for(var r=n.parentNode.parentNode.querySelectorAll("input"),i=0;i<r.length;i++)r[i].disabled=t;else n.disabled=t}function eu(n,t){n.removeEventListener(ht,eu);t.style.overflowY="auto"}function cf(r){var f=l(),u=e();null!==r.onBeforeOpen&&"function"==typeof r.onBeforeOpen&&r.onBeforeOpen(u);r.animation&&(i(u,n.show),i(f,n.fade));o(u);ht&&fr(u)?(f.style.overflowY="hidden",u.addEventListener(ht,eu.bind(null,u,f))):f.style.overflowY="auto";i([document.documentElement,document.body,f],n.shown);r.heightAuto&&r.backdrop&&!r.toast&&i([document.documentElement,document.body],n["height-auto"]);yr()&&(r.scrollbarPadding&&uf(),function(){if(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream&&!st(document.body,n.iosfix)){var t=document.body.scrollTop;document.body.style.top=-1*t+"px";i(document.body,n.iosfix);ef()}}(),"undefined"!=typeof window&&iu()&&(ci(),window.addEventListener("resize",ci)),rt(document.body.children).forEac
112h(function(n){n===l()||function(n,t){if("function"==typeof n.contains)return n.contains(t)}(n,l())||(n.hasAttribute("aria-hidden")&&n.setAttribute("data-previous-aria-hidden",n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),setTimeout(function(){f.scrollTop=0}));bt()||t.previousActiveElement||(t.previousActiveElement=document.activeElement);null!==r.onOpen&&"function"==typeof r.onOpen&&setTimeout(function(){r.onOpen(u)})}function g(){var u,f;if("undefined"!=typeof window){"undefined"==typeof Promise&&tt("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)");pi=this;for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];u=Object.freeze(this.constructor.argsToParams(i));Object.defineProperties(this,{params:{value:u,writable:!1,enumerable:!0,configurable:!0}});f=this._main(this.params);r.promise.set(this,f)}}var ir="SweetAlert2:",a=function(n){console.warn("".concat(ir," ").concat(n))},rr=[],lt=function(n){return"function"==typeof n?n():n},hu=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),n=tr(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","toast","toast-shown","toast-column","fade","show","hide","noanimation","close","title","header","content","actions","confirm","cancel","footer","icon","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl"]),b=tr(["success","warning","info","question","error"]),ut={previousBodyPadding:null},st=function(n,t){return n.classList.contains(t)},vr,i=function(n,t){at(n,t,!0)},d=function(n,t){at(n,t,!1)},f=function(n,t){for(var i=0;i<n.childNodes.length;i++)if(st(n.childNodes[i],t))return n.childNodes[i]},e=function(){return v(n.popup)},yr=function(){return!bt()&&!document.body.classList.contains(n["no-backdrop"])},bt=function(){return document.body.classList.contains(n["toast-shown"])},cu='\n <div aria-labelledby="'.concat(n.title,'" aria-describedby="').concat(n.content,'" class="').concat(n.popup,'" tabindex="-1">\n <div class="').concat(n.header,'">\n <ul class="').concat(n["progress-steps"],'"><\/ul>\n <div class="').concat(n.icon," ").concat(b.error,'">\n <span class="swal2-x-mark"><span class="swal2-x-mark-line-left"><\/span><span class="swal2-x-mark-line-right"><\/span><\/span>\n <\/div>\n <div class="').concat(n.icon," ").concat(b.question,'"><\/div>\n <div class="').concat(n.icon," ").concat(b.warning,'"><\/div>\n <div class="').concat(n.icon," ").concat(b.info,'"><\/div>\n <div class="').concat(n.icon," ").concat(b.success,'">\n <div class="swal2-success-circular-line-left"><\/div>\n <span class="swal2-success-line-tip"><\/span> <span class="swal2-success-line-long"><\/span>\n <div class="swal2-success-ring"><\/div> <div class="swal2-success-fix"><\/div>\n <div class="swal2-success-circular-line-right"><\/div>\n <\/div>\n <img class="').concat(n.image,'" />\n <h2 class="').concat(n.title,'" id="').concat(n.title,'"><\/h2>\n <button type="button" class="').concat(n.close,'">×<\/button>\n <\/div>\n <div class="').concat(n.content,'">\n <div id="').concat(n.content,'"><\/div>\n <input class="').concat(n.input,'" />\n <input type="file" class="').concat(n.file,'" />\n <div class="').concat(n.range,'">\n <input type="range" />\n <output><\/output>\n <\/div>\n <select class="').concat(n.select,'"><\/select>\n <div class="').concat(n.radio,'"><\/div>\n <label for="').concat(n.checkbox,'" class="').concat(n.checkbox,'">\n <input type="checkbox" />
112\n <span class="').concat(n.label,'"><\/span>\n <\/label>\n <textarea class="').concat(n.textarea,'"><\/textarea>\n <div class="').concat(n["validation-message"],'" id="').concat(n["validation-message"],'"><\/div>\n <\/div>\n <div class="').concat(n.actions,'">\n <button type="button" class="').concat(n.confirm,'">OK<\/button>\n <button type="button" class="').concat(n.cancel,'">Cancel<\/button>\n <\/div>\n <div class="').concat(n.footer,'">\n <\/div>\n <\/div>\n').replace(/(^|\n)\s*/g,""),lu=function(t){var r,o;(function(){var t=l();t&&(t.parentNode.removeChild(t),d([document.documentElement,document.body],[n["no-backdrop"],n["toast-shown"],n["has-column"]]))}(),ar())?tt("SweetAlert2 requires document to initialize"):(r=document.createElement("div"),r.className=n.container,r.innerHTML=cu,o=function(n){return"string"==typeof n?document.querySelector(n):n}(t.target),o.appendChild(r),function(n){var t=e();t.setAttribute("role",n.toast?"alert":"dialog");t.setAttribute("aria-live",n.toast?"polite":"assertive");n.toast||t.setAttribute("aria-modal","true")}(t),function(t){"rtl"===window.getComputedStyle(t).direction&&i(l(),n.rtl)}(o),function(){var t=u(),r=f(t,n.input),e=f(t,n.file),i=t.querySelector(".".concat(n.range," input")),o=t.querySelector(".".concat(n.range," output")),s=f(t,n.select),h=t.querySelector(".".concat(n.checkbox," input")),c=f(t,n.textarea);r.oninput=it;e.onchange=it;s.onchange=it;h.onchange=it;c.oninput=it;i.oninput=function(n){it(n);o.value=i.value};i.onchange=function(n){it(n);i.nextSibling.value=i.value}}())},au=function(n,t){if(n.innerHTML="",0 in t)for(var i=0;i in t;i++)n.appendChild(t[i].cloneNode(!0));else n.appendChild(t.cloneNode(!0))},ht=function(){var i,n,t;if(ar())return!1;i=document.createElement("div");n={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(n.hasOwnProperty(t)&&void 0!==i.style[t])return n[t];return!1}(),r={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},pu=function(n,t){var r=ti(u(),n),i;if(r)for(i in function(n){for(var i,t=0;t<n.attributes.length;t++)i=n.attributes[t].name,-1===["type","value","style"].indexOf(i)&&n.removeAttribute(i)}(r),t)"range"===n&&"placeholder"===i||r.setAttribute(i,t[i])},wu=function(n,t,r){n.className=t;r.inputClass&&i(n,r.inputClass);r.customClass&&i(n,r.customClass.input)},s={},kr,dr,ai,vi,fu,yi,nt;s.text=s.email=s.password=s.number=s.tel=s.url=function(t){var i=f(u(),n.input);return"string"==typeof t.inputValue||"number"==typeof t.inputValue?i.value=t.inputValue:ni(t.inputValue)||a('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(w(t.inputValue),'"')),oi(i,t),i.type=t.input,i};s.file=function(t){var i=f(u(),n.file);return oi(i,t),i.type=t.input,i};s.range=function(t){var i=f(u(),n.range),r=i.querySelector("input"),e=i.querySelector("output");return r.value=t.inputValue,r.type=t.input,e.value=t.inputValue,i};s.select=function(t){var r=f(u(),n.select),i;return(r.innerHTML="",t.inputPlaceholder)&&(i=document.createElement("option"),i.innerHTML=t.inputPlaceholder,i.value="",i.disabled=!0,i.selected=!0,r.appendChild(i)),r};s.radio=function(){var t=f(u(),n.radio);return t.innerHTML="",t};s.checkbox=function(t){var r=f(u(),n.checkbox),i=ti(u(),"checkbox");return i.type="checkbox",i.value=1,i.id=n.checkbox,i.checked=Boolean(t.inputValue),r.querySelector("span").innerHTML=t.inputPlaceholder,r};s.textarea=function(t){var i=f(u(),n.textarea);return i.value=t.inputValue,oi(i,t),i};kr=function(){for(var t=ii(),n=0;n<t.length;n++)c(t[n])};dr=function(){for(var t=e(),r=window.getComputedStyle(t).getPropertyValue("background-color"),i=t.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),n=0;n<i.length;n++)i[n].style.backgroundColor=r};var p=[],t={},du=function(){return new Promise(function(n){var i=window.scrollX,r=window.scrollY;t.restoreFocusTimeout=setTimeout(function(){t.previousActiveElement&&t.previousActiveElement.focus?(t.previousActiveElement.focus(),t.previousActiveElement=null):document.body&&document.body.focus();n()},100);void 0!==i&&void 0!==r&&window.scrollTo(i,r)})},nu={title:"",titleText:"",text:"",html:"",footer:"",type:null,toast:!1,
112customClass:"",customContainerClass:"",target:"body",backdrop:!0,animation:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:null,confirmButtonClass:"",cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:null,cancelButtonClass:"",buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageAlt:"",imageClass:"",timer:null,width:null,padding:null,background:null,input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:"",inputAttributes:{},inputValidator:null,validationMessage:null,grow:!1,position:"center",progressSteps:[],currentProgressStep:null,progressStepsDistance:null,onBeforeOpen:null,onAfterClose:null,onOpen:null,onClose:null,scrollbarPadding:!0},gu=["title","titleText","text","html","type","customClass","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","confirmButtonClass","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","cancelButtonClass","buttonsStyling","reverseButtons","imageUrl","imageWidth","imageHeigth","imageAlt","imageClass","progressSteps","currentProgressStep"],nf={customContainerClass:"customClass",confirmButtonClass:"customClass",cancelButtonClass:"customClass",imageClass:"customClass",inputClass:"customClass"},tf=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],rf=Object.freeze({isValidParameter:gr,isUpdatableParameter:function(n){return-1!==gu.indexOf(n)},isDeprecatedParameter:hi,argsToParams:function(n){var t={};switch(w(n[0])){case"object":y(t,n[0]);break;default:["title","html","type"].forEach(function(i,r){switch(w(n[r])){case"string":t[i]=n[r];break;case"undefined":break;default:tt("Unexpected type of ".concat(i,'! Expected "string", got ').concat(w(n[r])))}})}return t},isVisible:function(){return k(e())},clickConfirm:function(){return ft()&&ft().click()},clickCancel:function(){return et()&&et().click()},getContainer:l,getPopup:e,getTitle:er,getContent:u,getImage:or,getIcon:ri,getIcons:ii,getCloseButton:ui,getActions:wt,getConfirmButton:ft,getCancelButton:et,getHeader:cr,getFooter:lr,getFocusableElements:fi,getValidationMessage:hr,isLoading:function(){return e().hasAttribute("data-loading")},fire:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return di(this,i)},mixin:function(n){return function(t){function i(){return wi(this,i),su(this,ct(i).apply(this,arguments))}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}});t&>(n,t)}(i,t),ki(i,[{key:"_main",value:function(t){return gi(ct(i.prototype),"_main",this).call(this,y({},n,t))}}]),i}(this)},queue:function(n){function i(n,t){p=[];document.body.removeAttribute("data-swal2-queue-step");n(t)}var r=this,t;return p=n,t=[],new Promise(function(n){!function u(f,e){f<p.length?(document.body.setAttribute("data-swal2-queue-step",f),r.fire(p[f]).then(function(r){void 0!==r.value?(t.push(r.value),u(f+1,e)):i(n,{dismiss:r.dismiss})})):i(n,{value:t})}(0)})},getQueueStep:function(){return document.body.getAttribute("data-swal2-queue-step")},insertQueueStep:function(n,t){return t&&t<p.length?p.splice(t,0,n):p.push(n)},deleteQueueStep:function(n){void 0!==p[n]&&p.splice(n,1)},showLoading:si,enableLoading:si,getTimerLeft:function(){return t.timeout&&t.timeout.getTimerLeft()},stopTimer:function(){return t.timeout&&t.timeout.stop()},resumeTimer:function(){return t.timeout&&t.timeout.start()},toggleTimer:function(){var n=t.timeout;return n&&(n.running?n.stop():n.start())},increaseTimer:function(n){return t.timeout&&t.timeout.increase(n)},isTimerRunning:function(){return t.timeout&&t.timeout.isRunning()}});var ff=function(){null!==ut.previousBodyPadding&&(document.body.style.paddingRight=ut.previousBodyPadding+"px",ut.previousBodyPadding=null)},ef=function(){var t,n=l();n.ontouchstart=function(i){t=i.target===n||!function(n){return!!(n.scrollHeight>n.clientHeight)}(n)&&"INPUT"!==i.target.tagName};n.ontouchmove=function(n){t&&(n.preventDefault(),n.stopPropagation())}},of=function(){if(st(document.body,n.iosfix)){var t=parseInt(document.body.style.top,10);d(document.body,n.iosfix);document.body.style.top="";document.body.scrollTop=-1*t}},sf=function(){"undefined"!=typeof window&&iu()&&window.removeEventListener("resize",ci)}
112,hf=function(){rt(document.body.children).forEach(function(n){n.hasAttribute("data-previous-aria-hidden")?(n.setAttribute("aria-hidden",n.getAttribute("data-previous-aria-hidden")),n.removeAttribute("data-previous-aria-hidden")):n.removeAttribute("aria-hidden")})},li={swalPromiseResolve:new WeakMap};ai=function(n){for(var t in n)n[t]=new WeakMap};vi=function(n){null!==n&&"function"==typeof n&&setTimeout(function(){n()})};fu=function(){function n(t,i){wi(this,n);this.callback=t;this.remaining=i;this.running=!1;this.start()}return ki(n,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(n){var t=this.running;return t&&this.stop(),this.remaining+=n,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),n}();yi={email:function(n,t){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(n)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(n,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(n)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};var lf=void 0,af={select:function(t,i,r){var u=f(t,n.select);i.forEach(function(n){var i=n[0],f=n[1],t=document.createElement("option");t.value=i;t.innerHTML=f;r.inputValue.toString()===i.toString()&&(t.selected=!0);u.appendChild(t)});u.focus()},radio:function(t,i,r){var e=f(t,n.radio),u;i.forEach(function(t){var o=t[0],s=t[1],i=document.createElement("input"),f=document.createElement("label"),u;i.type="radio";i.name=n.radio;i.value=o;r.inputValue.toString()===o.toString()&&(i.checked=!0);u=document.createElement("span");u.innerHTML=s;u.className=n.label;f.appendChild(i);f.appendChild(u);e.appendChild(f)});u=e.querySelectorAll("input");u.length&&u[0].focus()}},vf=function(n){var t=[];return"undefined"!=typeof Map&&n instanceof Map?n.forEach(function(n,i){t.push([i,n])}):Object.keys(n).forEach(function(i){t.push([i,n[i]])}),t},pi,ou=Object.freeze({hideLoading:tu,disableLoading:tu,getInput:function(n){var t=r.innerParams.get(n||this);return ti(r.domCache.get(n||this).content,t.input)},close:kt,closePopup:kt,closeModal:kt,closeToast:kt,enableButtons:function(){dt(this,["confirmButton","cancelButton"],!1)},disableButtons:function(){dt(this,["confirmButton","cancelButton"],!0)},enableConfirmButton:function(){ot("Swal.disableConfirmButton()","Swal.getConfirmButton().removeAttribute('disabled')");dt(this,["confirmButton"],!1)},disableConfirmButton:function(){ot("Swal.enableConfirmButton()","Swal.getConfirmButton().setAttribute('disabled', '')");dt(this,["confirmButton"],!0)},enableInput:function(){return uu(this.getInput(),!1)},disableInput:function(){return uu(this.getInput(),!0)},showValidationMessage:function(t){var f=r.domCache.get(this),e,u;f.validationMessage.innerHTML=t;e=window.getComputedStyle(f.popup);f.validationMessage.style.marginLeft="-".concat(e.getPropertyValue("padding-left"));f.validationMessage.style.marginRight="-".concat(e.getPropertyValue("padding-right"));o(f.validationMessage);u=this.getInput();u&&(u.setAttribute("aria-invalid",!0),u.setAttribute("aria-describedBy",n["validation-message"]),ur(u),i(u,n.inputerror))},resetValidationMessage:function(){var i=r.domCache.get(this),t;i.validationMessage&&c(i.validationMessage);t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedBy"),d(t,n.inputerror))},getProgressSteps:function(){return ot("Swal.getProgressSteps()","const swalInstance = Swal.fire({progressSteps: ['1', '2', '3']}); const progressSteps = swalInstance.params.progressSteps"),r.innerParams.get(this).progressSteps},setProgressSteps:function(n){ot("Swal.setProgressSteps()","Swal.update()");var t=y({},r.innerParams.get(this),{progressSteps:n});wr(0,t);r.innerParams.set(this,t)},showProgressSteps:function(){var n=r.domCache.get(this);o(n.progressSteps)},hideProgressSteps:function(){var n=r.domCache.get(this);c(n.progressSteps)},_main:function(f){var v=this,s,h,p;return!function(n){var t,i,r,u;for(t in n)gr(u=t)||a('Unknown parameter "'.concat(u,'"')),n.toast&&(r=t,-1!==tf.indexOf(r)&&a('The parameter "'.concat(r,'" is incompatible with toasts'))),hi(i=void 0)&&ot(i,hi(i))}(f),s=y({}
112,nu,f),!function(n){n.inputValidator||Object.keys(yi).forEach(function(t){n.input===t&&(n.inputValidator=yi[t])});n.showLoaderOnConfirm&&!n.preConfirm&&a("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request");n.animation=lt(n.animation);n.target&&("string"!=typeof n.target||document.querySelector(n.target))&&("string"==typeof n.target||n.target.appendChild)||(a('Target parameter is not valid, defaulting to "body"'),n.target="body");"string"==typeof n.title&&(n.title=n.title.split("\n").join("<br />"));var t=e(),i="string"==typeof n.target?document.querySelector(n.target):n.target;(!t||t&&i&&t.parentNode!==i.parentNode)&&lu(n)}(s),Object.freeze(s),t.timeout&&(t.timeout.stop(),delete t.timeout),clearTimeout(t.restoreFocusTimeout),h={popup:e(),container:l(),content:u(),actions:wt(),confirmButton:ft(),cancelButton:et(),closeButton:ui(),validationMessage:hr(),progressSteps:sr()},r.domCache.set(this,h),br(this,s),r.innerParams.set(this,s),p=this.constructor,new Promise(function(r){function nt(n){v.closePopup({value:n})}function f(n){v.closePopup({dismiss:n})}function g(n,t){for(var i=fi(s.focusCancel),r=0;r<i.length;r++)return(n+=t)===i.length?n=0:-1===n&&(n=i.length-1),i[n].focus();h.popup.focus()}var a;li.swalPromiseResolve.set(v,r);s.timer&&(t.timeout=new fu(function(){f("timer");delete t.timeout},s.timer));s.input&&setTimeout(function(){var n=v.getInput();n&&ur(n)},0);for(var b=function(n){(s.showLoaderOnConfirm&&p.showLoading(),s.preConfirm)?(v.resetValidationMessage(),Promise.resolve().then(function(){return s.preConfirm(n,s.validationMessage)}).then(function(t){k(h.validationMessage)||!1===t?v.hideLoading():nt(void 0===t?n:t)})):nt(n)},y=function(n){var t=n.target,r=h.confirmButton,u=h.cancelButton,e=r&&(r===t||r.contains(t)),o=u&&(u===t||u.contains(t)),i;switch(n.type){case"click":e?(v.disableButtons(),s.input)?(i=function(){var n=v.getInput();if(!n)return null;switch(s.input){case"checkbox":return n.checked?1:0;case"radio":return n.checked?n.value:null;case"file":return n.files.length?n.files[0]:null;default:return s.inputAutoTrim?n.value.trim():n.value}}(),s.inputValidator?(v.disableInput(),Promise.resolve().then(function(){return s.inputValidator(i,s.validationMessage)}).then(function(n){v.enableButtons();v.enableInput();n?v.showValidationMessage(n):b(i)})):v.getInput().checkValidity()?b(i):(v.enableButtons(),v.showValidationMessage(s.validationMessage))):b(!0):o&&(v.disableButtons(),f(p.DismissReason.cancel))}},l=h.popup.querySelectorAll("button"),e=0;e<l.length;e++)l[e].onclick=y,l[e].onmouseover=y,l[e].onmouseout=y,l[e].onmousedown=y;(h.closeButton.onclick=function(){f(p.DismissReason.close)},s.toast)?h.popup.onclick=function(){s.showConfirmButton||s.showCancelButton||s.showCloseButton||s.input||f(p.DismissReason.close)}:(a=!1,h.popup.onmousedown=function(){h.container.onmouseup=function(n){h.container.onmouseup=void 0;n.target===h.container&&(a=!0)}},h.container.onmousedown=function(){h.popup.onmouseup=function(n){h.popup.onmouseup=void 0;(n.target===h.popup||h.popup.contains(n.target))&&(a=!0)}},h.container.onclick=function(n){a?a=!1:n.target===h.container&<(s.allowOutsideClick)&&f(p.DismissReason.backdrop)});s.reverseButtons?h.confirmButton.parentNode.insertBefore(h.cancelButton,h.confirmButton):h.confirmButton.parentNode.insertBefore(h.confirmButton,h.cancelButton);t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1);s.toast||(t.keydownHandler=function(n){return function(n,t){if(t.stopKeydownPropagation&&n.stopPropagation(),"Enter"!==n.key||n.isComposing)if("Tab"===n.key){for(var e=n.target,u=fi(t.focusCancel),r=-1,i=0;i<u.length;i++)if(e===u[i]){r=i;break}n.shiftKey?g(r,-1):g(r,1);n.stopPropagation();n.preventDefault()}else-1!==["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"].indexOf(n.key)?document.activeElement===h.confirmButton&&k(h.cancelButton)?h.cancelButton.focus():document.activeElement===h.cancelButton&&k(h.confirmButton)&&h.confirmButton.focus():"Escape"!==n.key&&"Esc"!==n.key||!0!==lt(t.allowEscapeKey)||(n.preventDefault(),f(p.DismissReason.esc));else if(n.target&&v.getInput()&&n.target.outerHTML===v.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(t.input))return;p.clickConfirm();n.preventDefault()}}(n,s)},t.keydownTarget=s.keydownListenerCapture?window:h.popup,t.keydownListenerCapture=s.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0);v.enableButtons();
112v.hideLoading();v.resetValidationMessage();s.toast&&(s.input||s.footer||s.showCloseButton)?i(document.body,n["toast-column"]):d(document.body,n["toast-column"]);"select"===s.input||"radio"===s.input?function(n,t){function i(n){return af[t.input](r,vf(n),t)}var r=u();ni(t.inputOptions)?(si(),t.inputOptions.then(function(t){n.hideLoading();i(t)})):"object"===w(t.inputOptions)?i(t.inputOptions):tt("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(w(t.inputOptions)))}(v,s):-1!==["text","email","number","tel","textarea"].indexOf(s.input)&&ni(s.inputValue)&&function(n,t){var i=n.getInput();c(i);t.inputValue.then(function(r){i.value="number"===t.input?parseFloat(r)||0:r+"";o(i);i.focus();n.hideLoading()}).catch(function(n){tt("Error in inputValue promise: "+n);i.value="";o(i);i.focus();lf.hideLoading()})}(v,s);cf(s);s.toast||(lt(s.allowEnterKey)?s.focusCancel&&k(h.cancelButton)?h.cancelButton.focus():s.focusConfirm&&k(h.confirmButton)?h.confirmButton.focus():g(-1,1):document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur());h.container.scrollTop=0})},update:function(n){var i={},t;Object.keys(n).forEach(function(t){nt.isUpdatableParameter(t)?i[t]=n[t]:a('Invalid parameter to update: "'.concat(t,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))});t=y({},r.innerParams.get(this),i);br(this,t);r.innerParams.set(this,t);Object.defineProperties(this,{params:{value:y({},this.params,n),writable:!1,enumerable:!0}})}});return g.prototype.then=function(n){return r.promise.get(this).then(n)},g.prototype.finally=function(n){return r.promise.get(this).finally(n)},y(g.prototype,ou),y(g,rf),Object.keys(ou).forEach(function(n){g[n]=function(){var t;if(pi)return(t=pi)[n].apply(t,arguments)}}),g.DismissReason=hu,g.version="8.11.8",nt=g,nt.default=nt});"undefined"!=typeof window&&window.Sweetalert2&&(window.swal=window.sweetAlert=window.Swal=window.SweetAlert=window.Sweetalert2);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.