b&&(f="right")}else{var E=window.innerWidth||document.body.clientWidth,A=E-(g+n+2*l.left);_>A&&(f="left")}if("top"===h){var S=m+r+l.top-15;v>S&&(h="bottom")}else{var T=window.innerHeight||document.body.clientHeight,M=T-(m+r+l.top+v+15);v>M&&(h="top")}}catch(L){console.error(L)}r+="top"===h?-c:c;var C="left"===f?s+l.right-n-a+"px":null,O="right"===f?n+l.left+a+"px":null,w="bottom"===h?r+l.top+10+i+"px":null,D="top"===h?u-r+l.bottom+15-i+"px":null;e.style({right:C,left:O,bottom:D,top:w}).classed({"right-top":"right"===f&&"top"===h,"right-bottom":"right"===f&&"bottom"===h,"left-top":"left"===f&&"top"===h,"left-bottom":"left"===f&&"bottom"===h})}function y(t,e,n){var r=e.select(".no-data");if(r.style("display",t?"none":"block"),!t){var o=n.isMiniOrSpark,a=(n.miniChartNoDataLabel,n.noDataLabel),i=n.noDataLabelShort;r.html(o?e[0][0].offsetWidth>150?i:"":a)}}function v(t){return P["default"].cloneDeep(t).map(function(t){return(0,M["default"])({},t,{values:t.values.map(function(t){return(0,M["default"])({},t,{value:parseFloat(t.value)})})})})}function _(t){var e=t.location.color,n=e===I.CHART_DEFAULT_COLOR?I.CHART_COLORS[0]:e;return(0,M["default"])({},I.CHART_LABEL_COLORS[n],{color:n})}function b(t,e,n){var r=e.intl,o=e.yTickValues||c(e,n),a=(0,R.getFormatPrefix)(P["default"].last(o)),i=a.symbol,s=r?(0,R.translateUnitLabel)(i,r):P["default"].get(I.UNITS[i],"name");C["default"].select(t).select(".y .axis-label").text(e.hasData?(s?s:"")+" "+(e.yUnit||""):"")}function E(t,e,n){var r=e.intl,o=e.xTickValues||d(e,n),a=(0,R.getFormatPrefix)(P["default"].last(o)),i=a.symbol,s=r?(0,R.translateUnitLabel)(i,r):P["default"].get(I.UNITS[i],"name"),u=C["default"].select(t).select(".x .axis-label");u.text(e.hasData?(s?s:"")+" "+(e.yUnit||""):""),u.attr("text-anchor","middle").attr("transform","translate("+t.offsetWidth/2+", "+(t.offsetHeight-10)+")")}Object.defineProperty(e,"__esModule",{value:!0});var A=n(63),S=r(A),T=n(11),M=r(T);e.distance=o,e.formatAxisTick=a,e.getDashArray=i,e.getDataWithAdaptedResolution=s,e.getNoDataLabel=u,e.getYTickValues=c,e.getXTickValues=d,e.isAdjoiningTimeVal=p,e.isZeroTick=f,e.moveToFront=h,e.moveToBack=g,e.setTooltipPosition=m,e.toggleNoDataLabel=y,e.transformChartData=v,e.getLineChartColor=_,e.updateYAxisLabel=b,e.updateXAxisLabel=E;var L=n(51),C=r(L),O=n(164),w=r(O),D=n(3),P=r(D),x=(n(484),n(2)),I=(r(x),n(9)),R=n(141)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o,a,i=n(7),s=r(i),u=n(4),l=r(u),c=n(8),d=r(c),p=n(6),f=r(p),h=n(5),g=r(h),m=n(2),y=r(m),v=n(116),_=27,b=(a=o=function(t){function e(){(0,l["default"])(this,e);var t=(0,f["default"])(this,(0,s["default"])(e).call(this));return t.keyDownHandle=t.keyDownHandle.bind(t),t.clickHandle=t.clickHandle.bind(t),t}return(0,g["default"])(e,t),(0,d["default"])(e,[{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.keyDownHandle),document.addEventListener("click",this.clickHandle)}},{key:"componentWillUnmount",value:function(){document&&document.removeEventListener("keydown",this.keyDownHandle),document&&document.removeEventListener("click",this.clickHandle)}},{key:"controlModalOpen",value:function(t){t?(0,v.closeModal)():(0,v.openModal)()}},{key:"keyDownHandle",value:function(t){var e=this.props,n=e.isOpen,r=e.onToggleOpen;n&&t.keyCode===_&&((0,v.closeModal)(),r())}},{key:"clickHandle",value:function(t){var e=this.props,n=e.isOpen,r=e.onToggleOpen;n&&!this.refs.popupBox.contains(t.target)&&r()}},{key:"onModalClose",value:function(){var t=this.props.onToggleOpen;(0,v.closeModal)(),t()}},{key:"render",value:function(){var t=this.props,e=t.isOpen,n=t.title,r=t.className,o=t.haveModalOpen;return this.controlModalOpen(!o),e?y["default"].createElement("div",{className:"share "+(e?"":"hide")+" "+r,id:"modal"},y["default"].createElement("div",{className:"modalScroller"},y["default"].createElement("div",{className:"modalContainer"},y["default"].createElement("div",{className:"modalBox",ref:"popupBox"},y["default"].createElement("header",{className:"header"},y["default"].createElement("button",{className:"close",onClick:this.onModalClose.bind(this)}),y["default"].createElement("h2",null,n)),this.props.children)))):y["default"].createElement("span",null)}}]),e}(m.Component),o.propTypes={children:m.PropTypes.oneOfType([m.PropTypes.object,m.PropTypes.array]),className:m.PropTypes.string,haveModalOpen:m.PropTypes.bool,isOpen:m.PropTypes.bool,onToggleOpen:m.PropTypes.func,title:m.PropTypes.string},a);e["default"]=b,t.exports=e["default"]},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return{start:s(t[0]),end:s(t[1])}}function a(t){var e=new Date(t||new Date);return e.getMonth()<6?e.getFullYear()-1:e.getFullYear()}function i(t,e){var n=e+"";return l["default"].get(l["default"].find(t,function(t){return t.date+""===n}),"value")}function s(t){return new Date(Date.UTC(parseInt(t,10),0,2,0,0,0))}Object.defineProperty(e,"__esModule",{value:!0}),e.domainToRange=o,e.getFiscalYear=a,e.getValueByYear=i,e.yearToDate=s;var u=n(3),l=r(u)},function(t,e,n){var r=n(50),o=n(33),a=n(123);t.exports=function(t){return function(e,n,i){var s,u=r(e),l=o(u.length),c=a(i,l);if(t&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},function(t,e,n){"use strict";var r=n(20),o=n(1),a=n(48),i=n(149),s=n(101),u=n(172),l=n(119),c=n(21),d=n(16),p=n(207),f=n(151),h=n(250);t.exports=function(t,e,n,g,m,y){var v=r[t],_=v,b=m?"set":"add",E=_&&_.prototype,A={},S=function(t){var e=E[t];a(E,t,"delete"==t?function(t){return!(y&&!c(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!c(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!c(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(y||E.forEach&&!d(function(){(new _).entries().next()}))){var T=new _,M=T[b](y?{}:-0,1)!=T,L=d(function(){T.has(1)}),C=p(function(t){new _(t)}),O=!y&&d(function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)});C||(_=e(function(e,n){l(e,_,t);var r=h(new v,e,_);return void 0!=n&&u(n,m,r[b],r),r}),_.prototype=E,E.constructor=_),(L||O)&&(S("delete"),S("has"),m&&S("get")),(O||M)&&S(b),y&&E.clear&&delete E.clear}else _=g.getConstructor(e,t,m,b),i(_.prototype,n),s.NEED=!0;return f(_,t),A[t]=_,o(o.G+o.W+o.F*(_!=v),A),y||g.setStrong(_,t,m),_}},function(t,e,n){"use strict";var r=n(47),o=n(48),a=n(16),i=n(61),s=n(22);t.exports=function(t,e,n){var u=s(t),l=n(i,u,""[t]),c=l[0],d=l[1];a(function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,c),r(RegExp.prototype,u,2==e?function(t,e){return d.call(t,this,e)}:function(t){return d.call(t,this)}))}},function(t,e,n){"use strict";var r=n(14);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(21),o=n(74),a=n(22)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(22)("iterator"),o=!1;try{var a=[7][r]();a["return"]=function(){o=!0},Array.from(a,function(){throw 2})}catch(i){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},t(a)}catch(s){}return n}},function(t,e,n){t.exports=n(147)||!n(16)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(20)[t]})},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(21),o=n(14),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(89)(Function.call,n(55).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},function(t,e,n){var r=n(20),o="__core-js_shared__",a=r[o]||(r[o]={});t.exports=function(t){return a[t]||(a[t]={})}},function(t,e,n){for(var r,o=n(20),a=n(47),i=n(124),s=i("typed_array"),u=i("view"),l=!(!o.ArrayBuffer||!o.DataView),c=l,d=0,p=9,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");dm;m++)e?g(i(p=t[m])[0],p[1]):g(t[m]);else for(f=h.call(t);!(p=f.next()).done;)o(f,g,p.value,e)}},function(t,e,n){var r=n(78),o=n(797),a=n(276),i=n(283)("IE_PROTO"),s=function(){},u="prototype",l=function(){var t,e=n(275)("iframe"),r=a.length,o=">";for(e.style.display="none",n(419).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},,,,,,,,,function(t,e,n){"use strict";var r=n(189),o=n(163),a=n(85);t.exports={_loadTileJSON:function(t){"string"==typeof t?(t=o.tileJSON(t,this.options&&this.options.accessToken),r(t,L.bind(function(e,n){e?(a.log("could not load TileJSON at "+t),this.fire("error",{error:e})):n&&(this._setTileJSON(n),this.fire("ready"))},this))):t&&"object"==typeof t&&this._setTileJSON(t)}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t){var e=[],n=0;return this.forEach(function(r){0!==r.position.start&&e.push(p["default"].createElement("span",null,t.slice(n,r.position.start))),e.push(p["default"].createElement("a",{href:r.getAnchorHref()},r.getAnchorText())),n=r.position.end}),nt){var o=r.props.children.slice(0,-(n-t));return e.push(p["default"].cloneElement(r,{},o)),!0}e.push(r)}),e}function u(){return this.map(function(t,e){return p["default"].cloneElement(t,{key:e})})}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n1?r-1:0),a=1;a]/;t.exports=r},function(t,e,n){"use strict";var r,o=n(44),a=n(349),i=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(360),l=u(function(t,e){if(t.namespaceURI!==a.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML=""+e+" ";for(var n=r.firstChild.childNodes,o=0;o0){var p=(0,_["default"])(o[0].values).filter("isForecast").map(function(t){return _["default"].parseInt(t.date)}).min();if(p){var f=p,h=l.x[1];h>f&&d.push({start:f,end:h,fill:"#ffe6e6"})}}var m={backgroundLayers:d,getTooltipHTML:function(t,e){var n=t.date,r=t.value;return"\n "+n+"
\n "+(0,E.valueWithUnitName)(r,void 0,e.intl)+"
\n "},hideSpinner:!0,miniChartMargin:{left:7,right:5,top:20,bottom:20},sortBarsBy:function(t,e){return e},useCustomDomain:!0};return{data:o,domain:l,legend:c,options:(0,g["default"])({},m,u(t,e,r))}}}function a(t,e,n,r){var o=t.data;t.label,t.es;switch(e){
+case"climate":return[{highlighted:!0,id:n.id,location:n,values:_["default"].map(o,function(t,e){return{date:e,value:t}})}];case"finances":return _["default"].isArray(o)?(0,_["default"])(o).map(function(t){return(0,O.getLocalized)(t,r)}).map(function(t,e){return{highlighted:!0,id:t.name,location:{color:S.CHART_COLORS[e%o.length],id:t.name,value:t.name},values:[{date:(new Date).getFullYear(),value:t.value}]}}).sortBy(function(t){return w.indexOf(t.id.toLowerCase().trim())}).value():(0,_["default"])(o).map(function(t,e){return{highlighted:!0,id:e,location:n,values:[{date:e,value:t}]}}).sortBy("id").value();case"projects":return(0,_["default"])(o).map(function(t,e){return{highlighted:!0,id:e,location:n,values:[{date:e,value:t}]}}).sortBy("id").value();case"prospects":var a=function(){var t=n.id,e=n.incomeLevel,r=n.region,a=[],i=_["default"].get(o,t);if(!_["default"].isEmpty(i)){a.push({highlighted:!0,id:t,location:n,values:i.map(function(t){return{date:t.date,isForecast:"F"===(t.obs_status||"").toUpperCase(),value:t.value}})});var s=[e,r];s.filter(function(t){return _["default"].get(t,"id")&&_["default"].get(o,t.id)}).forEach(function(t){a.push({id:t.id,location:t,values:o[t.id].map(function(t){var e=t.date,n=t.value;return{date:e,value:n}})})})}return{v:a}}();if("object"===("undefined"==typeof a?"undefined":(0,f["default"])(a)))return a.v;default:return[]}}function i(t,e){switch(e){case"climate":case"prospects":var n=(0,_["default"])(t).flatMap("values").map(function(t){return _["default"].parseInt(t.date)}).value();return{x:(0,y.extent)(n)};case"projects":var r=(0,y.extent)(t,function(t){return t.id}).map(_["default"].parseInt),o=(0,d["default"])(r,2),a=o[0],i=o[1];return{x:_["default"].range(a,Math.max(i+1,(0,T.getFiscalYear)()))};case"finances":return{x:_["default"].map(t,"id")};default:return{start:(0,T.yearToDate)(S.DEFAULT_RANGE.start),end:(0,T.yearToDate)(S.DEFAULT_RANGE.end)}}}function s(t,e,n,r,o){return r.category===S.CATEGORY_TOPIC&&t.label?[{color:r.color,id:t.label}]:"finances"===n?e.map(function(t){return{color:t.location.color,id:t.id}}):"prospects"===n?e.map(function(t){return t.location}):void 0}function u(t,e,n){switch(e){case"climate":return{getTooltipHTML:function(t,e){var r=t.date,o=t.value;return"\n "+l(r,n)+"
\n "+(0,E.valueWithUnitName)(o,void 0,e.intl)+"
\n "},miniChartMargin:{left:7,right:5,top:20,bottom:30},xTickFormat:function(t){return l(t,n).substr(0,3)}};case"finances":return{chartType:A.BAR_CHART,getTooltipHTML:A.COMMON_PROPS.getTooltipHTML};case"projects":return{chartType:A.BAR_CHART};case"prospects":return{getTooltipHTML:A.COMMON_PROPS.getTooltipHTML,miniChartMargin:{left:7,right:5,top:20,bottom:30}};default:return{}}}function l(t,e){var n=new Date(2010,parseInt(t),1);return Intl.DateTimeFormat(e,{month:"short"}).format(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.hasSubnationalSelector=e.locationDetailsDataSelector=e.locationDetailsTargetSelector=void 0;var c=n(63),d=r(c),p=n(57),f=r(p),h=n(11),g=r(h),m=n(69),y=n(51),v=n(3),_=r(v),b=n(41),E=(r(b),n(141)),A=n(114),S=n(9),T=n(200),M=n(42),L=n(18),C=n(15),O=n(100),w=S.LOCATION_DETAILS_FINANCE_LABELS.map(function(t){return t.toLowerCase().trim()}),D=e.locationDetailsTargetSelector=(0,m.createSelector)([L.selectedTopicSelector,L.selectedIndicatorSelector,L.selectedLocationsSelector,M.locationMetaSelector,C.localeSelector],function(t,e,n,r,o){if(!e){var a=1===n.length?n[0]:void 0,i=(0,O.getLocalized)(r[a],o),s=i&&i.locationType===S.LOCATION_TYPE_COUNTRY;if(!t&&s){var u={category:S.CATEGORY_LOCATION,color:S.CHART_COLORS[0],id:a,key:a,value:i.name},l=i.adminregion||i.region,c=(0,O.getLocalized)(r[l],o);u.region=c?{color:S.CHART_DEFAULT_COLOR,id:l,value:c.name}:void 0;var d=i.incomelevel,p=(0,O.getLocalized)(r[d],o);return u.incomeLevel=p?{color:S.CHART_DEFAULT_COLOR,id:d,value:p.name}:void 0,u}if(t)return(0,g["default"])({},t,{category:S.CATEGORY_TOPIC,color:S.CHART_COLORS[0],key:s?t.id+"-"+a:t.id,value:t.name})}});e.locationDetailsDataSelector=(0,m.createSelector)([M.extraDataSelector,D,C.localeSelector],function(t,e,n){return _["default"].isEmpty(e)?{}:(0,_["default"])(S.EXTRA_DATA_CATEGORIES[e.category]).map(function(r){var a=_["default"].get(t,[r,e.key])||[];if("subnational"===r)return[r,a];var i=a.map(function(t){return(0,O.getLocalized)(t,n)});return[r,i.map(function(t){return(0,g["default"])({},t,{chart:o(t,r,e,n)})}).filter(function(t){return!_["default"].isEmpty(t.data)||"finances"===r&&!t.data})]}).fromPairs().value()}),e.hasSubnationalSelector=(0,m.createSelector)([M.extraDataSelector,L.selectedLocationsSelector],function(t,e){return 1===e.length&&!!t.subnational&&!!t.subnational[e[0]]&&t.subnational[e[0]].has_data})},,function(t,e,n){"use strict";var r=n(37),o=n(123),a=n(33);t.exports=function(t){for(var e=r(this),n=a(e.length),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),u=i>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(28),o=n(102);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(21),o=n(20).document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(22)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(o){}}return!0}},function(t,e,n){t.exports=n(20).document&&document.documentElement},function(t,e,n){var r=n(21),o=n(210).set;t.exports=function(t,e,n){var a,i=e.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(t,a),t}},function(t,e,n){var r=n(120),o=n(22)("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){var r=n(74);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(21),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e,n){"use strict";var r=n(121),o=n(102),a=n(151),i={};n(47)(i,n(22)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(i,{next:o(1,n)}),a(t,e+" Iterator")}},function(t,e,n){"use strict";var r=n(147),o=n(1),a=n(48),i=n(47),s=n(38),u=n(120),l=n(254),c=n(151),d=n(56),p=n(22)("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",g="keys",m="values",y=function(){return this};t.exports=function(t,e,n,v,_,b,E){l(n,e,v);var A,S,T,M=function(t){if(!f&&t in w)return w[t];switch(t){case g:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},L=e+" Iterator",C=_==m,O=!1,w=t.prototype,D=w[p]||w[h]||_&&w[_],P=D||M(_),x=_?C?M("entries"):P:void 0,I="Array"==e?w.entries||D:D;if(I&&(T=d(I.call(new t)),T!==Object.prototype&&(c(T,L,!0),r||s(T,p)||i(T,p,y))),C&&D&&D.name!==m&&(O=!0,P=function(){return D.call(this)}),r&&!E||!f&&!O&&w[p]||i(w,p,P),u[e]=P,u[L]=y,_)if(A={values:C?P:M(m),keys:b?P:M(g),entries:x},E)for(S in A)S in w||a(w,S,A[S]);else o(o.P+o.F*(f||O),e,A);return A}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var r=n(211)("keys"),o=n(124);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(14),o=n(60),a=n(22)("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||void 0==(n=r(i)[a])?e:o(n)}},function(t,e,n){var r=n(103),o=n(61);t.exports=function(t){return function(e,n){var a,i,s=String(o(e)),u=r(n),l=s.length;return u<0||u>=l?t?"":void 0:(a=s.charCodeAt(u),a<55296||a>56319||u+1===l||(i=s.charCodeAt(u+1))<56320||i>57343?t?s.charAt(u):a:t?s.slice(u,u+2):(a-55296<<10)+(i-56320)+65536)}}},function(t,e,n){var r=n(206),o=n(61);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){"use strict";var r=n(103),o=n(61);t.exports=function(t){var e=String(o(this)),n="",a=r(t);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},function(t,e){t.exports="\t\n\x0B\f\r \u2028\u2029\ufeff"},function(t,e,n){var r,o,a,i=n(89),s=n(205),u=n(249),l=n(246),c=n(20),d=c.process,p=c.setImmediate,f=c.clearImmediate,h=c.MessageChannel,g=0,m={},y="onreadystatechange",v=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){v.call(t.data)};p&&f||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},f=function(t){delete m[t]},"process"==n(74)(d)?r=function(t){d.nextTick(i(v,t,1))}:h?(o=new h,a=o.port2,o.port1.onmessage=_,r=i(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",_,!1)):r=y in l("script")?function(t){u.appendChild(l("script"))[y]=function(){u.removeChild(this),v.call(t)}}:function(t){setTimeout(i(v,t,1),0)}),t.exports={set:p,clear:f}},function(t,e,n){"use strict";var r=n(20),o=n(27),a=n(147),i=n(212),s=n(47),u=n(149),l=n(16),c=n(119),d=n(103),p=n(33),f=n(122).f,h=n(28).f,g=n(244),m=n(151),y="ArrayBuffer",v="DataView",_="prototype",b="Wrong length!",E="Wrong index!",A=r[y],S=r[v],T=r.Math,M=(r.parseInt,r.RangeError),L=r.Infinity,C=A,O=T.abs,w=T.pow,D=(T.min,T.floor),P=T.log,x=T.LN2,I="buffer",R="byteLength",k="byteOffset",N=o?"_b":I,B=o?"_l":R,U=o?"_o":k,j=function(t,e,n){var r,o,a,i=Array(n),s=8*n-e-1,u=(1<>1,c=23===e?w(2,-24)-w(2,-77):0,d=0,p=t<0||0===t&&1/t<0?1:0;for(t=O(t),t!=t||t===L?(o=t!=t?1:0,r=u):(r=D(P(t)/x),t*(a=w(2,-r))<1&&(r--,a*=2),t+=r+l>=1?c/a:c*w(2,1-l),t*a>=2&&(r++,a/=2),r+l>=u?(o=0,r=u):r+l>=1?(o=(t*a-1)*w(2,e),r+=l):(o=t*w(2,l-1)*w(2,e),r=0));e>=8;i[d++]=255&o,o/=256,e-=8);for(r=r<0;i[d++]=255&r,r/=256,s-=8);return i[--d]|=128*p,i},F=function(t,e,n){var r,o=8*n-e-1,a=(1<>1,s=o-7,u=n-1,l=t[u--],c=127&l;for(l>>=7;s>0;c=256*c+t[u],u--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=e;s>0;r=256*r+t[u],u--,s-=8);if(0===c)c=1-i;else{if(c===a)return r?NaN:l?-L:L;r+=w(2,e),c-=i}return(l?-1:1)*r*w(2,c-e)},H=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},W=function(t){return[255&t]},z=function(t){return[255&t,t>>8&255]},q=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},G=function(t){return j(t,52,8)},V=function(t){return j(t,23,4)},K=function(t,e,n){h(t[_],e,{get:function(){return this[n]}})},J=function(t,e,n,r){var o=+n,a=d(o);if(o!=a||a<0||a+e>t[B])throw M(E);var i=t[N]._b,s=a+t[U],u=i.slice(s,s+e);return r?u:u.reverse()},Y=function(t,e,n,r,o,a){var i=+n,s=d(i);if(i!=s||s<0||s+e>t[B])throw M(E);for(var u=t[N]._b,l=s+t[U],c=r(+o),p=0;ptt;)(X=$[tt++])in A||s(A,X,C[X]);a||(Q.constructor=A)}var et=new S(new A(2)),nt=S[_].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||u(S[_],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else A=function(t){var e=Z(this,t);this._b=g.call(Array(e),0),this[B]=e},S=function(t,e,n){c(this,S,v),c(t,A,v);var r=t[B],o=d(e);if(o<0||o>r)throw M("Wrong offset!");if(n=void 0===n?r-o:p(n),o+n>r)throw M(b);this[N]=t,this[U]=o,this[B]=n},o&&(K(A,R,"_l"),K(S,I,"_b"),K(S,R,"_l"),K(S,k,"_o")),u(S[_],{getInt8:function(t){return J(this,1,t)[0]<<24>>24},getUint8:function(t){return J(this,1,t)[0]},getInt16:function(t){var e=J(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=J(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return H(J(this,4,t,arguments[1]))},getUint32:function(t){return H(J(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(J(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(J(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Y(this,1,t,W,e)},setUint8:function(t,e){Y(this,1,t,W,e)},setInt16:function(t,e){Y(this,2,t,z,e,arguments[2])},setUint16:function(t,e){Y(this,2,t,z,e,arguments[2])},setInt32:function(t,e){Y(this,4,t,q,e,arguments[2])},setUint32:function(t,e){Y(this,4,t,q,e,arguments[2])},setFloat32:function(t,e){Y(this,4,t,V,e,arguments[2])},setFloat64:function(t,e){Y(this,8,t,G,e,arguments[2])}});m(A,y),m(S,v),s(S[_],i.VIEW,!0),e[y]=A,e[v]=S},function(t,e,n){var r=n(146),o=n(22)("iterator"),a=n(120);t.exports=n(88).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e,n){"use strict";var r=n(145),o=n(400),a=n(120),i=n(50);t.exports=n(255)(Array,"Array",function(t,e){this._t=i(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(t,e,n){t.exports={"default":n(764),__esModule:!0}},function(t,e,n){t.exports={"default":n(770),__esModule:!0}},function(t,e,n){t.exports={"default":n(772),__esModule:!0}},function(t,e,n){t.exports={"default":n(776),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var o=n(416),a=r(o);e["default"]=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e0?r:n)(t)}},function(t,e,n){var r=n(93);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(213),o=n(40)("iterator"),a=n(153);t.exports=n(25).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||a[r(t)]}},function(t,e){},function(t,e,n){(function(t,r){"use strict";function o(){function t(){}try{var e=new Uint8Array(1);return e.foo=function(){return 42},e.constructor=t,42===e.foo()&&e.constructor===t&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(n){return!1}}function a(){return t.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function t(e){return this instanceof t?(t.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof e?i(this,e):"string"==typeof e?s(this,e,arguments.length>1?arguments[1]:"utf8"):u(this,e)):arguments.length>1?new t(e,arguments[1]):new t(e)}function i(e,n){if(e=g(e,n<0?0:0|m(n)),!t.TYPED_ARRAY_SUPPORT)for(var r=0;r>>1;return r&&(e.parent=X),e}function m(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function y(e,n){if(!(this instanceof y))return new y(e,n);var r=new t(e,n);return delete r.parent,r}function v(t,e){"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"binary":case"raw":case"raws":return n;case"utf8":case"utf-8":return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function _(t,e,n){var r=!1;if(e=0|e,n=void 0===n||n===1/0?this.length:0|n,t||(t="utf8"),e<0&&(e=0),n>this.length&&(n=this.length),n<=e)return"";for(;;)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return C(this,e,n);case"ascii":return w(this,e,n);case"binary":return D(this,e,n);case"base64":return L(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function b(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var a=e.length;if(a%2!==0)throw new Error("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;i239?4:a>223?3:a>191?2:1;if(o+s<=n){var u,l,c,d;switch(s){case 1:a<128&&(i=a);break;case 2:u=t[o+1],128===(192&u)&&(d=(31&a)<<6|63&u,d>127&&(i=d));break;case 3:u=t[o+1],l=t[o+2],128===(192&u)&&128===(192&l)&&(d=(15&a)<<12|(63&u)<<6|63&l,d>2047&&(d<55296||d>57343)&&(i=d));break;case 4:u=t[o+1],l=t[o+2],c=t[o+3],128===(192&u)&&128===(192&l)&&128===(192&c)&&(d=(15&a)<<18|(63&u)<<12|(63&l)<<6|63&c,d>65535&&d<1114112&&(i=d))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=s}return O(r)}function O(t){var e=t.length;if(e<=Q)return String.fromCharCode.apply(String,t);for(var n="",r=0;rr)&&(n=r);for(var o="",a=e;an)throw new RangeError("Trying to access beyond buffer length")}function R(e,n,r,o,a,i){if(!t.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(n>a||ne.length)throw new RangeError("index out of range")}function k(t,e,n,r){e<0&&(e=65535+e+1);for(var o=0,a=Math.min(t.length-n,2);o>>8*(r?o:1-o)}function N(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,a=Math.min(t.length-n,4);o >>8*(r?o:3-o)&255}function B(t,e,n,r,o,a){if(e>o||e t.length)throw new RangeError("index out of range");if(n<0)throw new RangeError("index out of range")}function U(t,e,n,r,o){return o||B(t,e,n,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(t,e,n,r,23,4),n+4}function j(t,e,n,r,o){return o||B(t,e,n,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(t,e,n,r,52,8),n+8}function F(t){if(t=H(t).replace(tt,""),t.length<2)return"";for(;t.length%4!==0;)t+="=";return t}function H(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function W(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){e=e||1/0;for(var n,r=t.length,o=null,a=[],i=0;i55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(e-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&a.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(e-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;a.push(n)}else if(n<2048){if((e-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function q(t){for(var e=[],n=0;n>8,o=n%256,a.push(o),a.push(r);return a}function V(t){return J.toByteArray(F(t))}function K(t,e,n,r){for(var o=0;o=e.length||o>=t.length);o++)e[o+n]=t[o];return o}var J=n(825),Y=n(918),Z=n(826);e.Buffer=t,e.SlowBuffer=y,e.INSPECT_MAX_BYTES=50,t.poolSize=8192;var X={};t.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:o(),t.TYPED_ARRAY_SUPPORT?(t.prototype.__proto__=Uint8Array.prototype,t.__proto__=Uint8Array):(t.prototype.length=void 0,t.prototype.parent=void 0),t.isBuffer=function(t){return!(null==t||!t._isBuffer)},t.compare=function(e,n){if(!t.isBuffer(e)||!t.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var r=e.length,o=n.length,a=0,i=Math.min(r,o);a0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),""},t.prototype.compare=function(e){if(!t.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:t.compare(this,e)},t.prototype.indexOf=function(e,n){function r(t,e,n){for(var r=-1,o=0;n+o2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n>>=0,0===this.length)return-1;if(n>=this.length)return-1;if(n<0&&(n=Math.max(this.length+n,0)),"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,n);if(t.isBuffer(e))return r(this,e,n);if("number"==typeof e)return t.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,n):r(this,[e],n);throw new TypeError("val must be string, number or Buffer")},t.prototype.get=function(t){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(t)},t.prototype.set=function(t,e){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(t,e)},t.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else if(isFinite(e))e=0|e,isFinite(n)?(n=0|n,void 0===r&&(r="utf8")):(r=n,n=void 0);else{var o=r;r=e,e=0|n,n=o}var a=this.length-e;if((void 0===n||n>a)&&(n=a),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return A(this,t,e,n);case"binary":return S(this,t,e,n);case"base64":return T(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},t.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;t.prototype.slice=function(e,n){var r=this.length;e=~~e,n=void 0===n?r:~~n,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),n<0?(n+=r,n<0&&(n=0)):n>r&&(n=r),n0&&(o*=256);)r+=this[t+--e]*o;return r},t.prototype.readUInt8=function(t,e){return e||I(t,1,this.length),this[t]},t.prototype.readUInt16LE=function(t,e){return e||I(t,2,this.length),this[t]|this[t+1]<<8},t.prototype.readUInt16BE=function(t,e){return e||I(t,2,this.length),this[t]<<8|this[t+1]},t.prototype.readUInt32LE=function(t,e){return e||I(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},t.prototype.readUInt32BE=function(t,e){return e||I(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},t.prototype.readIntLE=function(t,e,n){t=0|t,e=0|e,n||I(t,e,this.length);for(var r=this[t],o=1,a=0;++a=o&&(r-=Math.pow(2,8*e)),r},t.prototype.readIntBE=function(t,e,n){t=0|t,e=0|e,n||I(t,e,this.length);for(var r=e,o=1,a=this[t+--r];r>0&&(o*=256);)a+=this[t+--r]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*e)),a},t.prototype.readInt8=function(t,e){return e||I(t,1,this.length),128&this[t]?(255-this[t]+1)*-1:this[t]},t.prototype.readInt16LE=function(t,e){e||I(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt16BE=function(t,e){e||I(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},t.prototype.readInt32LE=function(t,e){return e||I(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},t.prototype.readInt32BE=function(t,e){return e||I(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},t.prototype.readFloatLE=function(t,e){return e||I(t,4,this.length),Y.read(this,t,!0,23,4)},t.prototype.readFloatBE=function(t,e){return e||I(t,4,this.length),Y.read(this,t,!1,23,4)},t.prototype.readDoubleLE=function(t,e){return e||I(t,8,this.length),Y.read(this,t,!0,52,8)},t.prototype.readDoubleBE=function(t,e){return e||I(t,8,this.length),Y.read(this,t,!1,52,8)},t.prototype.writeUIntLE=function(t,e,n,r){t=+t,e=0|e,n=0|n,r||R(this,t,e,n,Math.pow(2,8*n),0);var o=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+o]=t/a&255;return e+n},t.prototype.writeUInt8=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,1,255,0),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=255&e,n+1},t.prototype.writeUInt16LE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):k(this,e,n,!0),n+2},t.prototype.writeUInt16BE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,2,65535,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):k(this,e,n,!1),n+2},t.prototype.writeUInt32LE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e):N(this,e,n,!0),n+4},t.prototype.writeUInt32BE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,4,4294967295,0),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):N(this,e,n,!1),n+4},t.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e=0|e,!r){var o=Math.pow(2,8*n-1);R(this,t,e,n,o-1,-o)}var a=0,i=1,s=t<0?1:0;for(this[e]=255&t;++a>0)-s&255;return e+n},t.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e=0|e,!r){var o=Math.pow(2,8*n-1);R(this,t,e,n,o-1,-o)}var a=n-1,i=1,s=t<0?1:0;for(this[e+a]=255&t;--a>=0&&(i*=256);)this[e+a]=(t/i>>0)-s&255;return e+n},t.prototype.writeInt8=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,1,127,-128),t.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=255&e,n+1},t.prototype.writeInt16LE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):k(this,e,n,!0),n+2},t.prototype.writeInt16BE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,2,32767,-32768),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,
+this[n+1]=255&e):k(this,e,n,!1),n+2},t.prototype.writeInt32LE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,4,2147483647,-2147483648),t.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):N(this,e,n,!0),n+4},t.prototype.writeInt32BE=function(e,n,r){return e=+e,n=0|n,r||R(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),t.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):N(this,e,n,!1),n+4},t.prototype.writeFloatLE=function(t,e,n){return U(this,t,e,!0,n)},t.prototype.writeFloatBE=function(t,e,n){return U(this,t,e,!1,n)},t.prototype.writeDoubleLE=function(t,e,n){return j(this,t,e,!0,n)},t.prototype.writeDoubleBE=function(t,e,n){return j(this,t,e,!1,n)},t.prototype.copy=function(e,n,r,o){if(r||(r=0),o||0===o||(o=this.length),n>=e.length&&(n=e.length),n||(n=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-n=0;a--)e[a+n]=this[a+r];else if(i<1e3||!t.TYPED_ARRAY_SUPPORT)for(a=0;a=this.length)throw new RangeError("start out of bounds");if(n<0||n>this.length)throw new RangeError("end out of bounds");var r;if("number"==typeof t)for(r=e;r0?n.join("="):void 0;return r=decodeURIComponent(r),o=void 0===o?null:decodeURIComponent(o),t.hasOwnProperty(r)?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o,t},{}):{})},e.stringify=function(t){return t?Object.keys(t).sort().map(function(e){var n=t[e];return void 0===n?"":null===n?e:Array.isArray(n)?n.slice().sort().map(function(t){return r(e)+"="+r(t)}).join("&"):r(e)+"="+r(n)}).filter(function(t){return t.length>0}).join("&"):""}},function(t,e,n){var r=n(979),o=n(981),a=n(486),i=n(485),s=n(978),u=!1,l=!0,c=function(t){return r(t,l)},d={initialize:function(t,e){return t?(e&&(e.debug&&e.debug===!0&&(u=!0),e.titleCase===!1&&(l=!1)),function(t,e,n,r,o,a,i){t.GoogleAnalyticsObject=o,t[o]=t[o]||function(){(t[o].q=t[o].q||[]).push(arguments)},t[o].l=1*new Date,a=e.createElement(n),i=e.getElementsByTagName(n)[0],a.async=1,a.src=r,i.parentNode.insertBefore(a,i)}(window,document,"script","https://www.google-analytics.com/analytics.js","ga"),void(e&&e.gaOptions?ga("create",t,e.gaOptions):ga("create",t,"auto"))):void i("gaTrackingID is required in initialize()")},set:function(t){if("function"==typeof ga){if(!t)return void i("`fieldsObject` is required in .set()");if("object"!=typeof t)return void i("Expected `fieldsObject` arg to be an Object");0===Object.keys(t).length&&i("empty `fieldsObject` given to .set()"),ga("set",t),u&&(s("called ga('set', fieldsObject);"),s("with fieldsObject: "+JSON.stringify(t)))}},pageview:function(t){return t?(t=a(t),""===t?void i("path cannot be an empty string in .pageview()"):void("function"==typeof ga&&(ga("send","pageview",t),u&&(s("called ga('send', 'pageview', path);"),s("with path: "+t))))):void i("path is required in .pageview()")},modalview:function(t){if(!t)return void i("modalName is required in .modalview(modalName)");if(t=a(t),t=o(t),""===t)return void i("modalName cannot be an empty string or a single / in .modalview()");if("function"==typeof ga){t=a(t);var e="/modal/"+t;ga("send","pageview",e),u&&(s("called ga('send', 'pageview', path);"),s("with path: "+e))}},event:function(t){if("function"==typeof ga){if(!t||!t.category||!t.action)return void i("args.category AND args.action are required in event()");var e={hitType:"event",eventCategory:c(t.category),eventAction:c(t.action)};t.label&&(e.eventLabel=c(t.label)),t.value&&("number"!=typeof t.value?i("Expected `args.value` arg to be a Number."):e.eventValue=t.value),t.nonInteraction&&("boolean"!=typeof t.nonInteraction?i("`args.nonInteraction` must be a boolean."):e.nonInteraction=t.nonInteraction),ga("send",e),u&&(s("called ga('send', fieldObject);"),s("with fieldObject: "+JSON.stringify(e)))}},exception:function(t){if("function"==typeof ga){var e={hitType:"exception"};t.description&&(e.exDescription=c(t.description)),"undefined"!=typeof t.fatal&&("boolean"!=typeof t.fatal?i("`args.fatal` must be a boolean."):e.exFatal=t.fatal),ga("send",e),u&&(s("called ga('send', fieldObject);"),s("with fieldObject: "+JSON.stringify(e)))}},plugin:{require:function(t,e){if("function"==typeof ga)return t?(t=a(t),""===t?void i("`name` cannot be an empty string in .require()"):e?"object"!=typeof e?void i("Expected `options` arg to be an Object"):(0===Object.keys(e).length&&i("Empty `options` given to .require()"),ga("require",t,e),void(u&&s("called ga('require', '"+t+"', "+JSON.stringify(e)+");"))):(ga("require",t),void(u&&s("called ga('require', '"+t+"');")))):void i("`name` is required in .require()")},execute:function(){var t,e,n=Array.prototype.slice.call(arguments),r=n[0],o=n[1];if(3===n.length?t=n[2]:(e=n[2],t=n[3]),"function"==typeof ga)if("string"!=typeof r)i("Expected `pluginName` arg to be a String.");else if("string"!=typeof o)i("Expected `action` arg to be a String.");else{var a=r+":"+o;t=t||null,e&&t?(ga(a,e,t),u&&(s("called ga('"+a+"');"),s('actionType: "'+e+'" with payload: '+JSON.stringify(t)))):t?(ga(a,t),u&&(s("called ga('"+a+"');"),s("with payload: "+JSON.stringify(t)))):(ga(a),u&&s("called ga('"+a+"');"))}}},outboundLink:function(t,e){if("function"!=typeof e)return void i("hitCallback function is required");if("function"==typeof ga){if(!t||!t.label)return void i("args.label is required in outboundLink()");var n={hitType:"event",eventCategory:"Outbound",eventAction:"Click",eventLabel:c(t.label)},r=!1,o=function(){r=!0,e()},a=setTimeout(o,250),l=function(){clearTimeout(a),r||e()};n.hitCallback=l,ga("send",n),u&&(s("called ga('send', fieldObject);"),s("with fieldObject: "+JSON.stringify(n)))}else setTimeout(e,0)}},p=n(977);p.origTrackLink=p.trackLink,p.trackLink=d.outboundLink,d.OutboundLink=p,t.exports=d},function(t,e,n){function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var s=function(){function t(t,e){for(var n=0;n /g,">").replace(/"/g,""").replace(/'/g,"'")},S=function(t,e){for(var n=[].concat(t).reverse(),r=0;r=0;i--)e.removeAttribute(o[i]);r.length===o.length?e.removeAttribute(E):e.setAttribute(E,r.join(","))},P=function(t,e){var n=document.head||document.querySelector("head"),r=n.querySelectorAll(t+"["+E+"]"),o=Array.prototype.slice.call(r),a=[],i=void 0;return e&&e.length&&e.forEach(function(e){var n=document.createElement(t);for(var r in e)if(e.hasOwnProperty(r))if("innerHTML"===r)n.innerHTML=e.innerHTML;else if("cssText"===r)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{var s="undefined"==typeof e[r]?"":e[r];n.setAttribute(r,s)}n.setAttribute(E,"true"),o.some(function(t,e){return i=e,n.isEqualNode(t)})?o.splice(i,1):a.push(n)}),o.forEach(function(t){return t.parentNode.removeChild(t)}),a.forEach(function(t){return n.appendChild(t)}),{oldTags:o,newTags:a}},x=function(t){for(var e=Object.keys(t),n="",r=0;r'+A(e)+""+t+">";return n},R=function(t,e){var n=e.map(function(e){var n=Object.keys(e).filter(function(t){return!("innerHTML"===t||"cssText"===t)}).map(function(t){if("undefined"==typeof e[t])return t;var n=A(e[t]);return t+'="'+n+'"'}).join(" ").trim(),r=e.innerHTML||e.cssText||"";return"<"+t+" "+E+'="true" '+n+(t===v.TAG_NAMES.SCRIPT||t===v.TAG_NAMES.STYLE?">"+r+""+t+">":"/>")}).join("");return n},k=function(t,e){var n=[d["default"].createElement(v.TAG_NAMES.TITLE,i({key:e},E,!0),e)];return n},N=function(t,e){var n=e.map(function(e,n){var r=i({key:n},E,!0);return Object.keys(e).forEach(function(t){var n=v.REACT_TAG_MAP[t]||t;if("innerHTML"===n||"cssText"===n){var o=e.innerHTML||e.cssText;r.dangerouslySetInnerHTML={__html:o}}else r[n]=e[t]}),d["default"].createElement(t,r)});return n},B=function(t,e){switch(t){case v.TAG_NAMES.TITLE:return{toComponent:function(){return k(t,e)},toString:function(){return I(t,e)}};case v.TAG_NAMES.HTML:return{toComponent:function(){return e},toString:function(){return x(e)}};default:return{toComponent:function(){return N(t,e)},toString:function(){return R(t,e)}}}},U=function(t){var e=t.htmlAttributes,n=t.title,r=t.baseTag,o=t.metaTags,a=t.linkTags,i=t.scriptTags,s=t.styleTags;return{htmlAttributes:B(v.TAG_NAMES.HTML,e),title:B(v.TAG_NAMES.TITLE,n),base:B(v.TAG_NAMES.BASE,r),meta:B(v.TAG_NAMES.META,o),link:B(v.TAG_NAMES.LINK,a),script:B(v.TAG_NAMES.SCRIPT,i),style:B(v.TAG_NAMES.STYLE,s)}},j=function(t){var e=function(e){function n(){o(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).apply(this,arguments)}return a(n,e),s(n,[{key:"shouldComponentUpdate",value:function(t){return!(0,g["default"])(this.props,t)}},{key:"render",value:function(){return d["default"].createElement(t,this.props)}}],[{key:"propTypes",value:{htmlAttributes:d["default"].PropTypes.object,title:d["default"].PropTypes.string,defaultTitle:d["default"].PropTypes.string,titleTemplate:d["default"].PropTypes.string,base:d["default"].PropTypes.object,meta:d["default"].PropTypes.arrayOf(d["default"].PropTypes.object),link:d["default"].PropTypes.arrayOf(d["default"].PropTypes.object),script:d["default"].PropTypes.arrayOf(d["default"].PropTypes.object),style:d["default"].PropTypes.arrayOf(d["default"].PropTypes.object),onChangeClientState:d["default"].PropTypes.func},enumerable:!0},{key:"peek",value:t.peek,enumerable:!0},{key:"rewind",value:function(){var e=t.rewind();return e||(e=U({htmlAttributes:[],title:"",baseTag:[],metaTags:[],linkTags:[],scriptTags:[],styleTags:[]})),e},enumerable:!0},{key:"canUseDOM",set:function(e){t.canUseDOM=e}}]),n}(d["default"].Component);return e},F=function(t){return{htmlAttributes:L(t),title:T(t),baseTag:C([v.TAG_PROPERTIES.HREF],t),metaTags:O(v.TAG_NAMES.META,[v.TAG_PROPERTIES.NAME,v.TAG_PROPERTIES.CHARSET,v.TAG_PROPERTIES.HTTPEQUIV,v.TAG_PROPERTIES.PROPERTY],t),linkTags:O(v.TAG_NAMES.LINK,[v.TAG_PROPERTIES.REL,v.TAG_PROPERTIES.HREF],t),scriptTags:O(v.TAG_NAMES.SCRIPT,[v.TAG_PROPERTIES.SRC,v.TAG_PROPERTIES.INNER_HTML],t),styleTags:O(v.TAG_NAMES.STYLE,[v.TAG_PROPERTIES.CSS_TEXT],t),onChangeClientState:M(t)}},H=function(t){var e=t.htmlAttributes,n=t.title,r=t.baseTag,o=t.metaTags,a=t.linkTags,i=t.scriptTags,s=t.styleTags,u=t.onChangeClientState;D(e),w(n);var l={baseTag:P(v.TAG_NAMES.BASE,r),metaTags:P(v.TAG_NAMES.META,o),linkTags:P(v.TAG_NAMES.LINK,a),scriptTags:P(v.TAG_NAMES.SCRIPT,i),styleTags:P(v.TAG_NAMES.STYLE,s)},c={},d={};Object.keys(l).forEach(function(t){var e=l[t],n=e.newTags,r=e.oldTags;n.length&&(c[t]=n),r.length&&(d[t]=l[t].oldTags)}),u(t,c,d)},W=(0,f["default"])(F,H,U);e["default"]=j(W(b["default"])),t.exports=e["default"]},,,,,,,,,,,,,,,,,,,,,,,,function(t,e){"use strict";function n(t,e,n){function r(){return i=!0,s?void(l=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!i&&(u=!0,!s)){for(s=!0;!i&&a=t&&u&&(i=!0,n()))}}var a=0,i=!1,s=!1,u=!1,l=void 0;o()}function r(t,e,n){function r(t,e,r){i||(e?(i=!0,n(e)):(a[t]=r,i=++s===o,i&&n(null,a)))}var o=t.length,a=[];if(0===o)return n(null,a);var i=!1,s=0;t.forEach(function(t,n){e(t,n,function(t,e){r(n,t,e)})})}e.__esModule=!0,e.loopAsync=n,e.mapAsync=r},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0,e.router=e.routes=e.route=e.components=e.component=e.location=e.history=e.falsy=e.locationShape=e.routerShape=void 0;var a=n(2),i=n(229),s=(o(i),n(133)),u=r(s),l=n(35),c=(o(l),a.PropTypes.func),d=a.PropTypes.object,p=a.PropTypes.shape,f=a.PropTypes.string,h=e.routerShape=p({push:c.isRequired,replace:c.isRequired,go:c.isRequired,goBack:c.isRequired,goForward:c.isRequired,setRouteLeaveHook:c.isRequired,isActive:c.isRequired}),g=e.locationShape=p({pathname:f.isRequired,search:f.isRequired,state:d,action:f.isRequired,key:f}),m=e.falsy=u.falsy,y=e.history=u.history,v=e.location=g,_=e.component=u.component,b=e.components=u.components,E=e.route=u.route,A=(e.routes=u.routes,e.router=h),S={falsy:m,history:y,location:v,component:_,components:b,route:E,router:A};e["default"]=S},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!0;return!1}function a(t,e){function n(e){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],o=void 0;return n&&n!==!0||null!==r?(e={pathname:e,query:n},o=r||!1):(e=t.createLocation(e),o=n),(0,f["default"])(e,o,E.location,E.routes,E.params)}function r(e){return t.createLocation(e,u.REPLACE)}function a(t,n){A&&A.location===t?s(A,n):(0,y["default"])(e,t,function(e,r){e?n(e):r?s(i({},r,{location:t}),n):n()})}function s(t,e){function n(n,r){return n||r?o(n,r):void(0,g["default"])(t,function(n,r){n?e(n):e(null,null,E=i({},t,{components:r}))})}function o(t,n){t?e(t):e(null,r(n))}var a=(0,c["default"])(E,t),s=a.leaveRoutes,u=a.changeRoutes,l=a.enterRoutes;(0,d.runLeaveHooks)(s),s.filter(function(t){return l.indexOf(t)===-1}).forEach(v),(0,d.runChangeHooks)(u,E,t,function(e,r){return e||r?o(e,r):void(0,d.runEnterHooks)(l,t,n)})}function l(t){var e=arguments.length<=1||void 0===arguments[1]||arguments[1];return t.__id__||e&&(t.__id__=S++)}function p(t){return t.reduce(function(t,e){return t.push.apply(t,T[l(e)]),t},[])}function h(t,n){(0,y["default"])(e,t,function(e,r){if(null==r)return void n();A=i({},r,{location:t});for(var o=p((0,c["default"])(E,A).leaveRoutes),a=void 0,s=0,u=o.length;null==a&&s-1?void 0:i("96",t),!l.plugins[n]){e.extractEvents?void 0:i("97",t),l.plugins[n]=e;var r=e.eventTypes;for(var a in r)o(r[a],e,a)?void 0:i("98",a,t)}}}function o(t,e,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?i("99",n):void 0,l.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];a(s,e,n)}return!0}return!!t.registrationName&&(a(t.registrationName,e,n),!0)}function a(t,e,n){l.registrationNameModules[t]?i("100",t):void 0,l.registrationNameModules[t]=e,l.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var i=n(13),s=(n(10),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){s?i("101"):void 0,s=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?i("102",n):void 0,u[n]=o,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return l.registrationNameModules[e.registrationName]||null;for(var n in e.phasedRegistrationNames)if(e.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[e.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var t in u)u.hasOwnProperty(t)&&delete u[t];l.plugins.length=0;var e=l.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=l},function(t,e,n){"use strict";function r(t){return t===v.topMouseUp||t===v.topTouchEnd||t===v.topTouchCancel}function o(t){return t===v.topMouseMove||t===v.topTouchMove}function a(t){return t===v.topMouseDown||t===v.topTouchStart}function i(t,e,n,r){var o=t.type||"unknown-event";t.currentTarget=_.getNodeFromInstance(r),e?m.invokeGuardedCallbackWithCatch(o,n,t):m.invokeGuardedCallback(o,n,t),t.currentTarget=null}function s(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var o=0;o0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function a(t,e){var n=s.get(t);return n?n:null}var i=n(13),s=(n(135),n(195)),u=(n(46),n(68)),l=(n(10),n(17),{isMounted:function(t){var e=s.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){l.validateCallback(e,n);var o=a(t);return o?(o._pendingCallbacks?o._pendingCallbacks.push(e):o._pendingCallbacks=[e],void r(o)):null},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=a(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e){var n=a(t,"replaceState");n&&(n._pendingStateQueue=[e],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(t,e){var n=a(t,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t?i("122",e,o(t)):void 0}});t.exports=l},,function(t,e){"use strict";var n=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,o){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,o)})}:t};t.exports=n},function(t,e){"use strict";function n(t){var e,n=t.keyCode;return"charCode"in t?(e=t.charCode,0===e&&13===n&&(e=13)):e=n,e>=32||13===e?e:0}t.exports=n},function(t,e){"use strict";function n(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=o[t];return!!r&&!!n[r]}function r(t){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=r},function(t,e){"use strict";function n(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=n},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(t){return"function"==typeof t&&"undefined"!=typeof t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function a(t,e){var n;if(null===t||t===!1)n=l.create(a);else if("object"==typeof t){var s=t;!s||"function"!=typeof s.type&&"string"!=typeof s.type?i("130",null==s.type?s.type:typeof s.type,r(s._owner)):void 0,"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new d(s)}else"string"==typeof t||"number"==typeof t?n=c.createInstanceForText(t):i("131",typeof t);n._mountIndex=0,n._mountImage=null;return n}var i=n(13),s=n(24),u=n(1039),l=n(516),c=n(518),d=(n(46),n(10),n(17),function(t){this.construct(t)});s(d.prototype,u.Mixin,{_instantiateReactComponent:a});t.exports=a},function(t,e,n){"use strict";function r(t,e){if(!a.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(44);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},function(t,e){"use strict";function n(t,e){var n=null===t||t===!1,r=null===e||e===!1;if(n||r)return n===r;var o=typeof t,a=typeof e;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&t.type===e.type&&t.key===e.key}t.exports=n},,function(t,e,n){"use strict";var r=(n(24),n(66)),o=(n(17),r);t.exports=o},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){return"object"===("undefined"==typeof t?"undefined":(0,m["default"])(t))&&t&&t.then instanceof Function}function a(t,e){for(var n=t.length,r=function(n){var r=t[n];if("object"===("undefined"==typeof r?"undefined":(0,m["default"])(r))){var o=(0,p["default"])(r);o.forEach(function(t){return e(r[t],n,t)})}else e(r,n)},o=0;o0&&C["default"].createElement("span",null,C["default"].createElement("br",null),C["default"].createElement("h3",null,C["default"].createElement(D.FormattedMessage,{defaultMessage:"Location-specific metadata",id:"indicatormeta.locationspecificmeta"})),d),C["default"].createElement("a",{href:(0,H.getMetaDataURL)(r.id,i),target:"_blank","data-customlink":"nl:body content popup","data-text":"All metadata"},C["default"].createElement("strong",null,C["default"].createElement(D.FormattedMessage,{defaultMessage:"All metadata",id:"indicatormeta.metadata"}))))))}}]),e}(L.Component),c.propTypes={fetchIndicatorExtraMetaFields:L.PropTypes.func.isRequired,indicator:L.PropTypes.shape({id:L.PropTypes.string.isRequired,licenseType:L.PropTypes.string,licenseUrl:L.PropTypes.string,shortname:L.PropTypes.string,fullname:L.PropTypes.string,source:L.PropTypes.shape({id:L.PropTypes.string,name:L.PropTypes.string}).isRequired,sourceNote:L.PropTypes.string,sourceOrganization:L.PropTypes.string,sourceURL:L.PropTypes.string,WDITable:L.PropTypes.string})},l=d))||l)||l)||l);e["default"]=G,t.exports=e["default"]},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(7),a=r(o),i=n(4),s=r(i),u=n(8),l=r(u),c=n(6),d=r(c),p=n(5),f=r(p),h=n(2),g=r(h),m=n(318),y=r(m),v=n(990),_=r(v),b=n(99),E=r(b),A=function(t){function e(){return(0,s["default"])(this,e),(0,d["default"])(this,(0,a["default"])(e).apply(this,arguments))}return(0,f["default"])(e,t),(0,l["default"])(e,[{key:"render",value:function(){var t=[{content:"Page not found",name:"description"}];return g["default"].createElement(_["default"],{code:404},g["default"].createElement("div",{id:"prompt",className:"wrapper"},g["default"].createElement(y["default"],{meta:t}),g["default"].createElement("h1",null,"404"),g["default"].createElement("h2",null,"Oops! Page not found."),g["default"].createElement("p",null,"Sorry, we can't find the page you're looking for"),g["default"].createElement(E["default"],{to:{pathname:"/"}},"Back to home")))}}]),e}(h.Component);e["default"]=A,t.exports=e["default"]},,function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t){var e=(0,v.locationSelector)(t),n=e.pathname,r="frontpage",o=/(country|pays|pais|indicador|indicateur|indicator|topic|tema|theme|locations)\/(.*)/;if(o.test(n)){var a=(0,y.selectedLocationsMetaSelector)(t);if((n.includes("country")||n.includes("pais")||n.includes("pays"))&&(r="country:"+a[0].name),n.includes("indicator")||n.includes("indicador")||n.includes("indicateur")){var i=(0,y.selectedIndicatorMetaSelector)(t).fullname,s=(0,y.selectedIndicatorMetaSelector)(t).id;r=s+":"+i}(n.includes("topic")||n.includes("tema")||n.includes("theme"))&&(r="topic:"+(0,y.selectedTopicSelector)(t).name),1!==a.length||n.includes("country")||n.includes("pays")||n.includes("pais")||(r+=" + "+a[0].name),a.length>1&&(r+=" + multiple countries")}else switch(n){case"/":var a=(0,y.selectedLocationsMetaSelector)(t);a.length>0&&(r="multiple countries");break;case"/indicator":r="indicatorlistingpage";break;case"/country":r="locationlistingpage";break;case"/indicateur":r="indicatorlistingpage";break;case"/pays":r="locationlistingpage";break;case"/indicador":r="indicatorlistingpage";break;case"/pais":r="locationlistingpage";break;case"/data-catalog":r="Home > Data > Data Catalog";break;default:r=document.title}return r}function a(t){var e=(0,y.selectedTopicSelector)(t);return e&&e.name?e.name:"Not Available"}function i(t){var e=(0,y.selectedIndicatorMetaSelector)(t);return e&&e.topics&&e.topics.length>0?g["default"].map(e.topics,"value").join("~"):"Not Available"}function s(t){var e=(0,y.selectedLocationsMetaSelector)(t).filter(function(t){return g["default"].has(t,["region","id"])});return e.length<1?"Not Available":g["default"].uniq(e.map(function(t){return u(t.region.name||"")})).join("~")}function u(t){return t.replace("&","and").replace(/\s*?[(].*[)]/g,"")}function l(t){var e=(0,y.selectedIndicatorMetaSelector)(t);return e&&e.fullname?e.fullname:"Not Available"}function c(t){var e=(0,y.selectedLocationsMetaSelector)(t);return e.length<1?"Not Available":e.map(function(t){return t.name}).join("~")}function d(t){return g["default"].find(m.LOCALES_WITH_ENGLISH_NAME.concat(m.LOCAL_LOCALES_WITH_ENGLISH_NAME),{code:(0,v.localeSelector)(t)})}function p(){S||E(window.store.getState())||(S=setInterval(function(){if(window.s&&window.pageLoaded&&A(window.store.getState())){var t=window.store.getState(),e=window.s,n=d(t);e.manageVars("clearVars","channel,hier1,pageName,prop1,prop4,prop5,prop6,prop7,prop14,prop16,prop17,prop37",1),e.channel="DEC World Bank Data "+n.language+" EXT",e.hier1="DEC, DEC World Bank Data "+n.language+" EXT, "+n.language;var r=(0,v.locationSelector)(t),u=r.pathname;"/data-catalog"==u?e.pageName=""+o(t):e.pageName=n.code+":data>"+o(t),e.prop1=o(t),e.account="wbglobalext,wbnispddataext";var p=a(t);e.prop4="Not Available"!==p?p:i(t),e.prop5=l(t),e.prop6=s(t),e.prop7=c(t),e.prop14=window.location.href,e.prop16=n.language,e.prop17=n.language,e.prop37=window.location.href,e.t(),window.viewOmniture=T,clearInterval(S),S=null}},100))}function f(t,e){var n="Data",r="Download",o=window.store.getState(),u=window.s,p=d(o);u.manageVars("clearVars","channel,hier1,pageName,prop1,prop4,prop5,prop6,prop7,prop14,prop16,prop17,prop37",1),u.channel="DEC World Bank Data "+p.language+" EXT",u.hier1="DEC, DEC World Bank Data "+p.language+" EXT, "+p.language,u.pageName=n+">"+r+">"+t+">"+e;var f=a(o);u.prop4="Not Available"!==f?f:i(o),u.prop5=l(o),u.prop6=s(o),u.prop7=c(o),u.prop14=window.location.href,u.prop16=p.language,u.prop17=p.language,u.prop37=window.location.href;var h=getCookieValueByName("omniture");u.prop18=getVPU(h),u.prop19=getDutyStation(h),u.prop20=getUserType(h),u.account="wbglobalext,wbnispddataext",window.s_linkType="d",u.s_linkName=n+">"+r+">"+t+">"+e,u.linkName=n+">"+r+">"+t+">"+e,u.s_prop1=n+">Download",u.tl(this,"d",n+">"+r+">"+t+">"+e)}Object.defineProperty(e,"__esModule",{value:!0}),e.CollectMacroData=p,e.downloadStats=f;var h=n(3),g=r(h),m=n(9),y=n(18),v=n(15),_=function(t){var e=(0,v.locationSelector)(t),n=e.pathname,r=e.query,o=n+"~"+r.indicators+"~"+r.locations+"~"+r.topics+"~"+r.locale;return o},b=null,E=function(t){var e=_(t);return e===b},A=function(t){var e=((0,y.selectedLocationsMetaSelector)(t).filter(function(t){return g["default"].has(t,["region","id"])}),(0,y.selectedIndicatorMetaSelector)(t));if(e&&!e.fullname)return!1;var n=_(t);return b=n,!0},S=void 0,T=function(){return window.s?{account:window.s.account,pageName:window.s.pageName,channel:window.s.channel,hier1:window.s.hier1,prop1:window.s.prop1,prop4:window.s.prop4,prop5:window.s.prop5,prop6:window.s.prop6,prop7:window.s.prop7,prop13:window.s.prop13,prop14:window.s.prop14,prop16:window.s.prop16,prop17:window.s.prop17,prop37:window.s.prop37}:console.log("Omniture not available.")}},function(t,e){"use strict";function n(t,e,n){if(window)var r=(new Date).getTime(),o=setInterval(function(){var a=Math.min(1,((new Date).getTime()-r)/n);window.scrollTo(t,t+a*(e-t)),1===a&&clearInterval(o)},25)}e.animateScroll=n},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){var n="homepage";return"/"!=e&&(n=e),n}function a(t,e){var n="home",r=/(country|pays|pais|indicador|indicateur|indicator|topic|tema|theme|locations|data-catalog)\/(.*)/;
+if(r.test(e))(e.includes("country")||e.includes("pais")||e.includes("pays"))&&(n="sub navigation"),(e.includes("indicator")||e.includes("indicador")||e.includes("indicateur"))&&(n="indicator content"),(e.includes("topic")||e.includes("tema")||e.includes("theme")||e.includes("data-catalog"))&&(n="sub navigation");else switch(e){case"/":break;case"/indicator":case"/country":case"/indicateur":case"/pays":case"/indicador":case"/pais":case"/data-catalog":n="navigation landing";break;default:n="sub navigation"}return n}function i(t,e){var n="homepage";return"/data-catalog"==e?n="dataset listing":"/"!=e&&(n="data"),n}function s(t,e){var n="home";return"/"!=e&&(n=v["default"].split(e,"/")[1]),n}function u(t,e){var n="",r=/(country|pays|pais|indicador|indicateur|indicator)\/(.*)/;if(r.test(e)){var o=(0,A.selectedLocationsMetaSelector)(t);o.length&&(n=o.map(function(t){return t.name}).join(", "))}var a=/(topic)\/(.*)/;return a.test(e)&&(e.includes("topic")||e.includes("tema")||e.includes("theme"))&&(n=(0,A.selectedTopicSelector)(t).name),n}function l(t,e){var n="",r=/(region)\/(.*)/;if(r.test(e)){var o=v["default"].replace(document.title," | Data",""),a=o.match(/\b(\w)/g);a&&(n=v["default"].toLower(a.join("")))}var i=/(country|pays|pais)\/(.*)/;if(i.test(e)){var s=(0,A.selectedLocationsMetaSelector)(t);(e.includes("country")||e.includes("pais")||e.includes("pays"))&&(n=s[0].region.id)}return n}function c(t,e){var n="";if("/"!=e&&"/indicator"!=e&&"/data-catalog"!=e&&"/indicateur"!=e&&"/indicador"!=e&&"/country"!=e&&"/pays"!=e&&"/pais"!=e)if(e.includes("indicator")||e.includes("indicador")||e.includes("indicateur"))n="indicator results";else{var r=v["default"].split(e,"/");n=r[r.length-1],n=v["default"].replace(n,/-/g," ")}return n}function d(t,e){var n="homepage";return"/"!=e&&(n=v["default"].snakeCase(e)),n}function p(t,e){var n="",r=/(country|pays|pais)\/(.*)/;if(r.test(e)){var o=(0,A.selectedLocationsMetaSelector)(t);(e.includes("country")||e.includes("pais")||e.includes("pays"))&&o[0].incomeLevel&&(n=o[0].incomeLevel.name)}return n}function f(t,e){var n="",r=/(indicator|indicador|indicateur|topic|tema|theme)\/(.*)/,o=(0,A.selectedLocationsMetaSelector)(t);if(r.test(e)){if(e.includes("indicator")||e.includes("indicador")||e.includes("indicateur")){var a=(0,A.selectedIndicatorMetaSelector)(t).fullname;(0,A.selectedIndicatorMetaSelector)(t).id;n=a}(e.includes("topic")||e.includes("tema")||e.includes("theme"))&&(n=(0,A.selectedTopicSelector)(t).name),1===o.length&&(n+=" + "+o[0].name),o.length>1&&(n+=" + multiple countries")}return n}function h(t){return v["default"].find(E.LOCALES_WITH_ENGLISH_NAME.concat(E.LOCAL_LOCALES_WITH_ENGLISH_NAME),{code:(0,S.localeSelector)(t)})}function g(t,e){var n=/(country|pays|pais|indicador|indicateur|indicator|topic|tema|theme|locations|data-catalog)\/(.*)/;if(n.test(e)){if(e.includes("country")||e.includes("pais")||e.includes("pays")){var r=(0,A.selectedLocationsMetaSelector)(t);if(!r.length)return!0}if(e.includes("data-catalog")){var o=(0,A.selectedDataSetMetaSelector)(t);if(void 0===o)return!0}}else switch(e){case"/":case"/indicator":case"/country":case"/indicateur":case"/pays":case"/indicador":case"/pais":case"/data-catalog":return!1;default:var a=(0,T.staticPageSelector)(t);if(void 0===a)return!0}return!1}function m(){w||L(window.store.getState())||(w=setInterval(function(){if(window.pageLoaded&&O(window.store.getState())){var t=window.store.getState(),e=h(t),n=(0,S.locationSelector)(t),r=n.pathname;window.wbgData.page={pageInfo:{pageName:e.code+":extcc:"+o(t,r),pageCategory:a(t,r),pageUid:e.code+":extcc:"+d(t,r),pageFirstPub:"mm-dd-yyyy",pageLastMod:"mm-dd-yyyy",author:"",topicTag:p(t,r),subtopicTag:f(t,r),contentType:i(t,r),channel:"DEC World Bank Data "+e.code+" EXT",webpackage:""},sectionInfo:{siteSection:s(t,r),subsectionP2:c(t,r),subsectionP3:"",subsectionP4:"",subsectionP5:""}},window.wbgData.site={pageLoad:"Y",siteInfo:{siteLanguage:e.code,siteCountry:u(t,r),siteEnv:"Dev",siteType:"datamain",siteRegion:l(t,r),userIpaddressType:b["default"].address()||""},techInfo:{cmsType:"python+react",bussVPUnit:"dec",bussUnit:"decdd",bussUserGroup:"external",bussAgency:"ibrd"}};var m=g(t,r);m&&(window.wbgData.errorInfo={pageloadRule:"404 error",pageType:"errorPage",errorMessage:"page not found"}),""!=window.wbgData.page.pageName&&_satellite.track("dynamicdata"),clearInterval(w),w=null}},100))}Object.defineProperty(e,"__esModule",{value:!0}),e.initialDTMData=void 0,e.CollectMacroDTMData=m;var y=n(3),v=r(y),_=n(936),b=r(_),E=n(9),A=n(18),S=n(15),T=n(569),M=null,L=function(t){var e=C(t);return e===M},C=function(t){var e=(0,S.locationSelector)(t),n=e.pathname,r=e.query,o=n+"~"+r.indicators+"~"+r.locations+"~"+r.topics+"~"+r.locale;return o},O=function(t){var e=((0,A.selectedLocationsMetaSelector)(t).filter(function(t){return v["default"].has(t,["region","id"])}),(0,A.selectedIndicatorMetaSelector)(t));if(e&&!e.fullname)return!1;var n=C(t);return M=n,!0},w=void 0;e.initialDTMData='\n var wbgData = wbgData || {};\n \n wbgData.page = {\n pageInfo: {\n pageName: "",\n pageCategory: "",\n pageUid: "",\n pageFirstPub: "",\n pageLastMod: "",\n author: "",\n topicTag: "",\n subtopicTag: "",\n contentType: "",\n channel: "",\n webpackage: ""\n },\n sectionInfo: {\n siteSection: "",\n subsectionP2: "",\n subsectionP3: "",\n subsectionP4: "",\n subsectionP5: "",\n }\n }\n wbgData.site = {\n pageLoad: "N",\n siteInfo: {\n siteLanguage: "",\n siteCountry: "",\n siteEnv: "",\n siteType: "datamain",\n siteRegion: "",\n userIpaddressType: "",\n },\n techInfo: {\n cmsType: "",\n bussVPUnit: "",\n bussUnit: "",\n bussUserGroup: "",\n bussAgency: "",\n },\n }\n'},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=function(t){},t.exports=e["default"]},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.locationIndicatorsIdSelector=void 0;var r=n(69),o=n(42);e.locationIndicatorsIdSelector=(0,r.createSelector)([o.globalConfigSelector],function(t){return t.locationIndicators||[]})},,,function(t,e,n){var r=n(74);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){"use strict";var r=n(37),o=n(123),a=n(33);t.exports=[].copyWithin||function(t,e){var n=r(this),i=a(n.length),s=o(t,i),u=o(e,i),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?i:o(l,i))-u,i-s),d=1;for(u0;)u in n?n[s]=n[u]:delete n[s],s+=d,u+=d;return n}},function(t,e,n){var r=n(172);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(60),o=n(37),a=n(173),i=n(33);t.exports=function(t,e,n,s,u){r(e);var l=o(t),c=a(l),d=i(l.length),p=u?d-1:0,f=u?-1:1;if(n<2)for(;;){if(p in c){s=c[p],p+=f;break}if(p+=f,u?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:d>p;p+=f)p in c&&(s=e(s,c[p],p,l));return s}},function(t,e,n){"use strict";var r=n(60),o=n(21),a=n(205),i=[].slice,s={},u=function(t,e,n){if(!(e in s)){for(var r=[],o=0;o1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!m(this,t)}}),f&&r(d.prototype,"size",{get:function(){return u(this[g])}}),d},def:function(t,e,n){var r,o,a=m(t,e);return a?a.v=n:(t._l=a={i:o=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=a),r&&(r.n=a),t[g]++,"F"!==o&&(t._i[o]=a)),t},getEntry:m,setStrong:function(t,e,n){c(t,e,function(t,e){this._t=t,this._k=e,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?d(0,n.k):"values"==e?d(0,n.v):d(0,[n.k,n.v]):(t._t=void 0,d(1))},n?"entries":"values",!n,!0),p(e)}}},function(t,e,n){var r=n(146),o=n(392);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,e,n){"use strict";var r=n(149),o=n(101).getWeak,a=n(14),i=n(21),s=n(119),u=n(172),l=n(73),c=n(38),d=l(5),p=l(6),f=0,h=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},m=function(t,e){return d(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.a.push([t,e])},"delete":function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,a){var l=t(function(t,r){s(t,l,e,"_i"),t._i=f++,t._l=void 0,void 0!=r&&u(r,n,t[a],t)});return r(l.prototype,{"delete":function(t){if(!i(t))return!1;var e=o(t);return e===!0?h(this)["delete"](t):e&&c(e,this._i)&&delete e[this._i]},has:function(t){if(!i(t))return!1;var e=o(t);return e===!0?h(this).has(t):e&&c(e,this._i)}}),l},def:function(t,e,n){var r=o(a(e),!0);return r===!0?h(t).set(e,n):r[t._i]=n,t},ufstore:h}},function(t,e,n){t.exports=!n(27)&&!n(16)(function(){return 7!=Object.defineProperty(n(246)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(14);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t["return"];throw void 0!==i&&r(i.call(t)),a}}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(148),o=n(209),a=n(174),i=n(37),s=n(173),u=Object.assign;t.exports=!u||n(16)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=i(t),u=arguments.length,l=1,c=o.f,d=a.f;u>l;)for(var p,f=s(arguments[l++]),h=c?r(f).concat(c(f)):r(f),g=h.length,m=0;g>m;)d.call(f,p=h[m++])&&(n[p]=f[p]);return n}:u},function(t,e,n){var r=n(28),o=n(14),a=n(148);t.exports=n(27)?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),s=i.length,u=0;s>u;)r.f(t,n=i[u++],e[n]);return t}},function(t,e,n){var r=n(50),o=n(122).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(e){return i.slice()}};t.exports.f=function(t){return i&&"[object Window]"==a.call(t)?s(t):o(r(t))}},function(t,e,n){var r=n(38),o=n(50),a=n(201)(!1),i=n(258)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=i&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~a(l,n)||l.push(n));return l}},function(t,e,n){var r=n(148),o=n(50),a=n(174).f;t.exports=function(t){return function(e){for(var n,i=o(e),s=r(i),u=s.length,l=0,c=[];u>l;)a.call(i,n=s[l++])&&c.push(t?[n,i[n]]:i[n]);return c}}},function(t,e,n){var r=n(122),o=n(209),a=n(14),i=n(20).Reflect;t.exports=i&&i.ownKeys||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(20).parseFloat,o=n(152).trim;t.exports=1/r(n(263)+"-0")!==-(1/0)?function(t){var e=o(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(20).parseInt,o=n(152).trim,a=n(263),i=/^[\-+]?0[xX]/;t.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(t,e){var n=o(String(t),3);return r(n,e>>>0||(i.test(n)?16:10))}:r},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},function(t,e,n){var r=n(33),o=n(262),a=n(61);t.exports=function(t,e,n,i){var s=String(a(t)),u=s.length,l=void 0===n?" ":String(n),c=r(e);if(c<=u)return s;""==l&&(l=" ");var d=c-u,p=o.call(l,Math.ceil(d/l.length));return p.length>d&&(p=p.slice(0,d)),i?p+s:s+p}},function(t,e,n){"use strict";var r=n(395);t.exports=n(202)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(this,t);return e&&e.v},set:function(t,e){return r.def(this,0===t?0:t,e)}},r,!0)},function(t,e,n){n(27)&&"g"!=/./g.flags&&n(28).f(RegExp.prototype,"flags",{configurable:!0,get:n(204)})},function(t,e,n){"use strict";var r=n(395);t.exports=n(202)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(this,t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,o=n(73)(0),a=n(48),i=n(101),s=n(402),u=n(397),l=n(21),c=(n(38),i.getWeak),d=Object.isExtensible,p=u.ufstore,f={},h=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},g={get:function(t){if(l(t)){var e=c(t);return e===!0?p(this).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(this,t,e)}},m=t.exports=n(202)("WeakMap",h,g,u,!0,!0);7!=(new m).set((Object.freeze||Object)(f),7).get(f)&&(r=u.getConstructor(h),s(r.prototype,g),i.NEED=!0,o(["delete","has","get","set"],function(t){var e=m.prototype,n=e[t];a(e,t,function(e,o){if(l(e)&&!d(e)){this._f||(this._f=new r);var a=this._f[t](e,o);return"set"==t?this:a}return n.call(this,e,o)})}))},function(t,e,n){t.exports={"default":n(761),__esModule:!0}},function(t,e,n){t.exports={"default":n(768),__esModule:!0}},function(t,e,n){t.exports={"default":n(771),__esModule:!0}},function(t,e,n){t.exports=n(43).document&&document.documentElement},function(t,e,n){t.exports=!n(79)&&!n(105)(function(){return 7!=Object.defineProperty(n(275)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(153),o=n(40)("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},function(t,e,n){var r=n(176);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(78);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t["return"];throw void 0!==i&&r(i.call(t)),a}}},function(t,e,n){var r=n(40)("iterator"),o=!1;try{var a=[7][r]();a["return"]=function(){o=!0},Array.from(a,function(){throw 2})}catch(i){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},t(a)}catch(s){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(178),o=n(179),a=n(106),i=n(287),s=n(125),u=n(420),l=Object.getOwnPropertyDescriptor;e.f=n(79)?l:function(t,e){if(t=a(t),e=i(e,!0),u)try{return l(t,e)}catch(n){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(429),o=n(276).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(125),o=n(155),a=n(283)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){var r=n(125),o=n(106),a=n(783)(!1),i=n(283)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,l=[];for(n in s)n!=i&&r(s,n)&&l.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~a(l,n)||l.push(n));return l}},function(t,e,n){var r=n(31),o=n(25),a=n(105);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],i={};i[t]=e(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(t,e,n){t.exports=n(92)},function(t,e,n){var r=n(93),o=n(78),a=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(104)(Function.call,n(426).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:a}},function(t,e,n){"use strict";var r=n(43),o=n(25),a=n(80),i=n(79),s=n(40)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];i&&e&&!e[s]&&a.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(31),o=n(177),a=n(105),i=n(285),s="["+i+"]",u="
",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),d=function(t,e,n){var o={},s=a(function(){return!!i[t]()||u[t]()!=u}),l=o[t]=s?e(p):i[t];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},p=d.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(c,"")),t};t.exports=d},function(t,e,n){var r,o,a,i=n(104),s=n(791),u=n(419),l=n(275),c=n(43),d=c.process,p=c.setImmediate,f=c.clearImmediate,h=c.MessageChannel,g=0,m={},y="onreadystatechange",v=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){v.call(t.data)};p&&f||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},f=function(t){delete m[t]},"process"==n(176)(d)?r=function(t){d.nextTick(i(v,t,1))}:h?(o=new h,a=o.port2,o.port1.onmessage=_,r=i(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",_,!1)):r=y in l("script")?function(t){u.appendChild(l("script"))[y]=function(){u.removeChild(this),v.call(t)}}:function(t){setTimeout(i(v,t,1),0)}),t.exports={set:p,clear:f}},function(t,e,n){function r(t){return null===t||void 0===t}function o(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function a(t,e,n){var a,c;if(r(t)||r(e))return!1;if(t.prototype!==e.prototype)return!1;if(u(t))return!!u(e)&&(t=i.call(t),e=i.call(e),l(t,e,n));if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(a=0;a=0;a--)if(d[a]!=p[a])return!1;for(a=d.length-1;a>=0;a--)if(c=d[a],!l(t[c],e[c],n))return!1;return typeof t==typeof e}var i=Array.prototype.slice,s=n(831),u=n(830),l=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:a(t,e,n))}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(66),o={listen:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}}):t.attachEvent?(t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}):void 0},capture:function(t,e,n){return t.addEventListener?(t.addEventListener(e,n,!0),{remove:function(){t.removeEventListener(e,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},function(t,e){"use strict";function n(t){try{t.focus()}catch(e){}}t.exports=n},function(t,e){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(t){return document.body}}t.exports=n},function(t,e){"use strict";function n(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function r(t,e){if(n(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),a=Object.keys(e);if(r.length!==a.length)return!1;for(var i=0;i-1&&t%1==0&&t<=c}function u(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function l(t){return!!t&&"object"==typeof t}var c=9007199254740991,d="[object Arguments]",p="[object Function]",f="[object GeneratorFunction]",h=Object.prototype,g=h.hasOwnProperty,m=h.toString,y=h.propertyIsEnumerable,v=n("length");t.exports=r},function(t,e,n){"use strict";var r=n(85),o=n(163),a=n(189),i=n(478),s=n(480),u=L.FeatureGroup.extend({options:{filter:function(){return!0},sanitizer:n(98),style:s.style,popupOptions:{closeButton:!1}},initialize:function(t,e){L.setOptions(this,e),this._layers={},"string"==typeof t?r.idUrl(t,this):t&&"object"==typeof t&&this.setGeoJSON(t)},setGeoJSON:function(t){return this._geojson=t,this.clearLayers(),this._initialize(t),this},getGeoJSON:function(){return this._geojson},loadURL:function(t){return this._request&&"abort"in this._request&&this._request.abort(),this._request=a(t,L.bind(function(e,n){this._request=null,e&&"abort"!==e.type?(r.log("could not load features at "+t),this.fire("error",{error:e})):n&&(this.setGeoJSON(n),this.fire("ready"))},this)),this},loadID:function(t){return this.loadURL(o("/v4/"+t+"/features.json",this.options.accessToken))},setFilter:function(t){return this.options.filter=t,this._geojson&&(this.clearLayers(),this._initialize(this._geojson)),this},getFilter:function(){return this.options.filter},_initialize:function(t){var e,n,r=L.Util.isArray(t)?t:t.features;if(r)for(e=0,n=r.length;ethis.options.maxZoom||ethis.options.maxZoom||t.z'+t.properties.title+""),t.properties.description&&(n+=''+t.properties.description+"
"),(e||u)(n)}var i=n(163),s=n(85),u=n(98);t.exports={icon:r,style:o,createPopup:a}},function(t,e,n){"use strict";var r=n(163),o=L.Control.extend({includes:[n(226)],options:{position:"topleft",url:""},initialize:function(t,e){L.setOptions(this,e),this._loadTileJSON(t)},_setTileJSON:function(t){this._tilejson=t},onAdd:function(t){this._map=t;var e=L.DomUtil.create("div","leaflet-control-mapbox-share leaflet-bar"),n=L.DomUtil.create("a","mapbox-share mapbox-icon mapbox-icon-share",e);return n.href="#",this._modal=L.DomUtil.create("div","mapbox-modal",this._map._container),this._mask=L.DomUtil.create("div","mapbox-modal-mask",this._modal),this._content=L.DomUtil.create("div","mapbox-modal-content",this._modal),L.DomEvent.addListener(n,"click",this._shareClick,this),L.DomEvent.disableClickPropagation(e),this._map.on("mousedown",this._clickOut,this),e},_clickOut:function(t){if(this._sharing)return L.DomEvent.preventDefault(t),L.DomUtil.removeClass(this._modal,"active"),this._content.innerHTML="",void(this._sharing=null)},_shareClick:function(t){function e(t,e,n){var r=document.createElement("a");return r.setAttribute("class",t),r.setAttribute("href",e),r.setAttribute("target","_blank"),n=document.createTextNode(n),r.appendChild(n),r}if(L.DomEvent.stop(t),this._sharing)return this._clickOut(t);var n=this._tilejson||this._map._tilejson||{},o=encodeURIComponent(this.options.url||n.webpage||window.location),a=encodeURIComponent(n.name),i=r("/v4/"+n.id+"/"+this._map.getCenter().lng+","+this._map.getCenter().lat+","+this._map.getZoom()+"/600x600.png",this.options.accessToken),s=r("/v4/"+n.id+".html",this.options.accessToken),u="//twitter.com/intent/tweet?status="+a+" "+o,l="//www.facebook.com/sharer.php?u="+o+"&t="+a,c="//www.pinterest.com/pin/create/button/?url="+o+"&media="+i+"&description="+a,d='',p="Copy and paste this HTML code into documents to embed this map on web pages.";L.DomUtil.addClass(this._modal,"active"),this._sharing=L.DomUtil.create("div","mapbox-modal-body",this._content);var f=e("mapbox-button mapbox-button-icon mapbox-icon-twitter",u,"Twitter"),h=e("mapbox-button mapbox-button-icon mapbox-icon-facebook",l,"Facebook"),g=e("mapbox-button mapbox-button-icon mapbox-icon-pinterest",c,"Pinterest"),m=document.createElement("h3"),y=document.createTextNode("Share this map");m.appendChild(y);var v=document.createElement("div");v.setAttribute("class","mapbox-share-buttons"),v.appendChild(h),v.appendChild(f),v.appendChild(g),this._sharing.appendChild(m),this._sharing.appendChild(v);var _=L.DomUtil.create("input","mapbox-embed",this._sharing);_.type="text",_.value=d;var b=L.DomUtil.create("label","mapbox-embed-description",this._sharing);b.innerHTML=p;var E=L.DomUtil.create("a","leaflet-popup-close-button",this._sharing);E.href="#",L.DomEvent.disableClickPropagation(this._sharing),L.DomEvent.addListener(E,"click",this._clickOut,this),L.DomEvent.addListener(_,"click",function(t){t.target.focus(),t.target.select()})}});t.exports.ShareControl=o,t.exports.shareControl=function(t,e){return new o(t,e)}},function(t,e){"use strict";function n(t,e){var n={};for(var r in e)void 0===t[r]?n[r]=e[r]:n[r]=t[r];return n}function r(t){for(var e={},n=0;n"'`=\/]/g,function(t){return v[t]})}function u(e,n){function o(){if(y&&!v)for(;m.length;)delete h[m.pop()];else m=[];y=!1,v=!1}function a(t){if("string"==typeof t&&(t=t.split(b,2)),!g(t)||2!==t.length)throw new Error("Invalid tags: "+t);s=new RegExp(r(t[0])+"\\s*"),u=new RegExp("\\s*"+r(t[1])),p=new RegExp("\\s*"+r("}"+t[1]))}if(!e)return[];var s,u,p,f=[],h=[],m=[],y=!1,v=!1;a(n||t.tags);for(var T,M,L,C,O,w,D=new d(e);!D.eos();){if(T=D.pos,L=D.scanUntil(s))for(var P=0,x=L.length;P0?a[a.length-1][4]:r;break;default:o.push(e)}return r}function d(t){this.string=t,this.tail=t,this.pos=0}function p(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function f(){this.cache={}}var h=Object.prototype.toString,g=Array.isArray||function(t){return"[object Array]"===h.call(t)},m=RegExp.prototype.test,y=/\S/,v={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},_=/\s*/,b=/\s+/,E=/\s*=/,A=/\s*\}/,S=/#|\^|\/|>|\{|&|=|!/;d.prototype.eos=function(){return""===this.tail},d.prototype.scan=function(t){var e=this.tail.match(t);if(!e||0!==e.index)return"";var n=e[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},d.prototype.scanUntil=function(t){var e,n=this.tail.search(t);switch(n){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=e.length,e},p.prototype.push=function(t){return new p(t,this)},p.prototype.lookup=function(t){var n,r=this.cache;if(r.hasOwnProperty(t))n=r[t];else{for(var a,i,s=this,u=!1;s;){if(t.indexOf(".")>0)for(n=s.view,a=t.split("."),i=0;null!=n&&i"===a?i=this.renderPartial(o,e,n,r):"&"===a?i=this.unescapedValue(o,e):"name"===a?i=this.escapedValue(o,e):"text"===a&&(i=this.rawValue(o)),void 0!==i&&(s+=i);return s},f.prototype.renderSection=function(t,n,r,o){function a(t){return i.render(t,n,r)}var i=this,s="",u=n.lookup(t[1]);if(u){if(g(u))for(var l=0,c=u.length;l