function AnalysticsVideo(n,t){var i=this;this.id=n;this.$body=$INFORMA("body");this.playcount=0;this.videoended=!0;this.trackpoints=[{tpval:25,istracked:!1},{tpval:50,istracked:!1},{tpval:75,istracked:!1},{tpval:100,istracked:!1}];this.hittrackpoints=[];this.videotitle="";this.player=null;this.videoprops={volume:t.volume||100,options:t.options,onready:t.onready||null};this.onIframeAPIReady=function(){};this.setHitTrackpointsByPosition=function(n){var t=Math.ceil(n);i.hittrackpoints=[];i.trackpoints.forEach(function(n){t>=n.tpval&&!n.istracked&&(n.istracked=!0,i.hittrackpoints.push(n.tpval))})};this.triggerHitpointEvent=function(){i.hittrackpoints.forEach(function(n){window.s&&i.$body.trigger("analyticsvideo",{eventtype:"trackpoint",videotitle:i.videotitle,percentwatched:n})})};this.triggerPlaycountEvent=function(){i.playcount++;window.s&&i.$body.trigger("analyticsvideo",{eventtype:"playcount",videotitle:i.videotitle,playcount:i.playcount})};this.timeUpdate=function(n){i.setHitTrackpointsByPosition(n);i.triggerHitpointEvent();0===Math.floor(n)&&i.videoended&&(i.videoended=!1,i.triggerPlaycountEvent());100!==Math.ceil(n)||i.videoended||(i.videoended=!0)};this.destroy=function(){window.vapi=null}}function YoutubeAnalysticsVideo(n,t){var i=this;AnalysticsVideo.call(i,n,t);i.videotitle=null;i.onIframeAPIReady=function(){i.id&&(i.player=new YT.Player(i.id,{playerVars:i.videoprops.options,events:{onReady:function(n){n.target.setVolume(i.videoprops.volume);i.videoprops.onready&&i.videoprops.onready(i.player)},onStateChange:function(n){switch(null===i.videotitle&&(i.videotitle=i.player.getVideoData().title),n.data){case YT.PlayerState.PLAYING:i.startYoutubePlayTracker();break;case YT.PlayerState.PAUSED:case YT.PlayerState.BUFFERING:i.stopYoutubePlayTracker();break;case YT.PlayerState.ENDED:i.stopYoutubePlayTracker();i.videoended=!0}}}}),$INFORMA("#"+i.id).on("remove",function(){i.stopYoutubePlayTracker();i.player.destroy();i.destroy()}))};i.startYoutubePlayTracker=function(){i.ytplaytracktimer=setInterval(function(){i.timeUpdate(i.player.getCurrentTime()/i.player.getDuration()*100)},200)};i.stopYoutubePlayTracker=function(){clearInterval(i.ytplaytracktimer)};INFORMA.Analytics.youtubeApiReady(n,i.onIframeAPIReady)}function VimeoAnalysticsVideo(n,t){var i=this;AnalysticsVideo.call(i,n,t);i.onIframeAPIReady=function(){i.player=new Vimeo.Player($INFORMA("#"+i.id)[0],i.videoprops.options);i.player.ready().then(function(){i.player.setVolume(parseInt(i.videoprops.volume)/100);i.videoprops.onready&&i.videoprops.onready(i.player)});i.player.getVideoTitle().then(function(n){i.videotitle=n});i.player.on("timeupdate",function(n){i.timeUpdate(100*n.percent)});$INFORMA("#"+i.id).on("remove",function(){i.player.destroy();i.destroy()})};i.vimeoApiCheckTimer=setInterval(function(){var n=!1;try{Vimeo;n=!0}catch(t){n=!1}finally{n&&(clearInterval(i.vimeoApiCheckTimer),clearTimeout(i.vimeoApiCheckTimeout),i.onIframeAPIReady())}},200);i.vimeoApiCheckTimeout=setTimeout(function(){clearInterval(i.vimeoApiCheckTimer)},1e4)}function WistiaAnalysticsVideo(n,t){var i=this;AnalysticsVideo.call(i,n,t);i.onIframeAPIReady=function(){i.player.bind("timechange",function(n){i.timeUpdate(n/i.player.duration()*100)});i.player.bind("end",function(){i.videoended=!0})};i.hasdata=!1;i.setTitle=function(){null!==i.player&&i.hasdata&&(i.videotitle=i.player.name())};window._wq=window._wq||[];_wq.push({id:n,options:i.videoprops.options,onReady:function(n){i.player=n;i.player.volume(parseInt(i.videoprops.volume)/100);i.videoprops.onready&&i.videoprops.onready(i.player);i.setTitle();i.onIframeAPIReady();i.player.bind("beforeremove",function(){return i.destroy(),i.player.unbind})},onHasData:function(){i.hasdata=!0;i.setTitle()}})}var logThis,modal_Id,INFORMA;!function(){var n;window.AmCharts?n=window.AmCharts:(n={},window.AmCharts=n,n.themes={},n.maps={},n.inheriting={},n.charts=[],n.onReadyArray=[],n.useUTC=!1,n.updateRate=60,n.uid=0,n.lang={},n.translations={},n.mapTranslations={},n.windows={},n.initHandlers=[],n.amString="am",n.pmString="pm");n.Class=function(t){var i=function(){arguments[0]!==n.inheriting&&(this.events={},this.construct.apply(this,arguments))},r;t.inherits?(i.prototype=new t.inherits(n.inheriting),i.base=t.inherits.prototype,delete t.inherits):(i.prototype.createEvents=function(){for(var n=0;n<arguments.length;n++)this.events[arguments[n]]=[]},i.prototype.listenTo=function(n,t,i){this.removeListener(n,t,i);n.events[t].push({handler:i,scope:this})},i.prototype.addListener=function(n,t,i){this.removeListener(this,n,t);n&&this.events[n]&&this.events[n].push({handler:t,scope:i})},i.prototype.removeListener=function(n,t,i){if(n&&n.events&&(n=n.events[t]))for(t=n.length-1;0<=t;t--)n[t].handler===i&&n.splice(t,1)},i.prototype.fire=function(n){for(var r,i=this.events[n.type],t=0;t<i.length;t++)r=i[t],r.handler.call(r.scope,n)});for(r in t)i.prototype[r]=t[r];return i};n.addChart=function(t){window.requestAnimationFrame?n.animationRequested||(n.animationRequested=!0,window.requestAnimationFrame(n.update)):n.updateInt||(n.updateInt=setInterval(function(){n.update()},Math.round(1e3/n.updateRate)));n.charts.push(t)};n.removeChart=function(t){for(var i=n.charts,r=i.length-1;0<=r;r--)i[r]==t&&i.splice(r,1);0===i.length&&(n.requestAnimation&&(window.cancelAnimationFrame(n.requestAnimation),n.animationRequested=!1),n.updateInt&&(clearInterval(n.updateInt),n.updateInt=NaN))};n.isModern=!0;n.getIEVersion=function(){var n,t,i=0;return"Microsoft Internet Explorer"==navigator.appName&&(n=navigator.userAgent,t=/MSIE ([0-9]{1,}[.0-9]{0,})/,null!==t.exec(n)&&(i=parseFloat(RegExp.$1))),i};n.applyLang=function(t,i){var r=n.translations;i.dayNames=n.extend({},n.dayNames);i.shortDayNames=n.extend({},n.shortDayNames);i.monthNames=n.extend({},n.monthNames);i.shortMonthNames=n.extend({},n.shortMonthNames);i.amString="am";i.pmString="pm";r&&(r=r[t])&&(n.lang=r,i.langObj=r,r.monthNames&&(i.dayNames=n.extend({},r.dayNames),i.shortDayNames=n.extend({},r.shortDayNames),i.monthNames=n.extend({},r.monthNames),i.shortMonthNames=n.extend({},r.shortMonthNames)),r.am&&(i.amString=r.am),r.pm&&(i.pmString=r.pm));n.amString=i.amString;n.pmString=i.pmString};n.IEversion=n.getIEVersion();9>n.IEversion&&0<n.IEversion&&(n.isModern=!1,n.isIE=!0);n.dx=0;n.dy=0;(document.addEventListener||window.opera)&&(n.isNN=!0,n.isIE=!1,n.dx=.5,n.dy=.5);document.attachEvent&&(n.isNN=!1,n.isIE=!0,n.isModern||(n.dx=0,n.dy=0));window.chrome&&(n.chrome=!0);n.handleMouseUp=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleReleaseOutside&&r.handleReleaseOutside(t)};n.handleMouseMove=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleMouseMove&&r.handleMouseMove(t)};n.handleWheel=function(t){for(var i,u=n.charts,r=0;r<u.length;r++)if(i=u[r],i&&i.mouseIsOver){(i.mouseWheelScrollEnabled||i.mouseWheelZoomEnabled)&&i.handleWheel&&i.handleWheel(t);break}};n.resetMouseOver=function(){for(var r,i=n.charts,t=0;t<i.length;t++)r=i[t],r&&(r.mouseIsOver=!1)};n.ready=function(t){n.onReadyArray.push(t)};n.handleLoad=function(){var i,t,r;for(n.isReady=!0,i=n.onReadyArray,t=0;t<i.length;t++)r=i[t],isNaN(n.processDelay)?r():setTimeout(r,n.processDelay*t)};n.addInitHandler=function(t,i){n.initHandlers.push({method:t,types:i})};n.callInitHandler=function(t){var u=n.initHandlers,r,i;if(n.initHandlers)for(r=0;r<u.length;r++)i=u[r],i.types?n.isInArray(i.types,t.type)&&i.method(t):i.method(t)};n.getUniqueId=function(){return"AmChartsEl-"+ ++n.uid};n.isNN&&(document.addEventListener("mousemove",n.handleMouseMove),document.addEventListener("mouseup",n.handleMouseUp,!0),window.addEventListener("load",n.handleLoad,!0),window.addEventListener("DOMMouseScroll",n.handleWheel,!0),document.addEventListener("mousewheel",n.handleWheel,!0));n.isIE&&(document.attachEvent("onmousemove",n.handleMouseMove),document.attachEvent("onmouseup",n.handleMouseUp),window.attachEvent("onload",n.handleLoad),document.attachEvent("onmousewheel",n.handleWheel));n.clear=function(){var i=n.charts,t;if(i)for(t=i.length-1;0<=t;t--)i[t].clear();n.updateInt&&clearInterval(n.updateInt);n.requestAnimation&&window.cancelAnimationFrame(n.requestAnimation);n.charts=[];n.isNN&&(document.removeEventListener("mousemove",n.handleMouseMove,!0),document.removeEventListener("mouseup",n.handleMouseUp,!0),window.removeEventListener("load",n.handleLoad,!0),window.removeEventListener("DOMMouseScroll",n.handleWheel,!0),document.removeEventListener("mousewheel",n.handleWheel,!0));n.isIE&&(document.detachEvent("onmousemove",n.handleMouseMove),document.detachEvent("onmouseup",n.handleMouseUp),window.detachEvent("onload",n.handleLoad))};n.makeChart=function(t,i,r){var e=i.type,f=i.theme,u;n.isString(f)&&(f=n.themes[f],i.theme=f);switch(e){case"serial":u=new n.AmSerialChart(f);break;case"xy":u=new n.AmXYChart(f);break;case"pie":u=new n.AmPieChart(f);break;case"radar":u=new n.AmRadarChart(f);break;case"gauge":u=new n.AmAngularGauge(f);break;case"funnel":u=new n.AmFunnelChart(f);break;case"map":u=new n.AmMap(f);break;case"stock":u=new n.AmStockChart(f);break;case"gantt":u=new n.AmGanttChart(f)}return n.extend(u,i),n.isReady?isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r):n.ready(function(){isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r)}),u};n.realWrite=function(n,t){n.write(t)};n.updateCount=0;n.validateAt=Math.round(n.updateRate/10);n.update=function(){var i=n.charts,r,t;if(n.updateCount++,r=!1,n.updateCount==n.validateAt&&(r=!0,n.updateCount=0),i)for(t=i.length-1;0<=t;t--)i[t].update&&i[t].update(),r&&(i[t].autoResize?i[t].validateSize&&i[t].validateSize():i[t].premeasure&&i[t].premeasure());window.requestAnimationFrame&&(n.requestAnimation=window.requestAnimationFrame(n.update))};n.bezierX=3;n.bezierY=6;"complete"==document.readyState&&n.handleLoad()}(),function(){var n=window.AmCharts;n.toBoolean=function(n,t){if(void 0===n)return t;switch(String(n).toLowerCase()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case null:return!1;default:return!!n}};n.removeFromArray=function(n,t){var i;if(void 0!==t&&void 0!==n)for(i=n.length-1;0<=i;i--)n[i]==t&&n.splice(i,1)};n.getPath=function(){var t=document.getElementsByTagName("script"),n,i;if(t)for(n=0;n<t.length;n++)if(i=t[n].src,-1!==i.search(/\/(amcharts|ammap)\.js/))return i.replace(/\/(amcharts|ammap)\.js.*/,"/")};n.normalizeUrl=function(n){return""!==n&&-1===n.search(/\/$/)?n+"/":n};n.isAbsolute=function(n){return 0===n.search(/^http[s]?:|^\//)};n.isInArray=function(n,t){for(var i=0;i<n.length;i++)if(n[i]==t)return!0;return!1};n.getDecimals=function(n){var t=0;return isNaN(n)||(n=String(n),-1!=n.indexOf("e-")?t=Number(n.split("-")[1]):-1!=n.indexOf(".")&&(t=n.split(".")[1].length)),t};n.wordwrap=function(t,i,r,u){var o,e,f,s;if(t+="",1>i)return t;for(o=-1,t=(s=t.split(/\r\n|\n|\r/)).length;++o<t;s[o]+=f){for(f=s[o],s[o]="";f.length>i;s[o]+=n.trim(f.slice(0,e))+((f=f.slice(e)).length?r:""))e=2==u||(e=f.slice(0,i+1).match(/\S*(\s)?$/))[1]?i:e.input.length-e[0].length||1==u&&i||e.input.length+(e=f.slice(i).match(/^\S*/))[0].length;f=n.trim(f)}return s.join(r)};n.trim=function(n){return n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};n.wrappedText=function(t,i,r,u,f,e,o,s){var h=n.text(t,i,r,u,f,e,o),c,l;return h&&(c=h.getBBox(),c.width>s&&(l="\n",n.isModern||(l="<br>"),s=Math.floor(s/(c.width/i.length)),2<s&&(s-=2),i=n.wordwrap(i,s,l,!0),h.remove(),h=n.text(t,i,r,u,f,e,o))),h};n.getStyle=function(n,t){var i="";if(document.defaultView&&document.defaultView.getComputedStyle)try{i=document.defaultView.getComputedStyle(n,"").getPropertyValue(t)}catch(n){}else n.currentStyle&&(t=t.replace(/\-(\w)/g,function(n,t){return t.toUpperCase()}),i=n.currentStyle[t]);return i};n.removePx=function(n){if(void 0!==n)return Number(n.substring(0,n.length-2))};n.getURL=function(t,i){if(t)if("_self"!=i&&i)if("_top"==i&&window.top)window.top.location.href=t;else if("_parent"==i&&window.parent)window.parent.location.href=t;else if("_blank"==i)window.open(t);else{var r=document.getElementsByName(i)[0];r?r.src=t:(r=n.windows[i])&&r.opener&&!r.opener.closed?r.location.href=t:n.windows[i]=window.open(t)}else window.location.href=t};n.ifArray=function(n){return!!(n&&"object"==typeof n&&0<n.length)};n.callMethod=function(n,t){for(var i,e,u,f,r=0;r<t.length;r++)if(i=t[r],i&&(i[n]&&i[n](),e=i.length,0<e))for(u=0;u<e;u++)f=i[u],f&&f[n]&&f[n]()};n.toNumber=function(n){return"number"==typeof n?n:Number(String(n).replace(/[^0-9\-.]+/g,""))};n.toColor=function(n){var t,i;if(""!==n&&void 0!==n)if(-1!=n.indexOf(","))for(n=n.split(","),t=0;t<n.length;t++)i=n[t].substring(n[t].length-6,n[t].length),n[t]="#"+i;else n=n.substring(n.length-6,n.length),n="#"+n;return n};n.toCoordinate=function(n,t,i){var r;return void 0!==n&&(n=String(n),i&&i<t&&(t=i),r=Number(n),-1!=n.indexOf("!")&&(r=t-Number(n.substr(1))),-1!=n.indexOf("%")&&(r=t*Number(n.substr(0,n.length-1))/100)),r};n.fitToBounds=function(n,t,i){return n<t&&(n=t),n>i&&(n=i),n};n.isDefined=function(n){return void 0!==n};n.stripNumbers=function(n){return n.replace(/[0-9]+/g,"")};n.roundTo=function(n,t){if(0>t)return n;var i=Math.pow(10,t);return Math.round(n*i)/i};n.toFixed=function(n,t){var i=String(Math.round(n*Math.pow(10,t))),r,u;if(0<t){if(r=i.length,r<t)for(u=0;u<t-r;u++)i="0"+i;return r=i.substring(0,i.length-t),""===r&&(r=0),r+"."+i.substring(i.length-t,i.length)}return String(i)};n.formatDuration=function(t,i,r,u,f,e){var s=n.intervals,h=e.decimalSeparator,o;if(t>=s[i].contains)return o=t-Math.floor(t/s[i].contains)*s[i].contains,"ss"==i?(o=n.formatNumber(o,e),1==o.split(h)[0].length&&(o="0"+o)):o=n.roundTo(o,e.precision),("mm"==i||"hh"==i)&&10>o&&(o="0"+o),r=o+""+u[i]+r,t=Math.floor(t/s[i].contains),i=s[i].nextInterval,n.formatDuration(t,i,r,u,f,e);if("ss"==i&&(t=n.formatNumber(t,e),1==t.split(h)[0].length&&(t="0"+t)),("mm"==i||"hh"==i)&&10>t&&(t="0"+t),r=t+""+u[i]+r,s[f].count>s[i].count)for(t=s[i].count;t<s[f].count;t++)i=s[i].nextInterval,"ss"==i||"mm"==i||"hh"==i?r="00"+u[i]+r:"DD"==i&&(r="0"+u[i]+r);return":"==r.charAt(r.length-1)&&(r=r.substring(0,r.length-1)),r};n.formatNumber=function(t,i,r,u,f){var c,l,e,o,h,s;if(t=n.roundTo(t,i.precision),isNaN(r)&&(r=i.precision),c=i.decimalSeparator,i=i.thousandsSeparator,l=0>t?"-":"",t=Math.abs(t),h=String(t),s=!1,-1!=h.indexOf("e")&&(s=!0),0<=r&&!s&&(h=n.toFixed(t,r)),e="",s)e=h;else{for(h=h.split("."),s=String(h[0]),o=s.length;0<=o;o-=3)e=o!=s.length?0!==o?s.substring(o-3,o)+i+e:s.substring(o-3,o)+e:s.substring(o-3,o);void 0!==h[1]&&(e=e+c+h[1]);void 0!==r&&0<r&&"0"!=e&&(e=n.addZeroes(e,c,r))}return e=l+e,""===l&&!0===u&&0!==t&&(e="+"+e),!0===f&&(e+="%"),e};n.addZeroes=function(t,i,r){return t=t.split(i),void 0===t[1]&&0<r&&(t[1]="0"),t[1].length<r?(t[1]+="0",n.addZeroes(t[0]+i+t[1],i,r)):void 0!==t[1]?t[0]+i+t[1]:t[0]};n.scientificToNormal=function(n){var t,i,r;if(n=String(n).split("e"),"-"==n[1].substr(0,1)){for(t="0.",i=0;i<Math.abs(Number(n[1]))-1;i++)t+="0";t+=n[0].split(".").join("")}else for(r=0,t=n[0].split("."),t[1]&&(r=t[1].length),t=n[0].split(".").join(""),i=0;i<Math.abs(Number(n[1]))-r;i++)t+="0";return t};n.toScientific=function(n,t){if(0===n)return"0";var r=Math.floor(Math.log(Math.abs(n))*Math.LOG10E),i=String(i).split(".").join(t);return String(i)+"e"+r};n.randomColor=function(){return"#"+("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6)};n.hitTest=function(t,i,r){var u=!1,e=t.x,o=t.x+t.width,s=t.y,h=t.y+t.height,f=n.isInRectangle;return u||(u=f(e,s,i)),u||(u=f(e,h,i)),u||(u=f(o,s,i)),u||(u=f(o,h,i)),u||!0===r||(u=n.hitTest(i,t,!0)),u};n.isInRectangle=function(n,t,i){return n>=i.x-5&&n<=i.x+i.width+5&&t>=i.y-5&&t<=i.y+i.height+5};n.isPercents=function(n){if(-1!=String(n).indexOf("%"))return!0};n.formatValue=function(t,i,r,u,f,e,o,s){var c,l,h;if(i)for(void 0===f&&(f=""),c=0;c<r.length;c++)l=r[c],h=i[l],void 0!==h&&(h=e?n.addPrefix(h,s,o,u):n.formatNumber(h,u),t=t.replace(new RegExp("\\[\\["+f+l+"\\]\\]","g"),h));return t};n.formatDataContextValue=function(n,t){var r,u,i;if(n)for(u=n.match(/\[\[.*?\]\]/g),r=0;r<u.length;r++)i=u[r],i=i.substr(2,i.length-4),void 0!==t[i]&&(n=n.replace(new RegExp("\\[\\["+i+"\\]\\]","g"),t[i]));return n};n.massReplace=function(n,t){var i,r;for(i in t)t.hasOwnProperty(i)&&(r=t[i],void 0===r&&(r=""),n=n.replace(i,r));return n};n.cleanFromEmpty=function(n){return n.replace(/\[\[[^\]]*\]\]/g,"")};n.addPrefix=function(t,i,r,u,f){var e,o,s,h=n.formatNumber(t,u),c="";if(0===t)return"0";if(0>t&&(c="-"),1<(t=Math.abs(t))){for(e=i.length-1;-1<e;e--)if(t>=i[e].number&&(o=t/i[e].number,s=Number(u.precision),1>s&&(s=1),r=n.roundTo(o,s),s=n.formatNumber(r,{precision:-1,decimalSeparator:u.decimalSeparator,thousandsSeparator:u.thousandsSeparator}),!f||o==r)){h=c+""+s+i[e].prefix;break}}else for(e=0;e<r.length;e++)if(t<=r[e].number){o=t/r[e].number;s=Math.abs(Math.floor(Math.log(o)*Math.LOG10E));o=n.roundTo(o,s);h=c+""+o+r[e].prefix;break}return h};n.remove=function(n){n&&n.remove()};n.getEffect=function(n){return">"==n&&(n="easeOutSine"),"<"==n&&(n="easeInSine"),"elastic"==n&&(n="easeOutElastic"),n};n.getObjById=function(n,t){for(var u,r,i=0;i<n.length;i++)if(r=n[i],r.id==t){u=r;break}return u};n.applyTheme=function(t,i,r){i||(i=n.theme);try{i=JSON.parse(JSON.stringify(i))}catch(n){}i&&i[r]&&n.extend(t,i[r])};n.isString=function(n){return"string"==typeof n};n.extend=function(n,t,i){var r;n||(n={});for(r in t)i?n.hasOwnProperty(r)||(n[r]=t[r]):n[r]=t[r];return n};n.copyProperties=function(n,t){for(var i in n)n.hasOwnProperty(i)&&"events"!=i&&void 0!==n[i]&&"function"!=typeof n[i]&&"cname"!=i&&(t[i]=n[i])};n.processObject=function(t,i,r,u){if(!1==t instanceof i&&(t=u?n.extend(new i(r),t):n.extend(t,new i(r),!0),t.listeners))for(var f in t.listeners)i=t.listeners[f],t.addListener(i.event,i.method);return t};n.fixNewLines=function(n){var t=RegExp("\\n","g");return n&&(n=n.replace(t,"<br />")),n};n.fixBrakes=function(t){if(n.isModern){var i=RegExp("<br>","g");t&&(t=t.replace(i,"\n"))}else t=n.fixNewLines(t);return t};n.deleteObject=function(t,i){if(t&&(void 0!==i&&null!==i||(i=20),0!==i))if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;r<t.length;r++)n.deleteObject(t[r],i-1),t[r]=null;else if(t&&!t.tagName)try{for(r in t.theme=null,t)t[r]&&("object"==typeof t[r]&&n.deleteObject(t[r],i-1),"function"!=typeof t[r]&&(t[r]=null))}catch(n){}};n.bounce=function(n,t,i,r,u){return(t/=u)<1/2.75?7.5625*r*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i};n.easeInOutQuad=function(n,t,i,r,u){return 1>(t/=u/2)?r/2*t*t+i:(t--,-r/2*(t*(t-2)-1)+i)};n.easeInSine=function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i};n.easeOutSine=function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i};n.easeOutElastic=function(n,t,i,r,u){n=1.70158;var f=0,e=r;return 0===t?i:1==(t/=u)?i+r:(f||(f=.3*u),e<Math.abs(r)?(e=r,n=f/4):n=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin(2*(t*u-n)*Math.PI/f)+r+i)};n.fixStepE=function(t){t=t.toExponential(0).split("e");var i=Number(t[1]);return 9==Number(t[0])&&i++,n.generateNumber(1,i)};n.generateNumber=function(n,t){for(var i="",u=0>t?Math.abs(t)-1:Math.abs(t),r=0;r<u;r++)i+="0";return 0>t?Number("0."+i+String(n)):Number(String(n)+i)};n.setCN=function(n,t,i,r){if(n.addClassNames&&t&&(t=t.node)&&i){var u=t.getAttribute("class");n=n.classNamePrefix+"-";r&&(n="");u?t.setAttribute("class",u+" "+n+i):t.setAttribute("class",n+i)}};n.removeCN=function(n,t,i){t&&(t=t.node)&&i&&(t=t.classList)&&t.remove(n.classNamePrefix+"-"+i)};n.parseDefs=function(t,i){var r,u,f;for(r in t)if(u=typeof t[r],0<t[r].length&&"object"==u)for(f=0;f<t[r].length;f++)u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r][f],u);else"object"==u?(u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r],u)):i.setAttribute(r,t[r])}}(),function(){var n=window.AmCharts;n.AxisBase=n.Class({construct:function(t){this.createEvents("clickItem","rollOverItem","rollOutItem");this.titleDY=this.y=this.x=this.dy=this.dx=0;this.axisThickness=1;this.axisColor="#000000";this.axisAlpha=1;this.gridCount=this.tickLength=5;this.gridAlpha=.15;this.gridThickness=1;this.gridColor="#000000";this.dashLength=0;this.labelFrequency=1;this.showLastLabel=this.showFirstLabel=!0;this.fillColor="#FFFFFF";this.fillAlpha=0;this.labelsEnabled=!0;this.labelRotation=0;this.autoGridCount=!0;this.offset=0;this.guides=[];this.visible=!0;this.counter=0;this.guides=[];this.ignoreAxisWidth=this.inside=!1;this.minHorizontalGap=75;this.minVerticalGap=35;this.titleBold=!0;this.minorGridEnabled=!1;this.minorGridAlpha=.07;this.autoWrap=!1;this.titleAlign="middle";this.labelOffset=0;this.bcn="axis-";this.centerLabels=!1;this.firstDayOfWeek=1;this.centerLabelOnFullPeriod=this.markPeriodChange=this.boldPeriodBeginning=!0;this.periods=[{period:"fff",count:1},{period:"fff",count:5},{period:"fff",count:10},{period:"fff",count:50},{period:"fff",count:100},{period:"fff",count:500},{period:"ss",count:1},{period:"ss",count:5},{period:"ss",count:10},{period:"ss",count:30},{period:"mm",count:1},{period:"mm",count:5},{period:"mm",count:10},{period:"mm",count:30},{period:"hh",count:1},{period:"hh",count:3},{period:"hh",count:6},{period:"hh",count:12},{period:"DD",count:1},{period:"DD",count:2},{period:"DD",count:3},{period:"DD",count:4},{period:"DD",count:5},{period:"WW",count:1},{period:"MM",count:1},{period:"MM",count:2},{period:"MM",count:3},{period:"MM",count:6},{period:"YYYY",count:1},{period:"YYYY",count:2},{period:"YYYY",count:5},{period:"YYYY",count:10},{period:"YYYY",count:50},{period:"YYYY",count:100}];this.dateFormats=[{period:"fff",format:"NN:SS.QQQ"},{period:"ss",format:"JJ:NN:SS"},{period:"mm",format:"JJ:NN"},{period:"hh",format:"JJ:NN"},{period:"DD",format:"MMM DD"},{period:"WW",format:"MMM DD"},{period:"MM",format:"MMM"},{period:"YYYY",format:"YYYY"}];this.nextPeriod={fff:"ss",ss:"mm",mm:"hh",hh:"DD",DD:"MM",MM:"YYYY"};n.applyTheme(this,t,"AxisBase")},zoom:function(n,t){this.start=n;this.end=t;this.dataChanged=!0;this.draw()},fixAxisPosition:function(){var n=this.position;"H"==this.orientation?("left"==n&&(n="bottom"),"right"==n&&(n="top")):("bottom"==n&&(n="left"),"top"==n&&(n="right"));this.position=n},init:function(){this.createBalloon()},draw:function(){var n=this.chart,t,i;this.prevBY=this.prevBX=NaN;this.allLabels=[];this.counter=0;this.destroy();this.fixAxisPosition();this.setBalloonBounds();this.labels=[];t=n.container;i=t.set();n.gridSet.push(i);this.set=i;t=t.set();n.axesLabelsSet.push(t);this.labelsSet=t;this.axisLine=new this.axisRenderer(this);this.autoGridCount?("V"==this.orientation?3>(n=this.height/this.minVerticalGap)&&(n=3):n=this.width/this.minHorizontalGap,this.gridCountR=Math.max(n,1)):this.gridCountR=this.gridCount;this.axisWidth=this.axisLine.axisWidth;this.addTitle()},setOrientation:function(n){this.orientation=n?"H":"V"},addTitle:function(){var i=this.title,t,r,u;(this.titleLabel=null,i)&&(t=this.chart,r=this.titleColor,void 0===r&&(r=t.color),u=this.titleFontSize,isNaN(u)&&(u=t.fontSize+1),i=n.text(t.container,i,r,t.fontFamily,u,this.titleAlign,this.titleBold),n.setCN(t,i,this.bcn+"title"),this.titleLabel=i)},positionTitle:function(){var f=this.titleLabel,i,e,t,r,s;if(f){r=this.labelsSet;t={};0<r.length()?t=r.getBBox():(t.x=0,t.y=0,t.width=this.width,t.height=this.height,n.VML&&(t.y+=this.y,t.x+=this.x));r.push(f);r=t.x;s=t.y;n.VML&&(s-=this.y,r-=this.x);var v=t.width,t=t.height,h=this.width,c=this.height,o=0,l=f.getBBox().height/2,a=this.inside,u=this.titleAlign;switch(this.position){case"top":i="left"==u?-1:"right"==u?h:h/2;e=s-10-l;break;case"bottom":i="left"==u?-1:"right"==u?h:h/2;e=s+t+10+l;break;case"left":i=r-10-l;a&&(i-=5);o=-90;e=("left"==u?c+1:"right"==u?-1:c/2)+this.titleDY;break;case"right":i=r+v+10+l;a&&(i+=7);e=("left"==u?c+2:"right"==u?-2:c/2)+this.titleDY;o=-90}this.marginsChanged?(f.translate(i,e),this.tx=i,this.ty=e):f.translate(this.tx,this.ty);this.marginsChanged=!1;isNaN(this.titleRotation)||(o=this.titleRotation);0!==o&&f.rotate(o)}},pushAxisItem:function(n,t){var i=this,r=n.graphics();0<r.length()&&(t?i.labelsSet.push(r):i.set.push(r));(r=n.getLabel())&&(i.labelsSet.push(r),r.click(function(t){i.handleMouse(t,n,"clickItem")}).touchend(function(t){i.handleMouse(t,n,"clickItem")}).mouseover(function(t){i.handleMouse(t,n,"rollOverItem")}).mouseout(function(t){i.handleMouse(t,n,"rollOutItem")}))},handleMouse:function(n,t,i){this.fire({type:i,value:t.value,serialDataItem:t.serialDataItem,axis:this,target:t.label,chart:this.chart,event:n})},addGuide:function(t){for(var i=this.guides,u=!1,f=i.length,r=0;r<i.length;r++)i[r]==t&&(u=!0,f=r);t=n.processObject(t,n.Guide,this.theme);t.id||(t.id="guideAuto"+f+"_"+(new Date).getTime());u||i.push(t)},removeGuide:function(n){for(var i=this.guides,t=0;t<i.length;t++)i[t]==n&&i.splice(t,1)},handleGuideOver:function(n){clearTimeout(this.chart.hoverInt);var t=n.graphics.getBBox(),r=this.x+t.x+t.width/2,t=this.y+t.y+t.height/2,i=n.fillColor;void 0===i&&(i=n.lineColor);this.chart.showBalloon(n.balloonText,i,!0,r,t)},handleGuideOut:function(){this.chart.hideBalloon()},addEventListeners:function(n,t){var i=this;n.mouseover(function(){i.handleGuideOver(t)});n.touchstart(function(){i.handleGuideOver(t)});n.mouseout(function(){i.handleGuideOut(t)})},getBBox:function(){var t;return this.labelsSet&&(t=this.labelsSet.getBBox()),t?n.VML||(t={x:t.x+this.x,y:t.y+this.y,width:t.width,height:t.height}):t={x:0,y:0,width:0,height:0},t},destroy:function(){n.remove(this.set);n.remove(this.labelsSet);var t=this.axisLine;t&&n.remove(t.axisSet);n.remove(this.grid0)},chooseMinorFrequency:function(n){for(var t=10;0<t;t--)if(n/t==Math.round(n/t))return n/t},parseDatesDraw:function(){var h,e,o,v,y,l,i,g=this.chart,tt=this.showFirstLabel,it=this.showLastLabel,t="",r=n.extractPeriod(this.minPeriod),c=n.getPeriodDuration(r.period,r.count),b=this.firstDayOfWeek,rt=this.boldPeriodBeginning,w,nt,k,d;h=this.minorGridEnabled;var a,p,ut=this.gridAlpha,s=this.choosePeriod(0),u=s.period,s=s.count,f=n.getPeriodDuration(u,s);if(f<c&&(u=r.period,s=r.count,f=c),r=u,"WW"==r&&(r="DD"),this.stepWidth=this.getStepWidth(this.timeDifference),w=Math.ceil(this.timeDifference/f)+5,nt=o=n.resetDateToMin(new Date(this.startTime-f),u,s,b).getTime(),(r==u&&1==s&&this.centerLabelOnFullPeriod||this.autoWrap||this.centerLabels)&&(y=f*this.stepWidth,this.autoWrap&&!this.centerLabels&&(y=-y)),this.cellWidth=c*this.stepWidth,l=Math.round(o/f),c=-1,l/2==Math.round(l/2)&&(c=-2,o-=f),l=this.firstTime,k=0,d=0,h&&1<s&&(a=this.chooseMinorFrequency(s),p=n.getPeriodDuration(u,a),"DD"==u&&(p+=n.getPeriodDuration("hh")),"fff"==u&&(p=1)),0<this.gridCountR)for(w-5-c>this.autoRotateCount&&!isNaN(this.autoRotateAngle)&&(this.labelRotationR=this.autoRotateAngle),h=c;h<=w;h++){if(i=l+f*(h+Math.floor((nt-l)/f))-k,"DD"==u&&(i+=36e5),i=n.resetDateToMin(new Date(i),u,s,b).getTime(),"MM"==u&&(e=(i-o)/f,1.5<=(i-o)/f&&(i=i-(e-1)*f+n.getPeriodDuration("DD",3),i=n.resetDateToMin(new Date(i),u,1).getTime(),k+=f)),e=(i-this.startTime)*this.stepWidth,"radar"==g.type){if(0>(e=this.axisWidth-e)||e>this.axisWidth)continue}else this.rotate?"date"==this.type&&"middle"==this.gridPosition&&(d=-f*this.stepWidth/2):"date"==this.type&&(e=this.axisWidth-e);if(t=!1,this.nextPeriod[r]&&(t=this.checkPeriodChange(this.nextPeriod[r],1,i,o,r)),o=!1,t&&this.markPeriodChange?(t=this.dateFormatsObject[this.nextPeriod[r]],this.twoLineMode&&(t=this.dateFormatsObject[r]+"\n"+t,t=n.fixBrakes(t)),o=!0):t=this.dateFormatsObject[r],rt||(o=!1),this.currentDateFormat=t,t=n.formatDate(new Date(i),t,g),(h==c&&!tt||h==w&&!it)&&(t=" "),this.labelFunction&&(t=this.labelFunction(t,new Date(i),this,u,s,v).toString()),this.boldLabels&&(o=!0),v=new this.axisItemRenderer(this,e,t,!1,y,d,!1,o),this.pushAxisItem(v),v=o=i,!isNaN(a))for(e=1;e<s;e+=a)this.gridAlpha=this.minorGridAlpha,t=i+p*e,t=n.resetDateToMin(new Date(t),u,a,b).getTime(),t=new this.axisItemRenderer(this,(t-this.startTime)*this.stepWidth,void 0,void 0,void 0,void 0,void 0,void 0,void 0,!0),this.pushAxisItem(t);this.gridAlpha=ut}},choosePeriod:function(t){var r=n.getPeriodDuration(this.periods[t].period,this.periods[t].count),i=this.periods;return this.timeDifference<r&&0<t?i[t-1]:Math.ceil(this.timeDifference/r)<=this.gridCountR?i[t]:t+1<i.length?this.choosePeriod(t+1):i[t]},getStepWidth:function(n){var t;return this.startOnAxis?(t=this.axisWidth/(n-1),1==n&&(t=this.axisWidth)):t=this.axisWidth/n,t},timeZoom:function(n,t){this.startTime=n;this.endTime=t},minDuration:function(){var t=n.extractPeriod(this.minPeriod);return n.getPeriodDuration(t.period,t.count)},checkPeriodChange:function(t,i,r,u,f){r=new Date(r);var o=new Date(u),e=this.firstDayOfWeek;return u=i,"DD"==t&&(i=1),r=n.resetDateToMin(r,t,i,e).getTime(),i=n.resetDateToMin(o,t,i,e).getTime(),!("DD"==t&&"hh"!=f&&r-i<n.getPeriodDuration(t,u)-n.getPeriodDuration("hh",1))&&r!=i},generateDFObject:function(){var n,t;for(this.dateFormatsObject={},n=0;n<this.dateFormats.length;n++)t=this.dateFormats[n],this.dateFormatsObject[t.period]=t.format},hideBalloon:function(){this.balloon&&this.balloon.hide&&this.balloon.hide();this.prevBY=this.prevBX=NaN},formatBalloonText:function(n){return n},showBalloon:function(n,t,i,r){var u=this.offset,f;switch(this.position){case"bottom":t=this.height+u;break;case"top":t=-u;break;case"left":n=-u;break;case"right":n=this.width+u}if(i||(i=this.currentDateFormat),"V"==this.orientation){if(0>t||t>this.height)return;if(isNaN(t))return void this.hideBalloon();t=this.adjustBalloonCoordinate(t,r);r=this.coordinateToValue(t)}else{if(0>n||n>this.width)return;if(isNaN(n))return void this.hideBalloon();n=this.adjustBalloonCoordinate(n,r);r=this.coordinateToValue(n)}(u=this.chart.chartCursor)&&(f=u.index);this.balloon&&void 0!==r&&this.balloon.enabled&&(this.balloonTextFunction?("date"!=this.type&&!0!==this.parseDates||(r=new Date(r)),r=this.balloonTextFunction(r)):this.balloonText?r=this.formatBalloonText(this.balloonText,f,i):isNaN(r)||(r=this.formatValue(r,i)),n==this.prevBX&&t==this.prevBY||(this.balloon.setPosition(n,t),this.prevBX=n,this.prevBY=t,r&&this.balloon.showBalloon(r)))},adjustBalloonCoordinate:function(n){return n},createBalloon:function(){var i=this.chart,t=i.chartCursor;t&&(t=t.cursorPosition,"mouse"!=t&&(this.stickBalloonToCategory=!0),"start"==t&&(this.stickBalloonToStart=!0),"ValueAxis"==this.cname&&(this.stickBalloonToCategory=!1));this.balloon&&(this.balloon.destroy&&this.balloon.destroy(),n.extend(this.balloon,i.balloon,!0))},setBalloonBounds:function(){var n=this.balloon,f;if(n){f=this.chart;n.cornerRadius=0;n.shadowAlpha=0;n.borderThickness=1;n.borderAlpha=1;n.adjustBorderColor=!1;n.showBullet=!1;this.balloon=n;n.chart=f;n.mainSet=f.plotBalloonsSet;n.pointerWidth=this.tickLength;(this.parseDates||"date"==this.type)&&(n.pointerWidth=0);n.className=this.id;f="V";"V"==this.orientation&&(f="H");this.stickBalloonToCategory||(n.animationDuration=0);var t,i,r,u,s=this.inside,e=this.width,o=this.height;switch(this.position){case"bottom":t=0;i=e;s?(r=0,u=o):(r=o,u=o+1e3);break;case"top":t=0;i=e;s?(r=0,u=o):(r=-1e3,u=0);break;case"left":r=0;u=o;s?(t=0,i=e):(t=-1e3,i=0);break;case"right":r=0;u=o;s?(t=0,i=e):(t=e,i=e+1e3)}n.drop||(n.pointerOrientation=f);n.setBounds(t,r,i,u)}}})}(),function(){var n=window.AmCharts;n.ValueAxis=n.Class({inherits:n.AxisBase,construct:function(t){this.cname="ValueAxis";this.createEvents("axisChanged","logarithmicAxisFailed","axisZoomed","axisIntZoomed");n.ValueAxis.base.construct.call(this,t);this.dataChanged=!0;this.stackType="none";this.position="left";this.unitPosition="right";this.includeAllValues=this.recalculateToPercents=this.includeHidden=this.includeGuidesInMinMax=this.integersOnly=!1;this.durationUnits={DD:"d. ",hh:":",mm:":",ss:""};this.scrollbar=!1;this.baseValue=0;this.radarCategoriesEnabled=!0;this.axisFrequency=1;this.gridType="polygons";this.useScientificNotation=!1;this.axisTitleOffset=10;this.pointPosition="axis";this.minMaxMultiplier=1;this.logGridLimit=2;this.totalTextOffset=this.treatZeroAs=0;this.minPeriod="ss";this.relativeStart=0;this.relativeEnd=1;n.applyTheme(this,t,this.cname)},updateData:function(){0>=this.gridCountR&&(this.gridCountR=1);this.totals=[];this.data=this.chart.chartData;var t=this.chart;"xy"!=t.type&&(this.stackGraphs("smoothedLine"),this.stackGraphs("line"),this.stackGraphs("column"),this.stackGraphs("step"));this.recalculateToPercents&&this.recalculate();this.synchronizationMultiplier&&this.synchronizeWith?(n.isString(this.synchronizeWith)&&(this.synchronizeWith=t.getValueAxisById(this.synchronizeWith)),this.synchronizeWith&&(this.synchronizeWithAxis(this.synchronizeWith),this.foundGraphs=!0)):(this.foundGraphs=!1,this.getMinMax(),0===this.start&&this.end==this.data.length-1&&isNaN(this.minZoom)&&isNaN(this.maxZoom)&&(this.fullMin=this.min,this.fullMax=this.max,"date"!=this.type&&(isNaN(this.minimum)||(this.fullMin=this.minimum),isNaN(this.maximum)||(this.fullMax=this.maximum)),this.logarithmic&&(this.fullMin=this.logMin,0===this.fullMin&&(this.fullMin=this.treatZeroAs)),"date"==this.type&&(this.minimumDate||(this.fullMin=this.minRR),this.maximumDate||(this.fullMax=this.maxRR))))},draw:function(){var h,nt,v,k,u,y,l,g,r,s,e,it,rt,w,o,b,p,ut;if(n.ValueAxis.base.draw.call(this),h=this.chart,nt=this.set,this.labelRotationR=this.labelRotation,n.setCN(h,this.set,"value-axis value-axis-"+this.id),n.setCN(h,this.labelsSet,"value-axis value-axis-"+this.id),n.setCN(h,this.axisLine.axisSet,"value-axis value-axis-"+this.id),v=this.type,("duration"==v&&(this.duration="ss"),!0===this.dataChanged&&(this.updateData(),this.dataChanged=!1),"date"==v&&(this.logarithmic=!1,this.min=this.minRR,this.max=this.maxRR,this.reversed=!1,this.getDateMinMax()),this.logarithmic)&&(k=this.treatZeroAs,u=this.getExtremes(0,this.data.length-1).min,!isNaN(this.minimum)&&this.minimum<u&&(u=this.minimum),this.logMin=u,this.minReal<u&&(this.minReal=u),isNaN(this.minReal)&&(this.minReal=u),0<k&&0===u&&(this.minReal=u=k),0>=u||0>=this.minimum))return void this.fire({type:"logarithmicAxisFailed",chart:h});this.grid0=null;var i,t,c=h.dx,a=h.dy,k=!1,u=this.logarithmic;if(isNaN(this.min)||isNaN(this.max)||!this.foundGraphs||1/0==this.min||-1/0==this.max)k=!0;else{"date"==this.type&&this.min==this.max&&(this.max+=this.minDuration(),this.min-=this.minDuration());var tt=this.labelFrequency,ft=this.showFirstLabel,et=this.showLastLabel,d=1,f=0;if(this.minCalc=this.min,this.maxCalc=this.max,this.strictMinMax&&(isNaN(this.minimum)||(this.min=this.minimum),isNaN(this.maximum)||(this.max=this.maximum),this.min==this.max))return;for((isNaN(this.minZoom)||(this.minReal=this.min=this.minZoom),isNaN(this.maxZoom)||(this.max=this.maxZoom),this.logarithmic)?(t=Math.log(this.fullMax)*Math.LOG10E-Math.log(this.fullMin)*Math.LOG10E,l=Math.log(this.max)/Math.LN10-Math.log(this.fullMin)*Math.LOG10E,this.relativeStart=(Math.log(this.minReal)/Math.LN10-Math.log(this.fullMin)*Math.LOG10E)/t,this.relativeEnd=l/t):(this.relativeStart=n.fitToBounds((this.min-this.fullMin)/(this.fullMax-this.fullMin),0,1),this.relativeEnd=n.fitToBounds((this.max-this.fullMin)/(this.fullMax-this.fullMin),0,1)),l=Math.round((this.maxCalc-this.minCalc)/this.step)+1,!0===u?(y=Math.log(this.max)*Math.LOG10E-Math.log(this.minReal)*Math.LOG10E,this.stepWidth=this.axisWidth/y,y>this.logGridLimit&&(l=Math.ceil(Math.log(this.max)*Math.LOG10E)+1,f=Math.round(Math.log(this.minReal)*Math.LOG10E),l>this.gridCountR&&(d=Math.ceil(l/this.gridCountR)))):this.stepWidth=this.axisWidth/(this.max-this.min),e=0,1>this.step&&-1<this.step&&(e=n.getDecimals(this.step)),this.integersOnly&&(e=0),e>this.maxDecCount&&(e=this.maxDecCount),g=this.precision,isNaN(g)||(e=g),isNaN(this.maxZoom)&&(this.max=n.roundTo(this.max,this.maxDecCount),this.min=n.roundTo(this.min,this.maxDecCount)),t={},t.precision=e,t.decimalSeparator=h.nf.decimalSeparator,t.thousandsSeparator=h.nf.thousandsSeparator,this.numberFormatter=t,this.exponential=!1,t=f;t<l;t+=d)it=n.roundTo(this.step*t+this.min,e),-1!=String(it).indexOf("e")&&(this.exponential=!0);if(this.duration&&(this.maxInterval=n.getMaxInterval(this.max,this.duration)),e=this.step,it=this.minorGridAlpha,this.minorGridEnabled&&(s=this.getMinorGridStep(e,this.stepWidth*e)),this.autoGridCount||0!==this.gridCount)if("date"==v)this.generateDFObject(),this.timeDifference=this.max-this.min,this.maxTime=this.lastTime=this.max,this.startTime=this.firstTime=this.min,this.parseDatesDraw();else for(l>=this.autoRotateCount&&!isNaN(this.autoRotateAngle)&&(this.labelRotationR=this.autoRotateAngle),v=this.minCalc,u&&(l++,v=this.maxCalc-l*e),this.gridCountReal=l,t=this.startCount=f;t<l;t+=d)if(f=e*t+v,f=n.roundTo(f,this.maxDecCount+1),(!this.integersOnly||Math.round(f)==f)&&(isNaN(g)||Number(n.toFixed(f,g))==f)){if(!0===u)if(y>this.logGridLimit)f=Math.pow(10,t);else if(0>=f&&0>=(f=v+e*t+e/2))continue;if(r=this.formatValue(f,!1,t),Math.round(t/tt)!=t/tt&&(r=void 0),(0===t&&!ft||t==l-1&&!et)&&(r=" "),i=this.getCoordinate(f),(this.rotate&&this.autoWrap&&(rt=this.stepWidth*e-10),r=new this.axisItemRenderer(this,i,r,void 0,rt,void 0,void 0,this.boldLabels),this.pushAxisItem(r),f==this.baseValue&&"radar"!=h.type)&&(b=this.width,p=this.height,"H"==this.orientation?0<=i&&i<=b+1&&(w=[i,i,i+c],o=[p,0,a]):0<=i&&i<=p+1&&(w=[0,b,b+c],o=[i,i,i+a]),w&&(i=n.fitToBounds(2*this.gridAlpha,0,1),isNaN(this.zeroGridAlpha)||(i=this.zeroGridAlpha),i=n.line(h.container,w,o,this.gridColor,i,1,this.dashLength),i.translate(this.x,this.y),this.grid0=i,h.axesSet.push(i),i.toBack(),n.setCN(h,i,this.bcn+"zero-grid-"+this.id),n.setCN(h,i,this.bcn+"zero-grid"))),!isNaN(s)&&0<it&&t<l-1){for(i=e/s,u&&(s=e*(t+d)+this.minCalc,s=n.roundTo(s,this.maxDecCount+1),y>this.logGridLimit&&(s=Math.pow(10,t+d)),i=9,s=(s-f)/i),b=this.gridAlpha,this.gridAlpha=this.minorGridAlpha,p=1;p<i;p++)ut=this.getCoordinate(f+s*p),ut=new this.axisItemRenderer(this,ut,"",!1,0,0,!1,!1,0,!0),this.pushAxisItem(ut);this.gridAlpha=b}}if(y=this.guides,0<(rt=y.length)){for(w=this.fillAlpha,t=this.fillAlpha=0;t<rt;t++)o=y[t],c=NaN,s=o.above,isNaN(o.toValue)||(c=this.getCoordinate(o.toValue),r=new this.axisItemRenderer(this,c,"",!0,NaN,NaN,o),this.pushAxisItem(r,s)),a=NaN,isNaN(o.value)||(a=this.getCoordinate(o.value),r=new this.axisItemRenderer(this,a,o.label,!0,NaN,(c-a)/2,o),this.pushAxisItem(r,s)),isNaN(c)&&(a-=3,c=a+3),o.balloonText&&r&&(tt=r.label)&&this.addEventListeners(tt,o),isNaN(c-a)||0>a&&0>c||(c=new this.guideFillRenderer(this,a,c,o),this.pushAxisItem(c,s),s=c.graphics(),o.graphics=s,o.balloonText&&this.addEventListeners(s,o));this.fillAlpha=w}r=this.baseValue;this.min>this.baseValue&&this.max>this.baseValue&&(r=this.min);this.min<this.baseValue&&this.max<this.baseValue&&(r=this.max);u&&r<this.minReal&&(r=this.minReal);this.baseCoord=this.getCoordinate(r,!0);r={type:"axisChanged",target:this,chart:h};r.min=u?this.minReal:this.min;r.max=this.max;this.fire(r);this.axisCreated=!0}u=this.axisLine.set;r=this.labelsSet;nt.translate(this.x,this.y);r.translate(this.x,this.y);this.positionTitle();"radar"!=h.type&&u.toFront();!this.visible||k?(nt.hide(),u.hide(),r.hide()):(nt.show(),u.show(),r.show());this.axisY=this.y;this.axisX=this.x},getDateMinMax:function(){this.minimumDate&&(this.minimumDate instanceof Date||(this.minimumDate=n.getDate(this.minimumDate,this.chart.dataDateFormat,"fff")),this.min=this.minimumDate.getTime());this.maximumDate&&(this.maximumDate instanceof Date||(this.maximumDate=n.getDate(this.maximumDate,this.chart.dataDateFormat,"fff")),this.max=this.maximumDate.getTime())},formatValue:function(t,i,r){var u=this.exponential,o=this.logarithmic,f=this.numberFormatter,e=this.chart;if(f)return!0===this.logarithmic&&(u=-1!=String(t).indexOf("e")),this.useScientificNotation&&(u=!0),this.usePrefixes&&(u=!1),u?(r=-1==String(t).indexOf("e")?t.toExponential(15):String(t),u=r.split("e"),r=Number(u[0]),u=Number(u[1]),r=n.roundTo(r,14),i||isNaN(this.precision)||(r=n.roundTo(r,this.precision)),10==r&&(r=1,u+=1),r=r+"e"+u,0===t&&(r="0"),1==t&&(r="1")):(o&&(u=String(t).split("."),u[1]?(f.precision=u[1].length,0>r&&(f.precision=Math.abs(r)),i&&1<t&&(f.precision=0),i||isNaN(this.precision)||(f.precision=this.precision)):f.precision=-1),r=this.usePrefixes?n.addPrefix(t,e.prefixesOfBigNumbers,e.prefixesOfSmallNumbers,f,!i):n.formatNumber(t,f,f.precision)),this.duration&&(i&&(f.precision=0),r=n.formatDuration(t,this.duration,"",this.durationUnits,this.maxInterval,f)),"date"==this.type&&(r=n.formatDate(new Date(t),this.currentDateFormat,e)),this.recalculateToPercents?r+="%":(i=this.unit)&&(r="left"==this.unitPosition?i+r:r+i),this.labelFunction&&(r="date"==this.type?this.labelFunction(r,new Date(t),this).toString():this.labelFunction(t,r,this).toString()),r},getMinorGridStep:function(n,t){var f=[5,4,2],e,u,i,r;for(60>t&&f.shift(),e=Math.floor(Math.log(Math.abs(n))*Math.LOG10E),u=0;u<f.length;u++)if(i=n/f[u],r=Math.floor(Math.log(Math.abs(i))*Math.LOG10E),!(1<Math.abs(e-r)))if(1>n){if((r=Math.pow(10,-r)*i)==Math.round(r))return i}else if(i==Math.round(i))return i},stackGraphs:function(t){var h=this.stackType,w,l;"stacked"==h&&(h="regular");"line"==h&&(h="none");"100% stacked"==h&&(h="100%");this.stackType=h;var f,a,r,u,e,i,c=[],o=[],s=[],v=[],y=this.chart.graphs,b=this.baseValue,p=!1;if("line"!=t&&"step"!=t&&"smoothedLine"!=t||(p=!0),p&&("regular"==h||"100%"==h))for(e=0;e<y.length;e++)u=y[e],u.stackGraph=null,u.hidden||(r=u.type,u.chart==this.chart&&u.valueAxis==this&&t==r&&u.stackable&&(a&&(u.stackGraph=a),a=u));for(u=this.start-10,a=this.end+10,e=this.data.length-1,u=n.fitToBounds(u,0,e),a=n.fitToBounds(a,0,e),i=u;i<=a;i++)for(w=0,e=0;e<y.length;e++)(u=y[e],u.hidden)?u.newStack&&(s[i]=NaN,o[i]=NaN):(r=u.type,u.chart==this.chart&&u.valueAxis==this&&t==r&&u.stackable)&&((r=this.data[i].axes[this.id].graphs[u.id],f=r.values.value,isNaN(f))?u.newStack&&(s[i]=NaN,o[i]=NaN):(l=n.getDecimals(f),w<l&&(w=l),isNaN(v[i])?v[i]=Math.abs(f):v[i]+=Math.abs(f),v[i]=n.roundTo(v[i],w),l=u.fillToGraph,p&&l&&(l=this.data[i].axes[this.id].graphs[l.id])&&(r.values.open=l.values.value),"regular"==h&&(p&&(isNaN(c[i])?(c[i]=f,r.values.close=f,r.values.open=this.baseValue):(r.values.close=isNaN(f)?c[i]:f+c[i],r.values.open=c[i],c[i]=r.values.close)),"column"==t&&(u.newStack&&(s[i]=NaN,o[i]=NaN),r.values.close=f,0>f?(r.values.close=f,isNaN(o[i])?r.values.open=b:(r.values.close+=o[i],r.values.open=o[i]),o[i]=r.values.close):(r.values.close=f,isNaN(s[i])?r.values.open=b:(r.values.close+=s[i],r.values.open=s[i]),s[i]=r.values.close)))));for(i=this.start;i<=this.end;i++)for(e=0;e<y.length;e++)u=y[e],u.hidden?u.newStack&&(s[i]=NaN,o[i]=NaN):(r=u.type,u.chart==this.chart&&u.valueAxis==this&&t==r&&u.stackable&&(r=this.data[i].axes[this.id].graphs[u.id],f=r.values.value,isNaN(f)||(c=f/v[i]*100,r.values.percents=c,r.values.total=v[i],u.newStack&&(s[i]=NaN,o[i]=NaN),"100%"==h&&(isNaN(o[i])&&(o[i]=0),isNaN(s[i])&&(s[i]=0),0>c?(r.values.close=n.fitToBounds(c+o[i],-100,100),r.values.open=o[i],o[i]=r.values.close):(r.values.close=n.fitToBounds(c+s[i],-100,100),r.values.open=s[i],s[i]=r.values.close)))))},recalculate:function(){for(var r=this.chart,l=r.graphs,u,f,i,s,e,h=0;h<l.length;h++)if(u=l[h],u.valueAxis==this){f="value";"candlestick"!=u.type&&"ohlc"!=u.type||(f="open");var o,t,c=this.end+2,c=n.fitToBounds(this.end+1,0,this.data.length-1),e=this.start;if(0<e&&e--,t=this.start,u.compareFromStart&&(t=0),!isNaN(r.startTime)&&(i=r.categoryAxis)){var a=i.minDuration(),a=new Date(r.startTime+a/2),v=n.resetDateToMin(new Date(r.startTime),i.minPeriod).getTime();n.resetDateToMin(new Date(a),i.minPeriod).getTime()>v&&t++}for((i=r.recalculateFromDate)&&(i=n.getDate(i,r.dataDateFormat,"fff"),t=r.getClosestIndex(r.chartData,"time",i.getTime(),!0,0,r.chartData.length),c=r.chartData.length-1),i=t;i<=c&&(t=this.data[i].axes[this.id].graphs[u.id],o=t.values[f],u.recalculateValue&&(o=t.dataContext[u.valueField+u.recalculateValue]),isNaN(o));i++);for(this.recBaseValue=o,f=e;f<=c;f++){t=this.data[f].axes[this.id].graphs[u.id];t.percents={};e=t.values;for(s in e)t.percents[s]="percents"!=s?e[s]/o*100-100:e[s]}}},getMinMax:function(){for(var r=!1,u=this.chart,t=u.graphs,f,i=0;i<t.length;i++)f=t[i].type,("line"==f||"step"==f||"smoothedLine"==f)&&this.expandMinMax&&(r=!0);if(r&&(0<this.start&&this.start--,this.end<this.data.length-1&&this.end++),"serial"==u.type&&(!0!==u.categoryAxis.parseDates||r||this.end<this.data.length-1&&this.end++),this.includeAllValues&&(this.start=0,this.end=this.data.length-1),r=this.minMaxMultiplier,u=this.getExtremes(this.start,this.end),this.min=u.min,this.max=u.max,this.minRR=this.min,this.maxRR=this.max,r=(this.max-this.min)*(r-1),this.min-=r,this.max+=r,r=this.guides.length,this.includeGuidesInMinMax&&0<r)for(u=0;u<r;u++)t=this.guides[u],t.toValue<this.min&&(this.min=t.toValue),t.value<this.min&&(this.min=t.value),t.toValue>this.max&&(this.max=t.toValue),t.value>this.max&&(this.max=t.value);isNaN(this.minimum)||(this.min=this.minimum);isNaN(this.maximum)||(this.max=this.maximum);"date"==this.type&&this.getDateMinMax();this.min>this.max&&(r=this.max,this.max=this.min,this.min=r);isNaN(this.minZoom)||(this.min=this.minZoom);isNaN(this.maxZoom)||(this.max=this.maxZoom);this.minCalc=this.min;this.maxCalc=this.max;this.minReal=this.min;this.maxReal=this.max;0===this.min&&0===this.max&&(this.max=9);this.min>this.max&&(this.min=this.max-1);r=this.min;u=this.max;t=this.max-this.min;i=0===t?Math.pow(10,Math.floor(Math.log(Math.abs(this.max))*Math.LOG10E))/10:Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E))/10;isNaN(this.maximum)&&(this.max=Math.ceil(this.max/i)*i+i);isNaN(this.minimum)&&(this.min=Math.floor(this.min/i)*i-i);0>this.min&&0<=r&&(this.min=0);0<this.max&&0>=u&&(this.max=0);"100%"==this.stackType&&(this.min=0>this.min?-100:0,this.max=0>this.max?0:100);t=this.max-this.min;i=Math.pow(10,Math.floor(Math.log(Math.abs(t))*Math.LOG10E))/10;this.step=Math.ceil(t/this.gridCountR/i)*i;t=Math.pow(10,Math.floor(Math.log(Math.abs(this.step))*Math.LOG10E));t=n.fixStepE(t);i=Math.ceil(this.step/t);5<i&&(i=10);5>=i&&2<i&&(i=5);this.step=Math.ceil(this.step/(t*i))*t*i;isNaN(this.setStep)||(this.step=this.setStep);1>t?(this.maxDecCount=Math.abs(Math.log(Math.abs(t))*Math.LOG10E),this.maxDecCount=Math.round(this.maxDecCount),this.step=n.roundTo(this.step,this.maxDecCount+1)):this.maxDecCount=0;this.min=this.step*Math.floor(this.min/this.step);this.max=this.step*Math.ceil(this.max/this.step);0>this.min&&0<=r&&(this.min=0);0<this.max&&0>=u&&(this.max=0);1<this.minReal&&1<this.max-this.minReal&&(this.minReal=Math.floor(this.minReal));t=Math.pow(10,Math.floor(Math.log(Math.abs(this.minReal))*Math.LOG10E));0===this.min&&(this.minReal=t);0===this.min&&1<this.minReal&&(this.minReal=1);0<this.min&&0<this.minReal-this.step&&(this.minReal=this.min+this.step<this.minReal?this.min+this.step:this.min);this.logarithmic&&(2<Math.log(u)*Math.LOG10E-Math.log(r)*Math.LOG10E?(this.minReal=this.min=Math.pow(10,Math.floor(Math.log(Math.abs(r))*Math.LOG10E)),this.max=Math.pow(10,Math.ceil(Math.log(Math.abs(u))*Math.LOG10E))):(r=Math.pow(10,Math.floor(Math.log(Math.abs(r))*Math.LOG10E))/10,Math.pow(10,Math.floor(Math.log(Math.abs(this.min))*Math.LOG10E))/10<r&&(this.minReal=this.min=10*r)))},getExtremes:function(n,t){for(var u,f,o,s,r,i,e,h=n;h<=t;h++){s=this.data[h].axes[this.id].graphs;for(o in s)if(s.hasOwnProperty(o)&&(r=this.chart.graphsById[o],r.includeInMinMax&&(!r.hidden||this.includeHidden)))if(isNaN(u)&&(u=1/0),isNaN(f)&&(f=-1/0),this.foundGraphs=!0,r=s[o].values,this.recalculateToPercents&&(r=s[o].percents),this.minMaxField)i=r[this.minMaxField],i<u&&(u=i),i>f&&(f=i);else for(e in r)r.hasOwnProperty(e)&&"percents"!=e&&"total"!=e&&"error"!=e&&(i=r[e],i<u&&(u=i),i>f&&(f=i))}return{min:u,max:f}},zoomOut:function(n){this.maxZoom=this.minZoom=NaN;this.zoomToRelativeValues(0,1,n)},zoomToRelativeValues:function(n,t,i){var r;this.reversed&&(r=n,n=1-t,t=1-r);var u=this.fullMax,r=this.fullMin,f=r+(u-r)*n,e=r+(u-r)*t;return this.logarithmic&&(u=Math.log(u)*Math.LOG10E-Math.log(r)*Math.LOG10E,f=Math.pow(10,u*n+Math.log(r)*Math.LOG10E),e=Math.pow(10,u*t+Math.log(r)*Math.LOG10E)),this.zoomToValues(f,e,i)},zoomToValues:function(t,i,r){var u,f,e;return i<t&&(u=i,i=t,t=u),f=this.fullMax,u=this.fullMin,(this.relativeStart=(t-u)/(f-u),this.relativeEnd=(i-u)/(f-u),this.logarithmic)&&(f=Math.log(f)*Math.LOG10E-Math.log(u)*Math.LOG10E,e=Math.log(i)/Math.LN10-Math.log(u)*Math.LOG10E,this.relativeStart=(Math.log(t)/Math.LN10-Math.log(u)*Math.LOG10E)/f,this.relativeEnd=e/f),this.minZoom!=t||this.maxZoom!=i?(this.minZoom=t,this.maxZoom=i,u={type:"axisZoomed"},u.chart=this.chart,u.valueAxis=this,u.startValue=t,u.endValue=i,u.relativeStart=this.relativeStart,u.relativeEnd=this.relativeEnd,this.prevStartValue==t&&this.prevEndValue==i||this.fire(u),this.prevStartValue=t,this.prevEndValue=i,r||(t={},n.copyProperties(u,t),t.type="axisIntZoomed",this.fire(t)),0===this.relativeStart&&1==this.relativeEnd&&(this.maxZoom=this.minZoom=NaN),!0):void 0},coordinateToValue:function(n){if(isNaN(n))return NaN;var i=this.axisWidth,t=this.stepWidth,u=this.reversed,f=this.rotate,r=this.min,e=this.minReal;return!0===this.logarithmic?Math.pow(10,(f?!0===u?(i-n)/t:n/t:!0===u?n/t:(i-n)/t)+Math.log(e)*Math.LOG10E):!0===u?f?r-(n-i)/t:n/t+r:f?n/t+r:r-(n-i)/t},getCoordinate:function(n,t){if(isNaN(n))return NaN;var i=this.rotate,e=this.reversed,f=this.axisWidth,u=this.stepWidth,r=this.min,o=this.minReal;return!0===this.logarithmic?(0===n&&(n=this.treatZeroAs),r=Math.log(n)*Math.LOG10E-Math.log(o)*Math.LOG10E,i=i?!0===e?f-u*r:u*r:!0===e?u*r:f-u*r):i=!0===e?i?f-u*(n-r):u*(n-r):i?u*(n-r):f-u*(n-r),1e7<Math.abs(i)&&(i=i/Math.abs(i)*1e7),t||(i=Math.round(i)),i},synchronizeWithAxis:function(n){this.synchronizeWith=n;this.listenTo(this.synchronizeWith,"axisChanged",this.handleSynchronization)},handleSynchronization:function(){if(this.synchronizeWith){n.isString(this.synchronizeWith)&&(this.synchronizeWith=this.chart.getValueAxisById(this.synchronizeWith));var t=this.synchronizeWith,i=t.min,u=t.max,t=t.step,r=this.synchronizationMultiplier;r&&(this.min=i*r,this.max=u*r,this.step=t*r,i=Math.abs(Math.log(Math.abs(Math.pow(10,Math.floor(Math.log(Math.abs(this.step))*Math.LOG10E))))*Math.LOG10E),this.maxDecCount=i=Math.round(i),this.draw())}}})}(),function(){var n=window.AmCharts;n.RecAxis=n.Class({construct:function(t){var f=t.chart,i=t.axisThickness,r=t.axisColor,c=t.axisAlpha,e=t.offset,l=t.dx,u=t.dy,o=t.x,s=t.y,h=t.height,v=t.width,a=f.container;"H"==t.orientation?(r=n.line(a,[0,v],[0,0],r,c,i),this.axisWidth=t.width,"bottom"==t.position?(u=i/2+e+h+s-1,i=o):(u=-i/2-e+s+u,i=l+o)):(this.axisWidth=t.height,"right"==t.position?(r=n.line(a,[0,0,-l],[0,h,h-u],r,c,i),u=s+u,i=i/2+e+l+v+o-1):(r=n.line(a,[0,0],[0,h],r,c,i),u=s,i=-i/2-e+o));r.translate(i,u);i=f.container.set();i.push(r);f.axesSet.push(i);n.setCN(f,r,t.bcn+"line");this.axisSet=i;this.set=r}})}(),function(){var n=window.AmCharts;n.RecItem=n.Class({construct:function(t,i,r,u,f,e,o,s,h,c,l,a){var g,ii,b,bt,ot,yt,nt,w;i=Math.round(i);g=t.chart;this.value=r;void 0==r&&(r="");h||(h=0);void 0==u&&(u=!0);ii=g.fontFamily;b=t.fontSize;void 0==b&&(b=g.fontSize);bt=t.color;void 0==bt&&(bt=g.color);void 0!==l&&(bt=l);ot=t.chart.container;yt=ot.set();this.set=yt;var ht=t.axisThickness,oi=t.axisColor,ni=t.axisAlpha,y=t.tickLength,dt=t.gridAlpha,gt=t.gridThickness,ri=t.gridColor,ui=t.dashLength,si=t.fillColor,ti=t.fillAlpha,hi=t.labelsEnabled;l=t.labelRotationR;var ut,st,fi=t.counter,d=t.inside,ct=t.labelOffset,ft=t.dx,rt=t.dy,ci=t.orientation,lt=t.position,kt=t.previousCoord,it=t.height,at=t.width,et=t.offset;o?(void 0!==o.id&&(a=g.classNamePrefix+"-guide-"+o.id),hi=!0,isNaN(o.tickLength)||(y=o.tickLength),void 0!=o.lineColor&&(ri=o.lineColor),void 0!=o.color&&(bt=o.color),isNaN(o.lineAlpha)||(dt=o.lineAlpha),isNaN(o.dashLength)||(ui=o.dashLength),isNaN(o.lineThickness)||(gt=o.lineThickness),!0===o.inside&&(d=!0,0<et&&(et=0)),isNaN(o.labelRotation)||(l=o.labelRotation),isNaN(o.fontSize)||(b=o.fontSize),o.position&&(lt=o.position),void 0!==o.boldLabel&&(s=o.boldLabel),isNaN(o.labelOffset)||(ct=o.labelOffset)):""===r&&(y=0);c&&!isNaN(t.minorTickLength)&&(y=t.minorTickLength);nt="start";0<f&&(nt="middle");t.centerLabels&&(nt="middle");var pt,vt,k=l*Math.PI/180,p=0,v=0,wt=0,tt=pt=0,ei=0;"V"==ci&&(l=0);hi&&""!==r&&(w=t.autoWrap&&0===l?n.wrappedText(ot,r,bt,ii,b,nt,s,Math.abs(f),0):n.text(ot,r,bt,ii,b,nt,s),nt=w.getBBox(),tt=nt.width,ei=nt.height);"H"==ci?(0<=i&&i<=at+1&&(0<y&&0<ni&&i+h<=at+1&&(ut=n.line(ot,[i+h,i+h],[0,y],oi,ni,gt),yt.push(ut)),0<dt&&(st=n.line(ot,[i,i+ft,i+ft],[it,it+rt,rt],ri,dt,gt,ui),yt.push(st))),v=0,p=i,o&&90==l&&d&&(p-=b),!1===u?(nt="start",v="bottom"==lt?d?v+y:v-y:d?v-y:v+y,p+=3,0<f&&(p+=f/2-3,nt="middle"),0<l&&(nt="middle")):nt="middle",1==fi&&0<ti&&!o&&!c&&kt<at&&(u=n.fitToBounds(i,0,at),kt=n.fitToBounds(kt,0,at),0<(pt=u-kt)&&(vt=n.rect(ot,pt,t.height,si,ti),vt.translate(u-pt+ft,rt),yt.push(vt))),"bottom"==lt?(v+=it+b/2+et,d?(0<l?(v=it-tt/2*Math.sin(k)-y-3,t.centerRotatedLabels||(p+=tt/2*Math.cos(k)-2)):0>l?(v=it+tt*Math.sin(k)-y-1,p+=-tt*Math.cos(k)-ei*Math.sin(k)-4):v-=y+b+3+3,v-=ct):(0<l?(v=it+tt/2*Math.sin(k)+y+3,t.centerRotatedLabels||(p-=tt/2*Math.cos(k))):0>l?(v=it+y+3-tt/2*Math.sin(k)+2,p+=tt/2*Math.cos(k)):v+=y+ht+3+3,v+=ct)):(v+=rt+b/2-et,p+=ft,d?(0<l?(v=tt/2*Math.sin(k)+y+3,t.centerRotatedLabels||(p-=tt/2*Math.cos(k))):v+=y+3,v+=ct):(0<l?(v=-tt/2*Math.sin(k)-y-6,t.centerRotatedLabels||(p+=tt/2*Math.cos(k))):v-=y+b+3+ht+3,v-=ct)),"bottom"==lt?pt=(d?it-y-1:it+ht-1)+et:(wt=ft,pt=(d?rt:rt-y-ht+1)-et),e&&(p+=e),b=p,0<l&&(b+=tt/2*Math.cos(k)),w&&(e=0,d&&(e=tt/2*Math.cos(k)),b+e>at+2||0>b)&&(w.remove(),w=null)):(0<=i&&i<=it+1&&(0<y&&0<ni&&i+h<=it+1&&(ut=n.line(ot,[0,y+1],[i+h,i+h],oi,ni,gt),yt.push(ut)),0<dt&&(st=n.line(ot,[0,ft,at+ft],[i,i+rt,i+rt],ri,dt,gt,ui),yt.push(st))),nt="end",(!0===d&&"left"==lt||!1===d&&"right"==lt)&&(nt="start"),v=i-ei/2+2,1==fi&&0<ti&&!o&&!c&&(u=n.fitToBounds(i,0,it),kt=n.fitToBounds(kt,0,it),k=u-kt,vt=n.polygon(ot,[0,t.width,t.width,0],[0,0,k,k],si,ti),vt.translate(ft,u-k+rt),yt.push(vt)),v+=b/2,"right"==lt?(p+=ft+at+et,v+=rt,d?(e||(v-=b/2+3),p=p-(y+4)-ct):(p+=y+4+ht,v-=2,p+=ct)):d?(p+=y+4-et,e||(v-=b/2+3),o&&(p+=ft,v+=rt),p+=ct):(p+=-y-ht-6-et,v-=2,p-=ct),ut&&("right"==lt?(wt+=ft+et+at-1,pt+=rt,wt=d?wt-ht:wt+ht):(wt-=et,d||(wt-=y+ht))),e&&(v+=e),d=-3,"right"==lt&&(d+=rt),w&&(v>it+1||v<d-b/10)&&(w.remove(),w=null));ut&&(ut.translate(wt,pt),n.setCN(g,ut,t.bcn+"tick"),n.setCN(g,ut,a,!0),o&&n.setCN(g,ut,"guide"));!1===t.visible&&(ut&&ut.remove(),w&&(w.remove(),w=null));w&&(w.attr({"text-anchor":nt}),w.translate(p,v,NaN,!0),0!==l&&w.rotate(-l,t.chart.backgroundColor),t.allLabels.push(w),this.label=w,n.setCN(g,w,t.bcn+"label"),n.setCN(g,w,a,!0),o&&n.setCN(g,w,"guide"));st&&(n.setCN(g,st,t.bcn+"grid"),n.setCN(g,st,a,!0),o&&n.setCN(g,st,"guide"));vt&&(n.setCN(g,vt,t.bcn+"fill"),n.setCN(g,vt,a,!0));c?st&&n.setCN(g,st,t.bcn+"grid-minor"):(t.counter=0===fi?1:0,t.previousCoord=i);0===this.set.node.childNodes.length&&this.set.remove()},graphics:function(){return this.set},getLabel:function(){return this.label}})}(),function(){var n=window.AmCharts;n.RecFill=n.Class({construct:function(t,i,r,u){var c=t.dx,l=t.dy,f=t.orientation,h=0,o,e,s;r<i&&(e=i,i=r,r=e);o=u.fillAlpha;isNaN(o)&&(o=0);e=t.chart.container;s=u.fillColor;"V"==f?(i=n.fitToBounds(i,0,t.height),r=n.fitToBounds(r,0,t.height)):(i=n.fitToBounds(i,0,t.width),r=n.fitToBounds(r,0,t.width));r-=i;isNaN(r)&&(r=4,h=2,o=0);0>r&&"object"==typeof s&&(s=s.join(",").split(",").reverse());"V"==f?(f=n.rect(e,t.width,r,s,o),f.translate(c,i-h+l)):(f=n.rect(e,r,t.height,s,o),f.translate(i-h+c,l));n.setCN(t.chart,f,"guide-fill");u.id&&n.setCN(t.chart,f,"guide-fill-"+u.id);this.set=e.set([f])},graphics:function(){return this.set},getLabel:function(){}})}(),function(){var n=window.AmCharts;n.AmChart=n.Class({construct:function(t){this.svgIcons=this.tapToActivate=!0;this.theme=t;this.classNamePrefix="amcharts";this.addClassNames=!1;this.version="3.20.13";n.addChart(this);this.createEvents("buildStarted","dataUpdated","init","rendered","drawn","failed","resized","animationFinished");this.height=this.width="100%";this.dataChanged=!0;this.chartCreated=!1;this.previousWidth=this.previousHeight=0;this.backgroundColor="#FFFFFF";this.borderAlpha=this.backgroundAlpha=0;this.color=this.borderColor="#000000";this.fontFamily="Verdana";this.fontSize=11;this.usePrefixes=!1;this.autoResize=!0;this.autoDisplay=!1;this.addCodeCredits=this.accessible=!0;this.touchStartTime=this.touchClickDuration=0;this.precision=-1;this.percentPrecision=2;this.decimalSeparator=".";this.thousandsSeparator=",";this.labels=[];this.allLabels=[];this.titles=[];this.marginRight=this.marginLeft=this.autoMarginOffset=0;this.timeOuts=[];this.creditsPosition="top-left";var r=document.createElement("div"),i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.chartDiv=r;r=document.createElement("div");i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.legendDiv=r;this.titleHeight=0;this.hideBalloonTime=150;this.handDrawScatter=2;this.cssScale=this.handDrawThickness=1;this.cssAngle=0;this.prefixesOfBigNumbers=[{number:1e3,prefix:"k"},{number:1e6,prefix:"M"},{number:1e9,prefix:"G"},{number:1e12,prefix:"T"},{number:1e15,prefix:"P"},{number:1e18,prefix:"E"},{number:1e21,prefix:"Z"},{number:1e24,prefix:"Y"}];this.prefixesOfSmallNumbers=[{number:1e-24,prefix:"y"},{number:1e-21,prefix:"z"},{number:1e-18,prefix:"a"},{number:1e-15,prefix:"f"},{number:1e-12,prefix:"p"},{number:1e-9,prefix:"n"},{number:1e-6,prefix:"μ"},{number:.001,prefix:"m"}];this.panEventsEnabled=!0;this.product="amcharts";this.animations=[];this.balloon=new n.AmBalloon(this.theme);this.balloon.chart=this;this.processTimeout=0;this.processCount=1e3;this.animatable=[];this.langObj={};n.applyTheme(this,t,"AmChart")},drawChart:function(){0<this.realWidth&&0<this.realHeight&&(this.drawBackground(),this.redrawLabels(),this.drawTitles(),this.brr(),this.renderFix(),this.chartDiv&&(this.boundingRect=this.chartDiv.getBoundingClientRect()))},makeAccessible:function(n,t,i){this.accessible&&n&&(i&&n.setAttr("role",i),n.setAttr("aria-label",t))},drawBackground:function(){var r,u;n.remove(this.background);var i=this.container,t=this.backgroundColor,f=this.backgroundAlpha,e=this.set;n.isModern||0!==f||(f=.001);r=this.updateWidth();this.realWidth=r;u=this.updateHeight();this.realHeight=u;t=n.polygon(i,[0,r-1,r-1,0],[0,0,u-1,u-1],t,f,1,this.borderColor,this.borderAlpha);n.setCN(this,t,"bg");this.background=t;e.push(t);(t=this.backgroundImage)&&(i=i.image(t,0,0,r,u),n.setCN(this,t,"bg-image"),this.bgImg=i,e.push(i))},drawTitles:function(t){var o=this.titles,u,f,i,r,e,s,h;if(this.titleHeight=0,n.ifArray(o)){for(f=20,u=0;u<o.length;u++)i=o[u],i=n.processObject(i,n.Title,this.theme),!1!==i.enabled&&(r=i.color,void 0===r&&(r=this.color),e=i.size,isNaN(e)&&(e=this.fontSize+2),isNaN(i.alpha),s=this.marginLeft,h=!0,void 0!==i.bold&&(h=i.bold),r=n.wrappedText(this.container,i.text,r,this.fontFamily,e,"middle",h,this.realWidth-35),r.translate(s+(this.realWidth-this.marginRight-s)/2,f),r.node.style.pointerEvents="none",i.sprite=r,void 0!==i.tabIndex&&r.setAttr("tabindex",i.tabIndex),n.setCN(this,r,"title"),i.id&&n.setCN(this,r,"title-"+i.id),r.attr({opacity:i.alpha}),f+=r.getBBox().height+5,t?r.remove():this.freeLabelsSet.push(r));this.titleHeight=f-10}},write:function(n){var t=this,i,r;if(t.listeners)for(i=0;i<t.listeners.length;i++)r=t.listeners[i],t.addListener(r.event,r.method);t.fire({type:"buildStarted",chart:t});t.afterWriteTO&&clearTimeout(t.afterWriteTO);0<t.processTimeout?t.afterWriteTO=setTimeout(function(){t.afterWrite.call(t,n)},t.processTimeout):t.afterWrite(n)},afterWrite:function(t){var f,s,i;if(f="object"!=typeof t?document.getElementById(t):t){for(;f.firstChild;)f.removeChild(f.firstChild);this.div=f;f.style.overflow="hidden";f.style.textAlign="left";t=this.chartDiv;var o=this.legendDiv,r=this.legend,u=o.style,e=t.style;if(this.measure(),this.previousHeight=this.divRealHeight,this.previousWidth=this.divRealWidth,i=document.createElement("div"),s=i.style,s.position="relative",this.containerDiv=i,i.className=this.classNamePrefix+"-main-div",t.className=this.classNamePrefix+"-chart-div",f.appendChild(i),(f=this.exportConfig)&&n.AmExport&&!this.AmExport&&(this.AmExport=new n.AmExport(this,f)),this.amExport&&n.AmExport&&(this.AmExport=n.extend(this.amExport,new n.AmExport(this),!0)),this.AmExport&&this.AmExport.init&&this.AmExport.init(),r){if(r=this.addLegend(r,r.divId),r.enabled)switch(u.left=null,u.top=null,u.right=null,e.left=null,e.right=null,e.top=null,u.position="relative",e.position="relative",s.width="100%",s.height="100%",r.position){case"bottom":i.appendChild(t);i.appendChild(o);break;case"top":i.appendChild(o);i.appendChild(t);break;case"absolute":u.position="absolute";e.position="absolute";void 0!==r.left&&(u.left=r.left+"px");void 0!==r.right&&(u.right=r.right+"px");void 0!==r.top&&(u.top=r.top+"px");void 0!==r.bottom&&(u.bottom=r.bottom+"px");r.marginLeft=0;r.marginRight=0;i.appendChild(t);i.appendChild(o);break;case"right":u.position="relative";e.position="absolute";i.appendChild(t);i.appendChild(o);break;case"left":u.position="absolute";e.position="relative";i.appendChild(t);i.appendChild(o);break;case"outside":i.appendChild(t)}else i.appendChild(t);this.prevLegendPosition=r.position}else i.appendChild(t);this.listenersAdded||(this.addListeners(),this.listenersAdded=!0);this.initChart()}},createLabelsSet:function(){n.remove(this.labelsSet);this.labelsSet=this.container.set();this.freeLabelsSet.push(this.labelsSet)},initChart:function(){this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme);window.AmCharts_path&&(this.path=window.AmCharts_path);void 0===this.path&&(this.path=n.getPath());void 0===this.path&&(this.path="amcharts/");this.path=n.normalizeUrl(this.path);void 0===this.pathToImages&&(this.pathToImages=this.path+"images/");this.initHC||(n.callInitHandler(this),this.initHC=!0);n.applyLang(this.language,this);var t=this.numberFormatter;t&&(isNaN(t.precision)||(this.precision=t.precision),void 0!==t.thousandsSeparator&&(this.thousandsSeparator=t.thousandsSeparator),void 0!==t.decimalSeparator&&(this.decimalSeparator=t.decimalSeparator));(t=this.percentFormatter)&&!isNaN(t.precision)&&(this.percentPrecision=t.precision);this.nf={precision:this.precision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.pf={precision:this.percentPrecision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.destroy();(t=this.container)?(t.container.innerHTML="",t.width=this.realWidth,t.height=this.realHeight,t.addDefs(this),this.chartDiv.appendChild(t.container)):t=new n.AmDraw(this.chartDiv,this.realWidth,this.realHeight,this);this.container=t;this.extension=".png";this.svgIcons&&n.SVG&&(this.extension=".svg");this.checkDisplay();this.checkTransform(this.div);t.chart=this;n.VML||n.SVG?(t.handDrawn=this.handDrawn,t.handDrawScatter=this.handDrawScatter,t.handDrawThickness=this.handDrawThickness,n.remove(this.set),this.set=t.set(),n.remove(this.gridSet),this.gridSet=t.set(),n.remove(this.cursorLineSet),this.cursorLineSet=t.set(),n.remove(this.graphsBehindSet),this.graphsBehindSet=t.set(),n.remove(this.bulletBehindSet),this.bulletBehindSet=t.set(),n.remove(this.columnSet),this.columnSet=t.set(),n.remove(this.graphsSet),this.graphsSet=t.set(),n.remove(this.trendLinesSet),this.trendLinesSet=t.set(),n.remove(this.axesSet),this.axesSet=t.set(),n.remove(this.cursorSet),this.cursorSet=t.set(),n.remove(this.scrollbarsSet),this.scrollbarsSet=t.set(),n.remove(this.bulletSet),this.bulletSet=t.set(),n.remove(this.freeLabelsSet),this.freeLabelsSet=t.set(),n.remove(this.axesLabelsSet),this.axesLabelsSet=t.set(),n.remove(this.balloonsSet),this.balloonsSet=t.set(),n.remove(this.plotBalloonsSet),this.plotBalloonsSet=t.set(),n.remove(this.zoomButtonSet),this.zoomButtonSet=t.set(),n.remove(this.zbSet),this.zbSet=null,n.remove(this.linkSet),this.linkSet=t.set()):this.fire({type:"failed",chart:this})},premeasure:function(){var n=this.div,t,i;if(n){try{this.boundingRect=this.chartDiv.getBoundingClientRect()}catch(n){}t=n.offsetWidth;i=n.offsetHeight;n.clientHeight&&(t=n.clientWidth,i=n.clientHeight);t==this.mw&&i==this.mh||(this.mw=t,this.mh=i,this.measure())}},measure:function(){var t=this.div;if(t){var f=this.chartDiv,i=t.offsetWidth,r=t.offsetHeight,e=this.container;t.clientHeight&&(i=t.clientWidth,r=t.clientHeight);var r=Math.round(r),i=Math.round(i),t=Math.round(n.toCoordinate(this.width,i)),u=Math.round(n.toCoordinate(this.height,r));(i!=this.previousWidth||r!=this.previousHeight)&&0<t&&0<u&&(f.style.width=t+"px",f.style.height=u+"px",f.style.padding=0,e&&e.setSize(t,u),this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme));this.balloon.setBounds&&this.balloon.setBounds(2,2,t-2,u);this.balloon.chart=this;this.realWidth=t;this.realHeight=u;this.divRealWidth=i;this.divRealHeight=r}},checkDisplay:function(){if(this.autoDisplay&&this.container){var t=n.rect(this.container,10,10),i=t.getBBox();0===i.width&&0===i.height&&(this.divRealHeight=this.divRealWidth=this.realHeight=this.realWidth=0,this.previousWidth=this.previousHeight=NaN);t.remove()}},checkTransform:function(n){var t;if(this.autoTransform&&window.getComputedStyle&&n){if(n.style&&(t=window.getComputedStyle(n,null),t&&(t=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("-moz-transform")||t.getPropertyValue("-ms-transform")||t.getPropertyValue("-o-transform")||t.getPropertyValue("transform"))&&"none"!==t)){var i=t.split("(")[1].split(")")[0].split(","),t=i[0],i=i[1],t=Math.sqrt(t*t+i*i);isNaN(t)||(this.cssScale*=t)}n.parentNode&&this.checkTransform(n.parentNode)}},destroy:function(){this.chartDiv.innerHTML="";this.clearTimeOuts();this.legend&&this.legend.destroy()},clearTimeOuts:function(){var t=this.timeOuts,n;if(t)for(n=0;n<t.length;n++)clearTimeout(t[n]);this.timeOuts=[]},clear:function(t){try{document.removeEventListener("touchstart",this.docfn1,!0);document.removeEventListener("touchend",this.docfn2,!0)}catch(n){}if(n.callMethod("clear",[this.chartScrollbar,this.scrollbarV,this.scrollbarH,this.chartCursor]),this.chartCursor=this.scrollbarH=this.scrollbarV=this.chartScrollbar=null,this.clearTimeOuts(),this.container&&(this.container.remove(this.chartDiv),this.container.remove(this.legendDiv)),t||n.removeChart(this),t=this.div)for(;t.firstChild;)t.removeChild(t.firstChild);this.legend&&this.legend.destroy();this.AmExport&&this.AmExport.clear&&this.AmExport.clear()},setMouseCursor:function(t){"auto"==t&&n.isNN&&(t="default");this.chartDiv.style.cursor=t;this.legendDiv.style.cursor=t},redrawLabels:function(){var t,n;for(this.labels=[],t=this.allLabels,this.createLabelsSet(),n=0;n<t.length;n++)this.drawLabel(t[n])},drawLabel:function(t){var i=this;if(i.container&&!1!==t.enabled){t=n.processObject(t,n.Label,i.theme);var f=t.y,r=t.text,u=t.align,s=t.size,h=t.color,e=t.rotation,c=t.alpha,l=t.bold,o=n.toCoordinate(t.x,i.realWidth),f=n.toCoordinate(f,i.realHeight);o||(o=0);f||(f=0);void 0===h&&(h=i.color);isNaN(s)&&(s=i.fontSize);u||(u="start");"left"==u&&(u="start");"right"==u&&(u="end");"center"==u&&(u="middle",e?f=i.realHeight-f+f/2:o=i.realWidth/2-o);void 0===c&&(c=1);void 0===e&&(e=0);f+=s/2;r=n.text(i.container,r,h,i.fontFamily,s,u,l,c);r.translate(o,f);void 0!==t.tabIndex&&r.setAttr("tabindex",t.tabIndex);n.setCN(i,r,"label");t.id&&n.setCN(i,r,"label-"+t.id);0!==e&&r.rotate(e);t.url?(r.setAttr("cursor","pointer"),r.click(function(){n.getURL(t.url,i.urlTarget)})):r.node.style.pointerEvents="none";i.labelsSet.push(r);i.labels.push(r)}},addLabel:function(n,t,i,r,u,f,e,o,s,h){n={x:n,y:t,text:i,align:r,size:u,color:f,alpha:o,rotation:e,bold:s,url:h,enabled:!0};this.container&&this.drawLabel(n);this.allLabels.push(n)},clearLabels:function(){for(var t=this.labels,n=t.length-1;0<=n;n--)t[n].remove();this.labels=[];this.allLabels=[]},updateHeight:function(){var n=this.divRealHeight,t=this.legend,i;return t&&(i=this.legendDiv.offsetHeight,t=t.position,"top"!=t&&"bottom"!=t||(n-=i,(0>n||isNaN(n))&&(n=0),this.chartDiv.style.height=n+"px")),n},updateWidth:function(){var t=this.divRealWidth,f=this.divRealHeight,n=this.legend,i,r;if(n){i=this.legendDiv;r=i.offsetWidth;isNaN(n.width)||(r=n.width);n.ieW&&(r=n.ieW);var e=i.offsetHeight,i=i.style,u=this.chartDiv.style,n=n.position;"right"!=n&&"left"!=n||(t-=r,(0>t||isNaN(t))&&(t=0),u.width=t+"px",this.balloon.setBounds(2,2,t-2,this.realHeight),"left"==n?(u.left=r+"px",i.left="0px"):(u.left="0px",i.left=t+"px"),f>e&&(i.top=(f-e)/2+"px"))}return t},getTitleHeight:function(){return this.drawTitles(!0),this.titleHeight},addTitle:function(n,t,i,r,u){return isNaN(t)&&(t=this.fontSize+2),n={text:n,size:t,color:i,alpha:r,bold:u,enabled:!0},this.titles.push(n),n},handleWheel:function(n){var t=0;n||(n=window.event);n.wheelDelta?t=n.wheelDelta/120:n.detail&&(t=-n.detail/3);t&&this.handleWheelReal(t,n.shiftKey);n.preventDefault&&n.preventDefault()},handleWheelReal:function(){},handleDocTouchStart:function(){var n=this;setTimeout(function(){n.hideBalloonReal()},300);n.handleMouseMove();n.tmx=n.mouseX;n.tmy=n.mouseY;n.touchStartTime=(new Date).getTime()},handleDocTouchEnd:function(){-.5<this.tmx&&this.tmx<this.divRealWidth+1&&0<this.tmy&&this.tmy<this.divRealHeight?(this.handleMouseMove(),4>Math.abs(this.mouseX-this.tmx)&&4>Math.abs(this.mouseY-this.tmy)?(this.tapped=!0,this.panRequired&&this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="none",this.chartDiv.style.touchAction="none")):this.mouseIsOver||this.resetTouchStyle()):(this.tapped=!1,this.resetTouchStyle())},resetTouchStyle:function(){this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="auto",this.chartDiv.style.touchAction="auto")},checkTouchDuration:function(n){var t=this,i=(new Date).getTime();if(n)if(n.touches)t.isTouchEvent=!0;else if(!t.isTouchEvent)return!0;if(i-t.touchStartTime>t.touchClickDuration)return!0;setTimeout(function(){t.resetTouchDuration()},300)},resetTouchDuration:function(){this.isTouchEvent=!1},checkTouchMoved:function(){if(4<Math.abs(this.mouseX-this.tmx)||4<Math.abs(this.mouseY-this.tmy))return!0},addListeners:function(){var n=this,t=n.chartDiv;document.addEventListener?("ontouchstart"in document.documentElement&&(t.addEventListener("touchstart",function(t){n.handleTouchStart.call(n,t)},!0),t.addEventListener("touchmove",function(t){n.handleMouseMove.call(n,t)},!0),t.addEventListener("touchend",function(t){n.handleTouchEnd.call(n,t)},!0),n.docfn1=function(t){n.handleDocTouchStart.call(n,t)},n.docfn2=function(t){n.handleDocTouchEnd.call(n,t)},document.addEventListener("touchstart",n.docfn1,!0),document.addEventListener("touchend",n.docfn2,!0)),t.addEventListener("mousedown",function(t){n.mouseIsOver=!0;n.handleMouseMove.call(n,t);n.handleMouseDown.call(n,t);n.handleDocTouchStart.call(n,t)},!0),t.addEventListener("mouseover",function(t){n.handleMouseOver.call(n,t)},!0),t.addEventListener("mouseout",function(t){n.handleMouseOut.call(n,t)},!0),t.addEventListener("mouseup",function(t){n.handleDocTouchEnd.call(n,t)},!0)):(t.attachEvent("onmousedown",function(t){n.handleMouseDown.call(n,t)}),t.attachEvent("onmouseover",function(t){n.handleMouseOver.call(n,t)}),t.attachEvent("onmouseout",function(t){n.handleMouseOut.call(n,t)}))},dispDUpd:function(){this.skipEvents||(this.dispatchDataUpdated&&(this.dispatchDataUpdated=!1,this.fire({type:"dataUpdated",chart:this})),this.chartCreated||(this.chartCreated=!0,this.fire({type:"init",chart:this})),this.chartRendered||(this.fire({type:"rendered",chart:this}),this.chartRendered=!0),this.fire({type:"drawn",chart:this}));this.skipEvents=!1},validateSize:function(){var n=this,t,i;(n.premeasure(),n.checkDisplay(),n.cssScale=1,n.cssAngle=0,n.checkTransform(n.div),n.divRealWidth!=n.previousWidth||n.divRealHeight!=n.previousHeight)&&(t=n.legend,0<n.realWidth&&0<n.realHeight&&((n.sizeChanged=!0,t)&&(n.legendInitTO&&clearTimeout(n.legendInitTO),i=setTimeout(function(){t.invalidateSize()},10),n.timeOuts.push(i),n.legendInitTO=i),n.marginsUpdated=!1,clearTimeout(n.initTO),i=setTimeout(function(){n.initChart()},10),n.timeOuts.push(i),n.initTO=i),n.renderFix(),t&&t.renderFix&&t.renderFix(),clearTimeout(n.resizedTO),n.resizedTO=setTimeout(function(){n.fire({type:"resized",chart:n})},10),n.previousHeight=n.divRealHeight,n.previousWidth=n.divRealWidth)},invalidateSize:function(){this.previousHeight=this.previousWidth=NaN;this.invalidateSizeReal()},invalidateSizeReal:function(){var n=this,t;n.marginsUpdated=!1;clearTimeout(n.validateTO);t=setTimeout(function(){n.validateSize()},5);n.timeOuts.push(t);n.validateTO=t},validateData:function(n){this.chartCreated&&(this.dataChanged=!0,this.marginsUpdated=!1,this.initChart(n))},validateNow:function(n,t){this.initTO&&clearTimeout(this.initTO);n&&(this.dataChanged=!0,this.marginsUpdated=!1);this.skipEvents=t;this.chartRendered=!1;var i=this.legend;i&&i.position!=this.prevLegendPosition&&(this.previousWidth=this.mw=0,i.invalidateSize&&(i.invalidateSize(),this.validateSize()));this.write(this.div)},showItem:function(n){n.hidden=!1;this.initChart()},hideItem:function(n){n.hidden=!0;this.initChart()},hideBalloon:function(){var n=this;clearTimeout(n.hoverInt);clearTimeout(n.balloonTO);n.hoverInt=setTimeout(function(){n.hideBalloonReal.call(n)},n.hideBalloonTime)},cleanChart:function(){},hideBalloonReal:function(){var n=this.balloon;n&&n.hide&&n.hide()},showBalloon:function(n,t,i,r,u){var f=this;clearTimeout(f.balloonTO);clearTimeout(f.hoverInt);f.balloonTO=setTimeout(function(){f.showBalloonReal.call(f,n,t,i,r,u)},1)},showBalloonReal:function(n,t,i,r,u){this.handleMouseMove();var f=this.balloon;f.enabled&&(f.followCursor(!1),f.changeColor(t),!i||f.fixedPosition?(f.setPosition(r,u),isNaN(r)||isNaN(u)?f.followCursor(!0):f.followCursor(!1)):f.followCursor(!0),n&&f.showBalloon(n))},handleMouseOver:function(){this.outTO&&clearTimeout(this.outTO);n.resetMouseOver();this.mouseIsOver=!0},handleMouseOut:function(){var t=this;n.resetMouseOver();t.outTO&&clearTimeout(t.outTO);t.outTO=setTimeout(function(){t.handleMouseOutReal()},10)},handleMouseOutReal:function(){this.mouseIsOver=!1},handleMouseMove:function(n){var t,i,r,u,f;if(n||(n=window.event),this.mouse2Y=this.mouse2X=NaN,n){if(n.touches){if(f=n.touches.item(1),f&&this.panEventsEnabled&&this.boundingRect&&(r=f.clientX-this.boundingRect.left,u=f.clientY-this.boundingRect.top),!(n=n.touches.item(0)))return}else this.wasTouched=!1;this.boundingRect&&n.clientX&&(t=n.clientX-this.boundingRect.left,i=n.clientY-this.boundingRect.top);isNaN(r)?this.mouseX=t:(this.mouseX=Math.min(t,r),this.mouse2X=Math.max(t,r));isNaN(u)?this.mouseY=i:(this.mouseY=Math.min(i,u),this.mouse2Y=Math.max(i,u));this.autoTransform&&(this.mouseX/=this.cssScale,this.mouseY/=this.cssScale)}},handleTouchStart:function(n){this.hideBalloonReal();n&&(n.touches&&this.tapToActivate&&!this.tapped||!this.panRequired)||(this.handleMouseMove(n),this.handleMouseDown(n))},handleTouchEnd:function(t){this.wasTouched=!0;this.handleMouseMove(t);n.resetMouseOver();this.handleReleaseOutside(t)},handleReleaseOutside:function(){this.handleDocTouchEnd.call(this)},handleMouseDown:function(t){n.resetMouseOver();this.mouseIsOver=!0;t&&t.preventDefault&&(this.panEventsEnabled?t.preventDefault():t.touches||t.preventDefault())},addLegend:function(t,i){t=n.processObject(t,n.AmLegend,this.theme);t.divId=i;t.ieW=0;var r;return r="object"!=typeof i&&i?document.getElementById(i):i,this.legend=t,t.chart=this,r?(t.div=r,t.position="outside",t.autoMargins=!1):t.div=this.legendDiv,t},removeLegend:function(){this.legend=void 0;this.previousWidth=0;this.legendDiv.innerHTML=""},handleResize:function(){(n.isPercents(this.width)||n.isPercents(this.height))&&this.invalidateSizeReal();this.renderFix()},renderFix:function(){if(!n.VML){var t=this.container;t&&t.renderFix()}},getSVG:function(){if(n.hasSVG)return this.container},animate:function(t,i,r,u,f,e,o){return t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]),r={obj:t,frame:0,attribute:i,from:r,to:u,time:f,effect:e,suffix:o},t["an_"+i]=r,this.animations.push(r),r},setLegendData:function(n){var t=this.legend;t&&t.setData(n)},stopAnim:function(t){n.removeFromArray(this.animations,t)},updateAnimations:function(){var i;if(this.container&&this.container.update(),this.animations)for(i=this.animations.length-1;0<=i;i--){var t=this.animations[i],u=n.updateRate*t.time,e=t.frame+1,r=t.obj,f=t.attribute;if(e<=u){t.frame++;var o=Number(t.from),s=Number(t.to)-o,u=n[t.effect](0,e,o,s,u);0===s?(this.animations.splice(i,1),r.node.style[f]=Number(t.to)+t.suffix):r.node.style[f]=u+t.suffix}else r.node.style[f]=Number(t.to)+t.suffix,r.animationFinished=!0,this.animations.splice(i,1)}},update:function(){var n,i,t,r;if(this.updateAnimations(),n=this.animatable,0<n.length){for(i=!0,t=n.length-1;0<=t;t--)r=n[t],r&&(r.animationFinished?n.splice(t,1):i=!1);i&&(this.fire({type:"animationFinished",chart:this}),this.animatable=[])}},inIframe:function(){try{return window.self!==window.top}catch(n){return!0}},brr:function(){var u,n,i;if(!this.hideCredits&&(n="amcharts.com",i=window.location.hostname.split("."),2<=i.length&&(u=i[i.length-2]+"."+i[i.length-1]),this.amLink&&(i=this.amLink.parentNode)&&i.removeChild(this.amLink),i=this.creditsPosition,u!=n||!0===this.inIframe())){var n="http://www."+n,f=u=0,s=this.realWidth,h=this.realHeight,t=this.type;"serial"!=t&&"xy"!=t&&"gantt"!=t||(u=this.marginLeftReal,f=this.marginTopReal,s=u+this.plotAreaWidth,h=f+this.plotAreaHeight);var t=n+"/javascript-charts/",e="JavaScript charts",r="JS chart by amCharts";"ammap"==this.product&&(t=n+"/javascript-maps/",e="Interactive JavaScript maps",r="JS map by amCharts");n=document.createElement("a");r=document.createTextNode(r);n.setAttribute("href",t);n.setAttribute("title",e);this.urlTarget&&n.setAttribute("target",this.urlTarget);n.appendChild(r);this.chartDiv.appendChild(n);this.amLink=n;t=n.style;t.position="absolute";t.textDecoration="none";t.color=this.color;t.fontFamily=this.fontFamily;t.fontSize="11px";t.opacity=.7;t.display="block";var e=n.offsetWidth,n=n.offsetHeight,r=5+u,o=f+5;"bottom-left"==i&&(r=5+u,o=h-n-3);"bottom-right"==i&&(r=s-e-5,o=h-n-3);"top-right"==i&&(r=s-e-5,o=f+5);t.left=r+"px";t.top=o+"px"}}});n.Slice=n.Class({construct:function(){}});n.SerialDataItem=n.Class({construct:function(){}});n.GraphDataItem=n.Class({construct:function(){}});n.Guide=n.Class({construct:function(t){this.cname="Guide";n.applyTheme(this,t,this.cname)}});n.Title=n.Class({construct:function(t){this.cname="Title";n.applyTheme(this,t,this.cname)}});n.Label=n.Class({construct:function(t){this.cname="Label";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.AmGraph=n.Class({construct:function(t){this.cname="AmGraph";this.createEvents("rollOverGraphItem","rollOutGraphItem","clickGraphItem","doubleClickGraphItem","rightClickGraphItem","clickGraph","rollOverGraph","rollOutGraph");this.type="line";this.stackable=!0;this.columnCount=1;this.columnIndex=0;this.centerCustomBullets=this.showBalloon=!0;this.maxBulletSize=50;this.minBulletSize=4;this.balloonText="[[value]]";this.hidden=this.scrollbar=this.animationPlayed=!1;this.pointPosition="middle";this.depthCount=1;this.includeInMinMax=!0;this.negativeBase=0;this.visibleInLegend=!0;this.showAllValueLabels=!1;this.showBulletsAt=this.showBalloonAt="close";this.lineThickness=1;this.dashLength=0;this.connect=!0;this.lineAlpha=1;this.bullet="none";this.bulletBorderThickness=2;this.bulletBorderAlpha=0;this.bulletAlpha=1;this.bulletSize=8;this.cornerRadiusTop=this.hideBulletsCount=this.bulletOffset=0;this.cursorBulletAlpha=1;this.gradientOrientation="vertical";this.dy=this.dx=0;this.periodValue="";this.clustered=!0;this.periodSpan=1;this.accessibleLabel="[[title]] [[category]] [[value]]";this.accessibleSkipText="Press enter to skip [[title]]";this.y=this.x=0;this.switchable=!0;this.tcc=this.minDistance=1;this.labelRotation=0;this.labelAnchor="auto";this.labelOffset=3;this.bcn="graph-";this.dateFormat="MMM DD, YYYY";this.noRounding=!0;n.applyTheme(this,t,this.cname)},init:function(){this.createBalloon()},draw:function(){var t=this.chart,e,r,u,i,f;t.isRolledOverBullet=!1;e=t.type;t.drawGraphs&&(isNaN(this.precision)||(this.numberFormatter?this.numberFormatter.precision=this.precision:this.numberFormatter={precision:this.precision,decimalSeparator:t.decimalSeparator,thousandsSeparator:t.thousandsSeparator}),r=t.container,this.container=r,this.destroy(),u=r.set(),this.set=u,u.translate(this.x,this.y),i=r.set(),this.bulletSet=i,i.translate(this.x,this.y),this.behindColumns?(t.graphsBehindSet.push(u),t.bulletBehindSet.push(i)):(t.graphsSet.push(u),t.bulletSet.push(i)),f=this.bulletAxis,n.isString(f)&&(this.bulletAxis=t.getValueAxisById(f)),r=r.set(),n.remove(this.columnsSet),this.columnsSet=r,n.setCN(t,u,"graph-"+this.type),n.setCN(t,u,"graph-"+this.id),n.setCN(t,i,"graph-"+this.type),n.setCN(t,i,"graph-"+this.id),this.columnsArray=[],this.ownColumns=[],this.allBullets=[],this.animationArray=[],i=this.labelPosition,i||(f=this.valueAxis.stackType,i="top","column"==this.type&&(t.rotate&&(i="right"),"100%"==f||"regular"==f)&&(i="middle"),this.labelPosition=i),n.ifArray(this.data)&&(t=!1,"xy"==e?this.xAxis.axisCreated&&this.yAxis.axisCreated&&(t=!0):this.valueAxis.axisCreated&&(t=!0),!this.hidden&&t&&this.createGraph()),u.push(r))},createGraph:function(){var t=this,r=t.chart,i;if(t.startAlpha=r.startAlpha,t.seqAn=r.sequencedAnimation,t.baseCoord=t.valueAxis.baseCoord,void 0===t.fillAlphas&&(t.fillAlphas=0),t.bulletColorR=t.bulletColor,void 0===t.bulletColorR&&(t.bulletColorR=t.lineColorR,t.bulletColorNegative=t.negativeLineColor),void 0===t.bulletAlpha&&(t.bulletAlpha=t.lineAlpha),("step"==i||n.VML)&&(t.noRounding=!1),i=r.type,"gantt"==i&&(i="serial"),clearTimeout(t.playedTO),!isNaN(t.valueAxis.min)&&!isNaN(t.valueAxis.max)){switch(i){case"serial":t.categoryAxis&&(t.createSerialGraph(),"candlestick"==t.type&&1>t.valueAxis.minMaxMultiplier&&t.positiveClip(t.set));break;case"radar":t.createRadarGraph();break;case"xy":t.createXYGraph()}t.playedTO=setTimeout(function(){t.setAnimationPlayed.call(t)},500*t.chart.startDuration)}},setAnimationPlayed:function(){this.animationPlayed=!0},createXYGraph:function(){var s=[],h=[],e=this.xAxis,c=this.yAxis,r,i,o;for(this.pmh=c.height,this.pmw=e.width,this.pmy=this.pmx=0,r=this.start;r<=this.end;r++){var n=this.data[r].axes[e.id].graphs[this.id],t=n.values,u=t.x,i=t.y,t=e.getCoordinate(u,this.noRounding),f=c.getCoordinate(i,this.noRounding);isNaN(u)||isNaN(i)||!(s.push(t),h.push(f),n.x=t,n.y=f,u=this.createBullet(n,t,f,r),i=this.labelText)||(i=this.createLabel(n,i),o=0,u&&(o=u.size),this.positionLabel(n,t,f,i,o))}this.drawLineGraph(s,h);this.launchAnimation()},createRadarGraph:function(){for(var a,v,l,y,w=this.valueAxis.stackType,o=[],s=[],h=[],c=[],n,p,i,u=this.start;u<=this.end;u++)if(i=this.data[u].axes[this.valueAxis.id].graphs[this.id],"none"==w||"3d"==w?n=i.values.value:(n=i.values.close,p=i.values.open),isNaN(n))this.connect||(this.drawLineGraph(o,s,h,c),o=[],s=[],h=[],c=[]);else{var r=this.valueAxis.getCoordinate(n,this.noRounding)-this.height,r=r*this.valueAxis.rMultiplier,t=-360/(this.end-this.start+1)*u;if("middle"==this.valueAxis.pointPosition&&(t-=180/(this.end-this.start+1)),n=r*Math.sin(t/180*Math.PI),r*=Math.cos(t/180*Math.PI),o.push(n),s.push(r),!isNaN(p)){var f=this.valueAxis.getCoordinate(p,this.noRounding)-this.height,f=f*this.valueAxis.rMultiplier,e=f*Math.sin(t/180*Math.PI),t=f*Math.cos(t/180*Math.PI);h.push(e);c.push(t);isNaN(l)&&(l=e);isNaN(y)&&(y=t)}t=this.createBullet(i,n,r,u);i.x=n;i.y=r;(e=this.labelText)&&(e=this.createLabel(i,e),f=0,t&&(f=t.size),this.positionLabel(i,n,r,e,f));isNaN(a)&&(a=n);isNaN(v)&&(v=r)}o.push(a);s.push(v);isNaN(l)||(h.push(l),c.push(y));this.drawLineGraph(o,s,h,c);this.launchAnimation()},positionLabel:function(n,t,i,r,u){var f;if(r){var w=this.chart,p=this.valueAxis,c="middle",y=!1,l=this.labelPosition,e=r.getBBox(),o=this.chart.rotate,s=n.isNegative,h=this.fontSize;switch(void 0===h&&(h=this.chart.fontSize),i-=e.height/2-h/2-1,void 0!==n.labelIsNegative&&(s=n.labelIsNegative),l){case"right":l=o&&s?"left":"right";break;case"top":l=o?"top":s?"bottom":"top";break;case"bottom":l=o?"bottom":s?"top":"bottom";break;case"left":l=o&&s?"right":"left"}var h=n.columnGraphics,a=0,v=0;h&&(a=h.x,v=h.y);f=this.labelOffset;switch(l){case"right":c="start";t+=u/2+f;break;case"top":i=p.reversed?i+(u/2+e.height/2+f):i-(u/2+e.height/2+f);break;case"bottom":i=p.reversed?i-(u/2+e.height/2+f):i+(u/2+e.height/2+f);break;case"left":c="end";t-=u/2+f;break;case"inside":"column"==this.type&&(y=!0,o?s?(c="end",t=a-3-f):(c="start",t=a+3+f):i=s?v+7+f:v-10-f);break;case"middle":"column"==this.type&&(y=!0,o?t-=(t-a)/2+f-3:i-=(i-v)/2+f-3)}return"auto"!=this.labelAnchor&&(c=this.labelAnchor),r.attr({"text-anchor":c}),this.labelRotation&&r.rotate(this.labelRotation),r.translate(t,i),!this.showAllValueLabels&&h&&y&&(e=r.getBBox(),e.height>n.columnHeight||e.width>n.columnWidth)&&(r.remove(),r=null),r&&"radar"!=w.type&&(o?((0>i||i>this.height)&&(r.remove(),r=null),!this.showAllValueLabels&&(0>t||t>this.width)&&(r.remove(),r=null)):((0>t||t>this.width)&&(r.remove(),r=null),!this.showAllValueLabels&&r&&(0>i||i>this.height)&&(r.remove(),r=null))),r&&this.allBullets.push(r),r}},getGradRotation:function(){var n=270;return"horizontal"==this.gradientOrientation&&(n=0),this.gradientRotation=n},createSerialGraph:function(){var wu,iu,hr,bi,df,ki,gf,u,uu,rr,gu,ai,kt,lr,rf,re,uf,de,ti,to,io,pr,eu,ue,fe,ee,oe,wt,se,ef,of,sf,he,ce,le,ho,ae,ve,di,wr;this.dashLengthSwitched=this.fillColorsSwitched=this.lineColorSwitched=void 0;var it=this.chart,fr=this.id,gi=this.index,ii=this.data,ht=this.chart.container,s=this.valueAxis,k=this.type,w=this.columnWidthReal,ei=this.showBulletsAt;isNaN(this.columnWidth)||(w=this.columnWidth);isNaN(w)&&(w=.8);var ar,br,cf,kr,dr,nr=this.useNegativeColorIfDown,d=this.width,nt=this.height,yo=this.y,tt=this.rotate,yi=this.columnCount,hu=n.toCoordinate(this.cornerRadiusTop,w/2),lf=this.connect,l=[],a=[],tr=this.chart.graphs.length,ft=this.dx/this.tcc,ct=this.dy/this.tcc,lt=s.stackType,er=this.start,vr=this.end,pi=this.scrollbar,gr="graph-column-";pi&&(gr="scrollbar-graph-column-");var ye,pe=this.categoryAxis,we=this.baseCoord,cu=this.negativeBase,rt=this.columnIndex,et=this.lineThickness,ri=this.lineAlpha,af=this.lineColorR,si=this.dashLength,or=this.set,lu=this.getGradRotation(),hi=this.chart.columnSpacing,ut=pe.cellWidth,be=(ut*w-yi)/yi;hi>be&&(hi=be);var g,t,au,vf,yf,vu,yu,pf=nt,wf=d,pu=0,bf=0,kf=this.fillColorsR,sr=this.negativeFillColors,wi=this.negativeLineColor,nu=this.fillAlphas,tu=this.negativeFillAlphas;if("object"==typeof nu&&(nu=nu[0]),"object"==typeof tu&&(tu=tu[0]),wu=this.noRounding,"step"==k&&(wu=!1),iu=s.getCoordinate(s.min),(s.logarithmic&&(iu=s.getCoordinate(s.minReal)),this.minCoord=iu,this.resetBullet&&(this.bullet="none"),pi||"line"!=k&&"smoothedLine"!=k&&"step"!=k||(1==ii.length&&"step"!=k&&"none"==this.bullet&&(this.bullet="round",this.resetBullet=!0),!sr&&void 0==wi||nr))||(hr=cu,hr>s.max&&(hr=s.max),hr<s.min&&(hr=s.min),s.logarithmic&&(hr=s.minReal),bi=s.getCoordinate(hr),df=s.getCoordinate(s.max),tt?(pf=nt,wf=Math.abs(df-bi),vf=nt,yf=Math.abs(iu-bi),yu=bf=0,s.reversed?(pu=0,vu=bi):(pu=bi,vu=0)):(wf=d,pf=Math.abs(df-bi),yf=d,vf=Math.abs(iu-bi),vu=pu=0,s.reversed?(yu=yo,bf=bi):yu=bi)),ki=Math.round,this.pmx=ki(pu),this.pmy=ki(bf),this.pmh=ki(pf),this.pmw=ki(wf),this.nmx=ki(vu),this.nmy=ki(yu),this.nmh=ki(vf),this.nmw=ki(yf),n.isModern||(this.nmy=this.nmx=0,this.nmh=this.height),this.clustered||(yi=1),1>(w="column"==k?(ut*w-hi*(yi-1))/yi:ut*w)&&(w=1),gf=this.fixedColumnWidth,isNaN(gf)||(w=gf),"line"==k||"step"==k||"smoothedLine"==k){if(0<er){for(u=er-1;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],au=t.values.value,!isNaN(au)){er=u;break}if(this.lineColorField)for(u=er;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],t.lineColor){this.bulletColorSwitched=this.lineColorSwitched=t.lineColor;break}if(this.fillColorsField)for(u=er;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],t.fillColors){this.fillColorsSwitched=t.fillColors;break}if(this.dashLengthField)for(u=er;-1<u;u--)if(g=ii[u],t=g.axes[s.id].graphs[fr],!isNaN(t.dashLength)){this.dashLengthSwitched=t.dashLength;break}}if(vr<ii.length-1)for(u=vr+1;u<ii.length;u++)if(g=ii[u],t=g.axes[s.id].graphs[fr],au=t.values.value,!isNaN(au)){vr=u;break}}vr<ii.length-1&&vr++;var v=[],y=[],ir=!1;"line"!=k&&"step"!=k&&"smoothedLine"!=k||(this.stackable&&"regular"==lt||"100%"==lt||this.fillToGraph)&&(ir=!0);var ke=this.noStepRisers,bu=-1e3,ku=-1e3,du=this.minDistance,cr=!0,ru=!1;for(u=er;u<=vr;u++){if(g=ii[u],t=g.axes[s.id].graphs[fr],t.index=u,rr=NaN,nr&&void 0==this.openField)for(gu=u+1;gu<ii.length&&(!ii[gu]||!(uu=ii[u+1].axes[s.id].graphs[fr])||!uu.values||(rr=uu.values.value,isNaN(rr)));gu++);var c,h,e,b,ui,bt,kt=NaN,i=NaN,r=NaN,o=NaN,f=NaN,at=NaN,dt=NaN,vt=NaN,gt=NaN,fi=NaN,ci=NaN,yt=NaN,ot=NaN,p=NaN,ne=NaN,te=NaN,pt=NaN,wt=void 0,ur=kf,yr=nu,li=af,ie=this.proCandlesticks,nf=this.topRadius,oi=nt-1,st=d-1,fu=this.pattern;if(void 0!=t.pattern&&(fu=t.pattern),isNaN(t.alpha)||(yr=t.alpha),isNaN(t.dashLength)||(si=t.dashLength),ai=t.values,s.recalculateToPercents&&(ai=t.percents),"none"==lt&&(rt=isNaN(t.columnIndex)?this.columnIndex:t.columnIndex),ai){if(p=this.stackable&&"none"!=lt&&"3d"!=lt?ai.close:ai.value,"candlestick"!=k&&"ohlc"!=k||(p=ai.close,te=ai.low,dt=s.getCoordinate(te),ne=ai.high,gt=s.getCoordinate(ne)),pt=ai.open,r=s.getCoordinate(p,wu),isNaN(pt)||(f=s.getCoordinate(pt,wu),nr&&"regular"!=lt&&"100%"!=lt&&(rr=pt,pt=f=NaN)),nr&&(void 0==this.openField?uu&&(uu.isNegative=rr<p,isNaN(rr)&&(t.isNegative=!cr)):t.isNegative=rr>p),!pi)switch(this.showBalloonAt){case"close":t.y=r;break;case"open":t.y=f;break;case"high":t.y=gt;break;case"low":t.y=dt}kt=g.x[pe.id];lr=this.periodSpan-1;"step"!=k||isNaN(g.cellWidth)||(ut=g.cellWidth);var ni=Math.floor(ut/2)+Math.floor(lr*ut/2),vi=ni,tf=0;("left"==this.stepDirection&&(tf=(2*ut+lr*ut)/2,kt-=tf),"center"==this.stepDirection&&(tf=ut/2,kt-=tf),"start"==this.pointPosition&&(kt-=ut/2+Math.floor(lr*ut/2),ni=0,vi=Math.floor(ut)+Math.floor(lr*ut)),"end"==this.pointPosition&&(kt+=ut/2+Math.floor(lr*ut/2),ni=Math.floor(ut)+Math.floor(lr*ut),vi=0),ke)&&(rf=this.columnWidth,isNaN(rf)||(ni*=rf,vi*=rf));pi||(t.x=kt);-1e5>kt&&(kt=-1e5);kt>d+1e5&&(kt=d+1e5);tt?(i=r,o=f,f=r=kt,isNaN(pt)&&!this.fillToGraph&&(o=we),at=dt,vt=gt):(o=i=kt,isNaN(pt)&&!this.fillToGraph&&(f=we));(!ie&&p<pt||ie&&p<ye)&&(t.isNegative=!0,sr&&(ur=sr),tu&&(yr=tu),void 0!=wi&&(li=wi));ru=!1;isNaN(p)||(nr?p>rr?(cr&&(ru=!0),cr=!1):(cr||(ru=!0),cr=!0):t.isNegative=p<cu,ye=p);re=!1;switch(pi&&it.chartScrollbar.ignoreCustomColors&&(re=!0),re||(void 0!=t.color&&(ur=t.color),t.fillColors&&(ur=t.fillColors)),r=n.fitToBounds(r,-3e4,3e4),k){case"line":isNaN(p)?lf||(this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]):((Math.abs(i-bu)>=du||Math.abs(r-ku)>=du)&&(l.push(i),a.push(r),bu=i,ku=r),fi=i,ci=r,yt=i,ot=r,!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),(ru||void 0!=t.lineColor&&t.lineColor!=this.lineColorSwitched||void 0!=t.fillColors&&t.fillColors!=this.fillColorsSwitched||!isNaN(t.dashLength))&&(this.drawLineGraph(l,a,v,y),l=[i],a=[r],v=[],y=[],!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),nr?cr?(this.lineColorSwitched=af,this.fillColorsSwitched=kf):(this.lineColorSwitched=wi,this.fillColorsSwitched=sr):(this.lineColorSwitched=t.lineColor,this.fillColorsSwitched=t.fillColors),this.dashLengthSwitched=t.dashLength),t.gap&&(this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]));break;case"smoothedLine":isNaN(p)?lf||(this.drawSmoothedGraph(l,a,v,y),l=[],a=[],v=[],y=[]):((Math.abs(i-bu)>=du||Math.abs(r-ku)>=du)&&(l.push(i),a.push(r),bu=i,ku=r),fi=i,ci=r,yt=i,ot=r,!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),void 0==t.lineColor&&void 0==t.fillColors&&isNaN(t.dashLength)||(this.drawSmoothedGraph(l,a,v,y),l=[i],a=[r],v=[],y=[],!ir||isNaN(f)||isNaN(o)||(v.push(o),y.push(f)),this.lineColorSwitched=t.lineColor,this.fillColorsSwitched=t.fillColors,this.dashLengthSwitched=t.dashLength),t.gap&&(this.drawSmoothedGraph(l,a,v,y),l=[],a=[],v=[],y=[]));break;case"step":isNaN(p)?lf||((1>=this.periodSpan||1<this.periodSpan&&i-ar>ni+vi)&&(ar=br=NaN),this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]):((tt?(isNaN(ar)||(l.push(ar),a.push(r-ni)),a.push(r-ni),l.push(i),a.push(r+vi),l.push(i),!ir||isNaN(f)||isNaN(o)||(isNaN(cf)||(v.push(cf),y.push(f-ni)),v.push(o),y.push(f-ni),v.push(o),y.push(f+vi))):(isNaN(br)||(a.push(br),l.push(i-ni)),l.push(i-ni),a.push(r),l.push(i+vi),a.push(r),!ir||isNaN(f)||isNaN(o)||(isNaN(kr)||(v.push(o-ni),y.push(kr)),v.push(o-ni),y.push(f),v.push(o+vi),y.push(f))),ar=i,br=r,cf=o,kr=f,fi=i,ci=r,yt=i,ot=r,ru||void 0!=t.lineColor||void 0!=t.fillColors||!isNaN(t.dashLength))&&(uf=l[l.length-2],de=a[a.length-2],l.pop(),a.pop(),v.pop(),y.pop(),this.drawLineGraph(l,a,v,y),l=[uf],a=[de],v=[],y=[],ir&&(v=[uf,uf+ni+vi],y=[kr,kr]),tt?(a.push(r+vi),l.push(i)):(l.push(i+vi),a.push(r)),this.lineColorSwitched=t.lineColor,this.fillColorsSwitched=t.fillColors,this.dashLengthSwitched=t.dashLength,nr&&(cr?(this.lineColorSwitched=af,this.fillColorsSwitched=kf):(this.lineColorSwitched=wi,this.fillColorsSwitched=sr))),(ke||t.gap)&&(ar=br=NaN,this.drawLineGraph(l,a,v,y),l=[],a=[],v=[],y=[]));break;case"column":if(ui=li,void 0!=t.lineColor&&(ui=t.lineColor),!isNaN(p)){nr||(t.isNegative=p<cu);t.isNegative&&(sr&&(ur=sr),void 0!=wi&&(ui=wi));var ge=s.min,no=s.max,ff=pt;(isNaN(ff)&&(ff=cu),p<ge&&ff<ge||p>no&&ff>no)||(tt?("3d"==lt?(h=r-(yi/2-this.depthCount+1)*(w+hi)+hi/2+ct*rt,c=o+ft*rt,ti=rt):(h=Math.floor(r-(yi/2-rt)*(w+hi)+hi/2),c=o,ti=0),e=w,fi=i,ci=h+w/2,yt=i,ot=h+w/2,h+e>nt+ti*ct&&(e=nt-h+ti*ct),h<ti*ct&&(e+=h,h=ti*ct),b=i-o,to=c,c=n.fitToBounds(c,0,d),b+=to-c,b=n.fitToBounds(b,-c,d-c+ft*rt),t.labelIsNegative=0>b,0===b&&1/p==-1/0&&(t.labelIsNegative=!0),isNaN(g.percentWidthValue)||(e=this.height*g.percentWidthValue/100,h=kt-e/2,ci=h+e/2),e=n.roundTo(e,2),b=n.roundTo(b,2),h<nt&&0<e&&(wt=new n.Cuboid(ht,b,e,ft-it.d3x,ct-it.d3y,ur,yr,et,ui,ri,lu,hu,tt,si,fu,nf,gr),t.columnWidth=Math.abs(b),t.columnHeight=Math.abs(e))):("3d"==lt?(c=i-(yi/2-this.depthCount+1)*(w+hi)+hi/2+ft*rt,h=f+ct*rt,ti=rt):(c=i-(yi/2-rt)*(w+hi)+hi/2,h=f,ti=0),e=w,fi=c+w/2,ci=r,yt=c+w/2,ot=r,c+e>d+ti*ft&&(e=d-c+ti*ft),c<ti*ft&&(e+=c-ti*ft,c=ti*ft),b=r-f,t.labelIsNegative=0<b,0===b&&1/p!=1/Math.abs(p)&&(t.labelIsNegative=!0),io=h,h=n.fitToBounds(h,this.dy,nt),b+=io-h,b=n.fitToBounds(b,ct*ti-h,nt-h),isNaN(g.percentWidthValue)||(e=this.width*g.percentWidthValue/100,c=kt-e/2,fi=c+e/2),e=n.roundTo(e,2),b=n.roundTo(b,2),c<d+rt*ft&&0<e&&(this.showOnAxis&&(h-=ct/2),wt=new n.Cuboid(ht,e,b,ft-it.d3x,ct-it.d3y,ur,yr,et,ui,this.lineAlpha,lu,hu,tt,si,fu,nf,gr),t.columnHeight=Math.abs(b),t.columnWidth=Math.abs(e))));wt&&(bt=wt.set,n.setCN(it,wt.set,"graph-"+this.type),n.setCN(it,wt.set,"graph-"+this.id),t.className&&n.setCN(it,wt.set,t.className,!0),t.columnGraphics=bt,c=n.roundTo(c,2),h=n.roundTo(h,2),bt.translate(c,h),(t.url||this.showHandOnHover)&&bt.setAttr("cursor","pointer"),pi||("none"==lt&&(dr=tt?(this.end+1-u)*tr-gi:tr*u+gi),"3d"==lt&&(tt?(dr=(this.end+1-u)*tr-gi-1e3*this.depthCount,fi+=ft*rt,yt+=ft*rt,t.y+=ft*rt):(dr=(tr-gi)*(u+1)+1e3*this.depthCount,ci+=ct*rt,ot+=ct*rt,t.y+=ct*rt)),"regular"!=lt&&"100%"!=lt||(dr=tt?0<ai.value?(this.end+1-u)*tr+gi:(this.end+1-u)*tr-gi:0<ai.value?tr*u+gi:tr*u-gi),this.columnsArray.push({column:wt,depth:dr}),t.x=tt?h+e/2:c+e/2,this.ownColumns.push(wt),this.animateColumns(wt,u,i,o,r,f),this.addListeners(bt,t),void 0!==this.tabIndex&&bt.setAttr("tabindex",this.tabIndex)),this.columnsSet.push(bt))}break;case"candlestick":if(!isNaN(pt)&&!isNaN(p)){if(ui=li,void 0!=t.lineColor&&(ui=t.lineColor),fi=i,ot=ci=r,yt=i,tt){if("open"==ei&&(yt=o),"high"==ei&&(yt=vt),"low"==ei&&(yt=at),i=n.fitToBounds(i,0,st),o=n.fitToBounds(o,0,st),at=n.fitToBounds(at,0,st),vt=n.fitToBounds(vt,0,st),0===i&&0===o&&0===at&&0===vt)continue;if(i==st&&o==st&&at==st&&vt==st)continue;(h=r-w/2,c=o,e=w,h+e>nt&&(e=nt-h),0>h&&(e+=h,h=0),h<nt&&0<e)&&(p>pt?(ue=[i,vt],fe=[o,at]):(ue=[o,vt],fe=[i,at]),!isNaN(vt)&&!isNaN(at)&&r<nt&&0<r&&(pr=n.line(ht,ue,[r,r],ui,ri,et),eu=n.line(ht,fe,[r,r],ui,ri,et)),b=i-o,wt=new n.Cuboid(ht,b,e,ft,ct,ur,nu,et,ui,ri,lu,hu,tt,si,fu,nf,gr))}else{if("open"==ei&&(ot=f),"high"==ei&&(ot=gt),"low"==ei&&(ot=dt),r=n.fitToBounds(r,0,oi),f=n.fitToBounds(f,0,oi),dt=n.fitToBounds(dt,0,oi),gt=n.fitToBounds(gt,0,oi),0===r&&0===f&&0===dt&&0===gt)continue;if(r==oi&&f==oi&&dt==oi&&gt==oi)continue;(c=i-w/2,h=f+et/2,e=w,c+e>d&&(e=d-c),0>c&&(e+=c,c=0),b=r-f,c<d&&0<e)&&(ie&&p>=pt&&(yr=0),wt=new n.Cuboid(ht,e,b,ft,ct,ur,yr,et,ui,ri,lu,hu,tt,si,fu,nf,gr),p>pt?(ee=[r,gt],oe=[f,dt]):(ee=[f,gt],oe=[r,dt]),!isNaN(gt)&&!isNaN(dt)&&i<d&&0<i&&(pr=n.line(ht,[i,i],ee,ui,ri,et),eu=n.line(ht,[i,i],oe,ui,ri,et),n.setCN(it,pr,this.bcn+"line-high"),t.className&&n.setCN(it,pr,t.className,!0),n.setCN(it,eu,this.bcn+"line-low"),t.className&&n.setCN(it,eu,t.className,!0)))}wt&&(bt=wt.set,t.columnGraphics=bt,or.push(bt),bt.translate(c,h-et/2),(t.url||this.showHandOnHover)&&bt.setAttr("cursor","pointer"),pr&&(or.push(pr),or.push(eu)),pi||(t.x=tt?h+e/2:c+e/2,this.animateColumns(wt,u,i,o,r,f),this.addListeners(bt,t),void 0!==this.tabIndex&&bt.setAttr("tabindex",this.tabIndex)))}break;case"ohlc":if(!(isNaN(pt)||isNaN(ne)||isNaN(te)||isNaN(p))){if(se=ht.set(),or.push(se),p<pt&&(t.isNegative=!0,void 0!=wi&&(li=wi)),void 0!=t.lineColor&&(li=t.lineColor),tt){if(ot=r,yt=i,"open"==ei&&(yt=o),"high"==ei&&(yt=vt),"low"==ei&&(yt=at),at=n.fitToBounds(at,0,st),vt=n.fitToBounds(vt,0,st),0===i&&0===o&&0===at&&0===vt)continue;if(i==st&&o==st&&at==st&&vt==st)continue;var ro=r-w/2,ro=n.fitToBounds(ro,0,nt),uo=n.fitToBounds(r,0,nt),fo=r+w/2,fo=n.fitToBounds(fo,0,nt);0<=o&&o<=st&&(of=n.line(ht,[o,o],[ro,uo],li,ri,et,si));0<r&&r<nt&&(ef=n.line(ht,[at,vt],[r,r],li,ri,et,si));0<=i&&i<=st&&(sf=n.line(ht,[i,i],[uo,fo],li,ri,et,si))}else{ot=r;"open"==ei&&(ot=f);"high"==ei&&(ot=gt);"low"==ei&&(ot=dt);var yt=i,dt=n.fitToBounds(dt,0,oi),gt=n.fitToBounds(gt,0,oi),eo=i-w/2,eo=n.fitToBounds(eo,0,d),oo=n.fitToBounds(i,0,d),so=i+w/2,so=n.fitToBounds(so,0,d);0<=f&&f<=oi&&(of=n.line(ht,[eo,oo],[f,f],li,ri,et,si));0<i&&i<d&&(ef=n.line(ht,[i,i],[dt,gt],li,ri,et,si));0<=r&&r<=oi&&(sf=n.line(ht,[oo,so],[r,r],li,ri,et,si))}or.push(of);or.push(ef);or.push(sf);n.setCN(it,of,this.bcn+"stroke-open");n.setCN(it,sf,this.bcn+"stroke-close");n.setCN(it,ef,this.bcn+"stroke");t.className&&n.setCN(it,se,t.className,!0);fi=i;ci=r}}if(!pi&&!isNaN(p)&&(he=this.hideBulletsCount,(this.end-this.start<=he||0===he)&&(ce=this.createBullet(t,yt,ot,u),le=this.labelText,!le||isNaN(fi)||isNaN(fi)||(ho=this.createLabel(t,le),ae=0,ce&&(ae=ce.size),this.positionLabel(t,fi,ci,ho,ae)),("regular"==lt||"100%"==lt)&&(ve=s.totalText,ve&&(di=this.createLabel(t,ve,s.totalTextColor),n.setCN(it,di,this.bcn+"label-total"),this.allBullets.push(di),di))))){var ou,su,co=di.getBBox(),lo=co.width,ao=co.height,hf=s.totalTextOffset,vo=s.totals[u];vo&&vo.remove();wr=0;"column"!=k&&(wr=this.bulletSize);tt?(su=ci,ou=0>p?i-lo/2-2-wr-hf:i+lo/2+3+wr+hf):(ou=fi,su=0>p?r+ao/2+wr+hf:r-ao/2-3-wr-hf);di.translate(ou,su);s.totals[u]=di;tt?(0>su||su>nt)&&di.remove():(0>ou||ou>d)&&di.remove()}}}this.lastDataItem=t;"line"!=k&&"step"!=k&&"smoothedLine"!=k||("smoothedLine"==k?this.drawSmoothedGraph(l,a,v,y):this.drawLineGraph(l,a,v,y),pi||this.launchAnimation());this.bulletsHidden&&this.hideBullets();this.customBulletsHidden&&this.hideCustomBullets()},animateColumns:function(n,t){var i=this,r=i.chart.startDuration;0<r&&!i.animationPlayed&&(i.seqAn?(n.set.hide(),i.animationArray.push(n),r=setTimeout(function(){i.animate.call(i)},r/(i.end-i.start+1)*(t-i.start)*1e3),i.timeOuts.push(r)):i.animate(n),i.chart.animatable.push(n))},createLabel:function(t,i,r){var f=this.chart,u=t.labelColor,e;return u||(u=this.color),u||(u=f.color),r&&(u=r),void 0===(r=this.fontSize)&&(this.fontSize=r=f.fontSize),e=this.labelFunction,(i=f.formatString(i,t),i=n.cleanFromEmpty(i),e&&(i=e(t,i)),void 0!==i&&""!==i)?(t=n.text(this.container,i,u,f.fontFamily,r),t.node.style.pointerEvents="none",n.setCN(f,t,this.bcn+"label"),this.bulletSet.push(t),t):void 0},positiveClip:function(n){n.clipRect(this.pmx,this.pmy,this.pmw,this.pmh)},negativeClip:function(n){n.clipRect(this.nmx,this.nmy,this.nmw,this.nmh)},drawLineGraph:function(t,i,r,u){var f=this,p,a,k;if(1<t.length){var c=f.noRounding,v=f.set,l=f.chart,y=f.container,w=y.set(),b=y.set();v.push(b);v.push(w);var h=f.lineAlpha,e=f.lineThickness,v=f.fillAlphas,nt=f.lineColorR,o=f.negativeLineAlpha;isNaN(o)&&(o=h);p=f.lineColorSwitched;p&&(nt=p);p=f.fillColorsR;a=f.fillColorsSwitched;a&&(p=a);k=f.dashLength;(a=f.dashLengthSwitched)&&(k=a);var a=f.negativeLineColor,d=f.negativeFillColors,g=f.negativeFillAlphas,s=f.baseCoord;0!==f.negativeBase&&(s=f.valueAxis.getCoordinate(f.negativeBase,c),s>f.height&&(s=f.height),0>s&&(s=0));h=n.line(y,t,i,nt,h,e,k,!1,!0,c);h.node.setAttribute("stroke-linejoin","round");n.setCN(l,h,f.bcn+"stroke");w.push(h);w.click(function(n){f.handleGraphEvent(n,"clickGraph")}).mouseover(function(n){f.handleGraphEvent(n,"rollOverGraph")}).mouseout(function(n){f.handleGraphEvent(n,"rollOutGraph")}).touchmove(function(n){f.chart.handleMouseMove(n)}).touchend(function(n){f.chart.handleTouchEnd(n)});void 0===a||f.useNegativeColorIfDown||(e=n.line(y,t,i,a,o,e,k,!1,!0,c),e.node.setAttribute("stroke-linejoin","round"),n.setCN(l,e,f.bcn+"stroke"),n.setCN(l,e,f.bcn+"stroke-negative"),b.push(e));(0<v||0<g)&&(e=t.join(";").split(";"),o=i.join(";").split(";"),h=l.type,"serial"==h||"radar"==h?0<r.length?(r.reverse(),u.reverse(),e=t.concat(r),o=i.concat(u)):"radar"==h?(o.push(0),e.push(0)):f.rotate?(o.push(o[o.length-1]),e.push(s),o.push(o[0]),e.push(s),o.push(o[0]),e.push(e[0])):(e.push(e[e.length-1]),o.push(s),e.push(e[0]),o.push(s),e.push(t[0]),o.push(o[0])):"xy"==h&&(i=f.fillToAxis)&&(n.isString(i)&&(i=l.getValueAxisById(i)),"H"==i.orientation?(s="top"==i.position?0:i.height,e.push(e[e.length-1]),o.push(s),e.push(e[0]),o.push(s),e.push(t[0]),o.push(o[0])):(s="left"==i.position?0:i.width,o.push(o[o.length-1]),e.push(s),o.push(o[0]),e.push(s),o.push(o[0]),e.push(e[0]))),t=f.gradientRotation,0<v&&(i=n.polygon(y,e,o,p,v,1,"#000",0,t,c),i.pattern(f.pattern,NaN,l.path),n.setCN(l,i,f.bcn+"fill"),w.push(i)),(d||void 0!==a)&&(isNaN(g)&&(g=v),d||(d=a),c=n.polygon(y,e,o,d,g,1,"#000",0,t,c),n.setCN(l,c,f.bcn+"fill"),n.setCN(l,c,f.bcn+"fill-negative"),c.pattern(f.pattern,NaN,l.path),b.push(c),b.click(function(n){f.handleGraphEvent(n,"clickGraph")}).mouseover(function(n){f.handleGraphEvent(n,"rollOverGraph")}).mouseout(function(n){f.handleGraphEvent(n,"rollOutGraph")}).touchmove(function(n){f.chart.handleMouseMove(n)}).touchend(function(n){f.chart.handleTouchEnd(n)})));f.applyMask(b,w)}},applyMask:function(n,t){var i=n.length();"serial"!=this.chart.type||this.scrollbar||(this.positiveClip(t),0<i&&this.negativeClip(n))},drawSmoothedGraph:function(t,i,r,u){var k;if(1<t.length){var h=this.set,o=this.chart,c=this.container,a=c.set(),v=c.set();h.push(v);h.push(a);var s=this.lineAlpha,f=this.lineThickness,h=this.dashLength,d=this.fillAlphas,l=this.lineColorR,y=this.fillColorsR,p=this.negativeLineColor,w=this.negativeFillColors,g=this.negativeFillAlphas,b=this.baseCoord,e=this.lineColorSwitched;e&&(l=e);(e=this.fillColorsSwitched)&&(y=e);k=this.negativeLineAlpha;isNaN(k)&&(k=s);e=this.getGradRotation();s=new n.Bezier(c,t,i,l,s,f,y,0,h,void 0,e);n.setCN(o,s,this.bcn+"stroke");a.push(s.path);void 0!==p&&(f=new n.Bezier(c,t,i,p,k,f,y,0,h,void 0,e),n.setCN(o,f,this.bcn+"stroke"),n.setCN(o,f,this.bcn+"stroke-negative"),v.push(f.path));0<d&&(s=t.join(";").split(";"),l=i.join(";").split(";"),f="",0<r.length?(r.push("M"),u.push("M"),r.reverse(),u.reverse(),s=t.concat(r),l=i.concat(u)):(this.rotate?(f+=" L"+b+","+i[i.length-1],f+=" L"+b+","+i[0]):(f+=" L"+t[t.length-1]+","+b,f+=" L"+t[0]+","+b),f+=" L"+t[0]+","+i[0]),r=new n.Bezier(c,s,l,NaN,0,0,y,d,h,f,e),n.setCN(o,r,this.bcn+"fill"),r.path.pattern(this.pattern,NaN,o.path),a.push(r.path),w||void 0!==p)&&(g||(g=d),w||(w=p),t=new n.Bezier(c,t,i,NaN,0,0,w,g,h,f,e),t.path.pattern(this.pattern,NaN,o.path),n.setCN(o,t,this.bcn+"fill"),n.setCN(o,t,this.bcn+"fill-negative"),v.push(t.path));this.applyMask(v,a)}},launchAnimation:function(){var t=this,i=t.chart.startDuration,r,u;0<i&&!t.animationPlayed&&(r=t.set,u=t.bulletSet,n.VML||(r.attr({opacity:t.startAlpha}),u.attr({opacity:t.startAlpha})),r.hide(),u.hide(),t.seqAn?(i=setTimeout(function(){t.animateGraphs.call(t)},t.index*i*1e3),t.timeOuts.push(i)):t.animateGraphs())},animateGraphs:function(){var u=this.chart,n=this.set,t=this.bulletSet,i=this.x,r=this.y,f,e;n.show();t.show();f=u.startDuration;e=u.startEffect;n&&(this.rotate?(n.translate(-1e3,r),t.translate(-1e3,r)):(n.translate(i,-1e3),t.translate(i,-1e3)),n.animate({opacity:1,translate:i+","+r},f,e),t.animate({opacity:1,translate:i+","+r},f,e),u.animatable.push(n))},animate:function(t){var r=this.chart,i=this.animationArray;!t&&0<i.length&&(t=i[0],i.shift());i=n[n.getEffect(r.startEffect)];r=r.startDuration;t&&(this.rotate?t.animateWidth(r,i):t.animateHeight(r,i),t.set.show())},legendKeyColor:function(){var t=this.legendColor,n=this.lineAlpha;return void 0===t&&(t=this.lineColorR,0===n&&(n=this.fillColorsR)&&(t="object"==typeof n?n[0]:n)),t},legendKeyAlpha:function(){var n=this.legendAlpha;return void 0===n&&(n=this.lineAlpha,this.fillAlphas>n&&(n=this.fillAlphas),0===n&&(n=this.bulletAlpha),0===n&&(n=1)),n},createBullet:function(t,i,r){var u,y;if(!isNaN(i)&&!isNaN(r)&&("none"!=this.bullet||this.customBullet||t.bullet||t.customBullet)){var s=this.chart,o=this.container,l=this.bulletOffset,e=this.bulletSize;isNaN(t.bulletSize)||(e=t.bulletSize);var a=t.values.value,f=this.maxValue,h=this.minValue,v=this.maxBulletSize,c=this.minBulletSize;isNaN(f)||(isNaN(a)||(e=(a-h)/(f-h)*(v-c)+c),h==f&&(e=v));f=e;this.bulletAxis&&(e=t.values.error,isNaN(e)||(a=e),e=this.bulletAxis.stepWidth*a);e<this.minBulletSize&&(e=this.minBulletSize);this.rotate?i=t.isNegative?i-l:i+l:r=t.isNegative?r+l:r-l;c=this.bulletColorR;t.lineColor&&(this.bulletColorSwitched=t.lineColor);this.bulletColorSwitched&&(c=this.bulletColorSwitched);t.isNegative&&void 0!==this.bulletColorNegative&&(c=this.bulletColorNegative);void 0!==t.color&&(c=t.color);"xy"==s.type&&this.valueField&&(u=this.pattern,t.pattern&&(u=t.pattern));l=this.bullet;t.bullet&&(l=t.bullet);var a=this.bulletBorderThickness,h=this.bulletBorderColorR,v=this.bulletBorderAlpha,p=this.bulletAlpha;return h||(h=c),this.useLineColorForBulletBorder&&(h=this.lineColorR,t.isNegative&&this.negativeLineColor&&(h=this.negativeLineColor),this.lineColorSwitched&&(h=this.lineColorSwitched)),y=t.alpha,isNaN(y)||(p=y),u=n.bullet(o,l,e,c,p,a,h,v,f,0,u,s.path),f=this.customBullet,t.customBullet&&(f=t.customBullet),f&&(u&&u.remove(),"function"==typeof f?(f=new f,f.chart=s,t.bulletConfig&&(f.availableSpace=r,f.graph=this,f.graphDataItem=t,f.bulletY=r,t.bulletConfig.minCoord=this.minCoord-r,f.bulletConfig=t.bulletConfig),f.write(o),u&&f.showBullet&&f.set.push(u),t.customBulletGraphics=f.cset,u=f.set):(u=o.set(),f=o.image(f,0,0,e,e),u.push(f),this.centerCustomBullets&&f.translate(-e/2,-e/2))),u&&((t.url||this.showHandOnHover)&&u.setAttr("cursor","pointer"),"serial"!=s.type&&"gantt"!=s.type||(-.5>i||i>this.width||r<-e/2||r>this.height)&&(u.remove(),u=null),u&&(this.bulletSet.push(u),u.translate(i,r),this.addListeners(u,t),this.allBullets.push(u)),t.bx=i,t.by=r,n.setCN(s,u,this.bcn+"bullet"),t.className&&n.setCN(s,u,t.className,!0)),u?(u.size=e||0,(s=this.bulletHitAreaSize)&&(o=n.circle(o,s,"#FFFFFF",.001,0),o.translate(i,r),t.hitBullet=o,this.bulletSet.push(o),this.addListeners(o,t)),t.bulletGraphics=u,void 0!==this.tabIndex&&u.setAttr("tabindex",this.tabIndex)):u={size:0},u.graphDataItem=t,u}},showBullets:function(){var n,t=this.allBullets;for(this.bulletsHidden=!1,n=0;n<t.length;n++)t[n].show()},hideBullets:function(){var n,t=this.allBullets;for(this.bulletsHidden=!0,n=0;n<t.length;n++)t[n].hide()},showCustomBullets:function(){var n,i=this.allBullets,t;for(this.customBulletsHidden=!1,n=0;n<i.length;n++)t=i[n].graphDataItem,t.customBulletGraphics&&t.customBulletGraphics.show()},hideCustomBullets:function(){var n,i=this.allBullets,t;for(this.customBulletsHidden=!0,n=0;n<i.length;n++)t=i[n].graphDataItem,t.customBulletGraphics&&t.customBulletGraphics.hide()},addListeners:function(n,t){var i=this,r,u;n.mouseover(function(n){i.handleRollOver(t,n)}).mouseout(function(n){i.handleRollOut(t,n)}).touchend(function(n){i.handleRollOver(t,n);i.chart.panEventsEnabled&&i.handleClick(t,n)}).touchstart(function(n){i.handleRollOver(t,n)}).click(function(n){i.handleClick(t,n)}).dblclick(function(n){i.handleDoubleClick(t,n)}).contextmenu(function(n){i.handleRightClick(t,n)});r=i.chart;r.accessible&&i.accessibleLabel&&(u=r.formatString(i.accessibleLabel,t),r.makeAccessible(n,u))},handleRollOver:function(n,t){var i,r;(this.handleGraphEvent(t,"rollOverGraph"),n)&&(i=this.chart,n.bulletConfig&&(i.isRolledOverBullet=!0),r={type:"rollOverGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t},this.fire(r),i.fire(r),clearTimeout(i.hoverInt),(i=i.chartCursor)&&i.valueBalloonsEnabled||this.showGraphBalloon(n,"V",!0))},handleRollOut:function(n,t){var i=this.chart,r;n&&(r={type:"rollOutGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t},this.fire(r),i.fire(r),i.isRolledOverBullet=!1);this.handleGraphEvent(t,"rollOutGraph");(i=i.chartCursor)&&i.valueBalloonsEnabled||this.hideBalloon()},handleClick:function(t,i){if(!this.chart.checkTouchMoved()&&this.chart.checkTouchDuration(i)){if(t){var r={type:"clickGraphItem",item:t,index:t.index,graph:this,target:this,chart:this.chart,event:i};this.fire(r);this.chart.fire(r);n.getURL(t.url,this.urlTarget)}this.handleGraphEvent(i,"clickGraph")}},handleGraphEvent:function(n,t){var i={type:t,graph:this,target:this,chart:this.chart,event:n};this.fire(i);this.chart.fire(i)},handleRightClick:function(n,t){if(n){var i={type:"rightClickGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t};this.fire(i);this.chart.fire(i)}},handleDoubleClick:function(n,t){if(n){var i={type:"doubleClickGraphItem",item:n,index:n.index,graph:this,target:this,chart:this.chart,event:t};this.fire(i);this.chart.fire(i)}},zoom:function(n,t){this.start=n;this.end=t;this.draw()},changeOpacity:function(n){var t=this.set,i,r;if(t&&t.setAttr("opacity",n),t=this.ownColumns)for(i=0;i<t.length;i++)r=t[i].set,r&&r.setAttr("opacity",n);(t=this.bulletSet)&&t.setAttr("opacity",n)},destroy:function(){var t,i;if(n.remove(this.set),n.remove(this.bulletSet),t=this.timeOuts,t)for(i=0;i<t.length;i++)clearTimeout(t[i]);this.timeOuts=[]},createBalloon:function(){var i=this.chart,t;this.balloon?this.balloon.destroy&&this.balloon.destroy():this.balloon={};t=this.balloon;n.extend(t,i.balloon,!0);t.chart=i;t.mainSet=i.plotBalloonsSet;t.className=this.id},hideBalloon:function(){var n=this,t=n.chart;t.chartCursor?t.chartCursor.valueBalloonsEnabled||t.hideBalloon():t.hideBalloon();clearTimeout(n.hoverInt);n.hoverInt=setTimeout(function(){n.hideBalloonReal.call(n)},t.hideBalloonTime)},hideBalloonReal:function(){this.balloon&&this.balloon.hide();this.fixBulletSize()},fixBulletSize:function(){var t,i,r;n.isModern&&(t=this.resizedDItem,t&&(i=t.bulletGraphics,i&&!i.doNotScale&&(i.translate(t.bx,t.by,1),r=this.bulletAlpha,isNaN(t.alpha)||(r=t.alpha),i.setAttr("fill-opacity",r),i.setAttr("stroke-opacity",this.bulletBorderAlpha))),this.resizedDItem=null)},showGraphBalloon:function(t,i,r,u,f){var s,l;if(t){var o=this.chart,e=this.balloon,h=0,c=0,s=o.chartCursor,a=!0;if(s?s.valueBalloonsEnabled||(e=o.balloon,h=this.x,c=this.y,a=!1):(e=o.balloon,h=this.x,c=this.y,a=!1),clearTimeout(this.hoverInt),o.chartCursor&&(this.currentDataItem=t,"serial"==o.type&&o.isRolledOverBullet&&o.chartCursor.valueBalloonsEnabled))return void this.hideBalloonReal();(this.resizeBullet(t,u,f),e&&e.enabled&&this.showBalloon&&!this.hidden)?(s=o.formatString(this.balloonText,t,!0),l=this.balloonFunction,l&&(s=l(t,t.graph)),s&&(s=n.cleanFromEmpty(s)),s&&""!==s?(u=o.getBalloonColor(this,t),e.drop||(e.pointerOrientation=i),i=t.x,f=t.y,o.rotate&&(i=t.y,f=t.x),i+=h,f+=c,isNaN(i)||isNaN(f)?this.hideBalloonReal():(t=this.width,l=this.height,a&&e.setBounds(h,c,t+h,l+c),e.changeColor(u),e.setPosition(i,f),e.fixPrevious(),e.fixedPosition&&(r=!1),!r&&"radar"!=o.type&&(i<h||i>t+h||f<c-.5||f>l+c)?(e.showBalloon(s),e.hide(0)):(e.followCursor(r),e.showBalloon(s)))):(this.hideBalloonReal(),e.hide(),this.resizeBullet(t,u,f))):this.hideBalloonReal()}},resizeBullet:function(t,i,r){if(this.fixBulletSize(),t&&n.isModern&&(1!=i||!isNaN(r))){var u=t.bulletGraphics;u&&!u.doNotScale&&(u.translate(t.bx,t.by,i),isNaN(r)||(u.setAttr("fill-opacity",r),u.setAttr("stroke-opacity",r)),this.resizedDItem=t)}}})}(),function(){var n=window.AmCharts;n.ChartCursor=n.Class({construct:function(t){this.cname="ChartCursor";this.createEvents("changed","zoomed","onHideCursor","onShowCursor","draw","selected","moved","panning","zoomStarted");this.enabled=!0;this.cursorAlpha=1;this.selectionAlpha=.2;this.cursorColor="#CC0000";this.categoryBalloonAlpha=1;this.color="#FFFFFF";this.type="cursor";this.zoomed=!1;this.zoomable=!0;this.pan=!1;this.categoryBalloonDateFormat="MMM DD, YYYY";this.categoryBalloonText="[[category]]";this.categoryBalloonEnabled=this.valueBalloonsEnabled=!0;this.rolledOver=!1;this.cursorPosition="middle";this.bulletsEnabled=this.skipZoomDispatch=!1;this.bulletSize=8;this.selectWithoutZooming=this.oneBalloonOnly=!1;this.graphBulletSize=1.7;this.animationDuration=.3;this.zooming=!1;this.adjustment=0;this.avoidBalloonOverlapping=!0;this.leaveCursor=!1;this.leaveAfterTouch=!0;this.valueZoomable=!1;this.balloonPointerOrientation="horizontal";this.hLineEnabled=this.vLineEnabled=!0;this.vZoomEnabled=this.hZoomEnabled=!1;n.applyTheme(this,t,this.cname)},draw:function(){var t,i;this.destroy();t=this.chart;t.panRequired=!0;i=t.container;this.rotate=t.rotate;this.container=i;this.prevLineHeight=this.prevLineWidth=NaN;i=i.set();i.translate(this.x,this.y);this.set=i;t.cursorSet.push(i);this.createElements();n.isString(this.limitToGraph)&&(this.limitToGraph=n.getObjById(t.graphs,this.limitToGraph),this.fullWidth=!1,this.cursorPosition="middle");this.pointer=this.balloonPointerOrientation.substr(0,1).toUpperCase();this.isHidden=!1;this.hideLines();this.valueLineAxis||(this.valueLineAxis=t.valueAxes[0])},createElements:function(){var u,r,t=this,i=t.chart,h=i.dx,c=i.dy,f=t.width,s=t.height,e=t.cursorAlpha,o=t.valueLineAlpha;t.rotate?(u=o,r=e):(r=o,u=e);"xy"==i.type&&(r=e,void 0!==o&&(r=o),u=e);t.vvLine=n.line(t.container,[h,0,0],[c,0,s],t.cursorColor,u,1);n.setCN(i,t.vvLine,"cursor-line");n.setCN(i,t.vvLine,"cursor-line-vertical");t.hhLine=n.line(t.container,[0,f,f+h],[0,0,c],t.cursorColor,r,1);n.setCN(i,t.hhLine,"cursor-line");n.setCN(i,t.hhLine,"cursor-line-horizontal");t.vLine=t.rotate?t.vvLine:t.hhLine;t.set.push(t.vvLine);t.set.push(t.hhLine);t.set.node.style.pointerEvents="none";t.fullLines=t.container.set();i=i.cursorLineSet;i.push(t.fullLines);i.translate(t.x,t.y);i.clipRect(-1,-1,f+2,s+2);void 0!==t.tabIndex&&(i.setAttr("tabindex",t.tabIndex),i.keyup(function(n){t.handleKeys(n)}).focus(function(){t.showCursor()}).blur(function(){t.hideCursor()}));t.set.clipRect(0,0,f,s)},handleKeys:function(t){var i=this.prevIndex,r=this.chart,u;r&&(u=r.chartData,u&&(isNaN(i)&&(i=u.length-1),37!=t.keyCode&&40!=t.keyCode||i--,39!=t.keyCode&&38!=t.keyCode||i++,i=n.fitToBounds(i,r.startIndex,r.endIndex),(t=this.chart.chartData[i])&&this.setPosition(t.x.categoryAxis),this.prevIndex=i))},update:function(){var n=this.chart,t,i,r;if(n&&(t=n.mouseX-this.x,i=n.mouseY-this.y,this.mouseX=t,this.mouseY=i,this.mouse2X=n.mouse2X-this.x,this.mouse2Y=n.mouse2Y-this.y,n.chartData&&0<n.chartData.length)){if(this.mouseIsOver()?(this.hideGraphBalloons=!1,this.rolledOver=r=!0,this.updateDrawing(),this.vvLine&&isNaN(this.fx)&&(n.rotate||!this.limitToGraph)&&this.vvLine.translate(t,0),!this.hhLine||!isNaN(this.fy)||n.rotate&&this.limitToGraph||this.hhLine.translate(0,i),isNaN(this.mouse2X)?this.dispatchMovedEvent(t,i):r=!1):this.forceShow||this.hideCursor(),this.zooming){if(!isNaN(this.mouse2X))return void(isNaN(this.mouse2X0)||this.dispatchPanEvent());if(this.pan)return void this.dispatchPanEvent();(this.hZoomEnabled||this.vZoomEnabled)&&this.zooming&&this.updateSelection()}r&&this.showCursor()}},updateDrawing:function(){if(this.drawing&&this.chart.setMouseCursor("crosshair"),this.drawingNow){n.remove(this.drawingLine);var t=this.chart,i=t.marginTop,t=t.marginLeft;this.drawingLine=n.line(this.container,[this.drawStartX+t,this.mouseX+t],[this.drawStartY+i,this.mouseY+i],this.cursorColor,1,1)}},fixWidth:function(t){if(this.fullWidth&&this.prevLineWidth!=t){var i=this.vvLine,r=0;i&&(i.remove(),r=i.x);i=this.container.set();i.translate(r,0);r=n.rect(this.container,t,this.height,this.cursorColor,this.cursorAlpha,this.cursorAlpha,this.cursorColor);n.setCN(this.chart,r,"cursor-fill");r.translate(-t/2-1,0);i.push(r);this.vvLine=i;this.fullLines.push(i);this.prevLineWidth=t}},fixHeight:function(t){if(this.fullWidth&&this.prevLineHeight!=t){var i=this.hhLine,r=0;i&&(i.remove(),r=i.y);i=this.container.set();i.translate(0,r);r=n.rect(this.container,this.width,t,this.cursorColor,this.cursorAlpha);r.translate(0,-t/2);i.push(r);this.fullLines.push(i);this.hhLine=i;this.prevLineHeight=t}},fixVLine:function(n,t){var i,r,u;isNaN(n)||(isNaN(this.prevLineX)?(i=0,r=this.mouseX,this.limitToGraph&&(u=this.chart.categoryAxis,u&&(this.chart.rotate||(i="bottom"==u.position?this.height:-this.height),r=n)),this.vvLine.translate(r,i)):this.prevLineX!=n&&this.vvLine.translate(this.prevLineX,this.prevLineY),this.fx=n,this.prevLineX!=n&&(i=this.animationDuration,this.zooming&&(i=0),this.vvLine.stop(),this.vvLine.animate({translate:n+","+t},i,"easeOutSine"),this.prevLineX=n,this.prevLineY=t))},fixHLine:function(n,t){var i,r,u;isNaN(n)||(isNaN(this.prevLineY)?(i=0,r=this.mouseY,this.limitToGraph&&(u=this.chart.categoryAxis,u&&(this.chart.rotate&&(i="right"==u.position?this.width:-this.width),r=n)),this.hhLine.translate(i,r)):this.prevLineY!=n&&this.hhLine.translate(this.prevLineX,this.prevLineY),this.fy=n,this.prevLineY!=n&&(i=this.animationDuration,this.zooming&&(i=0),this.hhLine.stop(),this.hhLine.animate({translate:t+","+n},i,"easeOutSine"),this.prevLineY=n,this.prevLineX=t))},hideCursor:function(n){this.forceShow=!1;this.chart.wasTouched&&this.leaveAfterTouch||this.isHidden||this.leaveCursor||(this.hideCursorReal(),n?this.chart.handleCursorHide():this.fire({target:this,chart:this.chart,type:"onHideCursor"}),this.chart.setMouseCursor("auto"))},hideCursorReal:function(){this.hideLines();this.isHidden=!0;this.index=this.prevLineY=this.prevLineX=this.mouseY0=this.mouseX0=this.fy=this.fx=NaN},hideLines:function(){this.vvLine&&this.vvLine.hide();this.hhLine&&this.hhLine.hide();this.fullLines&&this.fullLines.hide();this.isHidden=!0;this.chart.handleCursorHide()},showCursor:function(n){!this.drawing&&this.enabled&&(this.vLineEnabled&&this.vvLine&&this.vvLine.show(),this.hLineEnabled&&this.hhLine&&this.hhLine.show(),this.isHidden=!1,this.updateFullLine(),n||this.fire({target:this,chart:this.chart,type:"onShowCursor"}),this.pan&&this.chart.setMouseCursor("move"))},updateFullLine:function(){this.zooming&&this.fullWidth&&this.selection&&(this.rotate?0<this.selection.height&&this.hhLine.hide():0<this.selection.width&&this.vvLine.hide())},updateSelection:function(){var i,t;if(!this.pan&&this.enabled){i=this.mouseX;t=this.mouseY;isNaN(this.fx)||(i=this.fx);isNaN(this.fy)||(t=this.fy);this.clearSelection();var o,r=this.mouseX0,u=this.mouseY0,f=this.width,e=this.height,i=n.fitToBounds(i,0,f),t=n.fitToBounds(t,0,e);i<r&&(o=i,i=r,r=o);t<u&&(o=t,t=u,u=o);this.hZoomEnabled?f=i-r:r=0;this.vZoomEnabled?e=t-u:u=0;isNaN(this.mouse2X)&&0<Math.abs(f)&&0<Math.abs(e)&&(i=this.chart,t=n.rect(this.container,f,e,this.cursorColor,this.selectionAlpha),n.setCN(i,t,"cursor-selection"),t.width=f,t.height=e,t.translate(r,u),this.set.push(t),this.selection=t);this.updateFullLine()}},mouseIsOver:function(){var n=this.mouseX,t=this.mouseY;return this.justReleased?(this.justReleased=!1,!0):!!this.mouseIsDown||(this.chart.mouseIsOver?0<n&&n<this.width&&0<t&&t<this.height||void this.handleMouseOut():(this.handleMouseOut(),!1))},fixPosition:function(){this.prevY=this.prevX=NaN},handleMouseDown:function(){if(this.update(),this.mouseIsOver())if(this.mouseIsDown=!0,this.mouseX0=this.mouseX,this.mouseY0=this.mouseY,this.mouse2X0=this.mouse2X,this.mouse2Y0=this.mouse2Y,this.drawing)this.drawStartY=this.mouseY,this.drawStartX=this.mouseX,this.drawingNow=!0;else if(this.dispatchMovedEvent(this.mouseX,this.mouseY),!this.pan&&isNaN(this.mouse2X0)&&(isNaN(this.fx)||(this.mouseX0=this.fx),isNaN(this.fy)||(this.mouseY0=this.fy)),this.hZoomEnabled||this.vZoomEnabled){this.zooming=!0;var n={chart:this.chart,target:this,type:"zoomStarted"};n.x=this.mouseX/this.width;n.y=this.mouseY/this.height;this.index0=n.index=this.index;this.timestamp0=this.timestamp;this.fire(n)}},registerInitialMouse:function(){},handleReleaseOutside:function(){if(this.mouseIsDown=!1,this.drawingNow){this.drawingNow=!1;n.remove(this.drawingLine);var t=this.drawStartX,i=this.drawStartY,r=this.mouseX,u=this.mouseY,f=this.chart;(2<Math.abs(t-r)||2<Math.abs(i-u))&&this.fire({type:"draw",target:this,chart:f,initialX:t,initialY:i,finalX:r,finalY:u})}this.zooming&&(this.zooming=!1,this.selectWithoutZooming?this.dispatchZoomEvent("selected"):(this.hZoomEnabled||this.vZoomEnabled)&&this.dispatchZoomEvent("zoomed"),this.rolledOver&&this.dispatchMovedEvent(this.mouseX,this.mouseY));this.mouse2Y0=this.mouse2X0=this.mouseY0=this.mouseX0=NaN},dispatchZoomEvent:function(n){var o,t;if(!this.pan&&(t=this.selection,t&&3<Math.abs(t.width)&&3<Math.abs(t.height))){var i=Math.min(this.index,this.index0),r=Math.max(this.index,this.index0),s=i,h=r,f=this.chart,u=f.chartData,e=f.categoryAxis;e&&e.parseDates&&!e.equalSpacing&&(s=u[i]?u[i].time:Math.min(this.timestamp0,this.timestamp),h=u[r]?f.getEndTime(u[r].time):Math.max(this.timestamp0,this.timestamp));t={type:n,chart:this.chart,target:this,end:h,start:s,startIndex:i,endIndex:r,selectionHeight:t.height,selectionWidth:t.width,selectionY:t.y,selectionX:t.x};this.hZoomEnabled&&4<Math.abs(this.mouseX0-this.mouseX)&&(t.startX=this.mouseX0/this.width,t.endX=this.mouseX/this.width,o=!0);this.vZoomEnabled&&4<Math.abs(this.mouseY0-this.mouseY)&&(t.startY=1-this.mouseY0/this.height,t.endY=1-this.mouseY/this.height,o=!0);o&&(this.prevY=this.prevX=NaN,this.fire(t),"selected"!=n&&this.clearSelection());this.hideCursor()}},dispatchMovedEvent:function(n,t,i,r){var f,e,u;(n=Math.round(n),t=Math.round(t),this.isHidden||n==this.prevX&&t==this.prevY&&"changed"!=i)||(i||(i="moved"),f=this.fx,e=this.fy,isNaN(f)&&(f=n),isNaN(e)&&(e=t),u=!1,this.zooming&&this.pan&&(u=!0),u={hidden:this.isHidden,type:i,chart:this.chart,target:this,x:n,y:t,finalX:f,finalY:e,zooming:this.zooming,panning:u,mostCloseGraph:this.mostCloseGraph,index:this.index,skip:r,hideBalloons:this.hideGraphBalloons},this.prevIndex=this.index,this.rotate?(u.position=t,u.finalPosition=e):(u.position=n,u.finalPosition=f),this.prevX=n,this.prevY=t,r?this.chart.handleCursorMove(u):(this.fire(u),"changed"==i&&this.chart.fire(u)))},dispatchPanEvent:function(){if(this.mouseIsDown){var u=n.roundTo((this.mouseX-this.mouseX0)/this.width,3),f=n.roundTo((this.mouseY-this.mouseY0)/this.height,3),t=n.roundTo((this.mouse2X-this.mouse2X0)/this.width,3),i=n.roundTo((this.mouse2Y-this.mouse2Y0)/this.height,2),r=!1;0!==Math.abs(u)&&0!==Math.abs(f)&&(r=!0);this.prevDeltaX!=u&&this.prevDeltaY!=f||(r=!1);isNaN(t)||isNaN(i)||(0!==Math.abs(t)&&0!==Math.abs(i)&&(r=!0),this.prevDelta2X!=t&&this.prevDelta2Y!=i)||(r=!1);r&&(this.hideLines(),this.fire({type:"panning",chart:this.chart,target:this,deltaX:u,deltaY:f,delta2X:t,delta2Y:i,index:this.index}),this.prevDeltaX=u,this.prevDeltaY=f,this.prevDelta2X=t,this.prevDelta2Y=i)}},clearSelection:function(){var n=this.selection;n&&(n.width=0,n.height=0,n.remove())},destroy:function(){this.clear();n.remove(this.selection);this.selection=null;clearTimeout(this.syncTO);n.remove(this.set)},clear:function(){},setTimestamp:function(n){this.timestamp=n},setIndex:function(n,t){n!=this.index&&(this.index=n,t||this.isHidden||this.dispatchMovedEvent(this.mouseX,this.mouseY,"changed"))},handleMouseOut:function(){this.enabled&&this.rolledOver&&(this.leaveCursor||this.setIndex(void 0),this.forceShow=!1,this.hideCursor(),this.rolledOver=!1)},showCursorAt:function(n){var t=this.chart.categoryAxis;t&&this.setPosition(t.categoryToCoordinate(n),n)},setPosition:function(n,t){var i=this.chart,r=i.categoryAxis,u,f;r&&(void 0===t&&(t=r.coordinateToValue(n)),r.showBalloonAt(t,n),this.forceShow=!0,r.stickBalloonToCategory?i.rotate?this.fixHLine(n,0):this.fixVLine(n,0):(this.showCursor(),i.rotate?this.hhLine.translate(0,n):this.vvLine.translate(n,0)),i.rotate?u=n:f=n,i.rotate?(this.vvLine&&this.vvLine.hide(),this.hhLine&&this.hhLine.show()):(this.hhLine&&this.hhLine.hide(),this.vvLine&&this.vvLine.show()),this.updateFullLine(),this.isHidden=!1,this.dispatchMovedEvent(f,u,"moved",!0))},enableDrawing:function(n){this.enabled=!n;this.hideCursor();this.drawing=n},syncWithCursor:function(n,t){clearTimeout(this.syncTO);n&&(n.isHidden?this.hideCursor(!0):this.syncWithCursorReal(n,t))},isZooming:function(n){this.zooming=n},syncWithCursorReal:function(n,t){var u=n.vvLine,f=n.hhLine,i,r;this.index=n.index;this.forceShow=!0;this.zooming&&this.pan||this.showCursor(!0);this.hideGraphBalloons=t;this.justReleased=n.justReleased;this.zooming=n.zooming;this.index0=n.index0;this.mouseX0=n.mouseX0;this.mouseY0=n.mouseY0;this.mouse2X0=n.mouse2X0;this.mouse2Y0=n.mouse2Y0;this.timestamp0=n.timestamp0;this.prevDeltaX=n.prevDeltaX;this.prevDeltaY=n.prevDeltaY;this.prevDelta2X=n.prevDelta2X;this.prevDelta2Y=n.prevDelta2Y;this.fx=n.fx;this.fy=n.fy;n.zooming&&this.updateSelection();i=n.mouseX;r=n.mouseY;this.rotate?(i=NaN,this.vvLine&&this.vvLine.hide(),this.hhLine&&f&&(isNaN(n.fy)?this.hhLine.translate(0,n.mouseY):this.fixHLine(n.fy,0))):(r=NaN,this.hhLine&&this.hhLine.hide(),this.vvLine&&u&&(isNaN(n.fx)?this.vvLine.translate(n.mouseX,0):this.fixVLine(n.fx,0)));this.dispatchMovedEvent(i,r,"moved",!0)}})}(),function(){var n=window.AmCharts;n.SimpleChartScrollbar=n.Class({construct:function(t){this.createEvents("zoomed","zoomStarted","zoomEnded");this.backgroundColor="#D4D4D4";this.backgroundAlpha=1;this.selectedBackgroundColor="#EFEFEF";this.scrollDuration=this.selectedBackgroundAlpha=1;this.resizeEnabled=!0;this.hideResizeGrips=!1;this.scrollbarHeight=20;this.updateOnReleaseOnly=!1;9>document.documentMode&&(this.updateOnReleaseOnly=!0);this.dragIconHeight=this.dragIconWidth=35;this.dragIcon="dragIconRoundBig";this.dragCursorHover="cursor: move; cursor: grab; cursor: -moz-grab; cursor: -webkit-grab;";this.dragCursorDown="cursor: move; cursor: grab; cursor: -moz-grabbing; cursor: -webkit-grabbing;";this.vResizeCursor="ns-resize";this.hResizeCursor="ew-resize";this.enabled=!0;this.percentStart=this.offset=0;this.percentEnd=1;n.applyTheme(this,t,"SimpleChartScrollbar")},getPercents:function(){var n=this.getDBox(),t=n.x,i=n.y,r=n.width,n=n.height;this.rotate?(t=1-i/this.height,i=1-(i+n)/this.height):(i=t/this.width,t=(t+r)/this.width);this.percentStart=i;this.percentEnd=t},draw:function(){var t=this,s,e,u,h,r,c,l,a,v;if(t.destroy(),t.enabled){var i=t.chart.container,o=t.rotate,f=t.chart;f.panRequired=!0;s=i.set();t.set=s;f.scrollbarsSet.push(s);(o?(e=t.scrollbarHeight,u=f.plotAreaHeight):(u=t.scrollbarHeight,e=f.plotAreaWidth),t.width=e,(t.height=u)&&e)&&(r=n.rect(i,e,u,t.backgroundColor,t.backgroundAlpha,1,t.backgroundColor,t.backgroundAlpha),n.setCN(f,r,"scrollbar-bg"),t.bg=r,s.push(r),r=n.rect(i,e,u,"#000",.005),s.push(r),t.invisibleBg=r,r.click(function(){t.handleBgClick()}).mouseover(function(){t.handleMouseOver()}).mouseout(function(){t.handleMouseOut()}).touchend(function(){t.handleBgClick()}),r=n.rect(i,e,u,t.selectedBackgroundColor,t.selectedBackgroundAlpha),n.setCN(f,r,"scrollbar-bg-selected"),t.selectedBG=r,s.push(r),e=n.rect(i,e,u,"#000",.005),t.dragger=e,s.push(e),e.mousedown(function(n){t.handleDragStart(n)}).mouseup(function(){t.handleDragStop()}).mouseover(function(){t.handleDraggerOver()}).mouseout(function(){t.handleMouseOut()}).touchstart(function(n){t.handleDragStart(n)}).touchend(function(){t.handleDragStop()}),u=f.pathToImages,r=t.dragIcon.replace(/\.[a-z]*$/i,""),n.isAbsolute(r)&&(u=""),o?(h=u+r+"H"+f.extension,u=t.dragIconWidth,o=t.dragIconHeight):(h=u+r+f.extension,o=t.dragIconWidth,u=t.dragIconHeight),r=i.image(h,0,0,o,u),n.setCN(f,r,"scrollbar-grip-left"),h=i.image(h,0,0,o,u),n.setCN(f,h,"scrollbar-grip-right"),c=10,l=20,f.panEventsEnabled&&(c=25,l=t.scrollbarHeight),a=n.rect(i,c,l,"#000",.005),v=n.rect(i,c,l,"#000",.005),v.translate(-(c-o)/2,-(l-u)/2),a.translate(-(c-o)/2,-(l-u)/2),o=i.set([r,v]),i=i.set([h,a]),t.iconLeft=o,s.push(t.iconLeft),t.iconRight=i,s.push(i),t.updateGripCursor(!1),f.makeAccessible(o,t.accessibleLabel),f.makeAccessible(i,t.accessibleLabel),f.makeAccessible(e,t.accessibleLabel),o.setAttr("role","menuitem"),i.setAttr("role","menuitem"),e.setAttr("role","menuitem"),void 0!==t.tabIndex&&(o.setAttr("tabindex",t.tabIndex),o.keyup(function(n){t.handleKeys(n,1,0)})),void 0!==t.tabIndex&&(e.setAttr("tabindex",t.tabIndex),e.keyup(function(n){t.handleKeys(n,1,1)})),void 0!==t.tabIndex&&(i.setAttr("tabindex",t.tabIndex),i.keyup(function(n){t.handleKeys(n,0,1)})),o.mousedown(function(){t.leftDragStart()}).mouseup(function(){t.leftDragStop()}).mouseover(function(){t.iconRollOver()}).mouseout(function(){t.iconRollOut()}).touchstart(function(){t.leftDragStart()}).touchend(function(){t.leftDragStop()}),i.mousedown(function(){t.rightDragStart()}).mouseup(function(){t.rightDragStop()}).mouseover(function(){t.iconRollOver()}).mouseout(function(){t.iconRollOut()}).touchstart(function(){t.rightDragStart()}).touchend(function(){t.rightDragStop()}),n.ifArray(f.chartData)?s.show():s.hide(),t.hideDragIcons(),t.clipDragger(!1));s.translate(t.x,t.y);s.node.style.msTouchAction="none";s.node.style.touchAction="none"}},handleKeys:function(n,t,i){var r,u;if(this.getPercents(),r=this.percentStart,u=this.percentEnd,this.rotate)var f=u,u=r,r=f;37!=n.keyCode&&40!=n.keyCode||(r-=.02*t,u-=.02*i);39!=n.keyCode&&38!=n.keyCode||(r+=.02*t,u+=.02*i);this.rotate&&(n=u,u=r,r=n);isNaN(u)||isNaN(r)||this.percentZoom(r,u,!0)},updateScrollbarSize:function(n,t){if(!isNaN(n)&&!isNaN(t)){n=Math.round(n);t=Math.round(t);var i,r,f,e,o,u=this.dragger;this.rotate?(i=0,r=n,f=this.width+1,e=t-n,u.setAttr("height",t-n),u.setAttr("y",r)):(i=n,r=0,f=t-n,e=this.height+1,o=t-n,u.setAttr("x",i),u.setAttr("width",o));this.clipAndUpdate(i,r,f,e)}},update:function(){var n,i,t,c=!1,u=this.x,f=this.y,e=this.dragger,o=this.getDBox();if(o){i=o.x+u;t=o.y+f;var l=o.width,o=o.height,a=this.rotate,r=this.chart,s=this.width,h=this.height,v=r.mouseX,y=r.mouseY;n=this.initialMouse;this.forceClip&&this.clipDragger(!0);r.mouseIsOver&&(this.dragging&&(r=this.initialCoord,a?(n=r+(y-n),0>n&&(n=0),r=h-o,n>r&&(n=r),e.setAttr("y",n)):(n=r+(v-n),0>n&&(n=0),r=s-l,n>r&&(n=r),e.setAttr("x",n)),this.clipDragger(!0)),this.resizingRight&&(a?(n=y-t,!isNaN(this.maxHeight)&&n>this.maxHeight&&(n=this.maxHeight),n+t>h+f&&(n=h-t+f),0>n?(this.resizingRight=!1,c=this.resizingLeft=!0):((0===n||isNaN(n))&&(n=.1),e.setAttr("height",n))):(n=v-i,!isNaN(this.maxWidth)&&n>this.maxWidth&&(n=this.maxWidth),n+i>s+u&&(n=s-i+u),0>n?(this.resizingRight=!1,c=this.resizingLeft=!0):((0===n||isNaN(n))&&(n=.1),e.setAttr("width",n))),this.clipDragger(!0)),this.resizingLeft&&(a?(i=t,t=y,t<f&&(t=f),isNaN(t)&&(t=f),t>h+f&&(t=h+f),n=!0===c?i-t:o+i-t,!isNaN(this.maxHeight)&&n>this.maxHeight&&(n=this.maxHeight,t=i),0>n?(this.resizingRight=!0,this.resizingLeft=!1,e.setAttr("y",i+o-f)):((0===n||isNaN(n))&&(n=.1),e.setAttr("y",t-f),e.setAttr("height",n))):(t=v,t<u&&(t=u),isNaN(t)&&(t=u),t>s+u&&(t=s+u),n=!0===c?i-t:l+i-t,!isNaN(this.maxWidth)&&n>this.maxWidth&&(n=this.maxWidth,t=i),0>n?(this.resizingRight=!0,this.resizingLeft=!1,e.setAttr("x",i+l-u)):((0===n||isNaN(n))&&(n=.1),e.setAttr("x",t-u),e.setAttr("width",n))),this.clipDragger(!0)))}},stopForceClip:function(){this.animating=this.forceClip=!1},clipDragger:function(n){var t=this.getDBox();if(t){var i=t.x,r=t.y,u=t.width,t=t.height,f=!1;this.rotate?(i=0,u=this.width+1,(this.clipY!=r||this.clipH!=t)&&(f=!0)):(r=0,t=this.height+1,(this.clipX!=i||this.clipW!=u)&&(f=!0));f&&(this.clipAndUpdate(i,r,u,t),n&&(this.updateOnReleaseOnly||this.dispatchScrollbarEvent()))}},maskGraphs:function(){},clipAndUpdate:function(n,t,i,r){this.clipX=n;this.clipY=t;this.clipW=i;this.clipH=r;this.selectedBG.setAttr("width",i);this.selectedBG.setAttr("height",r);this.selectedBG.translate(n,t);this.updateDragIconPositions();this.maskGraphs(n,t,i,r)},dispatchScrollbarEvent:function(){var i;if(this.skipEvent)this.skipEvent=!1;else{i=this.chart;i.hideBalloon();var n=this.getDBox(),r=n.x,u=n.y,t=n.width,n=n.height;this.getPercents();this.rotate?(r=u,t=this.height/n):t=this.width/t;this.fire({type:"zoomed",position:r,chart:i,target:this,multiplier:t,relativeStart:this.percentStart,relativeEnd:this.percentEnd})}},updateDragIconPositions:function(){var n,t,i=this.getDBox(),u=i.x,f=i.y,e=this.iconLeft,o=this.iconRight,r=this.scrollbarHeight;this.rotate?(n=this.dragIconWidth,t=this.dragIconHeight,e.translate((r-t)/2,f-n/2),o.translate((r-t)/2,f+i.height-n/2)):(n=this.dragIconHeight,t=this.dragIconWidth,e.translate(u-t/2,(r-n)/2),o.translate(u-t/2+i.width,(r-n)/2))},showDragIcons:function(){this.resizeEnabled&&(this.iconLeft.show(),this.iconRight.show())},hideDragIcons:function(){this.resizingLeft||this.resizingRight||this.dragging||(!this.hideResizeGrips&&this.resizeEnabled||(this.iconLeft.hide(),this.iconRight.hide()),this.removeCursors())},removeCursors:function(){this.chart.setMouseCursor("auto")},fireZoomEvent:function(n){this.fire({type:n,chart:this.chart,target:this})},percentZoom:function(t,i,r){if(t=n.fitToBounds(t,0,i),i=n.fitToBounds(i,t,1),this.dragger&&this.enabled){this.dragger.stop();isNaN(t)&&(t=0);isNaN(i)&&(i=1);var u,f;this.rotate?(u=this.height,i=u-u*i,f=u-u*t):(u=this.width,f=u*i,i=u*t);this.updateScrollbarSize(i,f);this.clipDragger(!1);this.getPercents();r&&this.dispatchScrollbarEvent()}},destroy:function(){this.clear();n.remove(this.set);n.remove(this.iconRight);n.remove(this.iconLeft)},clear:function(){},handleDragStart:function(){var t,i;this.enabled&&(this.fireZoomEvent("zoomStarted"),t=this.chart,this.dragger.stop(),this.removeCursors(),n.isModern&&this.dragger.node.setAttribute("style",this.dragCursorDown),this.dragging=!0,i=this.getDBox(),this.rotate?(this.initialCoord=i.y,this.initialMouse=t.mouseY):(this.initialCoord=i.x,this.initialMouse=t.mouseX))},handleDragStop:function(){this.updateOnReleaseOnly&&(this.update(),this.skipEvent=!1,this.dispatchScrollbarEvent());this.dragging=!1;this.mouseIsOver&&this.removeCursors();n.isModern&&this.dragger.node.setAttribute("style",this.dragCursorHover);this.update();this.fireZoomEvent("zoomEnded")},handleDraggerOver:function(){this.handleMouseOver();n.isModern&&this.dragger.node.setAttribute("style",this.dragCursorHover)},leftDragStart:function(){this.fireZoomEvent("zoomStarted");this.dragger.stop();this.resizingLeft=!0;this.updateGripCursor(!0)},updateGripCursor:function(t){n.isModern&&(t=this.rotate?t?this.vResizeCursorDown:this.vResizeCursorHover:t?this.hResizeCursorDown:this.hResizeCursorHover)&&(this.iconRight&&this.iconRight.node.setAttribute("style",t),this.iconLeft&&this.iconLeft.node.setAttribute("style",t))},leftDragStop:function(){this.resizingLeft&&(this.resizingLeft=!1,this.mouseIsOver||this.removeCursors(),this.updateOnRelease(),this.fireZoomEvent("zoomEnded"));this.updateGripCursor(!1)},rightDragStart:function(){this.fireZoomEvent("zoomStarted");this.dragger.stop();this.resizingRight=!0;this.updateGripCursor(!0)},rightDragStop:function(){this.resizingRight&&(this.resizingRight=!1,this.mouseIsOver||this.removeCursors(),this.updateOnRelease(),this.fireZoomEvent("zoomEnded"));this.updateGripCursor(!1)},iconRollOut:function(){this.removeCursors()},iconRollOver:function(){this.rotate?this.vResizeCursor&&this.chart.setMouseCursor(this.vResizeCursor):this.hResizeCursor&&this.chart.setMouseCursor(this.hResizeCursor);this.handleMouseOver()},getDBox:function(){if(this.dragger)return this.dragger.getBBox()},handleBgClick:function(){var t=this,r,i,u,f,e,o;if(!t.resizingRight&&!t.resizingLeft){t.zooming=!0;u=t.scrollDuration;f=t.dragger;r=t.getDBox();e=r.height;o=r.width;i=t.chart;var h=t.y,c=t.x,s=t.rotate;s?(r="y",i=i.mouseY-e/2-h,i=n.fitToBounds(i,0,t.height-e)):(r="x",i=i.mouseX-o/2-c,i=n.fitToBounds(i,0,t.width-o));t.updateOnReleaseOnly?(t.skipEvent=!1,f.setAttr(r,i),t.dispatchScrollbarEvent(),t.clipDragger()):(t.animating=!0,i=Math.round(i),s?f.animate({y:i},u,">"):f.animate({x:i},u,">"),t.forceClip=!0,clearTimeout(t.forceTO),t.forceTO=setTimeout(function(){t.stopForceClip.call(t)},5e3*u))}},updateOnRelease:function(){this.updateOnReleaseOnly&&(this.update(),this.skipEvent=!1,this.dispatchScrollbarEvent())},handleReleaseOutside:function(){this.set&&((this.resizingLeft||this.resizingRight||this.dragging)&&(this.dragging=this.resizingRight=this.resizingLeft=!1,this.updateOnRelease(),this.removeCursors()),this.animating=this.mouseIsOver=!1,this.hideDragIcons(),this.update())},handleMouseOver:function(){this.mouseIsOver=!0;this.showDragIcons()},handleMouseOut:function(){this.mouseIsOver=!1;this.hideDragIcons();this.removeCursors()}})}(),function(){var n=window.AmCharts;n.ChartScrollbar=n.Class({inherits:n.SimpleChartScrollbar,construct:function(t){this.cname="ChartScrollbar";n.ChartScrollbar.base.construct.call(this,t);this.graphLineColor="#BBBBBB";this.graphLineAlpha=0;this.graphFillColor="#BBBBBB";this.graphFillAlpha=1;this.selectedGraphLineColor="#888888";this.selectedGraphLineAlpha=0;this.selectedGraphFillColor="#888888";this.selectedGraphFillAlpha=1;this.gridCount=0;this.gridColor="#FFFFFF";this.gridAlpha=.7;this.skipEvent=this.autoGridCount=!1;this.color="#FFFFFF";this.scrollbarCreated=!1;this.oppositeAxis=!0;this.accessibleLabel="Zoom chart using cursor arrows";n.applyTheme(this,t,this.cname)},init:function(){var t=this.categoryAxis,r=this.chart,i=this.gridAxis,u;t||("CategoryAxis"==this.gridAxis.cname?(this.catScrollbar=!0,t=new n.CategoryAxis,t.id="scrollbar"):(t=new n.ValueAxis,t.data=r.chartData,t.id=i.id,t.type=i.type,t.maximumDate=i.maximumDate,t.minimumDate=i.minimumDate,t.minPeriod=i.minPeriod),this.categoryAxis=t);t.chart=r;u=r.categoryAxis;u&&(t.firstDayOfWeek=u.firstDayOfWeek);t.dateFormats=i.dateFormats;t.markPeriodChange=i.markPeriodChange;t.boldPeriodBeginning=i.boldPeriodBeginning;t.labelFunction=i.labelFunction;t.axisItemRenderer=n.RecItem;t.axisRenderer=n.RecAxis;t.guideFillRenderer=n.RecFill;t.inside=!0;t.fontSize=this.fontSize;t.tickLength=0;t.axisAlpha=0;n.isString(this.graph)&&(this.graph=n.getObjById(r.graphs,this.graph));(t=this.graph)&&this.catScrollbar&&(i=this.valueAxis,i||(this.valueAxis=i=new n.ValueAxis,i.visible=!1,i.scrollbar=!0,i.axisItemRenderer=n.RecItem,i.axisRenderer=n.RecAxis,i.guideFillRenderer=n.RecFill,i.labelsEnabled=!1,i.chart=r),r=this.unselectedGraph,r||(r=new n.AmGraph,r.scrollbar=!0,this.unselectedGraph=r,r.negativeBase=t.negativeBase,r.noStepRisers=t.noStepRisers),(r=this.selectedGraph)||(r=new n.AmGraph,r.scrollbar=!0,this.selectedGraph=r,r.negativeBase=t.negativeBase,r.noStepRisers=t.noStepRisers));this.scrollbarCreated=!0},draw:function(){var t=this,e,r,w,h,c,i,b,v;if(n.ChartScrollbar.base.draw.call(t),t.enabled){t.scrollbarCreated||t.init();var s=t.chart,o=s.chartData,f=t.categoryAxis,l=t.rotate,h=t.x,c=t.y,y=t.width,p=t.height,u=t.gridAxis,a=t.set;if(f.setOrientation(!l),f.parseDates=u.parseDates,"ValueAxis"==t.categoryAxis.cname&&(f.rotate=!l),f.equalSpacing=u.equalSpacing,f.minPeriod=u.minPeriod,f.startOnAxis=u.startOnAxis,f.width=y-1,f.height=p,f.gridCount=t.gridCount,f.gridColor=t.gridColor,f.gridAlpha=t.gridAlpha,f.color=t.color,f.tickLength=0,f.axisAlpha=0,f.autoGridCount=t.autoGridCount,f.parseDates&&!f.equalSpacing&&f.timeZoom(s.firstTime,s.lastTime),f.minimum=t.gridAxis.fullMin,f.maximum=t.gridAxis.fullMax,f.strictMinMax=!0,f.zoom(0,o.length-1),(u=t.graph)&&t.catScrollbar){for(e=t.valueAxis,r=u.valueAxis,e.id=r.id,e.rotate=l,e.setOrientation(l),e.width=y,e.height=p,e.dataProvider=o,e.reversed=r.reversed,e.logarithmic=r.logarithmic,e.gridAlpha=0,e.axisAlpha=0,a.push(e.set),l?(e.y=c,e.x=0):(e.x=h,e.y=0),h=1/0,c=-1/0,w=0;w<o.length;w++){b=o[w].axes[r.id].graphs[u.id].values;for(i in b)b.hasOwnProperty(i)&&"percents"!=i&&"total"!=i&&(v=b[i],v<h&&(h=v),v>c&&(c=v))}1/0!=h&&(e.minimum=h);-1/0!=c&&(e.maximum=c+.1*(c-h));h==c&&(--e.minimum,e.maximum+=1);void 0!==t.minimum&&(e.minimum=t.minimum);void 0!==t.maximum&&(e.maximum=t.maximum);e.zoom(0,o.length-1);i=t.unselectedGraph;i.id=u.id;i.bcn="scrollbar-graph-";i.rotate=l;i.chart=s;i.data=o;i.valueAxis=e;i.chart=u.chart;i.categoryAxis=t.categoryAxis;i.periodSpan=u.periodSpan;i.valueField=u.valueField;i.openField=u.openField;i.closeField=u.closeField;i.highField=u.highField;i.lowField=u.lowField;i.lineAlpha=t.graphLineAlpha;i.lineColorR=t.graphLineColor;i.fillAlphas=t.graphFillAlpha;i.fillColorsR=t.graphFillColor;i.connect=u.connect;i.hidden=u.hidden;i.width=y;i.height=p;i.pointPosition=u.pointPosition;i.stepDirection=u.stepDirection;i.periodSpan=u.periodSpan;r=t.selectedGraph;r.id=u.id;r.bcn=i.bcn+"selected-";r.rotate=l;r.chart=s;r.data=o;r.valueAxis=e;r.chart=u.chart;r.categoryAxis=f;r.periodSpan=u.periodSpan;r.valueField=u.valueField;r.openField=u.openField;r.closeField=u.closeField;r.highField=u.highField;r.lowField=u.lowField;r.lineAlpha=t.selectedGraphLineAlpha;r.lineColorR=t.selectedGraphLineColor;r.fillAlphas=t.selectedGraphFillAlpha;r.fillColorsR=t.selectedGraphFillColor;r.connect=u.connect;r.hidden=u.hidden;r.width=y;r.height=p;r.pointPosition=u.pointPosition;r.stepDirection=u.stepDirection;r.periodSpan=u.periodSpan;s=t.graphType;s||(s=u.type);i.type=s;r.type=s;o=o.length-1;i.zoom(0,o);r.zoom(0,o);r.set.click(function(){t.handleBackgroundClick()}).mouseover(function(){t.handleMouseOver()}).mouseout(function(){t.handleMouseOut()});i.set.click(function(){t.handleBackgroundClick()}).mouseover(function(){t.handleMouseOver()}).mouseout(function(){t.handleMouseOut()});a.push(i.set);a.push(r.set)}a.push(f.set);a.push(f.labelsSet);t.bg.toBack();t.invisibleBg.toFront();t.dragger.toFront();t.iconLeft.toFront();t.iconRight.toFront()}},timeZoom:function(t,i,r){this.startTime=t;this.endTime=i;this.timeDifference=i-t;this.skipEvent=!n.toBoolean(r);this.zoomScrollbar();this.dispatchScrollbarEvent()},zoom:function(n,t){this.start=n;this.end=t;this.skipEvent=!0;this.zoomScrollbar()},dispatchScrollbarEvent:function(){var t,h,s,e;if(this.categoryAxis&&"ValueAxis"==this.categoryAxis.cname)n.ChartScrollbar.base.dispatchScrollbarEvent.call(this);else if(this.skipEvent)this.skipEvent=!1;else{s=this.chart.chartData;e=this.dragger.getBBox();t=e.x;var r=e.y,u=e.width,e=e.height,f=this.chart;this.rotate?(t=r,h=e):h=u;u={type:"zoomed",target:this};u.chart=f;var i=this.categoryAxis,c=this.stepWidth,r=f.minSelectedTime,e=f.maxSelectedTime,o=!1;i.parseDates&&!i.equalSpacing?(s=f.lastTime,f=f.firstTime,i=Math.round(t/c)+f,t=this.dragging?i+this.timeDifference:Math.round((t+h)/c)+f,i>t&&(i=t),0<r&&t-i<r&&(t=Math.round(i+(t-i)/2),o=Math.round(r/2),i=t-o,t+=o,o=!0),0<e&&t-i>e&&(t=Math.round(i+(t-i)/2),o=Math.round(e/2),i=t-o,t+=o,o=!0),t>s&&(t=s),t-r<i&&(i=t-r),i<f&&(i=f),i+r>t&&(t=i+r),(i!=this.startTime||t!=this.endTime)&&(this.startTime=i,this.endTime=t,u.start=i,u.end=t,u.startDate=new Date(i),u.endDate=new Date(t),this.fire(u))):(i.startOnAxis||(t+=c/2),h-=this.stepWidth/2,r=i.xToIndex(t),t=i.xToIndex(t+h),r==this.start&&this.end==t||(i.startOnAxis&&(this.resizingRight&&r==t&&t++,this.resizingLeft&&r==t&&(0<r?r--:t=1)),this.start=r,this.end=this.dragging?this.start+this.difference:t,u.start=this.start,u.end=this.end,i.parseDates&&(s[this.start]&&(u.startDate=new Date(s[this.start].time)),s[this.end]&&(u.endDate=new Date(s[this.end].time))),this.fire(u)),this.percentStart=r,this.percentEnd=t);o&&this.zoomScrollbar(!0)}},zoomScrollbar:function(n){var r,i,t;(!(this.dragging||this.resizingLeft||this.resizingRight||this.animating)||n)&&this.dragger&&this.enabled&&(n=this.chart,i=n.chartData,t=this.categoryAxis,t.parseDates&&!t.equalSpacing?(i=t.stepWidth,t=n.firstTime,n=i*(this.startTime-t),r=i*(this.endTime-t)):(n=i[this.start].x[t.id],r=i[this.end].x[t.id],i=t.stepWidth,t.startOnAxis||(t=i/2,n-=t,r+=t)),this.stepWidth=i,this.updateScrollbarSize(n,r))},maskGraphs:function(n,t,i,r){var u=this.selectedGraph;u&&u.set.clipRect(n,t,i,r)},handleDragStart:function(){n.ChartScrollbar.base.handleDragStart.call(this);this.difference=this.end-this.start;this.timeDifference=this.endTime-this.startTime;0>this.timeDifference&&(this.timeDifference=0)},handleBackgroundClick:function(){n.ChartScrollbar.base.handleBackgroundClick.call(this);this.dragging||(this.difference=this.end-this.start,this.timeDifference=this.endTime-this.startTime,0>this.timeDifference&&(this.timeDifference=0))}})}(),function(){var n=window.AmCharts;n.AmBalloon=n.Class({construct:function(t){this.cname="AmBalloon";this.enabled=!0;this.fillColor="#FFFFFF";this.fillAlpha=.8;this.borderThickness=2;this.borderColor="#FFFFFF";this.borderAlpha=1;this.cornerRadius=0;this.maxWidth=220;this.horizontalPadding=8;this.verticalPadding=4;this.pointerWidth=6;this.pointerOrientation="V";this.color="#000000";this.adjustBorderColor=!0;this.show=this.follow=this.showBullet=!1;this.bulletSize=3;this.shadowAlpha=.4;this.shadowColor="#000000";this.fadeOutDuration=this.animationDuration=.3;this.fixedPosition=!0;this.offsetY=6;this.offsetX=1;this.textAlign="center";this.disableMouseEvents=!0;this.deltaSignX=this.deltaSignY=1;n.isModern||(this.offsetY*=1.5);this.sdy=this.sdx=0;n.applyTheme(this,t,this.cname)},draw:function(){var f=this.pointToX,o=this.pointToY,a,s,p,i,r,rt,ut,st,t;if(n.isModern||(this.drop=!1),a=this.chart,n.VML&&(this.fadeOutDuration=0),this.xAnim&&a.stopAnim(this.xAnim),this.yAnim&&a.stopAnim(this.yAnim),this.sdy=this.sdx=0,!isNaN(f)){var ot=this.follow,v=a.container,y=this.set;if(n.remove(y),this.removeDiv(),y=v.set(),y.node.style.pointerEvents="none",this.set=y,this.mainSet?(this.mainSet.push(this.set),this.sdx=this.mainSet.x,this.sdy=this.mainSet.y):a.balloonsSet.push(y),this.show){var e=this.l,b=this.t,w=this.r,g=this.b,s=this.balloonColor,c=this.fillColor,it=this.borderColor,nt=c;void 0!=s&&(this.adjustBorderColor?nt=it=s:c=s);var k=this.horizontalPadding,tt=this.verticalPadding,h=this.pointerWidth,l=this.pointerOrientation,d=this.cornerRadius,u=a.fontFamily,t=this.fontSize;void 0==t&&(t=a.fontSize);s=document.createElement("div");p=a.classNamePrefix;s.className=p+"-balloon-div";this.className&&(s.className=s.className+" "+p+"-balloon-div-"+this.className);p=s.style;this.disableMouseEvents&&(p.pointerEvents="none");p.position="absolute";i=this.minWidth;r="";isNaN(i)||(r="min-width:"+(i-2*k)+"px; ");s.innerHTML='<div style="text-align:'+this.textAlign+"; "+r+"max-width:"+this.maxWidth+"px; font-size:"+t+"px; color:"+this.color+"; font-family:"+u+'">'+this.text+"<\/div>";a.chartDiv.appendChild(s);this.textDiv=s;rt=s.offsetWidth;ut=s.offsetHeight;s.clientHeight&&(rt=s.clientWidth,ut=s.clientHeight);u=ut+2*tt;r=rt+2*k;!isNaN(i)&&r<i&&(r=i);window.opera&&(u+=2);st=!1;t=this.offsetY;a.handDrawn&&(t+=a.handDrawScatter+2);"H"!=l?(i=f-r/2,o<b+u+10&&"down"!=l?(st=!0,ot&&(o+=t),t=o+h,this.deltaSignY=-1):(ot&&(o-=t),t=o-u-h,this.deltaSignY=1)):(2*h>u&&(h=u/2),t=o-u/2,f<e+(w-e)/2?(i=f+h,this.deltaSignX=-1):(i=f-r-h,this.deltaSignX=1));t+u>=g&&(t=g-u);t<b&&(t=b);i<e&&(i=e);i+r>w&&(i=w-r);var ft,b=t+tt,g=i+k,et=this.shadowAlpha,ct=this.shadowColor,k=this.borderThickness,lt=this.bulletSize,tt=this.fillAlpha,ht=this.borderAlpha;this.showBullet&&(ft=n.circle(v,lt,nt,tt),y.push(ft));this.drop?(e=r/1.6,w=0,"V"==l&&(l="down"),"H"==l&&(l="left"),"down"==l&&(i=f+1,t=o-e-e/3),"up"==l&&(w=180,i=f+1,t=o+e+e/3),"left"==l&&(w=270,i=f+e+e/3+2,t=o),"right"==l&&(w=90,i=f-e-e/3+2,t=o),b=t-ut/2+1,g=i-rt/2-1,c=n.drop(v,e,w,c,tt,k,it,ht)):0<d||0===h?(0<et&&(f=n.rect(v,r,u,c,0,k+1,ct,et,d),n.isModern?f.translate(1,1):f.translate(4,4),y.push(f)),c=n.rect(v,r,u,c,tt,k,it,ht,d)):(nt=[],d=[],"H"!=l?(e=f-i,e>r-h&&(e=r-h),e<h&&(e=h),nt=[0,e-h,f-i,e+h,r,r,0,0],d=st?[0,0,o-t,0,0,u,u,0]:[u,u,o-t,u,u,0,0,u]):(l=o-t,l>u-h&&(l=u-h),l<h&&(l=h),d=[0,l-h,o-t,l+h,u,u,0,0],nt=f<e+(w-e)/2?[0,0,i<f?0:f-i,0,0,r,r,0]:[r,r,i+r>f?r:f-i,r,r,0,0,r]),0<et&&(f=n.polygon(v,nt,d,c,0,k,ct,et),f.translate(1,1),y.push(f)),c=n.polygon(v,nt,d,c,tt,k,it,ht));this.bg=c;y.push(c);c.toFront();n.setCN(a,c,"balloon-bg");this.className&&n.setCN(a,c,"balloon-bg-"+this.className);v=1*this.deltaSignX;g+=this.sdx;b+=this.sdy;p.left=g+"px";p.top=b+"px";y.translate(i-v,t,1,!0);c=c.getBBox();this.bottom=t+u+1;this.yPos=c.y+t;ft&&ft.translate(this.pointToX-i+v,o-t);o=this.animationDuration;0<this.animationDuration&&!ot&&!isNaN(this.prevX)&&(y.translate(this.prevX,this.prevY,NaN,!0),y.animate({translate:i-v+","+t},o,"easeOutSine"),s&&(p.left=this.prevTX+"px",p.top=this.prevTY+"px",this.xAnim=a.animate({node:s},"left",this.prevTX,g,o,"easeOutSine","px"),this.yAnim=a.animate({node:s},"top",this.prevTY,b,o,"easeOutSine","px")));this.prevX=i-v;this.prevY=t;this.prevTX=g;this.prevTY=b}}},fixPrevious:function(){this.rPrevX=this.prevX;this.rPrevY=this.prevY;this.rPrevTX=this.prevTX;this.rPrevTY=this.prevTY},restorePrevious:function(){this.prevX=this.rPrevX;this.prevY=this.rPrevY;this.prevTX=this.rPrevTX;this.prevTY=this.rPrevTY},followMouse:function(){var n,t,i;if(this.follow&&this.show&&(n=this.chart.mouseX-this.offsetX*this.deltaSignX-this.sdx,t=this.chart.mouseY-this.sdy,this.pointToX=n,this.pointToY=t,n!=this.previousX||t!=this.previousY))if(this.previousX=n,this.previousY=t,0===this.cornerRadius)this.draw();else if(i=this.set,i){var r=i.getBBox(),n=n-r.width/2,u=t-r.height-10;n<this.l&&(n=this.l);n>this.r-r.width&&(n=this.r-r.width);u<this.t&&(u=t+10);i.translate(n,u);t=this.textDiv.style;t.left=n+this.horizontalPadding+"px";t.top=u+this.verticalPadding+"px"}},changeColor:function(n){this.balloonColor=n},setBounds:function(n,t,i,r){this.l=n;this.t=t;this.r=i;this.b=r;this.destroyTO&&clearTimeout(this.destroyTO)},showBalloon:function(n){(this.text!=n||this.positionChanged)&&(this.text=n,this.isHiding=!1,this.show=!0,this.destroyTO&&clearTimeout(this.destroyTO),n=this.chart,this.fadeAnim1&&n.stopAnim(this.fadeAnim1),this.fadeAnim2&&n.stopAnim(this.fadeAnim2),this.draw(),this.positionChanged=!1)},hide:function(n){var t=this,r,i;t.text=void 0;isNaN(n)&&(n=t.fadeOutDuration);r=t.chart;0<n&&!t.isHiding?(t.isHiding=!0,t.destroyTO&&clearTimeout(t.destroyTO),t.destroyTO=setTimeout(function(){t.destroy.call(t)},1e3*n),t.follow=!1,t.show=!1,i=t.set,i&&(i.setAttr("opacity",t.fillAlpha),t.fadeAnim1=i.animate({opacity:0},n,"easeInSine")),t.textDiv&&(t.fadeAnim2=r.animate({node:t.textDiv},"opacity",1,0,n,"easeInSine",""))):(t.show=!1,t.follow=!1,t.destroy())},setPosition:function(n,t){n==this.pointToX&&t==this.pointToY||(this.previousX=this.pointToX,this.previousY=this.pointToY,this.pointToX=n,this.pointToY=t,this.positionChanged=!0)},followCursor:function(n){var t=this,i,r;t.follow=n;clearInterval(t.interval);i=t.chart.mouseX-t.sdx;r=t.chart.mouseY-t.sdy;!isNaN(i)&&n&&(t.pointToX=i-t.offsetX*t.deltaSignX,t.pointToY=r,t.followMouse(),t.interval=setInterval(function(){t.followMouse.call(t)},40))},removeDiv:function(){if(this.textDiv){var n=this.textDiv.parentNode;n&&n.removeChild(this.textDiv)}},destroy:function(){clearInterval(this.interval);n.remove(this.set);this.removeDiv();this.set=null}})}(),function(){var n=window.AmCharts;n.AmCoordinateChart=n.Class({inherits:n.AmChart,construct:function(t){n.AmCoordinateChart.base.construct.call(this,t);this.theme=t;this.createEvents("rollOverGraphItem","rollOutGraphItem","clickGraphItem","doubleClickGraphItem","rightClickGraphItem","clickGraph","rollOverGraph","rollOutGraph");this.startAlpha=1;this.startDuration=0;this.startEffect="elastic";this.sequencedAnimation=!0;this.colors="#FF6600 #FCD202 #B0DE09 #0D8ECF #2A0CD0 #CD0D74 #CC0000 #00CC00 #0000CC #DDDDDD #999999 #333333 #990000".split(" ");this.balloonDateFormat="MMM DD, YYYY";this.valueAxes=[];this.graphs=[];this.guides=[];this.gridAboveGraphs=!1;n.applyTheme(this,t,"AmCoordinateChart")},initChart:function(){n.AmCoordinateChart.base.initChart.call(this);this.drawGraphs=!0;var t=this.categoryAxis;t&&(this.categoryAxis=n.processObject(t,n.CategoryAxis,this.theme));this.processValueAxes();this.createValueAxes();this.processGraphs();this.processGuides();n.VML&&(this.startAlpha=1);this.setLegendData(this.graphs);this.gridAboveGraphs&&(this.gridSet.toFront(),this.bulletSet.toFront(),this.balloonsSet.toFront())},createValueAxes:function(){if(0===this.valueAxes.length){var t=new n.ValueAxis;this.addValueAxis(t)}},parseData:function(){this.processValueAxes();this.processGraphs()},parseSerialData:function(n){var i,t;if(this.chartData=[],n)if(0<this.processTimeout)for(1>this.processCount&&(this.processCount=1),i=n.length/this.processCount,this.parseCount=Math.ceil(i)-1,t=0;t<i;t++)this.delayParseSerialData(n,t);else this.parseCount=0,this.parsePartSerialData(n,0,n.length,0);else this.onDataUpdated()},delayParseSerialData:function(n,t){var i=this,r=i.processCount;setTimeout(function(){i.parsePartSerialData.call(i,n,t*r,(t+1)*r,t)},i.processTimeout)},parsePartSerialData:function(t,i,r,u){var nt,tt,it,rt,p,e,c,ut,ht,ft,et,l,ot,v,f,o,st,w,a,b,h,k,ct,s,d;r>t.length&&(r=t.length);var y=this.graphs,lt={},g=this.seriesIdField;for(g||(g=this.categoryField),p=!1,e=this.categoryAxis,e&&(p=e.parseDates,tt=e.forceShowField,rt=e.classNameField,it=e.labelColorField,nt=e.categoryFunction),ft={},p&&(c=n.extractPeriod(e.minPeriod),ut=c.period,c=c.count,ht=n.getPeriodDuration(ut,c)),et={},this.lookupTable=et,ot=this.dataDateFormat,v={},l=i;l<r;l++)if(f={},o=t[l],i=o[this.categoryField],f.dataContext=o,f.category=nt?nt(i,o,e):String(i),tt&&(f.forceShow=o[tt]),rt&&(f.className=o[rt]),it&&(f.labelColor=o[it]),et[o[g]]=f,!p||(e.categoryFunction?i=e.categoryFunction(i,o,e):(!ot||i instanceof Date||(i=i.toString()+" |"),i=n.getDate(i,ot,e.minPeriod)),i=n.resetDateToMin(i,ut,c,e.firstDayOfWeek),f.category=i,f.time=i.getTime(),!isNaN(f.time))){for(st=this.valueAxes,f.axes={},f.x={},w=0;w<st.length;w++)for(a=st[w].id,f.axes[a]={},f.axes[a].graphs={},b=0;b<y.length;b++)i=y[b],h=i.id,k=1.1,isNaN(i.gapPeriod)||(k=i.gapPeriod),ct=i.periodValue,i.valueAxis.id==a&&(f.axes[a].graphs[h]={},s={},s.index=l,d=o,i.dataProvider&&(d=lt),s.values=this.processValues(d,i,ct),!i.connect&&v&&v[h]&&0<k&&f.time-ft[h]>=ht*k&&(v[h].gap=!0),this.processFields(i,s,d),s.category=f.category,s.serialDataItem=f,s.graph=i,f.axes[a].graphs[h]=s,ft[h]=f.time,v[h]=s);this.chartData[l]=f}if(this.parseCount==u){for(t=0;t<y.length;t++)i=y[t],i.dataProvider&&this.parseGraphData(i);this.dataChanged=!1;this.dispatchDataUpdated=!0;this.onDataUpdated()}},processValues:function(t,i,r){var f,s={},c=!1,h,o,u,e;for("candlestick"!=i.type&&"ohlc"!=i.type||""===r||(c=!0),h="value error open close low high".split(" "),o=0;o<h.length;o++)u=h[o],"value"!=u&&"error"!=u&&c&&(r=u.charAt(0).toUpperCase()+u.slice(1)),e=t[i[u+"Field"]+r],null!==e&&(f=Number(e),isNaN(f)||(s[u]=f),"date"==i.valueAxis.type&&void 0!==e&&(f=n.getDate(e,i.chart.dataDateFormat),s[u]=f.getTime()));return s},parseGraphData:function(n){var e=n.dataProvider,t=n.seriesIdField,r;for(t||(t=this.seriesIdField),t||(t=this.categoryField),r=0;r<e.length;r++){var u=e[r],f=this.lookupTable[String(u[t])],i=n.valueAxis.id;f&&(i=f.axes[i].graphs[n.id],i.serialDataItem=f,i.values=this.processValues(u,n,n.periodValue),this.processFields(n,i,u))}},addValueAxis:function(n){n.chart=this;this.valueAxes.push(n);this.validateData()},removeValueAxesAndGraphs:function(){for(var t=this.valueAxes,n=t.length-1;-1<n;n--)this.removeValueAxis(t[n])},removeValueAxis:function(n){for(var i=this.graphs,r,t=i.length-1;0<=t;t--)r=i[t],r&&r.valueAxis==n&&this.removeGraph(r);for(i=this.valueAxes,t=i.length-1;0<=t;t--)i[t]==n&&i.splice(t,1);this.validateData()},addGraph:function(n){this.graphs.push(n);this.chooseGraphColor(n,this.graphs.length-1);this.validateData()},removeGraph:function(n){for(var i=this.graphs,t=i.length-1;0<=t;t--)i[t]==n&&(i.splice(t,1),n.destroy());this.validateData()},handleValueAxisZoom:function(){},processValueAxes:function(){for(var r=this.valueAxes,t,i=0;i<r.length;i++)t=r[i],t=n.processObject(t,n.ValueAxis,this.theme),r[i]=t,t.chart=this,t.init(),this.listenTo(t,"axisIntZoomed",this.handleValueAxisZoom),t.id||(t.id="valueAxisAuto"+i+"_"+(new Date).getTime()),void 0===t.usePrefixes&&(t.usePrefixes=this.usePrefixes)},processGuides:function(){var u=this.guides,f=this.categoryAxis,r,t,i;if(u)for(r=0;r<u.length;r++)t=u[r],(void 0!==t.category||void 0!==t.date)&&f&&f.addGuide(t),t.id||(t.id="guideAuto"+r+"_"+(new Date).getTime()),i=t.valueAxis,i?(n.isString(i)&&(i=this.getValueAxisById(i)),i?i.addGuide(t):this.valueAxes[0].addGuide(t)):isNaN(t.value)||this.valueAxes[0].addGuide(t)},processGraphs:function(){var i,r=this.graphs,t;for(this.graphsById={},i=0;i<r.length;i++)t=r[i],t=n.processObject(t,n.AmGraph,this.theme),r[i]=t,this.chooseGraphColor(t,i),t.chart=this,t.init(),n.isString(t.valueAxis)&&(t.valueAxis=this.getValueAxisById(t.valueAxis)),t.valueAxis||(t.valueAxis=this.valueAxes[0]),t.id||(t.id="graphAuto"+i+"_"+(new Date).getTime()),this.graphsById[t.id]=t},formatString:function(t,i,r){var f=i.graph,u=f.valueAxis;return u.duration&&i.values.value&&(u=n.formatDuration(i.values.value,u.duration,"",u.durationUnits,u.maxInterval,u.numberFormatter),t=t.split("[[value]]").join(u)),t=n.massReplace(t,{"[[title]]":f.title,"[[description]]":i.description}),t=r?n.fixNewLines(t):n.fixBrakes(t),t=n.cleanFromEmpty(t)},getBalloonColor:function(t,i,r){var u=t.lineColor,f=t.balloonColor;return r&&(f=u),r=t.fillColorsR,"object"==typeof r?u=r[0]:void 0!==r&&(u=r),i.isNegative&&(r=t.negativeLineColor,t=t.negativeFillColors,"object"==typeof t?r=t[0]:void 0!==t&&(r=t),void 0!==r&&(u=r)),void 0!==i.color&&(u=i.color),void 0!==i.lineColor&&(u=i.lineColor),i=i.fillColors,void 0!==i&&(u=i,n.ifArray(i)&&(u=i[0])),void 0===f&&(f=u),f},getGraphById:function(t){return n.getObjById(this.graphs,t)},getValueAxisById:function(t){return n.getObjById(this.valueAxes,t)},processFields:function(t,i,r){var f,u,o,e;for(t.itemColors&&(f=t.itemColors,u=i.index,i.color=u<f.length?f[u]:n.randomColor()),f="lineColor color alpha fillColors description bullet customBullet bulletSize bulletConfig url labelColor dashLength pattern gap className columnIndex".split(" "),u=0;u<f.length;u++)o=f[u],e=t[o+"Field"],e&&(e=r[e],n.isDefined(e)&&(i[o]=e));i.dataContext=r},chooseGraphColor:function(t,i){if(t.lineColor)t.lineColorR=t.lineColor;else{var r;r=this.colors.length>i?this.colors[i]:t.lineColorR?t.lineColorR:n.randomColor();t.lineColorR=r}t.fillColorsR=t.fillColors?t.fillColors:t.lineColorR;t.bulletBorderColorR=t.bulletBorderColor?t.bulletBorderColor:t.useLineColorForBulletBorder?t.lineColorR:t.bulletColor;t.bulletColorR=t.bulletColor?t.bulletColor:t.lineColorR;(r=this.patterns)&&(t.pattern=r[i])},handleLegendEvent:function(n){var r=n.type,t,i;if(n=n.dataItem){t=n.hidden;i=n.showBalloon;switch(r){case"clickMarker":this.textClickEnabled&&(i?this.hideGraphsBalloon(n):this.showGraphsBalloon(n));break;case"clickLabel":i?this.hideGraphsBalloon(n):this.showGraphsBalloon(n);break;case"rollOverItem":t||this.highlightGraph(n);break;case"rollOutItem":t||this.unhighlightGraph();break;case"hideItem":this.hideGraph(n);break;case"showItem":this.showGraph(n)}}},highlightGraph:function(n){var r=this.graphs,t,i,u;if(r&&(i=.2,this.legend&&(i=this.legend.rollOverGraphAlpha),1!=i))for(t=0;t<r.length;t++)u=r[t],u!=n&&u.changeOpacity(i)},unhighlightGraph:function(){var n,t;if(this.legend&&(n=this.legend.rollOverGraphAlpha),1!=n)for(n=this.graphs,t=0;t<n.length;t++)n[t].changeOpacity(1)},showGraph:function(n){n.switchable&&(n.hidden=!1,this.dataChanged=!0,"xy"!=this.type&&(this.marginsUpdated=!1),this.chartCreated&&this.initChart())},hideGraph:function(n){n.switchable&&(this.dataChanged=!0,"xy"!=this.type&&(this.marginsUpdated=!1),n.hidden=!0,this.chartCreated&&this.initChart())},hideGraphsBalloon:function(n){n.showBalloon=!1;this.updateLegend()},showGraphsBalloon:function(n){n.showBalloon=!0;this.updateLegend()},updateLegend:function(){this.legend&&this.legend.invalidateSize()},resetAnimation:function(){var t=this.graphs,n;if(t)for(n=0;n<t.length;n++)t[n].animationPlayed=!1},animateAgain:function(){this.resetAnimation();this.validateNow()}})}(),function(){var n=window.AmCharts;n.TrendLine=n.Class({construct:function(t){this.cname="TrendLine";this.createEvents("click");this.isProtected=!1;this.dashLength=0;this.lineColor="#00CC00";this.lineThickness=this.lineAlpha=1;n.applyTheme(this,t,this.cname)},draw:function(){var t=this;t.destroy();var s,h,i,u,o=t.chart,c=o.container,e=t.categoryAxis,l=t.initialDate,v=t.initialCategory,a=t.finalDate,f=t.finalCategory,r=t.valueAxis,y=t.valueAxisX,p=t.initialXValue,w=t.finalXValue,b=t.initialValue,k=t.finalValue,d=r.recalculateToPercents,g=o.dataDateFormat;e&&(l&&(l=n.getDate(l,g,"fff"),t.initialDate=l,s=e.dateToCoordinate(l)),v&&(s=e.categoryToCoordinate(v)),a&&(a=n.getDate(a,g,"fff"),t.finalDate=a,h=e.dateToCoordinate(a)),f&&(h=e.categoryToCoordinate(f)));y&&!d&&(isNaN(p)||(s=y.getCoordinate(p)),isNaN(w)||(h=y.getCoordinate(w)));r&&!d&&(isNaN(b)||(i=r.getCoordinate(b)),isNaN(k)||(u=r.getCoordinate(k)));isNaN(s)||isNaN(h)||isNaN(i)||isNaN(i)||(o.rotate?(e=[i,u],u=[s,h]):(e=[s,h],u=[i,u]),l=t.lineColor,i=n.line(c,e,u,l,t.lineAlpha,t.lineThickness,t.dashLength),s=e,h=u,f=e[1]-e[0],r=u[1]-u[0],0===f&&(f=.01),0===r&&(r=.01),v=f/Math.abs(f),a=r/Math.abs(r),r=Math.PI/2-Math.asin(f/(f*r/Math.abs(f*r)*Math.sqrt(Math.pow(f,2)+Math.pow(r,2)))),f=Math.abs(5*Math.cos(r)),r=Math.abs(5*Math.sin(r)),s.push(e[1]-v*r,e[0]-v*r),h.push(u[1]+a*f,u[0]+a*f),u=n.polygon(c,s,h,l,.005,0),c=c.set([u,i]),c.translate(o.marginLeftReal,o.marginTopReal),o.trendLinesSet.push(c),n.setCN(o,i,"trend-line"),n.setCN(o,i,"trend-line-"+t.id),t.line=i,t.set=c,(i=t.initialImage)&&(i=n.processObject(i,n.Image,t.theme),i.chart=o,i.draw(),i.translate(s[0]+i.offsetX,h[0]+i.offsetY),c.push(i.set)),(i=t.finalImage)&&(i=n.processObject(i,n.Image,t.theme),i.chart=o,i.draw(),i.translate(s[1]+i.offsetX,h[1]+i.offsetY),c.push(i.set)),u.mouseup(function(){t.handleLineClick()}).mouseover(function(){t.handleLineOver()}).mouseout(function(){t.handleLineOut()}),u.touchend&&u.touchend(function(){t.handleLineClick()}),c.clipRect(0,0,o.plotAreaWidth,o.plotAreaHeight))},handleLineClick:function(){this.fire({type:"click",trendLine:this,chart:this.chart})},handleLineOver:function(){var n=this.rollOverColor;void 0!==n&&this.line.attr({stroke:n});this.balloonText&&(clearTimeout(this.chart.hoverInt),n=this.line.getBBox(),this.chart.showBalloon(this.balloonText,this.lineColor,!0,this.x+n.x+n.width/2,this.y+n.y+n.height/2))},handleLineOut:function(){this.line.attr({stroke:this.lineColor});this.balloonText&&this.chart.hideBalloon()},destroy:function(){n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.Image=n.Class({construct:function(t){this.cname="Image";this.height=this.width=20;this.rotation=this.offsetY=this.offsetX=0;this.balloonColor=this.color="#000000";this.opacity=1;n.applyTheme(this,t,this.cname)},draw:function(){var n=this,i,t,r;n.set&&n.set.remove();i=n.chart.container;n.set=i.set();n.url?(t=i.image(n.url,0,0,n.width,n.height),r=1):n.svgPath&&(t=i.path(n.svgPath),t.setAttr("fill",n.color),t.setAttr("stroke",n.outlineColor),i=t.getBBox(),r=Math.min(n.width/i.width,n.height/i.height));t&&(t.setAttr("opacity",n.opacity),n.set.rotate(n.rotation),t.translate(-n.width/2,-n.height/2,r),n.balloonText&&t.mouseover(function(){n.chart.showBalloon(n.balloonText,n.balloonColor,!0)}).mouseout(function(){n.chart.hideBalloon()}).touchend(function(){n.chart.hideBalloon()}).touchstart(function(){n.chart.showBalloon(n.balloonText,n.balloonColor,!0)}),n.set.push(t))},translate:function(n,t){this.set&&this.set.translate(n,t)}})}(),function(){var n=window.AmCharts;n.circle=function(t,i,r,u,f,e,o,s,h){return 0>=i&&(i=.001),void 0!=f&&0!==f||(f=.01),void 0===e&&(e="#000000"),void 0===o&&(o=0),u={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o},t=isNaN(h)?t.circle(0,0,i).attr(u):t.ellipse(0,0,i,h).attr(u),s&&t.gradient("radialGradient",[r,n.adjustLuminosity(r,-.6)]),t};n.text=function(t,i,r,u,f,e,o,s){return e||(e="middle"),"right"==e&&(e="end"),"left"==e&&(e="start"),isNaN(s)&&(s=1),void 0!==i&&(i=String(i),n.isIE&&!n.isModern&&(i=i.replace("&amp;","&"),i=i.replace("&","&amp;"))),r={fill:r,"font-family":u,"font-size":f+"px",opacity:s},!0===o&&(r["font-weight"]="bold"),r["text-anchor"]=e,t.text(i,r)};n.polygon=function(t,i,r,u,f,e,o,s,h,c,l){var v,y,a;for(isNaN(e)&&(e=.01),isNaN(s)&&(s=f),v=u,y=!1,"object"==typeof v&&1<v.length&&(y=!0,v=v[0]),void 0===o&&(o=v),f={fill:v,stroke:o,"fill-opacity":f,"stroke-width":e,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),l=n.dx,e=n.dy,t.handDrawn&&(r=n.makeHD(i,r,t.handDrawScatter),i=r[0],r=r[1]),o=Math.round,c&&(i[a]=n.roundTo(i[a],5),r[a]=n.roundTo(r[a],5),o=Number),s="M"+(o(i[0])+l)+","+(o(r[0])+e),a=1;a<i.length;a++)c&&(i[a]=n.roundTo(i[a],5),r[a]=n.roundTo(r[a],5)),s+=" L"+(o(i[a])+l)+","+(o(r[a])+e);return t=t.path(s+" Z").attr(f),y&&t.gradient("linearGradient",u,h),t};n.rect=function(t,i,r,u,f,e,o,s,h,c,l){var a,p,v,y;return isNaN(i)||isNaN(r)?t.set():(isNaN(e)&&(e=0),void 0===h&&(h=0),void 0===c&&(c=270),isNaN(f)&&(f=0),a=u,p=!1,"object"==typeof a&&(a=a[0],p=!0),void 0===o&&(o=a),void 0===s&&(s=f),i=Math.round(i),r=Math.round(r),v=0,y=0,0>i&&(i=Math.abs(i),v=-i),0>r&&(r=Math.abs(r),y=-r),v+=n.dx,y+=n.dy,f={fill:a,stroke:o,"fill-opacity":f,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),t=t.rect(v,y,i,r,h,e).attr(f),p&&t.gradient("linearGradient",u,c),t)};n.bullet=function(t,i,r,u,f,e,o,s,h,c,l,a,v){var y;switch("circle"==i&&(i="round"),i){case"round":y=n.circle(t,r/2,u,f,e,o,s);break;case"square":y=n.polygon(t,[-r/2,r/2,r/2,-r/2],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"rectangle":y=n.polygon(t,[-r,r,r,-r],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"diamond":y=n.polygon(t,[-r/2,0,r/2,0],[0,-r/2,0,r/2],u,f,e,o,s);break;case"triangleUp":y=n.triangle(t,r,0,u,f,e,o,s);break;case"triangleDown":y=n.triangle(t,r,180,u,f,e,o,s);break;case"triangleLeft":y=n.triangle(t,r,270,u,f,e,o,s);break;case"triangleRight":y=n.triangle(t,r,90,u,f,e,o,s);break;case"bubble":y=n.circle(t,r/2,u,f,e,o,s,!0);break;case"line":y=n.line(t,[-r/2,r/2],[0,0],u,f,e,o,s);break;case"yError":y=t.set();y.push(n.line(t,[0,0],[-r/2,r/2],u,f,e));y.push(n.line(t,[-h,h],[-r/2,-r/2],u,f,e));y.push(n.line(t,[-h,h],[r/2,r/2],u,f,e));break;case"xError":y=t.set();y.push(n.line(t,[-r/2,r/2],[0,0],u,f,e));y.push(n.line(t,[-r/2,-r/2],[-h,h],u,f,e));y.push(n.line(t,[r/2,r/2],[-h,h],u,f,e))}return y&&y.pattern(l,NaN,a),y};n.triangle=function(n,t,i,r,u,f,e,o){void 0!==f&&0!==f||(f=1);void 0===e&&(e="#000");void 0===o&&(o=0);r={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o};t/=2;var s;return 0===i&&(s=" M"+-t+","+t+" L0,"+-t+" L"+t+","+t+" Z"),180==i&&(s=" M"+-t+","+-t+" L0,"+t+" L"+t+","+-t+" Z"),90==i&&(s=" M"+-t+","+-t+" L"+t+",0 L"+-t+","+t+" Z"),270==i&&(s=" M"+-t+",0 L"+t+","+t+" L"+t+","+-t+" Z"),n.path(s).attr(r)};n.line=function(t,i,r,u,f,e,o,s,h,c,l){if(t.handDrawn&&!l)return n.handDrawnLine(t,i,r,u,f,e,o,s,h,c,l);for(e={fill:"none","stroke-width":e},void 0!==o&&0<o&&(e["stroke-dasharray"]=o),isNaN(f)||(e["stroke-opacity"]=f),u&&(e.stroke=u),u=Math.round,c&&(u=Number,i[0]=n.roundTo(i[0],5),r[0]=n.roundTo(r[0],5)),c=n.dx,f=n.dy,o="M"+(u(i[0])+c)+","+(u(r[0])+f),s=1;s<i.length;s++)i[s]=n.roundTo(i[s],5),r[s]=n.roundTo(r[s],5),o+=" L"+(u(i[s])+c)+","+(u(r[s])+f);return n.VML?t.path(o,void 0,!0).attr(e):(h&&(o+=" M0,0 L0,0"),t.path(o).attr(e))};n.makeHD=function(n,t,i){for(var a,c=[],l=[],r=1;r<n.length;r++)for(var f=Number(n[r-1]),e=Number(t[r-1]),o=Number(n[r]),s=Number(t[r]),h=Math.round(Math.sqrt(Math.pow(o-f,2)+Math.pow(s-e,2))/50)+1,o=(o-f)/h,s=(s-e)/h,u=0;u<=h;u++)a=e+u*s+Math.random()*i,c.push(f+u*o+Math.random()*i),l.push(a);return[c,l]};n.handDrawnLine=function(t,i,r,u,f,e,o,s,h,c){for(var p=t.set(),l=1;l<i.length;l++)for(var y=[i[l-1],i[l]],v=[r[l-1],r[l]],v=n.makeHD(y,v,t.handDrawScatter),y=v[0],v=v[1],a=1;a<y.length;a++)p.push(n.line(t,[y[a-1],y[a]],[v[a-1],v[a]],u,f,e+Math.random()*t.handDrawThickness-t.handDrawThickness/2,o,s,h,c,!0));return p};n.doNothing=function(n){return n};n.drop=function(n,t,i,r,u,f,e,o){var s=1/180*Math.PI,h=i-20,v=Math.sin(h*s)*t,y=Math.cos(h*s)*t,p=Math.sin((h+40)*s)*t,w=Math.cos((h+40)*s)*t,a=.8*t,c=-t/3,l=t/3;return 0===i&&(c=-c,l=0),180==i&&(l=0),90==i&&(c=0),270==i&&(c=0,l=-l),i={fill:r,stroke:e,"stroke-width":f,"stroke-opacity":o,"fill-opacity":u},t="M"+v+","+y+" A"+t+","+t+",0,1,1,"+p+","+w+" A"+a+","+a+",0,0,0,"+(Math.sin((h+20)*s)*t+l)+","+(Math.cos((h+20)*s)*t+c),t+=" A"+a+","+a+",0,0,0,"+v+","+y,n.path(t,void 0,void 0,"1000,1000").attr(i)};n.wedge=function(t,i,r,u,f,e,o,s,h,c,l,a,v,y){var p=Math.round,st,ut,ct,ht,lt;e=p(e);o=p(o);s=p(s);var k=p(o/e*s),et=n.VML,b=359.5+e/100;359.94<b&&(b=359.94);f>=b&&(f=b);var w=1/180*Math.PI,b=i+Math.sin(u*w)*s,d=r-Math.cos(u*w)*k,g=i+Math.sin(u*w)*e,nt=r-Math.cos(u*w)*o,tt=i+Math.sin((u+f)*w)*e,it=r-Math.cos((u+f)*w)*o,rt=i+Math.sin((u+f)*w)*s,w=r-Math.cos((u+f)*w)*k,ft={fill:n.adjustLuminosity(c.fill,-.2),"stroke-opacity":0,"fill-opacity":c["fill-opacity"]},ot=0;if(180<Math.abs(f)&&(ot=1),u=t.set(),et&&(b=p(10*b),g=p(10*g),tt=p(10*tt),rt=p(10*rt),d=p(10*d),nt=p(10*nt),it=p(10*it),w=p(10*w),i=p(10*i),h=p(10*h),r=p(10*r),e*=10,o*=10,s*=10,k*=10,1>Math.abs(f)&&1>=Math.abs(tt-g)&&1>=Math.abs(it-nt)&&(st=!0)),f="",a&&(ft["fill-opacity"]=0,ft["stroke-opacity"]=c["stroke-opacity"]/2,ft.stroke=c.stroke),0<h){for(ut=" M"+b+","+(d+h)+" L"+g+","+(nt+h),et?(st||(ut+=" A"+(i-e)+","+(h+r-o)+","+(i+e)+","+(h+r+o)+","+g+","+(nt+h)+","+tt+","+(it+h)),ut+=" L"+rt+","+(w+h),0<s&&(st||(ut+=" B"+(i-s)+","+(h+r-k)+","+(i+s)+","+(h+r+k)+","+rt+","+(h+w)+","+b+","+(h+d)))):(ut+=" A"+e+","+o+",0,"+ot+",1,"+tt+","+(it+h)+" L"+rt+","+(w+h),0<s&&(ut+=" A"+s+","+k+",0,"+ot+",0,"+b+","+(d+h))),ut+=" Z",ct=h,et&&(ct/=10),ht=0;ht<ct;ht+=10)lt=t.path(ut,void 0,void 0,"1000,1000").attr(ft),u.push(lt),lt.translate(0,-ht);ut=t.path(" M"+b+","+d+" L"+b+","+(d+h)+" L"+g+","+(nt+h)+" L"+g+","+nt+" L"+b+","+d+" Z",void 0,void 0,"1000,1000").attr(ft);h=t.path(" M"+tt+","+it+" L"+tt+","+(it+h)+" L"+rt+","+(w+h)+" L"+rt+","+w+" L"+tt+","+it+" Z",void 0,void 0,"1000,1000").attr(ft);u.push(ut);u.push(h)}if(et?(st||(f=" A"+p(i-e)+","+p(r-o)+","+p(i+e)+","+p(r+o)+","+p(g)+","+p(nt)+","+p(tt)+","+p(it)),o=" M"+p(b)+","+p(d)+" L"+p(g)+","+p(nt)+f+" L"+p(rt)+","+p(w)):o=" M"+b+","+d+" L"+g+","+nt+" A"+e+","+o+",0,"+ot+",1,"+tt+","+it+" L"+rt+","+w,0<s&&(et?st||(o+=" B"+(i-s)+","+(r-k)+","+(i+s)+","+(r+k)+","+rt+","+w+","+b+","+d):o+=" A"+s+","+k+",0,"+ot+",0,"+b+","+d),t.handDrawn&&(s=n.line(t,[b,g],[d,nt],c.stroke,c.thickness*Math.random()*t.handDrawThickness,c["stroke-opacity"]),u.push(s)),t=t.path(o+" Z",void 0,void 0,"1000,1000").attr(c),l){for(s=[],k=0;k<l.length;k++)s.push(n.adjustLuminosity(c.fill,l[k]));"radial"!=y||n.isModern||(s=[]);0<s.length&&t.gradient(y+"Gradient",s)}return n.isModern&&"radial"==y&&t.grad&&(t.grad.setAttribute("gradientUnits","userSpaceOnUse"),t.grad.setAttribute("r",e),t.grad.setAttribute("cx",i),t.grad.setAttribute("cy",r)),t.pattern(a,NaN,v),u.wedge=t,u.push(t),u};n.rgb2hex=function(n){return(n=n.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===n.length?"#"+("0"+parseInt(n[1],10).toString(16)).slice(-2)+("0"+parseInt(n[2],10).toString(16)).slice(-2)+("0"+parseInt(n[3],10).toString(16)).slice(-2):""};n.adjustLuminosity=function(t,i){t&&-1!=t.indexOf("rgb")&&(t=n.rgb2hex(t));t=String(t).replace(/[^0-9a-f]/gi,"");6>t.length&&(t=String(t[0])+String(t[0])+String(t[1])+String(t[1])+String(t[2])+String(t[2]));i=i||0;for(var r,f="#",u=0;3>u;u++)r=parseInt(t.substr(2*u,2),16),r=Math.round(Math.min(Math.max(0,r+r*i),255)).toString(16),f+=("00"+r).substr(r.length);return f}}(),function(){var n=window.AmCharts;n.Bezier=n.Class({construct:function(t,i,r,u,f,e,o,s,h,c,l){var a,v;for("object"==typeof o&&1<o.length&&(v=!0,a=o,o=o[0]),"object"==typeof s&&(s=s[0]),0===s&&(o="none"),e={fill:o,"fill-opacity":s,"stroke-width":e},void 0!==h&&0<h&&(e["stroke-dasharray"]=h),isNaN(f)||(e["stroke-opacity"]=f),u&&(e.stroke=u),u="M"+Math.round(i[0])+","+Math.round(r[0]),f=[],h=0;h<i.length;h++)f.push({x:Number(i[h]),y:Number(r[h])});1<f.length&&(i=this.interpolate(f),u+=this.drawBeziers(i));c?u+=c:n.VML||(u+="M0,0 L0,0");this.path=t.path(u).attr(e);this.node=this.path.node;v&&this.path.gradient("linearGradient",a,l)},interpolate:function(t){var f=[],o;f.push({x:t[0].x,y:t[0].y});var e=t[1].x-t[0].x,r=t[1].y-t[0].y,s=n.bezierX,h=n.bezierY;for(f.push({x:t[0].x+e/s,y:t[0].y+r/h}),o=1;o<t.length-1;o++){var u=t[o-1],i=t[o],r=t[o+1];isNaN(r.x)&&(r=i);isNaN(i.x)&&(i=u);isNaN(u.x)&&(u=i);e=r.x-i.x;r=r.y-u.y;u=i.x-u.x;u>e&&(u=e);f.push({x:i.x-u/s,y:i.y-r/h});f.push({x:i.x,y:i.y});f.push({x:i.x+u/s,y:i.y+r/h})}return r=t[t.length-1].y-t[t.length-2].y,e=t[t.length-1].x-t[t.length-2].x,f.push({x:t[t.length-1].x-e/s,y:t[t.length-1].y-r/h}),f.push({x:t[t.length-1].x,y:t[t.length-1].y}),f},drawBeziers:function(n){for(var i="",t=0;t<(n.length-1)/3;t++)i+=this.drawBezierMidpoint(n[3*t],n[3*t+1],n[3*t+2],n[3*t+3]);return i},drawBezierMidpoint:function(n,t,i,r){var u=Math.round,e=this.getPointOnSegment(n,t,.75),o=this.getPointOnSegment(r,i,.75),s=(r.x-n.x)/16,h=(r.y-n.y)/16,f=this.getPointOnSegment(n,t,.375);return n=this.getPointOnSegment(e,o,.375),n.x-=s,n.y-=h,t=this.getPointOnSegment(o,e,.375),t.x+=s,t.y+=h,i=this.getPointOnSegment(r,i,.375),s=this.getMiddle(f,n),e=this.getMiddle(e,o),o=this.getMiddle(t,i),f=" Q"+u(f.x)+","+u(f.y)+","+u(s.x)+","+u(s.y),f+=" Q"+u(n.x)+","+u(n.y)+","+u(e.x)+","+u(e.y),f+=" Q"+u(t.x)+","+u(t.y)+","+u(o.x)+","+u(o.y),f+(" Q"+u(i.x)+","+u(i.y)+","+u(r.x)+","+u(r.y))},getMiddle:function(n,t){return{x:(n.x+t.x)/2,y:(n.y+t.y)/2}},getPointOnSegment:function(n,t,i){return{x:n.x+(t.x-n.x)*i,y:n.y+(t.y-n.y)*i}}})}(),function(){var n=window.AmCharts;n.AmDraw=n.Class({construct:function(t,i,r,u){n.SVG_NS="http://www.w3.org/2000/svg";n.SVG_XLINK="http://www.w3.org/1999/xlink";n.hasSVG=!!document.createElementNS&&!!document.createElementNS(n.SVG_NS,"svg").createSVGRect;1>i&&(i=10);1>r&&(r=10);this.div=t;this.width=i;this.height=r;this.rBin=document.createElement("div");n.hasSVG?(n.SVG=!0,i=this.createSvgElement("svg"),t.appendChild(i),this.container=i,this.addDefs(u),this.R=new n.SVGRenderer(this)):n.isIE&&n.VMLRenderer&&(n.VML=!0,n.vmlStyleSheet||(document.namespaces.add("amvml","urn:schemas-microsoft-com:vml"),31>document.styleSheets.length?(i=document.createStyleSheet(),i.addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true"),n.vmlStyleSheet=i):document.styleSheets[0].addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true")),this.container=t,this.R=new n.VMLRenderer(this,u),this.R.disableSelection(t))},createSvgElement:function(t){return document.createElementNS(n.SVG_NS,t)},circle:function(t,i,r,u){var f=new n.AmDObject("circle",this);return f.attr({r:r,cx:t,cy:i}),this.addToContainer(f.node,u),f},ellipse:function(t,i,r,u,f){var e=new n.AmDObject("ellipse",this);return e.attr({rx:r,ry:u,cx:t,cy:i}),this.addToContainer(e.node,f),e},setSize:function(n,t){0<n&&0<t&&(this.container.style.width=n+"px",this.container.style.height=t+"px")},rect:function(t,i,r,u,f,e,o){var s=new n.AmDObject("rect",this);return n.VML&&(f=Math.round(100*f/Math.min(r,u)),r+=2*e,u+=2*e,s.bw=e,s.node.style.marginLeft=-e,s.node.style.marginTop=-e),1>r&&(r=1),1>u&&(u=1),s.attr({x:t,y:i,width:r,height:u,rx:f,ry:f,"stroke-width":e}),this.addToContainer(s.node,o),s},image:function(t,i,r,u,f,e){var o=new n.AmDObject("image",this);return o.attr({x:i,y:r,width:u,height:f}),this.R.path(o,t),this.addToContainer(o.node,e),o},addToContainer:function(n,t){t||(t=this.container);t.appendChild(n)},text:function(n,t,i){return this.R.text(n,t,i)},path:function(t,i,r,u){var f=new n.AmDObject("path",this);return u||(u="100,100"),f.attr({cs:u}),r?f.attr({dd:t}):f.attr({d:t}),this.addToContainer(f.node,i),f},set:function(n){return this.R.set(n)},remove:function(n){if(n){var t=this.rBin;t.appendChild(n);t.innerHTML=""}},renderFix:function(){var i=this.container,n=i.style;n.top="0px";n.left="0px";try{var t=i.getBoundingClientRect(),r=t.left-Math.round(t.left),u=t.top-Math.round(t.top);r&&(n.left=r+"px");u&&(n.top=u+"px")}catch(i){}},update:function(){this.R.update()},addDefs:function(t){var r,i,u;n.hasSVG&&(r=this.createSvgElement("desc"),i=this.container,(i.setAttribute("version","1.1"),i.style.position="absolute",this.setSize(this.width,this.height),t.accessibleTitle)&&(u=this.createSvgElement("text"),i.appendChild(u),u.innerHTML=t.accessibleTitle,u.style.opacity=0),n.rtl&&(i.setAttribute("direction","rtl"),i.style.left="auto",i.style.right="0px"),t&&(t.addCodeCredits&&r.appendChild(document.createTextNode("JavaScript chart by amCharts "+t.version)),i.appendChild(r),t.defs&&(r=this.createSvgElement("defs"),i.appendChild(r),n.parseDefs(t.defs,r),this.defs=r)))}})}(),function(){var n=window.AmCharts;n.AmDObject=n.Class({construct:function(n,t){this.D=t;this.R=t.R;this.node=this.R.create(this,n);this.y=this.x=0;this.scale=1},attr:function(n){return this.R.attr(this,n),this},getAttr:function(n){return this.node.getAttribute(n)},setAttr:function(n,t){return this.R.setAttr(this,n,t),this},clipRect:function(n,t,i,r){this.R.clipRect(this,n,t,i,r)},translate:function(n,t,i,r){r||(n=Math.round(n),t=Math.round(t));this.R.move(this,n,t,i);this.x=n;this.y=t;this.scale=i;this.angle&&this.rotate(this.angle)},rotate:function(n,t){this.R.rotate(this,n,t);this.angle=n},animate:function(t,i,r){var u,f,e;for(u in t)t.hasOwnProperty(u)&&(f=u,e=t[u],r=n.getEffect(r),this.R.animate(this,f,e,i,r))},push:function(n){var t,i;n&&(t=this.node,t.appendChild(n.node),i=n.clipPath,i&&t.appendChild(i),(n=n.grad)&&t.appendChild(n))},text:function(n){this.R.setText(this,n)},remove:function(){this.stop();this.R.remove(this)},clear:function(){var n=this.node;if(n.hasChildNodes())for(;1<=n.childNodes.length;)n.removeChild(n.firstChild)},hide:function(){this.setAttr("visibility","hidden")},show:function(){this.setAttr("visibility","visible")},getBBox:function(){return this.R.getBBox(this)},toFront:function(){var n=this.node,t;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&t.appendChild(n))},toPrevious:function(){var n=this.node;n&&this.prevNextNode&&(n=n.parentNode)&&n.insertBefore(this.prevNextNode,null)},toBack:function(){var n=this.node,t,i;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&(i=t.firstChild,i&&t.insertBefore(n,i)))},mouseover:function(n){return this.R.addListener(this,"mouseover",n),this},mouseout:function(n){return this.R.addListener(this,"mouseout",n),this},click:function(n){return this.R.addListener(this,"click",n),this},dblclick:function(n){return this.R.addListener(this,"dblclick",n),this},mousedown:function(n){return this.R.addListener(this,"mousedown",n),this},mouseup:function(n){return this.R.addListener(this,"mouseup",n),this},touchmove:function(n){return this.R.addListener(this,"touchmove",n),this},touchstart:function(n){return this.R.addListener(this,"touchstart",n),this},touchend:function(n){return this.R.addListener(this,"touchend",n),this},keyup:function(n){return this.R.addListener(this,"keyup",n),this},focus:function(n){return this.R.addListener(this,"focus",n),this},blur:function(n){return this.R.addListener(this,"blur",n),this},contextmenu:function(n){return this.node.addEventListener?this.node.addEventListener("contextmenu",n,!0):this.R.addListener(this,"contextmenu",n),this},stop:function(){n.removeFromArray(this.R.animations,this.an_translate);n.removeFromArray(this.R.animations,this.an_y);n.removeFromArray(this.R.animations,this.an_x)},length:function(){return this.node.childNodes.length},gradient:function(n,t,i){this.R.gradient(this,n,t,i)},pattern:function(n,t,i){n&&this.R.pattern(this,n,t,i)}})}(),function(){var n=window.AmCharts;n.VMLRenderer=n.Class({construct:function(n,t){this.chart=t;this.D=n;this.cNames={circle:"oval",ellipse:"oval",rect:"roundrect",path:"shape"};this.styleMap={x:"left",y:"top",width:"width",height:"height","font-family":"fontFamily","font-size":"fontSize",visibility:"visibility"}},create:function(n,t){var i,r,u;return"group"==t?(i=document.createElement("div"),n.type="div"):"text"==t?(i=document.createElement("div"),n.type="text"):"image"==t?(i=document.createElement("img"),n.type="image"):(n.type="shape",n.shapeType=this.cNames[t],i=document.createElement("amvml:"+this.cNames[t]),r=document.createElement("amvml:stroke"),i.appendChild(r),n.stroke=r,u=document.createElement("amvml:fill"),i.appendChild(u),n.fill=u,u.className="amvml",r.className="amvml",i.className="amvml"),i.style.position="absolute",i.style.top=0,i.style.left=0,i},path:function(n,t){n.node.setAttribute("src",t)},setAttr:function(t,i,r){var o,e;if(void 0!==r){8===document.documentMode&&(o=!0);var s=t.node,f=t.type,u=s.style;if("r"==i&&(u.width=2*r,u.height=2*r),"oval"==t.shapeType&&("rx"==i&&(u.width=2*r),"ry"==i&&(u.height=2*r)),"roundrect"==t.shapeType&&("width"!=i&&"height"!=i||--r),"cursor"==i&&(u.cursor=r),"cx"==i&&(u.left=r-n.removePx(u.width)/2),"cy"==i&&(u.top=r-n.removePx(u.height)/2),e=this.styleMap[i],"width"==e&&0>r&&(r=0),void 0!==e&&(u[e]=r),"text"==f&&("text-anchor"==i&&(t.anchor=r,e=s.clientWidth,"end"==r&&(u.marginLeft=-e+"px"),"middle"==r&&(u.marginLeft=-e/2+"px",u.textAlign="center"),"start"==r&&(u.marginLeft="0px")),"fill"==i&&(u.color=r),"font-weight"==i&&(u.fontWeight=r)),u=t.children)for(e=0;e<u.length;e++)u[e].setAttr(i,r);"shape"==f&&("cs"==i&&(s.style.width="100px",s.style.height="100px",s.setAttribute("coordsize",r)),"d"==i&&s.setAttribute("path",this.svgPathToVml(r)),"dd"==i&&s.setAttribute("path",r),f=t.stroke,t=t.fill,"stroke"==i&&(o?f.color=r:f.setAttribute("color",r)),"stroke-width"==i&&(o?f.weight=r:f.setAttribute("weight",r)),"stroke-opacity"==i&&(o?f.opacity=r:f.setAttribute("opacity",r)),"stroke-dasharray"==i&&(u="solid",0<r&&3>r&&(u="dot"),3<=r&&6>=r&&(u="dash"),6<r&&(u="longdash"),o?f.dashstyle=u:f.setAttribute("dashstyle",u)),"fill-opacity"!=i&&"opacity"!=i||(0===r?o?t.on=!1:t.setAttribute("on",!1):o?t.opacity=r:t.setAttribute("opacity",r)),"fill"==i&&(o?t.color=r:t.setAttribute("color",r)),"rx"==i&&(o?s.arcSize=r+"%":s.setAttribute("arcsize",r+"%")))}},attr:function(n,t){for(var i in t)t.hasOwnProperty(i)&&this.setAttr(n,i,t[i])},text:function(t,i,r){var u=new n.AmDObject("text",this.D),f=u.node;return f.style.whiteSpace="pre",f.innerHTML=t,this.D.addToContainer(f,r),this.attr(u,i),u},getBBox:function(n){return this.getBox(n.node)},getBox:function(n){var i,h=n.offsetLeft,c=n.offsetTop,o=n.offsetWidth,s=n.offsetHeight,r,u,e,t,f;if(n.hasChildNodes()){for(e=0;e<n.childNodes.length;e++)i=this.getBox(n.childNodes[e]),t=i.x,isNaN(t)||(isNaN(r)?r=t:t<r&&(r=t)),f=i.y,isNaN(f)||(isNaN(u)?u=f:f<u&&(u=f)),t=i.width+t,isNaN(t)||(o=Math.max(o,t)),i=i.height+f,isNaN(i)||(s=Math.max(s,i));0>r&&(h+=r);0>u&&(c+=u)}return{x:h,y:c,width:o,height:s}},setText:function(n,t){var i=n.node;i&&(i.innerHTML=t);this.setAttr(n,"text-anchor",n.anchor)},addListener:function(n,t,i){n.node["on"+t]=i},move:function(t,i,r){var u=t.node,f=u.style;"text"==t.type&&(r-=n.removePx(f.fontSize)/2-1);"oval"==t.shapeType&&(i-=n.removePx(f.width)/2,r-=n.removePx(f.height)/2);t=t.bw;isNaN(t)||(i-=t,r-=t);isNaN(i)||isNaN(r)||(u.style.left=i+"px",u.style.top=r+"px")},svgPathToVml:function(n){var l=n.split(" "),r,e,t;for(n="",t=Math.round,e=0;e<l.length;e++){var f=l[e],u=f.substring(0,1),f=f.substring(1),i=f.split(","),o=t(i[0])+","+t(i[1]);if("M"==u&&(n+=" m "+o),"L"==u&&(n+=" l "+o),"Z"==u&&(n+=" x e"),"Q"==u){var a=r.length,c=r[a-1],s=i[0],h=i[1],o=i[2],v=i[3];r=t(r[a-2]/3+2/3*s);c=t(c/3+2/3*h);s=t(2/3*s+o/3);h=t(2/3*h+v/3);n+=" c "+r+","+c+","+s+","+h+","+o+","+v}"A"==u&&(n+=" wa "+f);"B"==u&&(n+=" at "+f);r=i}return n},animate:function(n,t,i,r,u){var f=n.node,e=this.chart,o;(n.animationFinished=!1,"translate"==t)&&(t=i.split(","),i=t[1],o=f.offsetTop,e.animate(n,"left",f.offsetLeft,t[0],r,u,"px"),e.animate(n,"top",o,i,r,u,"px"))},clipRect:function(n,t,i,r,u){n=n.node;0===t&&0===i?(n.style.width=r+"px",n.style.height=u+"px",n.style.overflow="hidden"):n.style.clip="rect("+i+"px "+(t+r)+"px "+(i+u)+"px "+t+"px)"},rotate:function(t,i,r){var u;if(0!==Number(i)){u=t.node;t=u.style;r||(r=this.getBGColor(u.parentNode));t.backgroundColor=r;t.paddingLeft=1;r=i*Math.PI/180;var e=Math.cos(r),o=Math.sin(r),s=n.removePx(t.left),h=n.removePx(t.top),f=u.offsetWidth,u=u.offsetHeight;i/=Math.abs(i);t.left=s+f/2-f/2*Math.cos(r)-i*u/2*Math.sin(r)+3;t.top=h-i*f/2*Math.sin(r)+i*u/2*Math.sin(r);t.cssText=t.cssText+"; filter:progid:DXImageTransform.Microsoft.Matrix(M11='"+e+"', M12='"+-o+"', M21='"+o+"', M22='"+e+"', sizingmethod='auto expand');"}},getBGColor:function(n){var t="#FFFFFF",i;return n.style&&(i=n.style.backgroundColor,""!==i?t=i:n.parentNode&&(t=this.getBGColor(n.parentNode))),t},set:function(t){var r=new n.AmDObject("group",this.D),i;if(this.D.container.appendChild(r.node),t)for(i=0;i<t.length;i++)r.push(t[i]);return r},gradient:function(n,t,i,r){var f="",u;for("radialGradient"==t&&(t="gradientradial",i.reverse()),"linearGradient"==t&&(t="gradient"),u=0;u<i.length;u++)f+=Math.round(100*u/(i.length-1))+"% "+i[u],u<i.length-1&&(f+=",");n=n.fill;90==r?r=0:270==r?r=180:180==r?r=90:0===r&&(r=270);8===document.documentMode?(n.type=t,n.angle=r):(n.setAttribute("type",t),n.setAttribute("angle",r));f&&(n.colors.value=f)},remove:function(n){n.clipPath&&this.D.remove(n.clipPath);this.D.remove(n.node)},disableSelection:function(n){n.onselectstart=function(){return!1};n.style.cursor="default"},pattern:function(t,i,r,u){r=t.node;t=t.fill;var f="none";i.color&&(f=i.color);r.fillColor=f;i=i.url;n.isAbsolute(i)||(i=u+i);8===document.documentMode?(t.type="tile",t.src=i):(t.setAttribute("type","tile"),t.setAttribute("src",i))},update:function(){}})}(),function(){var n=window.AmCharts;n.SVGRenderer=n.Class({construct:function(n){this.D=n;this.animations=[]},create:function(t,i){return document.createElementNS(n.SVG_NS,i)},attr:function(n,t){for(var i in t)t.hasOwnProperty(i)&&this.setAttr(n,i,t[i])},setAttr:function(n,t,i){void 0!==i&&n.node.setAttribute(t,i)},animate:function(t,i,r,u,f){t.animationFinished=!1;var e=t.node;t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]);"translate"==i?(e=(e=e.getAttribute("transform"))?String(e).substring(10,e.length-1):"0,0",e=e.split(", ").join(" "),0===(e=e.split(" ").join(","))&&(e="0,0")):e=Number(e.getAttribute(i));r={obj:t,frame:0,attribute:i,from:e,to:r,time:u,effect:f};this.animations.push(r);t["an_"+i]=r},update:function(){for(var c=this.animations,e=c.length-1;0<=e;e--){var r,i,u,t=c[e],o=t.time*n.updateRate,s=t.frame+1,h=t.obj,f=t.attribute;if(s<=o){if(t.frame++,"translate"==f){if(r=t.from.split(","),f=Number(r[0]),r=Number(r[1]),isNaN(r)&&(r=0),i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),u=0==u-f?u:Math.round(n[t.effect](0,s,f,u-f,o)),t=0==i-r?i:Math.round(n[t.effect](0,s,r,i-r,o)),f="transform",isNaN(u)||isNaN(t))continue;t="translate("+u+","+t+")"}else i=Number(t.from),r=Number(t.to),u=r-i,t=n[t.effect](0,s,i,u,o),isNaN(t)&&(t=r),0===u&&this.animations.splice(e,1);this.setAttr(h,f,t)}else"translate"==f?(i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),h.translate(u,i)):(r=Number(t.to),this.setAttr(h,f,r)),h.animationFinished=!0,this.animations.splice(e,1)}},getBBox:function(n){if(n=n.node)try{return n.getBBox()}catch(n){}return{width:0,height:0,x:0,y:0}},path:function(t,i){t.node.setAttributeNS(n.SVG_XLINK,"xlink:href",i)},clipRect:function(t,i,r,u,f){var e=t.node,o=t.clipPath,s;o&&this.D.remove(o);s=e.parentNode;s&&(e=document.createElementNS(n.SVG_NS,"clipPath"),o=n.getUniqueId(),e.setAttribute("id",o),this.D.rect(i,r,u,f,0,0,e),s.appendChild(e),i="#",n.baseHref&&!n.isIE&&(i=this.removeTarget(window.location.href)+i),this.setAttr(t,"clip-path","url("+i+o+")"),this.clipPathC++,t.clipPath=e)},text:function(t,i,r){var u=new n.AmDObject("text",this.D),f,o,e;for(t=String(t).split("\n"),o=n.removePx(i["font-size"]),f=0;f<t.length;f++)e=this.create(null,"tspan"),e.appendChild(document.createTextNode(t[f])),e.setAttribute("y",(o+2)*f+Math.round(o/2)),e.setAttribute("x",0),u.node.appendChild(e);return u.node.setAttribute("y",Math.round(o/2)),this.attr(u,i),this.D.addToContainer(u.node,r),u},setText:function(n,t){var i=n.node;i&&(i.removeChild(i.firstChild),i.appendChild(document.createTextNode(t)))},move:function(n,t,i,r){isNaN(t)&&(t=0);isNaN(i)&&(i=0);t="translate("+t+","+i+")";r&&(t=t+" scale("+r+")");this.setAttr(n,"transform",t)},rotate:function(n,t){var r=n.node.getAttribute("transform"),i="rotate("+t+")";r&&(i=r+" "+i);this.setAttr(n,"transform",i)},set:function(t){var r=new n.AmDObject("g",this.D),i;if(this.D.container.appendChild(r.node),t)for(i=0;i<t.length;i++)r.push(t[i]);return r},addListener:function(n,t,i){n.node["on"+t]=i},gradient:function(t,i,r,u){var s=t.node,e=t.grad;if(e&&this.D.remove(e),i=document.createElementNS(n.SVG_NS,i),e=n.getUniqueId(),i.setAttribute("id",e),!isNaN(u)){var f=0,o=0,h=0,c=0;90==u?h=100:270==u?c=100:180==u?f=100:0===u&&(o=100);i.setAttribute("x1",f+"%");i.setAttribute("x2",o+"%");i.setAttribute("y1",h+"%");i.setAttribute("y2",c+"%")}for(u=0;u<r.length;u++)f=document.createElementNS(n.SVG_NS,"stop"),o=100*u/(r.length-1),0===u&&(o=0),f.setAttribute("offset",o+"%"),f.setAttribute("stop-color",r[u]),i.appendChild(f);s.parentNode.appendChild(i);r="#";n.baseHref&&!n.isIE&&(r=this.removeTarget(window.location.href)+r);s.setAttribute("fill","url("+r+e+")");t.grad=i},removeTarget:function(n){return n.split("#")[0]},pattern:function(t,i,r,u){var c=t.node,f,h,o,s;isNaN(r)&&(r=1);f=t.patternNode;f&&this.D.remove(f);var f=document.createElementNS(n.SVG_NS,"pattern"),l=n.getUniqueId(),e=i;i.url&&(e=i.url);n.isAbsolute(e)||-1!=e.indexOf("data:image")||(e=u+e);u=Number(i.width);isNaN(u)&&(u=4);h=Number(i.height);isNaN(h)&&(h=4);u/=r;h/=r;r=i.x;isNaN(r)&&(r=0);o=-Math.random()*Number(i.randomX);isNaN(o)||(r=o);o=i.y;isNaN(o)&&(o=0);s=-Math.random()*Number(i.randomY);isNaN(s)||(o=s);f.setAttribute("id",l);f.setAttribute("width",u);f.setAttribute("height",h);f.setAttribute("patternUnits","userSpaceOnUse");f.setAttribute("xlink:href",e);i.color&&(s=document.createElementNS(n.SVG_NS,"rect"),s.setAttributeNS(null,"height",u),s.setAttributeNS(null,"width",h),s.setAttributeNS(null,"fill",i.color),f.appendChild(s));this.D.image(e,0,0,u,h,f).translate(r,o);e="#";n.baseHref&&!n.isIE&&(e=this.removeTarget(window.location.href)+e);c.setAttribute("fill","url("+e+l+")");t.patternNode=f;c.parentNode.appendChild(f)},remove:function(n){n.clipPath&&this.D.remove(n.clipPath);n.grad&&this.D.remove(n.grad);n.patternNode&&this.D.remove(n.patternNode);this.D.remove(n.node)}})}(),function(){var n=window.AmCharts;n.AmLegend=n.Class({construct:function(t){this.enabled=!0;this.cname="AmLegend";this.createEvents("rollOverMarker","rollOverItem","rollOutMarker","rollOutItem","showItem","hideItem","clickMarker","clickLabel");this.position="bottom";this.borderColor=this.color="#000000";this.borderAlpha=0;this.markerLabelGap=5;this.verticalGap=10;this.align="left";this.horizontalGap=0;this.spacing=10;this.markerDisabledColor="#AAB3B3";this.markerType="square";this.markerSize=16;this.markerBorderThickness=this.markerBorderAlpha=1;this.marginBottom=this.marginTop=0;this.marginLeft=this.marginRight=20;this.autoMargins=!0;this.valueWidth=50;this.switchable=!0;this.switchType="x";this.switchColor="#FFFFFF";this.rollOverColor="#CC0000";this.reversedOrder=!1;this.labelText="[[title]]";this.valueText="[[value]]";this.accessibleLabel="[[title]]";this.useMarkerColorForLabels=!1;this.rollOverGraphAlpha=1;this.textClickEnabled=!1;this.equalWidths=!0;this.backgroundColor="#FFFFFF";this.backgroundAlpha=0;this.useGraphSettings=!1;this.showEntries=!0;this.labelDx=0;n.applyTheme(this,t,this.cname)},setData:function(n){this.legendData=n;this.invalidateSize()},invalidateSize:function(){this.destroy();this.entries=[];this.valueLabels=[];var t=this.legendData;this.enabled&&(n.ifArray(t)||n.ifArray(this.data))&&this.drawLegend()},drawLegend:function(){var t=this.chart,r=this.position,u=this.width,s=t.divRealWidth,i=t.divRealHeight,f=this.div,e=this.legendData,o;if((this.data&&(e=this.combineLegend?this.legendData.concat(this.data):this.data),isNaN(this.fontSize)&&(this.fontSize=t.fontSize),this.maxColumnsReal=this.maxColumns,"right"==r||"left"==r)?(this.maxColumnsReal=1,this.autoMargins&&(this.marginLeft=this.marginRight=10)):this.autoMargins&&(this.marginRight=t.marginRight,this.marginLeft=t.marginLeft,o=t.autoMarginOffset,"bottom"==r?(this.marginBottom=o,this.marginTop=0):(this.marginTop=o,this.marginBottom=0)),u=void 0!==u?n.toCoordinate(u,s):"right"!=r&&"left"!=r?t.realWidth:0<this.ieW?this.ieW:t.realWidth,"outside"==r?(u=f.offsetWidth,i=f.offsetHeight,f.clientHeight&&(u=f.clientWidth,i=f.clientHeight)):(isNaN(u)||(f.style.width=u+"px"),f.className="amChartsLegend "+t.classNamePrefix+"-legend-div"),this.divWidth=u,(r=this.container)?(r.container.innerHTML="",f.appendChild(r.container),r.width=u,r.height=i,r.setSize(u,i),r.addDefs(t)):r=new n.AmDraw(f,u,i,t),this.container=r,this.lx=0,this.ly=8,i=this.markerSize,i>this.fontSize&&(this.ly=i/2-1),0<i&&(this.lx+=i+this.markerLabelGap),this.titleWidth=0,(i=this.title)&&(i=n.text(this.container,i,this.color,t.fontFamily,this.fontSize,"start",!0),n.setCN(t,i,"legend-title"),i.translate(this.marginLeft,this.marginTop+this.verticalGap+this.ly+1),t=i.getBBox(),this.titleWidth=t.width+15,this.titleHeight=t.height+6),this.index=this.maxLabelWidth=0,this.showEntries){for(t=0;t<e.length;t++)this.createEntry(e[t]);for(t=this.index=0;t<e.length;t++)this.createValue(e[t])}this.arrangeEntries();this.updateValues()},arrangeEntries:function(){var i=this.position,e=this.marginLeft+this.titleWidth,h=this.marginRight,rt=this.marginTop,ut=this.marginBottom,o=this.horizontalGap,nt=this.div,v=this.divWidth,s=this.maxColumnsReal,g=this.verticalGap,r=this.spacing,ft=v-h-e,tt=0,y=0,it=this.container,p,w,t,u,c,f,d,a;for(this.set&&this.set.remove(),p=it.set(),this.set=p,w=it.set(),p.push(w),c=this.entries,u=0;u<c.length;u++)t=c[u].getBBox(),f=t.width,f>tt&&(tt=f),t=t.height,t>y&&(y=t);var f=y=0,b=o,k=0,l=0;for(u=0;u<c.length;u++)d=c[u],this.reversedOrder&&(d=c[c.length-u-1]),t=d.getBBox(),this.equalWidths?a=f*(tt+r+this.markerLabelGap):(a=b,b=b+t.width+o+r),t.height>l&&(l=t.height),a+t.width>ft&&0<u&&0!==f&&(y++,a=f=0,b=a+t.width+o+r,k=k+l+g,l=0),d.translate(a,k),f++,!isNaN(s)&&f>=s&&(f=0,y++,k=k+l+g,b=o,l=0),w.push(d);t=w.getBBox();s=t.height+2*g-1;"left"==i||"right"==i?(r=t.width+2*o,v=r+e+h,nt.style.width=v+"px",this.ieW=v):r=v-e-h-1;h=n.polygon(this.container,[0,r,r,0],[0,0,s,s],this.backgroundColor,this.backgroundAlpha,1,this.borderColor,this.borderAlpha);n.setCN(this.chart,h,"legend-bg");p.push(h);p.translate(e,rt);h.toBack();e=o;"top"!=i&&"bottom"!=i&&"absolute"!=i&&"outside"!=i||("center"==this.align?e=o+(r-t.width)/2:"right"==this.align&&(e=o+r-t.width));w.translate(e,g+1);this.titleHeight>s&&(s=this.titleHeight);i=s+rt+ut+1;0>i&&(i=0);i>this.chart.divRealHeight&&(nt.style.top="0px");nt.style.height=Math.round(i)+"px";it.setSize(this.divWidth,i)},createEntry:function(t){var f,b,s,u,y,l,d,h,a;if(!1!==t.visibleInLegend&&!t.hideFromLegend){var i=this,e=i.chart,v=i.useGraphSettings,p=t.markerType;p&&(v=!1);t.legendEntryWidth=i.markerSize;p||(p=i.markerType);f=t.color;b=t.alpha;t.legendKeyColor&&(f=t.legendKeyColor());t.legendKeyAlpha&&(b=t.legendKeyAlpha());!0===t.hidden&&(s=f=i.markerDisabledColor);u=t.pattern;y=t.customMarker;y||(y=i.customMarker);var o=i.container,r=i.markerSize,c=0,k=0,w=r/2;v?((v=t.type,i.switchType=void 0,"line"==v||"step"==v||"smoothedLine"==v||"ohlc"==v)?(u=o.set(),t.hidden||(f=t.lineColorR,s=t.bulletBorderColorR),c=n.line(o,[0,2*r],[r/2,r/2],f,t.lineAlpha,t.lineThickness,t.dashLength),n.setCN(e,c,"graph-stroke"),u.push(c),t.bullet&&(t.hidden||(f=t.bulletColorR),c=n.bullet(o,t.bullet,t.bulletSize,f,t.bulletAlpha,t.bulletBorderThickness,s,t.bulletBorderAlpha))&&(n.setCN(e,c,"graph-bullet"),c.translate(r+1,r/2),u.push(c)),w=0,c=r,k=r/3):(t.getGradRotation&&0===(l=t.getGradRotation())&&(l=180),c=t.fillColorsR,!0===t.hidden&&(c=f),(u=i.createMarker("rectangle",c,t.fillAlphas,t.lineThickness,f,t.lineAlpha,l,u,t.dashLength))&&(w=r,u.translate(w,r/2)),c=r),n.setCN(e,u,"graph-"+v),n.setCN(e,u,"graph-"+t.id)):y?u=o.image(y,0,0,r,r):(isNaN(i.gradientRotation)||(d=180+i.gradientRotation),(u=i.createMarker(p,f,b,void 0,void 0,void 0,d,u))&&u.translate(r/2,r/2));n.setCN(e,u,"legend-marker");i.addListeners(u,t);o=o.set([u]);i.switchable&&t.switchable&&o.setAttr("cursor","pointer");void 0!==t.id&&n.setCN(e,o,"legend-item-"+t.id);n.setCN(e,o,t.className,!0);s=i.switchType;s&&"none"!=s&&0<r&&("x"==s?(h=i.createX(),h.translate(r/2,r/2)):h=i.createV(),h.dItem=t,!0!==t.hidden?"x"==s?h.hide():h.show():"x"!=s&&h.hide(),i.switchable||h.hide(),i.addListeners(h,t),t.legendSwitch=h,o.push(h),n.setCN(e,h,"legend-switch"));s=i.color;t.showBalloon&&i.textClickEnabled&&void 0!==i.selectedColor&&(s=i.selectedColor);i.useMarkerColorForLabels&&(s=f);!0===t.hidden&&(s=i.markerDisabledColor);f=n.massReplace(i.labelText,{"[[title]]":t.title});void 0!==i.tabIndex&&(o.setAttr("tabindex",i.tabIndex),o.setAttr("role","menuitem"),o.keyup(function(n){13==n.keyCode&&i.clickMarker(t,n)}));e.accessible&&i.accessibleLabel&&(l=n.massReplace(i.accessibleLabel,{"[[title]]":t.title}),e.makeAccessible(o,l));l=i.fontSize;u&&(r<=l&&(r=r/2+i.ly-l/2+(l+2-r)/2-k,u.translate(w,r),h&&h.translate(h.x,r)),t.legendEntryWidth=u.getBBox().width);f&&(f=n.fixBrakes(f),t.legendTextReal=f,a=i.labelWidth,a=isNaN(a)?n.text(i.container,f,s,e.fontFamily,l,"start"):n.wrappedText(i.container,f,s,e.fontFamily,l,"start",!1,a,0),n.setCN(e,a,"legend-label"),a.translate(i.lx+c,i.ly),o.push(a),i.labelDx=c,e=a.getBBox().width,i.maxLabelWidth<e&&(i.maxLabelWidth=e));i.entries[i.index]=o;t.legendEntry=i.entries[i.index];t.legendMarker=u;t.legendLabel=a;i.index++}},addListeners:function(n,t){var i=this;n&&n.mouseover(function(n){i.rollOverMarker(t,n)}).mouseout(function(n){i.rollOutMarker(t,n)}).click(function(n){i.clickMarker(t,n)})},rollOverMarker:function(n,t){this.switchable&&this.dispatch("rollOverMarker",n,t);this.dispatch("rollOverItem",n,t)},rollOutMarker:function(n,t){this.switchable&&this.dispatch("rollOutMarker",n,t);this.dispatch("rollOutItem",n,t)},clickMarker:function(n,t){this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t));this.dispatch("clickMarker",n,t)},rollOverLabel:function(n,t){n.hidden||this.textClickEnabled&&n.legendLabel&&n.legendLabel.attr({fill:this.rollOverColor});this.dispatch("rollOverItem",n,t)},rollOutLabel:function(n,t){if(!n.hidden&&this.textClickEnabled&&n.legendLabel){var i=this.color;void 0!==this.selectedColor&&n.showBalloon&&(i=this.selectedColor);this.useMarkerColorForLabels&&void 0===(i=n.lineColor)&&(i=n.color);n.legendLabel.attr({fill:i})}this.dispatch("rollOutItem",n,t)},clickLabel:function(n,t){this.textClickEnabled?n.hidden||this.dispatch("clickLabel",n,t):this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t))},dispatch:function(n,t,i){n={type:n,dataItem:t,target:this,event:i,chart:this.chart};this.chart&&this.chart.handleLegendEvent(n);this.fire(n)},createValue:function(t){var i=this,u=i.fontSize,e=i.chart,f,o,r;if(!1!==t.visibleInLegend&&!t.hideFromLegend){if(f=i.maxLabelWidth,i.forceWidth&&(f=i.labelWidth),i.equalWidths||(i.valueAlign="left"),"left"==i.valueAlign&&t.legendLabel&&(f=t.legendLabel.getBBox().width),o=f,i.valueText&&0<i.valueWidth){r=i.color;i.useMarkerColorForValues&&(r=t.color,t.legendKeyColor&&(r=t.legendKeyColor()));!0===t.hidden&&(r=i.markerDisabledColor);var h=i.valueText,f=f+i.lx+i.labelDx+i.markerLabelGap+i.valueWidth,s="end";"left"==i.valueAlign&&(f-=i.valueWidth,s="start");r=n.text(i.container,h,r,i.chart.fontFamily,u,s);n.setCN(e,r,"legend-value");r.translate(f,i.ly);i.entries[i.index].push(r);o+=i.valueWidth+2*i.markerLabelGap;r.dItem=t;i.valueLabels.push(r)}i.index++;e=i.markerSize;e<u+7&&(e=u+7,n.VML&&(e+=3));u=i.container.rect(t.legendEntryWidth,0,o,e,0,0).attr({stroke:"none",fill:"#fff","fill-opacity":.005});u.dItem=t;i.entries[i.index-1].push(u);u.mouseover(function(n){i.rollOverLabel(t,n)}).mouseout(function(n){i.rollOutLabel(t,n)}).click(function(n){i.clickLabel(t,n)})}},createV:function(){var t=this.markerSize;return n.polygon(this.container,[t/5,t/2,t-t/5,t/2],[t/3,t-t/5,t/5,t/1.7],this.switchColor)},createX:function(){var t=(this.markerSize-4)/2,i={stroke:this.switchColor,"stroke-width":3},r=this.container,u=n.line(r,[-t,t],[-t,t]).attr(i),t=n.line(r,[-t,t],[t,-t]).attr(i);return this.container.set([u,t])},createMarker:function(t,i,r,u,f,e,o,s,h){var c=this.markerSize,l=this.container;return f||(f=this.markerBorderColor),f||(f=i),isNaN(u)&&(u=this.markerBorderThickness),isNaN(e)&&(e=this.markerBorderAlpha),n.bullet(l,t,c,i,r,u,f,e,c,o,s,this.chart.path,h)},validateNow:function(){this.invalidateSize()},updateValues:function(){var s,h=this.valueLabels,o=this.chart,l=this.data,f,t,i,r,u,c,e;if(h)for(s=0;s<h.length;s++)f=h[s],t=f.dItem,t.periodDataItem=void 0,t.periodPercentDataItem=void 0,i=" ",l?t.value?f.text(t.value):f.text(""):(r=null,void 0!==t.type?(r=t.currentDataItem,u=this.periodValueText,t.legendPeriodValueText&&(u=t.legendPeriodValueText),r?(i=this.valueText,t.legendValueText&&(i=t.legendValueText),i=o.formatString(i,r)):u&&o.formatPeriodString&&(u=n.massReplace(u,{"[[title]]":t.title}),i=o.formatPeriodString(u,t))):i=o.formatString(this.valueText,t),u=t,r&&(u=r),c=this.valueFunction,c&&(i=c(u,i,o.periodDataItem)),this.useMarkerColorForLabels&&!r&&t.lastDataItem&&(r=t.lastDataItem),r?e=o.getBalloonColor(t,r):t.legendKeyColor&&(e=t.legendKeyColor()),t.legendColorFunction&&(e=t.legendColorFunction(u,i,t.periodDataItem,t.periodPercentDataItem)),f.text(i),this.useMarkerColorForValues&&f.setAttr("fill",e),this.useMarkerColorForLabels&&((f=t.legendMarker)&&(f.setAttr("fill",e),f.setAttr("stroke",e)),(t=t.legendLabel)&&t.setAttr("fill",e)))},renderFix:function(){if(!n.VML&&this.enabled){var t=this.container;t&&t.renderFix()}},destroy:function(){this.div.innerHTML="";n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.formatMilliseconds=function(n,t){if(-1!=n.indexOf("fff")){var i=t.getMilliseconds(),r=String(i);10>i&&(r="00"+i);10<=i&&100>i&&(r="0"+i);n=n.replace(/fff/g,r)}return n};n.extractPeriod=function(t){var i=n.stripNumbers(t),r=1;return i!=t&&(r=Number(t.slice(0,t.indexOf(i)))),{period:i,count:r}};n.getDate=function(t,i,r){return t instanceof Date?n.newDate(t,r):i&&isNaN(t)?n.stringToDate(t,i):new Date(t)};n.daysInMonth=function(n){return new Date(n.getYear(),n.getMonth()+1,0).getDate()};n.newDate=function(n,t){return t&&-1==t.indexOf("fff")?new Date(n):new Date(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds())};n.resetDateToMin=function(t,i,r,u){void 0===u&&(u=1);var l,c,h,s,o,e,f;switch(n.useUTC?(l=t.getUTCFullYear(),c=t.getUTCMonth(),h=t.getUTCDate(),s=t.getUTCHours(),o=t.getUTCMinutes(),e=t.getUTCSeconds(),f=t.getUTCMilliseconds(),t=t.getUTCDay()):(l=t.getFullYear(),c=t.getMonth(),h=t.getDate(),s=t.getHours(),o=t.getMinutes(),e=t.getSeconds(),f=t.getMilliseconds(),t=t.getDay()),i){case"YYYY":l=Math.floor(l/r)*r;c=0;h=1;f=e=o=s=0;break;case"MM":c=Math.floor(c/r)*r;h=1;f=e=o=s=0;break;case"WW":h=t>=u?h-t+u:h-(7+t)+u;f=e=o=s=0;break;case"DD":f=e=o=s=0;break;case"hh":s=Math.floor(s/r)*r;f=e=o=0;break;case"mm":o=Math.floor(o/r)*r;f=e=0;break;case"ss":e=Math.floor(e/r)*r;f=0;break;case"fff":f=Math.floor(f/r)*r}return n.useUTC?(t=new Date,t.setUTCFullYear(l,c,h),t.setUTCHours(s,o,e,f)):t=new Date(l,c,h,s,o,e,f),t};n.getPeriodDuration=function(n,t){void 0===t&&(t=1);var i;switch(n){case"YYYY":i=316224e5;break;case"MM":i=26784e5;break;case"WW":i=6048e5;break;case"DD":i=864e5;break;case"hh":i=36e5;break;case"mm":i=6e4;break;case"ss":i=1e3;break;case"fff":i=1}return i*t};n.intervals={s:{nextInterval:"ss",contains:1e3},ss:{nextInterval:"mm",contains:60,count:0},mm:{nextInterval:"hh",contains:60,count:1},hh:{nextInterval:"DD",contains:24,count:2},DD:{nextInterval:"",contains:1/0,count:3}};n.getMaxInterval=function(t,i){var r=n.intervals;return t>=r[i].contains?(t=Math.round(t/r[i].contains),i=r[i].nextInterval,n.getMaxInterval(t,i)):"ss"==i?r[i].nextInterval:i};n.dayNames="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" ");n.shortDayNames="Sun Mon Tue Wed Thu Fri Sat".split(" ");n.monthNames="January February March April May June July August September October November December".split(" ");n.shortMonthNames="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" ");n.getWeekNumber=function(n){n=new Date(n);n.setHours(0,0,0);n.setDate(n.getDate()+4-(n.getDay()||7));var t=new Date(n.getFullYear(),0,1);return Math.ceil(((n-t)/864e5+1)/7)};n.stringToDate=function(t,i){var r={},u=[{pattern:"YYYY",period:"year"},{pattern:"YY",period:"year"},{pattern:"MM",period:"month"},{pattern:"M",period:"month"},{pattern:"DD",period:"date"},{pattern:"D",period:"date"},{pattern:"JJ",period:"hours"},{pattern:"J",period:"hours"},{pattern:"HH",period:"hours"},{pattern:"H",period:"hours"},{pattern:"KK",period:"hours"},{pattern:"K",period:"hours"},{pattern:"LL",period:"hours"},{pattern:"L",period:"hours"},{pattern:"NN",period:"minutes"},{pattern:"N",period:"minutes"},{pattern:"SS",period:"seconds"},{pattern:"S",period:"seconds"},{pattern:"QQQ",period:"milliseconds"},{pattern:"QQ",period:"milliseconds"},{pattern:"Q",period:"milliseconds"}],c=!0,s=i.indexOf("AA"),e,o,f,h;for(-1!=s&&(t.substr(s,2),"pm"==t.toLowerCase&&(c=!1)),s=i,f=0;f<u.length;f++)o=u[f].period,r[o]=0,"date"==o&&(r[o]=1);for(f=0;f<u.length;f++)(e=u[f].pattern,o=u[f].period,-1!=i.indexOf(e))&&(h=n.getFromDateString(e,t,s),i=i.replace(e,""),"KK"!=e&&"K"!=e&&"LL"!=e&&"L"!=e||c||(h+=12),r[o]=h);return n.useUTC?(u=new Date,u.setUTCFullYear(r.year,r.month,r.date),u.setUTCHours(r.hours,r.minutes,r.seconds,r.milliseconds)):u=new Date(r.year,r.month,r.date,r.hours,r.minutes,r.seconds,r.milliseconds),u};n.getFromDateString=function(n,t,i){if(void 0!==t)return i=i.indexOf(n),t=String(t),t=t.substr(i,n.length),"0"==t.charAt(0)&&(t=t.substr(1,t.length-1)),t=Number(t),isNaN(t)&&(t=0),-1!=n.indexOf("M")&&t--,t};n.formatDate=function(t,i,r){var s,c,l,v,a,e,o,y,h,p,w,u,f;return r||(r=n),h=n.getWeekNumber(t),n.useUTC?(s=t.getUTCFullYear(),c=t.getUTCMonth(),l=t.getUTCDate(),v=t.getUTCDay(),a=t.getUTCHours(),e=t.getUTCMinutes(),o=t.getUTCSeconds(),y=t.getUTCMilliseconds()):(s=t.getFullYear(),c=t.getMonth(),l=t.getDate(),v=t.getDay(),a=t.getHours(),e=t.getMinutes(),o=t.getSeconds(),y=t.getMilliseconds()),p=String(s).substr(2,2),w="0"+v,i=i.replace(/W/g,h),24==(h=a)&&(h=0),u=h,10>u&&(u="0"+u),i=i.replace(/JJ/g,u),i=i.replace(/J/g,h),u=a,0===u&&(u=24,-1!=i.indexOf("H")&&0==--l&&(s=new Date(t),s.setDate(s.getDate()-1),c=s.getMonth(),l=s.getDate(),s=s.getFullYear())),t=c+1,9>c&&(t="0"+t),h=l,10>l&&(h="0"+l),f=u,10>f&&(f="0"+f),i=i.replace(/HH/g,f),i=i.replace(/H/g,u),u=a,11<u&&(u-=12),f=u,10>f&&(f="0"+f),i=i.replace(/KK/g,f),i=i.replace(/K/g,u),u=a,0===u&&(u=12),12<u&&(u-=12),f=u,10>f&&(f="0"+f),i=i.replace(/LL/g,f),i=i.replace(/L/g,u),u=e,10>u&&(u="0"+u),i=i.replace(/NN/g,u),i=i.replace(/N/g,e),e=o,10>e&&(e="0"+e),i=i.replace(/SS/g,e),i=i.replace(/S/g,o),o=y,10>o?o="00"+o:100>o&&(o="0"+o),e=y,10>e&&(e="00"+e),i=i.replace(/A/g,"@A@"),i=i.replace(/QQQ/g,o),i=i.replace(/QQ/g,e),i=i.replace(/Q/g,y),i=i.replace(/YYYY/g,"@IIII@"),i=i.replace(/YY/g,"@II@"),i=i.replace(/MMMM/g,"@XXXX@"),i=i.replace(/MMM/g,"@XXX@"),i=i.replace(/MM/g,"@XX@"),i=i.replace(/M/g,"@X@"),i=i.replace(/DD/g,"@RR@"),i=i.replace(/D/g,"@R@"),i=i.replace(/EEEE/g,"@PPPP@"),i=i.replace(/EEE/g,"@PPP@"),i=i.replace(/EE/g,"@PP@"),i=i.replace(/E/g,"@P@"),i=i.replace(/@IIII@/g,s),i=i.replace(/@II@/g,p),i=i.replace(/@XXXX@/g,r.monthNames[c]),i=i.replace(/@XXX@/g,r.shortMonthNames[c]),i=i.replace(/@XX@/g,t),i=i.replace(/@X@/g,c+1),i=i.replace(/@RR@/g,h),i=i.replace(/@R@/g,l),i=i.replace(/@PPPP@/g,r.dayNames[v]),i=i.replace(/@PPP@/g,r.shortDayNames[v]),i=i.replace(/@PP@/g,w),i=i.replace(/@P@/g,v),i=12>a?i.replace(/@A@/g,r.amString):i.replace(/@A@/g,r.pmString)};n.changeDate=function(t,i,r,u,f){if(n.useUTC)return n.changeUTCDate(t,i,r,u,f);var e=-1;switch(void 0===u&&(u=!0),void 0===f&&(f=!1),!0===u&&(e=1),i){case"YYYY":t.setFullYear(t.getFullYear()+r*e);u||f||t.setDate(t.getDate()+1);break;case"MM":i=t.getMonth();t.setMonth(t.getMonth()+r*e);t.getMonth()>i+r*e&&t.setDate(t.getDate()-1);u||f||t.setDate(t.getDate()+1);break;case"DD":t.setDate(t.getDate()+r*e);break;case"WW":t.setDate(t.getDate()+r*e*7);break;case"hh":t.setHours(t.getHours()+r*e);break;case"mm":t.setMinutes(t.getMinutes()+r*e);break;case"ss":t.setSeconds(t.getSeconds()+r*e);break;case"fff":t.setMilliseconds(t.getMilliseconds()+r*e)}return t};n.changeUTCDate=function(n,t,i,r,u){var f=-1;switch(void 0===r&&(r=!0),void 0===u&&(u=!1),!0===r&&(f=1),t){case"YYYY":n.setUTCFullYear(n.getUTCFullYear()+i*f);r||u||n.setUTCDate(n.getUTCDate()+1);break;case"MM":t=n.getUTCMonth();n.setUTCMonth(n.getUTCMonth()+i*f);n.getUTCMonth()>t+i*f&&n.setUTCDate(n.getUTCDate()-1);r||u||n.setUTCDate(n.getUTCDate()+1);break;case"DD":n.setUTCDate(n.getUTCDate()+i*f);break;case"WW":n.setUTCDate(n.getUTCDate()+i*f*7);break;case"hh":n.setUTCHours(n.getUTCHours()+i*f);break;case"mm":n.setUTCMinutes(n.getUTCMinutes()+i*f);break;case"ss":n.setUTCSeconds(n.getUTCSeconds()+i*f);break;case"fff":n.setUTCMilliseconds(n.getUTCMilliseconds()+i*f)}return n}}(),function(){var n;window.AmCharts?n=window.AmCharts:(n={},window.AmCharts=n,n.themes={},n.maps={},n.inheriting={},n.charts=[],n.onReadyArray=[],n.useUTC=!1,n.updateRate=60,n.uid=0,n.lang={},n.translations={},n.mapTranslations={},n.windows={},n.initHandlers=[],n.amString="am",n.pmString="pm");n.Class=function(t){var i=function(){arguments[0]!==n.inheriting&&(this.events={},this.construct.apply(this,arguments))},r;t.inherits?(i.prototype=new t.inherits(n.inheriting),i.base=t.inherits.prototype,delete t.inherits):(i.prototype.createEvents=function(){for(var n=0;n<arguments.length;n++)this.events[arguments[n]]=[]},i.prototype.listenTo=function(n,t,i){this.removeListener(n,t,i);n.events[t].push({handler:i,scope:this})},i.prototype.addListener=function(n,t,i){this.removeListener(this,n,t);n&&this.events[n]&&this.events[n].push({handler:t,scope:i})},i.prototype.removeListener=function(n,t,i){if(n&&n.events&&(n=n.events[t]))for(t=n.length-1;0<=t;t--)n[t].handler===i&&n.splice(t,1)},i.prototype.fire=function(n){for(var r,i=this.events[n.type],t=0;t<i.length;t++)r=i[t],r.handler.call(r.scope,n)});for(r in t)i.prototype[r]=t[r];return i};n.addChart=function(t){window.requestAnimationFrame?n.animationRequested||(n.animationRequested=!0,window.requestAnimationFrame(n.update)):n.updateInt||(n.updateInt=setInterval(function(){n.update()},Math.round(1e3/n.updateRate)));n.charts.push(t)};n.removeChart=function(t){for(var i=n.charts,r=i.length-1;0<=r;r--)i[r]==t&&i.splice(r,1);0===i.length&&(n.requestAnimation&&(window.cancelAnimationFrame(n.requestAnimation),n.animationRequested=!1),n.updateInt&&(clearInterval(n.updateInt),n.updateInt=NaN))};n.isModern=!0;n.getIEVersion=function(){var n,t,i=0;return"Microsoft Internet Explorer"==navigator.appName&&(n=navigator.userAgent,t=/MSIE ([0-9]{1,}[.0-9]{0,})/,null!==t.exec(n)&&(i=parseFloat(RegExp.$1))),i};n.applyLang=function(t,i){var r=n.translations;i.dayNames=n.extend({},n.dayNames);i.shortDayNames=n.extend({},n.shortDayNames);i.monthNames=n.extend({},n.monthNames);i.shortMonthNames=n.extend({},n.shortMonthNames);i.amString="am";i.pmString="pm";r&&(r=r[t])&&(n.lang=r,i.langObj=r,r.monthNames&&(i.dayNames=n.extend({},r.dayNames),i.shortDayNames=n.extend({},r.shortDayNames),i.monthNames=n.extend({},r.monthNames),i.shortMonthNames=n.extend({},r.shortMonthNames)),r.am&&(i.amString=r.am),r.pm&&(i.pmString=r.pm));n.amString=i.amString;n.pmString=i.pmString};n.IEversion=n.getIEVersion();9>n.IEversion&&0<n.IEversion&&(n.isModern=!1,n.isIE=!0);n.dx=0;n.dy=0;(document.addEventListener||window.opera)&&(n.isNN=!0,n.isIE=!1,n.dx=.5,n.dy=.5);document.attachEvent&&(n.isNN=!1,n.isIE=!0,n.isModern||(n.dx=0,n.dy=0));window.chrome&&(n.chrome=!0);n.handleMouseUp=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleReleaseOutside&&r.handleReleaseOutside(t)};n.handleMouseMove=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleMouseMove&&r.handleMouseMove(t)};n.handleKeyUp=function(t){for(var r,u=n.charts,i=0;i<u.length;i++)r=u[i],r&&r.handleKeyUp&&r.handleKeyUp(t)};n.handleWheel=function(t){for(var i,u=n.charts,r=0;r<u.length;r++)if(i=u[r],i&&i.mouseIsOver){(i.mouseWheelScrollEnabled||i.mouseWheelZoomEnabled)&&i.handleWheel&&(i.handleMouseMove(t),i.handleWheel(t));break}};n.resetMouseOver=function(){for(var r,i=n.charts,t=0;t<i.length;t++)r=i[t],r&&(r.mouseIsOver=!1)};n.ready=function(t){n.onReadyArray.push(t)};n.handleLoad=function(){var i,t,r;for(n.isReady=!0,i=n.onReadyArray,t=0;t<i.length;t++)r=i[t],isNaN(n.processDelay)?r():setTimeout(r,n.processDelay*t);n.onReadyArray=[]};n.addInitHandler=function(t,i){n.initHandlers.push({method:t,types:i})};n.callInitHandler=function(t){var u=n.initHandlers,r,i;if(n.initHandlers)for(r=0;r<u.length;r++)i=u[r],i.types?n.isInArray(i.types,t.type)&&i.method(t):i.method(t)};n.getUniqueId=function(){return"AmChartsEl-"+ ++n.uid};n.addGlobalListeners=function(){n.globalListenersAdded||(n.globalListenersAdded=!0,n.isNN&&(document.addEventListener("mousemove",n.handleMouseMove),document.addEventListener("keyup",n.handleKeyUp),document.addEventListener("mouseup",n.handleMouseUp,!0),window.addEventListener("load",n.handleLoad,!0)),n.isIE&&(document.attachEvent("onmousemove",n.handleMouseMove),document.attachEvent("onmouseup",n.handleMouseUp),window.attachEvent("onload",n.handleLoad)))};n.addGlobalListeners();n.addWheelListeners=function(){n.wheelIsListened||(n.isNN&&(window.addEventListener("DOMMouseScroll",n.handleWheel,{passive:!1,useCapture:!0}),document.addEventListener("mousewheel",n.handleWheel,{passive:!1,useCapture:!0})),n.isIE&&document.attachEvent("onmousewheel",n.handleWheel));n.wheelIsListened=!0};n.clear=function(){var i=n.charts,t;if(i)for(t=i.length-1;0<=t;t--)i[t].clear();n.updateInt&&clearInterval(n.updateInt);n.requestAnimation&&window.cancelAnimationFrame(n.requestAnimation);n.charts=[];n.isNN&&(document.removeEventListener("mousemove",n.handleMouseMove,!0),document.removeEventListener("keyup",n.handleKeyUp,!0),document.removeEventListener("mouseup",n.handleMouseUp,!0),window.removeEventListener("load",n.handleLoad,!0),window.removeEventListener("DOMMouseScroll",n.handleWheel,!0),document.removeEventListener("mousewheel",n.handleWheel,!0));n.isIE&&(document.detachEvent("onmousemove",n.handleMouseMove),document.detachEvent("onmouseup",n.handleMouseUp),window.detachEvent("onload",n.handleLoad));n.globalListenersAdded=!1;n.wheelIsListened=!1};n.makeChart=function(t,i,r){var e=i.type,f=i.theme,u;n.addGlobalListeners();n.isString(f)&&(f=n.themes[f],i.theme=f);switch(e){case"serial":u=new n.AmSerialChart(f);break;case"xy":u=new n.AmXYChart(f);break;case"pie":u=new n.AmPieChart(f);break;case"radar":u=new n.AmRadarChart(f);break;case"gauge":u=new n.AmAngularGauge(f);break;case"funnel":u=new n.AmFunnelChart(f);break;case"map":u=new n.AmMap(f);break;case"stock":u=new n.AmStockChart(f);break;case"gantt":u=new n.AmGanttChart(f)}return n.extend(u,i),n.isReady?isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r):n.ready(function(){isNaN(r)?u.write(t):setTimeout(function(){n.realWrite(u,t)},r)}),u};n.realWrite=function(n,t){n.write(t)};n.updateCount=0;n.validateAt=Math.round(n.updateRate/10);n.update=function(){var i=n.charts,r,t;if(n.updateCount++,r=!1,n.updateCount==n.validateAt&&(r=!0,n.updateCount=0),i)for(t=i.length-1;0<=t;t--)i[t].update&&i[t].update(),r&&(i[t].autoResize?i[t].validateSize&&i[t].validateSize():i[t].premeasure&&i[t].premeasure());window.requestAnimationFrame&&(n.requestAnimation=window.requestAnimationFrame(n.update))};"complete"==document.readyState&&n.handleLoad()}(),function(){var n=window.AmCharts;n.toBoolean=function(n,t){if(void 0===n)return t;switch(String(n).toLowerCase()){case"true":case"yes":case"1":return!0;case"false":case"no":case"0":case null:return!1;default:return!!n}};n.removeFromArray=function(n,t){var i;if(void 0!==t&&void 0!==n)for(i=n.length-1;0<=i;i--)n[i]==t&&n.splice(i,1)};n.getPath=function(){var t=document.getElementsByTagName("script"),n,i;if(t)for(n=0;n<t.length;n++)if(i=t[n].src,-1!==i.search(/\/(amcharts|ammap)\.js/))return i.replace(/\/(amcharts|ammap)\.js.*/,"/")};n.normalizeUrl=function(n){return""!==n&&-1===n.search(/\/$/)?n+"/":n};n.isAbsolute=function(n){return 0===n.search(/^http[s]?:|^\//)};n.isInArray=function(n,t){for(var i=0;i<n.length;i++)if(n[i]==t)return!0;return!1};n.getDecimals=function(n){var t=0;return isNaN(n)||(n=String(n),-1!=n.indexOf("e-")?t=Number(n.split("-")[1]):-1!=n.indexOf(".")&&(t=n.split(".")[1].length)),t};n.wordwrap=function(t,i,r,u){var o,e,f,s;if(t+="",1>i)return t;for(o=-1,t=(s=t.split(/\r\n|\n|\r/)).length;++o<t;s[o]+=f){for(f=s[o],s[o]="";f.length>i;s[o]+=n.trim(f.slice(0,e))+((f=f.slice(e)).length?r:""))e=2==u||(e=f.slice(0,i+1).match(/\S*(\s)?$/))[1]?i:e.input.length-e[0].length||1==u&&i||e.input.length+(e=f.slice(i).match(/^\S*/))[0].length;f=n.trim(f)}return s.join(r)};n.trim=function(n){return n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};n.wrappedText=function(t,i,r,u,f,e,o,s){var h=n.text(t,i,r,u,f,e,o),c,l;return h&&(c=h.getBBox(),c.width>s&&(l="\n",n.isModern||(l="<br>"),s=Math.floor(s/(c.width/i.length)),2<s&&(s-=2),i=n.wordwrap(i,s,l,!0),h.remove(),h=n.text(t,i,r,u,f,e,o))),h};n.getStyle=function(n,t){var i="";if(document.defaultView&&document.defaultView.getComputedStyle)try{i=document.defaultView.getComputedStyle(n,"").getPropertyValue(t)}catch(n){}else n.currentStyle&&(t=t.replace(/\-(\w)/g,function(n,t){return t.toUpperCase()}),i=n.currentStyle[t]);return i};n.removePx=function(n){if(void 0!==n)return Number(n.substring(0,n.length-2))};n.getURL=function(t,i){if(t)if("_self"!=i&&i)if("_top"==i&&window.top)window.top.location.href=t;else if("_parent"==i&&window.parent)window.parent.location.href=t;else if("_blank"==i)window.open(t);else{var r=document.getElementsByName(i)[0];r?r.src=t:(r=n.windows[i])&&r.opener&&!r.opener.closed?r.location.href=t:n.windows[i]=window.open(t)}else window.location.href=t};n.ifArray=function(n){return!!(n&&"object"==typeof n&&0<n.length)};n.callMethod=function(n,t){for(var i,e,u,f,r=0;r<t.length;r++)if(i=t[r],i&&(i[n]&&i[n](),e=i.length,0<e))for(u=0;u<e;u++)f=i[u],f&&f[n]&&f[n]()};n.toNumber=function(n){return"number"==typeof n?n:Number(String(n).replace(/[^0-9\-.]+/g,""))};n.toColor=function(n){var t,i;if(""!==n&&void 0!==n)if(-1!=n.indexOf(","))for(n=n.split(","),t=0;t<n.length;t++)i=n[t].substring(n[t].length-6,n[t].length),n[t]="#"+i;else n=n.substring(n.length-6,n.length),n="#"+n;return n};n.toCoordinate=function(n,t,i){var r;return void 0!==n&&(n=String(n),i&&i<t&&(t=i),r=Number(n),-1!=n.indexOf("!")&&(r=t-Number(n.substr(1))),-1!=n.indexOf("%")&&(r=t*Number(n.substr(0,n.length-1))/100)),r};n.fitToBounds=function(n,t,i){return n<t&&(n=t),n>i&&(n=i),n};n.isDefined=function(n){return void 0!==n};n.stripNumbers=function(n){return n.replace(/[0-9]+/g,"")};n.roundTo=function(n,t){if(0>t)return n;var i=Math.pow(10,t);return Math.round(n*i)/i};n.toFixed=function(n,t){var f=!1,i,r,u;if(0>n&&(f=!0,n=Math.abs(n)),i=String(Math.round(n*Math.pow(10,t))),0<t){if(r=i.length,r<t)for(u=0;u<t-r;u++)i="0"+i;return r=i.substring(0,i.length-t),""===r&&(r=0),i=r+"."+i.substring(i.length-t,i.length),f?"-"+i:i}return String(i)};n.formatDuration=function(t,i,r,u,f,e){var s=n.intervals,h=e.decimalSeparator,o;if(t>=s[i].contains)return o=t-Math.floor(t/s[i].contains)*s[i].contains,"ss"==i?(o=n.formatNumber(o,e),1==o.split(h)[0].length&&(o="0"+o)):o=n.roundTo(o,e.precision),("mm"==i||"hh"==i)&&10>o&&(o="0"+o),r=o+""+u[i]+r,t=Math.floor(t/s[i].contains),i=s[i].nextInterval,n.formatDuration(t,i,r,u,f,e);if("ss"==i&&(t=n.formatNumber(t,e),1==t.split(h)[0].length&&(t="0"+t)),"mm"==i&&(t=n.roundTo(t,e.precision)),("mm"==i||"hh"==i)&&10>t&&(t="0"+t),r=t+""+u[i]+r,s[f].count>s[i].count)for(t=s[i].count;t<s[f].count;t++)i=s[i].nextInterval,"ss"==i||"mm"==i||"hh"==i?r="00"+u[i]+r:"DD"==i&&(r="0"+u[i]+r);return":"==r.charAt(r.length-1)&&(r=r.substring(0,r.length-1)),r};n.formatNumber=function(t,i,r,u,f){var c,l,e,o,h,s;if(t=n.roundTo(t,i.precision),isNaN(r)&&(r=i.precision),c=i.decimalSeparator,i=i.thousandsSeparator,void 0==c&&(c=","),void 0==i&&(i=" "),l=0>t?"-":"",t=Math.abs(t),h=String(t),s=!1,-1!=h.indexOf("e")&&(s=!0),0<=r&&!s&&(h=n.toFixed(t,r)),e="",s)e=h;else{for(h=h.split("."),s=String(h[0]),o=s.length;0<=o;o-=3)e=o!=s.length?0!==o?s.substring(o-3,o)+i+e:s.substring(o-3,o)+e:s.substring(o-3,o);void 0!==h[1]&&(e=e+c+h[1]);void 0!==r&&0<r&&"0"!=e&&(e=n.addZeroes(e,c,r))}return e=l+e,""===l&&!0===u&&0!==t&&(e="+"+e),!0===f&&(e+="%"),e};n.addZeroes=function(t,i,r){return t=t.split(i),void 0===t[1]&&0<r&&(t[1]="0"),t[1].length<r?(t[1]+="0",n.addZeroes(t[0]+i+t[1],i,r)):void 0!==t[1]?t[0]+i+t[1]:t[0]};n.scientificToNormal=function(n){var t,i,r;if(n=String(n).split("e"),"-"==n[1].substr(0,1)){for(t="0.",i=0;i<Math.abs(Number(n[1]))-1;i++)t+="0";t+=n[0].split(".").join("")}else for(r=0,t=n[0].split("."),t[1]&&(r=t[1].length),t=n[0].split(".").join(""),i=0;i<Math.abs(Number(n[1]))-r;i++)t+="0";return t};n.toScientific=function(n,t){if(0===n)return"0";var r=Math.floor(Math.log(Math.abs(n))*Math.LOG10E),i=String(i).split(".").join(t);return String(i)+"e"+r};n.randomColor=function(){return"#"+("00000"+(16777216*Math.random()<<0).toString(16)).substr(-6)};n.hitTest=function(t,i,r){var u=!1,e=t.x,o=t.x+t.width,s=t.y,h=t.y+t.height,f=n.isInRectangle;return u||(u=f(e,s,i)),u||(u=f(e,h,i)),u||(u=f(o,s,i)),u||(u=f(o,h,i)),u||!0===r||(u=n.hitTest(i,t,!0)),u};n.isInRectangle=function(n,t,i){return n>=i.x-5&&n<=i.x+i.width+5&&t>=i.y-5&&t<=i.y+i.height+5};n.isPercents=function(n){if(-1!=String(n).indexOf("%"))return!0};n.formatValue=function(t,i,r,u,f,e,o,s){var c,l,h;if(i)for(void 0===f&&(f=""),c=0;c<r.length;c++)l=r[c],h=i[l],void 0!==h&&(h=e?n.addPrefix(h,s,o,u):n.formatNumber(h,u),t=t.replace(new RegExp("\\[\\["+f+l+"\\]\\]","g"),h));return t};n.formatDataContextValue=function(n,t){var r,u,i;if(n)for(u=n.match(/\[\[.*?\]\]/g),r=0;r<u.length;r++)i=u[r],i=i.substr(2,i.length-4),void 0!==t[i]&&(n=n.replace(new RegExp("\\[\\["+i+"\\]\\]","g"),t[i]));return n};n.massReplace=function(n,t){var i,r;for(i in t)t.hasOwnProperty(i)&&(r=t[i],void 0===r&&(r=""),n=n.replace(i,r));return n};n.cleanFromEmpty=function(n){return n.replace(/\[\[[^\]]*\]\]/g,"")};n.addPrefix=function(t,i,r,u,f){var e,o,s,h=n.formatNumber(t,u),c="";if(0===t)return"0";if(0>t&&(c="-"),1<(t=Math.abs(t))){for(e=i.length-1;-1<e;e--)if(t>=i[e].number&&(o=t/i[e].number,s=Number(u.precision),1>s&&(s=1),r=n.roundTo(o,s),s=n.formatNumber(r,{precision:-1,decimalSeparator:u.decimalSeparator,thousandsSeparator:u.thousandsSeparator}),!f||o==r)){h=c+""+s+i[e].prefix;break}}else for(e=0;e<r.length;e++)if(t<=r[e].number){o=t/r[e].number;s=Math.abs(Math.floor(Math.log(o)*Math.LOG10E));o=n.roundTo(o,s);h=c+""+o+r[e].prefix;break}return h};n.remove=function(n){n&&n.remove()};n.getEffect=function(n){return">"==n&&(n="easeOutSine"),"<"==n&&(n="easeInSine"),"elastic"==n&&(n="easeOutElastic"),n};n.getObjById=function(n,t){for(var u,r,i=0;i<n.length;i++)if(r=n[i],r.id==t){u=r;break}return u};n.applyTheme=function(t,i,r){i||(i=n.theme);try{i=JSON.parse(JSON.stringify(i))}catch(n){}i&&i[r]&&n.extend(t,i[r])};n.isString=function(n){return"string"==typeof n};n.extend=function(n,t,i){var r;n||(n={});for(r in t)i?n.hasOwnProperty(r)||(n[r]=t[r]):n[r]=t[r];return n};n.copyProperties=function(n,t){for(var i in n)n.hasOwnProperty(i)&&"events"!=i&&void 0!==n[i]&&"function"!=typeof n[i]&&"cname"!=i&&(t[i]=n[i])};n.processObject=function(t,i,r,u){if(!1==t instanceof i&&(t=u?n.extend(new i(r),t):n.extend(t,new i(r),!0),t.listeners))for(var f in t.listeners)i=t.listeners[f],t.addListener(i.event,i.method);return t};n.fixNewLines=function(n){var t=RegExp("\\n","g");return n&&(n=n.replace(t,"<br />")),n};n.fixBrakes=function(t){if(n.isModern){var i=RegExp("<br>","g");t&&(t=t.replace(i,"\n"))}else t=n.fixNewLines(t);return t};n.deleteObject=function(t,i){if(t&&(void 0!==i&&null!==i||(i=20),0!==i))if("[object Array]"===Object.prototype.toString.call(t))for(var r=0;r<t.length;r++)n.deleteObject(t[r],i-1),t[r]=null;else if(t&&!t.tagName)try{for(r in t.theme=null,t)t[r]&&("object"==typeof t[r]&&n.deleteObject(t[r],i-1),"function"!=typeof t[r]&&(t[r]=null))}catch(n){}};n.bounce=function(n,t,i,r,u){return(t/=u)<1/2.75?7.5625*r*t*t+i:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+i:r*(7.5625*(t-=2.625/2.75)*t+.984375)+i};n.easeInOutQuad=function(n,t,i,r,u){return 1>(t/=u/2)?r/2*t*t+i:(t--,-r/2*(t*(t-2)-1)+i)};n.easeInSine=function(n,t,i,r,u){return-r*Math.cos(t/u*(Math.PI/2))+r+i};n.easeOutSine=function(n,t,i,r,u){return r*Math.sin(t/u*(Math.PI/2))+i};n.easeOutElastic=function(n,t,i,r,u){n=1.70158;var f=0,e=r;return 0===t?i:1==(t/=u)?i+r:(f||(f=.3*u),e<Math.abs(r)?(e=r,n=f/4):n=f/(2*Math.PI)*Math.asin(r/e),e*Math.pow(2,-10*t)*Math.sin(2*(t*u-n)*Math.PI/f)+r+i)};n.fixStepE=function(t){t=t.toExponential(0).split("e");var i=Number(t[1]);return 9==Number(t[0])&&i++,n.generateNumber(1,i)};n.generateNumber=function(n,t){for(var i="",u=0>t?Math.abs(t)-1:Math.abs(t),r=0;r<u;r++)i+="0";return 0>t?Number("0."+i+String(n)):Number(String(n)+i)};n.setCN=function(n,t,i,r){if(n.addClassNames&&t&&(t=t.node)&&i){var u=t.getAttribute("class");n=n.classNamePrefix+"-";r&&(n="");u?t.setAttribute("class",u+" "+n+i):t.setAttribute("class",n+i)}};n.removeCN=function(n,t,i){t&&(t=t.node)&&i&&(t=t.classList)&&t.remove(n.classNamePrefix+"-"+i)};n.parseDefs=function(t,i){var r,u,f;for(r in t)if(u=typeof t[r],0<t[r].length&&"object"==u)for(f=0;f<t[r].length;f++)u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r][f],u);else"object"==u?(u=document.createElementNS(n.SVG_NS,r),i.appendChild(u),n.parseDefs(t[r],u)):i.setAttribute(r,t[r])}}(),function(){var n=window.AmCharts;n.AmDraw=n.Class({construct:function(t,i,r,u){n.SVG_NS="http://www.w3.org/2000/svg";n.SVG_XLINK="http://www.w3.org/1999/xlink";n.hasSVG=!!document.createElementNS&&!!document.createElementNS(n.SVG_NS,"svg").createSVGRect;1>i&&(i=10);1>r&&(r=10);this.div=t;this.width=i;this.height=r;this.rBin=document.createElement("div");n.hasSVG?(n.SVG=!0,i=this.createSvgElement("svg"),t.appendChild(i),this.container=i,this.addDefs(u),this.R=new n.SVGRenderer(this)):n.isIE&&n.VMLRenderer&&(n.VML=!0,n.vmlStyleSheet||(document.namespaces.add("amvml","urn:schemas-microsoft-com:vml"),31>document.styleSheets.length?(i=document.createStyleSheet(),i.addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true"),n.vmlStyleSheet=i):document.styleSheets[0].addRule(".amvml","behavior:url(#default#VML); display:inline-block; antialias:true")),this.container=t,this.R=new n.VMLRenderer(this,u),this.R.disableSelection(t))},createSvgElement:function(t){return document.createElementNS(n.SVG_NS,t)},circle:function(t,i,r,u){var f=new n.AmDObject("circle",this);return f.attr({r:r,cx:t,cy:i}),this.addToContainer(f.node,u),f},ellipse:function(t,i,r,u,f){var e=new n.AmDObject("ellipse",this);return e.attr({rx:r,ry:u,cx:t,cy:i}),this.addToContainer(e.node,f),e},setSize:function(n,t){0<n&&0<t&&(this.container.style.width=n+"px",this.container.style.height=t+"px")},rect:function(t,i,r,u,f,e,o){var s=new n.AmDObject("rect",this);return n.VML&&(f=Math.round(100*f/Math.min(r,u)),r+=2*e,u+=2*e,s.bw=e,s.node.style.marginLeft=-e,s.node.style.marginTop=-e),1>r&&(r=1),1>u&&(u=1),s.attr({x:t,y:i,width:r,height:u,rx:f,ry:f,"stroke-width":e}),this.addToContainer(s.node,o),s},image:function(t,i,r,u,f,e){var o=new n.AmDObject("image",this);return o.attr({x:i,y:r,width:u,height:f}),this.R.path(o,t),this.addToContainer(o.node,e),o},addToContainer:function(n,t){t||(t=this.container);t.appendChild(n)},text:function(n,t,i){return this.R.text(n,t,i)},path:function(t,i,r,u){var f=new n.AmDObject("path",this);return u||(u="100,100"),f.attr({cs:u}),r?f.attr({dd:t}):f.attr({d:t}),this.addToContainer(f.node,i),f},set:function(n){return this.R.set(n)},remove:function(n){if(n){var t=this.rBin;t.appendChild(n);t.innerHTML=""}},renderFix:function(){var i=this.container,n=i.style;n.top="0px";n.left="0px";try{var t=i.getBoundingClientRect(),r=t.left-Math.round(t.left),u=t.top-Math.round(t.top);r&&(n.left=r+"px");u&&(n.top=u+"px")}catch(i){}},update:function(){this.R.update()},addDefs:function(t){var i,r,u;n.hasSVG&&(i=this.createSvgElement("desc"),r=this.container,(r.setAttribute("version","1.1"),r.style.position="absolute",this.setSize(this.width,this.height),t.accessibleTitle)&&(u=this.createSvgElement("text"),r.appendChild(u),u.innerHTML=t.accessibleTitle,u.style.opacity=0),n.rtl&&(r.setAttribute("direction","rtl"),r.style.left="auto",r.style.right="0px"),t&&(t.addCodeCredits&&i.appendChild(document.createTextNode("JavaScript chart by amCharts "+t.version)),t.accessibleDescription&&(i.innerHTML="",i.appendChild(document.createTextNode(t.accessibleDescription))),r.appendChild(i),t.defs&&(i=this.createSvgElement("defs"),r.appendChild(i),n.parseDefs(t.defs,i),this.defs=i)))}})}(),function(){var n=window.AmCharts;n.AmDObject=n.Class({construct:function(n,t){this.D=t;this.R=t.R;this.node=this.R.create(this,n);this.y=this.x=0;this.scale=1},attr:function(n){return this.R.attr(this,n),this},getAttr:function(n){return this.node.getAttribute(n)},setAttr:function(n,t){return this.R.setAttr(this,n,t),this},clipRect:function(n,t,i,r){this.R.clipRect(this,n,t,i,r)},translate:function(n,t,i,r){r||(n=Math.round(n),t=Math.round(t));this.R.move(this,n,t,i);this.x=n;this.y=t;this.scale=i;this.angle&&this.rotate(this.angle)},rotate:function(n,t){this.R.rotate(this,n,t);this.angle=n},animate:function(t,i,r){var u,f,e;for(u in t)t.hasOwnProperty(u)&&(f=u,e=t[u],r=n.getEffect(r),this.R.animate(this,f,e,i,r))},push:function(n){var t,i;n&&(t=this.node,t.appendChild(n.node),i=n.clipPath,i&&t.appendChild(i),(n=n.grad)&&t.appendChild(n))},text:function(n){this.R.setText(this,n)},remove:function(){this.stop();this.R.remove(this)},clear:function(){var n=this.node;if(n.hasChildNodes())for(;1<=n.childNodes.length;)n.removeChild(n.firstChild)},hide:function(){this.setAttr("visibility","hidden")},show:function(){this.setAttr("visibility","visible")},getBBox:function(){return this.R.getBBox(this)},toFront:function(){var n=this.node,t;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&t.appendChild(n))},toPrevious:function(){var n=this.node;n&&this.prevNextNode&&(n=n.parentNode)&&n.insertBefore(this.prevNextNode,null)},toBack:function(){var n=this.node,t,i;n&&(this.prevNextNode=n.nextSibling,t=n.parentNode,t&&(i=t.firstChild,i&&t.insertBefore(n,i)))},mouseover:function(n){return this.R.addListener(this,"mouseover",n),this},mouseout:function(n){return this.R.addListener(this,"mouseout",n),this},click:function(n){return this.R.addListener(this,"click",n),this},dblclick:function(n){return this.R.addListener(this,"dblclick",n),this},mousedown:function(n){return this.R.addListener(this,"mousedown",n),this},mouseup:function(n){return this.R.addListener(this,"mouseup",n),this},touchmove:function(n){return this.R.addListener(this,"touchmove",n),this},touchstart:function(n){return this.R.addListener(this,"touchstart",n),this},touchend:function(n){return this.R.addListener(this,"touchend",n),this},keyup:function(n){return this.R.addListener(this,"keyup",n),this},focus:function(n){return this.R.addListener(this,"focus",n),this},blur:function(n){return this.R.addListener(this,"blur",n),this},contextmenu:function(n){return this.node.addEventListener?this.node.addEventListener("contextmenu",n,!0):this.R.addListener(this,"contextmenu",n),this},stop:function(){n.removeFromArray(this.R.animations,this.an_translate);n.removeFromArray(this.R.animations,this.an_y);n.removeFromArray(this.R.animations,this.an_x)},length:function(){return this.node.childNodes.length},gradient:function(n,t,i){this.R.gradient(this,n,t,i)},pattern:function(n,t,i){n&&this.R.pattern(this,n,t,i)}})}(),function(){var n=window.AmCharts;n.SVGRenderer=n.Class({construct:function(n){this.D=n;this.animations=[]},create:function(t,i){return document.createElementNS(n.SVG_NS,i)},attr:function(n,t){for(var i in t)t.hasOwnProperty(i)&&this.setAttr(n,i,t[i])},setAttr:function(n,t,i){void 0!==i&&n.node.setAttribute(t,i)},animate:function(t,i,r,u,f){t.animationFinished=!1;var e=t.node;t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]);"translate"==i?(e=(e=e.getAttribute("transform"))?String(e).substring(10,e.length-1):"0,0",e=e.split(", ").join(" "),0===(e=e.split(" ").join(","))&&(e="0,0")):e=Number(e.getAttribute(i));r={obj:t,frame:0,attribute:i,from:e,to:r,time:u,effect:f};this.animations.push(r);t["an_"+i]=r},update:function(){for(var c=this.animations,e=c.length-1;0<=e;e--){var r,i,u,t=c[e],o=t.time*n.updateRate,s=t.frame+1,h=t.obj,f=t.attribute;if(s<=o){if(t.frame++,"translate"==f){if(r=t.from.split(","),f=Number(r[0]),r=Number(r[1]),isNaN(r)&&(r=0),i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),u=0==u-f?u:Math.round(n[t.effect](0,s,f,u-f,o)),t=0==i-r?i:Math.round(n[t.effect](0,s,r,i-r,o)),f="transform",isNaN(u)||isNaN(t))continue;t="translate("+u+","+t+")"}else i=Number(t.from),r=Number(t.to),u=r-i,t=n[t.effect](0,s,i,u,o),isNaN(t)&&(t=r),0===u&&this.animations.splice(e,1);this.setAttr(h,f,t)}else"translate"==f?(i=t.to.split(","),u=Number(i[0]),i=Number(i[1]),h.translate(u,i)):(r=Number(t.to),this.setAttr(h,f,r)),h.animationFinished=!0,this.animations.splice(e,1)}},getBBox:function(n){if(n=n.node)try{return n.getBBox()}catch(n){}return{width:0,height:0,x:0,y:0}},path:function(t,i){t.node.setAttributeNS(n.SVG_XLINK,"xlink:href",i)},clipRect:function(t,i,r,u,f){var e=t.node,o=t.clipPath,s;o&&this.D.remove(o);s=e.parentNode;s&&(e=document.createElementNS(n.SVG_NS,"clipPath"),o=n.getUniqueId(),e.setAttribute("id",o),this.D.rect(i,r,u,f,0,0,e),s.appendChild(e),i="#",n.baseHref&&!n.isIE&&(i=this.removeTarget(window.location.href)+i),this.setAttr(t,"clip-path","url("+i+o+")"),this.clipPathC++,t.clipPath=e)},text:function(t,i,r){var u=new n.AmDObject("text",this.D),f,o,e;for(t=String(t).split("\n"),o=n.removePx(i["font-size"]),f=0;f<t.length;f++)e=this.create(null,"tspan"),e.appendChild(document.createTextNode(t[f])),e.setAttribute("y",(o+2)*f+Math.round(o/2)),e.setAttribute("x",0),u.node.appendChild(e);return u.node.setAttribute("y",Math.round(o/2)),this.attr(u,i),this.D.addToContainer(u.node,r),u},setText:function(n,t){var i=n.node;i&&(i.removeChild(i.firstChild),i.appendChild(document.createTextNode(t)))},move:function(n,t,i,r){isNaN(t)&&(t=0);isNaN(i)&&(i=0);t="translate("+t+","+i+")";r&&(t=t+" scale("+r+")");this.setAttr(n,"transform",t)},rotate:function(n,t){var r=n.node.getAttribute("transform"),i="rotate("+t+")";r&&(i=r+" "+i);this.setAttr(n,"transform",i)},set:function(t){var r=new n.AmDObject("g",this.D),i;if(this.D.container.appendChild(r.node),t)for(i=0;i<t.length;i++)r.push(t[i]);return r},addListener:function(n,t,i){n.node["on"+t]=i},gradient:function(t,i,r,u){var s=t.node,e=t.grad;if(e&&this.D.remove(e),i=document.createElementNS(n.SVG_NS,i),e=n.getUniqueId(),i.setAttribute("id",e),!isNaN(u)){var f=0,o=0,h=0,c=0;90==u?h=100:270==u?c=100:180==u?f=100:0===u&&(o=100);i.setAttribute("x1",f+"%");i.setAttribute("x2",o+"%");i.setAttribute("y1",h+"%");i.setAttribute("y2",c+"%")}for(u=0;u<r.length;u++)f=document.createElementNS(n.SVG_NS,"stop"),o=100*u/(r.length-1),0===u&&(o=0),f.setAttribute("offset",o+"%"),f.setAttribute("stop-color",r[u]),i.appendChild(f);s.parentNode.appendChild(i);r="#";n.baseHref&&!n.isIE&&(r=this.removeTarget(window.location.href)+r);s.setAttribute("fill","url("+r+e+")");t.grad=i},removeTarget:function(n){return n.split("#")[0]},pattern:function(t,i,r,u){var c=t.node,f,h,o,s;isNaN(r)&&(r=1);f=t.patternNode;f&&this.D.remove(f);var f=document.createElementNS(n.SVG_NS,"pattern"),l=n.getUniqueId(),e=i;i.url&&(e=i.url);n.isAbsolute(e)||-1!=e.indexOf("data:image")||(e=u+e);u=Number(i.width);isNaN(u)&&(u=4);h=Number(i.height);isNaN(h)&&(h=4);u/=r;h/=r;r=i.x;isNaN(r)&&(r=0);o=-Math.random()*Number(i.randomX);isNaN(o)||(r=o);o=i.y;isNaN(o)&&(o=0);s=-Math.random()*Number(i.randomY);isNaN(s)||(o=s);f.setAttribute("id",l);f.setAttribute("width",u);f.setAttribute("height",h);f.setAttribute("patternUnits","userSpaceOnUse");f.setAttribute("xlink:href",e);i.color&&(s=document.createElementNS(n.SVG_NS,"rect"),s.setAttributeNS(null,"height",u),s.setAttributeNS(null,"width",h),s.setAttributeNS(null,"fill",i.color),f.appendChild(s));this.D.image(e,0,0,u,h,f).translate(r,o);e="#";n.baseHref&&!n.isIE&&(e=this.removeTarget(window.location.href)+e);c.setAttribute("fill","url("+e+l+")");t.patternNode=f;c.parentNode.appendChild(f)},remove:function(n){n.clipPath&&this.D.remove(n.clipPath);n.grad&&this.D.remove(n.grad);n.patternNode&&this.D.remove(n.patternNode);this.D.remove(n.node)}})}(),function(){var n=window.AmCharts;n.AmChart=n.Class({construct:function(t){this.svgIcons=this.tapToActivate=!0;this.theme=t;this.classNamePrefix="amcharts";this.addClassNames=!1;this.version="3.21.15";n.addChart(this);this.createEvents("buildStarted","dataUpdated","init","rendered","drawn","failed","resized","animationFinished");this.height=this.width="100%";this.dataChanged=!0;this.chartCreated=!1;this.previousWidth=this.previousHeight=0;this.backgroundColor="#FFFFFF";this.borderAlpha=this.backgroundAlpha=0;this.color=this.borderColor="#000000";this.fontFamily="Verdana";this.fontSize=11;this.usePrefixes=!1;this.autoResize=!0;this.autoDisplay=!1;this.addCodeCredits=this.accessible=!0;this.touchStartTime=this.touchClickDuration=0;this.precision=-1;this.percentPrecision=2;this.decimalSeparator=".";this.thousandsSeparator=",";this.labels=[];this.allLabels=[];this.titles=[];this.marginRight=this.marginLeft=this.autoMarginOffset=0;this.timeOuts=[];this.creditsPosition="top-left";var r=document.createElement("div"),i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.chartDiv=r;r=document.createElement("div");i=r.style;i.overflow="hidden";i.position="relative";i.textAlign="left";this.legendDiv=r;this.titleHeight=0;this.hideBalloonTime=150;this.handDrawScatter=2;this.cssScale=this.handDrawThickness=1;this.cssAngle=0;this.prefixesOfBigNumbers=[{number:1e3,prefix:"k"},{number:1e6,prefix:"M"},{number:1e9,prefix:"G"},{number:1e12,prefix:"T"},{number:1e15,prefix:"P"},{number:1e18,prefix:"E"},{number:1e21,prefix:"Z"},{number:1e24,prefix:"Y"}];this.prefixesOfSmallNumbers=[{number:1e-24,prefix:"y"},{number:1e-21,prefix:"z"},{number:1e-18,prefix:"a"},{number:1e-15,prefix:"f"},{number:1e-12,prefix:"p"},{number:1e-9,prefix:"n"},{number:1e-6,prefix:"μ"},{number:.001,prefix:"m"}];this.panEventsEnabled=!0;this.product="amcharts";this.animations=[];this.balloon=new n.AmBalloon(this.theme);this.balloon.chart=this;this.processTimeout=0;this.processCount=1e3;this.animatable=[];this.langObj={};n.applyTheme(this,t,"AmChart")},drawChart:function(){0<this.realWidth&&0<this.realHeight&&(this.drawBackground(),this.redrawLabels(),this.drawTitles(),this.brr(),this.renderFix(),this.chartDiv&&(this.boundingRect=this.chartDiv.getBoundingClientRect()))},makeAccessible:function(n,t,i){this.accessible&&n&&(i&&n.setAttr("role",i),n.setAttr("aria-label",t))},drawBackground:function(){var r,u;n.remove(this.background);var i=this.container,t=this.backgroundColor,f=this.backgroundAlpha,e=this.set;n.isModern||0!==f||(f=.001);r=this.updateWidth();this.realWidth=r;u=this.updateHeight();this.realHeight=u;t=n.polygon(i,[0,r-1,r-1,0],[0,0,u-1,u-1],t,f,1,this.borderColor,this.borderAlpha);n.setCN(this,t,"bg");this.background=t;e.push(t);(t=this.backgroundImage)&&(i=i.image(t,0,0,r,u),n.setCN(this,t,"bg-image"),this.bgImg=i,e.push(i))},drawTitles:function(t){var s=this.titles,u,f,i,r,e,o,h;if(this.titleHeight=0,n.ifArray(s)){for(f=20,u=0;u<s.length;u++)i=s[u],i=n.processObject(i,n.Title,this.theme),!1!==i.enabled&&(r=i.color,void 0===r&&(r=this.color),e=i.size,isNaN(e)&&(e=this.fontSize+2),isNaN(i.alpha),o=this.marginLeft,h=!0,void 0!==i.bold&&(h=i.bold),r=n.wrappedText(this.container,i.text,r,this.fontFamily,e,"middle",h,this.realWidth-35-this.marginRight-o),r.translate(o+(this.realWidth-this.marginRight-o)/2,f),r.node.style.pointerEvents="none",i.sprite=r,void 0!==i.tabIndex&&r.setAttr("tabindex",i.tabIndex),n.setCN(this,r,"title"),i.id&&n.setCN(this,r,"title-"+i.id),r.attr({opacity:i.alpha}),f+=r.getBBox().height+5,t?r.remove():this.freeLabelsSet.push(r));this.titleHeight=f-10}},write:function(n){var t=this,i,r;if(t.listeners)for(i=0;i<t.listeners.length;i++)r=t.listeners[i],t.addListener(r.event,r.method);t.fire({type:"buildStarted",chart:t});t.afterWriteTO&&clearTimeout(t.afterWriteTO);0<t.processTimeout?t.afterWriteTO=setTimeout(function(){t.afterWrite.call(t,n)},t.processTimeout):t.afterWrite(n)},afterWrite:function(t){var f,s,i;if(f="object"!=typeof t?document.getElementById(t):t){for(;f.firstChild;)f.removeChild(f.firstChild);this.div=f;f.style.overflow="hidden";f.style.textAlign="left";t=this.chartDiv;var o=this.legendDiv,r=this.legend,u=o.style,e=t.style;if(this.measure(),this.previousHeight=this.divRealHeight,this.previousWidth=this.divRealWidth,i=document.createElement("div"),s=i.style,s.position="relative",this.containerDiv=i,i.className=this.classNamePrefix+"-main-div",t.className=this.classNamePrefix+"-chart-div",f.appendChild(i),(f=this.exportConfig)&&n.AmExport&&!this.AmExport&&(this.AmExport=new n.AmExport(this,f)),this.amExport&&n.AmExport&&(this.AmExport=n.extend(this.amExport,new n.AmExport(this),!0)),this.AmExport&&this.AmExport.init&&this.AmExport.init(),r){if(r=this.addLegend(r,r.divId),r.enabled)switch(u.left=null,u.top=null,u.right=null,e.left=null,e.right=null,e.top=null,u.position="relative",e.position="relative",s.width="100%",s.height="100%",r.position){case"bottom":i.appendChild(t);i.appendChild(o);break;case"top":i.appendChild(o);i.appendChild(t);break;case"absolute":u.position="absolute";e.position="absolute";void 0!==r.left&&(u.left=r.left+"px");void 0!==r.right&&(u.right=r.right+"px");void 0!==r.top&&(u.top=r.top+"px");void 0!==r.bottom&&(u.bottom=r.bottom+"px");r.marginLeft=0;r.marginRight=0;i.appendChild(t);i.appendChild(o);break;case"right":u.position="relative";e.position="absolute";i.appendChild(t);i.appendChild(o);break;case"left":u.position="absolute";e.position="relative";i.appendChild(t);i.appendChild(o);break;case"outside":i.appendChild(t)}else i.appendChild(t);this.prevLegendPosition=r.position}else i.appendChild(t);this.listenersAdded||(this.addListeners(),this.listenersAdded=!0);(this.mouseWheelScrollEnabled||this.mouseWheelZoomEnabled)&&n.addWheelListeners();this.initChart()}},createLabelsSet:function(){n.remove(this.labelsSet);this.labelsSet=this.container.set();this.freeLabelsSet.push(this.labelsSet)},initChart:function(){this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme);window.AmCharts_path&&(this.path=window.AmCharts_path);void 0===this.path&&(this.path=n.getPath());void 0===this.path&&(this.path="amcharts/");this.path=n.normalizeUrl(this.path);void 0===this.pathToImages&&(this.pathToImages=this.path+"images/");this.initHC||(n.callInitHandler(this),this.initHC=!0);n.applyLang(this.language,this);var t=this.numberFormatter;t&&(isNaN(t.precision)||(this.precision=t.precision),void 0!==t.thousandsSeparator&&(this.thousandsSeparator=t.thousandsSeparator),void 0!==t.decimalSeparator&&(this.decimalSeparator=t.decimalSeparator));(t=this.percentFormatter)&&!isNaN(t.precision)&&(this.percentPrecision=t.precision);this.nf={precision:this.precision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.pf={precision:this.percentPrecision,thousandsSeparator:this.thousandsSeparator,decimalSeparator:this.decimalSeparator};this.destroy();(t=this.container)?(t.container.innerHTML="",t.width=this.realWidth,t.height=this.realHeight,t.addDefs(this),this.chartDiv.appendChild(t.container)):t=new n.AmDraw(this.chartDiv,this.realWidth,this.realHeight,this);this.container=t;this.extension=".png";this.svgIcons&&n.SVG&&(this.extension=".svg");this.checkDisplay();this.checkTransform(this.div);t.chart=this;n.VML||n.SVG?(t.handDrawn=this.handDrawn,t.handDrawScatter=this.handDrawScatter,t.handDrawThickness=this.handDrawThickness,n.remove(this.set),this.set=t.set(),n.remove(this.gridSet),this.gridSet=t.set(),n.remove(this.cursorLineSet),this.cursorLineSet=t.set(),n.remove(this.graphsBehindSet),this.graphsBehindSet=t.set(),n.remove(this.bulletBehindSet),this.bulletBehindSet=t.set(),n.remove(this.columnSet),this.columnSet=t.set(),n.remove(this.graphsSet),this.graphsSet=t.set(),n.remove(this.trendLinesSet),this.trendLinesSet=t.set(),n.remove(this.axesSet),this.axesSet=t.set(),n.remove(this.cursorSet),this.cursorSet=t.set(),n.remove(this.scrollbarsSet),this.scrollbarsSet=t.set(),n.remove(this.bulletSet),this.bulletSet=t.set(),n.remove(this.freeLabelsSet),this.freeLabelsSet=t.set(),n.remove(this.axesLabelsSet),this.axesLabelsSet=t.set(),n.remove(this.balloonsSet),this.balloonsSet=t.set(),n.remove(this.plotBalloonsSet),this.plotBalloonsSet=t.set(),n.remove(this.zoomButtonSet),this.zoomButtonSet=t.set(),n.remove(this.zbSet),this.zbSet=null,n.remove(this.linkSet),this.linkSet=t.set()):this.fire({type:"failed",chart:this})},premeasure:function(){var n=this.div,t,i;if(n){try{this.boundingRect=this.chartDiv.getBoundingClientRect()}catch(n){}t=n.offsetWidth;i=n.offsetHeight;n.clientHeight&&(t=n.clientWidth,i=n.clientHeight);t==this.mw&&i==this.mh||(this.mw=t,this.mh=i,this.measure())}},measure:function(){var t=this.div;if(t){var f=this.chartDiv,i=t.offsetWidth,r=t.offsetHeight,e=this.container;t.clientHeight&&(i=t.clientWidth,r=t.clientHeight);var r=Math.round(r),i=Math.round(i),t=Math.round(n.toCoordinate(this.width,i)),u=Math.round(n.toCoordinate(this.height,r));(i!=this.previousWidth||r!=this.previousHeight)&&0<t&&0<u&&(f.style.width=t+"px",f.style.height=u+"px",f.style.padding=0,e&&e.setSize(t,u),this.balloon=n.processObject(this.balloon,n.AmBalloon,this.theme));this.balloon&&this.balloon.setBounds&&this.balloon.setBounds(2,2,t-2,u);this.updateWidth();this.balloon.chart=this;this.realWidth=t;this.realHeight=u;this.divRealWidth=i;this.divRealHeight=r}},checkDisplay:function(){if(this.autoDisplay&&this.container){var t=n.rect(this.container,10,10),i=t.getBBox();0===i.width&&0===i.height&&(this.divRealHeight=this.divRealWidth=this.realHeight=this.realWidth=0,this.previousWidth=this.previousHeight=NaN);t.remove()}},checkTransform:function(n){var t;if(this.autoTransform&&window.getComputedStyle&&n){if(n.style&&(t=window.getComputedStyle(n,null),t&&(t=t.getPropertyValue("-webkit-transform")||t.getPropertyValue("-moz-transform")||t.getPropertyValue("-ms-transform")||t.getPropertyValue("-o-transform")||t.getPropertyValue("transform"))&&"none"!==t)){var i=t.split("(")[1].split(")")[0].split(","),t=i[0],i=i[1],t=Math.sqrt(t*t+i*i);isNaN(t)||(this.cssScale*=t)}n.parentNode&&this.checkTransform(n.parentNode)}},destroy:function(){this.chartDiv.innerHTML="";this.clearTimeOuts();this.legend&&this.legend.destroy&&this.legend.destroy()},clearTimeOuts:function(){var t=this.timeOuts,n;if(t)for(n=0;n<t.length;n++)clearTimeout(t[n]);this.timeOuts=[]},clear:function(t){try{document.removeEventListener("touchstart",this.docfn1,!0);document.removeEventListener("touchend",this.docfn2,!0)}catch(n){}if(n.callMethod("clear",[this.chartScrollbar,this.scrollbarV,this.scrollbarH,this.chartCursor]),this.chartCursor=this.scrollbarH=this.scrollbarV=this.chartScrollbar=null,this.clearTimeOuts(),this.container&&(this.container.remove(this.chartDiv),this.container.remove(this.legendDiv)),t||n.removeChart(this),t=this.div)for(;t.firstChild;)t.removeChild(t.firstChild);this.legend&&this.legend.destroy&&this.legend.destroy();this.AmExport&&this.AmExport.clear&&this.AmExport.clear()},setMouseCursor:function(t){"auto"==t&&n.isNN&&(t="default");this.chartDiv.style.cursor=t;this.legendDiv.style.cursor=t},redrawLabels:function(){var t,n;for(this.labels=[],t=this.allLabels,this.createLabelsSet(),n=0;n<t.length;n++)this.drawLabel(t[n])},drawLabel:function(t){var i=this;if(i.container&&!1!==t.enabled){t=n.processObject(t,n.Label,i.theme);var f=t.y,r=t.text,u=t.align,s=t.size,h=t.color,e=t.rotation,c=t.alpha,l=t.bold,o=n.toCoordinate(t.x,i.realWidth),f=n.toCoordinate(f,i.realHeight);o||(o=0);f||(f=0);void 0===h&&(h=i.color);isNaN(s)&&(s=i.fontSize);u||(u="start");"left"==u&&(u="start");"right"==u&&(u="end");"center"==u&&(u="middle",e?f=i.realHeight-f+f/2:o=i.realWidth/2-o);void 0===c&&(c=1);void 0===e&&(e=0);f+=s/2;r=n.text(i.container,r,h,i.fontFamily,s,u,l,c);r.translate(o,f);void 0!==t.tabIndex&&r.setAttr("tabindex",t.tabIndex);n.setCN(i,r,"label");t.id&&n.setCN(i,r,"label-"+t.id);0!==e&&r.rotate(e);t.url?(r.setAttr("cursor","pointer"),r.click(function(){n.getURL(t.url,i.urlTarget)})):r.node.style.pointerEvents="none";i.labelsSet.push(r);i.labels.push(r)}},addLabel:function(n,t,i,r,u,f,e,o,s,h){n={x:n,y:t,text:i,align:r,size:u,color:f,alpha:o,rotation:e,bold:s,url:h,enabled:!0};this.container&&this.drawLabel(n);this.allLabels.push(n)},clearLabels:function(){for(var t=this.labels,n=t.length-1;0<=n;n--)t[n].remove();this.labels=[];this.allLabels=[]},updateHeight:function(){var n=this.divRealHeight,t=this.legend,i;return t&&(i=this.legendDiv.offsetHeight,t=t.position,"top"!=t&&"bottom"!=t||(n-=i,(0>n||isNaN(n))&&(n=0),this.chartDiv.style.height=n+"px")),n},updateWidth:function(){var n=this.divRealWidth,e=this.divRealHeight,t=this.legend,i,r;if(t){i=this.legendDiv;r=i.offsetWidth;isNaN(t.width)||(r=t.width);t.ieW&&(r=t.ieW);var o=i.offsetHeight,i=i.style,u=this.chartDiv.style,f=t.position;"right"!=f&&"left"!=f||void 0!==t.divId||(n-=r,(0>n||isNaN(n))&&(n=0),u.width=n+"px",this.balloon&&this.balloon.setBounds&&this.balloon.setBounds(2,2,n-2,this.realHeight),"left"==f?(u.left=r+"px",i.left="0px"):(u.left="0px",i.left=n+"px"),e>o&&(i.top=(e-o)/2+"px"))}return n},getTitleHeight:function(){return this.drawTitles(!0),this.titleHeight},addTitle:function(n,t,i,r,u){return isNaN(t)&&(t=this.fontSize+2),n={text:n,size:t,color:i,alpha:r,bold:u,enabled:!0},this.titles.push(n),n},handleWheel:function(n){var t=0;n||(n=window.event);n.wheelDelta?t=n.wheelDelta/120:n.detail&&(t=-n.detail/3);t&&this.handleWheelReal(t,n.shiftKey);n.preventDefault&&n.preventDefault()},handleWheelReal:function(){},handleDocTouchStart:function(){this.handleMouseMove();this.tmx=this.mouseX;this.tmy=this.mouseY;this.touchStartTime=(new Date).getTime()},handleDocTouchEnd:function(){-.5<this.tmx&&this.tmx<this.divRealWidth+1&&0<this.tmy&&this.tmy<this.divRealHeight?(this.handleMouseMove(),4>Math.abs(this.mouseX-this.tmx)&&4>Math.abs(this.mouseY-this.tmy)?(this.tapped=!0,this.panRequired&&this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="none",this.chartDiv.style.touchAction="none")):this.mouseIsOver||this.resetTouchStyle()):(this.tapped=!1,this.resetTouchStyle())},resetTouchStyle:function(){this.panEventsEnabled&&this.chartDiv&&(this.chartDiv.style.msTouchAction="auto",this.chartDiv.style.touchAction="auto")},checkTouchDuration:function(n){var t=this,i=(new Date).getTime();if(n)if(n.touches)t.isTouchEvent=!0;else if(!t.isTouchEvent)return!0;if(i-t.touchStartTime>t.touchClickDuration)return!0;setTimeout(function(){t.resetTouchDuration()},300)},resetTouchDuration:function(){this.isTouchEvent=!1},checkTouchMoved:function(){if(4<Math.abs(this.mouseX-this.tmx)||4<Math.abs(this.mouseY-this.tmy))return!0},addListeners:function(){var n=this,t=n.chartDiv;document.addEventListener?("ontouchstart"in document.documentElement&&(t.addEventListener("touchstart",function(t){n.handleTouchStart.call(n,t)},!0),t.addEventListener("touchmove",function(t){n.handleMouseMove.call(n,t)},!0),t.addEventListener("touchend",function(t){n.handleTouchEnd.call(n,t)},!0),n.docfn1=function(t){n.handleDocTouchStart.call(n,t)},n.docfn2=function(t){n.handleDocTouchEnd.call(n,t)},document.addEventListener("touchstart",n.docfn1,!0),document.addEventListener("touchend",n.docfn2,!0)),t.addEventListener("mousedown",function(t){n.mouseIsOver=!0;n.handleMouseMove.call(n,t);n.handleMouseDown.call(n,t);n.handleDocTouchStart.call(n,t)},!0),t.addEventListener("mouseover",function(t){n.handleMouseOver.call(n,t)},!0),t.addEventListener("mouseout",function(t){n.handleMouseOut.call(n,t)},!0),t.addEventListener("mouseup",function(t){n.handleDocTouchEnd.call(n,t)},!0)):(t.attachEvent("onmousedown",function(t){n.handleMouseDown.call(n,t)}),t.attachEvent("onmouseover",function(t){n.handleMouseOver.call(n,t)}),t.attachEvent("onmouseout",function(t){n.handleMouseOut.call(n,t)}))},dispDUpd:function(){this.skipEvents||(this.dispatchDataUpdated&&(this.dispatchDataUpdated=!1,this.fire({type:"dataUpdated",chart:this})),this.chartCreated||(this.chartCreated=!0,this.fire({type:"init",chart:this})),!this.chartRendered&&0<this.divRealWidth&&0<this.divRealHeight&&(this.fire({type:"rendered",chart:this}),this.chartRendered=!0),this.fire({type:"drawn",chart:this}));this.skipEvents=!1},validateSize:function(){var n=this,t,i;(n.premeasure(),n.checkDisplay(),n.cssScale=1,n.cssAngle=0,n.checkTransform(n.div),n.divRealWidth!=n.previousWidth||n.divRealHeight!=n.previousHeight)&&(t=n.legend,0<n.realWidth&&0<n.realHeight&&((n.sizeChanged=!0,t)&&(n.legendInitTO&&clearTimeout(n.legendInitTO),i=setTimeout(function(){t.invalidateSize()},10),n.timeOuts.push(i),n.legendInitTO=i),n.marginsUpdated=!1,clearTimeout(n.initTO),i=setTimeout(function(){n.initChart()},10),n.timeOuts.push(i),n.initTO=i),n.renderFix(),t&&t.renderFix&&t.renderFix(),n.positionCred(),clearTimeout(n.resizedTO),n.resizedTO=setTimeout(function(){n.fire({type:"resized",chart:n})},10),n.previousHeight=n.divRealHeight,n.previousWidth=n.divRealWidth)},invalidateSize:function(){this.previousHeight=this.previousWidth=NaN;this.invalidateSizeReal()},invalidateSizeReal:function(){var n=this,t;n.marginsUpdated=!1;clearTimeout(n.validateTO);t=setTimeout(function(){n.validateSize()},5);n.timeOuts.push(t);n.validateTO=t},validateData:function(n){this.chartCreated&&(this.dataChanged=!0,this.marginsUpdated=!1,this.initChart(n))},validateNow:function(n,t){this.initTO&&clearTimeout(this.initTO);n&&(this.dataChanged=!0,this.marginsUpdated=!1);this.skipEvents=t;this.chartRendered=!1;var i=this.legend;i&&i.position!=this.prevLegendPosition&&(this.previousWidth=this.mw=0,i.invalidateSize&&(i.invalidateSize(),this.validateSize()));this.write(this.div)},showItem:function(n){n.hidden=!1;this.initChart()},hideItem:function(n){n.hidden=!0;this.initChart()},hideBalloon:function(){var n=this;clearTimeout(n.hoverInt);clearTimeout(n.balloonTO);n.hoverInt=setTimeout(function(){n.hideBalloonReal.call(n)},n.hideBalloonTime)},cleanChart:function(){},hideBalloonReal:function(){var n=this.balloon;n&&n.hide&&n.hide()},showBalloon:function(n,t,i,r,u){var f=this;clearTimeout(f.balloonTO);clearTimeout(f.hoverInt);f.balloonTO=setTimeout(function(){f.showBalloonReal.call(f,n,t,i,r,u)},1)},showBalloonReal:function(n,t,i,r,u){this.handleMouseMove();var f=this.balloon;f.enabled&&(f.followCursor(!1),f.changeColor(t),!i||f.fixedPosition?(f.setPosition(r,u),isNaN(r)||isNaN(u)?f.followCursor(!0):f.followCursor(!1)):f.followCursor(!0),n&&f.showBalloon(n))},handleMouseOver:function(){this.outTO&&clearTimeout(this.outTO);n.resetMouseOver();this.mouseIsOver=!0},handleMouseOut:function(){var t=this;n.resetMouseOver();t.outTO&&clearTimeout(t.outTO);t.outTO=setTimeout(function(){t.handleMouseOutReal()},10)},handleMouseOutReal:function(){this.mouseIsOver=!1},handleMouseMove:function(n){var t,i,r,u,f;if(n||(n=window.event),this.mouse2Y=this.mouse2X=NaN,n){if(n.touches){if(f=n.touches.item(1),f&&this.panEventsEnabled&&this.boundingRect&&(r=f.clientX-this.boundingRect.left,u=f.clientY-this.boundingRect.top),!(n=n.touches.item(0)))return}else this.wasTouched=!1;this.boundingRect&&n.clientX&&(t=n.clientX-this.boundingRect.left,i=n.clientY-this.boundingRect.top);isNaN(r)?this.mouseX=t:(this.mouseX=Math.min(t,r),this.mouse2X=Math.max(t,r));isNaN(u)?this.mouseY=i:(this.mouseY=Math.min(i,u),this.mouse2Y=Math.max(i,u));this.autoTransform&&(this.mouseX/=this.cssScale,this.mouseY/=this.cssScale)}},handleTouchStart:function(n){this.hideBalloonReal();n&&(n.touches&&this.tapToActivate&&!this.tapped||!this.panRequired)||(this.handleMouseMove(n),this.handleMouseDown(n))},handleTouchEnd:function(t){this.wasTouched=!0;this.handleMouseMove(t);n.resetMouseOver();this.handleReleaseOutside(t)},handleReleaseOutside:function(){this.handleDocTouchEnd.call(this)},handleMouseDown:function(t){n.resetMouseOver();this.mouseIsOver=!0;t&&t.preventDefault&&(this.panEventsEnabled?t.preventDefault():t.touches||t.preventDefault())},handleKeyUp:function(){},addLegend:function(t,i){t=n.processObject(t,n.AmLegend,this.theme);t.divId=i;t.ieW=0;var r;return r="object"!=typeof i&&i?document.getElementById(i):i,this.legend=t,t.chart=this,r?(t.div=r,t.position="outside",t.autoMargins=!1):t.div=this.legendDiv,t},removeLegend:function(){this.legend=void 0;this.previousWidth=0;this.legendDiv.innerHTML=""},handleResize:function(){(n.isPercents(this.width)||n.isPercents(this.height))&&this.invalidateSizeReal();this.renderFix()},renderFix:function(){if(!n.VML){var t=this.container;t&&t.renderFix()}},getSVG:function(){if(n.hasSVG)return this.container},animate:function(t,i,r,u,f,e,o){return t["an_"+i]&&n.removeFromArray(this.animations,t["an_"+i]),r={obj:t,frame:0,attribute:i,from:r,to:u,time:f,effect:e,suffix:o},t["an_"+i]=r,this.animations.push(r),r},setLegendData:function(n){var t=this.legend;t&&t.setData(n)},stopAnim:function(t){n.removeFromArray(this.animations,t)},updateAnimations:function(){var i;if(this.container&&this.container.update(),this.animations)for(i=this.animations.length-1;0<=i;i--){var t=this.animations[i],u=n.updateRate*t.time,e=t.frame+1,r=t.obj,f=t.attribute;if(e<=u){t.frame++;var o=Number(t.from),s=Number(t.to)-o,u=n[t.effect](0,e,o,s,u);0===s?(this.animations.splice(i,1),r.node.style[f]=Number(t.to)+t.suffix):r.node.style[f]=u+t.suffix}else r.node.style[f]=Number(t.to)+t.suffix,r.animationFinished=!0,this.animations.splice(i,1)}},update:function(){var n,i,t,r;if(this.updateAnimations(),n=this.animatable,0<n.length){for(i=!0,t=n.length-1;0<=t;t--)r=n[t],r&&(r.animationFinished?n.splice(t,1):i=!1);i&&(this.fire({type:"animationFinished",chart:this}),this.animatable=[])}},inIframe:function(){try{return window.self!==window.top}catch(n){return!0}},brr:function(){var i,n,t,r;this.hideCredits||(n="amcharts.com",t=window.location.hostname.split("."),(2<=t.length&&(i=t[t.length-2]+"."+t[t.length-1]),this.amLink&&(t=this.amLink.parentNode)&&t.removeChild(this.amLink),i!=n||!0===this.inIframe())&&(i=n="http://www."+n,t="JavaScript charts",r="JS chart by amCharts","ammap"==this.product&&(i=n+"/javascript-maps/",t="Interactive JavaScript maps",r="JS map by amCharts"),n=document.createElement("a"),r=document.createTextNode(r),n.setAttribute("href",i),n.setAttribute("title",t),this.urlTarget&&n.setAttribute("target",this.urlTarget),n.appendChild(r),this.chartDiv.appendChild(n),this.amLink=n,n=n.style,n.position="absolute",n.textDecoration="none",n.color=this.color,n.fontFamily=this.fontFamily,n.fontSize="11px",n.opacity=.7,n.display="block",this.positionCred()))},positionCred:function(){var t=this.amLink,n,i;if(t){var f=this.creditsPosition,s=t.style,h=t.offsetWidth,t=t.offsetHeight,r=0,u=0,e=this.realWidth,o=this.realHeight,n=this.type;"serial"!=n&&"xy"!=n&&"gantt"!=n||(r=this.marginLeftReal,u=this.marginTopReal,e=r+this.plotAreaWidth,o=u+this.plotAreaHeight);n=5+r;i=u+5;"bottom-left"==f&&(n=5+r,i=o-t-3);"bottom-right"==f&&(n=e-h-5,i=o-t-3);"top-right"==f&&(n=e-h-5,i=u+5);s.left=n+"px";s.top=i+"px"}}});n.Slice=n.Class({construct:function(){}});n.SerialDataItem=n.Class({construct:function(){}});n.GraphDataItem=n.Class({construct:function(){}});n.Guide=n.Class({construct:function(t){this.cname="Guide";n.applyTheme(this,t,this.cname)}});n.Title=n.Class({construct:function(t){this.cname="Title";n.applyTheme(this,t,this.cname)}});n.Label=n.Class({construct:function(t){this.cname="Label";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.AmBalloon=n.Class({construct:function(t){this.cname="AmBalloon";this.enabled=!0;this.fillColor="#FFFFFF";this.fillAlpha=.8;this.borderThickness=2;this.borderColor="#FFFFFF";this.borderAlpha=1;this.cornerRadius=0;this.maxWidth=220;this.horizontalPadding=8;this.verticalPadding=4;this.pointerWidth=6;this.pointerOrientation="V";this.color="#000000";this.adjustBorderColor=!0;this.show=this.follow=this.showBullet=!1;this.bulletSize=3;this.shadowAlpha=.4;this.shadowColor="#000000";this.fadeOutDuration=this.animationDuration=.3;this.fixedPosition=!0;this.offsetY=6;this.offsetX=1;this.textAlign="center";this.disableMouseEvents=!0;this.deltaSignX=this.deltaSignY=1;n.isModern||(this.offsetY*=1.5);this.sdy=this.sdx=0;n.applyTheme(this,t,this.cname)},draw:function(){var f=this.pointToX,o=this.pointToY,a,s,w,i,r,p,ut,st,t;if(n.isModern||(this.drop=!1),a=this.chart,n.VML&&(this.fadeOutDuration=0),this.xAnim&&a.stopAnim(this.xAnim),this.yAnim&&a.stopAnim(this.yAnim),this.sdy=this.sdx=0,!isNaN(f)){var ot=this.follow,v=a.container,y=this.set;if(n.remove(y),this.removeDiv(),y=v.set(),y.node.style.pointerEvents="none",this.set=y,this.mainSet?(this.mainSet.push(this.set),this.sdx=this.mainSet.x,this.sdy=this.mainSet.y):a.balloonsSet.push(y),this.show){var e=this.l,k=this.t,b=this.r,nt=this.b,s=this.balloonColor,c=this.fillColor,rt=this.borderColor,tt=c;void 0!=s&&(this.adjustBorderColor?tt=rt=s:c=s);var d=this.horizontalPadding,it=this.verticalPadding,h=this.pointerWidth,l=this.pointerOrientation,g=this.cornerRadius,u=a.fontFamily,t=this.fontSize;void 0==t&&(t=a.fontSize);s=document.createElement("div");w=a.classNamePrefix;s.className=w+"-balloon-div";this.className&&(s.className=s.className+" "+w+"-balloon-div-"+this.className);w=s.style;this.disableMouseEvents&&(w.pointerEvents="none");w.position="absolute";i=this.minWidth;r=document.createElement("div");s.appendChild(r);p=r.style;isNaN(i)||(p.minWidth=i-2*d+"px");p.textAlign=this.textAlign;p.maxWidth=this.maxWidth+"px";p.fontSize=t+"px";p.color=this.color;p.fontFamily=u;r.innerHTML=this.text;a.chartDiv.appendChild(s);this.textDiv=s;p=s.offsetWidth;ut=s.offsetHeight;s.clientHeight&&(p=s.clientWidth,ut=s.clientHeight);u=ut+2*it;r=p+2*d;!isNaN(i)&&r<i&&(r=i);window.opera&&(u+=2);st=!1;t=this.offsetY;a.handDrawn&&(t+=a.handDrawScatter+2);"H"!=l?(i=f-r/2,o<k+u+10&&"down"!=l?(st=!0,ot&&(o+=t),t=o+h,this.deltaSignY=-1):(ot&&(o-=t),t=o-u-h,this.deltaSignY=1)):(2*h>u&&(h=u/2),t=o-u/2,f<e+(b-e)/2?(i=f+h,this.deltaSignX=-1):(i=f-r-h,this.deltaSignX=1));t+u>=nt&&(t=nt-u);t<k&&(t=k);i<e&&(i=e);i+r>b&&(i=b-r);var ft,k=t+it,nt=i+d,et=this.shadowAlpha,ct=this.shadowColor,d=this.borderThickness,lt=this.bulletSize,it=this.fillAlpha,ht=this.borderAlpha;this.showBullet&&(ft=n.circle(v,lt,tt,it),y.push(ft));this.drop?(e=r/1.6,b=0,"V"==l&&(l="down"),"H"==l&&(l="left"),"down"==l&&(i=f+1,t=o-e-e/3),"up"==l&&(b=180,i=f+1,t=o+e+e/3),"left"==l&&(b=270,i=f+e+e/3+2,t=o),"right"==l&&(b=90,i=f-e-e/3+2,t=o),k=t-ut/2+1,nt=i-p/2-1,c=n.drop(v,e,b,c,it,d,rt,ht)):0<g||0===h?(0<et&&(f=n.rect(v,r,u,c,0,d+1,ct,et,g),n.isModern?f.translate(1,1):f.translate(4,4),y.push(f)),c=n.rect(v,r,u,c,it,d,rt,ht,g)):(tt=[],g=[],"H"!=l?(e=f-i,e>r-h&&(e=r-h),e<h&&(e=h),tt=[0,e-h,f-i,e+h,r,r,0,0],g=st?[0,0,o-t,0,0,u,u,0]:[u,u,o-t,u,u,0,0,u]):(l=o-t,l>u-h&&(l=u-h),l<h&&(l=h),g=[0,l-h,o-t,l+h,u,u,0,0],tt=f<e+(b-e)/2?[0,0,i<f?0:f-i,0,0,r,r,0]:[r,r,i+r>f?r:f-i,r,r,0,0,r]),0<et&&(f=n.polygon(v,tt,g,c,0,d,ct,et),f.translate(1,1),y.push(f)),c=n.polygon(v,tt,g,c,it,d,rt,ht));this.bg=c;y.push(c);c.toFront();n.setCN(a,c,"balloon-bg");this.className&&n.setCN(a,c,"balloon-bg-"+this.className);v=1*this.deltaSignX;nt+=this.sdx;k+=this.sdy;w.left=nt+"px";w.top=k+"px";y.translate(i-v,t,1,!0);c=c.getBBox();this.bottom=t+u+1;this.yPos=c.y+t;ft&&ft.translate(this.pointToX-i+v,o-t);o=this.animationDuration;0<this.animationDuration&&!ot&&!isNaN(this.prevX)&&(y.translate(this.prevX,this.prevY,NaN,!0),y.animate({translate:i-v+","+t},o,"easeOutSine"),s&&(w.left=this.prevTX+"px",w.top=this.prevTY+"px",this.xAnim=a.animate({node:s},"left",this.prevTX,nt,o,"easeOutSine","px"),this.yAnim=a.animate({node:s},"top",this.prevTY,k,o,"easeOutSine","px")));this.prevX=i-v;this.prevY=t;this.prevTX=nt;this.prevTY=k}}},fixPrevious:function(){this.rPrevX=this.prevX;this.rPrevY=this.prevY;this.rPrevTX=this.prevTX;this.rPrevTY=this.prevTY},restorePrevious:function(){this.prevX=this.rPrevX;this.prevY=this.rPrevY;this.prevTX=this.rPrevTX;this.prevTY=this.rPrevTY},followMouse:function(){var n,t,i;if(this.follow&&this.show&&(n=this.chart.mouseX-this.offsetX*this.deltaSignX-this.sdx,t=this.chart.mouseY-this.sdy,this.pointToX=n,this.pointToY=t,n!=this.previousX||t!=this.previousY))if(this.previousX=n,this.previousY=t,0===this.cornerRadius)this.draw();else if(i=this.set,i){var r=i.getBBox(),n=n-r.width/2,u=t-r.height-10;n<this.l&&(n=this.l);n>this.r-r.width&&(n=this.r-r.width);u<this.t&&(u=t+10);i.translate(n,u);t=this.textDiv.style;t.left=n+this.horizontalPadding+"px";t.top=u+this.verticalPadding+"px"}},changeColor:function(n){this.balloonColor=n},setBounds:function(n,t,i,r){this.l=n;this.t=t;this.r=i;this.b=r;this.destroyTO&&clearTimeout(this.destroyTO)},showBalloon:function(n){(this.text!=n||this.positionChanged)&&(this.text=n,this.isHiding=!1,this.show=!0,this.destroyTO&&clearTimeout(this.destroyTO),n=this.chart,this.fadeAnim1&&n.stopAnim(this.fadeAnim1),this.fadeAnim2&&n.stopAnim(this.fadeAnim2),this.draw(),this.positionChanged=!1)},hide:function(n){var t=this,r,i;t.text=void 0;isNaN(n)&&(n=t.fadeOutDuration);r=t.chart;0<n&&!t.isHiding?(t.isHiding=!0,t.destroyTO&&clearTimeout(t.destroyTO),t.destroyTO=setTimeout(function(){t.destroy.call(t)},1e3*n),t.follow=!1,t.show=!1,i=t.set,i&&(i.setAttr("opacity",t.fillAlpha),t.fadeAnim1=i.animate({opacity:0},n,"easeInSine")),t.textDiv&&(t.fadeAnim2=r.animate({node:t.textDiv},"opacity",1,0,n,"easeInSine",""))):(t.show=!1,t.follow=!1,t.destroy())},setPosition:function(n,t){n==this.pointToX&&t==this.pointToY||(this.previousX=this.pointToX,this.previousY=this.pointToY,this.pointToX=n,this.pointToY=t,this.positionChanged=!0)},followCursor:function(n){var t=this,i,r;t.follow=n;clearInterval(t.interval);i=t.chart.mouseX-t.sdx;r=t.chart.mouseY-t.sdy;!isNaN(i)&&n&&(t.pointToX=i-t.offsetX*t.deltaSignX,t.pointToY=r,t.followMouse(),t.interval=setInterval(function(){t.followMouse.call(t)},40))},removeDiv:function(){if(this.textDiv){var n=this.textDiv.parentNode;n&&n.removeChild(this.textDiv)}},destroy:function(){clearInterval(this.interval);n.remove(this.set);this.removeDiv();this.set=null}})}(),function(){var n=window.AmCharts;n.circle=function(t,i,r,u,f,e,o,s,h){return 0>=i&&(i=.001),void 0!=f&&0!==f||(f=.01),void 0===e&&(e="#000000"),void 0===o&&(o=0),u={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o},t=isNaN(h)?t.circle(0,0,i).attr(u):t.ellipse(0,0,i,h).attr(u),s&&t.gradient("radialGradient",[r,n.adjustLuminosity(r,-.6)]),t};n.text=function(t,i,r,u,f,e,o,s){return e||(e="middle"),"right"==e&&(e="end"),"left"==e&&(e="start"),isNaN(s)&&(s=1),void 0!==i&&(i=String(i),n.isIE&&!n.isModern&&(i=i.replace("&amp;","&"),i=i.replace("&","&amp;"))),r={fill:r,"font-family":u,"font-size":f+"px",opacity:s},!0===o&&(r["font-weight"]="bold"),r["text-anchor"]=e,t.text(i,r)};n.polygon=function(t,i,r,u,f,e,o,s,h,c,l){isNaN(e)&&(e=.01);isNaN(s)&&(s=f);var a=u,v=!1;for("object"==typeof a&&1<a.length&&(v=!0,a=a[0]),void 0===o&&(o=a),f={fill:a,stroke:o,"fill-opacity":f,"stroke-width":e,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),l=n.dx,e=n.dy,t.handDrawn&&(r=n.makeHD(i,r,t.handDrawScatter),i=r[0],r=r[1]),o=Math.round,c&&(o=Number),s="M"+(o(i[0])+l)+","+(o(r[0])+e),a=1;a<i.length;a++)c&&(i[a]=n.roundTo(i[a],5),r[a]=n.roundTo(r[a],5)),s+=" L"+(o(i[a])+l)+","+(o(r[a])+e);return t=t.path(s+" Z").attr(f),v&&t.gradient("linearGradient",u,h),t};n.rect=function(t,i,r,u,f,e,o,s,h,c,l){var a,p,v,y;return isNaN(i)||isNaN(r)?t.set():(isNaN(e)&&(e=0),void 0===h&&(h=0),void 0===c&&(c=270),isNaN(f)&&(f=0),a=u,p=!1,"object"==typeof a&&(a=a[0],p=!0),void 0===o&&(o=a),void 0===s&&(s=f),i=Math.round(i),r=Math.round(r),v=0,y=0,0>i&&(i=Math.abs(i),v=-i),0>r&&(r=Math.abs(r),y=-r),v+=n.dx,y+=n.dy,f={fill:a,stroke:o,"fill-opacity":f,"stroke-opacity":s},void 0!==l&&0<l&&(f["stroke-dasharray"]=l),t=t.rect(v,y,i,r,h,e).attr(f),p&&t.gradient("linearGradient",u,c),t)};n.bullet=function(t,i,r,u,f,e,o,s,h,c,l,a,v){var y;switch("circle"==i&&(i="round"),i){case"round":y=n.circle(t,r/2,u,f,e,o,s);break;case"square":y=n.polygon(t,[-r/2,r/2,r/2,-r/2],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"rectangle":y=n.polygon(t,[-r,r,r,-r],[r/2,r/2,-r/2,-r/2],u,f,e,o,s,c-180,void 0,v);break;case"diamond":y=n.polygon(t,[-r/2,0,r/2,0],[0,-r/2,0,r/2],u,f,e,o,s);break;case"triangleUp":y=n.triangle(t,r,0,u,f,e,o,s);break;case"triangleDown":y=n.triangle(t,r,180,u,f,e,o,s);break;case"triangleLeft":y=n.triangle(t,r,270,u,f,e,o,s);break;case"triangleRight":y=n.triangle(t,r,90,u,f,e,o,s);break;case"bubble":y=n.circle(t,r/2,u,f,e,o,s,!0);break;case"line":y=n.line(t,[-r/2,r/2],[0,0],u,f,e,o,s);break;case"yError":y=t.set();y.push(n.line(t,[0,0],[-r/2,r/2],u,f,e));y.push(n.line(t,[-h,h],[-r/2,-r/2],u,f,e));y.push(n.line(t,[-h,h],[r/2,r/2],u,f,e));break;case"xError":y=t.set();y.push(n.line(t,[-r/2,r/2],[0,0],u,f,e));y.push(n.line(t,[-r/2,-r/2],[-h,h],u,f,e));y.push(n.line(t,[r/2,r/2],[-h,h],u,f,e))}return y&&y.pattern(l,NaN,a),y};n.triangle=function(n,t,i,r,u,f,e,o){void 0!==f&&0!==f||(f=1);void 0===e&&(e="#000");void 0===o&&(o=0);r={fill:r,stroke:e,"fill-opacity":u,"stroke-width":f,"stroke-opacity":o};t/=2;var s;return 0===i&&(s=" M"+-t+","+t+" L0,"+-t+" L"+t+","+t+" Z"),180==i&&(s=" M"+-t+","+-t+" L0,"+t+" L"+t+","+-t+" Z"),90==i&&(s=" M"+-t+","+-t+" L"+t+",0 L"+-t+","+t+" Z"),270==i&&(s=" M"+-t+",0 L"+t+","+t+" L"+t+","+-t+" Z"),n.path(s).attr(r)};n.line=function(t,i,r,u,f,e,o,s,h,c,l){if(t.handDrawn&&!l)return n.handDrawnLine(t,i,r,u,f,e,o,s,h,c,l);for(e={fill:"none","stroke-width":e},void 0!==o&&0<o&&(e["stroke-dasharray"]=o),isNaN(f)||(e["stroke-opacity"]=f),u&&(e.stroke=u),u=Math.round,c&&(u=Number,i[0]=n.roundTo(i[0],5),r[0]=n.roundTo(r[0],5)),c=n.dx,f=n.dy,o="M"+(u(i[0])+c)+","+(u(r[0])+f),s=1;s<i.length;s++)i[s]=n.roundTo(i[s],5),r[s]=n.roundTo(r[s],5),o+=" L"+(u(i[s])+c)+","+(u(r[s])+f);return n.VML?t.path(o,void 0,!0).attr(e):(h&&(o+=" M0,0 L0,0"),t.path(o).attr(e))};n.makeHD=function(n,t,i){for(var a,c=[],l=[],r=1;r<n.length;r++)for(var f=Number(n[r-1]),e=Number(t[r-1]),o=Number(n[r]),s=Number(t[r]),h=Math.round(Math.sqrt(Math.pow(o-f,2)+Math.pow(s-e,2))/50)+1,o=(o-f)/h,s=(s-e)/h,u=0;u<=h;u++)a=e+u*s+Math.random()*i,c.push(f+u*o+Math.random()*i),l.push(a);return[c,l]};n.handDrawnLine=function(t,i,r,u,f,e,o,s,h,c){for(var p=t.set(),l=1;l<i.length;l++)for(var y=[i[l-1],i[l]],v=[r[l-1],r[l]],v=n.makeHD(y,v,t.handDrawScatter),y=v[0],v=v[1],a=1;a<y.length;a++)p.push(n.line(t,[y[a-1],y[a]],[v[a-1],v[a]],u,f,e+Math.random()*t.handDrawThickness-t.handDrawThickness/2,o,s,h,c,!0));return p};n.doNothing=function(n){return n};n.drop=function(n,t,i,r,u,f,e,o){var s=1/180*Math.PI,h=i-20,v=Math.sin(h*s)*t,y=Math.cos(h*s)*t,p=Math.sin((h+40)*s)*t,w=Math.cos((h+40)*s)*t,a=.8*t,c=-t/3,l=t/3;return 0===i&&(c=-c,l=0),180==i&&(l=0),90==i&&(c=0),270==i&&(c=0,l=-l),i={fill:r,stroke:e,"stroke-width":f,"stroke-opacity":o,"fill-opacity":u},t="M"+v+","+y+" A"+t+","+t+",0,1,1,"+p+","+w+" A"+a+","+a+",0,0,0,"+(Math.sin((h+20)*s)*t+l)+","+(Math.cos((h+20)*s)*t+c),t+=" A"+a+","+a+",0,0,0,"+v+","+y,n.path(t,void 0,void 0,"1000,1000").attr(i)};n.wedge=function(t,i,r,u,f,e,o,s,h,c,l,a,v,y){var p=Math.round,st,ut,ct,ht,lt;e=p(e);o=p(o);s=p(s);var k=p(o/e*s),et=n.VML,b=359.5+e/100;359.94<b&&(b=359.94);f>=b&&(f=b);var w=1/180*Math.PI,b=i+Math.sin(u*w)*s,d=r-Math.cos(u*w)*k,g=i+Math.sin(u*w)*e,nt=r-Math.cos(u*w)*o,tt=i+Math.sin((u+f)*w)*e,it=r-Math.cos((u+f)*w)*o,rt=i+Math.sin((u+f)*w)*s,w=r-Math.cos((u+f)*w)*k,ft={fill:n.adjustLuminosity(c.fill,-.2),"stroke-opacity":0,"fill-opacity":c["fill-opacity"]},ot=0;if(180<Math.abs(f)&&(ot=1),u=t.set(),et&&(b=p(10*b),g=p(10*g),tt=p(10*tt),rt=p(10*rt),d=p(10*d),nt=p(10*nt),it=p(10*it),w=p(10*w),i=p(10*i),h=p(10*h),r=p(10*r),e*=10,o*=10,s*=10,k*=10,1>Math.abs(f)&&1>=Math.abs(tt-g)&&1>=Math.abs(it-nt)&&(st=!0)),f="",a&&(ft["fill-opacity"]=0,ft["stroke-opacity"]=c["stroke-opacity"]/2,ft.stroke=c.stroke),0<h){for(ut=" M"+b+","+(d+h)+" L"+g+","+(nt+h),et?(st||(ut+=" A"+(i-e)+","+(h+r-o)+","+(i+e)+","+(h+r+o)+","+g+","+(nt+h)+","+tt+","+(it+h)),ut+=" L"+rt+","+(w+h),0<s&&(st||(ut+=" B"+(i-s)+","+(h+r-k)+","+(i+s)+","+(h+r+k)+","+rt+","+(h+w)+","+b+","+(h+d)))):(ut+=" A"+e+","+o+",0,"+ot+",1,"+tt+","+(it+h)+" L"+rt+","+(w+h),0<s&&(ut+=" A"+s+","+k+",0,"+ot+",0,"+b+","+(d+h))),ut+=" Z",ct=h,et&&(ct/=10),ht=0;ht<ct;ht+=10)lt=t.path(ut,void 0,void 0,"1000,1000").attr(ft),u.push(lt),lt.translate(0,-ht);ut=t.path(" M"+b+","+d+" L"+b+","+(d+h)+" L"+g+","+(nt+h)+" L"+g+","+nt+" L"+b+","+d+" Z",void 0,void 0,"1000,1000").attr(ft);h=t.path(" M"+tt+","+it+" L"+tt+","+(it+h)+" L"+rt+","+(w+h)+" L"+rt+","+w+" L"+tt+","+it+" Z",void 0,void 0,"1000,1000").attr(ft);u.push(ut);u.push(h)}if(et?(st||(f=" A"+p(i-e)+","+p(r-o)+","+p(i+e)+","+p(r+o)+","+p(g)+","+p(nt)+","+p(tt)+","+p(it)),o=" M"+p(b)+","+p(d)+" L"+p(g)+","+p(nt)+f+" L"+p(rt)+","+p(w)):o=" M"+b+","+d+" L"+g+","+nt+" A"+e+","+o+",0,"+ot+",1,"+tt+","+it+" L"+rt+","+w,0<s&&(et?st||(o+=" B"+(i-s)+","+(r-k)+","+(i+s)+","+(r+k)+","+rt+","+w+","+b+","+d):o+=" A"+s+","+k+",0,"+ot+",0,"+b+","+d),t.handDrawn&&(s=n.line(t,[b,g],[d,nt],c.stroke,c.thickness*Math.random()*t.handDrawThickness,c["stroke-opacity"]),u.push(s)),t=t.path(o+" Z",void 0,void 0,"1000,1000").attr(c),l){for(s=[],k=0;k<l.length;k++)s.push(n.adjustLuminosity(c.fill,l[k]));"radial"!=y||n.isModern||(s=[]);0<s.length&&t.gradient(y+"Gradient",s)}return n.isModern&&"radial"==y&&t.grad&&(t.grad.setAttribute("gradientUnits","userSpaceOnUse"),t.grad.setAttribute("r",e),t.grad.setAttribute("cx",i),t.grad.setAttribute("cy",r)),t.pattern(a,NaN,v),u.wedge=t,u.push(t),u};n.rgb2hex=function(n){return(n=n.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===n.length?"#"+("0"+parseInt(n[1],10).toString(16)).slice(-2)+("0"+parseInt(n[2],10).toString(16)).slice(-2)+("0"+parseInt(n[3],10).toString(16)).slice(-2):""};n.adjustLuminosity=function(t,i){t&&-1!=t.indexOf("rgb")&&(t=n.rgb2hex(t));t=String(t).replace(/[^0-9a-f]/gi,"");6>t.length&&(t=String(t[0])+String(t[0])+String(t[1])+String(t[1])+String(t[2])+String(t[2]));i=i||0;for(var r,f="#",u=0;3>u;u++)r=parseInt(t.substr(2*u,2),16),r=Math.round(Math.min(Math.max(0,r+r*i),255)).toString(16),f+=("00"+r).substr(r.length);return f}}(),function(){var n=window.AmCharts;n.AmLegend=n.Class({construct:function(t){this.enabled=!0;this.cname="AmLegend";this.createEvents("rollOverMarker","rollOverItem","rollOutMarker","rollOutItem","showItem","hideItem","clickMarker","clickLabel");this.position="bottom";this.borderColor=this.color="#000000";this.borderAlpha=0;this.markerLabelGap=5;this.verticalGap=10;this.align="left";this.horizontalGap=0;this.spacing=10;this.markerDisabledColor="#AAB3B3";this.markerType="square";this.markerSize=16;this.markerBorderThickness=this.markerBorderAlpha=1;this.marginBottom=this.marginTop=0;this.marginLeft=this.marginRight=20;this.autoMargins=!0;this.valueWidth=50;this.switchable=!0;this.switchType="x";this.switchColor="#FFFFFF";this.rollOverColor="#CC0000";this.reversedOrder=!1;this.labelText="[[title]]";this.valueText="[[value]]";this.accessibleLabel="[[title]]";this.useMarkerColorForLabels=!1;this.rollOverGraphAlpha=1;this.textClickEnabled=!1;this.equalWidths=!0;this.backgroundColor="#FFFFFF";this.backgroundAlpha=0;this.useGraphSettings=!1;this.showEntries=!0;this.labelDx=0;n.applyTheme(this,t,this.cname)},setData:function(n){this.legendData=n;this.invalidateSize()},invalidateSize:function(){this.destroy();this.entries=[];this.valueLabels=[];var t=this.legendData;this.enabled&&(n.ifArray(t)||n.ifArray(this.data))&&this.drawLegend()},drawLegend:function(){var t=this.chart,r=this.position,u=this.width,s=t.divRealWidth,i=t.divRealHeight,f=this.div,e=this.legendData,o;if((this.data&&(e=this.combineLegend?this.legendData.concat(this.data):this.data),isNaN(this.fontSize)&&(this.fontSize=t.fontSize),this.maxColumnsReal=this.maxColumns,"right"==r||"left"==r)?(this.maxColumnsReal=1,this.autoMargins&&(this.marginLeft=this.marginRight=10)):this.autoMargins&&(this.marginRight=t.marginRight,this.marginLeft=t.marginLeft,o=t.autoMarginOffset,"bottom"==r?(this.marginBottom=o,this.marginTop=0):(this.marginTop=o,this.marginBottom=0)),u=void 0!==u?n.toCoordinate(u,s):"right"!=r&&"left"!=r?t.realWidth:0<this.ieW?this.ieW:t.realWidth,"outside"==r?(u=f.offsetWidth,i=f.offsetHeight,f.clientHeight&&(u=f.clientWidth,i=f.clientHeight)):(isNaN(u)||(f.style.width=u+"px"),f.className="amChartsLegend "+t.classNamePrefix+"-legend-div"),this.divWidth=u,(r=this.container)?(r.container.innerHTML="",f.appendChild(r.container),r.width=u,r.height=i,r.setSize(u,i),r.addDefs(t)):r=new n.AmDraw(f,u,i,t),this.container=r,this.lx=0,this.ly=8,i=this.markerSize,i>this.fontSize&&(this.ly=i/2-1),0<i&&(this.lx+=i+this.markerLabelGap),this.titleWidth=0,(i=this.title)&&(i=n.text(this.container,i,this.color,t.fontFamily,this.fontSize,"start",!0),n.setCN(t,i,"legend-title"),i.translate(this.marginLeft,this.marginTop+this.verticalGap+this.ly+1),t=i.getBBox(),this.titleWidth=t.width+15,this.titleHeight=t.height+6),this.index=this.maxLabelWidth=0,this.showEntries){for(t=0;t<e.length;t++)this.createEntry(e[t]);for(t=this.index=0;t<e.length;t++)this.createValue(e[t])}this.arrangeEntries();this.updateValues()},arrangeEntries:function(){var f=this.position,e=this.marginLeft+this.titleWidth,c=this.marginRight,o=this.marginTop,ut=this.marginBottom,s=this.horizontalGap,tt=this.div,y=this.divWidth,h=this.maxColumnsReal,nt=this.verticalGap,i=this.spacing,ft=y-c-e,it=0,p=0,rt=this.container,w,b,t,r,l,u,g,v;for(this.set&&this.set.remove(),w=rt.set(),this.set=w,b=rt.set(),w.push(b),l=this.entries,r=0;r<l.length;r++)t=l[r].getBBox(),u=t.width,u>it&&(it=u),t=t.height,t>p&&(p=t);var u=p=0,k=s,d=0,a=0;for(r=0;r<l.length;r++)g=l[r],this.reversedOrder&&(g=l[l.length-r-1]),t=g.getBBox(),this.equalWidths?v=u*(it+i+this.markerLabelGap):(v=k,k=k+t.width+s+i),v+t.width>ft&&0<r&&0!==u&&(p++,v=u=0,k=v+t.width+s+i,d=d+a+nt,a=0),t.height>a&&(a=t.height),g.translate(v,d),u++,!isNaN(h)&&u>=h&&(u=0,p++,d=d+a+nt,k=s,a=0),b.push(g);t=b.getBBox();h=t.height+2*nt-1;"left"==f||"right"==f?(i=t.width+2*s,y=i+e+c,tt.style.width=y+"px",this.ieW=y):i=y-e-c-1;c=n.polygon(this.container,[0,i,i,0],[0,0,h,h],this.backgroundColor,this.backgroundAlpha,1,this.borderColor,this.borderAlpha);n.setCN(this.chart,c,"legend-bg");w.push(c);w.translate(e,o);c.toBack();e=s;"top"!=f&&"bottom"!=f&&"absolute"!=f&&"outside"!=f||("center"==this.align?e=s+(i-t.width)/2:"right"==this.align&&(e=s+i-t.width));b.translate(e,nt+1);this.titleHeight>h&&(h=this.titleHeight);o=h+o+ut+1;0>o&&(o=0);"absolute"!=f&&"outside"!=f&&o>this.chart.divRealHeight&&(tt.style.top="0px");tt.style.height=Math.round(o)+"px";rt.setSize(this.divWidth,o)},createEntry:function(t){var f,b,s,u,l,y,d,h,a;if(!1!==t.visibleInLegend&&!t.hideFromLegend){var i=this,e=i.chart,v=i.useGraphSettings,p=t.markerType;p&&(v=!1);t.legendEntryWidth=i.markerSize;p||(p=i.markerType);f=t.color;b=t.alpha;t.legendKeyColor&&(f=t.legendKeyColor());t.legendKeyAlpha&&(b=t.legendKeyAlpha());!0===t.hidden&&(s=f=i.markerDisabledColor);l=t.pattern;y=t.customMarker;y||(y=i.customMarker);var o=i.container,r=i.markerSize,c=0,k=0,w=r/2;v?(v=t.type,i.switchType=void 0,"line"==v||"step"==v||"smoothedLine"==v||"ohlc"==v?(u=o.set(),t.hidden||(f=t.lineColorR,s=t.bulletBorderColorR),c=n.line(o,[0,2*r],[r/2,r/2],f,t.lineAlpha,t.lineThickness,t.dashLength),n.setCN(e,c,"graph-stroke"),u.push(c),t.bullet&&(t.hidden||(f=t.bulletColorR),c=n.bullet(o,t.bullet,t.bulletSize,f,t.bulletAlpha,t.bulletBorderThickness,s,t.bulletBorderAlpha))&&(n.setCN(e,c,"graph-bullet"),c.translate(r+1,r/2),u.push(c)),w=0,c=r,k=r/3):(t.getGradRotation&&0===(u=t.getGradRotation())&&(u=180),c=t.fillColorsR,!0===t.hidden&&(c=f),(u=i.createMarker("rectangle",c,t.fillAlphas,t.lineThickness,f,t.lineAlpha,u,l,t.dashLength))&&(w=r,u.translate(w,r/2)),c=r),n.setCN(e,u,"graph-"+v),n.setCN(e,u,"graph-"+t.id)):y?u=o.image(y,0,0,r,r):(isNaN(i.gradientRotation)||(d=180+i.gradientRotation),(u=i.createMarker(p,f,b,void 0,void 0,void 0,d,l))&&u.translate(r/2,r/2));n.setCN(e,u,"legend-marker");i.addListeners(u,t);o=o.set([u]);i.switchable&&t.switchable&&o.setAttr("cursor","pointer");void 0!==t.id&&n.setCN(e,o,"legend-item-"+t.id);n.setCN(e,o,t.className,!0);s=i.switchType;s&&"none"!=s&&0<r&&("x"==s?(h=i.createX(),h.translate(r/2,r/2)):h=i.createV(),h.dItem=t,!0!==t.hidden?"x"==s?h.hide():h.show():"x"!=s&&h.hide(),i.switchable||h.hide(),i.addListeners(h,t),t.legendSwitch=h,o.push(h),n.setCN(e,h,"legend-switch"));s=i.color;t.showBalloon&&i.textClickEnabled&&void 0!==i.selectedColor&&(s=i.selectedColor);i.useMarkerColorForLabels&&!l&&(s=f);!0===t.hidden&&(s=i.markerDisabledColor);f=n.massReplace(i.labelText,{"[[title]]":t.title});void 0!==i.tabIndex&&(o.setAttr("tabindex",i.tabIndex),o.setAttr("role","menuitem"),o.keyup(function(n){13==n.keyCode&&i.clickMarker(t,n)}));e.accessible&&i.accessibleLabel&&(l=n.massReplace(i.accessibleLabel,{"[[title]]":t.title}),e.makeAccessible(o,l));l=i.fontSize;u&&(r<=l&&(r=r/2+i.ly-l/2+(l+2-r)/2-k,u.translate(w,r),h&&h.translate(h.x,r)),t.legendEntryWidth=u.getBBox().width);f&&(f=n.fixBrakes(f),t.legendTextReal=f,a=i.labelWidth,a=isNaN(a)?n.text(i.container,f,s,e.fontFamily,l,"start"):n.wrappedText(i.container,f,s,e.fontFamily,l,"start",!1,a,0),n.setCN(e,a,"legend-label"),a.translate(i.lx+c,i.ly),o.push(a),i.labelDx=c,e=a.getBBox().width,i.maxLabelWidth<e&&(i.maxLabelWidth=e));i.entries[i.index]=o;t.legendEntry=i.entries[i.index];t.legendMarker=u;t.legendLabel=a;i.index++}},addListeners:function(n,t){var i=this;n&&n.mouseover(function(n){i.rollOverMarker(t,n)}).mouseout(function(n){i.rollOutMarker(t,n)}).click(function(n){i.clickMarker(t,n)})},rollOverMarker:function(n,t){this.switchable&&this.dispatch("rollOverMarker",n,t);this.dispatch("rollOverItem",n,t)},rollOutMarker:function(n,t){this.switchable&&this.dispatch("rollOutMarker",n,t);this.dispatch("rollOutItem",n,t)},clickMarker:function(n,t){this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t));this.dispatch("clickMarker",n,t)},rollOverLabel:function(n,t){n.hidden||this.textClickEnabled&&n.legendLabel&&n.legendLabel.attr({fill:this.rollOverColor});this.dispatch("rollOverItem",n,t)},rollOutLabel:function(n,t){if(!n.hidden&&this.textClickEnabled&&n.legendLabel){var i=this.color;void 0!==this.selectedColor&&n.showBalloon&&(i=this.selectedColor);this.useMarkerColorForLabels&&void 0===(i=n.lineColor)&&(i=n.color);n.legendLabel.attr({fill:i})}this.dispatch("rollOutItem",n,t)},clickLabel:function(n,t){this.textClickEnabled?n.hidden||this.dispatch("clickLabel",n,t):this.switchable&&(!0===n.hidden?this.dispatch("showItem",n,t):this.dispatch("hideItem",n,t))},dispatch:function(n,t,i){n={type:n,dataItem:t,target:this,event:i,chart:this.chart};this.chart&&this.chart.handleLegendEvent(n);this.fire(n)},createValue:function(t){var i=this,r=i.fontSize,o=i.chart,u,f,s;if(!1!==t.visibleInLegend&&!t.hideFromLegend){u=i.maxLabelWidth;f=0;i.forceWidth&&(u=i.labelWidth);i.equalWidths||(i.valueAlign="left");f={x:0,y:0,width:0,height:0};t.legendLabel&&(f=t.legendLabel.getBBox());"left"==i.valueAlign&&(u=f.width);var f=f.height,h=u,e=i.markerSize;if(e<r+7&&(e=r+7,n.VML&&(e+=3)),i.valueText&&0<i.valueWidth){s=i.color;i.useMarkerColorForValues&&(s=t.color,t.legendKeyColor&&(s=t.legendKeyColor()));!0===t.hidden&&(s=i.markerDisabledColor);var l=i.valueText,u=u+i.lx+i.labelDx+i.markerLabelGap+i.valueWidth,c="end";"left"==i.valueAlign&&(u-=i.valueWidth,c="start");r=n.text(i.container,l,s,i.chart.fontFamily,r,c);n.setCN(o,r,"legend-value");r.translate(u,i.ly);i.entries[i.index].push(r);h+=i.valueWidth+2*i.markerLabelGap;r.dItem=t;i.valueLabels.push(r);e<f+5&&(e=f+5)}i.index++;o=i.container.rect(t.legendEntryWidth,0,h,e,0,0).attr({stroke:"none",fill:"#fff","fill-opacity":.005});o.dItem=t;i.entries[i.index-1].push(o);o.mouseover(function(n){i.rollOverLabel(t,n)}).mouseout(function(n){i.rollOutLabel(t,n)}).click(function(n){i.clickLabel(t,n)})}},createV:function(){var t=this.markerSize;return n.polygon(this.container,[t/5,t/2,t-t/5,t/2],[t/3,t-t/5,t/5,t/1.7],this.switchColor)},createX:function(){var t=(this.markerSize-4)/2,i={stroke:this.switchColor,"stroke-width":3},r=this.container,u=n.line(r,[-t,t],[-t,t]).attr(i),t=n.line(r,[-t,t],[t,-t]).attr(i);return this.container.set([u,t])},createMarker:function(t,i,r,u,f,e,o,s,h){var c=this.markerSize,l=this.container;return f||(f=this.markerBorderColor),f||(f=i),isNaN(u)&&(u=this.markerBorderThickness),isNaN(e)&&(e=this.markerBorderAlpha),n.bullet(l,t,c,i,r,u,f,e,c,o,s,this.chart.path,h)},validateNow:function(){this.invalidateSize()},updateValues:function(){var s,h=this.valueLabels,o=this.chart,l=this.data,i,t,r,f,u,c,e;if(h)for(s=0;s<h.length;s++)i=h[s],t=i.dItem,t.periodDataItem=void 0,t.periodPercentDataItem=void 0,r=" ",l?t.value?i.text(t.value):i.text(""):(f=null,void 0!==t.type?(f=t.currentDataItem,u=this.periodValueText,t.legendPeriodValueText&&(u=t.legendPeriodValueText),t.legendPeriodValueTextR&&(u=t.legendPeriodValueTextR),f?(r=this.valueText,t.legendValueText&&(r=t.legendValueText),t.legendValueTextR&&(r=t.legendValueTextR),r=o.formatString(r,f)):u&&o.formatPeriodString&&(u=n.massReplace(u,{"[[title]]":t.title}),r=o.formatPeriodString(u,t))):r=o.formatString(this.valueText,t),u=t,f&&(u=f),c=this.valueFunction,c&&(r=c(u,r,o.periodDataItem)),this.useMarkerColorForLabels&&!f&&t.lastDataItem&&(f=t.lastDataItem),f?e=o.getBalloonColor(t,f):t.legendKeyColor&&(e=t.legendKeyColor()),t.legendColorFunction&&(e=t.legendColorFunction(u,r,t.periodDataItem,t.periodPercentDataItem)),i.text(r),!t.pattern&&(this.useMarkerColorForValues&&i.setAttr("fill",e),this.useMarkerColorForLabels)&&((i=t.legendMarker)&&(i.setAttr("fill",e),i.setAttr("stroke",e)),(i=t.legendLabel)&&(t.hidden?i.setAttr("fill",this.markerDisabledColor):i.setAttr("fill",e))))},renderFix:function(){if(!n.VML&&this.enabled){var t=this.container;t&&t.renderFix()}},destroy:function(){this.div.innerHTML="";n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.AmMap=n.Class({inherits:n.AmChart,construct:function(t){this.cname="AmMap";this.type="map";this.theme=t;this.svgNotSupported="This browser doesn't support SVG. Use Chrome, Firefox, Internet Explorer 9 or later.";this.createEvents("rollOverMapObject","rollOutMapObject","clickMapObject","mouseDownMapObject","selectedObjectChanged","homeButtonClicked","zoomCompleted","dragCompleted","positionChanged","writeDevInfo","click","descriptionClosed");this.zoomDuration=.6;this.zoomControl=new n.ZoomControl(t);this.fitMapToContainer=!0;this.mouseWheelZoomEnabled=this.backgroundZoomsToTop=!1;this.allowClickOnSelectedObject=this.useHandCursorOnClickableOjects=this.showBalloonOnSelectedObject=!0;this.showObjectsAfterZoom=this.wheelBusy=!1;this.zoomOnDoubleClick=this.useObjectColorForBalloon=!0;this.allowMultipleDescriptionWindows=!1;this.dragMap=this.centerMap=this.linesAboveImages=!0;this.colorSteps=5;this.forceNormalize=!1;this.showAreasInList=!0;this.showLinesInList=this.showImagesInList=!1;this.areasProcessor=new n.AreasProcessor(this);this.areasSettings=new n.AreasSettings(t);this.imagesProcessor=new n.ImagesProcessor(this);this.imagesSettings=new n.ImagesSettings(t);this.linesProcessor=new n.LinesProcessor(this);this.linesSettings=new n.LinesSettings(t);this.initialTouchZoom=1;this.showDescriptionOnHover=!1;n.AmMap.base.construct.call(this,t);this.creditsPosition="bottom-left";this.product="ammap";this.areasClasses={};this.updatableImages=[];n.applyTheme(this,t,this.cname)},initChart:function(){var t,i;this.zoomInstantly=!0;t=this.container;(this.panRequired=!0,this.sizeChanged&&n.hasSVG&&this.chartCreated)?(this.updatableImages=[],this.freeLabelsSet&&this.freeLabelsSet.remove(),this.freeLabelsSet=t.set(),this.container.setSize(this.realWidth,this.realHeight),this.resizeMap(),this.drawBackground(),this.redrawLabels(),this.drawTitles(),this.processObjects(!0),this.rescaleObjects(),this.zoomControl.init(this,t),this.drawBg(),i=this.smallMap,i&&i.init(this,t),(i=this.valueLegend)&&i.init(this,t),this.sizeChanged=!1,this.zoomToLongLat(this.zLevelTemp,this.zLongTemp,this.zLatTemp,!0),this.previousWidth=this.realWidth,this.previousHeight=this.realHeight,this.updateSmallMap(),this.linkSet.toFront(),this.zoomControl.update&&this.zoomControl.update()):(n.AmMap.base.initChart.call(this),n.hasSVG?(this.dataChanged&&(this.parseData(),this.dispatchDataUpdated=!0,this.dataChanged=!1,t=this.legend)&&(t.position="absolute",t.invalidateSize()),this.createDescriptionsDiv(),this.svgAreas=[],this.svgAreasById={},this.drawChart()):(this.chartDiv.style.textAlign="",this.chartDiv.setAttribute("class","ammapAlert"),this.chartDiv.innerHTML=this.svgNotSupported,this.fire({type:"failed",chart:this})))},storeTemp:function(){if(n.hasSVG&&0<this.realWidth&&0<this.realHeight){var t=this.mapContainer.getBBox();0<t.width&&0<t.height&&(t=this.zoomLongitude(),isNaN(t)||(this.zLongTemp=t),t=this.zoomLatitude(),isNaN(t)||(this.zLatTemp=t),t=this.zoomLevel(),isNaN(t)||(this.zLevelTemp=t))}},invalidateSize:function(){this.storeTemp();n.AmMap.base.invalidateSize.call(this)},validateSize:function(){this.storeTemp();n.AmMap.base.validateSize.call(this)},handleWheelReal:function(t){if(!this.wheelBusy){this.stopAnimation();var r=this.zoomLevel(),u=this.zoomControl,i=u.zoomFactor;this.wheelBusy=!0;t=n.fitToBounds(0<t?r*i:r/i,u.minZoomLevel,u.maxZoomLevel);i=this.mouseX/this.mapWidth;u=this.mouseY/this.mapHeight;i=(this.zoomX()-i)*(t/r)+i;r=(this.zoomY()-u)*(t/r)+u;this.zoomTo(t,i,r)}},addLegend:function(t,i){return t.position="absolute",t.autoMargins=!1,t.valueWidth=0,t.switchable=!1,n.AmMap.base.addLegend.call(this,t,i),void 0===t.enabled&&(t.enabled=!0),t},handleLegendEvent:function(){},createDescriptionsDiv:function(){if(!this.descriptionsDiv){var t=document.createElement("div"),n=t.style;n.position="absolute";n.left="0px";n.top="0px";this.descriptionsDiv=t}this.containerDiv.appendChild(this.descriptionsDiv)},drawChart:function(){var t,r,i;n.AmMap.base.drawChart.call(this);t=this.dataProvider;this.dataProvider=t=n.extend(t,new n.MapData,!0);this.areasSettings=n.processObject(this.areasSettings,n.AreasSettings,this.theme);this.imagesSettings=n.processObject(this.imagesSettings,n.ImagesSettings,this.theme);this.linesSettings=n.processObject(this.linesSettings,n.LinesSettings,this.theme);r=this.container;this.mapContainer&&this.mapContainer.remove();this.mapContainer=r.set();this.graphsSet.push(this.mapContainer);t.map&&(i=n.maps[t.map]);t.mapVar&&(i=t.mapVar);i?(this.svgData=i.svg,this.getBounds(),this.buildEverything()):(t=t.mapURL)&&this.loadXml(t);this.balloonsSet.toFront()},drawBg:function(){var n=this;n.background.click(function(){n.handleBackgroundClick()});n.background.mouseover(function(){n.rollOutMapObject(n.previouslyHovered)})},buildEverything:function(){var r,t,i;0<this.realWidth&&0<this.realHeight?(r=this.container,t=this.dataProvider,isNaN(t.zoomLevel)||(this.mapContainer.scale=t.zoomLevel),this.projection||(this.projection=t.projection,this.projection||(this.projection="equirectangular")),this.updatableImages=[],i=this.projection,i&&(this.projectionFunction=n[i]),this.projectionFunction||(this.projectionFunction=n.equirectangular),this.dpProjectionFunction=n[t.projection],this.dpProjectionFunction||(this.dpProjectionFunction=n.equirectangular),this.zoomControl=n.processObject(this.zoomControl,n.ZoomControl,this.theme),this.zoomControl.init(this,r),this.drawBg(),this.buildSVGMap(),this.projectionFunction&&i!=t.projection||this.forceNormalize?(this.normalizeMap(),this.changeProjection()):this.fixMapPosition(),(i=this.smallMap)&&(i=n.processObject(i,n.SmallMap,this.theme),i.init(this,r),this.smallMap=i),isNaN(t.zoomX)&&isNaN(t.zoomY)&&isNaN(t.zoomLatitude)&&isNaN(t.zoomLongitude)&&(this.centerMap?(i=this.xyToCoordinates(this.mapWidth/2,this.mapHeight/2),t.zoomLongitudeC=i.longitude,t.zoomLatitudeC=i.latitude):(t.zoomX=0,t.zoomY=0),this.zoomInstantly=!0),this.selectObject(this.dataProvider),this.processAreas(),(t=this.valueLegend)&&(this.valueLegend=t=n.processObject(t,n.ValueLegend,this.theme),t.init(this,r)),this.objectList&&(r=this.objectList=n.processObject(this.objectList,n.ObjectList))&&(this.clearObjectList(),r.init(this)),this.dispDUpd(),this.updateSmallMap(),this.linkSet.toFront()):this.cleanChart()},hideGroup:function(n){this.showHideGroup(n,!1)},showGroup:function(n){this.showHideGroup(n,!0)},showHideGroup:function(n,t){this.showHideReal(this.imagesProcessor.allObjects,n,t);this.showHideReal(this.areasProcessor.allObjects,n,t);this.showHideReal(this.linesProcessor.allObjects,n,t)},showHideReal:function(n,t,i){for(var r,f,u=0;u<n.length;u++)r=n[u],r.groupId==t&&(f=r.displayObject,f&&(i?(r.hidden=!1,f.show()):(r.hidden=!0,f.hide())))},makeObjectAccessible:function(n){if(n.accessibleLabel){var t=this.formatString(n.accessibleLabel,n);n.displayObject&&this.makeAccessible(n.displayObject,t,"menuitem")}},update:function(){if(n.hasSVG){n.AmMap.base.update.call(this);this.zoomControl&&this.zoomControl.update&&this.zoomControl.update();for(var t=0,i=this.updatableImages.length;t<i;t++)this.updatableImages[t].update()}},animateMap:function(){var t=this;t.totalFrames=t.zoomDuration*n.updateRate;t.totalFrames+=1;t.frame=0;t.tweenPercent=0;t.balloon.hide(0);setTimeout(function(){t.updateSize.call(t)},1e3/n.updateRate)},updateSize:function(){var t=this,i=t.totalFrames;t.preventHover=!0;t.frame<=i?(t.frame++,i=n.easeOutSine(0,t.frame,0,1,i),1<=i?(i=1,t.preventHover=!1,t.wheelBusy=!1):window.requestAnimationFrame?window.requestAnimationFrame(function(){t.updateSize.call(t)}):setTimeout(function(){t.updateSize.call(t)},1e3/n.updateRate),.8<i&&(t.preventHover=!1)):(i=1,t.preventHover=!1,t.wheelBusy=!1);t.tweenPercent=i;t.rescaleMapAndObjects()},rescaleMapAndObjects:function(){var r=this.initialScale,n=this.initialX,i=this.initialY,u=this.tweenPercent,r=r+(this.finalScale-r)*u,t,f;if(this.mapContainer.translate(n+(this.finalX-n)*u,i+(this.finalY-i)*u,r,!0),this.areasSettings.adjustOutlineThickness){for(n=this.svgAreas,t=0;t<n.length;t++)(i=n[t])&&i.setAttr("stroke-width",this.areasSettings.outlineThickness/r/this.mapScale);if(n=this.dataProvider.areas)for(t=0;t<n.length;t++)i=n[t],f=i.displayObject,f&&f.setAttr("stroke-width",i.outlineThicknessReal/r/this.mapScale)}this.rescaleObjects();this.positionChanged();this.updateSmallMap();1==u&&this.fire({type:"zoomCompleted",chart:this})},updateSmallMap:function(){this.smallMap&&this.smallMap.update()},rescaleObjects:function(){for(var f=this.mapContainer.scale,i=this.imagesProcessor.objectsToResize,n=0;n<i.length;n++){var t=i[n].image,r=i[n].scale,u=i[n].mapImage;isNaN(u.selectedScaleReal)||u!=this.selectedObject||(u.tempScale=r,r*=u.selectedScaleReal);t.translate(t.x,t.y,r/f,!0)}for(i=this.imagesProcessor.labelsToReposition,n=0;n<i.length;n++)t=i[n],t.imageLabel&&this.imagesProcessor.positionLabel(t.imageLabel,t,t.labelPositionReal);if(i=this.linesProcessor,t=i.linesToResize)for(n=0;n<t.length;n++)r=t[n],r.line.setAttr("stroke-width",r.thickness/f);for(i=i.objectsToResize,n=0;n<i.length;n++)t=i[n],t.translate(t.x,t.y,1/f,!0)},handleTouchEnd:function(t){this.initialDistance=NaN;this.mouseIsDown=this.isDragging=!1;n.AmMap.base.handleTouchEnd.call(this,t)},handleMouseDown:function(t){if(n.resetMouseOver(),this.mouseIsDown=this.mouseIsOver=!0,this.balloon.hide(0),t&&this.mouseIsOver&&t.preventDefault&&this.panEventsEnabled&&t.preventDefault(),this.chartCreated&&!this.preventHover&&(this.initialTouchZoom=this.zoomLevel(),this.dragMap&&(this.stopAnimation(),this.mapContainerClickX=this.mapContainer.x,this.mapContainerClickY=this.mapContainer.y),t||(t=window.event),t.shiftKey&&!0===this.developerMode&&this.getDevInfo(),t&&t.touches)){var r=this.mouseX,u=this.mouseY,i=t.touches.item(1);i&&this.panEventsEnabled&&this.boundingRect&&(t=i.clientX-this.boundingRect.left,i=i.clientY-this.boundingRect.top,this.middleXP=(r+(t-r)/2)/this.realWidth,this.middleYP=(u+(i-u)/2)/this.realHeight,this.initialDistance=Math.sqrt(Math.pow(t-r,2)+Math.pow(i-u,2)))}},stopDrag:function(){this.isDragging=!1},handleReleaseOutside:function(){var t,i;if(n.isModern){if(t=this,n.AmMap.base.handleReleaseOutside.call(t),t.mouseIsDown=!1,setTimeout(function(){t.resetPinch.call(t)},100),!t.preventHover){t.stopDrag();i=t.zoomControl;i&&i.draggerUp&&i.draggerUp();t.mapWasDragged=!1;var i=t.mapContainer,r=t.mapContainerClickX,u=t.mapContainerClickY;!isNaN(r)&&!isNaN(u)&&(3<Math.abs(i.x-r)||3<Math.abs(i.y-u))&&(t.mapWasDragged=!0,i={type:"dragCompleted",zoomX:t.zoomX(),zoomY:t.zoomY(),zoomLevel:t.zoomLevel(),chart:t},t.fire(i));(t.mouseIsOver&&!t.mapWasDragged&&!t.skipClick||t.wasTouched&&3>Math.abs(t.mouseX-t.tmx)&&3>Math.abs(t.mouseY-t.tmy))&&t.fire({type:"click",x:t.mouseX,y:t.mouseY,chart:t});t.mapContainerClickX=NaN;t.mapContainerClickY=NaN;t.objectWasClicked=!1;t.zoomOnDoubleClick&&t.mouseIsOver&&(i=(new Date).getTime(),200>i-t.previousClickTime&&40<i-t.previousClickTime&&t.doDoubleClickZoom(),t.previousClickTime=i)}t.wasTouched=!1}},resetPinch:function(){this.mapWasPinched=!1},handleMouseMove:function(t){var i=this,r,o,v,e;if(n.AmMap.base.handleMouseMove.call(i,t),!t||!t.touches||!i.tapToActivate||i.tapped){i.panEventsEnabled&&i.mouseIsOver&&t&&t.preventDefault&&t.preventDefault();var u=i.previuosMouseX,f=i.previuosMouseY,s=i.mouseX,h=i.mouseY,c=i.zoomControl;if(isNaN(u)&&(u=s),isNaN(f)&&(f=h),i.mouse2X=NaN,i.mouse2Y=NaN,t&&t.touches&&(t=t.touches.item(1))&&i.panEventsEnabled&&i.boundingRect&&(i.mouse2X=t.clientX-i.boundingRect.left,i.mouse2Y=t.clientY-i.boundingRect.top),t=i.mapContainer){r=i.mouse2X;o=i.mouse2Y;i.pinchTO&&clearTimeout(i.pinchTO);i.pinchTO=setTimeout(function(){i.resetPinch.call(i)},1e3);var l=i.realHeight,y=i.realWidth,p=i.mapWidth,a=i.mapHeight;if((i.mouseIsDown&&i.dragMap&&(3<Math.abs(i.previuosMouseX-i.mouseX)||3<Math.abs(i.previuosMouseY-i.mouseY))&&(i.isDragging=!0),!isNaN(r))&&(i.stopDrag(),v=Math.sqrt(Math.pow(r-s,2)+Math.pow(o-h,2)),e=i.initialDistance,isNaN(e)&&(e=Math.sqrt(Math.pow(r-s,2)+Math.pow(o-h,2))),!isNaN(e))){var r=i.initialTouchZoom*v/e,r=n.fitToBounds(r,c.minZoomLevel,c.maxZoomLevel),c=i.zoomLevel(),e=i.middleXP,o=i.middleYP,v=l/a,w=y/p,e=(i.zoomX()-e*w)*(r/c)+e*w,o=(i.zoomY()-o*v)*(r/c)+o*v;.1<Math.abs(r-c)&&(i.zoomTo(r,e,o,!0),i.mapWasPinched=!0,clearTimeout(i.pinchTO))}r=t.scale;i.isDragging&&(i.balloon.hide(0),i.positionChanged(),u=t.x+(s-u),f=t.y+(h-f),i.preventDragOut&&(a=-a*r+l/2-i.diffY*i.mapScale*r,l=l/2-i.diffY*i.mapScale*r,u=n.fitToBounds(u,-p*r+y/2,y/2),f=n.fitToBounds(f,a,l)),isNaN(u)||isNaN(f)||(t.translate(u,f,r,!0),i.updateSmallMap()));i.previuosMouseX=s;i.previuosMouseY=h}}},selectObject:function(t,i){var u=this,l,h,c,e,r,f,s,o,a;if(t||(t=u.dataProvider),t.isOver=!1,r=t.linkToObject,n.isString(r)&&(r=u.getObjectById(r)),t.useTargetsZoomValues&&r&&(t.zoomX=r.zoomX,t.zoomY=r.zoomY,t.zoomLatitude=r.zoomLatitude,t.zoomLongitude=r.zoomLongitude,t.zoomLevel=r.zoomLevel),l=u.selectedObject,l&&u.returnInitialColor(l),u.selectedObject=t,e=!1,"MapArea"==t.objectType&&(t.autoZoomReal&&(e=!0),h=u.areasSettings.selectedOutlineColor,c=u.areasSettings.selectedOutlineThickness),r&&!e&&(n.isString(r)&&(r=u.getObjectById(r)),isNaN(t.zoomLevel)&&isNaN(t.zoomX)&&isNaN(t.zoomY)))return u.extendMapData(r)?void 0:void u.selectObject(r);if((u.allowMultipleDescriptionWindows||u.closeAllDescriptions(),clearTimeout(u.selectedObjectTimeOut),clearTimeout(u.processObjectsTimeOut),r=u.zoomDuration,!e&&isNaN(t.zoomLevel)&&isNaN(t.zoomX)&&isNaN(t.zoomY)?(u.showDescriptionAndGetUrl(),i||u.processObjects()):(u.selectedObjectTimeOut=setTimeout(function(){u.showDescriptionAndGetUrl.call(u)},1e3*r+200),u.showObjectsAfterZoom?i||(u.processObjectsTimeOut=setTimeout(function(){u.processObjects.call(u)},1e3*r+200)):i||u.processObjects()),r=t.displayObject,e=t.selectedColorReal,"MapImage"==t.objectType)&&(h=u.imagesSettings.selectedOutlineColor,c=u.imagesSettings.selectedOutlineThickness,r=t.image,f=t.selectedScaleReal,isNaN(f)||1==f||(s=t.scale,isNaN(t.tempScale)||(s=t.tempScale),isNaN(s)&&(s=1),t.tempScale=s,o=t.displayObject,o.translate(o.x,o.y,s*f,!0))),r?(n.removeCN(u,r,"selected-object"),n.setCN(u,r,"selected-object"),t.bringForwardOnHover&&t.displayObject.toFront(),u.outlinesToFront(),t.preserveOriginalAttributes||(r.setAttr("stroke",t.outlineColorReal),void 0!==e&&r.setAttr("fill",e),void 0!==h&&r.setAttr("stroke",h),void 0!==c&&r.setAttr("stroke-width",c),"MapLine"==t.objectType&&((f=t.lineSvg)&&f.setAttr("stroke",e),f=t.arrowSvg)&&(f.setAttr("fill",e),f.setAttr("stroke",e)),(f=t.imageLabel)&&void 0!==(s=t.selectedLabelColorReal)&&f.setAttr("fill",s),t.selectable||(r.setAttr("cursor","default"),f&&f.setAttr("cursor","default")))):u.returnInitialColorReal(t),r=t.groupId)for(f=t.groupArray,f||(f=u.getGroupById(r),t.groupArray=f),s=0;s<f.length;s++)(o=f[s],o.isOver=!1,r=o.displayObject,"MapImage"==o.objectType&&(r=o.image),r)&&(a=o.selectedColorReal,void 0!==a&&r.setAttr("fill",a),void 0!==h&&r.setAttr("stroke",h),void 0!==c&&r.setAttr("stroke-width",c),"MapLine"==o.objectType&&((r=o.lineSvg)&&r.setAttr("stroke",e),r=o.arrowSvg)&&(r.setAttr("fill",e),r.setAttr("stroke",e)));u.rescaleObjects();u.zoomToSelectedObject();l!=t&&u.fire({type:"selectedObjectChanged",chart:u})},returnInitialColor:function(n,t){var r,i;if((this.returnInitialColorReal(n),t&&(n.isFirst=!1),this.selectedObject.bringForwardOnHover)&&(i=this.selectedObject.displayObject,i&&i.toFront()),i=n.groupId)for(i=this.getGroupById(i),r=0;r<i.length;r++)this.returnInitialColorReal(i[r]),t&&(i[r].isFirst=!1);this.outlinesToFront()},outlinesToFront:function(){if(this.outlines)for(var n=0;n<this.outlines.length;n++)this.outlines[n].toFront()},closeAllDescriptions:function(){this.descriptionsDiv.innerHTML=""},fireClosed:function(){this.fire({type:"descriptionClosed",chart:this})},returnInitialColorReal:function(t){var i,f,e,u,o,r;if(t.isOver=!1,i=t.displayObject,i){(n.removeCN(this,i,"selected-object"),i.toPrevious(),"MapImage"==t.objectType)&&(r=t.tempScale,isNaN(r)||i.translate(i.x,i.y,r,!0),t.tempScale=NaN,i=t.image);(r=t.colorReal,"MapLine"==t.objectType)&&(f=t.lineSvg,(f&&f.setAttr("stroke",r),f=t.arrowSvg)&&(e=t.arrowColor,void 0===e&&(e=r),f.setAttr("fill",e),f.setAttr("stroke",e)));var f=t.alphaReal,e=t.outlineAlphaReal,s=t.outlineThicknessReal,h=t.outlineColorReal;t.showAsSelected&&(r=t.selectedColorReal,"MapImage"==t.objectType&&(u=this.imagesSettings.selectedOutlineColor,o=this.imagesSettings.selectedOutlineThickness),"MapArea"==t.objectType&&(u=this.areasSettings.selectedOutlineColor,o=this.areasSettings.selectedOutlineThickness),void 0!==u&&(h=u),void 0!==o&&(s=o));"bubble"==t.type&&(r=void 0);void 0!==r&&i.setAttr("fill",r);(u=t.image)&&(u.setAttr("fill",r),u.setAttr("stroke",h),u.setAttr("stroke-width",s),u.setAttr("fill-opacity",f),u.setAttr("stroke-opacity",e));"MapArea"==t.objectType&&(r=1,this.areasSettings.adjustOutlineThickness&&(r=this.zoomLevel()*this.mapScale),i.setAttr("stroke",h),i.setAttr("stroke-width",s/r),i.setAttr("fill-opacity",f),i.setAttr("stroke-opacity",e));(r=t.pattern)&&i.pattern(r,this.mapScale,this.path);(i=t.imageLabel)&&!t.labelInactive&&(t.showAsSelected&&void 0!==t.selectedLabelColor?i.setAttr("fill",t.selectedLabelColor):i.setAttr("fill",t.labelColorReal))}},zoomToRectangle:function(t,i,r,u){var e=this.realWidth,o=this.realHeight,f=this.mapSet.scale,s=this.zoomControl,e=n.fitToBounds(r/e>u/o?.8*e/(r*f):.8*o/(u*f),s.minZoomLevel,s.maxZoomLevel);this.zoomToMapXY(e,(t+r/2)*f,(i+u/2)*f)},zoomToLatLongRectangle:function(t,i,r,u){var f=this.dataProvider,e=this.zoomControl,o=Math.abs(r-t),s=Math.abs(i-u),h=Math.abs(f.rightLongitude-f.leftLongitude),f=Math.abs(f.topLatitude-f.bottomLatitude),e=n.fitToBounds(o/h>s/f?.8*h/o:.8*f/s,e.minZoomLevel,e.maxZoomLevel);this.zoomToLongLat(e,t+(r-t)/2,u+(i-u)/2)},getGroupById:function(n){var t=[];return this.getGroup(this.imagesProcessor.allObjects,n,t),this.getGroup(this.linesProcessor.allObjects,n,t),this.getGroup(this.areasProcessor.allObjects,n,t),t},zoomToGroup:function(n){var i,r,u,f,o,e;for(n="object"==typeof n?n:this.getGroupById(n),o=0;o<n.length;o++)if(e=n[o].displayObject,e){var t=e.getBBox(),e=t.y,s=t.y+t.height,h=t.x,t=t.x+t.width;(e<i||isNaN(i))&&(i=e);(s>f||isNaN(f))&&(f=s);(h<r||isNaN(r))&&(r=h);(t>u||isNaN(u))&&(u=t)}r+=this.diffX;u+=this.diffX;f+=this.diffY;i+=this.diffY;this.zoomToRectangle(r,i,u-r,f-i)},getGroup:function(n,t,i){var r,u;if(n)for(r=0;r<n.length;r++)u=n[r],u.groupId==t&&i.push(u)},zoomToStageXY:function(t,i,r,u){var f,e;this.objectWasClicked||(f=this.zoomControl,t=n.fitToBounds(t,f.minZoomLevel,f.maxZoomLevel),f=this.zoomLevel(),e=this.mapSet.getBBox(),i=this.xyToCoordinates((i-this.mapContainer.x)/f-e.x*this.mapScale,(r-this.mapContainer.y)/f-e.y*this.mapScale),this.zoomToLongLat(t,i.longitude,i.latitude,u))},zoomToLongLat:function(n,t,i,r){t=this.coordinatesToXY(t,i);this.zoomToMapXY(n,t.x,t.y,r)},zoomToMapXY:function(n,t,i,r){var u=this.mapWidth,f=this.mapHeight;this.zoomTo(n,-t/u*n+this.realWidth/u/2,-i/f*n+this.realHeight/f/2,r)},zoomToObject:function(t){var u,f;if(t){u=t.zoomLatitude;f=t.zoomLongitude;isNaN(t.zoomLatitudeC)||(u=t.zoomLatitudeC);isNaN(t.zoomLongitudeC)||(f=t.zoomLongitudeC);var r=t.zoomLevel,i=this.zoomInstantly,e=t.zoomX,h=t.zoomY,o=this.realWidth,s=this.realHeight;isNaN(r)||(isNaN(u)||isNaN(f)?this.zoomTo(r,e,h,i):this.zoomToLongLat(r,f,u,i));this.zoomInstantly=!1;"MapImage"==t.objectType&&isNaN(t.zoomX)&&isNaN(t.zoomY)&&isNaN(t.zoomLatitude)&&isNaN(t.zoomLongitude)&&!isNaN(t.latitude)&&!isNaN(t.longitude)&&this.zoomToLongLat(t.zoomLevel,t.longitude,t.latitude);"MapArea"==t.objectType&&(i=t.displayObject.getBBox(),e=this.mapScale,u=(i.x+this.diffX)*e,f=(i.y+this.diffY)*e,r=i.width*e,i=i.height*e,o=t.autoZoomReal&&isNaN(t.zoomLevel)?r/o>i/s?.8*o/r:.8*s/i:t.zoomLevel,s=this.zoomControl,o=n.fitToBounds(o,s.minZoomLevel,s.maxZoomLevel),isNaN(t.zoomX)&&isNaN(t.zoomY)&&isNaN(t.zoomLatitude)&&isNaN(t.zoomLongitude)&&this.zoomToMapXY(o,u+r/2,f+i/2));this.zoomControl.update()}},zoomToSelectedObject:function(){this.zoomToObject(this.selectedObject)},zoomTo:function(t,i,r,u){var f=this.zoomControl;t=n.fitToBounds(t,f.minZoomLevel,f.maxZoomLevel);f=this.zoomLevel();isNaN(i)&&(i=this.realWidth/this.mapWidth,i=(this.zoomX()-.5*i)*(t/f)+.5*i);isNaN(r)&&(r=this.realHeight/this.mapHeight,r=(this.zoomY()-.5*r)*(t/f)+.5*r);this.stopAnimation();isNaN(t)||(f=this.mapContainer,this.initialX=f.x,this.initialY=f.y,this.initialScale=f.scale,this.finalX=this.mapWidth*i,this.finalY=this.mapHeight*r,this.finalScale=t,this.finalX!=this.initialX||this.finalY!=this.initialY||this.finalScale!=this.initialScale?u?(this.tweenPercent=1,this.rescaleMapAndObjects(),this.wheelBusy=!1):this.animateMap():this.wheelBusy=!1)},loadXml:function(n){var t;window.XMLHttpRequest&&(t=new XMLHttpRequest);t.overrideMimeType&&t.overrideMimeType("text/xml");t.open("GET",n,!1);t.send();this.parseXMLObject(t.responseXML);this.svgData&&this.buildEverything()},stopAnimation:function(){this.frame=this.totalFrames},processObjects:function(n){var t=this.selectedObject,i,r,u,f;(0<t.images.length||0<t.areas.length||0<t.lines.length||t==this.dataProvider||n)&&(n=this.container,i=this.stageImagesContainer,i&&i.remove(),this.stageImagesContainer=i=n.set(),this.trendLinesSet.push(i),r=this.stageLinesContainer,r&&r.remove(),this.stageLinesContainer=r=n.set(),this.trendLinesSet.push(r),u=this.mapImagesContainer,u&&u.remove(),this.mapImagesContainer=u=n.set(),this.mapContainer.push(u),f=this.mapLinesContainer,f&&f.remove(),this.mapLinesContainer=f=n.set(),this.mapContainer.push(f),this.linesAboveImages?(u.toFront(),i.toFront(),f.toFront(),r.toFront()):(f.toFront(),r.toFront(),u.toFront(),i.toFront()),t&&(this.imagesProcessor.reset(),this.linesProcessor.reset(),this.linesAboveImages?(this.imagesProcessor.process(t),this.linesProcessor.process(t)):(this.linesProcessor.process(t),this.imagesProcessor.process(t))),this.rescaleObjects())},processAreas:function(){this.areasProcessor.process(this.dataProvider)},buildSVGMap:function(){var f,i,r;n.remove(this.mapSet);var u=this.svgData.g.path,o=this.container,e=o.set();for(this.svgAreas=[],this.svgAreasById={},void 0===u.length&&(u=[u]),f=0;f<u.length;f++){var t=u[f],s=t.d,h=t.title;if(t.titleTr&&(h=t.titleTr),i=o.path(s),i.id=t.id,this.areasSettings.preserveOriginalAttributes){i.customAttr={};for(r in t)"d"!=r&&"id"!=r&&"title"!=r&&(i.customAttr[r]=t[r])}t.outline&&(i.outline=!0);i.path=s;this.svgAreasById[t.id]={area:i,title:h,className:t.class};this.svgAreas.push(i);e.push(i)}this.mapSet=e;this.mapContainer.push(e);this.resizeMap()},centerAlign:function(){},setProjection:function(n){this.projection=n;this.chartCreated=!1;this.buildEverything()},addObjectEventListeners:function(n,t){var i=this;n.mousedown(function(n){i.mouseDownMapObject(t,n)}).mouseup(function(n){i.clickMapObject(t,n)}).mouseover(function(n){i.balloonX=NaN;i.rollOverMapObject(t,!0,n)}).mouseout(function(n){i.balloonX=NaN;i.rollOutMapObject(t,n)}).touchend(function(n){4>Math.abs(i.mouseX-i.tmx)&&4>Math.abs(i.mouseY-i.tmy)&&(i.tapped=!0);i.tapToActivate&&!i.tapped||i.mapWasDragged||i.mapWasPinched||(i.balloonX=NaN,i.rollOverMapObject(t,!0,n),i.clickMapObject(t,n))}).touchstart(function(n){i.tmx=i.mouseX;i.tmy=i.mouseY;i.mouseDownMapObject(t,n)}).keyup(function(n){13==n.keyCode&&i.clickMapObject(t,n)}).focus(function(n){var r,u;"MapImage"!=t.objectType||isNaN(t.longitude)||(r=t.longitude,u=t.latitude);"MapArea"==t.objectType&&(r=i.getAreaCenterLongitude(t),u=i.getAreaCenterLatitude(t));r=i.coordinatesToStageXY(r,u);i.balloonX=r.x;i.balloonY=r.y;i.rollOverMapObject(t,!0,n);i.focusedItem=t}).blur(function(n){i.rollOutMapObject(t,n);i.focusedItem=void 0})},checkIfSelected:function(n){var t=this.selectedObject,i;if(t==n)return!0;if(t=t.groupId)for(t=this.getGroupById(t),i=0;i<t.length;i++)if(t[i]==n)return!0;return!1},clearMap:function(){this.chartDiv.innerHTML="";this.clearObjectList()},clearObjectList:function(){var n=this.objectList;n&&n.div&&(n.div.innerHTML="")},checkIfLast:function(n){if(n){var t=n.parentNode;if(t&&t.lastChild==n)return!0}return!1},showAsRolledOver:function(t){var u=t.displayObject,r,i,f;t.showAsSelected||!u||t.isOver||(u.node.onmouseout=function(){},u.node.onmouseover=function(){},u.node.onclick=function(){},!t.isFirst&&t.bringForwardOnHover&&(u.toFront(),t.isFirst=!0),i=t.rollOverColorReal,(t.preserveOriginalAttributes&&(i=void 0),"bubble"==t.type&&(i=void 0),void 0==i&&(isNaN(t.rollOverBrightnessReal)||(i=n.adjustLuminosity(t.colorReal,t.rollOverBrightnessReal/100))),void 0!=i&&("MapImage"==t.objectType?(r=t.image)&&r.setAttr("fill",i):"MapLine"==t.objectType?((r=t.lineSvg)&&r.setAttr("stroke",i),(r=t.arrowSvg)&&(r.setAttr("fill",i),r.setAttr("stroke",i))):u.setAttr("fill",i)),(i=t.imageLabel)&&!t.labelInactive&&void 0!=(r=t.labelRollOverColorReal)&&i.setAttr("fill",r),i=t.rollOverOutlineColorReal,void 0!=i&&("MapImage"==t.objectType?(r=t.image)&&r.setAttr("stroke",i):u.setAttr("stroke",i)),"MapImage"==t.objectType?(i=this.imagesSettings.rollOverOutlineThickness,(r=t.image)&&(isNaN(i)||r.setAttr("stroke-width",i))):(i=this.areasSettings.rollOverOutlineThickness,isNaN(i)||u.setAttr("stroke-width",i)),"MapArea"==t.objectType)&&(i=this.areasSettings,r=t.rollOverAlphaReal,isNaN(r)||u.setAttr("fill-opacity",r),r=i.rollOverOutlineAlpha,isNaN(r)||u.setAttr("stroke-opacity",r),r=1,this.areasSettings.adjustOutlineThickness&&(r=this.zoomLevel()*this.mapScale),f=i.rollOverOutlineThickness,isNaN(f)||u.setAttr("stroke-width",f/r),(i=i.rollOverPattern)&&u.pattern(i,this.mapScale,this.path)),"MapImage"==t.objectType&&(i=t.rollOverScaleReal,isNaN(i)||1==i||(r=u.scale,isNaN(r)&&(r=1),t.tempScale=r,u.translate(u.x,u.y,r*i,!0))),this.useHandCursorOnClickableOjects&&this.checkIfClickable(t)&&u.setAttr("cursor","pointer"),t.mouseEnabled&&this.addObjectEventListeners(u,t),t.isOver=!0);this.outlinesToFront()},rollOverMapObject:function(n,t,i){var u,r;if(this.chartCreated&&(this.handleMouseMove(),r=this.previouslyHovered,r&&r!=n?(!1===this.checkIfSelected(r)&&(this.returnInitialColor(r,!0),this.previouslyHovered=null),this.balloon.hide(0)):clearTimeout(this.hoverInt),!this.preventHover)){if(!1===this.checkIfSelected(n)){if(r=n.groupId)for(r=this.getGroupById(r),u=0;u<r.length;u++)r[u]!=n&&this.showAsRolledOver(r[u]);this.showAsRolledOver(n)}else(r=n.displayObject)&&(this.allowClickOnSelectedObject?r.setAttr("cursor","pointer"):r.setAttr("cursor","default"));this.showDescriptionOnHover?this.showDescription(n):!this.showBalloonOnSelectedObject&&this.checkIfSelected(n)||!1===t||(u=this.balloon,this.balloon.fixedPosition=!1,t=n.colorReal,r="",void 0!==t&&this.useObjectColorForBalloon||(t=u.fillColor),(u=n.balloonTextReal)&&(r=this.formatString(u,n)),this.balloonLabelFunction&&(r=this.balloonLabelFunction(n,this)),r&&""!==r&&this.showBalloon(r,t,!1,this.balloonX,this.balloonY));i={type:"rollOverMapObject",mapObject:n,chart:this,event:i};n.isOver=!0;this.fire(i);this.previouslyHovered=n}},longitudeToX:function(n){return(this.longitudeToCoordinate(n)+this.diffX*this.mapScale)*this.zoomLevel()+this.mapContainer.x},latitudeToY:function(n){return(this.latitudeToCoordinate(n)+this.diffY*this.mapScale)*this.zoomLevel()+this.mapContainer.y},latitudeToStageY:function(n){return this.latitudeToCoordinate(n)*this.zoomLevel()+this.mapContainer.y+this.diffY*this.mapScale},longitudeToStageX:function(n){return this.longitudeToCoordinate(n)*this.zoomLevel()+this.mapContainer.x+this.diffX*this.mapScale},stageXToLongitude:function(n){return n=(n-this.mapContainer.x)/this.zoomLevel(),this.coordinateToLongitude(n)},stageYToLatitude:function(n){return n=(n-this.mapContainer.y)/this.zoomLevel(),this.coordinateToLatitude(n)},rollOutMapObject:function(n,t){if(this.hideBalloon(),n&&this.chartCreated&&n.isOver){this.checkIfSelected(n)||this.returnInitialColor(n);var i={type:"rollOutMapObject",mapObject:n,chart:this,event:t};n.isOver=!1;this.fire(i)}},formatString:function(t,i){var r=this.nf,u=this.pf,f=i.title,e;i.titleTr&&(f=i.titleTr);void 0==f&&(f="");var o=i.value,o=isNaN(o)?"":n.formatNumber(o,r),r=i.percents,r=isNaN(r)?"":n.formatNumber(r,u),u=i.description;return void 0==u&&(u=""),e=i.customData,void 0==e&&(e=""),t=n.massReplace(t,{"[[title]]":f,"[[value]]":o,"[[percent]]":r,"[[description]]":u,"[[customData]]":e})},mouseDownMapObject:function(n,t){this.fire({type:"mouseDownMapObject",mapObject:n,chart:this,event:t})},clickMapObject:function(n,t){var i=this;if(t&&(t.touches||isNaN(n.zoomLevel)&&isNaN(n.zoomX)&&isNaN(n.zoomY)||i.hideBalloon()),i.chartCreated&&!i.preventHover&&i.checkTouchDuration(t)&&!i.mapWasDragged&&i.checkIfClickable(n)&&!i.mapWasPinched){i.selectObject(n);var r=i.zoomLevel(),u=i.mapSet.getBBox(),r=i.xyToCoordinates((i.mouseX-i.mapContainer.x)/r-u.x*i.mapScale,(i.mouseY-i.mapContainer.y)/r-u.y*i.mapScale);i.clickLatitude=r.latitude;i.clickLongitude=r.longitude;t&&t.touches&&setTimeout(function(){i.showBalloonAfterZoom.call(i)},1e3*i.zoomDuration);i.fire({type:"clickMapObject",mapObject:n,chart:i,event:t});i.objectWasClicked=!0}},showBalloonAfterZoom:function(){var n=this.clickLongitude,i=this.clickLatitude,t=this.selectedObject;"MapImage"!=t.objectType||isNaN(t.longitude)||(n=t.longitude,i=t.latitude);n=this.coordinatesToStageXY(n,i);this.balloonX=n.x;this.balloonY=n.y;this.rollOverMapObject(this.selectedObject,!0)},checkIfClickable:function(n){var t=this.allowClickOnSelectedObject;return!(this.selectedObject!=n||!t)||!(this.selectedObject==n&&!t)&&!(!(!0===n.selectable||"MapArea"==n.objectType&&n.autoZoomReal||n.url||n.linkToObject||0<n.images.length||0<n.lines.length)&&isNaN(n.zoomLevel)&&isNaN(n.zoomX)&&isNaN(n.zoomY)&&!n.description)},resizeMap:function(){var r=this.mapSet;if(r){var t=1,n=r.getBBox(),u=this.realWidth,f=this.realHeight,i=n.width,n=n.height;0<i&&0<n&&(this.fitMapToContainer&&(t=i/u>n/f?u/i:f/n),r.translate(0,0,t,!0),this.mapScale=t,this.mapHeight=n*t,this.mapWidth=i*t)}},zoomIn:function(){var n=this.zoomLevel()*this.zoomControl.zoomFactor;this.zoomTo(n)},zoomOut:function(){var n=this.zoomLevel()/this.zoomControl.zoomFactor;this.zoomTo(n)},moveLeft:function(){var n=this.zoomX()+this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),n,this.zoomY())},moveRight:function(){var n=this.zoomX()-this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),n,this.zoomY())},moveUp:function(){var n=this.zoomY()+this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),this.zoomX(),n)},moveDown:function(){var n=this.zoomY()-this.zoomControl.panStepSize;this.zoomTo(this.zoomLevel(),this.zoomX(),n)},zoomX:function(){return this.mapSet?Math.round(1e4*this.mapContainer.x/this.mapWidth)/1e4:NaN},zoomY:function(){return this.mapSet?Math.round(1e4*this.mapContainer.y/this.mapHeight)/1e4:NaN},goHome:function(){this.selectObject(this.dataProvider);this.fire({type:"homeButtonClicked",chart:this})},zoomLevel:function(){return Math.round(1e5*this.mapContainer.scale)/1e5},showDescriptionAndGetUrl:function(){var i=this.selectedObject,t,r;if(i)if(this.showDescription(),t=i.url,t)n.getURL(t,i.urlTarget);else if(t=i.linkToObject){if(n.isString(t)&&(r=this.getObjectById(t),r))return void this.selectObject(r);t&&i.passZoomValuesToTarget&&(t.zoomLatitude=this.zoomLatitude(),t.zoomLongitude=this.zoomLongitude(),t.zoomLevel=this.zoomLevel());this.extendMapData(t)||this.selectObject(t)}},extendMapData:function(t){var i=t.objectType;if("MapImage"!=i&&"MapArea"!=i&&"MapLine"!=i)return n.extend(t,new n.MapData,!0),this.dataProvider=t,this.zoomInstantly=!0,this.validateData(),!0},showDescription:function(t){var i,u;if(t||(t=this.selectedObject),this.allowMultipleDescriptionWindows||this.closeAllDescriptions(),t.description){i=t.descriptionWindow;i&&i.close();i=new n.DescriptionWindow;t.descriptionWindow=i;var s=t.descriptionWindowWidth,h=t.descriptionWindowHeight,r=t.descriptionWindowLeft,f=t.descriptionWindowTop,e=t.descriptionWindowRight,o=t.descriptionWindowBottom;isNaN(e)||(r=this.realWidth-e);isNaN(o)||(f=this.realHeight-o);u=t.descriptionWindowX;isNaN(u)||(r=u);u=t.descriptionWindowY;isNaN(u)||(f=u);isNaN(r)&&(r=this.mouseX,r=r>this.realWidth/2?r-s-20:r+20);isNaN(f)&&(f=this.mouseY);i.maxHeight=h;u=t.title;t.titleTr&&(u=t.titleTr);i.show(this,this.descriptionsDiv,t.description,u);t=i.div.style;t.position="absolute";t.width=s+"px";t.maxHeight=h+"px";isNaN(o)||(f-=i.div.offsetHeight);isNaN(e)||(r-=i.div.offsetWidth);t.left=r+"px";t.top=f+"px"}},parseXMLObject:function(n){var t={root:{}};this.parseXMLNode(t,"root",n);this.svgData=t.root.svg;this.getBounds()},getBounds:function(){var n=this.dataProvider,t,i;try{t=this.svgData.defs["amcharts:ammap"];n.leftLongitude=Number(t.leftLongitude);n.rightLongitude=Number(t.rightLongitude);n.topLatitude=Number(t.topLatitude);n.bottomLatitude=Number(t.bottomLatitude);n.projection=t.projection;i=t.wrappedLongitudes;i&&(n.rightLongitude+=360);n.wrappedLongitudes=i}catch(n){}},recalcLongitude:function(n){return this.dataProvider.wrappedLongitudes&&n<this.dataProvider.leftLongitude?Number(n)+360:n},latitudeToCoordinate:function(n){var t,r=this.dataProvider,i;return this.mapSet&&(t=r.topLatitude,i=r.bottomLatitude,"mercator"==r.projection&&(n=this.mercatorLatitudeToCoordinate(n),t=this.mercatorLatitudeToCoordinate(t),i=this.mercatorLatitudeToCoordinate(i)),t=(n-t)/(i-t)*this.mapHeight),t},longitudeToCoordinate:function(n){n=this.recalcLongitude(n);var t,i=this.dataProvider;return this.mapSet&&(t=i.leftLongitude,t=(n-t)/(i.rightLongitude-t)*this.mapWidth),t},mercatorLatitudeToCoordinate:function(t){return 89.5<t&&(t=89.5),-89.5>t&&(t=-89.5),t=n.degreesToRadians(t),n.radiansToDegrees(.5*Math.log((1+Math.sin(t))/(1-Math.sin(t)))/2)},zoomLatitude:function(){if(this.mapContainer){var n=this.mapSet.getBBox(),t=(-this.mapContainer.x+this.previousWidth/2)/this.zoomLevel()-n.x*this.mapScale,n=(-this.mapContainer.y+this.previousHeight/2)/this.zoomLevel()-n.y*this.mapScale;return this.xyToCoordinates(t,n).latitude}},zoomLongitude:function(){if(this.mapContainer){var n=this.mapSet.getBBox(),t=(-this.mapContainer.x+this.previousWidth/2)/this.zoomLevel()-n.x*this.mapScale,n=(-this.mapContainer.y+this.previousHeight/2)/this.zoomLevel()-n.y*this.mapScale;return this.xyToCoordinates(t,n).longitude}},getAreaCenterLatitude:function(n){n=n.displayObject.getBBox();var t=this.mapScale,i=this.mapSet.getBBox();return this.xyToCoordinates((n.x+n.width/2+this.diffX)*t-i.x*t,(n.y+n.height/2+this.diffY)*t-i.y*t).latitude},getAreaCenterLongitude:function(n){n=n.displayObject.getBBox();var t=this.mapScale,i=this.mapSet.getBBox();return this.xyToCoordinates((n.x+n.width/2+this.diffX)*t-i.x*t,(n.y+n.height/2+this.diffY)*t-i.y*t).longitude},milesToPixels:function(n){var t=this.dataProvider;return this.mapWidth/(t.rightLongitude-t.leftLongitude)*n/69.172},kilometersToPixels:function(n){var t=this.dataProvider;return this.mapWidth/(t.rightLongitude-t.leftLongitude)*n/111.325},handleBackgroundClick:function(){var n;if(this.backgroundZoomsToTop&&!this.mapWasDragged)if(n=this.dataProvider,this.checkIfClickable(n))this.clickMapObject(n);else{var t=n.zoomX,i=n.zoomY,r=n.zoomLongitude,u=n.zoomLatitude,n=n.zoomLevel;isNaN(t)||isNaN(i)||this.zoomTo(n,t,i);isNaN(r)||isNaN(u)||this.zoomToLongLat(n,r,u,!0)}},parseXMLNode:function(n,t,i,r){var h,u,s,c,o;if(void 0===r&&(r=""),i){for(c=i.childNodes.length,h=0;h<c;h++){u=i.childNodes[h];var f=u.nodeName,e=u.nodeValue?this.trim(u.nodeValue):"",l=!1;if(u.attributes&&0<u.attributes.length&&(l=!0),0!==u.childNodes.length||""!==e||!1!==l)if(3==u.nodeType||4==u.nodeType){if(""!==e){u=0;for(s in n[t])n[t].hasOwnProperty(s)&&u++;u?n[t]["#text"]=e:n[t]=e}}else if(1==u.nodeType){if(void 0!==n[t][f]?void 0===n[t][f].length?(o=n[t][f],n[t][f]=[],n[t][f].push(o),n[t][f].push({}),o=n[t][f][1]):"object"==typeof n[t][f]&&(n[t][f].push({}),o=n[t][f][n[t][f].length-1]):(n[t][f]={},o=n[t][f]),u.attributes&&u.attributes.length)for(e=0;e<u.attributes.length;e++)o[u.attributes[e].name]=u.attributes[e].value;void 0!==n[t][f].length?this.parseXMLNode(n[t][f],n[t][f].length-1,u,r+"  "):this.parseXMLNode(n[t],f,u,r+"  ")}}u=0;i="";for(s in n[t])"#text"==s?i=n[t][s]:u++;0===u&&void 0===n[t].length&&(n[t]=i)}},doDoubleClickZoom:function(){if(!this.mapWasDragged){var n=this.zoomLevel()*this.zoomControl.zoomFactor;this.zoomToStageXY(n,this.mouseX,this.mouseY)}},getDevInfo:function(){var n=this.zoomLevel(),t=this.mapSet.getBBox(),t=this.xyToCoordinates((this.mouseX-this.mapContainer.x)/n-t.x*this.mapScale,(this.mouseY-this.mapContainer.y)/n-t.y*this.mapScale),n={chart:this,type:"writeDevInfo",zoomLevel:n,zoomX:this.zoomX(),zoomY:this.zoomY(),zoomLatitude:this.zoomLatitude(),zoomLongitude:this.zoomLongitude(),latitude:t.latitude,longitude:t.longitude,left:this.mouseX,top:this.mouseY,right:this.realWidth-this.mouseX,bottom:this.realHeight-this.mouseY,percentLeft:Math.round(this.mouseX/this.realWidth*100)+"%",percentTop:Math.round(this.mouseY/this.realHeight*100)+"%",percentRight:Math.round((this.realWidth-this.mouseX)/this.realWidth*100)+"%",percentBottom:Math.round((this.realHeight-this.mouseY)/this.realHeight*100)+"%"},t="zoomLevel:"+n.zoomLevel+", zoomLongitude:"+n.zoomLongitude+", zoomLatitude:"+n.zoomLatitude+"\n",t=t+"zoomX:"+n.zoomX+", zoomY:"+n.zoomY+"\n",t=t+"latitude:"+n.latitude+", longitude:"+n.longitude+"\n",t=t+"left:"+n.left+", top:"+n.top+"\n",t=t+"right:"+n.right+", bottom:"+n.bottom+"\n",t=t+"left:"+n.percentLeft+", top:"+n.percentTop+"\n",t=t+"right:"+n.percentRight+", bottom:"+n.percentBottom+"\n";return n.str=t,this.fire(n),n},getXY:function(n,t,i){return void 0!==n&&(-1!=String(n).indexOf("%")?(n=Number(n.split("%").join("")),i&&(n=100-n),n=Number(n)*t/100):i&&(n=t-n)),n},getObjectById:function(n){var i=this.dataProvider,t;return i.areas&&(t=this.getObject(n,i.areas),t)?t:(t=this.getObject(n,i.images))?t:(n=this.getObject(n,i.lines))?n:void 0},getObject:function(n,t){var r,i,u;if(t)for(r=0;r<t.length;r++){if(i=t[r],i.id==n)return i;if(i.areas&&(u=this.getObject(n,i.areas),u)||(u=this.getObject(n,i.images)))return u;if(i=this.getObject(n,i.lines))return i}},parseData:function(){var n=this.dataProvider;this.processObject(n.areas,n,"area");this.processObject(n.images,n,"image");this.processObject(n.lines,n,"line")},processObject:function(t,i,r){var f,u;if(t)for(f=0;f<t.length;f++)u=t[f],u.parentObject=i,"area"==r&&n.extend(u,new n.MapArea(this.theme),!0),"image"==r&&(u=n.extend(u,new n.MapImage(this.theme),!0)),"line"==r&&(u=n.extend(u,new n.MapLine(this.theme),!0)),t[f]=u,u.areas&&this.processObject(u.areas,u,"area"),u.images&&this.processObject(u.images,u,"image"),u.lines&&this.processObject(u.lines,u,"line")},positionChanged:function(){var n={type:"positionChanged",zoomX:this.zoomX(),zoomY:this.zoomY(),zoomLevel:this.zoomLevel(),chart:this};this.fire(n)},getX:function(n,t){return this.getXY(n,this.realWidth,t)},getY:function(n,t){return this.getXY(n,this.realHeight,t)},trim:function(n){if(n){for(var t=0;t<n.length;t++)if(-1===" \n\r\t\f\v            ​\u2028\u2029　".indexOf(n.charAt(t))){n=n.substring(t);break}for(t=n.length-1;0<=t;t--)if(-1===" \n\r\t\f\v            ​\u2028\u2029　".indexOf(n.charAt(t))){n=n.substring(0,t+1);break}return-1===" \n\r\t\f\v            ​\u2028\u2029　".indexOf(n.charAt(0))?n:""}},destroy:function(){n.AmMap.base.destroy.call(this)},x2c:function(n){var t=this.dataProvider.leftLongitude;return Math.round(this.unscaledMapWidth*(n-t)/(this.dataProvider.rightLongitude-t)*100)/100},y2c:function(n){var t=this.dataProvider.topLatitude;return Math.round(this.unscaledMapHeight*(n-t)/(this.dataProvider.bottomLatitude-t)*100)/100},normalize:function(t){var r,i;t.pathsArray||(t.normalized?r=t.normalized:(i=n.normalizePath(t.node),r=t.node.getAttribute("d"),t.normalized=r,i.maxX>this.maxMapX&&(this.maxMapX=i.maxX),i.minX<this.minMapX&&(this.minMapX=i.minX),i.maxY>this.maxMapY&&(this.maxMapY=i.maxY),i.minY<this.minMapY&&(this.minMapY=i.minY)),t.node.setAttribute("d",r))},redraw:function(n){var t=n.normalized,t=t.split(" Z").join(""),t=t.split("M"),i,r,u;for(n.pathsArray=[],i=0;i<t.length;i++)if(r=t[i],r){for(var r=r.split("L"),e=[],f=0;f<r.length;f++)r[f]&&(u=r[f].split(" "),u=this.xyToCoordinates(Number(u[1])-this.minMapX,Number(u[2])-this.minMapY,this.dpProjectionFunction,this.sourceMapWidth,this.sourceMapHeight),e.push([u.longitude,u.latitude]));n.pathsArray.push(e)}for(t="",i=0;i<n.pathsArray.length;i++)t+=this.redrawArea(n.pathsArray[i]);n.node.setAttribute("d",t);n.path=t},redrawArea:function(t){for(var s=!1,f="",r=0;r<t.length;r++){var e=t[r][0],o=t[r][1],u=n.degreesToRadians(t[r][0]),i=n.degreesToRadians(t[r][1]),i=this.projectionFunction(u,i),u=n.roundTo(this.x2c(n.radiansToDegrees(i[0])),3),i=n.roundTo(this.y2c(n.radiansToDegrees(i[1])),3);u<this.minMapXX&&(this.minMapXX=u,this.leftLongLat={longitude:e,latitude:o});u>this.maxMapXX&&(this.maxMapXX=u,this.rightLongLat={longitude:e,latitude:o});i<this.minMapYY&&(this.minMapYY=i,this.topLongLat={longitude:e,latitude:o});i>this.maxMapYY&&(this.maxMapYY=i,this.bottomLongLat={longitude:e,latitude:o});s?f+=" L ":(f+=" M ",s=!0);f+=u+" "+i}return f+" Z "},normalizeMap:function(){var t=n.degreesToRadians(this.dataProvider.leftLongitude),u=n.degreesToRadians(this.dataProvider.rightLongitude),i=n.degreesToRadians(this.dataProvider.topLatitude),f=n.degreesToRadians(this.dataProvider.bottomLatitude),e=t+(u-t)/2,o=i+(f-i)/2,s=this.dpProjectionFunction(e,i)[1],c=this.dpProjectionFunction(e,f)[1],h=this.dpProjectionFunction(t,o)[0],r=this.dpProjectionFunction(u,o)[0],i=n.equirectangular(e,i),f=n.equirectangular(e,f),s=(i[1]-f[1])/(s-c),t=n.equirectangular(t,o),u=n.equirectangular(u,o),h=(t[0]-u[0])/(h-r);for(this.minMapX=1/0,this.maxMapX=-1/0,this.minMapY=1/0,this.maxMapY=-1/0,r=0;r<this.svgAreas.length;r++)this.normalize(this.svgAreas[r]);this.sourceMapHeight=Math.abs(this.maxMapY-this.minMapY);this.sourceMapWidth=Math.abs(this.maxMapX-this.minMapX);this.unscaledMapWidth=this.sourceMapWidth*h;this.unscaledMapHeight=this.sourceMapHeight*s;this.diffY=this.diffX=0},fixMapPosition:function(){var u=n.degreesToRadians(this.dataProvider.leftLongitude),e=n.degreesToRadians(this.dataProvider.rightLongitude),i=n.degreesToRadians(this.dataProvider.topLatitude),t=n.degreesToRadians(this.dataProvider.bottomLatitude),r=u+(e-u)/2,f=i+(t-i)/2,o=this.dpProjectionFunction(r,i)[1],s=this.dpProjectionFunction(r,t)[1],h=this.dpProjectionFunction(u,f)[0],c=this.dpProjectionFunction(e,f)[0];for(this.sourceMapHeight=this.mapHeight/this.mapScale,this.sourceMapWidth=this.mapWidth/this.mapScale,this.unscaledMapWidth=(u-e)/(h-c)*this.sourceMapWidth,this.unscaledMapHeight=(i-t)/(o-s)*this.sourceMapHeight,e=this.coordinatesToXY(n.radiansToDegrees(r),n.radiansToDegrees(i)),u=this.coordinatesToXY(n.radiansToDegrees(u),n.radiansToDegrees(f)),i=f=1/0,t=0;t<this.svgAreas.length;t++)r=this.svgAreas[t].getBBox(),r.y<f&&(f=r.y),r.x<i&&(i=r.x);for(this.diffY=e.y/this.mapScale-f,this.diffX=u.x/this.mapScale-i,t=0;t<this.svgAreas.length;t++)this.svgAreas[t].translate(this.diffX,this.diffY)},changeProjection:function(){this.minMapXX=1/0;this.maxMapXX=-1/0;this.minMapYY=1/0;this.maxMapYY=-1/0;this.projectionChanged=!1;for(var n=0;n<this.svgAreas.length;n++)this.redraw(this.svgAreas[n]);this.projectionChanged=!0;this.resizeMap()},coordinatesToXY:function(t,i){var u,r;return u=!1,this.dataProvider&&(u=this.dataProvider.wrappedLongitudes)&&(t=this.recalcLongitude(t)),this.projectionFunction?(r=this.projectionFunction(n.degreesToRadians(t),n.degreesToRadians(i)),u=this.mapScale*n.roundTo(this.x2c(n.radiansToDegrees(r[0])),3),r=this.mapScale*n.roundTo(this.y2c(n.radiansToDegrees(r[1])),3)):(u=this.longitudeToCoordinate(t),r=this.latitudeToCoordinate(i)),{x:u,y:r}},coordinatesToStageXY:function(n,t){var i=this.coordinatesToXY(n,t),r=i.x*this.zoomLevel()+this.mapContainer.x,i=i.y*this.zoomLevel()+this.mapContainer.y;return{x:r,y:i}},stageXYToCoordinates:function(n,t){var i=this.mapSet.getBBox(),r=(n-this.mapContainer.x)/this.zoomLevel()-i.x*this.mapScale,i=(t-this.mapContainer.y)/this.zoomLevel()-i.y*this.mapScale;return this.xyToCoordinates(r,i)},xyToCoordinates:function(t,i,r,u,f){var s;if(isNaN(u)&&(u=this.mapWidth),isNaN(f)&&(f=this.mapHeight),r||(r=this.projectionFunction),s=r.invert){var e=this.dataProvider.leftLongitude,h=this.dataProvider.rightLongitude,o=this.dataProvider.topLatitude,c=this.dataProvider.bottomLatitude,l=e+(h-e)/2,a=o+(c-o)/2,o=n.radiansToDegrees(r(n.degreesToRadians(l),n.degreesToRadians(o))[1]),c=n.radiansToDegrees(r(n.degreesToRadians(l),n.degreesToRadians(c))[1]),e=n.radiansToDegrees(r(n.degreesToRadians(e),n.degreesToRadians(a))[0]),h=n.radiansToDegrees(r(n.degreesToRadians(h),n.degreesToRadians(a))[0]);this.projectionChanged&&(o=n.radiansToDegrees(r(n.degreesToRadians(this.topLongLat.longitude),n.degreesToRadians(this.topLongLat.latitude))[1]),c=n.radiansToDegrees(r(n.degreesToRadians(this.bottomLongLat.longitude),n.degreesToRadians(this.bottomLongLat.latitude))[1]),e=n.radiansToDegrees(r(n.degreesToRadians(this.leftLongLat.longitude),n.degreesToRadians(this.leftLongLat.latitude))[0]),h=n.radiansToDegrees(r(n.degreesToRadians(this.rightLongLat.longitude),n.degreesToRadians(this.rightLongLat.latitude))[0]));t=n.degreesToRadians(t/u*(h-e)+e);i=n.degreesToRadians(i/f*(c-o)+o);i=s(t,i);s=n.radiansToDegrees(i[0]);i=n.radiansToDegrees(i[1])}else s=this.coordinateToLongitude(t),i=this.coordinateToLatitude(i);return{longitude:n.roundTo(s,4),latitude:n.roundTo(i,4)}},coordinateToLatitude:function(t,i){var r,u,f;return(void 0===i&&(i=this.mapHeight),this.mapSet)&&(u=this.dataProvider,f=u.bottomLatitude,r=u.topLatitude,"mercator"==u.projection?(u=this.mercatorLatitudeToCoordinate(f),r=this.mercatorLatitudeToCoordinate(r),r=2*n.degreesToRadians(t*(u-r)/i+r),r=n.radiansToDegrees(2*Math.atan(Math.exp(r))-.5*Math.PI)):r=t/i*(f-r)+r),Math.round(1e6*r)/1e6},handleKeyUp:function(n){13==n.keyCode&&this.focusedItem&&this.selectObject(this.focusedItem)},coordinateToLongitude:function(n,t){var r,i=this.dataProvider;return void 0===t&&(t=this.mapWidth),this.mapSet&&(r=n/t*(i.rightLongitude-i.leftLongitude)+i.leftLongitude),Math.round(1e6*r)/1e6}})}(),function(){var n=window.AmCharts;n.ZoomControl=n.Class({construct:function(t){this.cname="ZoomControl";this.panStepSize=.1;this.zoomFactor=2;this.maxZoomLevel=64;this.minZoomLevel=1;this.panControlEnabled=!1;this.zoomControlEnabled=!0;this.buttonRollOverColor="#DADADA";this.buttonFillColor="#FFFFFF";this.buttonFillAlpha=1;this.buttonBorderColor="#000000";this.buttonBorderAlpha=.1;this.buttonIconAlpha=this.buttonBorderThickness=1;this.gridColor=this.buttonIconColor="#000000";this.homeIconFile="homeIcon.gif";this.gridBackgroundColor="#000000";this.draggerAlpha=this.gridAlpha=this.gridBackgroundAlpha=0;this.draggerSize=this.buttonSize=31;this.iconSize=11;this.homeButtonEnabled=!0;this.buttonCornerRadius=2;this.gridHeight=5;this.roundButtons=!0;this.top=this.left=10;n.applyTheme(this,t,this.cname)},init:function(t,i){var r=this,w,l,u,v,ut,ft,a,ot;r.chart=t;n.remove(r.set);w=i.set();n.setCN(t,w,"zoom-control");var f=r.buttonSize,a=r.zoomControlEnabled,s=r.panControlEnabled,b=r.buttonFillColor,y=r.buttonFillAlpha,k=r.buttonBorderThickness,d=r.buttonBorderColor,p=r.buttonBorderAlpha,g=r.buttonCornerRadius,nt=r.buttonRollOverColor,tt=r.gridHeight,o=r.zoomFactor,st=r.minZoomLevel,et=r.maxZoomLevel,h=r.buttonIconAlpha,c=r.buttonIconColor,it=r.roundButtons,rt=t.svgIcons,u=t.getX(r.left),e=t.getY(r.top);if(isNaN(r.right)||(u=t.getX(r.right,!0),u=s?u-3*f:u-f),isNaN(r.bottom)||(e=t.getY(r.bottom,!0),a&&(e-=tt+3*f),e=s?e-3*f:r.homeButtonEnabled?e-.5*f:e+f),w.translate(u,e),r.previousDY=NaN,u=f/4-1,a){for(l=i.set(),n.setCN(t,l,"zoom-control-zoom"),w.push(l),r.set=w,r.zoomSet=l,5<tt&&(a=n.rect(i,f+6,tt+2*f+6,r.gridBackgroundColor,r.gridBackgroundAlpha,0,"#000000",0,4),n.setCN(t,a,"zoom-bg"),a.translate(-3,-3),a.mouseup(function(){r.handleBgUp()}).touchend(function(){r.handleBgUp()}),l.push(a)),v=f,it&&(v=f/1.5),r.draggerSize=v,ut=Math.log(et/st)/Math.log(o)+1,1e3<ut&&(ut=1e3),a=tt/ut,ot=i.set(),ot.translate((f-v)/2+1,1,NaN,!0),l.push(ot),ft=1;ft<ut;ft++)e=f+ft*a,e=n.line(i,[1,v-2],[e,e],r.gridColor,r.gridAlpha,1),n.setCN(t,e,"zoom-grid"),ot.push(e);e=new n.SimpleButton;e.setDownHandler(r.draggerDown,r);e.setClickHandler(r.draggerUp,r);e.init(i,v,a,b,y,k,d,p,g,nt);n.setCN(t,e.set,"zoom-dragger");l.push(e.set);e.set.setAttr("opacity",r.draggerAlpha);r.dragger=e.set;r.previousY=NaN;e=new n.SimpleButton;rt?(v=i.set(),ut=n.line(i,[-u,u],[0,0],c,h,1),ft=n.line(i,[0,0],[-u,u],c,h,1),v.push(ut),v.push(ft),e.svgIcon=v):e.setIcon(t.pathToImages+"plus.gif",r.iconSize);e.setClickHandler(t.zoomIn,t);e.init(i,f,f,b,y,k,d,p,g,nt,h,c,it);n.setCN(t,e.set,"zoom-in");l.push(e.set);e=new n.SimpleButton;rt?e.svgIcon=n.line(i,[-u,u],[0,0],c,h,1):e.setIcon(t.pathToImages+"minus.gif",r.iconSize);e.setClickHandler(t.zoomOut,t);e.init(i,f,f,b,y,k,d,p,g,nt,h,c,it);e.set.translate(0,tt+f);n.setCN(t,e.set,"zoom-out");l.push(e.set);tt-=a;et=Math.log(et/100)/Math.log(o);r.realStepSize=tt/(et-Math.log(st/100)/Math.log(o));r.realGridHeight=tt;r.stepMax=et}s&&(s=i.set(),n.setCN(t,s,"zoom-control-pan"),w.push(s),l&&l.translate(f,4*f),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[u/5,u/5-u,u/5],[-u,0,u],c,h,1):o.setIcon(t.pathToImages+"panLeft.gif",r.iconSize),o.setClickHandler(t.moveLeft,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(0,f),n.setCN(t,o.set,"pan-left"),s.push(o.set),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[-u/5,u-u/5,-u/5],[-u,0,u],c,h,1):o.setIcon(t.pathToImages+"panRight.gif",r.iconSize),o.setClickHandler(t.moveRight,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(2*f,f),n.setCN(t,o.set,"pan-right"),s.push(o.set),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[-u,0,u],[u/5,u/5-u,u/5],c,h,1):o.setIcon(t.pathToImages+"panUp.gif",r.iconSize),o.setClickHandler(t.moveUp,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(f,0),n.setCN(t,o.set,"pan-up"),s.push(o.set),o=new n.SimpleButton,rt?o.svgIcon=n.line(i,[-u,0,u],[-u/5,u-u/5,-u/5],c,h,1):o.setIcon(t.pathToImages+"panDown.gif",r.iconSize),o.setClickHandler(t.moveDown,t),o.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),o.set.translate(f,2*f),n.setCN(t,o.set,"pan-down"),s.push(o.set),w.push(s));r.homeButtonEnabled&&(s=new n.SimpleButton,rt?s.svgIcon=n.polygon(i,[-u,0,u,u-1,u-1,2,2,-2,-2,1-u,1-u],[0,-u,0,0,u-1,u-1,2,2,u-1,u-1,0],c,h,1,c,h):s.setIcon(t.pathToImages+r.homeIconFile,r.iconSize),s.setClickHandler(t.goHome,t),r.panControlEnabled&&(p=y=0),s.init(i,f,f,b,y,k,d,p,g,nt,h,c,it),r.panControlEnabled?s.set.translate(f,f):l&&l.translate(0,1.5*f),n.setCN(t,s.set,"pan-home"),w.push(s.set));r.update()},draggerDown:function(){this.chart.stopDrag();this.isDragging=!0},draggerUp:function(){this.isDragging=!1},handleBgUp:function(){var n=this.chart;n.zoomTo(100*Math.pow(this.zoomFactor,this.stepMax-(n.mouseY-this.zoomSet.y-this.set.y-this.buttonSize-this.realStepSize/2)/this.realStepSize))},update:function(){var r=this.zoomFactor;var t,e=this.realStepSize,o=this.stepMax,f=this.dragger,u=this.buttonSize,i=this.chart;i&&(this.isDragging?(i.stopDrag(),t=f.y+(i.mouseY-this.previousY),t=n.fitToBounds(t,u,this.realGridHeight+u),i.zoomTo(100*Math.pow(r,o-(t-u)/e),NaN,NaN,!0)):(r=Math.log(i.zoomLevel()/100)/Math.log(r),t=(o-r)*e+u),this.previousY=i.mouseY,this.previousDY!=t&&f&&(f.translate((this.buttonSize-this.draggerSize)/2,t),this.previousDY=t))}})}(),function(){var n=window.AmCharts;n.SimpleButton=n.Class({construct:function(){},init:function(t,i,r,u,f,e,o,s,h,c,l,a,v){var y=this,p;y.rollOverColor=c;y.color=u;y.container=t;c=t.set();y.set=c;v?(i/=2,u=n.circle(t,i,u,f,e,o,s),u.translate(i,i)):u=n.rect(t,i,r,u,f,e,o,s,h);c.push(u);f=y.iconPath;f&&(p=y.iconSize,e=(i-p)/2,v&&(e=(2*i-p)/2),p=t.image(f,e,(r-p)/2,p,p));y.svgIcon&&(p=y.svgIcon,v?p.translate(i,i):p.translate(i/2,i/2));c.setAttr("cursor","pointer");p&&(c.push(p),p.setAttr("opacity",l),p.node.style.pointerEvents="none");u.mousedown(function(){y.handleDown()}).touchstart(function(){y.handleDown()}).mouseup(function(){y.handleUp()}).touchend(function(){y.handleUp()}).mouseover(function(){y.handleOver()}).mouseout(function(){y.handleOut()});y.bg=u},setIcon:function(n,t){this.iconPath=n;this.iconSize=t},setClickHandler:function(n,t){this.clickHandler=n;this.scope=t},setDownHandler:function(n,t){this.downHandler=n;this.scope=t},handleUp:function(){var n=this.clickHandler;n&&n.call(this.scope)},handleDown:function(){var n=this.downHandler;n&&n.call(this.scope)},handleOver:function(){this.container.chart.skipClick=!0;this.bg.setAttr("fill",this.rollOverColor)},handleOut:function(){this.container.chart.skipClick=!1;this.bg.setAttr("fill",this.color)}})}(),function(){var n=window.AmCharts;n.SmallMap=n.Class({construct:function(t){this.cname="SmallMap";this.mapColor="#e6e6e6";this.rectangleColor="#FFFFFF";this.top=this.right=10;this.minimizeButtonWidth=23;this.backgroundColor="#9A9A9A";this.backgroundAlpha=1;this.borderColor="#FFFFFF";this.iconColor="#000000";this.borderThickness=3;this.borderAlpha=1;this.size=.2;this.enabled=!0;n.applyTheme(this,t,this.cname)},init:function(t,i){var r=this,h,l,c,a,v;if(r.enabled){r.chart=t;r.container=i;r.width=t.realWidth*r.size;r.height=t.realHeight*r.size;n.remove(r.mapSet);n.remove(r.allSet);n.remove(r.set);h=i.set();r.set=h;n.setCN(t,h,"small-map");l=i.set();r.allSet=l;h.push(l);r.buildSVGMap();var u=r.borderThickness,e=r.borderColor,f=n.rect(i,r.width+u,r.height+u,r.backgroundColor,r.backgroundAlpha,u,e,r.borderAlpha);n.setCN(t,f,"small-map-bg");f.translate(-u/2,-u/2);l.push(f);f.toBack();var y,p,f=r.minimizeButtonWidth,o=new n.SimpleButton,s=f/2;t.svgIcons?o.svgIcon=n.line(i,[-s/2,0,s/2],[-s/4,s/4,-s/4],r.iconColor,1,1):o.setIcon(t.pathToImages+"arrowDown.gif",f);o.setClickHandler(r.minimize,r);o.init(i,f,f,e,1,1,e,1);n.setCN(t,o.set,"small-map-down");o=o.set;r.downButtonSet=o;h.push(o);c=new n.SimpleButton;t.svgIcons?c.svgIcon=n.line(i,[-s/2,0,s/2],[s/4,-s/4,s/4],r.iconColor,1,1):c.setIcon(t.pathToImages+"arrowUp.gif",f);c.setClickHandler(r.maximize,r);c.init(i,f,f,e,1,1,e,1);n.setCN(t,c.set,"small-map-up");e=c.set;r.upButtonSet=e;e.hide();h.push(e);isNaN(r.top)||(y=t.getY(r.top)+u,v=0);isNaN(r.bottom)||(y=t.getY(r.bottom,!0)-r.height-u,v=r.height-f+u/2);isNaN(r.left)||(p=t.getX(r.left)+u,a=-u/2);isNaN(r.right)||(p=t.getX(r.right,!0)-r.width-u,a=r.width-f+u/2);u=i.set();u.clipRect(1,1,r.width,r.height);l.push(u);r.rectangleC=u;h.translate(p,y);o.translate(a,v);e.translate(a,v);l.mouseup(function(){r.handleMouseUp()});r.drawRectangle()}else n.remove(r.allSet),n.remove(r.downButtonSet),n.remove(r.upButtonSet)},minimize:function(){this.downButtonSet.hide();this.upButtonSet.show();this.allSet.hide()},maximize:function(){this.downButtonSet.show();this.upButtonSet.hide();this.allSet.show()},buildSVGMap:function(){var f=this.chart,i={fill:this.mapColor,stroke:this.mapColor,"stroke-opacity":1},t=this.container,u=t.set(),r,e;for(n.setCN(f,u,"small-map-image"),r=0;r<f.svgAreas.length;r++)e=t.path(f.svgAreas[r].path).attr(i),u.push(e);this.allSet.push(u);i=u.getBBox();t=this.size*f.mapScale;r=-i.x*t;var e=-i.y*t,o=0,s=0;f.centerMap&&(o=(this.width-i.width*t)/2,s=(this.height-i.height*t)/2);this.mapWidth=i.width*t;this.mapHeight=i.height*t;r+=o;e+=s;this.dx=o;this.dy=s;u.translate(r,e,t);this.mapSet=u;this.mapX=r;this.mapY=e},update:function(){var n=this.chart;if(n){var t=n.zoomLevel(),i=this.width,r=this.height,f=i/(n.realWidth*t),e=n.mapContainer.getBBox(),i=i/t,r=r/t,u=this.rectangle;u.translate(-(n.mapContainer.x+e.x*t)*f+this.dx,-(n.mapContainer.y+e.y*t)*f+this.dy);0<i&&0<r&&(u.setAttr("width",Math.ceil(i+1)),u.setAttr("height",Math.ceil(r+1)));this.rWidth=i;this.rHeight=r}},drawRectangle:function(){var t=this.rectangle;n.remove(t);t=n.rect(this.container,10,10,"#000",0,1,this.rectangleColor,1);n.setCN(this.chart,t,"small-map-rectangle");this.rectangleC.push(t);this.rectangle=t},handleMouseUp:function(){var n=this.chart,t=n.zoomLevel();n.zoomToMapXY(t,(n.mouseX-this.set.x-this.mapX)/this.size+n.diffX*n.mapScale,(n.mouseY-this.set.y-this.mapY)/this.size+n.diffY*n.mapScale)}})}(),function(){var n=window.AmCharts;n.AreasProcessor=n.Class({construct:function(n){this.chart=n},process:function(n){var r;this.updateAllAreas();this.allObjects=[];n=n.areas;r=this.chart;r.outlines=[];for(var t,e=n.length,o=0,f=!1,u=!1,s=0,i=0;i<e;i++)t=n[i],t.value=Number(t.value),t=t.value,isNaN(t)||((!1===f||f<t)&&(f=t),(!1===u||u>t)&&(u=t),o+=Math.abs(t),s++);for(this.minValue=u,this.maxValue=f,isNaN(r.minValue)||(this.minValue=r.minValue),isNaN(r.maxValue)||(this.maxValue=r.maxValue),r.maxValueReal=f,r.minValueReal=u,i=0;i<e;i++)t=n[i],isNaN(t.value)?t.percents=void 0:(t.percents=(t.value-u)/o*100,u==f&&(t.percents=100));for(i=0;i<e;i++)t=n[i],this.createArea(t);r.outlinesToFront()},updateAllAreas:function(){for(var u=this.chart,f=u.areasSettings,s=f.unlistedAreasColor,h=f.unlistedAreasAlpha,c=f.unlistedAreasOutlineColor,l=f.unlistedAreasOutlineAlpha,a=u.svgAreas,e=u.dataProvider,t=e.areas,v={},o,r,i=0;i<t.length;i++)v[t[i].id]=t[i];for(i=0;i<a.length;i++){if(t=a[i],f.preserveOriginalAttributes){if(t.customAttr)for(o in t.customAttr)t.setAttr(o,t.customAttr[o])}else void 0!=s&&t.setAttr("fill",s),isNaN(h)||t.setAttr("fill-opacity",h),void 0!=c&&t.setAttr("stroke",c),isNaN(l)||t.setAttr("stroke-opacity",l),r=f.outlineThickness,f.adjustOutlineThickness&&(r=r/u.zoomLevel()/u.mapScale),t.setAttr("stroke-width",r);n.setCN(u,t,"map-area-unlisted");e.getAreasFromMap&&!v[t.id]&&(r=new n.MapArea(u.theme),r.parentObject=e,r.id=t.id,r.outline=t.outline,e.areas.push(r))}},createArea:function(t){var r=this.chart,f=r.svgAreasById[t.id],i=r.areasSettings,e,a,g;f&&f.className&&(e=r.areasClasses[f.className],e&&(i=n.processObject(e,n.AreasSettings,r.theme)));var s=i.color,h=i.alpha,w=i.outlineThickness,c=i.rollOverColor,b=i.selectedColor,k=i.rollOverAlpha,u=i.rollOverBrightness,v=i.outlineColor,o=i.outlineAlpha,l=i.balloonText,nt=i.selectable,y=i.pattern,d=i.rollOverOutlineColor,p=i.bringForwardOnHover,tt=i.preserveOriginalAttributes;this.allObjects.push(t);t.chart=r;t.baseSettings=i;t.autoZoomReal=void 0==t.autoZoom?i.autoZoom:t.autoZoom;void 0==(e=t.color)&&(e=s);a=t.alpha;(isNaN(a)&&(a=h),h=t.rollOverAlpha,isNaN(h)&&(h=k),isNaN(h)&&(h=a),k=t.rollOverColor,void 0==k&&(k=c),c=t.pattern,void 0==c&&(c=y),y=t.selectedColor,void 0==y&&(y=b),b=t.balloonText,void 0===b&&(b=l),void 0==i.colorSolid||isNaN(t.value)||(l=Math.floor((t.value-this.minValue)/((this.maxValue-this.minValue)/r.colorSteps)),l==r.colorSteps&&l--,l*=1/(r.colorSteps-1),this.maxValue==this.minValue&&(l=1),t.colorReal=n.getColorFade(e,i.colorSolid,l)),void 0!=t.color&&(t.colorReal=t.color),void 0==t.selectable&&(t.selectable=nt),void 0==t.colorReal&&(t.colorReal=s),s=t.outlineColor,void 0==s&&(s=v),v=t.outlineAlpha,isNaN(v)&&(v=o),o=t.outlineThickness,isNaN(o)&&(o=w),w=t.rollOverOutlineColor,void 0==w&&(w=d),d=t.rollOverBrightness,void 0==d&&(d=u),void 0==t.bringForwardOnHover&&(t.bringForwardOnHover=p),void 0==t.preserveOriginalAttributes&&(t.preserveOriginalAttributes=tt),isNaN(i.selectedBrightness)||(y=n.adjustLuminosity(t.colorReal,i.selectedBrightness/100)),t.alphaReal=a,t.rollOverColorReal=k,t.rollOverAlphaReal=h,t.balloonTextReal=b,t.selectedColorReal=y,t.outlineColorReal=s,t.outlineAlphaReal=v,t.rollOverOutlineColorReal=w,t.outlineThicknessReal=o,t.patternReal=c,t.rollOverBrightnessReal=d,t.accessibleLabel||(t.accessibleLabel=i.accessibleLabel),n.processDescriptionWindow(i,t),f&&(u=f.area,p=f.title,t.enTitle=f.title,p&&!t.title&&(t.title=p),(f=r.language)?(p=n.mapTranslations)&&(f=p[f])&&f[t.enTitle]&&(t.titleTr=f[t.enTitle]):t.titleTr=void 0,u))&&(f=t.tabIndex,void 0===f&&(f=i.tabIndex),void 0!==f&&u.setAttr("tabindex",f),t.displayObject=u,t.outline&&(a=0,t.alphaReal=0,t.rollOverAlphaReal=0,t.mouseEnabled=!1,r.outlines.push(u),u.node.setAttribute("pointer-events","none")),t.mouseEnabled&&r.addObjectEventListeners(u,t),void 0!=e&&(g=e),void 0!=t.colorReal&&(g=t.showAsSelected||r.selectedObject==t?t.selectedColorReal:t.colorReal),u.node.setAttribute("class",""),n.setCN(r,u,"map-area"),n.setCN(r,u,"map-area-"+u.id),i.adjustOutlineThickness&&(o=o/r.zoomLevel()/r.mapScale),t.preserveOriginalAttributes||(u.setAttr("fill",g),u.setAttr("stroke",s),u.setAttr("stroke-opacity",v),u.setAttr("stroke-width",o),u.setAttr("fill-opacity",a)),r.makeObjectAccessible(t),c&&u.pattern(c,r.mapScale,r.path),t.hidden&&u.hide())}})}(),function(){var n=window.AmCharts;n.AreasSettings=n.Class({construct:function(t){this.cname="AreasSettings";this.alpha=1;this.autoZoom=!1;this.balloonText="[[title]]";this.color="#FFCC00";this.colorSolid="#990000";this.unlistedAreasAlpha=1;this.unlistedAreasColor="#DDDDDD";this.outlineColor="#FFFFFF";this.outlineThickness=this.outlineAlpha=1;this.selectedColor=this.rollOverOutlineColor="#CC0000";this.unlistedAreasOutlineColor="#FFFFFF";this.unlistedAreasOutlineAlpha=1;this.descriptionWindowWidth=250;this.bringForwardOnHover=this.adjustOutlineThickness=!0;this.accessibleLabel="[[title]] [[value]] [[description]]";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.ImagesProcessor=n.Class({construct:function(n){this.chart=n;this.reset()},process:function(n){for(var i=n.images,r,t=i.length-1;0<=t;t--)r=i[t],this.createImage(r,t),r.parentArray=i;this.counter=t;n.parentObject&&n.remainVisible&&this.process(n.parentObject)},createImage:function(t,i){var s,y,r;t=n.processObject(t,n.MapImage);t.arrays=[];isNaN(i)&&(this.counter++,i=this.counter);var u=this.chart,a=u.container,g=u.mapImagesContainer,ot=u.stageImagesContainer,f=u.imagesSettings;t.remove&&t.remove();var p=f.color,w=f.alpha,nt=f.rollOverColor,b=f.rollOverOutlineColor,it=f.selectedColor,d=f.balloonText,tt=f.outlineColor,h=f.outlineAlpha,et=f.outlineThickness,k=f.selectedScale,c=f.rollOverScale,v=f.selectable,rt=f.labelPosition,ut=f.labelColor,e=f.labelFontSize,st=f.bringForwardOnHover,ft=f.labelRollOverColor,l=f.rollOverBrightness,o=f.selectedLabelColor;return t.index=i,t.chart=u,t.baseSettings=u.imagesSettings,s=a.set(),t.displayObject=s,y=t.color,void 0==y&&(y=p),p=t.alpha,isNaN(p)&&(p=w),void 0==t.bringForwardOnHover&&(t.bringForwardOnHover=st),w=t.outlineAlpha,isNaN(w)&&(w=h),h=t.rollOverColor,void 0==h&&(h=nt),nt=t.selectedColor,void 0==nt&&(nt=it),it=t.balloonText,void 0===it&&(it=d),d=t.outlineColor,void 0==d&&(d=tt),t.outlineColorReal=d,tt=t.outlineThickness,isNaN(tt)&&(tt=et),(et=t.labelPosition)||(et=rt),rt=t.labelColor,void 0==rt&&(rt=ut),ut=t.labelRollOverColor,void 0==ut&&(ut=ft),ft=t.selectedLabelColor,void 0==ft&&(ft=o),o=t.labelFontSize,isNaN(o)&&(o=e),e=t.selectedScale,isNaN(e)&&(e=k),k=t.rollOverScale,isNaN(k)&&(k=c),c=t.rollOverBrightness,void 0==c&&(c=l),void 0==t.selectable&&(t.selectable=v),t.colorReal=y,isNaN(f.selectedBrightness)||(nt=n.adjustLuminosity(t.colorReal,f.selectedBrightness/100)),t.alphaReal=p,t.rollOverColorReal=h,t.balloonTextReal=it,t.selectedColorReal=nt,t.labelColorReal=rt,t.labelRollOverColorReal=ut,t.selectedLabelColorReal=ft,t.labelFontSizeReal=o,t.labelPositionReal=et,t.selectedScaleReal=e,t.rollOverScaleReal=k,t.rollOverOutlineColorReal=b,t.rollOverBrightnessReal=c,t.accessibleLabel||(t.accessibleLabel=f.accessibleLabel),n.processDescriptionWindow(f,t),t.centeredReal=void 0==t.centered?f.centered:t.centered,b=t.type,c=t.imageURL,k=t.svgPath,e=t.width,o=t.height,v=t.scale,isNaN(t.percentWidth)||(e=t.percentWidth/100*u.realWidth),isNaN(t.percentHeight)||(o=t.percentHeight/100*u.realHeight),c||b||k||(b="circle",e=1,w=p=0),h=l=0,f=t.selectedColorReal,b?(isNaN(e)&&(e=10),isNaN(o)&&(o=10),"kilometers"==t.widthAndHeightUnits&&(e=u.kilometersToPixels(t.width),o=u.kilometersToPixels(t.height)),"miles"==t.widthAndHeightUnits&&(e=u.milesToPixels(t.width),o=u.milesToPixels(t.height)),"circle"!=b&&"bubble"!=b||(o=e),r=this.createPredefinedImage(y,d,tt,b,e,o),h=l=0,t.centeredReal?(isNaN(t.right)||(l=e*v),isNaN(t.bottom)||(h=o*v)):(l=e*v/2,h=o*v/2),r.translate(l,h,v,!0)):c?(isNaN(e)&&(e=10),isNaN(o)&&(o=10),r=a.image(c,0,0,e,o),r.node.setAttribute("preserveAspectRatio","none"),r.setAttr("opacity",p),t.centeredReal&&(l=isNaN(t.right)?-e/2:e/2,h=isNaN(t.bottom)?-o/2:o/2,r.translate(l,h,NaN,!0))):k&&(r=a.path(k),c=r.getBBox(),t.centeredReal?(l=-c.x*v-c.width*v/2,isNaN(t.right)||(l=-l),h=-c.y*v-c.height*v/2,isNaN(t.bottom)||(h=-h)):l=h=0,r.translate(l,h,v,!0),r.x=l,r.y=h),r&&(s.push(r),t.image=r,r.setAttr("stroke-opacity",w),r.setAttr("stroke-width",tt),r.setAttr("stroke",d),r.setAttr("fill-opacity",p),"bubble"!=b&&r.setAttr("fill",y),n.setCN(u,r,"map-image"),void 0!=t.id&&n.setCN(u,r,"map-image-"+t.id)),y=t.labelColorReal,!t.showAsSelected&&u.selectedObject!=t||void 0==f||(r&&r.setAttr("fill",f),y=t.selectedLabelColorReal),r=null,void 0!==t.label&&(r=n.text(a,t.label,y,u.fontFamily,t.labelFontSizeReal,t.labelAlign),n.setCN(u,r,"map-image-label"),void 0!==t.id&&n.setCN(u,r,"map-image-label-"+t.id),y=t.labelBackgroundAlpha,(p=t.labelBackgroundColor)&&0<y&&(w=r.getBBox(),a=n.rect(a,w.width+16,w.height+10,p,y),n.setCN(u,a,"map-image-label-background"),void 0!=t.id&&n.setCN(u,a,"map-image-label-background-"+t.id),s.push(a),t.labelBG=a),t.imageLabel=r,s.push(r),n.setCN(u,s,"map-image-container"),void 0!=t.id&&n.setCN(u,s,"map-image-container-"+t.id),this.labelsToReposition.push(t),t.arrays.push({arr:this.labelsToReposition,el:t})),a=!(!isNaN(t.latitude)&&!isNaN(t.longitude)),t.lineId&&(r=this.chart.getObjectById(t.lineId))&&0<r.longitudes.length&&(a=!1),a?ot.push(s):g.push(s),s.toBack(),s&&(s.rotation=t.rotation,isNaN(t.rotation)||s.rotate(t.rotation),t.arrays.push({arr:this.allSvgObjects,el:s}),this.allSvgObjects.push(s)),this.allObjects.push(t),u.makeObjectAccessible(t),g=t.tabIndex,void 0===g&&(g=u.imagesSettings.tabIndex),void 0!==g&&s.setAttr("tabindex",g),t.arrays.push({arr:this.allObjects,el:t}),isNaN(t.longitude)||isNaN(t.latitude)||!t.fixedSize||(t.objToResize={image:s,mapImage:t,scale:1},this.objectsToResize.push(t.objToResize),t.arrays.push({arr:this.objectsToResize,el:t.objToResize})),this.updateSizeAndPosition(t),t.mouseEnabled&&u.addObjectEventListeners(s,t),t.hidden&&s.hide(),n.removeFromArray(u.updatableImages,t),t.animateAlongLine&&(u.updatableImages.push(t),t.delayAnimateAlong()),t},updateSizeAndPosition:function(t){var h,u=this.chart,o=t.displayObject,f=u.getX(t.left),i=u.getY(t.top),c=t.image.getBBox(),e;isNaN(t.right)||(f=u.getX(t.right,!0)-c.width*t.scale);isNaN(t.bottom)||(i=u.getY(t.bottom,!0)-c.height*t.scale);var r,l,a=t.longitude,v=t.latitude,s=t.positionOnLine,c=t.imageLabel,y=this.chart.zoomLevel();(t.lineId&&(t.line=this.chart.getObjectById(t.lineId)),t.line&&t.line.getCoordinates)&&(t.line.chart=u,e=t.line.getCoordinates(s,t.lineSegment),e&&(a=u.coordinateToLongitude(e.x),v=u.coordinateToLatitude(e.y),r=e.x,l=e.y,t.animateAngle&&(h=n.radiansToDegrees(e.angle))));isNaN(h)||o.rotate(h+t.extraAngle);isNaN(f)||isNaN(i)?isNaN(v)||isNaN(a)||(i=u.coordinatesToXY(a,v),f=i.x,i=i.y,isNaN(r)||(f=r),isNaN(l)||(i=l),t.fixedSize?(r=t.positionScale,isNaN(r)?r=0:(--r,r*=1-2*Math.abs(s-.5)),(s=t.objectToResize)&&(s.scale=1+r),o.translate(f,i,1/y+r,!0)):o.translate(f,i,NaN,!0)):o.translate(f,i,NaN,!0);this.positionLabel(c,t,t.labelPositionReal)},positionLabel:function(n,t,i){if(n){var e=t.image,u=0,f=0,o=0,r=0;e&&(r=e.getBBox(),f=e.y+r.y,u=e.x+r.x,o=r.width,r=r.height,t.svgPath&&(o*=t.scale,r*=t.scale));var e=n.getBBox(),s=e.width,h=e.height;"right"==i&&(u+=o+s/2+5,f+=r/2-2);"left"==i&&(u+=-s/2-5,f+=r/2-2);"top"==i&&(f-=h/2+3,u+=o/2);"bottom"==i&&(f+=r+h/2,u+=o/2);"middle"==i&&(u+=o/2,f+=r/2);n.translate(u+t.labelShiftX,f+t.labelShiftY,NaN,!0);n=t.labelFontSizeReal;t.labelBG&&t.labelBG.translate(u-e.width/2+t.labelShiftX-9,f-n/2+t.labelShiftY-4,NaN,!0)}},createPredefinedImage:function(t,i,r,u,f,e){var o,s=this.chart.container;switch(u){case"circle":o=n.circle(s,f/2,t,1,r,i,1);break;case"rectangle":o=n.polygon(s,[-f/2,f/2,f/2,-f/2],[e/2,e/2,-e/2,-e/2],t,1,r,i,1,0,!0);break;case"bubble":o=n.circle(s,f/2,t,1,r,i,1,!0);break;case"hexagon":f/=Math.sqrt(3);o=n.polygon(s,[.866*f,0*f,-.866*f,-.866*f,0*f,.866*f],[.5*f,1*f,.5*f,-.5*f,-1*f,-.5*f],t,1,r,i,1)}return o},reset:function(){this.objectsToResize=[];this.allSvgObjects=[];this.allObjects=[];this.allLabels=[];this.labelsToReposition=[]}})}(),function(){var n=window.AmCharts;n.ImagesSettings=n.Class({construct:function(t){this.cname="ImagesSettings";this.balloonText="[[title]]";this.alpha=1;this.borderAlpha=0;this.borderThickness=1;this.labelPosition="right";this.labelColor="#000000";this.labelFontSize=11;this.color="#000000";this.labelRollOverColor="#00CC00";this.centered=!0;this.rollOverScale=this.selectedScale=1;this.descriptionWindowWidth=250;this.bringForwardOnHover=!0;this.outlineColor="transparent";this.adjustAnimationSpeed=!1;this.baseAnimationDistance=500;this.pauseDuration=0;this.easingFunction=n.easeInOutQuad;this.animationDuration=3;this.positionScale=1;this.accessibleLabel="[[title]] [[description]]";n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.LinesProcessor=n.Class({construct:function(n){this.chart=n;this.reset()},process:function(n){for(var i=n.lines,r,t=0;t<i.length;t++)r=i[t],this.createLine(r,t),r.parentArray=i;this.counter=t;n.parentObject&&n.remainVisible&&this.process(n.parentObject)},createLine:function(t,i){var k,nt,d,ht,w,r,a,v,o,ft,ot;t=n.processObject(t,n.MapLine);isNaN(i)&&(this.counter++,i=this.counter);t.index=i;t.remove&&t.remove();var l=this.chart,s=l.linesSettings,ut=this.objectsToResize,yt=l.mapLinesContainer,pt=l.stageLinesContainer,a=s.thickness,p=s.dashLength,g=s.arrow,y=s.arrowSize,it=s.arrowColor,e=s.arrowAlpha,tt=s.color,r=s.alpha,et=s.rollOverColor,h=s.selectedColor,u=s.rollOverAlpha,rt=s.balloonText,f=s.bringForwardOnHover,b=s.arc,c=s.rollOverBrightness,st=l.container;if(t.chart=l,t.baseSettings=s,k=st.set(),t.displayObject=k,nt=t.tabIndex,void 0===nt&&(nt=s.tabIndex),void 0!==nt&&k.setAttr("tabindex",nt),this.allSvgObjects.push(k),t.arrays.push({arr:this.allSvgObjects,el:k}),this.allObjects.push(t),t.arrays.push({arr:this.allObjects,el:t}),t.mouseEnabled&&l.addObjectEventListeners(k,t),t.remainVisible||l.selectedObject==t.parentObject){if(nt=t.thickness,isNaN(nt)&&(nt=a),a=t.dashLength,isNaN(a)&&(a=p),p=t.color,void 0==p&&(p=tt),tt=t.alpha,isNaN(tt)&&(tt=r),r=t.rollOverAlpha,isNaN(r)&&(r=u),isNaN(r)&&(r=tt),u=t.rollOverColor,void 0==u&&(u=et),et=t.selectedColor,void 0==et&&(et=h),h=t.balloonText,void 0===h&&(h=rt),rt=Number(t.arc),isNaN(rt)&&(rt=b),b=t.arrow,(!b||"none"==b&&"none"!=g)&&(b=g),g=t.arrowColor,void 0==g&&(g=it),void 0==g&&(g=p),it=t.arrowAlpha,isNaN(it)&&(it=e),isNaN(it)&&(it=tt),e=t.arrowSize,isNaN(e)&&(e=y),y=t.rollOverBrightness,void 0==y&&(y=c),t.colorReal=p,t.arrowColor=g,isNaN(s.selectedBrightness)||(et=n.adjustLuminosity(t.colorReal,s.selectedBrightness/100)),t.alphaReal=tt,t.rollOverColorReal=u,t.rollOverAlphaReal=r,t.balloonTextReal=h,t.selectedColorReal=et,t.thicknessReal=nt,t.rollOverBrightnessReal=y,t.accessibleLabel||(t.accessibleLabel=s.accessibleLabel),void 0===t.shiftArrow&&(t.shiftArrow=s.shiftArrow),void 0==t.bringForwardOnHover&&(t.bringForwardOnHover=f),n.processDescriptionWindow(s,t),f=this.processCoordinates(t.x,l.realWidth),c=this.processCoordinates(t.y,l.realHeight),y=t.longitudes,s=t.latitudes,0<(r=y.length))for(f=[],c=[],u=0;u<r;u++)h=l.coordinatesToXY(y[u],s[u]),f.push(h.x),c.push(h.y);if(0<f.length){if(t.segments=f.length,n.dx=0,n.dy=0,r=10*(1-Math.abs(rt)),10<=r&&(r=NaN),1>r&&(r=1),t.arcRadius=[],t.distances=[],y=l.mapContainer.scale,isNaN(r)){for(r=0;r<f.length-1;r++)ht=Math.sqrt(Math.pow(f[r+1]-f[r],2)+Math.pow(c[r+1]-c[r],2)),t.distances[r]=ht;r=n.line(st,f,c,p,1,nt/y,a,!1,!1,!0);p=n.line(st,f,c,p,.001,5/y,a,!1,!1,!0);r.setAttr("stroke-linecap","round")}else{for(u=1,h={fill:"none",stroke:p,"stroke-opacity":1,"stroke-width":nt/y,"fill-opacity":0,"stroke-linecap":"round"},void 0!==a&&0<a&&(h["stroke-dasharray"]=a),a="",v=0;v<f.length-1;v++){var ct=f[v],lt=f[v+1],at=c[v],vt=c[v+1];ht=Math.sqrt(Math.pow(lt-ct,2)+Math.pow(vt-at,2));w=ht/2*r;d=270+180*Math.acos(ht/2/w)/Math.PI;isNaN(d)&&(d=270);u=ct<=lt?0>rt?1:0:0<rt?1:0;0<rt&&(d=-d);a+="M"+ct+","+at+"A"+w+","+w+",0,0,"+u+","+lt+","+vt;t.arcRadius[v]=w;t.distances[v]=ht}r=st.path(a).attr(h);p=st.path(a).attr({"fill-opacity":0,stroke:p,"stroke-width":5/y,"stroke-opacity":.001,fill:"none"})}(n.setCN(l,r,"map-line"),void 0!=t.id&&n.setCN(l,r,"map-line-"+t.id),n.dx=.5,n.dy=.5,k.push(r),k.push(p),r.setAttr("opacity",tt),"none"!=b)&&("end"!=b&&"both"!=b||(u=f[f.length-1],v=c[c.length-1],1<f.length?(h=f[f.length-2],o=c[c.length-2]):(h=u,o=v),o=180*Math.atan((v-o)/(u-h))/Math.PI,isNaN(d)||(o+=d),ft=u,ot=v,o=0>u-h?o-90:o+90),tt=[-e/2-.5,-.5,e/2-.5],a=[e,-.5,e],t.shiftArrow&&"middle"!=b&&(a=[0,1.2*-e,0]),"both"==b&&(e=n.polygon(st,tt,a,g,it,1,g,it,void 0,!0),k.push(e),e.translate(ft,ot,1/y,!0),isNaN(o)||e.rotate(o),n.setCN(l,r,"map-line-arrow"),void 0!=t.id&&n.setCN(l,r,"map-line-arrow-"+t.id),t.fixedSize&&ut.push(e)),"start"!=b&&"both"!=b||(e=f[0],ot=c[0],1<f.length?(u=f[1],ft=c[1]):(u=e,ft=ot),o=180*Math.atan((ot-ft)/(e-u))/Math.PI,isNaN(d)||(o-=d),ft=e,o=0>e-u?o-90:o+90),"middle"==b&&(u=f[f.length-1],v=c[c.length-1],1<f.length?(h=f[f.length-2],o=c[c.length-2]):(h=u,o=v),ft=h+(u-h)/2,ot=o+(v-o)/2,o=180*Math.atan2(v-o,u-h)/Math.PI,isNaN(d)||(d=ht/2,w-=Math.sqrt(w*w-d*d),u>=h?0>rt&&(w=-w):0<rt&&(w=-w),ft-=Math.sin(o/180*Math.PI)*w,ot+=Math.cos(o/180*Math.PI)*w),o+=90),e=n.polygon(st,tt,a,g,it,1,g,it,void 0,!0),n.setCN(l,r,"map-line-arrow"),void 0!=t.id&&n.setCN(l,r,"map-line-arrow-"+t.id),k.push(e),e.translate(ft,ot,1/y,!0),isNaN(o)||e.rotate(o),t.fixedSize&&(ut.push(e),t.arrays.push({arr:ut,el:e})),t.arrowSvg=e);t.fixedSize&&r&&(ut={line:r,thickness:nt},this.linesToResize.push(ut),t.arrays.push({arr:this.linesToResize,el:ut}),ut={line:p,thickness:5},this.linesToResize.push(ut),t.arrays.push({arr:this.linesToResize,el:ut}));t.lineSvg=r;t.showAsSelected&&!isNaN(et)&&r.setAttr("stroke",et);0<s.length?yt.push(k):pt.push(k);t.hidden&&k.hide();l.makeObjectAccessible(t)}}},processCoordinates:function(n,t){for(var f=[],u,i,r=0;r<n.length;r++)u=n[r],i=Number(u),isNaN(i)&&(i=Number(u.replace("%",""))*t/100),isNaN(i)||f.push(i);return f},reset:function(){this.objectsToResize=[];this.allSvgObjects=[];this.allObjects=[];this.linesToResize=[]}})}(),function(){var n=window.AmCharts;n.LinesSettings=n.Class({construct:function(t){this.cname="LinesSettings";this.balloonText="[[title]]";this.thickness=1;this.dashLength=0;this.arrowSize=10;this.arrowAlpha=1;this.arrow="none";this.color="#990000";this.descriptionWindowWidth=250;this.bringForwardOnHover=!0;n.applyTheme(this,t,this.cname)}})}(),function(){var n=window.AmCharts;n.MapObject=n.Class({construct:function(t){this.fixedSize=this.mouseEnabled=!0;this.images=[];this.lines=[];this.areas=[];this.remainVisible=!0;this.passZoomValuesToTarget=!1;this.objectType=this.cname;n.applyTheme(this,t,"MapObject");this.arrays=[]},deleteObject:function(){if(this.remove(),this.parentArray&&n.removeFromArray(this.parentArray,this),this.arrays)for(var t=0;t<this.arrays.length;t++)n.removeFromArray(this.arrays[t].arr,this.arrays[t].el);this.arrays=[]}})}(),function(){var n=window.AmCharts;n.MapArea=n.Class({inherits:n.MapObject,construct:function(t){this.cname="MapArea";n.MapArea.base.construct.call(this,t);n.applyTheme(this,t,this.cname)},validate:function(){this.chart.areasProcessor.createArea(this)}})}(),function(){var n=window.AmCharts;n.MapLine=n.Class({inherits:n.MapObject,construct:function(t){this.cname="MapLine";this.longitudes=[];this.latitudes=[];this.x=[];this.y=[];this.segments=0;this.arrow="none";n.MapLine.base.construct.call(this,t);n.applyTheme(this,t,this.cname)},validate:function(){this.chart.linesProcessor.createLine(this)},remove:function(){var n=this.displayObject;n&&n.remove()},getCoordinates:function(n,t){var f,i,e,u,c,s,o,l;if(isNaN(t)&&(t=0),isNaN(this.arc),!isNaN(n)){1<this.longitudes.length?(i=this.chart.coordinatesToXY(this.longitudes[t],this.latitudes[t]),o=this.chart.coordinatesToXY(this.longitudes[t+1],this.latitudes[t+1]),f=i.x,e=o.x,i=i.y,u=o.y):1<this.x.length&&(f=this.x[t],e=this.x[t+1],i=this.y[t],u=this.y[t+1]);c=f+(e-f)*n;s=i+(u-i)*n;var h=Math.atan2(u-i,e-f),o=this.arc,r=10*(1-Math.abs(o));return(10<=r&&(r=NaN),1>r&&(r=1),isNaN(o)||0===o||isNaN(r))||(l=Math.sqrt(Math.pow(e-f,2)+Math.pow(u-i,2)),s=l/2*r+.001,h=l/2,r=-Math.sqrt(s*s-h*h),h=180*Math.atan2(u-i,e-f)/Math.PI,e>=f?0>o&&(r=-r):0<o&&(r=-r),c=f+.5*(e-f)-Math.sin(h/180*Math.PI)*r,r=i+.5*(u-i)+Math.cos(h/180*Math.PI)*r,i=(180*Math.atan2(i-r,f-c)/Math.PI+360)%360,u=(180*Math.atan2(u-r,e-c)/Math.PI+360)%360,u<i&&(u+=360),180<u-i&&(i+=360),i=(i+(u-i)*n)/180*Math.PI,h=e>=f?0>o?i+Math.PI/2:i-Math.PI/2:0<o?i+Math.PI/2:i-Math.PI/2,c+=s*Math.cos(i),s=r+s*Math.sin(i)),this.distance=l,{x:c,y:s,angle:h}}},fixToStage:function(){var n,t;if(0<this.latitudes.length){for(this.y=[],n=0;n<this.latitudes.length;n++)t=this.chart.coordinatesToStageXY(this.longitudes[n],this.latitudes[n]),this.y.push(t.y),this.x.push(t.x);this.latitudes=[];this.longitudes=[]}this.validate()},fixToMap:function(){var n,t;if(0<this.y.length){for(this.latitudes=[],n=0;n<this.y.length;n++)t=this.chart.stageXYToCoordinates(this.x[n],this.y[n]),this.latitudes.push(t.latitude),this.longitudes.push(t.longitude);this.y=[];this.x=[]}this.validate()}})}(),function(){var n=window.AmCharts;n.MapImage=n.Class({inherits:n.MapObject,construct:function(t){this.cname="MapImage";this.scale=1;this.widthAndHeightUnits="pixels";this.labelShiftY=this.labelShiftX=0;this.positionOnLine=.5;this.direction=1;this.lineSegment=this.extraAngle=0;this.animateAngle=!0;this.createEvents("animationStart","animationEnd");n.MapImage.base.construct.call(this,t);n.applyTheme(this,t,this.cname);this.delayCounter=0},validate:function(){this.chart.imagesProcessor.createImage(this)},updatePosition:function(){this.chart.imagesProcessor.updateSizeAndPosition(this)},remove:function(){var n=this.displayObject;n&&n.remove();(n=this.imageLabel)&&n.remove()},animateTo:function(n,t,i,r){isNaN(i)||(this.animationDuration=i);r&&(this.easingFunction=r);this.finalX=n;this.finalY=t;isNaN(this.longitude)||(this.initialX=this.longitude);isNaN(this.left)||(this.initialX=this.left);isNaN(this.right)||(this.initialX=this.right);isNaN(this.latitude)||(this.initialY=this.latitude);isNaN(this.top)||(this.initialY=this.top);isNaN(this.bottom)||(this.initialY=this.bottom);this.animatingAlong=!1;this.animate()},animateAlong:function(n,t,i){1==this.positionOnLine&&this.flipDirection&&(this.direction=-1,this.extraAngle=180);isNaN(t)||(this.animationDuration=t);i&&(this.easingFunction=i);n&&(this.line=this.chart.getObjectById(n));this.animateAlongLine=this.line;this.animatingAlong=!0;this.animate()},animate:function(){var i=this.chart.imagesSettings,t=this.animationDuration;isNaN(t)&&(t=i.animationDuration);this.totalFrames=t*n.updateRate;t=1;this.line&&i.adjustAnimationSpeed&&(this.line.distances&&(t=this.line.distances[this.lineSegment]*this.chart.zoomLevel(),t=Math.abs(t/i.baseAnimationDistance)),this.totalFrames=Math.round(t*this.totalFrames));this.frame=0;this.fire({type:"animationStart",chart:this.chart,image:this,lineSegment:this.lineSegment,direction:this.direction})},update:function(){var n=this.totalFrames,t,i;(this.frame++,this.delayCounter--,0===this.delayCounter&&this.animateAlong(),0<this.delayCounter)||(this.frame<=n?(t=this.chart.imagesSettings,i=this.easingFunction,i||(i=t.easingFunction),n=i(0,this.frame,0,1,n),-1==this.direction&&(n=1-n),this.animatingAlong?this.positionOnLine=n:(t=this.initialX+(this.finalX-this.initialX)*n,isNaN(this.longitude)||(this.longitude=t),isNaN(this.left)||(this.left=t),isNaN(this.right)||(this.right=t),n=this.initialY+(this.finalY-this.initialY)*n,isNaN(this.latitude)||(this.latitude=n),isNaN(this.top)||(this.top=n),isNaN(this.bottom)||(this.bottom=n)),this.updatePosition()):this.frame==n+1&&(this.fire({type:"animationEnd",chart:this.chart,image:this,lineSegment:this.lineSegment,direction:this.direction}),this.line&&this.animatingAlong&&(1==this.direction?this.lineSegment<this.line.segments-2?(this.lineSegment++,this.delayAnimateAlong(),this.positionOnLine=0):this.flipDirection?(this.direction=-1,this.extraAngle=180,this.delayAnimateAlong()):this.loop&&(this.delayAnimateAlong(),this.lineSegment=0):0<this.lineSegment?(this.lineSegment--,this.delayAnimateAlong(),this.positionOnLine=0):this.loop&&this.flipDirection?(this.direction=1,this.extraAngle=0,this.delayAnimateAlong()):this.loop&&this.delayAnimateAlong())))},delayAnimateAlong:function(){this.animateAlongLine&&(this.delayCounter=this.chart.imagesSettings.pauseDuration*n.updateRate)},fixToStage:function(){if(!isNaN(this.longitude)){var n=this.chart.coordinatesToStageXY(this.longitude,this.latitude);this.left=n.x;this.top=n.y;this.latitude=this.longitude=void 0}this.validate()},fixToMap:function(){if(!isNaN(this.left)){var n=this.chart.stageXYToCoordinates(this.left,this.top);this.longitude=n.longitude;this.latitude=n.latitude;this.top=this.left=void 0}this.validate()}})}(),function(){var n=window.AmCharts;n.degreesToRadians=function(n){return n/180*Math.PI};n.radiansToDegrees=function(n){return n/Math.PI*180};n.getColorFade=function(t,i,r){var f=n.hex2RGB(i),e,u;i=f[0];var o=f[1],f=f[2],u=n.hex2RGB(t);return t=u[0],e=u[1],u=u[2],t+=Math.round((i-t)*r),e+=Math.round((o-e)*r),u+=Math.round((f-u)*r),"rgb("+t+","+e+","+u+")"};n.hex2RGB=function(n){return[parseInt(n.substring(1,3),16),parseInt(n.substring(3,5),16),parseInt(n.substring(5,7),16)]};n.processDescriptionWindow=function(n,t){isNaN(t.descriptionWindowX)&&(t.descriptionWindowX=n.descriptionWindowX);isNaN(t.descriptionWindowY)&&(t.descriptionWindowY=n.descriptionWindowY);isNaN(t.descriptionWindowLeft)&&(t.descriptionWindowLeft=n.descriptionWindowLeft);isNaN(t.descriptionWindowRight)&&(t.descriptionWindowRight=n.descriptionWindowRight);isNaN(t.descriptionWindowTop)&&(t.descriptionWindowTop=n.descriptionWindowTop);isNaN(t.descriptionWindowBottom)&&(t.descriptionWindowBottom=n.descriptionWindowBottom);isNaN(t.descriptionWindowWidth)&&(t.descriptionWindowWidth=n.descriptionWindowWidth);isNaN(t.descriptionWindowHeight)&&(t.descriptionWindowHeight=n.descriptionWindowHeight)};n.normalizePath=function(t){for(var f,e,o="",v=n.parsePath(t.getAttribute("d")),s=1/0,h=-1/0,c=1/0,l=-1/0,a=0;a<v.length;a++){var i=v[a],r=i.letter,u=i.x,i=i.y;"h"==r&&(r="L",u+=f,i=e);"H"==r&&(r="L",i=e);"v"==r&&(r="L",u=f,i+=e);"V"==r&&(r="L",u=f);"m"!==r&&"l"!==r||(r=r.toUpperCase(),u+=f,i+=e);u=n.roundTo(u,3);i=n.roundTo(i,3);f=u;e=i;u>h&&(h=u);u<s&&(s=u);i>l&&(l=i);i<c&&(c=i);o="z"==r.toLowerCase()?o+"Z ":o+(r+" ")+u+" "+i+" "}return t.setAttribute("d",o),{minX:s,maxX:h,minY:c,maxY:l}};n.mercatorLatitudeToRadians=function(t){return Math.log(Math.tan(Math.PI/4+n.degreesToRadians(t)/2))};n.parsePath=function(n){var u,r,t,i;for(n=n.match(/([MmLlHhVvZz]{1}[0-9.,\-\s]*)/g),u=[],r=0;r<n.length;r++){t=n[r].match(/([MmLlHhVvZz]{1})|([0-9.\-]+)/g);i={letter:t[0]};switch(t[0]){case"Z":case"Z":case"z":break;case"V":case"v":i.y=Number(t[1]);break;case"H":case"h":i.x=Number(t[1]);break;default:i.x=Number(t[1]);i.y=Number(t[2])}u.push(i)}return u};n.acos=function(n){return 1<n?0:-1>n?Math.PI:Math.acos(n)};n.asin=function(n){return 1<n?Math.PI/2:-1>n?-Math.PI/2:Math.asin(n)};n.sinci=function(n){return n?n/Math.sin(n):1};n.asqrt=function(n){return 0<n?Math.sqrt(n):0};n.winkel3=function(t,i){var r=n.aitoff(t,i);return[(r[0]+t/Math.PI*2)/2,(r[1]+i)/2]};n.winkel3.invert=function(t,i){var f=t,e=i,nt=25,p=Math.PI/2;do var o,r=Math.cos(e),u=Math.sin(e),w=Math.sin(2*e),a=u*u,y=r*r,b=Math.sin(f),c=Math.cos(f/2),l=Math.sin(f/2),k=l*l,s=1-y*c*c,h=s?n.acos(r*c)*Math.sqrt(o=1/s):o=0,s=.5*(2*h*r*l+f/p)-t,d=.5*(h*u+e)-i,g=.5*o*(y*k+h*r*c*a)+.5/p,v=o*(b*w/4-h*u*l),u=.125*o*(w*l-h*u*y*b),a=.5*o*(a*c+h*k*r)+.5,r=v*u-a*g,v=(d*v-s*a)/r,s=(s*u-d*g)/r,f=f-v,e=e-s;while((1e-6<Math.abs(v)||1e-6<Math.abs(s))&&0<--nt);return[f,e]};n.aitoff=function(t,i){var r=Math.cos(i),u=n.sinci(n.acos(r*Math.cos(t/=2)));return[2*r*Math.sin(t)*u,Math.sin(i)*u]};n.orthographic=function(n,t){return[Math.cos(t)*Math.sin(n),Math.sin(t)]};n.equirectangular=function(n,t){return[n,t]};n.equirectangular.invert=function(n,t){return[n,t]};n.eckert5=function(n,t){var i=Math.PI;return[n*(1+Math.cos(t))/Math.sqrt(2+i),2*t/Math.sqrt(2+i)]};n.eckert5.invert=function(n,t){var i=Math.sqrt(2+Math.PI),r=t*i/2;return[i*n/(1+Math.cos(r)),r]};n.eckert6=function(n,t){for(var r=Math.PI,i=(1+r/2)*Math.sin(t),u=0,f=1/0;10>u&&1e-5<Math.abs(f);u++)t-=f=(t+Math.sin(t)-i)/(1+Math.cos(t));return i=Math.sqrt(2+r),[n*(1+Math.cos(t))/i,2*t/i]};n.eckert6.invert=function(t,i){var r=1+Math.PI/2,u=Math.sqrt(r/2);return[2*t*u/(1+Math.cos(i*=u)),n.asin((i+Math.sin(i))/r)]};n.mercator=function(n,t){return t>=Math.PI/2-.02&&(t=Math.PI/2-.02),t<=-Math.PI/2+.02&&(t=-Math.PI/2+.02),[n,Math.log(Math.tan(Math.PI/4+t/2))]};n.mercator.invert=function(n,t){return[n,2*Math.atan(Math.exp(t))-Math.PI/2]};n.miller=function(n,t){return[n,1.25*Math.log(Math.tan(Math.PI/4+.4*t))]};n.miller.invert=function(n,t){return[n,2.5*Math.atan(Math.exp(.8*t))-.625*Math.PI]};n.eckert3=function(n,t){var i=Math.PI,r=Math.sqrt(i*(4+i));return[2/r*n*(1+Math.sqrt(1-4*t*t/(i*i))),4/r*t]};n.eckert3.invert=function(t,i){var r=Math.PI,u=Math.sqrt(r*(4+r))/2;return[t*u/(1+n.asqrt(1-i*i*(4+r)/(4*r))),i*u/2]}}(),function(){var n=window.AmCharts;n.MapData=n.Class({inherits:n.MapObject,construct:function(){this.cname="MapData";n.MapData.base.construct.call(this);this.projection="mercator";this.topLatitude=90;this.bottomLatitude=-90;this.leftLongitude=-180;this.rightLongitude=180;this.zoomLevel=1;this.getAreasFromMap=!1}})}(),function(){var n=window.AmCharts;n.DescriptionWindow=n.Class({construct:function(){},show:function(n,t,i,r){var e=this,f,o,s,u;e.chart=n;f=document.createElement("div");f.style.position="absolute";o=n.classNamePrefix+"-description-";f.className="ammapDescriptionWindow "+o+"div";e.div=f;t.appendChild(f);s=".gif";n.svgIcons&&(s=".svg");u=document.createElement("img");u.className="ammapDescriptionWindowCloseButton "+o+"close-img";u.src=n.pathToImages+"xIcon"+s;u.style.cssFloat="right";u.style.cursor="pointer";u.onclick=function(){e.close()};u.onmouseover=function(){u.src=n.pathToImages+"xIconH"+s};u.onmouseout=function(){u.src=n.pathToImages+"xIcon"+s};f.appendChild(u);t=document.createElement("div");t.className="ammapDescriptionTitle "+o+"title-div";t.onmousedown=function(){e.div.style.zIndex=1e3};f.appendChild(t);t.innerHTML=r;r=t.offsetHeight;t=document.createElement("div");t.className="ammapDescriptionText "+o+"text-div";t.style.maxHeight=e.maxHeight-r-20+"px";f.appendChild(t);t.innerHTML=i},close:function(){try{this.div.parentNode.removeChild(this.div);this.chart.fireClosed()}catch(n){}}})}(),function(){var n=window.AmCharts;n.ValueLegend=n.Class({construct:function(t){this.cname="ValueLegend";this.enabled=!0;this.showAsGradient=!1;this.minValue=0;this.height=12;this.width=200;this.bottom=this.left=10;this.borderColor="#FFFFFF";this.borderAlpha=this.borderThickness=1;this.color="#000000";this.fontSize=11;n.applyTheme(this,t,this.cname)},init:function(t,i){var s;if(this.enabled){var e=t.areasSettings.color,c=t.areasSettings.colorSolid,l=t.colorSteps;n.remove(this.set);s=i.set();this.set=s;n.setCN(t,s,"value-legend");var r=0,h=this.minValue,o=this.fontSize,f=t.fontFamily,u=this.color,a={precision:t.precision,decimalSeparator:t.decimalSeparator,thousandsSeparator:t.thousandsSeparator};if(void 0==h&&(h=n.formatNumber(t.minValueReal,a)),void 0!==h&&(r=n.text(i,h,u,f,o,"left"),r.translate(0,o/2-1),n.setCN(t,r,"value-legend-min-label"),s.push(r),r=r.getBBox().height),h=this.maxValue,void 0===h&&(h=n.formatNumber(t.maxValueReal,a)),void 0!==h&&(r=n.text(i,h,u,f,o,"right"),r.translate(this.width,o/2-1),n.setCN(t,r,"value-legend-max-label"),s.push(r),r=r.getBBox().height),this.showAsGradient)e=n.rect(i,this.width,this.height,[e,c],1,this.borderThickness,this.borderColor,1,0,0),n.setCN(t,e,"value-legend-gradient"),e.translate(0,r),s.push(e);else for(o=this.width/l,f=0;f<l;f++)u=n.getColorFade(e,c,1*f/(l-1)),u=n.rect(i,o,this.height,u,1,this.borderThickness,this.borderColor,1),n.setCN(t,u,"value-legend-color"),n.setCN(t,u,"value-legend-color-"+f),u.translate(o*f,r),s.push(u);c=e=0;l=s.getBBox();r=t.getY(this.bottom,!0);o=t.getY(this.top);f=t.getX(this.right,!0);u=t.getX(this.left);isNaN(o)||(e=o);isNaN(r)||(e=r-l.height);isNaN(u)||(c=u);isNaN(f)||(c=f-l.width);s.translate(c,e)}else n.remove(this.set)}})}(),function(){var n=window.AmCharts;n.ObjectList=n.Class({construct:function(n){this.divId=n},init:function(n){this.chart=n;var t=this.divId;this.container&&(t=this.container);this.div="object"!=typeof t?document.getElementById(t):t;t=document.createElement("div");t.className="ammapObjectList "+n.classNamePrefix+"-object-list-div";this.div.appendChild(t);this.addObjects(n.dataProvider,t)},addObjects:function(n,t){var f=this.chart,u=document.createElement("ul"),i,r;if(u.className=f.classNamePrefix+"-object-list-ul",n.areas)for(i=0;i<n.areas.length;i++)r=n.areas[i],void 0===r.showInList&&(r.showInList=f.showAreasInList),this.addObject(r,u);if(n.images)for(i=0;i<n.images.length;i++)r=n.images[i],void 0===r.showInList&&(r.showInList=f.showImagesInList),this.addObject(r,u);if(n.lines)for(i=0;i<n.lines.length;i++)r=n.lines[i],void 0===r.showInList&&(r.showInList=f.showLinesInList),this.addObject(r,u);0<u.childNodes.length&&t.appendChild(u)},addObject:function(n,t){var f=this,e,u,r,i;n.showInList&&void 0!==n.title&&(e=f.chart,u=document.createElement("li"),u.className=e.classNamePrefix+"-object-list-li",r=n.titleTr,r||(r=n.title),r=document.createTextNode(r),i=document.createElement("a"),i.className=e.classNamePrefix+"-object-list-a",i.appendChild(r),u.appendChild(i),t.appendChild(u),this.addObjects(n,u),i.onmouseover=function(){f.chart.rollOverMapObject(n,!1)},i.onmouseout=function(){f.chart.rollOutMapObject(n)},i.onclick=function(){f.chart.clickMapObject(n)})}})}(),function(){"use strict";function p(n,t,i){return n*(i-t)+t}function w(n){var t=1-n;return 1-(t*=t*t*t)}function o(n,t,i,r){this._object=n;this._key=t;this._from=i;this._to=r}function t(n,t,i,r,u){this._finished=!1;this._startTime=null;this._duration=n;this._easing=null==t?w:t;this._onComplete=i;this._tweens=r;this._chart=u}function i(){this._animating=!1;this._animations=[];this._onBeforeFrames=[];this._onAfterFrames=[];var n=this;this._raf=function(t){n._onFrame(t)}}function b(n){return n!==n}function n(n,t){for(var i=0;i<n.length;++i)t(n[i])}function k(n,t){for(var i=0;i<n.length;++i)if(n[i]===t)return;n.push(t)}function d(n,t,i){t[i]||(t[i]=!0,n.push(i))}function r(t,i,r,u){n(u,function(n){var u=r[n];null!=u&&d(t,i,u)})}function l(n,t,i){r(t,i,n,["alphaField","valueField"])}function g(n,t,i){l(n,t,i)}function nt(n,t,i){l(n,t,i);r(t,i,n,["labelRadiusField"])}function s(n,t,i){r(t,i,n,["alphaField","bulletSizeField","closeField","dashLengthField","errorField","highField","lowField","openField","valueField"])}function tt(n,t,i){s(n,t,i);r(t,i,n,["xField","yField"])}function h(t,i,r,u){n(t,function(n){u(n,i,r)})}function it(n,t,i){r(t,i,n,["widthField"])}function a(n){var t=[],i={};return"funnel"===n.type?g(n,t,i):"pie"===n.type?nt(n,t,i):"serial"===n.type?(it(n.categoryAxis,t,i),h(n.graphs,t,i,s)):"radar"===n.type?h(n.graphs,t,i,s):"xy"===n.type&&h(n.graphs,t,i,tt),t}function rt(t){var i={};return("serial"===t.type||"radar"===t.type||"xy"===t.type)&&n(t.valueAxes,function(n){if(null==i[n.id]){i[n.id]={minimum:n.minimum,maximum:n.maximum};var t,u=n.minRR,r=n.maxRR,f=r-u;t=0===f?Math.pow(10,Math.floor(Math.log(Math.abs(r))*Math.LOG10E))/10:Math.pow(10,Math.floor(Math.log(Math.abs(f))*Math.LOG10E))/10;null==n.minimum&&(n.minimum=Math.floor(u/t)*t-t);null==n.maximum&&(n.maximum=Math.ceil(r/t)*t+t)}}),i}function ut(t,i){("serial"===t.type||"radar"===t.type||"xy"===t.type)&&n(t.valueAxes,function(n){var t=i[n.id];null!=t&&(null==t.minimum&&delete n.minimum,null==t.maximum&&delete n.maximum)})}function ft(n){return"funnel"===n.type||"pie"===n.type?n.titleField:"serial"===n.type||"radar"===n.type?n.categoryField:void 0}function f(n,t){var i=n[t];return null==i?null:(i=+i,b(i)?null:i)}function v(n,t){var i=n[t];return null==i?null:""+i}function et(t,i){var r={};return n(t,function(n){var t=v(n,i);null!=t&&(r[t]=n)}),r}function ot(t,i,r,u){var e=[];return n(t,function(t){var s=v(t,i),h;null!=s&&s in r&&(h=r[s],n(u,function(n){var i=f(h,n),r=f(t,n);null!=i&&null!=r&&e.push(new o(t,n,i,r))}))}),e}function st(t,i,r){for(var h,e,s=[],c=Math.min(t.length,i.length),u=0;c>u;++u)h=t[u],e=i[u],n(r,function(n){var t=f(h,n),i=f(e,n);null!=t&&null!=i&&s.push(new o(e,n,t,i))});return s}function ht(n,t){var r,i;return"xy"===n.type?(i=a(n),st(n.dataProvider,t,i)):(r=ft(n),i=a(n),ot(t,r,et(n.dataProvider,r),i))}function ct(n,i){function f(){ut(r,o);null!=i.complete&&i.complete()}var r=this,e=ht(r,n),o=rt(r),u;return r.dataProvider=n,u=new t(i.duration,i.easing,f,e,r),c.animate(u),u}var y,e,c,u;"undefined"==typeof requestAnimationFrame?(y=1e3/60,e=function(n){setTimeout(function(){n((new Date).getTime())},y)}):e=requestAnimationFrame;o.prototype.interpolate=function(n){this._object[this._key]=p(n,this._from,this._to)};t.prototype.cancel=function(){this._finished=!0;this._startTime=null;this._duration=null;this._easing=null;this._onComplete=null;this._tweens=null;this._chart=null};t.prototype._onFrame=function(n){if(this._finished)return!0;if(null===this._startTime)return this._startTime=n,!1;var t=n-this._startTime;return t<this._duration?(this._tick(t/this._duration),!1):(this._end(1),this.cancel(),!0)};t.prototype._tick=function(n){n=this._easing(n);for(var i=this._tweens,t=0;t<i.length;++t)i[t].interpolate(n);k(u,this._chart)};t.prototype._end=function(n){this._tick(n);this._onComplete()};i.prototype.animate=function(n){this._animations.push(n);this._animating||(this._animating=!0,e(this._raf))};i.prototype.onBeforeFrame=function(n){this._onBeforeFrames.push(n)};i.prototype.onAfterFrame=function(n){this._onAfterFrames.push(n)};i.prototype._onFrame=function(n){for(var i,u,r=this._onBeforeFrames,t=0;t<r.length;++t)r[t](n);for(i=this._animations,t=0;t<i.length;++t)i[t]._onFrame(n)&&(i.splice(t,1),--t);for(u=this._onAfterFrames,t=0;t<u.length;++t)u[t](n);0===i.length?this._animating=!1:e(this._raf)};c=new i;u=[];c.onAfterFrame(function(){for(var n=0;n<u.length;++n)u[n].validateData();u.length=0});AmCharts.addInitHandler(function(n){n.animateData=ct},["funnel","pie","serial","radar","xy"])}();INFORMA=window.INFORMA||{};INFORMA.Analytics=function(n,t){"use strict";var f,i,r,e,u,o,s,h,c,l=t("#banner").find("a.subscribe-stick"),a=t("body");return f=function(n,t){if("object"==typeof n){var u,o,f,e,s,h=n.parents(".contactUsPage-contactUs"),c=n.parents(".registration-form-single-section");"Open"===t?(u=n.data("modal"),"#Intelligence"===u?(f=u.replace(u,"#formRequestADemo"),s=f.replace("#",""),e=s.charAt(0).toUpperCase()+s.substr(1)):"#Insight"===u?(f=u.replace(u,"#formRequestATrial"),s=f.replace("#",""),e=s.charAt(0).toUpperCase()+s.substr(1)):h.length>0?e=r(h):(f=u.replace("#",""),e=f.charAt(0).toUpperCase()+f.substr(1))):(o=n.parents(".modal.in form"),null!=o&&void 0!=o&&0!=o.length||(o=n.parents(".two-col-inlineform form")),u=o.data("formcapture"),"Intelligence"===u?(f=u.replace(u,"formRequestADemo"),e=f.charAt(0).toUpperCase()+f.substr(1)):"Insight"===u?(f=u.replace(u,"formRequestATrial"),e=f.charAt(0).toUpperCase()+f.substr(1)):h.length>0?e=r(h):c.length>0?(u=c.find(".form-inline-container form").data("formcapture"),e=u.charAt(0).toUpperCase()+u.substr(1)):e=u.charAt(0).toUpperCase()+u.substr(1));(u||h)&&i("Form",t,e,1)}},r=function(n){var t=n.find(".tab-pane.active").find(".form-inline-container form").data("formcapture"),i;return t&&(i=t.charAt(0).toUpperCase()+t.substr(1)),i},i=function(n,t,i,r){"undefined"!=typeof ga&&ga("send",{hitType:"event",eventCategory:n,eventAction:t,eventLabel:i,eventValue:r});"undefined"!=typeof _gaq&&_gaq.push(["_trackEvent",n,t,i])},e=function(t,i){if(n.youtubeAPIGlobalListners){if(n.youtubeAPIGlobalListners.apiloadhasfired)return void i()}else n.youtubeAPIGlobalListners={apiloadhasfired:!1,functions:[],add:function(t,i){var r=n.youtubeAPIGlobalListners.functions.findIndex(function(n){return n.id===t});r>-1?n.youtubeAPIGlobalListners.functions.splice(r,1,{id:t,"function":i}):n.youtubeAPIGlobalListners.functions.push({id:t,"function":i})},remove:function(t){var i=n.youtubeAPIGlobalListners.functions.findIndex(function(n){return n.id===t});i>-1&&n.youtubeAPIGlobalListners.functions.splice(i,1)}},n.onYouTubeIframeAPIReady=function(){n.youtubeAPIGlobalListners.functions.forEach(function(t){t.function();n.youtubeAPIGlobalListners.remove(t.id)});n.youtubeAPIGlobalListners.apiloadhasfired=!0};n.youtubeAPIGlobalListners.add(t,i)},u=function(n){var t="";return n.indexOf("youtube.com")>-1&&(t="youtube"),n.indexOf("vimeo.com")>-1&&(t="vimeo"),n.indexOf("wistia.net")>-1&&(t="wistia"),t},o=function(n){var t=n.attr("src"),r=u(t),i=function(n,t){var i=n,r=n.indexOf("?")>-1?"&":"?";return n.indexOf(-1===t.key)&&(i+=r+t.key+"="+t.val),i};switch(r){case"youtube":t=i(t,{key:"enablejsapi",val:"1"});t=i(t,{key:"autoplay",val:"1"});break;case"vimeo":t=i(t,{key:"api",val:"1"});t=i(t,{key:"player_id",val:"vmplayer"});t=i(t,{key:"autoplay",val:"1"});break;case"wistia":t=i(t,{key:"autoPlay",val:"true"});n.addClass("wistia_embed")}n.attr("src",t)},s=function(t,i,r,u){var f,e=$INFORMA('[data-id="'+t+'"]');switch(f={volume:parseInt(e.attr("data-volume"))||100,options:r,onready:u},h(i),i){case"youtube":n.vapi=new YoutubeAnalysticsVideo(t,f);break;case"vimeo":n.vapi=new VimeoAnalysticsVideo(t,f);break;case"wistia":n.vapi=new WistiaAnalysticsVideo(t,f)}},h=function(n){var r,i;if(t("#"+n+"-script").length<1){switch(r=t('<script id="'+n+'-script" />'),n){case"youtube":i="https://www.youtube.com/iframe_api";break;case"vimeo":i="https://player.vimeo.com/api/player.js";break;case"wistia":i="https://fast.wistia.com/assets/external/E-v1.js"}r.attr("src",i);t("script").first().before(r)}},c=function(n){a.trigger("analyticssearch",{searchterm:n})},l.click(function(){var n=t(this).text(),r=n.replace(/\w+/g,function(n){return n.charAt(0).toUpperCase()+n.substr(1)}).replace(/\s/g,"");i("Form","Open",r,1)}),jQuery(document).on("click",".trigger-sc-event",function(){var n=t(this).data("goal-id");n&&t.ajax({url:"/client/ajax/triggerpageevent",dataType:"json",type:"post",contentType:"application/json",data:JSON.stringify({eventId:n}),processData:!1,success:function(){},error:function(){}})}),t("body").on("click",".register,.product-login",function(){t(this).hasClass("register")?i("Form","Open","EventRegister",1):t(this).hasClass("product-login")&&i("Form","Open","ProductLogin",1)}),{trackFormEvents:f,trackEvents:i,getVideoTypeFromURL:u,makeVideoIframeApiCompatible:o,setupVideoApi:s,youtubeApiReady:e,triggerSearchEvent:c}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.Analytics);INFORMA=window.INFORMA||{};!function(n){"use strict";var t,i=n.location.href.indexOf("127.0.0.1")>-1?"local":"dev";INFORMA.getCookie=function(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];" "==t.charAt(0);)t=t.substring(1);if(-1!=t.indexOf(r))return t.substring(r.length,t.length)}return""};t={local:{GetArticles:"/data/article_list.json",GetSubSectorList:"/data/product-finder.json",ProductSearch:"/data/product-results.json",GetRefineResults:"/data/product-results.json",GetMoreProducts:"/data/product-results.json",SearchResult:"/data/search-results.json",AnalystSearch:"/data/analyst-search.json",AnalystSearchDropDown:"/data/analyst-search-dropdown.json",AnalystSearchAll:"/data/analyst-search-subsector.json",EventsSearch:"data/events-page.json",ResourceList:"data/resource-list.json",ResourceResult:"data/resource-list.json",GetFAQs:"/client/search/GetFAQList",GetFormItems:"/data/form-data.json",GetRecomendedItems:"/data/recomended-content.json",GetProductAndVerticalNames:"/data/GetWffmHiddenItemsContent.json",GetRecomendedProductItems:"/data/recomendedProducts.json",BrandPortfolioSearch:"/data/brandPortfolio-page.json",PieBarChartPageData:"/data/pie-bar-chart.json",WorldChartPageData:"/data/world-chart.json"},dev:{GetArticles:"/client/search/getarticles",GetSubSectorList:"/client/search/GetSubSectors",ProductSearch:"/client/search/GetProductsSampleContent",GetRefineResults:"/client/search/GetRefineProductResults",GetMoreProducts:"/client/search/GetMoreProducts",SearchResult:"/client/search/GetSearchResults",AnalystSearch:"/client/search/GetSpecialists",AnalystSearchDropDown:"/client/search/GetSubSectorList",AnalystSearchAll:"/client/search/SeeAllSpecialists",EventsSearch:"/client/search/GetEventList",ResourceList:"/client/search/GetResourceListing",ResourceResult:"/client/search/GetResourceListing",GetFAQs:"/client/search/GetFAQList",GetFormItems:"/client/ajax/GetModifiedWffmFormItems",GetRecomendedItems:"/client/Account/GetRemainingContent",GetProductAndVerticalNames:"/client/ajax/GetWffmHiddenItemsContent",GetRecomendedProductItems:"/client/Account/GetUpdatedProduct",SetFirstContentDisplayedCookie:"/client/Ajax/SetFirstContentDisplayedCookie",BrandPortfolioSearch:"/client/search/GetBrandPortfolioList",PieBarChartPageData:"/api/Sitecore/shared/GetChartsDetail",WorldChartPageData:"/api/Sitecore/shared/GetChartsDetail"}};INFORMA.Configs=function(){function n(){this.urls={webservices:t[i]};this.searchResult={pageSize:6};this.activeClass="informaui-active";this.views={small:768,medium:1024,large:1400};this.debug=!0;this.isMobile={Android:function(){return navigator.userAgent.match(/Android/i)}(),BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)}(),iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)}(),Opera:function(){return navigator.userAgent.match(/Opera Mini/i)}(),Windows:function(){return navigator.userAgent.match(/IEMobile/i)}()};this.init=function(){return this}}return new n}()}(this,$INFORMA=jQuery.noConflict());logThis=function(){if(INFORMA.Configs.debug)for(var n=0;n<arguments.length;n++);};!function(n,t,i){t.DataLoader=function(){function r(){this.GetContentOnlyFromURL=function(n){return i.ajax({url:n,dataType:"html",cache:!1})};this.GetServiceData=function(r,u){var f={};return i.extend(f,{data:"",cache:!1,method:"POST",contentType:"application/json; charset=utf-8",dataType:"json",headers:{}},u),n[r]&&null!==n[r]&&n[r].abort(),n[r]=i.ajax({type:f.method,url:r,data:f.data,cache:f.cache,contentType:f.contentType,dataType:f.dataType,headers:f.headers,success:function(i){if(f.contentType.indexOf("xml")>-1)void 0!==u&&"function"==typeof u.success_callback&&u.success_callback.call(this,i);else{var e=null;e=null!==i&&i;void 0!==u&&"function"==typeof u.success_callback&&u.success_callback.call(this,e)}n[r]=null;t.Spinner.Hide()},error:function(n,t,i){void 0!==u&&"function"==typeof u.error_callback&&u.error_callback.call(this,n,t,i)}}),n[r]}}var n={};return new r}()}(window,INFORMA,jQuery);INFORMA=window.INFORMA||{};INFORMA.DeferAssets=function(n,t){"use strict";var l,u,a,f,e,o,i,s,h,v,y,d="deferred-inviewport",c="deferred-loaded",p="data-inf-bg",w="data-inf-src",b="data-inf-srcset",r="deferredassets",k=!1;return l=function(n){"function"==typeof jQuery&&n instanceof jQuery&&(n=n[0]);var t=n.getBoundingClientRect();return t.top>=h&&t.left>=s&&t.bottom<=y&&t.right<=v},u=function(n){n.hasClass(c)||a(n);n.addClass(c)},a=function(n){var t,i,r;0!==n.length&&(t=n.attr(w),i=n.attr(b),r=n.attr(p),(t||i||r)&&(t&&(n.attr("src",t),n.removeAttr(w)),i&&(n.attr("srcset",i),n.removeAttr(b)),r&&(n.css("background-image","url("+r+")"),n.removeAttr(p))))},f=function(){i=i?i.length>0?i.not("."+c):[]:t("."+d)},e=function(){h=t(n).scrollTop();s=t(n).scrollLeft();y=h+t(n).height();v=s+t(n).width()},o=function(){var n;i.each(function(){n=t(this);l(n)&&u(n)})},t(n).on("scroll."+r+" resize."+r,function(){k&&(f(),i.length>0?(e(),o()):t(n).off("scroll."+r+" resize."+r))}),t(n).on("load",function(){e();o();k=!0}),f(),{loadDefferedAsset:u}}(this,$=jQuery.noConflict());jQuery(INFORMA.DeferAssets);INFORMA=window.INFORMA||{};INFORMA.global=function(n,t){"use strict";var i={},r={},u=t("html"),f=function(){var i=-1,n,t;return"Microsoft Internet Explorer"==navigator.appName?(n=navigator.userAgent,t=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!=t.exec(n)&&(i=parseFloat(RegExp.$1))):"Netscape"==navigator.appName&&(n=navigator.userAgent,t=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!=t.exec(n)&&(i=parseFloat(RegExp.$1))),i},e=function(){var f=t(n).width();f>=1024?(i.isDesktop=!0,i.viewport="desktop",i.viewportN=0):f>=768?(i.isTablet=!0,i.viewport="tablet",i.viewportN=1):(i.isMobile=!0,i.viewport="mobile",i.viewportN=2);u.addClass(i.viewport);t("html").hasClass("preview-mode")?r.isPreview=!0:t("html").hasClass("experience-mode")&&(r.isExperience=!0)};return f()>0&&(n.URLSearchParams=n.URLSearchParams||function(n){var t=this;t.searchString=n;t.get=function(n){var i=new RegExp("[?&]"+n+"=([^&#]*)").exec(t.searchString);return null==i?null:decodeURI(i[1])||0}}),{init:e,device:i,siteCore:r}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.global.init()),function(n){"use strict";n(function(){var t,n,i=["Configs","Utils"];for(t in i)n=i[t],INFORMA[n]&&INFORMA[n].init();for(t in INFORMA.initUI)n=INFORMA.initUI[t],INFORMA[n]&&INFORMA[n].init(t)}())}($INFORMA),function(n){"use strict";n(function(){var t,n,i=["Configs","Utils"];for(t in i)n=i[t],INFORMA[n]&&INFORMA[n].init();for(t in INFORMA.initUI)n=INFORMA.initUI[t],INFORMA[n]&&INFORMA[n].init(t)}())}($INFORMA),function(n,t,i){t.Spinner=function(){function n(){var n,t,u=i(u),f={width:124,height:124},r;this.Hide=function(){"object"==typeof t&&t.find(".load-spinner").fadeOut("fast")};this.Show=function(f){t=f;t.find(".load-spinner").length||(n=i("<div class='load-spinner'><span class='loading'><em>Loading...<\/em><img src='/Static/images/loader.svg' alt='loading'/><\/span><\/div>").hide(),n.prependTo(t),n.fadeIn("slow"));n.fadeIn("fast");u.resize(function(){r()});r()};r=function(){t.find(".load-spinner .loading").css({left:(n.width()-f.width-5)/2,top:(n.height()-f.height-15)/2})}}return new n}()}(window,INFORMA,jQuery);INFORMA=window.INFORMA||{};!function(){"use strict";INFORMA.Templates={articleListItemsNewCo:'{{#each Articles}}<li><div class="col-xs-12">{{#compare Video null operator="=="}}{{#compare ContentTileImage null operator="!="}}<div class="video-container"><img src="{{ContentTileImage.Url}}" alt="{{ContentTileImage.Alt}}"/><\/div>{{/compare}}{{/compare}}{{#compare Video null operator="!="}}<div class="video-container">{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a href="{{Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare HasExternalLink true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}<\/div>{{/compare}}{{#compare Video null operator="=="}}{{#compare ContentTileImage null operator="=="}}{{#compare Image null operator="!="}}{{#compare Image.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<a class="newco-article-image" href="{{PageURL}}" target="_blank" title="{{Title}}"><img src="{{Image}}" alt="" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<a href="{{PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_blank"><img src="{{Image}}" alt="{{Title}}" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}"><img src="{{Image}}" alt="{{Title}}" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<a href="{{PageURL}}" target="_blank"><img src="{{Image}}" alt="{{Title}}" class="img-responsive" /><\/a>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<img src="{{Image}}" alt="{{Title}}" class="img-responsive" />{{/compare}}{{/compare}}{{/compare}}<div class="recomended-wrapper" data-fetch="{{Id}}"><div class="recomend-content"><div class="content">{{#compare SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{SamplecontentProducts}}<\/span><\/p>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_blank" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a class="show-register-form gated-content" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank" title="{{Title}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<h4><span title="{{Title}}">{{Title}}<\/span><\/h4>{{/compare}}{{#IfNotBlank Description}}{{#compare Description null operator="!="}}{{#compare Description.length "0" operator=">"}}<p class="description">{{Description}}<\/p>{{/compare}}{{/compare}}{{/IfNotBlank}}<\/div><\/div><\/div><\/div><\/li>{{/each}}',articleListItems:'{{#each Articles}}<li><div class="col-xs-12"><div class="recomended-wrapper" data-fetch="{{Id}}"><div class="recomend-content"><div class="content">{{#compare SamplecontentProducts.length "0" operator=">"}}<p class="type">{{SamplecontentProducts}}<\/p>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_blank">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<h4><a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<h4><a href="{{PageURL}}" target="_blank">{{Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<h4><span>{{Title}}<\/span><\/h4>{{/compare}}<p class="publish">{{#if Profile}}{{ByKeyword}} {{#compare ProfileUrl null operator="!=" }} <a href="{{ProfileUrl}}" target="_blank"><strong>{{Profile}}<\/strong><\/a> {{/compare}}{{#compare ProfileUrl null operator="=="}} <strong>{{Profile}}<\/strong> {{/compare}}{{/if}}{{#if PublicationDate}}{{PublicationDate}}{{/if}}<\/p>{{#compare Video null operator="=="}}<div class="video-container"><img src="{{ContentTileImage.Url}}" alt="{{ContentTileImage.Alt}}"><\/div>{{/compare}}{{#compare Video null operator="!="}}<div class="video-container">{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a class="show-register-form" data-show-register="true" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}<a href="{{Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare HasExternalLink true operator="=="}}<a href="{{Video.Url}}" class="video-link"  tabindex="0"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}<\/div>{{/compare}}{{#compare Description null operator="!="}}<p class="description">{{Description}}<\/p>{{/compare}}<\/div>{{#compare TopicURLS.length "0" operator=">"}}<p class="topics">{{TopicKeyword}} {{#each TopicURLS}}<strong><a href="{{this.TopicResourceLink}}">{{this.TopicName}}<\/a><\/strong>{{/each}}<\/p>{{/compare}}{{#compare ShowSubSectorOnSampleContentPage true operator="=="}}{{#compare SubSectorsUrlDetails.length 0 operator=">"}}<p class="SubSectors"><span>{{SubSectorKeyword}}<\/span>{{#each SubSectorsUrlDetails}}<span><a href="{{this.Value}}">{{this.Key}}<\/a><\/span>{{/each}}<\/p>{{/compare}}{{/compare}}<\/div><div class="footer">{{#compare Price null operator="!="}}<div class="recomended-currency"><strong>{{Price}}<\/strong><\/div>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#if HasExternalLink}}{{#compare HasExternalLink true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/if}}{{#compare HasExternalLink false operator="=="}}{{#compare ShowForm false operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn show-content-first-time" data-firstcontent="true" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare ShowForm true operator="=="}}{{#compare IsAuthenticatedUser false operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a data-show-register="true" class="btn btn-primary show-register-form full-width-btn" data-toggle="modal" data-modal="#formRegistration" data-url="{{PageURL}}">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_self">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare IsAuthenticatedUser true operator="=="}}{{#if LinkText}}<div class="btn-container text-right"><a href="{{PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<div class="btn-container text-right"><a class="btn btn-primary" disabled>{{LinkText}}<\/a><\/div>{{/compare}}<\/div><\/div><\/div><\/li>{{/each}}',HeadlinesListItems:'{{#each Headlines}}<li>{{#compare ProductBrandName.length "0" operator=">"}}<p class="type"><span>{{ProductBrandName}}<\/span><\/p>{{/compare}}{{#compare SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{SamplecontentProducts}}<\/span><\/p>{{/compare}}<p class="date">{{PublicationDate}}<\/p>{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#compare HasExternalLink true operator="=="}}<div class="list-content"><h4 class="poduct-brand-subheading"><a href="{{PageURL}}" target="_blank">{{Title}}<\/a><\/h4><\/div>{{/compare}}{{#compare HasExternalLink false operator="=="}}<div class="list-content"><h4 class="poduct-brand-subheading"><a href="{{PageURL}}" target="_self">{{Title}}<\/a><\/h4><\/div>{{/compare}}{{/compare}}{{/compare}}{{#compare PageURL.length "0" operator="=="}}<div class="list-content"><h4 class="poduct-brand-subheading"><span>{{Title}}<\/span><\/h4><\/div>{{/compare}}{{#compare PageURL null operator="!="}}{{#compare PageURL.length "0" operator=">"}}{{#compare HasExternalLink true operator="=="}}<div class="link"><a role="button" href="{{PageURL}}" title="External Link" target="_blank"><span class="icon-external-link"><span class="access-link">Link<\/span><\/span><\/a><\/div>{{/compare}}{{#compare HasExternalLink false operator="=="}}<div class="link"><a role="button" href="{{PageURL}}" title="Internal Link" target="_self"><span class="icon-internal-link"><span class="access-link">Link<\/span><\/span><\/a><\/div>{{/compare}}{{/compare}}{{/compare}}<\/li>{{/each}}',SubSectorList:'{{#each SubSectors}}<option value="{{SubSectorID}}">{{SubSectorName}}<\/option>{{/each}}',RefineFacets:'{{#each results}}<li><span class="custom-checkbox"><label for="{{Id}}" class="label"><input type="checkbox" name="{{Name}}" id="{{Id}}" value="{{Value}}" {{#if Disabled}}disabled="disabled"{{/if}} {{#if Selected}}checked="checked"{{/if}} /><span>{{Text}}<\/span><\/label><\/span><\/li>{{/each}}',Resources:'<ul class="list-container">{{#each results}}<li class="col-xs-12 col-sm-6 col-md-4"><div class="columns"><p class="category"><strong>{{SectorType}}<\/strong><\/p><h2 class="poduct-brand-subheading">{{Title}}<\/h2><span class="content-type">{{ContentType}}<\/span><p class="date">{{PublicationDate}}<\/p><div class="list-content">{{#if Description}}<p class="description">{{Description}}<\/p><span class="article-info"><em>Author:<\/em> <strong>{{Profile}}<\/strong><\/span><span class="article-info"><em>Topic:<\/em><strong>{{Topic}}<\/strong><\/span>{{/if}}{{#if Video}}<div class="video-container"><a href="{{Video.url}}" class="video-link"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}" /><\/a><span class="play-icon"><\/span><\/div>{{/if}}<\/div><\/div>{{#if PageURL}}<div class="btn-container"><a role="button" href="{{PageURL}}" class="btn btn-primary" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}<\/li>{{/each}}<\/ul>',Events:'<section class="events-list analyst-profile-events event-profile-container"><div class="container" data-count="3"><div class="events-container row">{{#each results}}<div class="col-xs-12 col-sm-6 col-md-4 events-section"><div class="events-wrap"><div class="header clearfix"><p class="date-field">{{#compare EventDate null operator="!="}}<span class="bold">{{EventDate}}<\/span>{{/compare}}{{#if EventDate}}{{#if Time}}, {{/if}}{{/if}}{{#compare Time null operator="!="}}<span>{{Time}}<\/span>{{/compare}}<\/p><\/div><div class="content-wrap"><p class="country">{{#compare State null operator="!="}}<span>{{State}}<\/span>{{/compare}}{{#if State}}{{#if Country}},{{/if}}{{/if}}{{#compare Country null operator="!="}}<span class="bold">{{Country}}<\/span>{{/compare}}<\/p><p><span class="type">{{EventType}}<\/span><\/p><h3 class="title">{{Title}}<\/h3><div class="content clearfix"><div class="title-content">Presenter:<\/div><div class="title-body"><ul class="clearfix">{{#each Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div><div class="content clearfix"><div class="title-content">Themes:<\/div><div class="title-body"><ul class="clearfix">{{#each Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div><\/div><div class="footer clearfix">{{#compare StatusEnabled  true operator="=="}}{{#compare Register null operator="!="}}{{#compare Register.Url null operator="!="}}{{#compare Register.Url.length "0" operator=">"}}<a href="{{Register.Url}}" class="btn btn-default register" target="{{Register.Target}}">{{EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare StatusEnabled  false operator="=="}}{{#compare Register null operator="!="}}{{#compare Register.Url null operator="!="}}{{#compare Register.Url.length "0" operator=">"}}<a href="{{Register.Url}}" class="btn btn-default register disabled" target="{{Register.Target}}">{{EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare FullDetail null operator="!="}}{{#compare FullDetail.Url null operator="!="}}{{#compare FullDetail.Url.length "0" operator=">"}}<a href="{{FullDetail.Url}}" class="btn btn-default full-detail" target="{{FullDetail.Target}}">{{FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div>{{/each}}<\/div><\/div><\/section>',AnalystListNewCo:'<section class="analyst-views newco-analyst-views"><div class="container"><h2 class="header">{{results.header}}<\/h2><div class="row">{{#each results.ModelItem}}<div class="col-md-4 col-sm-12 col-xs-12 analyst-view-container"><div class="row"><div class="col-lg-12  image "><div class="analyst-img">{{#if ProfileImage}}<a href="{{ProfileUrl}}"><img src="{{ProfileImage}}" alt="{{image}}" /><\/a>{{/if}}<\/div><\/div><div class="col-lg-12  content"><div class="row"><div class="col-md-12"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{Type}}<\/span><a href="{{ProfileUrl}}"><h4>{{Name}}<\/h4><\/a><h5><span class="designation">{{Type}}{{#if Type}}{{#if JobTitle}},{{/if}}{{/if}} {{JobTitle}}<\/span><span class="newco-location">{{State}}{{#if Country}}{{#if State}},{{/if}}{{/if}} {{Country}}<\/span><span class="experiance"> {{YearsOfExperience}}+ {{ExperienceText}}<\/span><\/h5><\/div><\/div><\/div><\/div><\/div><\/div><div class="row discription"><div class="profile-discription"><div class="col-md-12"><strong>Specialities include <\/strong>{{#each Specialization}} {{#if @last}}{{this}} {{else}}{{this}}, {{/if}} {{/each}}<\/div><div class="col-md-12"><strong>Product covered include <\/strong>{{#each ProductDetails}} {{#if @last}}{{this.Key}} {{else}}{{this.Key}}, {{/if}}{{/each}}<\/div><\/div><div class="col-md-12 meet-anlyst-section"><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if LinkedInProfileID}}{{#compare LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow trigger-sc-event" addthis:userid="{{LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if TwitterHandleID}}{{#compare TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow trigger-sc-event" addthis:userid="{{TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if EmailAddressLink.Url}}{{#compare EmailAddressLink.Url null operator="!="}}<li><a href="{{EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><\/div><\/div><\/div><\/div><\/div><\/div><\/div>{{/each}}<div class="btn-container text-center"><a href="javascript:void(0)" class="btn-plus" data-fetch="{{results.SectorID}}" data-count="{{results.TotalCount}}"><span class="more"> See all {{results.TotalCount}} Specialists <\/span> <span class="less"> See Less Specialists <\/span><\/a><\/div><\/div><\/div><\/section>',AnalystList:'<section class="analyst-views"><div class="container"><h2 class="header">{{results.header}}<\/h2><div class="row analyst-items">{{#each results.ModelItem}}<div class="col-xs-12 col-sm-6 col-md-4 analyst-list-container {{Type}}"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{Type}}<\/span><h4>{{Name}}<\/h4><h5>{{Type}}{{#if Type}}{{#if JobTitle}},{{/if}}{{/if}} {{JobTitle}}<\/h5>{{#if Country}}<p class="location">{{State}}{{#if Country}}{{#if State}},{{/if}}{{/if}} {{Country}}<\/p>{{/if}}<\/div><div class="analyst-img">{{#if ProfileImage}}<img src="{{ProfileImage}}" alt="{{image}}" />{{/if}}<\/div><\/div><\/div><div class="analyst-description">{{#compare Specialization.length 0 operator=">"}}<p class="heading"><em>{{FirstName}}<\/em> {{SpecializationText}}<\/p><ul class="yellow-bullets">{{#each Specialization}}<li>{{this}}<\/li>{{/each}}<\/ul>{{/compare}}<p class="heading">{{YearsOfExperience}}+ {{ExperienceText}}<\/p>{{#compare ProductDetails.length 0 operator=">"}}<ul class="track-analyst clearfix">{{#each ProductDetails}}<li><a href="{{this.Value}}">{{this.Key}}<\/a><\/li>{{/each}}<\/ul>{{/compare}}<\/div><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if LinkedInProfileID}}{{#compare LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if TwitterHandleID}}{{#compare TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if EmailAddressLink.Url}}{{#compare EmailAddressLink.Url null operator="!="}}<li><a href="{{EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><a href="{{ProfileUrl}}" class="btn btn-primary pull-right">Full Profile<\/a><\/div><\/div><\/div><\/div>{{/each}}<\/div>{{#compare results.TotalCount "3" operator=">"}}<div class="btn-container text-center"><a href="javascript:void(0)" data-fetch="{{results.SectorID}}" class="btn-plus"><span class="more">See All {{results.TotalCount}} Analysts<\/span><span class="less">Hide Analysts<\/span><\/a><\/div>{{/compare}}<\/div><\/section>',AnalystTemplate:'<div class="col-xs-12 col-sm-6 col-md-4 analyst-list-container {{results.Type}}"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><h4>{{results.Name}}<\/h5><h5>{{results.Type}}{{#if results.Type}}{{#if results.JobTitle}},{{/if}}{{/if}} {{results.JobTitle}}<\/h3>{{#if results.Country}}<p class="location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}} {{results.Country}}<\/p>{{/if}}<\/div><div class="analyst-img">{{#if results.ProfileImage}}<img src="{{results.ProfileImage}}" alt="{{results.image}}" />{{/if}}<\/div><\/div><\/div><div class="analyst-description">{{#compare results.Specialization.length "0" operator=">"}}<p class="heading"><em>{{results.FirstName}}<\/em> {{results.SpecializationText}}<\/p><ul class="yellow-bullets">{{#each results.Specialization}}<li>{{this}}<\/li>{{/each}}<\/ul>{{/compare}}<p class="heading">{{results.YearsOfExperience}}+ {{results.ExperienceText}}<\/p>{{#compare results.ProductDetails.length "0" operator=">"}}<ul class="track-analyst clearfix">{{#each results.ProductDetails}}<li><a href="{{this.Value}}">{{this.Key}}<\/a><\/li>{{/each}}<\/ul>{{/compare}}<\/div><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink.Url}}{{#compare results.EmailAddressLink.Url null operator="!="}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><a href="{{results.ProfileUrl}}" class="btn btn-primary pull-right">{{results.SeeFullProfileLabel}}<\/a><\/div><\/div><\/div><\/div>',AnalystTemplateNewCo:'<div class="col-md-4 col-sm-12 col-xs-12 analyst-view-container {{results.Type}}"><div class="row"><div class="col-lg-12  image"><div class="analyst-img">{{#if results.ProfileImage}}<img src="{{results.ProfileImage}}" alt="{{results.image}}" />{{/if}}<\/div><\/div><div class="col-lg-12  content"><div class="row"><div class="col-md-12"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><a href={{results.ProfileUrl}}><h4>{{results.Name}}<\/h4><\/a><h5><span class="designation">{{results.JobTitle}}<\/span><span class="newco-location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}}{{results.Country}}<\/span><span class="experiance">    {{results.YearsOfExperience}}+ {{results.ExperienceText}}<\/span><\/h5><\/div><\/div><\/div><\/div><\/div><\/div><div class="row discription"><div class="profile-discription"><div class="col-md-12">{{#compare results.Specialization.length "0" operator=">"}}<strong>Specialities include<\/strong>{{#each results.Specialization}} {{this}}{{/each}}{{/compare}}<\/div><div class="col-md-12">{{#compare results.ProductDetails.length "0" operator=">"}}<strong>Product covered include<\/strong>{{#each results.ProductDetails}} {{this.Key}},{{/each}}{{/compare}}<\/div><\/div><div class="col-md-12 meet-anlyst-section"><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink.Url}}{{#compare results.EmailAddressLink.Url null operator="!="}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><\/div><\/div><\/div><\/div><\/div><\/div><\/div>',EventListingPage:'<div class="col-xs-12 col-sm-6 col-md-4 events-section {{results.DateType}}"><div class="events-wrap"><div class="header clearfix"><div class="date">{{results.DateField}}<\/div><div class="date month">{{results.MonthField}}<\/div><\/div><div class="content-wrap"><p class="country">{{#compare results.State null operator="!="}}{{results.State}}{{/compare}}{{#if results.State}}{{#if results.Country}},{{/if}}{{/if}} <strong>{{#compare results.Country null operator="!="}}{{results.Country}}{{/compare}}<\/strong><\/p><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3>{{#compare results.Presenters.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.PresentersLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}{{#compare results.Themes.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.ThemeLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}<\/div><div class="footer clearfix">{{#compare results.FullDetail null operator="!="}}{{#compare results.FullDetail.Url null operator="!="}}{{#compare results.FullDetail.Url.length "0" operator=">"}}<a href="{{results.FullDetail.Url}}" class="btn btn-default pull-left full-detail" target="{{results.FullDetail.Target}}">{{results.FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  true operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" class="btn btn-primary pull-right register" target="{{results.Register.Target}}">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  false operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" class="btn btn-primary pull-right register disabled" target="{{results.Register.Target}}">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div>',EventpageListviewTemplate:'<div class="col-xs-12 events-section {{results.DateType}}"> <div class="events-wrap"> <div class="dates col-sm-2"> {{{results.DateRange}}} <\/div> <div class="content-wrap col-sm-10 col-md-7"> {{#if results.Title}} <h3 class="title">{{results.Title}}<\/h3> {{/if}} {{#if results.EventType}} <p class="type">{{results.EventType}}<\/p> {{/if}} {{#if results.Venue}} <div class="content clearfix venue"> <div class="title-content">{{results.VenueLabel}}<\/div> <div class="title-body"> {{results.Venue}} <\/div> <\/div> {{/if}} {{#if results.Country}} <div class="content clearfix location"> <div class="title-content">{{results.LocationLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.State}} <li>{{results.State}}<\/li> {{/if}} <li>{{results.Country}}<\/li> <\/ul> <\/div> <\/div> {{/if}} {{#if results.Duration}} <div class="content clearfix duration"> <div class="title-content">{{results.DurationLabel}}<\/div> <div class="title-body"> {{results.Duration}} <\/div> <\/div> {{/if}} {{#if (or results.TimeZone results.TimeZone1 results.TimeZone2 results.TimeZone3 results.TimeZone4)}} <div class="content clearfix timezones"> <div class="title-content">{{results.TimeZoneLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.TimeZone}}<li>{{results.TimeZone}}<\/li>{{/if}} {{#if results.TimeZone1}}<li>{{results.TimeZone1}}<\/li>{{/if}} {{#if results.TimeZone2}}<li>{{results.TimeZone2}}<\/li>{{/if}} {{#if results.TimeZone3}}<li>{{results.TimeZone3}}<\/li>{{/if}} {{#if results.TimeZone4}}<li>{{results.TimeZone4}}<\/li>{{/if}} <\/ul> <\/div> <\/div> {{/if}} {{#if results.Description}} <div class="content clearfix description"> {{{results.Description}}} <\/div> {{/if}} {{#compare results.Presenters.length 0 operator=">"}} <div class="content clearfix presenters"> <div class="title-content">{{results.PresentersLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#each results.Presenters}} <li>{{this}}<\/li> {{/each}} <\/ul> <\/div> <\/div> {{/compare}} {{#compare results.Themes.length 0 operator=">"}} <div class="content clearfix themes"> <div class="title-content">{{results.ThemeLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#each results.Themes}} <li>{{this}}<\/li> {{/each}} <\/ul> <\/div> <\/div> {{/compare}} <div class="content clearfix ctas"> {{#if results.Primarycta}} {{#if results.Primarycta.Url}} {{#compare results.Primarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta disabled" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} {{#if results.Secondarycta}} {{#if results.Secondarycta.Url}} {{#compare results.Secondarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta disabled" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} {{#if results.Ical}} {{#if results.Ical.Url}} {{#compare results.Ical.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-left ical" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-left ical disabled" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} <\/div> {{#compare results.Tags.length 0 operator=">"}} <div class="content clearfix tags"> <div class="title-body"> <ul class="clearfix"> {{#each results.Tags}} <li>{{this}}<\/li> {{/each}} <\/ul> <\/div> <\/div> {{/compare}} <\/div> <div class="logo col-sm-offset-2 col-md-offset-0 col-md-3"> {{#if results.Logo}} <div class="content clearfix"> <img src="{{results.Logo}}" alt="event logo"> <\/div> {{/if}} <\/div> <\/div> <\/div>',EventpageTileviewTemplate:'<div class="col-xs-12 col-sm-6 col-md-4 events-section {{results.DateType}}"> <div class="events-wrap"> <div class="header clearfix"> {{{results.DateRange}}} {{#if results.Ical}} {{#if results.Ical.Url}} {{#compare results.Ical.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-right ical" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Ical.Url}}" class="btn pull-right ical disabled" target="{{results.Ical.Target}}"><span class="text">{{results.Ical.LinkText}}<\/span><\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} <\/div> <div class="content-wrap clearfix"> {{#if results.Venue}} <div class="content clearfix venue"> <div class="title-content">{{results.VenueLabel}}<\/div> <div class="title-body"> {{results.Venue}} <\/div> <\/div> {{/if}} {{#if results.Country}} <div class="content clearfix location"> <div class="title-content">{{results.LocationLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.State}} <li>{{results.State}}<\/li> {{/if}} <li>{{results.Country}}<\/li> <\/ul> <\/div> <\/div> {{/if}} {{#if results.Duration}} <div class="content clearfix duration"> <div class="title-content">{{results.DurationLabel}}<\/div> <div class="title-body"> {{results.Duration}} <\/div> <\/div> {{/if}} {{#if (or results.TimeZone results.TimeZone1 results.TimeZone2 results.TimeZone3 results.TimeZone4)}} <div class="content clearfix timezones"> <div class="title-content">{{results.TimeZoneLabel}}<\/div> <div class="title-body"> <ul class="clearfix"> {{#if results.TimeZone}}<li>{{results.TimeZone}}<\/li>{{/if}} {{#if results.TimeZone1}}<li>{{results.TimeZone1}}<\/li>{{/if}} {{#if results.TimeZone2}}<li>{{results.TimeZone2}}<\/li>{{/if}} {{#if results.TimeZone3}}<li>{{results.TimeZone3}}<\/li>{{/if}} {{#if results.TimeZone4}}<li>{{results.TimeZone4}}<\/li>{{/if}} <\/ul> <\/div> <\/div> {{/if}} {{#if results.Title}} <h3 class="content clearfix title">{{results.Title}}<\/h3> {{/if}} {{#if results.Description}} <div class="content clearfix description"> {{{results.Description}}} <\/div> {{/if}} <\/div> <div class="footer clearfix"> <div class="content clearfix ctas"> {{#if results.Primarycta}} {{#if results.Primarycta.Url}} {{#compare results.Primarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Primarycta.Url}}" class="btn btn-primary pull-left primarycta disabled" target="{{results.Primarycta.Target}}">{{results.Primarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} {{#if results.Secondarycta}} {{#if results.Secondarycta.Url}} {{#compare results.Secondarycta.Url.length "0" operator=">"}} {{#compare results.StatusEnabled true operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{#compare results.StatusEnabled false operator="=="}} <a href="{{results.Secondarycta.Url}}" class="btn btn-primary pull-left secondarycta disabled" target="{{results.Secondarycta.Target}}">{{results.Secondarycta.LinkText}}<\/a> {{/compare}} {{/compare}} {{/if}} {{/if}} <\/div> <\/div> <\/div> <\/div>',EventpageTileWithImageviewTemplate:'<a href="{{results.Primarycta.Url}}" {{#if results.Primarycta.Target}}target="{{results.Primarycta.Target}}">{{else}}>{{/if}}<div class="tile-unit"><div class="image"><img src="{{results.Logo}}" alt=""><\/div><div class="content"><div class="title-with-icon"><h4>{{results.Title}}<\/h4><div class="image-container"><img src="/static/images/events-search/{{results.EventType}}.svg"  alt=""><\/div><\/div><p class="small date-time">{{results.EventStartDateStr}}<\/p><\/div><\/div><\/a>',EventpageFeaturedTileWithImageviewTemplate:'<div class="col-md-6 featured-tile"><a href="{{results.Primarycta.Url}}" {{#if results.Primarycta.Target}}target="{{results.Primarycta.Target}}">{{else}}>{{/if}}<div class="tile-unit"><div class="image"><img src="{{results.Logo}}" alt=""><\/div><div class="content"><div class="title-with-icon"><h4>{{results.Title}}<\/h4><div class="image-container"><img src="/static/images/events-search/{{results.EventType}}.svg" alt=""><\/div><\/div><p class="small discription">{{results.Description}}<\/p><p class="small date-time">{{results.EventStartDateStr}}<\/p><\/div><\/div><\/a><\/div>',EventpageModalTemplate:'<div id="event-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><\/button> <\/div> <div class="modal-body events-list"> <\/div> <\/div> <\/div> <\/div>',ResourceList:'<div class="col-xs-12 col-sm-6 col-md-4 list-item-container"><div class="list-item"><div class="columns">{{#if SectorType}}<p class="category"><strong>{{SectorType}}<\/strong><\/p>{{/if}}<h2 class="poduct-brand-subheading">{{Title}}<\/h2><span class="content-type">{{ContentType}}<\/span><p class="date">30.03.2016<\/p><div class="list-content">{{#if Description}}<p class="description">{{Description}}<\/p><span class="article-info"><em>Author:<\/em> <strong>{{Profiles}}<\/strong><\/span><span class="article-info"><em>Topic:<\/em> <strong>{{Topics}}<\/strong><\/span>{{/if}}{{#if Video}}<div class="video-container"><a href="{{Video.url}}" class="video-link"><img src="{{Video.ImageSrc}}" alt="{{Video.ImageAltText}}" /><span class="play-icon icon-play"><\/span><\/a><\/div>{{/if}}<\/div><\/div>{{#if PageURL}}<div class="btn-container"><a role="button" href="{{PageURL}}" class="btn btn-primary" target="_blank">{{LinkText}}<\/a><\/div>{{/if}}<\/div><\/div>',AccordianTemplate:'<div class="panel panel-default"><div class="panel-heading" role="tab"><h4 class="panel-title"><a class="collapsed" role="button" data-toggle="collapse" data-parent="#{{results.FaqAccordionId}}" href="#{{results.Id}}{{results.FaqAccordionId}}{{results.Tabs}}" aria-expanded="false" aria-controls="{{results.Id}}">{{results.Title}}<\/a><\/h4><\/div><div id="{{results.Id}}{{results.FaqAccordionId}}{{results.Tabs}}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="{{results.Id}}" data-fetch="{{results.Id}}"><div class="panel-body">{{results.Description}}<\/div><\/div><\/div>',SampleContent:'<div class="col-md-4 col-sm-6 col-xs-12"><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="recomended-wrapper"><div class="recomend-content wrap-content"><div class="content">{{#compare results.SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{results.SamplecontentProducts}}<\/span><\/p>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4><a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<h4><span>{{results.Title}}<\/span><\/h4>{{/compare}}<p class="publish">{{#if results.Profile}}{{results.ByKeyword}} <strong> {{{AnalystData results.Profile}}} <\/strong>{{/if}}{{#if results.PublicationDate}}{{results.PublicationDate}}{{/if}}<\/p>{{#compare results.Publisher null operator="!="}}<p><span>{{results.PublisherKeyword}} <\/span><strong>{{results.Publisher}}<\/strong><\/p>{{/compare}}{{#compare results.Video null operator="!="}}<div class="video-container">{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a href="{{results.Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.Video.Url}}"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/if}}{{/compare}}{{/compare}}<\/div>{{/compare}}{{#compare results.ContentTileImage null operator="!="}}<div class="video-container"><img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}"><\/div>{{/compare}}{{#compare results.Description null operator="!="}}<p class="description">{{results.Description}}<\/p>{{/compare}}<\/div>{{#compare results.TopicURLS.length 0 operator=">"}}<p class="topics">{{results.TopicKeyword}} {{#each results.TopicURLS}}<strong><a href="{{this.TopicResourceLink}}">{{this.TopicName}}<\/a><\/strong>{{/each}}<\/p>{{/compare}}{{#compare results.ShowSubSectorOnSampleContentPage true operator="=="}}{{#compare results.SubSectorsUrlDetails.length 0 operator=">"}}<p class="SubSectors"><span>{{results.SubSectorKeyword}}<\/span>{{#each results.SubSectorsUrlDetails}}<span><a href="{{this.Value}}">{{this.Key}}<\/a><\/span>{{/each}}<\/p>{{/compare}}{{/compare}}<\/div><div class="footer">{{#compare results.Price null operator="!="}}<div class="recomended-currency"><strong>{{results.Price}}<\/strong><\/div>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn show-content-first-time" data-firstcontent="true" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a data-show-register="true" class="btn btn-primary show-register-form full-width-btn" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<div class="btn-container text-right"><a class="btn btn-primary" disabled>{{results.LinkText}}<\/a><\/div>{{/compare}}<\/div><\/div><\/div><\/div>',SampleContentNewCo:'<div class=""><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="recomended-wrapper"><div class="recomend-content wrap-content row">{{#compare results.Video null operator="!="}}<div class="col-sm-4 col-md-4">{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a href="{{results.Video.Url}}" class="video-link show-content-first-time" data-firstcontent="true" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}<a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.Video.Url}}"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.Video.Url}}" class="video-link" tabindex="0" target="_self"><img src="{{results.Video.ImageSrc}}" alt="{{results.Video.ImageAltText}}"><span class="play-icon icon-play"><\/span><\/a>{{/if}}{{/compare}}{{/compare}}<\/div>{{/compare}}{{#compare results.Video null operator="=="}}<div class="col-sm-4 col-md-4 img-container">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" target="_blank">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_self">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" target="_self">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}<\/a>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<a href="{{results.PageURL}}" target="_blank">{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}{{#compare results.ContentTileImage null operator="!="}}<img src="{{results.ContentTileImage.Url}}" alt="{{results.ContentTileImage.Alt}}">{{/compare}}{{#compare results.ContentTileImage null operator="=="}}{{#compare results.ContentTileImage null operator="=="}}<img src="{{results.Image}}" alt="{{results.Title}}" class="img-responsive" />{{/compare}}{{/compare}}{{/compare}}<\/div>{{/compare}}<div class="content col-sm-8 col-md-8">{{#compare results.SamplecontentProducts.length "0" operator=">"}}<p class="type"><span>{{results.SamplecontentProducts}}<\/span><\/p>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" class="show-content-first-time" data-firstcontent="true" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<h4 class="gated-content"><a data-show-register="true" class="show-register-form" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_self">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<h4><a href="{{results.PageURL}}" target="_blank">{{results.Title}}<\/a><\/h4>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<h4><span>{{results.Title}}<\/span><\/h4>{{/compare}}<p class="publish">{{#if results.Profile}}{{results.ByKeyword}}<strong> {{{AnalystData results.Profile}}} <\/strong>{{/if}}{{#if results.PublicationDate}}{{results.PublicationDate}}{{/if}}<\/p>{{#compare results.Publisher null operator="!="}}<p><span>{{results.PublisherKeyword}} <\/span><strong>{{results.Publisher}}<\/strong><\/p>{{/compare}}{{#compare results.Description null operator="!="}}<p class="description">{{results.Description}}<\/p>{{/compare}}<\/div>{{#compare results.ShowSubSectorOnSampleContentPage true operator="=="}}{{#compare results.SubSectorsUrlDetails.length 0 operator=">"}}<p class="SubSectors"><span>{{results.SubSectorKeyword}}<\/span>{{#each results.SubSectorsUrlDetails}}<span><a href="{{this.Value}}">{{this.Key}}<\/a><\/span>{{/each}}<\/p>{{/compare}}{{/compare}}<\/div><div class="footer">{{#compare results.Price null operator="!="}}<div class="recomended-currency"><strong>{{results.Price}}<\/strong><\/div>{{/compare}}{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}{{#if results.HasExternalLink}}{{#compare results.HasExternalLink true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/if}}{{#compare results.HasExternalLink false operator="=="}}{{#compare results.ShowForm false operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn show-content-first-time" data-firstcontent="true" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.ShowForm true operator="=="}}{{#compare results.IsAuthenticatedUser false operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a data-show-register="true" class="btn btn-primary show-register-form full-width-btn" data-toggle="modal" data-modal="#formRegistration" data-url="{{results.PageURL}}">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{#compare results.IsAuthenticatedUser true operator="=="}}{{#if results.LinkText}}<div class="btn-container text-right"><a href="{{results.PageURL}}" class="btn btn-primary btn-ecommerce full-width-btn" target="_blank">{{results.LinkText}}<\/a><\/div>{{/if}}{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.PageURL.length "0" operator="=="}}<div class="btn-container text-right"><a class="btn btn-primary" disabled>{{results.LinkText}}<\/a><\/div>{{/compare}}<\/div><\/div><\/div><\/div>',Product:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="products"><div class="wrap-content"><div class="heading"><div class="heading-content"><p class="category">{{#each results.SectorTags}}<strong>{{this}}<\/strong>{{/each}}<\/p><h4 class={{results.SubSiteTheme}}>{{results.Title}}<\/h4><\/div><\/div><div class="body"><p>{{results.Description}}<\/p><ul>{{#each results.Benefits}}<li class="icon-tick">{{this}}<\/li>{{/each}}<\/ul><\/div><\/div><div class="button-links"><div class="button-links-wrap row"><div class="col-xs-6">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}" target="{{results.LinkTarget}}" class="btn btn-default">{{results.DetailText}}<\/a>{{/compare}}{{/compare}}<\/div><div class="col-xs-6">{{#if results.ProductSearchCTAType}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="=="}}{{#if (splitURL results.SalesforceLink.Url "registration")}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{else}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/if}}{{/compare}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="!="}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/compare}}{{else}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{/if}}<\/div><\/div><\/div><\/div><\/div><\/div>',ProductNewCo:'<div><div class="list-items" data-fetch="{{results.Id}}" data-type="{{results.Category}}"><div class="recomended-wrapper products"><div class="recomend-content wrap-content row"><div class="col-md-4"><div class="image-gradient">{{results.Title}}<\/div><\/div><div class="wrap-content col-md-8"><div class="body"><p>{{results.Description}}<\/p><ul>{{#each results.Benefits}}<li class="icon-tick">{{this}}<\/li>{{/each}}<\/ul><\/div><div class="footer clearfix"><div class="row"><div class="col-xs-6">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}" target="{{results.LinkTarget}}" class="btn btn-default">{{results.DetailText}}<\/a>{{/compare}}{{/compare}}<\/div><div class="col-xs-6">{{#if results.ProductSearchCTAType}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="=="}}{{#if (splitURL results.SalesforceLink.Url "registration")}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{else}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/if}}{{/compare}}{{#compare results.ProductSearchCTAType "formRequestATrial"  operator="!="}}<a href="javascript:void(0)" data-toggle="modal" data-modal="#{{results.ProductSearchCTAType}}" data-productid="{{results.FreeTrialLink.ProductGuid}}" class="btn btn-primary free-trial wffm-elq-form-btn">{{results.SearchCTAName}}<\/a>{{/compare}}{{else}}<a href="{{results.SalesforceLink.Url}}" target="{{results.SalesforceLink.Target}}" class="btn btn-primary">{{results.SearchCTAName}}<\/a>{{/if}}<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div>',SearchTemplate:'<div class="product-results" data-pagesize="{{results.DefaultItemCount}}">{{#if results.ProductTitle}}<h2> <strong>{{results.ProductTitle}}<\/strong><\/h2>{{/if}}<div class="row list">{{{results.Content}}}<\/div>{{#compare results.ShowMoreFlag false operator="!="}}<div class="text-center"><a href="#" class="btn-showMore"><span class="more">{{results.ShowMoreText}}<\/span><span class="less">{{results.ShowLessText}}<\/span><\/a><\/div>{{/compare}}<\/div>',SearchContentTemplate:'<div class="product-results" data-pagesize="{{results.DefaultItemCount}}"><div class="row list">{{{results.Content}}}<\/div><div class="back-to-top"><div class="back-unit" id="backtoTop"><span>Back To Top<\/span><i class="fa fa-chevron-up" aria-hidden="true"><\/i><\/div><div class="back-unit mnl-show-more"><span><a href="#" class="btn-showMore">Show More (<label id="mnlPageContentSize"><\/label>)<i class="fa fa-plus" aria-hidden="true"><\/i><\/a><\/span><\/div><div class="back-unit mnl-show-all"><span><a href="#" class="btn-showMore">Show All (<label id="mnlTotalCount"><\/label>)<i class="fa fa-chevron-right" aria-hidden="true"><\/i><\/a><\/span><\/div><\/div><\/div>',PieBarChartTemplate:'{{#if Heading}}<p class="heading">{{{Heading}}}<\/p>{{/if}}{{#if Bar}}{{#if LargeImage}}<img src="{{LargeImage}}" alt="" class="lg-image hidden-xs" />{{/if}}{{/if}}{{#if FacetList}}<div class="row"><div class="col-md-12"><div class="inf-pie-bar-chart-slider-section"><div class="pie-bar-chart-carousel">{{#each FacetList}}<div class="pie-bar-chart-col"><img src="{{Logo}}" alt="" class="icon" />{{#if ../SubHeadingColor}}<p class="sub-heading" style="color:{{../SubHeadingColor}};">{{Title}}<\/p>{{else}}<p class="sub-heading">{{Title}}<\/p>{{/if}}<div id="{{Id}}{{../UniqueId}}" class="pie-bar-chart-container"><\/div><\/div>{{/each}}<\/div><\/div><\/div><\/div>{{/if}}',Specialist:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items"><div class="analyst-list-container {{results.Type}}"><div class="meet-anlyst-section"><div class="wrap-content"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><h4>{{results.Name}}<\/h4><h5>{{results.JobTitle}}<\/h5>{{#if results.Country}}<p class="location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}} {{results.Country}}<\/p>{{/if}}<\/div><div class="analyst-img"><img src="{{results.Image}}" alt="@Model.Name" /><\/div><\/div><\/div><div class="analyst-description">{{#compare results.Specialization.length "0" operator=">"}}<p class="heading"><em>{{results.FirstName}}<\/em> {{results.SpecializationText}}<\/p><ul class="yellow-bullets">{{#each results.Specialization}}<li>{{this}}<\/li>{{/each}}<\/ul>{{/compare}}<p class="heading">{{results.YearsOfExperience}}+ {{results.ExperienceText}}<\/p>{{#compare results.ProductDetails.length "0" operator=">"}}<ul class="track-analyst clearfix">{{#each results.ProductDetails}}<li><a href="{{this.Value}}">{{this.Key}}<\/a><\/li>{{/each}}<\/ul>{{/compare}}<\/div><\/div><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink}}{{#compare results.EmailAddressLink.Url.length "0" operator=">"}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><a href="{{results.PageURL}}" target="{{results.LinkTarget}}" class="btn btn-primary pull-right">{{results.SeeFullProfileLText}}<\/a><\/div><\/div><\/div><\/div><\/div><\/div>',Event:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items"><div class="events-wrap"><div class="wrap-content"><div class="header clearfix"><div class="date-field">{{results.EventDate}}<\/div><\/div><div class="content-wrap"><p class="country"><span>{{results.State}}<\/span>{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}}<strong> {{results.Country}}<\/strong><\/p><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3>{{#compare results.Presenters.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.PresentersLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}{{#compare results.Themes.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.ThemeLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}<\/div><\/div><div class="footer clearfix">{{#compare results.FullDetail null operator="!="}}{{#compare results.FullDetail.Url null operator="!="}}{{#compare results.FullDetail.Url.length "0" operator=">"}}<a href="{{results.FullDetail.Url}}" target="{{results.FullDetail.Target}}" class="btn btn-default full-detail pull-left">{{results.FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  true operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  false operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right disabled">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div><\/div>',SpecialistNewCo:'<section class="analyst-views newco-analyst-views"><div class="row"><div class="col-lg-4 col-md-4 col-sm-12 col-xs-12 image "><div class="analyst-img"><a href="{{results.PageURL}}">  <img src="{{results.Image}}" alt="{{results.Name}}" /><\/a><\/div><\/div><div class="col-lg-8 col-md-8 col-sm-12 col-xs-12 content"><div class="row"><div class="col-md-9"><div class="meet-anlyst-section"><div class="anlyst-heading"><div class="analyst-heading-content"><div class="analyst-details"><span class="analyst-type">{{results.Type}}<\/span><a href="@Model.PageURL"><h4>{{results.Name}}<\/h4><\/a><h5><span class="designation">{{results.JobTitle}}<\/span><span class="newco-location">{{results.State}}{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}} {{results.Country}} <\/span><span class="experiance">{{results.YearsOfExperience}}+{{results.ExperienceText}}<\/span><\/h5><\/div><\/div><\/div><\/div><\/div><div class="col-md-3 meet-anlyst-section"><div class="analyst-footer"><div class="analyst-footer-content clearfix"><ul class="nav-links">{{#if results.LinkedInProfileID}}{{#compare results.LinkedInProfileID.length "1" operator=">"}}<li><a class="addthis_button_linkedin_follow" addthis:userid="{{results.LinkedInProfileID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.TwitterHandleID}}{{#compare results.TwitterHandleID.length "1" operator=">"}}<li><a class="addthis_button_twitter_follow" addthis:userid="{{results.TwitterHandleID}}"><\/a><\/li>{{/compare}}{{/if}}{{#if results.EmailAddressLink}}{{#compare results.EmailAddressLink.Url.length "0" operator=">"}}<li><a href="{{results.EmailAddressLink.Url}}" class="icon-email"><\/a><\/li>{{/compare}}{{/if}}<\/ul><\/div><\/div><\/div><\/div><div class="row discription"><div class="col-md-12">{{#compare results.Specialization.length "0" operator=">"}}<strong>Specialities include <\/strong>{{#each results.Specialization}}{{this}} {{/each}}{{/compare}}<\/div><div class="col-md-12">{{#compare results.ProductDetails.length "0" operator=">"}}<strong>Product covered include <\/strong>{{#each results.ProductDetails}}{{this.Key}}{{/each}}{{/compare}}<\/div><\/div><\/div><\/div><\/section>',EventNewCo:'<div class=""><div class="list-items"><div class="recomended-wrapper"><div class="recomend-content wrap-content row" style="height: auto;"><div class="col-md-4">{{#if results.Image}}<img src="results.Image" alt="results.Title" class="img-responsive" />{{else}}<div class="image-gradient"><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3><\/div>{{/if}}<\/div><div class="events-wrap col-md-8"><div class="wrap-content"><div class="header clearfix"><p><span class="type">{{results.EventType}}<\/span><\/p><h3 class="title">{{results.Title}}<\/h3><\/div><div class="content-wrap"><div class="content clearfix"><div class="date-field">{{results.EventDate}}<\/div><div class="seperator"> | <\/div><p class="country"><span>{{results.State}}<\/span>{{#if results.Country}}{{#if results.State}},{{/if}}{{/if}}<span>{{results.Country}}<\/span><\/p>{{#compare results.Presenters.length 0 operator=">"}}<div class="seperator"> | <\/div><div class="title-content">{{results.PresentersLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Presenters}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div>{{/compare}}<\/div>{{#compare results.Themes.length 0 operator=">"}}<div class="content clearfix"><div class="title-content">{{results.ThemeLabel}}<\/div><div class="title-body"><ul class="clearfix">{{#each results.Themes}}<li>{{this}}<\/li>{{/each}}<\/ul><\/div><\/div>{{/compare}}<\/div><\/div><div class="footer clearfix">{{#compare results.FullDetail null operator="!="}}{{#compare results.FullDetail.Url null operator="!="}}{{#compare results.FullDetail.Url.length "0" operator=">"}}<a href="{{results.FullDetail.Url}}" target="{{results.FullDetail.Target}}" class="btn btn-default full-detail pull-left">{{results.FullDetail.LinkText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  true operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}{{#compare results.StatusEnabled  false operator="=="}}{{#compare results.Register null operator="!="}}{{#compare results.Register.Url null operator="!="}}{{#compare results.Register.Url.length "0" operator=">"}}<a href="{{results.Register.Url}}" target="_blank" class="btn btn-primary register pull-right disabled">{{results.EventCTAText}}<\/a>{{/compare}}{{/compare}}{{/compare}}{{/compare}}<\/div><\/div><\/div><\/div><\/div><\/div>',Other:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items"><div class="others-wrapper"><div class="wrap-content"><div class="content"><h4>{{results.Title}}<\/h4>{{#if results.Description}}<p class="description">{{results.Description}}<\/p>{{/if}}<\/div><\/div><div class="footer"><div class="btn-container text-right">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}" class="btn btn-primary" target="{{results.LinkTarget}}">{{results.DetailText}}<\/a>{{/compare}}{{/compare}}<\/div><\/div><\/div><\/div><\/div>',SearchContent:'<div class="col-xs-12 col-sm-6 col-md-4"><div class="list-items"><div class="others-wrapper"><div class="wrap-content"><div class="content">{{#if results.SearchTitle}}<div class="title"><h4 class="heading">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}"target="{{results.LinkTarget}}">{{results.SearchTitle}}<\/a>{{#compare results.ResLink null operator="!="}}<a href="{{results.ResLink}}"><img src="./Static/images/mnl/download.jpg"><\/a>{{/compare}}{{/compare}}{{/compare}}<\/h4><\/div>{{/if}}<div class="discription">{{#if results.SearchDescription}}<div class="content"><p class="small">{{results.SearchDescription}}<\/p><\/div>{{/if}}{{#if results.Image}}<div class="image">{{#compare results.PageURL null operator="!="}}{{#compare results.PageURL.length "0" operator=">"}}<a href="{{results.PageURL}}"target="{{results.LinkTarget}}"><img src="{{results.Image}}"><\/a>{{/compare}}{{/compare}}<\/div>{{/if}}<\/div><\/div><\/div><\/div><\/div><\/div>',SiteWideSearch:'{{#each Results}}<div class="search-tile-article artcl-list" boxid="{{ItemId}}"><div class="left-artcl">{{#if PageUrl}}<a href="{{PageUrl}}" target="_blank">{{#if Image }}<img src="{{Image}}">{{else}}<img src="/Static/images/tech/Article-List-FallBack-Image.jpg">{{/if}}<\/a>{{else if this.Image }}<img src="{{Image}}">{{else}}<img src="/Static/images/tech/Article-List-FallBack-Image.jpg">{{/if}}<\/div><div class="right-artcl">{{#if PageUrl}}<p class="artcl-headline"><a href="{{PageUrl}}" target="_blank"> {{Title}} <\/a><\/p>{{else if Title}}<p class="artcl-headline">{{Title}}<\/p>{{/if}}{{#if SubtitleLength}}<ul class="artcl-info list-unstyled"><li>{{SubTitle}}<li><\/ul>{{/if}}<p class="artcl-description desktop">{{Description}}{{#if PageUrl}}<a href="{{PageUrl}}" target="_blank" class="artcl-read-more">{{LinkText}} <i class="fa fa-long-arrow-right" aria-hidden="true"><\/i> <\/a>{{/if}}<\/p><\/div><p class="artcl-description mobile">{{Description}}{{#if PageUrl}}<a href="{{PageUrl}}" target="_blank" class="artcl-read-more">{{LinkText}} <i class="fa fa-long-arrow-right" aria-hidden="true"><\/i> <\/a>{{/if}}<\/p><\/div>{{/each}}'}}(0,jQuery),function(n,t){n.Utils=function(){function r(){Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(n){var i,u,f,t,r;if(null==this)throw TypeError('"this" is null or not defined');if(i=Object(this),u=i.length>>>0,"function"!=typeof n)throw TypeError("predicate must be a function");for(f=arguments[1],t=0;t<u;){if(r=i[t],n.call(f,r,t,i))return r;t++}},configurable:!0,writable:!0});Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(n){var i,r,u,t,f;if(null==this)throw new TypeError('"this" is null or not defined');if(i=Object(this),r=i.length>>>0,"function"!=typeof n)throw new TypeError("predicate must be a function");for(u=arguments[1],t=0;t<r;){if(f=i[t],n.call(u,f,t,i))return t;t++}return-1},configurable:!0,writable:!0});Array.prototype.contains=function(n){for(i in this)if(this[i]==n)return!0;return!1};Array.prototype.remove=function(){for(var r,t,u=Array.apply(null,arguments),i=[],n=0;n<u.length;n++)for(r=u[n],t=this.indexOf(r);t>-1;)i.push(t),t=this.indexOf(r,t+1);for(i.sort(),n=0;n<i.length;n++)t=i[n]-n,this.splice(t,1)};this.getUniqueArray=function(n){var i=[];return t.each(n,function(n,r){-1===t.inArray(r,i)&&i.push(r)}),i};this.RemoveArrayItem=function(n){for(var t,i,r=arguments,u=r.length;u>1&&n.length;)for(t=r[--u];-1!==(i=n.indexOf(t));)n.splice(i,1);return n};this.ArrayUnique=function(n){for(var r,t=n.concat(),i=0;i<t.length;++i)for(r=i+1;r<t.length;++r)t[i]===t[r]&&t.splice(r--,1);return t};this.StrngToQryStrng=function(n){if(("object"==typeof n||"string"==typeof n)&&n)return n.toString().split(",").join("&")};this.serializeObject=function(n){var i={},r=n;return t.each(r,function(){i[this.name]?(i[this.name].push||(i[this.name]=[i[this.name]]),i[this.name].push(this.value||"")):i[this.name]=this.value||""}),i};this.getIEVersion=function(){var t=navigator.userAgent,n=t.match(/MSIE\s?(\d+)(?:\.(\d+))?/i);return null!==n?{major:n[1],minor:n[2]}:{major:"-1",minor:"-1"}};this.getViewport=function(){var i,r=Math.max(document.documentElement.clientWidth,window.innerWidth||0),u=Math.max(document.documentElement.clientHeight,window.innerHeight||0);return t("html").hasClass("lt-ie9")?i="large":(i=r<=n.Configs.views.xsmall?"xsmall":i,i=r>n.Configs.views.xsmall&&r<=n.Configs.views.small?"small":i,i=r>n.Configs.views.small?"medium":i,i=r>n.Configs.views.medium?"large":i,i=r>n.Configs.views.large?"xlarge":i),n.Configs.viewport={size:i,width:r,height:u},n.Configs.viewport};this.isMobileView=function(){return"small"==this.getViewport().size||"xsmall"==this.getViewport().size};this.isTabletView=function(){return"medium"==this.getViewport().size};this.appendEloquaCookieId=function(n){if(-1==n.indexOf("istrial=true"))return n;var i=t("body").attr("data-eloqua-customerid");return i?n+"&eloquacookieid="+i+this.getUTMParams():n};this.getUTMParams=function(){var n,r,i,u="",f=t("#hdnUTMParameter");if(f.length>0){n=JSON.parse(f.val());for(utmprop in n)(i=n[utmprop])&&""!==i&&(r=utmprop.indexOf("UTM")>-1?"utm_"+utmprop.substr(3).toLowerCase():utmprop,u+="&"+r+"="+i)}return u};this.init=function(){return this.getViewport(),"10"===this.getIEVersion().major&&t("html").addClass("ie10"),this}}return new r}()}(window.INFORMA=void 0!==INFORMA&&INFORMA instanceof Object?INFORMA:{},$INFORMA);logThis=function(){if(INFORMA.Configs.debug)for(var n=0;n<arguments.length;n++);};!function(n){"function"==typeof define&&define.amd?define(["jquery"],n):n(jQuery)}(function(n){function v(n,t,i){return[parseFloat(n[0])*(a.test(n[0])?t/100:1),parseFloat(n[1])*(a.test(n[1])?i/100:1)]}function u(t,i){return parseInt(n.css(t,i),10)||0}function y(){this._curInst=null;this._keyEvent=!1;this._disabledInputs=[];this._datepickerShowing=!1;this._inDialog=!1;this._mainDivId="ui-datepicker-div";this._inlineClass="ui-datepicker-inline";this._appendClass="ui-datepicker-append";this._triggerClass="ui-datepicker-trigger";this._dialogClass="ui-datepicker-dialog";this._disableClass="ui-datepicker-disabled";this._unselectableClass="ui-datepicker-unselectable";this._currentClass="ui-datepicker-current-day";this._dayOverClass="ui-datepicker-days-cell-over";this.regional=[];this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""};this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1};n.extend(this._defaults,this.regional[""]);this.regional.en=n.extend(!0,{},this.regional[""]);this.regional["en-US"]=n.extend(!0,{},this.regional.en);this.dpDiv=p(n("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'><\/div>"))}function p(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,function(){n(this).removeClass("ui-state-hover");-1!==this.className.indexOf("ui-datepicker-prev")&&n(this).removeClass("ui-datepicker-prev-hover");-1!==this.className.indexOf("ui-datepicker-next")&&n(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,w)}function w(){n.datepicker._isDisabledDatepicker((i.inline?i.dpDiv.parent():i.input)[0])||(n(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),n(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&n(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&n(this).addClass("ui-datepicker-next-hover"))}function f(t,i){for(var r in n.extend(t,i),i)null==i[r]&&(t[r]=i[r]);return t}var b,k,e,o,r,t,s,h,c,l,a,d,g,i;n.ui=n.ui||{};n.ui.version="1.12.1";k=0;e=Array.prototype.slice;n.cleanData=(b=n.cleanData,function(t){for(var r,i,u=0;null!=(i=t[u]);u++)try{(r=n._data(i,"events"))&&r.remove&&n(i).triggerHandler("remove")}catch(t){}b(t)});n.widget=function(t,i,r){var f,u,o,s={},e=t.split(".")[0],h=e+"-"+(t=t.split(".")[1]);return r||(r=i,i=n.Widget),n.isArray(r)&&(r=n.extend.apply(null,[{}].concat(r))),n.expr[":"][h.toLowerCase()]=function(t){return!!n.data(t,h)},n[e]=n[e]||{},f=n[e][t],u=n[e][t]=function(n,t){if(!this._createWidget)return new u(n,t);arguments.length&&this._createWidget(n,t)},n.extend(u,f,{version:r.version,_proto:n.extend({},r),_childConstructors:[]}),(o=new i).options=n.widget.extend({},o.options),n.each(r,function(t,r){function u(){return i.prototype[t].apply(this,arguments)}function f(n){return i.prototype[t].apply(this,n)}s[t]=n.isFunction(r)?function(){var n,t=this._super,i=this._superApply;return this._super=u,this._superApply=f,n=r.apply(this,arguments),this._super=t,this._superApply=i,n}:r}),u.prototype=n.widget.extend(o,{widgetEventPrefix:f&&o.widgetEventPrefix||t},s,{constructor:u,namespace:e,widgetName:t,widgetFullName:h}),f?(n.each(f._childConstructors,function(t,i){var r=i.prototype;n.widget(r.namespace+"."+r.widgetName,u,i._proto)}),delete f._childConstructors):i._childConstructors.push(u),n.widget.bridge(t,u),u};n.widget.extend=function(t){for(var i,r,f=e.call(arguments,1),u=0,o=f.length;u<o;u++)for(i in f[u])r=f[u][i],f[u].hasOwnProperty(i)&&void 0!==r&&(t[i]=n.isPlainObject(r)?n.isPlainObject(t[i])?n.widget.extend({},t[i],r):n.widget.extend({},r):r);return t};n.widget.bridge=function(t,i){var r=i.prototype.widgetFullName||t;n.fn[t]=function(u){var s="string"==typeof u,o=e.call(arguments,1),f=this;return s?this.length||"instance"!==u?this.each(function(){var i,e=n.data(this,r);return"instance"===u?(f=e,!1):e?n.isFunction(e[u])&&"_"!==u.charAt(0)?(i=e[u].apply(e,o))!==e&&void 0!==i?(f=i&&i.jquery?f.pushStack(i.get()):i,!1):void 0:n.error("no such method '"+u+"' for "+t+" widget instance"):n.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+u+"'")}):f=void 0:(o.length&&(u=n.widget.extend.apply(null,[u].concat(o))),this.each(function(){var t=n.data(this,r);t?(t.option(u||{}),t._init&&t._init()):n.data(this,r,new i(u,this))})),f}};n.Widget=function(){};n.Widget._childConstructors=[];n.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,i){i=n(i||this.defaultElement||this)[0];this.element=n(i);this.uuid=k++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=n();this.hoverable=n();this.focusable=n();this.classesElementLookup={};i!==this&&(n.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(n){n.target===i&&this.destroy()}}),this.document=n(i.style?i.ownerDocument:i.document||i),this.window=n(this.document[0].defaultView||this.document[0].parentWindow));this.options=n.widget.extend({},this.options,this._getCreateOptions(),t);this._create();this.options.disabled&&this._setOptionDisabled(this.options.disabled);this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:n.noop,_create:n.noop,_init:n.noop,destroy:function(){var t=this;this._destroy();n.each(this.classesElementLookup,function(n,i){t._removeClass(i,n)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:n.noop,widget:function(){return this.element},option:function(t,i){var u,r,f,e=t;if(0===arguments.length)return n.widget.extend({},this.options);if("string"==typeof t)if(e={},t=(u=t.split(".")).shift(),u.length){for(r=e[t]=n.widget.extend({},this.options[t]),f=0;f<u.length-1;f++)r[u[f]]=r[u[f]]||{},r=r[u[f]];if(t=u.pop(),1===arguments.length)return void 0===r[t]?null:r[t];r[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];e[t]=i}return this._setOptions(e),this},_setOptions:function(n){for(var t in n)this._setOption(t,n[t]);return this},_setOption:function(n,t){return"classes"===n&&this._setOptionClasses(t),this.options[n]=t,"disabled"===n&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,u,r;for(i in t)r=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&r&&r.length&&(u=n(r.get()),this._removeClass(r,i),u.addClass(this._classes({element:u,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(n){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!n);n&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){function r(r,f){for(var o,e=0;e<r.length;e++)o=u.classesElementLookup[r[e]]||n(),o=n(t.add?n.unique(o.get().concat(t.element.get())):o.not(t.element).get()),u.classesElementLookup[r[e]]=o,i.push(r[e]),f&&t.classes[r[e]]&&i.push(t.classes[r[e]])}var i=[],u=this;return t=n.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&r(t.keys.match(/\S+/g)||[],!0),t.extra&&r(t.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(t){var i=this;n.each(i.classesElementLookup,function(r,u){-1!==n.inArray(t.target,u)&&(i.classesElementLookup[r]=n(u.not(t.target).get()))})},_removeClass:function(n,t,i){return this._toggleClass(n,t,i,!1)},_addClass:function(n,t,i){return this._toggleClass(n,t,i,!0)},_toggleClass:function(n,t,i,r){r="boolean"==typeof r?r:i;var u="string"==typeof n||null===n,n={extra:u?t:i,keys:u?n:t,element:u?this.element:n,add:r};return n.element.toggleClass(this._classes(n),r),this},_on:function(t,i,r){var f,u=this;"boolean"!=typeof t&&(r=i,i=t,t=!1);r?(i=f=n(i),this.bindings=this.bindings.add(i)):(r=i,i=this.element,f=this.widget());n.each(r,function(r,e){function o(){if(t||!0!==u.options.disabled&&!n(this).hasClass("ui-state-disabled"))return("string"==typeof e?u[e]:e).apply(u,arguments)}"string"!=typeof e&&(o.guid=e.guid=e.guid||o.guid||n.guid++);var s=r.match(/^([\w:-]*)\s*(.*)$/),r=s[1]+u.eventNamespace,s=s[2];s?f.on(r,s,o):i.on(r,o)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;t.off(i).off(i);this.bindings=n(this.bindings.not(t).get());this.focusable=n(this.focusable.not(t).get());this.hoverable=n(this.hoverable.not(t).get())},_delay:function(n,t){var i=this;return setTimeout(function(){return("string"==typeof n?i[n]:n).apply(i,arguments)},t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t);this._on(t,{mouseenter:function(t){this._addClass(n(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(n(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t);this._on(t,{focusin:function(t){this._addClass(n(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(n(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,r){var u,f,e=this.options[t];if(r=r||{},(i=n.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],f=i.originalEvent)for(u in f)u in i||(i[u]=f[u]);return this.element.trigger(i,r),!(n.isFunction(e)&&!1===e.apply(this.element[0],[i].concat(r))||i.isDefaultPrevented())}};n.each({show:"fadeIn",hide:"fadeOut"},function(t,i){n.Widget.prototype["_"+t]=function(r,u,f){var o,e;"string"==typeof u&&(u={effect:u});e=u?!0!==u&&"number"!=typeof u&&u.effect||i:t;"number"==typeof(u=u||{})&&(u={duration:u});o=!n.isEmptyObject(u);u.complete=f;u.delay&&r.delay(u.delay);o&&n.effects&&n.effects.effect[e]?r[t](u):e!==t&&r[e]?r[e](u.duration,u.easing,f):r.queue(function(i){n(this)[t]();f&&f.call(r[0]);i()})}});n.widget;r=Math.max;t=Math.abs;s=/left|center|right/;h=/top|center|bottom/;c=/[\+\-]\d+(\.[\d]+)?%?/;l=/^\w+/;a=/%$/;d=n.fn.position;n.position={scrollbarWidth:function(){if(void 0!==o)return o;var r,t=n("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'><\/div><\/div>"),i=t.children()[0];return n("body").append(t),r=i.offsetWidth,t.css("overflow","scroll"),r===(i=i.offsetWidth)&&(i=t[0].clientWidth),t.remove(),o=r-i},getScrollInfo:function(t){var i=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),r=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),i="scroll"===i||"auto"===i&&t.width<t.element[0].scrollWidth;return{width:"scroll"===r||"auto"===r&&t.height<t.element[0].scrollHeight?n.position.scrollbarWidth():0,height:i?n.position.scrollbarWidth():0}},getWithinInfo:function(t){var i=n(t||window),r=n.isWindow(i[0]),u=!!i[0]&&9===i[0].nodeType;return{element:i,isWindow:r,isDocument:u,offset:r||u?{left:0,top:0}:n(t).offset(),scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}};n.fn.position=function(i){if(!i||!i.of)return d.apply(this,arguments);i=n.extend({},i);var p,e,o,y,a,w,k=n(i.of),nt=n.position.getWithinInfo(i.within),tt=n.position.getScrollInfo(nt),b=(i.collision||"flip").split(" "),g={},f=9===(w=(f=k)[0]).nodeType?{width:f.width(),height:f.height(),offset:{top:0,left:0}}:n.isWindow(w)?{width:f.width(),height:f.height(),offset:{top:f.scrollTop(),left:f.scrollLeft()}}:w.preventDefault?{width:0,height:0,offset:{top:w.pageY,left:w.pageX}}:{width:f.outerWidth(),height:f.outerHeight(),offset:f.offset()};return k[0].preventDefault&&(i.at="left top"),e=f.width,o=f.height,y=f.offset,a=n.extend({},y),n.each(["my","at"],function(){var t,r,n=(i[this]||"").split(" ");1===n.length&&(n=s.test(n[0])?n.concat(["center"]):h.test(n[0])?["center"].concat(n):["center","center"]);n[0]=s.test(n[0])?n[0]:"center";n[1]=h.test(n[1])?n[1]:"center";t=c.exec(n[0]);r=c.exec(n[1]);g[this]=[t?t[0]:0,r?r[0]:0];i[this]=[l.exec(n[0])[0],l.exec(n[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===i.at[0]?a.left+=e:"center"===i.at[0]&&(a.left+=e/2),"bottom"===i.at[1]?a.top+=o:"center"===i.at[1]&&(a.top+=o/2),p=v(g.at,e,o),a.left+=p[0],a.top+=p[1],this.each(function(){var w,d,s=n(this),h=s.outerWidth(),c=s.outerHeight(),it=u(this,"marginLeft"),rt=u(this,"marginTop"),ut=h+it+u(this,"marginRight")+tt.width,ft=c+rt+u(this,"marginBottom")+tt.height,f=n.extend({},a),l=v(g.my,s.outerWidth(),s.outerHeight());"right"===i.my[0]?f.left-=h:"center"===i.my[0]&&(f.left-=h/2);"bottom"===i.my[1]?f.top-=c:"center"===i.my[1]&&(f.top-=c/2);f.left+=l[0];f.top+=l[1];w={marginLeft:it,marginTop:rt};n.each(["left","top"],function(t,r){n.ui.position[b[t]]&&n.ui.position[b[t]][r](f,{targetWidth:e,targetHeight:o,elemWidth:h,elemHeight:c,collisionPosition:w,collisionWidth:ut,collisionHeight:ft,offset:[p[0]+l[0],p[1]+l[1]],my:i.my,at:i.at,within:nt,elem:s})});i.using&&(d=function(n){var u=y.left-f.left,v=u+e-h,l=y.top-f.top,p=l+o-c,a={target:{element:k,left:y.left,top:y.top,width:e,height:o},element:{element:s,left:f.left,top:f.top,width:h,height:c},horizontal:v<0?"left":0<u?"right":"center",vertical:p<0?"top":0<l?"bottom":"middle"};e<h&&t(u+v)<e&&(a.horizontal="center");o<c&&t(l+p)<o&&(a.vertical="middle");a.important=r(t(u),t(v))>r(t(l),t(p))?"horizontal":"vertical";i.using.call(this,n,a)});s.offset(n.extend(f,{using:d}))})};n.ui.position={fit:{left:function(n,t){var u=t.within,f=u.isWindow?u.scrollLeft:u.offset.left,o=u.width,s=n.left-t.collisionPosition.marginLeft,i=f-s,e=s+t.collisionWidth-o-f;t.collisionWidth>o?0<i&&e<=0?(u=n.left+i+t.collisionWidth-o-f,n.left+=i-u):n.left=!(0<e&&i<=0)&&e<i?f+o-t.collisionWidth:f:0<i?n.left+=i:0<e?n.left-=e:n.left=r(n.left-s,n.left)},top:function(n,t){var u=t.within,f=u.isWindow?u.scrollTop:u.offset.top,o=t.within.height,s=n.top-t.collisionPosition.marginTop,i=f-s,e=s+t.collisionHeight-o-f;t.collisionHeight>o?0<i&&e<=0?(u=n.top+i+t.collisionHeight-o-f,n.top+=i-u):n.top=!(0<e&&i<=0)&&e<i?f+o-t.collisionHeight:f:0<i?n.top+=i:0<e?n.top-=e:n.top=r(n.top-s,n.top)}},flip:{left:function(n,i){var r=i.within,o=r.offset.left+r.scrollLeft,s=r.width,f=r.isWindow?r.scrollLeft:r.offset.left,u=n.left-i.collisionPosition.marginLeft,h=u-f,c=u+i.collisionWidth-s-f,e="left"===i.my[0]?-i.elemWidth:"right"===i.my[0]?i.elemWidth:0,r="left"===i.at[0]?i.targetWidth:"right"===i.at[0]?-i.targetWidth:0,u=-2*i.offset[0];h<0?((o=n.left+e+r+u+i.collisionWidth-s-o)<0||o<t(h))&&(n.left+=e+r+u):0<c&&(0<(f=n.left-i.collisionPosition.marginLeft+e+r+u-f)||t(f)<c)&&(n.left+=e+r+u)},top:function(n,i){var r=i.within,o=r.offset.top+r.scrollTop,s=r.height,f=r.isWindow?r.scrollTop:r.offset.top,u=n.top-i.collisionPosition.marginTop,h=u-f,c=u+i.collisionHeight-s-f,e="top"===i.my[1]?-i.elemHeight:"bottom"===i.my[1]?i.elemHeight:0,r="top"===i.at[1]?i.targetHeight:"bottom"===i.at[1]?-i.targetHeight:0,u=-2*i.offset[1];h<0?((o=n.top+e+r+u+i.collisionHeight-s-o)<0||o<t(h))&&(n.top+=e+r+u):0<c&&(0<(f=n.top-i.collisionPosition.marginTop+e+r+u-f)||t(f)<c)&&(n.top+=e+r+u)}},flipfit:{left:function(){n.ui.position.flip.left.apply(this,arguments);n.ui.position.fit.left.apply(this,arguments)},top:function(){n.ui.position.flip.top.apply(this,arguments);n.ui.position.fit.top.apply(this,arguments)}}};n.ui.position;n.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38};n.fn.extend({uniqueId:(g=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++g)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&n(this).removeAttr("id")})}});n.ui.safeActiveElement=function(n){var t;try{t=n.activeElement}catch(i){t=n.body}return(t=t||n.body).nodeName||(t=n.body),t};n.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element;this.mouseHandled=!1;this.element.uniqueId().attr({role:this.options.role,tabIndex:0});this._addClass("ui-menu","ui-widget ui-widget-content");this._on({"mousedown .ui-menu-item":function(n){n.preventDefault()},"click .ui-menu-item":function(t){var i=n(t.target),r=n(n.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&i.not(".ui-state-disabled").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),i.has(".ui-menu").length?this.expand(t):!this.element.is(":focus")&&r.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(t){var r,i;this.previousFilter||(r=n(t.target).closest(".ui-menu-item"),i=n(t.currentTarget),r[0]===i[0]&&(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(t,i)))},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(n,t){var i=this.active||this.element.find(this.options.items).eq(0);t||this.focus(n,i)},blur:function(t){this._delay(function(){n.contains(this.element[0],n.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:"_keydown"});this.refresh();this._on(this.document,{click:function(n){this._closeOnDocumentClick(n)&&this.collapseAll(n);this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show();t.children().each(function(){var t=n(this);t.data("ui-menu-submenu-caret")&&t.remove()})},_keydown:function(t){var i,r,u,f=!0;switch(t.keyCode){case n.ui.keyCode.PAGE_UP:this.previousPage(t);break;case n.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case n.ui.keyCode.HOME:this._move("first","first",t);break;case n.ui.keyCode.END:this._move("last","last",t);break;case n.ui.keyCode.UP:this.previous(t);break;case n.ui.keyCode.DOWN:this.next(t);break;case n.ui.keyCode.LEFT:this.collapse(t);break;case n.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(t);break;case n.ui.keyCode.ENTER:case n.ui.keyCode.SPACE:this._activate(t);break;case n.ui.keyCode.ESCAPE:this.collapse(t);break;default:f=!1;i=this.previousFilter||"";u=!1;r=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode);clearTimeout(this.filterTimer);r===i?u=!0:r=i+r;i=this._filterMenuItems(r);(i=u&&-1!==i.index(this.active.next())?this.active.nextAll(".ui-menu-item"):i).length||(r=String.fromCharCode(t.keyCode),i=this._filterMenuItems(r));i.length?(this.focus(t,i),this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}f&&t.preventDefault()},_activate:function(n){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(n):this.select(n))},refresh:function(){var r,t,u=this,f=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length);t=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var t=n(this),i=t.prev(),r=n("<span>").data("ui-menu-submenu-caret",!0);u._addClass(r,"ui-menu-icon","ui-icon "+f);i.attr("aria-haspopup","true").prepend(r);t.attr("aria-labelledby",i.attr("id"))});this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front");(r=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var t=n(this);u._isDivider(t)&&u._addClass(t,"ui-menu-divider","ui-widget-content")});i=(t=r.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()});this._addClass(t,"ui-menu-item")._addClass(i,"ui-menu-item-wrapper");r.filter(".ui-state-disabled").attr("aria-disabled","true");this.active&&!n.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(n,t){var i;"icons"===n&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu));this._super(n,t)},_setOptionDisabled:function(n){this._super(n);this.element.attr("aria-disabled",String(n));this._toggleClass(null,"ui-state-disabled",!!n)},focus:function(n,t){var i;this.blur(n,n&&"focus"===n.type);this._scrollIntoView(t);this.active=t.first();i=this.active.children(".ui-menu-item-wrapper");this._addClass(i,null,"ui-state-active");this.options.role&&this.element.attr("aria-activedescendant",i.attr("id"));i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper");this._addClass(i,null,"ui-state-active");n&&"keydown"===n.type?this._close():this.timer=this._delay(function(){this._close()},this.delay);(i=t.children(".ui-menu")).length&&n&&/^mouse/.test(n.type)&&this._startOpening(i);this.activeMenu=t.parent();this._trigger("focus",n,{item:t})},_scrollIntoView:function(t){var i,r,u;this._hasScroll()&&(r=parseFloat(n.css(this.activeMenu[0],"borderTopWidth"))||0,u=parseFloat(n.css(this.activeMenu[0],"paddingTop"))||0,i=t.offset().top-this.activeMenu.offset().top-r-u,r=this.activeMenu.scrollTop(),u=this.activeMenu.height(),t=t.outerHeight(),i<0?this.activeMenu.scrollTop(r+i):u<i+t&&this.activeMenu.scrollTop(r+i-u+t))},blur:function(n,t){t||clearTimeout(this.timer);this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",n,{item:this.active}),this.active=null)},_startOpening:function(n){clearTimeout(this.timer);"true"===n.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close();this._open(n)},this.delay))},_open:function(t){var i=n.extend({of:this.active},this.options.position);clearTimeout(this.timer);this.element.find(".ui-menu").not(t.parents(".ui-menu")).hide().attr("aria-hidden","true");t.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(i)},collapseAll:function(t,i){clearTimeout(this.timer);this.timer=this._delay(function(){var r=i?this.element:n(t&&t.target).closest(this.element.find(".ui-menu"));r.length||(r=this.element);this._close(r);this.blur(t);this._removeClass(r.find(".ui-state-active"),null,"ui-state-active");this.activeMenu=r},this.delay)},_close:function(n){(n=n||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(t){return!n(t.target).closest(".ui-menu").length},_isDivider:function(n){return!/[^\-\u2014\u2013\s]/.test(n.text())},collapse:function(n){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(n,t))},expand:function(n){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(n,t)}))},next:function(n){this._move("next","first",n)},previous:function(n){this._move("prev","last",n)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(n,t,i){var r;this.active&&(r="first"===n||"last"===n?this.active["first"===n?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[n+"All"](".ui-menu-item").eq(0));r&&r.length&&this.active||(r=this.activeMenu.find(this.options.items)[t]());this.focus(i,r)},nextPage:function(t){var i,r,u;this.active?this.isLastItem()||(this._hasScroll()?(r=this.active.offset().top,u=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(i=n(this)).offset().top-r-u<0}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(t)},previousPage:function(t){var i,r,u;this.active?this.isFirstItem()||(this._hasScroll()?(r=this.active.offset().top,u=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(i=n(this)).offset().top-r+u}),this.focus(t,i)):this.focus(t,this.activeMenu.find(this.options.items).first())):this.next(t)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(t){this.active=this.active||n(t.target).closest(".ui-menu-item");var i={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(t,!0);this._trigger("select",t,i)},_filterMenuItems:function(t){var t=t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),i=new RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return i.test(n.trim(n(this).children(".ui-menu-item-wrapper").text()))})}});n.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var t,i,r,u=this.element[0].nodeName.toLowerCase(),f="textarea"===u,u="input"===u;this.isMultiLine=f||!u&&this._isContentEditable(this.element);this.valueMethod=this.element[f||u?"val":"text"];this.isNewMenu=!0;this._addClass("ui-autocomplete-input");this.element.attr("autocomplete","off");this._on(this.element,{keydown:function(u){if(this.element.prop("readOnly"))i=r=t=!0;else{i=r=t=!1;var f=n.ui.keyCode;switch(u.keyCode){case f.PAGE_UP:t=!0;this._move("previousPage",u);break;case f.PAGE_DOWN:t=!0;this._move("nextPage",u);break;case f.UP:t=!0;this._keyEvent("previous",u);break;case f.DOWN:t=!0;this._keyEvent("next",u);break;case f.ENTER:this.menu.active&&(t=!0,u.preventDefault(),this.menu.select(u));break;case f.TAB:this.menu.active&&this.menu.select(u);break;case f.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(u),u.preventDefault());break;default:i=!0;this._searchTimeout(u)}}},keypress:function(r){if(t)return t=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||r.preventDefault());if(!i){var u=n.ui.keyCode;switch(r.keyCode){case u.PAGE_UP:this._move("previousPage",r);break;case u.PAGE_DOWN:this._move("nextPage",r);break;case u.UP:this._keyEvent("previous",r);break;case u.DOWN:this._keyEvent("next",r)}}},input:function(n){if(r)return r=!1,void n.preventDefault();this._searchTimeout(n)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(n){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(n),this._change(n))}});this._initSource();this.menu=n("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance");this._addClass(this.menu.element,"ui-autocomplete","ui-front");this._on(this.menu.element,{mousedown:function(t){t.preventDefault();this.cancelBlur=!0;this._delay(function(){delete this.cancelBlur;this.element[0]!==n.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(t,i){var r;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){n(t.target).trigger(t.originalEvent)});r=i.item.data("ui-autocomplete-item");!1!==this._trigger("focus",t,{item:r})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(r.value);(r=i.item.attr("aria-label")||r.value)&&n.trim(r).length&&(this.liveRegion.children().hide(),n("<div>").text(r).appendTo(this.liveRegion))},menuselect:function(t,i){var r=i.item.data("ui-autocomplete-item"),u=this.previous;this.element[0]!==n.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=u,this._delay(function(){this.previous=u;this.selectedItem=r}));!1!==this._trigger("select",t,{item:r})&&this._value(r.value);this.term=this._value();this.close(t);this.selectedItem=r}});this.liveRegion=n("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body);this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible");this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching);this.element.removeAttr("autocomplete");this.menu.element.remove();this.liveRegion.remove()},_setOption:function(n,t){this._super(n,t);"source"===n&&this._initSource();"appendTo"===n&&this.menu.element.appendTo(this._appendTo());"disabled"===n&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var i=this.menu.element[0];return t.target===this.element[0]||t.target===i||n.contains(i,t.target)},_closeOnClickOutside:function(n){this._isEventTargetInWidget(n)||this.close()},_appendTo:function(){var t=this.options.appendTo;return(t=t&&(t.jquery||t.nodeType?n(t):this.document.find(t).eq(0)))&&t[0]||(t=this.element.closest(".ui-front, dialog")),t.length||(t=this.document[0].body),t},_initSource:function(){var i,r,t=this;n.isArray(this.options.source)?(i=this.options.source,this.source=function(t,r){r(n.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(r=this.options.source,this.source=function(i,u){t.xhr&&t.xhr.abort();t.xhr=n.ajax({url:r,data:i,dataType:"json",success:function(n){u(n)},error:function(){u([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching);this.searching=this._delay(function(){var t=this.term===this._value(),i=this.menu.element.is(":visible"),r=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;t&&(!t||i||r)||(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(n,t){return n=null!=n?n:this._value(),this.term=this._value(),n.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(n):void 0},_search:function(n){this.pending++;this._addClass("ui-autocomplete-loading");this.cancelSearch=!1;this.source({term:n},this._response())},_response:function(){var t=++this.requestIndex;return n.proxy(function(n){t===this.requestIndex&&this.__response(n);--this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(n){n=n&&this._normalize(n);this._trigger("response",null,{content:n});!this.options.disabled&&n&&n.length&&!this.cancelSearch?(this._suggest(n),this._trigger("open")):this._close()},close:function(n){this.cancelSearch=!0;this._close(n)},_close:function(n){this._off(this.document,"mousedown");this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",n))},_change:function(n){this.previous!==this._value()&&this._trigger("change",n,{item:this.selectedItem})},_normalize:function(t){return t.length&&t[0].label&&t[0].value?t:n.map(t,function(t){return"string"==typeof t?{label:t,value:t}:n.extend({},t,{label:t.label||t.value,value:t.value||t.label})})},_suggest:function(t){var i=this.menu.element.empty();this._renderMenu(i,t);this.isNewMenu=!0;this.menu.refresh();i.show();this._resizeMenu();i.position(n.extend({of:this.element},this.options.position));this.options.autoFocus&&this.menu.next();this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var n=this.menu.element;n.outerWidth(Math.max(n.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(t,i){var r=this;n.each(i,function(n,i){r._renderItemData(t,i)})},_renderItemData:function(n,t){return this._renderItem(n,t).data("ui-autocomplete-item",t)},_renderItem:function(t,i){return n("<li>").append(n("<div>").text(i.label)).appendTo(t)},_move:function(n,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(n)||this.menu.isLastItem()&&/^next/.test(n)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[n](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(n,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(n,t),t.preventDefault())},_isContentEditable:function(n){if(!n.length)return!1;var t=n.prop("contentEditable");return"inherit"===t?this._isContentEditable(n.parent()):"true"===t}});n.extend(n.ui.autocomplete,{escapeRegex:function(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(t,i){var r=new RegExp(n.ui.autocomplete.escapeRegex(i),"i");return n.grep(t,function(n){return r.test(n.label||n.value||n)})}});n.widget("ui.autocomplete",n.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(n){return n+(1<n?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(t){var i;this._superApply(arguments);this.options.disabled||this.cancelSearch||(i=t&&t.length?this.options.messages.results(t.length):this.options.messages.noResults,this.liveRegion.children().hide(),n("<div>").text(i).appendTo(this.liveRegion))}});n.ui.autocomplete;n.extend(n.ui,{datepicker:{version:"1.12.1"}});n.extend(y.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(n){return f(this._defaults,n||{}),this},_attachDatepicker:function(t,i){var r,u=t.nodeName.toLowerCase(),f="div"===u||"span"===u;t.id||(this.uuid+=1,t.id="dp"+this.uuid);(r=this._newInst(n(t),f)).settings=n.extend({},i||{});"input"===u?this._connectDatepicker(t,r):f&&this._inlineDatepicker(t,r)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?p(n("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'><\/div>")):this.dpDiv}},_connectDatepicker:function(t,i){var r=n(t);i.append=n([]);i.trigger=n([]);r.hasClass(this.markerClassName)||(this._attachments(r,i),r.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),n.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var r,u=this._get(i,"appendText"),f=this._get(i,"isRTL");i.append&&i.append.remove();u&&(i.append=n("<span class='"+this._appendClass+"'>"+u+"<\/span>"),t[f?"before":"after"](i.append));t.off("focus",this._showDatepicker);i.trigger&&i.trigger.remove();"focus"!==(r=this._get(i,"showOn"))&&"both"!==r||t.on("focus",this._showDatepicker);"button"!==r&&"both"!==r||(u=this._get(i,"buttonText"),r=this._get(i,"buttonImage"),i.trigger=n(this._get(i,"buttonImageOnly")?n("<img/>").addClass(this._triggerClass).attr({src:r,alt:u,title:u}):n("<button type='button'><\/button>").addClass(this._triggerClass).html(r?n("<img/>").attr({src:r,alt:u,title:u}):u)),t[f?"before":"after"](i.trigger),i.trigger.on("click",function(){return n.datepicker._datepickerShowing&&n.datepicker._lastInput===t[0]?n.datepicker._hideDatepicker():(n.datepicker._datepickerShowing&&n.datepicker._lastInput!==t[0]&&n.datepicker._hideDatepicker(),n.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(n){var r,u,f,t,i,e;this._get(n,"autoSize")&&!n.inline&&(i=new Date(2009,11,20),(e=this._get(n,"dateFormat")).match(/[DM]/)&&(r=function(n){for(t=f=u=0;t<n.length;t++)n[t].length>u&&(u=n[t].length,f=t);return f},i.setMonth(r(this._get(n,e.match(/MM/)?"monthNames":"monthNamesShort"))),i.setDate(r(this._get(n,e.match(/DD/)?"dayNames":"dayNamesShort"))+20-i.getDay())),n.input.attr("size",this._formatDate(n,i).length))},_inlineDatepicker:function(t,i){var r=n(t);r.hasClass(this.markerClassName)||(r.addClass(this.markerClassName).append(i.dpDiv),n.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,r,u,e){var s,o=this._dialogInst;return o||(this.uuid+=1,s="dp"+this.uuid,this._dialogInput=n("<input type='text' id='"+s+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),n("body").append(this._dialogInput),(o=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},n.data(this._dialogInput[0],"datepicker",o)),f(o.settings,u||{}),i=i&&i.constructor===Date?this._formatDate(o,i):i,this._dialogInput.val(i),this._pos=e?e.length?e:[e.pageX,e.pageY]:null,this._pos||(s=document.documentElement.clientWidth,u=document.documentElement.clientHeight,i=document.documentElement.scrollLeft||document.body.scrollLeft,e=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+i,u/2-150+e]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),o.settings.onSelect=r,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),n.blockUI&&n.blockUI(this.dpDiv),n.data(this._dialogInput[0],"datepicker",o),this},_destroyDatepicker:function(t){var r,u=n(t),f=n.data(t,"datepicker");u.hasClass(this.markerClassName)&&(r=t.nodeName.toLowerCase(),n.removeData(t,"datepicker"),"input"===r?(f.append.remove(),f.trigger.remove(),u.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==r&&"span"!==r||u.removeClass(this.markerClassName).empty(),i===f&&(i=null))},_enableDatepicker:function(t){var r,i=n(t),u=n.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(r=t.nodeName.toLowerCase())?(t.disabled=!1,u.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==r&&"span"!==r||((i=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=n.map(this._disabledInputs,function(n){return n===t?null:n}))},_disableDatepicker:function(t){var r,i=n(t),u=n.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(r=t.nodeName.toLowerCase())?(t.disabled=!0,u.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==r&&"span"!==r||((i=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=n.map(this._disabledInputs,function(n){return n===t?null:n}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(n){if(!n)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===n)return!0;return!1},_getInst:function(t){try{return n.data(t,"datepicker")}catch(t){throw"Missing instance data for this datepicker";}},_optionDatepicker:function(t,i,r){var e,h,o,s,u=this._getInst(t);if(2===arguments.length&&"string"==typeof i)return"defaults"===i?n.extend({},n.datepicker._defaults):u?"all"===i?n.extend({},u.settings):this._get(u,i):null;e=i||{};"string"==typeof i&&((e={})[i]=r);u&&(this._curInst===u&&this._hideDatepicker(),h=this._getDateDatepicker(t,!0),o=this._getMinMaxDate(u,"min"),s=this._getMinMaxDate(u,"max"),f(u.settings,e),null!==o&&void 0!==e.dateFormat&&void 0===e.minDate&&(u.settings.minDate=this._formatDate(u,o)),null!==s&&void 0!==e.dateFormat&&void 0===e.maxDate&&(u.settings.maxDate=this._formatDate(u,s)),"disabled"in e&&(e.disabled?this._disableDatepicker(t):this._enableDatepicker(t)),this._attachments(n(t),u),this._autoSize(u),this._setDate(u,h),this._updateAlternate(u),this._updateDatepicker(u))},_changeDatepicker:function(n,t,i){this._optionDatepicker(n,t,i)},_refreshDatepicker:function(n){(n=this._getInst(n))&&this._updateDatepicker(n)},_setDateDatepicker:function(n,t){(n=this._getInst(n))&&(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(n,t){return n=this._getInst(n),n&&!n.inline&&this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(t){var f,u,i=n.datepicker._getInst(t.target),r=!0,e=i.dpDiv.is(".ui-datepicker-rtl");if(i._keyEvent=!0,n.datepicker._datepickerShowing)switch(t.keyCode){case 9:n.datepicker._hideDatepicker();r=!1;break;case 13:return(u=n("td."+n.datepicker._dayOverClass+":not(."+n.datepicker._currentClass+")",i.dpDiv))[0]&&n.datepicker._selectDay(t.target,i.selectedMonth,i.selectedYear,u[0]),(f=n.datepicker._get(i,"onSelect"))?(u=n.datepicker._formatDate(i),f.apply(i.input?i.input[0]:null,[u,i])):n.datepicker._hideDatepicker(),!1;case 27:n.datepicker._hideDatepicker();break;case 33:n.datepicker._adjustDate(t.target,t.ctrlKey?-n.datepicker._get(i,"stepBigMonths"):-n.datepicker._get(i,"stepMonths"),"M");break;case 34:n.datepicker._adjustDate(t.target,t.ctrlKey?+n.datepicker._get(i,"stepBigMonths"):+n.datepicker._get(i,"stepMonths"),"M");break;case 35:(t.ctrlKey||t.metaKey)&&n.datepicker._clearDate(t.target);r=t.ctrlKey||t.metaKey;break;case 36:(t.ctrlKey||t.metaKey)&&n.datepicker._gotoToday(t.target);r=t.ctrlKey||t.metaKey;break;case 37:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,e?1:-1,"D");r=t.ctrlKey||t.metaKey;t.originalEvent.altKey&&n.datepicker._adjustDate(t.target,t.ctrlKey?-n.datepicker._get(i,"stepBigMonths"):-n.datepicker._get(i,"stepMonths"),"M");break;case 38:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,-7,"D");r=t.ctrlKey||t.metaKey;break;case 39:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,e?-1:1,"D");r=t.ctrlKey||t.metaKey;t.originalEvent.altKey&&n.datepicker._adjustDate(t.target,t.ctrlKey?+n.datepicker._get(i,"stepBigMonths"):+n.datepicker._get(i,"stepMonths"),"M");break;case 40:(t.ctrlKey||t.metaKey)&&n.datepicker._adjustDate(t.target,7,"D");r=t.ctrlKey||t.metaKey;break;default:r=!1}else 36===t.keyCode&&t.ctrlKey?n.datepicker._showDatepicker(this):r=!1;r&&(t.preventDefault(),t.stopPropagation())},_doKeyPress:function(t){var r,i=n.datepicker._getInst(t.target);if(n.datepicker._get(i,"constrainInput"))return r=n.datepicker._possibleChars(n.datepicker._get(i,"dateFormat")),i=String.fromCharCode(null==t.charCode?t.keyCode:t.charCode),t.ctrlKey||t.metaKey||i<" "||!r||-1<r.indexOf(i)},_doKeyUp:function(t){var i=n.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{n.datepicker.parseDate(n.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,n.datepicker._getFormatConfig(i))&&(n.datepicker._setDateFromField(i),n.datepicker._updateAlternate(i),n.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(t){var e,u,r,i;"input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=n("input",t.parentNode)[0]);n.datepicker._isDisabledDatepicker(t)||n.datepicker._lastInput===t||(i=n.datepicker._getInst(t),n.datepicker._curInst&&n.datepicker._curInst!==i&&(n.datepicker._curInst.dpDiv.stop(!0,!0),i&&n.datepicker._datepickerShowing&&n.datepicker._hideDatepicker(n.datepicker._curInst.input[0])),!1!==(u=(r=n.datepicker._get(i,"beforeShow"))?r.apply(t,[t,i]):{})&&(f(i.settings,u),i.lastVal=null,n.datepicker._lastInput=t,n.datepicker._setDateFromField(i),n.datepicker._inDialog&&(t.value=""),n.datepicker._pos||(n.datepicker._pos=n.datepicker._findPos(t),n.datepicker._pos[1]+=t.offsetHeight),e=!1,n(t).parents().each(function(){return!(e|="fixed"===n(this).css("position"))}),r={left:n.datepicker._pos[0],top:n.datepicker._pos[1]},n.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),n.datepicker._updateDatepicker(i),r=n.datepicker._checkOffset(i,r,e),i.dpDiv.css({position:n.datepicker._inDialog&&n.blockUI?"static":e?"fixed":"absolute",display:"none",left:r.left+"px",top:r.top+"px"}),i.inline||(u=n.datepicker._get(i,"showAnim"),r=n.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(n){for(var i,t;n.length&&n[0]!==document;){if(("absolute"===(i=n.css("position"))||"relative"===i||"fixed"===i)&&(t=parseInt(n.css("zIndex"),10),!isNaN(t)&&0!==t))return t;n=n.parent()}return 0}(n(t))+1),n.datepicker._datepickerShowing=!0,n.effects&&n.effects.effect[u]?i.dpDiv.show(u,n.datepicker._get(i,"showOptions"),r):i.dpDiv[u||"show"](u?r:null),n.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),n.datepicker._curInst=i)))},_updateDatepicker:function(t){this.maxRows=4;(i=t).dpDiv.empty().append(this._generateHTML(t));this._attachHandlers(t);var r,u=this._getNumberOfMonths(t),f=u[1],e=t.dpDiv.find("."+this._dayOverClass+" a");0<e.length&&w.apply(e.get(0));t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");1<f&&t.dpDiv.addClass("ui-datepicker-multi-"+f).css("width",17*f+"em");t.dpDiv[(1!==u[0]||1!==u[1]?"add":"remove")+"Class"]("ui-datepicker-multi");t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");t===n.datepicker._curInst&&n.datepicker._datepickerShowing&&n.datepicker._shouldFocusInput(t)&&t.input.trigger("focus");t.yearshtml&&(r=t.yearshtml,setTimeout(function(){r===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml);r=t.yearshtml=null},0))},_shouldFocusInput:function(n){return n.input&&n.input.is(":visible")&&!n.input.is(":disabled")&&!n.input.is(":focus")},_checkOffset:function(t,i,r){var u=t.dpDiv.outerWidth(),f=t.dpDiv.outerHeight(),h=t.input?t.input.outerWidth():0,o=t.input?t.input.outerHeight():0,e=document.documentElement.clientWidth+(r?0:n(document).scrollLeft()),s=document.documentElement.clientHeight+(r?0:n(document).scrollTop());return i.left-=this._get(t,"isRTL")?u-h:0,i.left-=r&&i.left===t.input.offset().left?n(document).scrollLeft():0,i.top-=r&&i.top===t.input.offset().top+o?n(document).scrollTop():0,i.left-=Math.min(i.left,i.left+u>e&&u<e?Math.abs(i.left+u-e):0),i.top-=Math.min(i.top,i.top+f>s&&f<s?Math.abs(f+o):0),i},_findPos:function(t){for(var i=this._getInst(t),r=this._get(i,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||n.expr.filters.hidden(t));)t=t[r?"previousSibling":"nextSibling"];return[(i=n(t).offset()).left,i.top]},_hideDatepicker:function(t){var r,u,i=this._curInst;!i||t&&i!==n.data(t,"datepicker")||this._datepickerShowing&&(r=this._get(i,"showAnim"),u=this._get(i,"duration"),t=function(){n.datepicker._tidyDialog(i)},n.effects&&(n.effects.effect[r]||n.effects[r])?i.dpDiv.hide(r,n.datepicker._get(i,"showOptions"),u,t):i.dpDiv["slideDown"===r?"slideUp":"fadeIn"===r?"fadeOut":"hide"](r?u:null,t),r||t(),this._datepickerShowing=!1,(t=this._get(i,"onClose"))&&t.apply(i.input?i.input[0]:null,[i.input?i.input.val():"",i]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),n.blockUI&&(n.unblockUI(),n("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(n){n.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){var i;n.datepicker._curInst&&(i=n(t.target),t=n.datepicker._getInst(i[0]),(i[0].id===n.datepicker._mainDivId||0!==i.parents("#"+n.datepicker._mainDivId).length||i.hasClass(n.datepicker.markerClassName)||i.closest("."+n.datepicker._triggerClass).length||!n.datepicker._datepickerShowing||n.datepicker._inDialog&&n.blockUI)&&(!i.hasClass(n.datepicker.markerClassName)||n.datepicker._curInst===t)||n.datepicker._hideDatepicker())},_adjustDate:function(t,i,r){var u=n(t),t=this._getInst(u[0]);this._isDisabledDatepicker(u[0])||(this._adjustInstDate(t,i+("M"===r?this._get(t,"showCurrentAtPos"):0),r),this._updateDatepicker(t))},_gotoToday:function(t){var r=n(t),i=this._getInst(r[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear());this._notifyChange(i);this._adjustDate(r)},_selectMonthYear:function(t,i,r){var u=n(t),t=this._getInst(u[0]);t["selected"+("M"===r?"Month":"Year")]=t["draw"+("M"===r?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10);this._notifyChange(t);this._adjustDate(u)},_selectDay:function(t,i,r,u){var f=n(t);n(u).hasClass(this._unselectableClass)||this._isDisabledDatepicker(f[0])||((f=this._getInst(f[0])).selectedDay=f.currentDay=n("a",u).html(),f.selectedMonth=f.currentMonth=i,f.selectedYear=f.currentYear=r,this._selectDate(t,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear)))},_clearDate:function(t){t=n(t);this._selectDate(t,"")},_selectDate:function(t,i){var r=n(t),t=this._getInst(r[0]);i=null!=i?i:this._formatDate(t);t.input&&t.input.val(i);this._updateAlternate(t);(r=this._get(t,"onSelect"))?r.apply(t.input?t.input[0]:null,[i,t]):t.input&&t.input.trigger("change");t.inline?this._updateDatepicker(t):(this._hideDatepicker(),this._lastInput=t.input[0],"object"!=typeof t.input[0]&&t.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var i,r,u=this._get(t,"altField");u&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),r=this._getDate(t),t=this.formatDate(i,r,this._getFormatConfig(t)),n(u).val(t))},noWeekends:function(n){return n=n.getDay(),[0<n&&n<6,""]},iso8601Week:function(n){var t=new Date(n.getTime());return t.setDate(t.getDate()+4-(t.getDay()||7)),n=t.getTime(),t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1},parseDate:function(t,i,r){function l(n){return(n=h+1<t.length&&t.charAt(h+1)===n)&&h++,n}function c(n){var t=l(n),t="@"===n?14:"!"===n?20:"y"===n&&t?4:"o"===n?3:2,t=new RegExp("^\\d{"+("y"===n?t:1)+","+t+"}");if(!(t=i.substring(u).match(t)))throw"Missing number at position "+u;return u+=t[0].length,parseInt(t[0],10)}function b(t,r,f){var e=-1,r=n.map(l(t)?f:r,function(n,t){return[[t,n]]}).sort(function(n,t){return-(n[1].length-t[1].length)});if(n.each(r,function(n,t){var r=t[1];if(i.substr(u,r.length).toLowerCase()===r.toLowerCase())return e=t[0],u+=r.length,!1}),-1!==e)return e+1;throw"Unknown name at position "+u;}function v(){if(i.charAt(u)!==t.charAt(h))throw"Unexpected literal at position "+u;u++}if(null==t||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;for(var k,y,e,u=0,a=(r?r.shortYearCutoff:null)||this._defaults.shortYearCutoff,a="string"!=typeof a?a:(new Date).getFullYear()%100+parseInt(a,10),d=(r?r.dayNamesShort:null)||this._defaults.dayNamesShort,g=(r?r.dayNames:null)||this._defaults.dayNames,nt=(r?r.monthNamesShort:null)||this._defaults.monthNamesShort,tt=(r?r.monthNames:null)||this._defaults.monthNames,f=-1,o=-1,s=-1,p=-1,w=!1,h=0;h<t.length;h++)if(w)"'"!==t.charAt(h)||l("'")?v():w=!1;else switch(t.charAt(h)){case"d":s=c("d");break;case"D":b("D",d,g);break;case"o":p=c("o");break;case"m":o=c("m");break;case"M":o=b("M",nt,tt);break;case"y":f=c("y");break;case"@":f=(e=new Date(c("@"))).getFullYear();o=e.getMonth()+1;s=e.getDate();break;case"!":f=(e=new Date((c("!")-this._ticksTo1970)/1e4)).getFullYear();o=e.getMonth()+1;s=e.getDate();break;case"'":l("'")?v():w=!0;break;default:v()}if(u<i.length&&(y=i.substr(u),!/^\s+/.test(y)))throw"Extra/unparsed characters found in date: "+y;if(-1===f?f=(new Date).getFullYear():f<100&&(f+=(new Date).getFullYear()-(new Date).getFullYear()%100+(f<=a?0:-100)),-1<p)for(o=1,s=p;!(s<=(k=this._getDaysInMonth(f,o-1)));)o++,s-=k;if((e=this._daylightSavingAdjust(new Date(f,o-1,s))).getFullYear()!==f||e.getMonth()+1!==o||e.getDate()!==s)throw"Invalid date";return e},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(n,t,i){function f(t){return(t=u+1<n.length&&n.charAt(u+1)===t)&&u++,t}function e(n,t,i){var r=""+t;if(f(n))for(;r.length<i;)r="0"+r;return r}function s(n,t,i,r){return(f(n)?r:i)[t]}if(!t)return"";var u,h=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,c=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,a=(i?i.monthNames:null)||this._defaults.monthNames,r="",o=!1;if(t)for(u=0;u<n.length;u++)if(o)"'"!==n.charAt(u)||f("'")?r+=n.charAt(u):o=!1;else switch(n.charAt(u)){case"d":r+=e("d",t.getDate(),2);break;case"D":r+=s("D",t.getDay(),h,c);break;case"o":r+=e("o",Math.round((new Date(t.getFullYear(),t.getMonth(),t.getDate()).getTime()-new Date(t.getFullYear(),0,0).getTime())/864e5),3);break;case"m":r+=e("m",t.getMonth()+1,2);break;case"M":r+=s("M",t.getMonth(),l,a);break;case"y":r+=f("y")?t.getFullYear():(t.getFullYear()%100<10?"0":"")+t.getFullYear()%100;break;case"@":r+=t.getTime();break;case"!":r+=1e4*t.getTime()+this._ticksTo1970;break;case"'":f("'")?r+="'":o=!0;break;default:r+=n.charAt(u)}return r},_possibleChars:function(n){function u(i){return(i=t+1<n.length&&n.charAt(t+1)===i)&&t++,i}for(var i="",r=!1,t=0;t<n.length;t++)if(r)"'"!==n.charAt(t)||u("'")?i+=n.charAt(t):r=!1;else switch(n.charAt(t)){case"d":case"m":case"y":case"@":i+="0123456789";break;case"D":case"M":return null;case"'":u("'")?i+="'":r=!0;break;default:i+=n.charAt(t)}return i},_get:function(n,t){return(void 0!==n.settings[t]?n.settings:this._defaults)[t]},_setDateFromField:function(n,t){if(n.input.val()!==n.lastVal){var f=this._get(n,"dateFormat"),r=n.lastVal=n.input?n.input.val():null,u=this._getDefaultDate(n),i=u,e=this._getFormatConfig(n);try{i=this.parseDate(f,r,e)||u}catch(n){r=t?"":r}n.selectedDay=i.getDate();n.drawMonth=n.selectedMonth=i.getMonth();n.drawYear=n.selectedYear=i.getFullYear();n.currentDay=r?i.getDate():0;n.currentMonth=r?i.getMonth():0;n.currentYear=r?i.getFullYear():0;this._adjustInstDate(n)}},_getDefaultDate:function(n){return this._restrictMinMax(n,this._determineDate(n,this._get(n,"defaultDate"),new Date))},_determineDate:function(t,i,r){var f,u,i=null==i||""===i?r:"string"==typeof i?function(i){try{return n.datepicker.parseDate(n.datepicker._get(t,"dateFormat"),i,n.datepicker._getFormatConfig(t))}catch(i){}for(var o=(i.toLowerCase().match(/^c/)?n.datepicker._getDate(t):null)||new Date,f=o.getFullYear(),e=o.getMonth(),r=o.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,u=s.exec(i);u;){switch(u[2]||"d"){case"d":case"D":r+=parseInt(u[1],10);break;case"w":case"W":r+=7*parseInt(u[1],10);break;case"m":case"M":e+=parseInt(u[1],10);r=Math.min(r,n.datepicker._getDaysInMonth(f,e));break;case"y":case"Y":f+=parseInt(u[1],10);r=Math.min(r,n.datepicker._getDaysInMonth(f,e))}u=s.exec(i)}return new Date(f,e,r)}(i):"number"==typeof i?isNaN(i)?r:(f=i,(u=new Date).setDate(u.getDate()+f),u):new Date(i.getTime());return(i=i&&"Invalid Date"===i.toString()?r:i)&&(i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0)),this._daylightSavingAdjust(i)},_daylightSavingAdjust:function(n){return n?(n.setHours(12<n.getHours()?n.getHours()+2:0),n):null},_setDate:function(n,t,i){var r=!t,u=n.selectedMonth,f=n.selectedYear,t=this._restrictMinMax(n,this._determineDate(n,t,new Date));n.selectedDay=n.currentDay=t.getDate();n.drawMonth=n.selectedMonth=n.currentMonth=t.getMonth();n.drawYear=n.selectedYear=n.currentYear=t.getFullYear();u===n.selectedMonth&&f===n.selectedYear||i||this._notifyChange(n);this._adjustInstDate(n);n.input&&n.input.val(r?"":this._formatDate(n))},_getDate:function(n){return!n.currentYear||n.input&&""===n.input.val()?null:this._daylightSavingAdjust(new Date(n.currentYear,n.currentMonth,n.currentDay))},_attachHandlers:function(t){var r=this._get(t,"stepMonths"),i="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){n.datepicker._adjustDate(i,-r,"M")},next:function(){n.datepicker._adjustDate(i,+r,"M")},hide:function(){n.datepicker._hideDatepicker()},today:function(){n.datepicker._gotoToday(i)},selectDay:function(){return n.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return n.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return n.datepicker._selectMonthYear(i,this,"Y"),!1}};n(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(n){var d,ut,ft,c,et,kt,dt,gt,ni,ot,tt,ti,st,it,h,y,ht,p,ct,f,lt,ii,e,w,at,t,vt,yt,g,b,rt,nt=new Date,pt=this._daylightSavingAdjust(new Date(nt.getFullYear(),nt.getMonth(),nt.getDate())),o=this._get(n,"isRTL"),ri=this._get(n,"showButtonPanel"),a=this._get(n,"hideIfNoPrevNext"),l=this._get(n,"navigationAsDateFormat"),s=this._getNumberOfMonths(n),i=this._get(n,"showCurrentAtPos"),nt=this._get(n,"stepMonths"),wt=1!==s[0]||1!==s[1],bt=this._daylightSavingAdjust(n.currentDay?new Date(n.currentYear,n.currentMonth,n.currentDay):new Date(9999,9,9)),k=this._getMinMaxDate(n,"min"),v=this._getMinMaxDate(n,"max"),r=n.drawMonth-i,u=n.drawYear;if(r<0&&(r+=12,u--),v)for(d=this._daylightSavingAdjust(new Date(v.getFullYear(),v.getMonth()-s[0]*s[1]+1,v.getDate())),d=k&&d<k?k:d;this._daylightSavingAdjust(new Date(u,r,1))>d;)--r<0&&(r=11,u--);for(n.drawMonth=r,n.drawYear=u,i=this._get(n,"prevText"),i=l?this.formatDate(i,this._daylightSavingAdjust(new Date(u,r-nt,1)),this._getFormatConfig(n)):i,ut=this._canAdjustMonth(n,-1,u,r)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(o?"e":"w")+"'>"+i+"<\/span><\/a>":a?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(o?"e":"w")+"'>"+i+"<\/span><\/a>",i=this._get(n,"nextText"),i=l?this.formatDate(i,this._daylightSavingAdjust(new Date(u,r+nt,1)),this._getFormatConfig(n)):i,ft=this._canAdjustMonth(n,1,u,r)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(o?"w":"e")+"'>"+i+"<\/span><\/a>":a?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(o?"w":"e")+"'>"+i+"<\/span><\/a>",a=this._get(n,"currentText"),i=this._get(n,"gotoCurrent")&&n.currentDay?bt:pt,a=l?this.formatDate(a,i,this._getFormatConfig(n)):a,l=n.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(n,"closeText")+"<\/button>",l=ri?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(o?l:"")+(this._isInRange(n,i)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+a+"<\/button>":"")+(o?"":l)+"<\/div>":"",c=parseInt(this._get(n,"firstDay"),10),c=isNaN(c)?0:c,et=this._get(n,"showWeek"),kt=this._get(n,"dayNames"),dt=this._get(n,"dayNamesMin"),gt=this._get(n,"monthNames"),ni=this._get(n,"monthNamesShort"),ot=this._get(n,"beforeShowDay"),tt=this._get(n,"showOtherMonths"),ti=this._get(n,"selectOtherMonths"),st=this._getDefaultDate(n),it="",y=0;y<s[0];y++){for(ht="",this.maxRows=4,p=0;p<s[1];p++){if(ct=this._daylightSavingAdjust(new Date(u,r,n.selectedDay)),e=" ui-corner-all",f="",wt){if(f+="<div class='ui-datepicker-group",1<s[1])switch(p){case 0:f+=" ui-datepicker-group-first";e=" ui-corner-"+(o?"right":"left");break;case s[1]-1:f+=" ui-datepicker-group-last";e=" ui-corner-"+(o?"left":"right");break;default:f+=" ui-datepicker-group-middle";e=""}f+="'>"}for(f+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+e+"'>"+(/all|left/.test(e)&&0===y?o?ft:ut:"")+(/all|right/.test(e)&&0===y?o?ut:ft:"")+this._generateMonthYearHeader(n,r,u,k,v,0<y||0<p,gt,ni)+"<\/div><table class='ui-datepicker-calendar'><thead><tr>",lt=et?"<th class='ui-datepicker-week-col'>"+this._get(n,"weekHeader")+"<\/th>":"",h=0;h<7;h++)lt+="<th scope='col'"+(5<=(h+c+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+kt[ii=(h+c)%7]+"'>"+dt[ii]+"<\/span><\/th>";for(f+=lt+"<\/tr><\/thead><tbody>",w=this._getDaysInMonth(u,r),u===n.selectedYear&&r===n.selectedMonth&&(n.selectedDay=Math.min(n.selectedDay,w)),e=(this._getFirstDayOfMonth(u,r)-c+7)%7,w=Math.ceil((e+w)/7),at=wt&&this.maxRows>w?this.maxRows:w,this.maxRows=at,t=this._daylightSavingAdjust(new Date(u,r,1-e)),vt=0;vt<at;vt++){for(f+="<tr>",yt=et?"<td class='ui-datepicker-week-col'>"+this._get(n,"calculateWeek")(t)+"<\/td>":"",h=0;h<7;h++)g=ot?ot.apply(n.input?n.input[0]:null,[t]):[!0,""],rt=(b=t.getMonth()!==r)&&!ti||!g[0]||k&&t<k||v&&v<t,yt+="<td class='"+(5<=(h+c+6)%7?" ui-datepicker-week-end":"")+(b?" ui-datepicker-other-month":"")+(t.getTime()===ct.getTime()&&r===n.selectedMonth&&n._keyEvent||st.getTime()===t.getTime()&&st.getTime()===ct.getTime()?" "+this._dayOverClass:"")+(rt?" "+this._unselectableClass+" ui-state-disabled":"")+(b&&!tt?"":" "+g[1]+(t.getTime()===bt.getTime()?" "+this._currentClass:"")+(t.getTime()===pt.getTime()?" ui-datepicker-today":""))+"'"+(b&&!tt||!g[2]?"":" title='"+g[2].replace(/'/g,"&#39;")+"'")+(rt?"":" data-handler='selectDay' data-event='click' data-month='"+t.getMonth()+"' data-year='"+t.getFullYear()+"'")+">"+(b&&!tt?"&#xa0;":rt?"<span class='ui-state-default'>"+t.getDate()+"<\/span>":"<a class='ui-state-default"+(t.getTime()===pt.getTime()?" ui-state-highlight":"")+(t.getTime()===bt.getTime()?" ui-state-active":"")+(b?" ui-priority-secondary":"")+"' href='#'>"+t.getDate()+"<\/a>")+"<\/td>",t.setDate(t.getDate()+1),t=this._daylightSavingAdjust(t);f+=yt+"<\/tr>"}11<++r&&(r=0,u++);ht+=f+="<\/tbody><\/table>"+(wt?"<\/div>"+(0<s[0]&&p===s[1]-1?"<div class='ui-datepicker-row-break'><\/div>":""):"")}it+=ht}return it+=l,n._keyEvent=!1,it},_generateMonthYearHeader:function(n,t,i,r,u,f,e,o){var b,k,h,v,y,s,a,p=this._get(n,"changeMonth"),w=this._get(n,"changeYear"),d=this._get(n,"showMonthAfterYear"),c="<div class='ui-datepicker-title'>",l="";if(f||!p)l+="<span class='ui-datepicker-month'>"+e[t]+"<\/span>";else{for(b=r&&r.getFullYear()===i,k=u&&u.getFullYear()===i,l+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",h=0;h<12;h++)(!b||h>=r.getMonth())&&(!k||h<=u.getMonth())&&(l+="<option value='"+h+"'"+(h===t?" selected='selected'":"")+">"+o[h]+"<\/option>");l+="<\/select>"}if(d||(c+=l+(!f&&p&&w?"":"&#xa0;")),!n.yearshtml)if(n.yearshtml="",f||!w)c+="<span class='ui-datepicker-year'>"+i+"<\/span>";else{for(v=this._get(n,"yearRange").split(":"),y=(new Date).getFullYear(),s=(e=function(n){return n=n.match(/c[+\-].*/)?i+parseInt(n.substring(1),10):n.match(/[+\-].*/)?y+parseInt(n,10):parseInt(n,10),isNaN(n)?y:n})(v[0]),a=Math.max(s,e(v[1]||"")),s=r?Math.max(s,r.getFullYear()):s,a=u?Math.min(a,u.getFullYear()):a,n.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";s<=a;s++)n.yearshtml+="<option value='"+s+"'"+(s===i?" selected='selected'":"")+">"+s+"<\/option>";n.yearshtml+="<\/select>";c+=n.yearshtml;n.yearshtml=null}return c+=this._get(n,"yearSuffix"),d&&(c+=(!f&&p&&w?"":"&#xa0;")+l),c+"<\/div>"},_adjustInstDate:function(n,t,i){var r=n.selectedYear+("Y"===i?t:0),u=n.selectedMonth+("M"===i?t:0),t=Math.min(n.selectedDay,this._getDaysInMonth(r,u))+("D"===i?t:0),t=this._restrictMinMax(n,this._daylightSavingAdjust(new Date(r,u,t)));n.selectedDay=t.getDate();n.drawMonth=n.selectedMonth=t.getMonth();n.drawYear=n.selectedYear=t.getFullYear();"M"!==i&&"Y"!==i||this._notifyChange(n)},_restrictMinMax:function(n,t){var i=this._getMinMaxDate(n,"min"),n=this._getMinMaxDate(n,"max"),t=i&&t<i?i:t;return n&&n<t?n:t},_notifyChange:function(n){var t=this._get(n,"onChangeMonthYear");t&&t.apply(n.input?n.input[0]:null,[n.selectedYear,n.selectedMonth+1,n])},_getNumberOfMonths:function(n){return n=this._get(n,"numberOfMonths"),null==n?[1,1]:"number"==typeof n?[1,n]:n},_getMinMaxDate:function(n,t){return this._determineDate(n,this._get(n,t+"Date"),null)},_getDaysInMonth:function(n,t){return 32-this._daylightSavingAdjust(new Date(n,t,32)).getDate()},_getFirstDayOfMonth:function(n,t){return new Date(n,t,1).getDay()},_canAdjustMonth:function(n,t,i,r){var u=this._getNumberOfMonths(n),u=this._daylightSavingAdjust(new Date(i,r+(t<0?t:u[0]*u[1]),1));return t<0&&u.setDate(this._getDaysInMonth(u.getFullYear(),u.getMonth())),this._isInRange(n,u)},_isInRange:function(n,t){var f=this._getMinMaxDate(n,"min"),e=this._getMinMaxDate(n,"max"),r=null,u=null,i=this._get(n,"yearRange");return i&&(n=i.split(":"),i=(new Date).getFullYear(),r=parseInt(n[0],10),u=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(r+=i),n[1].match(/[+\-].*/)&&(u+=i)),(!f||t.getTime()>=f.getTime())&&(!e||t.getTime()<=e.getTime())&&(!r||t.getFullYear()>=r)&&(!u||t.getFullYear()<=u)},_getFormatConfig:function(n){var t=this._get(n,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(n,"dayNamesShort"),dayNames:this._get(n,"dayNames"),monthNamesShort:this._get(n,"monthNamesShort"),monthNames:this._get(n,"monthNames")}},_formatDate:function(n,t,i,r){return t||(n.currentDay=n.selectedDay,n.currentMonth=n.selectedMonth,n.currentYear=n.selectedYear),t=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(r,i,t)):this._daylightSavingAdjust(new Date(n.currentYear,n.currentMonth,n.currentDay)),this.formatDate(this._get(n,"dateFormat"),t,this._getFormatConfig(n))}});n.fn.datepicker=function(t){if(!this.length)return this;n.datepicker.initialized||(n(document).on("mousedown",n.datepicker._checkExternalClick),n.datepicker.initialized=!0);0===n("#"+n.datepicker._mainDivId).length&&n("body").append(n.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"===t||"getDate"===t||"widget"===t)||"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?n.datepicker["_"+t+"Datepicker"].apply(n.datepicker,[this].concat(i)):n.datepicker._attachDatepicker(this,t)})};n.datepicker=new y;n.datepicker.initialized=!1;n.datepicker.uuid=(new Date).getTime();n.datepicker.version="1.12.1";n.datepicker});AmCharts.themes.light={themeName:"light",AmChart:{color:"#000000",backgroundColor:"#FFFFFF"},AmCoordinateChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"]},AmStockChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"]},AmSlicedChart:{colors:["#67b7dc","#fdd400","#84b761","#cc4748","#cd82ad","#2f4074","#448e4d","#b7b83f","#b9783f","#b93e3d","#913167"],outlineAlpha:1,outlineThickness:2,labelTickColor:"#000000",labelTickAlpha:.3},AmRectangularChart:{zoomOutButtonColor:"#000000",zoomOutButtonRollOverAlpha:.15,zoomOutButtonImage:"lens"},AxisBase:{axisColor:"#000000",axisAlpha:.3,gridAlpha:.1,gridColor:"#000000"},ChartScrollbar:{backgroundColor:"#000000",backgroundAlpha:.12,graphFillAlpha:.5,graphLineAlpha:0,selectedBackgroundColor:"#FFFFFF",selectedBackgroundAlpha:.4,gridAlpha:.15},ChartCursor:{cursorColor:"#000000",color:"#FFFFFF",cursorAlpha:.5},AmLegend:{color:"#000000"},AmGraph:{lineAlpha:.9},GaugeArrow:{color:"#000000",alpha:.8,nailAlpha:0,innerRadius:"40%",nailRadius:15,startWidth:15,borderAlpha:.8,nailBorderAlpha:0},GaugeAxis:{tickColor:"#000000",tickAlpha:1,tickLength:15,minorTickLength:8,axisThickness:3,axisColor:"#000000",axisAlpha:1,bandAlpha:.8},TrendLine:{lineColor:"#c03246",lineAlpha:.8},AreasSettings:{alpha:.8,color:"#67b7dc",colorSolid:"#003767",unlistedAreasAlpha:.4,unlistedAreasColor:"#000000",outlineColor:"#FFFFFF",outlineAlpha:.5,outlineThickness:.5,rollOverColor:"#3c5bdc",rollOverOutlineColor:"#FFFFFF",selectedOutlineColor:"#FFFFFF",selectedColor:"#f15135",unlistedAreasOutlineColor:"#FFFFFF",unlistedAreasOutlineAlpha:.5},LinesSettings:{color:"#000000",alpha:.8},ImagesSettings:{alpha:.8,labelColor:"#000000",color:"#000000",labelRollOverColor:"#3c5bdc"},ZoomControl:{buttonFillAlpha:.7,buttonIconColor:"#a7a7a7"},SmallMap:{mapColor:"#000000",rectangleColor:"#f15135",backgroundColor:"#FFFFFF",backgroundAlpha:.7,borderThickness:1,borderAlpha:.8},PeriodSelector:{color:"#000000"},PeriodButton:{color:"#000000",background:"transparent",opacity:.7,border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",boxSizing:"border-box"},PeriodButtonSelected:{color:"#000000",backgroundColor:"#b9cdf5",border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",opacity:1,boxSizing:"border-box"},PeriodInputField:{color:"#000000",background:"transparent",border:"1px solid rgba(0, 0, 0, .3)",outline:"none"},DataSetSelector:{color:"#000000",selectedBackgroundColor:"#b9cdf5",rollOverBackgroundColor:"#a8b0e4"},DataSetCompareList:{color:"#000000",lineHeight:"100%",boxSizing:"initial",webkitBoxSizing:"initial",border:"1px solid rgba(0, 0, 0, .3)"},DataSetSelect:{border:"1px solid rgba(0, 0, 0, .3)",outline:"none"}},function(){var n=window.AmCharts;n.AmSlicedChart=n.Class({inherits:n.AmChart,construct:function(t){this.createEvents("rollOverSlice","rollOutSlice","clickSlice","pullOutSlice","pullInSlice","rightClickSlice");n.AmSlicedChart.base.construct.call(this,t);this.colors="#FF0F00 #FF6600 #FF9E01 #FCD202 #F8FF01 #B0DE09 #04D215 #0D8ECF #0D52D1 #2A0CD0 #8A0CCF #CD0D74 #754DEB #DDDDDD #999999 #333333 #000000 #57032A #CA9726 #990000 #4B0C25".split(" ");this.alpha=1;this.groupPercent=0;this.groupedTitle="Other";this.groupedPulled=!1;this.groupedAlpha=1;this.marginLeft=0;this.marginBottom=this.marginTop=10;this.marginRight=0;this.hoverAlpha=1;this.outlineColor="#FFFFFF";this.outlineAlpha=0;this.outlineThickness=1;this.startAlpha=0;this.startDuration=1;this.startEffect="bounce";this.sequencedAnimation=!0;this.pullOutDuration=1;this.pullOutEffect="bounce";this.pullOnHover=this.pullOutOnlyOne=!1;this.labelsEnabled=!0;this.labelTickColor="#000000";this.labelTickAlpha=.2;this.hideLabelsPercent=0;this.urlTarget="_self";this.autoMarginOffset=10;this.gradientRatio=[];this.maxLabelWidth=200;this.accessibleLabel="[[title]]: [[percents]]% [[value]] [[description]]";n.applyTheme(this,t,"AmSlicedChart")},initChart:function(){n.AmSlicedChart.base.initChart.call(this);this.dataChanged&&(this.parseData(),this.dispatchDataUpdated=!0,this.dataChanged=!1,this.setLegendData(this.chartData));this.drawChart()},handleLegendEvent:function(n){var r=n.type,t=n.dataItem,u=this.legend,i;if(t.wedge&&t){i=t.hidden;switch(n=n.event,r){case"clickMarker":i||u.switchable||this.clickSlice(t,n);break;case"clickLabel":i||this.clickSlice(t,n,!1);break;case"rollOverItem":i||this.rollOverSlice(t,!1,n);break;case"rollOutItem":i||this.rollOutSlice(t,n);break;case"hideItem":this.hideSlice(t,n);break;case"showItem":this.showSlice(t,n)}}},invalidateVisibility:function(){this.recalculatePercents();this.initChart();var n=this.legend;n&&n.invalidateSize()},addEventListeners:function(n,t){var i=this;n.mouseover(function(n){i.rollOverSlice(t,!0,n)}).mouseout(function(n){i.rollOutSlice(t,n)}).touchend(function(n){i.rollOverSlice(t,n)}).mouseup(function(n){i.clickSlice(t,n)}).contextmenu(function(n){i.handleRightClick(t,n)})},formatString:function(t,i,r){t=n.formatValue(t,i,["value"],this.nf,"",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers);var u=this.pf.precision;return isNaN(this.tempPrec)||(this.pf.precision=this.tempPrec),t=n.formatValue(t,i,["percents"],this.pf),t=n.massReplace(t,{"[[title]]":i.title,"[[description]]":i.description}),this.pf.precision=u,-1!=t.indexOf("[[")&&(t=n.formatDataContextValue(t,i.dataContext)),t=r?n.fixNewLines(t):n.fixBrakes(t),t=n.cleanFromEmpty(t)},startSlices:function(){for(var n=0;n<this.chartData.length;n++)0<this.startDuration&&this.sequencedAnimation?this.setStartTO(n):this.startSlice(this.chartData[n])},setStartTO:function(n){var t=this;n=setTimeout(function(){t.startSequenced.call(t)},t.startDuration/t.chartData.length*500*n);t.timeOuts.push(n)},pullSlices:function(n){for(var r=this.chartData,i,t=0;t<r.length;t++)i=r[t],i.pulled&&this.pullSlice(i,1,n)},startSequenced:function(){for(var t=this.chartData,n=0;n<t.length;n++)if(!t[n].started){this.startSlice(this.chartData[n]);break}},startSlice:function(n){n.started=!0;var t=n.wedge,i=this.startDuration,r=n.labelSet;t&&0<i&&(0<n.alpha&&t.show(),t.translate(n.startX,n.startY),this.animatable.push(t),t.animate({opacity:1,translate:"0,0"},i,this.startEffect));r&&0<i&&(0<n.alpha&&r.show(),r.translate(n.startX,n.startY),r.animate({opacity:1,translate:"0,0"},i,this.startEffect))},showLabels:function(){for(var r=this.chartData,n,i,t=0;t<r.length;t++)n=r[t],0<n.alpha&&(i=n.label,i&&i.show(),(n=n.tick)&&n.show())},showSlice:function(n){isNaN(n)?n.hidden=!1:this.chartData[n].hidden=!1;this.invalidateVisibility()},hideSlice:function(n){isNaN(n)?n.hidden=!0:this.chartData[n].hidden=!0;this.hideBalloon();this.invalidateVisibility()},rollOverSlice:function(t,i,r){var e,o,u,f;(isNaN(t)||(t=this.chartData[t]),clearTimeout(this.hoverInt),t.hidden)||(this.pullOnHover&&this.pullSlice(t,1),1>this.hoverAlpha&&t.wedge&&t.wedge.attr({opacity:this.hoverAlpha}),e=t.balloonX,o=t.balloonY,t.pulled&&(e+=t.pullX,o+=t.pullY),u=this.formatString(this.balloonText,t,!0),f=this.balloonFunction,f&&(u=f(t,u)),f=n.adjustLuminosity(t.color,-.15),u?this.showBalloon(u,f,i,e,o):this.hideBalloon(),0===t.value&&this.hideBalloon(),this.fire({type:"rollOverSlice",dataItem:t,chart:this,event:r}))},rollOutSlice:function(n,t){isNaN(n)||(n=this.chartData[n]);n.wedge&&n.wedge.attr({opacity:1});this.hideBalloon();this.fire({type:"rollOutSlice",dataItem:n,chart:this,event:t})},clickSlice:function(t,i,r){this.checkTouchDuration(i)&&(isNaN(t)||(t=this.chartData[t]),t.pulled?this.pullSlice(t,0):this.pullSlice(t,1),n.getURL(t.url,this.urlTarget),r||this.fire({type:"clickSlice",dataItem:t,chart:this,event:i}))},handleRightClick:function(n,t){isNaN(n)||(n=this.chartData[n]);this.fire({type:"rightClickSlice",dataItem:n,chart:this,event:t})},drawTicks:function(){for(var u=this.chartData,t,i,r=0;r<u.length;r++)t=u[r],t.label&&!t.skipTick&&(i=t.ty,i=n.line(this.container,[t.tx0,t.tx,t.tx2],[t.ty0,i,i],this.labelTickColor,this.labelTickAlpha),n.setCN(this,i,this.type+"-tick"),n.setCN(this,i,t.className,!0),t.tick=i,t.wedge.push(i))},initialStart:function(){var n=this,t=n.startDuration,i=setTimeout(function(){n.showLabels.call(n)},1e3*t);n.timeOuts.push(i);n.chartCreated?n.pullSlices(!0):(n.startSlices(),0<t?(t=setTimeout(function(){n.pullSlices.call(n)},1200*t),n.timeOuts.push(t)):n.pullSlices(!0))},pullSlice:function(n,t,i){var r=this.pullOutDuration;!0===i&&(r=0);(i=n.wedge)&&(0<r?(i.animate({translate:t*n.pullX+","+t*n.pullY},r,this.pullOutEffect),n.labelSet&&n.labelSet.animate({translate:t*n.pullX+","+t*n.pullY},r,this.pullOutEffect)):(n.labelSet&&n.labelSet.translate(t*n.pullX,t*n.pullY),i.translate(t*n.pullX,t*n.pullY)));1==t?(n.pulled=!0,this.pullOutOnlyOne&&this.pullInAll(n.index),n={type:"pullOutSlice",dataItem:n,chart:this}):(n.pulled=!1,n={type:"pullInSlice",dataItem:n,chart:this});this.fire(n)},pullInAll:function(n){for(var i=this.chartData,t=0;t<this.chartData.length;t++)t!=n&&i[t].pulled&&this.pullSlice(i[t],0)},pullOutAll:function(){for(var t=this.chartData,n=0;n<t.length;n++)t[n].pulled||this.pullSlice(t[n],1)},parseData:function(){var o=[],s,r,t,i,f,e,u;if(this.chartData=o,s=this.dataProvider,isNaN(this.pieAlpha)||(this.alpha=this.pieAlpha),void 0!==s){for(f=s.length,e=0,r=0;r<f;r++)t={},u=s[r],t.dataContext=u,null!==u[this.valueField]&&(t.value=Number(u[this.valueField])),(i=u[this.titleField])||(i=""),t.title=i,t.pulled=n.toBoolean(u[this.pulledField],!1),(i=u[this.descriptionField])||(i=""),t.description=i,t.labelRadius=Number(u[this.labelRadiusField]),t.switchable=!0,t.className=u[this.classNameField],t.url=u[this.urlField],i=u[this.patternField],!i&&this.patterns&&(i=this.patterns[r]),t.pattern=i,t.visibleInLegend=n.toBoolean(u[this.visibleInLegendField],!0),i=u[this.alphaField],t.alpha=void 0!==i?Number(i):this.alpha,i=u[this.colorField],void 0!==i&&(t.color=i),t.labelColor=n.toColor(u[this.labelColorField]),e+=t.value,t.hidden=!1,o[r]=t;for(r=s=0;r<f;r++)t=o[r],t.percents=t.value/e*100,t.percents<this.groupPercent&&s++;for(1<s&&(this.groupValue=0,this.removeSmallSlices(),o.push({title:this.groupedTitle,value:this.groupValue,percents:this.groupValue/e*100,pulled:this.groupedPulled,color:this.groupedColor,url:this.groupedUrl,description:this.groupedDescription,alpha:this.groupedAlpha,pattern:this.groupedPattern,className:this.groupedClassName,dataContext:{}})),f=this.baseColor,f||(f=this.pieBaseColor),e=this.brightnessStep,e||(e=this.pieBrightnessStep),r=0;r<o.length;r++)f?i=n.adjustLuminosity(f,r*e/100):void 0===(i=this.colors[r])&&(i=n.randomColor()),void 0===o[r].color&&(o[r].color=i);this.recalculatePercents()}},recalculatePercents:function(){for(var n,i=this.chartData,r=0,t=0;t<i.length;t++)n=i[t],!n.hidden&&0<n.value&&(r+=n.value);for(t=0;t<i.length;t++)n=this.chartData[t],n.percents=!n.hidden&&0<n.value?100*n.value/r:0},removeSmallSlices:function(){for(var t=this.chartData,n=t.length-1;0<=n;n--)t[n].percents<this.groupPercent&&(this.groupValue+=t[n].value,t.splice(n,1))},animateAgain:function(){var n=this,t,i,r;for(n.startSlices(),t=0;t<n.chartData.length;t++)i=n.chartData[t],i.started=!1,r=i.wedge,r&&(r.setAttr("opacity",n.startAlpha),r.translate(i.startX,i.startY)),(r=i.labelSet)&&(r.setAttr("opacity",n.startAlpha),r.translate(i.startX,i.startY));t=n.startDuration;0<t?(t=setTimeout(function(){n.pullSlices.call(n)},1200*t),n.timeOuts.push(t)):n.pullSlices()},measureMaxLabel:function(){for(var f=this.chartData,u=0,r=0;r<f.length;r++){var i=f[r],t=this.formatString(this.labelText,i),e=this.labelFunction;e&&(t=e(i,t));i=n.text(this.container,t,this.color,this.fontFamily,this.fontSize);t=i.getBBox().width;t>u&&(u=t);i.remove()}return u}})}(),function(){var n=window.AmCharts;n.AmPieChart=n.Class({inherits:n.AmSlicedChart,construct:function(t){this.type="pie";n.AmPieChart.base.construct.call(this,t);this.cname="AmPieChart";this.pieBrightnessStep=30;this.minRadius=10;this.depth3D=0;this.startAngle=90;this.angle=this.innerRadius=0;this.startRadius="500%";this.pullOutRadius="20%";this.labelRadius=20;this.labelText="[[title]]: [[percents]]%";this.balloonText="[[title]]: [[percents]]% ([[value]])\n[[description]]";this.previousScale=1;this.adjustPrecision=!1;this.gradientType="radial";n.applyTheme(this,t,this.cname)},drawChart:function(){var a,u,ut,f,y,i,v,k;if(n.AmPieChart.base.drawChart.call(this),a=this.chartData,n.ifArray(a)){if(0<this.realWidth&&0<this.realHeight){n.VML&&(this.startAlpha=1);var ft=this.startDuration,rt=this.container,h=this.updateWidth();this.realWidth=h;u=this.updateHeight();this.realHeight=u;var d,g,r,o=n.toCoordinate,f=o(this.marginLeft,h),t=o(this.marginRight,h),nt=o(this.marginTop,u)+this.getTitleHeight(),s=o(this.marginBottom,u)+this.depth3D,w=n.toNumber(this.labelRadius),c=this.measureMaxLabel();for(c>this.maxLabelWidth&&(c=this.maxLabelWidth),this.labelText&&this.labelsEnabled||(w=c=0),d=void 0===this.pieX?(h-f-t)/2+f:o(this.pieX,this.realWidth),g=void 0===this.pieY?(u-nt-s)/2+nt:o(this.pieY,u),r=o(this.radius,h,u),r||(h=0<=w?h-f-t-2*c:h-f-t,u=u-nt-s,r=Math.min(h,u),u<h&&(r/=1-this.angle/90)>h&&(r=h),u=n.toCoordinate(this.pullOutRadius,r),r=(0<=w?r-1.8*(w+u):r-1.8*u)/2),r<this.minRadius&&(r=this.minRadius),u=o(this.pullOutRadius,r),nt=n.toCoordinate(this.startRadius,r),o=o(this.innerRadius,r),o>=r&&(o=r-1),s=n.fitToBounds(this.startAngle,0,360),0<this.depth3D&&(s=270<=s?270:90),s-=90,360<s&&(s-=360),h=r-r*this.angle/90,f=c=0;f<a.length;f++)t=a[f],!0!==t.hidden&&(c+=n.roundTo(t.percents,this.pf.precision));for(c=n.roundTo(c,this.pf.precision),this.tempPrec=NaN,this.adjustPrecision&&100!=c&&(this.tempPrec=this.pf.precision+1),f=0;f<a.length;f++)if(t=a[f],!0!==t.hidden&&(this.showZeroSlices||0!==t.percents)){var l=360*t.percents/100,c=Math.sin((s+l/2)/180*Math.PI),tt=h/r*-Math.cos((s+l/2)/180*Math.PI),e=this.outlineColor;if(e||(e=t.color),y=this.alpha,isNaN(t.alpha)||(y=t.alpha),e={fill:t.color,stroke:e,"stroke-width":this.outlineThickness,"stroke-opacity":this.outlineAlpha,"fill-opacity":y},t.url&&(e.cursor="pointer"),e=n.wedge(rt,d,g,s,l,r,h,o,this.depth3D,e,this.gradientRatio,t.pattern,this.path,this.gradientType),n.setCN(this,e,"pie-item"),n.setCN(this,e.wedge,"pie-slice"),n.setCN(this,e,t.className,!0),this.addEventListeners(e,t),t.startAngle=s,a[f].wedge=e,0<ft&&(this.chartCreated||e.setAttr("opacity",this.startAlpha)),t.ix=c,t.iy=tt,t.wedge=e,t.index=f,t.label=null,y=rt.set(),this.labelsEnabled&&this.labelText&&t.percents>=this.hideLabelsPercent){i=s+l/2;0>i&&(i+=360);360<i&&(i-=360);v=w;isNaN(t.labelRadius)||0>(v=t.labelRadius)&&(t.skipTick=!0);var b,l=d+c*(r+v),it=g+tt*(r+v),p=0;(isNaN(ut)&&350<i&&1<a.length-f&&(ut=f-1+Math.floor((a.length-f)/2)),0<=v)?(90>=i&&0<=i?(k=0,b="start",p=8):90<=i&&180>i?(k=1,b="start",p=8):180<=i&&270>i?(k=2,b="end",p=-8):270<=i&&354>=i?(k=3,b="end",p=-8):354<=i&&(f>ut?(k=0,b="start",p=8):(k=3,b="end",p=-8)),t.labelQuarter=k):b="middle";i=this.formatString(this.labelText,t);(v=this.labelFunction)&&(i=v(t,i));v=t.labelColor;v||(v=this.color);""!==i&&(i=n.wrappedText(rt,i,v,this.fontFamily,this.fontSize,b,!1,this.maxLabelWidth),n.setCN(this,i,"pie-label"),n.setCN(this,i,t.className,!0),i.translate(l+1.5*p,it),0>w&&(i.node.style.pointerEvents="none"),i.node.style.cursor="default",t.ty=it,t.textX=l+1.5*p,y.push(i),this.axesSet.push(y),t.labelSet=y,t.label=i,this.addEventListeners(y,t));t.tx=l;t.tx2=l+p;t.tx0=d+c*r;t.ty0=g+tt*r}l=o+(r-o)/2;t.pulled&&(l+=u);this.accessible&&this.accessibleLabel&&(it=this.formatString(this.accessibleLabel,t),this.makeAccessible(e,it));void 0!==this.tabIndex&&e.setAttr("tabindex",this.tabIndex);t.balloonX=c*l+d;t.balloonY=tt*l+g;t.startX=Math.round(c*nt);t.startY=Math.round(tt*nt);t.pullX=Math.round(c*u);t.pullY=Math.round(tt*u);this.graphsSet.push(e);(0===t.alpha||0<ft&&!this.chartCreated)&&(e.hide(),y&&y.hide());s+=360*t.percents/100;360<s&&(s-=360)}0<w&&this.arrangeLabels();this.pieXReal=d;this.pieYReal=g;this.radiusReal=r;this.innerRadiusReal=o;0<w&&this.drawTicks();this.initialStart();this.setDepths()}(a=this.legend)&&a.invalidateSize()}else this.cleanChart();this.dispDUpd()},setDepths:function(){for(var i=this.chartData,t=0;t<i.length;t++){var n=i[t],r=n.wedge,n=n.startAngle;0<=n&&180>n?r.toFront():180<=n&&r.toBack()}},arrangeLabels:function(){for(var t,i=this.chartData,r=i.length,n=r-1;0<=n;n--)t=i[n],0!==t.labelQuarter||t.hidden||this.checkOverlapping(n,t,0,!0,0);for(n=0;n<r;n++)t=i[n],1!=t.labelQuarter||t.hidden||this.checkOverlapping(n,t,1,!1,0);for(n=r-1;0<=n;n--)t=i[n],2!=t.labelQuarter||t.hidden||this.checkOverlapping(n,t,2,!0,0);for(n=0;n<r;n++)t=i[n],3!=t.labelQuarter||t.hidden||this.checkOverlapping(n,t,3,!1,0)},checkOverlapping:function(n,t,i,r,u){var e,f,o=this.chartData,s=o.length,h=t.label;if(h){if(!0===r)for(f=n+1;f<s;f++)o[f].labelQuarter==i&&(e=this.checkOverlappingReal(t,o[f],i))&&(f=s);else for(f=n-1;0<=f;f--)o[f].labelQuarter==i&&(e=this.checkOverlappingReal(t,o[f],i))&&(f=0);!0===e&&200>u&&isNaN(t.labelRadius)&&(e=t.ty+3*t.iy,t.ty=e,h.translate(t.textX,e),this.checkOverlapping(n,t,i,r,u+1))}},checkOverlappingReal:function(t,i,r){var e=!1,f=t.label,u=i.label;return t.labelQuarter!=r||t.hidden||i.hidden||!u||(f=f.getBBox(),r={},r.width=f.width,r.height=f.height,r.y=t.ty,r.x=t.tx,t=u.getBBox(),u={},u.width=t.width,u.height=t.height,u.y=i.ty,u.x=i.tx,n.hitTest(r,u)&&(e=!0)),e}})}(),function(){var n=window.AmCharts;n.AmRectangularChart=n.Class({inherits:n.AmCoordinateChart,construct:function(t){n.AmRectangularChart.base.construct.call(this,t);this.theme=t;this.createEvents("zoomed","changed");this.marginRight=this.marginBottom=this.marginTop=this.marginLeft=20;this.depth3D=this.angle=0;this.plotAreaFillColors="#FFFFFF";this.plotAreaFillAlphas=0;this.plotAreaBorderColor="#000000";this.plotAreaBorderAlpha=0;this.maxZoomFactor=20;this.zoomOutButtonImageSize=19;this.zoomOutButtonImage="lens";this.zoomOutText="Show all";this.zoomOutButtonColor="#e5e5e5";this.zoomOutButtonAlpha=0;this.zoomOutButtonRollOverAlpha=1;this.zoomOutButtonPadding=8;this.trendLines=[];this.autoMargins=!0;this.marginsUpdated=!1;this.autoMarginOffset=10;n.applyTheme(this,t,"AmRectangularChart")},initChart:function(){n.AmRectangularChart.base.initChart.call(this);this.updateDxy();!this.marginsUpdated&&this.autoMargins&&(this.resetMargins(),this.drawGraphs=!1);this.processScrollbars();this.updateMargins();this.updatePlotArea();this.updateScrollbars();this.updateTrendLines();this.updateChartCursor();this.updateValueAxes();this.scrollbarOnly||this.updateGraphs()},drawChart:function(){if(n.AmRectangularChart.base.drawChart.call(this),this.drawPlotArea(),n.ifArray(this.chartData)){var t=this.chartCursor;t&&t.draw()}},resetMargins:function(){var n,i={},t,r,u;if("xy"==this.type){for(t=this.xAxes,r=this.yAxes,n=0;n<t.length;n++)u=t[n],u.ignoreAxisWidth||(u.setOrientation(!0),u.fixAxisPosition(),i[u.position]=!0);for(n=0;n<r.length;n++)t=r[n],t.ignoreAxisWidth||(t.setOrientation(!1),t.fixAxisPosition(),i[t.position]=!0)}else{for(r=this.valueAxes,n=0;n<r.length;n++)t=r[n],t.ignoreAxisWidth||(t.setOrientation(this.rotate),t.fixAxisPosition(),i[t.position]=!0);(n=this.categoryAxis)&&!n.ignoreAxisWidth&&(n.setOrientation(!this.rotate),n.fixAxisPosition(),n.fixAxisPosition(),i[n.position]=!0)}i.left&&(this.marginLeft=0);i.right&&(this.marginRight=0);i.top&&(this.marginTop=0);i.bottom&&(this.marginBottom=0);this.fixMargins=i},measureMargins:function(){for(var f=this.valueAxes,t=this.autoMarginOffset,o=this.fixMargins,s=this.realWidth,h=this.realHeight,i=t,r=t,u=s,n=h,e=0;e<f.length;e++)f[e].handleSynchronization(),n=this.getAxisBounds(f[e],i,u,r,n),i=Math.round(n.l),u=Math.round(n.r),r=Math.round(n.t),n=Math.round(n.b);(f=this.categoryAxis)&&(n=this.getAxisBounds(f,i,u,r,n),i=Math.round(n.l),u=Math.round(n.r),r=Math.round(n.t),n=Math.round(n.b));o.left&&i<t&&(this.marginLeft=Math.round(-i+t),!isNaN(this.minMarginLeft)&&this.marginLeft<this.minMarginLeft&&(this.marginLeft=this.minMarginLeft));o.right&&u>=s-t&&(this.marginRight=Math.round(u-s+t),!isNaN(this.minMarginRight)&&this.marginRight<this.minMarginRight&&(this.marginRight=this.minMarginRight));o.top&&r<t+this.titleHeight&&(this.marginTop=Math.round(this.marginTop-r+t+this.titleHeight),!isNaN(this.minMarginTop)&&this.marginTop<this.minMarginTop&&(this.marginTop=this.minMarginTop));o.bottom&&n>h-t&&(this.marginBottom=Math.round(this.marginBottom+n-h+t),!isNaN(this.minMarginBottom)&&this.marginBottom<this.minMarginBottom&&(this.marginBottom=this.minMarginBottom));this.initChart()},getAxisBounds:function(n,t,i,r,u){if(!n.ignoreAxisWidth){var f=n.labelsSet,e=n.tickLength;if(n.inside&&(e=0),f)switch(f=n.getBBox(),n.position){case"top":n=f.y;r>n&&(r=n);break;case"bottom":n=f.y+f.height;u<n&&(u=n);break;case"right":n=f.x+f.width+e+3;i<n&&(i=n);break;case"left":n=f.x-e;t>n&&(t=n)}}return{l:t,t:r,r:i,b:u}},drawZoomOutButton:function(){var t=this,r,u,i,o;if(!t.zbSet){r=t.container.set();t.zoomButtonSet.push(r);var f=t.color,h=t.fontSize,a=t.zoomOutButtonImageSize,l=t.zoomOutButtonImage.replace(/\.[a-z]*$/i,""),v=t.langObj.zoomOutText||t.zoomOutText,e=t.zoomOutButtonColor,c=t.zoomOutButtonAlpha,i=t.zoomOutButtonFontSize,s=t.zoomOutButtonPadding;for(isNaN(i)||(h=i),(i=t.zoomOutButtonFontColor)&&(f=i),i=t.zoomOutButton,i&&(i.fontSize&&(h=i.fontSize),i.color&&(f=i.color),i.backgroundColor&&(e=i.backgroundColor),isNaN(i.backgroundAlpha)||(t.zoomOutButtonRollOverAlpha=i.backgroundAlpha)),o=i=0,o=t.pathToImages,l&&((n.isAbsolute(l)||void 0===o)&&(o=""),u=t.container.image(o+l+t.extension,0,0,a,a),n.setCN(t,u,"zoom-out-image"),r.push(u),u=u.getBBox(),i=u.width+5),void 0!==v&&(f=n.text(t.container,v,f,t.fontFamily,h,"start"),n.setCN(t,f,"zoom-out-label"),h=f.getBBox(),o=u?u.height/2-3:h.height/2,f.translate(i,o),r.push(f)),u=r.getBBox(),f=1,n.isModern||(f=0),e=n.rect(t.container,u.width+2*s+5,u.height+2*s-2,e,1,1,e,f),e.setAttr("opacity",c),e.translate(-s,-s),n.setCN(t,e,"zoom-out-bg"),r.push(e),e.toBack(),t.zbBG=e,u=e.getBBox(),r.translate(t.marginLeftReal+t.plotAreaWidth-u.width+s,t.marginTopReal+s),r.hide(),r.mouseover(function(){t.rollOverZB()}).mouseout(function(){t.rollOutZB()}).click(function(){t.clickZB()}).touchstart(function(){t.rollOverZB()}).touchend(function(){t.rollOutZB();t.clickZB()}),c=0;c<r.length;c++)r[c].attr({cursor:"pointer"});void 0!==t.zoomOutButtonTabIndex&&(r.setAttr("tabindex",t.zoomOutButtonTabIndex),r.setAttr("role","menuitem"),r.keyup(function(n){13==n.keyCode&&t.clickZB()}));t.zbSet=r}},rollOverZB:function(){this.rolledOverZB=!0;this.zbBG.setAttr("opacity",this.zoomOutButtonRollOverAlpha)},rollOutZB:function(){this.rolledOverZB=!1;this.zbBG.setAttr("opacity",this.zoomOutButtonAlpha)},clickZB:function(){this.rolledOverZB=!1;this.zoomOut()},zoomOut:function(){this.zoomOutValueAxes()},drawPlotArea:function(){var i=this.dx,u=this.dy,e=this.marginLeftReal,s=this.marginTopReal,r=this.plotAreaWidth-1,o=this.plotAreaHeight-1,t=this.plotAreaFillColors,f=this.plotAreaFillAlphas,h=this.plotAreaBorderColor,c=this.plotAreaBorderAlpha;"object"==typeof f&&(f=f[0]);t=n.polygon(this.container,[0,r,r,0,0],[0,0,o,o,0],t,f,1,h,c,this.plotAreaGradientAngle);n.setCN(this,t,"plot-area");t.translate(e+i,s+u);this.set.push(t);0!==i&&0!==u&&(t=this.plotAreaFillColors,"object"==typeof t&&(t=t[0]),t=n.adjustLuminosity(t,-.15),r=n.polygon(this.container,[0,i,r+i,r,0],[0,u,u,0,0],t,f,1,h,c),n.setCN(this,r,"plot-area-bottom"),r.translate(e,s+o),this.set.push(r),i=n.polygon(this.container,[0,0,i,i,0],[0,o,o+u,u,0],t,f,1,h,c),n.setCN(this,i,"plot-area-left"),i.translate(e,s),this.set.push(i));(e=this.bbset)&&this.scrollbarOnly&&e.remove()},updatePlotArea:function(){var n=this.updateWidth(),t=this.updateHeight(),i=this.container;this.realWidth=n;this.realWidth=t;i&&this.container.setSize(n,t);var i=this.marginLeftReal,r=this.marginTopReal,n=n-i-this.marginRightReal-this.dx,t=t-r-this.marginBottomReal;1>n&&(n=1);1>t&&(t=1);this.plotAreaWidth=Math.round(n);this.plotAreaHeight=Math.round(t);this.plotBalloonsSet.translate(i,r)},updateDxy:function(){this.dx=Math.round(this.depth3D*Math.cos(this.angle*Math.PI/180));this.dy=Math.round(-this.depth3D*Math.sin(this.angle*Math.PI/180));this.d3x=Math.round(this.columnSpacing3D*Math.cos(this.angle*Math.PI/180));this.d3y=Math.round(-this.columnSpacing3D*Math.sin(this.angle*Math.PI/180))},updateMargins:function(){var n=this.getTitleHeight();this.titleHeight=n;this.marginTopReal=this.marginTop-this.dy;this.fixMargins&&!this.fixMargins.top&&(this.marginTopReal+=n);this.marginBottomReal=this.marginBottom;this.marginLeftReal=this.marginLeft;this.marginRightReal=this.marginRight},updateValueAxes:function(){for(var i=this.valueAxes,t,n=0;n<i.length;n++)t=i[n],this.setAxisRenderers(t),this.updateObjectSize(t)},setAxisRenderers:function(t){t.axisRenderer=n.RecAxis;t.guideFillRenderer=n.RecFill;t.axisItemRenderer=n.RecItem;t.marginsChanged=!0},updateGraphs:function(){for(var i=this.graphs,t,n=0;n<i.length;n++)t=i[n],t.index=n,t.rotate=this.rotate,this.updateObjectSize(t)},updateObjectSize:function(n){n.width=this.plotAreaWidth-1;n.height=this.plotAreaHeight-1;n.x=this.marginLeftReal;n.y=this.marginTopReal;n.dx=this.dx;n.dy=this.dy},updateChartCursor:function(){var t=this.chartCursor;t&&(t=n.processObject(t,n.ChartCursor,this.theme),this.updateObjectSize(t),this.addChartCursor(t),t.chart=this)},processScrollbars:function(){var t=this.chartScrollbar;t&&(t=n.processObject(t,n.ChartScrollbar,this.theme),this.addChartScrollbar(t))},updateScrollbars:function(){},removeChartCursor:function(){n.callMethod("destroy",[this.chartCursor]);this.chartCursor=null},zoomTrendLines:function(){for(var i=this.trendLines,n,t=0;t<i.length;t++)n=i[t],n.valueAxis.recalculateToPercents?n.set&&n.set.hide():(n.x=this.marginLeftReal,n.y=this.marginTopReal,n.draw())},handleCursorValueZoom:function(){},addTrendLine:function(n){this.trendLines.push(n)},zoomOutValueAxes:function(){for(var t=this.valueAxes,n=0;n<t.length;n++)t[n].zoomOut()},removeTrendLine:function(n){for(var i=this.trendLines,t=i.length-1;0<=t;t--)i[t]==n&&i.splice(t,1)},adjustMargins:function(n,t){var r=n.position,i=n.scrollbarHeight+n.offset;n.enabled&&("top"==r?t?this.marginLeftReal+=i:this.marginTopReal+=i:t?this.marginRightReal+=i:this.marginBottomReal+=i)},getScrollbarPosition:function(n,t,i){var r="bottom",u="top";n.oppositeAxis||(u=r,r="top");n.position=t?"bottom"==i||"left"==i?r:u:"top"==i||"right"==i?r:u},updateChartScrollbar:function(n,t){if(n){n.rotate=t;var i=this.marginTopReal,u=this.marginLeftReal,f=n.scrollbarHeight,e=this.dx,o=this.dy,r=n.offset;"top"==n.position?t?(n.y=i,n.x=u-f-r):(n.y=i-f+o-r,n.x=u+e):t?(n.y=i+o,n.x=u+this.plotAreaWidth+e+r):(n.y=i+this.plotAreaHeight+r,n.x=this.marginLeftReal)}},showZB:function(n){var t=this.zbSet;n&&""!==(t=this.zoomOutText)&&t&&this.drawZoomOutButton();(t=this.zbSet)&&(this.zoomButtonSet.push(t),n?t.show():t.hide(),this.rollOutZB())},handleReleaseOutside:function(t){n.AmRectangularChart.base.handleReleaseOutside.call(this,t);(t=this.chartCursor)&&t.handleReleaseOutside&&t.handleReleaseOutside()},handleMouseDown:function(t){n.AmRectangularChart.base.handleMouseDown.call(this,t);var i=this.chartCursor;i&&i.handleMouseDown&&!this.rolledOverZB&&i.handleMouseDown(t)},update:function(){n.AmRectangularChart.base.update.call(this);this.chartCursor&&this.chartCursor.update&&this.chartCursor.update()},handleScrollbarValueZoom:function(n){this.relativeZoomValueAxes(n.target.valueAxes,n.relativeStart,n.relativeEnd);this.zoomAxesAndGraphs()},zoomValueScrollbar:function(n){if(n&&n.enabled){var t=n.valueAxes[0],i=t.relativeStart,r=t.relativeEnd;t.reversed&&(r=1-i,i=1-t.relativeEnd);n.percentZoom(i,r)}},zoomAxesAndGraphs:function(){if(!this.scrollbarOnly){for(var t=this.valueAxes,n=0;n<t.length;n++)t[n].zoom(this.start,this.end);for(t=this.graphs,n=0;n<t.length;n++)t[n].zoom(this.start,this.end);(n=this.chartCursor)&&n.clearSelection();this.zoomTrendLines()}},handleValueAxisZoomReal:function(n,t){var i=n.relativeStart,r=n.relativeEnd;if(i>r)var u=i,i=r,r=u;this.relativeZoomValueAxes(t,i,r);this.updateAfterValueZoom()},updateAfterValueZoom:function(){this.zoomAxesAndGraphs();this.zoomScrollbar()},relativeZoomValueAxes:function(t,i,r){var u,f,e;if((i=n.fitToBounds(i,0,1),r=n.fitToBounds(r,0,1),i>r)&&(u=i,i=r,r=u),u=1/this.maxZoomFactor,f=n.getDecimals(u)+4,r-i<u&&(r=i+(r-i)/2,i=r-u/2,r+=u/2),i=n.roundTo(i,f),r=n.roundTo(r,f),u=!1,t){for(f=0;f<t.length;f++)e=t[f].zoomToRelativeValues(i,r,!0),e&&(u=e);this.showZB()}return u},addChartCursor:function(t){n.callMethod("destroy",[this.chartCursor]);t&&(this.listenTo(t,"moved",this.handleCursorMove),this.listenTo(t,"zoomed",this.handleCursorZoom),this.listenTo(t,"zoomStarted",this.handleCursorZoomStarted),this.listenTo(t,"panning",this.handleCursorPanning),this.listenTo(t,"onHideCursor",this.handleCursorHide));this.chartCursor=t},handleCursorChange:function(){},handleCursorMove:function(n){for(var r=this.valueAxes,i,t=0;t<r.length;t++)n.panning||(i=r[t],i&&i.showBalloon&&i.showBalloon(n.x,n.y))},handleCursorZoom:function(n){if(this.skipZoomed)this.skipZoomed=!1;else{var t=this.startX0,r=this.endX0,u=this.endY0,i=this.startY0,f=n.startX,e=n.endX,o=n.startY,s=n.endY;this.startX0=this.endX0=this.startY0=this.endY0=NaN;this.handleCursorZoomReal(t+f*(r-t),t+e*(r-t),i+o*(u-i),i+s*(u-i),n)}},handleCursorHide:function(){for(var t=this.valueAxes,n=0;n<t.length;n++)t[n].hideBalloon();for(t=this.graphs,n=0;n<t.length;n++)t[n].hideBalloonReal()}})}(),function(){var n=window.AmCharts;n.AmSerialChart=n.Class({inherits:n.AmRectangularChart,construct:function(t){this.type="serial";n.AmSerialChart.base.construct.call(this,t);this.cname="AmSerialChart";this.theme=t;this.columnSpacing=5;this.columnSpacing3D=0;this.columnWidth=.8;var i=new n.CategoryAxis(t);i.chart=this;this.categoryAxis=i;this.zoomOutOnDataUpdate=!0;this.mouseWheelZoomEnabled=this.mouseWheelScrollEnabled=this.rotate=this.skipZoom=!1;this.minSelectedTime=0;n.applyTheme(this,t,this.cname)},initChart:function(){n.AmSerialChart.base.initChart.call(this);this.updateCategoryAxis(this.categoryAxis,this.rotate,"categoryAxis");this.dataChanged?this.parseData():this.onDataUpdated();this.drawGraphs=!0},onDataUpdated:function(){for(var u=this.countColumns(),n=this.chartData,r=this.graphs,i,t=0;t<r.length;t++)i=r[t],i.data=n,i.columnCount=u;0<n.length&&(this.firstTime=this.getStartTime(n[0].time),this.lastTime=this.getEndTime(n[n.length-1].time));this.drawChart();this.autoMargins&&!this.marginsUpdated?(this.marginsUpdated=!0,this.measureMargins()):this.dispDUpd()},syncGrid:function(){var t,i,u,o,r,f,e;if(this.synchronizeGrid&&(u=this.valueAxes,0<u.length)){for(o=0,i=0;i<u.length;i++)t=u[i],o<t.gridCountReal&&(o=t.gridCountReal);for(r=!1,i=0;i<u.length;i++)(t=u[i],t.gridCountReal<o)&&(f=(o-t.gridCountReal)/2,e=r=f,0!=f-Math.round(f)&&(r-=.5,e+=.5),0<=t.min&&0>t.min-r*t.step&&(e+=r,r=0),0>=t.max&&0<t.max+e*t.step&&(r+=e,e=0),f=n.getDecimals(t.step),t.minimum=n.roundTo(t.min-r*t.step,f),t.maximum=n.roundTo(t.max+e*t.step,f),t.setStep=t.step,r=t.strictMinMax=!0);for(r&&this.updateAfterValueZoom(),i=0;i<u.length;i++)t=u[i],t.minimum=NaN,t.maximum=NaN,t.setStep=NaN,t.strictMinMax=!1}},handleWheelReal:function(n,t){var e,o;if(!this.wheelBusy){var s=this.categoryAxis,u=s.parseDates,r=s.minDuration(),i=1,f=1;this.mouseWheelZoomEnabled?t||(i=-1):t&&(i=-1);o=this.chartCursor;o&&(e=o.mouseX,o=o.mouseY,i!=f&&(e=this.rotate?o/this.plotAreaHeight:e/this.plotAreaWidth,i*=e,f*=1-e),e=.05*(this.end-this.start),u&&(e=.05*(this.endTime-this.startTime)/r),1>e&&(e=1),i*=e,f*=e,u&&!s.equalSpacing||(i=Math.round(i),f=Math.round(f)));o=this.chartData.length;s=this.lastTime;e=this.firstTime;0>n?u?(o=this.endTime-this.startTime,u=this.startTime+i*r,r=this.endTime+f*r,0<f&&0<i&&r>=s&&(r=s,u=s-o),this.zoomToDates(new Date(u),new Date(r))):(0<f&&0<i&&this.end>=o-1&&(i=f=0),u=this.start+i,r=this.end+f,this.zoomToIndexes(u,r)):u?(o=this.endTime-this.startTime,u=this.startTime-i*r,r=this.endTime-f*r,0<f&&0<i&&u<=e&&(u=e,r=e+o),this.zoomToDates(new Date(u),new Date(r))):(0<f&&0<i&&1>this.start&&(i=f=0),u=this.start-i,r=this.end-f,this.zoomToIndexes(u,r))}},validateData:function(t){this.marginsUpdated=!1;this.zoomOutOnDataUpdate&&!t&&(this.endTime=this.end=this.startTime=this.start=NaN);n.AmSerialChart.base.validateData.call(this)},drawChart:function(){var r,t,i,u;0<this.realWidth&&0<this.realHeight?(n.AmSerialChart.base.drawChart.call(this),r=this.chartData,n.ifArray(r)&&(u=this.chartScrollbar,u&&(this.marginsUpdated||!this.autoMargins)&&u.draw(),(u=this.valueScrollbar)&&u.draw(),u=r.length-1,t=this.categoryAxis,t.parseDates&&!t.equalSpacing?(t=this.startTime,i=this.endTime,(isNaN(t)||isNaN(i))&&(t=this.firstTime,i=this.lastTime)):(t=this.start,i=this.end,(isNaN(t)||isNaN(i))&&(i=t=NaN),isNaN(t)&&(isNaN(this.startTime)||(t=this.getClosestIndex(r,"time",this.startTime,!0,0,r.length))),isNaN(i)&&(isNaN(this.endTime)||(i=this.getClosestIndex(r,"time",this.endTime,!1,0,r.length))),(isNaN(t)||isNaN(i))&&(t=0,i=u)),this.endTime=this.startTime=this.end=this.start=void 0,this.zoom(t,i))):this.cleanChart()},cleanChart:function(){n.callMethod("destroy",[this.valueAxes,this.graphs,this.categoryAxis,this.chartScrollbar,this.chartCursor,this.valueScrollbar])},updateCategoryAxis:function(n,t,i){n.chart=this;n.id=i;n.rotate=t;n.setOrientation(!this.rotate);n.init();this.setAxisRenderers(n);this.updateObjectSize(n)},updateValueAxes:function(){var i,u,r,t;for(n.AmSerialChart.base.updateValueAxes.call(this),u=this.valueAxes,i=0;i<u.length;i++)r=u[i],t=this.rotate,r.rotate=t,r.setOrientation(t),t=this.categoryAxis,t.startOnAxis&&!t.parseDates||(r.expandMinMax=!0)},getStartTime:function(t){var i=this.categoryAxis;return n.resetDateToMin(new Date(t),i.minPeriod,1,i.firstDayOfWeek).getTime()},getEndTime:function(t){var i=n.extractPeriod(this.categoryAxis.minPeriod);return n.changeDate(new Date(t),i.period,i.count,!0).getTime()-1},updateMargins:function(){n.AmSerialChart.base.updateMargins.call(this);var t=this.chartScrollbar;t&&(this.getScrollbarPosition(t,this.rotate,this.categoryAxis.position),this.adjustMargins(t,this.rotate));(t=this.valueScrollbar)&&(this.getScrollbarPosition(t,!this.rotate,this.valueAxes[0].position),this.adjustMargins(t,!this.rotate))},updateScrollbars:function(){n.AmSerialChart.base.updateScrollbars.call(this);this.updateChartScrollbar(this.chartScrollbar,this.rotate);this.updateChartScrollbar(this.valueScrollbar,!this.rotate)},zoom:function(n,t){var i=this.categoryAxis;i.parseDates&&!i.equalSpacing?this.timeZoom(n,t):this.indexZoom(n,t);isNaN(n)&&this.zoomOutValueAxes();(i=this.chartCursor)&&(i.pan||i.hideCursorReal());this.updateLegendValues()},timeZoom:function(t,i){var u=this.maxSelectedTime,e,r;if(isNaN(u)||(i!=this.endTime&&i-t>u&&(t=i-u),t!=this.startTime&&i-t>u&&(i=t+u)),r=this.minSelectedTime,0<r&&i-t<r&&(e=Math.round(t+(i-t)/2),r=Math.round(r/2),t=e-r,i=e+r),r=this.chartData,e=this.categoryAxis,n.ifArray(r)&&(t!=this.startTime||i!=this.endTime)){var f=e.minDuration(),s=this.firstTime,o=this.lastTime;t||(t=s,isNaN(u)||(t=o-u));i||(i=o);t>o&&(t=o);i<s&&(i=s);t<s&&(t=s);i>o&&(i=o);i<t&&(i=t+f);i-t<f/5&&(i<o?i=t+f/5:t=i-f/5);this.startTime=t;this.endTime=i;u=r.length-1;f=this.getClosestIndex(r,"time",t,!0,0,u);r=this.getClosestIndex(r,"time",i,!1,f,u);e.timeZoom(t,i);e.zoom(f,r);this.start=n.fitToBounds(f,0,u);this.end=n.fitToBounds(r,0,u);this.zoomAxesAndGraphs();this.zoomScrollbar();this.fixCursor();this.showZB();this.syncGrid();this.updateColumnsDepth();this.dispatchTimeZoomEvent()}},showZB:function(){var i,t=this.categoryAxis;t&&t.parseDates&&!t.equalSpacing&&(this.startTime>this.firstTime&&(i=!0),this.endTime<this.lastTime&&(i=!0));0<this.start&&(i=!0);this.end<this.chartData.length-1&&(i=!0);(t=this.valueAxes)&&(t=t[0],isNaN(t.relativeStart)||(0!==n.roundTo(t.relativeStart,3)&&(i=!0),1!=n.roundTo(t.relativeEnd,3)&&(i=!0)));n.AmSerialChart.base.showZB.call(this,i)},updateAfterValueZoom:function(){n.AmSerialChart.base.updateAfterValueZoom.call(this);this.updateColumnsDepth()},indexZoom:function(n,t){var r=this.maxSelectedSeries,i=!1,u;(isNaN(r)||(t!=this.end&&t-n>r&&(n=t-r,i=!0),n!=this.start&&t-n>r&&(t=n+r,i=!0)),i&&(i=this.chartScrollbar)&&i.dragger)&&(u=i.dragger.getBBox(),i.maxWidth=u.width,i.maxHeight=u.height);n==this.start&&t==this.end||(i=this.chartData.length-1,isNaN(n)&&(n=0,isNaN(r)||(n=i-r)),isNaN(t)&&(t=i),t<n&&(t=n),t>i&&(t=i),n>i&&(n=i-1),0>n&&(n=0),this.start=n,this.end=t,this.categoryAxis.zoom(n,t),this.zoomAxesAndGraphs(),this.zoomScrollbar(),this.fixCursor(),0!==n||t!=this.chartData.length-1?this.showZB(!0):this.showZB(!1),this.syncGrid(),this.updateColumnsDepth(),this.dispatchIndexZoomEvent())},updateGraphs:function(){var i,r,t;for(n.AmSerialChart.base.updateGraphs.call(this),r=this.graphs,i=0;i<r.length;i++)t=r[i],t.columnWidthReal=this.columnWidth,t.categoryAxis=this.categoryAxis,n.isString(t.fillToGraph)&&(t.fillToGraph=this.graphsById[t.fillToGraph])},zoomAxesAndGraphs:function(){n.AmSerialChart.base.zoomAxesAndGraphs.call(this);this.updateColumnsDepth()},updateColumnsDepth:function(){var i,r,u,t,f;if(0!==this.depth3D||0!==this.angle){for(u=this.graphs,this.columnsArray=[],i=0;i<u.length;i++)if(r=u[i],t=r.columnsArray,t)for(f=0;f<t.length;f++)this.columnsArray.push(t[f]);if(this.columnsArray.sort(this.compareDepth),0<this.columnsArray.length){for(u=this.columnsSet,t=this.container.set(),this.columnSet.push(t),i=0;i<this.columnsArray.length;i++)t.push(this.columnsArray[i].column.set);r&&t.translate(r.x,r.y);this.columnsSet=t;n.remove(u)}}},compareDepth:function(n,t){return n.depth>t.depth?1:-1},zoomScrollbar:function(){var n=this.chartScrollbar,i=this.categoryAxis,t;n&&(this.zoomedByScrollbar||(t=n.dragger,t&&t.stop()),this.zoomedByScrollbar=!1,i.parseDates&&!i.equalSpacing?n.timeZoom(this.startTime,this.endTime):n.zoom(this.start,this.end));this.zoomValueScrollbar(this.valueScrollbar)},updateTrendLines:function(){for(var r=this.trendLines,t,i=0;i<r.length;i++)t=r[i],t=n.processObject(t,n.TrendLine,this.theme),r[i]=t,t.chart=this,t.id||(t.id="trendLineAuto"+i+"_"+(new Date).getTime()),n.isString(t.valueAxis)&&(t.valueAxis=this.getValueAxisById(t.valueAxis)),t.valueAxis||(t.valueAxis=this.valueAxes[0]),t.categoryAxis=this.categoryAxis},countColumns:function(){for(var n,i,r,t=0,h=this.valueAxes.length,o=this.graphs.length,f=!1,e,s,u=0;u<h;u++){if(i=this.valueAxes[u],e=i.stackType,s=0,"100%"==e||"regular"==e)for(f=!1,r=0;r<o;r++)n=this.graphs[r],n.tcc=1,n.valueAxis==i&&"column"==n.type&&(!f&&n.stackable&&(t++,f=!0),(!n.stackable&&n.clustered||n.newStack&&0!==s)&&t++,n.columnIndex=t-1,n.clustered||(n.columnIndex=0),s++);if("none"==e||"3d"==e){for(f=!1,r=0;r<o;r++)n=this.graphs[r],n.valueAxis==i&&"column"==n.type&&(n.clustered?(n.tcc=1,n.newStack&&(t=0),n.hidden||(n.columnIndex=t,t++)):n.hidden||(f=!0,n.tcc=1,n.columnIndex=0));f&&0===t&&(t=1)}if("3d"==e){for(i=1,u=0;u<o;u++)n=this.graphs[u],n.newStack&&i++,n.depthCount=i,n.tcc=t;t=i}}return t},parseData:function(){n.AmSerialChart.base.parseData.call(this);this.parseSerialData(this.dataProvider)},getCategoryIndexByValue:function(n){for(var i=this.chartData,t=0;t<i.length;t++)if(i[t].category==n)return t},handleScrollbarZoom:function(n){this.zoomedByScrollbar=!0;this.zoom(n.start,n.end)},dispatchTimeZoomEvent:function(){var t;if(this.drawGraphs&&(this.prevStartTime!=this.startTime||this.prevEndTime!=this.endTime)){t={type:"zoomed"};t.startDate=new Date(this.startTime);t.endDate=new Date(this.endTime);t.startIndex=this.start;t.endIndex=this.end;this.startIndex=this.start;this.endIndex=this.end;this.startDate=t.startDate;this.endDate=t.endDate;this.prevStartTime=this.startTime;this.prevEndTime=this.endTime;var i=this.categoryAxis,r=n.extractPeriod(i.minPeriod).period,i=i.dateFormatsObject[r];t.startValue=n.formatDate(t.startDate,i,this);t.endValue=n.formatDate(t.endDate,i,this);t.chart=this;t.target=this;this.fire(t)}},dispatchIndexZoomEvent:function(){var i,t;this.drawGraphs&&(this.prevStartIndex!=this.start||this.prevEndIndex!=this.end)&&(this.startIndex=this.start,this.endIndex=this.end,i=this.chartData,!n.ifArray(i)||isNaN(this.start)||isNaN(this.end)||(t={chart:this,target:this,type:"zoomed"},t.startIndex=this.start,t.endIndex=this.end,t.startValue=i[this.start].category,t.endValue=i[this.end].category,this.categoryAxis.parseDates&&(this.startTime=i[this.start].time,this.endTime=i[this.end].time,t.startDate=new Date(this.startTime),t.endDate=new Date(this.endTime)),this.prevStartIndex=this.start,this.prevEndIndex=this.end,this.fire(t)))},updateLegendValues:function(){this.legend&&this.legend.updateValues()},getClosestIndex:function(n,t,i,r,u,f){0>u&&(u=0);f>n.length-1&&(f=n.length-1);var e=u+Math.round((f-u)/2),o=n[e][t];return i==o?e:1>=f-u?r?u:Math.abs(n[u][t]-i)<Math.abs(n[f][t]-i)?u:f:i==o?e:i<o?this.getClosestIndex(n,t,i,r,u,e):this.getClosestIndex(n,t,i,r,e,f)},zoomToIndexes:function(n,t){var r=this.chartData,i;r&&(i=r.length,0<i&&(0>n&&(n=0),t>i-1&&(t=i-1),i=this.categoryAxis,i.parseDates&&!i.equalSpacing?this.zoom(r[n].time,this.getEndTime(r[t].time)):this.zoom(n,t)))},zoomToDates:function(t,i){var r=this.chartData,u;r&&(this.categoryAxis.equalSpacing?(u=this.getClosestIndex(r,"time",t.getTime(),!0,0,r.length),i=n.resetDateToMin(i,this.categoryAxis.minPeriod,1),r=this.getClosestIndex(r,"time",i.getTime(),!1,0,r.length),this.zoom(u,r)):this.zoom(t.getTime(),i.getTime()))},zoomToCategoryValues:function(n,t){this.chartData&&this.zoom(this.getCategoryIndexByValue(n),this.getCategoryIndexByValue(t))},formatPeriodString:function(t,i){var h,r,u,f;if(i){i.periodDataItem={};i.periodPercentDataItem={};var tt=["value","open","low","high","close"],it="value open low high close average sum count".split(" "),ft=i.valueAxis,et=this.chartData,w=i.numberFormatter;for(w||(w=this.nf),h=0;h<tt.length;h++){for(var b,rt,c,l,a,k,ut,v,y,p,s=tt[h],e=0,d=0,o=0,g=0,nt=this.start;nt<=this.end;nt++)f=et[nt],f&&(r=f.axes[ft.id].graphs[i.id],r&&(r.values&&(u=r.values[s],f=f.x.categoryAxis,this.rotate?(0>f||f>r.graph.height)&&(u=NaN):(0>f||f>r.graph.width)&&(u=NaN),isNaN(u)||(isNaN(b)&&(b=u),rt=u,(isNaN(c)||c>u)&&(c=u),(isNaN(l)||l<u)&&(l=u),a=n.getDecimals(e),f=n.getDecimals(u),e+=u,e=n.roundTo(e,Math.max(a,f)),d++,a=e/d)),r.percents&&(r=r.percents[s],!isNaN(r))&&(isNaN(k)&&(k=r),ut=r,(isNaN(v)||v>r)&&(v=r),(isNaN(y)||y<r)&&(y=r),p=n.getDecimals(o),u=n.getDecimals(r),o+=r,o=n.roundTo(o,Math.max(p,u)),g++,p=o/g)));e={open:b,close:rt,high:l,low:c,average:a,sum:e,count:d};o={open:k,close:ut,high:y,low:v,average:p,sum:o,count:g};t=n.formatValue(t,e,it,w,s+"\\.",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers);t=n.formatValue(t,o,it,this.pf,"percents\\."+s+"\\.");i.periodDataItem[s]=e;i.periodPercentDataItem[s]=o}}return n.cleanFromEmpty(t)},formatString:function(t,i,r){var o,e,u,f;if(i)return o=i.graph,void 0!==t&&(-1!=t.indexOf("[[category]]")&&(e=i.serialDataItem.category,this.categoryAxis.parseDates&&(u=this.balloonDateFormat,f=this.chartCursor,f&&f.categoryBalloonDateFormat&&(u=f.categoryBalloonDateFormat),u=n.formatDate(e,u,this),-1!=u.indexOf("fff")&&(u=n.formatMilliseconds(u,e)),e=u),t=t.replace(/\[\[category\]\]/g,String(e.replace("$","$$$")))),e=o.numberFormatter,e||(e=this.nf),u=i.graph.valueAxis,(f=u.duration)&&!isNaN(i.values.value)&&(f=n.formatDuration(i.values.value,f,"",u.durationUnits,u.maxInterval,e),t=t.replace(RegExp("\\[\\[value\\]\\]","g"),f)),"date"==u.type&&(u=n.formatDate(new Date(i.values.value),o.dateFormat,this),f=RegExp("\\[\\[value\\]\\]","g"),t=t.replace(f,u),u=n.formatDate(new Date(i.values.open),o.dateFormat,this),f=RegExp("\\[\\[open\\]\\]","g"),t=t.replace(f,u)),o="value open low high close total".split(" "),u=this.pf,t=n.formatValue(t,i.percents,o,u,"percents\\."),t=n.formatValue(t,i.values,o,e,"",this.usePrefixes,this.prefixesOfSmallNumbers,this.prefixesOfBigNumbers),t=n.formatValue(t,i.values,["percents"],u),-1!=t.indexOf("[[")&&(t=n.formatDataContextValue(t,i.dataContext)),-1!=t.indexOf("[[")&&i.graph.customData&&(t=n.formatDataContextValue(t,i.graph.customData)),t=n.AmSerialChart.base.formatString.call(this,t,i,r)),t},updateChartCursor:function(){var i,r;if(n.AmSerialChart.base.updateChartCursor.call(this),i=this.chartCursor,r=this.categoryAxis,i){var o=i.categoryBalloonAlpha,u=i.categoryBalloonColor,s=i.color;void 0===u&&(u=i.cursorColor);var f=i.valueZoomable,t=i.zoomable,e=i.valueLineEnabled;if(this.rotate?(i.vLineEnabled=e,i.hZoomEnabled=f,i.vZoomEnabled=t):(i.hLineEnabled=e,i.vZoomEnabled=f,i.hZoomEnabled=t),i.valueLineBalloonEnabled)for(e=0;e<this.valueAxes.length;e++)f=this.valueAxes[e],(t=f.balloon)||(t={}),t=n.extend(t,this.balloon,!0),t.fillColor=u,t.balloonColor=u,t.fillAlpha=o,t.borderColor=u,t.color=s,f.balloon=t;else for(t=0;t<this.valueAxes.length;t++)f=this.valueAxes[t],f.balloon&&(f.balloon=null);r&&(r.balloonTextFunction=i.categoryBalloonFunction,i.categoryLineAxis=r,r.balloonText=i.categoryBalloonText,i.categoryBalloonEnabled&&((t=r.balloon)||(t={}),t=n.extend(t,this.balloon,!0),t.fillColor=u,t.balloonColor=u,t.fillAlpha=o,t.borderColor=u,t.color=s,r.balloon=t),r.balloon&&(r.balloon.enabled=i.categoryBalloonEnabled))}},addChartScrollbar:function(t){n.callMethod("destroy",[this.chartScrollbar]);t&&(t.chart=this,this.listenTo(t,"zoomed",this.handleScrollbarZoom));this.rotate?void 0===t.width&&(t.width=t.scrollbarHeight):void 0===t.height&&(t.height=t.scrollbarHeight);t.gridAxis=this.categoryAxis;this.chartScrollbar=t},addValueScrollbar:function(t){n.callMethod("destroy",[this.valueScrollbar]);t&&(t.chart=this,this.listenTo(t,"zoomed",this.handleScrollbarValueZoom),this.listenTo(t,"zoomStarted",this.handleCursorZoomStarted));var i=t.scrollbarHeight;this.rotate?void 0===t.height&&(t.height=i):void 0===t.width&&(t.width=i);t.gridAxis||(t.gridAxis=this.valueAxes[0]);t.valueAxes=this.valueAxes;this.valueScrollbar=t},removeChartScrollbar:function(){n.callMethod("destroy",[this.chartScrollbar]);this.chartScrollbar=null},removeValueScrollbar:function(){n.callMethod("destroy",[this.valueScrollbar]);this.valueScrollbar=null},handleReleaseOutside:function(t){n.AmSerialChart.base.handleReleaseOutside.call(this,t);n.callMethod("handleReleaseOutside",[this.chartScrollbar,this.valueScrollbar])},update:function(){n.AmSerialChart.base.update.call(this);this.chartScrollbar&&this.chartScrollbar.update&&this.chartScrollbar.update();this.valueScrollbar&&this.valueScrollbar.update&&this.valueScrollbar.update()},processScrollbars:function(){n.AmSerialChart.base.processScrollbars.call(this);var t=this.valueScrollbar;t&&(t=n.processObject(t,n.ChartScrollbar,this.theme),t.id="valueScrollbar",this.addValueScrollbar(t))},handleValueAxisZoom:function(n){this.handleValueAxisZoomReal(n,this.valueAxes)},zoomOut:function(){n.AmSerialChart.base.zoomOut.call(this);this.zoom();this.syncGrid()},getNextItem:function(n){var t=n.index,i=this.chartData,r=n.graph;if(t+1<i.length)for(t+=1;t<i.length;t++)if((n=i[t])&&(n=n.axes[r.valueAxis.id].graphs[r.id],!isNaN(n.y)))return n},handleCursorZoomReal:function(n,t,i,r,u){var f,e,o=u.target;this.rotate?(isNaN(n)||isNaN(t)||this.relativeZoomValueAxes(this.valueAxes,n,t)&&this.updateAfterValueZoom(),o.vZoomEnabled&&(f=u.start,e=u.end)):(isNaN(i)||isNaN(r)||this.relativeZoomValueAxes(this.valueAxes,i,r)&&this.updateAfterValueZoom(),o.hZoomEnabled&&(f=u.start,e=u.end));isNaN(f)||isNaN(e)||(n=this.categoryAxis,n.parseDates&&!n.equalSpacing?this.zoomToDates(new Date(f),new Date(e)):this.zoomToIndexes(f,e))},handleCursorZoomStarted:function(){var n=this.valueAxes;if(n){var n=n[0],t=n.relativeStart,i=n.relativeEnd;n.reversed&&(t=1-n.relativeEnd,i=1-n.relativeStart);this.rotate?(this.startX0=t,this.endX0=i):(this.startY0=t,this.endY0=i)}this.categoryAxis&&(this.start0=this.start,this.end0=this.end,this.startTime0=this.startTime,this.endTime0=this.endTime)},fixCursor:function(){this.chartCursor&&this.chartCursor.fixPosition();this.prevCursorItem=null},handleCursorMove:function(t){var u,c,o,e,f,r,i,s,h,l,a;if(n.AmSerialChart.base.handleCursorMove.call(this,t),u=t.target,c=this.categoryAxis,t.panning)this.handleCursorHide(t);else if(this.chartData&&!u.isHidden){if(o=this.graphs,o&&(e=c.xToIndex(this.rotate?t.y:t.x),e=this.chartData[e])){if(u.oneBalloonOnly&&u.valueBalloonsEnabled){for(h=1/0,f=0;f<o.length;f++)if(r=o[f],r.balloon.enabled&&r.showBalloon&&!r.hidden){if(i=r.valueAxis.id,i=e.axes[i].graphs[r.id],u.showNextAvailable&&isNaN(i.y)&&!(i=this.getNextItem(i)))continue;i=i.y;"top"==r.showBalloonAt&&(i=0);"bottom"==r.showBalloonAt&&(i=this.height);l=u.mouseX;a=u.mouseY;i=this.rotate?Math.abs(l-i):Math.abs(a-i);i<h&&(h=i,s=r)}u.mostCloseGraph=s}if(this.prevCursorItem!=e||s!=this.prevMostCloseGraph){for(h=[],f=0;f<o.length;f++)r=o[f],i=r.valueAxis.id,i=e.axes[i].graphs[r.id],u.showNextAvailable&&isNaN(i.y)&&(i=this.getNextItem(i)),s&&r!=s?(r.showGraphBalloon(i,u.pointer,!1,u.graphBulletSize,u.graphBulletAlpha),r.balloon.hide(0)):u.valueBalloonsEnabled?(r.balloon.showBullet=u.bulletsEnabled,r.balloon.bulletSize=u.bulletSize/2,t.hideBalloons||(r.showGraphBalloon(i,u.pointer,!1,u.graphBulletSize,u.graphBulletAlpha),r.balloon.set&&h.push({balloon:r.balloon,y:r.balloon.pointToY}))):(r.currentDataItem=i,r.resizeBullet(i,u.graphBulletSize,u.graphBulletAlpha));u.avoidBalloonOverlapping&&this.arrangeBalloons(h);this.prevCursorItem=e}this.prevMostCloseGraph=s}c.showBalloon(t.x,t.y,u.categoryBalloonDateFormat,t.skip);this.updateLegendValues()}},handleCursorHide:function(t){n.AmSerialChart.base.handleCursorHide.call(this,t);t=this.categoryAxis;this.prevCursorItem=null;this.updateLegendValues();t&&t.hideBalloon();t=this.graphs;for(var i=0;i<t.length;i++)t[i].currentDataItem=null},handleCursorPanning:function(t){var i,c=t.target,s=t.deltaX,h=t.deltaY,r=t.delta2X,f=t.delta2Y,e,a,l;if(t=!1,this.rotate){isNaN(r)&&(r=s,t=!0);e=this.endX0;i=this.startX0;var u=e-i,e=e-u*r,o=u;t||(o=0);t=n.fitToBounds(i-u*s,0,1-o)}else isNaN(f)&&(f=h,t=!0),e=this.endY0,i=this.startY0,u=e-i,e+=u*h,o=u,t||(o=0),t=n.fitToBounds(i+u*f,0,1-o);i=n.fitToBounds(e,o,1);c.valueZoomable&&(a=this.relativeZoomValueAxes(this.valueAxes,t,i));i=this.categoryAxis;this.rotate&&(s=h,r=f);t=!1;isNaN(r)&&(r=s,t=!0);c.zoomable&&(0<Math.abs(s)||0<Math.abs(r))&&(i.parseDates&&!i.equalSpacing?(f=this.startTime0,h=this.endTime0,i=h-f,r*=i,u=this.firstTime,e=this.lastTime,o=i,t||(o=0),t=Math.round(n.fitToBounds(f-i*s,u,e-o)),r=Math.round(n.fitToBounds(h-r,u+o,e)),(this.startTime!=t||this.endTime!=r)&&(l={chart:this,target:c,type:"zoomed",start:t,end:r},this.skipZoomed=!0,c.fire(l),this.zoom(t,r),l=!0)):(f=this.start0,h=this.end0,i=h-f,s=Math.round(i*s),r=Math.round(i*r),u=this.chartData.length-1,t||(i=0),t=n.fitToBounds(f-s,0,u-i),i=n.fitToBounds(h-r,i,u),(this.start!=t||this.end!=i)&&(this.skipZoomed=!0,c.fire({chart:this,target:c,type:"zoomed",start:t,end:i}),this.zoom(t,i),l=!0)));!l&&a&&this.updateAfterValueZoom()},arrangeBalloons:function(n){var r=this.plotAreaHeight,i,t,u,f,e,o;for(n.sort(this.compareY),f=this.plotAreaWidth,e=n.length,i=0;i<e;i++)t=n[i].balloon,t.setBounds(0,0,f,r),t.restorePrevious(),t.draw(),r=t.yPos-3;for(n.reverse(),i=0;i<e;i++)t=n[i].balloon,r=t.bottom,o=t.bottom-t.yPos,0<i&&r-o<u+3&&(t.setBounds(0,u+3,f,u+o+3),t.restorePrevious(),t.draw()),t.set&&t.set.show(),u=t.bottom},compareY:function(n,t){return n.y<t.y?1:-1}})}(),function(){var n=window.AmCharts;n.Cuboid=n.Class({construct:function(n,t,i,r,u,f,e,o,s,h,c,l,a,v,y,p,w){this.set=n.set();this.container=n;this.h=Math.round(i);this.w=Math.round(t);this.dx=r;this.dy=u;this.colors=f;this.alpha=e;this.bwidth=o;this.bcolor=s;this.balpha=h;this.dashLength=v;this.topRadius=p;this.pattern=y;this.rotate=a;this.bcn=w;a?0>t&&0===c&&(c=180):0>i&&270==c&&(c=90);this.gradientRotation=c;0===r&&0===u&&(this.cornerRadius=l);this.draw()},draw:function(){var pt=this.set,l,nt,st,ft,et,ht,y,ct,lt,bt,c,w,b,tt,ut,at,vt,yt;pt.clear();var r=this.container,d=r.chart,t=this.w,i=this.h,f=this.dx,e=this.dy,v=this.colors,u=this.alpha,o=this.bwidth,s=this.bcolor,h=this.balpha,it=this.gradientRotation,wt=this.cornerRadius,g=this.dashLength,ot=this.pattern,k=this.topRadius,rt=this.bcn,p=v,a=v;for("object"==typeof v&&(p=v[0],a=v[v.length-1]),bt=u,ot&&(u=0),ut=this.rotate,(0<Math.abs(f)||0<Math.abs(e))&&(isNaN(k)?(y=a,a=n.adjustLuminosity(p,-.2),a=n.adjustLuminosity(p,-.2),l=n.polygon(r,[0,f,t+f,t,0],[0,e,e,0,0],a,u,1,s,0,it),0<h&&(lt=n.line(r,[0,f,t+f],[0,e,e],s,h,o,g)),nt=n.polygon(r,[0,0,t,t,0],[0,i,i,0,0],a,u,1,s,0,it),nt.translate(f,e),0<h&&(st=n.line(r,[f,f],[e,e+i],s,h,o,g)),ft=n.polygon(r,[0,0,f,f,0],[0,i,i+e,e,0],a,u,1,s,0,it),et=n.polygon(r,[t,t,t+f,t+f,t],[0,i,i+e,e,0],a,u,1,s,0,it),0<h&&(ht=n.line(r,[t,t+f,t+f,t],[0,e,i+e,i],s,h,o,g)),a=n.adjustLuminosity(y,.2),y=n.polygon(r,[0,f,t+f,t,0],[i,i+e,i+e,i,i],a,u,1,s,0,it),0<h&&(ct=n.line(r,[0,f,t+f],[i,i+e,i+e],s,h,o,g))):(ut?(at=i/2,a=f/2,yt=i/2,vt=t+f/2,w=Math.abs(i/2),c=Math.abs(f/2)):(a=t/2,at=e/2,vt=t/2,yt=i+e/2+1,c=Math.abs(t/2),w=Math.abs(e/2)),b=c*k,tt=w*k,.1<c&&.1<c&&(l=n.circle(r,c,p,u,o,s,h,!1,w),l.translate(a,at)),.1<b&&.1<b&&(y=n.circle(r,b,n.adjustLuminosity(p,.5),u,o,s,h,!1,tt),y.translate(vt,yt)))),u=bt,1>Math.abs(i)&&(i=0),1>Math.abs(t)&&(t=0),!isNaN(k)&&(0<Math.abs(f)||0<Math.abs(e))?(v=[p],v={fill:v,stroke:s,"stroke-width":o,"stroke-opacity":h,"fill-opacity":u},ut?(u="M0,0 L"+t+","+(i/2-i/2*k),o=" B",0<t&&(o=" A"),n.VML?(u+=o+Math.round(t-b)+","+Math.round(i/2-tt)+","+Math.round(t+b)+","+Math.round(i/2+tt)+","+t+",0,"+t+","+i,u=u+" L0,"+i+(o+Math.round(-c))+","+Math.round(i/2-w)+","+Math.round(c)+","+Math.round(i/2+w)+",0,"+i+",0,0"):(u+="A"+b+","+tt+",0,0,0,"+t+","+(i-i/2*(1-k))+"L0,"+i,u+="A"+c+","+w+",0,0,1,0,0"),c=90):(o=t/2-t/2*k,u="M0,0 L"+o+","+i,n.VML?(u="M0,0 L"+o+","+i,o=" B",0>i&&(o=" A"),u+=o+Math.round(t/2-b)+","+Math.round(i-tt)+","+Math.round(t/2+b)+","+Math.round(i+tt)+",0,"+i+","+t+","+i,u+=" L"+t+",0",u+=o+Math.round(t/2+c)+","+Math.round(w)+","+Math.round(t/2-c)+","+Math.round(-w)+","+t+",0,0,0"):(u+="A"+b+","+tt+",0,0,0,"+(t-t/2*(1-k))+","+i+"L"+t+",0",u+="A"+c+","+w+",0,0,1,0,0"),c=180),r=r.path(u).attr(v),r.gradient("linearGradient",[p,n.adjustLuminosity(p,-.3),n.adjustLuminosity(p,-.3),p],c),ut?r.translate(f/2,0):r.translate(0,e/2)):r=0===i?n.line(r,[0,t],[0,0],s,h,o,g):0===t?n.line(r,[0,0],[0,i],s,h,o,g):0<wt?n.rect(r,t,i,v,u,o,s,h,wt,it,g):n.polygon(r,[0,0,t,t,0],[0,i,i,0,0],v,u,o,s,h,it,!1,g),t=isNaN(k)?0>i?[l,lt,nt,st,ft,et,ht,y,ct,r]:[y,ct,nt,st,ft,et,l,lt,ht,r]:ut?0<t?[l,r,y]:[y,r,l]:0>i?[l,r,y]:[y,r,l],n.setCN(d,r,rt+"front"),n.setCN(d,nt,rt+"back"),n.setCN(d,y,rt+"top"),n.setCN(d,l,rt+"bottom"),n.setCN(d,ft,rt+"left"),n.setCN(d,et,rt+"right"),l=0;l<t.length;l++)(nt=t[l])&&(pt.push(nt),n.setCN(d,nt,rt+"element"));ot&&r.pattern(ot,NaN,d.path)},width:function(n){isNaN(n)&&(n=0);this.w=Math.round(n);this.draw()},height:function(n){isNaN(n)&&(n=0);this.h=Math.round(n);this.draw()},animateHeight:function(t,i){var r=this;r.animationFinished=!1;r.easing=i;r.totalFrames=t*n.updateRate;r.rh=r.h;r.frame=0;r.height(1);setTimeout(function(){r.updateHeight.call(r)},1e3/n.updateRate)},updateHeight:function(){var t=this,i;t.frame++;i=t.totalFrames;t.frame<=i?(i=t.easing(0,t.frame,1,t.rh-1,i),t.height(i),window.requestAnimationFrame?window.requestAnimationFrame(function(){t.updateHeight.call(t)}):setTimeout(function(){t.updateHeight.call(t)},1e3/n.updateRate)):(t.height(t.rh),t.animationFinished=!0)},animateWidth:function(t,i){var r=this;r.animationFinished=!1;r.easing=i;r.totalFrames=t*n.updateRate;r.rw=r.w;r.frame=0;r.width(1);setTimeout(function(){r.updateWidth.call(r)},1e3/n.updateRate)},updateWidth:function(){var t=this,i;t.frame++;i=t.totalFrames;t.frame<=i?(i=t.easing(0,t.frame,1,t.rw-1,i),t.width(i),window.requestAnimationFrame?window.requestAnimationFrame(function(){t.updateWidth.call(t)}):setTimeout(function(){t.updateWidth.call(t)},1e3/n.updateRate)):(t.width(t.rw),t.animationFinished=!0)}})}(),function(){var n=window.AmCharts;n.CategoryAxis=n.Class({inherits:n.AxisBase,construct:function(t){this.cname="CategoryAxis";n.CategoryAxis.base.construct.call(this,t);this.minPeriod="DD";this.equalSpacing=this.parseDates=!1;this.position="bottom";this.startOnAxis=!1;this.gridPosition="middle";this.safeDistance=30;this.stickBalloonToCategory=!1;n.applyTheme(this,t,this.cname)},draw:function(){var l,t,a,k,nt,tt,p,ut,ft;if(n.CategoryAxis.base.draw.call(this),this.generateDFObject(),l=this.chart.chartData,this.data=l,this.labelRotationR=this.labelRotation,this.type=null,n.ifArray(l)){a=this.chart;"scrollbar"!=this.id?(n.setCN(a,this.set,"category-axis"),n.setCN(a,this.labelsSet,"category-axis"),n.setCN(a,this.axisLine.axisSet,"category-axis")):this.bcn=this.id+"-";var c,h,w,it,o,f,e=this.start,b=this.labelFrequency,g=0,r=this.end-e+1,v=this.gridCountR,i=this.showFirstLabel,y=this.showLastLabel,s="",s=n.extractPeriod(this.minPeriod),p=n.getPeriodDuration(s.period,s.count),rt=this.rotate,u=this.firstDayOfWeek,d=this.boldPeriodBeginning;if(t=n.resetDateToMin(new Date(l[l.length-1].time+1.05*p),this.minPeriod,1,u).getTime(),this.firstTime=a.firstTime,this.endTime>t&&(this.endTime=t),f=this.minorGridEnabled,w=this.gridAlpha,k=0,nt=0,this.widthField)for(t=this.start;t<=this.end;t++)(o=this.data[t])&&(tt=Number(this.data[t].dataContext[this.widthField]),isNaN(tt)||(k+=tt,o.widthValue=tt));if(this.parseDates&&!this.equalSpacing)this.lastTime=l[l.length-1].time,this.maxTime=n.resetDateToMin(new Date(this.lastTime+1.05*p),this.minPeriod,1,u).getTime(),this.timeDifference=this.endTime-this.startTime,this.parseDatesDraw();else if(this.parseDates){if(this.parseDates&&this.equalSpacing){if(g=this.start,this.startTime=this.data[this.start].time,this.endTime=this.data[this.end].time,this.timeDifference=this.endTime-this.startTime,t=this.choosePeriod(0),b=t.period,h=t.count,t=n.getPeriodDuration(b,h),t<p&&(b=s.period,h=s.count,t=p),w=b,"WW"==w&&(w="DD"),this.currentDateFormat=this.dateFormatsObject[w],this.stepWidth=this.getStepWidth(r),v=Math.ceil(this.timeDifference/t)+1,s=n.resetDateToMin(new Date(this.startTime-t),b,h,u).getTime(),this.cellWidth=this.getStepWidth(r),r=Math.round(s/t),e=-1,r/2==Math.round(r/2)&&(e=-2,s-=t),r=this.start,r/2==Math.round(r/2)&&r--,0>r&&(r=0),nt=this.end+2,nt>=this.data.length&&(nt=this.data.length),l=!1,l=!i,this.previousPos=-1e3,20<this.labelRotationR&&(this.safeDistance=5),tt=r,this.data[r].time!=n.resetDateToMin(new Date(this.data[r].time),b,h,u).getTime())for(p=0,ut=s,t=r;t<nt;t++)o=this.data[t].time,this.checkPeriodChange(b,h,o,ut)&&(p++,2<=p&&(tt=t,t=nt),ut=o);if(f&&1<h&&(o=this.chooseMinorFrequency(h),n.getPeriodDuration(b,o)),0<this.gridCountR)for(t=r;t<nt;t++)o=this.data[t].time,this.checkPeriodChange(b,h,o,s)&&t>=tt&&(r=this.getCoordinate(t-this.start),f=!1,this.nextPeriod[w]&&(f=this.checkPeriodChange(this.nextPeriod[w],1,o,s,w))&&n.resetDateToMin(new Date(o),this.nextPeriod[w],1,u).getTime()!=o&&(f=!1),p=!1,f&&this.markPeriodChange?(f=this.dateFormatsObject[this.nextPeriod[w]],p=!0):f=this.dateFormatsObject[w],s=n.formatDate(new Date(o),f,a),(t==e&&!i||t==v&&!y)&&(s=" "),l?l=!1:(d||(p=!1),r-this.previousPos>this.safeDistance*Math.cos(this.labelRotationR*Math.PI/180)&&(this.labelFunction&&(s=this.labelFunction(s,new Date(o),this,b,h,it)),this.boldLabels&&(p=!0),c=new this.axisItemRenderer(this,r,s,void 0,void 0,void 0,void 0,p),f=c.graphics(),this.pushAxisItem(c),f=f.getBBox().width,n.isModern||(f-=r),this.previousPos=r+f)),it=s=o)}}else if(this.cellWidth=this.getStepWidth(r),r<v&&(v=r),g+=this.start,this.stepWidth=this.getStepWidth(r),0<v)for(u=Math.floor(r/v),o=this.chooseMinorFrequency(u),r=g,r/2==Math.round(r/2)&&r--,0>r&&(r=0),d=0,this.widthField&&(r=this.start),this.end-r+1>=this.autoRotateCount&&(this.labelRotationR=this.autoRotateAngle),t=r;t<=this.end+2;t++){if(v=!1,0<=t&&t<this.data.length?(h=this.data[t],s=h.category,v=h.forceShow):s="",f&&!isNaN(o)){if(t/o!=Math.round(t/o)&&!v)continue;t/u==Math.round(t/u)||v||(this.gridAlpha=this.minorGridAlpha,s=void 0)}else if(t/u!=Math.round(t/u)&&!v)continue;r=this.getCoordinate(t-g);v=0;"start"==this.gridPosition&&(r-=this.cellWidth/2,v=this.cellWidth/2);c=!0;it=v;"start"==this.tickPosition&&(it=0,c=!1,v=0);(t==e&&!i||t==this.end&&!y)&&(s=void 0);Math.round(d/b)!=d/b&&(s=void 0);d++;l=this.cellWidth;rt&&(l=NaN,this.ignoreAxisWidth||!a.autoMargins)&&(l="right"==this.position?a.marginRight:a.marginLeft,l-=this.tickLength+10);this.labelFunction&&h&&(s=this.labelFunction(s,h,this));s=n.fixBrakes(s);p=!1;this.boldLabels&&(p=!0);t>this.end&&"start"==this.tickPosition&&(s=" ");this.rotate&&this.inside&&(v-=2);isNaN(h.widthValue)||(h.percentWidthValue=h.widthValue/k*100,l=this.rotate?this.height*h.widthValue/k:this.width*h.widthValue/k,r=nt,nt+=l,v=l/2);c=new this.axisItemRenderer(this,r,s,c,l,v,void 0,p,it,!1,h.labelColor,h.className);c.serialDataItem=h;this.pushAxisItem(c);this.gridAlpha=w}for(t=i=0;t<this.data.length;t++)(o=this.data[t])&&(this.parseDates&&!this.equalSpacing?(y=o.time,e=this.cellWidth,"MM"==this.minPeriod&&(e=864e5*n.daysInMonth(new Date(y))*this.stepWidth,o.cellWidth=e),y=Math.round((y-this.startTime)*this.stepWidth+e/2)):y=this.getCoordinate(t-g),o.x[this.id]=y);if(this.widthField)for(t=this.start;t<=this.end;t++)o=this.data[t],e=o.widthValue,o.percentWidthValue=e/k*100,this.rotate?(y=this.height*e/k/2+i,i=this.height*e/k+i):(y=this.width*e/k/2+i,i=this.width*e/k+i),o.x[this.id]=y;for(k=this.guides.length,t=0;t<k;t++)i=this.guides[t],u=u=u=f=e=NaN,y=i.above,i.toCategory&&(u=a.getCategoryIndexByValue(i.toCategory),isNaN(u)||(e=this.getCoordinate(u-g),i.expand&&(e+=this.cellWidth/2),c=new this.axisItemRenderer(this,e,"",!0,NaN,NaN,i),this.pushAxisItem(c,y))),i.category&&(u=a.getCategoryIndexByValue(i.category),isNaN(u)||(f=this.getCoordinate(u-g),i.expand&&(f-=this.cellWidth/2),u=(e-f)/2,c=new this.axisItemRenderer(this,f,i.label,!0,NaN,u,i),this.pushAxisItem(c,y))),d=a.dataDateFormat,i.toDate&&(!d||i.toDate instanceof Date||(i.toDate=i.toDate.toString()+" |"),i.toDate=n.getDate(i.toDate,d),this.equalSpacing?(u=a.getClosestIndex(this.data,"time",i.toDate.getTime(),!1,0,this.data.length-1),isNaN(u)||(e=this.getCoordinate(u-g))):e=(i.toDate.getTime()-this.startTime)*this.stepWidth,c=new this.axisItemRenderer(this,e,"",!0,NaN,NaN,i),this.pushAxisItem(c,y)),i.date&&(!d||i.date instanceof Date||(i.date=i.date.toString()+" |"),i.date=n.getDate(i.date,d),this.equalSpacing?(u=a.getClosestIndex(this.data,"time",i.date.getTime(),!1,0,this.data.length-1),isNaN(u)||(f=this.getCoordinate(u-g))):f=(i.date.getTime()-this.startTime)*this.stepWidth,u=(e-f)/2,c=!0,i.toDate&&(c=!1),c="H"==this.orientation?new this.axisItemRenderer(this,f,i.label,c,2*u,NaN,i):new this.axisItemRenderer(this,f,i.label,!1,NaN,u,i),this.pushAxisItem(c,y)),i.balloonText&&c&&(u=c.label)&&this.addEventListeners(u,i),(0<e||0<f)&&(u=!1,this.rotate?(e<this.height||f<this.height)&&(u=!0):(e<this.width||f<this.width)&&(u=!0),u&&(e=new this.guideFillRenderer(this,f,e,i),f=e.graphics(),this.pushAxisItem(e,y),i.graphics=f,f.index=t,i.balloonText&&this.addEventListeners(f,i)));(a=a.chartCursor)&&(rt?a.fixHeight(this.cellWidth):(a.fixWidth(this.cellWidth),a.fullWidth&&this.balloon&&(this.balloon.minWidth=this.cellWidth)));this.previousHeight=ft}this.axisCreated=!0;this.set.translate(this.x,this.y);this.labelsSet.translate(this.x,this.y);this.labelsSet.show();this.positionTitle();(rt=this.axisLine.set)&&rt.toFront();ft=this.getBBox().height;2<ft-this.previousHeight&&this.autoWrap&&!this.parseDates&&(this.axisCreated=this.chart.marginsUpdated=!1)},xToIndex:function(t){var i,u=this.data,f=this.chart,s=f.rotate,r=this.stepWidth,e,o;if(this.parseDates&&!this.equalSpacing)t=this.startTime+Math.round(t/r)-this.minDuration()/2,i=f.getClosestIndex(u,"time",t,!1,this.start,this.end+1);else if(this.widthField)for(f=1/0,r=this.start;r<=this.end;r++)e=this.data[r],e&&(e=Math.abs(e.x[this.id]-t))<f&&(f=e,i=r);else this.startOnAxis||(t-=r/2),i=this.start+Math.round(t/r);return i=n.fitToBounds(i,0,u.length-1),u[i]&&(o=u[i].x[this.id]),s?o>this.height+1&&i--:o>this.width+1&&i--,0>o&&i++,i=n.fitToBounds(i,0,u.length-1)},dateToCoordinate:function(n){return this.parseDates&&!this.equalSpacing?(n.getTime()-this.startTime)*this.stepWidth:this.parseDates&&this.equalSpacing?(n=this.chart.getClosestIndex(this.data,"time",n.getTime(),!1,0,this.data.length-1),this.getCoordinate(n-this.start)):NaN},categoryToCoordinate:function(n){return this.chart?this.parseDates?this.dateToCoordinate(new Date(n)):(n=this.chart.getCategoryIndexByValue(n),isNaN(n)?void 0:this.getCoordinate(n-this.start)):NaN},coordinateToDate:function(n){return this.equalSpacing?(n=this.xToIndex(n),new Date(this.data[n].time)):new Date(this.startTime+n/this.stepWidth)},coordinateToValue:function(n){if(n=this.xToIndex(n),n=this.data[n])return this.parseDates?n.time:n.category},getCoordinate:function(n){return n*=this.stepWidth,this.startOnAxis||(n+=this.stepWidth/2),Math.round(n)},formatValue:function(t,i){return i||(i=this.currentDateFormat),this.parseDates&&(t=n.formatDate(new Date(t),i,this.chart)),t},showBalloonAt:function(n,t){return void 0===t&&(t=this.parseDates?this.dateToCoordinate(new Date(n)):this.categoryToCoordinate(n)),this.adjustBalloonCoordinate(t)},formatBalloonText:function(t,i,r){var u="",f="",s=this.chart,e=this.data[i],o;return e&&(this.parseDates?(u=n.formatDate(e.category,r,s),i=n.changeDate(new Date(e.category),this.minPeriod,1),f=n.formatDate(i,r,s),-1!=u.indexOf("fff")&&(u=n.formatMilliseconds(u,e.category),f=n.formatMilliseconds(f,i))):(this.data[i+1]&&(o=this.data[i+1]),u=n.fixNewLines(e.category),o&&(f=n.fixNewLines(o.category)))),t=t.replace(/\[\[category\]\]/g,String(u)),t=t.replace(/\[\[toCategory\]\]/g,String(f))},adjustBalloonCoordinate:function(n,t){var e=this.xToIndex(n),r=this.chart.chartCursor,f,i,u,o;return this.stickBalloonToCategory&&(f=this.data[e],f&&(n=f.x[this.id]),this.stickBalloonToStart&&(n-=this.cellWidth/2),i=0,r&&(u=r.limitToGraph,u&&(o=u.valueAxis.id,u.hidden||(i=f.axes[o].graphs[u.id].y)),this.rotate?("left"==this.position?(u&&(i-=r.width),0<i&&(i=0)):0>i&&(i=0),r.fixHLine(n,i)):("top"==this.position?(u&&(i-=r.height),0<i&&(i=0)):0>i&&(i=0),r.fixVLine(n,i)))),r&&!t&&(r.setIndex(e),this.parseDates&&r.setTimestamp(this.coordinateToDate(n).getTime())),n}})}(),function(n){"use strict";var t=function(t,i){this.el=n(t);this.options=n.extend({},n.fn.typed.defaults,i);this.isInput=this.el.is("input");this.attr=this.options.attr;this.showCursor=!this.isInput&&this.options.showCursor;this.elContent=this.attr?this.el.attr(this.attr):this.el.text();this.contentType=this.options.contentType;this.typeSpeed=this.options.typeSpeed;this.startDelay=this.options.startDelay;this.backSpeed=this.options.backSpeed;this.backDelay=this.options.backDelay;this.strings=this.options.strings;this.strPos=0;this.arrayPos=0;this.stopNum=0;this.loop=this.options.loop;this.loopCount=this.options.loopCount;this.curLoop=0;this.stop=!1;this.cursorChar=this.options.cursorChar;this.shuffle=this.options.shuffle;this.sequence=[];this.build()};t.prototype={constructor:t,init:function(){var n=this;n.timeout=setTimeout(function(){for(var t=0;t<n.strings.length;++t)n.sequence[t]=t;n.shuffle&&(n.sequence=n.shuffleArray(n.sequence));n.typewrite(n.strings[n.sequence[n.arrayPos]],n.strPos)},n.startDelay)},build:function(){!0===this.showCursor&&(this.cursor=n('<span class="typed-cursor">'+this.cursorChar+"<\/span>"),this.el.after(this.cursor));this.init()},typewrite:function(n,t){if(!0!==this.stop){var r=Math.round(70*Math.random())+this.typeSpeed,i=this;i.timeout=setTimeout(function(){var s=0,r=n.substr(t),e,u,o,f;if("^"===r.charAt(0)&&(e=1,/^\^\d+/.test(r)&&(r=/\d+/.exec(r)[0],e+=r.length,s=parseInt(r)),n=n.substring(0,t)+n.substring(t+e)),"html"===i.contentType&&(u=n.substr(t).charAt(0),"<"===u||"&"===u)){for(o="",f="",f="<"===u?">":";";n.substr(t).charAt(0)!==f;)o+=n.substr(t).charAt(0),t++;t++;o+=f}i.timeout=setTimeout(function(){if(t===n.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,!1===i.loop||i.curLoop===i.loopCount))return;i.timeout=setTimeout(function(){i.backspace(n,t)},i.backDelay)}else{0===t&&i.options.preStringTyped(i.arrayPos);var r=n.substr(0,t+1);i.attr?i.el.attr(i.attr,r):i.isInput?i.el.val(r):"html"===i.contentType?i.el.html(r):i.el.text(r);t++;i.typewrite(n,t)}},s)},r)}},backspace:function(n,t){if(!0!==this.stop){var r=Math.round(70*Math.random())+this.backSpeed,i=this;i.timeout=setTimeout(function(){var u,r;if("html"===i.contentType&&">"===n.substr(t).charAt(0)){for(u="";"<"!==n.substr(t).charAt(0);)u-=n.substr(t).charAt(0),t--;t--;u+="<"}r=n.substr(0,t);i.attr?i.el.attr(i.attr,r):i.isInput?i.el.val(r):"html"===i.contentType?i.el.html(r):i.el.text(r);t>i.stopNum?(t--,i.backspace(n,t)):t<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.shuffle&&(i.sequence=i.shuffleArray(i.sequence)),i.init()):i.typewrite(i.strings[i.sequence[i.arrayPos]],t))},r)}},shuffleArray:function(n){var r,i,t=n.length;if(t)for(;--t;)i=Math.floor(Math.random()*(t+1)),r=n[i],n[i]=n[t],n[t]=r;return n},reset:function(){var n=this,t;clearInterval(n.timeout);t=this.el.attr("id");this.el.after('<span id="'+t+'"/>');this.el.remove();void 0!==this.cursor&&this.cursor.remove();n.options.resetCallback()}};n.fn.typed=function(i){return this.each(function(){var u=n(this),r=u.data("typed"),f="object"==typeof i&&i;r||u.data("typed",r=new t(this,f));"string"==typeof i&&r[i]()})};n.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery);AmCharts.maps.worldLow={svg:{defs:{"amcharts:ammap":{projection:"mercator",leftLongitude:"-169.6",topLatitude:"83.68",rightLongitude:"190.25",bottomLatitude:"-55.55"}},g:{path:[{id:"AE",title:"United Arab Emirates",d:"M619.874,393.722L620.373,393.573L620.477,394.411L622.671,393.93L624.99,394.009L626.684,394.1L628.604,392.028L630.695,390.054L632.467,388.146L633.001,389.202L633.382,391.639L631.949,391.651L631.72,393.648L632.216,394.073L630.947,394.674L630.939,395.919L630.122,397.175L630.049,398.394L629.484,399.032L621.056,397.508L619.981,394.428z"},{id:"AF",title:"Afghanistan",d:"M646.879,356.901L649.738,358.201L651.853,357.745L652.438,356.188L654.651,355.669L656.231,354.617L656.791,351.832L659.154,351.154L659.594,349.902L660.917,350.843L661.762,350.952L663.323,350.975L665.438,351.716L666.295,352.143L668.324,351.017L669.27,351.694L670.174,350.085L671.85,350.159L672.281,349.641L672.578,348.213L673.785,346.975L675.303,347.785L674.998,348.869L675.846,349.038L675.585,351.994L676.694,353.137L677.672,352.404L678.916,352.057L680.663,350.486L682.594,350.745L685.486,350.751L685.985,351.758L684.353,352.15L682.928,352.795L679.71,353.2L676.699,353.931L675.063,355.439L675.725,356.899L676.046,358.603L674.649,360.033L674.766,361.335L673.995,362.549L671.328,362.444L672.43,364.663L670.646,365.507L669.455,367.511L669.609,369.491L668.514,370.415L667.477,370.109L665.334,370.537L665.027,371.451L662.939,371.446L661.377,373.289L661.278,376.039L657.635,377.374L655.682,377.092L655.114,377.794L653.438,377.386L650.634,377.865L645.936,376.228L648.479,373.298L648.249,371.202L646.125,370.65L645.905,368.565L644.987,365.921L646.187,364.094L644.966,363.599L645.736,361.148z"},{id:"AL",title:"Albania",d:"M532.985,334.657L532.629,335.93L533.027,337.524L534.19,338.425L534.134,339.393L533.223,339.925L533.054,341.115L531.75,342.88L531.274,342.626L531.218,341.826L529.665,340.601L529.421,338.851L529.658,336.323L530.041,335.164L529.568,334.573L529.38,333.377L530.596,331.512L530.774,332.227L531.528,331.891L532.125,332.907L532.796,333.293z"},{id:"AM",title:"Armenia",d:"M597.453,337.502L601.349,336.923L601.93,337.897L602.998,338.537L602.434,339.461L603.927,340.719L603.137,341.881L604.327,342.869L605.586,343.462L605.648,345.958L604.633,346.064L603.488,343.984L603.501,343.427L602.262,343.435L601.432,342.462L600.849,342.561L599.744,341.498L597.659,340.59L597.929,338.803z"},{id:"AO",title:"Angola",d:"M521.03,479.784l0.691,2.088l0.805,1.683l0.645,0.908l1.074,1.47l1.854,-0.228l0.925,-0.396l1.549,0.397l0.42,-0.703l0.704,-1.637l1.739,-0.109l0.151,-0.486l1.431,-0.011l-0.244,1.011l3.402,-0.024l0.051,1.768l0.568,1.086l-0.413,1.698l0.206,1.735l0.935,1.049l-0.15,3.371l0.694,-0.26l1.219,0.07l1.737,-0.425l1.277,0.167l0.296,0.881l-0.319,1.379l0.493,1.335l-0.418,1.068l0.239,0.986l-5.838,-0.036l-0.129,9.158l1.892,2.377l1.83,1.823l-5.153,1.192l-6.788,-0.414l-1.943,-1.4l-11.366,0.126l-0.424,0.205L513,511.367l-1.818,-0.087l-1.678,0.497l-1.35,0.555l-0.264,-1.833l0.388,-2.552l0.967,-2.645l0.146,-1.236l0.91,-2.588l0.668,-1.173l1.611,-1.87l0.899,-1.269l0.294,-2.107l-0.147,-1.609l-0.838,-1.013l-0.747,-1.716l-0.689,-1.694l0.15,-0.586l0.862,-1.117l-0.851,-2.718l-0.574,-1.88l-1.405,-1.774l0.267,-0.544l1.157,-0.376l0.813,0.052l0.983,-0.336L521.03,479.784zM510.124,479.243l-0.713,0.296l-0.75,-2.104l1.132,-1.207l0.847,-0.47l1.051,0.959l-1.021,0.587l-0.458,0.719L510.124,479.243z"},{id:"AR",title:"Argentina",d:"M291.601,648.907l-2.664,0.245l-1.43,-1.726l-1.689,-0.13l-3.002,-0.003l-0.002,-10.568l1.077,2.148l1.402,3.525l3.645,2.865l3.925,1.207L291.601,648.907zM293.101,526.469l1.648,2.178l1.094,-2.426l3.197,0.125l0.453,0.644l5.155,4.945l2.292,0.464l3.426,2.262l2.888,1.202l0.402,1.362l-2.76,4.731l2.827,0.854l3.149,0.479l2.217,-0.505l2.543,-2.398l0.458,-2.743l1.389,-0.593l1.407,1.789l-0.057,2.489l-2.361,1.729l-1.883,1.282l-3.165,3.078l-3.741,4.372l-0.701,2.594l-0.75,3.365l0.028,3.297l-0.608,0.742l-0.217,2.165l-0.192,1.761l3.56,2.914l-0.383,2.368l1.752,1.507l-0.143,1.7l-2.694,4.516l-4.157,1.913l-5.624,0.746l-3.08,-0.361l0.589,2.147l-0.574,2.721l0.518,1.851l-1.682,1.299l-2.874,0.512l-2.696,-1.347l-1.083,0.967l0.391,3.71l1.893,1.135l1.535,-1.189l0.835,1.962l-2.582,1.18l-2.251,2.383l-0.412,3.907l-0.663,2.107l-2.648,0.011l-2.198,2.035l-0.804,3.013l2.757,2.982l2.681,0.831l-0.964,3.726l-3.312,2.375l-1.822,5.025l-2.559,1.719l-1.149,2.059l0.905,4.641l1.866,2.633l-1.182,-0.231l-2.599,-0.715l-6.775,-0.608l-1.162,-2.632l0.054,-3.332l-1.867,0.284l-0.988,-1.596l-0.245,-4.599l2.151,-1.878l0.889,-2.68l-0.326,-2.112l1.486,-3.52l1.024,-5.35l-0.301,-2.331l1.224,-0.748l-0.3,-1.478l-1.301,-0.782l0.924,-1.63l-1.266,-1.462l-0.655,-4.395l1.127,-0.767l-0.474,-4.543l0.659,-3.751l0.75,-3.223l1.679,-1.3l-0.853,-3.462l-0.009,-3.217l2.123,-2.263l-0.065,-2.868l1.6,-3.313l0.007,-3.086l-0.728,-0.609l-1.292,-5.694l1.728,-3.343l-0.265,-3.115l1.002,-2.896l1.836,-2.963l1.979,-1.95l-0.839,-1.225l0.585,-1.001l-0.089,-5.143l3.054,-1.509l0.962,-3.159l-0.34,-0.758l2.336,-2.722L293.101,526.469z"},{id:"AT",title:"Austria",d:"M522.861,309.853L522.648,311.557L521.069,311.565L521.613,312.464L520.682,315.111L520.147,315.8L517.695,315.901L516.28,316.823L513.964,316.509L509.955,315.458L509.329,314.034L506.558,314.746L506.231,315.523L504.533,314.943L503.102,314.832L501.833,314.085L502.262,313.078L502.154,312.344L503,312.116L504.419,313.264L504.818,312.173L507.291,312.35L509.295,311.606L510.64,311.733L511.514,312.582L511.775,311.878L511.378,309.158L512.385,308.624L513.374,306.673L515.457,308.037L517.034,306.302L518.021,305.983L520.198,307.281L521.515,307.061L522.807,307.861L522.582,308.396z"},{id:"AU",title:"Australia",d:"M882.928,588.16l2.709,1.277l1.526,-0.508l2.188,-0.71l1.682,0.248l0.199,4.425l-0.961,1.3l-0.289,3.064l-0.98,-1.047l-1.946,2.675l-0.58,-0.208l-1.725,-0.12l-1.729,-3.276l-0.384,-2.496l-1.617,-3.254l0.071,-1.695L882.928,588.16zM877.779,502.097l1.01,2.254l1.799,-1.084l0.929,1.218l1.346,1.125l-0.288,1.28l0.598,2.484l0.426,1.452l0.706,0.355l0.761,2.495l-0.271,1.52l0.908,1.995l3.038,1.542l1.98,1.407l1.881,1.292l-0.367,0.721l1.604,1.872l1.09,3.249l1.119,-0.662l1.137,1.306l0.686,-0.464l0.483,3.208l1.989,1.871l1.302,1.167l2.191,2.488l0.788,2.487l0.072,1.774l-0.193,1.937l1.336,2.676l-0.16,2.811l-0.485,1.48l-0.757,2.871l0.057,1.859l-0.555,2.34l-1.238,2.996l-2.077,1.631l-1.023,2.59l-0.936,1.666l-0.831,2.932l-1.082,1.707l-0.709,2.583l-0.362,2.401l0.144,1.109l-1.607,1.224l-3.139,0.128l-2.588,1.454l-1.288,1.38l-1.694,1.539l-2.322,-1.584l-1.718,-0.629l0.436,-1.851l-1.533,0.67l-2.455,2.582l-2.424,-0.97l-1.59,-0.564l-1.604,-0.254l-2.714,-1.027l-1.813,-2.175l-0.521,-2.655l-0.651,-1.752l-1.378,-1.398l-2.697,-0.414l0.922,-1.661l-0.679,-2.522l-1.369,2.351l-2.495,0.627l1.467,-1.885l0.425,-1.953l1.083,-1.646l-0.225,-2.472l-2.28,2.849l-1.752,1.15l-1.074,2.693l-2.189,-1.396l0.087,-1.791l-1.754,-2.43l-1.479,-1.247l0.527,-0.766l-3.598,-2.001l-1.971,-0.094l-2.696,-1.597l-5.021,0.31l-3.631,1.175l-3.19,1.1l-2.676,-0.219l-2.972,1.696l-2.432,0.766l-0.54,1.75l-1.035,1.363l-2.38,0.082l-1.761,0.299l-2.478,-0.613l-2.017,0.367l-1.925,0.154l-1.668,1.801l-0.817,-0.153l-1.406,0.959l-1.348,1.082l-2.046,-0.134l-1.879,-0.001l-2.975,-2.168l-1.507,-0.642l0.061,-1.927l1.393,-0.456l0.476,-0.761l-0.1,-1.196l0.343,-2.302l-0.313,-1.948l-1.482,-3.294l-0.46,-1.845l0.121,-1.83l-1.116,-2.079l-0.071,-0.934l-1.242,-1.262l-0.35,-2.468l-1.603,-2.477l-0.388,-1.327l1.231,1.346l-0.946,-2.881l1.391,0.898l0.83,1.203l-0.047,-1.59l-1.388,-2.43l-0.269,-0.968l-0.65,-0.917l0.305,-1.767l0.574,-0.75l0.383,-1.519l-0.3,-1.768l1.159,-2.165l0.211,2.292l1.185,-2.071l2.278,-1.002l1.366,-1.276l2.143,-1.095l1.274,-0.232l0.772,0.367l2.209,-1.109l1.701,-0.33l0.425,-0.65l0.742,-0.271l1.55,0.07l2.947,-0.867l1.524,-1.313l0.716,-1.575l1.645,-1.491l0.126,-1.169l0.073,-1.589l1.962,-2.474l1.181,2.514l1.193,-0.582l-0.998,-1.375l0.88,-1.409l1.237,0.629l0.34,-2.205l1.532,-1.421l0.676,-1.138l1.41,-0.491l0.044,-0.804l1.232,0.335l0.049,-0.722l1.233,-0.412l1.355,-0.387l2.071,1.318l1.556,1.705l1.755,0.02l1.783,0.271l-0.594,-1.582l1.343,-2.303l1.264,-0.749l-0.437,-0.715l1.218,-1.632l1.698,-1.006l1.435,0.339l2.355,-0.537l-0.051,-1.455l-2.054,-0.936l1.493,-0.413l1.857,0.704l1.489,1.167l2.361,0.729l0.801,-0.288l1.738,0.875l1.638,-0.815l1.054,0.248l0.656,-0.547l1.287,1.41l-0.747,1.528l-1.064,1.155l-0.964,0.096l0.325,1.146l-0.824,1.435l-0.996,1.414l0.201,0.814l2.229,1.596l2.16,0.928l1.443,0.999l2.027,1.722l0.79,-0.003l1.468,0.746l0.426,0.901l2.677,0.992l1.852,-0.999l0.549,-1.566l0.568,-1.289l0.349,-1.59l0.853,-2.3l-0.39,-1.394l0.202,-0.837l-0.324,-1.643l0.367,-2.157l0.538,-0.581l-0.437,-0.953l0.678,-1.511l0.532,-1.563l0.07,-0.81l1.042,-1.063l0.791,1.388l0.194,1.783l0.699,0.344l0.119,1.197l1.02,1.452l0.21,1.62L877.779,502.097z"},{id:"AZ",title:"Azerbaijan",d:"M601.432,342.462l0.831,0.973l1.239,-0.008l-0.013,0.558l1.145,2.08l-1.923,-0.477l-1.417,-1.661l-0.445,-1.366L601.432,342.462zM608.081,337.029l1.241,0.253l0.481,-0.945l1.674,-1.506l1.474,1.965l1.426,2.623l1.307,0.172l0.863,0.988l-2.31,0.294l-0.487,2.823l-0.482,1.263l-1.028,0.839l0.075,1.769l-0.698,0.178l-1.749,-1.869l0.967,-1.779l-0.829,-1.062l-1.051,0.268l-3.307,2.656l-0.062,-2.496l-1.259,-0.593l-1.19,-0.988l0.791,-1.162l-1.494,-1.258l0.564,-0.924l-1.068,-0.64l-0.581,-0.974l0.687,-0.607l2.089,1.068l1.511,0.22l0.382,-0.435l-1.381,-2.017l0.728,-0.517l0.788,0.126L608.081,337.029z"},{id:"BA",title:"Bosnia and Herzegovina",d:"M528.542,323.106L529.558,323.096L528.856,324.823L530.208,326.323L529.799,328.144L529.139,328.314L528.615,328.666L527.703,329.559L527.292,331.658L524.811,330.215L523.752,328.613L522.684,327.76L521.395,326.313L520.787,325.104L519.414,323.27L520,321.629L521.007,322.539L521.614,321.717L522.924,321.629L525.335,322.287L527.273,322.232z"},{id:"BD",title:"Bangladesh",d:"M735.094,400.405L735.036,402.557L734.058,402.104L734.241,404.507L733.439,402.951L733.278,401.426L732.744,399.979L731.573,398.223L728.99,398.102L729.245,399.347L728.365,401.021L727.172,400.412L726.765,400.958L725.971,400.631L724.886,400.362L724.449,397.877L723.478,395.596L723.954,393.757L722.229,392.938L722.851,391.819L724.604,390.672L722.58,389.037L723.57,386.93L725.791,388.273L727.13,388.426L727.377,390.576L730.045,390.999L732.646,390.953L734.262,391.479L732.97,394.073L731.715,394.25L730.85,395.984L732.385,397.556L732.843,395.616L733.617,395.606z"},{id:"BE",title:"Belgium",d:"M484.548,295.906L486.601,296.258L489.199,295.327L490.974,297.283L492.515,298.319L492.197,301.287L491.466,301.452L491.162,303.882L488.709,301.909L487.271,302.247L485.313,300.19L484.01,298.422L482.707,298.35L482.301,296.788z"},{id:"BF",title:"Burkina Faso",d:"M467.325,436.401L465.406,435.672L464.092,435.779L463.112,436.49L461.851,435.894L461.361,434.958L460.1,434.341L459.914,432.695L460.679,431.491L460.614,430.528L462.84,428.167L463.251,426.207L464.02,425.508L465.375,425.894L466.551,425.311L466.932,424.574L469.107,423.287L469.643,422.388L472.263,421.192L473.807,420.782L474.506,421.335L476.304,421.322L476.082,422.718L476.458,424.027L478.037,425.899L478.125,427.284L481.357,427.932L481.294,429.884L480.681,430.735L479.311,431.001L478.739,432.243L477.775,432.564L475.32,432.504L474.023,432.278L473.118,432.736L471.879,432.529L467.008,432.663L466.942,434.271z"},{id:"BG",title:"Bulgaria",d:"M538.78,325.558L539.587,327.156L540.673,326.872L542.828,327.476L546.945,327.68L548.336,326.692L551.637,325.788L553.677,327.2L555.326,327.606L553.871,329.202L552.847,331.931L553.751,334.086L551.337,333.581L548.481,334.764L548.451,336.623L545.902,336.974L543.927,335.673L541.682,336.697L539.608,336.589L539.409,334.116L538.005,332.907L538.466,332.373L538.162,331.922L538.633,330.712L539.702,329.517L538.34,327.856L538.088,326.441z"},{id:"BI",title:"Burundi",d:"M557.518,475.931L557.34,472.564L556.635,471.296L558.337,471.515L559.196,469.928L560.686,470.11L560.848,471.208L561.452,471.84L561.478,472.747L560.786,473.331L559.695,474.786L558.677,475.798z"},{id:"BJ",title:"Benin",d:"M482.8,445.918L480.483,446.246L479.792,444.312L479.92,437.852L479.355,437.27L479.249,435.884L478.275,434.893L477.418,434.057L477.775,432.564L478.739,432.243L479.311,431.001L480.681,430.735L481.294,429.884L482.235,429.05L483.24,429.042L485.378,430.681L485.269,431.625L485.899,433.309L485.347,434.45L485.643,435.211L484.282,436.961L483.418,437.826L482.89,439.604L482.961,441.395z"},{id:"BN",title:"Brunei Darussalam",d:"M795.464,450.767L796.574,449.721L798.96,448.189L798.834,449.567L798.67,451.352L797.33,451.263L796.741,452.214z"},{id:"BO",title:"Bolivia",d:"M299.041,526.346L295.843,526.222L294.75,528.647L293.101,526.469L289.432,525.737L287.096,528.459L285.073,528.874L283.975,524.724L282.468,521.376L283.351,518.508L281.88,517.258L281.506,515.136L280.132,513.144L281.9,509.998L280.694,507.561L281.337,506.589L280.835,505.519L281.931,504.079L281.985,501.636L282.124,499.624L282.726,498.657L280.302,494.077L282.387,494.317L283.831,494.255L284.456,493.397L286.908,492.249L288.385,491.186L292.054,490.708L291.755,492.828L292.1,493.918L291.875,495.822L294.919,498.374L298.059,498.845L299.163,499.912L301.058,500.479L302.218,501.311L303.982,501.282L305.611,502.132L305.734,503.793L306.281,504.633L306.317,505.876L305.5,505.924L306.578,509.294L311.953,509.414L311.542,511.093L311.842,512.244L313.374,513.063L314.036,514.884L313.538,517.2L312.77,518.493L313.04,520.18L312.163,520.793L312.115,519.879L309.503,518.365L306.899,518.324L302.013,519.184L300.668,521.795L300.598,523.399L299.493,526.99z"},{id:"BR",title:"Brazil",d:"M313.681,551.79L317.421,547.418L320.586,544.34L322.469,543.058L324.83,541.33L324.887,538.84L323.48,537.052L322.092,537.645L322.642,535.862L323.022,534.045L323.023,532.363L322.015,531.81L320.963,532.303L319.917,532.167L319.59,530.995L319.329,528.217L318.804,527.315L316.91,526.5L315.766,527.09L312.806,526.512L312.992,522.447L312.163,520.793L313.04,520.18L312.77,518.493L313.538,517.2L314.036,514.884L313.374,513.063L311.842,512.244L311.542,511.093L311.953,509.414L306.578,509.294L305.5,505.924L306.317,505.876L306.281,504.633L305.734,503.793L305.611,502.132L303.982,501.282L302.218,501.311L301.058,500.479L299.163,499.912L298.059,498.845L294.919,498.374L291.875,495.822L292.1,493.918L291.755,492.828L292.054,490.708L288.385,491.186L286.908,492.249L284.456,493.397L283.831,494.255L282.387,494.317L280.302,494.077L278.72,494.565L277.445,494.239L277.632,489.939L275.332,491.605L272.857,491.532L271.797,490.024L269.936,489.86L270.529,488.648L268.971,486.934L267.804,484.401L268.543,483.887L268.541,482.702L270.235,481.892L269.956,480.376L270.671,479.402L270.875,478.096L274.081,476.194L276.379,475.656L276.755,475.236L279.282,475.367L280.542,467.72L280.608,466.512L280.169,464.917L278.925,463.901L278.939,461.877L280.519,461.418L281.079,461.707L281.174,460.64L279.531,460.352L279.497,458.608L284.959,458.671L285.887,457.71L286.666,458.594L287.212,460.237L287.742,459.894L289.285,461.367L291.465,461.187L292.008,460.334L294.093,459.684L295.248,459.227L295.573,458.047L297.576,457.254L297.425,456.668L295.049,456.429L294.66,454.672L294.773,452.802L293.518,452.078L294.044,451.821L296.12,452.178L298.349,452.876L299.158,452.216L301.175,451.783L304.311,450.737L305.336,449.671L304.965,448.882L306.423,448.758L307.075,449.402L306.71,450.63L307.674,451.053L308.317,452.351L307.54,453.334L307.093,455.708L307.811,457.118L308.014,458.408L309.739,459.715L311.115,459.853L311.425,459.308L312.312,459.187L313.58,458.698L314.492,457.957L316.042,458.194L316.725,458.094L318.25,458.322L318.502,457.752L318.032,457.198L318.312,456.391L319.443,456.639L320.768,456.354L322.374,456.945L323.598,457.52L324.466,456.764L325.093,456.88L325.476,457.665L326.818,457.466L327.893,456.407L328.753,454.354L330.412,451.799L331.367,451.667L332.061,453.211L333.633,458.088L335.133,458.548L335.208,460.471L333.1,462.764L333.972,463.604L338.928,464.041L339.029,466.833L341.159,465.005L344.687,466.006L349.344,467.708L350.712,469.34L350.253,470.883L353.513,470.024L358.97,471.499L363.159,471.39L367.304,473.699L370.884,476.828L373.044,477.634L375.442,477.747L376.458,478.629L377.41,482.195L377.875,483.894L376.759,488.546L375.332,490.389L371.38,494.329L369.594,497.544L367.518,500.019L366.817,500.075L366.034,502.183L366.233,507.581L365.451,512.059L365.153,513.986L364.267,515.143L363.77,519.082L360.927,522.96L360.45,526.053L358.181,527.357L357.524,529.168L354.478,529.161L350.067,530.326L348.092,531.679L344.952,532.57L341.652,535.01L339.279,538.071L338.871,540.393L339.337,542.12L338.813,545.302L338.177,546.85L336.217,548.604L333.106,554.28L330.641,556.873L328.734,558.412L327.456,561.566L325.601,563.48L324.825,561.585L326.061,560.007L324.439,557.759L322.24,555.944L319.354,553.855L318.313,553.95L315.5,551.446z"},{id:"BS",title:"Bahamas",d:"M257.857,395.204l-0.688,0.151l-0.712,-1.758l-1.05,-0.887l0.61,-1.951l0.844,0.124l0.981,2.549L257.857,395.204zM257.057,386.514l-3.056,0.499l-0.196,-1.154l1.318,-0.25l1.851,0.094L257.057,386.514zM259.356,386.482l-0.484,2.21l-0.516,-0.397l0.046,-1.625l-1.256,-1.234l-0.006,-0.359L259.356,386.482z"},{id:"BT",title:"Bhutan",d:"M732.356,382.777L733.498,383.782L733.301,385.707L731.014,385.8L728.646,385.59L726.884,386.079L724.335,384.892L724.275,384.263L726.13,381.922L727.645,381.119L729.648,381.852L731.129,381.929z"},{id:"BW",title:"Botswana",d:"M547.169,515.946L547.733,516.471L548.615,518.177L551.788,521.432L552.989,521.752L552.996,522.803L553.821,524.698L555.989,525.158L557.776,526.516L553.809,528.737L551.292,531.002L550.358,533.034L549.515,534.185L547.989,534.43L547.497,535.901L547.213,536.864L545.42,537.584L543.138,537.431L541.798,536.565L540.617,536.19L539.249,536.906L538.563,538.389L537.235,539.323L535.833,540.714L533.824,541.033L533.199,539.937L533.457,538.044L531.795,535.111L531.038,534.649L531.037,525.788L533.801,525.683L533.883,515.113L535.971,515.016L540.293,513.99L541.365,515.198L543.155,514.049L544.005,514.043L545.586,513.383L546.09,513.602z"},{id:"BY",title:"Belarus",d:"M541.099,284.075L543.809,284.107L546.853,282.31L547.504,279.586L549.803,278.024L549.539,275.817L551.244,274.982L554.256,273.053L557.208,274.309L557.606,275.545L559.078,274.952L561.819,276.135L562.093,278.443L561.493,279.757L563.25,282.91L564.392,283.779L564.223,284.637L566.113,285.468L566.921,286.722L565.83,287.744L563.568,287.582L563.028,288.017L563.687,289.557L564.376,292.494L561.969,292.764L561.105,293.759L560.925,296.024L559.81,295.591L557.279,295.806L556.544,294.756L555.493,295.539L554.438,294.89L552.23,294.8L549.101,293.716L546.269,293.361L544.096,293.462L542.56,294.687L541.219,294.862L541.166,292.849L540.301,290.732L541.982,289.792L541.999,287.944L541.221,286.165z"},{id:"BZ",title:"Belize",d:"M225.309,412.958L225.287,412.527L225.626,412.393L226.135,412.739L227.14,410.968L227.673,410.93L227.683,411.361L228.214,411.374L228.168,412.172L227.714,413.438L227.959,413.891L227.666,414.935L227.842,415.214L227.518,416.685L226.967,417.455L226.46,417.548L225.905,418.552L225.068,418.553L225.287,415.273z"},{id:"CA",title:"Canada",d:"M198.925,96.233l-0.222,-5.902l3.63,0.579l1.634,0.955l3.351,4.925l-0.76,4.97l-4.148,2.771l-2.284,-3.123L198.925,96.233zM212.14,108.876l0.334,-1.49l-1.968,-2.448l-5.646,-0.194l0.748,3.676l5.254,0.827L212.14,108.876zM248.488,155.832l3.085,5.103l0.812,0.574l3.069,-1.275l3.021,0.201l2.98,0.276l-0.248,-2.643l-4.835,-5.381l-6.417,-1.077l-1.349,0.666L248.488,155.832zM183.063,93.132l-2.708,4.188l6.242,0.516l4.615,4.438l4.579,1.498l-1.092,-5.68l-2.145,-6.726l-7.582,-5.353l-5.504,-2.044l0.204,5.687L183.063,93.132zM208.96,82.895l5.127,-0.116l-2.216,4.002l-0.043,5.297l3.013,5.756l5.811,1.766l4.96,-0.99l5.181,-10.729l3.85,-4.447l-3.38,-4.97l-2.215,-10.648l-4.599,-3.188l-4.718,-3.682l-3.581,-9.561l-6.521,0.937l1.225,4.149l-2.874,1.246l-1.943,5.322l-1.944,7.458l1.776,7.261L208.96,82.895zM145.21,136.272l3.92,1.953l12.667,-1.298l-5.824,4.771l0.357,3.431l4.264,-0.236l7.074,-4.58l9.495,-1.673l1.706,-5.218l-0.493,-5.569l-2.938,-0.502l-2.497,1.929l-1.099,-4.133l-0.945,-5.699l-2.895,-1.415l-2.569,4.411l4.01,11.049l-4.898,-0.851l-4.981,-6.788l-7.891,-3.998l-2.639,3.321L145.21,136.272zM167.773,94.206l-3.646,-2.897l-1.504,-0.659l-2.876,4.284l-0.045,2.002l4.656,0.014L167.773,94.206zM166.305,106.564l0.932,-3.985l-3.954,-2.125l-4.094,1.385l-2.271,4.261l4.159,4.207L166.305,106.564zM195.404,139.803l4.623,-1.106l1.277,-8.252l-0.087,-5.945l-2.144,-5.56l-0.216,1.596l-3.943,-0.699l-4.223,4.087l-3.017,-0.37l0.178,8.924l4.596,-0.868l-0.058,6.465L195.404,139.803zM192.118,185.406l-5.06,-3.927l-4.709,-4.208l-0.869,-6.18l-1.76,-8.925l-3.141,-3.839l-2.787,-1.547l-2.467,1.417l1.992,9.586l-1.409,3.731l-2.294,-8.979l-2.562,-3.105l-3.168,4.814l-3.899,-4.76l-6.239,2.868l1.399,-4.463l-2.865,-1.875l-7.507,5.838l-1.952,3.711l-2.354,6.771l4.896,2.317l4.325,-0.122l-6.503,3.461l1.479,3.129l3.976,0.169l5.991,-0.669l5.422,1.959l-3.66,1.445l-3.953,-0.372l-4.328,1.409l-1.865,0.874l3.455,6.354l2.489,-0.883l3.828,2.145l1.519,3.651l4.988,-0.725l7.105,-1.157l5.264,-2.646l3.26,-0.479l4.823,2.115l5.074,1.219l0.945,-2.859l-1.789,-3.049l4.604,-0.645L192.118,185.406zM199.863,184.425l-1.96,3.539l-2.468,2.486l3.829,3.541l2.284,-0.854l3.779,2.358l1.743,-2.732l-1.709,-3.03l-0.841,-1.526l-1.682,-1.458L199.863,184.425zM182.25,154.982l-2.131,-2.175l-3.757,0.397l-0.953,1.384l4.374,6.752L182.25,154.982zM210.937,168.154l3.008,-6.927l3.343,-1.848l4.189,-8.743l-5.356,-2.47l-5.842,-0.357l-2.782,2.77l-1.465,4.231l-0.043,4.817l1.75,8.188L210.937,168.154zM228.092,145.149l5.756,-0.185l8.043,-1.614l3.589,1.275l4.181,-2.26l1.749,-2.84l-0.626,-4.519l-3.003,-4.229l-4.556,-0.801l-5.709,0.969l-4.457,2.441l-4.091,-0.939l-3.782,-0.495l-1.781,-2.702l-3.217,-2.614l0.639,-4.433l-2.42,-3.982l-5.52,0.027l-3.113,-3.988l-5.779,-0.799l-1.055,5.096l3.25,3.745l5.8,1.454l2.815,5.095l0.341,5.602l0.97,5.99l7.452,3.417L228.092,145.149zM139.073,126.88l5.212,-5.053l2.62,-0.587l2.16,-4.228l0.385,-9.769l-3.846,1.914l-4.3,-0.18l-5.758,8.189l-4.759,8.977l3.799,2.51L139.073,126.88zM211.251,143.053l1.525,-4.14l-1.023,-3.458l-2.448,-3.918l-4.031,3.018l-1.493,4.924l3.399,2.787L211.251,143.053zM202.943,154.49l-0.729,-2.881l-5.002,1.264l-3.344,-2.107l-3.318,4.804l3.089,6.282l-5.725,-1.174l-0.056,3.011l6.968,7.046l1.94,3.38l2.701,0.731l4.598,-3.413l0.504,-8.211l-4.244,-4.074L202.943,154.49zM128.949,308.228l-1.157,-2.344l-2.799,-1.769l-1.386,-2.053l-0.954,-1.505l-2.635,-0.464l-1.721,-0.667l-2.943,-0.962l-0.242,1.021l1.08,2.38l2.886,0.781l0.505,1.231l2.509,1.502l0.841,1.513l4.604,1.92L128.949,308.228zM250.655,230.599l-2.002,-2.109l-2.063,0.498l-0.249,-3.062l-3.212,-2.035l-3.07,-2.267l-1.63,-1.753l-1.435,1.034l-0.521,-2.963l-2.026,-0.555l-0.956,6.134l-0.358,5.107l-2.438,3.136l3.8,-0.604l0.963,3.65l3.99,-3.225l2.78,-3.379l1.575,2.863l4.363,1.511L250.655,230.599zM130.121,178.055l7.38,-4.179v-3.874l3.477,-6.407l6.875,-6.689l3.525,-2.467l-3.01,-4.199l-2.723,-2.953l-7.162,-0.572l-4.004,-2.156l-9.477,1.625l2.742,6.225l-2.432,6.431l-1.942,6.866l-1.203,3.858l6.474,4.694L130.121,178.055zM264.358,205.358l0.316,-1.009l-0.031,-3.175l-2.189,-2.084l-2.57,1.047l-1.191,4.167l0.7,3.559l3.143,-0.361L264.358,205.358zM288.177,212.904l4.408,6.601l3.45,2.855l4.921,-7.87l0.873,-4.933l-4.41,-0.474l-4.03,-6.696l-4.451,-1.64l-6.604,-4.968l5.148,-3.634l-2.652,-7.542l-2.442,-3.354l-6.769,-3.352l-2.922,-5.549l-5.207,1.991l-0.363,-3.863l-3.862,-4.322l-6.221,-4.714l-2.652,3.714l-5.547,2.662l0.417,-6.064l-4.81,-10.052l-7.106,4.063l-2.591,7.701l-2.209,-5.923l2.063,-6.371l-7.24,2.651l-2.883,3.991l-2.155,8.421l0.889,9.051l3.983,0.038l-2.932,3.924l2.332,2.961l4.547,1.255l5.931,2.417l10.204,1.818l5.083,-1.044l1.501,-2.42l2.211,2.788l2.471,0.462l2.968,4.965l-1.796,1.98l5.68,2.626l4.295,3.678l1.081,2.55l0.771,3.239l-3.627,6.925l-0.979,3.443l0.937,2.423l-5.772,0.859l-5.269,0.119l-1.847,4.869l2.372,2.226l8.107,-1.031l-0.045,-1.889l4.083,3.148l4.183,3.276l-0.979,1.773l3.398,3.021l6.017,3.535l7.604,2.391l-0.456,-2.089l-2.92,-3.672l-3.963,-5.373l7.033,4.997l3.536,1.66l0.966,-4.438l-1.825,-6.298l-1.155,-1.729l-3.806,-3.035l-2.949,-3.911l0.354,-3.942L288.177,212.904zM222.346,51.338l2.336,7.293l4.957,5.88l9.811,-1.088l6.313,1.968l-4.375,6.053l-2.214,-1.776l-7.664,-0.712l1.19,8.314l3.96,6.036l-0.795,5.201l-4.972,3.462l-2.271,5.471l4.548,2.646l3.823,8.549l-7.497,-5.703l-1.71,0.941l1.381,9.377l-5.184,2.833l0.352,5.851l5.301,0.626l4.173,1.438l8.236,-1.845l7.327,3.269l7.492,-7.191l-0.061,-3.019l-4.791,0.482l-0.392,-2.841l3.917,-3.829l1.33,-5.151l4.332,-3.829l2.664,-4.762l-2.319,-7.103l1.938,-2.649l-3.865,-1.887l8.489,-1.628l1.787,-3.147l5.784,-2.604l4.795,-13.473l4.569,-4.943l6.616,-11.124l-6.104,0.098l2.535,-4.303l6.784,-3.993l6.841,-8.903l0.123,-5.731l-5.131,-6.042l-6.021,-2.93l-7.494,-1.819l-6.072,-1.489l-6.073,-1.503l-8.095,3.977l-1.49,-2.527l-8.57,0.976l-5.028,2.571l-3.701,3.65L242.028,30.5L239,24.517l-3.477,-1.142l-4.122,7.97l-5.501,3.348l-3.274,0.664l-4.169,3.837l0.614,6.646L222.346,51.338zM296.747,316.344l-0.982,-1.984l-1.059,1.262l0.701,1.361l3.556,1.713l1.039,-0.262l1.379,-1.656l-2.6,0.111L296.747,316.344zM239.747,238.477l0.614,1.63l1.979,0.138l3.282,-3.337l0.06,-1.188l-3.851,-0.059L239.747,238.477zM301.875,304.917l-2.867,-1.799l-3.687,-1.087l-0.97,0.365l2.607,2.039l3.634,1.343l1.365,-0.076L301.875,304.917zM326.765,309.712l-0.357,-2.235l-1.962,0.723l0.868,-3.113l-2.796,-1.321l-1.293,1.047l-2.488,-1.179l0.984,-1.509l-1.883,-0.933l-1.83,1.469l1.855,-3.825l1.497,-2.8l0.542,-1.217l-1.301,-0.197l-2.433,1.547l-1.738,2.529l-2.897,6.917l-2.354,2.558l1.22,1.144l-1.747,1.473l0.43,1.231l5.442,0.126l3.013,-0.248l2.69,1.005l-1.98,1.932l1.673,0.142l3.253,-3.576l0.781,0.528l-0.608,3.367l1.843,0.77l1.269,-0.151l1.18,-3.614L326.765,309.712zM305.569,314.475l-2.811,4.56l-4.633,0.581l-3.642,-2.009l-0.915,-3.07l-0.889,-4.462l2.648,-2.829l-2.482,-2.089l-4.195,0.426l-5.881,3.53l-4.501,5.452l-2.381,0.672l3.227,-3.804l4.044,-5.574l3.575,-1.899l2.348,-3.112l2.904,-0.303l4.208,0.031l5.997,0.919l4.74,-0.708l3.528,-3.624l4.621,-1.587l2.012,-1.58l2.035,-1.706l-0.205,-5.188l-1.126,-1.772l-2.184,-0.628l-1.111,-4.047l-1.8,-1.548l-4.471,-1.264l-2.521,-2.822l-3.729,-2.826l1.127,-3.197l-3.101,-6.26l-3.651,-6.893l-2.184,-4.983l-1.855,2.611l-2.682,6.053l-4.06,2.973l-2.032,-3.155l-2.561,-0.847l-0.932,-6.99l0.084,-4.797l-5,-0.438l-0.851,-2.266l-3.453,-3.436l-2.611,-2.039l-2.322,1.583l-2.883,-0.585l-4.807,-1.646l-1.952,1.397l0.937,9.177l1.222,5.116l-3.309,5.751l3.406,4.022l1.904,4.44l0.229,3.422l-1.554,3.504l-3.177,3.461l-4.489,2.281l1.978,2.529l1.464,7.402l-1.517,4.676l-2.159,1.458l-4.172,-4.283l-2.031,-5.168l-0.872,-4.759l0.458,-4.194l-3.05,-0.474l-4.63,-0.283l-2.971,-2.082l-3.513,-1.373l-2.006,-2.379l-2.803,-1.935l-5.21,-2.229l-3.923,1.02l-1.311,-3.947l-1.263,-4.99l-4.12,-0.902l0.155,-6.411l1.087,-4.483l3.041,-6.6l3.431,-4.902l3.262,-0.769l0.186,-4.048l2.213,-2.682l4.014,-0.424l3.252,-4.392l0.818,-2.897l2.703,-5.725l0.836,-3.5l2.899,2.107l3.899,-1.076l5.49,-4.964l0.357,-3.539l-1.977,-3.98l2.086,-4.057l-0.169,-3.865l-3.763,-3.953l-4.145,-1.19l-3.985,-0.624l-0.153,8.714l-2.045,6.555l-2.928,5.304l-2.712,-4.946l0.835,-5.606l-3.352,-5.018l-3.747,6.09l0.012,-7.991l-5.214,-1.626l2.488,-4.014l-3.809,-9.586L212,170.539l-3.698,-1.442l-3.315,6.428l-0.225,9.343l3.272,3.292l3.004,4.906l-1.268,7.708l-2.255,-0.202l-1.785,5.884l0.017,-7.004l-4.345,-2.583l-2.493,1.335l0.324,4.672l-4.09,-0.178l-4.353,1.173l-4.954,-3.353l-3.131,0.598l-2.818,-4.114l-2.263,-1.84l-2.243,0.773l-3.413,0.355l-1.811,2.614l2.862,3.187l-3.05,3.725l-2.989,-4.423l-2.388,1.302l-7.568,0.873l-5.068,-1.589l3.945,-3.736l-3.782,-3.902l-2.747,0.5l-3.859,-1.323l-6.562,-2.891l-4.288,-3.373l-3.396,-0.469l-1.059,2.357l-3.445,1.311l-0.379,-6.15l-3.733,5.505l-4.741,-7.321l-1.938,-0.892l-0.626,3.905l-2.092,1.904l-1.926,-3.393l-4.589,2.048l-4.2,3.551l-4.165,-0.98l-3.396,2.495l-2.461,3.276l-2.924,-0.717l-4.414,-3.8l-5.23,-1.936l-0.019,27.648l-0.015,35.43l2.761,0.167l2.731,1.556l1.958,2.436l2.491,3.596l2.728,-3.054l2.815,-1.793l1.488,2.855l1.889,2.229l2.567,2.424l1.753,3.794l2.867,5.881l4.767,3.204l0.078,3.124l-1.559,2.355l0.059,2.484l3.392,3.449l0.492,3.761l3.587,1.958l-0.399,2.79l1.562,3.958l5.078,1.825l2.003,1.887l5.428,4.227l0.376,0.011h7.963h8.324h2.756h8.546h8.271h8.412l8.417,0l9.528,0l9.593,-0.003l5.803,0.003l0.008,-1.644l0.949,-0.021l0.498,2.345l0.872,0.718l1.958,0.26l2.863,0.672l2.72,1.303l2.271,-0.545l3.449,1.089l1.138,-1.659l1.591,-0.663l0.623,-1.032l0.632,-0.554l2.607,0.856l1.932,0.102l0.67,0.566l0.938,2.382l3.147,0.627l-0.495,1.182l1.109,1.212l-0.478,1.56l1.177,0.513l-0.587,1.372l0.752,0.125l0.527,-0.597l0.55,0.898l2.103,0.501l2.132,0.042l2.273,0.412l2.508,0.779l0.915,1.256l1.816,3.037l-0.903,1.299l-2.279,-0.54l-1.415,-2.441l0.355,2.486l-1.337,2.17l0.147,1.838l-0.231,1.074l-1.815,1.267l-1.318,2.091l-0.617,1.321l1.539,0.237l2.081,-1.201l1.225,-1.059l0.833,-0.173l1.542,0.382l0.746,-0.591l1.368,-0.481l2.443,-0.469v0.002l0,-0.002l-0.249,-1.15l-0.134,0.044l-0.856,0.198l-1.118,-0.363l0.839,-1.317l0.855,-0.457l1.979,-0.565l2.37,-0.528l1.244,0.734l0.782,-0.851l0.889,-0.54l0.596,0.286l0.032,0.061l2.87,-2.73l1.265,-0.726l4.26,-0.027l5.167,-0.003l0.281,-0.978l0.897,-0.2l1.191,-0.616l0.995,-1.82l0.855,-3.148l2.139,-3.097l0.932,1.083l1.88,-0.7l1.245,1.187l-0.002,5.525l1.833,2.251l3.116,-0.483l4.488,-0.13l-4.868,3.261l0.107,3.291l2.129,0.283l3.133,-2.793l2.781,-1.584l6.21,-2.351l3.469,-2.616l-1.811,-1.46L305.569,314.475zM251.905,243.372l1.098,-3.124l-0.713,-1.233l-1.148,-0.132l-1.082,1.804l-0.131,0.413l0.736,1.771L251.905,243.372zM109.249,279.8L109.249,279.8l1.559,-2.354L109.249,279.8z"},{id:"CD",title:"Democratic Republic of Congo",d:"M561.707,453.605L561.537,456.867L562.661,457.244L561.759,458.233L560.682,458.974L559.61,460.426L559.021,461.721L558.862,463.957L558.213,465.021L558.189,467.121L557.383,467.898L557.279,469.556L556.894,469.771L556.635,471.296L557.34,472.564L557.518,475.931L558.022,478.503L557.742,479.958L558.303,481.584L559.929,483.154L561.443,486.696L560.339,486.41L556.573,486.885L555.821,487.222L555.022,489.021L555.65,490.267L555.152,493.618L554.805,496.469L555.562,496.976L557.522,498.084L558.292,497.566L558.526,500.646L556.38,500.622L555.229,499.049L554.196,497.833L552.047,497.435L551.418,495.943L549.704,496.841L547.458,496.444L546.521,495.153L544.741,494.891L543.427,494.96L543.267,494.077L542.299,494.006L541.022,493.839L539.286,494.264L538.067,494.194L537.373,494.454L537.523,491.083L536.588,490.034L536.382,488.299L536.795,486.601L536.227,485.515L536.175,483.747L532.773,483.771L533.018,482.76L531.587,482.771L531.436,483.257L529.697,483.366L528.993,485.003L528.573,485.707L527.024,485.31L526.099,485.705L524.245,485.933L523.171,484.462L522.526,483.554L521.722,481.872L521.03,479.784L512.756,479.747L511.773,480.083L510.96,480.031L509.803,480.407L509.411,479.539L510.124,479.243L510.211,478.023L510.67,477.304L511.69,476.717L512.427,477.001L513.386,475.932L514.913,475.959L515.093,476.75L516.141,477.245L517.79,475.494L519.424,474.13L520.132,473.237L520.038,470.942L521.256,468.234L522.541,466.799L524.387,465.457L524.709,464.568L524.779,463.547L525.236,462.581L525.089,461.002L525.438,458.533L525.987,456.794L526.826,455.304L526.993,453.619L527.245,451.672L528.336,450.254L529.838,449.354L532.145,450.304L533.931,451.334L535.982,451.609L538.074,452.154L538.912,450.467L539.297,450.252L540.575,450.533L543.696,449.138L544.803,449.729L545.71,449.645L546.131,448.965L547.173,448.726L549.282,449.02L551.081,449.084L552.006,448.788L553.705,451.095L554.964,451.434L555.714,450.965L557.011,451.148L558.572,450.558L559.238,451.75z"},{id:"CF",title:"Central African Republic",d:"M518.094,442.656L520.413,442.444L520.929,441.722L521.394,441.776L522.094,442.413L525.624,441.337L526.814,440.239L528.277,439.255L527.999,438.263L528.79,438.003L531.498,438.179L534.136,436.871L536.163,433.785L537.586,432.637L539.361,432.152L539.679,433.367L541.296,435.138L541.304,436.291L540.849,437.466L541.028,438.343L542.001,439.155L544.136,440.386L545.671,441.522L545.697,442.436L547.583,443.898L548.751,445.112L549.459,446.793L551.555,447.901L552.006,448.788L551.081,449.084L549.282,449.02L547.173,448.726L546.131,448.965L545.71,449.645L544.803,449.729L543.696,449.138L540.575,450.533L539.297,450.252L538.912,450.467L538.074,452.154L535.982,451.609L533.931,451.334L532.145,450.304L529.838,449.354L528.336,450.254L527.245,451.672L526.993,453.619L525.189,453.463L523.292,452.994L521.621,454.473L520.15,457.068L519.855,456.26L519.729,454.988L518.447,454.091L517.412,452.65L517.173,451.648L515.848,450.189L516.074,449.356L515.795,448.178L516.011,446.008L516.684,445.499z"},{id:"CG",title:"Republic of Congo",d:"M511.69,476.717L510.64,475.758L509.792,476.228L508.661,477.435L506.358,474.476L508.493,472.935L507.436,471.091L508.397,470.39L510.289,470.048L510.512,468.813L512.01,470.151L514.485,470.269L515.346,468.952L515.7,467.099L515.394,464.924L514.067,463.277L515.281,460.051L514.582,459.498L512.496,459.725L511.712,458.285L511.916,457.069L515.454,457.179L517.721,457.914L519.949,458.573L520.15,457.068L521.621,454.473L523.292,452.994L525.189,453.463L526.993,453.619L526.826,455.304L525.987,456.794L525.438,458.533L525.089,461.002L525.236,462.581L524.779,463.547L524.709,464.568L524.387,465.457L522.541,466.799L521.256,468.234L520.038,470.942L520.132,473.237L519.424,474.13L517.79,475.494L516.141,477.245L515.093,476.75L514.913,475.959L513.386,475.932L512.427,477.001z"},{id:"CH",title:"Switzerland",d:"M502.154,312.344L502.262,313.078L501.833,314.085L503.102,314.832L504.533,314.943L504.311,316.613L503.075,317.297L501,316.789L500.393,318.419L499.058,318.547L498.572,317.908L497,319.272L495.648,319.463L494.441,318.603L493.479,316.832L492.14,317.466L492.181,315.628L494.231,313.325L494.141,312.275L495.419,312.656L496.188,311.949L498.573,311.978L499.149,311.075z"},{id:"CI",title:"Côte d'Ivoire",d:"M467.245,449.457L465.969,449.486L464.013,448.939L462.215,448.971L458.894,449.459L456.947,450.266L454.171,451.291L453.629,451.218L453.845,448.916L454.113,448.565L454.027,447.463L452.84,446.29L451.949,446.103L451.132,445.333L451.741,444.088L451.461,442.73L451.59,441.914L452.035,441.91L452.2,440.684L451.983,440.14L452.251,439.749L453.293,439.41L452.6,437.153L451.954,435.985L452.179,435.025L452.738,434.806L453.104,434.548L453.88,434.974L456.045,434.997L456.561,434.17L457.045,434.226L457.854,433.906L458.289,435.117L458.943,434.76L460.1,434.341L461.361,434.958L461.851,435.894L463.112,436.49L464.092,435.779L465.406,435.672L467.325,436.401L468.069,440.413L466.887,442.774L466.156,445.942L467.372,448.354z"},{id:"CL",title:"Chile",d:"M282.813,636.726l0.002,10.568l3.002,0.003l1.689,0.13l-0.929,1.978l-2.404,1.532l-1.378,-0.157l-1.66,-0.4l-2.036,-1.479l-2.937,-0.707l-3.528,-2.71l-2.864,-2.573l-3.862,-5.254l2.312,0.974l3.937,3.133l3.719,1.704l1.447,-2.174l0.909,-3.202l2.584,-1.907L282.813,636.726zM283.975,524.724l1.098,4.15l2.023,-0.415l0.34,0.758l-0.962,3.159l-3.054,1.509l0.089,5.143l-0.585,1.001l0.839,1.225l-1.979,1.95l-1.836,2.963l-1.002,2.896l0.265,3.115l-1.728,3.343l1.292,5.694l0.728,0.609l-0.007,3.086l-1.6,3.313l0.065,2.868l-2.123,2.263l0.009,3.217l0.853,3.462l-1.679,1.3l-0.75,3.223l-0.659,3.751l0.474,4.543l-1.127,0.767l0.655,4.395l1.266,1.462l-0.924,1.63l1.301,0.782l0.3,1.478l-1.224,0.748l0.301,2.331l-1.024,5.35l-1.486,3.52l0.326,2.112l-0.889,2.68l-2.151,1.878l0.245,4.599l0.988,1.596l1.867,-0.284l-0.054,3.332l1.162,2.632l6.775,0.608l2.599,0.715l-2.495,-0.034l-1.35,1.128l-2.53,1.669l-0.452,4.378l-1.187,0.11l-3.164,-1.535l-3.209,-3.251l0,0l-3.488,-2.632l-0.878,-2.874l0.794,-2.623l-1.411,-2.937l-0.359,-7.344l1.192,-4.033l2.961,-3.187l-4.256,-1.19l2.67,-3.569l0.955,-6.557l3.116,1.374l1.465,-7.97l-1.881,-1.003l-0.876,4.749l-1.769,-0.541l0.881,-5.42l0.956,-6.843l1.288,-2.478l-0.807,-3.495l-0.231,-3.977l1.182,-0.114l1.72,-5.596l1.938,-5.432l1.187,-4.968l-0.646,-4.912l0.837,-2.671l-0.336,-3.955l1.64,-3.867l0.505,-6.038l0.9,-6.374l0.877,-6.747l-0.205,-4.874l-0.584,-4.153l1.442,-0.749l0.751,-1.501l1.374,1.992l0.375,2.122l1.471,1.25l-0.883,2.868L283.975,524.724z"},{id:"CM",title:"Cameroon",d:"M511.916,457.069L511.566,456.917L509.907,457.276L508.203,456.903L506.871,457.086L502.308,457.022L502.717,454.821L501.622,452.977L500.342,452.503L499.772,451.252L499.054,450.852L499.086,450.079L499.808,448.1L501.142,445.398L501.953,445.373L503.623,443.731L504.686,443.685L506.26,444.838L508.187,443.893L508.449,442.726L509.079,441.594L509.513,440.17L511.012,439.01L511.578,437.035L512.173,436.406L512.568,434.936L513.31,433.128L515.671,430.931L515.82,429.985L516.125,429.471L515.015,428.335L515.105,427.426L515.897,427.262L517.012,429.09L517.199,430.979L517.097,432.865L518.623,435.44L517.057,435.412L516.266,435.614L514.988,435.33L514.378,436.664L516.034,438.311L517.255,438.789L517.649,439.955L518.534,441.895L518.094,442.656L516.684,445.499L516.011,446.008L515.795,448.178L516.074,449.356L515.848,450.189L517.173,451.648L517.412,452.65L518.447,454.091L519.729,454.988L519.855,456.26L520.15,457.068L519.949,458.573L517.721,457.914L515.454,457.179z"},{id:"CN",title:"China",d:"M784.628,410.405l-2.423,1.412l-2.299,-0.91l-0.081,-2.535l1.382,-1.341l3.063,-0.831l1.612,0.071l0.627,1.131l-1.232,1.301L784.628,410.405zM833.186,302.885l4.88,1.379l3.321,3.035l1.135,3.945l4.261,0.005l2.431,-1.647l4.634,-1.239l-1.474,3.761l-1.089,1.512l-0.961,4.462l-1.886,3.888l-3.402,-0.703l-2.407,1.4l0.739,3.357l-0.404,4.553l-1.432,0.103l0.017,1.929l-1.811,-2.244l-1.114,2.13l-4.33,1.625l0.438,1.975l-2.424,-0.136l-1.331,-1.172l-1.927,2.644l-3.09,1.984l-2.283,2.347l-3.92,1.057l-2.064,1.689l-3.02,0.981l1.49,-1.668l-0.587,-1.411l2.221,-2.454l-1.481,-1.93l-2.444,1.302l-3.165,2.544l-1.728,2.34l-2.75,0.173l-1.431,1.676l1.479,2.409l2.294,0.582l0.095,1.583l2.218,1.025l3.143,-2.513l2.489,1.374l1.813,0.093l0.455,1.836l-3.97,0.974l-1.311,1.872l-2.727,1.728l-1.439,2.393l3.019,1.864l1.102,3.307l1.706,3.046l1.904,2.529l-0.046,2.426l-1.76,0.887l0.671,1.725l1.65,1l-0.431,2.609l-0.712,2.518l-1.567,0.284l-2.047,3.407l-2.271,4.086l-2.604,3.676l-3.855,2.818l-3.9,2.553l-3.159,0.347l-1.714,1.34l-0.97,-0.979l-1.586,1.498l-3.919,1.504l-2.967,0.459l-0.957,3.151l-1.554,0.174l-0.735,-2.162l0.664,-1.157l-3.762,-0.959l-1.325,0.488l-2.823,-0.778l-1.335,-1.222l0.443,-1.738l-2.563,-0.553l-1.352,-1.138l-2.39,1.615l-2.726,0.349l-2.236,-0.016l-1.505,0.737l-1.453,0.442l0.424,3.433l-1.495,-0.082l-0.252,-0.703l-0.085,-1.24l-2.057,0.874l-1.214,-0.552l-2.082,-1.128l0.816,-2.507l-1.775,-0.587l-0.669,-2.801l-2.96,0.506l0.337,-3.635l2.655,-2.58l0.113,-2.566l-0.083,-2.398l-1.224,-0.75l-0.937,-1.86l-1.641,0.235l-3.023,-0.474l0.947,-1.334l-1.314,-1.986l-1.999,1.346l-2.352,-0.785l-3.232,2.03l-2.552,2.355l-2.262,0.395l-1.228,-0.849l-1.48,-0.077l-2.004,-0.732l-1.515,0.803l-1.854,2.341l-0.235,-2.481l-1.71,0.665l-3.27,-0.309l-3.172,-0.725l-2.275,-1.393l-2.179,-0.627l-0.941,-1.533l-1.575,-0.459l-2.831,-2.094l-2.248,-0.993l-1.162,0.773l-3.896,-2.265l-2.755,-2.065l-0.786,-3.629l2.012,0.445l0.092,-1.694l-1.115,-1.708l0.284,-2.744l-3.014,-3.989l-4.611,-1.39l-0.83,-2.661l-2.071,-1.627l-0.499,-1.007l-0.421,-2.012l0.098,-1.381l-1.703,-0.812l-0.921,0.359l-0.711,-3.324l0.798,-0.829l-0.387,-0.85l2.677,-1.726l1.938,-0.718l2.968,0.492l1.061,-2.354l3.597,-0.44l0.999,-1.478l4.419,-2.031l0.394,-0.853l-0.224,-2.165l1.924,-0.995l-2.524,-6.754l5.555,-1.582l1.436,-0.886l2.022,-7.262l5.563,1.353l1.56,-1.86l0.134,-4.186l2.329,-0.395l2.134,-2.831l1.098,-0.352l0.736,2.97l2.356,2.23l3.999,1.565l1.935,3.319l-1.079,4.728l1.009,1.729l3.332,0.678l3.776,0.552l3.388,2.448l1.732,0.433l1.277,3.568l1.646,2.269l3.091,-0.088l5.787,0.852l3.729,-0.528l2.768,0.565l4.148,2.291l3.393,-0.003l1.241,1.164l3.265,-2.014l4.529,-1.312l4.202,-0.144l3.276,-1.337l2.012,-2.051l1.963,-1.297l-0.454,-1.28l-0.896,-1.499l1.473,-2.538l1.577,0.358l2.882,0.8l2.794,-2.101l4.275,-1.546l2.055,-2.662l1.974,-1.156l4.072,-0.541l2.213,0.459l0.307,-1.453l-2.541,-2.887l-2.25,-1.333l-2.155,1.538l-2.766,-0.647l-1.587,0.528l-0.723,-1.706l1.981,-4.228l1.365,-3.247l3.365,1.632l3.952,-2.739l-0.026,-1.929l2.531,-4.725l1.56,-1.45l-0.035,-2.522l-1.538,-1.095l2.315,-2.313l3.484,-0.845l3.718,-0.127l4.196,1.394l2.462,1.711l1.733,4.611l1.051,1.937l0.977,2.731L833.186,302.885z"},{id:"CO",title:"Colombia",d:"M263.917,463.809L262.717,463.149L261.341,462.227L260.544,462.669L258.165,462.283L257.481,461.085L256.959,461.129L254.154,459.539L253.774,458.674L254.82,458.465L254.696,457.069L255.354,456.059L256.745,455.872L257.925,454.12L258.998,452.655L257.965,451.991L258.494,450.37L257.861,447.812L258.462,447.077L258.02,444.707L256.885,443.212L257.244,441.847L258.147,442.048L258.676,441.213L258.025,439.555L258.366,439.143L259.814,439.232L261.918,437.264L263.073,436.963L263.1,436.029L263.617,433.637L265.225,432.321L266.992,432.267L267.215,431.675L269.409,431.912L271.615,430.477L272.708,429.84L274.065,428.467L275.059,428.642L275.794,429.392L275.25,430.351L273.449,430.828L272.737,432.248L271.652,433.062L270.837,434.115L270.494,436.134L269.717,437.786L271.164,437.975L271.523,439.271L272.142,439.89L272.364,441.023L272.031,442.064L272.129,442.65L272.819,442.885L273.487,443.864L277.093,443.594L278.722,443.951L280.695,446.364L281.828,446.064L283.848,446.214L285.446,445.895L286.438,446.376L285.933,447.884L285.307,448.823L285.087,450.828L285.651,452.684L286.448,453.513L286.545,454.138L285.124,455.526L286.141,456.141L286.887,457.115L287.742,459.894L287.212,460.237L286.666,458.594L285.887,457.71L284.959,458.671L279.497,458.608L279.531,460.352L281.174,460.64L281.079,461.707L280.519,461.418L278.939,461.877L278.925,463.901L280.169,464.917L280.608,466.512L280.542,467.72L279.282,475.367L277.878,473.883L277.041,473.817L278.85,470.978L276.703,469.672L275.02,469.912L274.007,469.43L272.462,470.167L270.375,469.817L268.723,466.896L267.425,466.178L266.53,464.864L264.665,463.544z"},{id:"CR",title:"Costa Rica",d:"M242.629,440.397L241.107,439.773L240.539,439.182L240.861,438.692L240.759,438.069L239.982,437.394L238.879,436.839L237.914,436.477L237.729,435.65L236.994,435.145L237.174,435.967L236.614,436.642L235.974,435.858L235.073,435.579L234.689,435.008L234.706,434.146L235.077,433.254L234.285,432.854L234.928,432.306L235.35,431.94L237.197,432.692L237.842,432.322L238.731,432.559L239.196,433.143L240.023,433.332L240.695,432.73L241.405,434.271L242.489,435.41L243.806,436.616L242.721,436.869L242.737,438.005L243.321,438.424L242.901,438.758L243.011,439.268L242.777,439.839z"},{id:"CU",title:"Cuba",d:"M244.585,396.94L247.007,397.156L249.21,397.19L251.843,398.222L252.959,399.327L255.578,398.986L256.571,399.695L258.946,401.557L260.691,402.907L261.614,402.866L263.287,403.476L263.083,404.315L265.149,404.438L267.269,405.656L266.936,406.352L265.072,406.729L263.185,406.875L261.253,406.641L257.238,406.93L259.118,405.273L257.975,404.5L256.167,404.301L255.199,403.44L254.534,401.736L252.95,401.853L250.335,401.048L249.494,400.418L245.839,399.951L244.86,399.364L245.912,398.61L243.162,398.455L241.147,400.022L239.985,400.064L239.583,400.798L238.195,401.126L236.996,400.842L238.476,399.913L239.083,398.825L240.351,398.153L241.783,397.563L243.906,397.273z"},{id:"CY",title:"Cyprus",d:"M570.306,358.286L572.2,356.827L569.651,357.851L567.631,357.804L567.226,358.629L567.028,358.647L565.696,358.773L566.351,360.14L567.724,360.58L570.598,359.2L570.51,358.926z"},{id:"CZ",title:"Czechia",d:"M522.807,307.861L521.515,307.061L520.198,307.281L518.021,305.983L517.034,306.302L515.457,308.037L513.374,306.673L511.791,304.837L510.36,303.804L510.063,301.979L509.572,300.683L511.61,299.729L512.651,298.631L514.665,297.773L515.368,296.927L516.107,297.438L517.358,296.974L518.688,298.403L520.784,298.788L520.609,299.999L522.132,300.904L522.55,299.773L524.474,300.264L524.739,301.631L526.824,301.895L528.114,304.025L527.278,304.03L526.844,304.804L526.2,304.99L526.017,305.963L525.48,306.165L525.404,306.561L524.447,307L523.205,306.929z"},{id:"DE",title:"Germany",d:"M503.072,278.923L503.122,280.798L505.956,281.92L505.926,283.617L508.776,282.721L510.353,281.407L513.519,283.299L514.842,284.812L515.498,287.205L514.716,288.449L515.734,290.098L516.428,292.547L516.209,294.11L517.358,296.974L516.107,297.438L515.368,296.927L514.665,297.773L512.651,298.631L511.61,299.729L509.572,300.683L510.063,301.979L510.36,303.804L511.791,304.837L513.374,306.673L512.385,308.624L511.378,309.158L511.775,311.878L511.514,312.582L510.64,311.733L509.295,311.606L507.291,312.35L504.818,312.173L504.419,313.264L503,312.116L502.154,312.344L499.149,311.075L498.573,311.978L496.188,311.949L496.544,308.974L497.962,306.074L493.922,305.288L492.599,304.165L492.757,302.27L492.197,301.287L492.515,298.319L492.044,293.629L493.729,293.627L494.439,291.916L495.138,287.691L494.614,286.108L495.162,285.11L497.505,284.853L498.025,285.893L499.929,283.56L499.288,281.767L499.159,279.022L501.278,279.664z"},{id:"DJ",title:"Djibouti",d:"M596.046,427.719L596.71,428.602L596.622,429.785L595.022,430.466L596.226,431.245L595.193,432.764L594.571,432.258L593.896,432.46L592.33,432.412L592.285,431.548L592.066,430.764L593.015,429.429L594,428.168L595.201,428.416z"},{id:"DK",title:"Denmark",d:"M510.834,275.843l-1.683,3.971l-2.934,-2.761l-0.391,-2.054l4.113,-1.656L510.834,275.843zM505.849,271.592l-0.685,1.901l-0.835,-0.545l-2.019,3.587l0.762,2.389l-1.794,0.741l-2.119,-0.642l-1.138,-2.723l-0.085,-5.12l0.467,-1.375l0.804,-1.54l2.47,-0.32l0.984,-1.429l2.256,-1.473l-0.095,2.676l-0.83,1.676l0.336,1.429L505.849,271.592z"},{id:"DO",title:"Dominican Republic",d:"M274.182,407.348L274.533,406.843L276.721,406.856L278.382,407.619L279.121,407.544L279.63,408.593L281.165,408.534L281.074,409.413L282.321,409.52L283.7,410.6L282.658,411.795L281.325,411.157L280.038,411.28L279.115,411.14L278.61,411.676L277.533,411.856L277.106,411.145L276.18,411.566L275.057,413.572L274.335,413.107L274.193,412.265L274.251,411.468L273.529,410.586L274.213,410.09L274.427,408.957z"},{id:"DZ",title:"Algeria",d:"M508.898,396.081L499.29,401.833L491.172,407.683L487.218,409L484.108,409.289L484.076,407.409L482.777,406.928L481.032,406.079L480.365,404.686L470.907,398.139L461.449,391.485L450.903,383.96L450.957,383.352L450.956,383.141L450.932,379.389L455.46,377.03L458.26,376.541L460.555,375.676L461.627,374.059L464.905,372.775L465.026,370.358L466.648,370.072L467.917,368.856L471.586,368.301L472.1,367.016L471.361,366.311L470.393,362.782L470.226,360.729L469.169,358.551L471.864,356.678L474.896,356.08L476.666,354.655L479.366,353.598L484.118,352.978L488.756,352.694L490.17,353.212L492.81,351.836L495.806,351.809L496.947,352.623L498.864,352.41L498.294,354.197L498.739,357.485L498.079,360.297L496.351,362.184L496.598,364.711L498.891,366.695L498.915,367.497L500.644,368.829L501.839,374.686L502.747,377.526L502.899,379.011L502.405,381.601L502.608,383.041L502.251,384.76L502.496,386.725L501.383,388.025L503.041,390.281L503.146,391.601L504.144,393.312L505.454,392.751L507.667,394.172z"},{id:"EC",title:"Ecuador",d:"M250.097,472.874L251.589,470.789L250.982,469.572L249.911,470.866L248.231,469.645L248.8,468.859L248.327,466.331L249.309,465.91L249.825,464.175L250.886,462.382L250.691,461.245L252.227,460.647L254.154,459.539L256.959,461.129L257.481,461.085L258.165,462.283L260.544,462.669L261.341,462.227L262.717,463.149L263.917,463.809L264.309,465.924L263.436,467.735L260.378,470.653L257.007,471.753L255.289,474.181L254.758,476.064L253.173,477.214L251.996,475.803L250.864,475.501L249.705,475.724L249.629,474.7L250.429,474.035z"},{id:"EE",title:"Estonia",d:"M543.423,264.71L543.748,261.586L542.717,262.258L540.938,260.358L540.694,257.245L544.24,255.717L547.772,254.915L550.814,255.827L553.708,255.664L554.13,256.624L552.135,259.756L552.966,264.718L551.765,266.377L549.453,266.368L547.04,264.426L545.811,263.78z"},{id:"EG",title:"Egypt",d:"M573.171,377.28L572.383,378.566L571.78,380.969L571.017,382.615L570.363,383.165L569.429,382.147L568.164,380.735L566.163,376.157L565.875,376.449L567.037,379.822L568.758,383.004L570.877,387.876L571.913,389.561L572.813,391.303L575.329,394.695L574.772,395.227L574.862,397.201L578.128,399.913L578.621,400.529L567.5,400.529L556.621,400.529L545.349,400.529L545.349,389.301L545.349,378.121L544.508,375.535L545.23,373.539L544.796,372.149L545.812,370.582L549.542,370.527L552.24,371.392L555.024,372.356L556.322,372.862L558.481,371.831L559.635,370.895L562.108,370.625L564.102,371.038L564.865,372.656L565.516,371.591L567.763,372.361L569.949,372.546L571.328,371.725z"},{id:"EH",title:"Western Sahara",d:"M438.411,383.192L436.633,386.392L434.766,387.527L433.753,389.444L433.687,391.088L432.945,392.88L432.001,393.374L430.44,395.315L429.476,397.458L429.657,398.482L428.739,400.053L427.663,400.873L427.53,402.263L427.41,403.526L428.021,402.529L439.001,402.548L438.47,398.204L439.156,396.648L441.783,396.375L441.692,388.524L450.895,388.687L450.903,383.96L450.957,383.352L450.956,383.148L438.446,383.162z"},{id:"ER",title:"Eritrea",d:"M594,428.168L593.042,427.244L591.889,425.566L590.646,424.646L589.921,423.654L587.48,422.501L585.558,422.467L584.882,421.865L583.238,422.542L581.536,421.234L580.66,423.383L577.396,422.782L577.098,421.629L578.305,417.378L578.582,415.446L579.465,414.552L581.53,414.072L582.949,412.402L584.577,415.783L585.35,418.449L586.886,419.859L590.713,422.583L592.271,424.222L593.791,425.876L594.668,426.859L596.046,427.719L595.201,428.416z"},{id:"ES",title:"Spain",d:"M449.921,334.562L450.062,331.875L448.917,330.223L452.883,327.448L456.314,328.145L460.079,328.121L463.063,328.778L465.39,328.576L469.922,328.704L471.04,330.194L476.201,331.925L477.22,331.104L480.375,332.819L483.625,332.329L483.775,334.519L481.118,337.005L477.525,337.789L477.275,339.031L475.552,341.064L474.472,344.02L475.565,346.074L473.943,347.666L473.337,349.968L471.22,350.67L469.234,353.36L465.676,353.413L463.003,353.347L461.247,354.573L460.176,355.879L458.804,355.593L457.766,354.424L456.971,352.423L454.354,351.881L454.12,350.72L455.159,349.398L455.544,348.435L454.577,347.378L455.351,345.028L454.228,342.863L455.439,342.564L455.552,340.843L456.007,340.307L456.043,337.432L457.339,336.426L456.555,334.552L454.921,334.42L454.441,334.894L452.785,334.898L452.083,333.057L450.938,333.607z"},{id:"ET",title:"Ethiopia",d:"M581.536,421.234L583.238,422.542L584.882,421.865L585.558,422.467L587.48,422.501L589.921,423.654L590.646,424.646L591.889,425.566L593.042,427.244L594,428.168L593.015,429.429L592.066,430.764L592.285,431.548L592.33,432.412L593.896,432.46L594.571,432.258L595.193,432.764L594.582,433.769L595.617,435.328L596.651,436.689L597.722,437.696L606.889,441.04L609.248,441.022L601.324,449.438L597.672,449.561L595.173,451.53L593.375,451.582L592.608,452.462L590.692,452.461L589.562,451.518L587,452.686L586.172,453.849L584.302,453.629L583.681,453.307L583.024,453.384L582.138,453.356L578.589,450.985L576.638,450.985L575.68,450.065L575.68,448.496L574.224,448.026L572.566,444.979L571.286,444.328L570.794,443.206L569.374,441.837L567.651,441.635L568.606,440.033L570.095,439.964L570.514,439.104L570.477,436.567L571.306,433.606L572.634,432.812L572.916,431.651L574.118,429.478L575.809,428.065L576.949,425.248L577.396,422.782L580.66,423.383z"},{id:"FK",title:"Falkland Islands",d:"M303.657,633.134L307.022,630.436L309.405,631.556L311.087,629.767L313.331,631.78L312.489,633.36L308.704,634.725L307.442,633.134L305.059,635.182z"},{id:"FI",title:"Finland",d:"M555.42,193.099L555.011,198.503L559.305,203.493L556.718,208.971L559.979,216.928L558.091,222.691L560.615,227.546L559.469,231.691L563.62,235.947L562.565,239.052L559.96,242.504L553.957,249.91L548.869,250.361L543.938,252.429L539.376,253.608L537.753,250.543L535.038,248.674L535.662,242.946L534.3,237.538L535.637,233.959L538.179,230.017L544.594,222.997L546.465,221.611L546.174,218.774L542.274,215.549L541.328,212.849L541.254,201.729L536.877,196.576L533.14,192.774L534.821,190.686L537.937,194.839L541.598,194.455L544.608,196.324L547.282,192.885L548.657,187.03L553.01,184.255L556.608,187.507z"},{id:"FJ",title:"Fiji",d:"M980.525,508.605l-0.348,1.396l-0.231,0.155l-1.782,0.716l-1.792,0.613l-0.36,-1.085l1.401,-0.596l0.889,-0.16l1.645,-0.905L980.525,508.605zM974.69,512.924l-1.274,-0.361l-1.082,1.004l0.271,1.288l1.546,0.363l1.738,-0.403l0.463,-1.529l-0.965,-0.843L974.69,512.924z"},{id:"FR",title:"France",d:"M502.058,333.54l-0.926,2.893l-1.273,-0.759l-0.649,-2.526l0.566,-1.407l1.806,-1.455L502.058,333.54zM485.313,300.19l1.957,2.057l1.439,-0.338l2.453,1.973l0.627,0.374l0.809,-0.091l1.323,1.123l4.04,0.787l-1.417,2.899l-0.356,2.975l-0.77,0.707l-1.278,-0.381l0.09,1.05l-2.051,2.303l-0.041,1.838l1.339,-0.634l0.963,1.771l-0.116,1.134l0.825,1.498l-0.972,1.208l0.723,3.039l1.52,0.494l-0.321,1.684l-2.54,2.173l-5.53,-1.039l-4.083,1.244l-0.321,2.292l-3.25,0.49l-3.155,-1.716l-1.02,0.821l-5.161,-1.73l-1.118,-1.491l1.45,-2.319l0.534,-7.877l-2.894,-4.264l-2.068,-2.086l-4.285,-1.599l-0.283,-3.066l3.636,-0.923l4.708,1.091l-0.889,-4.845l2.647,1.849l6.528,-3.374l0.842,-3.605l2.452,-0.898l0.406,1.562l1.303,0.073L485.313,300.19z"},{id:"GA",title:"Gabon",d:"M506.358,474.476L503.477,471.659L501.624,469.358L499.921,466.48L500.011,465.555L500.624,464.665L501.305,462.637L501.87,460.572L502.815,460.411L506.895,460.439L506.871,457.086L508.203,456.903L509.907,457.276L511.566,456.917L511.916,457.069L511.712,458.285L512.496,459.725L514.582,459.498L515.281,460.051L514.067,463.277L515.394,464.924L515.7,467.099L515.346,468.952L514.485,470.269L512.01,470.151L510.512,468.813L510.289,470.048L508.397,470.39L507.436,471.091L508.493,472.935z"},{id:"GB",title:"United Kingdom",d:"M459.378,281.001l-1.503,3.287l-2.119,-0.98l-1.734,0.065l0.578,-2.571l-0.578,-2.604l2.351,-0.202L459.378,281.001zM466.827,260.239l-2.997,5.729l2.856,-0.716l3.072,0.027l-0.731,4.218l-2.521,4.535l2.899,0.318l0.223,0.524l2.497,5.787l1.919,0.774l1.726,5.409l0.799,1.841l3.397,0.882l-0.341,2.933l-1.428,1.331l1.12,2.327l-2.522,2.328l-3.751,-0.041l-4.773,1.212l-1.308,-0.867l-1.854,2.058l-2.594,-0.497l-1.97,1.667l-1.491,-0.87l4.112,-4.636l2.51,-0.966l-0.022,-0.004l-4.379,-0.749l-0.793,-1.799l2.93,-1.413l-1.536,-2.479l0.533,-3.056l4.167,0.425l0.005,0l0.413,-2.743l-1.878,-2.952l-0.042,-0.068l-3.405,-0.852l-0.668,-1.318l1.019,-2.195l-0.922,-1.366l-1.51,2.338l-0.164,-4.797l-1.416,-2.587l1.018,-5.356l2.178,-4.311l2.239,0.425L466.827,260.239z"},{id:"GE",title:"Georgia",d:"M591.765,335.853L592.183,334.253L591.482,331.676L589.862,330.272L588.308,329.833L587.281,328.657L587.623,328.202L589.993,328.86L594.121,329.481L597.938,331.313L598.43,332.019L600.13,331.422L602.745,332.216L603.604,333.766L605.366,334.637L604.638,335.153L606.019,337.17L605.637,337.604L604.125,337.384L602.036,336.316L601.349,336.923L597.453,337.502L594.752,335.675z"},{id:"GF",title:"French Guiana",d:"M327.893,456.407l-1.075,1.059l-1.342,0.199l-0.382,-0.785l-0.627,-0.117l-0.868,0.756l-1.225,-0.575l0.711,-1.19l0.244,-1.27l0.484,-1.195l-1.088,-1.647l-0.222,-1.912l1.459,-2.405l0.952,0.308l2.065,0.662l2.968,2.36l0.464,1.144l-1.659,2.554L327.893,456.407z"},{id:"GH",title:"Ghana",d:"M478.226,446.843L473.83,448.481L472.271,449.44L469.744,450.251L467.245,449.457L467.372,448.354L466.156,445.942L466.887,442.774L468.069,440.413L467.325,436.401L466.942,434.271L467.008,432.663L471.879,432.529L473.118,432.736L474.023,432.278L475.32,432.504L475.113,433.388L476.284,434.849L476.279,436.902L476.546,439.124L477.25,440.151L476.629,442.684L476.852,444.081L477.6,445.859z"},{id:"GL",title:"Greenland",d:"M344.134,23.907L353.548,10.302L363.386,11.368L366.962,2.416L376.872,0L399.267,3.147L416.806,21.735L411.628,30.045L400.902,30.968L385.81,32.998L387.222,36.643L397.147,34.4L405.593,41.313L411.036,35.189L413.367,42.339L410.289,53.306L417.427,46.381L431.042,38.831L439.447,42.644L441.022,50.755L429.591,63.423L428.008,67.316L419.046,70.182L425.54,70.968L422.26,82.476L420.003,92.074L420.091,107.331L423.458,115.665L419.078,116.178L414.467,120.058L419.641,126.358L420.3,135.984L417.302,137L420.935,146.154L414.706,146.896L417.958,151.036L417.039,154.545L413.085,156.063L409.178,156.091L412.69,162.572L412.729,166.7L407.18,162.867L405.737,165.356L409.522,167.649L413.196,173.125L414.259,180.08L409.261,181.703L407.1,178.44L403.633,173.46L404.592,179.329L401.335,183.74L408.725,184.091L412.59,184.542L405.075,191.571L397.454,197.697L389.249,200.313L386.156,200.346L383.256,203.218L379.355,210.853L373.325,215.742L371.388,216.025L367.655,217.704L363.625,219.287L361.223,223.409L361.185,227.967L359.766,232.133L355.194,237.082L356.323,241.787L355.063,246.637L353.626,252.202L349.675,252.544L345.537,247.91L339.931,247.881L337.21,244.701L335.34,238.896L330.481,231.225L329.06,227.069L328.677,221.177L324.793,214.91L325.803,209.74L323.932,207.212L326.704,198.556L330.924,195.708L332.031,192.447L332.618,186.185L329.415,189.052L327.888,190.242L325.37,191.375L321.929,188.77L321.742,183.219L322.839,178.741L325.439,178.618L331.163,180.873L326.342,175.438L323.833,172.434L321.041,173.675L318.701,171.482L321.831,162.976L320.126,159.453L317.901,152.71L314.526,141.804L310.956,137.625L310.989,132.998L303.465,126.308L297.512,125.456L290.019,125.928L283.177,126.785L279.923,123.039L275.051,115.379L282.413,111.41L288.057,110.734L276.059,107.365L269.739,101.932L270.125,96.589L280.74,89.721L291.01,82.562L292.094,76.925L284.526,71.163L286.971,64.519L296.678,52.186L300.757,50.207L299.588,41.637L306.23,36.398L314.852,33.188L323.468,33.005L326.527,39.311L333.965,27.987L340.657,35.767L344.594,37.36L350.417,43.772L343.75,33.002z"},{id:"GM",title:"Gambia",d:"M428.032,426.427L428.39,425.157L431.444,425.075L432.077,424.396L432.966,424.35L434.073,425.056L434.943,425.069L435.867,424.586L436.434,425.415L435.22,426.058L434.002,426.007L432.799,425.402L431.76,426.063L431.258,426.087L430.584,426.488z"},{id:"GN",title:"Guinea",d:"M451.59,441.914L450.797,441.841L450.226,442.973L449.433,442.959L448.887,442.361L449.073,441.232L447.9,439.508L447.168,439.825L446.569,439.888L445.797,440.049L445.829,439.016L445.378,438.279L445.469,437.458L444.861,436.271L444.081,435.26L441.839,435.257L441.185,435.79L440.413,435.854L439.934,436.464L439.61,437.247L438.112,438.488L436.882,436.818L435.792,435.712L435.074,435.346L434.374,434.783L434.055,433.532L433.645,432.907L432.83,432.442L434.077,431.058L434.927,431.11L435.659,430.633L436.277,430.628L436.719,430.251L436.48,429.308L436.788,429.01L436.839,428.042L438.192,428.072L440.208,428.768L440.826,428.704L441.036,428.386L442.565,428.612L442.97,428.451L443.131,429.495L443.576,429.492L444.308,429.112L444.773,429.207L445.551,429.93L446.751,430.158L447.52,429.542L448.426,429.16L449.1,428.761L449.661,428.836L450.284,429.462L450.618,430.248L451.767,431.439L451.192,432.17L451.083,433.093L451.68,432.814L452.03,433.145L451.882,433.989L452.738,434.806L452.179,435.025L451.954,435.985L452.6,437.153L453.293,439.41L452.251,439.749L451.983,440.14L452.2,440.684L452.035,441.91z"},{id:"GQ",title:"Equatorial Guinea",d:"M501.87,460.572L501.345,460.152L502.308,457.022L506.871,457.086L506.895,460.439L502.815,460.411z"},{id:"GR",title:"Greece",d:"M541.704,356.712l1.533,1.156l2.182,-0.195l2.086,0.243l-0.067,0.595l1.528,-0.41l-0.351,1.007l-4.038,0.29l0.028,-0.563l-3.421,-0.666L541.704,356.712zM549.847,335.754l-0.868,2.325l-0.666,0.414l-1.708,-0.104l-1.463,-0.35l-3.396,0.959l1.944,2.062l-1.424,0.594l-1.562,0.004l-1.483,-1.884l-0.526,0.804l0.626,2.176l1.403,1.697l-1.057,0.788l1.562,1.65l1.388,1.033l0.042,2l-1.358,-1.146l-1.236,0.209l0.827,1.799l-0.917,0.19l-1,-0.694l1.2,3.952l-0.583,0.014l-0.446,-1.263l-0.573,-0.025l-0.26,1.318l-0.454,-0.299l0.102,-0.739l-0.561,-1.045h-0.637l0.118,0.843l-0.25,0.267l-0.616,-0.54l-0.383,-1.021l0.519,-0.569l-0.357,-0.74l-0.408,-0.382l-0.423,-0.094l-0.491,-0.943l0.583,-0.519l0.357,-0.484l0.561,0.102l0.251,-0.41l0.59,-0.163l0.683,0.461l0.553,0.169l0.386,-0.622l-0.938,-0.084l-0.555,-0.194l-1.25,0.28l-1.219,0.048l-1.093,-1.641l-0.181,-0.254l0.167,-0.642l-1.423,-1.155l-0.19,-1.03l1.304,-1.765l0.168,-1.19l0.911,-0.533l0.056,-0.968l1.834,-0.327l1.069,-0.81l1.52,0.072l0.461,-0.647l0.534,-0.124l2.074,0.107l2.245,-1.024l1.976,1.301l2.548,-0.351l0.031,-1.859L549.847,335.754z"},{id:"GT",title:"Guatemala",d:"M222.638,424.754L221.2,424.254L219.451,424.202L218.168,423.632L216.66,422.446L216.729,421.607L217.054,420.931L216.656,420.391L218.005,418.032L221.604,418.023L221.676,417.035L221.222,416.859L220.91,416.229L219.874,415.557L218.83,414.583L220.096,414.576L220.098,412.931L222.716,412.926L225.309,412.958L225.287,415.273L225.068,418.553L225.905,418.552L226.819,419.076L227.061,418.645L227.883,419.014L226.605,420.117L225.276,420.925L225.079,421.479L225.302,422.045L224.719,422.776L224.063,422.953L224.212,423.292L223.686,423.609L222.725,424.334z"},{id:"GW",title:"Guinea-Bissau",d:"M432.83,432.442L431.333,431.255L430.152,431.066L429.509,430.265L429.525,429.832L428.67,429.227L428.492,428.617L429.977,428.152L430.906,428.244L431.657,427.923L436.839,428.042L436.788,429.01L436.48,429.308L436.719,430.251L436.277,430.628L435.659,430.633L434.927,431.11L434.077,431.058z"},{id:"GY",title:"Guyana",d:"M307.7,439.998L309.541,441.033L311.275,442.864L311.354,444.31L312.411,444.376L313.913,445.744L315.02,446.719L314.572,449.236L312.87,449.966L313.021,450.625L312.504,452.066L313.747,454.093L314.645,454.096L315.013,455.67L316.725,458.094L316.042,458.194L314.492,457.957L313.58,458.698L312.312,459.187L311.425,459.308L311.115,459.853L309.739,459.715L308.014,458.408L307.811,457.118L307.093,455.708L307.54,453.334L308.317,452.351L307.674,451.053L306.71,450.63L307.075,449.402L306.423,448.758L304.965,448.882L303.067,446.758L303.827,445.987L303.771,444.693L305.497,444.243L306.193,443.717L305.233,442.675L305.478,441.65z"},{id:"HN",title:"Honduras",d:"M230.43,426.904L229.946,426.009L229.094,425.76L229.289,424.612L228.908,424.301L228.331,424.097L227.101,424.438L226.997,424.052L226.15,423.591L225.546,423.018L224.719,422.776L225.302,422.045L225.079,421.479L225.276,420.925L226.605,420.117L227.883,419.014L228.174,419.127L228.789,418.618L229.591,418.577L229.852,418.813L230.287,418.669L231.589,418.93L232.885,418.854L233.787,418.534L234.116,418.209L235.01,418.359L235.681,418.557L236.414,418.489L236.971,418.237L238.252,418.639L238.697,418.703L239.553,419.244L240.363,419.893L241.382,420.335L242.121,421.129L241.159,421.07L240.771,421.463L239.797,421.839L239.089,421.841L238.47,422.208L237.908,422.077L237.43,421.637L237.137,421.721L236.777,422.409L236.508,422.384L236.462,422.977L235.483,423.768L234.967,424.109L234.679,424.465L233.852,423.885L233.247,424.651L232.662,424.631L232.004,424.698L232.064,426.107L231.653,426.133L231.302,426.787z"},{id:"HR",title:"Croatia",d:"M528.049,318.934L528.73,320.484L529.621,321.618L528.542,323.106L527.273,322.232L525.335,322.287L522.924,321.629L521.614,321.717L521.007,322.539L520,321.629L519.414,323.27L520.787,325.104L521.395,326.313L522.684,327.76L523.752,328.613L524.811,330.215L527.292,331.658L526.984,332.303L524.348,330.896L522.722,329.521L520.158,328.379L517.8,325.526L518.366,325.234L517.087,323.586L517.035,322.254L515.232,321.629L514.373,323.335L513.545,322.013L513.608,320.633L513.708,320.569L515.662,320.705L516.175,320.031L517.129,320.683L518.229,320.76L518.219,319.644L519.193,319.234L519.466,317.607L521.698,316.531L522.589,317.031L524.685,318.762L527.001,319.533z"},{id:"HT",title:"Haiti",d:"M270.04,406.751L271.75,406.882L274.182,407.348L274.427,408.957L274.213,410.09L273.529,410.586L274.251,411.468L274.193,412.265L272.331,411.767L271.008,411.97L269.297,411.758L267.985,412.306L266.483,411.392L266.73,410.445L269.312,410.853L271.427,411.089L272.437,410.435L271.156,409.158L271.177,408.03L269.408,407.569z"},{id:"HU",title:"Hungary",d:"M520.682,315.111L521.613,312.464L521.069,311.565L522.648,311.557L522.861,309.853L524.288,310.922L525.322,311.376L527.675,310.866L527.901,310.027L529.015,309.903L530.38,309.252L530.684,309.521L532,308.997L532.658,308.005L533.577,307.747L536.58,309.028L537.178,308.598L538.734,309.741L538.93,310.861L537.217,311.733L535.891,314.531L534.195,317.292L531.947,318.054L530.197,317.875L528.049,318.934L527.001,319.533L524.685,318.762L522.589,317.031L521.698,316.531L521.153,315.156z"},{id:"ID",title:"Indonesia",d:"M813.722,492.058l-1.18,0.054l-3.721,-1.981l2.614,-0.555l1.474,0.86l0.98,0.858L813.722,492.058zM824.153,491.776l-2.4,0.623l-0.336,-0.34l0.252,-0.962l1.206,-1.724l2.771,-1.12l0.284,0.556l0.052,0.856L824.153,491.776zM805.827,486.009l1.011,0.75l1.732,-0.23l0.695,1.197l-3.241,0.566l-1.942,0.378l-1.507,-0.022l0.963,-1.623l1.538,-0.022L805.827,486.009zM819.856,486.005l-0.411,1.564l-4.213,0.8l-3.729,-0.348l-0.01,-1.03l2.228,-0.585l1.757,0.844l1.866,-0.214L819.856,486.005zM779.817,482.306l5.371,0.28l0.618,-1.156l5.201,1.349l1.021,1.82l4.207,0.513l3.438,1.672l-3.199,1.073l-3.083,-1.135l-2.538,0.077l-2.909,-0.208l-2.624,-0.505l-3.248,-1.074l-2.059,-0.278l-1.166,0.352l-5.113,-1.157l-0.486,-1.207l-2.565,-0.206l1.924,-2.678l3.401,0.166l2.264,1.095l1.162,0.214L779.817,482.306zM853.001,480.728l-1.442,1.909l-0.273,-2.11l0.498,-1.007l0.587,-0.946l0.638,0.819L853.001,480.728zM832.041,473.025l-1.05,0.926l-1.938,-0.513l-0.546,-1.2l2.836,-0.134L832.041,473.025zM841.075,472.006l1.02,2.134l-2.367,-1.15l-2.343,-0.233l-1.582,0.184l-1.94,-0.098l0.665,-1.534l3.463,-0.116L841.075,472.006zM851.371,466.593l0.783,4.507l2.901,1.669l2.344,-2.958l3.217,-1.682l2.493,-0.002l2.397,0.972l2.08,0.997l3.01,0.533l0.047,9.103l0.048,9.157l-2.497,-2.313l-2.848,-0.566l-0.69,0.802l-3.553,0.086l1.19,-2.289l1.766,-0.78l-0.731,-3.05l-1.346,-2.35l-5.436,-2.368l-2.313,-0.233l-4.21,-2.58l-0.828,1.356l-1.076,0.246l-0.637,-1.024l-0.009,-1.212l-2.142,-1.37l3.02,-1.004l2,0.054l-0.235,-0.74l-4.104,-0.005l-1.11,-1.659l-2.505,-0.514l-1.187,-1.378l3.779,-0.675l1.438,-0.908l4.501,1.144L851.371,466.593zM826.409,459.431l-2.253,2.763l-2.107,0.536l-2.698,-0.544l-4.673,0.139l-2.449,0.401l-0.398,2.108l2.51,2.477l1.514,-1.262l5.229,-0.948l-0.23,1.283l-1.222,-0.405l-1.218,1.632l-2.468,1.08l2.653,3.573l-0.513,0.958l2.521,3.223l-0.024,1.837l-1.497,0.822l-1.1,-0.984l1.355,-2.289l-2.752,1.082l-0.697,-0.773l0.363,-1.079l-2.021,-1.637l0.208,-2.718l-1.87,0.848l0.237,3.253l0.114,3.999l-1.778,0.406l-1.204,-0.821l0.804,-2.573l-0.434,-2.694l-1.18,-0.021l-0.871,-1.911l1.159,-1.826l0.399,-2.212l1.409,-4.199l0.588,-1.148l2.384,-2.069l2.189,0.823l3.535,0.387l3.225,-0.117l2.771,-2.023L826.409,459.431zM836.076,460.231l-0.146,2.434l-1.446,-0.272l-0.427,1.695l1.155,1.47l-0.785,0.334l-1.132,-1.764l-0.833,-3.561l0.564,-2.226l0.93,-1.014l0.202,1.522l1.655,0.244L836.076,460.231zM805.759,458.294l3.144,2.578l-3.322,0.329l-0.936,1.898l0.122,2.524l-2.696,1.905l-0.074,2.775l-1.081,4.266l-0.413,-0.993l-3.186,1.256l-1.11,-1.707l-1.999,-0.158l-1.398,-0.894l-3.333,1.003l-1.023,-1.35l-1.836,0.154l-2.312,-0.322l-0.429,-3.738l-1.399,-0.774l-1.346,-2.383l-0.391,-2.437l0.326,-2.581l1.666,-1.852l0.469,1.862l1.917,1.574l1.809,-0.566l1.79,0.201l1.634,-1.409l1.345,-0.244l2.652,0.781l2.287,-0.594l1.438,-3.876l1.079,-0.97l0.972,-3.175l3.224,0.001l2.43,0.471l-1.595,2.521l2.062,2.64L805.759,458.294zM771.95,479.713l-3.104,0.059l-2.361,-2.339l-3.601,-2.283l-1.2,-1.692l-2.122,-2.271l-1.393,-2.089l-2.133,-3.9l-2.462,-2.321l-0.824,-2.395l-1.033,-2.175l-2.528,-1.755l-1.466,-2.386l-2.111,-1.563l-2.925,-3.078l-0.246,-1.424l1.806,0.113l4.34,0.541l2.479,2.733l2.169,1.893l1.546,1.161l2.656,2.997l2.851,0.043l2.355,1.909l1.623,2.333l2.135,1.272l-1.123,2.274l1.606,0.967l1.007,0.071l0.476,1.943l0.977,1.555l2.059,0.247l1.364,1.765l-0.704,3.471L771.95,479.713z"},{id:"IE",title:"Ireland",d:"M457.875,284.288L458.337,287.648L456.218,291.771L451.248,294.453L447.279,293.77L449.552,288.99L448.088,284.223L451.902,280.47L454.021,278.198L454.6,280.802L454.021,283.373L455.756,283.308z"},{id:"IL",title:"Israel",d:"M575.406,366.825L574.918,367.868L573.903,367.41L573.317,369.606L574.021,369.975L573.305,370.426L573.184,371.287L574.502,370.844L574.568,372.114L573.171,377.28L571.328,371.725L572.144,370.648L571.953,370.462L572.694,368.927L573.263,366.433L573.664,365.59L573.741,365.556L574.68,365.562L574.938,364.978L575.69,364.934L575.733,366.297L575.353,366.802z"},{id:"IN",title:"India",d:"M693.498,357.437L696.512,361.426L696.228,364.169L697.343,365.877L697.251,367.571L695.239,367.126L696.025,370.756L698.78,372.821L702.677,375.086L700.897,376.547L699.809,379.538L702.525,380.74L705.169,382.292L708.826,384.059L712.669,384.465L714.286,386.058L716.453,386.354L719.826,387.081L722.161,387.029L722.482,385.794L722.113,383.803L722.33,382.447L724.04,381.782L724.275,384.263L724.335,384.892L726.884,386.079L728.646,385.59L731.014,385.8L733.301,385.707L733.498,383.782L732.356,382.777L734.618,382.383L737.17,380.027L740.402,377.997L742.754,378.782L744.753,377.436L746.067,379.421L745.12,380.756L748.144,381.229L748.355,382.428L747.372,383.006L747.603,384.939L745.599,384.372L741.969,386.534L742.054,388.313L740.507,390.907L740.364,392.405L739.114,394.927L736.923,394.231L736.814,397.379L736.181,398.41L736.477,399.691L735.094,400.405L733.617,395.606L732.843,395.616L732.385,397.556L730.85,395.984L731.715,394.25L732.97,394.073L734.262,391.479L732.646,390.953L730.045,390.999L727.377,390.576L727.13,388.426L725.791,388.273L723.57,386.93L722.58,389.037L724.604,390.672L722.851,391.819L722.229,392.938L723.954,393.757L723.478,395.596L724.449,397.877L724.886,400.362L724.484,401.458L722.576,401.421L719.12,402.043L719.281,404.291L717.784,406.051L713.749,408.045L710.611,411.511L708.503,413.359L705.709,415.271L705.705,416.609L704.308,417.325L701.782,418.364L700.472,418.518L699.632,420.723L700.215,424.466L700.364,426.842L699.176,429.554L699.163,434.379L697.712,434.516L696.436,436.673L697.289,437.604L694.732,438.403L693.788,440.319L692.663,441.128L690.009,438.499L688.711,434.542L687.635,431.682L686.652,430.336L685.163,427.598L684.467,424.016L683.982,422.22L681.432,418.252L680.271,412.606L679.432,408.844L679.442,405.255L678.898,402.461L674.818,404.249L672.842,403.892L669.179,400.261L670.527,399.172L669.699,397.986L666.41,395.411L668.277,393.374L674.447,393.382L673.891,390.745L672.315,389.179L671.996,386.788L670.161,385.386L673.251,382.091L676.507,382.331L679.44,379.005L681.197,375.754L683.92,372.505L683.876,370.177L686.268,368.274L684.004,366.64L683.03,364.386L682.037,361.44L683.411,359.979L687.665,360.807L690.79,360.303z"},{id:"IQ",title:"Iraq",d:"M602.605,355.773L604.444,356.807L604.656,358.807L603.245,359.982L602.595,362.62L604.537,365.801L607.972,367.62L609.415,370.123L608.956,372.489L609.851,372.488L609.879,374.217L611.43,375.914L609.767,375.756L607.882,375.487L605.825,378.567L600.612,378.312L592.706,371.821L588.528,369.529L585.151,368.637L584.021,364.596L590.228,361.097L591.288,356.976L591.023,354.455L592.558,353.598L593.995,351.418L595.199,350.873L598.46,351.326L599.445,352.218L600.789,351.627z"},{id:"IR",title:"Iran",d:"M626.441,351.527L628.905,350.848L630.899,348.831L632.774,348.934L634.005,348.273L635.999,348.6L639.1,350.391L641.339,350.775L644.543,353.87L646.633,353.995L646.879,356.901L645.736,361.148L644.966,363.599L646.187,364.094L644.987,365.921L645.905,368.565L646.125,370.65L648.249,371.202L648.479,373.298L645.936,376.228L647.323,377.914L648.452,379.84L651.133,381.236L651.21,384.013L652.552,384.521L652.783,385.963L648.739,387.572L647.683,391.167L642.408,390.236L639.351,389.526L636.187,389.124L634.99,385.308L633.648,384.752L631.494,385.312L628.666,386.823L625.239,385.788L622.409,383.378L619.71,382.481L617.837,379.474L615.768,375.201L614.259,375.724L612.477,374.655L611.43,375.914L609.879,374.217L609.851,372.488L608.956,372.489L609.415,370.123L607.972,367.62L604.537,365.801L602.595,362.62L603.245,359.982L604.656,358.807L604.444,356.807L602.605,355.773L600.789,351.626L599.255,348.805L599.804,347.705L598.929,343.593L600.849,342.561L601.293,343.926L602.71,345.587L604.633,346.064L605.648,345.958L608.955,343.302L610.006,343.035L610.835,344.096L609.868,345.875L611.617,347.744L612.314,347.566L613.201,350.178L615.86,350.911L617.808,352.667L621.794,353.269L626.173,352.345z"},{id:"IS",title:"Iceland",d:"M434.573,212.429L433.925,216.909L437.093,221.51L433.448,226.516L425.36,230.897L422.943,232.045L419.252,231.119L411.429,229.111L414.189,226.27L408.086,223.071L413.051,221.788L412.931,219.825L407.046,218.254L408.94,213.78L413.19,212.748L417.56,217.432L421.82,213.682L425.348,215.639L429.921,211.932z"},{id:"IT",title:"Italy",d:"M518.77,347.883l-1.01,2.783l0.419,1.087l-0.588,1.795l-2.145,-1.313l-1.426,-0.377l-3.914,-1.786l0.393,-1.816l3.281,0.324l2.86,-0.387L518.77,347.883zM501.077,337.065l1.682,2.622l-0.394,4.811l-1.275,-0.228l-1.144,1.201l-1.062,-0.954l-0.112,-4.384l-0.64,-2.105l1.542,0.185L501.077,337.065zM509.955,315.458l4.01,1.051l-0.304,1.991l0.671,1.707l-2.232,-0.583l-2.28,1.417l0.155,1.966l-0.343,1.121l0.919,1.989l2.629,1.951l1.41,3.167l3.12,3.047l2.197,-0.023l0.683,0.829l-0.787,0.745l2.511,1.345l2.059,1.12l2.404,1.919l0.291,0.683l-0.524,1.306l-1.556,-1.704l-2.436,-0.603l-1.18,2.362l2.026,1.344l-0.333,1.879l-1.171,0.213l-1.498,3.057l-1.168,0.272l0.011,-1.084l0.572,-1.913l0.609,-0.766l-1.095,-2.09l-0.855,-1.833l-1.164,-0.455l-0.828,-1.583l-1.802,-0.67l-1.213,-1.487l-2.075,-0.241l-2.191,-1.683l-2.565,-2.448l-1.906,-2.188l-0.875,-3.803l-1.395,-0.452l-2.281,-1.287l-1.291,0.528l-1.62,1.802l-1.165,0.284l0.321,-1.684l-1.52,-0.494l-0.723,-3.039l0.972,-1.208l-0.825,-1.498l0.116,-1.134l1.207,0.86l1.352,-0.19l1.572,-1.364l0.486,0.639l1.335,-0.128l0.607,-1.63l2.075,0.508l1.235,-0.684l0.222,-1.67l1.699,0.581l0.326,-0.777l2.771,-0.712L509.955,315.458z"},{id:"JM",title:"Jamaica",d:"M257.759,410.958L259.646,411.221L261.136,411.926L261.601,412.729L259.629,412.783L258.778,413.272L257.208,412.802L255.605,411.734L255.942,411.063L257.121,410.858z"},{id:"JO",title:"Jordan",d:"M574.918,367.868L575.406,366.825L578.53,368.136L584.021,364.596L585.151,368.637L584.617,369.134L579.001,370.78L581.796,374.036L580.869,374.585L580.407,375.666L578.268,376.111L577.597,377.268L576.385,378.252L573.265,377.744L573.171,377.28L574.568,372.114L574.502,370.844L574.917,369.882z"},{id:"JP",title:"Japan",d:"M852.76,362.009l0.358,1.154l-1.579,2.025l-1.15,-1.072l-1.438,0.777l-0.744,1.946l-1.827,-0.946l0.022,-1.583l1.551,-2.003l1.595,0.39l1.152,-1.417L852.76,362.009zM870.53,351.726l-1.057,2.781l0.489,1.731l-1.461,2.416l-3.582,1.602l-4.929,0.208l-3.995,3.844l-1.884,-1.288l-0.116,-2.523l-4.877,0.747l-3.318,1.588l-3.282,0.064l2.843,2.463l-1.871,5.611l-1.813,1.373l-1.356,-1.268l0.688,-2.961l-1.774,-0.962l-1.139,-2.281l2.65,-1.03l1.471,-2.114l2.82,-1.75l2.057,-2.333l5.581,-1.023l2.998,0.702l2.934,-6.168l1.869,1.671l4.113,-3.512l1.595,-1.377l1.763,-4.383l-0.481,-4.1l1.185,-2.333l2.981,-0.682l1.528,5.108l-0.083,2.938l-2.594,3.602L870.53,351.726zM878.756,325.795l1.972,0.829l1.983,-1.651l0.623,4.348l-4.159,1.048l-2.455,3.763l-4.409,-2.583l-1.525,4.122l-3.119,0.056l-0.386,-3.741l1.387,-2.937l2.996,-0.213l0.817,-5.381l0.829,-3.089l3.295,4.117L878.756,325.795z"},{id:"KE",title:"Kenya",d:"M590.191,465.775L591.852,468.074L589.888,469.187L589.195,470.35L588.145,470.554L587.747,472.519L586.847,473.645L586.299,475.502L585.17,476.425L581.146,473.633L580.955,472.015L570.788,466.337L570.314,466.031L570.286,463.079L571.089,461.951L572.468,460.107L573.489,458.076L572.255,454.876L571.927,453.476L570.598,451.538L572.323,449.869L574.224,448.026L575.68,448.496L575.68,450.065L576.638,450.985L578.589,450.985L582.138,453.356L583.024,453.384L583.681,453.307L584.302,453.629L586.172,453.849L587,452.686L589.562,451.518L590.692,452.461L592.608,452.462L590.158,455.627z"},{id:"KG",title:"Kyrgyzstan",d:"M674.221,333.111L674.849,331.451L676.694,330.914L681.308,332.223L681.743,329.976L683.335,329.182L687.328,330.791L688.347,330.37L692.996,330.475L697.156,330.874L698.563,332.239L700.29,332.794L699.896,333.647L695.478,335.679L694.479,337.157L690.882,337.597L689.821,339.951L686.854,339.459L684.916,340.177L682.239,341.903L682.626,342.753L681.828,343.582L676.526,344.129L673.063,342.955L670.022,343.236L670.288,341.14L673.34,341.75L674.366,340.624L676.499,340.984L680.09,338.339L676.767,336.385L674.77,337.312L672.7,335.911L675.054,333.482z"},{id:"KH",title:"Cambodia",d:"M765.444,433.599L764.304,432.121L762.886,429.182L762.222,425.732L764.018,423.347L767.643,422.797L770.271,423.21L772.585,424.336L773.854,422.354L776.338,423.413L776.988,425.327L776.643,428.753L771.93,430.944L773.161,432.665L770.218,432.871L767.791,434.013z"},{id:"KP",title:"North Korea",d:"M841.548,332.624L841.94,333.285L840.875,333.059L839.658,334.334L838.821,335.608L838.927,338.276L837.478,339.092L836.979,339.74L835.922,340.823L834.055,341.424L832.838,342.401L832.75,343.969L832.423,344.368L833.539,344.953L835.127,346.525L834.723,347.388L833.529,347.623L831.548,347.795L830.455,349.395L829.204,349.269L829.028,349.589L827.667,348.917L827.328,349.581L826.507,349.874L826.408,349.209L825.682,348.885L824.928,348.32L825.695,346.753L826.356,346.333L826.107,345.679L826.818,343.738L826.635,343.146L824.998,342.752L823.676,341.777L825.959,339.43L829.049,337.446L830.976,334.802L832.307,335.974L834.73,336.11L834.293,334.135L838.623,332.511L839.737,330.38z"},{id:"KR",title:"South Korea",d:"M835.127,346.525L837.547,350.707L838.241,352.977L838.263,356.962L837.206,358.844L834.667,359.498L832.426,360.906L829.9,361.196L829.587,359.348L830.106,356.782L828.867,353.181L830.95,352.594L829.028,349.589L829.204,349.269L830.455,349.395L831.548,347.795L833.529,347.623L834.723,347.388z"},{id:"XK",title:"Kosovo",d:"M533.467,333.918L533.341,334.688L532.985,334.657L532.796,333.293L532.125,332.907L531.528,331.891L532.052,331.039L532.723,330.765L533.111,329.495L533.614,329.283L534.012,329.824L534.536,330.062L534.903,330.669L535.364,330.849L535.909,331.554L536.307,331.533L535.993,332.457L535.657,332.907L535.75,333.19L535.123,333.335z"},{id:"KW",title:"Kuwait",d:"M609.767,375.756L610.352,377.174L610.101,377.905L611.004,380.309L609.021,380.391L608.323,378.875L605.825,378.567L607.882,375.487z"},{id:"KZ",title:"Kazakhstan",d:"M674.221,333.111L672.613,333.808L668.915,336.417L667.688,339.066L666.644,339.09L665.875,337.339L662.31,337.219L661.739,334.16L660.373,334.134L660.582,330.333L657.226,327.526L652.417,327.828L649.129,328.389L646.451,324.891L644.157,323.407L639.811,320.57L639.287,320.224L632.069,322.571L632.18,336.698L630.741,336.88L628.779,333.948L626.884,332.892L623.701,333.677L622.462,334.927L622.305,334.012L622.994,332.439L622.459,331.117L619.21,329.816L617.944,326.352L616.396,325.367L616.303,324.091L619.03,324.464L619.138,321.581L621.522,320.935L623.972,321.529L624.477,317.622L623.977,315.108L621.171,315.306L618.787,314.307L615.541,316.104L612.925,316.955L611.501,316.299L611.786,314.197L609.999,311.437L607.918,311.553L605.538,308.716L607.156,305.501L606.337,304.627L608.575,299.857L611.458,302.389L611.807,299.196L617.595,294.347L621.975,294.23L628.155,297.332L631.475,299.123L634.45,297.255L638.895,297.166L642.481,299.458L643.296,298.148L647.234,298.339L647.937,296.233L643.393,293.136L646.084,290.913L645.559,289.659L648.251,288.455L646.227,285.247L647.512,283.629L658.004,281.966L659.373,280.776L666.389,278.985L668.91,276.953L673.949,278.011L674.832,283.023L677.759,281.858L681.36,283.489L681.128,286.072L683.817,285.804L690.844,281.31L689.818,282.814L693.396,286.473L699.661,298.049L701.155,295.716L705.018,298.281L709.047,297.141L710.595,297.94L711.944,300.486L713.904,301.334L715.098,303.177L718.71,302.598L720.197,305.232L718.063,308.063L715.734,308.457L715.601,312.643L714.041,314.503L708.479,313.15L706.456,320.412L705.021,321.298L699.466,322.88L701.99,329.634L700.066,330.629L700.29,332.794L698.563,332.239L697.156,330.874L692.996,330.475L688.347,330.37L687.328,330.791L683.335,329.182L681.743,329.976L681.308,332.223L676.694,330.914L674.849,331.451z"},{id:"LA",title:"Lao People's Democratic Republic",d:"M770.271,423.21L771.184,421.913L771.309,419.47L769.039,416.943L768.864,414.068L766.731,411.69L764.611,411.489L764.046,412.509L762.404,412.594L761.564,412.077L758.609,413.823L758.543,411.197L759.232,408.093L757.338,407.957L757.177,406.177L755.964,405.26L756.561,404.164L758.947,402.22L759.199,402.923L760.694,403.004L760.271,399.571L761.724,399.129L763.362,401.505L764.621,404.222L768.073,404.245L769.16,406.837L767.368,407.613L766.563,408.676L769.923,410.438L772.253,413.903L774.021,416.471L776.142,418.49L776.848,420.533L776.338,423.413L773.854,422.354L772.585,424.336z"},{id:"LB",title:"Lebanon",d:"M575.69,364.934L574.938,364.978L574.68,365.562L573.741,365.556L574.74,362.83L576.134,360.451L576.187,360.332L577.448,360.505L577.907,361.832L576.378,363.101z"},{id:"LK",title:"Sri Lanka",d:"M704.574,442.372L704.152,445.294L702.977,446.091L700.538,446.732L699.203,444.504L698.706,440.466L699.976,435.888L701.913,437.457L703.219,439.442z"},{id:"LR",title:"Liberia",d:"M453.629,451.218L452.895,451.242L450.005,449.91L447.457,447.781L445.068,446.25L443.18,444.441L443.851,443.543L443.999,442.727L445.264,441.201L446.569,439.888L447.168,439.825L447.9,439.508L449.073,441.232L448.887,442.361L449.433,442.959L450.226,442.973L450.797,441.841L451.59,441.914L451.461,442.73L451.741,444.088L451.132,445.333L451.949,446.103L452.84,446.29L454.027,447.463L454.113,448.565L453.845,448.916z"},{id:"LS",title:"Lesotho",d:"M556.504,547.746L557.477,548.709L556.616,550.268L556.14,551.318L554.577,551.822L554.062,552.855L553.058,553.178L550.955,550.693L552.45,548.662L553.969,547.414L555.28,546.765z"},{id:"LT",title:"Lithuania",d:"M538.988,282.094L538.763,280.866L539.063,279.539L537.823,278.766L534.887,277.91L534.291,273.746L537.502,272.203L542.204,272.527L544.958,272.028L545.352,273.076L546.844,273.398L549.539,275.817L549.803,278.024L547.504,279.586L546.853,282.31L543.809,284.107L541.099,284.075L540.426,282.606z"},{id:"LU",title:"Luxembourg",d:"M492.197,301.287L492.757,302.27L492.599,304.165L491.79,304.255L491.162,303.882L491.466,301.452z"},{id:"LV",title:"Latvia",d:"M534.291,273.746L534.387,269.938L535.765,266.703L538.408,264.92L540.634,268.799L542.884,268.699L543.423,264.71L545.811,263.78L547.04,264.426L549.453,266.368L551.765,266.377L553.116,267.572L553.355,270.063L554.256,273.053L551.244,274.982L549.539,275.817L546.844,273.398L545.352,273.076L544.958,272.028L542.204,272.527L537.502,272.203z"},{id:"LY",title:"Libya",d:"M516.894,397.927L514.91,399.05L513.333,397.389L508.898,396.081L507.667,394.172L505.454,392.751L504.144,393.312L503.146,391.601L503.041,390.281L501.383,388.025L502.496,386.725L502.251,384.76L502.608,383.041L502.405,381.601L502.899,379.011L502.747,377.526L501.839,374.686L503.208,373.936L503.45,372.564L503.152,371.213L505.077,369.951L505.94,368.898L507.307,367.951L507.466,365.402L510.759,366.547L511.937,366.262L514.279,366.815L518,368.294L519.313,371.212L521.83,371.846L525.781,373.208L528.769,374.818L530.136,373.979L531.479,372.486L530.826,369.983L531.706,368.382L533.726,366.833L535.656,366.38L539.449,367.059L540.405,368.537L541.449,368.55L542.342,369.112L545.128,369.498L545.812,370.582L544.796,372.149L545.23,373.539L544.508,375.535L545.349,378.121L545.349,389.301L545.349,400.529L545.349,406.492L542.125,406.501L542.09,407.744L530.907,402.045L519.725,396.269z"},{id:"MA",title:"Morocco",d:"M471.361,366.311L470.393,362.782L470.226,360.729L469.169,358.551L467.951,358.514L465.047,357.759L462.38,357.996L460.69,356.54L458.626,356.523L457.745,358.627L455.871,362.14L453.792,363.53L450.979,365.058L449.175,367.304L448.799,369.042L447.734,371.861L448.435,375.892L446.094,378.568L444.688,379.418L442.479,381.587L439.872,381.937L438.462,383.148L438.446,383.162L450.956,383.148L450.956,383.141L450.932,379.389L455.46,377.03L458.26,376.541L460.555,375.676L461.627,374.059L464.905,372.775L465.026,370.358L466.648,370.072L467.917,368.856L471.586,368.301L472.1,367.016z"},{id:"MD",title:"Moldova",d:"M549.89,309.445L550.559,308.826L552.422,308.409L554.489,309.718L555.642,309.875L556.909,310.999L556.708,312.406L557.729,313.082L558.134,314.799L559.113,315.837L558.915,316.444L559.438,316.855L558.695,317.155L557.043,317.036L556.767,316.475L556.181,316.799L556.379,317.523L555.611,318.809L555.122,320.184L554.416,320.617L553.914,318.791L554.209,317.067L554.12,315.282L552.502,312.84L551.613,311.092L550.744,309.854z"},{id:"ME",title:"Montenegro",d:"M530.774,332.227L530.596,331.512L529.38,333.377L529.568,334.573L528.981,334.283L528.196,333.053L526.984,332.302L527.292,331.658L527.703,329.559L528.615,328.666L529.139,328.314L529.883,328.975L530.292,329.506L531.214,329.919L532.283,330.712L532.052,331.039L531.528,331.891z"},{id:"MG",title:"Madagascar",d:"M614.166,498.396L614.91,499.611L615.604,501.501L616.056,504.958L616.781,506.307L616.503,507.693L616.007,508.546L615.055,506.85L614.527,507.706L615.063,509.854L614.813,511.087L614.04,511.76L613.863,514.236L612.759,517.663L611.376,521.745L609.644,527.42L608.57,531.634L607.303,535.184L605.022,535.913L602.575,537.218L600.96,536.43L598.734,535.327L597.96,533.708L597.775,531.001L596.788,528.583L596.531,526.414L597.034,524.251L598.324,523.733L598.332,522.739L599.672,520.484L599.925,518.598L599.274,517.2L598.743,515.345L598.519,512.647L599.499,511.016L599.875,509.172L601.272,509.065L602.836,508.471L603.874,507.947L605.105,507.908L606.704,506.26L609.011,504.484L609.853,503.038L609.471,501.811L610.662,502.156L612.207,500.165L612.259,498.447L613.188,497.172z"},{id:"MK",title:"Macedonia",d:"M532.985,334.657L533.341,334.688L533.467,333.918L535.123,333.335L535.75,333.19L536.705,332.97L538.005,332.907L539.409,334.116L539.608,336.589L539.074,336.713L538.612,337.36L537.093,337.288L536.024,338.098L534.19,338.425L533.027,337.524L532.628,335.93z"},{id:"ML",title:"Mali",d:"M441.128,422.221L442.072,421.696L442.543,419.996L443.432,419.93L445.39,420.734L446.971,420.163L448.055,420.354L448.476,419.712L459.726,419.668L460.35,417.64L459.864,417.282L458.511,404.597L457.158,391.541L461.449,391.485L470.907,398.139L480.365,404.686L481.032,406.079L482.777,406.928L484.076,407.409L484.108,409.289L487.218,409L487.226,415.75L485.693,417.691L485.454,419.476L482.963,419.935L479.138,420.183L478.101,421.208L476.304,421.322L474.506,421.335L473.807,420.782L472.263,421.192L469.643,422.388L469.107,423.287L466.932,424.574L466.551,425.311L465.375,425.894L464.02,425.508L463.251,426.207L462.84,428.167L460.614,430.528L460.679,431.491L459.914,432.695L460.1,434.341L458.943,434.76L458.289,435.117L457.854,433.906L457.045,434.226L456.561,434.17L456.045,434.997L453.88,434.974L453.104,434.548L452.738,434.806L451.882,433.989L452.03,433.145L451.68,432.814L451.083,433.093L451.192,432.17L451.767,431.439L450.618,430.248L450.284,429.462L449.661,428.836L449.1,428.761L448.426,429.16L447.52,429.542L446.751,430.158L445.551,429.93L444.773,429.207L444.308,429.112L443.576,429.492L443.131,429.495L442.97,428.451L443.099,427.562L442.859,426.456L441.81,425.652L441.256,424.01z"},{id:"MM",title:"Myanmar",d:"M754.357,405.947L752.722,407.233L750.742,407.366L749.464,410.556L748.28,411.09L749.636,413.662L751.415,415.792L752.563,417.709L751.537,420.227L750.569,420.76L751.238,422.206L753.108,424.49L753.429,426.09L753.385,427.418L754.481,430.019L752.941,432.669L751.583,435.58L751.313,433.478L752.174,431.304L751.231,429.62L751.459,426.51L750.321,425.026L749.407,421.586L748.9,417.934L747.688,415.526L745.841,416.985L742.654,419.053L741.082,418.795L739.345,418.115L740.311,414.511L739.726,411.771L737.528,408.376L737.871,407.311L736.23,406.931L734.241,404.507L734.058,402.104L735.036,402.557L735.094,400.405L736.477,399.691L736.181,398.41L736.814,397.379L736.923,394.231L739.114,394.927L740.364,392.405L740.507,390.907L742.054,388.313L741.969,386.534L745.599,384.372L747.603,384.939L747.372,383.006L748.355,382.428L748.144,381.229L749.784,380.994L750.721,382.854L751.944,383.605L752.027,386.003L751.914,388.57L749.259,391.15L748.922,394.785L751.882,394.278L752.551,397.079L754.326,397.666L753.51,400.173L755.592,401.301L756.806,401.854L758.862,400.98L758.947,402.22L756.561,404.164L755.964,405.26z"},{id:"MN",title:"Mongolia",d:"M721.295,304.88L724.251,304.136L729.601,300.396L733.865,298.326L736.304,299.679L739.229,299.744L741.103,301.787L743.901,301.943L747.955,303.033L750.681,300L749.542,297.4L752.446,292.741L755.587,294.612L758.132,295.139L761.429,296.291L761.964,299.612L765.946,301.453L768.597,300.644L772.144,300.071L774.953,300.648L777.699,302.74L779.401,304.943L782.001,304.898L785.533,305.595L788.11,304.533L791.802,303.821L795.908,300.762L797.59,301.234L799.058,302.69L802.403,302.329L801.038,305.576L799.057,309.803L799.779,311.509L801.366,310.981L804.132,311.628L806.287,310.09L808.537,311.423L811.078,314.31L810.771,315.763L808.559,315.303L804.486,315.844L802.513,317L800.458,319.662L796.183,321.208L793.389,323.309L790.507,322.509L788.93,322.151L787.457,324.689L788.353,326.188L788.807,327.468L786.844,328.765L784.832,330.816L781.556,332.153L777.354,332.297L772.824,333.608L769.56,335.622L768.318,334.458L764.926,334.461L760.777,332.17L758.01,331.605L754.28,332.133L748.493,331.282L745.402,331.37L743.757,329.101L742.479,325.533L740.747,325.1L737.359,322.652L733.583,322.1L730.251,321.421L729.242,319.692L730.321,314.965L728.387,311.646L724.388,310.081L722.031,307.85z"},{id:"MR",title:"Mauritania",d:"M441.128,422.221L439.278,420.24L437.581,418.111L435.72,417.343L434.38,416.488L432.814,416.521L431.446,417.154L430.053,416.903L429.093,417.834L428.85,416.269L429.633,414.832L429.981,412.079L429.671,409.173L429.333,407.705L429.612,406.227L428.888,404.814L427.41,403.526L428.021,402.529L439.001,402.548L438.47,398.204L439.156,396.648L441.783,396.375L441.692,388.524L450.895,388.687L450.903,383.96L461.449,391.485L457.158,391.541L458.511,404.597L459.864,417.282L460.35,417.64L459.726,419.668L448.476,419.712L448.055,420.354L446.971,420.163L445.39,420.734L443.432,419.93L442.543,419.996L442.072,421.696z"},{id:"MW",title:"Malawi",d:"M572.154,495.69L571.369,497.854L572.154,501.57L573.127,501.529L574.139,502.454L575.313,504.532L575.552,508.246L574.338,508.856L573.482,510.873L571.653,509.077L571.445,507.036L572.035,505.693L571.873,504.538L570.766,503.81L569.994,504.074L568.38,502.695L566.906,501.951L567.757,499.292L568.639,498.299L568.101,495.938L568.664,493.636L569.142,492.868L568.429,490.466L567.105,489.207L569.854,489.733L570.418,490.514L571.369,491.833z"},{id:"MX",title:"Mexico",d:"M202.887,388.721L201.799,391.432L201.308,393.639L201.104,397.716L200.833,399.191L201.319,400.834L202.188,402.296L202.749,404.612L204.609,406.825L205.264,408.513L206.361,409.965L209.338,410.745L210.497,411.974L212.957,411.153L215.094,410.856L217.194,410.328L218.958,409.823L220.742,408.62L221.41,406.895L221.64,404.398L222.125,403.526L224.024,402.743L226.989,402.049L229.472,402.153L231.172,401.899L231.845,402.534L231.75,403.974L230.243,405.743L229.577,407.548L230.093,408.063L229.673,409.34L228.97,411.635L228.26,410.881L227.673,410.93L227.14,410.968L226.135,412.739L225.626,412.393L225.287,412.527L225.309,412.958L222.716,412.926L220.098,412.931L220.096,414.576L218.83,414.583L219.874,415.557L220.91,416.229L221.222,416.859L221.676,417.035L221.604,418.023L218.005,418.032L216.656,420.391L217.054,420.931L216.729,421.607L216.66,422.446L213.487,419.339L212.041,418.399L209.751,417.643L208.186,417.853L205.934,418.943L204.52,419.229L202.54,418.466L200.439,417.914L197.818,416.582L195.716,416.175L192.542,414.82L190.196,413.424L189.488,412.643L187.919,412.468L185.051,411.54L183.884,410.199L180.871,408.525L179.466,406.659L178.798,405.212L179.733,404.921L179.445,404.072L180.089,403.297L180.103,402.263L179.157,400.917L178.904,399.72L177.964,398.196L175.493,395.18L172.674,392.792L171.31,390.877L168.903,389.617L168.388,388.86L168.815,386.941L167.386,386.213L165.731,384.693L165.032,382.5L163.523,382.243L161.896,380.576L160.582,379.028L160.459,378.031L158.952,375.61L157.958,373.133L158.001,371.883L155.973,370.586L155.037,370.729L153.437,369.826L152.987,371.156L153.451,372.721L153.724,375.153L154.686,376.48L156.767,378.687L157.229,379.437L157.655,379.664L158.025,380.755L158.523,380.711L159.086,382.75L159.938,383.552L160.535,384.664L162.297,386.255L163.227,389.146L164.06,390.5L164.838,391.942L164.993,393.559L166.345,393.66L167.469,395.047L168.486,396.406L168.418,396.949L167.238,398.062L166.741,398.047L166.002,396.204L164.167,394.469L162.145,392.99L160.711,392.211L160.804,389.958L160.378,388.28L159.042,387.317L157.115,385.926L156.745,386.328L156.037,385.514L154.308,384.756L152.655,382.932L152.86,382.694L154.015,382.873L155.055,381.693L155.16,380.264L153.001,377.99L151.355,377.104L150.322,375.095L149.282,372.972L147.983,370.363L146.844,367.4L150.03,367.146L153.591,366.786L153.329,367.434L157.563,369.039L163.959,371.348L169.535,371.325L171.758,371.324L171.764,369.973L176.622,369.974L177.644,371.135L179.078,372.167L180.744,373.596L181.673,375.285L182.371,377.054L183.82,378.021L186.148,378.979L187.914,376.45L190.207,376.388L192.183,377.667L193.59,379.851L194.559,381.709L196.213,383.507L196.831,385.702L197.616,387.168L199.803,388.131L201.793,388.813z"},{id:"MY",title:"Malaysia",d:"M758.654,446.07l0.22,1.438l1.852,-0.334l0.916,-1.15l0.645,0.262l1.656,1.69l1.177,1.873l0.16,1.881l-0.298,1.27l0.272,0.959l0.205,1.651l0.987,0.768l1.103,2.465l-0.054,0.942l-1.988,0.186l-2.652,-2.064l-3.317,-2.212l-0.328,-1.421l-1.621,-1.866l-0.387,-2.313l-1.012,-1.524l0.308,-2.038l-0.618,-1.188l0.487,-0.5L758.654,446.07zM807.841,450.9l-2.064,0.952l-2.43,-0.471l-3.224,-0.001l-0.972,3.175l-1.079,0.97l-1.438,3.876l-2.287,0.594l-2.652,-0.781l-1.345,0.244l-1.634,1.409l-1.79,-0.201l-1.809,0.566l-1.917,-1.574l-0.469,-1.862l2.055,0.955l2.167,-0.521l0.564,-2.36l1.196,-0.526l3.361,-0.604l2.011,-2.207l1.377,-1.766l1.277,1.447l0.589,-0.952l1.34,0.089l0.164,-1.785l0.126,-1.377l2.159,-1.947l1.414,-2.191l1.134,-0.009l1.44,1.419l0.128,1.218l1.847,0.78l2.34,0.842l-0.2,1.095l-1.881,0.139L807.841,450.9z"},{id:"MZ",title:"Mozambique",d:"M572.154,495.69L574.264,495.461L577.633,496.262L578.365,495.902L580.317,495.829L581.316,494.977L582.998,495.023L586.064,493.921L588.295,492.278L588.749,493.548L588.633,496.378L588.979,498.879L589.088,503.355L589.582,504.765L588.745,506.827L587.657,508.837L585.872,510.639L583.309,511.746L580.148,513.163L576.98,516.31L575.901,516.848L573.944,518.944L572.789,519.629L572.552,521.746L573.882,524.005L574.435,525.763L574.47,526.662L574.965,526.512L574.885,529.473L574.43,530.883L575.091,531.404L574.674,532.673L573.502,533.762L571.189,534.798L567.817,536.465L566.587,537.607L566.828,538.914L567.544,539.123L567.304,540.763L565.177,540.737L564.937,539.359L564.521,537.967L564.282,536.856L564.782,533.428L564.052,531.259L562.709,526.998L565.663,523.593L566.402,521.443L566.826,521.172L567.143,519.426L566.692,518.55L566.813,516.347L567.359,514.312L567.353,510.617L565.896,509.683L564.562,509.472L563.957,508.754L562.658,508.142L560.319,508.2L560.138,507.12L559.872,505.065L568.38,502.695L569.994,504.074L570.766,503.81L571.873,504.538L572.035,505.693L571.445,507.036L571.653,509.077L573.482,510.873L574.338,508.856L575.552,508.246L575.313,504.532L574.139,502.454L573.127,501.529L572.154,501.57L571.369,497.854z"},{id:"NA",title:"Namibia",d:"M521.082,546.54L518.998,544.149L517.901,541.854L517.282,538.817L516.591,536.574L515.651,531.851L515.588,528.22L515.229,526.576L514.139,525.337L512.691,522.865L511.218,519.301L510.605,517.446L508.324,514.576L508.154,512.332L509.503,511.777L511.182,511.28L513,511.367L514.671,512.687L515.095,512.481L526.46,512.355L528.403,513.756L535.191,514.17L540.345,512.978L542.641,512.314L544.458,512.482L545.565,513.141L545.586,513.383L544.005,514.043L543.155,514.049L541.365,515.198L540.293,513.99L535.971,515.016L533.883,515.113L533.801,525.683L531.037,525.788L531.038,534.649L531.035,546.173L528.532,547.799L527.026,548.032L525.263,547.43L524.005,547.198L523.532,545.84L522.425,544.973z"},{id:"NC",title:"New Caledonia",d:"M940.075,523.484L942.375,525.34L943.833,526.722L942.768,527.445L941.225,526.631L939.219,525.279L937.411,523.692L935.556,521.59L935.168,520.583L936.374,520.625L937.945,521.636L939.179,522.648z"},{id:"NE",title:"Niger",d:"M481.294,429.884L481.357,427.932L478.125,427.284L478.037,425.899L476.458,424.027L476.082,422.718L476.304,421.322L478.101,421.208L479.138,420.183L482.963,419.935L485.454,419.476L485.693,417.691L487.226,415.75L487.218,409L491.172,407.683L499.29,401.833L508.898,396.081L513.333,397.389L514.91,399.05L516.894,397.927L517.583,402.604L518.632,403.381L518.677,404.33L519.843,405.35L519.233,406.628L518.153,412.608L518.005,416.404L514.429,419.14L513.218,422.94L514.386,424.004L514.379,425.849L516.177,425.915L515.897,427.262L515.105,427.426L515.015,428.335L514.494,428.398L512.597,425.268L511.938,425.153L509.746,426.754L507.575,425.919L506.066,425.752L505.257,426.154L503.613,426.067L501.959,427.286L500.529,427.355L497.136,425.877L495.807,426.58L494.376,426.531L493.325,425.45L490.515,424.38L487.501,424.72L486.771,425.34L486.376,426.986L485.573,428.138L485.378,430.681L483.24,429.042L482.235,429.05z"},{id:"NG",title:"Nigeria",d:"M499.086,450.079L496.176,451.085L495.111,450.938L494.033,451.564L491.791,451.503L490.29,449.755L489.366,447.73L487.381,445.885L485.274,445.92L482.8,445.918L482.961,441.395L482.89,439.604L483.418,437.826L484.282,436.961L485.643,435.211L485.347,434.45L485.899,433.309L485.269,431.625L485.378,430.681L485.573,428.138L486.376,426.986L486.771,425.34L487.501,424.72L490.515,424.38L493.325,425.45L494.376,426.531L495.807,426.58L497.136,425.877L500.529,427.355L501.959,427.286L503.613,426.067L505.257,426.154L506.066,425.752L507.575,425.919L509.746,426.754L511.938,425.153L512.597,425.268L514.494,428.398L515.015,428.335L516.125,429.471L515.82,429.985L515.671,430.931L513.31,433.128L512.568,434.936L512.173,436.406L511.578,437.035L511.012,439.01L509.513,440.17L509.079,441.594L508.449,442.726L508.187,443.893L506.26,444.838L504.686,443.685L503.623,443.731L501.953,445.373L501.142,445.398L499.808,448.1z"},{id:"NI",title:"Nicaragua",d:"M234.928,432.306L233.958,431.411L232.647,430.264L232.03,429.304L230.848,428.408L229.443,427.118L229.755,426.676L230.218,427.106L230.43,426.904L231.302,426.787L231.653,426.133L232.064,426.107L232.004,424.698L232.662,424.631L233.247,424.651L233.852,423.885L234.679,424.465L234.967,424.109L235.483,423.768L236.462,422.977L236.508,422.384L236.777,422.409L237.137,421.721L237.43,421.637L237.908,422.077L238.47,422.208L239.089,421.841L239.797,421.839L240.771,421.463L241.159,421.07L242.121,421.129L241.879,421.406L241.736,422.049L242.022,423.102L241.376,424.081L241.076,425.235L240.985,426.497L241.135,427.234L241.206,428.52L240.778,428.799L240.516,430.018L240.708,430.77L240.135,431.497L240.265,432.264L240.695,432.73L240.023,433.332L239.196,433.143L238.731,432.559L237.842,432.322L237.197,432.692L235.35,431.94z"},{id:"NL",title:"Netherlands",d:"M489.078,287.613L488.907,288.521L489.391,288.679L489.603,289.087L489.688,289.458L490.078,289.597L490.108,289.794L489.76,290.059L489.375,290.083L489.375,290.375L489.642,290.84L489.257,291.292L489.646,291.417L490.438,290.646L490.917,289.938L490.917,289.458L490.75,289.125L490.292,288.896L490.397,288.375L490.292,287.917L490.708,286.917L491.12,286.396L492.284,285.975L494.614,286.108L495.138,287.691L494.439,291.916L493.729,293.627L492.044,293.629L492.515,298.319L490.974,297.283L489.199,295.327L486.601,296.258L484.548,295.906L485.25,294.667L486.167,293.458L487.446,292.209L488.203,290.117L488.448,287.935z"},{id:"NO",title:"Norway",d:"M554.225,175.606l8.77,6.24l-3.611,2.226l3.072,5.115l-4.771,3.188l-2.265,0.724l1.188,-5.592l-3.598,-3.252l-4.354,2.775l-1.375,5.854l-2.673,3.439l-3.011,-1.87l-3.661,0.384l-3.116,-4.153l-1.681,2.088l-1.739,0.323l-0.412,5.083l-5.284,-1.224l-0.742,4.217l-2.692,-0.025l-1.851,5.243l-2.805,7.867l-4.354,9.5l1.021,2.232l-0.976,2.554l-2.781,-0.109l-1.821,5.906l0.172,8.044l1.792,2.978l-0.928,6.727l-2.333,3.812l-1.236,3.145l-1.881,-3.351l-5.536,6.266l-3.738,1.245l-3.877,-2.715l-1.002,-5.864l-0.887,-13.256l2.582,-3.875l7.403,-5.184l5.536,-6.586l5.133,-9.301l6.737,-13.762l4.696,-5.674l7.705,-9.893l6.153,-3.592l4.613,0.44l4.27,-6.995l5.113,0.381L554.225,175.606z"},{id:"NP",title:"Nepal",d:"M722.33,382.447L722.113,383.803L722.482,385.794L722.161,387.029L719.826,387.081L716.453,386.354L714.286,386.058L712.669,384.465L708.826,384.059L705.169,382.292L702.525,380.74L699.809,379.538L700.897,376.547L702.677,375.086L703.839,374.313L706.087,375.306L708.918,377.4L710.493,377.86L711.435,379.393L713.613,380.021L715.889,381.413L719.061,382.138z"},{id:"NZ",title:"New Zealand",d:"M960.377,588.627l0.636,1.531l1.994,-1.503l0.811,1.567l0.003,1.571l-1.043,1.741l-1.833,2.797l-1.435,1.541l1.034,1.856l-2.163,0.048l-2.399,1.465l-0.751,2.568l-1.594,4.027l-2.201,1.802l-1.399,1.159l-2.583,-0.086l-1.815,-1.338l-3.048,-0.284l-0.47,-1.479l1.507,-2.957l3.525,-3.875l1.81,-0.731l2.015,-1.472l2.403,-2.01l1.683,-1.975l1.247,-2.808l1.063,-0.946l0.416,-2.074l1.967,-1.703L960.377,588.627zM964.839,571.614l2.032,3.665l0.059,-2.383l1.266,0.949l0.419,2.651l2.257,1.15l1.895,0.283l1.603,-1.347l1.421,0.407l-0.68,3.151l-0.854,2.093l-2.141,-0.074l-0.749,1.097l0.261,1.561l-0.412,0.678l-1.06,1.974l-1.39,2.532l-2.167,1.487l-0.481,-0.979l-1.169,-0.536l1.617,-3.039l-0.918,-2.012l-3.018,-1.452l0.079,-1.308l2.026,-1.253l0.473,-2.744l-0.13,-2.282l-1.136,-2.344l0.075,-0.613l-1.34,-1.43l-2.206,-3.041l-1.173,-2.409l1.04,-0.266l1.526,1.887l2.182,0.885L964.839,571.614z"},{id:"OM",title:"Oman",d:"M640.291,403.185l-1.047,2.042l-1.271,-0.156l-0.583,0.708l-0.45,1.504l0.345,1.975l-0.265,0.362l-1.29,-0.01l-1.751,1.1l-0.273,1.43l-0.642,0.618l-1.744,-0.023l-1.098,0.737l0.014,1.18l-1.356,0.81l-1.547,-0.275l-1.875,0.982l-1.296,0.165l-0.915,-2.036l-2.192,-4.841l8.411,-2.957l1.869,-5.972l-1.285,-2.135l0.073,-1.219l0.817,-1.256l0.008,-1.245l1.269,-0.601l-0.496,-0.425l0.229,-1.997l1.433,-0.012l1.257,2.095l1.565,1.108l2.057,0.398l1.66,0.555l1.266,1.74l0.756,1.005l1.004,0.382l-0.006,0.673l-1.021,1.792l-0.448,0.841L640.291,403.185zM633.366,388.64l-0.365,0.562l-0.534,-1.057l0.817,-1.059l0.347,0.271L633.366,388.64z"},{id:"PA",title:"Panama",d:"M256.885,443.212L255.95,442.402L255.349,440.884L256.042,440.133L255.332,439.939L254.808,439.009L253.411,438.226L252.185,438.405L251.616,439.385L250.483,440.093L249.872,440.191L249.597,440.777L250.935,442.303L250.169,442.662L249.764,443.078L248.459,443.221L247.974,441.543L247.609,442.021L246.684,441.855L246.119,440.724L244.969,440.537L244.241,440.208L243.038,440.212L242.951,440.823L242.629,440.397L242.777,439.839L243.011,439.268L242.901,438.758L243.321,438.424L242.737,438.005L242.721,436.869L243.806,436.616L244.813,437.629L244.755,438.227L245.874,438.354L246.139,438.124L246.909,438.817L248.289,438.613L249.481,437.901L251.184,437.332L252.141,436.488L253.689,436.654L253.585,436.932L255.148,437.028L256.396,437.516L257.311,438.364L258.366,439.143L258.025,439.555L258.676,441.213L258.147,442.048L257.244,441.847z"},{id:"PE",title:"Peru",d:"M280.132,513.144L279.38,514.645L277.938,515.394L275.127,513.711L274.884,512.512L269.325,509.588L264.297,506.42L262.134,504.643L260.973,502.268L261.433,501.441L259.059,497.691L256.294,492.449L253.645,486.827L252.499,485.545L251.616,483.476L249.438,481.645L247.44,480.51L248.348,479.26L246.989,476.593L247.861,474.636L250.097,472.874L250.429,474.035L249.629,474.7L249.705,475.724L250.864,475.501L251.996,475.803L253.173,477.214L254.758,476.064L255.289,474.181L257.007,471.753L260.378,470.653L263.436,467.735L264.309,465.924L263.917,463.809L264.665,463.544L266.53,464.864L267.425,466.178L268.723,466.896L270.375,469.817L272.462,470.167L274.007,469.43L275.02,469.912L276.703,469.672L278.85,470.978L277.041,473.817L277.878,473.883L279.282,475.367L276.755,475.236L276.379,475.656L274.081,476.194L270.875,478.096L270.671,479.402L269.956,480.376L270.235,481.892L268.541,482.702L268.543,483.887L267.804,484.401L268.971,486.934L270.529,488.648L269.936,489.86L271.797,490.024L272.857,491.532L275.332,491.605L277.632,489.939L277.445,494.239L278.72,494.565L280.302,494.077L282.726,498.657L282.124,499.624L281.985,501.636L281.931,504.079L280.835,505.519L281.337,506.589L280.694,507.561L281.9,509.998z"},{id:"PG",title:"Papua New Guinea",d:"M912.317,482.425l-0.785,0.281l-1.214,-1.077l-1.228,-1.779l-0.604,-2.131l0.389,-0.271l0.301,0.832l0.85,0.635l1.359,1.775l1.324,0.951L912.317,482.425zM901.391,478.666l-1.469,0.23l-0.442,0.785l-1.533,0.681l-1.439,0.655l-1.489,-0.003l-2.299,-0.813l-1.602,-0.781l0.232,-0.866l2.514,0.409l1.534,-0.219l0.423,-1.341l0.402,-0.069l0.272,1.485l1.6,-0.214l0.791,-0.957l1.565,-0.997l-0.309,-1.646l1.68,-0.053l0.566,0.458l-0.057,1.55L901.391,478.666zM887.957,484.02l2.504,1.844l1.82,2.987l1.606,-0.094l-0.113,1.25l2.165,0.48l-0.841,0.533l2.979,1.19l-0.311,0.819l-1.857,0.198l-0.689,-0.734l-2.409,-0.318l-2.832,-0.426l-2.181,-1.804l-1.591,-1.552l-1.457,-2.465l-3.657,-1.229l-2.375,0.802l-1.712,0.929l0.357,2.078l-2.202,0.97l-1.57,-0.472l-2.9,-0.118l-0.048,-9.157l-0.047,-9.103l4.865,1.921l5.184,1.597l1.932,1.43l1.562,1.405l0.426,1.647l4.672,1.73l0.682,1.486l-2.58,0.302L887.957,484.02zM904.635,475.931l-0.877,0.745l-0.528,-1.649l-0.652,-1.079l-1.27,-0.915l-1.596,-1.19l-2.024,-0.82l0.779,-0.673l1.514,0.781l0.953,0.613l1.178,0.669l1.122,1.172l1.065,0.894L904.635,475.931z"},{id:"PH",title:"Philippines",d:"M829.595,439.864l0.285,1.869l0.165,1.576l-0.955,2.566l-1.024,-2.859l-1.311,1.424l0.896,2.065l-0.804,1.312l-3.3,-1.625l-0.788,-2.029l0.855,-1.334l-1.776,-1.329l-0.881,1.165l-1.319,-0.108l-2.075,1.566l-0.464,-0.822l1.101,-2.368l1.766,-0.792l1.529,-1.062l0.991,1.275l2.132,-0.771l0.457,-1.257l1.982,-0.075l-0.167,-2.184l2.273,1.34l0.235,1.42L829.595,439.864zM822.882,434.601l-1.008,0.93l-0.878,1.785l-0.881,0.835l-1.727,-1.952l0.577,-0.757l0.704,-0.792l0.31,-1.759l1.546,-0.167l-0.451,1.908l2.075,-2.737L822.882,434.601zM807.522,437.322l-3.73,2.675l1.375,-1.971l2.025,-1.743l1.684,-1.957l1.47,-2.818l0.499,2.314l-1.851,1.559L807.522,437.322zM816.996,430.022l1.684,0.881l1.784,-0.004l-0.055,1.187l-1.298,1.205l-1.781,0.851l-0.099,-1.317l0.199,-1.448L816.996,430.022zM827.144,429.25l0.788,3.175l-2.164,-0.753l0.059,0.953l0.687,1.749l-1.334,0.634l-0.116,-1.992l-0.845,-0.147l-0.438,-1.719l1.649,0.227l-0.036,-1.077l-1.714,-2.176l2.692,0.063L827.144,429.25zM815.998,426.661l-0.744,2.467l-1.2,-1.423l-1.432,-2.179l2.402,0.105L815.998,426.661zM815.42,410.918l1.729,0.838l0.864,-0.764l0.255,0.746l-0.456,1.215l0.957,2.094l-0.738,2.417l-1.653,0.961l-0.441,2.332l0.627,2.294l1.486,0.317l1.24,-0.34l3.502,1.592l-0.267,1.56l0.915,0.687l-0.292,1.316l-2.185,-1.402l-1.036,-1.504l-0.722,1.051l-1.785,-1.715l-2.547,0.424l-1.396,-0.634l0.143,-1.187l0.876,-0.732l-0.837,-0.666l-0.362,1.038l-1.384,-1.655l-0.42,-1.257l-0.104,-2.774l1.129,0.955l0.29,-4.555l0.914,-2.656L815.42,410.918z"},{id:"PL",title:"Poland",d:"M517.358,296.974L516.209,294.11L516.428,292.547L515.734,290.098L514.716,288.449L515.498,287.205L514.842,284.812L516.758,283.417L521.134,281.201L524.665,279.563L527.463,280.383L527.674,281.56L530.378,281.62L533.832,282.166L538.988,282.094L540.426,282.606L541.099,284.075L541.221,286.165L541.999,287.944L541.982,289.792L540.301,290.732L541.166,292.849L541.219,294.862L542.629,298.753L542.329,299.988L540.938,300.499L538.392,304.108L539.115,306.033L538.502,305.785L535.838,304.137L533.82,304.745L532.496,304.304L530.839,305.223L529.425,303.7L528.272,304.285L528.114,304.025L526.824,301.895L524.739,301.631L524.474,300.264L522.55,299.773L522.132,300.904L520.609,299.999L520.784,298.788L518.688,298.403z"},{id:"PK",title:"Pakistan",d:"M685.985,351.758L688.057,353.385L688.887,356.046L693.498,357.437L690.79,360.303L687.665,360.807L683.411,359.979L682.037,361.44L683.03,364.386L684.004,366.64L686.268,368.274L683.876,370.177L683.92,372.505L681.197,375.754L679.44,379.005L676.507,382.331L673.251,382.091L670.161,385.386L671.996,386.788L672.315,389.179L673.891,390.745L674.447,393.382L668.277,393.374L666.41,395.411L664.355,394.64L663.519,392.441L661.353,390.097L656.187,390.677L651.631,390.734L647.683,391.167L648.739,387.572L652.783,385.963L652.552,384.521L651.21,384.013L651.133,381.236L648.452,379.84L647.323,377.914L645.936,376.228L650.634,377.865L653.438,377.386L655.114,377.794L655.682,377.092L657.635,377.374L661.278,376.039L661.377,373.289L662.939,371.446L665.027,371.451L665.334,370.537L667.477,370.109L668.514,370.415L669.609,369.491L669.455,367.511L670.646,365.507L672.43,364.663L671.328,362.444L673.995,362.549L674.766,361.335L674.649,360.033L676.046,358.603L675.725,356.899L675.063,355.439L676.699,353.931L679.71,353.2L682.928,352.795L684.353,352.15z"},{id:"PR",title:"Puerto Rico",d:"M289.407,410.886L290.84,411.145L291.346,411.729L290.627,412.468L288.517,412.45L286.878,412.554L286.715,411.298L287.112,410.869z"},{id:"PS",title:"Palestinian Territories",d:"M574.918,367.868L574.917,369.882L574.502,370.844L573.184,371.287L573.305,370.426L574.021,369.975L573.317,369.606L573.903,367.41z"},{id:"PT",title:"Portugal",d:"M449.921,334.562L450.938,333.607L452.083,333.057L452.785,334.898L454.441,334.894L454.921,334.42L456.555,334.552L457.339,336.426L456.043,337.432L456.007,340.307L455.552,340.843L455.439,342.564L454.228,342.863L455.351,345.028L454.577,347.378L455.544,348.435L455.159,349.398L454.12,350.72L454.354,351.881L453.227,352.788L451.749,352.297L450.302,352.682L450.73,349.937L450.467,347.759L449.212,347.431L448.542,346.078L448.765,343.723L449.883,342.408L450.082,340.935L450.667,338.728L450.604,337.16L450.044,335.824z"},{id:"PY",title:"Paraguay",d:"M299.493,526.99L300.598,523.399L300.668,521.795L302.013,519.184L306.899,518.324L309.503,518.365L312.115,519.879L312.163,520.793L312.992,522.447L312.806,526.512L315.766,527.09L316.91,526.5L318.804,527.315L319.329,528.217L319.59,530.995L319.917,532.167L320.963,532.303L322.015,531.81L323.023,532.363L323.022,534.045L322.642,535.862L322.092,537.645L321.633,540.387L319.09,542.785L316.873,543.29L313.724,542.811L310.896,541.957L313.657,537.225L313.254,535.863L310.366,534.661L306.94,532.399L304.648,531.935z"},{id:"QA",title:"Qatar",d:"M617.717,392.161L617.531,389.92L618.287,388.296L619.053,387.962L619.901,388.934L619.95,390.743L619.342,392.552L618.564,392.77z"},{id:"RO",title:"Romania",d:"M538.93,310.861L540.141,309.966L541.875,310.43L543.673,310.445L544.975,311.463L545.932,310.824L548.001,310.423L548.707,309.444L549.89,309.445L550.744,309.854L551.613,311.092L552.502,312.84L554.12,315.282L554.209,317.067L553.914,318.791L554.416,320.617L555.667,321.35L556.984,320.71L558.256,321.393L558.321,322.415L556.962,323.264L556.11,322.895L555.326,327.606L553.677,327.2L551.637,325.788L548.336,326.692L546.945,327.68L542.828,327.476L540.673,326.872L539.587,327.156L538.78,325.558L538.267,324.877L538.917,324.216L538.225,323.728L537.345,324.606L535.71,323.466L535.49,321.838L533.781,320.903L533.467,319.633L531.947,318.054L534.195,317.292L535.891,314.531L537.217,311.733z"},{id:"RS",title:"Serbia",d:"M533.781,320.903L535.49,321.838L535.71,323.466L537.345,324.606L538.225,323.728L538.917,324.216L538.267,324.877L538.78,325.558L538.088,326.441L538.34,327.856L539.702,329.517L538.633,330.712L538.162,331.922L538.466,332.373L538.005,332.907L536.705,332.97L535.75,333.19L535.657,332.907L535.993,332.457L536.307,331.533L535.909,331.554L535.364,330.849L534.903,330.669L534.536,330.062L534.012,329.824L533.614,329.283L533.111,329.495L532.723,330.765L532.052,331.039L532.283,330.712L531.214,329.919L530.292,329.506L529.883,328.975L529.139,328.314L529.799,328.144L530.208,326.323L528.856,324.823L529.558,323.096L528.542,323.106L529.621,321.618L528.73,320.484L528.049,318.934L530.197,317.875L531.947,318.054L533.467,319.633z"},{id:"RU",title:"Russia",d:"M1008.267,215.754l-2.78,2.973l-4.596,0.698l-0.069,6.463l-1.123,1.347l-2.625,-0.193l-2.138,-2.264l-3.728,-1.917l-0.627,-2.89l-2.848,-1.102l-3.188,0.875l-1.523,-2.369l0.609,-2.552l-3.358,1.635l1.265,3.194l-1.591,2.833l-0.021,0.036l-3.604,2.885l-3.634,-0.478l2.529,3.442l1.669,5.201l1.295,1.668l0.325,2.532l-0.724,1.602l-5.226,-1.317l-7.837,4.511l-2.493,0.688l-4.29,4.096l-4.07,3.505l-1.03,2.553l-4.011,-3.9l-7.306,4.419l-1.275,-2.078l-2.701,2.394l-3.75,-0.763l-0.903,3.631l-3.364,5.218l0.101,2.137l3.193,1.174l-0.376,7.458l-2.603,0.186l-1.201,4.154l1.167,2.104l-4.903,2.467l-0.973,5.405l-4.181,1.135l-0.84,4.663l-4.042,4.183l-1.036,-3.085l-1.201,-6.693l-1.564,-10.647l1.348,-6.954l2.365,-3.071l0.146,-2.441l4.357,-1.18l5.009,-6.781l4.826,-5.727l5.04,-4.57l2.254,-8.366l-3.406,0.511l-1.685,4.922l-7.111,6.361l-2.297,-7.138l-7.238,1.999l-7.018,9.56l2.315,3.377l-6.258,1.419l-4.335,0.557l0.203,-3.946l-4.358,-0.839l-3.474,2.702l-8.573,-0.941l-9.223,1.62l-9.083,10.33l-10.745,11.777l4.417,0.61l1.379,3.001l2.724,1.055l1.794,-2.378l3.076,0.311l4.048,5.191l0.095,3.924l-2.191,4.512l-0.237,5.266l-1.265,6.848l-4.226,6.013l-0.939,2.817l-3.806,4.662l-3.777,4.528l-1.811,2.283l-3.736,2.245l-1.769,0.049l-1.761,-1.858l-3.764,2.792l-0.438,1.258l-0.393,-0.661l-0.017,-1.929l1.432,-0.103l0.404,-4.553l-0.739,-3.358l2.407,-1.399l3.402,0.703l1.886,-3.888l0.961,-4.462l1.089,-1.511l1.474,-3.761l-4.634,1.239l-2.431,1.647l-4.261,-0.005l-1.135,-3.945l-3.321,-3.035l-4.88,-1.379l-1.037,-4.284l-0.977,-2.731l-1.051,-1.937l-1.733,-4.611l-2.462,-1.711l-4.196,-1.394l-3.718,0.127l-3.484,0.845l-2.315,2.313l1.538,1.095l0.035,2.522l-1.56,1.45l-2.531,4.725l0.026,1.929l-3.952,2.739l-3.365,-1.632l-3.346,0.361l-1.468,-1.457l-1.682,-0.472l-4.106,3.059l-3.691,0.712l-2.577,1.062l-3.532,-0.697l-2.6,0.045l-1.702,-2.203l-2.746,-2.092l-2.81,-0.577l-3.547,0.573l-2.65,0.809l-3.983,-1.841l-0.534,-3.322l-3.297,-1.151l-2.545,-0.527l-3.141,-1.871l-2.904,4.659l1.139,2.6l-2.726,3.034l-4.054,-1.09l-2.799,-0.156l-1.874,-2.042l-2.925,-0.065l-2.438,-1.354l-4.265,2.071l-5.35,3.739l-2.956,0.744l-1.098,0.352l-1.487,-2.634l-3.612,0.579l-1.193,-1.843l-1.96,-0.848l-1.35,-2.545l-1.548,-0.799l-4.029,1.14l-3.862,-2.565l-1.494,2.333l-6.266,-11.576l-3.577,-3.659l1.025,-1.504l-7.026,4.494l-2.689,0.268l0.232,-2.583l-3.602,-1.631l-2.927,1.166l-0.883,-5.012l-5.039,-1.059l-2.521,2.033l-7.016,1.791l-1.369,1.189l-10.492,1.663l-1.285,1.618l2.024,3.208l-2.692,1.204l0.525,1.254l-2.691,2.223l4.544,3.098l-0.702,2.106l-3.938,-0.191l-0.814,1.31l-3.586,-2.293l-4.445,0.089l-2.976,1.868l-3.319,-1.791l-6.181,-3.102l-4.38,0.117l-5.788,4.849l-0.349,3.193l-2.883,-2.532l-2.237,4.77l0.819,0.874l-1.618,3.215l2.38,2.837l2.081,-0.116l1.787,2.76l-0.284,2.102l1.424,0.656l-1.278,2.391l-2.718,0.66l-2.787,4.088l2.548,3.695l-0.276,2.586l3.062,4.456l-1.674,1.506l-0.481,0.945l-1.241,-0.253l-1.927,-2.266l-0.788,-0.126l-1.763,-0.871l-0.858,-1.55l-2.615,-0.794l-1.7,0.597l-0.491,-0.706l-3.818,-1.831l-4.128,-0.622l-2.37,-0.658l-0.342,0.455l-3.575,-3.274l-3.199,-1.477l-2.422,-2.319l2.041,-0.636l2.327,-3.354l-1.568,-1.605l4.132,-1.667l-0.074,-0.899l-2.517,0.663l0.088,-1.832l1.445,-1.159l2.713,-0.306l0.441,-1.395l-0.62,-2.327l1.139,-2.233l-0.033,-1.263l-4.133,-1.409l-1.639,0.047l-1.73,-2.043l-2.151,0.693l-3.561,-1.542l0.061,-0.868l-0.997,-1.926l-2.236,-0.216l-0.232,-1.392l0.7,-0.913l-1.792,-2.575l-2.907,0.442l-0.852,-0.229l-0.708,1.037l-1.047,-0.184l-0.689,-2.937l-0.658,-1.54l0.54,-0.435l2.262,0.162l1.091,-1.022l-0.808,-1.253l-1.891,-0.832l0.169,-0.857l-1.141,-0.87l-1.758,-3.153l0.601,-1.314l-0.274,-2.308l-2.741,-1.183l-1.471,0.593l-0.398,-1.236l-2.952,-1.256l-0.901,-2.989l-0.239,-2.492l-1.351,-1.194l1.201,-1.659l-0.832,-4.962l1.995,-3.133l-0.422,-0.959l3.187,-3.071l-2.938,-2.684l6.003,-7.405l2.604,-3.453l1.055,-3.104l-4.15,-4.256l1.146,-4.145l-2.524,-4.854l1.888,-5.764l-3.261,-7.957l2.587,-5.478l-4.294,-4.99l0.409,-5.404l2.265,-0.724l4.771,-3.188l2.893,-2.813l4.606,4.86l7.678,1.876l10.594,8.646l2.152,3.508l0.185,4.796l-3.113,3.695l-4.578,1.846l-12.517,-5.313l-2.059,0.9l4.571,5.097l0.179,3.154l0.183,6.753l3.61,1.966l2.191,1.657l0.362,-3.107l-1.689,-2.801l1.785,-2.505l6.778,4.099l2.361,-1.593l-1.887,-4.877l6.535,-6.742l2.588,0.404l2.618,2.43l1.633,-4.811l-2.338,-4.283l1.373,-4.406l-2.061,-4.692l7.843,2.442l1.602,4.183l-3.55,0.908l0.019,4.038l2.207,2.438l4.332,-1.541l0.686,-4.611l5.857,-3.525l9.785,-6.543l2.114,0.382l-2.764,4.64l3.478,0.785l2.009,-2.584l5.255,-0.211l4.164,-3.193l3.195,4.621l3.186,-5.087l-2.938,-4.577l1.458,-2.663l8.282,2.443l3.881,2.488l10.161,8.799l1.875,-3.975l-2.85,-4.111l-0.082,-1.677l-3.379,-0.782l0.925,-3.827l-1.5,-6.491l-0.085,-2.737l5.175,-7.99l1.84,-8.419l2.085,-1.878l7.423,2.514l0.585,5.183l-2.658,7.283l1.744,2.779l0.902,5.938l-0.637,11.073l3.093,4.73l-1.203,5.008l-5.492,10.198l3.205,1.024l1.115,-2.514l3.085,-1.815l0.744,-3.553l2.427,-3.489l-1.634,-4.26l1.309,-5.083l-3.066,-0.644l-0.674,-4.418l2.237,-8.278l-3.642,-7.033l5.018,-6.042l-0.648,-6.619l1.398,-0.216l1.473,5.189l-1.105,8.667l3,1.592l-1.278,-6.373l4.692,-3.579l5.819,-0.488l5.181,5.18l-2.493,-7.622l-0.279,-10.282l4.876,-2.021l6.744,0.444l6.075,-1.321l-2.278,-5.381l3.245,-7.016l3.221,-0.3l5.452,-5.513l7.403,-1.514l0.936,-3.153l7.362,-1.082l2.294,2.606l6.293,-6.237l5.151,0.199l0.772,-5.238l2.68,-5.334l6.619,-5.312l4.809,4.208l-3.818,3.131l6.352,1.917l0.757,6.034l2.562,-2.943l8.197,0.163l6.32,5.843l2.251,4.351l-0.698,5.854l-3.102,3.242l-7.368,5.917l-2.106,3.079l3.477,1.433l4.148,2.552l2.523,-1.91l1.431,6.393l1.231,-2.559l4.483,-1.575l8.996,1.646l0.684,4.576l11.722,1.43l0.16,-7.473l5.95,1.742l4.477,-0.054l4.527,5.138l1.291,6.038l-1.659,3.836l3.521,6.982l4.41,3.493l2.705,-9.178l4.498,3.996l4.778,-2.376l5.427,2.716l2.065,-2.475l4.587,1.242l-2.024,-8.398l3.702,-4.067l25.323,6.061l2.387,5.355l7.34,6.653l11.322,-1.623l5.582,1.414l2.334,3.498l-0.341,6.016l3.454,2.286l3.753,-1.641l4.973,-0.211l5.293,1.575l5.314,-0.887l4.884,6.994l3.475,-2.483l-2.268,-5.074l1.249,-3.618l8.945,2.286l5.832,-0.486l8.064,3.843l3.925,3.44l6.869,5.858l7.352,7.341l-0.241,4.437l1.891,1.745l-0.65,-5.146l7.611,1.068L1008.267,215.754zM880.842,306.251l-2.821,-7.684l-1.157,-4.509l0.072,-4.496l-0.971,-4.503l-0.729,-3.15l-1.248,0.673l1.113,2.205l-2.592,2.166l-0.248,6.296l1.643,4.411l-0.123,5.852l-0.649,3.237l0.32,4.537l-0.313,4.015l0.52,3.4l1.838,-3.134l2.125,2.445l0.078,-2.836l-2.732,-4.229l1.725,-6.107L880.842,306.251zM537.823,278.766l-2.936,-0.856l-3.869,1.583l-0.639,2.127l3.453,0.545l5.156,-0.072l-0.225,-1.228l0.299,-1.327L537.823,278.766zM979.946,178.648l3.662,-0.52l2.889,-2.065l0.24,-1.188l-4.056,-2.515l-2.376,-0.019l-0.359,0.371l-3.574,3.645l0.5,2.726L979.946,178.648zM870.068,151.559l-2.66,3.915l0.491,0.518l5.746,1.084l4.251,-0.068l-0.339,-2.569l-3.983,-3.81L870.068,151.559zM894.642,142.031l3.241,-4.248l-7.036,-2.875l-5.227,-1.681l-0.671,3.585l5.211,4.267L894.642,142.031zM869.514,140.337l10.335,0.296l2.205,-8.145l-10.135,-6.071l-7.404,-0.512l-3.699,2.18l-1.507,7.752l5.555,7.013L869.514,140.337zM622.395,166.284l-2.867,1.958l0.41,4.832l5.075,2.348l0.744,3.818l9.161,1.102l1.656,-0.743l-5.363,-7.106l-0.57,-7.516l4.395,-9.143l4.179,-9.819l8.71,-10.168l8.563,-5.338l9.935,-5.74l1.884,-3.706l-1.949,-4.827l-5.457,1.604l-4.802,4.492l-9.332,2.222l-9.257,7.409l-6.271,5.849l0.759,4.87l-6.713,9.029l2.578,1.22l-5.562,8.271L622.395,166.284zM769.869,98.338l0.833,-5.72l-7.107,-8.343l-2.106,-0.985l-2.304,1.696l-5.122,18.604L769.869,98.338zM605.64,69.025l3.037,3.876l3.277,-2.693l0.391,-2.719l2.521,-1.272l3.764,-2.235l1.085,-2.624l-4.159,-3.847l-2.643,2.903l-1.61,4.125l-0.573,-4.649l-4.26,0.211l-5.474,3.152l6.24,0.521L605.64,69.025zM736.889,82.071l4.653,5.73l7.81,4.202l6.118,-1.803l0.691,-13.623l-6.456,-16.04l-5.448,-9.023l-6.065,4.109l-7.28,11.834l3.825,3.27L736.889,82.071z"},{id:"RW",title:"Rwanda",d:"M560.543,466.545L561.657,468.118L561.495,469.757L560.686,470.11L559.196,469.928L558.337,471.515L556.635,471.296L556.894,469.771L557.279,469.556L557.383,467.898L558.189,467.121L558.868,467.405z"},{id:"SA",title:"Saudi Arabia",d:"M595.2,417.216L594.836,415.976L593.99,415.098L593.774,413.934L592.326,412.886L590.832,410.425L590.041,408.022L588.102,405.983L586.851,405.495L584.994,402.653L584.67,400.569L584.789,398.783L583.181,395.421L581.866,394.231L580.352,393.599L579.43,391.842L579.583,391.147L578.804,389.547L577.985,388.856L576.89,386.544L575.183,384.021L573.753,381.857L572.357,381.872L572.793,380.133L572.917,379.019L573.265,377.744L576.385,378.252L577.597,377.268L578.268,376.111L580.407,375.666L580.869,374.585L581.796,374.036L579.001,370.78L584.617,369.134L585.151,368.637L588.528,369.529L592.706,371.821L600.612,378.312L605.825,378.567L608.323,378.875L609.021,380.391L611.004,380.309L612.102,383.036L613.481,383.755L613.962,384.857L615.873,386.171L616.043,387.457L615.764,388.491L616.118,389.532L616.924,390.397L617.298,391.408L617.717,392.161L618.564,392.77L619.342,392.552L619.874,393.722L619.981,394.428L621.056,397.508L629.484,399.032L630.049,398.394L631.334,400.529L629.465,406.501L621.054,409.458L612.969,410.587L610.352,411.908L608.343,414.979L607.034,415.465L606.333,414.493L605.258,414.639L602.548,414.347L602.034,414.055L598.798,414.122L598.038,414.386L596.886,413.626L596.144,415.061L596.431,416.289z"},{id:"SB",title:"Solomon Islands",d:"M929.811,492.747l0.784,0.974l-1.959,-0.018l-1.065,-1.743l1.675,0.685L929.811,492.747zM926.259,491.021l-1.093,0.063l-1.719,-0.286l-0.587,-0.436l0.176,-1.121l1.851,0.444l0.913,0.593L926.259,491.021zM928.58,490.25l-0.423,0.521l-2.078,-2.447l-0.583,-1.683h0.953l1.009,2.254L928.58,490.25zM923.519,486.689l0.119,0.566l-2.197,-1.194l-1.535,-1.01l-1.052,-0.936l0.418,-0.286l1.289,0.674l2.3,1.293L923.519,486.689zM916.968,483.907l-0.559,0.16l-1.226,-0.64l-1.152,-1.153l0.145,-0.467l1.675,1.185L916.968,483.907z"},{id:"SD",title:"Sudan",d:"M570.481,436.904L570.093,436.848L570.141,435.441L569.804,434.469L568.36,433.351L568.023,431.304L568.36,429.203L567.061,429.007L566.868,429.643L565.184,429.79L565.857,430.621L566.098,432.328L564.558,433.886L563.162,435.927L561.718,436.218L559.359,434.566L558.3,435.15L558.011,435.975L556.567,436.509L556.471,437.091L553.679,437.091L553.294,436.509L551.272,436.412L550.262,436.896L549.491,436.654L548.047,435.004L547.566,434.227L545.544,434.615L544.774,435.927L544.052,438.447L543.089,438.979L542.229,439.286L542.001,439.155L541.028,438.343L540.849,437.466L541.304,436.291L541.296,435.138L539.679,433.367L539.361,432.152L539.395,431.464L538.364,430.626L538.333,428.972L537.745,427.872L536.761,428.037L537.043,426.987L537.77,425.795L537.452,424.608L538.374,423.728L537.789,423.056L538.53,421.277L539.811,419.15L542.229,419.353L542.09,407.744L542.125,406.501L545.349,406.492L545.349,400.529L556.621,400.529L567.5,400.529L578.621,400.529L579.524,403.469L578.91,404.011L579.317,407.07L580.346,410.594L581.415,411.318L582.949,412.402L581.53,414.072L579.465,414.552L578.582,415.446L578.306,417.379L577.098,421.629L577.396,422.782L576.949,425.248L575.809,428.065L574.118,429.478L572.916,431.651L572.634,432.812L571.306,433.606L570.477,436.567z"},{id:"SE",title:"Sweden",d:"M537.451,217.489L534.732,222.179L535.17,226.195L530.71,231.334L525.295,236.672L523.254,245.084L525.25,249.151L527.931,252.291L525.355,258.517L522.439,259.782L521.37,268.62L519.777,273.378L516.376,272.893L514.789,276.842L511.543,277.068L510.652,272.358L508.305,266.547L506.172,259.046L507.408,255.901L509.741,252.089L510.669,245.362L508.877,242.384L508.705,234.34L510.525,228.434L513.307,228.543L514.282,225.989L513.261,223.757L517.615,214.257L520.419,206.39L522.271,201.147L524.963,201.172L525.705,196.955L530.989,198.179L531.401,193.097L533.14,192.774L536.877,196.576L541.254,201.729L541.328,212.849L542.274,215.549z"},{id:"SI",title:"Slovenia",d:"M513.964,316.509L516.28,316.823L517.695,315.901L520.147,315.8L520.682,315.111L521.153,315.156L521.698,316.531L519.466,317.607L519.193,319.234L518.219,319.644L518.229,320.76L517.129,320.683L516.175,320.031L515.662,320.705L513.708,320.569L514.332,320.207L513.661,318.5z"},{id:"SJ",title:"Svalbard and Jan Mayen",d:"M544.576,104.488l-6.263,5.359l-4.947,-3.021l1.935,-3.424l-1.694,-4.343l5.811,-2.782l1.113,5.175L544.576,104.488zM526.428,77.812l9.23,11.292l-7.056,5.66l-1.558,10.086l-2.46,2.49l-1.335,10.505l-3.379,0.478l-6.03,-7.644l2.543,-4.623l-4.203,-3.862l-5.463,-11.823l-2.181,-11.786l7.644,-5.686l1.536,5.561l3.993,-0.217l1.065,-5.435l4.117,-0.563L526.428,77.812zM546.604,66.354l5.495,5.799l-4.158,8.517l-8.132,1.806l-8.269,-2.562l-0.499,-4.322l-4.023,-0.279l-3.068,-7.478l8.658,-4.723l4.071,4.075l2.835,-5.091L546.604,66.354z"},{id:"SK",title:"Slovakia",d:"M528.114,304.025L528.272,304.285L529.425,303.7L530.839,305.223L532.496,304.304L533.82,304.745L535.838,304.137L538.502,305.785L537.725,306.893L537.178,308.598L536.58,309.028L533.577,307.747L532.658,308.005L532,308.997L530.684,309.521L530.38,309.252L529.015,309.903L527.901,310.027L527.675,310.866L525.322,311.376L524.288,310.922L522.861,309.853L522.582,308.396L522.807,307.861L523.205,306.929L524.447,307L525.404,306.561L525.48,306.165L526.017,305.963L526.2,304.99L526.844,304.804L527.278,304.03z"},{id:"SL",title:"Sierra Leone",d:"M443.18,444.441L442.425,444.233L440.406,443.102L438.946,441.597L438.455,440.569L438.112,438.488L439.61,437.247L439.934,436.464L440.413,435.854L441.185,435.79L441.839,435.257L444.081,435.26L444.861,436.271L445.469,437.458L445.378,438.279L445.829,439.016L445.797,440.049L446.569,439.888L445.264,441.201L443.999,442.727L443.851,443.543z"},{id:"SN",title:"Senegal",d:"M428.39,425.157L427.234,422.921L425.835,421.896L427.068,421.349L428.427,419.321L429.093,417.834L430.053,416.903L431.446,417.154L432.814,416.521L434.38,416.488L435.72,417.343L437.581,418.111L439.278,420.24L441.128,422.221L441.256,424.01L441.81,425.652L442.859,426.456L443.099,427.562L442.97,428.451L442.565,428.612L441.036,428.386L440.826,428.704L440.208,428.768L438.192,428.072L436.839,428.042L431.657,427.923L430.906,428.244L429.977,428.152L428.492,428.617L428.032,426.427L430.584,426.488L431.258,426.087L431.76,426.063L432.799,425.402L434.002,426.007L435.22,426.058L436.434,425.415L435.867,424.586L434.943,425.069L434.073,425.056L432.966,424.35L432.077,424.396L431.444,425.075z"},{id:"SO",title:"Somalia",d:"M618.625,430.431L618.562,429.644L617.498,429.651L616.171,430.626L614.685,430.912L613.393,431.334L612.497,431.391L610.9,431.49L609.898,432.009L608.508,432.196L606.04,433.077L602.988,433.413L600.345,434.138L598.953,434.129L597.688,432.942L597.138,431.769L596.226,431.245L595.193,432.764L594.582,433.769L595.617,435.328L596.651,436.689L597.722,437.696L606.889,441.04L609.248,441.022L601.324,449.438L597.672,449.561L595.173,451.53L593.375,451.582L592.608,452.462L590.158,455.627L590.191,465.775L591.852,468.074L592.485,467.414L593.131,465.945L596.2,462.571L598.813,460.453L603.008,457.687L605.813,455.43L609.111,451.623L611.505,448.494L613.911,444.388L615.645,440.801L616.994,437.654L617.784,434.599L618.377,433.575L618.366,432.084z"},{id:"SR",title:"Suriname",d:"M315.02,446.719L318.379,447.28L318.681,446.775L320.948,446.573L323.962,447.325L322.503,449.73L322.725,451.642L323.826,453.296L323.335,454.497L323.089,455.772L322.374,456.945L320.768,456.354L319.443,456.639L318.312,456.391L318.032,457.198L318.502,457.752L318.25,458.322L316.725,458.094L315.013,455.67L314.645,454.096L313.747,454.093L312.504,452.066L313.021,450.625L312.87,449.966L314.572,449.236z"},{id:"SS",title:"South Sudan",d:"M570.481,436.904L570.514,439.104L570.095,439.964L568.606,440.033L567.651,441.635L569.374,441.837L570.794,443.206L571.286,444.328L572.566,444.979L574.224,448.026L572.323,449.869L570.598,451.538L568.874,452.822L566.901,452.815L564.644,453.469L562.861,452.845L561.707,453.605L559.238,451.75L558.572,450.558L557.011,451.148L555.714,450.965L554.964,451.434L553.705,451.095L552.006,448.788L551.555,447.901L549.459,446.793L548.751,445.112L547.583,443.898L545.697,442.436L545.671,441.522L544.136,440.386L542.229,439.286L543.089,438.979L544.052,438.447L544.774,435.927L545.544,434.615L547.566,434.227L548.047,435.004L549.491,436.654L550.262,436.896L551.272,436.412L553.294,436.509L553.679,437.091L556.471,437.091L556.567,436.509L558.011,435.975L558.3,435.15L559.359,434.566L561.718,436.218L563.162,435.927L564.558,433.886L566.098,432.328L565.857,430.621L565.184,429.79L566.868,429.643L567.061,429.007L568.36,429.203L568.023,431.304L568.36,433.351L569.804,434.469L570.141,435.441L570.093,436.848z"},{id:"SV",title:"El Salvador",d:"M229.094,425.76L228.783,426.434L227.159,426.391L226.149,426.117L224.99,425.548L223.432,425.37L222.638,424.754L222.725,424.334L223.686,423.609L224.212,423.292L224.063,422.953L224.719,422.776L225.546,423.018L226.15,423.591L226.997,424.052L227.101,424.438L228.331,424.097L228.908,424.301L229.289,424.612z"},{id:"SY",title:"Syria",d:"M584.021,364.596L578.53,368.136L575.406,366.825L575.353,366.802L575.733,366.297L575.69,364.934L576.378,363.101L577.907,361.832L577.448,360.505L576.187,360.332L575.925,357.724L576.611,356.312L577.362,355.556L578.113,354.799L578.265,352.86L579.183,353.538L582.27,352.568L583.762,353.225L586.068,353.214L589.295,351.904L590.806,351.963L593.995,351.418L592.558,353.598L591.023,354.455L591.288,356.976L590.228,361.097z"},{id:"SZ",title:"Swaziland",d:"M565.177,540.737L564.606,542.126L562.965,542.465L561.292,540.768L561.266,539.69L562.031,538.523L562.296,537.621L563.106,537.4L564.521,537.967L564.937,539.359z"},{id:"TD",title:"Chad",d:"M515.897,427.262L516.177,425.915L514.379,425.849L514.386,424.004L513.218,422.94L514.429,419.14L518.005,416.404L518.153,412.608L519.233,406.628L519.843,405.35L518.677,404.33L518.631,403.381L517.583,402.604L516.894,397.927L519.725,396.269L530.907,402.045L542.09,407.744L542.229,419.353L539.811,419.15L538.53,421.277L537.789,423.056L538.374,423.728L537.452,424.608L537.77,425.795L537.043,426.987L536.761,428.037L537.745,427.872L538.333,428.972L538.364,430.626L539.395,431.464L539.361,432.152L537.586,432.637L536.163,433.785L534.136,436.871L531.498,438.179L528.79,438.003L527.999,438.263L528.277,439.255L526.814,440.239L525.624,441.337L522.094,442.413L521.394,441.776L520.929,441.722L520.413,442.444L518.094,442.656L518.534,441.895L517.649,439.955L517.255,438.789L516.034,438.311L514.378,436.664L514.988,435.33L516.266,435.614L517.057,435.412L518.623,435.44L517.097,432.865L517.199,430.979L517.012,429.09z"},{id:"TF",title:"French Southern and Antarctic Lands",d:"M668.536,619.028L670.345,620.364L672.994,620.897L673.093,621.71L672.308,623.668L668.004,623.949L667.934,621.656L668.348,619.896z"},{id:"TG",title:"Togo",d:"M480.483,446.246L478.226,446.843L477.6,445.859L476.852,444.081L476.629,442.684L477.25,440.151L476.546,439.124L476.279,436.902L476.284,434.849L475.113,433.388L475.32,432.504L477.775,432.564L477.418,434.057L478.275,434.893L479.249,435.884L479.355,437.27L479.92,437.852L479.792,444.312z"},{id:"TH",title:"Thailand",d:"M762.886,429.182L760.369,427.873L757.971,427.926L758.382,425.679L755.912,425.696L755.69,428.839L754.177,432.993L753.266,435.495L753.458,437.539L755.284,437.628L756.422,440.2L756.926,442.634L758.49,444.242L760.189,444.568L761.642,446.023L760.726,447.173L758.874,447.508L758.654,446.07L756.366,444.842L755.879,445.342L754.771,444.266L754.291,442.876L752.802,441.29L751.443,439.955L750.982,441.608L750.451,440.046L750.757,438.288L751.583,435.58L752.941,432.669L754.481,430.019L753.385,427.418L753.429,426.09L753.108,424.49L751.238,422.206L750.569,420.76L751.537,420.227L752.563,417.709L751.415,415.792L749.636,413.662L748.28,411.09L749.464,410.556L750.742,407.366L752.722,407.233L754.357,405.947L755.964,405.26L757.177,406.177L757.338,407.957L759.232,408.093L758.543,411.197L758.609,413.823L761.564,412.077L762.404,412.594L764.046,412.509L764.611,411.489L766.731,411.69L768.864,414.068L769.039,416.943L771.309,419.47L771.184,421.913L770.271,423.21L767.643,422.797L764.018,423.347L762.222,425.732z"},{id:"TJ",title:"Tajikistan",d:"M674.366,340.624L673.34,341.75L670.288,341.14L670.022,343.236L673.063,342.955L676.526,344.129L681.828,343.582L682.539,346.905L683.46,346.546L685.163,347.358L685.065,348.739L685.486,350.751L682.594,350.745L680.663,350.486L678.916,352.057L677.672,352.404L676.694,353.137L675.585,351.994L675.846,349.038L674.998,348.869L675.303,347.785L673.785,346.975L672.578,348.213L672.281,349.641L671.85,350.159L670.174,350.085L669.27,351.694L668.324,351.017L666.295,352.143L665.438,351.716L667.014,348.147L666.408,345.489L664.351,344.632L665.078,343.041L667.419,343.211L668.751,341.202L669.643,338.849L673.392,337.991L672.808,339.7L673.209,340.719z"},{id:"TL",title:"Timor-Leste",d:"M825.646,488.254L825.977,487.589L828.39,486.956L830.346,486.86L831.223,486.509L832.284,486.857L831.253,487.621L828.33,488.855L825.982,489.666L825.931,488.81z"},{id:"TM",title:"Turkmenistan",d:"M646.879,356.901L646.633,353.995L644.543,353.87L641.339,350.775L639.1,350.391L635.999,348.6L634.005,348.273L632.774,348.934L630.899,348.831L628.905,350.848L626.441,351.527L625.92,349.036L626.327,345.308L624.141,344.089L624.86,341.606L622.999,341.394L623.619,338.3L626.264,339.205L628.727,338.024L626.685,335.795L625.881,333.65L623.624,334.609L623.338,337.342L622.462,334.927L623.701,333.677L626.884,332.892L628.779,333.948L630.741,336.88L632.18,336.698L635.343,336.647L634.883,334.767L637.278,333.472L639.64,331.271L643.418,333.273L643.718,336.265L644.791,337.026L647.822,336.855L648.763,337.529L650.142,341.32L653.348,343.827L655.177,345.522L658.109,347.273L661.839,348.793L661.762,350.952L660.917,350.843L659.594,349.902L659.154,351.154L656.791,351.832L656.231,354.617L654.651,355.669L652.438,356.188L651.853,357.745L649.738,358.201z"},{id:"TN",title:"Tunisia",d:"M501.839,374.686L500.644,368.829L498.915,367.497L498.891,366.695L496.598,364.711L496.351,362.184L498.079,360.297L498.739,357.485L498.294,354.197L498.864,352.41L501.917,350.997L503.88,351.418L503.798,353.186L506.176,351.901L506.376,352.573L504.974,354.278L504.955,355.877L505.926,356.733L505.557,359.692L503.711,361.396L504.244,363.232L505.694,363.289L506.399,364.881L507.466,365.402L507.307,367.951L505.94,368.898L505.077,369.951L503.152,371.213L503.45,372.564L503.208,373.936z"},{id:"TR",title:"Turkey",d:"M578.752,336.599l4.022,1.435l3.266,-0.571l2.414,0.33l3.311,-1.94l2.987,-0.177l2.701,1.827l0.476,1.301l-0.27,1.788l2.085,0.908l1.104,1.063l-1.92,1.032l0.875,4.112l-0.549,1.1l1.534,2.822l-1.344,0.591l-0.985,-0.892l-3.261,-0.453l-1.204,0.545l-3.189,0.544l-1.511,-0.059l-3.227,1.31l-2.307,0.011l-1.492,-0.656l-3.087,0.969l-0.917,-0.677l-0.152,1.938l-0.751,0.757l-0.751,0.755l-1.031,-1.566l1.062,-1.304l-1.71,0.296l-2.345,-0.801l-1.928,1.999l-4.255,0.389l-2.27,-1.861l-3.022,-0.117l-0.646,1.44l-1.938,0.411l-2.711,-1.847l-3.061,0.063l-1.661,-3.484l-2.048,-1.964l1.364,-2.778l-1.777,-1.723l3.11,-3.484l4.318,-0.147l1.178,-2.806l5.344,0.491l3.371,-2.416l3.267,-1.061l4.639,-0.08L578.752,336.599zM551.497,338.986l-2.34,1.976l-0.882,-1.708l0.039,-0.761l0.666,-0.414l0.868,-2.325l-1.366,-0.99l2.856,-1.183l2.414,0.505l0.333,1.441l2.447,1.204l-0.51,0.909l-3.33,0.204L551.497,338.986z"},{id:"TT",title:"Trinidad and Tobago",d:"M302.312,433.238L303.923,432.869L304.512,432.968L304.4,435.079L302.059,435.39L301.554,435.135L302.367,434.357z"},{id:"TW",title:"Taiwan",d:"M816.7,393.266L815.012,398.145L813.81,400.618L812.332,398.072L812.013,395.823L813.663,392.825L815.907,390.497L817.187,391.415z"},{id:"TZ",title:"Tanzania",d:"M570.314,466.031L570.788,466.337L580.955,472.015L581.146,473.633L585.17,476.425L583.876,479.872L584.042,481.459L585.837,482.481L585.921,483.211L585.149,484.907L585.31,485.762L585.126,487.106L586.105,488.873L587.266,491.659L588.295,492.278L586.064,493.921L582.998,495.023L581.316,494.977L580.317,495.829L578.365,495.902L577.633,496.262L574.264,495.461L572.154,495.69L571.369,491.833L570.418,490.514L569.854,489.733L567.105,489.207L565.514,488.359L563.732,487.885L562.615,487.413L561.443,486.696L559.929,483.155L558.303,481.584L557.742,479.958L558.022,478.503L557.518,475.931L558.677,475.798L559.695,474.786L560.786,473.331L561.478,472.747L561.452,471.84L560.848,471.208L560.686,470.11L561.495,469.757L561.657,468.118L560.543,466.545L561.527,466.211L564.601,466.247z"},{id:"UA",title:"Ukraine",d:"M564.376,292.494L565.423,292.678L566.132,291.641L566.983,291.87L569.891,291.428L571.682,294.003L570.982,294.916L571.214,296.308L573.45,296.524L574.447,298.451L574.386,299.319L577.947,300.861L580.099,300.168L581.829,302.211L583.468,302.165L587.601,303.573L587.634,304.836L586.495,307.069L587.114,309.396L586.673,310.791L583.96,311.097L582.515,312.256L582.426,314.088L580.188,314.416L578.322,315.738L575.697,315.953L573.282,317.466L571.958,318.496L573.446,319.966L574.818,320.929L577.678,320.689L577.13,322.107L574.061,322.792L570.254,325.064L568.695,324.268L569.313,322.417L566.25,321.257L566.745,320.494L569.908,318.858L569.515,318.042L569.063,318.453L568.617,318.243L564.259,317.222L564.066,315.708L561.468,316.209L560.427,318.437L558.256,321.393L556.984,320.71L555.667,321.35L554.416,320.617L555.122,320.184L555.611,318.809L556.379,317.523L556.181,316.799L556.767,316.475L557.043,317.036L558.695,317.155L559.438,316.855L558.915,316.444L559.113,315.837L558.134,314.799L557.729,313.082L556.708,312.406L556.909,310.999L555.642,309.875L554.489,309.718L552.422,308.409L550.559,308.826L549.89,309.445L548.707,309.444L548.001,310.423L545.932,310.824L544.975,311.463L543.673,310.445L541.875,310.43L540.141,309.966L538.93,310.861L538.734,309.741L537.178,308.598L537.725,306.893L538.502,305.785L539.115,306.033L538.392,304.108L540.938,300.499L542.329,299.988L542.629,298.753L541.219,294.862L542.56,294.687L544.096,293.462L546.269,293.361L549.101,293.716L552.23,294.8L554.438,294.89L555.493,295.539L556.544,294.756L557.279,295.806L559.81,295.591L560.925,296.024L561.105,293.759L561.969,292.764z"},{id:"UG",title:"Uganda",d:"M564.601,466.247L561.527,466.211L560.543,466.545L558.868,467.405L558.189,467.121L558.213,465.021L558.862,463.957L559.021,461.721L559.61,460.426L560.682,458.974L561.759,458.233L562.661,457.244L561.537,456.867L561.707,453.605L562.861,452.845L564.644,453.469L566.901,452.815L568.874,452.822L570.598,451.538L571.927,453.476L572.255,454.876L573.489,458.076L572.468,460.107L571.089,461.951L570.286,463.079L570.314,466.031z"},{id:"US",title:"United States",d:"M109.249,279.8L109.249,279.8l-1.542,-1.834l-2.471,-1.569l-0.793,-4.356l-3.615,-4.131l-1.511,-4.938l-2.692,-0.343l-4.458,-0.13l-3.286,-1.535l-5.797,-5.643l-2.685,-1.05l-4.905,-1.993l-3.882,0.478l-5.514,-2.59l-3.333,-2.435l-3.112,1.213l0.578,3.928l-1.55,0.358l-3.244,1.161l-2.468,1.863l-3.107,1.163l-0.401,-3.245l1.261,-5.531l2.979,-1.771l-0.769,-1.456l-3.574,3.218l-1.914,3.771l-4.04,3.947l2.052,2.647l-2.65,3.849l-3.014,2.207l-2.806,1.592l-0.694,2.287l-4.377,2.634l-0.886,2.363l-3.281,2.127l-1.924,-0.381l-2.617,1.377l-2.845,1.669l-2.332,1.626l-4.812,1.377l-0.439,-0.809l3.067,-2.268l2.743,-1.513l2.989,-2.71l3.478,-0.565l1.383,-2.063l3.886,-3.053l0.626,-1.032l2.07,-1.833l0.484,-4l1.426,-3.174l-3.233,1.636l-0.904,-0.927l-1.518,1.954l-1.831,-2.73l-0.756,1.936l-1.048,-2.695l-2.803,2.167l-1.721,-0.004l-0.242,-3.232l0.507,-2.02l-1.806,-1.982l-3.646,1.07l-2.366,-2.631l-1.918,-1.359l-0.012,-3.25l-2.161,-2.483l1.085,-3.405l2.286,-3.368l1,-3.154l2.269,-0.454l1.924,0.992l2.262,-3.007l2.036,0.541l2.137,-1.955l-0.521,-2.917l-1.57,-1.163l2.076,-2.519l-1.722,0.075l-2.975,1.426l-0.854,1.434l-2.211,-1.432l-3.966,0.729l-4.106,-1.563l-1.177,-2.654l-3.548,-3.906l3.94,-2.867l6.254,-3.407h2.305l-0.382,3.484l5.918,-0.269l-2.276,-4.339l-3.449,-2.722l-1.994,-3.639l-2.69,-3.166l-3.853,-2.385l1.569,-4.028l4.974,-0.253l3.539,-3.585l0.667,-3.917l2.864,-3.911l2.731,-0.955l5.315,-3.758l2.578,0.572l4.315,-4.609l4.242,1.831l2.029,3.869l1.246,-1.648l4.738,0.513l-0.168,1.951l4.29,1.428l2.86,-0.838l5.907,2.635l5.393,0.776l2.159,1.068l3.731,-1.335l4.253,2.462l3.046,1.135l-0.019,27.648l-0.015,35.43l2.761,0.167l2.731,1.556l1.958,2.436l2.491,3.596l2.728,-3.054l2.815,-1.793l1.488,2.855l1.889,2.229l2.567,2.424l1.753,3.794l2.867,5.881l4.767,3.204l0.078,3.124L109.249,279.8zM285.179,314.235l-1.245,-1.187l-1.88,0.7l-0.932,-1.083l-2.139,3.097l-0.855,3.148l-0.995,1.82l-1.191,0.616l-0.897,0.2l-0.281,0.978l-5.167,0.003l-4.26,0.027l-1.265,0.726l-2.87,2.73l0.287,0.544l0.166,1.506l-2.103,1.27l-2.297,-0.318l-2.204,-0.143l-1.328,0.439l0.249,1.15l0,0.002l0.055,0.373l-2.416,2.265l-2.115,1.089l-1.443,0.506l-1.661,1.035l-2.03,0.496l-1.398,-0.191l-1.729,-0.772l0.961,-1.449l0.617,-1.321l1.318,-2.091l-0.14,-1.571l-0.505,-2.241l-1.037,-0.388l-1.738,1.705l-0.557,-0.032l-0.144,-0.974l1.542,-1.556l0.256,-1.786l-0.228,-1.794l-2.075,-1.552l-2.383,-0.8l-0.392,1.518l-0.618,0.405l-0.496,1.953l-0.26,-1.325l-1.121,0.947l-0.7,1.321l-0.731,1.916l-0.14,1.645l0.93,2.376l-0.077,2.508l-1.138,1.836l-0.568,0.518l-0.757,0.412l-0.953,0.021l-0.258,-0.253l-0.755,-1.975l-0.022,-0.982l0.075,-0.937l-0.352,-1.87l0.533,-2.181l0.633,-2.713l1.455,-3.035l-0.422,0.014l-2.06,2.543l-0.38,-0.464l1.099,-1.422l1.672,-2.573l1.907,-0.361l2.187,-0.804l2.205,0.424l0.094,0.018l2.47,-0.363l-1.395,-1.609l-0.752,-0.125l-0.855,-0.164l-0.589,-1.14l-2.755,0.356l-2.488,0.905l-1.975,-1.551l-1.589,-0.521l0.901,-2.17l-2.475,1.365l-2.25,1.328l-2.165,1.037l-1.719,-1.401l-2.809,0.851l0.009,-0.599l1.903,-1.73l1.991,-1.654l2.86,-1.375l-3.449,-1.089l-2.271,0.545l-2.72,-1.303l-2.863,-0.672l-1.958,-0.26l-0.872,-0.718l-0.498,-2.345l-0.949,0.021l-0.008,1.644l-5.803,-0.003l-9.593,0.003l-9.528,0l-8.417,0h-8.412h-8.271h-8.546h-2.756h-8.324h-7.963l0.954,3.466l0.448,3.41l-0.693,1.087l-1.494,-3.911l-4.055,-1.425l-0.339,0.82l0.817,1.938l0.886,3.525l0.506,5.416l-0.341,3.591l-0.341,3.535l-1.096,3.614l0.895,2.898l0.098,3.202l-0.615,3.055l1.494,1.992l0.387,2.945l2.17,2.991l1.237,1.169l-0.1,0.817l2.335,4.851l2.72,3.452l0.341,1.866l0.715,0.547l2.605,0.333l1.003,0.913l1.573,0.169l0.307,0.965l1.308,0.401l1.817,1.92l0.472,1.696l3.186,-0.255l3.561,-0.359l-0.263,0.648l4.234,1.604l6.396,2.31l5.576,-0.023l2.223,-0.001l0.006,-1.351l4.857,0.001l1.022,1.162l1.434,1.032l1.666,1.429l0.93,1.689l0.698,1.769l1.449,0.967l2.328,0.958l1.766,-2.528l2.292,-0.063l1.976,1.279l1.407,2.184l0.969,1.859l1.654,1.797l0.617,2.195l0.785,1.466l2.187,0.963l1.991,0.682l1.093,-0.093l-0.533,-1.055l-0.14,-1.495l0.028,-2.161l0.645,-1.416l1.531,-1.509l2.787,-1.369l2.552,-2.367l2.359,-0.75l1.744,-0.225l2.04,0.743l2.445,-0.4l2.093,1.692l2.035,0.1l1.052,-0.606l1.041,0.472l0.534,-0.42l-0.595,-0.632l0.045,-1.302l-0.505,-0.856l1.159,-0.504l2.138,-0.223l2.488,0.357l3.169,-0.406l1.758,0.799l1.361,1.502l0.502,0.16l2.829,-1.46l1.094,0.494l2.186,2.682l0.785,1.751l-0.576,2.101l0.421,1.232l1.304,2.397l1.486,2.675l1.065,0.712l0.442,1.354l1.38,0.374l0.838,-0.389l0.699,-1.887l0.122,-1.207l0.088,-2.102l-1.328,-3.646l-0.016,-1.369l-1.246,-2.253l-0.936,-2.745l-0.496,-2.246l0.433,-2.315l1.321,-1.945l1.581,-1.571l3.078,-2.156l0.401,-1.121l1.419,-1.232l1.4,-0.215l1.843,-1.98l2.901,-1.006l1.782,-2.534l-0.394,-3.455l-0.291,-1.205l-0.805,-0.241l-0.12,-3.346l-1.93,-1.143l1.853,0.557l-0.598,-2.26l0.54,-1.552l0.329,2.974l1.432,1.356l-0.867,2.398l0.255,0.139l1.578,-2.815l0.899,-1.381l-0.042,-1.35l-0.696,-0.639l-0.583,-1.941l0.92,0.903l0.616,0.188l0.208,0.924l2.04,-2.779l0.605,-2.622l-0.825,-0.168l0.854,-1.02l-0.083,0.452l1.786,-0.007l3.925,-1.106l-0.831,-0.702l-4.118,0.697l2.337,-1.073l1.63,-0.184l1.22,-0.186l2.074,-0.65l1.347,0.073l1.893,-0.605l0.224,-1.07l-0.841,-0.835l0.294,1.372l-1.164,-0.094l-0.925,-1.995l0.028,-2.013l0.475,-0.859l1.484,-2.283l2.961,-1.146l2.881,-1.344l2.994,-1.9l-0.484,-1.295l-1.833,-2.251L285.179,314.235zM45.622,263.786l-1.497,0.802l-2.547,1.858l0.434,2.421l1.434,1.321l2.8,-1.955l2.426,-2.465l-1.188,-1.627L45.622,263.786zM0,235.225l2.042,-1.258l0.231,-0.677L0,232.608V235.225zM8.502,250.587l-2.769,0.967l1.702,1.524l1.838,1.042l1.721,-0.867l-0.268,-2.154L8.502,250.587zM105.845,283.087l-2.691,0.381l-1.318,-0.62l-0.167,1.518l0.519,2.074l1.415,1.456l1.036,2.133l1.689,2.097l1.118,0.009l-2.44,-3.702L105.845,283.087zM37.131,403.772l-0.997,-0.284l-0.274,0.256l0.025,0.186l0.322,0.243l0.483,0.627l0.94,-0.213l0.234,-0.357L37.131,403.772zM34.136,403.233l1.502,0.087l0.087,-0.323l-1.38,-0.128L34.136,403.233zM40.026,406.522l-0.498,-0.257l-1.074,-0.501l-0.213,-0.055l-0.163,0.277l0.193,0.583l-0.487,0.483l-0.14,0.33l0.464,1.077l-0.08,0.825l0.696,0.422l0.41,-0.493l0.897,-0.461l1.096,-0.631l0.067,-0.164l-0.714,-1.037L40.026,406.522zM32.174,401.379l-0.75,0.414l0.109,0.12l0.356,0.679l0.976,0.105l0.201,0.039l0.152,-0.173l-0.81,-0.99L32.174,401.379zM27.769,399.818l-0.428,0.295l-0.145,0.219l0.944,0.548l0.333,-0.297l-0.058,-0.701L27.769,399.818z"},{id:"UY",title:"Uruguay",d:"M313.681,551.79L315.5,551.446L318.313,553.95L319.354,553.855L322.24,555.944L324.439,557.759L326.061,560.007L324.825,561.585L325.601,563.48L324.388,565.598L321.221,567.484L319.151,566.804L317.634,567.168L315.042,565.711L313.14,565.82L311.432,563.954L311.649,561.789L312.258,561.047L312.23,557.75L312.98,554.384z"},{id:"UZ",title:"Uzbekistan",d:"M661.762,350.952L661.839,348.793L658.109,347.273L655.177,345.522L653.348,343.827L650.142,341.32L648.763,337.529L647.822,336.855L644.791,337.026L643.718,336.265L643.418,333.273L639.64,331.271L637.278,333.472L634.883,334.767L635.343,336.647L632.18,336.698L632.069,322.571L639.287,320.224L639.811,320.57L644.157,323.407L646.451,324.891L649.129,328.389L652.417,327.828L657.226,327.526L660.582,330.333L660.373,334.134L661.739,334.16L662.31,337.219L665.875,337.339L666.644,339.09L667.688,339.066L668.915,336.417L672.613,333.808L674.221,333.111L675.054,333.482L672.7,335.911L674.77,337.312L676.767,336.385L680.09,338.339L676.499,340.984L674.366,340.624L673.209,340.719L672.808,339.7L673.392,337.991L669.643,338.849L668.751,341.202L667.419,343.211L665.078,343.041L664.351,344.632L666.408,345.489L667.014,348.147L665.438,351.716L663.323,350.975z"},{id:"VE",title:"Venezuela",d:"M275.25,430.351L275.17,431.023L273.524,431.354L274.438,432.644L274.404,434.126L273.167,435.77L274.229,438.011L275.438,437.827L276.067,435.786L275.198,434.79L275.056,432.645L278.548,431.49L278.159,430.15L279.143,429.251L280.149,431.251L282.115,431.297L283.937,432.881L284.047,433.82L286.564,433.845L289.56,433.553L291.166,434.822L293.31,435.171L294.883,434.287L294.915,433.574L298.388,433.403L301.748,433.363L299.367,434.2L300.325,435.537L302.567,435.749L304.693,437.138L305.14,439.397L306.601,439.334L307.7,439.998L305.478,441.65L305.233,442.675L306.193,443.717L305.497,444.243L303.771,444.693L303.827,445.987L303.067,446.758L304.965,448.882L305.336,449.671L304.311,450.737L301.175,451.783L299.158,452.216L298.349,452.876L296.12,452.178L294.044,451.821L293.518,452.078L294.773,452.802L294.66,454.672L295.049,456.429L297.425,456.668L297.576,457.254L295.573,458.047L295.248,459.227L294.093,459.684L292.008,460.334L291.465,461.187L289.285,461.367L287.742,459.894L286.887,457.115L286.141,456.141L285.124,455.526L286.545,454.138L286.448,453.513L285.651,452.684L285.087,450.828L285.307,448.823L285.933,447.884L286.438,446.376L285.446,445.895L283.848,446.214L281.828,446.064L280.695,446.364L278.722,443.951L277.093,443.594L273.487,443.864L272.819,442.885L272.129,442.65L272.031,442.064L272.364,441.023L272.142,439.89L271.523,439.271L271.164,437.975L269.717,437.786L270.494,436.134L270.837,434.115L271.652,433.062L272.737,432.248L273.449,430.828z"},{id:"VN",title:"Vietnam",d:"M778.21,401.873L774.466,404.43L772.13,407.236L771.514,409.287L773.658,412.385L776.28,416.2L778.824,417.994L780.528,420.318L781.813,425.641L781.434,430.662L779.096,432.533L775.885,434.358L773.598,436.716L770.102,439.342L769.083,437.534L769.871,435.621L767.791,434.013L770.218,432.871L773.161,432.665L771.93,430.944L776.643,428.753L776.988,425.327L776.338,423.413L776.848,420.533L776.142,418.49L774.021,416.471L772.253,413.903L769.923,410.438L766.563,408.676L767.368,407.613L769.16,406.837L768.073,404.245L764.621,404.222L763.362,401.505L761.724,399.129L763.229,398.393L765.465,398.408L768.19,398.059L770.58,396.444L771.932,397.582L774.495,398.134L774.052,399.873L775.387,401.095z"},{id:"VU",title:"Vanuatu",d:"M945.865,509.898l-0.925,0.382l-0.939,-1.272l0.104,-0.777L945.865,509.898zM943.799,505.463l0.455,2.329l-0.754,-0.363l-0.584,0.157l-0.401,-0.799l-0.059,-2.21L943.799,505.463z"},{id:"YE",title:"Yemen",d:"M624.161,416.335L622.134,417.116L621.591,418.404L621.524,419.391L618.733,420.611L614.253,421.957L611.742,423.986L610.508,424.144L609.667,423.974L608.028,425.165L606.241,425.716L603.887,425.865L603.179,426.028L602.566,426.783L601.831,426.992L601.397,427.719L600.009,427.656L599.113,428.043L597.173,427.898L596.443,426.228L596.523,424.662L596.065,423.815L595.517,421.687L594.711,420.501L595.272,420.361L594.984,419.04L595.324,418.481L595.2,417.216L596.431,416.289L596.144,415.061L596.886,413.626L598.038,414.386L598.798,414.122L602.034,414.055L602.548,414.347L605.258,414.639L606.333,414.493L607.034,415.465L608.343,414.979L610.352,411.908L612.969,410.587L621.054,409.458L623.246,414.299z"},{id:"ZA",title:"South Africa",d:"M563.633,548.709l-0.548,0.462l-1.188,1.631l-0.782,1.658l-1.59,2.327l-3.169,3.382l-1.979,1.984l-2.117,1.514l-2.931,1.297l-1.429,0.174l-0.362,0.933l-1.704,-0.497l-1.388,0.64l-3.039,-0.648l-1.699,0.41l-1.161,-0.176l-2.892,1.33l-2.394,0.535l-1.732,1.282l-1.275,0.082l-1.187,-1.209l-0.947,-0.062l-1.208,-1.507l-0.133,0.467l-0.373,-0.905l0.016,-1.964l-0.911,-2.229l0.905,-0.603l-0.073,-2.527l-1.836,-3.053l-1.409,-2.737l-0.004,-0.009l-2.013,-4.153l1.343,-1.567l1.107,0.867l0.473,1.358l1.258,0.232l1.763,0.603l1.506,-0.233l2.502,-1.626l0.003,-11.524l0.757,0.461l1.662,2.933l-0.258,1.893l0.625,1.096l2.008,-0.319l1.402,-1.391l1.328,-0.935l0.687,-1.482l1.368,-0.716l1.182,0.375l1.339,0.865l2.282,0.153l1.793,-0.72l0.284,-0.962l0.493,-1.471l1.526,-0.246l0.843,-1.15l0.934,-2.032l2.517,-2.265l3.967,-2.222l1.141,0.033l1.357,0.51l0.945,-0.361l1.49,0.301l1.343,4.261l0.729,2.168l-0.5,3.428l0.239,1.111l-1.415,-0.567l-0.811,0.221l-0.265,0.902l-0.766,1.167l0.026,1.078l1.673,1.697l1.641,-0.338l0.571,-1.39l2.126,0.026l-0.701,2.281l-0.331,2.622l-0.726,1.433L563.633,548.709zM556.504,547.746l-1.224,-0.98l-1.311,0.649l-1.519,1.248l-1.495,2.031l2.103,2.484l1.003,-0.322l0.516,-1.033l1.563,-0.504l0.477,-1.05l0.86,-1.559L556.504,547.746z"},{id:"ZM",title:"Zambia",d:"M567.105,489.207L568.429,490.466L569.142,492.868L568.664,493.636L568.101,495.938L568.639,498.299L567.757,499.292L566.906,501.951L568.38,502.695L559.872,505.065L560.138,507.12L558.014,507.516L556.417,508.67L556.076,509.676L555.073,509.904L552.634,512.299L551.082,514.192L550.135,514.26L549.224,513.922L546.09,513.602L545.586,513.383L545.565,513.141L544.458,512.482L542.641,512.314L540.345,512.978L538.515,511.155L536.623,508.778L536.752,499.62L542.591,499.656L542.352,498.67L542.77,497.602L542.277,496.266L542.596,494.887L542.299,494.006L543.267,494.077L543.427,494.96L544.741,494.891L546.521,495.153L547.458,496.444L549.704,496.841L551.418,495.943L552.047,497.435L554.196,497.833L555.229,499.049L556.38,500.622L558.526,500.646L558.292,497.566L557.522,498.084L555.562,496.976L554.805,496.469L555.152,493.618L555.65,490.267L555.022,489.021L555.821,487.222L556.573,486.885L560.339,486.41L561.443,486.696L562.615,487.413L563.732,487.885L565.514,488.359z"},{id:"ZW",title:"Zimbabwe",d:"M562.709,526.998L561.219,526.697L560.274,527.059L558.917,526.548L557.776,526.516L555.989,525.158L553.821,524.698L552.996,522.803L552.989,521.752L551.788,521.432L548.615,518.177L547.733,516.471L547.169,515.946L546.09,513.602L549.224,513.922L550.135,514.26L551.082,514.192L552.634,512.299L555.073,509.904L556.076,509.676L556.417,508.67L558.014,507.516L560.138,507.12L560.319,508.2L562.658,508.142L563.957,508.754L564.562,509.472L565.896,509.683L567.353,510.617L567.359,514.312L566.813,516.347L566.692,518.55L567.143,519.426L566.826,521.172L566.402,521.443L565.663,523.593z"}]}}},function(n,t){if("function"==typeof define&&define.amd)define(["module","exports"],t);else if("undefined"!=typeof exports)t(module,exports);else{var i={exports:{}};t(i,i.exports);n.WOW=i.exports}}(this,function(n,t){"use strict";function r(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function");}function f(n,t){return t.indexOf(n)>=0}function l(n,t){var i,r;for(i in t)null==n[i]&&(r=t[i],n[i]=r);return n}function a(n){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(n)}function v(n){var i=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=!(arguments.length<=2||void 0===arguments[2])&&arguments[2],u=arguments.length<=3||void 0===arguments[3]?null:arguments[3],t=void 0;return null!=document.createEvent?(t=document.createEvent("CustomEvent"),t.initCustomEvent(n,i,r,u)):null!=document.createEventObject?(t=document.createEventObject(),t.eventType=n):t.eventName=n,t}function y(n,t){null!=n.dispatchEvent?n.dispatchEvent(t):t in(null!=n)?n[t]():"on"+t in(null!=n)&&n["on"+t]()}function i(n,t,i){null!=n.addEventListener?n.addEventListener(t,i,!1):null!=n.attachEvent?n.attachEvent("on"+t,i):n[t]=i}function e(n,t,i){null!=n.removeEventListener?n.removeEventListener(t,i,!1):null!=n.detachEvent?n.detachEvent("on"+t,i):delete n[t]}function p(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight}Object.defineProperty(t,"__esModule",{value:!0});var o,s,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}}(),w=window.WeakMap||window.MozWeakMap||function(){function n(){r(this,n);this.keys=[];this.values=[]}return u(n,[{key:"get",value:function(n){for(var t=0;t<this.keys.length;t++)if(this.keys[t]===n)return this.values[t]}},{key:"set",value:function(n,t){for(var i=0;i<this.keys.length;i++)if(this.keys[i]===n)return this.values[i]=t,this;return this.keys.push(n),this.values.push(t),this}}]),n}(),h=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver||(s=o=function(){function n(){r(this,n);"undefined"!=typeof console&&console}return u(n,[{key:"observe",value:function(){}}]),n}(),o.notSupported=!0,s),c=window.getComputedStyle||function(n){var t=/(\-([a-z]){1})/g;return{getPropertyValue:function(i){"float"===i&&(i="styleFloat");t.test(i)&&i.replace(t,function(n,t){return t.toUpperCase()});var r=n.currentStyle;return(null!=r?r[i]:void 0)||null}}},b=function(){function n(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];r(this,n);this.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null,resetAnimation:!0};this.animate=function(){return"requestAnimationFrame"in window?function(n){return window.requestAnimationFrame(n)}:function(n){return n()}}();this.vendors=["moz","webkit"];this.start=this.start.bind(this);this.resetAnimation=this.resetAnimation.bind(this);this.scrollHandler=this.scrollHandler.bind(this);this.scrollCallback=this.scrollCallback.bind(this);this.scrolled=!0;this.config=l(t,this.defaults);null!=t.scrollContainer&&(this.config.scrollContainer=document.querySelector(t.scrollContainer));this.animationNameCache=new w;this.wowEvent=v(this.config.boxClass)}return u(n,[{key:"init",value:function(){this.element=window.document.documentElement;f(document.readyState,["interactive","complete"])?this.start():i(document,"DOMContentLoaded",this.start);this.finished=[]}},{key:"start",value:function(){var r=this,n,t;if(this.stopped=!1,this.boxes=[].slice.call(this.element.querySelectorAll("."+this.config.boxClass)),this.all=this.boxes.slice(0),this.boxes.length)if(this.disabled())this.resetStyle();else for(n=0;n<this.boxes.length;n++)t=this.boxes[n],this.applyStyle(t,!0);(this.disabled()||(i(this.config.scrollContainer||window,"scroll",this.scrollHandler),i(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live)&&new h(function(n){for(var u,i,f,t=0;t<n.length;t++)for(u=n[t],i=0;i<u.addedNodes.length;i++)f=u.addedNodes[i],r.doSync(f)}).observe(document.body,{childList:!0,subtree:!0})}},{key:"stop",value:function(){this.stopped=!0;e(this.config.scrollContainer||window,"scroll",this.scrollHandler);e(window,"resize",this.scrollHandler);null!=this.interval&&clearInterval(this.interval)}},{key:"sync",value:function(){h.notSupported&&this.doSync(this.element)}},{key:"doSync",value:function(n){var r,i,t;if(void 0!==n&&null!==n||(n=this.element),1===n.nodeType)for(n=n.parentNode||n,r=n.querySelectorAll("."+this.config.boxClass),i=0;i<r.length;i++)t=r[i],f(t,this.all)||(this.boxes.push(t),this.all.push(t),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(t,!0),this.scrolled=!0)}},{key:"show",value:function(n){return this.applyStyle(n),n.className=n.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(n),y(n,this.wowEvent),this.config.resetAnimation&&(i(n,"animationend",this.resetAnimation),i(n,"oanimationend",this.resetAnimation),i(n,"webkitAnimationEnd",this.resetAnimation),i(n,"MSAnimationEnd",this.resetAnimation)),n}},{key:"applyStyle",value:function(n,t){var i=this,r=n.getAttribute("data-wow-duration"),u=n.getAttribute("data-wow-delay"),f=n.getAttribute("data-wow-iteration");return this.animate(function(){return i.customStyle(n,t,r,u,f)})}},{key:"resetStyle",value:function(){for(var n=0;n<this.boxes.length;n++)this.boxes[n].style.visibility="visible"}},{key:"resetAnimation",value:function(n){if(n.type.toLowerCase().indexOf("animationend")>=0){var t=n.target||n.srcElement;t.className=t.className.replace(this.config.animateClass,"").trim()}}},{key:"customStyle",value:function(n,t,i,r,u){return t&&this.cacheAnimationName(n),n.style.visibility=t?"hidden":"visible",i&&this.vendorSet(n.style,{animationDuration:i}),r&&this.vendorSet(n.style,{animationDelay:r}),u&&this.vendorSet(n.style,{animationIterationCount:u}),this.vendorSet(n.style,{animationName:t?"none":this.cachedAnimationName(n)}),n}},{key:"vendorSet",value:function(n,t){var i,u,r,f;for(i in t)if(t.hasOwnProperty(i))for(u=t[i],n[""+i]=u,r=0;r<this.vendors.length;r++)f=this.vendors[r],n[""+f+i.charAt(0).toUpperCase()+i.substr(1)]=u}},{key:"vendorCSS",value:function(n,t){for(var f,u=c(n),i=u.getPropertyCSSValue(t),r=0;r<this.vendors.length;r++)f=this.vendors[r],i=i||u.getPropertyCSSValue("-"+f+"-"+t);return i}},{key:"animationName",value:function(n){var t=void 0;try{t=this.vendorCSS(n,"animation-name").cssText}catch(i){t=c(n).getPropertyValue("animation-name")}return"none"===t?"":t}},{key:"cacheAnimationName",value:function(n){return this.animationNameCache.set(n,this.animationName(n))}},{key:"cachedAnimationName",value:function(n){return this.animationNameCache.get(n)}},{key:"scrollHandler",value:function(){this.scrolled=!0}},{key:"scrollCallback",value:function(){var i,t,n;if(this.scrolled){for(this.scrolled=!1,i=[],t=0;t<this.boxes.length;t++)if(n=this.boxes[t],n){if(this.isVisible(n)){this.show(n);continue}i.push(n)}this.boxes=i;this.boxes.length||this.config.live||this.stop()}}},{key:"offsetTop",value:function(n){for(;void 0===n.offsetTop;)n=n.parentNode;for(var t=n.offsetTop;n.offsetParent;)n=n.offsetParent,t+=n.offsetTop;return t}},{key:"isVisible",value:function(n){var r=n.getAttribute("data-wow-offset")||this.config.offset,t=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,u=t+Math.min(this.element.clientHeight,p())-r,i=this.offsetTop(n),f=i+n.clientHeight;return u>=i&&f>=t}},{key:"disabled",value:function(){return!this.config.mobile&&a(navigator.userAgent)}}]),n}();t.default=b;n.exports=t.default});INFORMA=window.INFORMA||{};INFORMA.welcome_description=function(n,t){"use strict";var i,r;return r=function(){t("#closetip").on("click",function(){t(".tool").remove()})},i=function(){r()},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.welcome_description.init());_adjustHeigt=function(){var t=Math.max.apply(null,el.find(".sector-card h2").map(function(){return $(this).height()}).get()),i=Math.max.apply(null,el.find(".sector-card .content").map(function(){return $(this).height()}).get()),n=Math.max.apply(null,el.find(".sector-card .sector-list-products").map(function(){return $(this).height()}).get());el.find(".sector-card h2").height(t);el.find(".sector-card .content").height(i);el.find(".sector-card .sector-list-products").height(n);el.find(".sector-card .btn-container").height(n)};INFORMA=window.INFORMA||{};INFORMA.AnalystEventList=function(n,t){"use strict";var r,u,f,e,i=t(".analyst-profile-events"),o=(i.find(".events-section"),i.find(".btn-more-events"));return e=function(){t(".register.disabled").click(function(n){n.preventDefault()})},f=function(){t(".register.disabled").on("keydown",function(n){13!==n.keyCode&&13!==n.which||n.preventDefault()})},u=function(){o.on("click",function(){t(this).toggleClass("showLess");t(".analyst-profile-events .events-section:nth-child(n+2)").slideToggle()})},r=function(){i.length>0&&(u(),f(),e())},{init:r}}(0,jQuery);jQuery(INFORMA.AnalystEventList.init());INFORMA=window.INFORMA||{};INFORMA.analystProfile=function(n,t){"use strict";var i,r,u;return r=function(){t(".show-options").click(function(){t(this).parents("#analyst-profile").find(".descriptions").toggleClass("show-content")})},u=function(){var n=t(".descriptions").height(),i=t(".descriptions").addClass("show-content").height();t(".descriptions").removeClass("show-content");i<n&&jQuery(".show-options").addClass("hidden")},i=function(){r();u();INFORMA.global.siteCore.isExperience&&(t("#analyst-profile .show-options").hide(),t("#analyst-profile .descriptions").addClass("show-content"))},{init:i}}(0,jQuery);jQuery(INFORMA.analystProfile.init());INFORMA=window.INFORMA||{};INFORMA.AnalystSearch=function(n,t){"use strict";var b,f,c,k,y,l,p,d,w,g,nt,tt,i=t(".analyst-search"),o=i.find(".sector select"),r=i.find(".sub-sector select"),e=i.find(".submit-btn"),a=i.find(".btn-reset"),v=i.find("#name"),s=t(".product-analyst-results"),h=INFORMA.Configs.urls.webservices,u=INFORMA.Templates;return nt=function(){i.find("#name").val("");o.prop("selectedIndex",0).trigger("chosen:updated").trigger("change")},l=function(n){var i=0,t=0;n.css("height","");n.each(function(){(i=jQuery(this).outerHeight())>t&&(t=i)});n.css("height",t)},p=function(){jQuery(".analyst-views").each(function(){var n=jQuery(this).find(".analyst-list-container, .analyst-view-container");l(n.find(".analyst-description, .profile-discription"));l(n.find(".analyst-details"));l(n.find(".analyst-footer-content"))})},y=function(){var n=INFORMA.global.device.viewport,i=s.data(n);s.find(".analyst-views").each(function(){t(this).find(".btn-plus").attr("data-count")<=i&&t(this).find(".btn-plus").addClass("hidden")})},g=function(n,i){var f=n,e="",h=jQuery('a[data-fetch="'+i+'"]').parents(".analyst-views"),v=INFORMA.global.device.viewport,y=s.data(v)+1;for(var r in f)if(f.hasOwnProperty(r))if("True"==t("#IsNewCoTemplateEnabled").val()){var o=f[r],c=r,l="undefined"!==u.AnalystTemplateNewCo?u.AnalystTemplateNewCo:"",a=Handlebars.compile(l);o.header=c;e+=a({results:o})}else{var o=f[r],c=r,l="undefined"!==u.AnalystTemplate?u.AnalystTemplate:"",a=Handlebars.compile(l);o.header=c;e+=a({results:o})}return h.find(".row").html(e),p(),h.addClass("showLess"),addthis.toolbox(".analyst-views"),h.find(".analyst-list-container:nth-child(n+"+y+")").slideDown(),e},k=function(){v.on("keyup",function(){var n=jQuery(this).val().trim().length,s=o.val(),u;(n<3&&"default"===s?e.addClass("disabled"):e.removeClass("disabled"),n>0)?a.show():(u={Name:null,Sector:null,SearchText:t(".SearchTextSpecialist").val()},i.find("#name").val(""),o.prop("selectedIndex",0).trigger("chosen:updated").trigger("change"),r.prop("selectedIndex",0).trigger("chosen:updated").trigger("change"),f(h.AnalystSearch,"Post",JSON.stringify(u),c,null,null),a.hide())});o.chosen().on("change",function(){var n=jQuery(this).val(),t=jQuery(this).find("option:selected").text(),i=v.val().length;"default"===n&&i<3?e.addClass("disabled"):(e.removeClass("disabled"),a.show());"default"===n?(r.parents(".sub-sector").addClass("disabled"),r.parents(".form-group").find("label").html("By Sub-Sector")):(r.parents(".sub-sector").removeClass("disabled"),r.parents(".form-group").find("label").html("By "+t));f(h.AnalystSearchDropDown,"Post",n,d,null,null);r.trigger("chosen:updated")});e.on("click",function(){var n=i.find("form").serializeArray(),r,u,e;for(r in n)"default"===n[r].value&&(n[r].value=null);u=INFORMA.Utils.serializeObject(n);u.SearchText=t(".SearchTextSpecialist").val();e=JSON.stringify(u);f(h.AnalystSearch,"Post",e,c,null,null)});a.on("click",function(n){n.preventDefault();var u={Name:null,Sector:null,SearchText:t(".SearchTextSpecialist").val()};i.find("#name").val("");o.prop("selectedIndex",0).trigger("chosen:updated").trigger("change");r.prop("selectedIndex",0).trigger("chosen:updated").trigger("change");f(h.AnalystSearch,"Post",JSON.stringify(u),c,null,null);t(this).hide()})},d=function(n){var u=jQuery(r.find("option")[0]),i,t;for(r.empty(),i="<option value="+u.val()+">"+u.text()+"<\/option>",t=0;t<n.length;t++)i+="<option value="+n[t].Value+">"+n[t].Text+"<\/option>";r.html(i);r.trigger("chosen:updated")},c=function(n){var i,f,r;INFORMA.Spinner.Show(t("body"));i=n.SearchDictionary;f="";for(r in i)if(i.hasOwnProperty(r))if("True"==t("#IsNewCoTemplateEnabled").val()){var e=i[r],o=r,h="undefined"!==u.AnalystListNewCo?u.AnalystListNewCo:"",c=Handlebars.compile(h);e.header=o;f+=c({results:e})}else{var e=i[r],o=r,h="undefined"!==u.AnalystList?u.AnalystList:"",c=Handlebars.compile(h);e.header=o;f+=c({results:e})}return 0===Object.getOwnPropertyNames(i).length?t(".NoRecords").removeClass("hidden"):t(".NoRecords").addClass("hidden"),s.html(f),y(),p(),w(),addthis.toolbox(".analyst-views"),f},w=function(){jQuery(".btn-plus").on("click",function(){var e=jQuery(this).data("fetch"),c=i.find("form").serializeArray(),l=JSON.stringify(INFORMA.Utils.serializeObject(c)),n=JSON.parse(l),r=jQuery('a[data-fetch="'+e+'"]').parents(".analyst-views"),a=INFORMA.global.device.viewport,u=parseInt(s.data(a))+1,o;n.SectorID=e;n.SearchText=t(".SearchTextSpecialist").val();for(o in n)"default"===n[o]&&(n[o]=null);r.hasClass("showLess")?("True"==t("#IsNewCoTemplateEnabled").val()?(r.find(".analyst-view-container:nth-child(n+"+u+")").slideUp(),r.find(".analyst-view-container:nth-child(n+"+u+")").hide("fast",function(){t(this).remove()})):(r.find(".analyst-list-container:nth-child(n+"+u+")").slideUp(),r.find(".analyst-list-container:nth-child(n+"+u+")").hide("fast",function(){t(this).remove()})),r.removeClass("showLess")):f(h.AnalystSearchAll,"Post",JSON.stringify(n),g,null,e)})},tt=function(){t(".analyst-views").find(".btn-container .btn-plus .less").on("click",function(){t("html, body").animate({scrollTop:t(this).closest(".analyst-views").offset().top-35},500)})},f=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify({data:r}),success_callback:function(n){"function"==typeof u&&(u.call(this,n,e),jQuery(".load-spinner").delay(600).remove())},error_callback:function(){jQuery(".load-spinner").delay(600).remove();"function"==typeof f&&f.call(this,r,e)}})},b=function(){i.length>0&&(k(),w(),y(),tt(),nt(),v.on("keypress",function(n){13===n.which&&(n.preventDefault(),v.val()&&e.trigger("click"))}))},{init:b}}(0,jQuery);jQuery(INFORMA.AnalystSearch.init());INFORMA=window.INFORMA||{};INFORMA.NewcoAnalystTiles=function(n,t){"use strict";var i,r,f=t(".newco-analyst-views"),u=f.find(".analyst-view-container");return r=function(){var n,i=0;u.each(function(){n=t(this).find(".profile-discription");n.height()>i&&(i=n.height())});u.find(".profile-discription").css("height",i)},i=function(){r()},{init:i}}(0,jQuery);jQuery(INFORMA.NewcoAnalystTiles.init());INFORMA=window.INFORMA||{};INFORMA.SiteAnalyticsSetting=function(n,t){"use strict";function u(n,u){var e,v=location.host,f="",y=new RegExp(v),h="internal link",s,o,c,l,a;if(""!=r&&null!=r){if(s=$INFORMA.parseJSON(r),o=t.trim(t(n).text()),"anchor"==u?u=s.AnchorClickLabel:"button"==u&&(u=s.ButtonClickLabel),void 0!=t(n).attr("data-ga-action"))return void 0;void 0!=t(n).attr("data-target")&&null!=t(n).attr("data-target-index")?(f=s.PageAnchorLabel,e=h,i(n,u,o,f,e)):void 0!=t(n).attr("data-toggle")&&"tab"==t(n).attr("data-toggle")?(f=s.TabLabel,e=h,i(n,u,o,f,e)):void 0!=t(n).attr("href")&&-1!=t(n).attr("href").indexOf("/~/media/informa-shop-window")?(f=t(n).attr("href"),e=h,i(n,u,o,f,e)):void 0!=t(n).attr("href")&&-1!=t(n).attr("href").indexOf("mailto:")?(f=t(n).attr("href"),e=h,i(n,u,o,f,e)):t(n).hasClass("wffm-elq-form-btn")&&""!=t(n).attr("data-modal")&&void 0!=t(n).attr("data-modal")?(c=t(n).attr("data-modal"),t(c).length>0&&(l=t(c).find("form"),t(l).length>0&&(a=t(l).find(".form-name-holder").val(),a&&(f=a,e=s.FormLabel,i(n,u,o,f,e))))):(f=v,y.test(t(n).attr("href"))?(f=t(n).attr("href"),e=h):(f=t(n).attr("href"),e="external link"),i(n,u,o,f,e))}}function i(n,i,r,u,f){t(n).attr("data-ga-action",i);t(n).attr("data-ga-label",r);t(n).attr("data-ga-value",u);t(n).attr("data-ga-category",f);t(n).click(function(){var n=t(this).data("ga-category"),i=t(this).data("ga-action"),r=t(this).data("ga-label"),u=t(this).data("ga-value");INFORMA.Analytics.trackEvents(n,i,r,u)})}var f,e,r=(INFORMA.Configs.urls.webservices,t("#hidSiteSelectorDictionary").val());return e=function(){t(document).ready(function(){var n=t("#hidSiteAnalyticsSetting").val();t(n).find("a").each(function(){u(this,"anchor")});t(n).find("button").each(function(){u(this,"button")})})},f=function(){e()},{init:f}}(0,jQuery);jQuery(INFORMA.SiteAnalyticsSetting.init());INFORMA=window.INFORMA||{};INFORMA.animation=function(n,t){"use strict";function u(n){var e={},i="",r="",t,u,f;for(n.className+=" wow ",t=0;t<n.attributes.length;t++)u=n.attributes[t].value,f=n.attributes[t].name.substr(15).replace(/-(.)/g),"direction"==f?r=u:"type"==f&&(i=u);return n.className+=r?i+r:i,[].forEach.call(n.attributes,function(t){if(/^data-swanimate-/.test(t.name)){var i=t.name.substr(15).replace(/-(.)/g,function(n,t){return t.toUpperCase()});switch(e[i]=t.value,"repeat"==i&&-1==t.value&&(t.value="infinite"),i){case"duration":n.setAttribute("data-wow-duration",t.value+"ms");break;case"repeat":n.setAttribute("data-wow-iteration",t.value);break;case"delay":n.setAttribute("data-wow-delay",t.value+"ms")}}}),e}function f(){t(".initialize-swanimate").each(function(){var n=t.parseJSON(t(this).val());t(n).each(function(n,i){if(t("."+i.itemidentifier).attr("data-swanimate-type",i["data-swanimate-type"]),t("."+i.itemidentifier).attr("data-swanimate-direction",i["data-swanimate-direction"]),1==i.data){var r=Number(i["data-swanimate-delay"]),u=r;t("."+i.itemidentifier).each(function(){t(this).attr("data-swanimate-delay",u);u+=r})}else t("."+i.itemidentifier).attr("data-swanimate-delay",i["data-swanimate-delay"])})})}var i,r;return setTimeout(function(){t(".campaign-animation").css("visibility","visible");r=new WOW({animateClass:"animated",offset:100,mobile:!0});r.init()},700),i=function(){setTimeout(function(){f();var n=t("*[data-swanimate-type]"),i=0;n.each(function(){u(n[i]);i++})},500)},{init:i}}(0,jQuery);jQuery(INFORMA.animation.init());INFORMA=window.INFORMA||{};INFORMA.articleHeadline=function(n,t){"use strict";var r,i=t(".all-category").children("a");return r=function(){t(document).ready(function(){var r=t(".drop-content ul li:first-child input:radio[name=yesno]"),n=1;1==r.is(":checked")&&(r.prop("checked",!0),n=parseInt(n),n+=1);t(".drop-content #all-category").length>0&&(t(".drop-content #all-category")[0].checked?i.removeClass("select-gradient"):i.addClass("select-gradient"));t(document).on("click",".all-category a",function(){var u=t(this).children("a").children("span"),f=t(this).parent().hasClass("active"),i=t(this).children("span");!1===r.is(":checked")&&2==n&&(r.prop("checked",!0),n++);t(this).removeClass("active");t(this).children(".dropdown-content").removeClass("drop-content-active");u.removeClass("triangle-down");u.addClass("triangle-right");t(this).parent().toggleClass("active");t(this).siblings(".dropdown-content").toggleClass("drop-content-active");f?(i.removeClass("triangle-right"),i.addClass("triangle-down")):(i.addClass("triangle-right"),i.removeClass("triangle-down"))});t(document).on("click",".article-filter-section-for-mob .drop-content li",function(){var n=t('input[name="yesno"]:checked').parent(".custom-radio").siblings(".sub-seg").text();t("a#category-value").html('<span class="triangle-down"><\/span>'+n);t(".drop-content #all-category")[0].checked?i.removeClass("select-gradient"):i.addClass("select-gradient")})})},{init:r}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.articleHeadline.init());INFORMA=window.INFORMA||{};INFORMA.ArticleList=function(n,t){"use strict";var l,r,a,s,f,u,h,v,y,c,k=t("#article-list-section"),e=t("#article-list-section .list-container"),i=t("section .headline-list .list-container"),o=t(".category-filter-list .categoryFilter"),p=t("section .article-list"),w=t("section .headline-list"),b=INFORMA.global.siteCore.isExperience,d=INFORMA.Configs.urls.webservices,g={autoplay:!1,autoplaySpeed:4e3,sliderDots:!0,sliderInfinite:!0,slidesScroll:3,slidesShow:3,speed:400};return a=function(n){var i=n.data(),u={},t,r;if("object"==typeof i){for(t in i)i.hasOwnProperty(t)&&(r=i[t],u[t]=null!==r&&void 0!==r?r:g[t]);return u}},y=function(n){return n.find("li").size()},s=function(n,t){return Handlebars.compile(n)(t)},h=function(n,t,i,f){t.empty().html(n);r(t,i,f);t.show();var e=setTimeout(function(){clearTimeout(e);u();c()},500)},f=function(n){INFORMA.Spinner.Show(t(".article-list"));INFORMA.DataLoader.GetServiceData(d.GetArticles,{method:"GET",data:n,success_callback:function(n){var f="ovum-new"===t("body").data("sitetemplate"),r,u;void 0!==n.Articles&&n.Articles.length>0?(r=s(f?INFORMA.Templates.articleListItemsNewCo:INFORMA.Templates.articleListItems,{Articles:n.Articles}),e.slick("unslick"),p.show(),h(r,e,1,2)):p.hide();void 0!==n.Articles&&n.Headlines.length>0?(u=s(INFORMA.Templates.HeadlinesListItems,{Headlines:n.Headlines}),i.slick("unslick"),w.show(),h(u,i,2,4)):w.hide()},error_callback:function(){}})},u=function(){var n=k.find(".recomended-wrapper"),i=0,r=0,u=0,f=0;n.each(function(){var n=t(this).find(".content").outerHeight();n>i&&(i=n)});n.find(".content").css("min-height",i);n.each(function(){var n=t(this).find(".topics").outerHeight();n>u&&(u=n)});n.find(".topics").height(u);n.each(function(){var n=t(this).find(".SubSectors").outerHeight();n>f&&(f=n)});n.find(".SubSectors").height(f);n.each(function(){var n=t(this).find(".recomend-content").outerHeight();n>r&&(r=n)});n.find(".recomend-content").css("min-height",r)},c=function(){var r=i.find(".slick-slide"),n=0;r.each(function(){var i=t(this).outerHeight();i>n&&(n=i+0)});r.css("height",n)},v=function(){o&&o.on("change",function(n){n.preventDefault();var t=o.val();f(t)});u()},r=function(n,t,i){var u=y(n),r=a(n);void 0!=r&&n.slick({dots:r.sliderDots,infinite:r.sliderInfinite,speed:r.speed,autoplay:!b&&r.autoplay,autoplaySpeed:r.autoplaySpeed,slidesToShow:u>=r.slidesShow?r.slidesShow:u,slidesToScroll:r.slidesScroll,swipe:!INFORMA.global.device.isDesktop,responsive:[{breakpoint:1024,settings:{slidesToShow:u>=2?i:u,slidesToScroll:i}},{breakpoint:600,settings:{slidesToShow:u>=2?i:u,slidesToScroll:i}},{breakpoint:480,settings:{slidesToShow:t,slidesToScroll:t}}]})},l=function(){if(!t(".article-list").hasClass("no-carousel")){if(e.length>0&&r(e,1,2),i.length>0){var l=i.find("li"),s=l.length,h=INFORMA.global.device.viewportN;2===h&&s>=2||1===h&&s>=4||0===h&&s>=6?r(i,2,4):r(i,s,s)}o&&!b&&(t(".chosen-select").chosen({disable_search_threshold:10,width:"100%"}),v())}t(n).on("load",function(){u();c();t("#article-category-list li:first").children(".custom-radio").children("input").prop("checked",!0)});t(n).on("resize",function(){u()});t(document).on("click",".article-filter-section-for-mob .drop-content li p",function(n){n.preventDefault();var i=t(this).attr("value");f(i)});t(document).on("click","#article-category-list li",function(n){n.preventDefault();t(this).children(".custom-radio").children("input").prop("checked",!0);var i=t(this).attr("value");f(i)})},{init:l}}(this,jQuery);jQuery(INFORMA.ArticleList.init());INFORMA=window.INFORMA||{};INFORMA.articleSerchlisting=function(n,t){"use strict";var r,i=t(".product-finder-results").children(".container").children(".refine-container");return r=function(){t(document).ready(function(){t(document).on("click",".btn-group .dropdown-toggle",function(){t(this).siblings(".multiselect-container").children("li").hasClass("active")?t(this).toggleClass("select-gradient"):t(this).removeClass("select-gradient")});t(document).on("click",".resource-sector-search .button button",function(){var n=t(this).parents(".resource-finder").siblings(".product-finder-results");n.addClass("show-refine-container");n.find(".refine-container").show()});t(document).on("click",".close-refine-list",function(){t(this).parent(".refine-container").hide()});t(document).on("click",".refine-container-button .refine-button",function(){t(this).parent(".refine-container-button").siblings(".refine-container").toggle()});i.find(".heading").hasClass("heading-collapsed")&&(i.find(".heading").removeClass("heading-collapsed"),i.find(".panel-group").css("display","block"))})},{init:r}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.articleSerchlisting.init());INFORMA=window.INFORMA||{};INFORMA.freearticle=function(n,t){"use strict";var i,r,u,e,f,o,s;return e=function(){var n=i.find("h2"),t=i.find("h3");i.length>0&&(1===INFORMA.global.device.viewportN?(i.first().css("padding-top","35px"),i.last().css("padding-bottom","35px"),n.first().css("padding-top","0"),n.last().css("padding-bottom","35px"),t.first().css("padding-top","0"),t.last().css("padding-bottom","25px")):2===INFORMA.global.device.viewportN?(i.first().css("padding-top","25px"),i.last().css("padding-bottom","25px"),n.first().css("padding-top","0"),n.last().css("padding-bottom","25px"),t.first().css("padding-top","0"),t.last().css("padding-bottom","20px")):(i.first().css("padding-top","45px"),i.last().css("padding-bottom","45px"),n.first().css("padding-top","0"),n.last().css("padding-bottom","45px"),t.first().css("padding-top","0"),t.last().css("padding-bottom","30px")))},f=function(){r||(r=i.find("iframe"));r.each(function(){var i,n=t(this),r=n.width(),u=n.attr("width");r!==u&&(i=n.width()/n.attr("width"),n.css("height",n.attr("height")*i))})},o=function(){var r=t(n).width();u||(u=i.find("img"));u.each(function(){var n=t(this),f=n.width(),i=parseInt(n.css("margin-left")),u=parseInt(n.css("margin-right"));f+i+u>r&&(i>0&&n.css({"margin-left":"","padding-left":i}),u>0&&n.css({"margin-right":"","padding-right":u}))})},s=function(){i=t("#productDetails").find(".articlepage-freearticle");i.length>0&&(e(),f(),o());t(n).on("resize",function(){f()})},{init:s}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.freearticle.init());INFORMA=window.INFORMA||{};INFORMA.articleTileView=function(n,t){"use strict";var r,u,f,e,o,s,h,c,l,i,a=t(".brexitstyle .carousel-container"),v=t(".brexitstyle .prev-slide"),y=t(".brexitstyle .next-slide"),p=t(".brexitstyle .pc-body.Podcastslist .podcast-recoderbutton"),w=t(".brexitstyle .btn-Podcasts"),b=t(".brexitstyle button#carouselbutton"),k=t(".brexitstyle .carousel-container .brexit-list");return a.slick({vertical:!0,verticalSwiping:!0,infinite:!1,loop:!1,slidesToShow:3,slidesToScroll:3,arrows:!1}),e=function(){v.click(function(){t(this).parents(".carousel-section").find(".carousel-container").slick("slickNext")})},o=function(){y.click(function(){t(this).parents(".carousel-section").find(".carousel-container").slick("slickPrev")})},s=function(){p.click(function(){t(this).parent(".podcast-recoder").hide();t(this).parent(".podcast-recoder").siblings(".carousel-section").show();t(this).parents(".carousel-section").show()})},h=function(){w.click(function(){t(this).closest(".pc-body").next("div").addClass("demo")})},c=function(){b.click(function(){t(this).closest(".demo").removeClass("demo")})},l=function(){k.click(function(i){var r=t(this).find("input[type=hidden]:first").val(),e=t(this).hasClass("brexit-list"),f=t(this).parents(".carousel-section"),u=t(this).parents(".carousel-section").siblings(".podcast-recoder");e&&(void 0!=r&&null!=r&&""!=r?r.includes("soundcloud.com")?(u.show(),u.find("iframe").attr("src",r),u.find(".brexit-list").empty(),u.find(".brexit-list").append(i.delegateTarget.innerHTML),f.hide()):(n.open(r),u.hide(),f.show()):(u.hide(),f.show()))})},r=function(){t(".brexitstyle .carousel-container").each(function(){f=t(this).find(".slide-container").length;i=t(this).parents(".carousel-section").find(".carousel-slide-button");i.show();f<=3?i.hide():i.show()})},u=function(){r();e();o();s();h();c();l()},{init:u}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.articleTileView.init());INFORMA=window.INFORMA||{};INFORMA.articletech=function(n,t){"use strict";var at,ut,ft,b,et,ot,o,h,a,st,c,k,l,v,d,vt,yt,g,u,nt,f,e,s,tt,ht,pt,i,it,dt,gt,rt,y,wt,p,r,bt="",w="Segments",ct="SearchInput",ni=document.documentElement,kt=(ni.style.transition,0),ti=t(this).hasClass("allSelected"),ii=4,lt=[];return document.addEventListener("readystatechange",function(n){"complete"===n.target.readyState&&t(".grid-item").addClass("grid-show")}),t(function(){ut();rt();t(document).ready(function(){var e,f,r,i;if(n.location.href.split("?").length>1){if(e=h(),t.each(e,function(n,i){if(null!=i.Segment&&(t("#"+i.Segment+" p").eq(0).addClass("selected"),t("#"+i.Segment).find(".input-checkbox").eq(0).prop("checked",!0),null!=i.SubSegment)){var r=t("#"+i.Segment).find(".sub-seg-mob li").not(".selectall").length,u=i.SubSegment.length;t.each(i.SubSegment,function(n,i){t("#"+i).find("p").addClass("selected");t("#"+i).find(".input-checkbox").prop("checked",!0)});r==u&&t(".selectall .input-checkbox").prop("checked",!0)}}),f=c(),null!=f)for(r=f.split(","),i=0;i<productLineArray.length-1;i++)null!=t("#"+r[i])&&(t("#"+r[i]).find("p").addClass("selected"),t("#"+r[i]).find(".input-checkbox").prop("checked",!0));v();u()}})}),t(document).ready(function(){t(document).on("click",".menu a",function(){var n=t(this).parent(".menu").siblings(".menu"),i=t(this).children("span");n.removeClass("active");n.children(".dropdown-content").removeClass("drop-content-active");n.children("a").children("span").removeClass("triangle-down");n.children("a").children("span").addClass("triangle-right");t(this).parent().toggleClass("active");t(this).siblings(".dropdown-content").toggleClass("drop-content-active");t(this).parent().hasClass("active")?(i.removeClass("triangle-right"),i.addClass("triangle-down")):(i.addClass("triangle-right"),i.removeClass("triangle-down"))});t(".article-list-filter #closeFilterBtn").on("click",function(){var n=t(".article-list-filter"),i=t("body"),r=t("html");n.removeClass("active");t("#showArticleFiltersBtn").text("Select filters");r.removeClass("showfilters");i.removeClass("showfilters")});t("#showArticleFiltersBtn").on("click",function(){var n=t(".article-list-filter"),i=t("body"),r=t("html");n.toggleClass("active");n.hasClass("active")?(t(this).text("Search"),r.addClass("showfilters"),i.addClass("showfilters")):(t(this).text("Select filters"),r.removeClass("showfilters"),i.removeClass("showfilters"),p(t("#txtArticleSearchText").val()))});t(".segmanet-head, .sub-segment").click(function(){t(this).siblings("label").children("input").trigger("change")});t(".segmanet-head-mob").on("click",function(){t(this).children().hasClass("sub-seg-mob")&&t(this).find(".sub-seg-mob").toggleClass("active-slide");t(this).children("span").hasClass("triangle-right")?(t(this).children("span").removeClass("triangle-right"),t(this).children("span").addClass("triangle-down")):(t(this).children("span").removeClass("triangle-down"),t(this).children("span").addClass("triangle-right"))});t(document).on("click",".active-slide .selectall",function(){ti?(t(this).siblings("li").children("label").children("input[type=checkbox]").prop("checked",!1),t(this).removeClass("allSelected")):(t(this).siblings("li").children("label").children("input[type=checkbox]").prop("checked",!0),t(this).addClass("allSelected"))});t(".drop-options li").each(function(){t(this).children("ul").hasClass("sub-seg-mob")||(t(this).children("span").addClass("de-active"),t(this).children("label").addClass("active"))});t(".brands,.sgmnt-menu").mouseout(function(n){for(var i=n.relatedTarget;null!=i;){if(i==this)return;i=i.parentNode}t(this).removeClass("active");t(this).find(".drop-content-active").removeClass("drop-content-active");t(this).find(".triangle-down").addClass("triangle-right").removeClass("triangle-down")})}),t(document).on("click",".clearAllArticlesFilters",function(){n.location=n.location.href.split("?")[0]}),p=function(n){y=n;""!=n&&(t("#filterpageno").val("0"),o(),v(),a(),vt(y))},wt=function(n){var i={data:JSON.stringify({SegmentAndSubSegments:h(),BrandID:c(),ProductLineId:t("#productlinepre").val(),SearchKeyword:n,CurrentPage:t("#CurrentPage").val(),RequestType:"Article",PageNo:1})};t.ajax({url:"/client/search/GetAutocompleteList",type:"POST",data:i,success:function(n){t.each(n.Articles,function(n,i){-1==t.inArray(i.Title,lt)&&lt.push(i.Title)});t("#txtArticleSearchText").closest(".search-bar").addClass("ui-front");t("#txtArticleSearchText").autocomplete({source:lt,minLength:ii,select:function(n,t){var i=(t.item.label,t.item.value);p(i);u()},create:function(n){t("#ui-id-1").css("width",n.target.offsetWidth)},open:function(n){t("#ui-id-1").css("width",n.target.offsetWidth)}}).on("input",function(n){13===n.which&&t("#ui-id-1").hide()}).off("focus blur").on("focus blur",function(n){var i=n.target.value;i.length>3&&t(n.target).autocomplete("search",i)});t("body").click(function(n){n.target!==t("#txtEventSearchText")[0]&&t("#txtEventSearchText").autocomplete("close")})},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})},t(".article-list-filter .search-bar i.search-icon").click(function(){p(t("#txtArticleSearchText").val());u()}),t("#txtArticleSearchText").on("input",function(n){var i=n.keyCode?n.keyCode:n.which,t=this.value;""!=t&&t.length>0&&("13"==i?(p(t),u()):wt(t))}),t(document).on("click",".article-cross",function(){var n=t(this).attr("data-attr-id"),r=t(this).attr("data-attr-valueofoption"),i,u,f;g(n,r);t("#"+r+" input").prop("checked",!1);"Segments"!=n&&"SubSegments"!=n||("Segments"==n&&t("#"+r+" .sub-seg-mob li").find("p").each(function(){it=t(this).parent().attr("id");g("SubSegments",it)}),b("Segments"));n==ct&&(y="");"articlebrands"==n&&k(n);INFORMA.Spinner.Show(t("body"));i=parseInt(t("#filterpageno").val());u=(t("#filterpagesize").val(),t("#showless").val());i="1"==i?1:i;kt="true"==u?i-1:i+1;INFORMA.Spinner.Show(t("body"));f={data:JSON.stringify({SegmentAndSubSegments:h(),BrandID:c(),SearchText:t("#searchText").val(),CurrentPage:t("#CurrentPage").val(),ProductLineId:t("#productlinepre").val(),MaxItemCount:t("#maxitemcount").val(),ArticleSearchText:y,PageNo:kt})};dt=!1;st(bt,"POST",f,!0)}),st=function(n,i,r,u){t.ajax({url:"/client/search/GetFilteredArticlesList",type:"POST",data:r,success:function(n){if(u&&(t("#article-list").empty(),t(".no-records").show()),t(t(n).find(".artical-list-outer > .artcl-list")).length)return t(".no-records").hide(),t("#article-list").html(""),t("#article-list").html(t(n).find("#article-list")),void rt();INFORMA.Spinner.Hide()},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})},a=function(){var n=(t(this).parents(".wrapper-dropdown-1").attr("name"),parseInt(t("#filterpageno").val())+1),i;t("#filterpagesize").val();n="1"==n?1:n;i={data:JSON.stringify({SegmentAndSubSegments:h(),BrandID:c(),SearchText:t("#txtArticleSearchText").val(),CurrentPage:t("#CurrentPage").val(),ProductLineId:t("#productlinepre").val(),ArticleSearchText:y,PageNo:n})};t("#filterpageno").val(n);st(bt,"POST",i,!0)},t(document).on("click","#articlelistshowmore",function(){a()}),rt=function(){var n=parseInt(t("#totalresultcount").val());parseInt(t("#PageNo").val());parseInt(t("#filterpageno").val());parseInt(t("#TotalPages").val())<=n?(t("#articlelistshowmore").addClass("hide-article"),t("#articlelistshowmore").hide()):(t("#articlelistshowmore").removeClass("hide-article"),t("#articlelistshowmore").show())},ut=function(){t(".drop-options .input-checkbox").change(function(){var n=t(this).parent().next(),c=t(this).parent(".round-checkbox").parent(),h,e,o,s,f;if(this.checked)t(c).hasClass("selectall")?(e=t(this).parent(".round-checkbox").parent().attr("parentsegmentid"),n=t("#"+e).find(".segmanet-head").eq(0),h=t(n).parent().children(".round-checkbox").siblings("ul").hasClass("sub-seg-mob"),h&&(t(n).parent().children("ul").children("li").not(".selectall").children("label").children("input[type=checkbox]").prop("checked",!0),t(n).parent().children("ul").children("li").not(".selectall").children("p").addClass("selected"))):(h=t(this).parent(".round-checkbox").siblings("ul").hasClass("sub-seg-mob"))?(t(this).parent(".round-checkbox").siblings("ul").children("li").not(".selectall").children("label").children("input[type=checkbox]").prop("checked",!0),t(this).parent(".round-checkbox").siblings("ul").children("li").not(".selectall").children("p").addClass("selected")):(e=n.parent().attr("parentsegmentid"),t("#"+e+" p").eq(0).addClass("selected"),t("#"+e).find(".input-checkbox").eq(0).prop("checked",!0)),ft(n),a();else if(t(c).hasClass("selectall"))e=t(this).parent(".round-checkbox").parent().attr("parentsegmentid"),n=t("#"+e).find(".segmanet-head").eq(0),t(n).hasClass("segmanet-head")?i=t(n).parents(".wrapper-dropdown-1").attr("id"):t(n).hasClass("sub-segment")&&(i="SubSegments"),r=t(n).parent().attr("id"),t("#"+i+"_"+r).find(".article-cross").click(),"Segments"==i&&t("#"+r+" input").find("p").each(function(){t(this).removeClass("selected")});else{if(t(n).hasClass("segmanet-head")?i=t(n).parents(".wrapper-dropdown-1").attr("id"):t(n).hasClass("sub-segment")?i="SubSegments":t(n).hasClass("single-level-dropdown")&&(i=t(n).parents(".wrapper-dropdown-1").attr("id")),r=t(n).parent().attr("id"),t("#"+i+"_"+r).find(".article-cross").click(),"Segments"==i){if(o=JSON.parse(t("#"+i).attr("data-value-segment-and-subsegment")),o.length>0){for(f=0;f<o.length;f++)if(o[f].Segment==r){o.remove(o[f]);break}t("#"+i).attr("data-value-segment-and-subsegment",JSON.stringify(o))}t("#"+r+" input").attr("checked",!1)}if("articlebrands"==i){if(s=t("#"+i).attr("data-value-brands").split(","),s.length>0){for(f=0;f<s.length;f++)if(s[f]==r){t("#"+i).find("p").removeClass("selected");s.remove(s[f]);break}t("#"+i).attr("data-value-brands",s);a()}t("#"+r+" input").attr("checked",!1)}}v();u()})},ft=function(n){if(n==ct)d();else{var i="";t(n).text();t(n).hasClass("segmanet-head")?i=t(n).parents(".wrapper-dropdown-1").attr("id"):t(n).hasClass("sub-segment")?i="SubSegments":t(n).hasClass("single-level-dropdown")&&(i=t(n).parents(".wrapper-dropdown-1").attr("id"));t(n).parent().attr("id");t(n).parent().attr("attr-index");i!=w&&"SubSegments"!=i||(t(n).addClass("selected"),i=w,b(i));"articlebrands"==i&&(t(n).addClass("selected"),k(i))}},b=function(n){nt=[];t("#"+n+" .drop-options .segmanet-head-mob").each(function(){var i,r,u,n;f=this;i=(t(this).find(".segmanet-head"),t(f).find("p.segmanet-head").hasClass("selected"));r=t(f).find(".sub-seg-mob li").not(".selectall");s={};e=t(f).attr("id");i&&(s.Segment=e);u=0;null!=r.length&&(gt={},n=[],t(r).find("p").each(function(){t(this).hasClass("selected")&&(n.push(t(this).parent().attr("id")),u++)}),u>0?(s.Segment=e,s.SubSegment=n):i&&(n=[],t(r).each(function(){n.push(t(this).attr("id"))}),s.SubSegment=n.length>0?n:null));(u>0||i)&&nt.push(s)});0==nt.length?t("#"+w).attr("data-value-segment-and-subsegment",""):t("#"+w).attr("data-value-segment-and-subsegment",JSON.stringify(nt))},ot=function(){var n=t("#txtArticleSearchText").val();return""!=n&&"View Search"!=n},h=function(){var n=t("#"+w).attr("data-value-segment-and-subsegment");return null!=n&&""!=n?JSON.parse(n):null},c=function(){var n=t("#articlebrands").attr("data-value-brands");return null!=n&&""!=n?n:null},k=function(n){tt=[];t("#"+n+" .drop-options .brands-item").each(function(){ht=this;var n=t(ht).find("p").hasClass("selected");pt=t(ht).attr("id");n&&tt.push(pt)});0==tt.length?t("#"+n).attr("data-value-brands",""):t("#"+n).attr("data-value-brands",tt)},l=function(n,i,r,u,f){var e;e=f?'<div class="unit articlelist-hidden-filter" style="display:none;" id="'+n+"_"+i+'" data-attr="'+i+'"><label class="value">'+r+'<\/label> <label data-attr-id="'+n+'" data-attr-x2="'+u+'" data-attr-valueofoption="'+i+'"  class="cross">X<\/label><\/div>':'<div class="unit" id="'+n+"_"+i+'" data-attr="'+i+'"><label class="value">'+r+'<\/label> <label data-attr-id="'+n+'" data-attr-x2="'+u+'" data-attr-valueofoption="'+i+'"  class="article-cross">X<\/label><\/div>';t(".section").append(e)},v=function(){(t(".section").empty(),et())&&t(".section").append('<div class="unit clearAllArticlesFilters hideclass"><label class="value">Clear All Filters<\/label><label style="margin:0 10px;cursor:pointer">X<\/label><\/div>');t("#Segments .drop-options .segmanet-head-mob").each(function(){var i;f=this;var o=t(this).find(".segmanet-head"),s=t(this).find("p").hasClass("selected"),n=t(f).find(".sub-seg-mob li").not(".selectall");if(!t(n).hasClass("selectall")){if(e=t(f).attr("id"),s){var r=t(o).text(),u=t(f).attr("attr-index"),h=t("#"+e).find(".sub-seg-mob li").not(".selectall").find("p").hasClass("selected"),i=t("#"+e).find(".sub-seg-mob li").not(".selectall").length;h||0!=i?l("Segments",e,r,u,!0):l("Segments",e,r,u)}i=0;null!=n.length&&t(n).find("p").each(function(){if(t(this).hasClass("selected")){i++;it=t(this).parent().attr("id");var n=t(this).text(),r=t(this).parent().attr("attr-index");l("SubSegments",it,n,r)}})}});t("#articlebrands .drop-options li").each(function(){var r=t(this).find(".single-level-dropdown"),u=t(this).find("p").hasClass("selected"),f=t(this).attr("id"),n,i;u&&(n=t(r).text(),i=t(this).attr("attr-index"),l("articlebrands",f,n,i))});d()},o=function(){t("#Input_ArticleSearchText").length>0&&t("#Input_ArticleSearchText").remove()},d=function(){var n=t.trim(t("#txtArticleSearchText").val()),i;""!=n?(o(),i='<div class="unit" id="Input_ArticleSearchText"><label class="value">'+n+'<\/label> <label data-attr-id="SearchInput" class="article-cross">X<\/label><\/div>',t(".section").append(i)):o()},vt=function(n){var i=t.trim(n),r;""!=i?(o(),r='<div class="unit" id="Input_ArticleSearchText"><label class="value">'+i+'<\/label> <label data-attr-id="SearchInput" class="article-cross">X<\/label><\/div>',t(".section").append(r)):o()},yt=function(n){n?t(".no-records").show():t(".no-records").hide()},g=function(n,i){if(n==ct)t("#Input_ArticleSearchText").remove(),t("#txtArticleSearchText").val("");else if(t("#"+i+" p").removeClass("selected"),t("#"+n+"_"+i).remove(),"Segments"==n||"SubSegments"==n){var r=t("#"+i).attr("parentSegmentId"),f=t("#"+r).find(".sub-seg-mob li").not(".selectall").find("p").hasClass("selected"),e=t("#"+r).find(".sub-seg-mob li").not(".selectall").length;f||e>0&&(t("#"+r+" p").removeClass("selected"),t("#Segments_"+r).remove(),t("#"+r+" .round-checkbox").find("input[type=checkbox]").prop("checked",!1))}u()},et=function(){return t(".drop-options p.selected").length>=1},u=function(){var n=t(".drop-options p.selected").length,i=t(".articlelist-hidden-filter").length;ot()&&n++;i>0&&(n-=i);1==n?(t(".filter-section .heading").show(),t(".filter-section .heading").text("Active Filters ("+n+")"),t(".clearAllArticlesFilters").addClass("hide-clear-filter")):n>1?(t(".filter-section .heading").show(),t(".clearAllArticlesFilters").removeClass("hide-clear-filter"),t(".filter-section .heading").text("Active Filters ("+n+")")):(t(".filter-section .heading").hide(),t(".clearAllArticlesFilters").addClass("hide-clear-filter"))},at=function(){0!=t("#articlesection").length&&(ut(),ft(),b(),et(),ot(),o(),h(),c(),k(),l(),v(),d(),yt(),g(),u(),rt())},{init:at}}(this,jQuery);jQuery(INFORMA.articletech.init());INFORMA=window.INFORMA||{};INFORMA.bannercarousel=function(n,t){"use strict";var s,h,c,l,i,a,v,r,u,f,y,e,p,w,o,b,k=t(".banner-carousel .one-col-ban-carousel");return w=function(i){void 0!==t(i).data("rtl")&&(p=t(i).data("rtl"));!0===p&&!0===r&&t(i).on("init",function(){n.setInterval(function(){t(i).slick("slickPrev")},e)})},l=function(n,i){switch(n){case"theme-1":n="theme-1";break;case"theme-2":n="theme-2";break;case"theme-3":n="theme-3";break;case"theme-4":n="theme-4";break;case"theme-5":n="theme-5"}t(i).find("ul.slick-dots").length>0&&(t(i).find("ul.slick-dots").removeClass("theme-1"),t(i).find("ul.slick-dots").removeClass("theme-2"),t(i).find("ul.slick-dots").removeClass("theme-3"),t(i).find("ul.slick-dots").removeClass("theme-4"),t(i).find("ul.slick-dots").removeClass("theme-5"),t(i).find("ul.slick-dots").addClass(n))},i=function(n){t(n).find(".one-col-ban-tile").each(function(){if(t(this).hasClass("slick-active")){var i=t(this).attr("data-theme");l(i,n)}})},h=function(n){t(n).find(".one-col-ban-tile").each(function(){t(this).find(".image-wrapper").find("img").length>0?t(this).addClass("banner-carousel-with-img"):t(this).addClass("banner-carousel-without-img")})},a=function(n){t(n).find("ul").length>0&&t(n).find("ul").find("li").click(function(){i(n)})},v=function(n){t(n).find(".slick-arrow").length>0&&t(n).find(".slick-arrow").click(function(){i(n)})},c=function(n){t(n).slick({arrows:!0,infinite:!0,draggable:!1,autoplay:r,dots:u,slidesToShow:f,slidesToScroll:f,speed:y,autoplaySpeed:e,responsive:[{breakpoint:1348,settings:{slidesToShow:1,slidesToScroll:1}}]})},o=function(i){if(t(n).width()<=991){if(t(i).find(".one-col-ban-tile").length>0){var r=0;t(i).find(".one-col-ban-tile").each(function(){var n=t(this).outerHeight();n>r&&(r=n)});t(i).find(".one-col-ban-tile").each(function(){t(this).css({"min-height":r+"px"})})}}else t(i).find(".one-col-ban-tile").length>0&&t(i).find(".one-col-ban-tile").each(function(){t(this).css({"min-height":"auto"})})},b=function(i){t(n).width()>=1349&&(u=1==t(i).data("itemsperframe")&&t(i).data("pagination"))},s=function(){k.each(function(){var n=this;r=t(this).data("autorotate");u=t(this).data("pagination");f=t(this).data("itemsperframe");y=t(this).data("transitionspeed");e=t(this).data("slideduration");h(this);w(this);b(this);c(this);i(this);a(this);v(this);this&&setTimeout(function(){o(n)},200);t(this).on("afterChange",function(){i(this)})});t(n).on("resize",function(){k.each(function(){var n=this;this&&setTimeout(function(){o(n)},100)})})},{init:s}}(this,jQuery);jQuery(INFORMA.bannercarousel.init());INFORMA=window.INFORMA||{};INFORMA.brandList=function(n,t){"use strict";var i,r,u=t("#product-brands-list-section, #related-products-section");return r=function(){t(".product-brands-list .view-all-mobile-container").on("click",function(){2==INFORMA.global.device.viewportN&&(t(this).prev().find(".col-xs-12 ").show(),t(this).hide())})},i=function(){u.length>0&&r(u)},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.brandList.init());INFORMA=window.INFORMA||{};INFORMA.brandList=function(n,t){"use strict";var i,r=t(".product-brands-list");return r.find(".btn-showMore"),i=function(){},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.brandList.init());INFORMA=window.INFORMA||{};INFORMA.BrandPortfolio=function(n,t){"use strict";var r=t(".portfolio .select-filter"),i=t(".portfolio #showFiltersBtn"),e=t('<a href="#" id="closeFilterBtn">Hide filters<\/a>'),o=t(".search-icon"),f=t("body"),u=!1;return{init:function(){r.append(e);e.click(function(n){n.preventDefault();f.css("overflow-y","");r.hide();i.text("Select filters");i.attr("data-state","select");u=!1});i.click(function(n){n.preventDefault();u=!u;u?(f.css("overflow-y","hidden"),r.show(),i.text("Search"),i.attr("data-state","search")):(o.click(),f.css("overflow-y",""),r.hide(),i.text("Select filters"),i.attr("data-state","select"))});t(".segmanet-head, .sub-segment, .sub-seg").click(function(){t(this).siblings("label").trigger("click")})}}}(0,jQuery);jQuery(INFORMA.BrandPortfolio.init());INFORMA=window.INFORMA||{};INFORMA.campaignbackground=function(n,t){"use strict";var i,r;return r=function(n){var f=t("body").height(),r=t(".scroll-down"),e=t("span.scroll-down").length,f=t("body").height(),o=t("#informa-main-header").height(),s=t("footer").height(),i=t("#cookieBanner").height(),u;null!=i&&void 0!=i||(i=170);u=parseInt(f)-(parseInt(o)+parseInt(s)+parseInt(i)+700);r.removeClass("hide");e>0&&(n>=u?r.addClass("hide"):r.removeClass("hide"))},i=function(){n.addEventListener("scroll",function(){var n=this.scrollY;r(n)})},{init:i}}(this,jQuery);jQuery(INFORMA.campaignbackground.init());INFORMA=window.INFORMA||{};INFORMA.campaigncarousel=function(n,t){"use strict";var r,u,i=t(".campaign-carousel"),f=i.data("autorotate"),o=i.data("pagination"),s=i.data("itemsperframe"),h=i.data("transitionspeed"),e=i.data("slideduration");return void 0!==i.data("rtl")&&(u=i.data("rtl")),!0===u&&!0===f&&i.on("init",function(){n.setInterval(function(){i.slick("slickPrev")},e)}),r=function(){t(".campaign-carousel").slick({arrows:!1,autoplay:f,dots:o,slidesToShow:s,speed:h,autoplaySpeed:e})},{init:r}}(this,jQuery);jQuery(INFORMA.campaigncarousel.init());INFORMA=window.INFORMA||{};INFORMA.CommunitySegment=function(n,t){"use strict";var i;return t("#myCarousel"),i=function(){if(0!=t("#myCarousel").length){var i,r=!1;t(document).ready(function(){function e(n){o.removeClass("current").eq(n).addClass("current");s.hide().eq(n).show();u=setTimeout(function(){f=(n+1)%o.length;e(f)},4e3)}var u,o=t("li.listgroup-item"),s=t(".carousel-inner .item"),f=0;e(f);t("#myCarousel .listgroup").hover(function(){n.clearTimeout(u)},function(){if(r)return 0==t("li.listgroup-item.current").length&&i.length>0&&t(i).attr("data-slide-to"),!1;e(f)});n.innerWidth<768&&n.clearTimeout(u);t("li.listgroup-item").hover(function(){if(r)return!1;var i=t(this).attr("data-slide-to");t("li.listgroup-item").removeClass("current");t(this).addClass("current");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+i+'"]').show().addClass("current");i=parseInt(i);t(".carousel-inner .item:nth-child("+(i+1)+")").show();n.clearTimeout(u)});t("li.listgroup-item").click(function(){i=t(this);r=!0;var f=t(this).attr("data-slide-to");t("li.listgroup-item").removeClass("current");t(this).addClass("current");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+f+'"]').show().addClass("current");f=parseInt(f);t(".carousel-inner .item:nth-child("+(f+1)+")").show();n.clearTimeout(u)});t(".carousel-inner").hover(function(){if(0==t("li.listgroup-item.current").length&&i.length>0){var n=t(i).attr("data-slide-to");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+n+'"]').show().addClass("current");t("li.listgroup-item").removeClass("current");t('li.listgroup-item[data-slide-to="'+n+'"]').addClass("current")}});t(".carousel-controls .carousel-control").click(function(n){var u,e,f,i=t(".carousel-inner .item"),o=i.filter(":visible"),s=i.index(o),r=t(this).hasClass("right")?s+1:s-1,h=i.length-1;r=r>h?0:r<0?h:r;u=i.eq(r);e=i.index(u);f=t('li.dropgroup-item[data-slide-to="'+e+'"]');u.addClass("current").show();o.removeClass("current").hide();f.addClass("current");t(".content-head").text(f.text());n.preventDefault()});t("#divsegment").click(function(){t(this).toggleClass("active")});setTimeout(function(){var n=t("#divsegment li:nth-child(1)").html();t(".content-head").text(n)},30);t("li.dropgroup-item").click(function(){i=t(this);r=!0;var n=t(this).attr("data-slide-to");t("li.dropgroup-item").removeClass("current");t(this).addClass("current");t(".carousel-inner .item").hide().removeClass("current");t('.carousel-inner .item[data-slide-to="'+n+'"]').show().addClass("current");n=parseInt(n);t(".carousel-inner .item:nth-child("+(n+1)+")").show();t(".content-head").text(t(this).text())})})}},function(){},{init:i}}(this,jQuery);jQuery(INFORMA.CommunitySegment.init());INFORMA=window.INFORMA||{};INFORMA.homeContactUs=function(n,t){"use strict";var r,u,f,i=t("#contactus-section"),e=(i.find(".panel-default"),i.find(".panel-heading")),o=i.find(".panel-body");return f=function(){var n=INFORMA.global.device.viewportN;0!==n&&1!==n||o.each(function(){var n=jQuery(this).find(".btn-container").outerHeight()-30;n>0?jQuery(this).find(".content-wrapper-cta").css("margin-bottom",n+"px"):jQuery(this).find(".content-wrapper-cta").css("margin-bottom","15px")})},u=function(n){2===INFORMA.global.device.viewportN&&n.find(".panel-default").each(function(n){n<2?jQuery(this).find(".panel-heading").removeClass("collapsed"):jQuery(this).find(".collapse").collapse("hide")})},e.on("click",function(n){n.stopPropagation();jQuery(this).hasClass("collapsed")?(jQuery(this).removeClass("collapsed"),jQuery(this).parent().find(".collapse").collapse("show")):(jQuery(this).addClass("collapsed"),jQuery(this).parent().find(".collapse").collapse("hide"))}),r=function(){i.length>0&&(u(i),f())},{init:r}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.homeContactUs.init());INFORMA=window.INFORMA||{};INFORMA.ContactUs=function(n,t){"use strict";var i,r;return i=function(){var n=t(".contactUsPage-contactUs").find(".submit-status[data-status='success']").parents(".tab-pane").attr("id");t('.contactUsPage-contactUs .nav-tabs a[href!="#'+n+'"]').removeClass("active");t('.contactUsPage-contactUs .nav-tabs a[href="#'+n+'"]').tab("show").addClass("active")},r=function(){i();var r=document.location.hash,u="tab_";r?t('.contactUsPage-contactUs .nav-tabs a[href="'+r.replace(u,"")+'"]').tab("show").addClass("active"):(t('.contactUsPage-contactUs a[data-toggle="tab"]:first').tab("show").addClass("active"),i());t('.contactUsPage-contactUs a[data-toggle="tab"]').on("shown.bs.tab",function(i){INFORMA.Analytics.trackFormEvents(t(this),"Open");n.location.hash=i.target.hash.replace("#","#"+u)})},{init:r}}(this,jQuery);jQuery(INFORMA.ContactUs.init());INFORMA=window.INFORMA||{};INFORMA.CookiePolicy=function(n,t){"use strict";var i,r,u,f,e=0,o="cookiepolicybanneraccepted",s="yes";return r=function(){t("body").find("#cookieBanner").show();t("#cookieBanner:visible").length&&(INFORMA.global.device.isDesktop?t(".mainNavigation").hasClass("navbar-fixed-top")&&(t(".mainNavigation").css("top",t("#cookieBanner").outerHeight()),t("#pdp-navigation").css("top",t("#cookieBanner").outerHeight()+t(".mainNavigation").outerHeight())):t(".mobileNavigation").hasClass("navbar-fixed-top")&&(t(".mobileNavigation").css("top",t("#cookieBanner").outerHeight()),t("#pdp-navigation").css("top",t("#cookieBanner").outerHeight()+t(".mobileNavigation").outerHeight())));t("#cookieBanner a.close").on("click",function(n){n.preventDefault();f();INFORMA.DataLoader.GetServiceData("/client/ajax/SetCookie",{method:"Post",data:JSON.stringify({key:o,value:s,expires:e}),success_callback:function(){}})})},u=function(n){for(var t,r=n+"=",u=document.cookie.split(";"),i=0;i<u.length;i++){for(t=u[i];" "===t.charAt(0);)t=t.substring(1,t.length);if(0===t.indexOf(r))return t.substring(r.length,t.length)}return null},f=function(){t("body").find("#cookieBanner").hide();t(".mainNavigation").hasClass("navbar-fixed-top")&&t(".mainNavigation").css("top",0);t(".mobileNavigation").hasClass("navbar-fixed-top")&&t(".mobileNavigation").css("top",0);t("#pdp-navigation").hasClass("navbar-fixed-top")&&t("#pdp-navigation").css("top",t(".mainNavigation").outerHeight())},i=function(){var n=t("input.cookieDuration").val()?t("input.cookieDuration").val():365;e=parseInt(n);u(o)!==s&&r()},{init:i}}(0,jQuery);jQuery(INFORMA.CookiePolicy.init());INFORMA=window.INFORMA||{};INFORMA.ctaicon=function(n,t){"use strict";var e,o,s,h,c,r,l,a,u,v,y,f,p=t(".cta-icon-tile"),w=t(".cta-icon-tile.three-column"),b=t(".cta-icon-tile.four-column"),i=t(".cta-icon-carousel");return y=function(i){void 0!==t(i).data("rtl")&&(v=t(i).data("rtl"));!0===v&&!0===r&&t(i).on("init",function(){n.setInterval(function(){t(i).slick("slickPrev")},u)})},o=function(){w.find(".content").find("p.small").length>0&&w.find(".content").find("p.small").each(function(){var n=t(this).text().trim(),i,r;void 0!=n&&(i=80,n.length>i&&(r=n.substring(0,i)+" ...",t(this).html(r)))})},s=function(){b.find(".content").find("p.small").length>0&&b.find(".content").find("p.small").each(function(){var n=t(this).text().trim(),i,r;void 0!=n&&(i=65,n.length>i&&(r=n.substring(0,i)+" ...",t(this).html(r)))})},h=function(){p.find(".content").find("a.primary-text-link-bold").length>0&&p.find(".content").find("a.primary-text-link-bold").each(function(){var n=t(this).text().trim(),i,r;void 0!=n&&(i=17,n.length>i&&(r=n.substring(0,i)+" ...",t(this).html(r)))})},f=function(){if(i.find(".cta-icon-car-tile").find("a.primary-text-link-bold").length>0){var n=0;i.find(".cta-icon-car-tile").find("a.primary-text-link-bold").each(function(){var i=t(this).outerHeight();i>n&&(n=i)});i.find(".cta-icon-car-tile").find("a.primary-text-link-bold").each(function(){t(this).css({"min-height":n+"px"})})}},c=function(n){t(n).slick({arrows:!0,draggable:!1,autoplay:r,dots:!1,slidesToShow:l,speed:a,autoplaySpeed:u,responsive:[{breakpoint:1365,settings:{slidesToShow:5}},{breakpoint:1024,settings:{slidesToShow:4}},{breakpoint:767,settings:{slidesToShow:2}},{breakpoint:321,settings:{slidesToShow:1}}]})},e=function(){i.each(function(){r=t(this).data("autorotate");l=t(this).data("itemsperframe");a=t(this).data("transitionspeed");u=t(this).data("slideduration");y(this);c(this)});o();s();h();setTimeout(function(){f()},100);t(n).on("resize",function(){setTimeout(function(){f()},100)})},{init:e}}(this,jQuery);jQuery(INFORMA.ctaicon.init());INFORMA=window.INFORMA||{};INFORMA.PreferenceTab=function(n,t){"use strict";var r,u,f,e,i,s=t(".preference .panel-body li .custom-checkbox"),h=t(".preference .panel-body .custom-checkbox input"),c=t(".preference .panel-heading .custom-checkbox input"),o=0;return f=function(){t(".preference .panel-body").each(function(){var n=t(this).find('input[type="checkbox"]').length,i=t(this).find('input[type="checkbox"]:checked').length;n>0&&n==i&&t(this).parents(".panel").find(".panel-heading").find('input[type="checkbox"]').attr("checked","checked")})},e=function(n,t){INFORMA.DataLoader.GetServiceData("/client/ajax/UpdateCookieAreaOfInterest",{method:"Post",data:JSON.stringify({key:n,value:t,expires:365}),success_callback:function(){}})},function(n){var t=document.cookie.match(new RegExp(n+"=([^;]+)"));return t&&(t=JSON.parse(t[1])),t},i=function(n,i){var u=n.parents(".panel-default").eq(0),s=u.find("span.count"),f=u.find(".panel-body input[type=checkbox]:checked"),h=u.find(".panel-body input[type=checkbox]"),c=t(".preference .panel-body").find("input[type=checkbox]:checked"),r=[];i||n.prop("checked")||n.parents(".panel").eq(0).find(".panel-heading input").prop("checked",!1);f&&(o=f.length,s.text(o));jQuery.each(c,function(){!0===t(this).prop("checked")&&r.push(t(this).val())});r=r?r.join(","):null;f.length===h.length&&n.parents(".panel").eq(0).find(".panel-heading input").prop("checked",!0);e("USR_DETAIL",r)},u=function(){c.on("click",function(){var n=t(this).parents(".panel").eq(0).find(".panel-body input");!0===t(this).prop("checked")?jQuery.each(n,function(){!0!==t(this).prop("checked")&&t(this).prop("checked",!0)}):jQuery.each(n,function(){t(this).prop("checked",!1)});i(t(this),!0)});h.on("click",function(n){n.stopPropagation();n.stopImmediatePropagation();i(t(this),!1)})},r=function(){s.length&&(u(),f())},{init:r}}(0,jQuery);jQuery(INFORMA.PreferenceTab.init());INFORMA=window.INFORMA||{};INFORMA.directory=function(n,t){"use strict";var h,u,f,e,o,c=t(".directory-wrapper"),i=t(".directory-tile-wrapper"),r=t(".directory-tile"),s=t(".directory-description");return u=function(n){if(t(n).find(i).find(r).find("h4").length>0){var u=0;t(n).find(i).find(r).find("h4").each(function(){var n=t(this).outerHeight();n>u&&(u=n)});t(n).find(i).find(r).find("h4").each(function(){t(this).css({"min-height":u+"px"})})}},f=function(n){if(t(n).find(i).find(r).find(s).length>0){var u=0;t(n).find(i).find(r).find(s).each(function(){var n=t(this).outerHeight();n>u&&(u=n)});t(n).find(i).find(r).find(s).each(function(){t(this).css({"min-height":u+"px"})})}},e=function(n){if(t(n).find(i).find(r).find("ul").length>0){var u=0;t(n).find(i).find(r).find("ul").each(function(){var n=t(this).outerHeight();n>u&&(u=n)});t(n).find(i).find(r).find("ul").each(function(){t(this).css({"min-height":u+"px"})})}},o=function(n){if(t(n).find(i).find(r).length>0){var u=0;t(n).find(i).find(r).each(function(){var n=t(this).outerHeight();n>u&&(u=n)});t(n).find(i).find(r).each(function(){t(this).css({"min-height":u+"px"})})}},h=function(){c.each(function(){u(this);f(this);e(this);o(this)});t(n).on("resize",function(){c.each(function(){u(this);f(this);e(this);o(this)})})},{init:h}}(this,jQuery);jQuery(INFORMA.directory.init());INFORMA=window.INFORMA||{};INFORMA.eventsspeakers=function(n,t){"use strict";var u,i,r,f=t(".event-speakers-wrapper");return i=function(n){if(t(n).find(".event-speakers-tile-wrapper").find(".event-speakers-tile").find(".content").find("p.large").length>0){var i=0;t(n).find(".event-speakers-tile-wrapper").find(".event-speakers-tile").find(".content").find("p.large").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".event-speakers-tile-wrapper").find(".event-speakers-tile").find(".content").find("p.large").each(function(){t(this).css({"min-height":i+"px"})})}},r=function(n){if(t(n).find(".event-speakers-tile-wrapper").find(".event-speakers-tile").find(".content").find("p.small").length>0){var i=0;t(n).find(".event-speakers-tile-wrapper").find(".event-speakers-tile").find(".content").find("p.small").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".event-speakers-tile-wrapper").find(".event-speakers-tile").find(".content").find("p.small").each(function(){t(this).css({"min-height":i+"px"})})}},u=function(){f.each(function(){i(this);r(this)});t(n).on("resize",function(){f.each(function(){i(this);r(this)})})},{init:u}}(this,jQuery);jQuery(INFORMA.eventsspeakers.init());INFORMA=window.INFORMA||{};INFORMA.EventsViews=function(n,t){"use strict";var y,r,l,h,a,o,i,u,f,c,p,w,b,k,d,s,e=INFORMA.Templates,g="POST",nt=t(".lloyd-event-search"),tt=t("ul.custom-drop-options ul.sub-seg-mob"),v=!0,it=t(".event-facets .custom-drop-options li");return r={Container:t(".events-search"),FiltersUI:t(".filter-section"),ActiveFilters:[],FilterContainer:t(".filter-section .active-filters"),FilterCountElement:t(".filter-section .active-count"),FilterElement:t('<div class="filter"><span class="text"><\/span><\/div>'),FilterDeleteBtn:t('<span class="delete icon-close"><\/span>'),Selects:t(".events-search select"),CustomSelects:t(".events-search .custom-dd-menu"),HaveUpdated:!1,AlwaysSelectedFilters:[],Init:function(){var n=this;this.PopulateAlwaysSelectedFilters();this.Selects.each(function(){var n=t(this);n.chosen("destroy");n.chosen({width:"100%",disable_search:!0})});this.Selects.change(function(){var n=t(this);this.value&&(u.AddProp(this.name,n.children("option:selected").text()),"MonthYear"!==this.name&&(n.children('option[value=""]').attr("selected","").siblings().removeAttr("selected"),n.trigger("chosen:updated")))});this.CustomSelects.each(function(){var r=t(this),f=r.find(".input-checkbox");r.data("addValues",function(n){var e,f,i=""===r.attr("data-values")?[]:r.attr("data-values").split(",");n.each(function(){e=t(this);f=e.children("p").text();-1==i.indexOf(f)&&i.push(f)});u.AddProp(r.attr("name"),i);r.attr("data-values",i)});r.data("removeValues",function(i){var f,e,o,s=r.attr("data-values").split(","),h=[];i.each(function(){f=t(this);e=f.children("p").text();o=s.indexOf(e);o>-1&&(s.splice(o,1),h.push(e));n.RemoveFilter(r.attr("name"),f.attr("id"))});u.RemoveProp(r.attr("name"),h);r.attr("data-values",s)});r.children("a").off().click(function(u){r.hasClass("active")?i.BodyContainer.off("click"):(n.CustomSelects.removeClass("active").children(".dropdown-content").removeClass("drop-content-active"),i.BodyContainer.off("click").on("click",function(n){if(t(n.target).closest(".custom-dd-menu")[0]===r[0]||"checkbox"===t(n.target).attr("type")||"radio"===t(n.target).attr("type"))return void n.stopPropagation();r.removeClass("active").children(".dropdown-content").removeClass("drop-content-active")}));r.toggleClass("active").children(".dropdown-content").toggleClass("drop-content-active");u.stopPropagation()});f.off().change(function(){var n=t(this).parent(".round-checkbox").parent(),u=n.children("ul").length>0,f=n.hasClass("selectall"),i=this.checked;(u?(r.data(i?"addValues":"removeValues")(n.find("ul > li").not(".selectall")),n.find("ul > li").not(".selectall").each(function(){t(this).find(".input-checkbox")[0].checked=i})):f?void 0!=t(".lloyd-event-search")?(r.data(i?"addValues":"removeValues")(n.siblings("li")),n.siblings("li").each(function(){t(this).find(".input-checkbox")[0].checked=i;void 0!=t(".lloyd-event-search")&&(i?t(this).addClass("active"):t(this).removeClass("active"))})):(r.data(i?"addValues":"removeValues")(n.siblings("li")),n.siblings("li").each(function(){t(this).find(".input-checkbox")[0].checked=i})):(r.data(i?"addValues":"removeValues")(n),void 0!=t(".lloyd-event-search")&&(i?n.addClass("active"):n.removeClass("active"))),void 0!=t(".lloyd-event-search"))&&(t(this).parents(".custom-dd-menu").removeClass("suject-selected"),t(this).parents(".custom-dd-menu").hasClass("event-subject")&&(i?t(this).parents(".custom-dd-menu").addClass("suject-selected"):t(".event-subject  ul.sub-seg-mob li").each(function(){t(this).find("input").is(":checked")&&(t(this).parents(".custom-dd-menu").hasClass("suject-selected")||t(this).parents(".custom-dd-menu").addClass("suject-selected"))})))})})},PopulateAlwaysSelectedFilters:function(){var n=this;this.Selects.each(function(){var o,i=t(this),s=i.attr("name"),e=!1,u=i.data("selected"),r=i.data("ignore"),f=i.find("option");u&&r&&u===r||(u&&u.length>0&&(f=f.filter('[value="'+u+'"]'),e=!0),r&&r.length>0&&(f=f.not('[value="'+r+'"]'),e=!0,i.find('option[value="'+r+'"]').remove(),i.trigger("chosen:updated")),e&&f.each(function(){""!==(o=t(this).attr("value"))&&n.AlwaysSelectedFilters.push({type:s,value:o})}))});this.CustomSelects.each(function(){var o,r=t(this),s=r.attr("name"),e=!1,u=r.data("selected"),i=r.data("ignore"),f=r.find(".round-checkbox").parent();u&&i&&u===i||(u&&u.length>0&&(f=f.filter('[id="'+u+'"]'),e=!0),i&&i.length>0&&(f=f.not('[id="'+i+'"]'),e=!0,r.find('li[id="'+i+'"]').remove()),e&&f.each(function(){""!==(o=t(this).attr("id"))&&n.AlwaysSelectedFilters.push({type:s,value:o})}))})},AddFilter:function(n){var i;""!==n.value&&(this.Selects.filter('[name="'+n.type+'"]').children("option").each(function(){if(t(this).text()===n.text)return i=t(this),n.value=i.attr("value"),!1}),this.CustomSelects.filter('[name="'+n.type+'"]').find("li").each(function(){if(t(this).children("p").text()===n.text)return i=t(this),n.value=i.attr("id"),!1}),("EventSearchText"==n.type||i&&0!==i.length)&&("EventSearchText"==n.type&&(n.value=n.text,s=n.text),this.FilterContainer.children('[data-value="'+n.value+'"]').length>0||("MonthYear"===n.type&&(this.ActiveFilters=this.ActiveFilters.filter(function(n){return"MonthYear"!==n.type})),this.ActiveFilters.push(n),this.UpdateFilters())))},RemoveFilter:function(n,t){n&&t?this.ActiveFilters=this.ActiveFilters.filter(function(i){return i.type!==n&&i.value!==t}):(n&&(this.ActiveFilters=this.ActiveFilters.filter(function(t){return t.type!==n})),t&&(this.ActiveFilters=this.ActiveFilters.filter(function(n){n.value})));this.UpdateFilters()},AddClearFilter:function(){var i,r,f=this,e;(i=this.FilterElement.clone(),i.children(".text").text("Clear All Filters"),i.attr("data-type","clearall"),i.attr("data-value","clearall"),r=this.FilterDeleteBtn.clone(),r.click(function(){f.ActiveFilters=[f.ActiveFilters[0]];f.UpdateFilters();t("#txtEventSearchText").val("");s="";void 0!=t(".lloyd-event-search")&&(t("#eventType .sub-seg-mob li").removeClass("active"),t("#eventType").attr("data-values",""),t("#Eventssector").attr("data-values",""),t("#Eventssector .custom-drop-options li").removeClass("active"),t("#Eventssector .custom-drop-options li .input-checkbox").prop("checked",!1),t(".lloyd-event-search .views-section .event-count .filter").remove(),t(".lloyd-event-search .singletier-menu").removeClass("suject-selected"));history.pushState({},document.title,n.location.pathname);u.PopulateWithDefaults()}),i.append(r),this.FilterContainer.find("div:nth-child(1)").after(i),void 0!=t(".lloyd-event-search"))&&(e=t(".lloyd-event-search .views-section .event-count .filter").length,v&&e<1&&(t(".lloyd-event-search .views-section .event-count").append(i),v=!1))},AddFilterElement:function(n){var i,r,f=this;i=this.FilterElement.clone();i.children(".text").text(n.text);i.attr("data-type",n.type);i.attr("data-value",n.value);"MonthYear"===n.type?this.FilterContainer.prepend(i):(r=this.FilterDeleteBtn.clone(),r.click(function(){var i=t(this).closest(".filter"),n=i.attr("data-type"),r=i.attr("data-value");"EventSearchText"===n&&(s="",t("#txtEventSearchText").val(""));"EventType"==n&&t(".sub-seg-mob [id='"+r+"']").removeClass("active");f.RemoveFilter(n,r);u.RemoveProp(n,i.children(".text").text())}),i.append(r),this.FilterContainer.append(i))},UpdateFilters:function(){var i=this,n=this.ActiveFilters.length;this.FilterContainer.empty();this.EnableAllSelectOptions();n>0&&(this.ActiveFilters.forEach(function(n){i.AddFilterElement(n);"MonthYear"!==n.type&&"EventSearchText"!=n.type&&i.DisableSelectOption(n.type,n.value)}),void 0!=t(".lloyd-event-search")&&t(".lloyd-event-search .views-section .event-count .filter").remove());n>1&&(this.AddClearFilter(),v=!0);this.FiltersUI.attr("data-count",n);this.FilterCountElement.text(n)},EnableAllSelectOptions:function(){this.Selects.each(function(){var n=t(this);n.children("option").each(function(){t(this).removeAttr("disabled")});n.trigger("chosen:updated")});this.CustomSelects.not('[name="MonthYear"]').each(function(){t(this).find("li[id]").each(function(){var n=t(this).find(".input-checkbox");0===t(this).children("ul").length&&(n[0].checked=!1)})})},DisableSelectOption:function(n,t){var i=this.Selects.filter('[name="'+n+'"]'),r=this.CustomSelects.filter('[name="'+n+'"]');i.children('option[value="'+t+'"]').attr("disabled",!0);i.trigger("chosen:updated");r.find('li[id="'+t+'"] .input-checkbox')[0].checked=!0},PopulateMonthCustomSelect:function(){var n,r,o,f=this.CustomSelects.filter('[name="MonthYear"]'),e=f.find(".custom-drop-options"),s=i.EndDate.diff(i.PreviousDate,"months");for(e.empty(),r=0;r<s;r++)o=moment(i.PreviousDate).add(r,"month"),n=t('<li class="date-item" />'),n.attr("attr-index",r),n.attr("id",o.format("MMMM YYYY")),n.append('<label class="round-checkbox active"><input type="checkbox" class="input-checkbox"><span class="checkmark"><\/span><\/label>'),n.append('<p class="sub-seg single-level-dropdown">'+o.format("MMMM YYYY")+"<\/p>"),e.append(n),n.find(".input-checkbox").change(function(){var n=t(this).parent(".round-checkbox").parent(),i=this.checked;f.attr("data-values",i?n.attr("id"):"");n.siblings().find(".input-checkbox").each(function(){this.checked=!1});u.AddProp("MonthYear",n.attr("id"))}),n.children("p").click(function(){t(this).closest("li").find(".input-checkbox").click()});f.children("a").click(function(){var n=e.children("li"),i=n.filter('[id="'+f.attr("data-values")+'"]'),t=n.index(i),r=t>2?t-2:0,u=n.eq(r);e.scrollTop(0).scrollTop(u.position().top)})},PopulateMonthSelect:function(){var r,u,f,n=this.Selects.filter('[name="MonthYear"]'),e=i.EndDate.diff(i.PreviousDate,"months");for(n.chosen("destroy"),n.empty(),u=0;u<e;u++)r=t("<option />"),f=moment(i.PreviousDate).add(u,"month"),r.attr("value",f.format("MMMM YYYY")),r.text(f.format("MMMM YYYY")),n.append(r);n.chosen({width:"100%",disable_search:!0});n.chosen().on("chosen:showing_dropdown",function(n,t){var r=t.chosen.dropdown.children(".chosen-results"),i=r.children(".active-result"),f=i.filter(".result-selected"),u=i.index(f),e=u>2?u-2:0,o=i.eq(e);r.scrollTop(0).scrollTop(o.position().top)});n.trigger("chosen:updated");n.attr("populated",!0)},setMonthSelectDate:function(){var n=this.Selects.filter('[name="MonthYear"]'),t=n.children('option[value="'+this.Date.format("MMMM YYYY")+'"]');t.attr("selected","").siblings().removeAttr("selected");n.trigger("chosen:updated");this.AddFilter({type:"MonthYear",text:t.text()})},setMonthCustomSelectDate:function(){this.CustomSelects.filter('[name="MonthYear"]').find('li[id="'+this.Date.format("MMMM YYYY")+'"]').find(".input-checkbox").trigger("click");this.AddFilter({type:"MonthYear",text:this.Date.format("MMMM YYYY")})},set Date(n){this.Container.data("date",n);this.Selects.filter('[name="MonthYear"]').attr("populated")||this.PopulateMonthSelect();this.PopulateMonthCustomSelect();this.setMonthSelectDate();this.setMonthCustomSelectDate()},get Date(){return this.Container.data("date")}},l={Container:t('.events-list[data-view="tile-view"]'),EventsContainer:t('.events-list[data-view="tile-view"] .events-container'),TemplateName:"undefined"!==e.EventpageTileviewTemplate?e.EventpageTileviewTemplate:"",Template:null,Init:function(){this.Template=Handlebars.compile(this.TemplateName)},RenderView:function(n){this.AddEvents(n.Events);this.EqualHeight()},MakeNoEvent:function(){return'<div class="col-xs-12 no-events"><p>There are no further events scheduled.<\/p><\/div>'},AddEvents:function(n){var r,t,f=n.length,u=i.PageNum>1?this.EventsContainer.html():"";if(f>0)for(r=0;r<f;r++)t=n[r],t.DateRange=c(t.EventStartDate,t.EventEndDate),t.LocalTimeZone=(new Date).getTimezoneOffset(),u+=this.Template({results:t});else u+=this.MakeNoEvent();this.EventsContainer.html(u)},EqualHeight:function(){var n=0,i=this.EventsContainer.children(".events-section");i.each(function(){var i=t(this).height();i>n&&(n=i)});2!==INFORMA.global.device.viewportN&&(i.height(n+0),i.addClass("heightset"))},set ViewType(n){this.Container.attr("data-datetype",n)},get ViewType(){return this.Container.attr("data-datetype")},set Date(n){this.Container.data("date",n)},get Date(){return this.Container.data("date")}},a={Container:t('.events-list[data-view="tilewithimage-view"]'),EventsContainer:t('.events-list[data-view="tilewithimage-view"] .events-container .featured-image-tile-view'),TemplateName:"undefined"!==e.EventpageTileWithImageviewTemplate?e.EventpageTileWithImageviewTemplate:"",TemplateFeaturedTileName:"undefined"!==e.EventpageFeaturedTileWithImageviewTemplate?e.EventpageFeaturedTileWithImageviewTemplate:"",Template:null,TemplateFeaturedTile:null,Init:function(){this.Template=Handlebars.compile(this.TemplateName);this.TemplateFeaturedTile=Handlebars.compile(this.TemplateFeaturedTileName)},RenderView:function(n){this.AddEvents(n.Events);this.EqualHeight()},MakeNoEvent:function(){return'<div class="col-xs-12 no-events"><p>There are no further events scheduled.<\/p><\/div>'},AppendHTMLNode:function(n,i){var r=t(n),u=t(t(r[1])),f=t(u).append(this.Template({results:i})).html();return n='<div class="col-md-6 featured-tile">',n+=t(t(r[0])).html(),n+="<\/div>",n+='<div class="col-md-6 first1">',n+=f,n+"<\/div>"},AddEvents:function(n){var u,t,f=n.length,r=i.PageNum>1?this.EventsContainer.html():"";if(f>0)for(u=0;u<f;u++)t=n[u],t.DateRange=c(t.EventStartDate,t.EventEndDate),t.LocalTimeZone=(new Date).getTimezoneOffset(),t.EventStartDateStr=moment(t.EventStartDate).format("DD/MM/YY")+" at "+moment(t.EventStartDate).format("hh:mm A"),null!=t.TimeZone&&t.TimeZone.length>0&&(t.EventStartDateStr+=" "+t.TimeZone),i.IsArchive?r+='<div class="col-md-6">'+this.Template({results:t})+"<\/div>":!isNaN(i.ActualCount)&&1!=i.PageNum||0!=u?(isNaN(i.ActualCount)||1==i.PageNum)&&(1==u||2==u||3==u)||i.ActualCount>0&&i.ActualCount<4?(isNaN(i.ActualCount)||1==i.PageNum)&&1==u||1==i.ActualCount&&1==f?(r+='<div class="col-md-6 first1">',r+=this.Template({results:t}),r+="<\/div>"):(!isNaN(i.ActualCount)&&1!=i.PageNum||2!=u&&3!=u)&&(2!=i.ActualCount||1!=f&&2!=f)?3==i.ActualCount&&1==f?r=this.AppendHTMLNode(r,t):1==i.ActualCount&&2==f&&(r+='<div class="col-md-6 first1">',r+=this.Template({results:t}),r+="<\/div>"):r=this.AppendHTMLNode(r,t):r+='<div class="col-md-6">'+this.Template({results:t})+"<\/div>":r+=this.TemplateFeaturedTile({results:t});else r+=this.MakeNoEvent();this.EventsContainer.html(r)},EqualHeight:function(){var n=0,i=this.EventsContainer.children(".events-section");i.each(function(){var i=t(this).height();i>n&&(n=i)});2!==INFORMA.global.device.viewportN&&(i.height(n+0),i.addClass("heightset"))},set ViewType(n){this.Container.attr("data-datetype",n)},get ViewType(){return this.Container.attr("data-datetype")},set Date(n){this.Container.data("date",n)},get Date(){return this.Container.data("date")}},h={Container:t('.events-list[data-view="list-view"]'),EventsContainer:t('.events-list[data-view="list-view"] .events-container'),TemplateName:"undefined"!==e.EventpageListviewTemplate?e.EventpageListviewTemplate:"",MoreBtn:t(".more-events .btn-more-events"),Template:null,EventData:[],EventStartMonth:null,EventMonthRange:0,Init:function(){this.Template=Handlebars.compile(this.TemplateName)},RenderView:function(n){this.SetupData(n);this.CalculateMonthRange();this.RenderEvents()},SetupData:function(n){this.EventData=1===i.PageNum?n.Events:this.EventData.concat(n.Events);this.EventData.length>0&&(this.EventStartMonth=f(this.EventData[0].EventStartDate,"event"))},CalculateMonthRange:function(){var t,n,i,r=this;this.EventMonthRange=0;this.EventData.forEach(function(u){t=f(u.EventStartDate,"event");n?(i=t.startOf("month").diff(n.startOf("month"),"month"))>0&&(r.EventMonthRange+=i):r.EventMonthRange++;n=f(u.EventStartDate,"event")})},RenderEvents:function(){for(var t,i="",n=0;n<this.EventMonthRange;n++)t=moment(this.EventStartMonth).add(n,"months"),i+=this.MakeMonthDivider(t),i+=this.MakeMonthEvents(t);this.EventsContainer.html(i)},MakeMonthDivider:function(n){return'<div class="col-xs-12 month-divider"><h3>'+n.format("MMMM YYYY").toUpperCase()+"<\/h3><\/div>"},MakeNoEvent:function(){return'<div class="col-xs-12 no-events"><p>There are no further events scheduled.<\/p><\/div>'},MakeMonthEvents:function(n){var t,r,i="",u=this.EventData.filter(function(t){return f(t.EventStartDate,"event").isSame(n,"month")}),e=u.length;if(e>0)for(t=0;t<e;t++)r=u[t],i+=this.MakeEvent(r);else i+=this.MakeNoEvent();return i},MakeEvent:function(n){return n.DateRange=c(n.EventStartDate,n.EventEndDate),n.LocalTimeZone=(new Date).getTimezoneOffset(),this.Template({results:n})},set ViewType(n){this.Container.attr("data-datetype",n)},get ViewType(){return this.Container.attr("data-datetype")},set Date(n){this.Container.data("date",n)},get Date(){return this.Container.data("date")}},o={EventData:[],FCEventData:[],ActiveContainer:null,ViewElements:null,Container:t('.events-list[data-view="calendar-view"]'),Modal:t("undefined"!==e.EventpageModalTemplate?e.EventpageModalTemplate:""),Init:function(){this.ViewType="year";this.ViewType="month"},RenderView:function(n){this.InitFC();this.GoToStartDate();n&&(this.EventData=n,this.FCEventData=[],this.ProcessEventData(),this.ActiveContainer.removeAttr("events-loaded"));this.FCEventData.length>0&&this.RenderEventData()},InitFC:function(){var r,o,n=this,e=INFORMA.global.device.viewportN;if(this.ActiveContainer.attr("rendered"))return void INFORMA.Spinner.Hide();switch(n.ViewType){case"month":r={header:{left:"prev",center:"title",right:"next"},eventLimit:!0,eventLimitText:"More",contentHeight:2===e?100:805,dayNamesShort:2===e?["S","M","T","W","T","F","S"]:1===e?["SUN","MON","TUE","WED","THUR","FRI","SAT"]:["SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY"],showNonCurrentDates:!1,dayClick:function(t){var r,o,s,u="",e=n.EventData.Events,l=f(t).startOf("day");for(var a in e)e.hasOwnProperty(a)&&(r=e[a],o=f(r.EventStartDate,"event").startOf("day"),s=f(r.EventEndDate,"event").endOf("day"),l>=o&&l<=s&&(r.DateRange=c(r.EventStartDate,r.EventEndDate),u+=h.Template({results:r})));u&&(n.Modal.find(".modal-body").attr("data-view","list-view").html(u),i.EventsContainer.append(n.Modal),n.Modal.modal("show"))},eventAfterAllRender:function(){INFORMA.Spinner.Hide()},eventAfterRender:function(n,t){var i=t.closest(".fc-content-skeleton"),r=n.start.format("YYYY-MM-DD"),f=i.find(".fc-day-top[data-date="+r+"]"),u=i.siblings(".fc-bg").find(".fc-day[data-date="+r+"]");u.data("events-height");f.addClass("event-now");u.addClass("event-present")},eventRender:function(n){var i=n.start.format("YYYY-MM-DD");return t('<div data-date="'+i+'" class="events"><p class="title">'+n.title+"<\/p><\/div>")}};break;case"year":r={header:{left:"",center:"title",right:""},eventLimit:!0,titleFormat:"MMM YYYY",dayNamesShort:["S","M","T","W","T","F","S"],showNonCurrentDates:!1,eventAfterRender:function(n,t){var i=t.closest(".fc-content-skeleton"),r=n.start.format("YYYY-MM-DD");i.find(".fc-day-top[data-date="+r+"]").addClass("event-now");i.siblings(".fc-bg").find(".fc-day[data-date="+r+"]").addClass("event-present")},eventAfterAllRender:function(n){var e,r=n.el,o=r.closest(".fccal"),s=n.el.find(".fc-day.event-present");if(s.length>0){if(e=f(s.attr("data-date"),"fullcalendar"),r.attr("click-added"))return;r.data("month",e).addClass("event-present").attr("click-added",!0).on("click",function(){var n=t(this).data("month");n.isValid()&&(INFORMA.Spinner.Show(i.BodyContainer),setTimeout(function(){u.AddProps({MonthYear:n.format("MMMM YYYY"),ViewType:"month"})},200))}).on("mouseenter",function(){o.addClass("hovered")}).on("mouseleave",function(){o.removeClass("hovered")})}else r.removeData("month").removeClass("event-present").removeAttr("click-added").off("click mouseenter mouseleave");INFORMA.Spinner.Hide()}}}o=n.ViewElements.length-1;n.ViewElements.each(function(i){r.defaultDate=moment(n.Date).add(i,"months");t(this).fullCalendar(r);i===o&&n.ActiveContainer.attr("rendered","true")})},GoToStartDate:function(){var n=this,i=this.ViewElements.first().fullCalendar("getDate");this.Date&&!this.Date.isSame(i,"month")&&(this.ViewElements.each(function(i){var r=moment(n.Date).add(i,"months");t(this).fullCalendar("gotoDate",r)}),this.ActiveContainer.removeAttr("events-loaded"))},ProcessEventData:function(){for(var i,r,s,u,e,h,c,o,l=this.EventData.Events.length,n={},t=0;t<l;t++)if(n=this.EventData.Events[t],i=f(n.EventStartDate,"event"),r=f(n.EventEndDate,"event"),i.isSame(r,"day"))this.FCEventData.push({title:n.Title,start:i,end:r});else for(e=moment(i).startOf("day"),c=moment(r).endOf("day"),s=c.diff(e,"day"),u=0;u<=s;u++)o=moment(e).add(u,"days"),h=moment(o).endOf("day"),this.FCEventData.push({title:n.Title,start:o,end:h})},RenderEventData:function(){var n,f,u=this,e=this.FCEventData,o=e.length,i=0,r={};this.ActiveContainer.attr("events-loaded")||(f=u.ViewElements.length-1,u.ViewElements.each(function(s){for(n=t(this),n.data("date",n.fullCalendar("getDate")),n.fullCalendar("removeEvents"),i=0;i<o;i++)r=e[i],(r.start.isSame(n.data("date"),"month")||r.end.isSame(n.data("date"),"month"))&&t(this).fullCalendar("renderEvent",r);s===f&&u.ActiveContainer.attr("events-loaded","true")}))},set ViewType(n){var t=!0;this.ActiveContainer&&this.ActiveContainer.length>0&&(this.ActiveContainer.removeClass("active"),t=this.ActiveContainer.attr("data-datetype")!==n);this.ActiveContainer=this.Container.children('[data-datetype="'+n+'"]');this.ActiveContainer.addClass("active");this.ViewElements=this.ActiveContainer.find(".fccal");t&&INFORMA.Spinner.Show(i.BodyContainer);this.RenderView()},get ViewType(){return this.ActiveContainer.attr("data-datetype")},set Date(n){this.Container.data("date",n)},get Date(){return this.Container.data("date")}},i={BodyContainer:t("body"),EventExportButton:t(".export"),EventsContainer:t("#events-calendar"),EventsListContainers:t("#events-calendar .events-list"),NoEventsContainer:t("#events-calendar .no-result"),ErrorContainer:null,DateArrows:t(".header .arrows"),HeaderDate:t(".header h2"),ViewBtns:t(".views-section .state-views .view a"),ViewTypeSwitch:t(".views-section .date-views [name=dview]"),CountText:t(".views-section .event-count .listed"),TotalText:t(".views-section .event-count .total"),MoreBtn:t(".more-events .btn-more-events"),InfiniteScrollLoadPoint:0,StartDate:null,PreviousDate:moment().subtract(11,"months"),EndDate:moment().add(11,"months"),PageNum:1,AutocompleteMinCharCount:4,EventSearchText:t("#txtEventSearchText"),BtnSearchCmd:t(".search-bar i.search-icon"),LoadCalled:!1,IsArchive:!1,ErrorTimeout:0,Init:function(){var n=this;this.ErrorContainer=t('<div class="container error hidden"><div class="row"><div class="col-12"><p>Something went wrong. Please try again later.<\/p><\/div><\/div><\/div>');this.ErrorContainer.insertAfter(this.NoEventsContainer);this.ViewBtns.click(function(n){u.AddProps({View:t(this).data("viewport"),ViewType:"month"});n.preventDefault()});this.DateArrows.click(function(i){var u,f=t(this);i.preventDefault();n.LoadCalled||(f.hasClass("previous")&&(u=moment(n.Date).subtract(1,n.ViewType+"s").format("MMMM YYYY")),f.hasClass("next")&&(u=moment(n.Date).add(1,n.ViewType+"s").format("MMMM YYYY")),u&&(r.Selects.filter('[name="MonthYear"]').val(u).trigger("change"),r.CustomSelects.filter('[name="MonthYear"]').find('li[id="'+u+'"] .input-checkbox').click(),n.UpdateArrows()))});this.ViewTypeSwitch.change(function(){var n=this.value;u.AddProp("ViewType",n)});this.BtnSearchCmd.click(function(){n._loadEventFilteredData(t("#txtEventSearchText").val())});this.EventSearchText.on("input",function(t){var r=t.keyCode?t.keyCode:t.which,i=this.value;i.length>0&&(s=i,"13"==r?n._loadEventFilteredData(i):n._bindAutoComplete(i))});this.MoreBtn.click(function(){n.LoadMoreEvents()});this.EventExportButton.click(function(){n.DownloadEvents()})},_bindAutoComplete:function(n){if(""!=n&&n.length>0){var r=this.GetSendDataAutoComplete(n),u={data:JSON.stringify({SearchKeyword:r.SearchKeyword,MonthYear:r.MonthYear,EventsEndDate:r.EventsEndDate,ViewMode:r.ViewMode,ProductLineId:r.ProductLineId,SegmentId:r.SegmentId,Country:r.Country,EventsStartDate:r.EventsStartDate,CurrentPage:t("#events-calendar").data("currentpage"),PageNo:1})};t.ajax({url:"/client/search/GetAutocompleteListEvent",type:"POST",data:u,success:function(n){var r=[];t.each(n.Events,function(n,i){-1==t.inArray(i.Title,r)&&r.push(i.Title)});t("#txtEventSearchText").closest(".search-bar").addClass("ui-front");t("#txtEventSearchText").autocomplete({source:r,minLength:i.AutocompleteMinCharCount,select:function(n,t){var r=(t.item.label,t.item.value);i._loadEventFilteredData(r)},open:function(n){2===INFORMA.global.device.viewportN&&t("#ui-id-1").css("width",n.target.offsetWidth)}}).on("input",function(n){13===n.which&&t("#ui-id-1").hide()}).off("focus blur").on("focus blur",function(n){var i=n.target.value;i.length>3&&t(n.target).autocomplete("search",i)});t("body").click(function(n){n.target!==t("#txtEventSearchText")[0]&&t("#txtEventSearchText").autocomplete("close")})},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})}},_loadEventFilteredData:function(n){if(s=n,""!=n){if(r.FilterContainer.children('[data-type="EventSearchText"]').length>0){var i=r.FilterContainer.children('[data-type="EventSearchText"]'),f=t(i).attr("data-value"),e=t(i).attr("data-type");r.RemoveFilter(e,f);u.RemoveProp(e,f)}u.AddProp("EventSearchText",n)}},AddInfiniteScrollEvent:function(){var r=this,i=t(n);"calendar-view"!==this.View&&"tilewithimage-view"!==this.View&&(this.InfiniteScrollLoadPoint=this.MoreBtn.offset().top-i.height()-t("#tech-main-header").height(),i.on("scroll.events.infinite",function(){i.scrollTop()>=r.InfiniteScrollLoadPoint&&!r.LoadCalled&&(i.off("scroll.events.infinite"),r.LoadMoreEvents())}))},UpdateArrows:function(){this.Date.isSameOrBefore(this.PreviousDate,"month")?this.DateArrows.filter(".previous").addClass("arrow-desabled"):this.DateArrows.filter(".previous").removeClass("arrow-desabled");this.Date.isSameOrAfter(moment(this.EndDate).subtract(1,"months"),"month")?this.DateArrows.filter(".next").addClass("arrow-desabled"):this.DateArrows.filter(".next").removeClass("arrow-desabled")},LoadMoreEvents:function(){this.PageNum++;this.LoadEvents(this.PageNum)},LoadEvents:function(i){var u,r=this;if(this.PageNum=i||1,!(u=this.GetSendData()))return void this.ShowError();this.ErrorTimeout=setTimeout(function(){r.ShowError()},3e4);this.LoadCalled=!0;this.GetAjaxData(INFORMA.Configs.urls.webservices.EventsSearch,g,u,function(i){var u,f;if(!i)throw"data not detectable in callback";u=i.Events.length;f=parseInt(i.TotalResults);r.LoadCalled=!1;clearTimeout(r.ErrorTimeout);r.ErrorContainer.addClass("hidden");0===f&&1===r.PageNum?(r.NoEventsContainer.removeClass("hidden"),r.EventsListContainers.filter(".active").addClass("hidden")):(r.NoEventsContainer.addClass("hidden"),r.EventsListContainers.filter(".active").removeClass("hidden"));h.RenderView(i);l.RenderView(i);a.RenderView(i);i.EventFacets&&i.EventFacets.length>0&&i.EventFacets.forEach(function(n){n.Count>0&&t("ul.custom-drop-options ul").children("li#"+n.ItemId).show()});t(".events-search.lloyd-event-search").show();r.TotalCount=f;r.ActualCount=r.PageNum>1?r.ActualCount+u:u;0===u&&0==r.ActualCount&&r.EventExportButton.hide();0!==u&&(r.ActualCount>0&&r.EventExportButton.show(),o.RenderView(i),"tilewithimage-view"===r.View&&r.ActualCount==r.TotalCount&&r.MoreBtn&&r.MoreBtn.parents(".more-events")&&(r.MoreBtn.addClass("hide"),r.MoreBtn.parents(".more-events").addClass("hide")),r.AddInfiniteScrollEvent(),r.IsArchive&&n.frameElement&&n.INFORMA.richtexteditor.resizeIframe(n.frameElement))},function(){r.ShowError()})},ShowError:function(){INFORMA.Spinner.Hide();this.ErrorContainer.removeClass("hidden");this.NoEventsContainer.addClass("hidden");this.EventsListContainers.filter(".active").addClass("hidden")},DownloadEvents:function(){var n;n=this.GetSendData();t("#data").val(n);t("#formDownloadEvent").submit();!n},GetSendData:function(){var i,u,n={},f=[],e,h,o;(r.ActiveFilters.forEach(function(t){n[t.type]||(i=r.Selects.filter('[name="'+t.type+'"]').data("ignore"),i&&i.length>0&&f.push(t.type),u=r.CustomSelects.filter('[name="'+t.type+'"]').data("ignore"),u&&u.length>0&&f.push(t.type),n[t.type]=[]);n[t.type].push(t.value)}),n.EventSearchText=s,r.AlwaysSelectedFilters.forEach(function(t){-1===f.indexOf(t.type)&&(n[t.type]||(n[t.type]=[]),n[t.type].push(t.value))}),n.MonthYear||"tilewithimage-view"!==this.View)||(o=!1,""!=this.EventsContainer.data("archivestart")&&(e=moment(this.EventsContainer.data("archivestart"))),""!=this.EventsContainer.data("isarchive")&&(o="True"===this.EventsContainer.data("isarchive"))&&""!=this.EventsContainer.data("archiveend")&&(h=moment(this.EventsContainer.data("archiveend"))),this.IsArchive=o,this.IsArchive?(n.EventsStartDate=e.format("DD MMMM YYYY"),n.EventsEndDate=h.format("DD MMMM YYYY"),n.IsArchive=!0):(n.MonthYear=[],n.MonthYear.push(moment(this.Date).format("MMMM YYYY")),n.EventsStartDate=e.format("DD MMMM YYYY"),delete n.MonthYear));switch(n.FacetsFields=t("#facets").val(),n.CurrentPage=this.EventsContainer.data("currentpage"),n.ViewMode="calendar-view"===this.View?"calendar":"list","calendar-view"===this.View?n.EventsEndDate=moment(this.Date).add(1,this.ViewType+"s").format("MMMM YYYY"):"tilewithimage-view"===this.View?this.IsArchive||(n.EventsEndDate=moment(this.Date).add(100,"years").format("MMMM YYYY")):n.EventsEndDate=moment(this.Date).add(100,"years").format("MMMM YYYY"),this.View){case"tilewithimage-view":n.PageNo=this.PageNum;n.PageSize=parseInt(this.EventsContainer.data("count"));n.MonthYear&&n.MonthYear.length>0&&(n.EventsStartDate=n.MonthYear[0]);break;case"list-view":case"tile-view":n.PageNo=this.PageNum;n.PageSize=parseInt(this.EventsContainer.data("count"));case"calendar-view":n.EventsStartDate=n.MonthYear[0];delete n.MonthYear}if(!n.EventsStartDate||"string"!=typeof n.EventsStartDate)throw"EventsStartDate not valid : "+n.EventsStartDate;if(!n.EventsEndDate||"string"!=typeof n.EventsEndDate)throw"EventsEndDate not valid : "+n.EventsEndDate;if(!n.CurrentPage||"string"!=typeof n.CurrentPage)throw"CurrentPage not valid : "+n.CurrentPage;if("calendar-view"!==this.View){if(isNaN(n.PageNo))throw"PageNo not valid : "+n.PageNo;if(isNaN(n.PageSize))throw"PageSize not valid : "+n.PageSize;}return JSON.stringify({data:JSON.stringify(n)})},GetSendDataAutoComplete:function(n){var u,f,i={},e=[];if(r.ActiveFilters.forEach(function(n){i[n.type]||(u=r.Selects.filter('[name="'+n.type+'"]').data("ignore"),u&&u.length>0&&e.push(n.type),f=r.CustomSelects.filter('[name="'+n.type+'"]').data("ignore"),f&&f.length>0&&e.push(n.type),i[n.type]=[]);i[n.type].push(n.value)}),i.SearchKeyword=n,r.AlwaysSelectedFilters.forEach(function(n){-1===e.indexOf(n.type)&&(i[n.type]||(i[n.type]=[]),i[n.type].push(n.value))}),!i.MonthYear)return null;switch(i.CurrentPage=t("#events-calendar").data("currentpage"),i.ViewMode="calendar-view"===this.View?"calendar":"list",i.EventsEndDate="calendar-view"===this.View?moment(this.Date).add(1,this.ViewType+"s").format("MMMM YYYY"):moment(this.Date).add(100,"years").format("MMMM YYYY"),this.View){case"list-view":case"tile-view":case"tilewithimage-view":i.PageNo=1;case"calendar-view":i.EventsStartDate=i.MonthYear[0];delete i.MonthYear}if(!i.EventsStartDate||"string"!=typeof i.EventsStartDate)throw"EventsStartDate not valid : "+i.EventsStartDate;if(!i.EventsEndDate||"string"!=typeof i.EventsEndDate)throw"EventsEndDate not valid : "+i.EventsEndDate;if(!i.CurrentPage||"string"!=typeof i.CurrentPage)throw"CurrentPage not valid : "+i.CurrentPage;if("calendar-view"!==this.View&&isNaN(i.PageNo))throw"PageNo not valid : "+i.PageNo;return i},GetAjaxData:function(n,t,r,u,f,e){INFORMA.Spinner.Show(i.BodyContainer);INFORMA.DataLoader.GetServiceData(n,{method:t,data:r,success_callback:function(n){"function"==typeof u&&u.call(this,n,e)},error_callback:function(){"function"==typeof f&&f.call(this,r,e)}})},UpdateHeaderDate:function(){var n=INFORMA.global.device.viewportN,t=2===n?"MMM YYYY":"MMMM YYYY";"year"===this.ViewType?this.HeaderDate.text(this.Date.format("MMM YYYY")+" - "+moment(this.Date).add(11,"months").format("MMM YYYY")):this.HeaderDate.text(this.Date.format(t))},set View(n){this.EventsContainer.attr("data-eview",n);this.EventsListContainers.filter('[data-view="'+n+'"]').addClass("active").siblings(".events-list").removeClass("active");this.BodyContainer.removeClass("list-view tile-view calendar-view tilewithimage-view").addClass(n);this.ViewBtns.filter(".active").removeClass("active");this.ViewBtns.filter('[data-viewport="'+n+'"]').addClass("active")},get View(){return this.EventsContainer.attr("data-eview")||this.EventsContainer.attr("data-eview",this.EventsListContainers.filter(".active").data("view")),this.EventsContainer.attr("data-eview")},set ViewType(n){this.ViewTypeSwitch.filter('[value="'+n+'"]').trigger("click");this.EventsContainer.attr("data-edatetype",n);this.BodyContainer.removeClass("month year").addClass(n);"calendar-view"===this.View&&(o.Date=this.Date,o.ViewType=n);this.UpdateHeaderDate()},get ViewType(){return this.EventsContainer.attr("data-edatetype")},set Date(n){this.StartDate=n;r.Date=n;l.Date=n;h.Date=n;o.Date=n},get Date(){return this.StartDate},set ActualCount(n){this.EventsContainer.data("actual-count",n);this.TotalText.text(n)},get ActualCount(){return parseInt(this.EventsContainer.data("actual-count"))},set TotalCount(n){this.EventsContainer.attr("total-count",n)},get TotalCount(){return parseInt(this.EventsContainer.attr("total-count"))},UpdateViewsFromQuery:function(n){var i,e=!1,o=!1,s=!1,h=!1,t;if(n.hasOwnProperty("MonthYear")?this.Date&&this.Date.isSame(f(n.MonthYear[0],"select"),"month")||(this.Date=f(n.MonthYear[0],"select"),e=!0):this.Date&&this.Date.isSame(u.GetDefaultProp("MonthYear")[0],"month")||(this.Date=f(u.GetDefaultProp("MonthYear")[0],"select"),e=!0),i=n.hasOwnProperty("View")?n.View[0]:u.GetDefaultProp("View")[0],h="calendar-view"===this.View&&"calendar-view"===i,this.View=i,n.hasOwnProperty("ViewType")?(o=!!this.ViewType&&this.ViewType!==n.ViewType[0],this.ViewType=n.ViewType[0]):this.ViewType=u.GetDefaultProp("ViewType")[0],r.HaveUpdated){for(t in n)n.hasOwnProperty(t)&&"MonthYear"!==t&&"View"!==t&&"ViewType"!==t&&n[t].forEach(function(n){r.AddFilter({type:t,text:n})});s=!0;r.HaveUpdated=!1}(!h||o||e||s)&&this.LoadEvents()}},u={ActiveQuery:"",SanitizedQueryProps:[],ActiveProperties:[],Defaults:[],Init:function(){this.Defaults=[{name:"MonthYear",values:[moment().format("MMMM YYYY")]},{name:"View",values:[i.ViewBtns.filter(".active").data("viewport")||"list-view"]},{name:"ViewType",values:[i.ViewTypeSwitch.filter("[checked]").attr("value")||"month"]}];this.isqueried?this.PopulateWithQuery():this.PopulateWithDefaults()},PopulateWithQuery:function(){this.SanitizeQuery();this.ApplyPropsToController();this.SetQueryFromProps()},PopulateWithDefaults:function(){this.ActiveProperties=this.Defaults.slice(0);this.ApplyPropsToController()},SanitizeQuery:function(){for(var i,f=this,u=location.search.substr(1).split("&"),e=u.length,n=this.SanitizedQueryProps,t=0;t<e;t++)i={name:unescape(u[t].split("=")[0]),values:unescape(u[t].split("=")[1])},n.find(function(n){return n.name===i.name})||n.push({name:i.name,values:i.values});n=n.map(function(n){return f.ValidateQueryObj(n.name,n.values)});n=n.filter(function(n){return!!n});n=n.map(function(n){return{name:n.name,values:n.value.split(",")}});this.Defaults.forEach(function(t){var i=n.find(function(n){return n.name===t.name});i?"MonthYear"!==t.name&&"View"!==t.name&&"ViewType"!==t.name&&t.values.forEach(function(n){-1===i.values.indexOf(n)&&i.values.push(n)}):n.push(t)});n.findIndex(function(n){return"MonthYear"!==n.name&&"View"!==n.name&&"ViewType"!==n.name})&&(r.HaveUpdated=!0);this.ActiveProperties=n},ValidateQueryObj:function(n,i){var u,h,o,c,e=!1,s=!1;switch(n){case"View":e="list-view"===i||"tile-view"===i||"calendar-view"===i||"tilewithimage-view"===i;break;case"ViewType":e="month"===i||"year"===i;break;case"MonthYear":e=f(i,"select").isValid();break;case"EventSearchText":""!=i&&(e=!0);break;default:for(u=i.split(","),h=u.length,o=0;o<h;o++)c=u[o],s=!1,r.Selects.children("option").each(function(){if(t(this).text()===c)return s=!0,!1}),r.CustomSelects.find("li[id]").each(function(){if(t(this).children("p").text()===c)return s=!0,!1}),s||(u.splice(o,1),o--,h=u.length);e=u.length>0;e&&(i=u.join(","))}return e?{name:n,value:i}:null},AddProps:function(n){var t,i=!1;for(t in n)this.AddProp(t,n[t],!0)&&(i=!0);i&&(this.SetQueryFromProps(),this.ApplyPropsToController())},AddProp:function(n,t,i){var f,e=!1,u=this.ActiveProperties.find(function(t){return t.name===n});if(u?"View"===n||"ViewType"===n||"MonthYear"===n?u.values[0]!==t&&(u.values[0]=t,e=!0):Array.isArray(t)?t.forEach(function(n){f=u.values.indexOf(n);f>=0?u.values[f]!==n&&(u.values[f]=n,e=!0,r.HaveUpdated=!0):(u.values.push(n),e=!0,r.HaveUpdated=!0)}):(f=u.values.indexOf(t),f>=0?u.values[f]!==t&&(u.values[f]=t,e=!0,r.HaveUpdated=!0):(u.values.push(t),e=!0,r.HaveUpdated=!0)):(this.ActiveProperties.push({name:n,values:Array.isArray(t)?t:[t]}),e=!0,r.HaveUpdated=!0),i)return e;e&&(this.SetQueryFromProps(),this.ApplyPropsToController())},RemoveProp:function(n,t){var i,f,e=this,o=!1,u=this.ActiveProperties.findIndex(function(t){return t.name===n});u>=0&&("View"===n||"ViewType"===n||"MonthYear"===n?(this.ActiveProperties.splice(u,1),o=!0):Array.isArray(t)?t.forEach(function(n){i=e.ActiveProperties[u].values;(f=i.indexOf(n))>=0&&(i.splice(f,1),0===i.length&&e.ActiveProperties.splice(u,1),o=!0,r.HaveUpdated=!0)}):(i=e.ActiveProperties[u].values,(f=i.indexOf(t))>=0&&(i.splice(f,1),0===i.length&&e.ActiveProperties.splice(u,1),o=!0,r.HaveUpdated=!0)));o&&(this.SetQueryFromProps(),this.ApplyPropsToController())},ApplyPropsToController:function(){var n={};this.ActiveProperties.forEach(function(t){n[t.name]=t.values});i.UpdateViewsFromQuery(n)},SetQueryFromProps:function(){var n="";this.ActiveProperties.forEach(function(t,i){n+=i>0?"&":"?";n+=escape(t.name)+"="+escape(t.values.join(","))});this.query=n},SetPropsFromQuery:function(){var t,i=this;n.location.search.substring(1).split("&").forEach(function(n){t=n.split("=");i.ActiveProperties[t[0]]=t[1]})},set query(n){history.pushState({},document.title,n);this.ActiveQuery=n},get isqueried(){return!!location.search},GetDefaultProp:function(n){return this.Defaults.find(function(t){return t.name===n})}},f=function(n,t){var i;switch(t){case"event":i=moment.ISO_8601;break;case"select":i="MMMM YYYY";break;case"fullcalendar":i="YYYY-MM-DD"}return i?moment(n,i):moment(n)},c=function(n,t){var i=f(n,"event"),r=f(t,"event"),o=i.format("DD"),u=i.format("DD[&nbsp;]MMM"),e=r.format("DD[&nbsp;]MMM");return i.isSame(r,"day")?'<div class="date">'+u+"<\/div>":i.isSame(r,"month")?'<div class="date">'+o+" - "+e+"<\/div>":'<div class="date">'+u+" - "+e+"<\/div>"},d=function(){return"localhost"===location.hostname||"127.0.0.1"===location.hostname},b=function(){t(".search-filter .filter-section .facet-unit").on("click",function(){t(this).siblings(".filter-content").toggle()})},p=function(){void 0!=nt&&it.each(function(){w=t(this).children("label").children("input").is(":checked");w?t(this).addClass("active"):t(this).removeClass("active")})},k=function(){void 0!=t(".lloyd-event-search")&&t(".custom-dd-menu").hasClass("event-subject")&&t(".event-subject ul li").each(function(){t(this).find("input")[0].checked=!1});tt.children("li").not(".selectall").hide()},y=function(){if(0!==r.Container.length&&0!==i.EventsContainer.length){(d()&&(g="GET"),i.Init(),r.Init(),h.Init(),l.Init(),o.Init(),u.Init(),a.Init(),b(),p(),void 0!=t(".featured-image-tile-view"))&&(t(".events-search.lloyd-event-search").hasClass("hide")||(t(".sub-seg-mob li").not(".sub-seg-mob li.selectall").removeClass("active"),t(".sub-seg-mob li").each(function(){t(this).find(".input-checkbox").prop("checked",!1)})));var e=i.BodyContainer,s=t("html"),n=t(".events-search #showFiltersBtn"),c=t("#closeFilterBtn"),f=!1;c.click(function(t){t.preventDefault();e.removeClass("showfilters");s.removeClass("showfilters");n.text("Select filters");n.attr("data-state","select");f=!1});n.click(function(r){r.preventDefault();f=!f;f?(e.addClass("showfilters"),s.addClass("showfilters"),n.text("Search"),n.attr("data-state","search")):(e.removeClass("showfilters"),s.removeClass("showfilters"),n.text("Select filters"),n.attr("data-state","select"),i._loadEventFilteredData(t("#txtEventSearchText").val()))});k()}},{init:y}}(this,jQuery);jQuery(INFORMA.EventsViews.init());INFORMA=window.INFORMA||{};INFORMA.FAQs=function(n,t){"use strict";var i,r,u,f,e,o,c=t(".btn-faq-more"),l=0,s=t(".accordian-structure"),a=INFORMA.Configs.urls.webservices,h=INFORMA.Templates;return f=function(n,t,i,r,u,f){INFORMA.DataLoader.GetServiceData(n,{method:t,data:JSON.stringify(i),success_callback:function(n){"function"==typeof r&&r.call(this,n,f)},error_callback:function(){"function"==typeof u&&u.call(this,i,f)}})},o=function(n,i){for(var f=n,c=f.FaqList,r=f.FaqAccordionId,e="",u="",o=0;o<c.length;o++){var s=c[o],l="undefined"!==h.AccordianTemplate?h.AccordianTemplate:"",a=Handlebars.compile(l);s.FaqAccordionId=r+i.parents(".accordian-structure").attr("data-tabs");i.parents(".accordian-structure").attr("data-tabs")&&(s.Tabs=i.parents(".accordian-structure").attr("data-tabs"));e+=a({results:s})}i.parents(".accordian-structure").attr("data-tabs").length>0&&(u=i.parents(".accordian-structure").attr("data-tabs"));t(".help-faq-wrapper").length>0?i.parents(".help-faq-wrapper").find('.panel-group[data-panel="'+r+u+'"]').append(e):i.parents(".accordian-wrap").find('.panel-group[data-panel="'+r+u+'"]').append(e);f.FaqRemainingCount<1?t(".panel-group#"+r+u).parent().find(".btn-faq-more").hide():t(".panel-group#"+r+u).parent().find(".btn-faq-more").show()},e=function(n){var r=n.find(".panel-collapse"),i=[];return r.each(function(){var n=t(this).attr("data-fetch");i.push(n)}),i},u=function(){var n=s.find(".panel-group");t(".help-faq-wrapper").length>0&&(t(".help-faq-wrapper .accordian-wrap").addClass("hide"),t(".help-faq-wrapper .accordian-wrap:first-child").removeClass("hide").addClass("show"));n.each(function(){t(this).attr("data-pageno",l)})},r=function(){c.on("click",function(n){n.preventDefault();var i=t(this).parents(".accordian-wrap"),s=i.find(".panel-group").attr("data-pageno"),u=i.parents(".accordian-structure").find(".help-faq-select"),h=i.parents(".accordian-structure").attr("data-count"),c=i.parents(".accordian-structure").attr("data-CurrentPageItemGuid"),l=t(".SearchTextFAQ").val(),r={PageNo:0,PageSize:h,CurrentPageItemGuid:c,SearchText:l};r.ExcludedFAQItemIds=e(i);r.FAQTypeItemGuid=u.length>0?u.val():null;i.find(".panel-group").attr("data-pageno",parseInt(s)+1);f(a.GetFAQs,"Post",r,o,null,t(this))})},i=function(){s.length>0&&(u(),r())},{init:i}}(0,jQuery);jQuery(INFORMA.FAQs.init());INFORMA=window.INFORMA||{};INFORMA.featureList=function(n,t){"use strict";var i,r,u,f,e=(t(".feature-list"),t(".feature-list-container"),t(".feature-list-section-pharma, .feature-list-section"));return u=function(){t(".feature-list-section .btn-showMore").on("click",function(){var r=(INFORMA.global.device.viewport,t(this).parents(".feature-list-section").data(INFORMA.global.device.viewport)+1),n=t(this).parents(".feature-list-section"),i=n.find(".feature-list-container");t(i.slice(r-1,i.length)).slideToggle();n.toggleClass("showLess")})},r=function(n){n.length>0&&n.each(function(){t(this).find(".feature-list-btn-container").hide();var n=t(this).data(INFORMA.global.device.viewport)+1,i=t(this).find(".feature-list-container").length,r=t(this).data(INFORMA.global.device.viewport);n?(t(this).find(".feature-list-container:nth-child(n+"+n+")").hide(),i>r?t(this).find(".feature-list-btn-container").show():t(this).find(".feature-list-btn-container").hide()):t(this).find(".feature-list-btn-container").show()})},f=function(){t(".feature-list-section").find(".btn-showMore .less").on("click",function(){t("html, body").animate({scrollTop:t(this).closest(".feature-list-section").offset().top-50})})},i=function(){e.length>0&&(t(".feature-list-section").length>0&&r(e),u(),f())},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.featureList.init());INFORMA=window.INFORMA||{};INFORMA.footer=function(n,t){"use strict";var f,i,r,u;return i=function(){if(t(".marketing-footer-column-social li p.description-height").length>0){var n=0;t(".marketing-footer-column-social li p.description-height").each(function(){var i=t(this).outerHeight();i>n&&(n=i)});t(".marketing-footer-column-social li p.description-height").each(function(){t(this).css({"min-height":n+"px"})})}},r=function(){if(t(".marketing-footer-column-social li.li-height").length>0){var n=0;t(".marketing-footer-column-social li.li-height").each(function(){var i=t(this).outerHeight();i>n&&(n=i)});t(".marketing-footer-column-social li.li-height").each(function(){t(this).css({"min-height":n+"px"})})}},u=function(){var r=t(n).width(),i;r>=768&&r<=1141&&t(".marketing-footer-column").length>0&&(i=0,t(".marketing-footer-column").each(function(){var n=t(this).outerHeight();n>i&&(i=n)}),t(".marketing-footer-column").each(function(){t(this).css({"min-height":i+"px"})}))},f=function(){i();r();u();t(n).on("resize",function(){i();r();u()})},{init:f}}(this,jQuery);jQuery(INFORMA.footer.init());INFORMA=window.INFORMA||{};INFORMA.formComponents=function(n,t){"use strict";var i,r=t(".hasToolTip .icon.icon-info");return function(){},function(){t("#requestDemoForm").validate({errorPlacement:function(n,t){"select"===t.attr("type")?n.insertAfter(t.closest(".chosen-container")):n.insertAfter(t)}});t("#requestTrial").validate({ignore:[],errorPlacement:function(n,t){t.hasClass("chosen-select")?n.insertAfter(t.siblings(".chosen-container")):n.insertAfter(t)},submitHandler:function(){}})},i=function(){},function(){r.on("click",function(){t(this).toggleClass("active");t(this).parent().parent().children(".tooltip-placeholder").slideToggle()})},{init:i}}(0,jQuery);jQuery(INFORMA.formComponents.init());INFORMA=window.INFORMA||{};INFORMA.RegistrationInterests=function(n,t){"use strict";var y,s,p,w,h,b,k,d,g,c,nt,tt,l,a,it,rt,ut,ft,v,et,ot,st,ht,ct=t(".register-myinterests-section"),i=t(".register-myinterests-form"),f=t(".register-myinterests-form-container"),vt=(f.find("tab-content"),i.find('input[type="submit"]'),f.find("#step1")),yt=f.find("#step2"),pt=t(".recommended-tips"),wt=t(".recommended-tips-container"),e=t(".recommended-tips-col"),r=[],u=[],lt="false",o=(t(".show-register-form"),t("#registerMyinterestModal")),bt=t(".register-myinterests-close"),at=INFORMA.Configs.urls.webservices,at=INFORMA.Configs.urls.webservices;return l=function(n){n.find("input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel], textarea").val("");n.find(".area-interests-guid").val("");n.find(".area-interests-text").val("");n.find(".field-validation-error span").hide();n.find("input[type=radio]").removeAttr("checked");n.find(".normal-checkbox input[type=checkbox]").removeAttr("checked");n.find(".preselected-checkbox input[type=checkbox]").prop("checked",!0);n.find("select.chosen-select").find("option:first-child").prop("selected",!0).end().trigger("chosen:updated")},tt=function(){t(document).on("keypress",'input[type="number"]',function(n){(n.which>64&&n.which<91||n.which>96&&n.which<123)&&n.preventDefault()})},c=function(n,t,i,r,u,f){INFORMA.DataLoader.GetServiceData(n,{method:t,data:i,success_callback:function(n){"function"==typeof r&&r.call(this,n,f)},error_callback:function(){"function"==typeof u&&u.call(this,i,f)}})},rt=function(){var n=t('.form-progressive-wizard a[data-toggle="tab"]');n.length>0&&t.each(n,function(n){t(this).prepend('<span class="tab-numbers">'+(n+1)+"<\/span>")})},a=function(){t('.form-progressive-wizard a[data-toggle="tab"]').on("show.bs.tab",function(n){if(1!=i.valid())return i.validate().focusInvalid(),!1;var r=t(n.target);if("#step2"==r.attr("href")&&"active"==r.parent().attr("class")?e.css("display","block"):e.css("display","none"),r.parent().hasClass("disabled"))return!1})},function(){var n,f,c,e;o.find(".modal-body").empty();o.find(".modal-body").append(ct);n=t("form.register-myinterests-form .chosen-select");f=t("form.register-myinterests-form .chosen-container");f.length>0&&f.remove();n.length>0&&(n.chosen("destroy"),n.chosen({disable_search_threshold:10,width:"100%"}));o.find(".modal-body .container").removeClass("container");l(i);r=[];u=[];c=i.removeData("validator").removeData("unobtrusiveValidation");t.validator.unobtrusive.parse(c);e=t(".form-progressive-wizard .triangle-nav li.active");e&&h(e);a();it();s();t.each(t(".custom-multiselect"),function(){var n=t(this).find(".btn-group").eq(1);n&&n.remove()});t.each(t(".select-wrapper"),function(){var n=t(this).find(".btn-group").eq(1);n&&n.remove()});o.modal("show")},et=function(){t("body").on("click",".show-content-first-time",function(i){var u=t(this).attr("href"),r=t(this).attr("data-firstcontent");navigator.userAgent.toLowerCase().indexOf("firefox")>-1?setTimeout(function(){c(at.SetFirstContentDisplayedCookie,"Post",JSON.stringify({firstContent:r}),null,null,null)},100):c(at.SetFirstContentDisplayedCookie,"Post",JSON.stringify({firstContent:r}),null,null,null);"loadPDFComponentModal"!=t(this).attr("data-target")&&void 0===t(this).attr("download")&&!1===t(this).attr("download")&&(i.preventDefault(),n.location.href=u)})},ht=function(n){for(var r,u=t("#formRegistration form"),f=n.length,i=0;i<f;i++)r=n[i],u.find(r.selector).val(r.value)},g=function(){t("body").on("click",".show-register-form",function(n){var r,i;"true"==t(this).attr("data-show-register")?("undefined"!=typeof Storage&&(localStorage.setItem("target",t(this).attr("target")),localStorage.setItem("redirectUrl",t(this).attr("data-url"))),("true"==t(this).attr("data-enable-download")&&t("#formRegistration form").attr("data-trigger-download","true"),t(this).attr("pdf-data-url")&&t(_formId).find("form").attr("pdf-data-url",t(this).attr("pdf-data-url")),ht([{selector:".resource-file-type",value:t(this).attr("data-download-type")||"NULL"},{selector:".resource-type",value:"true"==t(this).attr("data-enable-download")?"File Download":"Gated content viewed"}]),INFORMA.Analytics.trackFormEvents(t(this),"Open"),n.preventDefault(),n.stopPropagation(),t(".redirect-url-field").val(t(this).attr("data-url")),ft(),t(this).attr("pdf-data-url"))&&(r="",(void 0!==t(this).attr("download")&&!1!==t(this).attr("download")&&(r="id@"+t(this).attr("id")),0==document.getElementsByClassName("showPdfUrl").length)?(i=document.createElement("INPUT"),i.setAttribute("type","hidden"),i.setAttribute("value",t(this).attr("pdf-data-url")+r),i.setAttribute("id","showPdfUrl"),i.setAttribute("class","showPdfUrl"),document.body.appendChild(i)):t("#showPdfUrl").val(t(this).attr("pdf-data-url")+r))):t(this).attr("pdf-data-url")?void 0===t(this).attr("download")&&!1===t(this).attr("download")||(t(this).attr("href",t(this).attr("pdf-data-url")),t("#showPdfUrl").val(t(this).attr("pdf-data-url")+"id@"+t(this).attr("id"))):t(this).attr("href",t(this).attr("data-url"))})},ot=function(){if(/iP(hone|od|ad)/.test(navigator.platform)){var n=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]}},ft=function(){var n,r,u;t.fn.modal.Constructor.prototype.enforceFocus=function(){};l(i);n=t("form.register-myinterests-form .chosen-select");r=t("form.register-myinterests-form .chosen-container");r.length>0&&r.remove();n.length>0&&(n.chosen("destroy"),n.chosen({disable_search_threshold:10,width:"100%"}));u=ot();void 0!==u?u[0]>=11&&(t("#formRegistration").on("show.bs.modal",function(){t("body").addClass("body-fixed")}),t("#formRegistration").modal({show:"true"}),t("#formRegistration").on("hide.bs.modal",function(){t("body").removeClass("body-fixed")})):"true"==t(".show-register-form").attr("data-show-register")&&t("#formRegistration").modal("show");v()},v=function(){t(".wffm-form .chosen-container").on("click mousedown",function(n){n.preventDefault();var i=t(this).find(".select-default");i.text()&&i.css("display","none")})},function(){wt.append(pt);e.css("display","none")},it=function(){i.find('select[multiple="multiple"]').multiselect("rebuild");var n=i.find("select");n.length>0&&t.each(n,function(){"multiple"==t(this).attr("multiple")&&t(this).multiselect("destroy")})},function(){i.append(f);i.addClass("row");rt();p();s()},function(){f.before(i)},function(){var n=i.find("fieldset.step1"),t=n.nextAll();vt.prepend(n);yt.prepend(t)},function(){var n=t(".prev-step")[0];i.find(":submit").parent().append(n)},w=function(n){t(n).next().find('a[data-toggle="tab"]').click();e.css("display","block");f.removeClass("background-pattern")},h=function(n){t(n).prev().find('a[data-toggle="tab"]').click();t(".about-you-details").find(":input:not([type=hidden]):first").focus();e.css("display","none");f.addClass("background-pattern")},s=function(){var n=i.find("select");n.length>0&&(t.each(n,function(){var n,i,r,u;"multiple"==t(this).attr("multiple")&&(t(this).multiselect("destroy"),n=t(this).parents(".form-group").find(".sector-placeholder-text").text(),t(this).multiselect({buttonText:function(){return n},maxHeight:220,onChange:b,onDropdownShow:k,onDropdownHidden:d,numberDisplayed:1}),i=t(this).parents(".form-group").find(".sector-placeholder-text").text(),t(this).next().find("button.multiselect>.multiselect-selected-text").html(i),t(this).next().find(".multiselect-container")||(r=t(this).parent().find(".multiselect-container").detach(),t(this).next().append(r)),u=t('<div class="select-all-bottom"><a class="multiselect-all" data-selectall="false" href="#">Select all<\/a><\/div>'),t(this).next().append(u))}),nt());t(".multiselect-container").mCustomScrollbar()},k=function(){t(this.$container).parent().find("select").addClass("active");t(this.$container).find(".select-all-bottom").css("display","block")},d=function(){t(this.$container).parent().find("select").removeClass("active");t(this.$container).find(".select-all-bottom").css("display","none")},b=function(n,f){n&&(f?(u.push(n.text()),r.push(n.val())):(u.splice(t.inArray(n.text(),u),1),r.splice(t.inArray(n.val(),r),1)),r=t.unique(r),u=t.unique(u),i.find(".area-interests-guid").val(r),i.find(".area-interests-text").val(u))},nt=function(){var n=t(".select-all-bottom a");n.length>0&&t.each(n,function(){t(this).on("click",function(n){var f,e,o;return(lt=t(this).attr("data-selectall"),n.preventDefault(),"false"==lt)?(f=t(this).parents(".form-group").find("select"),f.multiselect("selectAll",!0),e=f.val(),o=f.find("option").map(function(){return t(this).text()}).get(),t.each(o,function(n,i){-1==t.inArray(i,u)&&u.push(i)}),t.each(e,function(n,i){-1==t.inArray(i,r)&&r.push(i)}),r=t.unique(r),u=t.unique(u),i.find(".area-interests-guid").val(""),i.find(".area-interests-guid").val(r),i.find(".area-interests-text").val(""),i.find(".area-interests-text").val(u),t(this).attr("data-selectall","true")):(f=t(this).parents(".form-group").find("select"),f.multiselect("deselectAll",!1),e=f.find("option").map(function(){return t(this).val()}).get(),o=f.find("option").map(function(){return t(this).text()}).get(),u=t.grep(u,function(n){return t.inArray(n,o)<0}),r=t.grep(r,function(n){return t.inArray(n,e)<0}),r=t.unique(r),u=t.unique(u),i.find(".area-interests-guid").val(""),i.find(".area-interests-guid").val(r),i.find(".area-interests-text").val(""),i.find(".area-interests-text").val(u),t(this).attr("data-selectall","false")),!1})})},function(){a();t(document).on("click",".next-step",function(){var n=t(".form-progressive-wizard .triangle-nav li.active"),r;if(n.next().removeClass("disabled"),r=t("form.register-myinterests-form .email-field").parent().find(".email-validation-message.show"),t("form.register-myinterests-form").find(".field-validation-error span").css("display","block"),0==r.length){if(1!=i.valid())return i.validate().focusInvalid(),!1;t("form.register-myinterests-form").find(".form-submit-border .btn").removeAttr("disabled");w(n)}});t(document).on("click",".prev-step",function(){var n=t(".form-progressive-wizard .triangle-nav li.active");h(n)})},p=function(){t("form.register-myinterests-form .chosen-select").chosen({disable_search_threshold:10,width:"100%"})},ut=function(){bt.click(function(){t("form.register-myinterests-form .chosen-select").chosen("destroy")})},st=function(){var f,r,i,e=!1,o=!1,u;(document.documentMode&&(e=!0),!e&&n.StyleMedia&&(o=!0),e||o)?(r=n.location.href,r.split("?")[1])&&(u=r.split("?")[1].split("&")[0].split("=")[1],void 0!=u&&-1!=u.indexOf("pdf")&&(i=u)):(r=new URLSearchParams(n.location.search),i=r.get("pdf-url"));i&&(-1!=i.indexOf("%60")&&(i=i.replace(/%60/g,"~")),t('a[href$="'+i+'"]')[0]?t('a[href$="'+i+'"]')[0].click():t("#loadPDFComponentModal").modal("show"),f=n.location.protocol+"//"+n.location.host+n.location.pathname,n.history.pushState({path:f},"",f))},y=function(){i.length>0?(tt(),g(),ut(),v(),et()):ct.css("display","none");st()},{init:y}}(this,jQuery);jQuery(INFORMA.RegistrationInterests.init());INFORMA=window.INFORMA||{};INFORMA.formRequestForDemo=function(n,t){"use strict";var i;return t(".hasToolTip .icon.icon-info"),i=function(){},{init:i}}(0,jQuery);jQuery(INFORMA.formRequestForDemo.init());INFORMA=window.INFORMA||{};modal_Id="";INFORMA.forms=function(n,t){"use strict";function a(n){try{var t=n.split("-"),i=parseInt(t[0]),r=parseInt(t[1]),u=t.length>2?parseInt(t[2]):1;return i>0&&r>=0?new Date(i,r-1,u):null}catch(n){}}function v(n){return n.getFullYear()+"-"+(n.getMonth()+1)+"-"+n.getDate()}var ai,s,i,rt,ut,u,h,c,ft,y,et,ot,st,ht,f,ct,p,w,b,k,lt,at,vt,yt,pt,wt,bt,kt,dt,gt,ni,ti,d,ii,g,nt,ri,ui,fi,ei,oi,l,si,tt,r,hi=t(".form-modal"),o=(t(".form-btn-container .form-modal-btn"),t(".submit-status")),vi=["JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"],ci="",li="",it=INFORMA.Configs.urls.webservices;return bt=function(){t.validator.setDefaults({ignore:":hidden:not(.chosen-select)"});t(document).on("change",".wffm-form .chosen-select",function(){t(this).valid()})},ui=function(){t(".wffm-form .product-list").on("change",function(){t("body").scrollTop(300);t(".wffm-form").filter(":input:first").focus()});t(".wffm-form .country-list").on("change",function(){t("body").scrollTop(300);t(".wffm-form").filter(":input:first").focus()})},ei=function(){t(".product-list").on("change",function(){var n=t(this).parents("form"),i=t(this).val();n.find(".tc-product-name").html(i)})},nt=function(n,t){var i,r;if(void 0===t||null==t||""==t)throw new Error("parameter is required");return i=new RegExp("\\b"+t+"=[^&;]+[&;]?","gi"),i.test(n)?(n=n.replace(i,""),n=n.replace(/[&;]$/,""),r=n.split("?"),1===r.length&&(n=r),n):void 0},d=function(n){var i=t(".form-secondary-title");i.length>0&&i.each(function(){var f=t(this).val(),i=t(this).parents(".modal"),r=t(n).attr("data-modal"),u;i.length>0&&(i.find("h2").text(f),u=t(r).find(".product-list").val(),t(r).find(".tc-product-name").text(u))})},ni=function(){t(document).ready(function(){var n=t(".product-name").val(),i=t(".vertical-name").val();(n||i)&&(t("span.product-name-holder").html(n),t(".product-name-holder").val(n),t(".vertical-name-holder").val(i),t(".tc-product-name").html(n),t(".tc-vertical-name").html(i),n&&n.length>0?t(".tc-product-name").html(n):t(".tc-product-name").html(i));fi()})},wt=function(){t(document).on("keypress",'input[type="number"]',function(n){(n.which>64&&n.which<91||n.which>96&&n.which<123)&&n.preventDefault()})},yt=function(){t(".form-modal").on("hidden.bs.modal",function(){var n=t(this);n.find(".submit-status").attr("data-status","");n.find(".submit-response, .error-response").addClass("hide");n.find("form").removeClass("hide");localStorage.setItem("target","");localStorage.setItem("redirectUrl","");g()})},g=function(){var i,r,u,t,f,e=n.location;if(-1!==e.search.indexOf("sc_wffm_")){switch(i=e.href,r=document.title,u=nt(i,"sc_wffm_status"),t=nt(u,"sc_wffm_clientid"),f=t.indexOf("?"),t.charAt(f+1)){case"":case"#":t=t.split("?").join("")}n.history.replaceState("",r,t)}},si=function(){var n=!1,i=t(r);try{1==r.valid()&&i.find("input.email-field").each(function(i,r){var u=t(r),f=u.parent().find("span.help-block");t.ajax({url:"/client/ajax/validateEmailDomain?emailAddress="+u.val(),type:"GET",async:!1,success:function(i){i.message.length>0&&f.length>0?(t(f).text(i.message),u.attr("aria-invalid","true"),u.removeClass("valid").addClass("input-validation-error"),f.removeClass("field-validation-valid").addClass("field-validation-error"),n=!1):(u.attr("aria-invalid","false"),u.removeClass("input-validation-error").addClass("valid"),f.removeClass("field-validation-error").addClass("field-validation-valid"),n=!0)}})});i.find(".checkbox-required .custom-checkbox input").each(function(i,r){var u=t(r),f=u.attr("data-val-required"),e=u.parents(".checkbox-required").find("span.help-block");n=u.val();"false"==n&&null!=f?(t(e).text(f),n=!1):(t(e).text(""),n=!0)})}catch(n){}return n},p=function(n){for(var t,r=n+"=",f=decodeURIComponent(document.cookie),u=f.split(";"),i=0;i<u.length;i++){for(t=u[i];" "==t.charAt(0);)t=t.substring(1);if(0==t.indexOf(r))return t.substring(r.length,t.length)}return""},w=function(){var n=p("_utmz");return""!=n?n:""},b=function(n){var r=location.search,i=r.substring(r.indexOf("?")+1).split("&"),t,u,f,e;if(i.length>1){for(t=0,u={};t<i.length;t++)if(i[t]=i[t].split("="),u[i[t][0]]=decodeURIComponent(i[t][1]),f=i[t][0],e=i[t][1],f==n)return e;return""}return""},k=function(){var n=b("utm_source");return n||w()},lt=function(){t("form.get-in-touch, form.request-a-demo, form.single-step-form").on("click",'input[type="submit"]',function(n){var i,u;(r=t(this).parents("form"),1==si())?(t(r).find(".utm-source").val(k()),i=t(r).find(".g-recaptcha"),i.length>0&&(n.preventDefault(),u=null,u=grecaptcha.render(t(i).attr("id"),{sitekey:t(i).data("sitekey")}),grecaptcha.reset(),grecaptcha.execute(u)),r.find(".redirect-url-field").val().length>0&&INFORMA.Analytics.trackFormEvents(t(this),"Submit")):n.preventDefault()})},n.onSubmit=function(){var i=t(r),o,s,h,c;if("true"==i.attr("data-trigger-download")){if(o=i.find(".redirect-url-field").val(),s=i.attr("pdf-data-url")?i.attr("pdf-data-url"):"",""!==o||""!=s){f();hi.modal("hide");h={"X-RequestVerificationToken":i.find("[name=__RequestVerificationToken]").val(),"X-Requested-With":"XMLHttpRequest",scController:"form",scAction:"Process","X-IsMediaDownload":!0};c=new FormData(r[0]);t.ajax({url:i.attr("action"),type:i.attr("method"),processData:!1,contentType:!1,headers:h,data:c,success:function(){},error:function(){}});var u=i.find(".redirect-url-field").val(),l=navigator.vendor&&navigator.vendor.indexOf("Apple")>-1&&navigator.userAgent&&-1==navigator.userAgent.indexOf("CriOS")&&-1==navigator.userAgent.indexOf("FxiOS"),a=!!n.MSInputMethodContext&&!!document.documentMode;l?i.append('<button id="download-link"  onclick="window.open("'+u+'","_blank");><\/button>'):a?i.append('<a id="download-link" href="'+u+'" target="_blank" download><\/a>'):i.append('<a id="download-link" href="'+u+'" download><\/a>');i.find("#download-link")[0].click()}return e.preventDefault(),!1}r.submit()},ct=function(){var t=n.location.href;-1==t.indexOf("?ResponseStatus=Success")&&-1==t.indexOf("/ResponseStatus/Success")||hi.modal({show:!0,backdrop:"static"})},u=function(n){if("False"==t("#hdnEloquaSession").val()){n.find("input[type=text], input[type=password], input[type=number], input[type=email], input[type=tel], select, textarea").val("");n.find("input[type=radio]").removeAttr("checked");n.find(".normal-checkbox input[type=checkbox]").removeAttr("checked");n.find(".preselected-checkbox input[type=checkbox]").attr("checked","checked");n.find("select.chosen-select").find("option:first-child").prop("selected",!0).end().trigger("chosen:updated");var i=n.find(".preselected-checkbox input[type=checkbox]");i.length>0&&t.each(i,function(){t(this).val(!!this.checked)})}},vt=function(){var n=t(".contactUsPage-contactUs .tab-pane.active"),e=t(".contactUsPage-contactUs .tab-pane .submit-status"),i,r,u,f;n.length>0&&(i=n.find(".error-response"),r=i.parents(".tab-pane.active").find("form"),i.length>0?r.addClass("hide"):r.removeClass("hide"),u=n.find(".submit-response"),f=u.parents(".tab-pane.active").find("form"),u.length>0?f.addClass("hide"):f.removeClass("hide"),e.each(function(){var i=t(this).attr("data-status"),n=t(this).parents(".tab-pane");i.length>0?(n.find("form").addClass("hide"),"success"==i?(n.find(".submit-response").removeClass("hide"),n.find(".error-response").addClass("hide")):(n.find(".error-response").removeClass("hide"),n.find(".submit-response").addClass("hide"))):(n.find("form").removeClass("hide"),n.find(".submit-response, .error-response").addClass("hide"))}))},f=function(){var s="",e="",r="",i,f,h;"undefined"!=typeof Storage&&(s=localStorage.getItem("rtefieldInCta"),e=localStorage.getItem("target"),r=localStorage.getItem("redirectUrl"));(o=t(".form-modal .submit-status"),o.length>0)&&(f=t(o[0]),""==f.attr("data-status")?(i=f.parents(".form-modal:first"),i.length>0&&(i.find("form").removeClass("hide"),i.find(".submit-response, .error-response").addClass("hide"),i.removeClass("centreAlign"))):f.attr("data-status").length>0&&(h=f.parents("div[data-modal]"),0==h.length&&(i=f.parents(".form-modal:first"),i.length>0&&(i.find("form").addClass("hide"),i.find(".submit-response, .error-response").removeClass("hide"),i.addClass("centreAlign"),u(i.find("form")),i.find(".submit-response, .error-response").addClass("hide")))),o.each(function(){var u=t(this).attr("data-status"),i=t(this).parents(".modal"),f,h;u.length>0?(i.find("form").addClass("hide"),0==s.length)&&("success"==u&&null!=r&&"undefined"!=r&&r.length>0?(t(this).attr("data-status",""),i.find("form").removeClass("hide"),null!=e&&"undefined"!=e&&e.length>0?n.open(r,e):location.href=r,localStorage.setItem("target",""),localStorage.setItem("redirectUrl","")):(i.modal({show:!0,backdrop:"static"}),"success"==u)?(f=i.find(".PixelTrackingUrl"),h=f.length>0?f.attr("value"):"",h.length>0&&i.find(".submit-response").append('<img height="1" width="1" style="display:none;" alt="" src="'+h+'" />'),INFORMA.Analytics.trackFormEvents(o,"Submit"),i.find(".submit-response").removeClass("hide"),i.find(".error-response").addClass("hide")):(i.find(".error-response").removeClass("hide"),i.find(".submit-response").addClass("hide"))):(i.find(".submit-response, .error-response").addClass("hide"),g())}))},function(){t(".wffm-form").find(":submit").on("click",function(){return 1==t(".get-in-touch ").valid()})},oi=function(){t(".form-submit-border .btn").on("mouseover click",function(){t(".form-submit-border").addClass("hover-arrow")});t(".form-submit-border .btn").on("mouseout blur",function(){t(".form-submit-border").removeClass("hover-arrow")})},ot=function(){t("form.get-in-touch legend, form.request-a-demo legend, form.wffm-form legend").on("click",function(){t(this).toggleClass("active");t(this).parent().children("p").toggleClass("show")});t("form.get-in-touch legend, form.request-a-demo legend, form.wffm-form legend").each(function(){t(this).next().is("p")&&t(this).addClass("tool_tip")})},c=function(n){if(t("span.product-name-holder").html(n.ProductName),t(".product-name-holder").val(n.ProductName),modal_Id&&!n.ProductName){var i=t(modal_Id+" .page-header h2").text(),r=i.replace(" for ","");t(modal_Id+" .page-header h2").text(r)}t(".tc-product-name").html(n.ProductName);null!=n.ProductName&&t(".tc-product-name").html(n.ProductName);(t(".product-finder-results .search-container").length>0||t(".recom-prod-carousel").length>0)&&ri(n.ProductName)},function(n){var s,r=n,u=t(i+" .area-interests input").first().attr("id"),f=t(i+" .area-interests input").first().attr("name"),h="",c="",o,e;u&&(u=u.replace("Id","Value"));f&&(f=f.replace("Id","Value"));t(i+" .area-interests .form-group .checkbox").remove();t(i+" .area-interests").addClass("dynamic-interests");t(i+" .page-header h2").find(".product-name").text(r.ProductName);t(i+" .page-header h2").text(ai);o=t(i+" .form-additional-fields .product-name-field");o.length>0&&o.val(r.Title);for(e in r.Items)r.Items.hasOwnProperty(e)&&(c=r.Items[e].Text,h=r.Items[e].Value,s=t("<input>").attr({type:"checkbox",value:h,id:u,name:f}),t(i+" .area-interests .form-group").append(s),t(i+" .area-interests .form-group input[type=checkbox]").last().wrap('<div class="checkbox"><\/div>').wrap("<label>"+c+"<\/label>"))},h=function(n,t,i,r,u,f){INFORMA.DataLoader.GetServiceData(n,{method:t,data:i,success_callback:function(n){"function"==typeof r&&r.call(this,n,f)},error_callback:function(){"function"==typeof u&&u.call(this,i,f)}})},ht=function(){t(document).on("change","form.get-in-touch .hide-title .checkbox input, form.request-a-demo .hide-title .checkbox input",function(){t(this).parent().parent().toggleClass("active")})},t.fn.calendar=function(n){function e(n){var t=new Date(n);return t.setMonth(t.getMonth()+1),t.setDate(0),t.getDate()}function f(n){var t=a(i.find(".month").data("date"));t.setMonth(t.getMonth()+n);i.update(t)}var i=this,r=t.extend({},t.fn.calendar.defaults,n),o=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"].map(function(n){return"<th>"+n+"<\/th>"}).join(""),u;return i.init=function(){var n='<table class="cal"><caption>   <span class="prev"><a href="javascript:void(0);">&lt;<\/a><\/span>   <span class="next"><a href="javascript:void(0);">&gt;<\/a><\/span>   <span class="month" data-date=""><span><\/caption><thead><tr>'+o+"<\/tr><\/thead><tbody><\/tbody><\/table>",r=t(n);i.append(r)},i.update=function(n){function a(r){var u=t('<td><a href="javascript:void(0);"><\/a><\/td>'),f=u.find("a");return f.text(r.getDate()),f.data("date",moment(r).format("YYYY-MM-DD")),n.getMonth()!=r.getMonth()?u.addClass("off"):i.data("date")==f.data("date")?(u.addClass("active"),i.data("date",v(r))):r.toDateString()==n.toDateString()&&u.addClass("active"),u}var r=new Date(n),u,f,c,o,s,h,l;for(r.setDate(1),u=r.getDay(),r.setDate(r.getDate()-u),f=i.find("tbody"),f.empty(),c=Math.ceil((u+e(n))/7),o=0;o<c;o++){for(s=t("<tr><\/tr>"),h=0;h<7;h++,r.setDate(r.getDate()+1))s.append(a(r));f.append(s)}l=v(n).replace(/-\d+$/,"");li=n.getMonth();ci=vi[li];i.find(".month").text(ci);i.find(".month").data("date",l)},i.getCurrentDate=function(){return i.data("date")},i.init(),u=r.date?r.date:new Date,!r.date&&r.picker||i.data("date",v(u)),i.update(u),i.delegate("tbody td","click",function(){var n=t(this);i.find(".active").removeClass("active");n.addClass("active");i.data("date",n.find("a").data("date"));n.hasClass("off")&&i.update(a(i.data("date")));r.picker&&i.hide()}),i.find(".next").click(function(){f(1)}),i.find(".prev").click(function(){f(-1)}),this},t.fn.calendar.defaults={date:new Date,picker:!1},t.fn.datePicker=function(){var i=this,n=t("<div><\/div>").addClass("picker-container").hide().calendar({date:a(i.val()),picker:!0});return i.after(n),t("body").click(function(){n.hide()}),i.click(function(){return n.show(),!1}),n.click(function(){return i.val(moment(n.getCurrentDate()).format("DD/MMM/YYYY")),!1}),this},st=function(){t("form.request-a-demo .three-column .date-picker").wrap("<div class='right-inner'><\/div>");t("form.request-a-demo .three-column .right-inner").prepend("<i class='icon-calender'><\/i>");t("form.request-a-demo .date-picker:text").each(function(){t(this).datePicker({dateFormat:"dd-mm-yy"})})},at=function(){var n=t("form.wffm-form");n.length>0&&t.each(n,function(){var n=t(this).find(".form-submit-border .btn");n.attr("disabled",!0);t(this).on("change","input, textarea, select",function(){n.removeAttr("disabled");(t(this).is("textarea")||t(this).is('input[type="email"]')||t(this).is('input[type="text"]')||t(this).is('input[type="number"]')||t(this).is('input[type="tel"]'))&&t(this).val(t(this).val().trim())});t(this).on("change",".terms-and-conditions input[type=checkbox]",function(){t(this).val(!!this.checked);this.checked?t(this).attr("checked","checked"):t(this).removeAttr("checked")})})},tt=function(){if(/iP(hone|od|ad)/.test(navigator.platform)){var n=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return[parseInt(n[1],10),parseInt(n[2],10),parseInt(n[3]||0,10)]}},ut=function(n){t.fn.modal.Constructor.prototype.enforceFocus=function(){};i=t(n).data("modal");modal_Id=i;u(t(i).find("form"));t(n).attr("data-productid")?(0===t(i+" .page-header h2").find(".product-name-holder").length&&(t(i+" .page-header h2").text(t(i+" .page-header h2").text()+" for "),t(i+" .page-header h2").append('<span class="product-name-holder"><\/span>')),s={guid:t(n).attr("data-productid")},h(it.GetProductAndVerticalNames,"Get",s,c,null,null)):d(n);var r=tt();void 0!==r?r[0]>=11&&(t(i).on("show.bs.modal",function(){t("body").addClass("body-fixed")}),t(i).modal({show:"true"}),t(i).on("hide.bs.modal",function(){t("body").removeClass("body-fixed")})):t(i).modal({show:"true"});f();l()},ri=function(n){var t=jQuery(".form-modal select.product-list");t.append('<option val="'+n+'">'+n+"<\/option>");t.val(n);t.trigger("chosen:updated")},ft=function(){t(document).on("click",".wffm-elq-form-btn",function(){INFORMA.Analytics.trackFormEvents(t(this),"Open");void 0!=t(this).attr("data-show-register")&&"true"==t(this).attr("data-show-register")?("undefined"!=typeof Storage&&(localStorage.setItem("rtefieldInCta",""),localStorage.setItem("target",t(this).attr("target")),localStorage.setItem("redirectUrl",t(this).attr("data-url"))),y(this)):ut(this)})},y=function(n){var o,e,r;(t.fn.modal.Constructor.prototype.enforceFocus=function(){},i=t(n).data("modal"),modal_Id=i,u(t(i).find("form")),"true"==t(n).attr("data-show-register"))?(INFORMA.Analytics.trackFormEvents(t(n),"Open"),"true"==t(n).attr("data-enable-download")&&t(i).find("form").attr("data-trigger-download","true"),t(n).attr("pdf-data-url")&&t(i).find("form").attr("pdf-data-url",t(n).attr("pdf-data-url")),et([{selector:".resource-file-type",value:t(n).attr("data-download-type")||"NULL"},{selector:".resource-type",value:"true"==t(n).attr("data-enable-download")?"File Download":"Gated content viewed"},{selector:".redirect-url-field",value:t(n).attr("data-url")||""}],i),t(n).attr("data-productid")?(0===t(i+" .page-header h2").find(".product-name-holder").length&&(t(i+" .page-header h2").text(t(i+" .page-header h2").text()+" for "),t(i+" .page-header h2").append('<span class="product-name-holder"><\/span>')),s={guid:t(n).attr("data-productid")},h(it.GetProductAndVerticalNames,"Get",s,c,null,null)):d(n),o=tt(),(void 0!==o?o[0]>=11&&(t(i).on("show.bs.modal",function(){t("body").addClass("body-fixed")}),t(i).modal({show:"true"}),t(i).on("hide.bs.modal",function(){t("body").removeClass("body-fixed")})):t(i).modal({show:"true"}),f(),l(),t(n).attr("pdf-data-url"))&&(e="",(void 0!==t(n).attr("download")&&!1!==t(n).attr("download")&&(e="id@"+t(n).attr("id")),0==document.getElementsByClassName("showPdfUrl").length)?(r=document.createElement("INPUT"),r.setAttribute("type","hidden"),r.setAttribute("value",t(n).attr("pdf-data-url")+e),r.setAttribute("id","showPdfUrl"),r.setAttribute("class","showPdfUrl"),document.body.appendChild(r)):t("#showPdfUrl").val(t(n).attr("pdf-data-url")+e))):t(n).attr("pdf-data-url")?void 0===t(n).attr("download")&&!1===t(n).attr("download")?t("#showPdfUrl").val(t(n).attr("pdf-data-url")):(t(n).attr("href",t(n).attr("pdf-data-url")),t("#showPdfUrl").val(t(n).attr("pdf-data-url")+"id@"+t(n).attr("id"))):t(n).attr("href",t(n).attr("data-url"))},et=function(n,i){for(var u,f=t(i).find("form"),e=n.length,r=0;r<e;r++)u=n[r],f.find(u.selector).val(u.value)},pt=function(){var n=t(".contactUsPage-contactUs"),i=n.find(".form-introduction"),r=n.find(".tab-content"),u=n.find(".page-header");i.length>0&&i.addClass("show");r.length>0&&u.addClass("hide")},function(){var n={guid:t(".page-id").val()};h(it.GetProductAndVerticalNames,"Get",n,c,null,null)},kt=function(){(INFORMA.global.device.isTablet||INFORMA.global.device.isMobile)&&t("form.wffm-form .chosen-select").length>0&&(t("form.wffm-form .chosen-select").chosen("destroy"),t("form.get-in-touch .form-group .chosen-select, form.request-a-demo .form-group .chosen-select, form.register-myinterests-form .form-group .chosen-select").wrap("<div class='select-wrapper'><\/div>"))},dt=function(){var n=t('form.wffm-form input[type="number"]').attr("data-val-regex");n&&t.extend(t.validator.messages,{number:n})},l=function(){t(".wffm-form .chosen-container").on("click mousedown",function(n){n.preventDefault();var i=t(this).find(".select-default");i.text()&&i.css("display","none")})},gt=function(){t(n).on("load",function(){t(".g-recaptcha-response").attr("aria-labelledby","g-recaptcha-response")})},ti=function(){t(n).bind("pageshow",function(){var n=t(".wffm-form");n.length>0&&t.each(n,function(){u(t(this))})})},ii=function(){t(".wffm-form").length>0&&t(".wffm-form").each(function(){var i=t(this).attr("id"),n=t(this).find(".form-clientid");n.length&&n.val(i)})},fi=function(){t(".product-list").each(function(){var n=t(this).parents("form"),i=t(this).val();n.find(".tc-product-name").text(i)})},rt=function(){ii();kt();wt();f();ct();p();w();b();k();lt();ot();st();ft();ht();at();vt();yt();pt();ni();bt();dt();gt();ti();ui();ei();l();oi()},{init:rt,_showWffmFormPopupModal:y}}(this,jQuery);jQuery(INFORMA.forms.init());INFORMA=window.INFORMA||{};INFORMA.FreeText=function(n,t){"use strict";var u,e,o,s,a,f,v,y,p,w,b,k,d,g=t(".search-heading .text-right i"),r=t(".lloyd-product-finder-results .select-filter"),h=t(".lloyd-product-finder-results .refine-container"),nt=t(".lloyd-product-finder-results .refine-container .mobile-close i"),i=t(".law-search .searchbox #mnlSerach"),tt=t(".law-search .searchbox #mnlSearchbtn"),it=t(".law-header .law-header-right"),rt=t(".lloyd-product-finder-results .refine-container .panel-body fieldset ul li"),c=INFORMA.Configs.urls.webservices,ut=2,l=[];return o=function(n){INFORMA.Analytics.triggerSearchEvent(n)},b=function(){r.on("click",function(){r.hasClass("search-results")?(r.find("a").text("").text("Select Filters"),r.removeClass("search-results").addClass("open-filter"),h.hide()):(h.show(),t(this).find("a").text("").text("Search"),t(this).removeClass("open-filter").addClass("search-results"))})},a=function(){g.on("click",function(){var n=t(this).hasClass("fa-plus-circle"),i=t(this).hasClass("fa-minus-circle");n&&(t(this).parents(".search-heading").siblings(".serch-box").collapse("show"),t(this).removeClass("fa-plus-circle").addClass("fa-minus-circle"));i&&(t(this).parents(".search-heading").siblings(".serch-box").collapse("hide"),t(this).removeClass("fa-minus-circle").addClass("fa-plus-circle"))})},y=function(n){""!=n&&(t("#filterpageno").val("0"),p(n))},v=function(n){var r={data:JSON.stringify({SearchKeyword:n,CurrentPage:t("#CurrentPage").val(),IsFreeText:!0,PageNo:1})};t.ajax({url:"/client/search/GetAutocompleteList",type:"POST",data:r,success:function(n){t.each(n.Articles,function(n,i){-1==t.inArray(i.FreeTextTitle,l)&&l.push(i.FreeTextTitle)});i.closest(".search-bar").addClass("ui-front");i.autocomplete({source:l,minLength:ut,select:function(n,t){var i=(t.item.label,t.item.value);y(i)},create:function(n){t("#ui-id-1").css("width",n.target.offsetWidth)},open:function(n){t("#ui-id-1").css("width",n.target.offsetWidth)}}).on("input",function(n){13===n.which&&t("#ui-id-1").hide()}).off("focus blur").on("focus blur",function(n){var i=n.target.value;i.length>1&&t(n.target).autocomplete("search",i)});t("body").click(function(n){n.target!==i[0]&&i.autocomplete("close")})},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})},p=function(n){var r=(t(this).parents(".wrapper-dropdown-1").attr("name"),parseInt(t("#filterpageno").val())+1),u=(t("#filterpagesize").val(),n);r="1"==r?1:r;JSON.stringify({SearchText:i.val(),CurrentPage:t("#CurrentPage").val(),ArticleSearchText:u,PageNo:r,IsFreeText:!0});t("#filterpageno").val(r)},t(document).on("click","#backtoTop",function(){t("html, body").animate({scrollTop:"0"},1e3)}),w=function(){nt.on("click",function(){h.hide();r.find("a").text("").text("Select Filters");r.removeClass("search-results").addClass("open-filter")})},function(n,i){n.off().on("click",function(n){n.preventDefault();INFORMA.Spinner.Show(t("body"));t("#hdnSearchType")&&(t("#hdnSearchType").attr("name",""),t("#hdnSearchType").attr("value",""));var o=f(),r=u(o);"ProductSearch"===i&&(r.IsProduct=!0);"SearchResult"===i&&(r.IsSearch=!0,r.PageNo=1,r.CurrentPage=t(".search-container").data("currentpage"));s(c.GetRefineResults,"Post",JSON.stringify(r),function(n){e(n,i)},null);INFORMA.SearchResults.ResetPaging()})},f=function(){var n=it.find("form").serializeArray();return INFORMA.Utils.serializeObject(n)},u=function(n,i,r,u){var f={};return t.extend(f,n,i,r,u),f},e=function(t,r){var u,f;"SearchResult"===r&&(u=i?i.val():null,f=n.location.protocol+"//"+n.location.host+"/searchlisting?searchtext="+u,n.location.href=f)},s=function(n,i,r,u,f){INFORMA.DataLoader.GetServiceData(n,{method:i,data:r,success_callback:function(n){"function"==typeof u&&(u.call(this,n),n.PageSize>=n.Count&&t(".mnl-show-all .btn-showMore ,.mnl-show-more .btn-showMore").addClass("deactive"))},error_callback:function(){"function"==typeof f&&f.call(this,r)}})},t(".law-search #mnlSerach").on("keydown",function(n){var h=t(this).val(),a=h.trim().length,r,l,i;(t(this).attr("title",h),a>=1&&(v(t(this).val()),t(this).siblings("#mnlSearchbtn").addClass("enableIcon"),13===n.keyCode||13===n.which))&&(r="SearchResult",n.preventDefault(),INFORMA.Spinner.Show(t("body")),t("#hdnSearchType")&&(t("#hdnSearchType").attr("name",""),t("#hdnSearchType").attr("value","")),l=f(),i=u(l),"ProductSearch"===r&&(i.IsProduct=!0),"SearchResult"===r&&(i.IsSearch=!0,i.PageNo=1,i.CurrentPage=t(".search-container").data("currentpage"),o(h)),s(c.GetRefineResults,"Post",JSON.stringify(i),function(n){e(n,r)},null),INFORMA.SearchResults.ResetPaging())}),t(".law-search #mnlSerach").on("keyup",function(){var n=t(this).val(),i=n.trim().length;i<=1&&t(this).siblings("#mnlSearchbtn").removeClass("enableIcon")}),tt.on("click",function(){if(i.val().trim().length>=2){INFORMA.Spinner.Show(t("body"));var h=f(),n=u(h),r="SearchResult";"SearchResult"===r&&(n.IsSearch=!0,n.PageNo=1,n.CurrentPage=t(".search-container").data("currentpage"),n.SearchText=i.val(),o(n.SearchText));s(c.GetRefineResults,"Post",JSON.stringify(n),function(n){e(n,r)},null);INFORMA.SearchResults.ResetPaging()}}),k=function(){var n=t("#product-finder-section"),i=n.find("form"),r=n.find("input.custom-radio:checked"),u=t("#searchField");i.on("submit",function(){"site-search"===r.attr("data-show")&&o(u.val())})},d=function(){a();w();b();k();setTimeout(function(){rt.removeClass("hidden")},1e3)},{init:d,GetProductData:f,MergeData:u}}(this,jQuery);jQuery(INFORMA.FreeText.init());INFORMA=window.INFORMA||{};INFORMA.GalleryTeam=function(n,t){"use strict";var r,i,u=(t("meet-people-header"),!!document.documentMode);return i=function(){r=document.getElementById("meet-people-header");u&&t(".tm-img").each(function(){t(this).addClass("ie").css("background-image","url("+t(this).children("img").attr("src")+")")})},jQuery(".tm-img").on("click",function(){var r=t(this).attr("id"),u=t(this).attr("data-profiledata");t("#hdnid").val(r);var n=(t("#hdnid").val(),JSON.parse(u)),i="",i="";i+=" <div class='container'>  <div class='row'> <div class='row'> <div class='col-md-12'> <div class='close' id='close'>";i+="X<\/div>    <\/div> <\/div>     <div class='col-md-4'>   <div class='pro-img'> <img src="+n.__interceptors[0].Values.ProfileImage.Src+" alt='' />";i+="  <\/div>   <\/div> <div class='col-md-8'>  <div class='header'>  <h2>"+n.__interceptors[0].Values.FirstName+" "+n.__interceptors[0].Values.LastName+"<\/h2>   <h3>"+n.__interceptors[0].Values.JobTitle+"<\/h3> <\/div> <div class='pro-social'>        <div class='unit'><\/div>  <div class='unit'><\/div>  <\/div> <div class='pro-details'>  <p>"+n.__interceptors[0].Values.ShortDescription+"<\/p>      <\/div>    <\/div>   <\/div> <\/div>\t";t("#team-discription").html(i)}),jQuery("#close").on("click",function(){alert("lala");t("#team-discription").css("display","none")}),{init:i}}(0,jQuery);jQuery(INFORMA.GalleryTeam.init());INFORMA=window.INFORMA||{};INFORMA.glasseditframe=function(n,t){"use strict";var i,r;return r=function(){"undefined"!=typeof Sitecore&&(Sitecore.PageModes.PageEditor.glassEditFrameHandler=function(){t(".js-btn-editframe").not(".js-ef_attached").on("click",function(e){var data=JSON.parse(t(this).prev(".scChromeData").html());eval(data.commands[0].click);e.stopPropagation()}).addClass("js-ef_attached")},Sitecore.PageModes.PageEditor.onLoadComplete.observe(Sitecore.PageModes.PageEditor.glassEditFrameHandler),Sitecore.PageModes.ChromeTypes.Placeholder=Sitecore.PageModes.ChromeTypes.Placeholder.extend({insertRendering:function(n,t){this.base(n,t);Sitecore.PageModes.PageEditor.glassEditFrameHandler()}},{emptyLookFillerCssClass:Sitecore.PageModes.ChromeTypes.Placeholder.emptyLookFillerCssClass,getDefaultAjaxOptions:Sitecore.PageModes.ChromeTypes.Placeholder.getDefaultAjaxOptions}))},i=function(){n.location.href.indexOf("sc_mode=edit")>-1&&r()},{init:i}}(this,jQuery,"INFORMA");jQuery(INFORMA.glasseditframe.init());INFORMA=window.INFORMA||{};INFORMA.global=function(n,t){"use strict";var i={},r={},u=t("html");return{init:function(){var f=t(n).width();f>1024?(i.isDesktop=!0,i.viewport="desktop",i.viewportN=0):f>=768?(i.isTablet=!0,i.viewport="tablet",i.viewportN=1):(i.isMobile=!0,i.viewport="mobile",i.viewportN=2);u.addClass(i.viewport);t("html").hasClass("preview-mode")?r.isPreview=!0:t("html").hasClass("experience-mode")&&(r.isExperience=!0)},device:i,siteCore:r}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.global.init());INFORMA=window.INFORMA||{};INFORMA.globalFooter=function(n,t){"use strict";var i,r,u=t(".customers_list_slider");return r=function(n){var t=n.data("itemsperframe"),i=n.data("autorotate"),f=n.data("transitionspeed"),e=n.data("slideduration"),u=!0,r=!1;INFORMA.global.siteCore.isPreview&&(i=!0);INFORMA.global.siteCore.isExperience&&(i=!1,u=!1);1===INFORMA.global.device.viewportN?(t=4,r=!0):2===INFORMA.global.device.viewportN&&(t=2,r=!0);n.slick({infinite:u,autoplay:i,autoplaySpeed:e,slidesToShow:t,slidesToScroll:t,speed:f,dots:r})},i=function(){u.length>0&&r(u)},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.globalFooter.init());INFORMA=window.INFORMA||{};INFORMA.globalHeader=function(n,t){"use strict";var fi,ei,oi,si,hi,ci,li,ai,vi,yi,pi,wi,bi,ki,di,tt,gi,nr,it,rt,at,h=t(".mainNavigation"),a=t(".mobileNavigation"),tr=t("#mobile-header-navigation"),y=t(".informaNav .mainNavigation .header-links"),ut=t("#cookieBanner"),d=h.height(),ir=0,p=a.height(),rr=0,s=t("#cookieBanner").outerHeight(),u="navbar-fixed-top",ur=t("#banner h1").text(),pr=t(".marketing-banner .close a"),c=t("body").hasClass("tmt-newco"),ft=80,f=t("#pdp-navigation"),l=0,vt=0,fr=f.data("productpage"),er=t(".product-detail-page"),w=t("#pdp-navigation .menuFollower"),wr=t("#pdp-navigation .nav-pdp-nondesktop"),or=!0,i=t("#pdp-navigation ul > li > a"),r=t("#pdp-navigation ul > li > a > span"),k=!1,g=[],et=[],yt=[],pt=[],e=0,wt=!0,sr=!0,bt=!1,kt=!1,dt=!1,gt=0,o=t("#services-navigation"),b=0,ni=t("#services-navigation .menuFollower"),hr=!0,nt=t("#services-navigation ul > li > a"),ot=t("#services-navigation ul > li > a > span"),st=[],ti=[],ii=[],ri=!0,cr=!0,ui=0,ht=!1,ct=t("#banner .try-stick"),lr=t("#banner .subscribe-stick"),ar=t("#banner h1"),vr=0,yr=0,v=t(".informaNav .nav-links"),br=t("#sub-nav .subnav-close"),kr=t(".informaNav .navbar-toggle"),dr=t("#mobile-header-navigation .nav-close"),gr=t("#mobile-header-navigation .nav-back"),lt;return f.length>0&&(l=f.height(),t("#pdp-sections ul li").each(function(){var i=t(this).find("a").data("target"),n;0==t("#"+i).length?t(this).remove():(n=t(this).find("a").data("target-index"),0!=n&&t("[id='"+i+"']").length-1<n&&t(this).remove())}),r=t("#pdp-navigation ul > li > a > span"),t("#pdp-navigation ul > li > a").each(function(n){var i=t(this).data("target"),r=t(this).data("target-index");lt?Math.round(t(t("[id='"+i+"']")[r]).offset().top)<Math.round(lt.offset().top)&&(lt=t(t("[id='"+i+"']")[r]),e=n):lt=t(t("[id='"+i+"']")[r])}),t(r[e]).offset()&&w.css("width",t(r[e]).width()).css("left",t(r[e]).offset().left).show()),document.fonts&&document.fonts.ready.then(function(){f.length>0&&(t(r[e]).offset()&&w.css("width",t(r[e]).width()).css("left",t(r[e]).offset().left).show(),i.removeClass("active"),t(i[e]).addClass("active"))}),o.length>0&&(b=o.height(),ni.css("width",t(ot[0]).width()).css("left",t(ot[0]).offset().left).show()),h.length>0&&(d=h.height(),ir=h.offset().top),a.length>0&&(p=a.height(),rr=a.offset().top),tt=function(){s=t("#cookieBanner:visible").length?t("#cookieBanner").outerHeight():0},it=function(){INFORMA.global.device.isDesktop?(h.addClass(u),ut.addClass(u),h.css("top",s),t("body").css("padding-top",d)):(a.addClass(u),ut.addClass(u),a.css("top",s),t("body").css("padding-top",p))},rt=function(){INFORMA.global.device.isDesktop?(h.removeClass(u),ut.removeClass(u),h.css("top",0),t("body").css("padding-top",0)):(a.removeClass(u),ut.removeClass(u),a.css("top",0),t("body").css("padding-top",0))},at=function(){var r=t("#pdp-sections ul li").height()*t("#pdp-sections ul li").length,i=t(n).height()-p-t("#pdp-navigation .nav-pdp-nondesktop").outerHeight()-s;r+t("#pdp-sections-heading").height()>i?(t("#pdp-sections").height(i),t("#pdp-sections").css("overflow","auto")):t("#pdp-sections").css({height:"auto",overflow:"hidden"})},vi=function(){t(n).on("scroll",function(){!k&&h.length>0&&INFORMA.global.device.isDesktop&&yi();!k&&a.length>0&&!INFORMA.global.device.isDesktop&&pi();f.length>0&&or&&si();o.length>0&&hr&&li()})},yi=function(){var i=t(n).scrollTop();tt();i>ir+s?h.hasClass(u)||(it(),t(".informaNav .nav-left").animate({left:"0px"},1e3)):h.hasClass(u)&&(rt(),t(".informaNav .nav-left").animate({left:"0px"},1e3))},pi=function(){var i=t(n).scrollTop();tt();i>rr+s?(it(),tr.css({"z-index":"2000"})):(rt(),tr.css({"z-index":"2"}))},ei=function(){wr.on("click",function(n){n.preventDefault();t("#pdp-sections:visible").length?t("#pdp-sections").slideUp():t("#pdp-sections").slideDown(function(){INFORMA.global.device.isDesktop||f.hasClass(u)&&(at(),t("#pdp-sections").animate({scrollTop:0},500))})})},oi=function(){i=t("#pdp-navigation ul > li > a");0===i.length&&(f.remove(),or=!1)},si=function(){var y=t(n).scrollTop(),o,nt,h;if(sr&&(gt=c?ft:f.offset().top,sr=!1),c?o=ft:INFORMA.global.device.isDesktop?(o=d,l=t("#pdp-navigation").outerHeight()):(o=p,l=t("#pdp-navigation .nav-pdp-nondesktop").outerHeight()),(INFORMA.global.device.isDesktop||c)&&(ct.length>0&&(vr=c?o:ct.offset().top,y>vr-o+s?kt||(ct.clone(!0).appendTo(".nav-pdp-desktop-sticky"),lr.clone(!0).appendTo(".nav-pdp-desktop-sticky"),kt=!0,t(".nav-pdp-desktop-sticky").addClass("move-left")):(kt=!1,t(".nav-pdp-desktop-sticky").empty())),ar.length>0&&(yr=c?o:ar.offset().top,i=t("#pdp-navigation ul > li > a"),r=t("#pdp-navigation ul > li > a > span"),y>yr-o+s?dt||(fr&&(t("#pdp-sections-heading").text(ur),t("#pdp-sections-heading").addClass("move-left")),dt=!0,w.css("width",t(r[e]).width()).css("left",t(r[e]).offset().left).show(),i.removeClass("active"),t(i[e]).addClass("active")):(t("#pdp-sections-heading").text(""),t("#pdp-sections-heading").removeClass("move-left"),w.css("width",t(r[e]).width()).css("left",t(r[e]).offset().left).show(),i.removeClass("active"),t(i[e]).addClass("active"),dt=!1))),tt(),y>gt-o-s){if((f.addClass(u),f.css("top",o+s+"px"),er.css("padding-top",l),k=!0,t(".nav-pdp-nondesktop").addClass("move-left"),it(),INFORMA.global.device.isDesktop||bt)||(nt=w.css("left"),ct.clone(!0).appendTo(".nav-pdp-nondesktop-sticky"),lr.clone(!0).appendTo(".nav-pdp-nondesktop-sticky"),bt=!0,fr&&(t("#pdp-sections-heading").text(ur),t("#pdp-sections-heading").addClass("move-left")),t(".nav-pdp-nondesktop-sticky").addClass("move-left"),w.css("left",nt+t("#pdp-sections-heading").outerWidth()),at()),wt){for(g=[],et=[],yt=[],pt=[],i=t("#pdp-navigation ul > li > a"),r=t("#pdp-navigation ul > li > a > span"),h=0;h<i.length;h++){var ut=t(i[h]).data("target"),lt=t(i[h]).data("target-index"),ot=t(t("[id='"+ut+"']")[lt]),b=ot.offset().top,st=ot.height();c&&(b-=o+10);t("#"+ut).length>0?(g.push(b),c?et.push(b+st+o):et.push(b+st)):g.push(0);t(r[h]).length>0&&(yt.push(t(r[h]).width()),pt.push(t(r[h]).offset().left))}wt=!1}}else k&&(f.removeClass(u),f.css("top","0px"),er.css("padding-top",0),k=!1,wt=!0,gt=f.offset().top,rt(),INFORMA.global.device.isDesktop||(bt=!1,t(".nav-pdp-nondesktop-sticky").empty(),t("#pdp-sections-heading").text(""),t("#pdp-sections-heading").removeClass("move-left"),t(".nav-pdp-nondesktop").removeClass("move-left"),t("#pdp-sections").css({height:"auto",overflow:"hidden"})));if(INFORMA.global.device.isDesktop||c){for(var a=g.length-1,ht=y+o+l+s,v=-1;a>=0;a--)ht>=g[a]&&ht<=et[a]&&(v=a);-1!=v&&(w.css("width",yt[v]),w.css("left",pt[v]),i.removeClass("active"),t(i[v]).addClass("active"))}},fi=function(){i.on("click",function(i){var r,u,e,o,h,a;i.preventDefault();INFORMA.global.device.isDesktop?(t("#pdp-navigation li").removeClass("selected"),t("#pdp-navigation li").addClass("select-options"),l=f.outerHeight(),u=t(this).data("target"),e=t(this).data("target-index"),r=c?ft:p,h=t("[id='"+u+"']"),o=h.length>=[e]?t(h[e]).offset().top-(r+l+s):t("#"+u).offset().top-(r+l+s)):(u=t(this).data("target"),e=t(this).data("target-index"),t("#pdp-sections").slideUp(),l=t("#pdp-navigation .nav-pdp-nondesktop").outerHeight(),vt=k?0:t("#pdp-sections").height(),r=c?ft:p,a=t("[id='"+u+"']"),o=a.length>=[e]?t(a[e]).offset().top-(r+l+vt):t("#"+u).offset().top-(r+l+vt));c&&t(n).scrollTop()<=50&&(o-=r);t("html, body").stop().animate({scrollTop:o},1e3)})},ci=function(){nt=t("#services-navigation ul > li > a");0===nt.length&&(o.remove(),hr=!1)},li=function(){var e=t(n).scrollTop(),s=t("#services-list").parent(),f,r,h,c,i;if(cr&&(ui=o.offset().top,cr=!1),f=INFORMA.global.device.isDesktop?d:p,b=o.height(),e>ui-f){if(o.addClass(u),o.css("top",f+"px"),s.css("padding-top",b),ri){for(st=[],ti=[],ii=[],r=0;r<nt.length;r++)h="#"+t(nt[r]).data("target"),st.push(t(h).offset().top),ti.push(t(ot[r]).width()),ii.push(t(ot[r]).offset().left);ri=!1}}else o.removeClass(u),o.css("top","0px"),s.css("padding-top",0),ri=!0,ui=o.offset().top;for(c=f+b+7,i=st.length-1;i>=0;i--)e+c>=st[i]&&(INFORMA.global.device.isDesktop?(ni.css("width",ti[i]),ni.css("left",ii[i])):(t("#services-navigation li").removeClass("selected"),t("#services-navigation li").removeClass("select-options"),t(t("#services-navigation li")[i]).addClass("selected")),i=-1)},hi=function(){nt.on("click",function(n){n.preventDefault();var i,r,u;INFORMA.global.device.isDesktop?(r=t(this).data("target"),t("#services-navigation li").removeClass("selected"),t("#services-navigation li").addClass("select-options"),b=o.height(),i=d,u=t("#"+r).offset().top-(i+b),t("html, body").stop().animate({scrollTop:u},1e3)):ht?(r=t(this).data("target"),t("#services-navigation li").removeClass("selected"),t("#services-navigation li").removeClass("select-options"),t('#services-navigation li:not(".selected")').slideUp(),t(this).parent().addClass("selected"),b=o.height(),i=p,u=t("#"+r).offset().top-(i+b),t("html, body").stop().animate({scrollTop:t(this).parents("section").offset().top},1e3),ht=!1):(t("#services-navigation li").addClass("select-options"),ht=!0)})},ki=function(){pr.on("click",function(n){n.preventDefault();t(this).closest("section").hide()})},di=function(){INFORMA.global.device.isDesktop?(v.on("mouseover",function(n){n.preventDefault();var r=t(this).find("a").data("subnav"),i=t("#sub-nav"),u=t("#sub-nav").find(".subnav-container");i.css({left:0});u.hide();v.removeClass("nav-active");t(this).addClass("nav-active");i.show();t("#"+r).show();u.removeClass("active");i.find("#"+r).addClass("active")}),t(".nav-links a").on("keydown",function(n){if(13===n.keyCode||13===n.which){t(this).parent().trigger("mouseover");var i=t(this).data("subnav");return t(t("#"+i).find("a")[0]).focus(),!1}}),t(".subnav-close a").on("focusout",function(){var n=t(this).parents(".subnav-container").attr("id");t('.nav-links a[data-subnav="'+n+'"]').parent("li").next("li").find("a").focus();t(this).find("a").unbind("click")}),t("#sub-nav").hover(function(){t(this).show();t("#sub-nav").css({left:0});var n=t("#sub-nav").find(".active").attr("id"),i=v.find("a[data-subnav="+n+"]").parent();v.removeClass("nav-active");i.addClass("nav-active")},function(){t(this).hide();v.removeClass("nav-active")}),v.on("mouseout",function(n){n.preventDefault();t("#sub-nav").hide();t("#sub-nav").css({left:0});v.removeClass("nav-active")}),br.on("click",function(n){n.preventDefault();t("#sub-nav .subnav-container").hide();t("#sub-nav").css({left:0});v.removeClass("nav-active");t(this).unbind("focusout");t(this).find("a").unbind("focusout")})):v.on("click",function(){var n=t(this).find("a").data("subnav"),i=t(this).find("a").text();t("#"+n).length>0&&(t("#sub-nav .subnav-container").hide(),t("#sub-nav").css("left","0"),t("#"+n).css("display","block"),t("#mobile-header-navigation .nav-subnav-heading").text(i),t("#mobile-header-navigation .nav-back").css("display","block"))});kr.on("click",function(n){n.preventDefault();t("#mobile-header-navigation").css("left","0");t(".informaNav .nav-main").css("left","0");t("#mobile-header-navigation .nav-back").css("display","none");t("#mobile-header-navigation .nav-subnav-heading").text("");var i=t(".navbar-brand img")[0];t("#mobile-header-navigation .nav-subnav-heading").append('<div class="navbar-image"><img src="'+i.src+'" class="logo-img-big"/><\/div>')});dr.on("click",function(){t(".navbar-collapse").collapse("hide");t("#mobile-header-navigation").css("left","-100%");t(".informaNav .nav-main").css("left","-100%");t("#sub-nav").css("left","-100%");t("#mobile-header-navigation .nav-image").remove()});gr.on("click",function(){t(".informaNav .nav-main").css("left","0");t("#sub-nav").css("left","-100%");t("#mobile-header-navigation .nav-subnav-heading").text("");t("#mobile-header-navigation .nav-back").css("display","none");var n=t(".navbar-brand img")[0];t("#mobile-header-navigation .nav-subnav-heading").append('<div class="navbar-image"><img src="'+n.src+'" class="logo-img-big"/><\/div>')})},wi=function(){t("#pdp-sections ul li").each(function(){var n="#"+t(this).find("a").data("target");0===t(n).length&&t(this).remove()})},bi=function(){t(document).on("touchstart",function(n){"selectMenu"===n.target.class||t(".selectMenu").find(n.target).length||t(".selectMenu .chosen-container").removeClass("container-active chosen-with-drop")})},gi=function(){},nr=function(){var r="en"===t("html").attr("lang"),i=n.location.pathname.substr(r?0:6);i="/"===i?"":i;a.find(".multi-lang-cta .dropdown-menu a").each(function(){var n=t(this),r=n.attr("href");n.attr("href",("/"===r&&i.length>0?"":r)+i)})},ai=function(){y.length>0&&(INFORMA.global.device.isMobile||INFORMA.global.device.isTablet)&&(1===y.length?t(y).addClass("one"):3===y.length?t(y).addClass("three"):4===y.length?t(y).addClass("four"):t(y).addClass("two"));f.length>0&&(wi(),INFORMA.global.siteCore.isExperience||gi(),oi(),fi(),ei());o.length>0&&(ci(),hi());t('[data-toggle="popover"]').popover();vi();di();ki();bi();INFORMA.global.device.isDesktop||(t("#services-navigation ul > li:first-child").addClass("selected"),ht=!1);nr()},{init:ai}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.globalHeader.init());Handlebars.registerHelper("compare",function(n,t,i){if(arguments.length<3)throw new Error("Handlerbars Helper 'compare' needs 2 parameters");var r=i.hash.operator||"==",u={"==":function(n,t){return n===t},"===":function(n,t){return n===t},"!=":function(n,t){return n!==t},"<":function(n,t){return n<t},">":function(n,t){return n>t},"<=":function(n,t){return n<=t},">=":function(n,t){return n>=t},"typeof":function(n,t){return typeof n===t}};if(!u[r])throw new Error("Handlerbars Helper 'compare' doesn't know the operator "+r);return u[r](n,t)?i.fn(this):i.inverse(this)});Handlebars.registerHelper("math",function(n,t,i){return n=parseFloat(n),i=parseFloat(i),{"+":n+i,"-":n-i,"*":n*i,"/":n/i,"%":n%i}[t]});Handlebars.registerHelper("splitURL",function(n,t){return n?-1!=n.split("?")[0].toString().split("/").lastIndexOf(t):!1});Handlebars.registerHelper("IfNotBlank",function(n,t){return null!=n&&void 0!=n||(n=""),n=n.trim(),n.length>0?t.fn(this):t.inverse(this)});Handlebars.registerHelper("AnalystData",function(n){if(n){var t=n.split("#");return-1!==n.indexOf("#")&&t[1]?"<a href="+t[1]+">"+t[0]+"<\/a>":n}});Handlebars.registerHelper({eq:function(n,t){return n===t},ne:function(n,t){return n!==t},lt:function(n,t){return n<t},gt:function(n,t){return n>t},lte:function(n,t){return n<=t},gte:function(n,t){return n>=t},and:function(){return Array.prototype.slice.call(arguments).every(Boolean)},or:function(){return Array.prototype.slice.call(arguments,0,-1).some(Boolean)}});INFORMA=window.INFORMA||{};INFORMA.helpfaq=function(n,t){"use strict";var i,r,u=t(".help-faq-select");return r=function(){u.change(function(){t(this).parents(".accordian-structure").find(".help-faq-wrapper").children().removeClass("show").addClass("hide");var n=t("option:selected",this).data("show");t(n).removeClass("hide").addClass("show")})},i=function(){r()},{init:i}}(0,jQuery);jQuery(INFORMA.helpfaq.init());INFORMA=window.INFORMA||{};INFORMA.heroBanner=function(n,t){"use strict";var v,y,p,w,b,k,d,o,s,h,c,l=t("img[data-video]"),r=t(".hero-banner-carousel .slider-component"),e=t(".hero-banner-texture,.hero-banner"),f=t(".hero-banner-texture .cf-img,.hero-banner .cf-img"),g=t(".hero-banner-texture").not(".sample-content-banner, .product, .key-acocunt-landing-section"),nt=t(".hero-banner-texture.product.supergraphic"),u=[],tt=0,a=0,i=[];return y=function(){var n=l.data("video");l.parent().html('<iframe width="100%" height="auto" src="'+n+'" frameborder="0" allowfullscreen volume="0"><\/iframe>')},p=function(t){var u,f=1,i=t.data("autorotate"),s=t.data("transitionspeed"),e=t.data("slideduration"),o=!0,r=Boolean(t.data("dots"));void 0!==t.data("rtl")&&(u=t.data("rtl"));INFORMA.global.siteCore.isExperience&&(i=!1,o=!1);!0===u&&!0===i&&t.on("init",function(){n.setInterval(function(){t.slick("slickPrev")},e)});t.slick({infinite:o,autoplay:i,autoplaySpeed:e,slidesToShow:f,slidesToScroll:f,speed:s,dots:null==r&&void 0==r||r,swipe:!INFORMA.global.device.isDesktop})},r.on("init",function(){var n,s,c,r,h,e,o,f,l=t(this).find(".slick-slide .videoBG");l.each(function(l){var v,y,a;switch(n=t(this),s=n.attr("data-videotype"),c=n.attr("data-videourl"),r=n.attr("data-videoid"),h=n.attr("data-videosound"),f=r+"_"+(l+1),n.attr("data-volume",100*h),n.attr("data-id",f),s){case"youtube":v=document.createElement("div");v.id=f;n.append(v);e={modestbranding:0,autoplay:1,controls:1,loop:1,wmode:"opaque",playlist:r,showinfo:0};o=function(n){u.push(n);b()};break;case"vimeo":t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").removeClass("disable-arrow");y=document.createElement("div");y.id=f;n.append(y);e={id:r,loop:!0,autoplay:!0};o=function(n){i.push(n);2===INFORMA.global.device.viewportN&&(t(".videoBG_wrapper").css("height","80%"),t(".block-centered").css("transform","translateY(-40%)"));1===INFORMA.global.device.viewportN&&(t("section.hero-banner").addClass("vimeo-video-banner"),t(".videoBG_wrapper").css("height","80%"),t(".block-centered").css("transform","translateY(-25%)"));w()};break;case"wistia":a=document.createElement("iframe");a.id=f;a.class="wistia_embed";a.name="wistia_embed";a.src=c+"/embed/iframe/"+r+"?autoplay=1&playbar=false&smallPlayButton=false&fullscreenButton=false&volumeControl=false&endVideoBehavior=loop&volume="+h;n.append(a);e={id:r};o=function(n){if(1===INFORMA.global.device.viewportN||2===INFORMA.global.device.viewportN){var i=t(".videoBG_wrapper");i.length>0&&i.on("click",function(){n.play()})}}}INFORMA.Analytics.setupVideoApi(f,s,e,o)})}),w=function(){a=0;t.each(i,function(){if(a++,i.length===a){if(t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").removeClass("disable-arrow"),setTimeout(function(){r.find(".hero-items.slick-active .videoBG iframe").css("display","block")},100),"vimeo"===r.find(".hero-items .videoBG").attr("data-videotype"))for(var u=r.find(".hero-items .videoBG iframe").parent()[0].id,n=0;n<i.length;n++)i[n].element.parentElement.id===u&&i[n].play()}else t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").addClass("disable-arrow"),r.find(".hero-items.slick-active .videoBG iframe").css("display","none")})},b=function(){if("desktop"===INFORMA.global.device.viewport||0===INFORMA.global.device.viewportN)if(tt++,u.length===tt){if(t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").removeClass("disable-arrow"),"youtube"===r.find(".videoBG").attr("data-videotype"))for(var i=r.find(".videoBG iframe")[0].id,n=0;n<u.length;n++)u[n].a.id===i&&u[n].playVideo()}else t(".hero-banner-carousel .slick-next,.hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").addClass("disable-arrow")},r.on("beforeChange",function(n,i,r,u){u>0&&INFORMA.DeferAssets.loadDefferedAsset(t(i.$slides[u]).find(".cf-img img"))}),r.on("afterChange",function(n,r,f){var h,s,c,l,e,a,v,o;if(("desktop"===INFORMA.global.device.viewport||0===INFORMA.global.device.viewportN)&&(h=r.$slides[f].getElementsByClassName("videoBG"),s=t(n.target).find(".slick-active .videoBG").attr("data-videotype"),h.length>0))if("youtube"===s)for(c=t(r.$slides[f].getElementsByTagName("iframe")).parent(),k(c),l=r.$slides[f].getElementsByTagName("iframe")[0].id,e=0;e<u.length;e++)u[e].a.id===l&&u[e].playVideo();else if("vimeo"===s)for(a=t(r.$slides[f].getElementsByTagName("iframe")).parent(),d(a),v=t(r.$slides[f].getElementsByTagName("iframe")).parent()[0].id,o=0;o<i.length;o++)i[o].element.parentElement.id===v&&i[o].play()}),k=function(n){for(var r,t,i=0;i<n.length;i++)for(r=n[i].id,t=0;t<u.length;t++)try{u[t].element.parentElement.id===r&&u[t].pauseVideo()}catch(n){}},d=function(n){for(var u,t,r=0;r<n.length;r++)for(u=n[r].id,t=0;t<i.length;t++)try{i[t].element.parentElement.id===u&&i[t].pause()}catch(n){}},o=function(){var i;if(g.length>0)if(i=g.find(".h1-styles, .subtext, .description"),t(n).width()>1360){var r=e.width()-f.width(),u=(e.width()-1172)/2,o=r-u-15;i.css({width:o})}else i.css("width","auto")},s=function(){var n;nt.length>0&&("mobile"===INFORMA.global.device.viewport?(n=nt.children(".container").children(".row").children("div").eq(1),f.legth>0&&(f.css("top",n[0].offsetTop),f.css("height",n.height()))):f.legth>0&&(f.css("top",""),f.css("height","")),f.addClass("ready"))},c=function(n){n.find("h1, h2, h3, p, span").each(function(){var i=t(this);if(0===i.html().length)return i.remove(),c(n),!1})},h=function(){var n,r,u,i;e.length>0&&"mobile"===INFORMA.global.device.viewport&&("True"==t("#IsNewCoTemplateEnabled").val()?e.each(function(){n=t(this);n.hasClass("hero-banner-carousel")||(u=n.hasClass("hero-banner-video")?n.find(".videoBG"):n.find(".container"),i=n.find(".key-logo-img-mobile"),"True"==t("#IsNewCoTemplateEnabled").val()&&c(u),r=u.innerHeight()+(i.length>0?i.height():0),n.height(r))}):(i=t(".key-logo-img-mobile"),i?(r=t(".hero-banner .container,.hero-banner-texture .container").height()+i.height(),t(".hero-banner,.hero-banner-texture").height(r)):t(".hero-banner,.hero-banner-texture").height(r),t(".hero-banner").css("min-height","400px")))},v=function(){var i,u;l.length>0&&y();i=t(".animatedText ").val();i&&(u=i.split(","),t(".typed-text-primary").typed({strings:u,typeSpeed:50,backDelay:1200,loop:!0,cursorChar:""}));r.length>0&&(p(r),"desktop"!==INFORMA.global.device.viewport&&0!==INFORMA.global.device.viewportN||t(".hero-banner-carousel .videoBG").length>0&&t(".hero-banner-carousel .slick-next, .hero-banner-carousel .slick-prev,.hero-banner-carousel ul.slick-dots").addClass("disable-arrow"));o();s();t(n).on("load",function(){h()});t(document).ready(function(){0==t(".single-image .hero-items .hero-cf-image").length&&t(".single-image .hero-items .vertical-align").addClass("empty-banner-image")});t(n).on("resize",function(){if(h(),e.length>0){if("mobile"===INFORMA.global.device.viewport&&"True"!=t("#IsNewCoTemplateEnabled").val()){var n=t(".hero-banner .container,.hero-banner-texture .container").outerHeight();t(".hero-banner,.hero-banner-texture").height(n);t(".hero-banner").css("min-height","400px")}o();s()}})},{init:v}}(this,jQuery);jQuery(INFORMA.heroBanner.init());INFORMA=window.INFORMA||{};INFORMA.twitterFeed=function(n,t){"use strict";var r,u,f,i=t(".twitter-carousel");return f=function(){var r=i.find(".feed"),u=INFORMA.global.device.viewportN,n=0;0!==u&&1!==u||(r.each(function(){var i=t(this).height();i>n&&(n=i)}),r.css("height",n))},u=function(t){var r,i=t.data("itemsperframe"),u=t.data("autorotate"),o=t.data("transitionspeed"),f=t.data("slideduration"),e=Boolean(t.data("pagination"));void 0!==t.data("rtl")&&(r=t.data("rtl"));1===INFORMA.global.device.viewportN?i=2:2===INFORMA.global.device.viewportN&&(i=1,e=!0);!0===r&&!0===u&&t.on("init",function(){n.setInterval(function(){t.slick("slickPrev")},f)});t.slick({infinite:!0,autoplay:u,autoplaySpeed:f,slidesToShow:i,slidesToScroll:i,speed:o,dots:e,swipe:!INFORMA.global.device.isDesktop,adaptiveHeight:!0})},r=function(){i.length>0&&(u(i),f())},{init:r}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.twitterFeed.init());INFORMA=window.INFORMA||{};INFORMA.infocircle=function(n,t){"use strict";var e,o,s,h,c,l,a,i=t(".infocircle-carousel"),r=i.data("autorotate"),v=i.data("pagination"),p=i.data("itemsperframe"),y=i.data("transitionspeed"),u=i.data("slideduration"),f=!0;return void 0!==i.data("rtl")&&(o=i.data("rtl")),!0===o&&!0===r&&i.on("init",function(){n.setInterval(function(){i.slick("slickPrev")},u)}),s=function(){t(".infocircle-carousel-thumb").slick({arrows:!1,autoplay:r,dots:v,slidesToShow:p,speed:y,autoplaySpeed:u,asNavFor:".infocircle-carousel-content",responsive:[{breakpoint:800,settings:{slidesToShow:4}},{breakpoint:767,settings:{slidesToShow:1,centerMode:!0,centerPadding:"90px"}}]})},h=function(){t(".infocircle-carousel-content").slick({arrows:!1,autoplay:r,dots:v,slidesToShow:"1",speed:y,autoplaySpeed:u,asNavFor:".infocircle-carousel-thumb"})},c=function(){t(".infocircle-carousel-thumb").click(function(){f=!1;t(".infocircle-carousel").slick("slickPause")})},l=function(){t(".infocircle-carousel-thumb").on("mouseenter",".slick-slide",function(n){if(f){var i=t(n.currentTarget),r=i.data("slick-index");t(".infocircle-carousel-content").slick("getSlick").slickGoTo(r)}})},a=function(){t(".infocircle-carousel-thumb").on("click",".slick-slide",function(n){var i=t(n.currentTarget),r=i.data("slick-index");t(".infocircle-carousel-content").slick("getSlick").slickGoTo(r);t(".infocircle-carousel").slick("slickPause")})},e=function(){s();h();c();l();a();t(".infocircle-carousel-thumb").mouseover(function(){t(".infocircle-carousel").slick("slickPause")});t(".infocircle-carousel-thumb").mouseout(function(){f&&t(".infocircle-carousel").slick("slickPlay")})},{init:e}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.infocircle.init());INFORMA=window.INFORMA||{};INFORMA.infographic=function(n,t){"use strict";var e,i,r,u,f,o=t(".infographic-wrapper");return i=function(n){if(t(n).find(".infographic-tile").find("h1").length>0){var i=0;t(n).find(".infographic-tile").find("h1").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".infographic-tile").find("h1").each(function(){t(this).css({"min-height":i+"px"})})}},r=function(n){if(t(n).find(".infographic-tile").find("h2").length>0){var i=0;t(n).find(".infographic-tile").find("h2").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".infographic-tile").find("h2").each(function(){t(this).css({"min-height":i+"px"})})}},u=function(n){if(t(n).find(".infographic-tile").find("h3").length>0){var i=0;t(n).find(".infographic-tile").find("h3").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".infographic-tile").find("h3").each(function(){t(this).css({"min-height":i+"px"})})}},f=function(n){if(t(n).find(".infographic-tile").find("h4").length>0){var i=0;t(n).find(".infographic-tile").find("h4").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".infographic-tile").find("h4").each(function(){t(this).css({"min-height":i+"px"})})}},e=function(){o.each(function(){i(this);r(this);u(this);f(this)});t(n).on("resize",function(){o.each(function(){i(this);r(this);u(this);f(this)})})},{init:e}}(this,jQuery);jQuery(INFORMA.infographic.init());INFORMA=window.INFORMA||{};INFORMA.MeetCustomer=function(n,t){"use strict";var i;return t("tech-main-header"),i=function(){t(document).ready(function(){var n=t(".mc-button-div .mc-button-child").length;n>=4&&t(".mc-button-div").addClass("fourbutton");3==n&&t(".mc-button-div").addClass("threebutton");2==n&&t(".mc-button-div").addClass("twobutton")})},{init:i}}(0,jQuery);jQuery(INFORMA.MeetCustomer.init());INFORMA=window.INFORMA||{};INFORMA.mnlHeader=function(n,t){"use strict";var f,e,v,y,p,w,b,k,o=t(".menu-1 > li"),s=t(".menu-2 > li"),r=t(".law-header .law-header-right"),it=t(".law-header-right .dropdown-value"),rt=t(".law-header-right .dropdown-list .list-value"),d=t(".law-header-right .dropdown-list"),h=t(".law-header"),c=t(".search-toggle i"),g=t(".search-toggle i.fa-search"),l=t(".law-header-left .menu"),nt=t(".law-header .law-header-container .menu-2,.law-header .law-header-container .menu-3"),ut=t(".menu-2 > li > span"),ft=t(".menu-1 > li > label"),et=(t("#mnlSerach"),t("#mnlSearchbtn"),n.innerHeight),a=7,i=n.outerWidth,u=document.getElementById("mnlHeader"),tt;return h.length>0&&(tt=h.outerHeight(!0)),null!=u&&(e=u.offsetTop),f=function(){null!=u&&(n.pageYOffset>e&&u.classList.add("mnlsticky"),n.pageYOffset<=e&&u.classList.remove("mnlsticky"))},v=function(){h.each(function(){var n=t(this).attr("lang-display");"true"==n&&t(this).find(".languages").removeClass("hide-lang");"false"==n&&t(this).find(".languages").addClass("hide-lang")})},b=function(){s.each(function(){for(var r,p,u,l,f=t(this).index(),e=0,s=t(this).parent(".menu-2").outerHeight(!0),h=t(this).children(".menu-wrapper-3").children(".menu-3").outerHeight(!0),n=t(this).children(".menu-wrapper-3").children(".menu-3").children("li").length,v=t(this).parent(".menu-2").children("li").length,o=t(this).children(".menu-wrapper-3").children(".menu-3").hasClass("menu-scroll"),y=t(this).parent(".menu-2").hasClass("menu-scroll"),i=t(this).outerHeight(!0),c=0;c<=f;c++)e+=t(this).parent(".menu-2").children("li").eq(c).outerHeight(!0);if(r=e,p=et-(r+tt+h),y||(r>=(n-1)*i&&r>p&&(u=a-f,n>u&&t(this).children(".menu-wrapper-3").css("top",-(n-u)*i)),(o&&(t(this).children(".menu-wrapper-3").css("top",-(r-i+1)),t(this).children(".menu-wrapper-3").css("height",s+2)),o||n!=v||(t(this).children(".menu-wrapper-3").css("top",-(r-i)),t(this).children(".menu-wrapper-3").css("height",s+2)),r<h&&n<v)&&(u=a-f,n>u&&t(this).children(".menu-wrapper-3").css("top",-(n-u)*i))),y&&(l=t(this).parent(".menu-2").scrollTop(),f=f,o&&t(this).children(".menu-wrapper-3").css("height",s+2),!o&&n<a)){var w=e-i-l,b=426-(w+h);t(".menu-wrapper-3").removeClass("openfrom-bottom");t(this).children(".menu-wrapper-3").css("top",e-i-l);b<=0&&t(this).children(".menu-wrapper-3").addClass("openfrom-bottom")}})},c.on("click",function(){var n=t(this).hasClass("fa-times"),i=t(this).hasClass("fa-search");l.removeClass("open");d.removeClass("active");r.removeClass("open-menu ");n&&t(".law-header-right").removeClass("open-search");i&&t(".law-header-right").addClass("open-search");t(this).siblings("i").addClass("active");t(this).removeClass("active")}),o.on("mouseover",function(){i>1141&&(t(this).siblings("li").removeClass("active"),t(this).addClass("active"))}),o.on("mouseout",function(){i>1141&&t(".menu-1 > li").removeClass("active")}),s.on("mouseover",function(){i>1141&&(t(this).removeClass("active"),t(this).siblings("li").removeClass("active"),t(this).addClass("active"))}),it.on("click",function(){l.removeClass("open");r.removeClass("open-menu ");r.removeClass("open-search");c.removeClass("active");g.addClass("active");t(this).siblings(".dropdown-list").toggleClass("active")}),rt.on("click",function(){var n=t(this).attr("data-img");t(this).parent(".dropdown-list").siblings(".dropdown-value").children("img").removeAttr("src").attr("src",n);t(this).parent(".dropdown-list").removeClass("active").siblings(".dropdown-value").children("span").hide()}),l.on("click",function(){t(this).toggleClass("open");var n=t(this).hasClass("open");r.removeClass("open-search");c.removeClass("active");d.removeClass("active");g.addClass("active");n?r.removeClass("open-search").addClass("open-menu"):r.removeClass("open-menu")}),nt.removeClass("menu-scroll"),p=function(){o.each(function(){var r=t(this).children(".menu-wrapper-2").length,n=t(this).attr("data-url"),u;i<=1141&&(r>0&&t(this).children("label").addClass("plus"),"#"!=n&&""!=n&&void 0!=n&&null!=n)&&(u=t(this).children("a").text(),t(this).children(".menu-wrapper-2").children(".menu-2").prepend("<li><span> <label><a class='parent-link' href='"+n+"'>"+u+"<\/a> <\/label><\/span> <\/li>"));i>0&&(r>0&&t(this).removeClass("no-child"),r<=0&&t(this).addClass("no-child"));void 0!=n&&("javascript:void(0);"!=n&&""!=n&&void 0!=n&&null!=n?t(this).removeClass("no-url"):t(this).addClass("no-url"))})},w=function(){s.each(function(){var r=t(this).children(".menu-wrapper-3").children(".menu-3").length,f=t(this).children("span").children("a").text(),u=t(this).children(".menu-wrapper-3").children(".menu-3").children("li").length,n=t(this).children("span").attr("data-url");i<=1141&&(r>0&&t(this).children("span").addClass("plus"),r>0&&t(this).children(".menu-wrapper-3").children(".menu-3").prepend("<li><span><a href='"+n+"'>"+f+"<\/a> <\/span> <\/li>"));0==u&&t(this).children(".menu-wrapper-3").addClass("single-child-menu");i>1141&&(u>0?t(this).removeClass("no-child"):t(this).addClass("no-child"));void 0!=n&&("javascript:void(0);"!=n&&""!=n&&void 0!=n&&null!=n?t(this).removeClass("no-url"):t(this).addClass("no-url"))})},ft.on("click",function(n){var r=t(this).siblings(".menu-wrapper-2").length;i<=1141&&(n.stopPropagation(),r>0)&&(t(this).hasClass("plus")?(t(this).siblings(".menu-wrapper-2").fadeIn(100),t(this).removeClass("plus").addClass("minus")):(t(this).siblings(".menu-wrapper-2").fadeOut(100),t(this).removeClass("minus").addClass("plus")))}),ut.on("click",function(n){i<=1141&&(n.stopPropagation(),t(this).hasClass("plus")?(t(this).siblings(".menu-wrapper-3").fadeIn(100),t(this).removeClass("plus").addClass("minus")):(t(this).siblings(".menu-wrapper-3").fadeOut(100),t(this).removeClass("minus").addClass("plus")))}),y=function(){nt.each(function(){t(this).children("li").length>7?t(this).addClass("menu-scroll"):t(this).removeClass("menu-scroll")})},n.addEventListener("scroll",f),n.addEventListener("load",b),k=function(){v();f();y();w();p()},{init:k}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.mnlHeader.init());INFORMA=window.INFORMA||{};INFORMA.NewcoHeader=function(n,t){"use strict";var r,c,g,nt,e,l,tt,a,u,o,v,s,y,p,it,rt,w,b,ut,ft=t("body"),h=t("#cookieBanner"),i=t("#informa-main-header"),st=i.find(".icon-close"),f=t(".newco-search-header .textbox"),k=t(".newco-search-header .newco-gobtn-2 i.fa-times"),d=t(".newco-search-header .newco-gobtn-2 i.fa-search"),et=t(".vertical-slider .slider").length,ot=n.innerWidth;return w=function(n,t){var r=n.closest(".menu-item"),i=r.closest(".menu-items");0!==i.length&&("add"===t&&i.css("height",i.height()+parseInt(n.attr("data-height"))),"subtract"===t&&i.css("height",i.height()-parseInt(n.attr("data-height"))))},b=function(n){n>=y?u.hasClass("navbar-fixed-top")||u.css("top",p).addClass("navbar-fixed-top"):u.removeClass("navbar-fixed-top").css("top","")},ut=function(){ft.hasClass("tmt-newco")&&(r=i.find(".newco-header"),c=r.find(".hamburger"),g=r.find("button#mobile-search"),nt=r.find(".newco-search-header"),e=r.find(".newco-nav"),l=e.find(".menu-items"),tt=e.find(".menu-item.hassub"),a=t("#banner"),u=t("#pdp-navigation"),o=i.height(),v=80,s=a.height(),y=o+s,p=0,it=0,rt=0,c.click(function(){r.toggleClass("nav-closed");f.removeClass("active");k.removeClass("active");d.addClass("active");r.hasClass("nav-closed")||r.addClass("search-closed")}),nt.click(function(){r.toggleClass("search-closed");r.hasClass("search-closed")||r.addClass("nav-closed")}),tt.click(function(n){var r=t(this),i=r.children(".menu-items");("A"!==n.target.nodeName||t(n.target).hasClass("disable"))&&(i.toggleClass("nav-closed"),r.toggleClass("subnav-open"),i.hasClass("nav-closed")?(i.find(".menu-items").addClass("nav-closed").css("height",""),i.find(".menu-item").removeClass("subnav-open"),i.css("height",""),w(i,"subtract")):(i.css("height",parseInt(i.attr("data-height"))),w(i,"add")),n.stopPropagation())}),e.find("a").each(function(){var n=t(this),i=n.attr("href");i&&i.length>0||n.addClass("disable")}),g.click(function(){var n=f.hasClass("active"),t=h.length,i=h.is(":visible");t>0&&i||f.removeAttr("style");c.trigger("click");n?(f.removeClass("active"),k.removeClass("active"),d.addClass("active")):(f.addClass("active"),k.addClass("active"),d.removeClass("active"))}),st.click(function(){if(f.removeAttr("style"),et>0&&void 0!=et&&ot>1141){var n=t(".vertical-slider"),e=t("#cookieBanner").hasClass("navbar-fixed-top"),r=(t("#cookieBanner").css("display"),t("#informa-main-header").height()),o=t("#mainNavigation").height(),u=t("#cookieBanner").height(),s=t(".mobileNavigation").height(),h=t("#informa-main-header").next(".vertical-slider"),i=n.height();e&&void 0!=n&&(ot>1141?(n.css("top",o),t(".content-box").css("height",i-o)):(n.css("top",s),t(".content-box").css("height",i-s)));e||void 0!=n&&(h?(n.css("top",0),t(".content-box").css("height",i)):u<r?(n.css("top",r),t(".content-box").css("height",i-r)):(n.css("top",u),t(".content-box").css("height",i-u)))}}),rt=setInterval(function(){i.height()!=o&&i.trigger("heightchanged")},100),i.on("heightchanged",function(){var r=h.is(":visible")?h.outerHeight():0;o=i.height();s=a.outerHeight();y=s-i.next().offset().top-r+v;p=v+r;b(t(n).scrollTop());i.next().css("margin-top",r>0?r:"")}),i.trigger("heightchanged"))},t(n).on("load",function(){void 0!=l&&(l.each(function(n,i){var r=t(i),u=r.find(".menu-item.hassub .menu-items");u.css("height",0);r.attr("data-height",i.clientHeight).addClass("ready");u.css("height","")}),u.length>0&&(it=u.outerHeight(!0)),e.addClass("ready"))}),t(n).scroll(function(){if(ft.hasClass("tmt-newco")){var r=t(n).scrollTop();r>50?i.addClass("scrolled"):i.removeClass("scrolled");u.length>0&&b(r)}}),{init:ut}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.NewcoHeader.init());INFORMA=window.INFORMA||{};INFORMA.onecolumnbanner=function(n,t){"use strict";var i,r,u=t(".one-column-banner");return r=function(){u.each(function(){t(this).find(".image-wrapper").find("img").length>0?t(this).addClass("one-col-ban-with-img"):t(this).addClass("one-col-ban-without-img")})},i=function(){r()},{init:i}}(0,jQuery);jQuery(INFORMA.onecolumnbanner.init());INFORMA=window.INFORMA||{};INFORMA.overlappingtilebanner=function(n,t){"use strict";var o,s,h,r,u,c,f,l,e,a,v,y,i,p,w,b=t(".overlapping-tile-banner .one-col-ban-carousel"),k=1132;return v=function(i){void 0!==t(i).data("rtl")&&(a=t(i).data("rtl"));!0===a&&!0===r&&t(i).on("init",function(){n.setInterval(function(){t(i).slick("slickPrev")},e)})},h=function(n){var r,i,f,e=t(n).find(".slick-dots");0!==e.length&&"logos"===u&&t(n).find(".one-col-ban-tile:not(.slick-cloned)").each(function(n){return i=e.children("li").eq(n),!!i.hasClass("logo-pag")||(r=t(this),!(f=r.data("logo"))||void i.css("background-image","url("+f+")").addClass("logo-pag"))})},s=function(n){t(n).slick({arrows:!0,infinite:!0,draggable:!1,autoplay:r,dots:c,slidesToShow:f,slidesToScroll:f,speed:l,autoplaySpeed:e,responsive:[{breakpoint:1348,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:1142,settings:{dots:!1}}]})},y=function(i){var r=t(i).find(".one-col-ban-tile"),u;0!==r.length&&(t(n).width()<k?(u=0,r.each(function(){var n=t(this).outerHeight();n>u&&(u=n)}),r.each(function(){t(this).css("min-height",u)})):r.each(function(){t(this).css("min-height","auto")}))},i=function(n,t){return n.data(t)||n.data(t,n.find("."+t)),n.data(t)},p=function(r){var f,u,e,s,h=t(r),o=h.find(".one-col-ban-tile");0!==o.length&&(t(n).width()<k?o.each(function(){return f=t(this),e=i(f,"image-wrapper"),0===e.length||(s=e.innerHeight(),u=i(f,"content-wrapper"),0===u.length||void u.css("margin-top",-s/2))}):o.each(function(){if(f=t(this),u=i(f,"content-wrapper"),0===u.length)return!0;u.css("margin-top","")}))},w=function(i){c=!!u&&(!(t(n).width()>=1349)||1==t(i).data("itemsperframe"))},o=function(){b.each(function(){r=t(this).data("autorotate");u=t(this).data("pagination");f=t(this).data("itemsperframe");l=t(this).data("transitionspeed");e=t(this).data("slideduration");v(this);w(this);s(this);h(this)});t(n).on("resize load",function(){b.each(function(){var n=this;this&&(p(n),y(n))})})},{init:o}}(this,jQuery);jQuery(INFORMA.overlappingtilebanner.init());INFORMA=window.INFORMA||{};INFORMA.analystList=function(n,t){"use strict";var u,f,i,e,r=t("#pdp-analyst");return t(".analyst-views"),f=function(){t(".btn-showMore").on("click",function(){var n=INFORMA.global.device.viewportN;n=2===n?2:3===n?3:4;t(this).parents(".analyst-views").find(".analyst-list-container:nth-child(n+"+n+")").slideToggle();t(this).parents(".analyst-views").toggleClass("showLess")})},i=function(n){var i=0,t=0;n.css("height","");n.each(function(){(i=jQuery(this).outerHeight())>t&&(t=i)});n.css("height",t)},e=function(){jQuery(".analyst-views").each(function(){var n=jQuery(this).find(".analyst-list-container, .analyst-view-container");i(n.find(".analyst-description, .profile-discription"));i(n.find(".analyst-details"));i(n.find(".analyst-footer-content"))})},function(){r.find(".btn.btn-showMore .less").on("click",function(){t("html, body").animate({scrollTop:r.offset().top-35},700)})},u=function(){r.length>0&&f(r);t(n).on("load",function(){e()})},{init:u}}(this,jQuery);jQuery(INFORMA.analystList.init());INFORMA=window.INFORMA||{};INFORMA.pdpBrochure=function(n,t){"use strict";var i,r=t(".pdp-brochure, #agri-report"),u=t("#formSendBrochure .submit-response"),f=r.data("url");return i=function(){u.length>0&&n.open(f,"_blank","toolbar=yes,scrollbars=yes,resizable=yes,left=100,width=1000,height=600")},{init:i}}(this,jQuery);jQuery(INFORMA.pdpBrochure.init());INFORMA=window.INFORMA||{};INFORMA.pdp_customer_quote=function(n,t){"use strict";var i,r,u=t(".customer-quote .slider-component");return r=function(t){var u,f=1,i=t.data("autorotate"),s=t.data("transitionspeed"),e=t.data("slideduration"),o=!0,r=Boolean(t.data("dots"));void 0!==t.data("rtl")&&(u=t.data("rtl"));INFORMA.global.siteCore.isExperience&&(i=!1,o=!1);!0===u&&!0===i&&t.on("init",function(){n.setInterval(function(){t.slick("slickPrev")},e)});t.slick({infinite:o,autoplay:i,autoplaySpeed:e,slidesToShow:f,slidesToScroll:f,speed:s,dots:null==r&&void 0==r||r,swipe:!INFORMA.global.device.isDesktop})},i=function(){u.length>0&&r(u)},{init:i}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.pdp_customer_quote.init());INFORMA=window.INFORMA||{};INFORMA.pharma_home_products=function(n,t){"use strict";var i,r,f=t("#Pharma-ourproducts"),u=f.find(".products-carousel");return r=function(n){var i=n.data("itemsperframe"),t=n.data("autorotate"),u=n.data("transitionspeed"),f=n.data("slideduration"),r=!0,e=Boolean(n.data("pagination"));INFORMA.global.siteCore.isPreview&&(t=!0);INFORMA.global.siteCore.isExperience&&(t=!1,r=!1);n.slick({infinite:r,autoplay:t,autoplaySpeed:f,slidesToShow:i,slidesToScroll:i,speed:u,dots:e,adaptiveHeight:!0,arrows:!0,swipe:!INFORMA.global.device.isDesktop,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})},i=function(){u.length>0&&r(u)},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.pharma_home_products.init());INFORMA=window.INFORMA||{};INFORMA.piebarchart=function(n,t){"use strict";var r,u,i,f,e,o,s,h,c,l,a,v,y=INFORMA.Templates;return INFORMA.Configs.urls.webservices,u=function(n){i=JSON.parse(t(n).find("input[type=hidden]").val());i.UniqueId=Date.now();i.Bar="bar"==i.Type?!0:!1;s(n)},s=function(n){f=y.PieBarChartTemplate?y.PieBarChartTemplate:"";e=Handlebars.compile(f);o=e(i);t(n).find(".inf-pie-bar-chart-section").append(o);"pie"==i.Type&&(t(n).addClass("chart-background"),t(n).find("p.heading").addClass("pie-heading"),t(n).find("img.icon").addClass("pie-icon-sub-head"),t(n).find("p.sub-heading").addClass("pie-icon-sub-head"),t(n).find(".pie-bar-chart-container").addClass("pie-animation"),h(n));"bar"==i.Type&&(t(n).addClass("bar-chart-background"),t(n).find("p.heading").addClass("bar-heading"),t(n).find("img.icon").addClass("bar-icon-sub-head"),t(n).find("p.sub-heading").addClass("bar-icon-sub-head"),t(n).find(".pie-bar-chart-container").addClass("bar-animation"),c(n));l(n)},h=function(r){t(r).find(".pie-bar-chart-col .pie-bar-chart-container").each(function(){function r(){var t={Radius:110},i=n.screen.width;return i>=320&&i<767?(t.Radius=60,t):t}var t=this.id,u=i.FacetList.filter(function(n){return n.Id+i.UniqueId===t});AmCharts.makeChart(t,{type:"pie",radius:r().Radius,hideCredits:"true",labelTickAlpha:"50",labelTickColor:"#fff",labelRadius:20,labelText:"[[title]]\n",labelFunction:function(n){return n.title+"\n"+n.value},theme:"light",fontSize:11,color:"#ffffff",colorField:"Color",titleField:"Name",valueField:"Count",autoMargins:"false",dataProvider:u[0].SectionList,balloon:{fixedPosition:!0},"export":{enabled:!1,menu:[]}})})},c=function(n){t(n).find(".pie-bar-chart-col .pie-bar-chart-container").each(function(){var t=this.id,n=i.FacetList.filter(function(n){return n.Id+i.UniqueId===t});AmCharts.makeChart(t,{type:"serial",hideCredits:"true",theme:"none",fontSize:10,color:"#FFFFFF",titleField:"Name",plotAreaBorderAlpha:0,plotAreaBorderColor:"",plotAreaFillColors:"#FFFFFF",backgroundColor:"",backgroundAlpha:0,dataProvider:n[0].SectionList,valueAxes:[{axisAlpha:0,position:"left",gridColor:"transparent",minimum:0,maximum:n[0].maximumValue+.2*n[0].maximumValue,strictMinMax:"true"}],startDuration:1,graphs:[{balloonText:"<b>[[category]]\n[[value]]<\/b>",fillColorsField:"Color",fillAlphas:1,lineAlpha:0,type:"column",valueField:"Count",labelText:"[[category]]\n[[value]]",labelPosition:"top",labelFunction:function(n,t){return t.replace(" ","\n")+"\n"}}],chartCursor:{categoryBalloonEnabled:!1,cursorAlpha:0,zoomable:!1},categoryField:"Name",autoMargins:!1,marginLeft:10,marginRight:10,marginTop:0,marginBottom:0,categoryAxis:{gridPosition:"start",gridThickness:0,axisColor:"#FFFFFF",labelsEnabled:!1,startOnAxis:!1}})})},l=function(n){t(n).find(".pie-bar-chart-carousel").slick({slidesToShow:4,infinite:!1,responsive:[{breakpoint:1400,settings:{slidesToShow:3}},{breakpoint:800,settings:{slidesToShow:2}},{breakpoint:500,settings:{slidesToShow:1}}]})},a=function(){var i=t(".chart-background .pie-bar-chart-carousel").find("button").length,n=t(".chart-background a.world-chart-read-more");i>0?n.css("margin-top","80px"):n.css("margin-top","0px")},v=function(){var i=t(".bar-chart-background .pie-bar-chart-carousel").find("button").length,n=t(".bar-chart-background a.world-chart-read-more");i>0?n.css("margin-top","80px"):n.css("margin-top","0px")},r=function(){t(".chart-bc").each(function(){u(this)});a();v()},{init:r}}(this,jQuery);jQuery(INFORMA.piebarchart.init());INFORMA=window.INFORMA||{};INFORMA.ProductFinder=function(n,t){"use strict";var y,f,p,w,e,o,b,s,k,h,c,l,d,a,i=t("#product-finder-section"),r=t(".sector-search .SubSector"),g=t(".sector-search li.button"),nt=i.find(".custom-multiselect select"),it=t(".search-options .close-finder"),rt=t(".site-search input"),v=t(".site-search li.button"),u=t(".search:visible"),tt=INFORMA.Configs.urls.webservices,ut=INFORMA.Templates;return s=function(){var n=t("#sub-nav .subnav-close a");i.slideDown("slow");n&&n.trigger("click");!0===t(".mainNavigation").hasClass("navbar-fixed-top")&&t("html, body").stop().animate({scrollTop:0},600);!0===t(".mobileNavigation").hasClass("navbar-fixed-top")&&t("html, body").stop().animate({scrollTop:0},600)},b=function(){it.on("click",function(n){n.preventDefault();u.toggleClass("inactive");i.slideUp("fast")});u.on("click",function(n){n.preventDefault();t("#product-finder-section:hidden").length?(u.toggleClass("inactive"),s()):(u.toggleClass("active"),s())})},a=function(n,i,r,u){var f={};return t.extend(f,n,i,r,u),f},o=function(){var n=i.find("form").serializeArray();return INFORMA.Utils.serializeObject(n)},h=function(n){if(n.SubSectors.length>0){var i=Handlebars.compile(ut.SubSectorList),u=i({SubSectors:n.SubSectors});t(".sector-search li").removeClass("disabled");r.removeAttr("disabled").removeProp("disabled").html(u);r.multiselect("rebuild")}else t("ul.sector-search li.button").removeClass("disabled")},k=function(i,r){var f,u;(INFORMA.SearchResults.RenderSearchResults(i),"SearchResult"===r)&&(f=t('input[name="SearchText"]')?t('input[name="SearchText"]').val():null,history.pushState&&(u=n.location.protocol+"//"+n.location.host+n.location.pathname+"?searchtext="+f,n.history.pushState({path:u},"",u)))},c=function(n,t,i,r,u){INFORMA.DataLoader.GetServiceData(n,{method:t,data:i,success_callback:function(n){"function"==typeof r&&r.call(this,n)},error_callback:function(){"function"==typeof u&&u.call(this,i)}})},l=function(n,i){n.off().on("click",function(n){n.preventDefault();INFORMA.Spinner.Show(t("body"));t("#hdnSearchType")&&(t("#hdnSearchType").attr("name",""),t("#hdnSearchType").attr("value",""));var u=o(),f=INFORMA.SearchResultFilter.GetRefineData(),e=INFORMA.SearchResults.DefaultParameters(),r=a(u,f,e);"ProductSearch"===i&&(r.IsProduct=!0);"SearchResult"===i&&(r.IsSearch=!0,r.PageNo=1,r.CurrentPage=t(".search-container").data("currentpage"));c(tt.GetRefineResults,"Post",JSON.stringify(r),function(n){k(n,i)},null);INFORMA.SearchResults.ResetPaging()})},d=function(){var n=!0===i.data("product"),r=!0===i.data("search");n&&l(g,"ProductSearch");r&&l(v,"SearchResult");rt.on("keyup",function(){var n=t(this).data("length");t(this).val().trim().length>=n?v.removeClass("disabled"):v.addClass("disabled")});t(".product-finder form").on("keydown",function(n){var r=t(".site-search input[name=SearchText]"),f=i.find("input[type=radio][data-show='site-search']:checked"),u=INFORMA.global.device.viewportN;if(13===n.keyCode||13===n.which)return(1!==u&&2!==u||(r.trigger("blur"),document.activeElement.blur()),r.val().length>=r.data("length")&&f)?(t('button[data-submit="site-search"]').parent().hasClass("disabled")||r.parents(".site-search").find('button[data-submit="site-search"]').trigger("click"),!1):!t("button[data-submit='sector-search']").parent().hasClass("disabled")})},e=function(n){var r=t(n).data("show");t("ul.searchToggle").addClass("hidden");i.find("ul."+r).removeClass("hidden").fadeIn("slow")},p=function(){b();jQuery(".search-options input[type=radio]").on("change",function(n){n.preventDefault();e(t(this))});jQuery(".search-options input[type=radio]").on("focus",function(n){n.preventDefault();t(this).parent().addClass("active")});jQuery(".search-options input[type=radio]").on("focusout",function(n){n.preventDefault();t(this).parent().removeClass("active")});var n=jQuery(".search-options input[type=radio]:checked");"object"==typeof n&&e(n)},f=function(n){var t=INFORMA.Utils.getUniqueArray(n).join(",");t="SectorIDs="+t;c(tt.GetSubSectorList,"Get",t,h,null)},w=function(){var i=t("input.sector-list").val(),n=i?i.split(","):[];nt.val("");nt.multiselect({maxHeight:200,buttonText:function(n,i){if(0===n.length)return t(i).data("placeholder");var r=1;return n.each(function(n){r=parseInt(1+n)}),r+" Selected"},onChange:function(i,u){if(!0===t(i).parent().hasClass("Sector")){if(u)n.push(t(i).val());else{var e=n.indexOf(t(i).val());e>=0&&n.splice(e,1);r.parents("li").eq(0).addClass("disabled");r.attr("disabled","disabled");r.val("");r.multiselect("rebuild");g.addClass("disabled");t("li.disabled .dropdown-toggle").attr("disabled","disabled")}n.length>0&&f(n)}}})},y=function(){i.length>0&&(w(),p(),d())},{init:y,UpdateSubSectorDropdown:h,GetProductData:o,GetSubSectorList:f,MergeData:a}}(this,jQuery);jQuery(INFORMA.ProductFinder.init());INFORMA=window.INFORMA||{};INFORMA.ProductRefine=function(n,t){"use strict";var i,r,u=t(".product-refine-results"),f=u.find(".refine-heading");return r=function(){"desktop"!==INFORMA.global.device.viewport&&f.on("click",function(){t(this).parents(".refine-wrapper").find(".accordian-container").slideToggle();t(this).toggleClass("open")});t(".refine-accordian .title").on("click",function(n){n.preventDefault();t(this).next(".content").slideToggle();t(this).parents(".refine-accordian").toggleClass("open")})},i=function(){u.length>0&&r()},{init:i}}(0,jQuery);jQuery(INFORMA.ProductRefine.init());INFORMA=window.INFORMA||{};INFORMA.RecomendedProductsItems=function(n,t){"use strict";var f,i,r,u=t(".recommended-products"),e=u.find(".recom-prod-carousel");return r=function(){var n=u.find(".wrap-content"),i=0;u.find(".list-items").height("auto");n.height("auto");n.each(function(){var n=t(this).outerHeight();n>i&&(i=n)});n.height(i)},i=function(n){var i=n.data("itemsperframe"),t=n.data("autorotate"),f=n.data("transitionspeed"),e=n.data("slideduration"),u=!0,o=Boolean(n.data("pagination"));INFORMA.global.siteCore.isPreview&&(t=!0);INFORMA.global.siteCore.isExperience&&(t=!1,u=!1);n.slick({infinite:u,autoplay:t,autoplaySpeed:e,slidesToShow:i,slidesToScroll:i,speed:f,dots:o,adaptiveHeight:!0,arrows:!0,swipe:!INFORMA.global.device.isDesktop,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]});r()},f=function(){e.length>0&&(i(e),t(n).on("load",function(){r()}))},{init:f,CreateProductSlider:i}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.RecomendedProductsItems.init());INFORMA=window.INFORMA||{};INFORMA.RecomendedTabs=function(n,t){"use strict";var u,f,e,o,r,s,i=t(".recommendation-tabs"),c=t(".recommended-results"),l=i.find('a[data-toggle="tab"]'),a=INFORMA.Configs.urls.webservices,h=INFORMA.Templates;return o=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify({data:r}),success_callback:function(n){"function"==typeof u&&u.call(this,n,e)},error_callback:function(){"function"==typeof f&&f.call(this,r,e)}})},r=function(n){var i=null,r=t(".recomended-content").attr("data-defaultCount");"#tabs-1"===n&&(i={PageSize:r,GetContentBasedOnContentType:!0,SearchTexts:t(".SearchTextsSampleContent").val().split("|"),ExcludeContentTypeGuids:t(".ExcludeContentTypeGuids").val().split("|"),SubSubSectorFlagForRecomendations:t("input.SubSubSectorFlagForRecomendations").val()},o(a.GetRecomendedItems,"Post",i,INFORMA.RecomendedContent.RenderRecomendResult,null,"PreferenceUpdate"))},e=function(n){var i=n.find('select[name="RecommendTabs"]');i.val("#tabs-1").trigger("change");i.on("change",function(){var n=t(this).val();c.find(".tab-pane").removeClass("active");t(n).addClass("active");r(n)})},f=function(n){n.find(".nav-tabs li:first-child a").trigger("click");l.on("shown.bs.tab",function(n){var i=t(n.target).attr("href");r(i)})},s=function(n){var f,e;if(n.length>0){t("#tabs-1 .recommended-products").removeClass("hidden");for(var r=n,u="",i=0;i<r.length;i++)f=r[i],e="undefined"!==h.Product?h.Product:"",u+=Handlebars.compile(e)({results:f});t(".recom-prod-carousel").slick("unslick");t(".recom-prod-carousel").html(u);INFORMA.RecomendedProductsItems.CreateProductSlider(t(".recom-prod-carousel"))}else t("#tabs-1 .recommended-products").addClass("hidden")},u=function(){i.length>0&&("mobile"===INFORMA.global.device.viewport?e(i):f(i))},{init:u,RenderDashboardProduct:s}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.RecomendedTabs.init());INFORMA=window.INFORMA||{};INFORMA.RecomendedContent=function(n,t){"use strict";var r,o,s,h,f,e,i=t(".recomended-content"),c=t(".tab-content .recomended-content").data("maximumnumberofarticles"),v=""!==c?c:0,u=i.find(".btn-showMore"),y=INFORMA.global.device.viewport,p=t(".tab-content .recomended-content").attr("data-"+y),l=INFORMA.Configs.urls.webservices,a=INFORMA.Templates;return f=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify({data:r}),success_callback:function(n){"function"==typeof u&&u.call(this,n,e)},error_callback:function(){"function"==typeof f&&f.call(this,r,e)}})},e=function(n,e){var s,w,b,k;if(null!=n){var c=n,h="",d=c.ArticleCount,o=c.Articles;if(null!=o){for(t("#tabs-1 .recomended-content").removeClass("hidden"),t("#tabs-1 .recommended-products").removeClass("hidden"),t("#tabs-1 .dashboard-no-record").addClass("hidden"),s=0;s<o.length;s++){var y=o[s],g="undefined"!==a.SampleContent?a.SampleContent:"",nt=Handlebars.compile(g);t(".recommendation-tabs").length>0&&(y.IsAuthenticatedUser=t(".welcome-description").hasClass("Authenticated")?!0:!1);h+=nt({results:y})}(o.length>0?(t("#tabs-1 section.recomended-content").removeClass("hidden"),t("#tabs-1 section.dashboard-no-record").addClass("hidden")):(t("#tabs-1 section.recomended-content").addClass("hidden"),t("#tabs-1 section.dashboard-no-record").removeClass("hidden")),null==e)?i.find(".row").append(h):(i.find(".row").html(h),r(i),w="PrefernceUpdated",b=w+"=false; path=/",document.cookie=b);(r(i),d>p&&i.find(".recomended-wrapper").length<v?u.removeClass("hidden"):u.addClass("hidden"),t("#tabs-1 .recommended-products").length>0)&&(k={SearchTexts:t(".SearchTextsPDPTemplateIds").length?t(".SearchTextsPDPTemplateIds").val().split("|"):"",PageSize:t(".recomended-content").data("maximumnumberofarticles"),SubSubSectorFlagForRecomendations:t("input.SubSubSectorFlagForRecomendations").val()},f(l.GetRecomendedProductItems,"Post",k,INFORMA.RecomendedTabs.RenderDashboardProduct,null,null))}else t("#tabs-1 .recomended-content").addClass("hidden"),t("#tabs-1 .recommended-products").addClass("hidden"),t("#tabs-1 .dashboard-no-record").removeClass("hidden")}else u.addClass("hidden")},h=function(n){var r=n.find(".list-items"),i=[];return r.each(function(){var n=t(this).attr("data-fetch");i.push(n)}),i},s=function(){u.on("click",function(n){n.preventDefault();var i=t(this).parents(".recomended-content"),c=INFORMA.global.device.viewport,r=i.attr("data-"+c),a=h(i),u=i.find(".recomended-wrapper").length,o=i.attr("data-MaximumNumberOfArticles"),s=null;o-u<=r&&(r=o-u);s={ExcludeContentGuids:a,PageSize:r,SearchTexts:t(".SearchTextsSampleContent").val().split("|"),ExcludeContentTypeGuids:t(".ExcludeContentTypeGuids").val().split("|"),SubSubSectorFlagForRecomendations:t("input.SubSubSectorFlagForRecomendations").val()};f(l.GetRecomendedItems,"Post",s,e,null,null)})},r=function(n){var i=n.find(".recomended-wrapper"),r=0,u=0,f=0,e=0;i.each(function(){var n=t(this).find(".content").height();n>r&&(r=n)});i.find(".content").height(r);i.each(function(){var n=t(this).find(".topics").outerHeight();n>f&&(f=n)});i.find(".topics").height(f);i.each(function(){var n=t(this).find(".SubSectors").outerHeight();n>e&&(e=n)});i.find(".SubSectors").height(e);i.each(function(){var n=t(this).find(".recomend-content").outerHeight();n>u&&(u=n)});i.find(".recomend-content").height(u)},o=function(){i.length>0&&(t("#tabs-1").addClass("active"),r(i),s())},{init:o,RenderRecomendResult:e}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.RecomendedContent.init());INFORMA=window.INFORMA||{};INFORMA.RelevantProducts=function(n,t){"use strict";var r,u,f,e,o,i=t("#relevant-products"),s=i.find(".btn-ShowMore"),h=i.find(".triangle");return o=function(n){var r=n.find(".search-tile"),i=0;r.each(function(){var n=t(this).height();n>i&&(i=n)});r.height(i+90)},e=function(){h.on("click",function(){t(this).parents(".tile").toggleClass("flip")})},f=function(n){var t=INFORMA.global.device.viewport,i=n.attr("data-"+t);n.find(".search-tile:nth-child(n+"+(parseInt(i)+1)+")").hide()},u=function(){s.on("click",function(){var n=t(this).parents("#relevant-products"),i=INFORMA.global.device.viewport,r=n.attr("data-"+i);n.find(".search-tile:nth-child(n+"+(parseInt(r)+1)+")").slideToggle();n.toggleClass("showLess")})},r=function(){i.length>0&&(f(i),u(),e(),o(i))},{init:r}}(0,jQuery);jQuery(INFORMA.RelevantProducts.init());INFORMA=window.INFORMA||{};INFORMA.ResourceFilter=function(n,t){"use strict";var s,h,c,f,e,l,o,r=t("#resource-finder-section"),a=r.find(".custom-multiselect select"),v=INFORMA.Configs.urls.webservices,y=INFORMA.Templates,i=r.find(".SubSector"),u=r.find("li.button");return e=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:r,success_callback:function(n){"function"==typeof u&&u.call(this,n,e)},error_callback:function(){"function"==typeof f&&f.call(this,r,e)}})},o=function(){var n=r.find("form").serializeArray();return INFORMA.Utils.serializeObject(n)},l=function(){u.on("click",function(){var t=o(),i=INFORMA.SearchResultFilter.GetRefineData(),r=INFORMA.SearchResults.DefaultParameters(),n=INFORMA.ProductFinder.MergeData(t,i,r);n.PageNo=1;e(v.ResourceList,"Post",JSON.stringify(n),INFORMA.SearchResults.RenderSearchResults,null,null)})},f=function(n){if(n.SubSectors.length>0){var t=Handlebars.compile(y.SubSectorList),r=t({SubSectors:n.SubSectors});i.parents("li").removeClass("disabled");i.removeAttr("disabled").removeProp("disabled").html(r);i.multiselect("rebuild");u.removeClass("disabled")}},c=function(n){var t=INFORMA.Utils.getUniqueArray(n).join(",");t="SectorIDs="+t;e(v.GetSubSectorList,"Get",t,f,null,null);INFORMA.SearchResults.ResetPaging()},h=function(){var n=[];a.val("");a.multiselect({maxHeight:200,buttonText:function(n,i){if(0===n.length)return t(i).data("placeholder");var r=1;return n.each(function(n){r=parseInt(1+n)}),r+" Selected"},onChange:function(r,f){if(!0===t(r).parent().hasClass("Sector")){if(f)n.push(t(r).val()),u.removeClass("disabled");else{var e=n.indexOf(t(r).val());e>=0&&n.splice(e,1)}n.length>0?c(n):(i.parents("li").eq(0).addClass("disabled"),i.attr("disabled","disabled"),i.val(""),i.multiselect("rebuild"),u.addClass("disabled"),t("li.disabled .dropdown-toggle").attr("disabled","disabled"))}}})},s=function(){r.length>0&&(h(),l())},{init:s,GetResourceData:o,UpdateSubSectorDropdown:f}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.ResourceFilter.init());INFORMA=window.INFORMA||{};INFORMA.richtexteditor=function(n,t){"use strict";var r,u,f,e,o,s,i,h;return t(".rich-text-read-more"),u=function(n){n.style.height=n.contentWindow.document.documentElement.scrollHeight+"px";n.style.width=n.contentWindow.document.documentElement.scrollWidth+"px"},f=function(){t(".custom-rte-cta").length>0&&t(".custom-rte-cta").each(function(){t(this).wrap("<div class='secondary-btn'><\/div>")})},e=function(){t(".rte-readmore-func").length>0&&t(".rte-readmore-func").each(function(){t(this).text(t(this).text().replace("{","").replace("}",""));void 0!=t(this).data("rte-cta")&&t(this).data("rte-cta").length>0?t(this).wrap("<div class='rich-text-read-more'><div class='secondary-btn'><\/div><\/div>"):t(this).wrap("<div class='secondary-btn'><\/div>")})},o=function(){t(".rte-readmore-func").length>0&&t("body").on("click",".rte-readmore-func",function(){if(i=t(this).data("rte-cta"),"undefined"!=typeof Storage&&void 0!=t(this).data("rte-cta")&&t(this).data("rte-cta").length>0&&localStorage.setItem("rtefieldInCta",i),"true"==t(this).attr("data-show-register"))INFORMA.forms._showWffmFormPopupModal(this);else if("undefined"!=typeof Storage&&(i=localStorage.getItem("rtefieldInCta"),void 0!=t(this).parents(".rich-text-read-more")&&t(this).parents(".rich-text-read-more").length>0)){var n=t(this).parents(".rich-text-read-more");n.siblings("div").removeClass("hide");n.addClass("hide clicked");i="";localStorage.setItem("rtefieldInCta",i)}})},s=function(){var n=t(".rich-text-editor").find(".rich-text-read-more .rte-toggle-btn");n.length>0&&n.each(function(){var r;if(void 0!=t(this).data("rte-cta")&&t(this).data("rte-cta").length>0){var n=t(this).parents("div.rte")[0].outerHTML,u=t(this).parents("div.rich-text-read-more")[0].outerHTML,f=n.indexOf(u)+u.length,i=document.createElement("div");t(i).html(n.substring(f+1,n.length));t(i).addClass("hide");r=n.replace(n.substring(f+1,n.length),"");r+=t(i)[0].outerHTML;t(this).parents(".rte").parent("div").html(r)}})},h=function(){if("undefined"!=typeof Storage&&(i=localStorage.getItem("rtefieldInCta")),null!=i&&i.length>0){var n=t(".submit-status");n.length>0&&n.each(function(){var r=t(this).attr("data-status"),n=t(this).parents(".modal");r.length>0&&(n.find("form").addClass("hide"),"error"==r?(n.modal({show:!0,backdrop:"static"}),n.find(".error-response").removeClass("hide"),n.find(".submit-response").addClass("hide")):(n.find("form").removeClass("hide"),n.find(".submit-response, .error-response").addClass("hide"),t(this).attr("data-status",""),t(".rte-readmore-func").length>0&&t(".rte-readmore-func").each(function(){if(t(this).data("rte-cta")===i){var n=t(this).parents(".rich-text-read-more");n.siblings("div").removeClass("hide");n.addClass("hide clicked");i="";localStorage.setItem("rtefieldInCta",i)}})))})}},r=function(){f();e();o();s();h()},{init:r,resizeIframe:u}}(0,jQuery);jQuery(INFORMA.richtexteditor.init());INFORMA=window.INFORMA||{};INFORMA.news_flash=function(n,t){"use strict";var i,r,u,e=t(".newsFlash"),f=e.find(".news-carousel");return r=function(){t("#close-news").on("click",function(){t(".newsFlash").remove()})},u=function(n){var t=n.data("autorotate"),r=n.data("transitionspeed"),u=n.data("slideduration"),i=!0;INFORMA.global.siteCore.isPreview&&(t=!0);INFORMA.global.siteCore.isExperience&&(t=!1,i=!1);n.slick({infinite:i,autoplay:t,autoplaySpeed:u,slidesToShow:1,slidesToScroll:1,speed:r,dots:!1,adaptiveHeight:!0,arrows:!0,swipe:!INFORMA.global.device.isDesktop})},i=function(){f.length>0&&u(f);r()},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.news_flash.init());INFORMA=window.INFORMA||{};INFORMA.RTETable=function(n,t){"use strict";var i,f,e,r=[],u=t(".rte-custom-table .responsiveTable"),o=t(".rte-custom-table .table-responsive .table").clone(!0);return e=function(){o.appendTo(u);t(".rte-custom-table .table tr:first-child td").each(function(){r.push('<div class="rteTitles">'+t(this).html()+"<\/div>")});u.find("table.table tr").each(function(){for(i=1;i<=r.length;i++)t(this).find("td").eq(i).wrapInner('<div class="rteValues" />').prepend(r[i])});u.find("table.table tr:first-child").remove()},f=function(){e()},{init:f}}(0,jQuery);jQuery(INFORMA.RTETable.init());INFORMA=window.INFORMA||{};INFORMA.SearchResultFilter=function(n,t){"use strict";var r,i,l,a,v,f,e,k,d,y,p,s,w,b,g=INFORMA.Configs.urls.webservices,h=t(".refine-container .panel-heading .custom-checkbox input"),c=t(".refine-container .panel-body"),tt=c.find("a.show-more"),it=t(".refine-container .panel-body .custom-checkbox input"),rt=t(".refine-container .panel-body .custom-checkbox input:checked"),nt=t("#product-finder-section"),u="",ut=t('button[data-submit="site-search"]'),ft=t('button[data-submit="sector-search"]'),et=t('.resource-sector-search button[data-submit="sector-search"]'),o=!1;return w=function(n,i,r,u,f){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:r,success_callback:u,error_callback:f});INFORMA.SearchResults.ResetPaging()},b=function(){var n={},r=[];if(c)return t.each(c,function(){var u,f=t(this).parent().attr("id").toLowerCase(),e=t(this).find("input[type=checkbox]:checked").not(":disabled"),o=[],i=[];e.length&&(t.each(e,function(){o.push(t(this).attr("value"));u=t(this).next().text().replace(/ /g,"-").toLowerCase();i.push(u.replace(/&/g,"%26"));n[f]=o}),i.length>0&&r.push(f+"="+i.toString()))}),i=r.join("&"),void 0===n.Brand?n.Brand=t('input[name="Brand"]')?t('input[name="Brand"]').val():null:n.Brand.push(t('input[name="Brand"]').val()),n},s=function(){function it(n){return void 0===n||null==n||n.replace(/\s/g,"").length<1}var nt,c,s,y,p,k,tt,h,d;void 0!=t("input[name*='EnableNewSearch']")&&(y="True"===t("input[name*='EnableNewSearch']").val());"ResourceResult"===u?nt=INFORMA.ResourceFilter.GetResourceData():(nt=INFORMA.ProductFinder.GetProductData(),y&&(nt=INFORMA.FreeText.GetProductData()));var ot=b(),st=INFORMA.SearchResults.DefaultParameters(),r=INFORMA.ProductFinder.MergeData(nt,ot,st);if(r.PageNo=1,y){var rt=t("#qfield"),ut=t("#isHighlight"),ft=t("#isSpellcheck"),et=t("#fragSize");(rt.length>0&&(r.QueryFields=rt.val()),ut.length>0)&&(p=ut.val(),"0"==p&&(p=!1),"1"==p&&(p=!0),r.IsHighlight=p);ft.length>0&&(k=ft.val(),"0"==k&&(k=!1),"1"==k&&(k=!0),r.IsSpellCheck=k);et.length>0&&(r.HighlightFragSize=et.val());r.EnableNewSearch=!0;u="SearchResult"}if("ResourceResult"===u&&(r.IsResourceListing=!0),"SearchResult"===u&&(r.IsSearch=!0),"ProductSearch"===u&&(r.IsProduct=!0),tt=t("#productListingPageUrl").val(),void 0!=tt&&""!=tt&&-1!=tt.indexOf("newco")&&(u="SearchResult"),r.SearchText&&(c=r.SearchText),y&&(r.EnableNewSearch=!0),t("body").hasClass("mnl-theme")||w(g.GetRefineResults,"Post",JSON.stringify(r),INFORMA.SearchResults.RenderSearchResults,null),"SearchResult"===u){if(null!=c||it(t("#mnlSerach").val())||(c=t("#mnlSerach").val(),r.SearchText=c),y){const u=n.location.search,i=new URLSearchParams(u);if(void 0!=i){const n=i.get("searchText");void 0!=n&&(t("#mnlSerach").val(n),r.SearchText=c)}}it(r.SearchText)&&0!=y||(c=r.SearchText,w(g.GetRefineResults,"Post",JSON.stringify(r),INFORMA.SearchResults.RenderSearchResults,null),s=i?n.location.protocol+"//"+n.location.host+n.location.pathname+"?searchText="+c+"&"+i:n.location.protocol+"//"+n.location.host+n.location.pathname+"?searchText="+c,n.history.pushState({path:s},"",s))}else"ProductSearch"===u?(h=[],o?h=l():(f&&h.push(f),e&&h.push(e)),s=i&&0!=h.length?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+h.join("&")+"&"+i:i&&0==h.length?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+i:i||0==h.length?n.location.protocol+"//"+n.location.host+n.location.pathname+"?PageRequest="+v:n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+h.join("&"),n.history.pushState({path:s},"",s)):"ResourceResult"===u&&(d=a(),s=i&&0!=d.length?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+d.join("&")+"&"+i:i&&0==d.length?n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+i:i||0==d.length?n.location.protocol+"//"+n.location.host+n.location.pathname:n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+d.join("&"),n.history.pushState({path:s},"",s))},function(t){for(var i,f=n.location.search.substring(1),u=f.split("&"),r=0;r<u.length;r++)if(i=u[r].split("="),i[0]===t)return void 0===i[1]||decodeURIComponent(i[1])},l=function(){var n,i=[];return t("#SectorNames").val()&&(n=t("#SectorNames").val().trim().replace(/ /g,"-").toLowerCase(),i.push("sector="+n.replace(/&/g,"%26").toLowerCase()),v="Sector"),t("#SubSectorNames").val()&&"Please Select"!=t("#SubSector2").parent().find("button").attr("title")&&(n=t("#SubSectorNames").val().trim().replace(/ /g,"-").toLowerCase(),i.push("subsector="+n.replace(/&/g,"%26").toLowerCase()),v="subsector"),i},a=function(){var n=[],i=[],r=[];return t("#Sector :selected").map(function(n,i){r.push(t(i).text().trim().replace(/ /g,"-").toLowerCase().replace(/&/g,"%26"))}),t("#sub-sector-list :selected").map(function(n,r){i.push(t(r).text().trim().replace(/ /g,"-").toLowerCase().replace(/&/g,"%26"))}),0!=r.length&&n.push("sector="+r.toString()),0!=i.length&&n.push("subsector="+i.toString()),n},d=function(){h.on("click",function(){var n=t(this).parents(".panel").eq(0).find(".panel-body"),i=n.find('input[type="checkbox"]').not(":disabled"),u=n.find("a.show-more"),f,e;!0===t(this).prop("checked")?jQuery.each(i,function(){t(this).prop("checked","checked");t(this).attr("checked","checked")}):jQuery.each(i,function(){t(this).removeAttr("checked",!1);t(this).removeProp("checked",!1)});u&&u.trigger("click");f=t(".refine-container .panel-body input[type=checkbox]:checked");e=jQuery(".search-container .items-found li").size();f.length>0||1===e?r.addClass("noOpaque"):r.removeClass("noOpaque");s()});h.on("focus",function(){t(this).parents("span").eq(0).addClass("active")});h.on("focusout",function(){t(this).parents("span").eq(0).removeClass("active")})},p=function(n){n.on("click",function(n){n.preventDefault();var r=t(".refine-container .custom-checkbox input"),i=t(".UnFilterCheckbox").length>0?t(".UnFilterCheckbox").val():"";t("#hdnSearchType").length>0&&(t("#hdnSearchType").attr("name",""),t("#hdnSearchType").attr("value",""));t(this).removeClass("noOpaque");t.each(r,function(){t(this).prop("checked",!1)});i.length>0&&t(".refine-container .custom-checkbox input#"+i).prop("checked",!0);s()})},y=function(){t.each(c,function(){var n=null!==t(this).attr("data-defaultcount")?t(this).attr("data-defaultcount"):5,i=t(this).find(".custom-checkbox input"),r=t(this).find("ul li"),u=i.length,f=t(this).find("a.show-more");u>n&&(f.addClass("show"),t.each(r,function(i){i+1>n&&t(this).addClass("hidden")}))});var n=t(".refine-container .panel-body .custom-checkbox input");n.on("click",function(){var n=t(this).parents(".panel-body").eq(0),o=n.find("input[type=checkbox]"),i=n.find("input[type=checkbox]:checked"),u=t(this).parents(".panel").eq(0).find(".panel-heading input"),f,e;i&&i.length===o.length?u.prop("checked",!0):u.prop("checked",!1);f=t(".refine-container .panel-body input[type=checkbox]:checked");e=jQuery(".search-container .items-found li").size();f.length>0||1===e?r.addClass("noOpaque"):r.removeClass("noOpaque");s()});n.on("focus",function(){t(this).parents("li").eq(0).addClass("active")});n.on("focusout",function(){t(this).parents("li").eq(0).removeClass("active")});tt.on("click",function(n){n.preventDefault();var i,u,r;!0!==t(this).hasClass("SeeLess")?(i=t(this).data("lesstext"),t(this).parent().find("ul li").removeClass("hidden"),t(this).addClass("SeeLess"),t(this).text(i)):(i=t(this).data("moretext"),u=t(this).parent().data("defaultcount"),r=t(this).parent().find("li"),t(this).removeClass("SeeLess"),t(this).text(i),r.addClass("hidden"),t.each(r,function(n){n+1<=u&&t(this).removeClass("hidden")}))});p(r)},k=function(){var k=!0===nt.data("product"),g=!0===nt.data("search"),vt=!0===t(".resource-finder").data("resource"),yt,v,pt,tt,w,wt,c,ot,s,i,st,ht,ct,at;if((k&&(u="ProductSearch",ft.on("click",function(){o=!0;r&&r.click();var i,t=l();0==t.length&&(o=!1,f&&t.push(f),e&&t.push(e));i=n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+t.join("&");n.history.pushState({path:i},"",i)})),g&&(u="SearchResult",ut.on("click",function(){r&&r.click()})),!vt||k||g||(u="ResourceResult",et.on("click",function(){o=!0;r.click&&r.click();var i,t=a();0==t.length&&(o=!1,f&&t.push(f),e&&t.push(e));i=n.location.protocol+"//"+n.location.host+n.location.pathname+"?"+t.join("&");n.history.pushState({path:i},"",i)})),g||k||vt)&&(i=(n.location.href,new URLSearchParams(n.location.search)),(yt=i.toString())&&((ot=yt.split("&"))&&(st=i.get("Sector")||i.get("sector"),ht=i.get("SubSector")||i.get("subsector"),st&&(f="sector="+st.replace(/&/g,"%26")),ht&&(e="subsector="+ht.replace(/&/g,"%26"))),ot.length>1&&t.each(ot,function(n){if(this){var r=[];s=this.split("=");c=s[0];s[0]&&i.get(s[0])&&(i.get(s[0]).includes(",")?r=i.get(s[0]).split(","):r.push(i.get(s[0])));w=[];v=[];t.each(r,function(){w.push(this.replace(/-/g," ").replace(/   /g," - ").replace(/%26/g,"&").toLowerCase())});t.each(r,function(){v.push(this.replace(/%26/g,"&").replace(/-&-/g," & ").toLowerCase())});tt=t('[id="'+c+n+'"]').find("input[type='checkbox']");wt=t('[id="'+c+n+'"]').find("input[type='checkbox']").not(":disabled");w.length>0&&tt.filter(function(){w.includes(t(this).next().text().toLowerCase())&&t(this).prop("checked",!0)});v.length>0&&tt.filter(function(){v.includes(t(this).next().text().toLowerCase())&&t(this).prop("checked",!0)});pt=t("[id='"+c+"' i]").find("input:checked").not(":disabled");wt.length==pt.length&&t("[id='"+c+"1' i]").prop("checked",!0)}}))),rt.length,h&&it){if(ct=INFORMA.global.device.viewportN,1===ct||2===ct){var lt=t(".refine-container").find("p.heading"),bt=t(".refine-container").find("a.clear-all"),b=t('<div class="clear-mobile"><a href="#" class="clear-all">'+bt.html()+"<\/a><\/div>");t("body").find(".refine-container").after(b);lt.addClass("heading-collapsed");t("#refine-list").hide();!0!==lt.hasClass("heading-collapsed")&&b.show();lt.off().on("click",function(){var n=t(this).parent().find("#refine-list");!0!==t(this).hasClass("heading-collapsed")?(n.slideUp("slow"),t(this).addClass("heading-collapsed"),b.hide()):(n.slideDown("slow"),t(this).removeClass("heading-collapsed"),b.show())});t(".refine-container").addClass("showRefine")}r=t(".product-finder-results a.clear-all");d();y();at=t("body").find(".clear-mobile a");at&&p(at)}t(document).on("change",".custom-multiselect input",function(){var n=[],i=[];t("#Sector2 :selected").map(function(n,r){i.push(t(r).text())});t("#SubSector2 :selected").map(function(i,r){n.push(t(r).text())});t("#SectorNames").val(i.toString());t("#SubSectorNames").val(n.toString())})},{init:k,GetRefineData:b,BindRefineEvents:y}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.SearchResultFilter.init());INFORMA=window.INFORMA||{};INFORMA.SearchResults=function(n,t){"use strict";var w,b,st,ht,ct,lt,f,c,l,v,at,vt,y,yt,pt,wt,nt,k,o,p,bt,tt,s=INFORMA.Templates,e=(INFORMA.Configs,INFORMA.Configs.urls.webservices),i="",r=t(".search-container"),a=t("#product-finder-section"),it=r.find(".btn-showMore"),kt=t("input.search-hidden"),ti=t("input.sector-list"),dt=t("input.sub-sector-list"),ii=t(".refine-container"),ri=r.find(".chosen-select"),ui=t(".refine-container").find(".chosen-select"),fi=t(".lloyd-product-finder-results").find(".chosen-select"),rt=t('input[name="SearchText"]'),gt=r.find(".see-all"),d=!1,ut=2,ft=[],et=t("#hdnTotalCountLimit")?t("#hdnTotalCountLimit").val():0,ot=t("#hdnFacetCountLimit")?t("#hdnFacetCountLimit").val():0,ni=t(".search-container .product-results").attr("data-pagesize"),u=void 0!=t("input[name*='EnableNewSearch']")&&"True"===t("input[name*='EnableNewSearch']").val(),ei=function(){t(".register.disabled").click(function(n){n.preventDefault()})},oi=function(){t(".register.disabled").on("keydown",function(n){13!==n.keyCode&&13!==n.which||n.preventDefault()})},h=function(){var n={},f=t('input[name="defaultPageSize"]')?t('input[name="defaultPageSize"]').val():null,r,u;return(n.Sorting=t('select[name="sorting"]')?t('select[name="sorting"]').val():null,n.PageSize=t(".product-results")?t(".product-results").attr("data-pagesize")>0?t(".product-results").attr("data-pagesize"):f:null,n.DefaultItemCount=t('input[name="DefaultItemCount"]')?t('input[name="DefaultItemCount"]').val():null,n.MaxItemCount=t('input[name="MaxItemCount"]')?t('input[name="MaxItemCount"]').val():null,n.DefaultProductCount=t('input[name="DefaultProductCount"]')?t('input[name="DefaultProductCount"]').val():null,n.SearchTexts=t('input[name="SearchTexts"]')&&t('input[name="SearchTexts"]').length>0?t('input[name="SearchTexts"]').val().split(","):null,n.OrderOfContentType=t('input[name="OrderOfContentType"]')?t('input[name="OrderOfContentType"]').val().split(","):null,n.WhoWeHelp=t('input[name="WhoWeHelp"]')?t('input[name="WhoWeHelp"]').val():null,n.SearchText=t('input[name="SearchText"]')?t('input[name="SearchText"]').val():null,"ProductSearch"!=i&&t("#hdnSearchType").length>0)&&(r=t("#hdnSearchType").attr("name"),u=t("#hdnSearchType").attr("value"),n[r]=u),"ProductSearch"===i&&(n.SearchTextSampleContent=t('input[name="SearchTextSampleContent"]')&&t('input[name="SearchTextSampleContent"]').length>0?t('input[name="SearchTextSampleContent"]').val().split(","):null,n.SearchTextProducts=t('input[name="SearchTextProducts"]')&&t('input[name="SearchTextProducts"]').length>0?t('input[name="SearchTextProducts"]').val().split(","):null),n},g=function(){t(".items-found").find("a").off("click").on("click",function(n){n.preventDefault();var s,c,r,a,u=t(this).attr("data-contenttype"),y=void 0!=t(this).attr("data-check")?t(this).attr("data-check"):"",v=t(this).attr("name")?t(this).attr("name"):"";"ResourceResult"===i&&(s=INFORMA.ResourceFilter.GetResourceData());"SearchResult"===i&&(s=INFORMA.ProductFinder.GetProductData());t(".product-finder-results a.clear-all").addClass("noOpaque");c=INFORMA.SearchResultFilter.GetRefineData();a=h();r=INFORMA.ProductFinder.MergeData(s,c,a);r.PageNo=1;"null"!=y?(r[v]=u.split(","),t("#hdnSearchType").length>0&&(t("#hdnSearchType").attr("name",v),t("#hdnSearchType").attr("value",u))):(r.contenttype=u.split(","),t("#hdnSearchType").length>0&&(t("#hdnSearchType").attr("name","contenttype"),t("#hdnSearchType").attr("value",u)));o(e[i],"Post",r,f,null,null);l()})};return ct=function(){ri.on("change",function(){var n,r,t,u;"ResourceResult"===i&&(n=INFORMA.ResourceFilter.GetResourceData());"SearchResult"===i&&(n=INFORMA.ProductFinder.GetProductData());r=INFORMA.SearchResultFilter.GetRefineData();u=h();t=INFORMA.ProductFinder.MergeData(n,r,u);t.PageNo=1;o(e[i],"Post",t,f,null,null);l()});ui.on("change",function(){var n,r,t,u;"ResourceResult"===i&&(n=INFORMA.ResourceFilter.GetResourceData());"SearchResult"===i&&(n=INFORMA.ProductFinder.GetProductData());r=INFORMA.SearchResultFilter.GetRefineData();u=h();t=INFORMA.ProductFinder.MergeData(n,r,u);t.PageNo=1;o(e[i],"Post",t,f,null,null);l()});fi.on("change",function(){var t,r,n,u;"SearchContent"===i&&(t=INFORMA.FreeText.GetProductData());r=INFORMA.SearchResultFilter.GetRefineData();u=h();n=INFORMA.ProductFinder.MergeData(t,r,u);n.PageNo=1;o(e[i],"Post",n,f,null,null);l()})},vt=function(){t(".site-search li.button").removeClass("disabled");a.find("input[type=radio][data-show='site-search']").trigger("click")},l=function(){ut=2},y=function(n,i){i.val("");t.each(n,function(n,t){i.find("option[value='"+t+"']").prop("selected",!0)});i.multiselect("rebuild")},v=function(i,r,u){var h,c=new URLSearchParams(n.location.search),o;if(h=c.toString()){if(!h.split("&"))return null;if(o=c.get(r),o){var f=[],e=[],l=o.split(","),s=[];if(t.each(l,function(){s.push(this.replace(/-/g," ").replace(/%26/g,"&").toLowerCase())}),u.length>0?(t.each(u,function(){e.push(this)}),t.each(e,function(){var n=this;s.includes(n.SubSectorName.toLowerCase())&&f.push(this.SubSectorID)})):(e="sector-search"==i?t("."+i+" [id='"+r+"2' i]").next().find(".multiselect-container").find("input[type='checkbox']"):t("."+i+" [id='"+r+"' i]").next().find(".multiselect-container").find("input[type='checkbox']"),e.filter(function(){s.includes(t(this).parent().text().trim().toLowerCase())&&f.push(t(this).val())})),f.length>0)return f.toString()}}},at=function(n){var i,r=v("resource-sector-search","sector",[]);if(r){var u,f=r.split(","),s="SectorIDs="+r,o=t("#resource-finder-section"),h=o.find("select.SubSector");o.find("input[type=radio][data-show='sector-search']").trigger("click");n.length&&f&&(y(f,n),INFORMA.DataLoader.GetServiceData(e.GetSubSectorList,{method:"Get",data:s,success_callback:function(n){INFORMA.ResourceFilter.UpdateSubSectorDropdown(n);i=v("resource-sector-search","subsector",n.SubSectors);i&&(u=i.split(","));u&&y(u,h)},error_callback:function(){}}))}},yt=function(n,i,r){var u,o=v("sector-search","sector",[]);if(o&&(i=o),i){var s=i.split(","),f=r?r.split(","):"",h="SectorIDs="+i,c=a.find("select.SubSector");a.find("input[type=radio][data-show='sector-search']").trigger("click");n.length&&s&&(y(s,n),INFORMA.DataLoader.GetServiceData(e.GetSubSectorList,{method:"Get",data:h,success_callback:function(n){INFORMA.ProductFinder.UpdateSubSectorDropdown(n);u=v("sector-search","subsector",n.SubSectors);u&&(f=u.split(","));f&&y(f,c);t(".search:visible").trigger("click")},error_callback:function(){}}))}},o=function(n,i,r,u,f,e){INFORMA.Spinner.Show(t("body"));INFORMA.DataLoader.GetServiceData(n,{method:i,data:JSON.stringify(r),success_callback:function(n){"function"==typeof u&&u.call(this,n,e)},error_callback:function(){"function"==typeof f&&f.call(this,r)}})},p=function(){var i=r.find(".wrap-content"),u=r.find(".list-items"),n;t(".search-container").hasClass("tileView")?(t('.search-container .list-items[data-type="SampleContent"]').each(function(){t(this).find(".video-container").length>0&&t(this).find(".content").css("padding-right","0")}),n=0,i.each(function(){var i=t(this).outerHeight();i>n&&(n=i)}),i.height(n)):(u.css("height","auto"),i.css("height","auto"),t('.search-container .list-items[data-type="SampleContent"]').each(function(){var n=t(this).find(".video-container");n.length>0&&t(this).find(".content").css("padding-right",n.width())}))},nt=function(n,i){var r={},u=i?i.data("pagesize"):null;return u&&(r.PageSize=u),t.each(n,function(){var n=t(this).data("type"),f=t(this).data("fetch"),u,i;r.hasOwnProperty(n)?(u=[],i=[],i=i.concat(r[n]),u.push(f),r[n]=u.concat(i)):r[n]=[].concat(f)}),r},k=function(){r.find(".btn-showMore").off("click").on("click",function(r){var c;r.preventDefault();var u=t(this).parents(".product-results").eq(0),l=u.find(".list-items"),s=nt(l,u),a=INFORMA.ProductFinder.GetProductData(),v=h(),y=INFORMA.SearchResultFilter.GetRefineData();"ProductSearch"===i&&"Product"in s&&(s.CurrentProduct=s.Product);c=INFORMA.ProductFinder.MergeData(a,s,y,v);t(u).hasClass("showLess")?(t(u).removeClass("showLess"),t(u).find(".col-xs-12:nth-child(n+4)").remove(),t(n).scrollTop(t(u).offset().top-60)):(t(u).addClass("showLess"),o(e[i],"Post",c,f,null,t(this)))})},tt=function(){var n,i=jQuery(".search-container .product-results .list-items"),r=nt(i),u=INFORMA.SearchResultFilter.GetRefineData(),s=h(),c=INFORMA.ProductFinder.GetProductData();n=INFORMA.ProductFinder.MergeData(u,s,c);n.PageNo=1;n.ExcludedProduct=r;o(e.GetMoreProducts,"Post",n,f,null,t(this))},c=function(){r.find(".btn-showMore").off("click").on("click",function(r){var a,v,c,l;r.preventDefault();a=!1;void 0!=t(".back-unit.mnl-show-all")&&u&&(a=t(this).parents(".back-unit").hasClass("mnl-show-all"));var k=INFORMA.ResourceFilter.GetResourceData(),d=INFORMA.SearchResultFilter.GetRefineData(),g=h(),s=INFORMA.ProductFinder.MergeData(k,d,g);if((s.PageNo=ut,a)&&(v=$INFORMA(".btn-showMore").find("#mnlTotalCount").text(),s.PageNo=1,s.PageSize=parseInt(v),t(".mnl-show-more a,.mnl-show-all a").addClass("deactive")),"SearchResult"===i&&(s.SearchText=t('input[name="SearchText"]').val()),u){if(s.SearchText=t('input[name="SearchText"]').val(),""==s.SearchText){const r=n.location.search,i=new URLSearchParams(r);if(void 0!=i){const n=i.get("searchtext");void 0!=n&&(t("#mnlSerach").val(n),s.SearchText=n)}}var y=t("#qfield"),p=t("#isHighlight"),w=t("#isSpellcheck"),b=t("#fragSize");(y.length>0&&(s.QueryFields=y.val()),p.length>0)&&(c=p.val(),"0"==c&&(c=!1),"1"==c&&(c=!0),s.IsHighlight=c);w.length>0&&(l=w.val(),"0"==l&&(l=!1),"1"==l&&(l=!0),s.IsSpellCheck=l);b.length>0&&(s.HighlightFragSize=b.val());s.EnableNewSearch=!0}o(e[i],"Post",s,f,null,t(this))});u||g()},wt=function(){var n=t(".search-container .view-mode li");n.on("click",function(i){i.preventDefault();var r=t(this).data("view"),u=t(this).parents(".search-container").eq(0);r&&(n.removeClass("selected"),t(this).addClass("selected"),u.removeClass("tileView listView"),u.addClass(r));p()})},pt=function(n){var r,f,c,l,h;for(r in n)if(n.hasOwnProperty(r)&&n[r]&&(f=n[r],c=r,f&&c)){var e=ii.find("#"+c),o=e.find("input[type=checkbox]"),a=e.prev(".panel-heading"),s=a.find("input[type=checkbox]"),v=a.find("a strong");u||o&&e&&f.length&&(t.each(o,function(){var n=t(this).attr("value");f.contains(n)?(t(this).closest("li").removeClass("hide"),t(this).removeAttr("disabled")):(t(this).attr("disabled","disabled"),t(this).closest("li").addClass("hide"),t(this).prop("checked",!1))}),s.removeAttr("disabled"),s.closest("div.panel-default").removeClass("hide"),v.removeClass("disabled"));o&&e&&f.length<1&&(t.each(o,function(){t(this).attr("disabled","disabled");t(this).closest("li").addClass("hide");t(this).prop("checked",!1)}),s.attr("disabled","disabled"),s.closest("div.panel-default").addClass("hide"),v.addClass("disabled"))}"ResourceResult"===i&&(l=t("input.UnFilterCheckbox").val(),void 0!==l&&(h=jQuery("#"+l),void 0!=typeof h&&(h.removeAttr("disabled"),h.prop("checked","checked"))))},ht=function(n){for(var e,l="",h=0;h<n.length;h++){var y,g,a,nt,f,v=n[h],tt="",o=v.Results;if(u&&(a=s.SearchContentTemplate?s.SearchContentTemplate:""),u||(a=s.SearchTemplate?s.SearchTemplate:""),nt=Handlebars.compile(a),o){for(e=0;e<o.length;e++)o[e].Category&&(f=o[e].Category,"SampleContent"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="SampleContentNewCo"),"Product"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="ProductNewCo"),"Event"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="EventNewCo"),"Specialist"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="SpecialistNewCo"),y=s[f]?s[f]:"",g=Handlebars.compile(y),o[e].SalesforceLink&&o[e].SalesforceLink.Url&&(o[e].SalesforceLink.Url=INFORMA.Utils.appendEloquaCookieId(o[e].SalesforceLink.Url)),tt+=g({results:o[e]}));v.Content=tt;d||r.find(".product-results").remove();l+=nt({results:v})}}d=!1;r.find(".container").append(l);setTimeout(function(){p()},800);"ProductSearch"===i?k():c();t(".back-to-top").length>0&&(w=parseInt(ft.PageSize),b=parseInt(ft.Count),t("#mnlTotalCount").text(b),t("#mnlPageContentSize").text(w),b<=w&&(t(".back-to-top .mnl-show-more a").addClass("deactive"),t(".back-to-top .mnl-show-all a").addClass("deactive")),b>w&&(t(".back-to-top .mnl-show-more a").removeClass("deactive"),t(".back-to-top .mnl-show-all a").removeClass("deactive")))},bt=function(n,r,u){var h,l,f,v=n[0],a="",o=v.Results,e;if(o){for(e=0;e<o.length;e++)o[e].Category&&(f=o[e].Category,"SampleContent"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="SampleContentNewCo"),"Product"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="ProductNewCo"),"Event"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="EventNewCo"),"Specialist"==f&&"True"==t("#IsNewCoTemplateEnabled").val()&&(f="SpecialistNewCo"),h=s[f]?s[f]:"",l=Handlebars.compile(h),o[e].SalesforceLink&&o[e].SalesforceLink.Url&&(o[e].SalesforceLink.Url=INFORMA.Utils.appendEloquaCookieId(o[e].SalesforceLink.Url)),a+=l({results:o[e]}));t(r).parents(".product-results").find(".list").append(a);setTimeout(function(){p()},800);"ProductSearch"!=i&&u<1&&t(r).addClass("hidden")}"ProductSearch"===i?k():(c(),ut++)},lt=function(n){var r,i,f;if(!t.isEmptyObject(n)){for(r="",i=0;i<n.length;i++)f=ot<=0||n[i].Count<ot?n[i].Count:ot+"+",r+="<li><a href='#' name='"+n[i].Name+"' data-check='"+n[i].Check+"'' data-contenttype='"+n[i].ItemId+"'><strong>"+f+"<\/strong>"+n[i].Value+"<\/li>";t(".items-found").html(r)}u||g()},f=function(n,i){var h;if(ft=n,Object.keys(n).length){var f=void 0!==n.ProductListing&&n.ProductListing,e=void 0!==n.UpdatedFacets&&n.UpdatedFacets,o=void 0!==n.AppendItemsFlag&&n.AppendItemsFlag,s=null!=n.FacetDescription&&n.FacetDescription.length>0&&n.FacetDescription,c=void 0!==n.ShowAllFlag&&n.ShowAllFlag,l=void 0!==n.RemainingCount&&n.RemainingCount;f&&Object.keys(f).length&&1!=o&&(ht(f),h=et<=0||n.ProductFound<et?n.ProductFound:et+"+",r.find(".results").find("strong").html(h),0==n.ProductFound?(t(".items-found").addClass("hidden"),t(".product-results").hide()):(t(".items-found").removeClass("hidden"),t(".product-results").show()),u&&r.find(".product-results").attr("data-pagesize",n.PageSize),u||r.find(".product-results").attr("data-pagesize",n.DefaultItemCount),s&&lt(s),e&&Object.keys(e).length&&pt(e),c?(t(".see-all").removeClass("hidden"),t(".see-all").off("click").on("click",function(n){n.preventDefault();d=!0;tt()})):t(".see-all").addClass("hidden"));1==o&&bt(f,i,l);u||addthis.toolbox(".product-results")}else t(".product-results").html(n)},st=function(){var r=!0===a.data("product"),o=!0===t(".resource-finder").data("resource"),f=!0===a.data("search"),s,h,l,e,v,y;if(u){i="SearchResult";t(".mnl-theme .informaNav").remove();const u=n.location.search,r=new URLSearchParams(u);if(void 0!=r){const n=r.get("searchtext");void 0!=n&&t("#mnlSerach").val(n)}void 0!=t("#mnlSerach")&&(t("#mnlSerach").val().trim().length>=2?t("#mnlSerach").siblings("#mnlSearchbtn").addClass("enableIcon"):t("#mnlSerach").siblings("#mnlSearchbtn").removeClass("enableIcon"))}r&&((i="ProductSearch",t("input[name=searchResultsPageUrl]")&&t("input.SeeAllResultInput"))&&(s=t("input[name=searchResultsPageUrl]").val()+"?searchText=*",t("input.SeeAllResultInput").val(s)),gt&&gt.off("click").on("click",function(n){n.preventDefault();d=!0;tt()}));(f&&(i="SearchResult"),!o||r||f)||(i="ResourceResult",e=t("#resource-finder-section").find("select.Sector"),at(e));r&&(h=ti.val(),l=!!dt.length&&dt.val(),r&&(e=a.find("select.Sector"),(!n.MSInputMethodContext||!document.documentMode)&&yt(e,h,l)));(f&&kt.length>0||rt)&&(v=kt.val(),y=rt.length>0?rt.val():null,f&&vt(v),y&&t(".search:visible").trigger("click"));it&&r&&k();it&&o&&(c(),g());it&&f&&(c(),g());u&&c();ni>0&&t('input[name="defaultPageSize"]').val(ni);wt();t(n).on("load",function(){p()});ct();oi();ei()},{init:st,RenderSearchResults:f,ResetPaging:l,DefaultParameters:h}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.SearchResults.init());INFORMA=window.INFORMA||{};INFORMA.sectorList=function(n,t){"use strict";var i,r,u,f=t("#sector-list-section");return r=function(){t(".view-all-sectors-btn").on("click",function(){t(".sector-list .container > .row + .row >.text-center:nth-child(n+3)").show();t(".sector-list .view-all-sectors-btn-container").hide()})},u=function(){t(".view-all-sectors-btn.less").on("click",function(){t("html, body").animate({scrollTop:_sectorPageStrengths.offset().top-35},700)})},i=function(){f.length>0&&(r(f),u())},{init:i}}(0,jQuery);jQuery(INFORMA.sectorList.init());INFORMA=window.INFORMA||{};INFORMA.sectorPageStrengths=function(n,t){"use strict";var r,u,f,e,o,s=t(".sectorpage-strengths"),i=0;return e=function(n){var u=INFORMA.global.device.viewportN,r;0===u?(r=n.data("desktop"),n.find(".marg1").hide(),n.find(".marg1").length>=r+1?n.find(".view-all-sectors-btn-container").show():n.find(".view-all-sectors-btn-container").hide(),i=r):1===u?(n.find(".marg1:nth-child(n+5)").hide(),n.find(".marg1").length>4?n.find(".view-all-sectors-btn-container").show():n.find(".view-all-sectors-btn-container").hide(),i=4):(n.find(".marg1:nth-child(n+4)").hide(),i=3);n.find(".marg1").slice(0,i).each(function(n,i){t(i).attr("data-display",!0).show()})},u=function(n){t(n).find(".view-all-sectors-btn").on("click",function(){t(this).closest(".container").find(".row + .row >.marg1:not([data-display])").slideToggle();t(this).parents(".sectorpage-strengths").toggleClass("showLess")})},o=function(){jQuery(".sectorpage-strengths").each(function(){var r=jQuery(this).find(".text-description"),u=jQuery(this).find(".yellow-container"),f=jQuery(this).find(".main-container"),n=0,t=0,i=0;r.each(function(){var t=jQuery(this).outerHeight();t>n&&(n=t)});r.css("height",n);u.each(function(){var n=jQuery(this).outerHeight();n>i&&(i=n)});u.css("height",i);f.each(function(){var n=jQuery(this).outerHeight();n>t&&(t=n)});f.css("height",t)})},f=function(){s.find(".view-all-sectors-btn.less").on("click",function(){t("html, body").animate({scrollTop:t(this).parents("section").offset().top},700)})},r=function(){jQuery(".sectorpage-strengths").each(function(i,r){e(t(r));u(r);f();t(n).on("load",function(){o()})});t("#loadPDFComponentModal").on("hidden.bs.modal",function(){t("#hiddenIframe").html("")})},{init:r}}(this,jQuery);jQuery(INFORMA.sectorPageStrengths.init());INFORMA=window.INFORMA||{};INFORMA.sideImage=function(n,t){"use strict";var i,r,u,f=t("section.sideimage-banner");return i=function(){f.length>0&&f.each(function(){r=t(this).find(".sideimage-image img");r.length>0?t(this).removeClass("sideimage-ban-without-img"):t(this).addClass("sideimage-ban-without-img")})},u=function(){i()},{init:u}}(0,jQuery);jQuery(INFORMA.sideImage.init());INFORMA=window.INFORMA||{};INFORMA.sideVideo=function(n,t){"use strict";var r,u,o,s,i,h,f=t("section.sidevideo-banner"),l=t(".sidevideo-banner .banner-wrapper"),e=t(".sidevideo-banner .banner-playicon"),a=t("#informa-main-header").outerHeight(),c="../../Static/images/video/video-thumb-default.png",v=e.attr("data-autoplaydelay");return o=function(){f.length>0&&f.each(function(){void 0==(r=t(this).attr("data-overlay"))&&""==r||("true"==r?t(this).removeClass("hide-overlay"):t(this).addClass("hide-overlay"))})},s=function(){l.on("click",function(){var f=t(this).parent(".banner-playicon"),l=f.attr("data-videotype"),o=f.attr("data-videourl"),c=f.attr("data-videoautoplay"),r=f.attr("data-videocontrol"),a=f.attr("data-volume"),e=f.attr("data-rel"),u=f.attr("data-loop"),s=f.attr("id"),h;switch(c=1,t(this).parents(".embed-responsive").attr("data-id",s),t(this).parents(".embed-responsive").attr("data-volume",a),t(this).parents(".embed-responsive").attr("data-videoautoplay",c),t(this).parents(".embed-responsive").attr("data-rel",e),t(this).parents(".embed-responsive").attr("data-videotype",l),t(this).parents(".sidevideo-banner").addClass("hide-overlay"),t(this).parents(".embed-responsive").addClass("isvideo"),n.innerWidth<=1141&&t(this).parents(".video-full-container").css("background-image","url()").removeClass("bg-css"),n.innerWidth>1141&&t(this).css("background-image","url()").removeClass("bg-css"),r){case"true":r=1;break;case"false":default:r=0}switch(u){case"true":u=1;break;case"false":default:u=0}switch(e){case"true":e=0;break;case"false":e=1;break;default:e=0}switch(l){case"youtube":h=o;0==u&&(h=" ");i="<iframe id="+s+'  width="100%"  height="470" src="https://www.youtube.com/embed/'+o+"?enablejsapi=1&autoplay="+c+"&controls="+r+"&rel="+e+"&playlist="+h+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>';break;case"vimeo":i="<iframe id="+s+' width="100%" height="470"  src="https://player.vimeo.com/video/'+o+"?api=1&player_id=vmplayer&autoplay="+c+"&controls="+r+"&loop="+u+' " frameborder="0" allow="autoplay" allowfullscreen><\/iframe>';break;case"wistia":1==u&&(u="loop");0==r&&(r=!1,a=0);1==r&&(r=!0);i='<iframe class="wistia_embed" id='+s+' width="100%" height="470"  src="https://fast.wistia.net/embed/iframe/'+o+"?autoPlay=true&controlsVisibleOnLoad="+r+"&endVideoBehavior="+u+"&volume="+a+"&playbar="+r+"&smallPlayButton="+r+"&fullscreenButton="+r+"&volumeControl="+r+"&settingsControl="+r+'" frameborder="0" allowfullscreen><\/iframe>';break;default:h=o;0==u&&(h=" ");i="<iframe id="+s+' width="100%" height="470" src="https://www.youtube.com/embed/'+o+"?enablejsapi=1&autoplay="+c+"&controls="+r+"&rel="+e+"&playlist="+h+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>'}f.replaceWith(i);INFORMA.Analytics.setupVideoApi(s,l)})},u=function(){setTimeout(function(){e.each(function(){var l=(t(this).attr("src"),t(this).attr("data-videotype")),e=t(this).attr("data-videourl"),o=t(this).attr("data-videoautoplay"),r=t(this).attr("data-videocontrol"),c=t(this).attr("data-volume"),s=t(this).attr("id"),f=t(this).attr("data-rel"),u=t(this).attr("data-loop"),v=t(this).offset().top,y=n.scrollY,h;if("true"==o&&y>v-a-200){switch(t(this).parents(".sidevideo-banner").addClass("hide-overlay"),t(this).parents(".embed-responsive").attr("data-id",s),t(this).parents(".embed-responsive").attr("data-volume",c),t(this).parents(".embed-responsive").attr("data-videoautoplay",o),t(this).parents(".embed-responsive").attr("data-rel",f),t(this).parents(".embed-responsive").addClass("isvideo"),o=1,n.innerWidth<=1141&&t(this).parents(".video-full-container").css("background-image","url()").removeClass("bg-css"),n.innerWidth>1141&&t(this).find(".banner-wrapper").css("background-image","url()").removeClass("bg-css"),r){case"true":r=1;break;case"false":default:r=0}switch(u){case"true":u=1;break;case"false":default:u=0}switch(f){case"true":f=0;break;case"false":f=1;break;default:f=0}switch(l){case"youtube":h=e;0==u&&(h=" ");i="<iframe id="+s+'  width="100%" src="https://www.youtube.com/embed/'+e+"?enablejsapi=1&autoplay="+o+"&controls="+r+"&rel="+f+"&playlist="+h+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>';break;case"vimeo":i="<iframe id="+s+' width="100%"  src="https://player.vimeo.com/video/'+e+"?api=1&player_id=vmplayer&autoplay="+o+"&controls="+r+"&loop="+u+' " frameborder="0" allow="autoplay" allowfullscreen><\/iframe>';break;case"wistia":1==u&&(u="loop");0==r&&(r=!1,c=0);1==r&&(r=!0);i='<iframe class="wistia_embed" id='+s+' width="100%"  src="https://fast.wistia.net/embed/iframe/'+e+"?autoPlay=true&controlsVisibleOnLoad="+r+"&endVideoBehavior="+u+"&volume="+c+"&playbar="+r+"&smallPlayButton="+r+"&fullscreenButton="+r+"&volumeControl="+r+"&settingsControl="+r+'" frameborder="0" allowfullscreen><\/iframe>';break;default:h=e;0==u&&(h=" ");i="<iframe id="+s+' width="100%" src="https://www.youtube.com/embed/'+e+"?enablejsapi=1&autoplay="+o+"&controls="+r+"&rel="+f+"&playlist="+h+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>'}t(this).replaceWith(i);INFORMA.Analytics.setupVideoApi(s,l)}})},v)},n.addEventListener("scroll",u),e.each(function(){var i=t(this).attr("src"),r;""==i||void 0==i||null==i?(n.innerWidth<=1141&&t(this).parents(".video-full-container").css("background-image","url("+c+")").addClass("bg-css"),n.innerWidth>1141&&t(this).find(".banner-wrapper").css("background-image","url("+c+")").addClass("bg-css")):(n.innerWidth<=1141&&t(this).parents(".video-full-container").css("background-image","url("+i+")").addClass("bg-css"),n.innerWidth>1141&&t(this).find(".banner-wrapper").css("background-image","url("+i+")").addClass("bg-css"));r=t(this).attr("data-videoautoplay");t(this).parents(".sidevideo-banner").offset().top<=t("#informa-main-header")&&"true"==r&&t(this).find("img").trigger("dblclick")}),h=function(){f.length>0&&(o(),s(),u())},{init:h}}(this,jQuery);jQuery(INFORMA.sideVideo.init());INFORMA=window.INFORMA||{};INFORMA.signup=function(n,t){"use strict";var e,o,s,h,r,c,l,a,v,y,p=t(".inf-sign-up-box-expand"),w=t(".inf-sign-up-box"),b=t(".inf-sign-up-box img.collapse-box"),u=t(".inf-sign-up"),i=t(".inf-sign-up-box input[type=text]"),k=t("#modalId").val(),f=t("label.error-msg");return o=function(){p.click(function(){w.slideDown();t(this).slideUp()})},s=function(){b.click(function(){w.slideUp();p.slideDown()})},h=function(n){return/^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/.test(n)},r=function(){h(i.val())?(u.removeAttr("disabled"),u.addClass("inf-btn-active"),""!=i.val()&&f.removeClass("active")):(u.prop("disabled",!0),u.removeClass("inf-btn-active"),""!=i.val()&&f.addClass("active"));""==i.val()&&f.removeClass("active")},c=function(){i.on("blur",function(){r()})},l=function(){i.keypress(function(n){13==n.which&&r()})},a=function(){i.mouseout(function(){r()})},v=function(){t(".redirect-to-link").click(function(){n.open(t("#ctaUrl").val(),"_blank")})},y=function(){t("#"+k).on("shown.bs.modal",function(){t(this).find(".email-field").focus();t(this).find(".email-field").val(t(".inf-sign-up-box input").val())})},e=function(){o();s();c();l();a();v();y()},{init:e}}(this,jQuery);jQuery(INFORMA.signup.init());INFORMA=window.INFORMA||{};INFORMA.navtabs=function(n,t){"use strict";var r,i=t(".support-page-tabs ul.nav li"),u=t(".support-page-tabs .tab-content .tab-pane");return r=function(){jQuery(i[0]).addClass("active");jQuery(u[0]).addClass("active");i.on("click",function(){i.removeClass("active");jQuery(this).addClass("active");var n=jQuery(this).find("a").attr("href");u.removeClass("active");jQuery(n).addClass("active")})},{init:r}}(0,jQuery);jQuery(INFORMA.navtabs.init()),function(n){n.fn.stellarNav=function(t,i,r){nav=n(this);i=n(window).width();var u=n.extend({theme:"plain",breakpoint:768,menuLabel:"Menu",sticky:!1,position:"static",openingSpeed:250,closingDelay:0,showArrows:!0,phoneBtn:"",phoneLabel:"Call Us",locationBtn:"",locationLabel:"Location",closeBtn:!1,closeLabel:"Close",mobileMode:!1,scrollbarFix:!1},t);return this.each(function(){function l(){window.innerWidth<=r||u.mobileMode?(c(),nav.addClass("mobile"),nav.removeClass("desktop"),!nav.hasClass("active")&&nav.find("ul:first").is(":visible")&&nav.find("ul:first").hide(),nav.find("li.mega").each(function(){n(this).find("ul").first().removeAttr("style");n(this).find("ul").first().children().removeAttr("style")})):(nav.addClass("desktop"),nav.removeClass("mobile"),nav.hasClass("active")&&nav.removeClass("active"),!nav.hasClass("active")&&nav.find("ul:first").is(":hidden")&&nav.find("ul:first").show(),n("li.open").removeClass("open").find("ul:visible").hide(),c(),a(),navWidth=0,n(parentItems).each(function(){navWidth+=n(this)[0].getBoundingClientRect().width;navWidth=Math.round(navWidth);n(this).hasClass("mega")&&(n(this).find("ul").first().css({left:0,right:0,margin:"0px auto"}),numCols=n(this).attr("data-columns"),2==numCols?n(this).find("li.has-sub").width("50%"):3==numCols?n(this).find("ul").first().children().width("33.33%"):4==numCols?n(this).find("ul").first().children().width("25%"):5==numCols?n(this).find("ul").first().children().width("20%"):6==numCols?n(this).find("ul").first().children().width("16.66%"):7==numCols?n(this).find("ul").first().children().width("14.28%"):8==numCols?n(this).find("ul").first().children().width("12.5%"):n(this).find("ul").first().children().width("25%"))}),parentItems.hasClass("mega")&&nav.find("li.mega > ul").css({"max-width":navWidth}))}var t,f,e,s,o,h,c,a;if(t=("light"!=u.theme&&"dark"!=u.theme||nav.addClass(u.theme),u.breakpoint&&(r=u.breakpoint),menuLabel=u.menuLabel?u.menuLabel:"",phoneLabel=u.phoneLabel?u.phoneLabel:"",locationLabel=u.locationLabel?u.locationLabel:"",closeLabel=u.closeLabel?u.closeLabel:"",u.phoneBtn&&u.locationBtn)?"third":u.phoneBtn||u.locationBtn?"half":"full",("right"==u.position||"left"==u.position?nav.prepend('<a href="#" class="menu-toggle"><span class="bars"><span><\/span><\/span> '+menuLabel+"<\/a>"):nav.prepend('<a href="#" class="menu-toggle '+t+'"><span class="bars"><span><\/span><\/span> '+menuLabel+"<\/a>"),u.phoneBtn&&"right"!=u.position&&"left"!=u.position)&&(f='<a href="tel:'+u.phoneBtn+'" class="call-btn-mobile '+t+'"><svg id="icon-phone"><\/svg> <span>'+phoneLabel+"<\/span><\/a>",nav.find("a.menu-toggle").after(f)),u.locationBtn&&"right"!=u.position&&"left"!=u.position&&(f='<a href="'+u.locationBtn+'" class="location-btn-mobile '+t+'" target="_blank"><svg id="icon-location"><\/svg> <span>'+locationLabel+"<\/span><\/a>",nav.find("a.menu-toggle").after(f)),u.sticky&&(navPos=nav.offset().top,i>=r&&n(window).on("scroll",function(){n(window).scrollTop()>navPos?nav.addClass("fixed"):nav.removeClass("fixed")})),"top"==u.position&&nav.addClass("top"),"left"==u.position||"right"==u.position){var v='<a href="#" class="close-menu '+t+'"><span class="icon-close"><\/span>'+closeLabel+"<\/a>",y='<a href="tel:'+u.phoneBtn+'" class="call-btn-mobile '+t+'"><svg id="icon-phone"><\/svg><\/a>',p='<a href="'+u.locationBtn+'" class="location-btn-mobile '+t+'" target="_blank"><svg id="icon-location"><\/svg><\/i><\/a>';nav.find("ul:first").prepend(v);u.locationBtn&&nav.find("ul:first").prepend(p);u.phoneBtn&&nav.find("ul:first").prepend(y)}"right"==u.position&&nav.addClass("right");"left"==u.position&&nav.addClass("left");u.showArrows||nav.addClass("hide-arrows");u.closeBtn&&"right"!=u.position&&"left"!=u.position&&nav.find("ul:first").append('<li><a href="#" class="close-menu"><span class="icon-close"><\/span> '+closeLabel+"<\/a><\/li>");u.scrollbarFix&&n("body").addClass("stellarnav-noscroll-x");e=document.getElementById("icon-phone");e&&(e.setAttribute("viewBox","0 0 480 480"),s=document.createElementNS("http://www.w3.org/2000/svg","path"),s.setAttribute("d","M340.273,275.083l-53.755-53.761c-10.707-10.664-28.438-10.34-39.518,0.744l-27.082,27.076 c-1.711-0.943-3.482-1.928-5.344-2.973c-17.102-9.476-40.509-22.464-65.14-47.113c-24.704-24.701-37.704-48.144-47.209-65.257     c-1.003-1.813-1.964-3.561-2.913-5.221l18.176-18.149l8.936-8.947c11.097-11.1,11.403-28.826,0.721-39.521L73.39,8.194 C62.708-2.486,44.969-2.162,33.872,8.938l-15.15,15.237l0.414,0.411c-5.08,6.482-9.325,13.958-12.484,22.02     C3.74,54.28,1.927,61.603,1.098,68.941C-6,127.785,20.89,181.564,93.866,254.541c100.875,100.868,182.167,93.248,185.674,92.876 c7.638-0.913,14.958-2.738,22.397-5.627c7.992-3.122,15.463-7.361,21.941-12.43l0.331,0.294l15.348-15.029     C350.631,303.527,350.95,285.795,340.273,275.083z"),e.appendChild(s));o=document.getElementById("icon-location");o&&(o.setAttribute("viewBox","0 0 480 480"),h=document.createElementNS("http://www.w3.org/2000/svg","path"),h.setAttribute("d","M322.621,42.825C294.073,14.272,259.619,0,219.268,0c-40.353,0-74.803,14.275-103.353,42.825 c-28.549,28.549-42.825,63-42.825,103.353c0,20.749,3.14,37.782,9.419,51.106l104.21,220.986   c2.856,6.276,7.283,11.225,13.278,14.838c5.996,3.617,12.419,5.428,19.273,5.428c6.852,0,13.278-1.811,19.273-5.428 c5.996-3.613,10.513-8.562,13.559-14.838l103.918-220.986c6.282-13.324,9.424-30.358,9.424-51.106 C365.449,105.825,351.176,71.378,322.621,42.825z M270.942,197.855c-14.273,14.272-31.497,21.411-51.674,21.411 s-37.401-7.139-51.678-21.411c-14.275-14.277-21.414-31.501-21.414-51.678c0-20.175,7.139-37.402,21.414-51.675 c14.277-14.275,31.504-21.414,51.678-21.414c20.177,0,37.401,7.139,51.674,21.414c14.274,14.272,21.413,31.5,21.413,51.675 C292.355,166.352,285.217,183.575,270.942,197.855z"),o.appendChild(h));n(".menu-toggle, .stellarnav-open").on("click",function(t){t.preventDefault();n(this).siblings(".menu-mobile").removeClass("active");n(this).siblings(".outer-search-icon").removeClass("active");n("#tech-main-header").removeClass("search-active");n(this).siblings(".outer-search-icon").children(".search-icons").removeClass("active");n(this).siblings(".outer-search-icon").children(".search-icons").children("i").addClass("search-active");"left"==u.position||"right"==u.position?(nav.find("ul:first").stop(!0,!0).fadeToggle(u.openingSpeed),nav.toggleClass("active"),nav.hasClass("active")&&nav.hasClass("mobile")&&n(document).on("click",function(t){nav.hasClass("mobile")&&(n(t.target).closest(nav).length||(nav.find("ul:first").stop(!0,!0).fadeOut(u.openingSpeed),nav.removeClass("active")))})):(nav.find("ul:first").stop(!0,!0).slideToggle(u.openingSpeed),nav.toggleClass("active"))});n(".close-menu, .stellarnav-close").on("click",function(){nav.removeClass("active");"left"==u.position||"right"==u.position?nav.find("ul:first").stop(!0,!0).fadeToggle(u.openingSpeed):nav.find("ul:first").stop(!0,!0).slideUp(u.openingSpeed).toggleClass("active")});nav.find("li a").each(function(){n(this).next().length>0?n(this).parent("li").addClass("has-sub"):n(this).parent("li").addClass("no-sub");n(this).parent("li").append('<a class="dd-toggle" href="#"><span class="icon-plus"><\/span><\/a>');-1!=n(this).attr("href").indexOf("javascript")&&n(this).click(function(){n(this).parent().children(".dd-toggle").trigger("click")})});nav.find("li .dd-toggle").on("click",function(t){var i=n(this).closest("li");t.preventDefault();i.hasClass("has-sub")&&(i.children("ul").stop(!0,!0).slideToggle(u.openingSpeed),i.toggleClass("open"),i.hasClass("open")?nav.addClass("sub-open"):nav.removeClass("sub-open"))});c=function(){nav.find("li").off("mouseenter");nav.find("li").off("mouseleave")};parentItems=nav.find("> ul > li");a=function(){n(parentItems).each(function(){n(this).hasClass("mega")?(n(this).on("mouseenter",function(){n(this).find("ul").first().stop(!0,!0).slideDown(u.openingSpeed)}),n(this).on("mouseleave",function(){n(this).find("ul").first().stop(!0,!0).slideUp(u.openingSpeed)})):(n(this).on("mouseenter",function(){n(this).children("ul").stop(!0,!0).slideDown(u.openingSpeed)}),n(this).on("mouseleave",function(){n(this).children("ul").stop(!0,!0).delay(u.closingDelay).slideUp(u.openingSpeed)}),n(this).find("li.has-sub").on("mouseenter",function(){n(this).children("ul").stop(!0,!0).slideDown(u.openingSpeed)}),n(this).find("li.has-sub").on("mouseleave",function(){n(this).children("ul").stop(!0,!0).delay(u.closingDelay).slideUp(u.openingSpeed)}))})};l();n(window).on("resize",function(){l()})})}}(jQuery);INFORMA=window.INFORMA||{};INFORMA.TechHeader=function(n,t){"use strict";var u,i,f,e,r;return t("tech-main-header"),f=function(){i=document.getElementById("tech-main-header");null!=i&&(u=i.offsetTop);t(document).ready(function(){null!=i&&(e(),r())})},e=function(){var n=!1,i=t("#EnableHamburger").val(),n=!1;"true"!=i&&"True"!=i||(n=!0);t(".stellarnav").stellarNav({theme:"plain",breakpoint:961,position:"right",phoneBtn:!1,closeBtn:!0,sticky:!1,scrollbarFix:!0,locationBtn:!1,mobileMode:n,showArrows:!1,menuLabel:"",closeLabel:""})},r=function(){null!=i&&(n.pageYOffset>u?i.classList.add("sticky"):i.classList.remove("sticky"))},n.addEventListener("scroll",r),{init:f}}(this,jQuery);jQuery(INFORMA.TechHeader.init());INFORMA=window.INFORMA||{};INFORMA.TechSearch=function(n,t){var b,k,c,l,a,d,v,g,nt,e,o,s,tt,it,rt,h,ut,p,u,f,ft,w,et,st=t(".search-icons i"),ht=t(".menu-mobile"),ct=t(".tech-search-inputbar"),i=1,ot="facetFilter",y="txtComponentSearch",r="searchtext";return st.on("click",function(){(t(this).parents(".stellarnav").removeClass("active"),t(".main-nav-bar").hide(),t(this).hasClass("search-active"))&&(t(this).removeClass("search-active"),t(this).parent(".search-icons").toggleClass("active"),t(this).parent(".search-icons").hasClass("active")?(t(this).parent(".search-icons").parent(".outer-search-icon").siblings(".menu-mobile").addClass("active"),t(this).parent(".search-icons").parent(".outer-search-icon").addClass("active"),t(this).parents("#tech-main-header").addClass("search-active")):(t(this).parent(".search-icons").parent(".outer-search-icon").siblings(".menu-mobile").removeClass("active"),t(this).parent(".search-icons").parent(".outer-search-icon").removeClass("active"),t(this).parents("#tech-main-header").removeClass("search-active")))}),ht.on("click",function(){t(this).removeClass("active");t(this).siblings(".outer-search-icon").children(".search-icons").removeClass("active");t(this).siblings(".outer-search-icon").children(".search-icons").children("i").addClass("search-active");t(this).siblings(".outer-search-icon").removeClass("active");t("#tech-main-header").removeClass("search-active")}),c=function(t){var i=new RegExp("[?&]"+t+"=([^&#]*)").exec(n.location.search);return null!==i?i[1]||"":""},t("#"+y).on("keypress",function(n){var u,i;if(13==n.keyCode)return u=(c(r),jQuery(this).val()),null!=u&&u.length>=2&&(i=t(location)[0].origin,i+="/search?",i=i+r+"="+u,t(location).attr("href",i)),!1}),t("#searchbox").on("keypress",function(n){var u,i;if(13==n.keyCode)return u=(c(r),jQuery(this).val()),null!=u&&u.length>=2&&(i=t(location)[0].origin,i+="/search?",i=i+r+"="+u,t(location).attr("href",i)),!1}),ct.length>0&&jQuery(document).ready(function(){var p=c(r),n,a,v;(jQuery("#"+y).val(decodeURI(p)),ft())?(n=e(),i=jQuery("#txtPageNumber").val(),v=t("#"+ot).find("li.facet-selected"),v.each(function(){"All"!=t(this).data("facet-name")&&(n.SelectedFacets.push(t(this).data("facet-name")),a++)}),a>1&&l(!1),n=o(n),n.PageNo=i,n.CurrentPage=i,h(i),s(n)):jQuery("#txtPageNumber").val("1");"1"==jQuery("#ResultFound").val()&&(f(!1),u(!1));t("#totalCount").text(jQuery("#ResultFound").val());t("#searchKeyword").text(t("#txtComponentSearch").val())}),l=function(n){n?t("#facet-all").addClass("facet-selected"):t("#facet-all").removeClass("facet-selected")},a=function(i){var u,h=decodeURI(c(r)),f=r+"=",l=t("#"+ot).find("li.facet-selected"),o=0,s="&facets=",e="";l.each(function(){"All"!=t(this).data("facet-name")&&(e+=t(this).data("facet-name")+"|");o++});d()&&(f+=h);o>=1?(n.history.pushState("",document.title,n.location.pathname),""!=e?(s+=e,u=f+s):u=f,i>1&&(u+="&page="+i),""!=u&&n.history.pushState("",n.location.href,"?"+u)):n.history.pushState("",document.title,n.location.pathname)},d=function(){var n=t("#"+y).val();return""!=n&&"View Search"!=n},jQuery(document).on("click","section.refine-container-container  ul > li",function(){var c=1,n=e(),r=0;"All"==t(this).data("facet-name")?(t(this).parent().find("li.facet-selected").each(function(){t(this).removeClass("facet-selected")}),n.SelectedFacets=[],l(!0)):(t(this).hasClass("facet-selected")?t(this).removeClass("facet-selected"):(t(this).addClass("facet-selected"),t("#facet-all").removeClass("facet-selected")),t(this).parent().find("li.facet-selected").each(function(){"All"!=t(this).data("facet-name")&&(n.SelectedFacets.push(t(this).data("facet-name")),r++)}),r>1?l(!1):0==r&&(l(!0),n.SelectedFacets=[]));i=c;f(!0);u(!1);n=o(n);n.PageNo=i;n.CurrentPage=i;h(i);s(n);a(c)}),v=function(n){return t("#facetFilter ul li.facet-selected").each(function(){"All"!=t(this).data("facet-name")&&n.SelectedFacets.push(t(this).data("facet-name"))}),n},g=function(){return t(".refine-container-container ul li")},nt=function(){g().each(function(){t(this).text(t(this).data("facet-name")+" (0)")})},e=function(){var n={};return n.SelectedFacets=[],n},o=function(n){return n.SearchText=t("#"+y).val(),n.PageSize=t("#resultPagesize").val(),n.LinkText=t("#readMoreText").val(),n},s=function(n){INFORMA.Spinner.Show(t("body"));jQuery.ajax({url:"/client/search/ComponentSearchResults",type:"POST",data:n,success:function(i){i.TotalPage<n.PageNo&&t("#facet-all").click();i&&i.Results&&i.Results.length>0&&i.Results.forEach(function(n){n.SubtitleLength=n.SubTitle.trim().length});k=Handlebars.compile(INFORMA.Templates.SiteWideSearch);b=k({Results:i.Results});jQuery("#totalPage").val(i.TotalPage);jQuery("#ResultFound").val(i.ResultFound);jQuery("#lblTotalPage").text(i.TotalPage);i.ResultFound>0?(jQuery("#searchResultListing").html(b),jQuery("#searchResultList").show(),jQuery(".no-result-hide").hide(),1==i.TotalPage&&(f(!1),u(!1))):(jQuery(".no-result").hide(),tt());INFORMA.Spinner.Hide()},error:function(){INFORMA.Spinner.Hide()},complete:function(){setTimeout(function(){INFORMA.Spinner.Hide()},1e3)}})},tt=function(){jQuery("#facetFilter").hide();jQuery("#searchResultList").hide();jQuery(".no-result-hide").show();nt()},it=function(){var n=e(),t=p();return i>=1&&i<=t&&(i++,n=o(n),n=v(n),n.PageNo=i,n.CurrentPage=i,s(n),h(i),u(!0)),i==t&&f(!1),a(i),!1},rt=function(){var r=i,t,n;return i=jQuery("#txtPageNumber").val(),t=p(),parseInt(i)<=parseInt(t)?(n=e(),i>=1&&i<=t&&(n=o(n),n=v(n),n.PageNo=i,n.CurrentPage=i,s(n),h(i),u(!0)),i==t&&f(!1),a(i)):i=r,!1},h=function(n){jQuery("#txtPageNumber").val(n)},ut=function(){var n=e();return i>1&&(i--,n=o(n),n=v(n),n.PageNo=i,n.CurrentPage=i,s(n),h(i),f(!0)),1==i&&u(!1),a(i),!0},p=function(){return jQuery("#totalPage").val()},u=function(n){n?(jQuery("#btnPrePage").removeClass("disabled"),jQuery("#btnPrePage").attr("disabled",!1)):(jQuery("#btnPrePage").addClass("disabled"),jQuery("#btnPrePage").attr("disabled",!0))},f=function(n){n?(jQuery("#btnNextPage").removeClass("disabled"),jQuery("#btnNextPage").attr("disabled",!1)):(jQuery("#btnNextPage").addClass("disabled"),jQuery("#btnNextPage").attr("disabled",!0))},ft=function(){return n.location.href.split("?").length>1},w=function(n){if(n.length>=2){var i=t(location)[0].origin;i+="/search?";i=i+r+"="+n;INFORMA.Analytics.triggerSearchEvent(n);t(location).attr("href",i)}},t("#txtPageNumber").on("keyup",function(n){"13"==(n.keyCode?n.keyCode:n.which)&&document.getElementById("myBtn").click()}),t(".hot-port-container").slick({centerMode:!0,centerPadding:"60px",slidesToShow:3,infinite:!0,speed:300,adaptiveHeight:!0,responsive:[{breakpoint:900,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:2}},{breakpoint:480,settings:{arrows:!0,centerMode:!0,centerPadding:"40px",slidesToShow:1}}]}),t("#topNavSearch").click(function(){var n=t("#searchbox").val();w(n)}),t("#searchPage").click(function(){var n=t("#txtComponentSearch").val();w(n)}),t("#btnPrePage").on("click",function(){ut()}),t("#myBtn").on("click",function(){rt()}),t("#btnNextPage").on("click",function(){it()}),et=function(){},{init:et}}(this,jQuery);jQuery(INFORMA.TechSearch.init());INFORMA=window.INFORMA||{};INFORMA.tilecarousel=function(n,t){"use strict";var h,r,u,f,e,c,o,l,i,b,a,s,k,d,g,v,y,p,nt=t(".tile-carousel-wrapper"),w=t(".tile-carousel");return r=function(r){var u=t(n).width(),f;if(""!=t(r).data("itemsperframe")&&(u<=450&&(i=1,t(r).attr("data-itemsperframe","1")),u>=451&&u<=699&&(i=2,t(r).attr("data-itemsperframe","2")),u>=700&&u<=1006&&(i=1,t(r).attr("data-itemsperframe","1")),u>=1007&&u<=1348&&(i=2,t(r).attr("data-itemsperframe","2")),u>=1349&&(i=t(r).data("originalitemsperframe"),t(r).attr("data-itemsperframe",t(r).data("originalitemsperframe")))),""!=t(r).data("itemsperframe")){f="";switch(i){case 1:f="one-col-tile-carousel";break;case 2:f="two-col-tile-carousel";break;case 3:f="three-col-tile-carousel";break;case 4:f="four-col-tile-carousel"}t(r).removeClass("one-col-tile-carousel");t(r).removeClass("two-col-tile-carousel");t(r).removeClass("three-col-tile-carousel");t(r).removeClass("four-col-tile-carousel");t(r).addClass(f)}},v=function(n){t(n).find(".tile-carousel").find(".content-wrapper").length<=0&&t(n).hide()},function(n){t(n).find(".content-wrapper").find(".tile").length>0&&t(n).find(".content-wrapper").find(".tile").each(function(){var n=t(this).find("p.small").text(),i,r;void 0!=n&&(i=200,n.length>i&&(r=n.substring(0,i)+" ...",t(this).find("p.small").html(r)))})},u=function(n){if(t(n).find(".content-wrapper").find(".tile").length>0){var i=0;t(n).find(".content-wrapper").find(".tile").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".content-wrapper").find(".tile").each(function(){t(this).css({"min-height":i+"px"})})}},f=function(n){if(t(n).find(".content-wrapper").find(".tile").find("h4").length>0){var i=0;t(n).find(".content-wrapper").find(".tile").find("h4").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".content-wrapper").find(".tile").find("h4").each(function(){t(this).css({"min-height":i+"px"})})}},e=function(n){if(t(n).find(".content-wrapper").find(".tile").find("p.small").length>0){var i=0;t(n).find(".content-wrapper").find(".tile").find("p.small").each(function(){var n=t(this).outerHeight();n>i&&(i=n)});t(n).find(".content-wrapper").find(".tile").find("p.small").each(function(){t(this).css({"min-height":i+"px"})})}},c=function(n){t(n).slick({arrows:!0,draggable:!1,autoplay:o,dots:l,slidesToShow:i,slidesToScroll:i,speed:a,autoplaySpeed:s,responsive:[{breakpoint:1348,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:699,settings:{slidesToShow:1,slidesToScroll:1}}]})},p=function(i){void 0!==t(i).data("rtl")&&(y=t(i).data("rtl"));!0===y&&!0===o&&t(i).on("init",function(){n.setInterval(function(){t(i).slick("slickPrev")},s)})},h=function(){nt.each(function(){v(this)});w.each(function(){var n=this;o=t(this).data("autorotate");l=t(this).data("pagination");i=t(this).data("itemsperframe");b=t(this).data("originalitemsperframe");a=t(this).data("transitionspeed");s=t(this).data("slideduration");k=t(this).find(".content-wrapper").find(".tile");d=t(this).find(".content-wrapper").find(".tile").find("h4");g=t(this).find(".content-wrapper").find(".tile").find("p.small");r(this);this&&setTimeout(function(){f(n);e(n);u(n)},200);p(this);c(this)});t(n).on("resize",function(){w.each(function(){var n=this;r(this);this&&setTimeout(function(){f(n);e(n);u(n)},200)})})},{init:h}}(this,jQuery);jQuery(INFORMA.tilecarousel.init());INFORMA=window.INFORMA||{};INFORMA.trainingMaterial=function(n,t){"use strict";var i,r,u=t(".slick-carousel");return r=function(n){var t=n.data("itemsperframe"),i=Boolean(n.data("autorotate")),r=n.data("transitionspeed"),u=n.data("slideduration"),f=Boolean(n.data("pagination"));n.not(".slick-initialized").slick({infinite:!0,autoplay:i,autoplaySpeed:u,slidesToShow:t,slidesToScroll:t,speed:r,dots:f,adaptiveHeight:!0,arrows:!0,swipe:!INFORMA.global.device.isDesktop,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]})},i=function(){u.length>0&&r(u)},{init:i}}(0,$INFORMA=jQuery.noConflict());jQuery(INFORMA.trainingMaterial.init());INFORMA=window.INFORMA||{};INFORMA.twocolumnbanner=function(n,t){"use strict";var u,r,f=t(".two-column-banner .two-column-banner-wrapper"),i=n.innerWidth;return r=function(){f.each(function(){var u=t(this).find(".image-wrapper").find("img"),s=t(this).find(".banner-heading").length,f=t(this).find(".banner-container").find(".content-wrapper").find(".small").find("span").text(),h=t(this).find(".banner-container").find(".content-wrapper").find(".small"),r,e,n,o;u.length>0&&(r=t(this).find(".image-wrapper").find("img").outerHeight(),(i>767&&t(this).css({"min-height":r+"px"}),i<768&&s>0)&&(e=t(this).find(".banner-heading").height(),t(this).css({"min-height":r+e+"px"})),t(this).addClass("two-col-ban-with-img"));(u.length<=0&&t(this).addClass("two-col-ban-without-img"),i<768&&void 0!=h)&&(n=120,(i>320&&i<=425&&(n=100),i>425&&i<=475&&(n=200),i>475&&i<=575&&(n=250),i>575&&i<=625&&(n=300),i>625&&i<=725&&(n=400),i>725&&i<=767&&(n=450),f.length>n)&&(o=f.substring(0,n)+" ...",t(this).find(".banner-container").find(".content-wrapper").find(".small").find("span").replaceWith(o)))})},t(n).resize(function(){f.length>0&&r()}),u=function(){setTimeout(function(){r()},200)},{init:u}}(this,jQuery);jQuery(INFORMA.twocolumnbanner.init());INFORMA=window.INFORMA||{};INFORMA.landingpage=function(n,t){"use strict";var v,y,s,w=t(".vertical-slider .slider"),b=t("html, body"),i=t(".vertical-slider"),k=t(".slider-container .article-container"),u=t("#informa-main-header"),p=t(".vertical-slider .slider .slider-container").length,d=t("#animation-element").val(),g=t("#animation-play").val(),r=t(".article-container .content-box"),o=t(".article-container article"),h=0,c=!1,l=!1,a=!1,f=n.innerWidth,e;return i.length>0&&(e=i.offset().top),b.bind("scroll DOMMouseScroll mousewheel",function(o){if(f>1141&&i.length>0){var g,b=o.currentTarget,k=b.scrollTop||n.pageYOffset,tt=o.originalEvent.detail,it=b.scrollHeight||document.body.scrollHeight,rt=o.deltaY,s=i.outerHeight(),ut=e,ft=e+s/2,l=t("#mainNavigation").hasClass("navbar-fixed-top"),d=t("#cookieBanner").css("display"),c=u.outerHeight(),v=t("#mainNavigation").outerHeight(),w=t("#cookieBanner").outerHeight(),h=t(".mobileNavigation").outerHeight(),nt=(t(".informa-header-copyright").outerHeight(),t(".informaNav").outerHeight(),n.innerHeight,i.hasClass("activescroll")),et=(u.next(".vertical-slider"),t("#informa-footer").prev(".vertical-slider"),parseInt(t(".slider .slick-active").attr("data-slick-index")));document.body.scrollHeight>=s+c&&(g=k>=ut&&k<ft);g&&0<et<p&&(i.addClass("activescroll"),u.addClass("vertical-slider-active"));nt&&("block"==d&&(l&&(f>1141?(i.css("top",w+v),r.css("height",s-(w+v))):(i.css("top",w+h),r.css("height",s-(w+h)))),l||(i.css("top",c),r.css("height",s-c))),"none"!=d&&void 0!=d||(l&&(f>1141?(i.css("top",v),r.css("height",s-v)):(i.css("top",h),r.css("height",s-h))),l||(f>1141?(i.css("top",c),r.css("height",s-c)):(i.css("top",h),r.css("height",s-h)))));!a&&nt&&(setTimeout(function(){y(b,k,it,tt,rt);a=!1},1e3),a=!0)}}),y=function(f,a,v,y,w){var b=parseInt(t(".slider .slick-active").attr("data-slick-index")),it=t(".slider").children(".slick-list").children(".slick-track").children(".slider-container.slick-active").children(".article-container"),rt=it.children("article"),ut=i.outerHeight(),k=it.children(".content-box"),tt;if((w>0||y<0)&&(--h,l=!0,c=!1),(w<0||y>0)&&(++h,c=!0,l=!1),h>0&&c){var st=rt.hasClass("active"),ht=k.attr("id"),ut=i.outerHeight(),ct=u.outerHeight(),d=t("#cookieBanner").css("display"),ft=(t("#mainNavigation").outerHeight(),t("#cookieBanner").outerHeight()),et=t(".mobileNavigation").outerHeight(),ct=u.outerHeight(),ot=n.innerWidth,nt=0;st?(rt.removeClass("active"),k.addClass("active"),setTimeout(function(){k.addClass("active-font");"true"==g&&s(ht)},500)):(k.removeClass("active active-font").addClass("active-fullwidth").addClass("hide-canvas").fadeOut(300),setTimeout(function(){setTimeout(function(){k.removeClass("active-fullwidth").addClass("active").fadeIn(100);k.removeClass("hide-canvas");b>p&&(i.removeClass("activescroll").removeAttr("style"),u.removeClass("vertical-slider-active"),o.addClass("active"),r.removeClass("active").removeAttr("style"),i.addClass("lastchild-scrolled"),"block"==d&&(nt=ot>1141?ft:ft+et),"none"!=d&&void 0!=d||(nt=ot>1141?ct:et),t("html,body").animate({scrollTop:e+ut+nt-100},"fast"))},300);b+=2;t(".vertical-slider .slick-vertical .slick-dots li:nth-child("+b+")").trigger("click")},500))}if(l&&(tt=i.hasClass("lastchild-scrolled"),0==b&&(i.removeClass("activescroll").removeAttr("style"),r.removeClass("active active-font").removeAttr("style"),t("html,body").animate({scrollTop:e-ut},"fast"),u.removeClass("vertical-slider-active"),o.addClass("active"),t(".vertical-slider .slick-vertical .slick-dots li:nth-child("+b+")").trigger("click")),b>=1&&(tt||(o.addClass("active"),r.removeClass("active active-font").removeAttr("style"),t(".vertical-slider .slick-vertical .slick-dots li:nth-child("+b+")").trigger("click")),tt)))return i.removeClass("lastchild-scrolled"),!1},s=function(n){particlesJS(n,{particles:{number:{value:70,density:{enable:!0,value_area:600}},color:{value:"#bebbc1"},shape:{type:"image",image:{src:d,width:100,height:100}},opacity:{value:1,random:!0,anim:{enable:!0,speed:4,opacity_min:.1,sync:!1}},size:{value:30,random:!0,anim:{enable:!0,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:150,color:"#bebbc1",opacity:1,width:5},move:{enable:!0,speed:2,direction:"none",random:!0,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"repulse"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{repulse:{distance:50,duration:.4},push:{particles_nb:10}}},retina_detect:!0})},t(document).on("click",".vertical-slider .slider .slick-dots li",function(){o.addClass("active");r.removeClass("active")}),k.each(function(){var n=t(this).attr("data-backimage");f>1141?t(this).css({"background-image":"url("+n+")"}):t(this).children("article").css({"background-image":"url("+n+")"})}),void 0!=r&&r.each(function(){if(f<=1141){var n=t(this).attr("id");void 0!=n&&s(n)}}),v=function(){f>1141&&w.slick({vertical:!0,slidesToShow:1,slidesToScroll:1,verticalSwiping:!0,swipeToSlide:!1,dots:!0,infinite:!1})},{init:v}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.landingpage.init());INFORMA=window.INFORMA||{};INFORMA.videoFull=function(n,t){"use strict";var u,i,r,f,e=t(".video-full-container .video-img,.video-full-container .play-icon,.video-full-container h1,.video-full-container h2,.video-full-container h3,.video-full-container h4,.video-full-container h5,.video-full-container h6"),s="Static/images/video/video-thumb-default.png",o=t(".mobile-aspectratio .embed-responsive").attr("data-autoplaydelay"),h=t("#informa-main-header").outerHeight();return f=function(){e.click(function(n){var f=t(this).parent().find("img"),a=f.attr("data-videotype"),o=f.attr("data-videourl"),c=f.attr("data-videoautoplay"),r=f.attr("data-videocontrol"),v=f.attr("data-volume"),e=f.attr("data-rel"),u=f.attr("data-loop"),s=f.attr("id"),l,h;switch(t(this).parent(".embed-responsive").attr("data-videotype",a),t(this).parent(".embed-responsive").attr("data-id",s),t(this).parent(".embed-responsive").attr("data-volume",v),t(this).parent(".embed-responsive").attr("data-videoautoplay",c),t(this).parent(".embed-responsive").attr("data-rel",e),t(this).parent().addClass("isvideo"),c=1,r){case"true":r=1;break;case"false":default:r=0}switch(u){case"true":u=1;break;case"false":default:u=0}switch(e){case"true":e=0;break;case"false":e=1;break;default:e=0}switch(a){case"youtube":l=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;h=o.match(l)[2];0==u&&(h=" ");i='<iframe id="'+s+'"  width="100%" src="'+o+"?enablejsapi=1&autoplay="+c+"&controls="+r+"&rel="+e+"&playlist="+h+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>';break;case"vimeo":i='<iframe id="'+s+'" width="100%"  src="'+o+"?api=1&player_id=vmplayer&autoplay="+c+"&controls="+r+"&loop="+u+' " frameborder="0" allow="autoplay" allowfullscreen><\/iframe>';break;case"wistia":1==u&&(u="loop");0==r&&(r=!1,v=0);1==r&&(r=!0);i='<iframe class="wistia_embed" id="'+s+'" width="100%"  src="'+o+"?autoPlay=true&controlsVisibleOnLoad="+r+"&endVideoBehavior="+u+"&volume="+v+"&playbar="+r+"&smallPlayButton="+r+"&fullscreenButton="+r+"&volumeControl="+r+"&settingsControl="+r+'" frameborder="0" allowfullscreen><\/iframe>';break;default:l=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;h=o.match(l)[2];0==u&&(h=" ");i="<iframe id="+s+' width="100%" src="'+o+"?enablejsapi=1&autoplay="+c+"&controls="+r+"&rel="+e+"&playlist="+h+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>'}f.replaceWith(i);INFORMA.Analytics.setupVideoApi(s,a);n.target.remove()})},o&&n.addEventListener("scroll",r),r=function(){setTimeout(function(){t(".embed-responsive img").each(function(){var v=t(this).attr("src"),y=t(this).attr("data-videotype"),e=t(this).attr("data-videourl"),o=t(this).attr("data-videoautoplay"),r=t(this).attr("data-videocontrol"),p=t(this).attr("data-volume"),c=t(this).attr("id"),f=t(this).attr("data-rel"),u=(t(this).attr("data-autoplaydelay"),t(this).attr("data-loop")),w=t(this).offset().top,b=t(".dynamic-laptop-bg").length,k=n.scrollY,a,l;if(b>0&&(w=t(".dynamic-laptop-bg").offset().top),"true"==o&&k>w-h-200){switch(""!=v&&void 0!=v&&null!=v||t(this).attr("src",s),t(this).siblings(".play-icon").remove(),t(this).parent(".embed-responsive").attr("data-videotype",y),t(this).parent(".embed-responsive").attr("data-id",c),t(this).parent(".embed-responsive").attr("data-volume",p),t(this).parent(".embed-responsive").attr("data-videoautoplay",o),t(this).parent(".embed-responsive").attr("data-rel",f),t(this).parent(".embed-responsive").addClass("isvideo"),o=1,r){case"true":r=1;break;case"false":default:r=0}switch(u){case"true":u=1;break;case"false":default:u=0}switch(f){case"true":f=0;break;case"false":f=1;break;default:f=0}switch(y){case"youtube":a=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;l=e.match(a)[2];0==u&&(l=" ");i="<iframe id="+c+'  width="100%" src="'+e+"?enablejsapi=1&autoplay="+o+"&controls="+r+"&rel="+f+"&playlist="+l+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>';break;case"vimeo":i="<iframe id="+c+' width="100%"  src="'+e+"?api=1&player_id=vmplayer&autoplay="+o+"&controls="+r+"&loop="+u+' " frameborder="0" allow="autoplay" allowfullscreen><\/iframe>';break;case"wistia":1==u&&(u="loop");0==r&&(r=!1,p=0);1==r&&(r=!0);i='<iframe class="wistia_embed" id='+c+' width="100%"  src="'+e+"?autoPlay=true&controlsVisibleOnLoad="+r+"&endVideoBehavior="+u+"&volume="+p+"&playbar="+r+"&smallPlayButton="+r+"&fullscreenButton="+r+"&volumeControl="+r+"&settingsControl="+r+'" frameborder="0" allowfullscreen><\/iframe>';break;default:a=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/;l=e.match(a)[2];0==u&&(l=" ");i="<iframe id="+c+' width="100%" src="'+e+"?enablejsapi=1&autoplay="+o+"&controls="+r+"&rel="+f+"&playlist="+l+"&loop="+u+' " frameborder="0" allowfullscreen allow="autoplay" ><\/iframe>'}t(this).replaceWith(i);INFORMA.Analytics.setupVideoApi(c,y)}})},o)},u=function(){e.length>0&&(f(),r())},{init:u}}(this,jQuery);jQuery(INFORMA.videoFull.init());INFORMA=window.INFORMA||{};INFORMA.videoMini=function(n,t){"use strict";var f,e,o,s,r,c=t(".video-mini-container .video-img"),u=t(".video-mini-container .play-icon"),h=t("#videoMiniModal"),l=t(".video-mini-close"),i=h.find(".modal-body .video-mini-player");return r=function(n){var f=n.attr("data-videotype"),e=n.attr("data-videourl"),u="videomini_"+n.closest(".video-mini-container").index(),r=t('<iframe width="100%" frameborder="0" allow="autoplay" allowfullscreen />');r.attr("id",u);r.attr("src",e);INFORMA.Analytics.makeVideoIframeApiCompatible(r);i.append(r);h.modal("show");INFORMA.Analytics.setupVideoApi(u,f)},o=function(){u.click(function(){r(t(this).parent().find("img"));t(this).parents(".video-mini-container").find(".play-icon").hide()})},e=function(){c.click(function(){r(t(this));u.hide()})},s=function(){l.click(function(){u.show();i.attr("data-volume","");i.attr("data-id","");i.find("iframe").trigger("remove").remove()})},f=function(){e();o();s()},{init:f}}(0,jQuery);jQuery(INFORMA.videoMini.init());INFORMA=window.INFORMA||{};INFORMA.WffmForms=function(n,t){"use strict";var i,r,u,f,e,o,s,h,c,l=t(".form-inline-container.two-col-inlineform");return o=function(){var n=t("#hdnFormData").val();void 0!=n&&(n=t.parseJSON(n),t(".solutionInterest-holder").length>0&&t(".solutionInterest-holder").val(n.Item1),t(".eventname-holder").length>0&&t(".eventname-holder").val(n.Item2.eventname),t(".eventtype-holder").length>0&&t(".eventtype-holder").val(n.Item2.eventtype),t(".externallink-holder").length>0&&t(".externallink-holder").val(n.Item2.externalplatformurl))},i=function(){l.each(function(){var n=t(this).attr("data-background-img");void 0!=n&&""!=n&&t(this).addClass("back-image").css("background-image","url("+n+")")})},r=function(){"undefined"!=typeof Storage&&(localStorage.setItem("rtefieldInCta",""),localStorage.setItem("target",""),localStorage.setItem("redirectUrl",""));t(".wffm-form").length>0&&t(".wffm-form").each(function(){var r=new URLSearchParams(n.location.search),i;r.has("src")&&(i=t(this).find(".src-holder"),i.length&&i.val(r.get("src")))})},u=function(){var n=t(".contactUsPage-contactUs .two-col-inlineform").find(".submit-status[data-status='success']").parents(".tab-pane").attr("id");t('.contactUsPage-contactUs .nav-tabs a[href!="#'+n+'"]').removeClass("active");t('.contactUsPage-contactUs .nav-tabs a[href="#'+n+'"]').tab("show").addClass("active")},f=function(){var r,n;t(".contactUsPage-contactUs .tab-pane .two-col-inlineform").length>0&&(u(),t(".contactUsPage-contactUs .tab-pane .two-col-inlineform").find(".redirect-url-field").val(""));var f=t(".two-col-inlineform .submit-status"),e=t(".two-col-inlineform .error-response"),i=e.parents(".two-col-inlineform").find("form");i.length>0?i.addClass("hide"):i.removeClass("hide");r=t(".two-col-inlineform .submit-response");n=r.find("form");n.length>0?n.addClass("hide"):n.removeClass("hide");f.each(function(){var i=t(this).attr("data-status"),n=t(this).parents(".two-col-inlineform");i.length>0?(n.find("form").addClass("hide"),"success"==i?(n.find(".submit-response").removeClass("hide"),n.find(".error-response").addClass("hide")):(n.find(".error-response").removeClass("hide"),n.find(".submit-response").addClass("hide"))):(n.find("form").removeClass("hide"),n.find(".submit-response, .error-response").addClass("hide"))})},e=function(){t("body").on("click",".check-gating-status",function(){var i=this;INFORMA.DataLoader.GetServiceData("/client/ajax/CheckGatingStatus",{method:"Post",data:null,success_callback:function(r){r.ShowForm?(t(i).addClass("gated-content"),"undefined"!=typeof Storage&&localStorage.setItem("rtefieldInCta",t(i).attr("data-rte-cta")),INFORMA.forms._showWffmFormPopupModal(i)):r.ShowForm||r.Check?(t(this).parents(".rich-text-read-more").removeClass("rich-text-read-more"),void 0!=t(i).attr("data-url")&&t(i).attr("data-url").length>0&&(n.location.href=t(i).attr("data-url"))):(t(i).addClass("show-content-first-time"),t(i).attr("data-firstcontent",!0),t(this).parents(".rich-text-read-more").removeClass("rich-text-read-more"),void 0!=t(i).attr("data-url")&&t(i).attr("data-url").length>0&&(n.location.href=t(i).attr("data-url")))},error_callback:function(){}})})},s=function(){var n=t("form.wffm-form");n.length>0&&t.each(n,function(){var n=t(this).find(".form-submit-border");n.addClass("disabled");t(this).on("change","input, textarea, select",function(){n.removeClass("disabled")})})},h=function(){var n=t(".registration-form-single-section .two-col-inlineform");n.length>0&&n.each(function(){t(this).closest(".registration-form-single-section").find(".isNewForm").removeAttr("class")})},c=function(){i();r();f();e();s();o();h()},{init:c}}(this,$INFORMA=jQuery.noConflict());jQuery(INFORMA.WffmForms.init());INFORMA=window.INFORMA||{};INFORMA.worldchart=function(n,t){"use strict";var f,e,i,o,u,s,h,c,l=(INFORMA.Configs.urls.webservices,t(".world-chart-background").data("source"),t(".world-chart-background").data("chart-type"),t(".move-image-container")),v=t(".move-image-container a"),r=0,y=[{latitude:59.334591,longitude:18.06324},{latitude:52.237049,longitude:21.017532},{latitude:48.210033,longitude:16.363449},{latitude:41.902782,longitude:12.496366},{latitude:48.864716,longitude:2.349014},{latitude:53.35014,longitude:-6.266155}],a=[{title:"Austria",id:"AT",color:"#233e90"},{title:"Ireland",id:"IE",color:"#233e90"},{title:"Finland",id:"FI",color:"#233e90"},{title:"Sweden",id:"SE",color:"#233e90"},{title:"Italy",id:"IT",color:"#233e90"},{title:"France",id:"FR",color:"#233e90"},{title:"Spain",id:"ES",color:"#233e90"},{title:"Greece",id:"GR",color:"#233e90"},{title:"Germany",id:"DE",color:"#233e90"},{title:"Belgium",id:"BE",color:"#233e90"},{title:"Netherlands",id:"NL",color:"#233e90"},{title:"Portugal",id:"PT",color:"#233e90"},{title:"Lithuania",id:"LT",color:"#233e90"},{title:"Latvia",id:"LV",color:"#233e90"},{title:"Czech Republic ",id:"CZ",color:"#233e90"},{title:"Slovakia",id:"SK",color:"#233e90"},{title:"Slovenia",id:"SI",color:"#233e90"},{title:"Estonia",id:"EE",color:"#233e90"},{title:"Hungary",id:"HU",color:"#233e90"},{title:"Poland",id:"PL",color:"#233e90"},{title:"Romania",id:"RO",color:"#233e90"},{title:"Bulgaria",id:"BG",color:"#233e90"},{title:"Croatia",id:"HR",color:"#233e90"},{title:"switzerland",id:"SW",color:"#233e90"}];return e=function(){t(".world-chart-background").length>0&&t(".inf-world-chart-section").length>0&&(i=JSON.parse(t(".world-chart-background").find("input[type=hidden]").val()),t(".inf-world-chart-section p").append(i.Heading),o())},o=function(){function h(){var n=[];return t.each(y,function(t,i){n.push(c(i.latitude,i.longitude))}),n}function c(n,t){return{latitude:n,longitude:t,imageURL:"../../Static/images/star.svg",width:r().Width,height:r().Height,balloonText:!1}}function e(n,t){if(void 0!==n.length)for(var i=0;i<n.length;i++)e(n[i],t);else t.push(n)}function r(){var t={Width:16,Height:16,balloonHorizontalPadding:60,balloonMaxwidth:320,Zoom:1,dragMap:!1},i=n.screen.width;return i>=320&&i<767?(t.Width=8,t.Height=8,t.balloonHorizontalPadding=20,t.balloonMaxwidth=140,t.Zoom=1,t.dragMap=!0,t):t}var o=[],l=i.FacetList[0].SectionList,s=[],f;(t.each(l,function(n,t){t.width=35;t.height=35;t.scale=1;t.imageURL="../../Static/images/circle.gif";s.push(t)}),!0===i.IsdisplayEurozone)?f=h():(f=[],a=[]);f.push(s);e(f,o);u=AmCharts.makeChart("inf-world-chart-wrapper",{type:"map",hideCredits:"true",zoomOnDoubleClick:!1,dragMap:r().dragMap,projection:"miller",dataProvider:{map:"worldLow",getAreasFromMap:!1,zoomLevel:r().Zoom,areas:a,images:o},responsive:{enabled:!0},zoomControl:{homeButtonEnabled:!1,zoomControlEnabled:!1,panControlEnabled:!1},areasSettings:{autoZoom:!1,outlineThickness:"0.1",adjustOutlineThickness:!0,unlistedAreasColor:"#d9d7e3",balloonText:!1},imagesSettings:{balloonText:"<span class='tooltip-text'>[[title]] [[value]]<\/span>"},balloon:{adjustBorderColor:!0,animationDuration:2,borderAlpha:0,borderColor:"",borderThickness:0,cornerRadius:6,fillColor:"#ab3192",fillAlpha:"1",fixedPosition:!0,horizontalPadding:r().balloonHorizontalPadding,maxWidth:r().balloonMaxwidth,pointerWidth:0,shadowAlpha:0,textAlign:"middle",verticalPadding:10},listeners:[{event:"descriptionClosed",method:function(n){n.chart.selectObject()}}]})},s=function(){t(".chart-expand").click(function(){t(this).hasClass("zoom-out")?(t(this).removeClass("zoom-out zoom-in"),t(this).addClass("zoom-in"),u.zoomOut(),l.hide(),t(".amcharts-main-div").css({"margin-left":"0px"})):(t(this).removeClass("zoom-in zoom-out"),t(this).addClass("zoom-out"),u.zoomIn(),l.show())})},h=function(){v.click(function(){var n=t(this).attr("class");"move-left"==n&&(r+=50,t(".amcharts-main-div").animate({marginLeft:r+"px"}));"move-right"==n&&(r-=50,t(".amcharts-main-div").animate({marginLeft:r+"px"}))})},c=function(){t(".world-chart-read-more").click(function(){var n=t(this).data("ga-category"),i=t(this).data("ga-action"),r=t(this).data("ga-label"),u=t(this).data("ga-value");INFORMA.Analytics.trackEvents(n,i,r,u)})},f=function(){e();s();h();c()},{init:f}}(this,jQuery);jQuery(INFORMA.worldchart.init())