!function(){function l(o,t,e){void 0===e&&(e=t,optionsValues=void 0);var p=void 0!==o?o:t;if(void 0===p)return null;if("function"!=typeof p)return p;var r=[e];return e.geography&&(r=[e.geography,e.data]),p.apply(null,r)}function t(o,t,e){if(t=t||{},this.options.fills){var p="
",r="";for(var i in t.legendTitle&&(p="

"+t.legendTitle+"

"+p),this.options.fills){if("defaultFill"===i){if(!t.defaultFillName)continue;r=t.defaultFillName}else r=t.labels&&t.labels[i]?t.labels[i]:i+": ";p+="
"+r+"
",p+='
 
'}p+="
",d.select(this.options.element).append("div").attr("class","datamaps-legend").html(p)}}function e(o,t){var e=d.geo.graticule();this.svg.insert("path",".datamaps-subunits").datum(e).attr("class","datamaps-graticule").attr("d",this.path)}function p(o,t,a){var n=this,s=this.svg;if(!t||t&&!t.slice)throw"Datamaps Error - arcs must be an array";for(var e=0;e'+o.properties.name+""},popupOnHover:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightBorderOpacity:1},projectionConfig:{rotation:[97,0]},bubblesConfig:{borderWidth:2,borderOpacity:1,borderColor:"#FFFFFF",popupOnHover:!0,radius:null,popupTemplate:function(o,t){return'
'+t.name+"
"},fillOpacity:.75,animate:!0,highlightOnHover:!0,highlightFillColor:"#FC8D59",highlightBorderColor:"rgba(250, 15, 160, 0.2)",highlightBorderWidth:2,highlightBorderOpacity:1,highlightFillOpacity:.85,exitDelay:100,key:JSON.stringify},arcConfig:{strokeColor:"#DD1C77",strokeWidth:1,arcSharpness:1,animationSpeed:600,popupOnHover:!1,popupTemplate:function(o,t){return t.origin&&t.destination&&t.origin.latitude&&t.origin.longitude&&t.destination.latitude&&t.destination.longitude?'
Arc
Origin: '+JSON.stringify(t.origin)+"
Destination: "+JSON.stringify(t.destination)+"
":t.origin&&t.destination?'
Arc
'+t.origin+" -> "+t.destination+"
":""}}};s.prototype.resize=function(){var o,t,e=this.options;e.responsive&&(o=e.element.clientWidth,t=d.select(e.element).select("svg").attr("data-width"),d.select(e.element).select("svg").selectAll("g").attr("transform","scale("+o/t+")"))},s.prototype.draw=function(){function e(o){p.options.dataUrl&&d[p.options.dataType](p.options.dataUrl,function(o){if("csv"===p.options.dataType&&o&&o.slice){for(var t={},e=0;e