diff --git a/404.html b/404.html index 48a6e04..6bc7547 100644 --- a/404.html +++ b/404.html @@ -1 +1 @@ -

404

This page could not be found.

\ No newline at end of file +

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/-rFC8lDoJ153UQ4_oFfPW/_buildManifest.js b/_next/static/-rFC8lDoJ153UQ4_oFfPW/_buildManifest.js deleted file mode 100644 index c3cd1bc..0000000 --- a/_next/static/-rFC8lDoJ153UQ4_oFfPW/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST = (function(a){return {"/":[a],"/home/component":[a],"/index":[a]}}("static\u002Fchunks\u002F859f1f05894c3081deb449a649a084f6b671ec1c.bde28ae7bdf090bf98a4.js"));self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() \ No newline at end of file diff --git a/_next/static/9_Ffkx5n9m5f4kfgEbGUm/_buildManifest.js b/_next/static/9_Ffkx5n9m5f4kfgEbGUm/_buildManifest.js new file mode 100644 index 0000000..dd765c8 --- /dev/null +++ b/_next/static/9_Ffkx5n9m5f4kfgEbGUm/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST = (function(a){return {"/":[a],"/home/component":[a],"/index":[a]}}("static\u002Fchunks\u002F0e80572a2e1f8a8599bc453d8a372ce6098db63c.b0036831260b651d381c.js"));self.__BUILD_MANIFEST_CB && self.__BUILD_MANIFEST_CB() \ No newline at end of file diff --git a/_next/static/-rFC8lDoJ153UQ4_oFfPW/_ssgManifest.js b/_next/static/9_Ffkx5n9m5f4kfgEbGUm/_ssgManifest.js similarity index 100% rename from _next/static/-rFC8lDoJ153UQ4_oFfPW/_ssgManifest.js rename to _next/static/9_Ffkx5n9m5f4kfgEbGUm/_ssgManifest.js diff --git a/_next/static/-rFC8lDoJ153UQ4_oFfPW/pages/_app.js b/_next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/_app.js similarity index 100% rename from _next/static/-rFC8lDoJ153UQ4_oFfPW/pages/_app.js rename to _next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/_app.js diff --git a/_next/static/-rFC8lDoJ153UQ4_oFfPW/pages/_error.js b/_next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/_error.js similarity index 100% rename from _next/static/-rFC8lDoJ153UQ4_oFfPW/pages/_error.js rename to _next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/_error.js diff --git a/_next/static/-rFC8lDoJ153UQ4_oFfPW/pages/home/component.js b/_next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/home/component.js similarity index 100% rename from _next/static/-rFC8lDoJ153UQ4_oFfPW/pages/home/component.js rename to _next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/home/component.js diff --git a/_next/static/-rFC8lDoJ153UQ4_oFfPW/pages/index.js b/_next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/index.js similarity index 100% rename from _next/static/-rFC8lDoJ153UQ4_oFfPW/pages/index.js rename to _next/static/9_Ffkx5n9m5f4kfgEbGUm/pages/index.js diff --git a/_next/static/chunks/0e80572a2e1f8a8599bc453d8a372ce6098db63c.b0036831260b651d381c.js b/_next/static/chunks/0e80572a2e1f8a8599bc453d8a372ce6098db63c.b0036831260b651d381c.js new file mode 100644 index 0000000..cfcea7f --- /dev/null +++ b/_next/static/chunks/0e80572a2e1f8a8599bc453d8a372ce6098db63c.b0036831260b651d381c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"++oL":function(e,t,n){},"+1In":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["groupName","itemName","componentIdentifier"]));return o.default.createElement(i.default,r({groupName:t,itemName:n},a))};u.defaultProps={componentIdentifier:"Lines",groupName:"lines",itemName:"line"},t.default=u},"/0+H":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=n("lwAK");function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,o=void 0!==r&&r,i=e.hasQuery;return n||o&&(void 0!==i&&i)}t.isInAmpMode=a,t.useAmp=function(){return a(o.default.useContext(i.AmpStateContext))}},"/rf6":function(e,t,n){"use strict";function r(e,t,n){void 0===n&&(n={});var r={type:"Feature"};return(0===n.id||n.id)&&(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=t||{},r.geometry=e,r}function o(e,t,n){return void 0===n&&(n={}),r({type:"Point",coordinates:e},t,n)}function i(e,t,n){void 0===n&&(n={});for(var o=0,i=e;o=0))throw new Error("precision must be a positive number");var n=Math.pow(10,t||0);return Math.round(e*n)/n},t.radiansToLength=f,t.lengthToRadians=p,t.lengthToDegrees=function(e,t){return d(p(e,t))},t.bearingToAzimuth=function(e){var t=e%360;return t<0&&(t+=360),t},t.radiansToDegrees=d,t.degreesToRadians=function(e){return e%360*Math.PI/180},t.convertLength=function(e,t,n){if(void 0===t&&(t="kilometers"),void 0===n&&(n="kilometers"),!(e>=0))throw new Error("length must be a positive number");return f(p(e,t),n)},t.convertArea=function(e,n,r){if(void 0===n&&(n="meters"),void 0===r&&(r="kilometers"),!(e>=0))throw new Error("area must be a positive number");var o=t.areaFactors[n];if(!o)throw new Error("invalid original units");var i=t.areaFactors[r];if(!i)throw new Error("invalid final units");return e/o*i},t.isNumber=h,t.isObject=function(e){return!!e&&e.constructor===Object},t.validateBBox=function(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(4!==e.length&&6!==e.length)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach((function(e){if(!h(e))throw new Error("bbox must only contain numbers")}))},t.validateId=function(e){if(!e)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof e))throw new Error("id must be a number or a string")},t.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},t.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},t.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},t.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},t.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},t.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},t.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},"03wo":function(e,t,n){},"1+uw":function(e,t,n){},"2SVd":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"2W6z":function(e,t,n){"use strict";var r=function(){};e.exports=r},"2rMq":function(e,t,n){var r;!function(){"use strict";var o=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},"2zs7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r,o=n("2rMq");var i=((r=o)&&r.__esModule?r:{default:r}).default,a=i.canUseDOM?window.HTMLElement:{};t.canUseDOM=i.canUseDOM;t.default=a},"3uSx":function(e,t,n){},"4BhY":function(e,t,n){"use strict";n.r(t),n.d(t,"bbox",(function(){return i})),n.d(t,"feature",(function(){return u})),n.d(t,"mesh",(function(){return f})),n.d(t,"meshArcs",(function(){return p})),n.d(t,"merge",(function(){return d})),n.d(t,"mergeArcs",(function(){return h})),n.d(t,"neighbors",(function(){return m})),n.d(t,"quantize",(function(){return g})),n.d(t,"transform",(function(){return o})),n.d(t,"untransform",(function(){return y}));var r=function(e){return e},o=function(e){if(null==(t=e.transform))return r;var t,n,o,i=t.scale[0],a=t.scale[1],u=t.translate[0],s=t.translate[1];return function(e,t){return t||(n=o=0),e[0]=(n+=e[0])*i+u,e[1]=(o+=e[1])*a+s,e}},i=function(e){var t=e.bbox;function n(e){s[0]=e[0],s[1]=e[1],u(s),s[0]f&&(f=s[0]),s[1]p&&(p=s[1])}function r(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(r);break;case"Point":n(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(n)}}if(!t){var i,a,u=o(e),s=new Array(2),c=1/0,l=c,f=-c,p=-c;for(a in e.arcs.forEach((function(e){for(var t=-1,n=e.length;++tf&&(f=s[0]),s[1]p&&(p=s[1])})),e.objects)r(e.objects[a]);t=e.bbox=[c,l,f,p]}return t},a=function(e,t){for(var n,r=e.length,o=r-t;o<--r;)n=e[o],e[o++]=e[r],e[r]=n},u=function(e,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return s(e,t)}))}:s(e,t)};function s(e,t){var n=t.id,r=t.bbox,o=null==t.properties?{}:t.properties,i=c(e,t);return null==n&&null==r?{type:"Feature",properties:o,geometry:i}:null==r?{type:"Feature",id:n,properties:o,geometry:i}:{type:"Feature",id:n,bbox:r,properties:o,geometry:i}}function c(e,t){var n=o(e),r=e.arcs;function i(e,t){t.length&&t.pop();for(var o=r[e<0?~e:e],i=0,u=o.length;i1)r=function(e,t,n){var r,o=[],i=[];function a(e){var t=e<0?~e:e;(i[t]||(i[t]=[])).push({i:e,g:r})}function u(e){e.forEach(a)}function s(e){e.forEach(u)}return function e(t){switch(r=t,t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"LineString":u(t.arcs);break;case"MultiLineString":case"Polygon":s(t.arcs);break;case"MultiPolygon":!function(e){e.forEach(s)}(t.arcs)}}(t),i.forEach(null==n?function(e){o.push(e[0].i)}:function(e){n(e[0].g,e[e.length-1].g)&&o.push(e[0].i)}),o}(0,t,n);else for(o=0,r=new Array(i=e.arcs.length);o1)for(var i,u,s=1,c=a(o[0]);sc&&(u=o[0],o[0]=o[s],o[s]=u,c=i);return o}))}}var v=function(e,t){for(var n=0,r=e.length;n>>1;e[o]=2))throw new Error("n must be \u22652");if(e.transform)throw new Error("already quantized");var n,r=i(e),o=r[0],a=(r[2]-o)/(t-1)||1,u=r[1],s=(r[3]-u)/(t-1)||1;function c(e){e[0]=Math.round((e[0]-o)/a),e[1]=Math.round((e[1]-u)/s)}function l(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(l);break;case"Point":c(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(c)}}for(n in e.arcs.forEach((function(e){for(var t,n,r,i=1,c=1,l=e.length,f=e[0],p=f[0]=Math.round((f[0]-o)/a),d=f[1]=Math.round((f[1]-u)/s);i1?this.handleMouseDown(t[0]):this.handleMouseUp()}},{key:"preventTouchScroll",value:function(e){e.touches.length>1&&e.preventDefault()}},{key:"componentWillReceiveProps",value:function(e){var t=this.state,n=(t.mouseX,t.mouseY,this.props),r=(n.projection,n.center),o=n.zoom,i=(e.zoom,JSON.stringify(e.center)!==JSON.stringify(r));this.setState({zoom:e.zoom,rotation:i?[-e.center[0],-e.center[1],this.state.rotation[2]]:this.state.rotation})}},{key:"componentDidMount",value:function(){var e=this.props;e.width,e.height,e.projection,e.zoom;window.addEventListener("resize",this.handleResize),window.addEventListener("mouseup",this.handleMouseUp),this.zoomableGlobeNode.addEventListener("touchmove",this.preventTouchScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("mouseup",this.handleMouseUp),this.zoomableGlobeNode.removeEventListener("touchmove",this.preventTouchScroll)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,o=t.zoom,i=t.style,s=t.projection,c=t.children,l=this.state;l.mouseX,l.mouseY;return a.default.createElement("g",{className:"rsm-zoomable-globe",ref:function(t){return e.zoomableGlobeNode=t},transform:"\n translate("+n/2+" "+r/2+")\n scale("+o+")\n translate("+-n/2+" "+-r/2+")\n ",onMouseMove:this.handleMouseMove,onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleMouseUp,style:i},(0,u.createNewChildren)(c,{width:n,height:r,center:this.center,backdrop:this.backdrop,zoom:this.props.zoom,disablePanning:this.props.disablePanning,children:c,projection:s.rotate(this.state.rotation)}))}}]),t}(i.Component);s.defaultProps={center:[0,0],zoom:1,disablePanning:!1,sensitivity:.25},t.default=s},"5fIB":function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function l(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}t.defaultHead=c;var f=["name","httpEquiv","charSet","itemProp"];function p(e,t){return e.reduce((function(e,t){var n=o.default.Children.toArray(t.props.children);return e.concat(n)}),[]).reduce(l,[]).reverse().concat(c(t.inAmpMode)).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(o){var i=!0;if(o.key&&"number"!==typeof o.key&&o.key.indexOf("$")>0){var a=o.key.slice(o.key.indexOf("$")+1);e.has(a)?i=!1:e.add(a)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(var u=0,s=f.length;u1)for(var n=1;n=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n("8oxB"))},LYNF:function(e,t,n){"use strict";var r=n("OH9c");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},Lmem:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},M8NJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;tE;return u.default.createElement("g",{className:"rsm-annotation",style:P?o({},r,i):r,transform:"translate(\n "+(w[0]+a/f)+"\n "+(w[1]+l/f)+"\n )",textAnchor:(0,c.createTextAnchor)(a)},h,u.default.createElement("path",{d:b,stroke:p,strokeWidth:d,fill:"none",markerEnd:m}))}}]),t}(a.Component);l.defaultProps={curve:0,markerEnd:"none",componentIdentifier:"Annotation",stroke:"#000000",strokeWidth:1,zoom:1},t.default=l},MLWZ:function(e,t,n){"use strict";var r=n("xTJ+");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},OH9c:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},OTTw:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},"P6+J":function(e,t,n){},QEso:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&0===(w-=1)&&f.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus()},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){e.keyCode===y&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&e.keyCode===b&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===("undefined"===typeof t?"undefined":o(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"===typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&p.add(document.body,o),r&&p.add(document.getElementsByTagName("html")[0],r),n&&(w+=1,f.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=n?{}:i.content,s=o?{}:i.overlay;return this.shouldBeClosed()?null:u.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},s,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u.default.createElement("div",r({id:t,ref:this.setContentRef,style:r({},a,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(a.Component);M.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},M.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.instanceOf(d.default),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,testId:s.default.string},t.default=M,e.exports=t.default},QIyF:function(e,t,n){var r=n("Kz5y");e.exports=function(){return r.Date.now()}},"QJ+7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("cWyK");t.default=function(e){var t=[1/0,1/0,-1/0,-1/0];return r.coordEach(e,(function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]-1&&(c+=o?-1:1);if("undefined"===typeof(r=n[c]))return t.preventDefault(),void(r=o?u:a).focus();t.preventDefault(),r.focus()};var r,o=n("ZDLa"),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},SntB:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),r.forEach(i,(function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):"undefined"!==typeof t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):"undefined"!==typeof e[o]&&(n[o]=e[o])})),r.forEach(a,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}));var u=o.concat(i).concat(a),s=Object.keys(t).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(s,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])})),n}},TSYQ:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t0&&a.pop()},t.setupScopedFocus=function(e){u=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",l,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",l))},t.teardownScopedFocus=function(){u=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",l)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",l))};var r,o=n("ZDLa"),i=(r=o)&&r.__esModule?r:{default:r};var a=[],u=null,s=!1;function c(){s=!0}function l(){if(s){if(s=!1,!u)return;setTimeout((function(){u.contains(document.activeElement)||((0,i.default)(u)[0]||u).focus()}),0)}}},Wfic:function(e,t,n){},WkvU:function(e,t,n){"use strict";var r,o=n("UIKY"),i=(r=o)&&r.__esModule?r:{default:r};var a=void 0,u=void 0,s=[];function c(){0!==s.length&&s[s.length-1].focusContent()}i.default.subscribe((function(e,t){a&&u||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",c),(u=a.cloneNode()).addEventListener("focus",c)),(s=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==u&&document.body.appendChild(u)):(a.parentElement&&a.parentElement.removeChild(a),u.parentElement&&u.parentElement.removeChild(u))}))},Xuae:function(e,t,n){"use strict";var r=n("/GRZ"),o=n("qXWd"),i=n("i2R6"),a=n("48fX"),u=n("tCBg"),s=n("T0f4"),c=n("mPvQ");function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}Object.defineProperty(t,"__esModule",{value:!0});var f=n("q1tI"),p=!1;t.default=function(){var e,t=new Set;function n(n){e=n.props.reduceComponentsToState(c(t),n.props),n.props.handleStateChange&&n.props.handleStateChange(e)}return function(u){a(c,u);var s=l(c);function c(e){var i;return r(this,c),i=s.call(this,e),p&&(t.add(o(i)),n(o(i))),i}return i(c,null,[{key:"rewind",value:function(){var n=e;return e=void 0,t.clear(),n}}]),i(c,[{key:"componentDidMount",value:function(){t.add(this),n(this)}},{key:"componentDidUpdate",value:function(){n(this)}},{key:"componentWillUnmount",value:function(){t.delete(this),n(this)}},{key:"render",value:function(){return null}}]),c}(f.Component)}},Ye7m:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"===typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t="length"in n?n[0]:n}return u=t||u},t.validateElement=c,t.hide=function(e){c(e)&&(e||u).setAttribute("aria-hidden","true")},t.show=function(e){c(e)&&(e||u).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){u=null},t.resetForTesting=function(){u=null};var r,o=n("2W6z"),i=(r=o)&&r.__esModule?r:{default:r},a=n("2zs7");var u=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){return!(!e&&!u)||((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},ZDLa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)};var r=/input|select|textarea|button|object/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}function i(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&i(e,!n)}e.exports=t.default},ZFwI:function(e,t,n){"use strict";n.r(t),n.d(t,"geoArea",(function(){return X})),n.d(t,"geoBounds",(function(){return Ue})),n.d(t,"geoCentroid",(function(){return Ze})),n.d(t,"geoCircle",(function(){return ct})),n.d(t,"geoClipExtent",(function(){return Pt})),n.d(t,"geoContains",(function(){return qt})),n.d(t,"geoDistance",(function(){return Tt})),n.d(t,"geoGraticule",(function(){return Vt})),n.d(t,"geoGraticule10",(function(){return Yt})),n.d(t,"geoInterpolate",(function(){return Zt})),n.d(t,"geoLength",(function(){return Nt})),n.d(t,"geoPath",(function(){return Qn})),n.d(t,"geoAlbers",(function(){return gr})),n.d(t,"geoAlbersUsa",(function(){return yr})),n.d(t,"geoAzimuthalEqualArea",(function(){return Er})),n.d(t,"geoAzimuthalEqualAreaRaw",(function(){return Mr})),n.d(t,"geoAzimuthalEquidistant",(function(){return Or})),n.d(t,"geoAzimuthalEquidistantRaw",(function(){return Pr})),n.d(t,"geoConicConformal",(function(){return kr})),n.d(t,"geoConicConformalRaw",(function(){return jr})),n.d(t,"geoConicEqualArea",(function(){return mr})),n.d(t,"geoConicEqualAreaRaw",(function(){return vr})),n.d(t,"geoConicEquidistant",(function(){return Tr})),n.d(t,"geoConicEquidistantRaw",(function(){return Ar})),n.d(t,"geoEquirectangular",(function(){return Rr})),n.d(t,"geoEquirectangularRaw",(function(){return Nr})),n.d(t,"geoGnomonic",(function(){return Dr})),n.d(t,"geoGnomonicRaw",(function(){return Lr})),n.d(t,"geoIdentity",(function(){return Ir})),n.d(t,"geoProjection",(function(){return pr})),n.d(t,"geoProjectionMutator",(function(){return dr})),n.d(t,"geoMercator",(function(){return _r})),n.d(t,"geoMercatorRaw",(function(){return Sr})),n.d(t,"geoOrthographic",(function(){return Ur})),n.d(t,"geoOrthographicRaw",(function(){return Br})),n.d(t,"geoStereographic",(function(){return Gr})),n.d(t,"geoStereographicRaw",(function(){return zr})),n.d(t,"geoTransverseMercator",(function(){return Wr})),n.d(t,"geoTransverseMercatorRaw",(function(){return qr})),n.d(t,"geoRotation",(function(){return at})),n.d(t,"geoStream",(function(){return U})),n.d(t,"geoTransform",(function(){return rr}));var r=function(){return new o};function o(){this.reset()}o.prototype={constructor:o,reset:function(){this.s=this.t=0},add:function(e){a(i,e,this.t),a(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new o;function a(e,t,n){var r=e.s=t+n,o=r-t,i=r-o;e.t=t-i+(n-o)}var u=1e-6,s=Math.PI,c=s/2,l=s/4,f=2*s,p=180/s,d=s/180,h=Math.abs,v=Math.atan,m=Math.atan2,g=Math.cos,y=Math.ceil,b=Math.exp,w=(Math.floor,Math.log),M=Math.pow,E=Math.sin,P=Math.sign||function(e){return e>0?1:e<0?-1:0},O=Math.sqrt,S=Math.tan;function _(e){return e>1?0:e<-1?s:Math.acos(e)}function x(e){return e>1?c:e<-1?-c:Math.asin(e)}function C(e){return(e=E(e/2))*e}function j(){}function k(e,t){e&&R.hasOwnProperty(e.type)&&R[e.type](e,t)}var N={Feature:function(e,t){k(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r=0?1:-1,o=r*n,i=g(t=(t*=d)/2+l),a=E(t),u=B*a,s=I*i+u*g(o),c=u*r*E(o);z.add(m(c,s)),F=e,I=i,B=a}var X=function(e){return G.reset(),U(e,q),2*G};function K(e){return[m(e[1],e[0]),x(e[2])]}function J(e){var t=e[0],n=e[1],r=g(n);return[r*g(t),r*E(t),E(n)]}function Q(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Z(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function $(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function ee(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function te(e){var t=O(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var ne,re,oe,ie,ae,ue,se,ce,le,fe,pe=r(),de={point:he,lineStart:me,lineEnd:ge,polygonStart:function(){de.point=ye,de.lineStart=be,de.lineEnd=we,pe.reset(),q.polygonStart()},polygonEnd:function(){q.polygonEnd(),de.point=he,de.lineStart=me,de.lineEnd=ge,z<0?(ne=-(oe=180),re=-(ie=90)):pe>u?ie=90:pe<-u&&(re=-90),fe[0]=ne,fe[1]=oe}};function he(e,t){le.push(fe=[ne=e,oe=e]),tie&&(ie=t)}function ve(e,t){var n=J([e*d,t*d]);if(ce){var r=Z(ce,n),o=Z([r[1],-r[0],0],r);te(o),o=K(o);var i,a=e-ae,u=a>0?1:-1,s=o[0]*p*u,c=h(a)>180;c^(u*aeie&&(ie=i):c^(u*ae<(s=(s+360)%360-180)&&sie&&(ie=t)),c?eMe(ne,oe)&&(oe=e):Me(e,oe)>Me(ne,oe)&&(ne=e):oe>=ne?(eoe&&(oe=e)):e>ae?Me(ne,e)>Me(ne,oe)&&(oe=e):Me(e,oe)>Me(ne,oe)&&(ne=e)}else le.push(fe=[ne=e,oe=e]);tie&&(ie=t),ce=n,ae=e}function me(){de.point=ve}function ge(){fe[0]=ne,fe[1]=oe,de.point=he,ce=null}function ye(e,t){if(ce){var n=e-ae;pe.add(h(n)>180?n+(n>0?360:-360):n)}else ue=e,se=t;q.point(e,t),ve(e,t)}function be(){q.lineStart()}function we(){ye(ue,se),q.lineEnd(),h(pe)>u&&(ne=-(oe=180)),fe[0]=ne,fe[1]=oe,ce=null}function Me(e,t){return(t-=e)<0?t+360:t}function Ee(e,t){return e[0]-t[0]}function Pe(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tMe(r[0],r[1])&&(r[1]=o[1]),Me(o[0],r[1])>Me(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,t=0,r=i[n=i.length-1];t<=n;r=o,++t)o=i[t],(u=Me(r[1],o[0]))>a&&(a=u,ne=o[0],oe=r[1])}return le=fe=null,ne===1/0||re===1/0?[[NaN,NaN],[NaN,NaN]]:[[ne,re],[oe,ie]]},ze={sphere:j,point:Ge,lineStart:We,lineEnd:Ye,polygonStart:function(){ze.lineStart=Xe,ze.lineEnd=Ke},polygonEnd:function(){ze.lineStart=We,ze.lineEnd=Ye}};function Ge(e,t){e*=d;var n=g(t*=d);qe(n*g(e),n*E(e),E(t))}function qe(e,t,n){++Oe,_e+=(e-_e)/Oe,xe+=(t-xe)/Oe,Ce+=(n-Ce)/Oe}function We(){ze.point=He}function He(e,t){e*=d;var n=g(t*=d);Fe=n*g(e),Ie=n*E(e),Be=E(t),ze.point=Ve,qe(Fe,Ie,Be)}function Ve(e,t){e*=d;var n=g(t*=d),r=n*g(e),o=n*E(e),i=E(t),a=m(O((a=Ie*i-Be*o)*a+(a=Be*r-Fe*i)*a+(a=Fe*o-Ie*r)*a),Fe*r+Ie*o+Be*i);Se+=a,je+=a*(Fe+(Fe=r)),ke+=a*(Ie+(Ie=o)),Ne+=a*(Be+(Be=i)),qe(Fe,Ie,Be)}function Ye(){ze.point=Ge}function Xe(){ze.point=Je}function Ke(){Qe(Le,De),ze.point=Ge}function Je(e,t){Le=e,De=t,e*=d,t*=d,ze.point=Qe;var n=g(t);Fe=n*g(e),Ie=n*E(e),Be=E(t),qe(Fe,Ie,Be)}function Qe(e,t){e*=d;var n=g(t*=d),r=n*g(e),o=n*E(e),i=E(t),a=Ie*i-Be*o,u=Be*r-Fe*i,s=Fe*o-Ie*r,c=O(a*a+u*u+s*s),l=x(c),f=c&&-l/c;Re+=f*a,Ae+=f*u,Te+=f*s,Se+=l,je+=l*(Fe+(Fe=r)),ke+=l*(Ie+(Ie=o)),Ne+=l*(Be+(Be=i)),qe(Fe,Ie,Be)}var Ze=function(e){Oe=Se=_e=xe=Ce=je=ke=Ne=Re=Ae=Te=0,U(e,ze);var t=Re,n=Ae,r=Te,o=t*t+n*n+r*r;return o<1e-12&&(t=je,n=ke,r=Ne,Ses?e-f:e<-s?e+f:e,t]}function nt(e,t,n){return(e%=f)?t||n?et(ot(e),it(t,n)):ot(e):t||n?it(t,n):tt}function rt(e){return function(t,n){return[(t+=e)>s?t-f:t<-s?t+f:t,n]}}function ot(e){var t=rt(e);return t.invert=rt(-e),t}function it(e,t){var n=g(e),r=E(e),o=g(t),i=E(t);function a(e,t){var a=g(t),u=g(e)*a,s=E(e)*a,c=E(t),l=c*n+u*r;return[m(s*o-l*i,u*n-c*r),x(l*o+s*i)]}return a.invert=function(e,t){var a=g(t),u=g(e)*a,s=E(e)*a,c=E(t),l=c*o-s*i;return[m(s*o+c*i,u*n+l*r),x(l*n-u*r)]},a}tt.invert=tt;var at=function(e){function t(t){return(t=e(t[0]*d,t[1]*d))[0]*=p,t[1]*=p,t}return e=nt(e[0]*d,e[1]*d,e.length>2?e[2]*d:0),t.invert=function(t){return(t=e.invert(t[0]*d,t[1]*d))[0]*=p,t[1]*=p,t},t};function ut(e,t,n,r,o,i){if(n){var a=g(t),u=E(t),s=r*n;null==o?(o=t+r*f,i=t-s/2):(o=st(a,o),i=st(a,i),(r>0?oi)&&(o+=r*f));for(var c,l=o;r>0?l>i:l1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},ft=function(e,t,n,r,o,i){var a,u=e[0],s=e[1],c=0,l=1,f=t[0]-u,p=t[1]-s;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a0)){if(a/=p,p<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=i-s,p||!(a<0)){if(a/=p,p<0){if(a>l)return;a>c&&(c=a)}else if(p>0){if(a0&&(e[0]=u+c*f,e[1]=s+c*p),l<1&&(t[0]=u+l*f,t[1]=s+l*p),!0}}}}},pt=function(e,t){return h(e[0]-t[0])=0;--i)o.point((l=c[i])[0],l[1]);else r(p.x,p.p.x,-1,o);p=p.p}c=(p=p.o).z,d=!d}while(!p.v);o.lineEnd()}}};function vt(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0)do{s.point(0===l||3===l?e:n,l>1?r:t)}while((l=(l+u+4)%4)!==f);else s.point(i[0],i[1])}function a(r,o){return h(r[0]-e)0?0:3:h(r[0]-n)0?2:1:h(r[1]-t)0?1:0:o>0?3:2}function s(e,t){return c(e.x,t.x)}function c(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(a){var u,c,l,f,p,d,h,v,m,g,y,b=a,w=lt(),M={point:E,lineStart:function(){M.point=P,c&&c.push(l=[]);g=!0,m=!1,h=v=NaN},lineEnd:function(){u&&(P(f,p),d&&m&&w.rejoin(),u.push(w.result()));M.point=E,m&&b.lineEnd()},polygonStart:function(){b=w,u=[],c=[],y=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=c.length;nr&&(p-i)*(r-a)>(d-a)*(e-i)&&++t:d<=r&&(p-i)*(r-a)<(d-a)*(e-i)&&--t;return t}(),n=y&&t,o=(u=Object(mt.a)(u)).length;(n||o)&&(a.polygonStart(),n&&(a.lineStart(),i(null,null,1,a),a.lineEnd()),o&&ht(u,s,t,i,a),a.polygonEnd());b=a,u=c=l=null}};function E(e,t){o(e,t)&&b.point(e,t)}function P(i,a){var u=o(i,a);if(c&&l.push([i,a]),g)f=i,p=a,d=u,g=!1,u&&(b.lineStart(),b.point(i,a));else if(u&&m)b.point(i,a);else{var s=[h=Math.max(yt,Math.min(gt,h)),v=Math.max(yt,Math.min(gt,v))],w=[i=Math.max(yt,Math.min(gt,i)),a=Math.max(yt,Math.min(gt,a))];ft(s,w,e,t,n,r)?(m||(b.lineStart(),b.point(s[0],s[1])),b.point(w[0],w[1]),u||b.lineEnd(),y=!1):u&&(b.lineStart(),b.point(i,a),y=!1)}h=i,v=a,m=u}return M}}var wt,Mt,Et,Pt=function(){var e,t,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return e&&t===n?e:e=bt(r,o,i,a)(t=n)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],e=t=null,n):[[r,o],[i,a]]}}},Ot=r(),St=function(e,t){var n=t[0],r=t[1],o=[E(n),-g(n),0],i=0,a=0;Ot.reset();for(var c=0,p=e.length;c=0?1:-1,R=N*k,A=R>s,T=w*C;if(Ot.add(m(T*N*E(R),M*j+T*g(R))),i+=A?k+N*f:k,A^y>=n^S>=n){var L=Z(J(v),J(O));te(L);var D=Z(o,L);te(D);var F=(A^k>=0?-1:1)*x(D[2]);(r>F||r===F&&(L[0]||L[1]))&&(a+=A^k>=0?1:-1)}}return(i<-u||iu})).map(c)).concat(Object(mt.b)(y(i/v)*v,o,v).filter((function(e){return h(e%g)>u})).map(l))}return w.lines=function(){return M().map((function(e){return{type:"LineString",coordinates:e}}))},w.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(p(a).slice(1),f(n).reverse().slice(1),p(s).reverse().slice(1))]}},w.extent=function(e){return arguments.length?w.extentMajor(e).extentMinor(e):w.extentMinor()},w.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),w.precision(b)):[[r,s],[n,a]]},w.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],i=+n[0][1],o=+n[1][1],t>e&&(n=t,t=e,e=n),i>o&&(n=i,i=o,o=n),w.precision(b)):[[t,i],[e,o]]},w.step=function(e){return arguments.length?w.stepMajor(e).stepMinor(e):w.stepMinor()},w.stepMajor=function(e){return arguments.length?(m=+e[0],g=+e[1],w):[m,g]},w.stepMinor=function(e){return arguments.length?(d=+e[0],v=+e[1],w):[d,v]},w.precision=function(u){return arguments.length?(b=+u,c=Wt(i,o,90),l=Ht(t,e,b),f=Wt(s,a,90),p=Ht(r,n,b),w):b},w.extentMajor([[-180,-90+u],[180,90-u]]).extentMinor([[-180,-80-u],[180,80+u]])}function Yt(){return Vt()()}var Xt,Kt,Jt,Qt,Zt=function(e,t){var n=e[0]*d,r=e[1]*d,o=t[0]*d,i=t[1]*d,a=g(r),u=E(r),s=g(i),c=E(i),l=a*g(n),f=a*E(n),h=s*g(o),v=s*E(o),y=2*x(O(C(i-r)+a*s*C(o-n))),b=E(y),w=y?function(e){var t=E(e*=y)/b,n=E(y-e)/b,r=n*l+t*h,o=n*f+t*v,i=n*u+t*c;return[m(o,r)*p,m(i,O(r*r+o*o))*p]}:function(){return[n*p,r*p]};return w.distance=y,w},$t=function(e){return e},en=r(),tn=r(),nn={point:j,lineStart:j,lineEnd:j,polygonStart:function(){nn.lineStart=rn,nn.lineEnd=un},polygonEnd:function(){nn.lineStart=nn.lineEnd=nn.point=j,en.add(h(tn)),tn.reset()},result:function(){var e=en/2;return en.reset(),e}};function rn(){nn.point=on}function on(e,t){nn.point=an,Xt=Jt=e,Kt=Qt=t}function an(e,t){tn.add(Qt*e-Jt*t),Jt=e,Qt=t}function un(){an(Xt,Kt)}var sn=nn,cn=1/0,ln=cn,fn=-cn,pn=fn;var dn,hn,vn,mn,gn={point:function(e,t){efn&&(fn=e);tpn&&(pn=t)},lineStart:j,lineEnd:j,polygonStart:j,polygonEnd:j,result:function(){var e=[[cn,ln],[fn,pn]];return fn=pn=-(ln=cn=1/0),e}},yn=0,bn=0,wn=0,Mn=0,En=0,Pn=0,On=0,Sn=0,_n=0,xn={point:Cn,lineStart:jn,lineEnd:Rn,polygonStart:function(){xn.lineStart=An,xn.lineEnd=Tn},polygonEnd:function(){xn.point=Cn,xn.lineStart=jn,xn.lineEnd=Rn},result:function(){var e=_n?[On/_n,Sn/_n]:Pn?[Mn/Pn,En/Pn]:wn?[yn/wn,bn/wn]:[NaN,NaN];return yn=bn=wn=Mn=En=Pn=On=Sn=_n=0,e}};function Cn(e,t){yn+=e,bn+=t,++wn}function jn(){xn.point=kn}function kn(e,t){xn.point=Nn,Cn(vn=e,mn=t)}function Nn(e,t){var n=e-vn,r=t-mn,o=O(n*n+r*r);Mn+=o*(vn+e)/2,En+=o*(mn+t)/2,Pn+=o,Cn(vn=e,mn=t)}function Rn(){xn.point=Cn}function An(){xn.point=Ln}function Tn(){Dn(dn,hn)}function Ln(e,t){xn.point=Dn,Cn(dn=vn=e,hn=mn=t)}function Dn(e,t){var n=e-vn,r=t-mn,o=O(n*n+r*r);Mn+=o*(vn+e)/2,En+=o*(mn+t)/2,Pn+=o,On+=(o=mn*e-vn*t)*(vn+e),Sn+=o*(mn+t),_n+=3*o,Cn(vn=e,mn=t)}var Fn=xn;function In(e){this._context=e}In.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,f)}},result:j};var Bn,Un,zn,Gn,qn,Wn=r(),Hn={point:j,lineStart:function(){Hn.point=Vn},lineEnd:function(){Bn&&Yn(Un,zn),Hn.point=j},polygonStart:function(){Bn=!0},polygonEnd:function(){Bn=null},result:function(){var e=+Wn;return Wn.reset(),e}};function Vn(e,t){Hn.point=Yn,Un=Gn=e,zn=qn=t}function Yn(e,t){Gn-=e,qn-=t,Wn.add(O(Gn*Gn+qn*qn)),Gn=e,qn=t}var Xn=Hn;function Kn(){this._string=[]}function Jn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Kn.prototype={_circle:Jn(4.5),pointRadius:function(e){return this._circle=Jn(e),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}}};var Qn=function(e,t){var n,r,o=4.5;function i(e){return e&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),U(e,n(r))),r.result()}return i.area=function(e){return U(e,n(sn)),sn.result()},i.measure=function(e){return U(e,n(Xn)),Xn.result()},i.bounds=function(e){return U(e,n(gn)),gn.result()},i.centroid=function(e){return U(e,n(Fn)),Fn.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,$t):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new Kn):new In(t=e),"function"!==typeof o&&r.pointRadius(o),i):t},i.pointRadius=function(e){return arguments.length?(o="function"===typeof e?e:(r.pointRadius(+e),+e),i):o},i.projection(e).context(t)},Zn=function(e,t,n,r){return function(o,i){var a,u,s,c=t(i),l=o.invert(r[0],r[1]),f=lt(),p=t(f),d=!1,h={point:v,lineStart:g,lineEnd:y,polygonStart:function(){h.point=b,h.lineStart=w,h.lineEnd=M,u=[],a=[]},polygonEnd:function(){h.point=v,h.lineStart=g,h.lineEnd=y,u=Object(mt.a)(u);var e=St(a,l);u.length?(d||(i.polygonStart(),d=!0),ht(u,er,e,n,i)):e&&(d||(i.polygonStart(),d=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),d&&(i.polygonEnd(),d=!1),u=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function v(t,n){var r=o(t,n);e(t=r[0],n=r[1])&&i.point(t,n)}function m(e,t){var n=o(e,t);c.point(n[0],n[1])}function g(){h.point=m,c.lineStart()}function y(){h.point=v,c.lineEnd()}function b(e,t){s.push([e,t]);var n=o(e,t);p.point(n[0],n[1])}function w(){p.lineStart(),s=[]}function M(){b(s[0][0],s[0][1]),p.lineEnd();var e,t,n,r,o=p.clean(),c=f.result(),l=c.length;if(s.pop(),a.push(s),s=null,l)if(1&o){if((t=(n=c[0]).length-1)>0){for(d||(i.polygonStart(),d=!0),i.lineStart(),e=0;e1&&2&o&&c.push(c.pop().concat(c.shift())),u.push(c.filter($n))}return h}};function $n(e){return e.length>1}function er(e,t){return((e=e.x)[0]<0?e[1]-c-u:c-e[1])-((t=t.x)[0]<0?t[1]-c-u:c-t[1])}var tr=Zn((function(){return!0}),(function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var l=i>0?s:-s,f=h(i-n);h(f-s)0?c:-c),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(i,r),t=0):o!==l&&f>=s&&(h(n-o)u?v((E(t)*(i=g(r))*E(n)-E(r)*(o=g(t))*E(e))/(o*i*a)):(t+r)/2}(n,r,i,a),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=i,r=a),o=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var o;if(null==e)o=n*c,r.point(-s,o),r.point(0,o),r.point(s,o),r.point(s,0),r.point(s,-o),r.point(0,-o),r.point(-s,-o),r.point(-s,0),r.point(-s,o);else if(h(e[0]-t[0])>u){var i=e[0]0,o=h(n)>u;function i(e,t){return g(e)*g(t)>n}function a(e,t,r){var o=[1,0,0],i=Z(J(e),J(t)),a=Q(i,i),c=i[0],l=a-c*c;if(!l)return!r&&e;var f=n*a/l,p=-n*c/l,d=Z(o,i),v=ee(o,f);$(v,ee(i,p));var m=d,g=Q(v,m),y=Q(m,m),b=g*g-y*(Q(v,v)-1);if(!(b<0)){var w=O(b),M=ee(m,(-g-w)/y);if($(M,v),M=K(M),!r)return M;var E,P=e[0],S=t[0],_=e[1],x=t[1];S0^M[1]<(h(M[0]-P)s^(P<=M[0]&&M[0]<=S)){var k=ee(m,(-g+w)/y);return $(k,v),[M,K(k)]}}}function c(t,n){var o=r?e:s-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return Zn(i,(function(e){var t,n,l,f,p;return{lineStart:function(){f=l=!1,p=1},point:function(d,h){var v,m=[d,h],g=i(d,h),y=r?g?0:c(d,h):g?c(d+(d<0?s:-s),h):0;if(!t&&(f=l=g)&&e.lineStart(),g!==l&&(v=a(t,m),(pt(t,v)||pt(m,v))&&(m[0]+=u,m[1]+=u,g=i(m[0],m[1]))),g!==l)p=0,g?(e.lineStart(),v=a(m,t),e.point(v[0],v[1])):(v=a(t,m),e.point(v[0],v[1]),e.lineEnd()),t=v;else if(o&&t&&r^g){var b;y&n||!(b=a(m,t,!0))||(p=0,r?(e.lineStart(),e.point(b[0][0],b[0][1]),e.point(b[1][0],b[1][1]),e.lineEnd()):(e.point(b[1][0],b[1][1]),e.lineEnd(),e.lineStart(),e.point(b[0][0],b[0][1])))}!g||t&&pt(t,m)||e.point(m[0],m[1]),t=m,l=g,n=y},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return p|(f&&l)<<1}}}),(function(n,r,o,i){ut(i,e,t,o,n,r)}),r?[0,-e]:[-s,e-s])},rr=function(e){return{stream:or(e)}};function or(e){return function(t){var n=new ir;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ir(){}function ar(e,t,n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=i&&e.clipExtent(null),U(n,e.stream(gn));var a=gn.result(),u=Math.min(r/(a[1][0]-a[0][0]),o/(a[1][1]-a[0][1])),s=+t[0][0]+(r-u*(a[1][0]+a[0][0]))/2,c=+t[0][1]+(o-u*(a[1][1]+a[0][1]))/2;return null!=i&&e.clipExtent(i),e.scale(150*u).translate([s,c])}function ur(e,t,n){return ar(e,[[0,0],t],n)}ir.prototype={constructor:ir,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var sr=16,cr=g(30*d),lr=function(e,t){return+t?function(e,t){function n(r,o,i,a,s,c,l,f,p,d,v,g,y,b){var w=l-r,M=f-o,E=w*w+M*M;if(E>4*t&&y--){var P=a+d,S=s+v,_=c+g,C=O(P*P+S*S+_*_),j=x(_/=C),k=h(h(_)-1)t||h((w*T+M*L)/E-.5)>.3||a*d+s*v+c*g2?e[2]%360*d:0,N()):[y*p,b*p,w*p]},C.precision=function(e){return arguments.length?(x=lr(k,_=e*e),R()):O(_)},C.fitExtent=function(e,t){return ar(C,e,t)},C.fitSize=function(e,t){return ur(C,e,t)},function(){return t=e.apply(this,arguments),C.invert=t.invert&&j,N()}}function hr(e){var t=0,n=s/3,r=dr(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*d,n=e[1]*d):[t*p,n*p]},o}function vr(e,t){var n=E(e),r=(n+E(t))/2;if(h(r)=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?c:a).invert(e)},f.stream=function(n){return e&&t===n?e:e=function(e){var t=e.length;return{point:function(n,r){for(var o=-1;++o0?t<-c+u&&(t=-c+u):t>c-u&&(t=c-u);var n=o/M(Cr(t),r);return[n*E(r*e),o-n*g(r*e)]}return i.invert=function(e,t){var n=o-t,i=P(r)*O(e*e+n*n);return[m(e,h(n))/r*P(n),2*v(M(o/i,1/r))-c]},i}var kr=function(){return hr(jr).scale(109.5).parallels([30,30])};function Nr(e,t){return[e,t]}Nr.invert=Nr;var Rr=function(){return pr(Nr).scale(152.63)};function Ar(e,t){var n=g(e),r=e===t?E(e):(n-g(t))/(t-e),o=n/r+e;if(h(r)2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)}},aqGn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n1?this.handleMouseDown(t[0]):this.handleMouseUp()}},{key:"preventTouchScroll",value:function(e){e.touches.length>1&&e.preventDefault()}},{key:"componentWillReceiveProps",value:function(e){var t=this.state,n=t.mouseX,r=t.mouseY,o=t.resizeFactorX,i=t.resizeFactorY,a=this.props,s=(a.projection,a.center),c=a.zoom,l=e.zoom/c,f=JSON.stringify(e.center)!==JSON.stringify(s);this.setState({zoom:e.zoom,mouseX:f?(0,u.calculateMousePosition)("x",e.projection,e,e.zoom,o):n*l,mouseY:f?(0,u.calculateMousePosition)("y",e.projection,e,e.zoom,i):r*l})}},{key:"handleResize",value:function(){var e=this.props,t=e.width,n=e.height,r=(e.projection,e.zoom,(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().width,t)),o=(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().height,n),i=1/r*this.state.resizeFactorX,a=1/o*this.state.resizeFactorY;this.setState({resizeFactorX:r,resizeFactorY:o,mouseX:this.state.mouseX*i,mouseY:this.state.mouseY*a})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.width,n=e.height,r=e.projection,o=e.zoom,i=(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().width,t),a=(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().height,n);this.setState({resizeFactorX:i,resizeFactorY:a,mouseX:(0,u.calculateMousePosition)("x",r,this.props,o,i),mouseY:(0,u.calculateMousePosition)("y",r,this.props,o,a)}),window.addEventListener("resize",this.handleResize),window.addEventListener("mouseup",this.handleMouseUp),this.zoomableGroupNode.addEventListener("touchmove",this.preventTouchScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("mouseup",this.handleMouseUp),this.zoomableGroupNode.removeEventListener("touchmove",this.preventTouchScroll)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,o=t.zoom,i=t.style,s=(t.projection,t.children),c=this.state,l=c.mouseX,f=c.mouseY,p=c.resizeFactorX,d=c.resizeFactorY;return a.default.createElement("g",{className:"rsm-zoomable-group",ref:function(t){return e.zoomableGroupNode=t},transform:"\n translate(\n "+Math.round(100*(n/2+p*l))/100+"\n "+Math.round(100*(r/2+d*f))/100+"\n )\n scale("+o+")\n translate("+-n/2+" "+-r/2+")\n ",onMouseMove:this.handleMouseMove,onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleMouseUp,style:i},a.default.createElement("rect",{x:this.state.backdrop.x,y:this.state.backdrop.y,width:this.state.backdrop.width,height:this.state.backdrop.height,fill:"transparent",style:{strokeWidth:0}}),(0,u.createNewChildren)(s,this.props))}}]),t}(i.Component);s.defaultProps={center:[0,0],backdrop:{x:[-179.9,179.9],y:[89.9,-89.9]},zoom:1,disablePanning:!1},t.default=s},bIsL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:n.center,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:n.width,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:n.height,s={x:0,y:1},c=!!t.rotate,l=!!c&&t.rotate().map((function(e){return-e})),f=l?t.rotate(l)([-i[0],-i[1]]):t([i[0],i[1]]),p=f?(f[s[e]]-(0===s[e]?a:u)/2)*r*(1/o):0;c&&t.rotate([-l[0],-l[1],-l[2]]);return l?p:-p},t.isChildOfType=a,t.createNewChildren=function(e,t){if(!e)return;return e.length?e.map((function(e,n){if(e)return a(e,["Geographies"])?i.default.cloneElement(e,{key:"zoomable-child-"+n,projection:t.projection}):a(e,["Group","Markers","Lines","Annotations","Annotation","Graticule"])?i.default.cloneElement(e,{key:"zoomable-child-"+n,projection:t.projection,zoom:t.zoom,width:t.width,height:t.height,groupName:t.groupName,itemName:t.itemName}):e})):a(e,["Geographies"])?i.default.cloneElement(e,{projection:t.projection}):a(e,["Group","Markers","Lines","Annotations","Annotation","Graticule"])?i.default.cloneElement(e,{projection:t.projection,zoom:t.zoom,width:t.width,height:t.height,groupName:t.groupName,itemName:t.itemName}):e},t.roundPath=function(e,t){if(!e)return;return e.replace(/[\d\.-][\d\.e-]*/g,(function(e){return Math.round(e*(1/t))/(1/t)}))},t.createConnectorPath=function(e,t,n){var r=t[0],o=t[1];return"M0,0 Q "+(n+1)/2*r+","+(o-(n+1)/2*o)+" "+r+","+o},t.createTextAnchor=function(e){return e>0?"start":e<0?"end":"middle"},t.computeBackdrop=function(e,t){var n=e.rotate,r=n?e.rotate():null,o=n?e.rotate([0,0,0])([t.x[0],t.y[0]]):e([t.x[0],t.y[0]]),i=n?e.rotate([0,0,0])([t.x[1],t.y[1]]):e([t.x[1],t.y[1]]),a=o?o[0]:0,u=i?i[0]:0,s=o?o[1]:0,c=i?i[1]:0,l=u-a,f=c-s;r&&e.rotate(r);return{x:a,y:s,width:l,height:f}};var r,o=n("q1tI"),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){return-1!==t.indexOf(e.props.componentIdentifier)}},cWyK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("/rf6");function o(e,t,n){if(null!==e)for(var r,i,a,u,s,c,l,f,p=0,d=0,h=e.type,v="FeatureCollection"===h,m="Feature"===h,g=v?e.features.length:1,y=0;yc||d>l||h>f)return s=o,c=n,l=d,f=h,void(a=0);var v=r.lineString([s,o],e.properties);if(!1===t(v,n,i,h,a))return!1;a++,s=o}))&&void 0}}}))}function l(e,t){if(!e)throw new Error("geojson is required");s(e,(function(e,n,o){if(null!==e.geometry){var i=e.geometry.type,a=e.geometry.coordinates;switch(i){case"LineString":if(!1===t(e,n,o,0,0))return!1;break;case"Polygon":for(var u=0;uy;return a.default.createElement("g",{className:"rsm-marker"+(d?" rsm-marker--pressed":"")+(h?" rsm-marker--hover":""),transform:"translate(\n "+m[0]+"\n "+m[1]+"\n ) "+v,style:r[b?"hidden":d||h?d?"pressed":"hover":"default"],onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.handleMouseClick,onMouseMove:this.handleMouseMove,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:o?0:-1},s)}}]),t}(i.Component);s.defaultProps={style:{default:{},hover:{},pressed:{}},marker:{coordinates:[0,0]},tabable:!0,preserveMarkerAspect:!0},t.default=s},egBM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["groupName","itemName","componentIdentifier"]));return o.default.createElement(i.default,r({groupName:t,itemName:n},a))};u.defaultProps={componentIdentifier:"Markers",groupName:"markers",itemName:"marker"},t.default=u},endd:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},eqyj:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},fJyB:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("TSYQ"),a=n.n(i),u=n("8Kt/"),s=n.n(u),c=o.a.createElement,l=function(e){var t=e.title,n=e.description;return c(s.a,null,c("title",{key:"title"},t?"".concat(t," | Supply chain"):"Supply chain"),c("meta",{key:"description",name:"description",content:n||"Tool to generate flow map images for Mongabay."}))};l.defaultProps={title:null,description:null};var f=l,p=o.a.createElement,d=function(){return p("svg",{"aria-hidden":"true",style:{position:"absolute",width:0,height:0,overflow:"hidden"},version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},p("defs",null,p("symbol",{id:"icon-close",viewBox:"0 0 9 9"},p("title",null,"Close"),p("path",{d:"M7.41.839l1.087 1.087-7.07 7.071L.338 7.91z"}),p("path",{d:"M8.498 7.91L7.41 8.998.339 1.927 1.427.839z"})),p("symbol",{id:"icon-bottom-arrow",viewBox:"0 0 15 15"},p("title",null,"Bottom arrow"),p("path",{strokeWidth:"2",d:"M3 5l4.5 5L12 5",fill:"none"})),p("symbol",{id:"icon-eye",viewBox:"0 0 22 15"},p("title",null,"Visible"),p("path",{d:"M11 0C6 0 1.73 3.11 0 7.5 1.73 11.89 6 15 11 15s9.27-3.11 11-7.5C20.27 3.11 16 0 11 0zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})),p("symbol",{id:"icon-slashed-eye",viewBox:"0 0 23 21"},p("title",null,"Hidden"),p("path",{d:"M22.763 9.992a18.948 18.948 0 0 0-3.133-3.619L8.367 17.637c.997.324 2.039.493 3.088.5 6.75 0 11.125-6.838 11.308-7.13a.955.955 0 0 0 0-1.015zM21.674.28a.955.955 0 0 0-1.349 0l-3.873 3.873a10.746 10.746 0 0 0-4.997-1.29C4.705 2.864.329 9.702.146 9.994a.955.955 0 0 0 0 1.015 19.027 19.027 0 0 0 4.638 4.813L2.19 18.416a.955.955 0 1 0 1.349 1.35L21.674 1.629a.955.955 0 0 0 0-1.35zM7.636 10.5a3.818 3.818 0 0 1 3.819-3.818 3.708 3.708 0 0 1 1.92.548l-5.19 5.19a3.717 3.717 0 0 1-.549-1.92z"})),p("symbol",{id:"icon-opacity",viewBox:"0 0 16 16"},p("title",null,"Opacity"),p("path",{d:"M7 0v15.876A8.001 8.001 0 0 1 7 0zm5.001 1.009v13.858a7.95 7.95 0 0 1-2 .819V.19a7.95 7.95 0 0 1 2 .819zm2 1.639A7.97 7.97 0 0 1 16 7.938a7.97 7.97 0 0 1-1.999 5.29V2.648z"}))))},h=(n("03wo"),o.a.createElement),v=function(e){var t=e.className,n=e.children;return h("div",{className:a()("l-simple-page",t)},h(f,null),h("main",{className:"l-static-page"},h("img",{src:"".concat((void 0,""),"/images/mongabay-horizontal.jpg"),alt:"Mongabay",className:"logo"}),n),h(d,null))};v.defaultProps={className:null};var m=v,g=n("/MKj"),y=n("yeIB"),b=n("o0o1"),w=n.n(b),M=n("+XsK"),E=n("KQm4"),P=n("17x9"),O=n.n(P),S=(n("90j9"),o.a.createElement),_=Object(r.forwardRef)((function(e,t){var n=e.id,r=e.name,o=e.disabled,i=e.checked,a=e.onChange,u=e.children,s=e.className;return S("div",{ref:t,className:["custom-control","custom-radio","c-radio"].concat(Object(E.a)(s?[s]:[])).join(" ")},S("input",{type:"radio",className:"custom-control-input",disabled:o,id:n,name:r,checked:i,onChange:a}),S("label",{className:"custom-control-label",htmlFor:n},u))}));_.propTypes={id:O.a.string.isRequired,name:O.a.string.isRequired,disabled:O.a.bool,checked:O.a.bool,onChange:O.a.func,children:O.a.node.isRequired,className:O.a.string},_.defaultProps={disabled:!1,checked:!1,onChange:null,className:null};n("Wfic");var x=o.a.createElement,C=function(e){var t=e.id,n=e.name,r=e.disabled,o=e.checked,i=e.onChange,a=e.children,u=e.className;return x("div",{className:["custom-control","custom-checkbox","c-checkbox"].concat(Object(E.a)(u?[u]:[])).join(" ")},x("input",{type:"checkbox",className:"custom-control-input",disabled:r,id:t,name:n,checked:o,onChange:i}),x("label",{className:"custom-control-label",htmlFor:t},a))};C.defaultProps={disabled:!1,checked:!1,onChange:null,className:null};n("wTXl");var j=o.a.createElement,k=function(e){var t=e.id,n=e.options,o=e.defaultValue,i=e.value,a=e.onChange,u=e.disabled,s=e["aria-label"],c=e["aria-describedby"],l=e.className,f=e.required,p=Object(r.useCallback)((function(e){var t=n.find((function(t){return t.value===e.target.selectedOptions[0].value}));a(t)}),[n,a]);return j("select",{id:t,className:["c-select","custom-select"].concat(Object(E.a)(l?[l]:[])).join(" "),disabled:u,"aria-label":s,"aria-describedby":c,defaultValue:o,value:i,onChange:p,required:f},n.map((function(e){return j("option",{key:e.value,value:e.value,disabled:e.disabled},e.label)})))};k.defaultProps={defaultValue:void 0,value:void 0,onChange:function(){return null},disabled:!1,"aria-label":null,"aria-describedby":null,className:void 0,required:!1};var N=k,R=n("rePB"),A=o.a.createElement,T=function(e){var t=e.id,n=e.defaultValue,r=e.value,o=e.min,i=e.max,u=e["aria-label"],s=e.className,c=e.required,l=e.disabled,f=e.onChange;return A("input",{type:"date",id:t,className:a()("c-datepicker","form-control",Object(R.a)({},s,!!s)),defaultValue:n,value:r,min:o,max:i,pattern:"\\d{4}-\\d{2}-\\d{2}","aria-label":u,required:c,disabled:l,onChange:f})};T.defaultProps={className:void 0,defaultValue:void 0,value:void 0,min:void 0,max:void 0,"aria-label":void 0,required:!1,disabled:!1,onChange:function(){return null}};n("DMuj");var L=o.a.createElement,D=function(e){var t=e.id,n=e.defaultValue,r=e.value,o=e.min,i=e.max,u=e.step,s=e["aria-label"],c=e.className,l=e.required,f=e.disabled,p=e.marks,d=e.onChange;return L("div",{className:"c-range"},L("input",{type:"range",id:t,className:a()("custom-range",Object(R.a)({},c,!!c)),defaultValue:n,value:r,min:o,max:i,step:u,"aria-label":s,required:l,disabled:f,onChange:d}),p&&L("div",{className:"marks"},p.map((function(e){return L("span",{key:e,"data-label":e})}))))};D.defaultProps={className:void 0,defaultValue:void 0,value:void 0,min:void 0,max:void 0,step:void 0,"aria-label":void 0,required:!1,disabled:!1,marks:void 0,onChange:function(){return null}};function F(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function I(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function B(e){var t=I(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function U(e){return e instanceof I(e).Element||e instanceof Element}function z(e){return e instanceof I(e).HTMLElement||e instanceof HTMLElement}function G(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){return(U(e)?e.ownerDocument:e.document).documentElement}function W(e){return F(q(e)).left+B(e).scrollLeft}function H(e){return I(e).getComputedStyle(e)}function V(e){var t=H(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Y(e,t,n){void 0===n&&(n=!1);var r=q(t),o=F(e),i=z(t),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==G(t)||V(r))&&(a=function(e){return e!==I(e)&&z(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:B(e);var t}(t)),z(t)?((u=F(t)).x+=t.clientLeft,u.y+=t.clientTop):r&&(u.x=W(r))),{x:o.left+a.scrollLeft-u.x,y:o.top+a.scrollTop-u.y,width:o.width,height:o.height}}function X(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function K(e){return"html"===G(e)?e:e.assignedSlot||e.parentNode||e.host||q(e)}function J(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(G(t))>=0?t.ownerDocument.body:z(t)&&V(t)?t:e(K(t))}(e),r="body"===G(n),o=I(n),i=r?[o].concat(o.visualViewport||[],V(n)?n:[]):n,a=t.concat(i);return r?a:a.concat(J(K(i)))}function Q(e){return["table","td","th"].indexOf(G(e))>=0}function Z(e){if(!z(e)||"fixed"===H(e).position)return null;var t=e.offsetParent;if(t){var n=q(t);if("body"===G(t)&&"static"===H(t).position&&"static"!==H(n).position)return n}return t}function $(e){for(var t=I(e),n=Z(e);n&&Q(n)&&"static"===H(n).position;)n=Z(n);return n&&"body"===G(n)&&"static"===H(n).position?t:n||function(e){for(var t=K(e);z(t)&&["html","body"].indexOf(G(t))<0;){var n=H(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var ee="top",te="bottom",ne="right",re="left",oe="auto",ie=[ee,te,ne,re],ae="start",ue="end",se="clippingParents",ce="viewport",le="popper",fe="reference",pe=ie.reduce((function(e,t){return e.concat([t+"-"+ae,t+"-"+ue])}),[]),de=[].concat(ie,[oe]).reduce((function(e,t){return e.concat([t,t+"-"+ae,t+"-"+ue])}),[]),he=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ve(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}function me(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ge={placement:"bottom",modifiers:[],strategy:"absolute"};function ye(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Oe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Me(o):null,a=o?Ee(o):null,u=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case ee:t={x:u,y:n.y-r.height};break;case te:t={x:u,y:n.y+n.height};break;case ne:t={x:n.x+n.width,y:s};break;case re:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?Pe(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case ae:t[c]=Math.floor(t[c])-Math.floor(n[l]/2-r[l]/2);break;case ue:t[c]=Math.floor(t[c])+Math.ceil(n[l]/2-r[l]/2)}}return t}var Se={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _e(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,a=e.position,u=e.gpuAcceleration,s=e.adaptive,c=function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(i),l=c.x,f=c.y,p=i.hasOwnProperty("x"),d=i.hasOwnProperty("y"),h=re,v=ee,m=window;if(s){var g=$(n);g===I(n)&&(g=q(n)),o===ee&&(v=te,f-=g.clientHeight-r.height,f*=u?1:-1),o===re&&(h=ne,l-=g.clientWidth-r.width,l*=u?1:-1)}var y,b=Object.assign({position:a},s&&Se);return u?Object.assign(Object.assign({},b),{},((y={})[v]=d?"0":"",y[h]=p?"0":"",y.transform=(m.devicePixelRatio||1)<2?"translate("+l+"px, "+f+"px)":"translate3d("+l+"px, "+f+"px, 0)",y)):Object.assign(Object.assign({},b),{},((t={})[v]=d?f+"px":"",t[h]=p?l+"px":"",t.transform="",t))}var xe={left:"right",right:"left",bottom:"top",top:"bottom"};function Ce(e){return e.replace(/left|right|bottom|top/g,(function(e){return xe[e]}))}var je={start:"end",end:"start"};function ke(e){return e.replace(/start|end/g,(function(e){return je[e]}))}function Ne(e,t){var n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Re(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ae(e,t){return t===ce?Re(function(e){var t=I(e),n=q(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+W(e),y:u}}(e)):z(t)?function(e){var t=F(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Re(function(e){var t=q(e),n=B(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+W(e),u=-n.scrollTop;return"rtl"===H(r||t).direction&&(a+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:a,y:u}}(q(e)))}function Te(e,t,n){var r="clippingParents"===t?function(e){var t=J(K(e)),n=["absolute","fixed"].indexOf(H(e).position)>=0&&z(e)?$(e):e;return U(n)?t.filter((function(e){return U(e)&&Ne(e,n)&&"body"!==G(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Ae(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),Ae(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Le(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function De(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?se:i,u=n.rootBoundary,s=void 0===u?ce:u,c=n.elementContext,l=void 0===c?le:c,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,h=void 0===d?0:d,v=Le("number"!==typeof h?h:De(h,ie)),m=l===le?fe:le,g=e.elements.reference,y=e.rects.popper,b=e.elements[p?m:l],w=Te(U(b)?b:b.contextElement||q(e.elements.popper),a,s),M=F(g),E=Oe({reference:M,element:y,strategy:"absolute",placement:o}),P=Re(Object.assign(Object.assign({},y),E)),O=l===le?P:M,S={top:w.top-O.top+v.top,bottom:O.bottom-w.bottom+v.bottom,left:w.left-O.left+v.left,right:O.right-w.right+v.right},_=e.modifiersData.offset;if(l===le&&_){var x=_[o];Object.keys(S).forEach((function(e){var t=[ne,te].indexOf(e)>=0?1:-1,n=[ee,te].indexOf(e)>=0?"y":"x";S[e]+=x[n]*t}))}return S}function Ie(e,t,n){return Math.max(e,Math.min(t,n))}function Be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ue(e){return[ee,ne,te,re].some((function(t){return e[t]>=0}))}var ze=be({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,s=I(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,we)})),u&&s.addEventListener("resize",n.update,we),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,we)})),u&&s.removeEventListener("resize",n.update,we)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,u={placement:Me(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),_e(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),_e(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];z(o)&&G(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});z(r)&&G(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=de.reduce((function(e,n){return e[n]=function(e,t,n){var r=Me(e),o=[re,ee].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,a=i[0],u=i[1];return a=a||0,u=(u||0)*o,[re,ne].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}(n,t.rects,i),e}),{}),u=a[t.placement],s=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0===a||a,s=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,g=Me(m),y=s||(g===m||!h?[Ce(m)]:function(e){if(Me(e)===oe)return[];var t=Ce(e);return[ke(e),t,ke(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(Me(n)===oe?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,u=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?de:s,l=Ee(r),f=l?u?pe:pe.filter((function(e){return Ee(e)===l})):ie,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Me(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,M=t.rects.popper,E=new Map,P=!0,O=b[0],S=0;S=0,k=j?"width":"height",N=Fe(t,{placement:_,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),R=j?C?ne:re:C?te:ee;w[k]>M[k]&&(R=Ce(R));var A=Ce(R),T=[];if(i&&T.push(N[x]<=0),u&&T.push(N[R]<=0,N[A]<=0),T.every((function(e){return e}))){O=_,P=!1;break}E.set(_,T)}if(P)for(var L=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},D=h?3:1;D>0;D--){if("break"===L(D))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=Fe(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:l}),g=Me(t.placement),y=Ee(t.placement),b=!y,w=Pe(g),M="x"===w?"y":"x",E=t.modifiersData.popperOffsets,P=t.rects.reference,O=t.rects.popper,S="function"===typeof v?v(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):v,_={x:0,y:0};if(E){if(i){var x="y"===w?ee:re,C="y"===w?te:ne,j="y"===w?"height":"width",k=E[w],N=E[w]+m[x],R=E[w]-m[C],A=d?-O[j]/2:0,T=y===ae?P[j]:O[j],L=y===ae?-O[j]:-P[j],D=t.elements.arrow,F=d&&D?X(D):{width:0,height:0},I=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=I[x],U=I[C],z=Ie(0,P[j],F[j]),G=b?P[j]/2-A-z-B-S:T-z-B-S,q=b?-P[j]/2+A+z+U+S:L+z+U+S,W=t.elements.arrow&&$(t.elements.arrow),H=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,V=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,Y=E[w]+G-V-H,K=E[w]+q-V,J=Ie(d?Math.min(N,Y):N,k,d?Math.max(R,K):R);E[w]=J,_[w]=J-k}if(u){var Q="x"===w?ee:re,Z="x"===w?te:ne,oe=E[M],ie=Ie(oe+m[Q],oe,oe-m[Z]);E[M]=ie,_[M]=ie-oe}t.modifiersData[r]=_}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Me(n.placement),u=Pe(a),s=[re,ne].indexOf(a)>=0?"height":"width";if(o&&i){var c=n.modifiersData[r+"#persistent"].padding,l=X(o),f="y"===u?ee:re,p="y"===u?te:ne,d=n.rects.reference[s]+n.rects.reference[u]-i[u]-n.rects.popper[s],h=i[u]-n.rects.reference[u],v=$(o),m=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,g=d/2-h/2,y=c[f],b=m-l[s]-c[p],w=m/2-l[s]/2+g,M=Ie(y,w,b),E=u;n.modifiersData[r]=((t={})[E]=M,t.centerOffset=M-w,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,u=void 0===a?0:a;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i)))&&Ne(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:Le("number"!==typeof u?u:De(u,ie))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Fe(t,{elementContext:"reference"}),u=Fe(t,{altBoundary:!0}),s=Be(a,r),c=Be(u,o,i),l=Ue(s),f=Ue(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Ge="tippy-box",qe="tippy-content",We="tippy-backdrop",He="tippy-arrow",Ve="tippy-svg-arrow",Ye={passive:!0,capture:!0};function Xe(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ke(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Je(e,t){return"function"===typeof e?e.apply(void 0,t):e}function Qe(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ze(e){return[].concat(e)}function $e(e,t){-1===e.indexOf(t)&&e.push(t)}function et(e){return e.split("-")[0]}function tt(e){return[].slice.call(e)}function nt(){return document.createElement("div")}function rt(e){return["Element","Fragment"].some((function(t){return Ke(e,t)}))}function ot(e){return Ke(e,"MouseEvent")}function it(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function at(e){return rt(e)?[e]:function(e){return Ke(e,"NodeList")}(e)?tt(e):Array.isArray(e)?e:tt(document.querySelectorAll(e))}function ut(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function st(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function ct(e){var t=Ze(e)[0];return t&&t.ownerDocument||document}function lt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var ft={isTouch:!1},pt=0;function dt(){ft.isTouch||(ft.isTouch=!0,window.performance&&document.addEventListener("mousemove",ht))}function ht(){var e=performance.now();e-pt<20&&(ft.isTouch=!1,document.removeEventListener("mousemove",ht)),pt=e}function vt(){var e=document.activeElement;if(it(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var mt="undefined"!==typeof window&&"undefined"!==typeof document?navigator.userAgent:"",gt=/MSIE |Trident\//.test(mt);var yt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},bt=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},yt,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),wt=Object.keys(bt);function Mt(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,o=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:o),t}),{});return Object.assign({},e,{},t)}function Et(e,t){var n=Object.assign({},t,{content:Je(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Mt(Object.assign({},bt,{plugins:t}))):wt).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(o){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},bt.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var Pt=function(){return"innerHTML"};function Ot(e,t){e[Pt()]=t}function St(e){var t=nt();return!0===e?t.className=He:(t.className=Ve,rt(e)?t.appendChild(e):Ot(t,e)),t}function _t(e,t){rt(t.content)?(Ot(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?Ot(e,t.content):e.textContent=t.content)}function xt(e){var t=e.firstElementChild,n=tt(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(qe)})),arrow:n.find((function(e){return e.classList.contains(He)||e.classList.contains(Ve)})),backdrop:n.find((function(e){return e.classList.contains(We)}))}}function Ct(e){var t=nt(),n=nt();n.className=Ge,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=nt();function o(n,r){var o=xt(t),i=o.box,a=o.content,u=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"===typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"===typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||_t(a,e.props),r.arrow?u?n.arrow!==r.arrow&&(i.removeChild(u),i.appendChild(St(r.arrow))):i.appendChild(St(r.arrow)):u&&i.removeChild(u)}return r.className=qe,r.setAttribute("data-state","hidden"),_t(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Ct.$$tippy=!0;var jt=1,kt=[],Nt=[];function Rt(e,t){var n,r,o,i,a,u,s,c,l,f=Et(e,Object.assign({},bt,{},Mt((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),p=!1,d=!1,h=!1,v=!1,m=[],g=Qe(X,f.interactiveDebounce),y=ct(f.triggerTarget||e),b=jt++,w=(l=f.plugins).filter((function(e,t){return l.indexOf(e)===t})),M={id:b,reference:e,popper:nt(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:w,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){0;if(M.state.isDestroyed)return;T("onBeforeUpdate",[M,t]),V();var n=M.props,r=Et(e,Object.assign({},M.props,{},t,{ignoreAttributes:!0}));M.props=r,H(),n.interactiveDebounce!==r.interactiveDebounce&&(F(),g=Qe(X,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ze(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");D(),A(),O&&O(n,r);M.popperInstance&&(Z(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));T("onAfterUpdate",[M,t])},setContent:function(e){M.setProps({content:e})},show:function(){0;var e=M.state.isVisible,t=M.state.isDestroyed,n=!M.state.isEnabled,r=ft.isTouch&&!M.props.touch,o=Xe(M.props.duration,0,bt.duration);if(e||t||n||r)return;if(k().hasAttribute("disabled"))return;if(T("onShow",[M],!1),!1===M.props.onShow(M))return;M.state.isVisible=!0,j()&&(P.style.visibility="visible");A(),z(),M.state.isMounted||(P.style.transition="none");if(j()){var i=N(),a=i.box,u=i.content;ut([a,u],0)}s=function(){if(M.state.isVisible&&!v){if(v=!0,P.offsetHeight,P.style.transition=M.props.moveTransition,j()&&M.props.animation){var e=N(),t=e.box,n=e.content;ut([t,n],o),st([t,n],"visible")}L(),D(),$e(Nt,M),M.state.isMounted=!0,T("onMount",[M]),M.props.animation&&j()&&function(e,t){q(e,t)}(o,(function(){M.state.isShown=!0,T("onShown",[M])}))}},function(){var e,t=M.props.appendTo,n=k();e=M.props.interactive&&t===bt.appendTo||"parent"===t?n.parentNode:Je(t,[n]);e.contains(P)||e.appendChild(P);Z(),!1}()},hide:function(){0;var e=!M.state.isVisible,t=M.state.isDestroyed,n=!M.state.isEnabled,r=Xe(M.props.duration,1,bt.duration);if(e||t||n)return;if(T("onHide",[M],!1),!1===M.props.onHide(M))return;M.state.isVisible=!1,M.state.isShown=!1,v=!1,p=!1,j()&&(P.style.visibility="hidden");if(F(),G(),A(),j()){var o=N(),i=o.box,a=o.content;M.props.animation&&(ut([i,a],r),st([i,a],"hidden"))}L(),D(),M.props.animation?j()&&function(e,t){q(e,(function(){!M.state.isVisible&&P.parentNode&&P.parentNode.contains(P)&&t()}))}(r,M.unmount):M.unmount()},hideWithInteractivity:function(e){0;y.addEventListener("mousemove",g),$e(kt,g),g(e)},enable:function(){M.state.isEnabled=!0},disable:function(){M.hide(),M.state.isEnabled=!1},unmount:function(){0;M.state.isVisible&&M.hide();if(!M.state.isMounted)return;$(),ee().forEach((function(e){e._tippy.unmount()})),P.parentNode&&P.parentNode.removeChild(P);Nt=Nt.filter((function(e){return e!==M})),M.state.isMounted=!1,T("onHidden",[M])},destroy:function(){0;if(M.state.isDestroyed)return;M.clearDelayTimeouts(),M.unmount(),V(),delete e._tippy,M.state.isDestroyed=!0,T("onDestroy",[M])}};if(!f.render)return M;var E=f.render(M),P=E.popper,O=E.onUpdate;P.setAttribute("data-tippy-root",""),P.id="tippy-"+M.id,M.popper=P,e._tippy=M,P._tippy=M;var S=w.map((function(e){return e.fn(M)})),_=e.hasAttribute("aria-expanded");return H(),D(),A(),T("onCreate",[M]),f.showOnCreate&&te(),P.addEventListener("mouseenter",(function(){M.props.interactive&&M.state.isVisible&&M.clearDelayTimeouts()})),P.addEventListener("mouseleave",(function(e){M.props.interactive&&M.props.trigger.indexOf("mouseenter")>=0&&(y.addEventListener("mousemove",g),g(e))})),M;function x(){var e=M.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===x()[0]}function j(){var e;return!!(null==(e=M.props.render)?void 0:e.$$tippy)}function k(){return c||e}function N(){return xt(P)}function R(e){return M.state.isMounted&&!M.state.isVisible||ft.isTouch||a&&"focus"===a.type?0:Xe(M.props.delay,e?0:1,bt.delay)}function A(){P.style.pointerEvents=M.props.interactive&&M.state.isVisible?"":"none",P.style.zIndex=""+M.props.zIndex}function T(e,t,n){var r;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=M.props)[e].apply(r,t)}function L(){var t=M.props.aria;if(t.content){var n="aria-"+t.content,r=P.id;Ze(M.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(M.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function D(){!_&&M.props.aria.expanded&&Ze(M.props.triggerTarget||e).forEach((function(e){M.props.interactive?e.setAttribute("aria-expanded",M.state.isVisible&&e===k()?"true":"false"):e.removeAttribute("aria-expanded")}))}function F(){y.removeEventListener("mousemove",g),kt=kt.filter((function(e){return e!==g}))}function I(e){if((!ft.isTouch||!h&&"mousedown"!==e.type)&&(!M.props.interactive||!P.contains(e.target))){if(k().contains(e.target)){if(ft.isTouch)return;if(M.state.isVisible&&M.props.trigger.indexOf("click")>=0)return}else T("onClickOutside",[M,e]);!0===M.props.hideOnClick&&(M.clearDelayTimeouts(),M.hide(),d=!0,setTimeout((function(){d=!1})),M.state.isMounted||G())}}function B(){h=!0}function U(){h=!1}function z(){y.addEventListener("mousedown",I,!0),y.addEventListener("touchend",I,Ye),y.addEventListener("touchstart",U,Ye),y.addEventListener("touchmove",B,Ye)}function G(){y.removeEventListener("mousedown",I,!0),y.removeEventListener("touchend",I,Ye),y.removeEventListener("touchstart",U,Ye),y.removeEventListener("touchmove",B,Ye)}function q(e,t){var n=N().box;function r(e){e.target===n&&(lt(n,"remove",r),t())}if(0===e)return t();lt(n,"remove",u),lt(n,"add",r),u=r}function W(t,n,r){void 0===r&&(r=!1),Ze(M.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function H(){var e;C()&&(W("touchstart",Y,{passive:!0}),W("touchend",K,{passive:!0})),(e=M.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(W(e,Y),e){case"mouseenter":W("mouseleave",K);break;case"focus":W(gt?"focusout":"blur",J);break;case"focusin":W("focusout",J)}}))}function V(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),m=[]}function Y(e){var t,n=!1;if(M.state.isEnabled&&!Q(e)&&!d){var r="focus"===(null==(t=a)?void 0:t.type);a=e,c=e.currentTarget,D(),!M.state.isVisible&&ot(e)&&kt.forEach((function(t){return t(e)})),"click"===e.type&&(M.props.trigger.indexOf("mouseenter")<0||p)&&!1!==M.props.hideOnClick&&M.state.isVisible?n=!0:te(e),"click"===e.type&&(p=!n),n&&!r&&ne(e)}}function X(e){var t=e.target,n=k().contains(t)||P.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=et(o.placement),u=o.modifiersData.offset;if(!u)return!0;var s="bottom"===a?u.top.y:0,c="top"===a?u.bottom.y:0,l="right"===a?u.left.x:0,f="left"===a?u.right.x:0,p=t.top-r+s>i,d=r-t.bottom-c>i,h=t.left-n+l>i,v=n-t.right-f>i;return p||d||h||v}))}(ee().concat(P).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),e)&&(F(),ne(e))}function K(e){Q(e)||M.props.trigger.indexOf("click")>=0&&p||(M.props.interactive?M.hideWithInteractivity(e):ne(e))}function J(e){M.props.trigger.indexOf("focusin")<0&&e.target!==k()||M.props.interactive&&e.relatedTarget&&P.contains(e.relatedTarget)||ne(e)}function Q(e){return!!ft.isTouch&&C()!==e.type.indexOf("touch")>=0}function Z(){$();var t=M.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=j()?xt(P).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||k()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=N().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];j()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),M.popperInstance=ze(c,P,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function $(){M.popperInstance&&(M.popperInstance.destroy(),M.popperInstance=null)}function ee(){return tt(P.querySelectorAll("[data-tippy-root]"))}function te(e){M.clearDelayTimeouts(),e&&T("onTrigger",[M,e]),z();var t=R(!0),n=x(),o=n[0],i=n[1];ft.isTouch&&"hold"===o&&i&&(t=i),t?r=setTimeout((function(){M.show()}),t):M.show()}function ne(e){if(M.clearDelayTimeouts(),T("onUntrigger",[M,e]),M.state.isVisible){if(!(M.props.trigger.indexOf("mouseenter")>=0&&M.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=R(!1);t?o=setTimeout((function(){M.state.isVisible&&M.hide()}),t):i=requestAnimationFrame((function(){M.hide()}))}}else G()}}function At(e,t){void 0===t&&(t={});var n=bt.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",dt,Ye),window.addEventListener("blur",vt);var r=Object.assign({},t,{plugins:n}),o=at(e).reduce((function(e,t){var n=t&&Rt(t,r);return n&&e.push(n),e}),[]);return rt(e)?o[0]:o}At.defaultProps=bt,At.setDefaultProps=function(e){Object.keys(e).forEach((function(t){bt[t]=e[t]}))},At.currentInput=ft;var Tt={clientX:0,clientY:0},Lt=[];function Dt(e){var t=e.clientX,n=e.clientY;Tt={clientX:t,clientY:n}}var Ft={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=ct(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function u(){return"initial"===e.props.followCursor&&e.state.isVisible}function s(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,u=t.getBoundingClientRect(),s=i-u.left,c=a-u.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+s,r=e.top+c);var u="horizontal"===o?e.top:r,l="vertical"===o?e.right:n,f="horizontal"===o?e.bottom:r,p="vertical"===o?e.left:n;return{width:l-p,height:f-u,top:u,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(Lt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Dt)}(n))}function d(){0===(Lt=Lt.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Dt)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(p(),!e.state.isMounted||o||u()||s()):(c(),l()))},onMount:function(){e.props.followCursor&&!o&&(i&&(f(Tt),i=!1),u()||s())},onTrigger:function(e,t){ot(t)&&(Tt={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),c(),i=!0)}}}};var It={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var o=null,i=null;function a(){var u=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(u&&Bt(o,u)||s&&Bt(i,s))&&e.popperInstance&&e.popperInstance.update(),o=u,i=s,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function Bt(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}At.setDefaultProps({render:Ct});var Ut=At,zt=n("i8i4");function Gt(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}var qt="undefined"!==typeof window&&"undefined"!==typeof document;function Wt(e,t){e&&("function"===typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Ht(){return qt&&document.createElement("div")}function Vt(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name.indexOf("tippy")>=0})),(null==(r=t.popperOptions)?void 0:r.modifiers)||[])})})}var Yt=qt?r.useLayoutEffect:r.useEffect;function Xt(e){var t=Object(r.useRef)();return t.current||(t.current="function"===typeof e?e():e),t.current}function Kt(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Jt={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||Kt(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&Kt(t,"remove",e.props.className)},onAfterUpdate:r}}};function Qt(e){return function(t){var n=t.children,i=t.content,a=t.visible,u=t.singleton,s=t.render,c=t.reference,l=t.disabled,f=void 0!==l&&l,p=t.ignoreAttributes,d=void 0===p||p,h=(t.__source,t.__self,Gt(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==a,m=void 0!==u,g=Object(r.useState)(!1),y=g[0],b=g[1],w=Object(r.useState)({}),M=w[0],E=w[1],P=Object(r.useState)(),O=P[0],S=P[1],_=Xt((function(){return{container:Ht(),renders:1}})),x=Object.assign({ignoreAttributes:d},h,{content:_.container});v&&(x.trigger="manual",x.hideOnClick=!1),m&&(f=!0);var C=x,j=x.plugins||[];s&&(C=Object.assign({},x,{plugins:m?[].concat(j,[{fn:function(){return{onTrigger:function(e,t){var n=u.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;S(n)}}}}]):j,render:function(){return{popper:_.container}}}));var k=[c].concat(n?[n.type]:[]);return Yt((function(){var t=c;c&&c.hasOwnProperty("current")&&(t=c.current);var n=e(t||_.ref||Ht(),Object.assign({},C,{plugins:[Jt].concat(x.plugins||[])}));return _.instance=n,f&&n.disable(),a&&n.show(),m&&u.hook({instance:n,content:i,props:C}),b(!0),function(){n.destroy(),null==u||u.cleanup(n)}}),k),Yt((function(){if(1!==_.renders){var e=_.instance;e.setProps(Vt(e.props,C)),f?e.disable():e.enable(),v&&(a?e.show():e.hide()),m&&u.hook({instance:e,content:i,props:C})}else _.renders++})),Yt((function(){var e;if(s){var t=_.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;M.placement===n.placement&&M.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&M.escaped===(null==r?void 0:r.hasPopperEscaped)||E({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[M.placement,M.referenceHidden,M.escaped].concat(k)),o.a.createElement(o.a.Fragment,null,n?Object(r.cloneElement)(n,{ref:function(e){_.ref=e,Wt(n.ref,e)}}):null,y&&Object(zt.createPortal)(s?s(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(M),O):i,_.container))}}var Zt=function(e,t){return Object(r.forwardRef)((function(n,i){var a=n.children,u=Gt(n,["children"]);return o.a.createElement(e,Object.assign({},t,u),a?Object(r.cloneElement)(a,{ref:function(e){Wt(i,e),Wt(a.ref,e)}}):null)}))},$t=Zt(Qt(Ut)),en=(n("uxza"),o.a.createElement);function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var nn=function(e){var t=function(e){for(var t=1;t0&&"Minimum value: 150.")),un("div",{className:"form-group col-6"},un("label",{htmlFor:"export-height"},"Height"),un("input",{type:"number",id:"export-height",name:"height",className:a()({"form-control":!0,"is-invalid":!s.height.isValid}),pattern:"\\d+",min:"100",value:s.height.value,onChange:f}),un("div",{className:"invalid-feedback"},0===s.height.value.length&&"Must be a number.",s.height.value.length>0&&"Minimum value: 100.")))),un("button",{type:"submit",className:"btn btn-primary btn-block mt-3",disabled:!s.width.isValid||!s.height.isValid},"Download")))},ln=Object(g.b)((function(e){return{width:y.c.selectWidth(e),height:y.c.selectHeight(e)}}),{updateSettings:y.a.updateSettings,updateExporting:y.a.updateExporting})(cn),fn=(n("hbvv"),o.a.createElement);function pn(e){var t=e.transparent,n=e.inner,r=e.inline,o=e.mini,i=["c-loading-spinner"];return t&&i.push("-transparent"),n&&i.push("-inner"),r&&i.push("-inline"),o&&i.push("-mini"),fn("div",{className:i.join(" ")},fn("svg",null,fn("circle",{cx:o?9:30,cy:o?9:30,r:o?5:20,fill:"none",strokeWidth:o?2:3,strokeMiterlimit:"10"})))}pn.defaultProps={transparent:!1,inner:!1,inline:!1,mini:!1};var dn=pn,hn=n("9rZX"),vn=n.n(hn),mn=(n("P6+J"),o.a.createElement),gn=function(e){var t=e.name,n=e.className,r=e.style,o=a()(Object(R.a)({},n,n));return mn("svg",{className:"c-icon ".concat(o),style:r},mn("use",{xlinkHref:"#icon-".concat(t)}))};gn.defaultProps={name:"",className:"",style:{}};var yn=gn,bn=(n("oG+/"),o.a.createElement);vn.a.setAppElement("#root");var wn=function(e){var t=e.open,n=e.onClose,r=e.title,o=e.children,i=e.className;return bn(vn.a,{isOpen:t,onRequestClose:n,contentLabel:r,className:["c-modal"].concat(Object(E.a)(i?[i]:[])).join(" ")},bn("button",{type:"button",className:"btn btn-outline-primary close-button",onClick:n},bn(yn,{name:"close"})),bn("div",{className:"content"},o))};wn.defaultProps={className:null};var Mn=wn,En=(n("mp/Q"),o.a.createElement),Pn=function(e){var t=e.open,n=e.onClose;return En(Mn,{title:"Map downloaded",open:t,onClose:n,className:"c-tool-download-success-modal"},En("h1",{className:"mb-3"},"Map downloaded!"),En("p",null,"Check the"," ",En("a",{href:"https://mongabay.github.io/visual-style-guide/",target:"_blank",rel:"noopener noreferrer"},"Mongabay Style Guidelines")," ","in case you need to add any further detail on your map."),En("button",{type:"button",className:"btn btn-primary btn-block mt-4",onClick:n},"Close"))},On=(n("1+uw"),o.a.createElement),Sn=function(e){var t=e.loading,n=e.countryOptions,o=e.country,i=e.commodityOptions,a=e.commodity,u=e.unitOptions,s=e.unit,c=e.yearOptions,l=e.year,f=e.regionsLoading,p=e.regionOptions,d=e.region,h=e.exportersLoading,v=e.exporterOptions,m=e.exporter,g=e.updateCountry,y=e.updateCommodity,b=e.updateUnit,w=e.updateYear,M=e.updateRegion,E=e.updateExporter,P=e.exporting,O=Object(r.useState)(!1),S=O[0],_=O[1],x=Object(r.useState)(!1),C=x[0],j=x[1];return Object(r.useEffect)((function(){S!==P&&(P||j(!0),_(P))}),[P,S,j,_]),On("aside",{className:"c-tool-sidebar"},On(Pn,{open:C,onClose:function(){return j(!1)}}),On("div",{className:"content"},On("h1",null,"Supply Chain"),On("div",{className:"scrollable-container pt-2"},On("div",{className:"form-group"},On("label",{htmlFor:"setting-country"},"Source country"),On("div",{className:"input-group"},On(N,{id:"setting-country",options:n,value:null!==o&&void 0!==o?o:"",onChange:function(e){var t=e.value;return g(t)},disabled:0===n.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-commodity"},"Commodity"),On("div",{className:"input-group"},On(N,{id:"setting-commodity",options:i,value:null!==a&&void 0!==a?a:"",onChange:function(e){var t=e.value;return y(t)},disabled:0===i.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-unit"},"Change unit"),On("div",{className:"input-group"},On(N,{id:"setting-unit",options:u,value:null!==s&&void 0!==s?s:"",onChange:function(e){var t=e.value;return b(t)},disabled:0===u.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-year"},"Year"),On("div",{className:"input-group"},On(N,{id:"setting-year",options:c,value:null!==l&&void 0!==l?l:"",onChange:function(e){var t=e.value;return w(t)},disabled:0===c.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-region"},"Region (optional) ",f&&On(dn,{inline:!0,mini:!0})),On("div",{className:"input-group"},On(N,{id:"setting-region","aria-describedby":"setting-region-note",options:p,value:d,onChange:function(e){var t=e.value;return M(t)},disabled:0===p.length})),On("div",{id:"setting-region-note",className:"note"},"This ","setting's"," options are not filtered by change unit nor year.")),On("div",{className:"form-group"},On("label",{htmlFor:"setting-exporter"},"Exporter (optional) ",h&&On(dn,{inline:!0,mini:!0})),On("div",{className:"input-group"},On(N,{id:"setting-exporter","aria-describedby":"setting-exporter-note",options:v,value:m,onChange:function(e){var t=e.value;return E(t)},disabled:0===v.length})),On("div",{id:"setting-exporter-note",className:"note"},"This ","setting's"," options are not filtered by change unit, year nor region.")))),On("div",{className:"d-flex align-items-center mt-4"},On(nn,{sticky:"popper",plugins:[It],content:On(ln,null)},On("button",{type:"button",className:"btn btn-primary",disabled:t},"Export")),t&&On("div",{className:"loading-text ml-3"},On(dn,{inline:!0,mini:!0})," Loading...")))};Sn.defaultProps={country:null,commodity:null,unit:null,year:null};var _n=Sn,xn=Object(g.b)((function(e){return{loading:y.h.selectLoading(e),countryOptions:y.h.selectSourceCountryOptions(e),country:y.h.selectCountry(e),commodityOptions:y.h.selectCommodityOptions(e),commodity:y.h.selectCommodity(e),unitOptions:y.h.selectUnitOptions(e),unit:y.h.selectUnit(e),yearOptions:y.h.selectYearOptions(e),year:y.h.selectYear(e),regionsLoading:y.h.selectRegionsLoading(e),regionOptions:y.h.selectRegionOptions(e),region:y.h.selectRegion(e),exportersLoading:y.h.selectExportersLoading(e),exporterOptions:y.h.selectExporterOptions(e),exporter:y.h.selectExporter(e),exporting:y.c.selectExporting(e)}}),{updateCountry:y.f.updateCountry,updateCommodity:y.f.updateCommodity,updateUnit:y.f.updateUnit,updateYear:y.f.updateYear,updateRegion:y.f.updateRegion,updateExporter:y.f.updateExporter})(_n),Cn=n("ODXe");function jn(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["groupName","itemName","componentIdentifier"]));return o.default.createElement(i.default,r({groupName:t,itemName:n},a))};u.defaultProps={componentIdentifier:"Annotations",groupName:"annotations",itemName:"annotation"},t.default=u},lwAK:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI"));t.AmpStateContext=o.createContext({})},mPvQ:function(e,t,n){var r=n("5fIB"),o=n("rlHP"),i=n("kG2m");e.exports=function(e){return r(e)||o(e)||i()}},"mp/Q":function(e,t,n){},n3Y4:function(e,t,n){"use strict";function r(){}n.r(t),n.d(t,"geoAiry",(function(){return at})),n.d(t,"geoAiryRaw",(function(){return it})),n.d(t,"geoAitoff",(function(){return st})),n.d(t,"geoAitoffRaw",(function(){return ut})),n.d(t,"geoArmadillo",(function(){return lt})),n.d(t,"geoArmadilloRaw",(function(){return ct})),n.d(t,"geoAugust",(function(){return pt})),n.d(t,"geoAugustRaw",(function(){return ft})),n.d(t,"geoBaker",(function(){return mt})),n.d(t,"geoBakerRaw",(function(){return vt})),n.d(t,"geoBerghaus",(function(){return Mt})),n.d(t,"geoBerghausRaw",(function(){return wt})),n.d(t,"geoBoggs",(function(){return jt})),n.d(t,"geoBoggsRaw",(function(){return Ct})),n.d(t,"geoBonne",(function(){return Tt})),n.d(t,"geoBonneRaw",(function(){return At})),n.d(t,"geoBottomley",(function(){return Zt})),n.d(t,"geoBottomleyRaw",(function(){return Lt})),n.d(t,"geoBromley",(function(){return en})),n.d(t,"geoBromleyRaw",(function(){return $t})),n.d(t,"geoChamberlin",(function(){return wn})),n.d(t,"geoChamberlinRaw",(function(){return gn})),n.d(t,"geoChamberlinAfrica",(function(){return bn})),n.d(t,"geoCollignon",(function(){return En})),n.d(t,"geoCollignonRaw",(function(){return Mn})),n.d(t,"geoCraig",(function(){return On})),n.d(t,"geoCraigRaw",(function(){return Pn})),n.d(t,"geoCraster",(function(){return xn})),n.d(t,"geoCrasterRaw",(function(){return _n})),n.d(t,"geoCylindricalEqualArea",(function(){return jn})),n.d(t,"geoCylindricalEqualAreaRaw",(function(){return Cn})),n.d(t,"geoCylindricalStereographic",(function(){return Nn})),n.d(t,"geoCylindricalStereographicRaw",(function(){return kn})),n.d(t,"geoEckert1",(function(){return An})),n.d(t,"geoEckert1Raw",(function(){return Rn})),n.d(t,"geoEckert2",(function(){return Ln})),n.d(t,"geoEckert2Raw",(function(){return Tn})),n.d(t,"geoEckert3",(function(){return Fn})),n.d(t,"geoEckert3Raw",(function(){return Dn})),n.d(t,"geoEckert4",(function(){return Bn})),n.d(t,"geoEckert4Raw",(function(){return In})),n.d(t,"geoEckert5",(function(){return zn})),n.d(t,"geoEckert5Raw",(function(){return Un})),n.d(t,"geoEckert6",(function(){return qn})),n.d(t,"geoEckert6Raw",(function(){return Gn})),n.d(t,"geoEisenlohr",(function(){return Vn})),n.d(t,"geoEisenlohrRaw",(function(){return Hn})),n.d(t,"geoFahey",(function(){return Kn})),n.d(t,"geoFaheyRaw",(function(){return Xn})),n.d(t,"geoFoucaut",(function(){return Qn})),n.d(t,"geoFoucautRaw",(function(){return Jn})),n.d(t,"geoGilbert",(function(){return rr})),n.d(t,"geoGingery",(function(){return ur})),n.d(t,"geoGingeryRaw",(function(){return or})),n.d(t,"geoGinzburg4",(function(){return lr})),n.d(t,"geoGinzburg4Raw",(function(){return cr})),n.d(t,"geoGinzburg5",(function(){return pr})),n.d(t,"geoGinzburg5Raw",(function(){return fr})),n.d(t,"geoGinzburg6",(function(){return hr})),n.d(t,"geoGinzburg6Raw",(function(){return dr})),n.d(t,"geoGinzburg8",(function(){return mr})),n.d(t,"geoGinzburg8Raw",(function(){return vr})),n.d(t,"geoGinzburg9",(function(){return yr})),n.d(t,"geoGinzburg9Raw",(function(){return gr})),n.d(t,"geoGringorten",(function(){return Mr})),n.d(t,"geoGringortenRaw",(function(){return wr})),n.d(t,"geoGuyou",(function(){return Sr})),n.d(t,"geoGuyouRaw",(function(){return Or})),n.d(t,"geoHammer",(function(){return jr})),n.d(t,"geoHammerRaw",(function(){return xr})),n.d(t,"geoHammerRetroazimuthal",(function(){return Rr})),n.d(t,"geoHammerRetroazimuthalRaw",(function(){return kr})),n.d(t,"geoHealpix",(function(){return Dr})),n.d(t,"geoHealpixRaw",(function(){return Lr})),n.d(t,"geoHill",(function(){return Ir})),n.d(t,"geoHillRaw",(function(){return Fr})),n.d(t,"geoHomolosine",(function(){return Wr})),n.d(t,"geoHomolosineRaw",(function(){return qr})),n.d(t,"geoInterrupt",(function(){return Yr})),n.d(t,"geoInterruptedBoggs",(function(){return Kr})),n.d(t,"geoInterruptedHomolosine",(function(){return Qr})),n.d(t,"geoInterruptedMollweide",(function(){return $r})),n.d(t,"geoInterruptedMollweideHemispheres",(function(){return to})),n.d(t,"geoInterruptedSinuMollweide",(function(){return ro})),n.d(t,"geoInterruptedSinusoidal",(function(){return io})),n.d(t,"geoKavrayskiy7",(function(){return uo})),n.d(t,"geoKavrayskiy7Raw",(function(){return ao})),n.d(t,"geoLagrange",(function(){return co})),n.d(t,"geoLagrangeRaw",(function(){return so})),n.d(t,"geoLarrivee",(function(){return po})),n.d(t,"geoLarriveeRaw",(function(){return fo})),n.d(t,"geoLaskowski",(function(){return vo})),n.d(t,"geoLaskowskiRaw",(function(){return ho})),n.d(t,"geoLittrow",(function(){return go})),n.d(t,"geoLittrowRaw",(function(){return mo})),n.d(t,"geoLoximuthal",(function(){return bo})),n.d(t,"geoLoximuthalRaw",(function(){return yo})),n.d(t,"geoMiller",(function(){return Mo})),n.d(t,"geoMillerRaw",(function(){return wo})),n.d(t,"geoModifiedStereographic",(function(){return Ao})),n.d(t,"geoModifiedStereographicRaw",(function(){return Eo})),n.d(t,"geoModifiedStereographicAlaska",(function(){return Co})),n.d(t,"geoModifiedStereographicGs48",(function(){return jo})),n.d(t,"geoModifiedStereographicGs50",(function(){return ko})),n.d(t,"geoModifiedStereographicMiller",(function(){return No})),n.d(t,"geoModifiedStereographicLee",(function(){return Ro})),n.d(t,"geoMollweide",(function(){return St})),n.d(t,"geoMollweideRaw",(function(){return Ot})),n.d(t,"geoMtFlatPolarParabolic",(function(){return Fo})),n.d(t,"geoMtFlatPolarParabolicRaw",(function(){return Do})),n.d(t,"geoMtFlatPolarQuartic",(function(){return Bo})),n.d(t,"geoMtFlatPolarQuarticRaw",(function(){return Io})),n.d(t,"geoMtFlatPolarSinusoidal",(function(){return zo})),n.d(t,"geoMtFlatPolarSinusoidalRaw",(function(){return Uo})),n.d(t,"geoNaturalEarth",(function(){return qo})),n.d(t,"geoNaturalEarthRaw",(function(){return Go})),n.d(t,"geoNellHammer",(function(){return Ho})),n.d(t,"geoNellHammerRaw",(function(){return Wo})),n.d(t,"geoPatterson",(function(){return ti})),n.d(t,"geoPattersonRaw",(function(){return ei})),n.d(t,"geoPolyconic",(function(){return si})),n.d(t,"geoPolyconicRaw",(function(){return ni})),n.d(t,"geoPolyhedral",(function(){return Wi})),n.d(t,"geoPolyhedralButterfly",(function(){return Qi})),n.d(t,"geoPolyhedralCollignon",(function(){return ea})),n.d(t,"geoPolyhedralWaterman",(function(){return ta})),n.d(t,"geoProject",(function(){return aa})),n.d(t,"geoGringortenQuincuncial",(function(){return ma})),n.d(t,"geoPeirceQuincuncial",(function(){return ga})),n.d(t,"geoPierceQuincuncial",(function(){return ga})),n.d(t,"geoQuantize",(function(){return ya})),n.d(t,"geoQuincuncial",(function(){return va})),n.d(t,"geoRectangularPolyconic",(function(){return wa})),n.d(t,"geoRectangularPolyconicRaw",(function(){return ba})),n.d(t,"geoRobinson",(function(){return Pa})),n.d(t,"geoRobinsonRaw",(function(){return Ea})),n.d(t,"geoSatellite",(function(){return Sa})),n.d(t,"geoSatelliteRaw",(function(){return Oa})),n.d(t,"geoSinuMollweide",(function(){return Gr})),n.d(t,"geoSinuMollweideRaw",(function(){return zr})),n.d(t,"geoSinusoidal",(function(){return Rt})),n.d(t,"geoSinusoidalRaw",(function(){return Nt})),n.d(t,"geoStitch",(function(){return za})),n.d(t,"geoTimes",(function(){return qa})),n.d(t,"geoTimesRaw",(function(){return Ga})),n.d(t,"geoTwoPointAzimuthal",(function(){return Ya})),n.d(t,"geoTwoPointAzimuthalRaw",(function(){return Ha})),n.d(t,"geoTwoPointAzimuthalUsa",(function(){return Va})),n.d(t,"geoTwoPointEquidistant",(function(){return Ja})),n.d(t,"geoTwoPointEquidistantRaw",(function(){return Xa})),n.d(t,"geoTwoPointEquidistantUsa",(function(){return Ka})),n.d(t,"geoVanDerGrinten",(function(){return Za})),n.d(t,"geoVanDerGrintenRaw",(function(){return Qa})),n.d(t,"geoVanDerGrinten2",(function(){return eu})),n.d(t,"geoVanDerGrinten2Raw",(function(){return $a})),n.d(t,"geoVanDerGrinten3",(function(){return nu})),n.d(t,"geoVanDerGrinten3Raw",(function(){return tu})),n.d(t,"geoVanDerGrinten4",(function(){return ou})),n.d(t,"geoVanDerGrinten4Raw",(function(){return ru})),n.d(t,"geoWagner4",(function(){return su})),n.d(t,"geoWagner4Raw",(function(){return uu})),n.d(t,"geoWagner6",(function(){return lu})),n.d(t,"geoWagner6Raw",(function(){return cu})),n.d(t,"geoWagner7",(function(){return pu})),n.d(t,"geoWagner7Raw",(function(){return fu})),n.d(t,"geoWiechel",(function(){return hu})),n.d(t,"geoWiechelRaw",(function(){return du})),n.d(t,"geoWinkel3",(function(){return mu})),n.d(t,"geoWinkel3Raw",(function(){return vu}));var o=function(){var e,t=[];return{point:function(t,n,r){e.push([t,n,r])},lineStart:function(){t.push(e=[])},lineEnd:r,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},i=1e-6,a=Math.PI,u=a/2,s=a/4,c=2*a,l=180/a,f=a/180,p=Math.abs,d=Math.atan,h=Math.atan2,v=Math.cos,m=(Math.ceil,Math.exp,Math.floor,Math.log,Math.pow,Math.sin),g=Math.sign||function(e){return e>0?1:e<0?-1:0},y=Math.sqrt;Math.tan;function b(e){return e>1?0:e<-1?a:Math.acos(e)}function w(e){return e>1?u:e<-1?-u:Math.asin(e)}function M(e){return(e=m(e/2))*e}var E=function(e,t){return p(e[0]-t[0])=0;--a)o.point((f=l[a])[0],f[1]);else r(d.x,d.p.x,-1,o);d=d.p}l=(d=d.o).z,h=!h}while(!d.v);o.lineEnd()}}};function S(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r=0?1:-1,B=L*T,U=B>a,z=O*k;if(F.add(h(z*L*m(B),S*R+z*v(B))),f+=U?T+L*c:T,U^E>=n^C>=n){var G=A(N(M),N(x));D(G);var q=A(l,G);D(q);var W=(U^T>=0?-1:1)*w(q[2]);(r>W||r===W&&(G[0]||G[1]))&&(p+=U^T>=0?1:-1)}}return(f<-i||f0){for(M||(l.polygonStart(),M=!0),l.lineStart(),e=0;e1&&2&o&&i.push(i.pop().concat(i.shift())),p.push(i.filter(z))}return E}};function z(e){return e.length>1}function G(e,t){return((e=e.x)[0]<0?e[1]-u-i:u-e[1])-((t=t.x)[0]<0?t[1]-u-i:u-t[1])}var q=U((function(){return!0}),(function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(s,c){var l=s>0?a:-a,f=p(s-n);p(f-a)0?u:-u),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(s,r),t=0):o!==l&&f>=a&&(p(n-o)i?d((m(t)*(a=v(r))*m(n)-m(r)*(o=v(t))*m(e))/(o*a*u)):(t+r)/2}(n,r,s,c),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=s,r=c),o=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var o;if(null==e)o=n*u,r.point(-a,o),r.point(0,o),r.point(a,o),r.point(a,0),r.point(a,-o),r.point(0,-o),r.point(-a,-o),r.point(-a,0),r.point(-a,o);else if(p(e[0]-t[0])>i){var s=e[0]a?e+Math.round(-e/c)*c:e,t]}function Y(e,t,n){return(e%=c)?t||n?H(K(e),J(t,n)):K(e):t||n?J(t,n):V}function X(e){return function(t,n){return[(t+=e)>a?t-c:t<-a?t+c:t,n]}}function K(e){var t=X(e);return t.invert=X(-e),t}function J(e,t){var n=v(e),r=m(e),o=v(t),i=m(t);function a(e,t){var a=v(t),u=v(e)*a,s=m(e)*a,c=m(t),l=c*n+u*r;return[h(s*o-l*i,u*n-c*r),w(l*o+s*i)]}return a.invert=function(e,t){var a=v(t),u=v(e)*a,s=m(e)*a,c=m(t),l=c*o-s*i;return[h(s*o+c*i,u*n+l*r),w(l*n-u*r)]},a}V.invert=V;var Q=function(e){function t(t){return(t=e(t[0]*f,t[1]*f))[0]*=l,t[1]*=l,t}return e=Y(e[0]*f,e[1]*f,e.length>2?e[2]*f:0),t.invert=function(t){return(t=e.invert(t[0]*f,t[1]*f))[0]*=l,t[1]*=l,t},t};function Z(e,t,n,r,o,i){if(n){var a=v(t),u=m(t),s=r*n;null==o?(o=t+r*c,i=t-s/2):(o=$(a,o),i=$(a,i),(r>0?oi)&&(o+=r*c));for(var l,f=o;r>0?f>i:f0,o=p(t)>i;function u(e,n){return v(e)*v(n)>t}function s(e,n,r){var o=[1,0,0],u=A(N(e),N(n)),s=R(u,u),c=u[0],l=s-c*c;if(!l)return!r&&e;var f=t*s/l,d=-t*c/l,h=A(o,u),v=L(o,f);T(v,L(u,d));var m=h,g=R(v,m),b=R(m,m),w=g*g-b*(R(v,v)-1);if(!(w<0)){var M=y(w),E=L(m,(-g-M)/b);if(T(E,v),E=k(E),!r)return E;var P,O=e[0],S=n[0],_=e[1],x=n[1];S0^E[1]<(p(E[0]-O)a^(O<=E[0]&&E[0]<=S)){var D=L(m,(-g+M)/b);return T(D,v),[E,k(D)]}}}function c(t,n){var o=r?e:a-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return U(u,(function(e){var t,n,i,l,f;return{lineStart:function(){l=i=!1,f=1},point:function(p,d){var h,v=[p,d],m=u(p,d),g=r?m?0:c(p,d):m?c(p+(p<0?a:-a),d):0;if(!t&&(l=i=m)&&e.lineStart(),m!==i&&(!(h=s(t,v))||E(t,h)||E(v,h))&&(v[2]=1),m!==i)f=0,m?(e.lineStart(),h=s(v,t),e.point(h[0],h[1])):(h=s(t,v),e.point(h[0],h[1],2),e.lineEnd()),t=h;else if(o&&t&&r^m){var y;g&n||!(y=s(v,t,!0))||(f=0,r?(e.lineStart(),e.point(y[0][0],y[0][1]),e.point(y[1][0],y[1][1]),e.lineEnd()):(e.point(y[1][0],y[1][1]),e.lineEnd(),e.lineStart(),e.point(y[0][0],y[0][1],3)))}!m||t&&E(t,v)||e.point(v[0],v[1]),t=v,i=m,n=g},lineEnd:function(){i&&e.lineEnd(),t=null},clean:function(){return f|(l&&i)<<1}}}),(function(t,r,o,i){Z(i,e,n,o,t,r)}),r?[0,-e]:[-a,e-a])},te=function(e,t,n,r,o,i){var a,u=e[0],s=e[1],c=0,l=1,f=t[0]-u,p=t[1]-s;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a0)){if(a/=p,p<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=i-s,p||!(a<0)){if(a/=p,p<0){if(a>l)return;a>c&&(c=a)}else if(p>0){if(a0&&(e[0]=u+c*f,e[1]=s+c*p),l<1&&(t[0]=u+l*f,t[1]=s+l*p),!0}}}}},ne=1e9,re=-ne;function oe(e,t,n,r){function a(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function u(o,i,a,u){var c=0,f=0;if(null==o||(c=s(o,a))!==(f=s(i,a))||l(o,i)<0^a>0)do{u.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+a+4)%4)!==f);else u.point(i[0],i[1])}function s(r,o){return p(r[0]-e)0?0:3:p(r[0]-n)0?2:1:p(r[1]-t)0?1:0:o>0?3:2}function c(e,t){return l(e.x,t.x)}function l(e,t){var n=s(e,1),r=s(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(i){var s,l,f,p,d,h,v,m,g,y,b,w=i,M=o(),E={point:P,lineStart:function(){E.point=S,l&&l.push(f=[]);y=!0,g=!1,v=m=NaN},lineEnd:function(){s&&(S(p,d),h&&g&&M.rejoin(),s.push(M.result()));E.point=P,g&&w.lineEnd()},polygonStart:function(){w=M,s=[],l=[],b=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=l.length;nr&&(p-i)*(r-a)>(d-a)*(e-i)&&++t:d<=r&&(p-i)*(r-a)<(d-a)*(e-i)&&--t;return t}(),n=b&&t,o=(s=Object(B.a)(s)).length;(n||o)&&(i.polygonStart(),n&&(i.lineStart(),u(null,null,1,i),i.lineEnd()),o&&O(s,c,t,u,i),i.polygonEnd());w=i,s=l=f=null}};function P(e,t){a(e,t)&&w.point(e,t)}function S(o,i){var u=a(o,i);if(l&&f.push([o,i]),y)p=o,d=i,h=u,y=!1,u&&(w.lineStart(),w.point(o,i));else if(u&&g)w.point(o,i);else{var s=[v=Math.max(re,Math.min(ne,v)),m=Math.max(re,Math.min(ne,m))],c=[o=Math.max(re,Math.min(ne,o)),i=Math.max(re,Math.min(ne,i))];te(s,c,e,t,n,r)?(g||(w.lineStart(),w.point(s[0],s[1])),w.point(c[0],c[1]),u||w.lineEnd(),b=!1):u&&(w.lineStart(),w.point(o,i),b=!1)}v=o,m=i,g=u}return E}}var ie=function(e){return e};function ae(e){return function(t){var n=new ue;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ue(){}function se(e,t){e&&le.hasOwnProperty(e.type)&&le[e.type](e,t)}ue.prototype={constructor:ue,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var ce={Feature:function(e,t){se(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++rme&&(me=e);tge&&(ge=t)},lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var e=[[he,ve],[me,ge]];return me=ge=-(ve=he=1/0),e}};function be(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),de(n,e.stream(ye)),t(ye.result()),null!=r&&e.clipExtent(r),e}function we(e,t,n){return be(e,(function(n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=Math.min(r/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),a=+t[0][0]+(r-i*(n[1][0]+n[0][0]))/2,u=+t[0][1]+(o-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([a,u])}),n)}var Me=16,Ee=v(30*f),Pe=function(e,t){return+t?function(e,t){function n(r,o,a,u,s,c,l,f,d,v,m,g,b,M){var E=l-r,P=f-o,O=E*E+P*P;if(O>4*t&&b--){var S=u+v,_=s+m,x=c+g,C=y(S*S+_*_+x*x),j=w(x/=C),k=p(p(x)-1)t||p((E*T+P*L)/O-.5)>.3||u*v+s*m+c*g2?e[2]%360*f:0,R()):[b*l,w*l,M*l]},k.angle=function(e){return arguments.length?(E=e%360*f,R()):E*l},k.reflectX=function(e){return arguments.length?(P=e?-1:1,R()):P<0},k.reflectY=function(e){return arguments.length?(O=e?-1:1,R()):O<0},k.precision=function(e){return arguments.length?(a=Pe(u,j=e*e),A()):y(j)},k.fitExtent=function(e,t){return we(k,e,t)},k.fitSize=function(e,t){return function(e,t,n){return we(e,[[0,0],t],n)}(k,e,t)},k.fitWidth=function(e,t){return function(e,t,n){return be(e,(function(n){var r=+t,o=r/(n[1][0]-n[0][0]),i=(r-o*(n[1][0]+n[0][0]))/2,a=-o*n[0][1];e.scale(150*o).translate([i,a])}),n)}(k,e,t)},k.fitHeight=function(e,t){return function(e,t,n){return be(e,(function(n){var r=+t,o=r/(n[1][1]-n[0][1]),i=-o*n[0][0],a=(r-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([i,a])}),n)}(k,e,t)},function(){return t=e.apply(this,arguments),k.invert=t.invert&&N,R()}}var je=Math.abs,ke=Math.atan,Ne=Math.atan2,Re=(Math.ceil,Math.cos),Ae=Math.exp,Te=Math.floor,Le=Math.log,De=Math.max,Fe=Math.min,Ie=Math.pow,Be=Math.round,Ue=Math.sign||function(e){return e>0?1:e<0?-1:0},ze=Math.sin,Ge=Math.tan,qe=1e-6,We=1e-12,He=Math.PI,Ve=He/2,Ye=He/4,Xe=Math.SQRT1_2,Ke=nt(2),Je=nt(He),Qe=2*He,Ze=180/He,$e=He/180;function et(e){return e>1?Ve:e<-1?-Ve:Math.asin(e)}function tt(e){return e>1?0:e<-1?He:Math.acos(e)}function nt(e){return e>0?Math.sqrt(e):0}function rt(e){return(Ae(e)-Ae(-e))/2}function ot(e){return(Ae(e)+Ae(-e))/2}function it(e){var t=Ge(e/2),n=2*Le(Re(e/2))/(t*t);function r(e,t){var r=Re(e),o=Re(t),i=ze(t),a=o*r,u=-((1-a?Le((1+a)/2)/(1-a):-.5)+n/(1+a));return[u*o*ze(e),u*i]}return r.invert=function(t,r){var o,i=nt(t*t+r*r),a=-e/2,u=50;if(!i)return[0,0];do{var s=a/2,c=Re(s),l=ze(s),f=Ge(s),p=Le(1/c);a-=o=(2/f*p-n*f-i)/(-p/(l*l)+1-n/(2*c*c))}while(je(o)>qe&&--u>0);var d=ze(a);return[Ne(t*d,i*Re(a)),et(r*d/i)]},r}var at=function(){var e=Ve,t=Ce(it),n=t(e);return n.radius=function(n){return arguments.length?t(e=n*$e):e*Ze},n.scale(179.976).clipAngle(147)};function ut(e,t){var n=Re(t),r=function(e){return e?e/Math.sin(e):1}(tt(n*Re(e/=2)));return[2*n*ze(e)*r,ze(t)*r]}ut.invert=function(e,t){if(!(e*e+4*t*t>He*He+qe)){var n=e,r=t,o=25;do{var i,a=ze(n),u=ze(n/2),s=Re(n/2),c=ze(r),l=Re(r),f=ze(2*r),p=c*c,d=l*l,h=u*u,v=1-d*s*s,m=v?tt(l*s)*nt(i=1/v):i=0,g=2*m*l*u-e,y=m*c-t,b=i*(d*h+m*l*s*p),w=i*(.5*a*f-2*m*c*u),M=.25*i*(f*u-m*c*d*a),E=i*(p*s+m*h*l),P=w*M-E*b;if(!P)break;var O=(y*w-g*E)/P,S=(g*M-y*b)/P;n-=O,r-=S}while((je(O)>qe||je(S)>qe)&&--o>0);return[n,r]}};var st=function(){return xe(ut).scale(152.63)};function ct(e){var t=ze(e),n=Re(e),r=e>=0?1:-1,o=Ge(r*e),i=(1+t-n)/2;function a(e,a){var u=Re(a),s=Re(e/=2);return[(1+u)*ze(e),(r*a>-Ne(s,o)-.001?0:10*-r)+i+ze(a)*n-(1+u)*t*s]}return a.invert=function(e,a){var u=0,s=0,c=50;do{var l=Re(u),f=ze(u),p=Re(s),d=ze(s),h=1+p,v=h*f-e,m=i+d*n-h*t*l-a,g=h*l/2,y=-f*d,b=t*h*f/2,w=n*p+t*l*d,M=y*b-w*g,E=(m*y-v*w)/M/2,P=(v*b-m*g)/M;u-=E,s-=P}while((je(E)>qe||je(P)>qe)&&--c>0);return r*s>-Ne(Re(u),o)-.001?[2*u,s]:null},a}var lt=function(){var e=20*$e,t=e>=0?1:-1,n=Ge(t*e),r=Ce(ct),o=r(e),i=o.stream;return o.parallel=function(o){return arguments.length?(n=Ge((t=(e=o*$e)>=0?1:-1)*e),r(e)):e*Ze},o.stream=function(r){var a=o.rotate(),u=i(r),s=(o.rotate([0,0]),i(r));return o.rotate(a),u.sphere=function(){s.polygonStart(),s.lineStart();for(var r=-180*t;t*r<180;r+=90*t)s.point(r,90*t);for(;t*(r-=e)>=-180;)s.point(r,t*-Ne(Re(r*$e/2),n)*Ze);s.lineEnd(),s.polygonEnd()},u},o.scale(218.695).center([0,28.0974])};function ft(e,t){var n=Ge(t/2),r=nt(1-n*n),o=1+r*Re(e/=2),i=ze(e)*r/o,a=n/o,u=i*i,s=a*a;return[4/3*i*(3+u-3*s),4/3*a*(3+3*u-s)]}ft.invert=function(e,t){if(t*=3/8,!(e*=3/8)&&je(t)>1)return null;var n=1+e*e+t*t,r=nt((n-nt(n*n-4*t*t))/2),o=et(r)/3,i=r?function(e){return Le(e+nt(e*e-1))}(je(t/r))/3:function(e){return Le(e+nt(e*e+1))}(je(e))/3,a=Re(o),u=ot(i),s=u*u-a*a;return[2*Ue(e)*Ne(rt(i)*a,.25-s),2*Ue(t)*Ne(u*ze(o),.25+s)]};var pt=function(){return xe(ft).scale(66.1603)},dt=nt(8),ht=Le(1+Ke);function vt(e,t){var n=je(t);return nWe&&--i>0);return[e/(Re(o)*(dt-1/ze(o))),Ue(t)*o]};var mt=function(){return xe(vt).scale(112.314)};function gt(e){return function(t,n){var r=v(t),o=v(n),i=e(r*o);return[i*o*m(t),i*m(n)]}}function yt(e){return function(t,n){var r=y(t*t+n*n),o=e(r),i=m(o),a=v(o);return[h(t*i,r*a),w(r&&n*i/r)]}}var bt=gt((function(e){return(e=b(e))&&e/m(e)}));bt.invert=yt((function(e){return e}));function wt(e){var t=2*He/e;function n(e,n){var r=bt(e,n);if(je(e)>Ve){var o=Ne(r[1],r[0]),i=nt(r[0]*r[0]+r[1]*r[1]),a=t*Be((o-Ve)/t)+Ve,u=Ne(ze(o-=a),2-Re(o));o=a+et(He/i*ze(u))-u,r[0]=i*Re(o),r[1]=i*ze(o)}return r}return n.invert=function(e,n){var r=nt(e*e+n*n);if(r>Ve){var o=Ne(n,e),i=t*Be((o-Ve)/t)+Ve,a=o>i?-1:1,u=r*Re(i-o),s=1/Ge(a*tt((u-He)/nt(He*(He-2*u)+r*r)));o=i+2*ke((s+a*nt(s*s-3))/3),e=r*Re(o),n=r*ze(o)}return bt.invert(e,n)},n}var Mt=function(){var e=5,t=Ce(wt),n=t(e),r=n.stream,o=-Re(.01*$e),i=ze(.01*$e);return n.lobes=function(n){return arguments.length?t(e=+n):e},n.stream=function(t){var a=n.rotate(),u=r(t),s=(n.rotate([0,0]),r(t));return n.rotate(a),u.sphere=function(){s.polygonStart(),s.lineStart();for(var t=0,n=360/e,r=2*He/e,a=90-180/e,u=Ve;tqe&&--o>0);return t/2}function Pt(e,t,n){function r(r,o){return[e*r*Re(o=Et(n,o)),t*ze(o)]}return r.invert=function(r,o){return o=et(o/t),[r/(e*Re(o)),et((2*o+ze(2*o))/n)]},r}var Ot=Pt(Ke/Ve,Ke,He),St=function(){return xe(Ot).scale(169.529)},_t=2.00276,xt=1.11072;function Ct(e,t){var n=Et(He,t);return[_t*e/(1/Re(t)+xt/Re(n)),(t+Ke*ze(n))/_t]}Ct.invert=function(e,t){var n,r,o=_t*t,i=t<0?-Ye:Ye,a=25;do{r=o-Ke*ze(i),i-=n=(ze(2*i)+2*i-He*ze(r))/(2*Re(2*i)+2+He*Re(r)*Ke*Re(i))}while(je(n)>qe&&--a>0);return r=o-Ke*ze(i),[e*(1/Re(r)+xt/Re(i))/_t,r]};var jt=function(){return xe(Ct).scale(160.857)},kt=function(e){var t=0,n=Ce(e),r=n(t);return r.parallel=function(e){return arguments.length?n(t=e*$e):t*Ze},r};function Nt(e,t){return[e*Re(t),t]}Nt.invert=function(e,t){return[e/Re(t),t]};var Rt=function(){return xe(Nt).scale(152.63)};function At(e){if(!e)return Nt;var t=1/Ge(e);function n(n,r){var o=t+e-r,i=o?n*Re(r)/o:o;return[o*ze(i),t-o*Re(i)]}return n.invert=function(n,r){var o=nt(n*n+(r=t-r)*r),i=t+e-o;return[o/Re(i)*Ne(n,r),i]},n}var Tt=function(){return kt(At).scale(123.082).center([0,26.1441]).parallel(45)};function Lt(e){function t(t,n){var r=Ve-n,o=r?t*e*ze(r)/r:r;return[r*ze(o)/e,Ve-r*Re(o)]}return t.invert=function(t,n){var r=t*e,o=Ve-n,i=nt(r*r+o*o),a=Ne(r,o);return[(i?i/ze(i):1)*a/e,Ve-i]},t}var Dt,Ft,It,Bt,Ut,zt,Gt,qt,Wt,Ht,Vt,Yt,Xt,Kt,Jt,Qt,Zt=function(){var e=.5,t=Ce(Lt),n=t(e);return n.fraction=function(n){return arguments.length?t(e=+n):e},n.scale(158.837)},$t=Pt(1,4/He,He),en=function(){return xe($t).scale(152.63)},tn={sphere:r,point:nn,lineStart:on,lineEnd:sn,polygonStart:function(){tn.lineStart=cn,tn.lineEnd=ln},polygonEnd:function(){tn.lineStart=on,tn.lineEnd=sn}};function nn(e,t){e*=f;var n=v(t*=f);rn(n*v(e),n*m(e),m(t))}function rn(e,t,n){++Dt,It+=(e-It)/Dt,Bt+=(t-Bt)/Dt,Ut+=(n-Ut)/Dt}function on(){tn.point=an}function an(e,t){e*=f;var n=v(t*=f);Kt=n*v(e),Jt=n*m(e),Qt=m(t),tn.point=un,rn(Kt,Jt,Qt)}function un(e,t){e*=f;var n=v(t*=f),r=n*v(e),o=n*m(e),i=m(t),a=h(y((a=Jt*i-Qt*o)*a+(a=Qt*r-Kt*i)*a+(a=Kt*o-Jt*r)*a),Kt*r+Jt*o+Qt*i);Ft+=a,zt+=a*(Kt+(Kt=r)),Gt+=a*(Jt+(Jt=o)),qt+=a*(Qt+(Qt=i)),rn(Kt,Jt,Qt)}function sn(){tn.point=nn}function cn(){tn.point=fn}function ln(){pn(Yt,Xt),tn.point=nn}function fn(e,t){Yt=e,Xt=t,e*=f,t*=f,tn.point=pn;var n=v(t);Kt=n*v(e),Jt=n*m(e),Qt=m(t),rn(Kt,Jt,Qt)}function pn(e,t){e*=f;var n=v(t*=f),r=n*v(e),o=n*m(e),i=m(t),a=Jt*i-Qt*o,u=Qt*r-Kt*i,s=Kt*o-Jt*r,c=y(a*a+u*u+s*s),l=w(c),p=c&&-l/c;Wt+=p*a,Ht+=p*u,Vt+=p*s,Ft+=l,zt+=l*(Kt+(Kt=r)),Gt+=l*(Jt+(Jt=o)),qt+=l*(Qt+(Qt=i)),rn(Kt,Jt,Qt)}var dn=function(e){Dt=Ft=It=Bt=Ut=zt=Gt=qt=Wt=Ht=Vt=0,de(e,tn);var t=Wt,n=Ht,r=Vt,o=t*t+n*n+r*r;return o<1e-12&&(t=zt,n=Gt,r=qt,Ft1||je(i)>1)a=tt(n*o+t*r*u);else{var s=ze(e/2),c=ze(i/2);a=2*et(nt(s*s+t*r*c*c))}return je(a)>qe?[a,Ne(r*ze(i),t*o-n*r*u)]:[0,0]}function vn(e,t,n){return tt((e*e+t*t-n*n)/(2*e*t))}function mn(e){return e-2*He*Te((e+He)/(2*He))}function gn(e,t,n){for(var r,o=[[e[0],e[1],ze(e[1]),Re(e[1])],[t[0],t[1],ze(t[1]),Re(t[1])],[n[0],n[1],ze(n[1]),Re(n[1])]],i=o[2],a=0;a<3;++a,i=r)r=o[a],i.v=hn(r[1]-i[1],i[3],i[2],r[3],r[2],r[0]-i[0]),i.point=[0,0];var u=vn(o[0].v[0],o[2].v[0],o[1].v[0]),s=vn(o[0].v[0],o[1].v[0],o[2].v[0]),c=He-u;o[2].point[1]=0,o[0].point[0]=-(o[1].point[0]=o[0].v[0]/2);var l=[o[2].point[0]=o[0].point[0]+o[2].v[0]*Re(u),2*(o[0].point[1]=o[1].point[1]=o[2].v[0]*ze(u))];return function(e,t){var n,r=ze(t),i=Re(t),a=new Array(3);for(n=0;n<3;++n){var u=o[n];if(a[n]=hn(t-u[1],u[3],u[2],i,r,e-u[0]),!a[n][0])return u.point;a[n][1]=mn(a[n][1]-u.v[1])}var f=l.slice();for(n=0;n<3;++n){var p=2==n?0:n+1,d=vn(o[n].v[0],a[n][0],a[p][0]);a[n][1]<0&&(d=-d),n?1==n?(d=s-d,f[0]-=a[n][0]*Re(d),f[1]-=a[n][0]*ze(d)):(d=c-d,f[0]+=a[n][0]*Re(d),f[1]+=a[n][0]*ze(d)):(f[0]+=a[n][0]*Re(d),f[1]-=a[n][0]*ze(d))}return f[0]/=3,f[1]/=3,f}}function yn(e){return e[0]*=$e,e[1]*=$e,e}function bn(){return wn([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function wn(e,t,n){var r=dn({type:"MultiPoint",coordinates:[e,t,n]}),o=[-r[0],-r[1]],i=Q(o),a=xe(gn(yn(i(e)),yn(i(t)),yn(i(n)))).rotate(o),u=a.center;return delete a.rotate,a.center=function(e){return arguments.length?u(i(e)):i.invert(u())},a.clipAngle(90)}function Mn(e,t){var n=nt(1-ze(t));return[2/Je*e*n,Je*(1-n)]}Mn.invert=function(e,t){var n=(n=t/Je-1)*n;return[n>0?e*nt(He/n)/2:0,et(1-n)]};var En=function(){return xe(Mn).scale(95.6464).center([0,30])};function Pn(e){var t=Ge(e);function n(e,n){return[e,(e?e/ze(e):1)*(ze(n)*Re(e)-t*Re(n))]}return n.invert=t?function(e,n){e&&(n*=ze(e)/e);var r=Re(e);return[e,2*Ne(nt(r*r+t*t-n*n)-r,t-n)]}:function(e,t){return[e,et(e?t*Ge(e)/e:t)]},n}var On=function(){return kt(Pn).scale(249.828).clipAngle(90)},Sn=nt(3);function _n(e,t){return[Sn*e*(2*Re(2*t/3)-1)/Je,Sn*Je*ze(t/3)]}_n.invert=function(e,t){var n=3*et(t/(Sn*Je));return[Je*e/(Sn*(2*Re(2*n/3)-1)),n]};var xn=function(){return xe(_n).scale(156.19)};function Cn(e){var t=Re(e);function n(e,n){return[e*t,ze(n)/t]}return n.invert=function(e,n){return[e/t,et(n*t)]},n}var jn=function(){return kt(Cn).parallel(38.58).scale(195.044)};function kn(e){var t=Re(e);function n(e,n){return[e*t,(1+t)*Ge(n/2)]}return n.invert=function(e,n){return[e/t,2*ke(n/(1+t))]},n}var Nn=function(){return kt(kn).scale(124.75)};function Rn(e,t){var n=nt(8/(3*He));return[n*e*(1-je(t)/He),n*t]}Rn.invert=function(e,t){var n=nt(8/(3*He)),r=t/n;return[e/(n*(1-je(r)/He)),r]};var An=function(){return xe(Rn).scale(165.664)};function Tn(e,t){var n=nt(4-3*ze(je(t)));return[2/nt(6*He)*e*n,Ue(t)*nt(2*He/3)*(2-n)]}Tn.invert=function(e,t){var n=2-je(t)/nt(2*He/3);return[e*nt(6*He)/(2*n),Ue(t)*et((4-n*n)/3)]};var Ln=function(){return xe(Tn).scale(165.664)};function Dn(e,t){var n=nt(He*(4+He));return[2/n*e*(1+nt(1-4*t*t/(He*He))),4/n*t]}Dn.invert=function(e,t){var n=nt(He*(4+He))/2;return[e*n/(1+nt(1-t*t*(4+He)/(4*He))),t*n/2]};var Fn=function(){return xe(Dn).scale(180.739)};function In(e,t){var n=(2+Ve)*ze(t);t/=2;for(var r=0,o=1/0;r<10&&je(o)>qe;r++){var i=Re(t);t-=o=(t+ze(t)*(i+2)-n)/(2*i*(1+i))}return[2/nt(He*(4+He))*e*(1+Re(t)),2*nt(He/(4+He))*ze(t)]}In.invert=function(e,t){var n=t*nt((4+He)/He)/2,r=et(n),o=Re(r);return[e/(2/nt(He*(4+He))*(1+o)),et((r+n*(o+2))/(2+Ve))]};var Bn=function(){return xe(In).scale(180.739)};function Un(e,t){return[e*(1+Re(t))/nt(2+He),2*t/nt(2+He)]}Un.invert=function(e,t){var n=nt(2+He),r=t*n/2;return[n*e/(1+Re(r)),r]};var zn=function(){return xe(Un).scale(173.044)};function Gn(e,t){for(var n=(1+Ve)*ze(t),r=0,o=1/0;r<10&&je(o)>qe;r++)t-=o=(t+ze(t)-n)/(1+Re(t));return n=nt(2+He),[e*(1+Re(t))/n,2*t/n]}Gn.invert=function(e,t){var n=1+Ve,r=nt(n/2);return[2*e*r/(1+Re(t*=r)),et((t+ze(t))/n)]};var qn=function(){return xe(Gn).scale(173.044)},Wn=3+2*Ke;function Hn(e,t){var n=ze(e/=2),r=Re(e),o=nt(Re(t)),i=Re(t/=2),a=ze(t)/(i+Ke*r*o),u=nt(2/(1+a*a)),s=nt((Ke*i+(r+n)*o)/(Ke*i+(r-n)*o));return[Wn*(u*(s-1/s)-2*Le(s)),Wn*(u*a*(s+1/s)-2*ke(a))]}Hn.invert=function(e,t){if(!(n=ft.invert(e/1.2,1.065*t)))return null;var n,r=n[0],o=n[1],i=20;e/=Wn,t/=Wn;do{var a=r/2,u=o/2,s=ze(a),c=Re(a),l=ze(u),f=Re(u),p=Re(o),d=nt(p),h=l/(f+Ke*c*d),v=h*h,m=nt(2/(1+v)),g=(Ke*f+(c+s)*d)/(Ke*f+(c-s)*d),y=nt(g),b=y-1/y,w=y+1/y,M=m*b-2*Le(y)-e,E=m*h*w-2*ke(h)-t,P=l&&Xe*d*s*v/l,O=(Ke*c*f+d)/(2*(f+Ke*c*d)*(f+Ke*c*d)*d),S=-.5*h*m*m*m,_=S*P,x=S*O,C=(C=2*f+Ke*d*(c-s))*C*y,j=(Ke*c*f*d+p)/C,k=-Ke*s*l/(d*C),N=b*_-2*j/y+m*(j+j/g),R=b*x-2*k/y+m*(k+k/g),A=h*w*_-2*P/(1+v)+m*w*P+m*h*(j-j/g),T=h*w*x-2*O/(1+v)+m*w*O+m*h*(k-k/g),L=R*A-T*N;if(!L)break;var D=(E*R-M*T)/L,F=(M*A-E*N)/L;r-=D,o=De(-Ve,Fe(Ve,o-F))}while((je(D)>qe||je(F)>qe)&&--i>0);return je(je(o)-Ve)r){var c=nt(s),l=Ne(u,a),f=n*Be(l/n),p=l-f,d=e*Re(p),h=(e*ze(p)-p*ze(d))/(Ve-d),v=ir(p,h),m=(He-e)/ar(v,d,He);a=c;var g,y=50;do{a-=g=(e+ar(v,d,a)*m-c)/(v(a)*m)}while(je(g)>qe&&--y>0);u=p*ze(a),ar){var a=nt(i),u=Ne(o,t),s=n*Be(u/n),c=u-s;t=a*Re(c),o=a*ze(c);for(var l=t-Ve,f=ze(t),p=o/f,d=tqe||je(f)>qe)&&--h>0);return[p,d]},s},cr=sr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),lr=function(){return xe(cr).scale(149.995)},fr=sr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),pr=function(){return xe(fr).scale(153.93)},dr=sr(5/6*He,-.62636,-.0344,0,1.3493,-.05524,0,.045),hr=function(){return xe(dr).scale(130.945)};function vr(e,t){var n=e*e,r=t*t;return[e*(1-.162388*r)*(.87-952426e-9*n*n),t*(1+r/12)]}vr.invert=function(e,t){var n,r=e,o=t,i=50;do{var a=o*o;o-=n=(o*(1+a/12)-t)/(1+a/4)}while(je(n)>qe&&--i>0);i=50,e/=1-.162388*a;do{var u=(u=r*r)*u;r-=n=(r*(.87-952426e-9*u)-e)/(.87-.00476213*u)}while(je(n)>qe&&--i>0);return[r,o]};var mr=function(){return xe(vr).scale(131.747)},gr=sr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),yr=function(){return xe(gr).scale(131.087)},br=function(e){var t=e(Ve,0)[0]-e(-Ve,0)[0];function n(n,r){var o=n>0?-.5:.5,i=e(n+o*He,r);return i[0]-=o*t,i}return e.invert&&(n.invert=function(n,r){var o=n>0?-.5:.5,i=e.invert(n+o*t,r),a=i[0]-o*He;return a<-He?a+=2*He:a>He&&(a-=2*He),i[0]=a,i}),n};function wr(e,t){var n=Ue(e),r=Ue(t),o=Re(t),i=Re(e)*o,a=ze(e)*o,u=ze(r*t);e=je(Ne(a,u)),t=et(i),je(e-Ve)>qe&&(e%=Ve);var s=function(e,t){if(t===Ve)return[0,0];var n,r,o=ze(t),i=o*o,a=i*i,u=1+a,s=1+3*a,c=1-a,l=et(1/nt(u)),f=c+i*u*l,p=(1-o)/f,d=nt(p),h=p*u,v=nt(h),m=d*c;if(0===e)return[0,-(m+i*v)];var g,y=Re(t),b=1/y,w=2*o*y,M=(-f*y-(-3*i+l*s)*w*(1-o))/(f*f),E=-b*w,P=-b*(i*u*M+p*s*w),O=-2*b*(c*(.5*M/d)-2*i*d*w),S=4*e/He;if(e>.222*He||t.175*He){if(n=(m+i*nt(h*(1+a)-m*m))/(1+a),e>He/4)return[n,n];var _=n,x=.5*n;n=.5*(x+_),r=50;do{var C=nt(h-n*n),j=n*(O+E*C)+P*et(n/v)-S;if(!j)break;j<0?x=n:_=n,n=.5*(x+_)}while(je(_-x)>qe&&--r>0)}else{n=qe,r=25;do{var k=n*n,N=nt(h-k),R=O+E*N,A=n*R+P*et(n/v)-S,T=R+(P-E*k)/N;n-=g=N?A/T:0}while(je(g)>qe&&--r>0)}return[n,-m-i*nt(h-n*n)]}(e>He/4?Ve-e:e,t);return e>He/4&&(u=s[0],s[0]=-s[1],s[1]=-u),s[0]*=n,s[1]*=-r,s}wr.invert=function(e,t){var n=Ue(e),r=Ue(t),o=-n*e,i=-r*t,a=i/o<1,u=function(e,t){var n=0,r=1,o=.5,i=50;for(;;){var a=o*o,u=nt(o),s=et(1/nt(1+a)),c=1-a+o*(1+a)*s,l=(1-u)/c,f=nt(l),p=l*(1+a),d=f*(1-a),h=nt(p-e*e),v=t+d+o*h;if(je(r-n)0?n=o:r=o,o=.5*(n+r)}if(!i)return null;var m=et(u),g=Re(m),y=1/g,b=2*u*g,w=(-c*g-(-3*o+s*(1+3*a))*b*(1-u))/(c*c);return[He/4*(e*(-2*y*(.5*w/f*(1-a)-2*o*f*b)+-y*b*h)+-y*(o*(1+a)*w+l*(1+3*a)*b)*et(e/nt(p))),m]}(a?i:o,a?o:i),s=u[0],c=u[1],l=Re(c);return a&&(s=-Ve-s),[n*(Ne(ze(s)*l,-ze(c))+He),r*et(Re(s)*l)]};var Mr=function(){return xe(br(wr)).scale(239.75)};function Er(e,t){var n,r,o,i,a,u;if(t=1-qe)return n=(1-t)/4,o=1/(r=ot(e)),[(i=((u=Ae(2*(u=e)))-1)/(u+1))+n*((a=r*rt(e))-e)/(r*r),o-n*i*o*(a-e),o+n*i*o*(a+e),2*ke(Ae(e))-Ve+n*(a-e)/r];var s=[1,0,0,0,0,0,0,0,0],c=[nt(t),0,0,0,0,0,0,0,0],l=0;for(r=nt(1-t),a=1;je(c[l]/s[l])>qe&&l<8;)n=s[l++],c[l]=(n-r)/2,s[l]=(n+r)/2,r=nt(n*r),a*=2;o=a*s[l]*e;do{o=(et(i=c[l]*ze(r=o)/s[l])+o)/2}while(--l);return[ze(o),i=Re(o),i/Re(o-r),o]}function Pr(e,t){if(!t)return e;if(1===t)return Le(Ge(e/2+Ye));for(var n=1,r=nt(1-t),o=nt(t),i=0;je(o)>qe;i++){if(e%He){var a=ke(r*Ge(e)/n);a<0&&(a+=He),e+=a+~~(e/He)*He}else e+=e;o=(n+r)/2,r=nt(n*r),o=((n=o)-r)/2}return e/(Ie(2,i)*n)}function Or(e,t){var n=(Ke-1)/(Ke+1),r=nt(1-n*n),o=Pr(Ve,r*r),i=Le(Ge(He/4+je(t)/2)),a=Ae(-1*i)/nt(n),u=function(e,t){var n=e*e,r=t+1,o=1-n-t*t;return[.5*((e>=0?Ve:-Ve)-Ne(o,2*e)),-.25*Le(o*o+4*n)+.5*Le(r*r+n)]}(a*Re(-1*e),a*ze(-1*e)),s=function(e,t,n){var r=je(e),o=rt(je(t));if(r){var i=1/ze(r),a=1/(Ge(r)*Ge(r)),u=-(a+n*(o*o*i*i)-1+n),s=(-u+nt(u*u-4*((n-1)*a)))/2;return[Pr(ke(1/nt(s)),n)*Ue(e),Pr(ke(nt((s/a-1)/n)),1-n)*Ue(t)]}return[0,Pr(ke(o),1-n)*Ue(t)]}(u[0],u[1],r*r);return[-s[1],(t>=0?1:-1)*(.5*o-s[0])]}Or.invert=function(e,t){var n=(Ke-1)/(Ke+1),r=nt(1-n*n),o=function(e,t,n){var r,o,i;return e?(r=Er(e,n),t?(i=(o=Er(t,1-n))[1]*o[1]+n*r[0]*r[0]*o[0]*o[0],[[r[0]*o[2]/i,r[1]*r[2]*o[0]*o[1]/i],[r[1]*o[1]/i,-r[0]*r[2]*o[0]*o[2]/i],[r[2]*o[1]*o[2]/i,-n*r[0]*r[1]*o[0]/i]]):[[r[0],0],[r[1],0],[r[2],0]]):[[0,(o=Er(t,1-n))[0]/o[1]],[1/o[1],0],[o[2]/o[1],0]]}(.5*Pr(Ve,r*r)-t,-e,r*r),i=function(e,t){var n=t[0]*t[0]+t[1]*t[1];return[(e[0]*t[0]+e[1]*t[1])/n,(e[1]*t[0]-e[0]*t[1])/n]}(o[0],o[1]);return[Ne(i[1],i[0])/-1,2*ke(Ae(-.5*Le(n*i[0]*i[0]+n*i[1]*i[1])))-Ve]};var Sr=function(){return xe(br(Or)).scale(151.496)},_r=gt((function(e){return y(2/(1+e))}));_r.invert=yt((function(e){return 2*w(e/2)}));function xr(e,t){if(arguments.length<2&&(t=e),1===t)return _r;if(t===1/0)return Cr;function n(n,r){var o=_r(n/t,r);return o[0]*=e,o}return n.invert=function(n,r){var o=_r.invert(n/e,r);return o[0]*=t,o},n}function Cr(e,t){return[e*Re(t)/Re(t/=2),2*ze(t)]}Cr.invert=function(e,t){var n=2*et(t/2);return[e*Re(n/2)/Re(n),n]};var jr=function(){var e=2,t=Ce(xr),n=t(e);return n.coefficient=function(n){return arguments.length?t(e=+n):e},n.scale(169.529)};function kr(e){var t=ze(e),n=Re(e),r=Nr(e);function o(e,o){var i=r(e,o);e=i[0],o=i[1];var a=ze(o),u=Re(o),s=Re(e),c=tt(t*a+n*u*s),l=ze(c),f=je(l)>qe?c/l:1;return[f*n*ze(e),(je(e)>Ve?f:-f)*(t*u-n*a*s)]}return r.invert=Nr(-e),o.invert=function(e,n){var o=nt(e*e+n*n),i=-ze(o),a=Re(o),u=o*a,s=-n*i,c=o*t,l=nt(u*u+s*s-c*c),f=Ne(u*c+s*l,s*c-u*l),p=(o>Ve?-1:1)*Ne(e*i,o*Re(f)*a+n*ze(f)*i);return r.invert(p,f)},o}function Nr(e){var t=ze(e),n=Re(e);return function(e,r){var o=Re(r),i=Re(e)*o,a=ze(e)*o,u=ze(r);return[Ne(a,i*n-u*t),et(u*n+i*t)]}}var Rr=function(){var e=0,t=Ce(kr),n=t(e),r=n.rotate,o=n.stream,i=function(){var e,t,n=W([0,0]),r=W(90),o=W(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=l,n[1]*=l}};function a(){var a=n.apply(this,arguments),u=r.apply(this,arguments)*f,s=o.apply(this,arguments)*f;return e=[],t=Y(-a[0]*f,-a[1]*f,0).invert,Z(i,u,s,1),a={type:"Polygon",coordinates:[e]},e=t=null,a}return a.center=function(e){return arguments.length?(n="function"===typeof e?e:W([+e[0],+e[1]]),a):n},a.radius=function(e){return arguments.length?(r="function"===typeof e?e:W(+e),a):r},a.precision=function(e){return arguments.length?(o="function"===typeof e?e:W(+e),a):o},a}();return n.parallel=function(r){if(!arguments.length)return e*Ze;var o=n.rotate();return t(e=r*$e).rotate(o)},n.rotate=function(t){return arguments.length?(r.call(n,[t[0],t[1]-e*Ze]),i.center([-t[0],-t[1]]),n):((t=r.call(n))[1]+=e*Ze,t)},n.stream=function(e){return(e=o(e)).sphere=function(){e.polygonStart();var t,n=i.radius(89.99)().coordinates[0],r=n.length-1,o=-1;for(e.lineStart();++o=0;)e.point((t=n[o])[0],t[1]);e.lineEnd(),e.polygonEnd()},e},n.scale(79.4187).parallel(45).clipAngle(179.999)},Ar=41+48/36+37/3600,Tr=Cn(0);function Lr(e){var t=Ar*$e,n=Mn(He,t)[0]-Mn(-He,t)[0],r=Tr(0,t)[1],o=Mn(0,t)[1],i=Je-o,a=Qe/e,u=4/Qe,s=r+i*i*4/Qe;function c(c,l){var f,p=je(l);if(p>t){var d=Fe(e-1,De(0,Te((c+He)/a)));(f=Mn(c+=He*(e-1)/e-d*a,p))[0]=f[0]*Qe/n-Qe*(e-1)/(2*e)+d*Qe/e,f[1]=r+4*(f[1]-o)*i/Qe,l<0&&(f[1]=-f[1])}else f=Tr(c,l);return f[0]*=u,f[1]/=s,f}return c.invert=function(t,c){t/=u;var l=je(c*=s);if(l>r){var f=Fe(e-1,De(0,Te((t+He)/a)));t=(t+He*(e-1)/e-f*a)*n/Qe;var p=Mn.invert(t,.25*(l-r)*Qe/i+o);return p[0]-=He*(e-1)/e-f*a,c<0&&(p[1]=-p[1]),p}return Tr.invert(t,c)},c}var Dr=function(){var e=4,t=Ce(Lr),n=t(e),r=n.stream;return n.lobes=function(n){return arguments.length?t(e=+n):e},n.stream=function(t){var o=n.rotate(),i=r(t),a=(n.rotate([0,0]),r(t));return n.rotate(o),i.sphere=function(){var t;de((t=180/e,{type:"Polygon",coordinates:[Object(B.b)(-180,180+t/2,t).map((function(e,t){return[e,1&t?90-1e-6:Ar]})).concat(Object(B.b)(180,-180-t/2,-t).map((function(e,t){return[e,1&t?1e-6-90:-Ar]})))]}),a)},i},n.scale(239.75)};function Fr(e){var t,n=1+e,r=et(ze(1/n)),o=2*nt(He/(t=He+4*r*n)),i=.5*o*(n+nt(e*(2+e))),a=e*e,u=n*n;function s(s,c){var l,f,p=1-ze(c);if(p&&p<2){var d,h=Ve-c,v=25;do{var m=ze(h),g=Re(h),y=r+Ne(m,n-g),b=1+u-2*n*g;h-=d=(h-a*r-n*m+b*y-.5*p*t)/(2*n*m*y)}while(je(d)>We&&--v>0);l=o*nt(b),f=s*y/He}else l=o*(e+p),f=s*r/He;return[l*ze(f),i-l*Re(f)]}return s.invert=function(e,s){var c=e*e+(s-=i)*s,l=(1+u-c/(o*o))/(2*n),f=tt(l),p=ze(f),d=r+Ne(p,n-l);return[et(e/nt(c))*He/d,et(1-2*(f-a*r-n*p+(1+u-2*n*l)*d)/t)]},s}var Ir=function(){var e=1,t=Ce(Fr),n=t(e);return n.ratio=function(n){return arguments.length?t(e=+n):e},n.scale(167.774).center([0,18.67])},Br=.7109889596207567,Ur=.0528035274542;function zr(e,t){return t>-Br?((e=Ot(e,t))[1]+=Ur,e):Nt(e,t)}zr.invert=function(e,t){return t>-Br?Ot.invert(e,t-Ur):Nt.invert(e,t)};var Gr=function(){return xe(zr).rotate([-20,-55]).scale(164.263).center([0,-5.4036])};function qr(e,t){return je(t)>Br?((e=Ot(e,t))[1]-=t>0?Ur:-Ur,e):Nt(e,t)}qr.invert=function(e,t){return je(t)>Br?Ot.invert(e,t+(t>0?Ur:-Ur)):Nt.invert(e,t)};var Wr=function(){return xe(qr).scale(152.63)};function Hr(e,t){return je(e[0]-t[0])=0;--u)n=(t=e[1][u])[0][0],r=t[0][1],o=t[1][1],i=t[2][0],a=t[2][1],s.push(Vr([[i-qe,a-qe],[i-qe,o+qe],[n+qe,o+qe],[n+qe,r-qe]],30));return{type:"Polygon",coordinates:[Object(B.a)(s)]}}(t),r=(t=t.map((function(e){return e.map((function(e){return[[e[0][0]*$e,e[0][1]*$e],[e[1][0]*$e,e[1][1]*$e],[e[2][0]*$e,e[2][1]*$e]]}))}))).map((function(t){return t.map((function(t){var n,r=e(t[0][0],t[0][1])[0],o=e(t[2][0],t[2][1])[0],i=e(t[1][0],t[0][1])[1],a=e(t[1][0],t[1][1])[1];return i>a&&(n=i,i=a,a=n),[[r,i],[o,a]]}))}));function o(n,r){for(var o=r<0?-1:1,i=t[+(r<0)],a=0,u=i.length-1;ai[a][2][0];++a);var s=e(n-i[a][1][0],r);return s[0]+=e(i[a][1][0],o*r>o*i[a][0][1]?i[a][0][1]:r)[0],s}e.invert&&(o.invert=function(n,i){for(var a=r[+(i<0)],u=t[+(i<0)],s=0,c=a.length;s2)return null;var o=(t/=2)*t,i=(n/=2)*n,a=2*n/(1+o+i);return a=Ie((1+a)/(1-a),1/e),[Ne(2*t,1-o-i)/e,et((a-1)/(a+1))]},t}var co=function(){var e=.5,t=Ce(so),n=t(e);return n.spacing=function(n){return arguments.length?t(e=+n):e},n.scale(124.75)},lo=He/Ke;function fo(e,t){return[e*(1+nt(Re(t)))/2,t/(Re(t/2)*Re(e/6))]}fo.invert=function(e,t){var n=je(e),r=je(t),o=qe,i=Ve;rqe||je(m)>qe)&&--o>0);return o&&[n,r]};var vo=function(){return xe(ho).scale(139.98)};function mo(e,t){return[ze(e)/Re(t),Ge(t)*Re(e)]}mo.invert=function(e,t){var n=e*e,r=t*t,o=r+1,i=e?Xe*nt((o-nt(n*n+2*n*(r-1)+o*o))/n+1):1/nt(o);return[et(e*i),Ue(t)*tt(i)]};var go=function(){return xe(mo).scale(144.049).clipAngle(89.999)};function yo(e){var t=Re(e),n=Ge(Ye+e/2);function r(r,o){var i=o-e,a=je(i)=0;)f=(l=e[c])[0]+u*(o=f)-s*p,p=l[1]+u*p+s*o;return[f=u*(o=f)-s*p,p=u*p+s*o]}return n.invert=function(n,r){var o=20,i=n,a=r;do{for(var u,s=t,c=e[s],l=c[0],f=c[1],p=0,d=0;--s>=0;)p=l+i*(u=p)-a*d,d=f+i*d+a*u,l=(c=e[s])[0]+i*(u=l)-a*f,f=c[1]+i*f+a*u;var h,v,m=(p=l+i*(u=p)-a*d)*p+(d=f+i*d+a*u)*d;i-=h=((l=i*(u=l)-a*f-n)*p+(f=i*f+a*u-r)*d)/m,a-=v=(f*p-l*d)/m}while(je(h)+je(v)>qe*qe&&--o>0);if(o){var g=nt(i*i+a*a),y=2*ke(.5*g),b=ze(y);return[Ne(i*b,g*Re(y)),g?et(a*b/g):0]}},n}var Po=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Oo=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],So=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],_o=[[.9245,0],[0,0],[.01943,0]],xo=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Co(){return Ao(Po,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function jo(){return Ao(Oo,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function ko(){return Ao(So,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function No(){return Ao(_o,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Ro(){return Ao(xo,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ao(e,t){var n=xe(Eo(e)).rotate(t).clipAngle(90),r=Q(t),o=n.center;return delete n.rotate,n.center=function(e){return arguments.length?o(r(e)):r.invert(o())},n}var To=nt(6),Lo=nt(7);function Do(e,t){var n=et(7*ze(t)/(3*To));return[To*e*(2*Re(2*n/3)-1)/Lo,9*ze(n/3)/Lo]}Do.invert=function(e,t){var n=3*et(t*Lo/9);return[e*Lo/(To*(2*Re(2*n/3)-1)),et(3*ze(n)*To/7)]};var Fo=function(){return xe(Do).scale(164.859)};function Io(e,t){for(var n,r=(1+Xe)*ze(t),o=t,i=0;i<25&&(o-=n=(ze(o/2)+ze(o)-r)/(.5*Re(o/2)+Re(o)),!(je(n)qe&&--o>0);return[e/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]};var qo=function(){return xe(Go).scale(175.295)};function Wo(e,t){return[e*(1+Re(t))/2,2*(t-Ge(t/2))]}Wo.invert=function(e,t){for(var n=t/2,r=0,o=1/0;r<10&&je(o)>qe;++r){var i=Re(t/2);t-=o=(t-Ge(t/2)-n)/(1-.5/(i*i))}return[2*e/(1+Re(t)),t]};var Ho=function(){return xe(Wo).scale(152.63)},Vo=1.0148,Yo=.23185,Xo=-.14499,Ko=.02406,Jo=Vo,Qo=5*Yo,Zo=7*Xo,$o=9*Ko;function ei(e,t){var n=t*t;return[e,t*(Vo+n*n*(Yo+n*(Xo+Ko*n)))]}ei.invert=function(e,t){t>1.790857183?t=1.790857183:t<-1.790857183&&(t=-1.790857183);var n,r=t;do{var o=r*r;r-=n=(r*(Vo+o*o*(Yo+o*(Xo+Ko*o)))-t)/(Jo+o*o*(Qo+o*(Zo+$o*o)))}while(je(n)>qe);return[e,r]};var ti=function(){return xe(ei).scale(139.319)};function ni(e,t){if(je(t)qe&&--i>0);return a=Ge(o),[(je(t)=0?1:-1,o=r*n,i=v(t=(t*=f)/2+s),a=m(t),u=ui*a,c=ai*i+u*v(o),l=u*r*m(o);ci.add(h(l,c)),ii=e,ai=i,ui=a}var mi,gi,yi,bi,wi,Mi,Ei,Pi,Oi,Si,_i=_(),xi={point:Ci,lineStart:ki,lineEnd:Ni,polygonStart:function(){xi.point=Ri,xi.lineStart=Ai,xi.lineEnd=Ti,_i.reset(),fi.polygonStart()},polygonEnd:function(){fi.polygonEnd(),xi.point=Ci,xi.lineStart=ki,xi.lineEnd=Ni,ci<0?(mi=-(yi=180),gi=-(bi=90)):_i>i?bi=90:_i<-i&&(gi=-90),Si[0]=mi,Si[1]=yi},sphere:function(){mi=-(yi=180),gi=-(bi=90)}};function Ci(e,t){Oi.push(Si=[mi=e,yi=e]),tbi&&(bi=t)}function ji(e,t){var n=N([e*f,t*f]);if(Pi){var r=A(Pi,n),o=A([r[1],-r[0],0],r);D(o),o=k(o);var i,a=e-wi,u=a>0?1:-1,s=o[0]*l*u,c=p(a)>180;c^(u*wibi&&(bi=i):c^(u*wi<(s=(s+360)%360-180)&&sbi&&(bi=t)),c?eLi(mi,yi)&&(yi=e):Li(e,yi)>Li(mi,yi)&&(mi=e):yi>=mi?(eyi&&(yi=e)):e>wi?Li(mi,e)>Li(mi,yi)&&(yi=e):Li(e,yi)>Li(mi,yi)&&(mi=e)}else Oi.push(Si=[mi=e,yi=e]);tbi&&(bi=t),Pi=n,wi=e}function ki(){xi.point=ji}function Ni(){Si[0]=mi,Si[1]=yi,xi.point=Ci,Pi=null}function Ri(e,t){if(Pi){var n=e-wi;_i.add(p(n)>180?n+(n>0?360:-360):n)}else Mi=e,Ei=t;fi.point(e,t),ji(e,t)}function Ai(){fi.lineStart()}function Ti(){Ri(Mi,Ei),fi.lineEnd(),p(_i)>i&&(mi=-(yi=180)),Si[0]=mi,Si[1]=yi,Pi=null}function Li(e,t){return(t-=e)<0?t+360:t}function Di(e,t){return e[0]-t[0]}function Fi(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tLi(r[0],r[1])&&(r[1]=o[1]),Li(o[0],r[1])>Li(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,t=0,r=i[n=i.length-1];t<=n;r=o,++t)o=i[t],(u=Li(r[1],o[0]))>a&&(a=u,mi=o[0],yi=r[1])}return Oi=Si=null,mi===1/0||gi===1/0?[[NaN,NaN],[NaN,NaN]]:[[mi,gi],[yi,bi]]},Bi=function(e,t){var n=e[0]*f,r=e[1]*f,o=t[0]*f,i=t[1]*f,a=v(r),u=m(r),s=v(i),c=m(i),p=a*v(n),d=a*m(n),g=s*v(o),b=s*m(o),E=2*w(y(M(i-r)+a*s*M(o-n))),P=m(E),O=E?function(e){var t=m(e*=E)/P,n=m(E-e)/P,r=n*p+t*g,o=n*d+t*b,i=n*u+t*c;return[h(o,r)*l,h(i,y(r*r+o*o))*l]}:function(){return[n*l,r*l]};return O.distance=E,O},Ui=function(e,t){var n=Gi(e[1],e[0]),r=Gi(t[1],t[0]),o=function(e,t){return Ne(e[0]*t[1]-e[1]*t[0],e[0]*t[0]+e[1]*t[1])}(n,r),i=qi(n)/qi(r);return zi([1,0,e[0][0],0,1,e[0][1]],zi([i,0,0,0,i,0],zi([Re(o),ze(o),0,-ze(o),Re(o),0],[1,0,-t[0][0],0,1,-t[0][1]])))};function zi(e,t){return[e[0]*t[0]+e[1]*t[3],e[0]*t[1]+e[1]*t[4],e[0]*t[2]+e[1]*t[5]+e[2],e[3]*t[0]+e[4]*t[3],e[3]*t[1]+e[4]*t[4],e[3]*t[2]+e[4]*t[5]+e[5]]}function Gi(e,t){return[e[0]-t[0],e[1]-t[1]]}function qi(e){return nt(e[0]*e[0]+e[1]*e[1])}var Wi=function(e,t,n){function r(e,n){var r,o=t(e,n),i=o.project([e*Ze,n*Ze]);return(r=o.transform)?[r[0]*i[0]+r[1]*i[1]+r[2],-(r[3]*i[0]+r[4]*i[1]+r[5])]:(i[1]=-i[1],i)}(function e(t,n){if(t.edges=function(e){for(var t=e.length,n=[],r=e[t-1],o=0;o=0;)if(r=t[u],n[0]===r[0]&&n[1]===r[1]){if(i)return[i,n];i=n}}}(t.face,n.face),o=Ui(r.map(n.project),r.map(t.project));t.transform=n.transform?zi(n.transform,o):o;for(var i=n.edges,a=0,u=i.length;a0?[-t[0],0]:[180-t[0],180])};var t=Ji.map((function(t){return{face:t,project:e(t)}}));return[-1,0,0,1,0,1,4,5].forEach((function(e,n){var r=t[e];r&&(r.children||(r.children=[])).push(t[n])})),Wi(t[0],(function(e,n){return t[e<-He/2?n<0?6:4:e<0?n<0?2:0:er^d>r&&n<(p-c)*(r-l)/(d-l)+c&&(o=!o)}return o}(e[0],n))return e.push(t),!0}))||e.push([t])})),fa=[],e.length?e.length>1?{type:"MultiPolygon",coordinates:e}:{type:"Polygon",coordinates:e[0]}:null}},va=function(e){var t=e(Ve,0)[0]-e(-Ve,0)[0];function n(n,r){var o=je(n)0?n-He:n+He,r),a=(i[0]-i[1])*Xe,u=(i[0]+i[1])*Xe;if(o)return[a,u];var s=t*Xe,c=a>0^u>0?-1:1;return[c*a-Ue(u)*s,c*u-Ue(a)*s]}return e.invert&&(n.invert=function(n,r){var o=(n+r)*Xe,i=(r-n)*Xe,a=je(o)<.5*t&&je(i)<.5*t;if(!a){var u=t*Xe,s=o>0^i>0?-1:1,c=-s*(n+(i>0?1:-1)*u),l=-s*(r+(o>0?1:-1)*u);o=(-c-l)*Xe,i=(c-l)*Xe}var f=e.invert(o,i);return a||(f[0]+=o>0?He:-He),f}),xe(n).rotate([-90,-90,45]).clipAngle(179.999)},ma=function(){return va(wr).scale(176.423)},ga=function(){return va(Or).scale(111.48)},ya=function(e,t){if(!(0<=(t=+t)&&t<=20))throw new Error("invalid digits");function n(e){e[0]=+e[0].toFixed(t),e[1]=+e[1].toFixed(t)}function r(e){e.forEach(n)}function o(e){e.forEach(r)}function i(e){if(e)switch(e.type){case"GeometryCollection":e.geometries.forEach(i);break;case"Point":n(e.coordinates);break;case"MultiPoint":case"LineString":r(e.coordinates);break;case"MultiLineString":case"Polygon":o(e.coordinates);break;case"MultiPolygon":e.coordinates.forEach(o);break;default:return}}function a(e){i(e.geometry)}if(e)switch(e.type){case"Feature":a(e);break;case"FeatureCollection":e.features.forEach(a);break;default:i(e)}return e};function ba(e){var t=ze(e);function n(n,r){var o=t?Ge(n*t/2)/t:n/2;if(!r)return[2*o,-e];var i=2*ke(o*ze(r)),a=1/Ge(r);return[ze(i)*a,r+(1-Re(i))*a-e]}return n.invert=function(n,r){if(je(r+=e)qe&&--u>0);var f=n*(s=Ge(a)),p=Ge(je(r)0?Ve:-Ve)*(c+i*(f-u)/2+i*i*(f-2*c+u)/2)]}Ma.forEach((function(e){e[1]*=1.0144})),Ea.invert=function(e,t){var n=t/Ve,r=90*n,o=Fe(18,je(r/5)),i=De(0,Te(o));do{var a=Ma[i][1],u=Ma[i+1][1],s=Ma[Fe(19,i+2)][1],c=s-a,l=s-2*u+a,f=2*(je(n)-u)/c,p=l/c,d=f*(1-p*f*(1-2*p*f));if(d>=0||1===i){r=(t>=0?5:-5)*(d+o);var h,v=50;do{d=(o=Fe(18,je(r)/5))-(i=Te(o)),a=Ma[i][1],u=Ma[i+1][1],s=Ma[Fe(19,i+2)][1],r-=(h=(t>=0?Ve:-Ve)*(u+d*(s-a)/2+d*d*(s-2*u+a)/2)-t)*Ze}while(je(h)>We&&--v>0);break}}while(--i>=0);var m=Ma[i][0],g=Ma[i+1][0],y=Ma[Fe(19,i+2)][0];return[e/(g+d*(y-m)/2+d*d*(y-2*g+m)/2),r*$e]};var Pa=function(){return xe(Ea).scale(152.63)};function Oa(e,t){var n=function(e){function t(t,n){var r=Re(n),o=(e-1)/(e-r*Re(t));return[o*r*ze(t),o*ze(n)]}return t.invert=function(t,n){var r=t*t+n*n,o=nt(r),i=(e-nt(1-r*(e+1)/(e-1)))/((e-1)/o+o/(e-1));return[Ne(t*i,o*nt(1-i*i)),o?et(n*i/o):0]},t}(e);if(!t)return n;var r=Re(t),o=ze(t);function i(t,i){var a=n(t,i),u=a[1],s=u*o/(e-1)+r;return[a[0]*r/s,u/s]}return i.invert=function(t,i){var a=(e-1)/(e-1-i*o);return n.invert(a*t,a*i*r)},i}var Sa=function(){var e=2,t=0,n=Ce(Oa),r=n(e,t);return r.distance=function(r){return arguments.length?n(e=+r,t):e},r.tilt=function(r){return arguments.length?n(e,t=r*$e):t*Ze},r.scale(432.147).clipAngle(tt(1/e)*Ze-1e-6)},_a=1e4,xa=-180,Ca=xa+1e-4,ja=180,ka=ja-1e-4,Na=-90,Ra=Na+1e-4,Aa=90,Ta=Aa-1e-4;function La(e){return e===Na||e===Aa?[0,e]:[xa,(t=e,Math.floor(t*_a)/_a)];var t}function Da(e){e[0]<=Ca?e[0]=xa:e[0]>=ka&&(e[0]=ja),e[1]<=Ra?e[1]=Na:e[1]>=Ta&&(e[1]=Aa)}function Fa(e){e.forEach(Da)}function Ia(e,t){for(var n=0,r=e.length;n=ka||c<=Ra||c>=Ta){Da(u);for(var l=i+1;lCa&&pRa&&d=a)break;t.push(o=o.slice(l-1)),o[0]=La(o[0][1]),o.polygon=e,i=-1,a=o.length}}}e.length=0}function Ba(e){Ua(e.geometry)}function Ua(e){if(e){var t,n,r;switch(e.type){case"GeometryCollection":return void e.geometries.forEach(Ua);case"Point":Da(e.coordinates);break;case"MultiPoint":case"LineString":Fa(e.coordinates);break;case"MultiLineString":e.coordinates.forEach(Fa);break;case"Polygon":Ia(e.coordinates,t=[]);break;case"MultiPolygon":for(t=[],n=-1,r=e.coordinates.length;++n0?He-u:u)*Ze],c=xe(e(a)).rotate(s),l=Q(s),f=c.center;return delete c.rotate,c.center=function(e){return arguments.length?f(l(e)):l.invert(f())},c.clipAngle(90)};function Ha(e){var t=Re(e);function n(e,n){var r=Yi(e,n);return r[0]*=t,r}return n.invert=function(e,n){return Yi.invert(e/t,n)},n}function Va(){return Ya([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Ya(e,t){return Wa(Ha,e,t)}function Xa(e){if(!(e*=2))return bt;var t=-e/2,n=-t,r=e*e,o=Ge(n),i=.5/ze(n);function a(o,i){var a=tt(Re(i)*Re(o-t)),u=tt(Re(i)*Re(o-n));return[((a*=a)-(u*=u))/(2*e),(i<0?-1:1)*nt(4*r*u-(r-a+u)*(r-a+u))/(2*e)]}return a.invert=function(e,r){var a,u,s=r*r,c=Re(nt(s+(a=e+t)*a)),l=Re(nt(s+(a=e+n)*a));return[Ne(u=c-l,a=(c+l)*o),(r<0?-1:1)*tt(nt(a*a+u*u)*i)]},a}function Ka(){return Ja([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Ja(e,t){return Wa(Xa,e,t)}function Qa(e,t){if(je(t)qe&&--u>0);return[Ue(e)*(nt(o*o+4)+o)*He/4,Ve*a]};var ou=function(){return xe(ru).scale(127.16)},iu=4*He+3*nt(3),au=2*nt(2*He*nt(3)/iu),uu=Pt(au*nt(3)/He,au,iu/6),su=function(){return xe(uu).scale(176.84)};function cu(e,t){return[e*nt(1-3*t*t/(He*He)),t]}cu.invert=function(e,t){return[e/nt(1-3*t*t/(He*He)),t]};var lu=function(){return xe(cu).scale(152.63)};function fu(e,t){var n=.90631*ze(t),r=nt(1-n*n),o=nt(2/(1+r*Re(e/=3)));return[2.66723*r*o*ze(e),1.24104*n*o]}fu.invert=function(e,t){var n=e/2.66723,r=t/1.24104,o=nt(n*n+r*r),i=2*et(o/2);return[3*Ne(e*Ge(i),2.66723*o),o&&et(t*ze(i)/(1.24104*.90631*o))]};var pu=function(){return xe(fu).scale(172.632)};function du(e,t){var n=Re(t),r=Re(e)*n,o=1-r,i=Re(e=Ne(ze(e)*n,-ze(t))),a=ze(e);return[a*(n=nt(1-r*r))-i*o,-i*n-a*o]}du.invert=function(e,t){var n=(e*e+t*t)/-2,r=nt(-n*(2+n)),o=t*n+e*r,i=e*n-t*r,a=nt(i*i+o*o);return[Ne(r*o,a*(1+n)),a?-et(r*i/a):0]};var hu=function(){return xe(du).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)};function vu(e,t){var n=ut(e,t);return[(n[0]+e/Ve)/2,(n[1]+t)/2]}vu.invert=function(e,t){var n=e,r=t,o=25;do{var i,a=Re(r),u=ze(r),s=ze(2*r),c=u*u,l=a*a,f=ze(n),p=Re(n/2),d=ze(n/2),h=d*d,v=1-l*p*p,m=v?tt(a*p)*nt(i=1/v):i=0,g=.5*(2*m*a*d+n/Ve)-e,y=.5*(m*u+r)-t,b=.5*i*(l*h+m*a*p*c)+.5/Ve,w=i*(f*s/4-m*u*d),M=.125*i*(s*d-m*u*l*f),E=.5*i*(c*p+m*h*a)+.5,P=w*M-E*b,O=(y*w-g*E)/P,S=(g*M-y*b)/P;n-=O,r-=S}while((je(O)>qe||je(S)>qe)&&--o>0);return[n,r]};var mu=function(){return xe(vu).scale(158.837)}},o0o1:function(e,t,n){e.exports=n("ls82")},"oG+/":function(e,t,n){},qFS3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t=200&&n.status<400){var e=JSON.parse(n.responseText);t.setState({geographyPaths:t.parseGeographies(e)},(function(){t.props.onGeographyPathsLoaded&&t.props.onGeographyPathsLoaded(String(n.status))}))}else t.props.onGeographyPathsLoaded&&t.props.onGeographyPathsLoaded(String(n.status))},n.onerror=function(){console.log("There was a connection error...")},n.send(),this.cancelPendingRequest(),this._xhr=n}},{key:"cancelPendingRequest",value:function(){this._xhr&&(this._xhr.abort(),this._xhr=null)}}]),t}(i.Component);s.defaultProps={componentIdentifier:"Geographies",disableOptimization:!1,geography:""},t.default=s},rlHP:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},rq1c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;nM||(0,u.geoLength)(w)>M),P=n(r.coordinates.start),O=n(r.coordinates.end),S=p?p(P,O,r):"M "+P.join(" ")+" L "+O.join(" ");return a.default.createElement("path",{className:"rsm-line"+(v?" rsm-line--pressed":"")+(m?" rsm-line--hover":"")+" "+t,transform:""+g,style:o[E?"hidden":v||m?v?"pressed":"hover":"default"],onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.handleMouseClick,onMouseMove:this.handleMouseMove,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:i?0:-1,d:S,strokeWidth:d})}}]),t}(i.Component);s.defaultProps={style:{default:{},hover:{},pressed:{}},line:{coordinates:{start:[0,0],end:[-99.1,19.4]}},tabable:!0,preserveMarkerAspect:!0,strokeWidth:1,className:""},t.default=s},sDYk:function(e,t){e.exports=function(e,t){if(!e)throw new Error("No coordinates passed");return{type:"Feature",geometry:{type:"LineString",coordinates:e},properties:t||{}}}},sEfC:function(e,t,n){var r=n("GoyQ"),o=n("QIyF"),i=n("tLB3"),a="Expected a function",u=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,f,p,d,h,v=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=c,r=l;return c=l=void 0,v=t,p=e.apply(r,n)}function w(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-v>=f}function M(){var e=o();if(w(e))return E(e);d=setTimeout(M,function(e){var n=t-(e-h);return g?s(n,f-(e-v)):n}(e))}function E(e){return d=void 0,y&&c?b(e):(c=l=void 0,p)}function P(){var e=o(),n=w(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return function(e){return v=e,d=setTimeout(M,t),m?b(e):p}(h);if(g)return clearTimeout(d),d=setTimeout(M,t),b(h)}return void 0===d&&(d=setTimeout(M,t)),p}return t=i(t)||0,r(n)&&(m=!!n.leading,f=(g="maxWait"in n)?u(i(n.maxWait)||0,t):f,y="trailing"in n?!!n.trailing:y),P.cancel=function(){void 0!==d&&clearTimeout(d),v=0,c=h=l=d=void 0},P.flush=function(){return void 0===d?p:E(o())},P}},sMTQ:function(e,t,n){},tLB3:function(e,t,n){var r=n("GoyQ"),o=n("/9aa"),i=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):u.test(e)?i:+e}},tQ2B:function(e,t,n){"use strict";var r=n("xTJ+"),o=n("Rn+g"),i=n("MLWZ"),a=n("g7np"),u=n("w0Vi"),s=n("OTTw"),c=n("LYNF");e.exports=function(e){return new Promise((function(t,l){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+v)}var m=a(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),i(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:e,request:d};o(t,l,r),d=null}},d.onabort=function(){d&&(l(c("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){l(c("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n("eqyj"),y=(e.withCredentials||s(m))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),l(e),d=null)})),void 0===f&&(f=null),d.send(f)}))}},uxza:function(e,t,n){},vBe5:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return a}));var r=function(e,t){return et?1:e>=t?0:NaN};var o=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return r(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}(r);o.right,o.left;var i=Array.prototype,a=(i.slice,i.map,function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r=0;)for(t=(r=e[o]).length;--t>=0;)n[--a]=r[t];return n}},vDqi:function(e,t,n){e.exports=n("zuR4")},w0Vi:function(e,t,n){"use strict";var r=n("xTJ+"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},w61o:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("4Vnt");Object.defineProperty(t,"ComposableMap",{enumerable:!0,get:function(){return m(r).default}});var o=n("aqGn");Object.defineProperty(t,"ZoomableGroup",{enumerable:!0,get:function(){return m(o).default}});var i=n("5KXR");Object.defineProperty(t,"ZoomableGlobe",{enumerable:!0,get:function(){return m(i).default}});var a=n("rS6m");Object.defineProperty(t,"Geographies",{enumerable:!0,get:function(){return m(a).default}});var u=n("hkTX");Object.defineProperty(t,"Geography",{enumerable:!0,get:function(){return m(u).default}});var s=n("cuJV");Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return m(s).default}});var c=n("egBM");Object.defineProperty(t,"Markers",{enumerable:!0,get:function(){return m(c).default}});var l=n("rq1c");Object.defineProperty(t,"Line",{enumerable:!0,get:function(){return m(l).default}});var f=n("+1In");Object.defineProperty(t,"Lines",{enumerable:!0,get:function(){return m(f).default}});var p=n("whuV");Object.defineProperty(t,"MapGroup",{enumerable:!0,get:function(){return m(p).default}});var d=n("M8NJ");Object.defineProperty(t,"Annotation",{enumerable:!0,get:function(){return m(d).default}});var h=n("li9F");Object.defineProperty(t,"Annotations",{enumerable:!0,get:function(){return m(h).default}});var v=n("bIsL");function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Graticule",{enumerable:!0,get:function(){return m(v).default}})},wTXl:function(e,t,n){},whuV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["groupName","itemName","componentIdentifier"]));return o.default.createElement(i.default,r({groupName:t,itemName:n},a))};u.defaultProps={componentIdentifier:"Lines",groupName:"lines",itemName:"line"},t.default=u},"/0+H":function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI")),i=n("lwAK");function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,o=void 0!==r&&r,i=e.hasQuery;return n||o&&(void 0!==i&&i)}t.isInAmpMode=a,t.useAmp=function(){return a(o.default.useContext(i.AmpStateContext))}},"/rf6":function(e,t,n){"use strict";function r(e,t,n){void 0===n&&(n={});var r={type:"Feature"};return(0===n.id||n.id)&&(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=t||{},r.geometry=e,r}function o(e,t,n){return void 0===n&&(n={}),r({type:"Point",coordinates:e},t,n)}function i(e,t,n){void 0===n&&(n={});for(var o=0,i=e;o=0))throw new Error("precision must be a positive number");var n=Math.pow(10,t||0);return Math.round(e*n)/n},t.radiansToLength=f,t.lengthToRadians=p,t.lengthToDegrees=function(e,t){return d(p(e,t))},t.bearingToAzimuth=function(e){var t=e%360;return t<0&&(t+=360),t},t.radiansToDegrees=d,t.degreesToRadians=function(e){return e%360*Math.PI/180},t.convertLength=function(e,t,n){if(void 0===t&&(t="kilometers"),void 0===n&&(n="kilometers"),!(e>=0))throw new Error("length must be a positive number");return f(p(e,t),n)},t.convertArea=function(e,n,r){if(void 0===n&&(n="meters"),void 0===r&&(r="kilometers"),!(e>=0))throw new Error("area must be a positive number");var o=t.areaFactors[n];if(!o)throw new Error("invalid original units");var i=t.areaFactors[r];if(!i)throw new Error("invalid final units");return e/o*i},t.isNumber=h,t.isObject=function(e){return!!e&&e.constructor===Object},t.validateBBox=function(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(4!==e.length&&6!==e.length)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach((function(e){if(!h(e))throw new Error("bbox must only contain numbers")}))},t.validateId=function(e){if(!e)throw new Error("id is required");if(-1===["string","number"].indexOf(typeof e))throw new Error("id must be a number or a string")},t.radians2degrees=function(){throw new Error("method has been renamed to `radiansToDegrees`")},t.degrees2radians=function(){throw new Error("method has been renamed to `degreesToRadians`")},t.distanceToDegrees=function(){throw new Error("method has been renamed to `lengthToDegrees`")},t.distanceToRadians=function(){throw new Error("method has been renamed to `lengthToRadians`")},t.radiansToDistance=function(){throw new Error("method has been renamed to `radiansToLength`")},t.bearingToAngle=function(){throw new Error("method has been renamed to `bearingToAzimuth`")},t.convertDistance=function(){throw new Error("method has been renamed to `convertLength`")}},"03wo":function(e,t,n){},"1+uw":function(e,t,n){},"2SVd":function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},"2W6z":function(e,t,n){"use strict";var r=function(){};e.exports=r},"2rMq":function(e,t,n){var r;!function(){"use strict";var o=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},"2zs7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var r,o=n("2rMq");var i=((r=o)&&r.__esModule?r:{default:r}).default,a=i.canUseDOM?window.HTMLElement:{};t.canUseDOM=i.canUseDOM;t.default=a},"3uSx":function(e,t,n){},"4BhY":function(e,t,n){"use strict";n.r(t),n.d(t,"bbox",(function(){return i})),n.d(t,"feature",(function(){return u})),n.d(t,"mesh",(function(){return f})),n.d(t,"meshArcs",(function(){return p})),n.d(t,"merge",(function(){return d})),n.d(t,"mergeArcs",(function(){return h})),n.d(t,"neighbors",(function(){return m})),n.d(t,"quantize",(function(){return g})),n.d(t,"transform",(function(){return o})),n.d(t,"untransform",(function(){return y}));var r=function(e){return e},o=function(e){if(null==(t=e.transform))return r;var t,n,o,i=t.scale[0],a=t.scale[1],u=t.translate[0],s=t.translate[1];return function(e,t){return t||(n=o=0),e[0]=(n+=e[0])*i+u,e[1]=(o+=e[1])*a+s,e}},i=function(e){var t=e.bbox;function n(e){s[0]=e[0],s[1]=e[1],u(s),s[0]f&&(f=s[0]),s[1]p&&(p=s[1])}function r(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(r);break;case"Point":n(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(n)}}if(!t){var i,a,u=o(e),s=new Array(2),c=1/0,l=c,f=-c,p=-c;for(a in e.arcs.forEach((function(e){for(var t=-1,n=e.length;++tf&&(f=s[0]),s[1]p&&(p=s[1])})),e.objects)r(e.objects[a]);t=e.bbox=[c,l,f,p]}return t},a=function(e,t){for(var n,r=e.length,o=r-t;o<--r;)n=e[o],e[o++]=e[r],e[r]=n},u=function(e,t){return"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return s(e,t)}))}:s(e,t)};function s(e,t){var n=t.id,r=t.bbox,o=null==t.properties?{}:t.properties,i=c(e,t);return null==n&&null==r?{type:"Feature",properties:o,geometry:i}:null==r?{type:"Feature",id:n,properties:o,geometry:i}:{type:"Feature",id:n,bbox:r,properties:o,geometry:i}}function c(e,t){var n=o(e),r=e.arcs;function i(e,t){t.length&&t.pop();for(var o=r[e<0?~e:e],i=0,u=o.length;i1)r=function(e,t,n){var r,o=[],i=[];function a(e){var t=e<0?~e:e;(i[t]||(i[t]=[])).push({i:e,g:r})}function u(e){e.forEach(a)}function s(e){e.forEach(u)}return function e(t){switch(r=t,t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"LineString":u(t.arcs);break;case"MultiLineString":case"Polygon":s(t.arcs);break;case"MultiPolygon":!function(e){e.forEach(s)}(t.arcs)}}(t),i.forEach(null==n?function(e){o.push(e[0].i)}:function(e){n(e[0].g,e[e.length-1].g)&&o.push(e[0].i)}),o}(0,t,n);else for(o=0,r=new Array(i=e.arcs.length);o1)for(var i,u,s=1,c=a(o[0]);sc&&(u=o[0],o[0]=o[s],o[s]=u,c=i);return o}))}}var v=function(e,t){for(var n=0,r=e.length;n>>1;e[o]=2))throw new Error("n must be \u22652");if(e.transform)throw new Error("already quantized");var n,r=i(e),o=r[0],a=(r[2]-o)/(t-1)||1,u=r[1],s=(r[3]-u)/(t-1)||1;function c(e){e[0]=Math.round((e[0]-o)/a),e[1]=Math.round((e[1]-u)/s)}function l(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(l);break;case"Point":c(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(c)}}for(n in e.arcs.forEach((function(e){for(var t,n,r,i=1,c=1,l=e.length,f=e[0],p=f[0]=Math.round((f[0]-o)/a),d=f[1]=Math.round((f[1]-u)/s);i1?this.handleMouseDown(t[0]):this.handleMouseUp()}},{key:"preventTouchScroll",value:function(e){e.touches.length>1&&e.preventDefault()}},{key:"componentWillReceiveProps",value:function(e){var t=this.state,n=(t.mouseX,t.mouseY,this.props),r=(n.projection,n.center),o=n.zoom,i=(e.zoom,JSON.stringify(e.center)!==JSON.stringify(r));this.setState({zoom:e.zoom,rotation:i?[-e.center[0],-e.center[1],this.state.rotation[2]]:this.state.rotation})}},{key:"componentDidMount",value:function(){var e=this.props;e.width,e.height,e.projection,e.zoom;window.addEventListener("resize",this.handleResize),window.addEventListener("mouseup",this.handleMouseUp),this.zoomableGlobeNode.addEventListener("touchmove",this.preventTouchScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("mouseup",this.handleMouseUp),this.zoomableGlobeNode.removeEventListener("touchmove",this.preventTouchScroll)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,o=t.zoom,i=t.style,s=t.projection,c=t.children,l=this.state;l.mouseX,l.mouseY;return a.default.createElement("g",{className:"rsm-zoomable-globe",ref:function(t){return e.zoomableGlobeNode=t},transform:"\n translate("+n/2+" "+r/2+")\n scale("+o+")\n translate("+-n/2+" "+-r/2+")\n ",onMouseMove:this.handleMouseMove,onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleMouseUp,style:i},(0,u.createNewChildren)(c,{width:n,height:r,center:this.center,backdrop:this.backdrop,zoom:this.props.zoom,disablePanning:this.props.disablePanning,children:c,projection:s.rotate(this.state.rotation)}))}}]),t}(i.Component);s.defaultProps={center:[0,0],zoom:1,disablePanning:!1,sensitivity:.25},t.default=s},"5fIB":function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement("meta",{charSet:"utf-8"})];return e||t.push(o.default.createElement("meta",{name:"viewport",content:"width=device-width"})),t}function l(e,t){return"string"===typeof t||"number"===typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return"string"===typeof t||"number"===typeof t?e:e.concat(t)}),[])):e.concat(t)}t.defaultHead=c;var f=["name","httpEquiv","charSet","itemProp"];function p(e,t){return e.reduce((function(e,t){var n=o.default.Children.toArray(t.props.children);return e.concat(n)}),[]).reduce(l,[]).reverse().concat(c(t.inAmpMode)).filter(function(){var e=new Set,t=new Set,n=new Set,r={};return function(o){var i=!0;if(o.key&&"number"!==typeof o.key&&o.key.indexOf("$")>0){var a=o.key.slice(o.key.indexOf("$")+1);e.has(a)?i=!1:e.add(a)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(var u=0,s=f.length;u1)for(var n=1;n=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n("8oxB"))},LYNF:function(e,t,n){"use strict";var r=n("OH9c");e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},Lmem:function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},M8NJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;tE;return u.default.createElement("g",{className:"rsm-annotation",style:P?o({},r,i):r,transform:"translate(\n "+(w[0]+a/f)+"\n "+(w[1]+l/f)+"\n )",textAnchor:(0,c.createTextAnchor)(a)},h,u.default.createElement("path",{d:b,stroke:p,strokeWidth:d,fill:"none",markerEnd:m}))}}]),t}(a.Component);l.defaultProps={curve:0,markerEnd:"none",componentIdentifier:"Annotation",stroke:"#000000",strokeWidth:1,zoom:1},t.default=l},MLWZ:function(e,t,n){"use strict";var r=n("xTJ+");function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},OH9c:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},OTTw:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},"P6+J":function(e,t,n){},QEso:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t0&&0===(w-=1)&&f.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus()},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){e.keyCode===y&&(0,l.default)(n.content,e),n.props.shouldCloseOnEsc&&e.keyCode===b&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===("undefined"===typeof t?"undefined":o(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"===typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&p.add(document.body,o),r&&p.add(document.getElementsByTagName("html")[0],r),n&&(w+=1,f.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=n?{}:i.content,s=o?{}:i.overlay;return this.shouldBeClosed()?null:u.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},s,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u.default.createElement("div",r({id:t,ref:this.setContentRef,style:r({},a,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(a.Component);M.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},M.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.instanceOf(d.default),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,testId:s.default.string},t.default=M,e.exports=t.default},QIyF:function(e,t,n){var r=n("Kz5y");e.exports=function(){return r.Date.now()}},"QJ+7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("cWyK");t.default=function(e){var t=[1/0,1/0,-1/0,-1/0];return r.coordEach(e,(function(e){t[0]>e[0]&&(t[0]=e[0]),t[1]>e[1]&&(t[1]=e[1]),t[2]-1&&(c+=o?-1:1);if("undefined"===typeof(r=n[c]))return t.preventDefault(),void(r=o?u:a).focus();t.preventDefault(),r.focus()};var r,o=n("ZDLa"),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},SntB:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),r.forEach(i,(function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):"undefined"!==typeof t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):"undefined"!==typeof e[o]&&(n[o]=e[o])})),r.forEach(a,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}));var u=o.concat(i).concat(a),s=Object.keys(t).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(s,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])})),n}},TSYQ:function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t0&&a.pop()},t.setupScopedFocus=function(e){u=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",l,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",l))},t.teardownScopedFocus=function(){u=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",l)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",l))};var r,o=n("ZDLa"),i=(r=o)&&r.__esModule?r:{default:r};var a=[],u=null,s=!1;function c(){s=!0}function l(){if(s){if(s=!1,!u)return;setTimeout((function(){u.contains(document.activeElement)||((0,i.default)(u)[0]||u).focus()}),0)}}},Wfic:function(e,t,n){},WkvU:function(e,t,n){"use strict";var r,o=n("UIKY"),i=(r=o)&&r.__esModule?r:{default:r};var a=void 0,u=void 0,s=[];function c(){0!==s.length&&s[s.length-1].focusContent()}i.default.subscribe((function(e,t){a&&u||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",c),(u=a.cloneNode()).addEventListener("focus",c)),(s=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==u&&document.body.appendChild(u)):(a.parentElement&&a.parentElement.removeChild(a),u.parentElement&&u.parentElement.removeChild(u))}))},Xuae:function(e,t,n){"use strict";var r=n("/GRZ"),o=n("qXWd"),i=n("i2R6"),a=n("48fX"),u=n("tCBg"),s=n("T0f4"),c=n("mPvQ");function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}Object.defineProperty(t,"__esModule",{value:!0});var f=n("q1tI"),p=!1;t.default=function(){var e,t=new Set;function n(n){e=n.props.reduceComponentsToState(c(t),n.props),n.props.handleStateChange&&n.props.handleStateChange(e)}return function(u){a(c,u);var s=l(c);function c(e){var i;return r(this,c),i=s.call(this,e),p&&(t.add(o(i)),n(o(i))),i}return i(c,null,[{key:"rewind",value:function(){var n=e;return e=void 0,t.clear(),n}}]),i(c,[{key:"componentDidMount",value:function(){t.add(this),n(this)}},{key:"componentDidUpdate",value:function(){n(this)}},{key:"componentWillUnmount",value:function(){t.delete(this),n(this)}},{key:"render",value:function(){return null}}]),c}(f.Component)}},Ye7m:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"===typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t="length"in n?n[0]:n}return u=t||u},t.validateElement=c,t.hide=function(e){c(e)&&(e||u).setAttribute("aria-hidden","true")},t.show=function(e){c(e)&&(e||u).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){u=null},t.resetForTesting=function(){u=null};var r,o=n("2W6z"),i=(r=o)&&r.__esModule?r:{default:r},a=n("2zs7");var u=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){return!(!e&&!u)||((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},ZDLa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)};var r=/input|select|textarea|button|object/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var n=window.getComputedStyle(e);return t?"visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==n.getPropertyValue("display")}function i(e,t){var n=e.nodeName.toLowerCase();return(r.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&i(e,!n)}e.exports=t.default},ZFwI:function(e,t,n){"use strict";n.r(t),n.d(t,"geoArea",(function(){return X})),n.d(t,"geoBounds",(function(){return ze})),n.d(t,"geoCentroid",(function(){return Ze})),n.d(t,"geoCircle",(function(){return ct})),n.d(t,"geoClipExtent",(function(){return Pt})),n.d(t,"geoContains",(function(){return qt})),n.d(t,"geoDistance",(function(){return Tt})),n.d(t,"geoGraticule",(function(){return Vt})),n.d(t,"geoGraticule10",(function(){return Yt})),n.d(t,"geoInterpolate",(function(){return Zt})),n.d(t,"geoLength",(function(){return Nt})),n.d(t,"geoPath",(function(){return Qn})),n.d(t,"geoAlbers",(function(){return gr})),n.d(t,"geoAlbersUsa",(function(){return yr})),n.d(t,"geoAzimuthalEqualArea",(function(){return Er})),n.d(t,"geoAzimuthalEqualAreaRaw",(function(){return Mr})),n.d(t,"geoAzimuthalEquidistant",(function(){return Or})),n.d(t,"geoAzimuthalEquidistantRaw",(function(){return Pr})),n.d(t,"geoConicConformal",(function(){return kr})),n.d(t,"geoConicConformalRaw",(function(){return jr})),n.d(t,"geoConicEqualArea",(function(){return mr})),n.d(t,"geoConicEqualAreaRaw",(function(){return vr})),n.d(t,"geoConicEquidistant",(function(){return Tr})),n.d(t,"geoConicEquidistantRaw",(function(){return Ar})),n.d(t,"geoEquirectangular",(function(){return Rr})),n.d(t,"geoEquirectangularRaw",(function(){return Nr})),n.d(t,"geoGnomonic",(function(){return Dr})),n.d(t,"geoGnomonicRaw",(function(){return Lr})),n.d(t,"geoIdentity",(function(){return Ir})),n.d(t,"geoProjection",(function(){return pr})),n.d(t,"geoProjectionMutator",(function(){return dr})),n.d(t,"geoMercator",(function(){return _r})),n.d(t,"geoMercatorRaw",(function(){return Sr})),n.d(t,"geoOrthographic",(function(){return zr})),n.d(t,"geoOrthographicRaw",(function(){return Br})),n.d(t,"geoStereographic",(function(){return Gr})),n.d(t,"geoStereographicRaw",(function(){return Ur})),n.d(t,"geoTransverseMercator",(function(){return Wr})),n.d(t,"geoTransverseMercatorRaw",(function(){return qr})),n.d(t,"geoRotation",(function(){return at})),n.d(t,"geoStream",(function(){return z})),n.d(t,"geoTransform",(function(){return rr}));var r=function(){return new o};function o(){this.reset()}o.prototype={constructor:o,reset:function(){this.s=this.t=0},add:function(e){a(i,e,this.t),a(this,i.s,this.s),this.s?this.t+=i.t:this.s=i.t},valueOf:function(){return this.s}};var i=new o;function a(e,t,n){var r=e.s=t+n,o=r-t,i=r-o;e.t=t-i+(n-o)}var u=1e-6,s=Math.PI,c=s/2,l=s/4,f=2*s,p=180/s,d=s/180,h=Math.abs,v=Math.atan,m=Math.atan2,g=Math.cos,y=Math.ceil,b=Math.exp,w=(Math.floor,Math.log),M=Math.pow,E=Math.sin,P=Math.sign||function(e){return e>0?1:e<0?-1:0},O=Math.sqrt,S=Math.tan;function _(e){return e>1?0:e<-1?s:Math.acos(e)}function x(e){return e>1?c:e<-1?-c:Math.asin(e)}function C(e){return(e=E(e/2))*e}function j(){}function k(e,t){e&&R.hasOwnProperty(e.type)&&R[e.type](e,t)}var N={Feature:function(e,t){k(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r=0?1:-1,o=r*n,i=g(t=(t*=d)/2+l),a=E(t),u=B*a,s=I*i+u*g(o),c=u*r*E(o);U.add(m(c,s)),F=e,I=i,B=a}var X=function(e){return G.reset(),z(e,q),2*G};function K(e){return[m(e[1],e[0]),x(e[2])]}function J(e){var t=e[0],n=e[1],r=g(n);return[r*g(t),r*E(t),E(n)]}function Q(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function Z(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function $(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function ee(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function te(e){var t=O(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var ne,re,oe,ie,ae,ue,se,ce,le,fe,pe=r(),de={point:he,lineStart:me,lineEnd:ge,polygonStart:function(){de.point=ye,de.lineStart=be,de.lineEnd=we,pe.reset(),q.polygonStart()},polygonEnd:function(){q.polygonEnd(),de.point=he,de.lineStart=me,de.lineEnd=ge,U<0?(ne=-(oe=180),re=-(ie=90)):pe>u?ie=90:pe<-u&&(re=-90),fe[0]=ne,fe[1]=oe}};function he(e,t){le.push(fe=[ne=e,oe=e]),tie&&(ie=t)}function ve(e,t){var n=J([e*d,t*d]);if(ce){var r=Z(ce,n),o=Z([r[1],-r[0],0],r);te(o),o=K(o);var i,a=e-ae,u=a>0?1:-1,s=o[0]*p*u,c=h(a)>180;c^(u*aeie&&(ie=i):c^(u*ae<(s=(s+360)%360-180)&&sie&&(ie=t)),c?eMe(ne,oe)&&(oe=e):Me(e,oe)>Me(ne,oe)&&(ne=e):oe>=ne?(eoe&&(oe=e)):e>ae?Me(ne,e)>Me(ne,oe)&&(oe=e):Me(e,oe)>Me(ne,oe)&&(ne=e)}else le.push(fe=[ne=e,oe=e]);tie&&(ie=t),ce=n,ae=e}function me(){de.point=ve}function ge(){fe[0]=ne,fe[1]=oe,de.point=he,ce=null}function ye(e,t){if(ce){var n=e-ae;pe.add(h(n)>180?n+(n>0?360:-360):n)}else ue=e,se=t;q.point(e,t),ve(e,t)}function be(){q.lineStart()}function we(){ye(ue,se),q.lineEnd(),h(pe)>u&&(ne=-(oe=180)),fe[0]=ne,fe[1]=oe,ce=null}function Me(e,t){return(t-=e)<0?t+360:t}function Ee(e,t){return e[0]-t[0]}function Pe(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tMe(r[0],r[1])&&(r[1]=o[1]),Me(o[0],r[1])>Me(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,t=0,r=i[n=i.length-1];t<=n;r=o,++t)o=i[t],(u=Me(r[1],o[0]))>a&&(a=u,ne=o[0],oe=r[1])}return le=fe=null,ne===1/0||re===1/0?[[NaN,NaN],[NaN,NaN]]:[[ne,re],[oe,ie]]},Ue={sphere:j,point:Ge,lineStart:We,lineEnd:Ye,polygonStart:function(){Ue.lineStart=Xe,Ue.lineEnd=Ke},polygonEnd:function(){Ue.lineStart=We,Ue.lineEnd=Ye}};function Ge(e,t){e*=d;var n=g(t*=d);qe(n*g(e),n*E(e),E(t))}function qe(e,t,n){++Oe,_e+=(e-_e)/Oe,xe+=(t-xe)/Oe,Ce+=(n-Ce)/Oe}function We(){Ue.point=He}function He(e,t){e*=d;var n=g(t*=d);Fe=n*g(e),Ie=n*E(e),Be=E(t),Ue.point=Ve,qe(Fe,Ie,Be)}function Ve(e,t){e*=d;var n=g(t*=d),r=n*g(e),o=n*E(e),i=E(t),a=m(O((a=Ie*i-Be*o)*a+(a=Be*r-Fe*i)*a+(a=Fe*o-Ie*r)*a),Fe*r+Ie*o+Be*i);Se+=a,je+=a*(Fe+(Fe=r)),ke+=a*(Ie+(Ie=o)),Ne+=a*(Be+(Be=i)),qe(Fe,Ie,Be)}function Ye(){Ue.point=Ge}function Xe(){Ue.point=Je}function Ke(){Qe(Le,De),Ue.point=Ge}function Je(e,t){Le=e,De=t,e*=d,t*=d,Ue.point=Qe;var n=g(t);Fe=n*g(e),Ie=n*E(e),Be=E(t),qe(Fe,Ie,Be)}function Qe(e,t){e*=d;var n=g(t*=d),r=n*g(e),o=n*E(e),i=E(t),a=Ie*i-Be*o,u=Be*r-Fe*i,s=Fe*o-Ie*r,c=O(a*a+u*u+s*s),l=x(c),f=c&&-l/c;Re+=f*a,Ae+=f*u,Te+=f*s,Se+=l,je+=l*(Fe+(Fe=r)),ke+=l*(Ie+(Ie=o)),Ne+=l*(Be+(Be=i)),qe(Fe,Ie,Be)}var Ze=function(e){Oe=Se=_e=xe=Ce=je=ke=Ne=Re=Ae=Te=0,z(e,Ue);var t=Re,n=Ae,r=Te,o=t*t+n*n+r*r;return o<1e-12&&(t=je,n=ke,r=Ne,Ses?e-f:e<-s?e+f:e,t]}function nt(e,t,n){return(e%=f)?t||n?et(ot(e),it(t,n)):ot(e):t||n?it(t,n):tt}function rt(e){return function(t,n){return[(t+=e)>s?t-f:t<-s?t+f:t,n]}}function ot(e){var t=rt(e);return t.invert=rt(-e),t}function it(e,t){var n=g(e),r=E(e),o=g(t),i=E(t);function a(e,t){var a=g(t),u=g(e)*a,s=E(e)*a,c=E(t),l=c*n+u*r;return[m(s*o-l*i,u*n-c*r),x(l*o+s*i)]}return a.invert=function(e,t){var a=g(t),u=g(e)*a,s=E(e)*a,c=E(t),l=c*o-s*i;return[m(s*o+c*i,u*n+l*r),x(l*n-u*r)]},a}tt.invert=tt;var at=function(e){function t(t){return(t=e(t[0]*d,t[1]*d))[0]*=p,t[1]*=p,t}return e=nt(e[0]*d,e[1]*d,e.length>2?e[2]*d:0),t.invert=function(t){return(t=e.invert(t[0]*d,t[1]*d))[0]*=p,t[1]*=p,t},t};function ut(e,t,n,r,o,i){if(n){var a=g(t),u=E(t),s=r*n;null==o?(o=t+r*f,i=t-s/2):(o=st(a,o),i=st(a,i),(r>0?oi)&&(o+=r*f));for(var c,l=o;r>0?l>i:l1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},ft=function(e,t,n,r,o,i){var a,u=e[0],s=e[1],c=0,l=1,f=t[0]-u,p=t[1]-s;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a0)){if(a/=p,p<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=i-s,p||!(a<0)){if(a/=p,p<0){if(a>l)return;a>c&&(c=a)}else if(p>0){if(a0&&(e[0]=u+c*f,e[1]=s+c*p),l<1&&(t[0]=u+l*f,t[1]=s+l*p),!0}}}}},pt=function(e,t){return h(e[0]-t[0])=0;--i)o.point((l=c[i])[0],l[1]);else r(p.x,p.p.x,-1,o);p=p.p}c=(p=p.o).z,d=!d}while(!p.v);o.lineEnd()}}};function vt(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0)do{s.point(0===l||3===l?e:n,l>1?r:t)}while((l=(l+u+4)%4)!==f);else s.point(i[0],i[1])}function a(r,o){return h(r[0]-e)0?0:3:h(r[0]-n)0?2:1:h(r[1]-t)0?1:0:o>0?3:2}function s(e,t){return c(e.x,t.x)}function c(e,t){var n=a(e,1),r=a(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(a){var u,c,l,f,p,d,h,v,m,g,y,b=a,w=lt(),M={point:E,lineStart:function(){M.point=P,c&&c.push(l=[]);g=!0,m=!1,h=v=NaN},lineEnd:function(){u&&(P(f,p),d&&m&&w.rejoin(),u.push(w.result()));M.point=E,m&&b.lineEnd()},polygonStart:function(){b=w,u=[],c=[],y=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=c.length;nr&&(p-i)*(r-a)>(d-a)*(e-i)&&++t:d<=r&&(p-i)*(r-a)<(d-a)*(e-i)&&--t;return t}(),n=y&&t,o=(u=Object(mt.a)(u)).length;(n||o)&&(a.polygonStart(),n&&(a.lineStart(),i(null,null,1,a),a.lineEnd()),o&&ht(u,s,t,i,a),a.polygonEnd());b=a,u=c=l=null}};function E(e,t){o(e,t)&&b.point(e,t)}function P(i,a){var u=o(i,a);if(c&&l.push([i,a]),g)f=i,p=a,d=u,g=!1,u&&(b.lineStart(),b.point(i,a));else if(u&&m)b.point(i,a);else{var s=[h=Math.max(yt,Math.min(gt,h)),v=Math.max(yt,Math.min(gt,v))],w=[i=Math.max(yt,Math.min(gt,i)),a=Math.max(yt,Math.min(gt,a))];ft(s,w,e,t,n,r)?(m||(b.lineStart(),b.point(s[0],s[1])),b.point(w[0],w[1]),u||b.lineEnd(),y=!1):u&&(b.lineStart(),b.point(i,a),y=!1)}h=i,v=a,m=u}return M}}var wt,Mt,Et,Pt=function(){var e,t,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return e&&t===n?e:e=bt(r,o,i,a)(t=n)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],e=t=null,n):[[r,o],[i,a]]}}},Ot=r(),St=function(e,t){var n=t[0],r=t[1],o=[E(n),-g(n),0],i=0,a=0;Ot.reset();for(var c=0,p=e.length;c=0?1:-1,R=N*k,A=R>s,T=w*C;if(Ot.add(m(T*N*E(R),M*j+T*g(R))),i+=A?k+N*f:k,A^y>=n^S>=n){var L=Z(J(v),J(O));te(L);var D=Z(o,L);te(D);var F=(A^k>=0?-1:1)*x(D[2]);(r>F||r===F&&(L[0]||L[1]))&&(a+=A^k>=0?1:-1)}}return(i<-u||iu})).map(c)).concat(Object(mt.b)(y(i/v)*v,o,v).filter((function(e){return h(e%g)>u})).map(l))}return w.lines=function(){return M().map((function(e){return{type:"LineString",coordinates:e}}))},w.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(p(a).slice(1),f(n).reverse().slice(1),p(s).reverse().slice(1))]}},w.extent=function(e){return arguments.length?w.extentMajor(e).extentMinor(e):w.extentMinor()},w.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],s=+e[0][1],a=+e[1][1],r>n&&(e=r,r=n,n=e),s>a&&(e=s,s=a,a=e),w.precision(b)):[[r,s],[n,a]]},w.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],i=+n[0][1],o=+n[1][1],t>e&&(n=t,t=e,e=n),i>o&&(n=i,i=o,o=n),w.precision(b)):[[t,i],[e,o]]},w.step=function(e){return arguments.length?w.stepMajor(e).stepMinor(e):w.stepMinor()},w.stepMajor=function(e){return arguments.length?(m=+e[0],g=+e[1],w):[m,g]},w.stepMinor=function(e){return arguments.length?(d=+e[0],v=+e[1],w):[d,v]},w.precision=function(u){return arguments.length?(b=+u,c=Wt(i,o,90),l=Ht(t,e,b),f=Wt(s,a,90),p=Ht(r,n,b),w):b},w.extentMajor([[-180,-90+u],[180,90-u]]).extentMinor([[-180,-80-u],[180,80+u]])}function Yt(){return Vt()()}var Xt,Kt,Jt,Qt,Zt=function(e,t){var n=e[0]*d,r=e[1]*d,o=t[0]*d,i=t[1]*d,a=g(r),u=E(r),s=g(i),c=E(i),l=a*g(n),f=a*E(n),h=s*g(o),v=s*E(o),y=2*x(O(C(i-r)+a*s*C(o-n))),b=E(y),w=y?function(e){var t=E(e*=y)/b,n=E(y-e)/b,r=n*l+t*h,o=n*f+t*v,i=n*u+t*c;return[m(o,r)*p,m(i,O(r*r+o*o))*p]}:function(){return[n*p,r*p]};return w.distance=y,w},$t=function(e){return e},en=r(),tn=r(),nn={point:j,lineStart:j,lineEnd:j,polygonStart:function(){nn.lineStart=rn,nn.lineEnd=un},polygonEnd:function(){nn.lineStart=nn.lineEnd=nn.point=j,en.add(h(tn)),tn.reset()},result:function(){var e=en/2;return en.reset(),e}};function rn(){nn.point=on}function on(e,t){nn.point=an,Xt=Jt=e,Kt=Qt=t}function an(e,t){tn.add(Qt*e-Jt*t),Jt=e,Qt=t}function un(){an(Xt,Kt)}var sn=nn,cn=1/0,ln=cn,fn=-cn,pn=fn;var dn,hn,vn,mn,gn={point:function(e,t){efn&&(fn=e);tpn&&(pn=t)},lineStart:j,lineEnd:j,polygonStart:j,polygonEnd:j,result:function(){var e=[[cn,ln],[fn,pn]];return fn=pn=-(ln=cn=1/0),e}},yn=0,bn=0,wn=0,Mn=0,En=0,Pn=0,On=0,Sn=0,_n=0,xn={point:Cn,lineStart:jn,lineEnd:Rn,polygonStart:function(){xn.lineStart=An,xn.lineEnd=Tn},polygonEnd:function(){xn.point=Cn,xn.lineStart=jn,xn.lineEnd=Rn},result:function(){var e=_n?[On/_n,Sn/_n]:Pn?[Mn/Pn,En/Pn]:wn?[yn/wn,bn/wn]:[NaN,NaN];return yn=bn=wn=Mn=En=Pn=On=Sn=_n=0,e}};function Cn(e,t){yn+=e,bn+=t,++wn}function jn(){xn.point=kn}function kn(e,t){xn.point=Nn,Cn(vn=e,mn=t)}function Nn(e,t){var n=e-vn,r=t-mn,o=O(n*n+r*r);Mn+=o*(vn+e)/2,En+=o*(mn+t)/2,Pn+=o,Cn(vn=e,mn=t)}function Rn(){xn.point=Cn}function An(){xn.point=Ln}function Tn(){Dn(dn,hn)}function Ln(e,t){xn.point=Dn,Cn(dn=vn=e,hn=mn=t)}function Dn(e,t){var n=e-vn,r=t-mn,o=O(n*n+r*r);Mn+=o*(vn+e)/2,En+=o*(mn+t)/2,Pn+=o,On+=(o=mn*e-vn*t)*(vn+e),Sn+=o*(mn+t),_n+=3*o,Cn(vn=e,mn=t)}var Fn=xn;function In(e){this._context=e}In.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,f)}},result:j};var Bn,zn,Un,Gn,qn,Wn=r(),Hn={point:j,lineStart:function(){Hn.point=Vn},lineEnd:function(){Bn&&Yn(zn,Un),Hn.point=j},polygonStart:function(){Bn=!0},polygonEnd:function(){Bn=null},result:function(){var e=+Wn;return Wn.reset(),e}};function Vn(e,t){Hn.point=Yn,zn=Gn=e,Un=qn=t}function Yn(e,t){Gn-=e,qn-=t,Wn.add(O(Gn*Gn+qn*qn)),Gn=e,qn=t}var Xn=Hn;function Kn(){this._string=[]}function Jn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}Kn.prototype={_circle:Jn(4.5),pointRadius:function(e){return this._circle=Jn(e),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}}};var Qn=function(e,t){var n,r,o=4.5;function i(e){return e&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),z(e,n(r))),r.result()}return i.area=function(e){return z(e,n(sn)),sn.result()},i.measure=function(e){return z(e,n(Xn)),Xn.result()},i.bounds=function(e){return z(e,n(gn)),gn.result()},i.centroid=function(e){return z(e,n(Fn)),Fn.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,$t):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new Kn):new In(t=e),"function"!==typeof o&&r.pointRadius(o),i):t},i.pointRadius=function(e){return arguments.length?(o="function"===typeof e?e:(r.pointRadius(+e),+e),i):o},i.projection(e).context(t)},Zn=function(e,t,n,r){return function(o,i){var a,u,s,c=t(i),l=o.invert(r[0],r[1]),f=lt(),p=t(f),d=!1,h={point:v,lineStart:g,lineEnd:y,polygonStart:function(){h.point=b,h.lineStart=w,h.lineEnd=M,u=[],a=[]},polygonEnd:function(){h.point=v,h.lineStart=g,h.lineEnd=y,u=Object(mt.a)(u);var e=St(a,l);u.length?(d||(i.polygonStart(),d=!0),ht(u,er,e,n,i)):e&&(d||(i.polygonStart(),d=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),d&&(i.polygonEnd(),d=!1),u=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function v(t,n){var r=o(t,n);e(t=r[0],n=r[1])&&i.point(t,n)}function m(e,t){var n=o(e,t);c.point(n[0],n[1])}function g(){h.point=m,c.lineStart()}function y(){h.point=v,c.lineEnd()}function b(e,t){s.push([e,t]);var n=o(e,t);p.point(n[0],n[1])}function w(){p.lineStart(),s=[]}function M(){b(s[0][0],s[0][1]),p.lineEnd();var e,t,n,r,o=p.clean(),c=f.result(),l=c.length;if(s.pop(),a.push(s),s=null,l)if(1&o){if((t=(n=c[0]).length-1)>0){for(d||(i.polygonStart(),d=!0),i.lineStart(),e=0;e1&&2&o&&c.push(c.pop().concat(c.shift())),u.push(c.filter($n))}return h}};function $n(e){return e.length>1}function er(e,t){return((e=e.x)[0]<0?e[1]-c-u:c-e[1])-((t=t.x)[0]<0?t[1]-c-u:c-t[1])}var tr=Zn((function(){return!0}),(function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var l=i>0?s:-s,f=h(i-n);h(f-s)0?c:-c),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(i,r),t=0):o!==l&&f>=s&&(h(n-o)u?v((E(t)*(i=g(r))*E(n)-E(r)*(o=g(t))*E(e))/(o*i*a)):(t+r)/2}(n,r,i,a),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=i,r=a),o=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var o;if(null==e)o=n*c,r.point(-s,o),r.point(0,o),r.point(s,o),r.point(s,0),r.point(s,-o),r.point(0,-o),r.point(-s,-o),r.point(-s,0),r.point(-s,o);else if(h(e[0]-t[0])>u){var i=e[0]0,o=h(n)>u;function i(e,t){return g(e)*g(t)>n}function a(e,t,r){var o=[1,0,0],i=Z(J(e),J(t)),a=Q(i,i),c=i[0],l=a-c*c;if(!l)return!r&&e;var f=n*a/l,p=-n*c/l,d=Z(o,i),v=ee(o,f);$(v,ee(i,p));var m=d,g=Q(v,m),y=Q(m,m),b=g*g-y*(Q(v,v)-1);if(!(b<0)){var w=O(b),M=ee(m,(-g-w)/y);if($(M,v),M=K(M),!r)return M;var E,P=e[0],S=t[0],_=e[1],x=t[1];S0^M[1]<(h(M[0]-P)s^(P<=M[0]&&M[0]<=S)){var k=ee(m,(-g+w)/y);return $(k,v),[M,K(k)]}}}function c(t,n){var o=r?e:s-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return Zn(i,(function(e){var t,n,l,f,p;return{lineStart:function(){f=l=!1,p=1},point:function(d,h){var v,m=[d,h],g=i(d,h),y=r?g?0:c(d,h):g?c(d+(d<0?s:-s),h):0;if(!t&&(f=l=g)&&e.lineStart(),g!==l&&(v=a(t,m),(pt(t,v)||pt(m,v))&&(m[0]+=u,m[1]+=u,g=i(m[0],m[1]))),g!==l)p=0,g?(e.lineStart(),v=a(m,t),e.point(v[0],v[1])):(v=a(t,m),e.point(v[0],v[1]),e.lineEnd()),t=v;else if(o&&t&&r^g){var b;y&n||!(b=a(m,t,!0))||(p=0,r?(e.lineStart(),e.point(b[0][0],b[0][1]),e.point(b[1][0],b[1][1]),e.lineEnd()):(e.point(b[1][0],b[1][1]),e.lineEnd(),e.lineStart(),e.point(b[0][0],b[0][1])))}!g||t&&pt(t,m)||e.point(m[0],m[1]),t=m,l=g,n=y},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return p|(f&&l)<<1}}}),(function(n,r,o,i){ut(i,e,t,o,n,r)}),r?[0,-e]:[-s,e-s])},rr=function(e){return{stream:or(e)}};function or(e){return function(t){var n=new ir;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ir(){}function ar(e,t,n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=i&&e.clipExtent(null),z(n,e.stream(gn));var a=gn.result(),u=Math.min(r/(a[1][0]-a[0][0]),o/(a[1][1]-a[0][1])),s=+t[0][0]+(r-u*(a[1][0]+a[0][0]))/2,c=+t[0][1]+(o-u*(a[1][1]+a[0][1]))/2;return null!=i&&e.clipExtent(i),e.scale(150*u).translate([s,c])}function ur(e,t,n){return ar(e,[[0,0],t],n)}ir.prototype={constructor:ir,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var sr=16,cr=g(30*d),lr=function(e,t){return+t?function(e,t){function n(r,o,i,a,s,c,l,f,p,d,v,g,y,b){var w=l-r,M=f-o,E=w*w+M*M;if(E>4*t&&y--){var P=a+d,S=s+v,_=c+g,C=O(P*P+S*S+_*_),j=x(_/=C),k=h(h(_)-1)t||h((w*T+M*L)/E-.5)>.3||a*d+s*v+c*g2?e[2]%360*d:0,N()):[y*p,b*p,w*p]},C.precision=function(e){return arguments.length?(x=lr(k,_=e*e),R()):O(_)},C.fitExtent=function(e,t){return ar(C,e,t)},C.fitSize=function(e,t){return ur(C,e,t)},function(){return t=e.apply(this,arguments),C.invert=t.invert&&j,N()}}function hr(e){var t=0,n=s/3,r=dr(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*d,n=e[1]*d):[t*p,n*p]},o}function vr(e,t){var n=E(e),r=(n+E(t))/2;if(h(r)=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?c:a).invert(e)},f.stream=function(n){return e&&t===n?e:e=function(e){var t=e.length;return{point:function(n,r){for(var o=-1;++o0?t<-c+u&&(t=-c+u):t>c-u&&(t=c-u);var n=o/M(Cr(t),r);return[n*E(r*e),o-n*g(r*e)]}return i.invert=function(e,t){var n=o-t,i=P(r)*O(e*e+n*n);return[m(e,h(n))/r*P(n),2*v(M(o/i,1/r))-c]},i}var kr=function(){return hr(jr).scale(109.5).parallels([30,30])};function Nr(e,t){return[e,t]}Nr.invert=Nr;var Rr=function(){return pr(Nr).scale(152.63)};function Ar(e,t){var n=g(e),r=e===t?E(e):(n-g(t))/(t-e),o=n/r+e;if(h(r)2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)}},aqGn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n1?this.handleMouseDown(t[0]):this.handleMouseUp()}},{key:"preventTouchScroll",value:function(e){e.touches.length>1&&e.preventDefault()}},{key:"componentWillReceiveProps",value:function(e){var t=this.state,n=t.mouseX,r=t.mouseY,o=t.resizeFactorX,i=t.resizeFactorY,a=this.props,s=(a.projection,a.center),c=a.zoom,l=e.zoom/c,f=JSON.stringify(e.center)!==JSON.stringify(s);this.setState({zoom:e.zoom,mouseX:f?(0,u.calculateMousePosition)("x",e.projection,e,e.zoom,o):n*l,mouseY:f?(0,u.calculateMousePosition)("y",e.projection,e,e.zoom,i):r*l})}},{key:"handleResize",value:function(){var e=this.props,t=e.width,n=e.height,r=(e.projection,e.zoom,(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().width,t)),o=(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().height,n),i=1/r*this.state.resizeFactorX,a=1/o*this.state.resizeFactorY;this.setState({resizeFactorX:r,resizeFactorY:o,mouseX:this.state.mouseX*i,mouseY:this.state.mouseY*a})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.width,n=e.height,r=e.projection,o=e.zoom,i=(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().width,t),a=(0,u.calculateResizeFactor)(this.zoomableGroupNode.parentNode.getBoundingClientRect().height,n);this.setState({resizeFactorX:i,resizeFactorY:a,mouseX:(0,u.calculateMousePosition)("x",r,this.props,o,i),mouseY:(0,u.calculateMousePosition)("y",r,this.props,o,a)}),window.addEventListener("resize",this.handleResize),window.addEventListener("mouseup",this.handleMouseUp),this.zoomableGroupNode.addEventListener("touchmove",this.preventTouchScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("mouseup",this.handleMouseUp),this.zoomableGroupNode.removeEventListener("touchmove",this.preventTouchScroll)}},{key:"render",value:function(){var e=this,t=this.props,n=t.width,r=t.height,o=t.zoom,i=t.style,s=(t.projection,t.children),c=this.state,l=c.mouseX,f=c.mouseY,p=c.resizeFactorX,d=c.resizeFactorY;return a.default.createElement("g",{className:"rsm-zoomable-group",ref:function(t){return e.zoomableGroupNode=t},transform:"\n translate(\n "+Math.round(100*(n/2+p*l))/100+"\n "+Math.round(100*(r/2+d*f))/100+"\n )\n scale("+o+")\n translate("+-n/2+" "+-r/2+")\n ",onMouseMove:this.handleMouseMove,onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleMouseUp,style:i},a.default.createElement("rect",{x:this.state.backdrop.x,y:this.state.backdrop.y,width:this.state.backdrop.width,height:this.state.backdrop.height,fill:"transparent",style:{strokeWidth:0}}),(0,u.createNewChildren)(s,this.props))}}]),t}(i.Component);s.defaultProps={center:[0,0],backdrop:{x:[-179.9,179.9],y:[89.9,-89.9]},zoom:1,disablePanning:!1},t.default=s},bIsL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:n.center,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:n.width,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:n.height,s={x:0,y:1},c=!!t.rotate,l=!!c&&t.rotate().map((function(e){return-e})),f=l?t.rotate(l)([-i[0],-i[1]]):t([i[0],i[1]]),p=f?(f[s[e]]-(0===s[e]?a:u)/2)*r*(1/o):0;c&&t.rotate([-l[0],-l[1],-l[2]]);return l?p:-p},t.isChildOfType=a,t.createNewChildren=function(e,t){if(!e)return;return e.length?e.map((function(e,n){if(e)return a(e,["Geographies"])?i.default.cloneElement(e,{key:"zoomable-child-"+n,projection:t.projection}):a(e,["Group","Markers","Lines","Annotations","Annotation","Graticule"])?i.default.cloneElement(e,{key:"zoomable-child-"+n,projection:t.projection,zoom:t.zoom,width:t.width,height:t.height,groupName:t.groupName,itemName:t.itemName}):e})):a(e,["Geographies"])?i.default.cloneElement(e,{projection:t.projection}):a(e,["Group","Markers","Lines","Annotations","Annotation","Graticule"])?i.default.cloneElement(e,{projection:t.projection,zoom:t.zoom,width:t.width,height:t.height,groupName:t.groupName,itemName:t.itemName}):e},t.roundPath=function(e,t){if(!e)return;return e.replace(/[\d\.-][\d\.e-]*/g,(function(e){return Math.round(e*(1/t))/(1/t)}))},t.createConnectorPath=function(e,t,n){var r=t[0],o=t[1];return"M0,0 Q "+(n+1)/2*r+","+(o-(n+1)/2*o)+" "+r+","+o},t.createTextAnchor=function(e){return e>0?"start":e<0?"end":"middle"},t.computeBackdrop=function(e,t){var n=e.rotate,r=n?e.rotate():null,o=n?e.rotate([0,0,0])([t.x[0],t.y[0]]):e([t.x[0],t.y[0]]),i=n?e.rotate([0,0,0])([t.x[1],t.y[1]]):e([t.x[1],t.y[1]]),a=o?o[0]:0,u=i?i[0]:0,s=o?o[1]:0,c=i?i[1]:0,l=u-a,f=c-s;r&&e.rotate(r);return{x:a,y:s,width:l,height:f}};var r,o=n("q1tI"),i=(r=o)&&r.__esModule?r:{default:r};function a(e,t){return-1!==t.indexOf(e.props.componentIdentifier)}},cWyK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("/rf6");function o(e,t,n){if(null!==e)for(var r,i,a,u,s,c,l,f,p=0,d=0,h=e.type,v="FeatureCollection"===h,m="Feature"===h,g=v?e.features.length:1,y=0;yc||d>l||h>f)return s=o,c=n,l=d,f=h,void(a=0);var v=r.lineString([s,o],e.properties);if(!1===t(v,n,i,h,a))return!1;a++,s=o}))&&void 0}}}))}function l(e,t){if(!e)throw new Error("geojson is required");s(e,(function(e,n,o){if(null!==e.geometry){var i=e.geometry.type,a=e.geometry.coordinates;switch(i){case"LineString":if(!1===t(e,n,o,0,0))return!1;break;case"Polygon":for(var u=0;uy;return a.default.createElement("g",{className:"rsm-marker"+(d?" rsm-marker--pressed":"")+(h?" rsm-marker--hover":""),transform:"translate(\n "+m[0]+"\n "+m[1]+"\n ) "+v,style:r[b?"hidden":d||h?d?"pressed":"hover":"default"],onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.handleMouseClick,onMouseMove:this.handleMouseMove,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:o?0:-1},s)}}]),t}(i.Component);s.defaultProps={style:{default:{},hover:{},pressed:{}},marker:{coordinates:[0,0]},tabable:!0,preserveMarkerAspect:!0},t.default=s},egBM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["groupName","itemName","componentIdentifier"]));return o.default.createElement(i.default,r({groupName:t,itemName:n},a))};u.defaultProps={componentIdentifier:"Markers",groupName:"markers",itemName:"marker"},t.default=u},endd:function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},eqyj:function(e,t,n){"use strict";var r=n("xTJ+");e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},fJyB:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("TSYQ"),a=n.n(i),u=n("8Kt/"),s=n.n(u),c=o.a.createElement,l=function(e){var t=e.title,n=e.description;return c(s.a,null,c("title",{key:"title"},t?"".concat(t," | Supply chain"):"Supply chain"),c("meta",{key:"description",name:"description",content:n||"Tool to generate flow map images for Mongabay."}))};l.defaultProps={title:null,description:null};var f=l,p=o.a.createElement,d=function(){return p("svg",{"aria-hidden":"true",style:{position:"absolute",width:0,height:0,overflow:"hidden"},version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},p("defs",null,p("symbol",{id:"icon-close",viewBox:"0 0 9 9"},p("title",null,"Close"),p("path",{d:"M7.41.839l1.087 1.087-7.07 7.071L.338 7.91z"}),p("path",{d:"M8.498 7.91L7.41 8.998.339 1.927 1.427.839z"})),p("symbol",{id:"icon-bottom-arrow",viewBox:"0 0 15 15"},p("title",null,"Bottom arrow"),p("path",{strokeWidth:"2",d:"M3 5l4.5 5L12 5",fill:"none"})),p("symbol",{id:"icon-eye",viewBox:"0 0 22 15"},p("title",null,"Visible"),p("path",{d:"M11 0C6 0 1.73 3.11 0 7.5 1.73 11.89 6 15 11 15s9.27-3.11 11-7.5C20.27 3.11 16 0 11 0zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"})),p("symbol",{id:"icon-slashed-eye",viewBox:"0 0 23 21"},p("title",null,"Hidden"),p("path",{d:"M22.763 9.992a18.948 18.948 0 0 0-3.133-3.619L8.367 17.637c.997.324 2.039.493 3.088.5 6.75 0 11.125-6.838 11.308-7.13a.955.955 0 0 0 0-1.015zM21.674.28a.955.955 0 0 0-1.349 0l-3.873 3.873a10.746 10.746 0 0 0-4.997-1.29C4.705 2.864.329 9.702.146 9.994a.955.955 0 0 0 0 1.015 19.027 19.027 0 0 0 4.638 4.813L2.19 18.416a.955.955 0 1 0 1.349 1.35L21.674 1.629a.955.955 0 0 0 0-1.35zM7.636 10.5a3.818 3.818 0 0 1 3.819-3.818 3.708 3.708 0 0 1 1.92.548l-5.19 5.19a3.717 3.717 0 0 1-.549-1.92z"})),p("symbol",{id:"icon-opacity",viewBox:"0 0 16 16"},p("title",null,"Opacity"),p("path",{d:"M7 0v15.876A8.001 8.001 0 0 1 7 0zm5.001 1.009v13.858a7.95 7.95 0 0 1-2 .819V.19a7.95 7.95 0 0 1 2 .819zm2 1.639A7.97 7.97 0 0 1 16 7.938a7.97 7.97 0 0 1-1.999 5.29V2.648z"}))))},h=(n("03wo"),o.a.createElement),v=function(e){var t=e.className,n=e.children;return h("div",{className:a()("l-simple-page",t)},h(f,null),h("main",{className:"l-static-page"},h("img",{src:"".concat((void 0,""),"/images/mongabay-horizontal.jpg"),alt:"Mongabay",className:"logo"}),n),h(d,null))};v.defaultProps={className:null};var m=v,g=n("/MKj"),y=n("yeIB"),b=n("o0o1"),w=n.n(b),M=n("+XsK"),E=n("KQm4"),P=n("17x9"),O=n.n(P),S=(n("90j9"),o.a.createElement),_=Object(r.forwardRef)((function(e,t){var n=e.id,r=e.name,o=e.disabled,i=e.checked,a=e.onChange,u=e.children,s=e.className;return S("div",{ref:t,className:["custom-control","custom-radio","c-radio"].concat(Object(E.a)(s?[s]:[])).join(" ")},S("input",{type:"radio",className:"custom-control-input",disabled:o,id:n,name:r,checked:i,onChange:a}),S("label",{className:"custom-control-label",htmlFor:n},u))}));_.propTypes={id:O.a.string.isRequired,name:O.a.string.isRequired,disabled:O.a.bool,checked:O.a.bool,onChange:O.a.func,children:O.a.node.isRequired,className:O.a.string},_.defaultProps={disabled:!1,checked:!1,onChange:null,className:null};n("Wfic");var x=o.a.createElement,C=function(e){var t=e.id,n=e.name,r=e.disabled,o=e.checked,i=e.onChange,a=e.children,u=e.className;return x("div",{className:["custom-control","custom-checkbox","c-checkbox"].concat(Object(E.a)(u?[u]:[])).join(" ")},x("input",{type:"checkbox",className:"custom-control-input",disabled:r,id:t,name:n,checked:o,onChange:i}),x("label",{className:"custom-control-label",htmlFor:t},a))};C.defaultProps={disabled:!1,checked:!1,onChange:null,className:null};n("wTXl");var j=o.a.createElement,k=function(e){var t=e.id,n=e.options,o=e.defaultValue,i=e.value,a=e.onChange,u=e.disabled,s=e["aria-label"],c=e["aria-describedby"],l=e.className,f=e.required,p=Object(r.useCallback)((function(e){var t=n.find((function(t){return t.value===e.target.selectedOptions[0].value}));a(t)}),[n,a]);return j("select",{id:t,className:["c-select","custom-select"].concat(Object(E.a)(l?[l]:[])).join(" "),disabled:u,"aria-label":s,"aria-describedby":c,defaultValue:o,value:i,onChange:p,required:f},n.map((function(e){return j("option",{key:e.value,value:e.value,disabled:e.disabled},e.label)})))};k.defaultProps={defaultValue:void 0,value:void 0,onChange:function(){return null},disabled:!1,"aria-label":null,"aria-describedby":null,className:void 0,required:!1};var N=k,R=n("rePB"),A=o.a.createElement,T=function(e){var t=e.id,n=e.defaultValue,r=e.value,o=e.min,i=e.max,u=e["aria-label"],s=e.className,c=e.required,l=e.disabled,f=e.onChange;return A("input",{type:"date",id:t,className:a()("c-datepicker","form-control",Object(R.a)({},s,!!s)),defaultValue:n,value:r,min:o,max:i,pattern:"\\d{4}-\\d{2}-\\d{2}","aria-label":u,required:c,disabled:l,onChange:f})};T.defaultProps={className:void 0,defaultValue:void 0,value:void 0,min:void 0,max:void 0,"aria-label":void 0,required:!1,disabled:!1,onChange:function(){return null}};n("DMuj");var L=o.a.createElement,D=function(e){var t=e.id,n=e.defaultValue,r=e.value,o=e.min,i=e.max,u=e.step,s=e["aria-label"],c=e.className,l=e.required,f=e.disabled,p=e.marks,d=e.onChange;return L("div",{className:"c-range"},L("input",{type:"range",id:t,className:a()("custom-range",Object(R.a)({},c,!!c)),defaultValue:n,value:r,min:o,max:i,step:u,"aria-label":s,required:l,disabled:f,onChange:d}),p&&L("div",{className:"marks"},p.map((function(e){return L("span",{key:e,"data-label":e})}))))};D.defaultProps={className:void 0,defaultValue:void 0,value:void 0,min:void 0,max:void 0,step:void 0,"aria-label":void 0,required:!1,disabled:!1,marks:void 0,onChange:function(){return null}};function F(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function I(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function B(e){var t=I(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function z(e){return e instanceof I(e).Element||e instanceof Element}function U(e){return e instanceof I(e).HTMLElement||e instanceof HTMLElement}function G(e){return e?(e.nodeName||"").toLowerCase():null}function q(e){return(z(e)?e.ownerDocument:e.document).documentElement}function W(e){return F(q(e)).left+B(e).scrollLeft}function H(e){return I(e).getComputedStyle(e)}function V(e){var t=H(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Y(e,t,n){void 0===n&&(n=!1);var r=q(t),o=F(e),i=U(t),a={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==G(t)||V(r))&&(a=function(e){return e!==I(e)&&U(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:B(e);var t}(t)),U(t)?((u=F(t)).x+=t.clientLeft,u.y+=t.clientTop):r&&(u.x=W(r))),{x:o.left+a.scrollLeft-u.x,y:o.top+a.scrollTop-u.y,width:o.width,height:o.height}}function X(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function K(e){return"html"===G(e)?e:e.assignedSlot||e.parentNode||e.host||q(e)}function J(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(G(t))>=0?t.ownerDocument.body:U(t)&&V(t)?t:e(K(t))}(e),r="body"===G(n),o=I(n),i=r?[o].concat(o.visualViewport||[],V(n)?n:[]):n,a=t.concat(i);return r?a:a.concat(J(K(i)))}function Q(e){return["table","td","th"].indexOf(G(e))>=0}function Z(e){if(!U(e)||"fixed"===H(e).position)return null;var t=e.offsetParent;if(t){var n=q(t);if("body"===G(t)&&"static"===H(t).position&&"static"!==H(n).position)return n}return t}function $(e){for(var t=I(e),n=Z(e);n&&Q(n)&&"static"===H(n).position;)n=Z(n);return n&&"body"===G(n)&&"static"===H(n).position?t:n||function(e){for(var t=K(e);U(t)&&["html","body"].indexOf(G(t))<0;){var n=H(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}var ee="top",te="bottom",ne="right",re="left",oe="auto",ie=[ee,te,ne,re],ae="start",ue="end",se="clippingParents",ce="viewport",le="popper",fe="reference",pe=ie.reduce((function(e,t){return e.concat([t+"-"+ae,t+"-"+ue])}),[]),de=[].concat(ie,[oe]).reduce((function(e,t){return e.concat([t,t+"-"+ae,t+"-"+ue])}),[]),he=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ve(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}function me(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var ge={placement:"bottom",modifiers:[],strategy:"absolute"};function ye(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Oe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?Me(o):null,a=o?Ee(o):null,u=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case ee:t={x:u,y:n.y-r.height};break;case te:t={x:u,y:n.y+n.height};break;case ne:t={x:n.x+n.width,y:s};break;case re:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?Pe(i):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case ae:t[c]=Math.floor(t[c])-Math.floor(n[l]/2-r[l]/2);break;case ue:t[c]=Math.floor(t[c])+Math.ceil(n[l]/2-r[l]/2)}}return t}var Se={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _e(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,a=e.position,u=e.gpuAcceleration,s=e.adaptive,c=function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Math.round(t*r)/r||0,y:Math.round(n*r)/r||0}}(i),l=c.x,f=c.y,p=i.hasOwnProperty("x"),d=i.hasOwnProperty("y"),h=re,v=ee,m=window;if(s){var g=$(n);g===I(n)&&(g=q(n)),o===ee&&(v=te,f-=g.clientHeight-r.height,f*=u?1:-1),o===re&&(h=ne,l-=g.clientWidth-r.width,l*=u?1:-1)}var y,b=Object.assign({position:a},s&&Se);return u?Object.assign(Object.assign({},b),{},((y={})[v]=d?"0":"",y[h]=p?"0":"",y.transform=(m.devicePixelRatio||1)<2?"translate("+l+"px, "+f+"px)":"translate3d("+l+"px, "+f+"px, 0)",y)):Object.assign(Object.assign({},b),{},((t={})[v]=d?f+"px":"",t[h]=p?l+"px":"",t.transform="",t))}var xe={left:"right",right:"left",bottom:"top",top:"bottom"};function Ce(e){return e.replace(/left|right|bottom|top/g,(function(e){return xe[e]}))}var je={start:"end",end:"start"};function ke(e){return e.replace(/start|end/g,(function(e){return je[e]}))}function Ne(e,t){var n=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Re(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ae(e,t){return t===ce?Re(function(e){var t=I(e),n=q(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+W(e),y:u}}(e)):U(t)?function(e){var t=F(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Re(function(e){var t=q(e),n=B(e),r=e.ownerDocument.body,o=Math.max(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+W(e),u=-n.scrollTop;return"rtl"===H(r||t).direction&&(a+=Math.max(t.clientWidth,r?r.clientWidth:0)-o),{width:o,height:i,x:a,y:u}}(q(e)))}function Te(e,t,n){var r="clippingParents"===t?function(e){var t=J(K(e)),n=["absolute","fixed"].indexOf(H(e).position)>=0&&U(e)?$(e):e;return z(n)?t.filter((function(e){return z(e)&&Ne(e,n)&&"body"!==G(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Ae(e,n);return t.top=Math.max(r.top,t.top),t.right=Math.min(r.right,t.right),t.bottom=Math.min(r.bottom,t.bottom),t.left=Math.max(r.left,t.left),t}),Ae(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Le(e){return Object.assign(Object.assign({},{top:0,right:0,bottom:0,left:0}),e)}function De(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Fe(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?se:i,u=n.rootBoundary,s=void 0===u?ce:u,c=n.elementContext,l=void 0===c?le:c,f=n.altBoundary,p=void 0!==f&&f,d=n.padding,h=void 0===d?0:d,v=Le("number"!==typeof h?h:De(h,ie)),m=l===le?fe:le,g=e.elements.reference,y=e.rects.popper,b=e.elements[p?m:l],w=Te(z(b)?b:b.contextElement||q(e.elements.popper),a,s),M=F(g),E=Oe({reference:M,element:y,strategy:"absolute",placement:o}),P=Re(Object.assign(Object.assign({},y),E)),O=l===le?P:M,S={top:w.top-O.top+v.top,bottom:O.bottom-w.bottom+v.bottom,left:w.left-O.left+v.left,right:O.right-w.right+v.right},_=e.modifiersData.offset;if(l===le&&_){var x=_[o];Object.keys(S).forEach((function(e){var t=[ne,te].indexOf(e)>=0?1:-1,n=[ee,te].indexOf(e)>=0?"y":"x";S[e]+=x[n]*t}))}return S}function Ie(e,t,n){return Math.max(e,Math.min(t,n))}function Be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ze(e){return[ee,ne,te,re].some((function(t){return e[t]>=0}))}var Ue=be({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,s=I(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,we)})),u&&s.addEventListener("resize",n.update,we),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,we)})),u&&s.removeEventListener("resize",n.update,we)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,u={placement:Me(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),_e(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),_e(Object.assign(Object.assign({},u),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];U(o)&&G(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});U(r)&&G(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=de.reduce((function(e,n){return e[n]=function(e,t,n){var r=Me(e),o=[re,ee].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign(Object.assign({},t),{},{placement:e})):n,a=i[0],u=i[1];return a=a||0,u=(u||0)*o,[re,ne].indexOf(r)>=0?{x:u,y:a}:{x:a,y:u}}(n,t.rects,i),e}),{}),u=a[t.placement],s=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0===a||a,s=n.fallbackPlacements,c=n.padding,l=n.boundary,f=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,g=Me(m),y=s||(g===m||!h?[Ce(m)]:function(e){if(Me(e)===oe)return[];var t=Ce(e);return[ke(e),t,ke(t)]}(m)),b=[m].concat(y).reduce((function(e,n){return e.concat(Me(n)===oe?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,u=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?de:s,l=Ee(r),f=l?u?pe:pe.filter((function(e){return Ee(e)===l})):ie,p=f.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=f);var d=p.reduce((function(t,n){return t[n]=Fe(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[Me(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:n,boundary:l,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),w=t.rects.reference,M=t.rects.popper,E=new Map,P=!0,O=b[0],S=0;S=0,k=j?"width":"height",N=Fe(t,{placement:_,boundary:l,rootBoundary:f,altBoundary:p,padding:c}),R=j?C?ne:re:C?te:ee;w[k]>M[k]&&(R=Ce(R));var A=Ce(R),T=[];if(i&&T.push(N[x]<=0),u&&T.push(N[R]<=0,N[A]<=0),T.every((function(e){return e}))){O=_,P=!1;break}E.set(_,T)}if(P)for(var L=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},D=h?3:1;D>0;D--){if("break"===L(D))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,u=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,l=n.altBoundary,f=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=Fe(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:l}),g=Me(t.placement),y=Ee(t.placement),b=!y,w=Pe(g),M="x"===w?"y":"x",E=t.modifiersData.popperOffsets,P=t.rects.reference,O=t.rects.popper,S="function"===typeof v?v(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):v,_={x:0,y:0};if(E){if(i){var x="y"===w?ee:re,C="y"===w?te:ne,j="y"===w?"height":"width",k=E[w],N=E[w]+m[x],R=E[w]-m[C],A=d?-O[j]/2:0,T=y===ae?P[j]:O[j],L=y===ae?-O[j]:-P[j],D=t.elements.arrow,F=d&&D?X(D):{width:0,height:0},I=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=I[x],z=I[C],U=Ie(0,P[j],F[j]),G=b?P[j]/2-A-U-B-S:T-U-B-S,q=b?-P[j]/2+A+U+z+S:L+U+z+S,W=t.elements.arrow&&$(t.elements.arrow),H=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,V=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,Y=E[w]+G-V-H,K=E[w]+q-V,J=Ie(d?Math.min(N,Y):N,k,d?Math.max(R,K):R);E[w]=J,_[w]=J-k}if(u){var Q="x"===w?ee:re,Z="x"===w?te:ne,oe=E[M],ie=Ie(oe+m[Q],oe,oe-m[Z]);E[M]=ie,_[M]=ie-oe}t.modifiersData[r]=_}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Me(n.placement),u=Pe(a),s=[re,ne].indexOf(a)>=0?"height":"width";if(o&&i){var c=n.modifiersData[r+"#persistent"].padding,l=X(o),f="y"===u?ee:re,p="y"===u?te:ne,d=n.rects.reference[s]+n.rects.reference[u]-i[u]-n.rects.popper[s],h=i[u]-n.rects.reference[u],v=$(o),m=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,g=d/2-h/2,y=c[f],b=m-l[s]-c[p],w=m/2-l[s]/2+g,M=Ie(y,w,b),E=u;n.modifiersData[r]=((t={})[E]=M,t.centerOffset=M-w,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,u=void 0===a?0:a;null!=i&&("string"!==typeof i||(i=t.elements.popper.querySelector(i)))&&Ne(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:Le("number"!==typeof u?u:De(u,ie))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Fe(t,{elementContext:"reference"}),u=Fe(t,{altBoundary:!0}),s=Be(a,r),c=Be(u,o,i),l=ze(s),f=ze(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":l,"data-popper-escaped":f})}}]}),Ge="tippy-box",qe="tippy-content",We="tippy-backdrop",He="tippy-arrow",Ve="tippy-svg-arrow",Ye={passive:!0,capture:!0};function Xe(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ke(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Je(e,t){return"function"===typeof e?e.apply(void 0,t):e}function Qe(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ze(e){return[].concat(e)}function $e(e,t){-1===e.indexOf(t)&&e.push(t)}function et(e){return e.split("-")[0]}function tt(e){return[].slice.call(e)}function nt(){return document.createElement("div")}function rt(e){return["Element","Fragment"].some((function(t){return Ke(e,t)}))}function ot(e){return Ke(e,"MouseEvent")}function it(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function at(e){return rt(e)?[e]:function(e){return Ke(e,"NodeList")}(e)?tt(e):Array.isArray(e)?e:tt(document.querySelectorAll(e))}function ut(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function st(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function ct(e){var t=Ze(e)[0];return t&&t.ownerDocument||document}function lt(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var ft={isTouch:!1},pt=0;function dt(){ft.isTouch||(ft.isTouch=!0,window.performance&&document.addEventListener("mousemove",ht))}function ht(){var e=performance.now();e-pt<20&&(ft.isTouch=!1,document.removeEventListener("mousemove",ht)),pt=e}function vt(){var e=document.activeElement;if(it(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var mt="undefined"!==typeof window&&"undefined"!==typeof document?navigator.userAgent:"",gt=/MSIE |Trident\//.test(mt);var yt={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},bt=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},yt,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),wt=Object.keys(bt);function Mt(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,o=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:o),t}),{});return Object.assign({},e,{},t)}function Et(e,t){var n=Object.assign({},t,{content:Je(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Mt(Object.assign({},bt,{plugins:t}))):wt).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(o){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},bt.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var Pt=function(){return"innerHTML"};function Ot(e,t){e[Pt()]=t}function St(e){var t=nt();return!0===e?t.className=He:(t.className=Ve,rt(e)?t.appendChild(e):Ot(t,e)),t}function _t(e,t){rt(t.content)?(Ot(e,""),e.appendChild(t.content)):"function"!==typeof t.content&&(t.allowHTML?Ot(e,t.content):e.textContent=t.content)}function xt(e){var t=e.firstElementChild,n=tt(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(qe)})),arrow:n.find((function(e){return e.classList.contains(He)||e.classList.contains(Ve)})),backdrop:n.find((function(e){return e.classList.contains(We)}))}}function Ct(e){var t=nt(),n=nt();n.className=Ge,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=nt();function o(n,r){var o=xt(t),i=o.box,a=o.content,u=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"===typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"===typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||_t(a,e.props),r.arrow?u?n.arrow!==r.arrow&&(i.removeChild(u),i.appendChild(St(r.arrow))):i.appendChild(St(r.arrow)):u&&i.removeChild(u)}return r.className=qe,r.setAttribute("data-state","hidden"),_t(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}Ct.$$tippy=!0;var jt=1,kt=[],Nt=[];function Rt(e,t){var n,r,o,i,a,u,s,c,l,f=Et(e,Object.assign({},bt,{},Mt((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),p=!1,d=!1,h=!1,v=!1,m=[],g=Qe(X,f.interactiveDebounce),y=ct(f.triggerTarget||e),b=jt++,w=(l=f.plugins).filter((function(e,t){return l.indexOf(e)===t})),M={id:b,reference:e,popper:nt(),popperInstance:null,props:f,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:w,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){0;if(M.state.isDestroyed)return;T("onBeforeUpdate",[M,t]),V();var n=M.props,r=Et(e,Object.assign({},M.props,{},t,{ignoreAttributes:!0}));M.props=r,H(),n.interactiveDebounce!==r.interactiveDebounce&&(F(),g=Qe(X,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ze(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");D(),A(),O&&O(n,r);M.popperInstance&&(Z(),ee().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));T("onAfterUpdate",[M,t])},setContent:function(e){M.setProps({content:e})},show:function(){0;var e=M.state.isVisible,t=M.state.isDestroyed,n=!M.state.isEnabled,r=ft.isTouch&&!M.props.touch,o=Xe(M.props.duration,0,bt.duration);if(e||t||n||r)return;if(k().hasAttribute("disabled"))return;if(T("onShow",[M],!1),!1===M.props.onShow(M))return;M.state.isVisible=!0,j()&&(P.style.visibility="visible");A(),U(),M.state.isMounted||(P.style.transition="none");if(j()){var i=N(),a=i.box,u=i.content;ut([a,u],0)}s=function(){if(M.state.isVisible&&!v){if(v=!0,P.offsetHeight,P.style.transition=M.props.moveTransition,j()&&M.props.animation){var e=N(),t=e.box,n=e.content;ut([t,n],o),st([t,n],"visible")}L(),D(),$e(Nt,M),M.state.isMounted=!0,T("onMount",[M]),M.props.animation&&j()&&function(e,t){q(e,t)}(o,(function(){M.state.isShown=!0,T("onShown",[M])}))}},function(){var e,t=M.props.appendTo,n=k();e=M.props.interactive&&t===bt.appendTo||"parent"===t?n.parentNode:Je(t,[n]);e.contains(P)||e.appendChild(P);Z(),!1}()},hide:function(){0;var e=!M.state.isVisible,t=M.state.isDestroyed,n=!M.state.isEnabled,r=Xe(M.props.duration,1,bt.duration);if(e||t||n)return;if(T("onHide",[M],!1),!1===M.props.onHide(M))return;M.state.isVisible=!1,M.state.isShown=!1,v=!1,p=!1,j()&&(P.style.visibility="hidden");if(F(),G(),A(),j()){var o=N(),i=o.box,a=o.content;M.props.animation&&(ut([i,a],r),st([i,a],"hidden"))}L(),D(),M.props.animation?j()&&function(e,t){q(e,(function(){!M.state.isVisible&&P.parentNode&&P.parentNode.contains(P)&&t()}))}(r,M.unmount):M.unmount()},hideWithInteractivity:function(e){0;y.addEventListener("mousemove",g),$e(kt,g),g(e)},enable:function(){M.state.isEnabled=!0},disable:function(){M.hide(),M.state.isEnabled=!1},unmount:function(){0;M.state.isVisible&&M.hide();if(!M.state.isMounted)return;$(),ee().forEach((function(e){e._tippy.unmount()})),P.parentNode&&P.parentNode.removeChild(P);Nt=Nt.filter((function(e){return e!==M})),M.state.isMounted=!1,T("onHidden",[M])},destroy:function(){0;if(M.state.isDestroyed)return;M.clearDelayTimeouts(),M.unmount(),V(),delete e._tippy,M.state.isDestroyed=!0,T("onDestroy",[M])}};if(!f.render)return M;var E=f.render(M),P=E.popper,O=E.onUpdate;P.setAttribute("data-tippy-root",""),P.id="tippy-"+M.id,M.popper=P,e._tippy=M,P._tippy=M;var S=w.map((function(e){return e.fn(M)})),_=e.hasAttribute("aria-expanded");return H(),D(),A(),T("onCreate",[M]),f.showOnCreate&&te(),P.addEventListener("mouseenter",(function(){M.props.interactive&&M.state.isVisible&&M.clearDelayTimeouts()})),P.addEventListener("mouseleave",(function(e){M.props.interactive&&M.props.trigger.indexOf("mouseenter")>=0&&(y.addEventListener("mousemove",g),g(e))})),M;function x(){var e=M.props.touch;return Array.isArray(e)?e:[e,0]}function C(){return"hold"===x()[0]}function j(){var e;return!!(null==(e=M.props.render)?void 0:e.$$tippy)}function k(){return c||e}function N(){return xt(P)}function R(e){return M.state.isMounted&&!M.state.isVisible||ft.isTouch||a&&"focus"===a.type?0:Xe(M.props.delay,e?0:1,bt.delay)}function A(){P.style.pointerEvents=M.props.interactive&&M.state.isVisible?"":"none",P.style.zIndex=""+M.props.zIndex}function T(e,t,n){var r;(void 0===n&&(n=!0),S.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=M.props)[e].apply(r,t)}function L(){var t=M.props.aria;if(t.content){var n="aria-"+t.content,r=P.id;Ze(M.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(M.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function D(){!_&&M.props.aria.expanded&&Ze(M.props.triggerTarget||e).forEach((function(e){M.props.interactive?e.setAttribute("aria-expanded",M.state.isVisible&&e===k()?"true":"false"):e.removeAttribute("aria-expanded")}))}function F(){y.removeEventListener("mousemove",g),kt=kt.filter((function(e){return e!==g}))}function I(e){if((!ft.isTouch||!h&&"mousedown"!==e.type)&&(!M.props.interactive||!P.contains(e.target))){if(k().contains(e.target)){if(ft.isTouch)return;if(M.state.isVisible&&M.props.trigger.indexOf("click")>=0)return}else T("onClickOutside",[M,e]);!0===M.props.hideOnClick&&(M.clearDelayTimeouts(),M.hide(),d=!0,setTimeout((function(){d=!1})),M.state.isMounted||G())}}function B(){h=!0}function z(){h=!1}function U(){y.addEventListener("mousedown",I,!0),y.addEventListener("touchend",I,Ye),y.addEventListener("touchstart",z,Ye),y.addEventListener("touchmove",B,Ye)}function G(){y.removeEventListener("mousedown",I,!0),y.removeEventListener("touchend",I,Ye),y.removeEventListener("touchstart",z,Ye),y.removeEventListener("touchmove",B,Ye)}function q(e,t){var n=N().box;function r(e){e.target===n&&(lt(n,"remove",r),t())}if(0===e)return t();lt(n,"remove",u),lt(n,"add",r),u=r}function W(t,n,r){void 0===r&&(r=!1),Ze(M.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function H(){var e;C()&&(W("touchstart",Y,{passive:!0}),W("touchend",K,{passive:!0})),(e=M.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(W(e,Y),e){case"mouseenter":W("mouseleave",K);break;case"focus":W(gt?"focusout":"blur",J);break;case"focusin":W("focusout",J)}}))}function V(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),m=[]}function Y(e){var t,n=!1;if(M.state.isEnabled&&!Q(e)&&!d){var r="focus"===(null==(t=a)?void 0:t.type);a=e,c=e.currentTarget,D(),!M.state.isVisible&&ot(e)&&kt.forEach((function(t){return t(e)})),"click"===e.type&&(M.props.trigger.indexOf("mouseenter")<0||p)&&!1!==M.props.hideOnClick&&M.state.isVisible?n=!0:te(e),"click"===e.type&&(p=!n),n&&!r&&ne(e)}}function X(e){var t=e.target,n=k().contains(t)||P.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=et(o.placement),u=o.modifiersData.offset;if(!u)return!0;var s="bottom"===a?u.top.y:0,c="top"===a?u.bottom.y:0,l="right"===a?u.left.x:0,f="left"===a?u.right.x:0,p=t.top-r+s>i,d=r-t.bottom-c>i,h=t.left-n+l>i,v=n-t.right-f>i;return p||d||h||v}))}(ee().concat(P).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:f}:null})).filter(Boolean),e)&&(F(),ne(e))}function K(e){Q(e)||M.props.trigger.indexOf("click")>=0&&p||(M.props.interactive?M.hideWithInteractivity(e):ne(e))}function J(e){M.props.trigger.indexOf("focusin")<0&&e.target!==k()||M.props.interactive&&e.relatedTarget&&P.contains(e.relatedTarget)||ne(e)}function Q(e){return!!ft.isTouch&&C()!==e.type.indexOf("touch")>=0}function Z(){$();var t=M.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,u=j()?xt(P).arrow:null,c=i?{getBoundingClientRect:i,contextElement:i.contextElement||k()}:e,l=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(j()){var n=N().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];j()&&u&&l.push({name:"arrow",options:{element:u,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),M.popperInstance=Ue(c,P,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:l}))}function $(){M.popperInstance&&(M.popperInstance.destroy(),M.popperInstance=null)}function ee(){return tt(P.querySelectorAll("[data-tippy-root]"))}function te(e){M.clearDelayTimeouts(),e&&T("onTrigger",[M,e]),U();var t=R(!0),n=x(),o=n[0],i=n[1];ft.isTouch&&"hold"===o&&i&&(t=i),t?r=setTimeout((function(){M.show()}),t):M.show()}function ne(e){if(M.clearDelayTimeouts(),T("onUntrigger",[M,e]),M.state.isVisible){if(!(M.props.trigger.indexOf("mouseenter")>=0&&M.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=R(!1);t?o=setTimeout((function(){M.state.isVisible&&M.hide()}),t):i=requestAnimationFrame((function(){M.hide()}))}}else G()}}function At(e,t){void 0===t&&(t={});var n=bt.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",dt,Ye),window.addEventListener("blur",vt);var r=Object.assign({},t,{plugins:n}),o=at(e).reduce((function(e,t){var n=t&&Rt(t,r);return n&&e.push(n),e}),[]);return rt(e)?o[0]:o}At.defaultProps=bt,At.setDefaultProps=function(e){Object.keys(e).forEach((function(t){bt[t]=e[t]}))},At.currentInput=ft;var Tt={clientX:0,clientY:0},Lt=[];function Dt(e){var t=e.clientX,n=e.clientY;Tt={clientX:t,clientY:n}}var Ft={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=ct(e.props.triggerTarget||t),r=!1,o=!1,i=!0,a=e.props;function u(){return"initial"===e.props.followCursor&&e.state.isVisible}function s(){n.addEventListener("mousemove",f)}function c(){n.removeEventListener("mousemove",f)}function l(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),o=e.props.followCursor,i=n.clientX,a=n.clientY,u=t.getBoundingClientRect(),s=i-u.left,c=a-u.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=i,r=a;"initial"===o&&(n=e.left+s,r=e.top+c);var u="horizontal"===o?e.top:r,l="vertical"===o?e.right:n,f="horizontal"===o?e.bottom:r,p="vertical"===o?e.left:n;return{width:l-p,height:f-u,top:u,right:l,bottom:f,left:p}}})}function p(){e.props.followCursor&&(Lt.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",Dt)}(n))}function d(){0===(Lt=Lt.filter((function(t){return t.instance!==e}))).filter((function(e){return e.doc===n})).length&&function(e){e.removeEventListener("mousemove",Dt)}(n)}return{onCreate:p,onDestroy:d,onBeforeUpdate:function(){a=e.props},onAfterUpdate:function(t,n){var i=n.followCursor;r||void 0!==i&&a.followCursor!==i&&(d(),i?(p(),!e.state.isMounted||o||u()||s()):(c(),l()))},onMount:function(){e.props.followCursor&&!o&&(i&&(f(Tt),i=!1),u()||s())},onTrigger:function(e,t){ot(t)&&(Tt={clientX:t.clientX,clientY:t.clientY}),o="focus"===t.type},onHidden:function(){e.props.followCursor&&(l(),c(),i=!0)}}}};var It={name:"sticky",defaultValue:!1,fn:function(e){var t=e.reference,n=e.popper;function r(t){return!0===e.props.sticky||e.props.sticky===t}var o=null,i=null;function a(){var u=r("reference")?(e.popperInstance?e.popperInstance.state.elements.reference:t).getBoundingClientRect():null,s=r("popper")?n.getBoundingClientRect():null;(u&&Bt(o,u)||s&&Bt(i,s))&&e.popperInstance&&e.popperInstance.update(),o=u,i=s,e.state.isMounted&&requestAnimationFrame(a)}return{onMount:function(){e.props.sticky&&a()}}}};function Bt(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}At.setDefaultProps({render:Ct});var zt=At,Ut=n("i8i4");function Gt(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}var qt="undefined"!==typeof window&&"undefined"!==typeof document;function Wt(e,t){e&&("function"===typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Ht(){return qt&&document.createElement("div")}function Vt(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:[].concat(((null==(n=e.popperOptions)?void 0:n.modifiers)||[]).filter((function(e){return e.name.indexOf("tippy")>=0})),(null==(r=t.popperOptions)?void 0:r.modifiers)||[])})})}var Yt=qt?r.useLayoutEffect:r.useEffect;function Xt(e){var t=Object(r.useRef)();return t.current||(t.current="function"===typeof e?e():e),t.current}function Kt(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Jt={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||Kt(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&Kt(t,"remove",e.props.className)},onAfterUpdate:r}}};function Qt(e){return function(t){var n=t.children,i=t.content,a=t.visible,u=t.singleton,s=t.render,c=t.reference,l=t.disabled,f=void 0!==l&&l,p=t.ignoreAttributes,d=void 0===p||p,h=(t.__source,t.__self,Gt(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==a,m=void 0!==u,g=Object(r.useState)(!1),y=g[0],b=g[1],w=Object(r.useState)({}),M=w[0],E=w[1],P=Object(r.useState)(),O=P[0],S=P[1],_=Xt((function(){return{container:Ht(),renders:1}})),x=Object.assign({ignoreAttributes:d},h,{content:_.container});v&&(x.trigger="manual",x.hideOnClick=!1),m&&(f=!0);var C=x,j=x.plugins||[];s&&(C=Object.assign({},x,{plugins:m?[].concat(j,[{fn:function(){return{onTrigger:function(e,t){var n=u.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;S(n)}}}}]):j,render:function(){return{popper:_.container}}}));var k=[c].concat(n?[n.type]:[]);return Yt((function(){var t=c;c&&c.hasOwnProperty("current")&&(t=c.current);var n=e(t||_.ref||Ht(),Object.assign({},C,{plugins:[Jt].concat(x.plugins||[])}));return _.instance=n,f&&n.disable(),a&&n.show(),m&&u.hook({instance:n,content:i,props:C}),b(!0),function(){n.destroy(),null==u||u.cleanup(n)}}),k),Yt((function(){if(1!==_.renders){var e=_.instance;e.setProps(Vt(e.props,C)),f?e.disable():e.enable(),v&&(a?e.show():e.hide()),m&&u.hook({instance:e,content:i,props:C})}else _.renders++})),Yt((function(){var e;if(s){var t=_.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[],[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;M.placement===n.placement&&M.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&M.escaped===(null==r?void 0:r.hasPopperEscaped)||E({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[M.placement,M.referenceHidden,M.escaped].concat(k)),o.a.createElement(o.a.Fragment,null,n?Object(r.cloneElement)(n,{ref:function(e){_.ref=e,Wt(n.ref,e)}}):null,y&&Object(Ut.createPortal)(s?s(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(M),O):i,_.container))}}var Zt=function(e,t){return Object(r.forwardRef)((function(n,i){var a=n.children,u=Gt(n,["children"]);return o.a.createElement(e,Object.assign({},t,u),a?Object(r.cloneElement)(a,{ref:function(e){Wt(i,e),Wt(a.ref,e)}}):null)}))},$t=Zt(Qt(zt)),en=(n("uxza"),o.a.createElement);function tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var nn=function(e){var t=function(e){for(var t=1;t0&&"Minimum value: 150.")),un("div",{className:"form-group col-6"},un("label",{htmlFor:"export-height"},"Height"),un("input",{type:"number",id:"export-height",name:"height",className:a()({"form-control":!0,"is-invalid":!s.height.isValid}),pattern:"\\d+",min:"100",value:s.height.value,onChange:f}),un("div",{className:"invalid-feedback"},0===s.height.value.length&&"Must be a number.",s.height.value.length>0&&"Minimum value: 100.")))),un("button",{type:"submit",className:"btn btn-primary btn-block mt-3",disabled:!s.width.isValid||!s.height.isValid},"Download")))},ln=Object(g.b)((function(e){return{width:y.c.selectWidth(e),height:y.c.selectHeight(e)}}),{updateSettings:y.a.updateSettings,updateExporting:y.a.updateExporting})(cn),fn=(n("hbvv"),o.a.createElement);function pn(e){var t=e.transparent,n=e.inner,r=e.inline,o=e.mini,i=["c-loading-spinner"];return t&&i.push("-transparent"),n&&i.push("-inner"),r&&i.push("-inline"),o&&i.push("-mini"),fn("div",{className:i.join(" ")},fn("svg",null,fn("circle",{cx:o?9:30,cy:o?9:30,r:o?5:20,fill:"none",strokeWidth:o?2:3,strokeMiterlimit:"10"})))}pn.defaultProps={transparent:!1,inner:!1,inline:!1,mini:!1};var dn=pn,hn=n("9rZX"),vn=n.n(hn),mn=(n("P6+J"),o.a.createElement),gn=function(e){var t=e.name,n=e.className,r=e.style,o=a()(Object(R.a)({},n,n));return mn("svg",{className:"c-icon ".concat(o),style:r},mn("use",{xlinkHref:"#icon-".concat(t)}))};gn.defaultProps={name:"",className:"",style:{}};var yn=gn,bn=(n("oG+/"),o.a.createElement);vn.a.setAppElement("#root");var wn=function(e){var t=e.open,n=e.onClose,r=e.title,o=e.children,i=e.className;return bn(vn.a,{isOpen:t,onRequestClose:n,contentLabel:r,className:["c-modal"].concat(Object(E.a)(i?[i]:[])).join(" ")},bn("button",{type:"button",className:"btn btn-outline-primary close-button",onClick:n},bn(yn,{name:"close"})),bn("div",{className:"content"},o))};wn.defaultProps={className:null};var Mn=wn,En=(n("mp/Q"),o.a.createElement),Pn=function(e){var t=e.open,n=e.onClose;return En(Mn,{title:"Map downloaded",open:t,onClose:n,className:"c-tool-download-success-modal"},En("h1",{className:"mb-3"},"Map downloaded!"),En("p",null,"Check the"," ",En("a",{href:"https://mongabay.github.io/visual-style-guide/",target:"_blank",rel:"noopener noreferrer"},"Mongabay Style Guidelines")," ","in case you need to add any further detail on your map."),En("button",{type:"button",className:"btn btn-primary btn-block mt-4",onClick:n},"Close"))},On=(n("1+uw"),o.a.createElement),Sn=function(e){var t=e.loading,n=e.countryOptions,o=e.country,i=e.commodityOptions,a=e.commodity,u=e.unitOptions,s=e.unit,c=e.yearOptions,l=e.year,f=e.regionsLoading,p=e.regionOptions,d=e.region,h=e.exportersLoading,v=e.exporterOptions,m=e.exporter,g=e.updateCountry,y=e.updateCommodity,b=e.updateUnit,w=e.updateYear,M=e.updateRegion,E=e.updateExporter,P=e.exporting,O=Object(r.useState)(!1),S=O[0],_=O[1],x=Object(r.useState)(!1),C=x[0],j=x[1];return Object(r.useEffect)((function(){S!==P&&(P||j(!0),_(P))}),[P,S,j,_]),On("aside",{className:"c-tool-sidebar"},On(Pn,{open:C,onClose:function(){return j(!1)}}),On("div",{className:"content"},On("h1",null,"Supply Chain"),On("div",{className:"scrollable-container pt-2"},On("div",{className:"form-group"},On("label",{htmlFor:"setting-country"},"Source country"),On("div",{className:"input-group"},On(N,{id:"setting-country",options:n,value:null!==o&&void 0!==o?o:"",onChange:function(e){var t=e.value;return g(t)},disabled:0===n.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-commodity"},"Commodity"),On("div",{className:"input-group"},On(N,{id:"setting-commodity",options:i,value:null!==a&&void 0!==a?a:"",onChange:function(e){var t=e.value;return y(t)},disabled:0===i.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-unit"},"Change unit"),On("div",{className:"input-group"},On(N,{id:"setting-unit",options:u,value:null!==s&&void 0!==s?s:"",onChange:function(e){var t=e.value;return b(t)},disabled:0===u.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-year"},"Year"),On("div",{className:"input-group"},On(N,{id:"setting-year",options:c,value:null!==l&&void 0!==l?l:"",onChange:function(e){var t=e.value;return w(t)},disabled:0===c.length}))),On("div",{className:"form-group"},On("label",{htmlFor:"setting-region"},"Region (optional) ",f&&On(dn,{inline:!0,mini:!0})),On("div",{className:"input-group"},On(N,{id:"setting-region","aria-describedby":"setting-region-note",options:p,value:d,onChange:function(e){var t=e.value;return M(t)},disabled:0===p.length})),On("div",{id:"setting-region-note",className:"note"},"This ","setting's"," options are not filtered by change unit nor year.")),On("div",{className:"form-group"},On("label",{htmlFor:"setting-exporter"},"Exporter (optional) ",h&&On(dn,{inline:!0,mini:!0})),On("div",{className:"input-group"},On(N,{id:"setting-exporter","aria-describedby":"setting-exporter-note",options:v,value:m,onChange:function(e){var t=e.value;return E(t)},disabled:0===v.length})),On("div",{id:"setting-exporter-note",className:"note"},"This ","setting's"," options are not filtered by change unit, year nor region.")))),On("div",{className:"d-flex align-items-center mt-4"},On(nn,{sticky:"popper",plugins:[It],content:On(ln,null)},On("button",{type:"button",className:"btn btn-primary",disabled:t},"Export")),t&&On("div",{className:"loading-text ml-3"},On(dn,{inline:!0,mini:!0})," Loading...")))};Sn.defaultProps={country:null,commodity:null,unit:null,year:null};var _n=Sn,xn=Object(g.b)((function(e){return{loading:y.h.selectLoading(e),countryOptions:y.h.selectSourceCountryOptions(e),country:y.h.selectCountry(e),commodityOptions:y.h.selectCommodityOptions(e),commodity:y.h.selectCommodity(e),unitOptions:y.h.selectUnitOptions(e),unit:y.h.selectUnit(e),yearOptions:y.h.selectYearOptions(e),year:y.h.selectYear(e),regionsLoading:y.h.selectRegionsLoading(e),regionOptions:y.h.selectRegionOptions(e),region:y.h.selectRegion(e),exportersLoading:y.h.selectExportersLoading(e),exporterOptions:y.h.selectExporterOptions(e),exporter:y.h.selectExporter(e),exporting:y.c.selectExporting(e)}}),{updateCountry:y.f.updateCountry,updateCommodity:y.f.updateCommodity,updateUnit:y.f.updateUnit,updateYear:y.f.updateYear,updateRegion:y.f.updateRegion,updateExporter:y.f.updateExporter})(_n),Cn=n("ODXe");function jn(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["groupName","itemName","componentIdentifier"]));return o.default.createElement(i.default,r({groupName:t,itemName:n},a))};u.defaultProps={componentIdentifier:"Annotations",groupName:"annotations",itemName:"annotation"},t.default=u},lwAK:function(e,t,n){"use strict";var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n("q1tI"));t.AmpStateContext=o.createContext({})},mPvQ:function(e,t,n){var r=n("5fIB"),o=n("rlHP"),i=n("kG2m");e.exports=function(e){return r(e)||o(e)||i()}},"mp/Q":function(e,t,n){},n3Y4:function(e,t,n){"use strict";function r(){}n.r(t),n.d(t,"geoAiry",(function(){return at})),n.d(t,"geoAiryRaw",(function(){return it})),n.d(t,"geoAitoff",(function(){return st})),n.d(t,"geoAitoffRaw",(function(){return ut})),n.d(t,"geoArmadillo",(function(){return lt})),n.d(t,"geoArmadilloRaw",(function(){return ct})),n.d(t,"geoAugust",(function(){return pt})),n.d(t,"geoAugustRaw",(function(){return ft})),n.d(t,"geoBaker",(function(){return mt})),n.d(t,"geoBakerRaw",(function(){return vt})),n.d(t,"geoBerghaus",(function(){return Mt})),n.d(t,"geoBerghausRaw",(function(){return wt})),n.d(t,"geoBoggs",(function(){return jt})),n.d(t,"geoBoggsRaw",(function(){return Ct})),n.d(t,"geoBonne",(function(){return Tt})),n.d(t,"geoBonneRaw",(function(){return At})),n.d(t,"geoBottomley",(function(){return Zt})),n.d(t,"geoBottomleyRaw",(function(){return Lt})),n.d(t,"geoBromley",(function(){return en})),n.d(t,"geoBromleyRaw",(function(){return $t})),n.d(t,"geoChamberlin",(function(){return wn})),n.d(t,"geoChamberlinRaw",(function(){return gn})),n.d(t,"geoChamberlinAfrica",(function(){return bn})),n.d(t,"geoCollignon",(function(){return En})),n.d(t,"geoCollignonRaw",(function(){return Mn})),n.d(t,"geoCraig",(function(){return On})),n.d(t,"geoCraigRaw",(function(){return Pn})),n.d(t,"geoCraster",(function(){return xn})),n.d(t,"geoCrasterRaw",(function(){return _n})),n.d(t,"geoCylindricalEqualArea",(function(){return jn})),n.d(t,"geoCylindricalEqualAreaRaw",(function(){return Cn})),n.d(t,"geoCylindricalStereographic",(function(){return Nn})),n.d(t,"geoCylindricalStereographicRaw",(function(){return kn})),n.d(t,"geoEckert1",(function(){return An})),n.d(t,"geoEckert1Raw",(function(){return Rn})),n.d(t,"geoEckert2",(function(){return Ln})),n.d(t,"geoEckert2Raw",(function(){return Tn})),n.d(t,"geoEckert3",(function(){return Fn})),n.d(t,"geoEckert3Raw",(function(){return Dn})),n.d(t,"geoEckert4",(function(){return Bn})),n.d(t,"geoEckert4Raw",(function(){return In})),n.d(t,"geoEckert5",(function(){return Un})),n.d(t,"geoEckert5Raw",(function(){return zn})),n.d(t,"geoEckert6",(function(){return qn})),n.d(t,"geoEckert6Raw",(function(){return Gn})),n.d(t,"geoEisenlohr",(function(){return Vn})),n.d(t,"geoEisenlohrRaw",(function(){return Hn})),n.d(t,"geoFahey",(function(){return Kn})),n.d(t,"geoFaheyRaw",(function(){return Xn})),n.d(t,"geoFoucaut",(function(){return Qn})),n.d(t,"geoFoucautRaw",(function(){return Jn})),n.d(t,"geoGilbert",(function(){return rr})),n.d(t,"geoGingery",(function(){return ur})),n.d(t,"geoGingeryRaw",(function(){return or})),n.d(t,"geoGinzburg4",(function(){return lr})),n.d(t,"geoGinzburg4Raw",(function(){return cr})),n.d(t,"geoGinzburg5",(function(){return pr})),n.d(t,"geoGinzburg5Raw",(function(){return fr})),n.d(t,"geoGinzburg6",(function(){return hr})),n.d(t,"geoGinzburg6Raw",(function(){return dr})),n.d(t,"geoGinzburg8",(function(){return mr})),n.d(t,"geoGinzburg8Raw",(function(){return vr})),n.d(t,"geoGinzburg9",(function(){return yr})),n.d(t,"geoGinzburg9Raw",(function(){return gr})),n.d(t,"geoGringorten",(function(){return Mr})),n.d(t,"geoGringortenRaw",(function(){return wr})),n.d(t,"geoGuyou",(function(){return Sr})),n.d(t,"geoGuyouRaw",(function(){return Or})),n.d(t,"geoHammer",(function(){return jr})),n.d(t,"geoHammerRaw",(function(){return xr})),n.d(t,"geoHammerRetroazimuthal",(function(){return Rr})),n.d(t,"geoHammerRetroazimuthalRaw",(function(){return kr})),n.d(t,"geoHealpix",(function(){return Dr})),n.d(t,"geoHealpixRaw",(function(){return Lr})),n.d(t,"geoHill",(function(){return Ir})),n.d(t,"geoHillRaw",(function(){return Fr})),n.d(t,"geoHomolosine",(function(){return Wr})),n.d(t,"geoHomolosineRaw",(function(){return qr})),n.d(t,"geoInterrupt",(function(){return Yr})),n.d(t,"geoInterruptedBoggs",(function(){return Kr})),n.d(t,"geoInterruptedHomolosine",(function(){return Qr})),n.d(t,"geoInterruptedMollweide",(function(){return $r})),n.d(t,"geoInterruptedMollweideHemispheres",(function(){return to})),n.d(t,"geoInterruptedSinuMollweide",(function(){return ro})),n.d(t,"geoInterruptedSinusoidal",(function(){return io})),n.d(t,"geoKavrayskiy7",(function(){return uo})),n.d(t,"geoKavrayskiy7Raw",(function(){return ao})),n.d(t,"geoLagrange",(function(){return co})),n.d(t,"geoLagrangeRaw",(function(){return so})),n.d(t,"geoLarrivee",(function(){return po})),n.d(t,"geoLarriveeRaw",(function(){return fo})),n.d(t,"geoLaskowski",(function(){return vo})),n.d(t,"geoLaskowskiRaw",(function(){return ho})),n.d(t,"geoLittrow",(function(){return go})),n.d(t,"geoLittrowRaw",(function(){return mo})),n.d(t,"geoLoximuthal",(function(){return bo})),n.d(t,"geoLoximuthalRaw",(function(){return yo})),n.d(t,"geoMiller",(function(){return Mo})),n.d(t,"geoMillerRaw",(function(){return wo})),n.d(t,"geoModifiedStereographic",(function(){return Ao})),n.d(t,"geoModifiedStereographicRaw",(function(){return Eo})),n.d(t,"geoModifiedStereographicAlaska",(function(){return Co})),n.d(t,"geoModifiedStereographicGs48",(function(){return jo})),n.d(t,"geoModifiedStereographicGs50",(function(){return ko})),n.d(t,"geoModifiedStereographicMiller",(function(){return No})),n.d(t,"geoModifiedStereographicLee",(function(){return Ro})),n.d(t,"geoMollweide",(function(){return St})),n.d(t,"geoMollweideRaw",(function(){return Ot})),n.d(t,"geoMtFlatPolarParabolic",(function(){return Fo})),n.d(t,"geoMtFlatPolarParabolicRaw",(function(){return Do})),n.d(t,"geoMtFlatPolarQuartic",(function(){return Bo})),n.d(t,"geoMtFlatPolarQuarticRaw",(function(){return Io})),n.d(t,"geoMtFlatPolarSinusoidal",(function(){return Uo})),n.d(t,"geoMtFlatPolarSinusoidalRaw",(function(){return zo})),n.d(t,"geoNaturalEarth",(function(){return qo})),n.d(t,"geoNaturalEarthRaw",(function(){return Go})),n.d(t,"geoNellHammer",(function(){return Ho})),n.d(t,"geoNellHammerRaw",(function(){return Wo})),n.d(t,"geoPatterson",(function(){return ti})),n.d(t,"geoPattersonRaw",(function(){return ei})),n.d(t,"geoPolyconic",(function(){return si})),n.d(t,"geoPolyconicRaw",(function(){return ni})),n.d(t,"geoPolyhedral",(function(){return Wi})),n.d(t,"geoPolyhedralButterfly",(function(){return Qi})),n.d(t,"geoPolyhedralCollignon",(function(){return ea})),n.d(t,"geoPolyhedralWaterman",(function(){return ta})),n.d(t,"geoProject",(function(){return aa})),n.d(t,"geoGringortenQuincuncial",(function(){return ma})),n.d(t,"geoPeirceQuincuncial",(function(){return ga})),n.d(t,"geoPierceQuincuncial",(function(){return ga})),n.d(t,"geoQuantize",(function(){return ya})),n.d(t,"geoQuincuncial",(function(){return va})),n.d(t,"geoRectangularPolyconic",(function(){return wa})),n.d(t,"geoRectangularPolyconicRaw",(function(){return ba})),n.d(t,"geoRobinson",(function(){return Pa})),n.d(t,"geoRobinsonRaw",(function(){return Ea})),n.d(t,"geoSatellite",(function(){return Sa})),n.d(t,"geoSatelliteRaw",(function(){return Oa})),n.d(t,"geoSinuMollweide",(function(){return Gr})),n.d(t,"geoSinuMollweideRaw",(function(){return Ur})),n.d(t,"geoSinusoidal",(function(){return Rt})),n.d(t,"geoSinusoidalRaw",(function(){return Nt})),n.d(t,"geoStitch",(function(){return Ua})),n.d(t,"geoTimes",(function(){return qa})),n.d(t,"geoTimesRaw",(function(){return Ga})),n.d(t,"geoTwoPointAzimuthal",(function(){return Ya})),n.d(t,"geoTwoPointAzimuthalRaw",(function(){return Ha})),n.d(t,"geoTwoPointAzimuthalUsa",(function(){return Va})),n.d(t,"geoTwoPointEquidistant",(function(){return Ja})),n.d(t,"geoTwoPointEquidistantRaw",(function(){return Xa})),n.d(t,"geoTwoPointEquidistantUsa",(function(){return Ka})),n.d(t,"geoVanDerGrinten",(function(){return Za})),n.d(t,"geoVanDerGrintenRaw",(function(){return Qa})),n.d(t,"geoVanDerGrinten2",(function(){return eu})),n.d(t,"geoVanDerGrinten2Raw",(function(){return $a})),n.d(t,"geoVanDerGrinten3",(function(){return nu})),n.d(t,"geoVanDerGrinten3Raw",(function(){return tu})),n.d(t,"geoVanDerGrinten4",(function(){return ou})),n.d(t,"geoVanDerGrinten4Raw",(function(){return ru})),n.d(t,"geoWagner4",(function(){return su})),n.d(t,"geoWagner4Raw",(function(){return uu})),n.d(t,"geoWagner6",(function(){return lu})),n.d(t,"geoWagner6Raw",(function(){return cu})),n.d(t,"geoWagner7",(function(){return pu})),n.d(t,"geoWagner7Raw",(function(){return fu})),n.d(t,"geoWiechel",(function(){return hu})),n.d(t,"geoWiechelRaw",(function(){return du})),n.d(t,"geoWinkel3",(function(){return mu})),n.d(t,"geoWinkel3Raw",(function(){return vu}));var o=function(){var e,t=[];return{point:function(t,n,r){e.push([t,n,r])},lineStart:function(){t.push(e=[])},lineEnd:r,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},i=1e-6,a=Math.PI,u=a/2,s=a/4,c=2*a,l=180/a,f=a/180,p=Math.abs,d=Math.atan,h=Math.atan2,v=Math.cos,m=(Math.ceil,Math.exp,Math.floor,Math.log,Math.pow,Math.sin),g=Math.sign||function(e){return e>0?1:e<0?-1:0},y=Math.sqrt;Math.tan;function b(e){return e>1?0:e<-1?a:Math.acos(e)}function w(e){return e>1?u:e<-1?-u:Math.asin(e)}function M(e){return(e=m(e/2))*e}var E=function(e,t){return p(e[0]-t[0])=0;--a)o.point((f=l[a])[0],f[1]);else r(d.x,d.p.x,-1,o);d=d.p}l=(d=d.o).z,h=!h}while(!d.v);o.lineEnd()}}};function S(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r=0?1:-1,B=L*T,z=B>a,U=O*k;if(F.add(h(U*L*m(B),S*R+U*v(B))),f+=z?T+L*c:T,z^E>=n^C>=n){var G=A(N(M),N(x));D(G);var q=A(l,G);D(q);var W=(z^T>=0?-1:1)*w(q[2]);(r>W||r===W&&(G[0]||G[1]))&&(p+=z^T>=0?1:-1)}}return(f<-i||f0){for(M||(l.polygonStart(),M=!0),l.lineStart(),e=0;e1&&2&o&&i.push(i.pop().concat(i.shift())),p.push(i.filter(U))}return E}};function U(e){return e.length>1}function G(e,t){return((e=e.x)[0]<0?e[1]-u-i:u-e[1])-((t=t.x)[0]<0?t[1]-u-i:u-t[1])}var q=z((function(){return!0}),(function(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(s,c){var l=s>0?a:-a,f=p(s-n);p(f-a)0?u:-u),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),e.point(s,r),t=0):o!==l&&f>=a&&(p(n-o)i?d((m(t)*(a=v(r))*m(n)-m(r)*(o=v(t))*m(e))/(o*a*u)):(t+r)/2}(n,r,s,c),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(l,r),t=0),e.point(n=s,r=c),o=l},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var o;if(null==e)o=n*u,r.point(-a,o),r.point(0,o),r.point(a,o),r.point(a,0),r.point(a,-o),r.point(0,-o),r.point(-a,-o),r.point(-a,0),r.point(-a,o);else if(p(e[0]-t[0])>i){var s=e[0]a?e+Math.round(-e/c)*c:e,t]}function Y(e,t,n){return(e%=c)?t||n?H(K(e),J(t,n)):K(e):t||n?J(t,n):V}function X(e){return function(t,n){return[(t+=e)>a?t-c:t<-a?t+c:t,n]}}function K(e){var t=X(e);return t.invert=X(-e),t}function J(e,t){var n=v(e),r=m(e),o=v(t),i=m(t);function a(e,t){var a=v(t),u=v(e)*a,s=m(e)*a,c=m(t),l=c*n+u*r;return[h(s*o-l*i,u*n-c*r),w(l*o+s*i)]}return a.invert=function(e,t){var a=v(t),u=v(e)*a,s=m(e)*a,c=m(t),l=c*o-s*i;return[h(s*o+c*i,u*n+l*r),w(l*n-u*r)]},a}V.invert=V;var Q=function(e){function t(t){return(t=e(t[0]*f,t[1]*f))[0]*=l,t[1]*=l,t}return e=Y(e[0]*f,e[1]*f,e.length>2?e[2]*f:0),t.invert=function(t){return(t=e.invert(t[0]*f,t[1]*f))[0]*=l,t[1]*=l,t},t};function Z(e,t,n,r,o,i){if(n){var a=v(t),u=m(t),s=r*n;null==o?(o=t+r*c,i=t-s/2):(o=$(a,o),i=$(a,i),(r>0?oi)&&(o+=r*c));for(var l,f=o;r>0?f>i:f0,o=p(t)>i;function u(e,n){return v(e)*v(n)>t}function s(e,n,r){var o=[1,0,0],u=A(N(e),N(n)),s=R(u,u),c=u[0],l=s-c*c;if(!l)return!r&&e;var f=t*s/l,d=-t*c/l,h=A(o,u),v=L(o,f);T(v,L(u,d));var m=h,g=R(v,m),b=R(m,m),w=g*g-b*(R(v,v)-1);if(!(w<0)){var M=y(w),E=L(m,(-g-M)/b);if(T(E,v),E=k(E),!r)return E;var P,O=e[0],S=n[0],_=e[1],x=n[1];S0^E[1]<(p(E[0]-O)a^(O<=E[0]&&E[0]<=S)){var D=L(m,(-g+M)/b);return T(D,v),[E,k(D)]}}}function c(t,n){var o=r?e:a-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return z(u,(function(e){var t,n,i,l,f;return{lineStart:function(){l=i=!1,f=1},point:function(p,d){var h,v=[p,d],m=u(p,d),g=r?m?0:c(p,d):m?c(p+(p<0?a:-a),d):0;if(!t&&(l=i=m)&&e.lineStart(),m!==i&&(!(h=s(t,v))||E(t,h)||E(v,h))&&(v[2]=1),m!==i)f=0,m?(e.lineStart(),h=s(v,t),e.point(h[0],h[1])):(h=s(t,v),e.point(h[0],h[1],2),e.lineEnd()),t=h;else if(o&&t&&r^m){var y;g&n||!(y=s(v,t,!0))||(f=0,r?(e.lineStart(),e.point(y[0][0],y[0][1]),e.point(y[1][0],y[1][1]),e.lineEnd()):(e.point(y[1][0],y[1][1]),e.lineEnd(),e.lineStart(),e.point(y[0][0],y[0][1],3)))}!m||t&&E(t,v)||e.point(v[0],v[1]),t=v,i=m,n=g},lineEnd:function(){i&&e.lineEnd(),t=null},clean:function(){return f|(l&&i)<<1}}}),(function(t,r,o,i){Z(i,e,n,o,t,r)}),r?[0,-e]:[-a,e-a])},te=function(e,t,n,r,o,i){var a,u=e[0],s=e[1],c=0,l=1,f=t[0]-u,p=t[1]-s;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a0)){if(a/=p,p<0){if(a0){if(a>l)return;a>c&&(c=a)}if(a=i-s,p||!(a<0)){if(a/=p,p<0){if(a>l)return;a>c&&(c=a)}else if(p>0){if(a0&&(e[0]=u+c*f,e[1]=s+c*p),l<1&&(t[0]=u+l*f,t[1]=s+l*p),!0}}}}},ne=1e9,re=-ne;function oe(e,t,n,r){function a(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function u(o,i,a,u){var c=0,f=0;if(null==o||(c=s(o,a))!==(f=s(i,a))||l(o,i)<0^a>0)do{u.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+a+4)%4)!==f);else u.point(i[0],i[1])}function s(r,o){return p(r[0]-e)0?0:3:p(r[0]-n)0?2:1:p(r[1]-t)0?1:0:o>0?3:2}function c(e,t){return l(e.x,t.x)}function l(e,t){var n=s(e,1),r=s(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(i){var s,l,f,p,d,h,v,m,g,y,b,w=i,M=o(),E={point:P,lineStart:function(){E.point=S,l&&l.push(f=[]);y=!0,g=!1,v=m=NaN},lineEnd:function(){s&&(S(p,d),h&&g&&M.rejoin(),s.push(M.result()));E.point=P,g&&w.lineEnd()},polygonStart:function(){w=M,s=[],l=[],b=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=l.length;nr&&(p-i)*(r-a)>(d-a)*(e-i)&&++t:d<=r&&(p-i)*(r-a)<(d-a)*(e-i)&&--t;return t}(),n=b&&t,o=(s=Object(B.a)(s)).length;(n||o)&&(i.polygonStart(),n&&(i.lineStart(),u(null,null,1,i),i.lineEnd()),o&&O(s,c,t,u,i),i.polygonEnd());w=i,s=l=f=null}};function P(e,t){a(e,t)&&w.point(e,t)}function S(o,i){var u=a(o,i);if(l&&f.push([o,i]),y)p=o,d=i,h=u,y=!1,u&&(w.lineStart(),w.point(o,i));else if(u&&g)w.point(o,i);else{var s=[v=Math.max(re,Math.min(ne,v)),m=Math.max(re,Math.min(ne,m))],c=[o=Math.max(re,Math.min(ne,o)),i=Math.max(re,Math.min(ne,i))];te(s,c,e,t,n,r)?(g||(w.lineStart(),w.point(s[0],s[1])),w.point(c[0],c[1]),u||w.lineEnd(),b=!1):u&&(w.lineStart(),w.point(o,i),b=!1)}v=o,m=i,g=u}return E}}var ie=function(e){return e};function ae(e){return function(t){var n=new ue;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ue(){}function se(e,t){e&&le.hasOwnProperty(e.type)&&le[e.type](e,t)}ue.prototype={constructor:ue,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var ce={Feature:function(e,t){se(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++rme&&(me=e);tge&&(ge=t)},lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var e=[[he,ve],[me,ge]];return me=ge=-(ve=he=1/0),e}};function be(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),de(n,e.stream(ye)),t(ye.result()),null!=r&&e.clipExtent(r),e}function we(e,t,n){return be(e,(function(n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=Math.min(r/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),a=+t[0][0]+(r-i*(n[1][0]+n[0][0]))/2,u=+t[0][1]+(o-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([a,u])}),n)}var Me=16,Ee=v(30*f),Pe=function(e,t){return+t?function(e,t){function n(r,o,a,u,s,c,l,f,d,v,m,g,b,M){var E=l-r,P=f-o,O=E*E+P*P;if(O>4*t&&b--){var S=u+v,_=s+m,x=c+g,C=y(S*S+_*_+x*x),j=w(x/=C),k=p(p(x)-1)t||p((E*T+P*L)/O-.5)>.3||u*v+s*m+c*g2?e[2]%360*f:0,R()):[b*l,w*l,M*l]},k.angle=function(e){return arguments.length?(E=e%360*f,R()):E*l},k.reflectX=function(e){return arguments.length?(P=e?-1:1,R()):P<0},k.reflectY=function(e){return arguments.length?(O=e?-1:1,R()):O<0},k.precision=function(e){return arguments.length?(a=Pe(u,j=e*e),A()):y(j)},k.fitExtent=function(e,t){return we(k,e,t)},k.fitSize=function(e,t){return function(e,t,n){return we(e,[[0,0],t],n)}(k,e,t)},k.fitWidth=function(e,t){return function(e,t,n){return be(e,(function(n){var r=+t,o=r/(n[1][0]-n[0][0]),i=(r-o*(n[1][0]+n[0][0]))/2,a=-o*n[0][1];e.scale(150*o).translate([i,a])}),n)}(k,e,t)},k.fitHeight=function(e,t){return function(e,t,n){return be(e,(function(n){var r=+t,o=r/(n[1][1]-n[0][1]),i=-o*n[0][0],a=(r-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([i,a])}),n)}(k,e,t)},function(){return t=e.apply(this,arguments),k.invert=t.invert&&N,R()}}var je=Math.abs,ke=Math.atan,Ne=Math.atan2,Re=(Math.ceil,Math.cos),Ae=Math.exp,Te=Math.floor,Le=Math.log,De=Math.max,Fe=Math.min,Ie=Math.pow,Be=Math.round,ze=Math.sign||function(e){return e>0?1:e<0?-1:0},Ue=Math.sin,Ge=Math.tan,qe=1e-6,We=1e-12,He=Math.PI,Ve=He/2,Ye=He/4,Xe=Math.SQRT1_2,Ke=nt(2),Je=nt(He),Qe=2*He,Ze=180/He,$e=He/180;function et(e){return e>1?Ve:e<-1?-Ve:Math.asin(e)}function tt(e){return e>1?0:e<-1?He:Math.acos(e)}function nt(e){return e>0?Math.sqrt(e):0}function rt(e){return(Ae(e)-Ae(-e))/2}function ot(e){return(Ae(e)+Ae(-e))/2}function it(e){var t=Ge(e/2),n=2*Le(Re(e/2))/(t*t);function r(e,t){var r=Re(e),o=Re(t),i=Ue(t),a=o*r,u=-((1-a?Le((1+a)/2)/(1-a):-.5)+n/(1+a));return[u*o*Ue(e),u*i]}return r.invert=function(t,r){var o,i=nt(t*t+r*r),a=-e/2,u=50;if(!i)return[0,0];do{var s=a/2,c=Re(s),l=Ue(s),f=Ge(s),p=Le(1/c);a-=o=(2/f*p-n*f-i)/(-p/(l*l)+1-n/(2*c*c))}while(je(o)>qe&&--u>0);var d=Ue(a);return[Ne(t*d,i*Re(a)),et(r*d/i)]},r}var at=function(){var e=Ve,t=Ce(it),n=t(e);return n.radius=function(n){return arguments.length?t(e=n*$e):e*Ze},n.scale(179.976).clipAngle(147)};function ut(e,t){var n=Re(t),r=function(e){return e?e/Math.sin(e):1}(tt(n*Re(e/=2)));return[2*n*Ue(e)*r,Ue(t)*r]}ut.invert=function(e,t){if(!(e*e+4*t*t>He*He+qe)){var n=e,r=t,o=25;do{var i,a=Ue(n),u=Ue(n/2),s=Re(n/2),c=Ue(r),l=Re(r),f=Ue(2*r),p=c*c,d=l*l,h=u*u,v=1-d*s*s,m=v?tt(l*s)*nt(i=1/v):i=0,g=2*m*l*u-e,y=m*c-t,b=i*(d*h+m*l*s*p),w=i*(.5*a*f-2*m*c*u),M=.25*i*(f*u-m*c*d*a),E=i*(p*s+m*h*l),P=w*M-E*b;if(!P)break;var O=(y*w-g*E)/P,S=(g*M-y*b)/P;n-=O,r-=S}while((je(O)>qe||je(S)>qe)&&--o>0);return[n,r]}};var st=function(){return xe(ut).scale(152.63)};function ct(e){var t=Ue(e),n=Re(e),r=e>=0?1:-1,o=Ge(r*e),i=(1+t-n)/2;function a(e,a){var u=Re(a),s=Re(e/=2);return[(1+u)*Ue(e),(r*a>-Ne(s,o)-.001?0:10*-r)+i+Ue(a)*n-(1+u)*t*s]}return a.invert=function(e,a){var u=0,s=0,c=50;do{var l=Re(u),f=Ue(u),p=Re(s),d=Ue(s),h=1+p,v=h*f-e,m=i+d*n-h*t*l-a,g=h*l/2,y=-f*d,b=t*h*f/2,w=n*p+t*l*d,M=y*b-w*g,E=(m*y-v*w)/M/2,P=(v*b-m*g)/M;u-=E,s-=P}while((je(E)>qe||je(P)>qe)&&--c>0);return r*s>-Ne(Re(u),o)-.001?[2*u,s]:null},a}var lt=function(){var e=20*$e,t=e>=0?1:-1,n=Ge(t*e),r=Ce(ct),o=r(e),i=o.stream;return o.parallel=function(o){return arguments.length?(n=Ge((t=(e=o*$e)>=0?1:-1)*e),r(e)):e*Ze},o.stream=function(r){var a=o.rotate(),u=i(r),s=(o.rotate([0,0]),i(r));return o.rotate(a),u.sphere=function(){s.polygonStart(),s.lineStart();for(var r=-180*t;t*r<180;r+=90*t)s.point(r,90*t);for(;t*(r-=e)>=-180;)s.point(r,t*-Ne(Re(r*$e/2),n)*Ze);s.lineEnd(),s.polygonEnd()},u},o.scale(218.695).center([0,28.0974])};function ft(e,t){var n=Ge(t/2),r=nt(1-n*n),o=1+r*Re(e/=2),i=Ue(e)*r/o,a=n/o,u=i*i,s=a*a;return[4/3*i*(3+u-3*s),4/3*a*(3+3*u-s)]}ft.invert=function(e,t){if(t*=3/8,!(e*=3/8)&&je(t)>1)return null;var n=1+e*e+t*t,r=nt((n-nt(n*n-4*t*t))/2),o=et(r)/3,i=r?function(e){return Le(e+nt(e*e-1))}(je(t/r))/3:function(e){return Le(e+nt(e*e+1))}(je(e))/3,a=Re(o),u=ot(i),s=u*u-a*a;return[2*ze(e)*Ne(rt(i)*a,.25-s),2*ze(t)*Ne(u*Ue(o),.25+s)]};var pt=function(){return xe(ft).scale(66.1603)},dt=nt(8),ht=Le(1+Ke);function vt(e,t){var n=je(t);return nWe&&--i>0);return[e/(Re(o)*(dt-1/Ue(o))),ze(t)*o]};var mt=function(){return xe(vt).scale(112.314)};function gt(e){return function(t,n){var r=v(t),o=v(n),i=e(r*o);return[i*o*m(t),i*m(n)]}}function yt(e){return function(t,n){var r=y(t*t+n*n),o=e(r),i=m(o),a=v(o);return[h(t*i,r*a),w(r&&n*i/r)]}}var bt=gt((function(e){return(e=b(e))&&e/m(e)}));bt.invert=yt((function(e){return e}));function wt(e){var t=2*He/e;function n(e,n){var r=bt(e,n);if(je(e)>Ve){var o=Ne(r[1],r[0]),i=nt(r[0]*r[0]+r[1]*r[1]),a=t*Be((o-Ve)/t)+Ve,u=Ne(Ue(o-=a),2-Re(o));o=a+et(He/i*Ue(u))-u,r[0]=i*Re(o),r[1]=i*Ue(o)}return r}return n.invert=function(e,n){var r=nt(e*e+n*n);if(r>Ve){var o=Ne(n,e),i=t*Be((o-Ve)/t)+Ve,a=o>i?-1:1,u=r*Re(i-o),s=1/Ge(a*tt((u-He)/nt(He*(He-2*u)+r*r)));o=i+2*ke((s+a*nt(s*s-3))/3),e=r*Re(o),n=r*Ue(o)}return bt.invert(e,n)},n}var Mt=function(){var e=5,t=Ce(wt),n=t(e),r=n.stream,o=-Re(.01*$e),i=Ue(.01*$e);return n.lobes=function(n){return arguments.length?t(e=+n):e},n.stream=function(t){var a=n.rotate(),u=r(t),s=(n.rotate([0,0]),r(t));return n.rotate(a),u.sphere=function(){s.polygonStart(),s.lineStart();for(var t=0,n=360/e,r=2*He/e,a=90-180/e,u=Ve;tqe&&--o>0);return t/2}function Pt(e,t,n){function r(r,o){return[e*r*Re(o=Et(n,o)),t*Ue(o)]}return r.invert=function(r,o){return o=et(o/t),[r/(e*Re(o)),et((2*o+Ue(2*o))/n)]},r}var Ot=Pt(Ke/Ve,Ke,He),St=function(){return xe(Ot).scale(169.529)},_t=2.00276,xt=1.11072;function Ct(e,t){var n=Et(He,t);return[_t*e/(1/Re(t)+xt/Re(n)),(t+Ke*Ue(n))/_t]}Ct.invert=function(e,t){var n,r,o=_t*t,i=t<0?-Ye:Ye,a=25;do{r=o-Ke*Ue(i),i-=n=(Ue(2*i)+2*i-He*Ue(r))/(2*Re(2*i)+2+He*Re(r)*Ke*Re(i))}while(je(n)>qe&&--a>0);return r=o-Ke*Ue(i),[e*(1/Re(r)+xt/Re(i))/_t,r]};var jt=function(){return xe(Ct).scale(160.857)},kt=function(e){var t=0,n=Ce(e),r=n(t);return r.parallel=function(e){return arguments.length?n(t=e*$e):t*Ze},r};function Nt(e,t){return[e*Re(t),t]}Nt.invert=function(e,t){return[e/Re(t),t]};var Rt=function(){return xe(Nt).scale(152.63)};function At(e){if(!e)return Nt;var t=1/Ge(e);function n(n,r){var o=t+e-r,i=o?n*Re(r)/o:o;return[o*Ue(i),t-o*Re(i)]}return n.invert=function(n,r){var o=nt(n*n+(r=t-r)*r),i=t+e-o;return[o/Re(i)*Ne(n,r),i]},n}var Tt=function(){return kt(At).scale(123.082).center([0,26.1441]).parallel(45)};function Lt(e){function t(t,n){var r=Ve-n,o=r?t*e*Ue(r)/r:r;return[r*Ue(o)/e,Ve-r*Re(o)]}return t.invert=function(t,n){var r=t*e,o=Ve-n,i=nt(r*r+o*o),a=Ne(r,o);return[(i?i/Ue(i):1)*a/e,Ve-i]},t}var Dt,Ft,It,Bt,zt,Ut,Gt,qt,Wt,Ht,Vt,Yt,Xt,Kt,Jt,Qt,Zt=function(){var e=.5,t=Ce(Lt),n=t(e);return n.fraction=function(n){return arguments.length?t(e=+n):e},n.scale(158.837)},$t=Pt(1,4/He,He),en=function(){return xe($t).scale(152.63)},tn={sphere:r,point:nn,lineStart:on,lineEnd:sn,polygonStart:function(){tn.lineStart=cn,tn.lineEnd=ln},polygonEnd:function(){tn.lineStart=on,tn.lineEnd=sn}};function nn(e,t){e*=f;var n=v(t*=f);rn(n*v(e),n*m(e),m(t))}function rn(e,t,n){++Dt,It+=(e-It)/Dt,Bt+=(t-Bt)/Dt,zt+=(n-zt)/Dt}function on(){tn.point=an}function an(e,t){e*=f;var n=v(t*=f);Kt=n*v(e),Jt=n*m(e),Qt=m(t),tn.point=un,rn(Kt,Jt,Qt)}function un(e,t){e*=f;var n=v(t*=f),r=n*v(e),o=n*m(e),i=m(t),a=h(y((a=Jt*i-Qt*o)*a+(a=Qt*r-Kt*i)*a+(a=Kt*o-Jt*r)*a),Kt*r+Jt*o+Qt*i);Ft+=a,Ut+=a*(Kt+(Kt=r)),Gt+=a*(Jt+(Jt=o)),qt+=a*(Qt+(Qt=i)),rn(Kt,Jt,Qt)}function sn(){tn.point=nn}function cn(){tn.point=fn}function ln(){pn(Yt,Xt),tn.point=nn}function fn(e,t){Yt=e,Xt=t,e*=f,t*=f,tn.point=pn;var n=v(t);Kt=n*v(e),Jt=n*m(e),Qt=m(t),rn(Kt,Jt,Qt)}function pn(e,t){e*=f;var n=v(t*=f),r=n*v(e),o=n*m(e),i=m(t),a=Jt*i-Qt*o,u=Qt*r-Kt*i,s=Kt*o-Jt*r,c=y(a*a+u*u+s*s),l=w(c),p=c&&-l/c;Wt+=p*a,Ht+=p*u,Vt+=p*s,Ft+=l,Ut+=l*(Kt+(Kt=r)),Gt+=l*(Jt+(Jt=o)),qt+=l*(Qt+(Qt=i)),rn(Kt,Jt,Qt)}var dn=function(e){Dt=Ft=It=Bt=zt=Ut=Gt=qt=Wt=Ht=Vt=0,de(e,tn);var t=Wt,n=Ht,r=Vt,o=t*t+n*n+r*r;return o<1e-12&&(t=Ut,n=Gt,r=qt,Ft1||je(i)>1)a=tt(n*o+t*r*u);else{var s=Ue(e/2),c=Ue(i/2);a=2*et(nt(s*s+t*r*c*c))}return je(a)>qe?[a,Ne(r*Ue(i),t*o-n*r*u)]:[0,0]}function vn(e,t,n){return tt((e*e+t*t-n*n)/(2*e*t))}function mn(e){return e-2*He*Te((e+He)/(2*He))}function gn(e,t,n){for(var r,o=[[e[0],e[1],Ue(e[1]),Re(e[1])],[t[0],t[1],Ue(t[1]),Re(t[1])],[n[0],n[1],Ue(n[1]),Re(n[1])]],i=o[2],a=0;a<3;++a,i=r)r=o[a],i.v=hn(r[1]-i[1],i[3],i[2],r[3],r[2],r[0]-i[0]),i.point=[0,0];var u=vn(o[0].v[0],o[2].v[0],o[1].v[0]),s=vn(o[0].v[0],o[1].v[0],o[2].v[0]),c=He-u;o[2].point[1]=0,o[0].point[0]=-(o[1].point[0]=o[0].v[0]/2);var l=[o[2].point[0]=o[0].point[0]+o[2].v[0]*Re(u),2*(o[0].point[1]=o[1].point[1]=o[2].v[0]*Ue(u))];return function(e,t){var n,r=Ue(t),i=Re(t),a=new Array(3);for(n=0;n<3;++n){var u=o[n];if(a[n]=hn(t-u[1],u[3],u[2],i,r,e-u[0]),!a[n][0])return u.point;a[n][1]=mn(a[n][1]-u.v[1])}var f=l.slice();for(n=0;n<3;++n){var p=2==n?0:n+1,d=vn(o[n].v[0],a[n][0],a[p][0]);a[n][1]<0&&(d=-d),n?1==n?(d=s-d,f[0]-=a[n][0]*Re(d),f[1]-=a[n][0]*Ue(d)):(d=c-d,f[0]+=a[n][0]*Re(d),f[1]+=a[n][0]*Ue(d)):(f[0]+=a[n][0]*Re(d),f[1]-=a[n][0]*Ue(d))}return f[0]/=3,f[1]/=3,f}}function yn(e){return e[0]*=$e,e[1]*=$e,e}function bn(){return wn([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function wn(e,t,n){var r=dn({type:"MultiPoint",coordinates:[e,t,n]}),o=[-r[0],-r[1]],i=Q(o),a=xe(gn(yn(i(e)),yn(i(t)),yn(i(n)))).rotate(o),u=a.center;return delete a.rotate,a.center=function(e){return arguments.length?u(i(e)):i.invert(u())},a.clipAngle(90)}function Mn(e,t){var n=nt(1-Ue(t));return[2/Je*e*n,Je*(1-n)]}Mn.invert=function(e,t){var n=(n=t/Je-1)*n;return[n>0?e*nt(He/n)/2:0,et(1-n)]};var En=function(){return xe(Mn).scale(95.6464).center([0,30])};function Pn(e){var t=Ge(e);function n(e,n){return[e,(e?e/Ue(e):1)*(Ue(n)*Re(e)-t*Re(n))]}return n.invert=t?function(e,n){e&&(n*=Ue(e)/e);var r=Re(e);return[e,2*Ne(nt(r*r+t*t-n*n)-r,t-n)]}:function(e,t){return[e,et(e?t*Ge(e)/e:t)]},n}var On=function(){return kt(Pn).scale(249.828).clipAngle(90)},Sn=nt(3);function _n(e,t){return[Sn*e*(2*Re(2*t/3)-1)/Je,Sn*Je*Ue(t/3)]}_n.invert=function(e,t){var n=3*et(t/(Sn*Je));return[Je*e/(Sn*(2*Re(2*n/3)-1)),n]};var xn=function(){return xe(_n).scale(156.19)};function Cn(e){var t=Re(e);function n(e,n){return[e*t,Ue(n)/t]}return n.invert=function(e,n){return[e/t,et(n*t)]},n}var jn=function(){return kt(Cn).parallel(38.58).scale(195.044)};function kn(e){var t=Re(e);function n(e,n){return[e*t,(1+t)*Ge(n/2)]}return n.invert=function(e,n){return[e/t,2*ke(n/(1+t))]},n}var Nn=function(){return kt(kn).scale(124.75)};function Rn(e,t){var n=nt(8/(3*He));return[n*e*(1-je(t)/He),n*t]}Rn.invert=function(e,t){var n=nt(8/(3*He)),r=t/n;return[e/(n*(1-je(r)/He)),r]};var An=function(){return xe(Rn).scale(165.664)};function Tn(e,t){var n=nt(4-3*Ue(je(t)));return[2/nt(6*He)*e*n,ze(t)*nt(2*He/3)*(2-n)]}Tn.invert=function(e,t){var n=2-je(t)/nt(2*He/3);return[e*nt(6*He)/(2*n),ze(t)*et((4-n*n)/3)]};var Ln=function(){return xe(Tn).scale(165.664)};function Dn(e,t){var n=nt(He*(4+He));return[2/n*e*(1+nt(1-4*t*t/(He*He))),4/n*t]}Dn.invert=function(e,t){var n=nt(He*(4+He))/2;return[e*n/(1+nt(1-t*t*(4+He)/(4*He))),t*n/2]};var Fn=function(){return xe(Dn).scale(180.739)};function In(e,t){var n=(2+Ve)*Ue(t);t/=2;for(var r=0,o=1/0;r<10&&je(o)>qe;r++){var i=Re(t);t-=o=(t+Ue(t)*(i+2)-n)/(2*i*(1+i))}return[2/nt(He*(4+He))*e*(1+Re(t)),2*nt(He/(4+He))*Ue(t)]}In.invert=function(e,t){var n=t*nt((4+He)/He)/2,r=et(n),o=Re(r);return[e/(2/nt(He*(4+He))*(1+o)),et((r+n*(o+2))/(2+Ve))]};var Bn=function(){return xe(In).scale(180.739)};function zn(e,t){return[e*(1+Re(t))/nt(2+He),2*t/nt(2+He)]}zn.invert=function(e,t){var n=nt(2+He),r=t*n/2;return[n*e/(1+Re(r)),r]};var Un=function(){return xe(zn).scale(173.044)};function Gn(e,t){for(var n=(1+Ve)*Ue(t),r=0,o=1/0;r<10&&je(o)>qe;r++)t-=o=(t+Ue(t)-n)/(1+Re(t));return n=nt(2+He),[e*(1+Re(t))/n,2*t/n]}Gn.invert=function(e,t){var n=1+Ve,r=nt(n/2);return[2*e*r/(1+Re(t*=r)),et((t+Ue(t))/n)]};var qn=function(){return xe(Gn).scale(173.044)},Wn=3+2*Ke;function Hn(e,t){var n=Ue(e/=2),r=Re(e),o=nt(Re(t)),i=Re(t/=2),a=Ue(t)/(i+Ke*r*o),u=nt(2/(1+a*a)),s=nt((Ke*i+(r+n)*o)/(Ke*i+(r-n)*o));return[Wn*(u*(s-1/s)-2*Le(s)),Wn*(u*a*(s+1/s)-2*ke(a))]}Hn.invert=function(e,t){if(!(n=ft.invert(e/1.2,1.065*t)))return null;var n,r=n[0],o=n[1],i=20;e/=Wn,t/=Wn;do{var a=r/2,u=o/2,s=Ue(a),c=Re(a),l=Ue(u),f=Re(u),p=Re(o),d=nt(p),h=l/(f+Ke*c*d),v=h*h,m=nt(2/(1+v)),g=(Ke*f+(c+s)*d)/(Ke*f+(c-s)*d),y=nt(g),b=y-1/y,w=y+1/y,M=m*b-2*Le(y)-e,E=m*h*w-2*ke(h)-t,P=l&&Xe*d*s*v/l,O=(Ke*c*f+d)/(2*(f+Ke*c*d)*(f+Ke*c*d)*d),S=-.5*h*m*m*m,_=S*P,x=S*O,C=(C=2*f+Ke*d*(c-s))*C*y,j=(Ke*c*f*d+p)/C,k=-Ke*s*l/(d*C),N=b*_-2*j/y+m*(j+j/g),R=b*x-2*k/y+m*(k+k/g),A=h*w*_-2*P/(1+v)+m*w*P+m*h*(j-j/g),T=h*w*x-2*O/(1+v)+m*w*O+m*h*(k-k/g),L=R*A-T*N;if(!L)break;var D=(E*R-M*T)/L,F=(M*A-E*N)/L;r-=D,o=De(-Ve,Fe(Ve,o-F))}while((je(D)>qe||je(F)>qe)&&--i>0);return je(je(o)-Ve)r){var c=nt(s),l=Ne(u,a),f=n*Be(l/n),p=l-f,d=e*Re(p),h=(e*Ue(p)-p*Ue(d))/(Ve-d),v=ir(p,h),m=(He-e)/ar(v,d,He);a=c;var g,y=50;do{a-=g=(e+ar(v,d,a)*m-c)/(v(a)*m)}while(je(g)>qe&&--y>0);u=p*Ue(a),ar){var a=nt(i),u=Ne(o,t),s=n*Be(u/n),c=u-s;t=a*Re(c),o=a*Ue(c);for(var l=t-Ve,f=Ue(t),p=o/f,d=tqe||je(f)>qe)&&--h>0);return[p,d]},s},cr=sr(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),lr=function(){return xe(cr).scale(149.995)},fr=sr(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),pr=function(){return xe(fr).scale(153.93)},dr=sr(5/6*He,-.62636,-.0344,0,1.3493,-.05524,0,.045),hr=function(){return xe(dr).scale(130.945)};function vr(e,t){var n=e*e,r=t*t;return[e*(1-.162388*r)*(.87-952426e-9*n*n),t*(1+r/12)]}vr.invert=function(e,t){var n,r=e,o=t,i=50;do{var a=o*o;o-=n=(o*(1+a/12)-t)/(1+a/4)}while(je(n)>qe&&--i>0);i=50,e/=1-.162388*a;do{var u=(u=r*r)*u;r-=n=(r*(.87-952426e-9*u)-e)/(.87-.00476213*u)}while(je(n)>qe&&--i>0);return[r,o]};var mr=function(){return xe(vr).scale(131.747)},gr=sr(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),yr=function(){return xe(gr).scale(131.087)},br=function(e){var t=e(Ve,0)[0]-e(-Ve,0)[0];function n(n,r){var o=n>0?-.5:.5,i=e(n+o*He,r);return i[0]-=o*t,i}return e.invert&&(n.invert=function(n,r){var o=n>0?-.5:.5,i=e.invert(n+o*t,r),a=i[0]-o*He;return a<-He?a+=2*He:a>He&&(a-=2*He),i[0]=a,i}),n};function wr(e,t){var n=ze(e),r=ze(t),o=Re(t),i=Re(e)*o,a=Ue(e)*o,u=Ue(r*t);e=je(Ne(a,u)),t=et(i),je(e-Ve)>qe&&(e%=Ve);var s=function(e,t){if(t===Ve)return[0,0];var n,r,o=Ue(t),i=o*o,a=i*i,u=1+a,s=1+3*a,c=1-a,l=et(1/nt(u)),f=c+i*u*l,p=(1-o)/f,d=nt(p),h=p*u,v=nt(h),m=d*c;if(0===e)return[0,-(m+i*v)];var g,y=Re(t),b=1/y,w=2*o*y,M=(-f*y-(-3*i+l*s)*w*(1-o))/(f*f),E=-b*w,P=-b*(i*u*M+p*s*w),O=-2*b*(c*(.5*M/d)-2*i*d*w),S=4*e/He;if(e>.222*He||t.175*He){if(n=(m+i*nt(h*(1+a)-m*m))/(1+a),e>He/4)return[n,n];var _=n,x=.5*n;n=.5*(x+_),r=50;do{var C=nt(h-n*n),j=n*(O+E*C)+P*et(n/v)-S;if(!j)break;j<0?x=n:_=n,n=.5*(x+_)}while(je(_-x)>qe&&--r>0)}else{n=qe,r=25;do{var k=n*n,N=nt(h-k),R=O+E*N,A=n*R+P*et(n/v)-S,T=R+(P-E*k)/N;n-=g=N?A/T:0}while(je(g)>qe&&--r>0)}return[n,-m-i*nt(h-n*n)]}(e>He/4?Ve-e:e,t);return e>He/4&&(u=s[0],s[0]=-s[1],s[1]=-u),s[0]*=n,s[1]*=-r,s}wr.invert=function(e,t){var n=ze(e),r=ze(t),o=-n*e,i=-r*t,a=i/o<1,u=function(e,t){var n=0,r=1,o=.5,i=50;for(;;){var a=o*o,u=nt(o),s=et(1/nt(1+a)),c=1-a+o*(1+a)*s,l=(1-u)/c,f=nt(l),p=l*(1+a),d=f*(1-a),h=nt(p-e*e),v=t+d+o*h;if(je(r-n)0?n=o:r=o,o=.5*(n+r)}if(!i)return null;var m=et(u),g=Re(m),y=1/g,b=2*u*g,w=(-c*g-(-3*o+s*(1+3*a))*b*(1-u))/(c*c);return[He/4*(e*(-2*y*(.5*w/f*(1-a)-2*o*f*b)+-y*b*h)+-y*(o*(1+a)*w+l*(1+3*a)*b)*et(e/nt(p))),m]}(a?i:o,a?o:i),s=u[0],c=u[1],l=Re(c);return a&&(s=-Ve-s),[n*(Ne(Ue(s)*l,-Ue(c))+He),r*et(Re(s)*l)]};var Mr=function(){return xe(br(wr)).scale(239.75)};function Er(e,t){var n,r,o,i,a,u;if(t=1-qe)return n=(1-t)/4,o=1/(r=ot(e)),[(i=((u=Ae(2*(u=e)))-1)/(u+1))+n*((a=r*rt(e))-e)/(r*r),o-n*i*o*(a-e),o+n*i*o*(a+e),2*ke(Ae(e))-Ve+n*(a-e)/r];var s=[1,0,0,0,0,0,0,0,0],c=[nt(t),0,0,0,0,0,0,0,0],l=0;for(r=nt(1-t),a=1;je(c[l]/s[l])>qe&&l<8;)n=s[l++],c[l]=(n-r)/2,s[l]=(n+r)/2,r=nt(n*r),a*=2;o=a*s[l]*e;do{o=(et(i=c[l]*Ue(r=o)/s[l])+o)/2}while(--l);return[Ue(o),i=Re(o),i/Re(o-r),o]}function Pr(e,t){if(!t)return e;if(1===t)return Le(Ge(e/2+Ye));for(var n=1,r=nt(1-t),o=nt(t),i=0;je(o)>qe;i++){if(e%He){var a=ke(r*Ge(e)/n);a<0&&(a+=He),e+=a+~~(e/He)*He}else e+=e;o=(n+r)/2,r=nt(n*r),o=((n=o)-r)/2}return e/(Ie(2,i)*n)}function Or(e,t){var n=(Ke-1)/(Ke+1),r=nt(1-n*n),o=Pr(Ve,r*r),i=Le(Ge(He/4+je(t)/2)),a=Ae(-1*i)/nt(n),u=function(e,t){var n=e*e,r=t+1,o=1-n-t*t;return[.5*((e>=0?Ve:-Ve)-Ne(o,2*e)),-.25*Le(o*o+4*n)+.5*Le(r*r+n)]}(a*Re(-1*e),a*Ue(-1*e)),s=function(e,t,n){var r=je(e),o=rt(je(t));if(r){var i=1/Ue(r),a=1/(Ge(r)*Ge(r)),u=-(a+n*(o*o*i*i)-1+n),s=(-u+nt(u*u-4*((n-1)*a)))/2;return[Pr(ke(1/nt(s)),n)*ze(e),Pr(ke(nt((s/a-1)/n)),1-n)*ze(t)]}return[0,Pr(ke(o),1-n)*ze(t)]}(u[0],u[1],r*r);return[-s[1],(t>=0?1:-1)*(.5*o-s[0])]}Or.invert=function(e,t){var n=(Ke-1)/(Ke+1),r=nt(1-n*n),o=function(e,t,n){var r,o,i;return e?(r=Er(e,n),t?(i=(o=Er(t,1-n))[1]*o[1]+n*r[0]*r[0]*o[0]*o[0],[[r[0]*o[2]/i,r[1]*r[2]*o[0]*o[1]/i],[r[1]*o[1]/i,-r[0]*r[2]*o[0]*o[2]/i],[r[2]*o[1]*o[2]/i,-n*r[0]*r[1]*o[0]/i]]):[[r[0],0],[r[1],0],[r[2],0]]):[[0,(o=Er(t,1-n))[0]/o[1]],[1/o[1],0],[o[2]/o[1],0]]}(.5*Pr(Ve,r*r)-t,-e,r*r),i=function(e,t){var n=t[0]*t[0]+t[1]*t[1];return[(e[0]*t[0]+e[1]*t[1])/n,(e[1]*t[0]-e[0]*t[1])/n]}(o[0],o[1]);return[Ne(i[1],i[0])/-1,2*ke(Ae(-.5*Le(n*i[0]*i[0]+n*i[1]*i[1])))-Ve]};var Sr=function(){return xe(br(Or)).scale(151.496)},_r=gt((function(e){return y(2/(1+e))}));_r.invert=yt((function(e){return 2*w(e/2)}));function xr(e,t){if(arguments.length<2&&(t=e),1===t)return _r;if(t===1/0)return Cr;function n(n,r){var o=_r(n/t,r);return o[0]*=e,o}return n.invert=function(n,r){var o=_r.invert(n/e,r);return o[0]*=t,o},n}function Cr(e,t){return[e*Re(t)/Re(t/=2),2*Ue(t)]}Cr.invert=function(e,t){var n=2*et(t/2);return[e*Re(n/2)/Re(n),n]};var jr=function(){var e=2,t=Ce(xr),n=t(e);return n.coefficient=function(n){return arguments.length?t(e=+n):e},n.scale(169.529)};function kr(e){var t=Ue(e),n=Re(e),r=Nr(e);function o(e,o){var i=r(e,o);e=i[0],o=i[1];var a=Ue(o),u=Re(o),s=Re(e),c=tt(t*a+n*u*s),l=Ue(c),f=je(l)>qe?c/l:1;return[f*n*Ue(e),(je(e)>Ve?f:-f)*(t*u-n*a*s)]}return r.invert=Nr(-e),o.invert=function(e,n){var o=nt(e*e+n*n),i=-Ue(o),a=Re(o),u=o*a,s=-n*i,c=o*t,l=nt(u*u+s*s-c*c),f=Ne(u*c+s*l,s*c-u*l),p=(o>Ve?-1:1)*Ne(e*i,o*Re(f)*a+n*Ue(f)*i);return r.invert(p,f)},o}function Nr(e){var t=Ue(e),n=Re(e);return function(e,r){var o=Re(r),i=Re(e)*o,a=Ue(e)*o,u=Ue(r);return[Ne(a,i*n-u*t),et(u*n+i*t)]}}var Rr=function(){var e=0,t=Ce(kr),n=t(e),r=n.rotate,o=n.stream,i=function(){var e,t,n=W([0,0]),r=W(90),o=W(6),i={point:function(n,r){e.push(n=t(n,r)),n[0]*=l,n[1]*=l}};function a(){var a=n.apply(this,arguments),u=r.apply(this,arguments)*f,s=o.apply(this,arguments)*f;return e=[],t=Y(-a[0]*f,-a[1]*f,0).invert,Z(i,u,s,1),a={type:"Polygon",coordinates:[e]},e=t=null,a}return a.center=function(e){return arguments.length?(n="function"===typeof e?e:W([+e[0],+e[1]]),a):n},a.radius=function(e){return arguments.length?(r="function"===typeof e?e:W(+e),a):r},a.precision=function(e){return arguments.length?(o="function"===typeof e?e:W(+e),a):o},a}();return n.parallel=function(r){if(!arguments.length)return e*Ze;var o=n.rotate();return t(e=r*$e).rotate(o)},n.rotate=function(t){return arguments.length?(r.call(n,[t[0],t[1]-e*Ze]),i.center([-t[0],-t[1]]),n):((t=r.call(n))[1]+=e*Ze,t)},n.stream=function(e){return(e=o(e)).sphere=function(){e.polygonStart();var t,n=i.radius(89.99)().coordinates[0],r=n.length-1,o=-1;for(e.lineStart();++o=0;)e.point((t=n[o])[0],t[1]);e.lineEnd(),e.polygonEnd()},e},n.scale(79.4187).parallel(45).clipAngle(179.999)},Ar=41+48/36+37/3600,Tr=Cn(0);function Lr(e){var t=Ar*$e,n=Mn(He,t)[0]-Mn(-He,t)[0],r=Tr(0,t)[1],o=Mn(0,t)[1],i=Je-o,a=Qe/e,u=4/Qe,s=r+i*i*4/Qe;function c(c,l){var f,p=je(l);if(p>t){var d=Fe(e-1,De(0,Te((c+He)/a)));(f=Mn(c+=He*(e-1)/e-d*a,p))[0]=f[0]*Qe/n-Qe*(e-1)/(2*e)+d*Qe/e,f[1]=r+4*(f[1]-o)*i/Qe,l<0&&(f[1]=-f[1])}else f=Tr(c,l);return f[0]*=u,f[1]/=s,f}return c.invert=function(t,c){t/=u;var l=je(c*=s);if(l>r){var f=Fe(e-1,De(0,Te((t+He)/a)));t=(t+He*(e-1)/e-f*a)*n/Qe;var p=Mn.invert(t,.25*(l-r)*Qe/i+o);return p[0]-=He*(e-1)/e-f*a,c<0&&(p[1]=-p[1]),p}return Tr.invert(t,c)},c}var Dr=function(){var e=4,t=Ce(Lr),n=t(e),r=n.stream;return n.lobes=function(n){return arguments.length?t(e=+n):e},n.stream=function(t){var o=n.rotate(),i=r(t),a=(n.rotate([0,0]),r(t));return n.rotate(o),i.sphere=function(){var t;de((t=180/e,{type:"Polygon",coordinates:[Object(B.b)(-180,180+t/2,t).map((function(e,t){return[e,1&t?90-1e-6:Ar]})).concat(Object(B.b)(180,-180-t/2,-t).map((function(e,t){return[e,1&t?1e-6-90:-Ar]})))]}),a)},i},n.scale(239.75)};function Fr(e){var t,n=1+e,r=et(Ue(1/n)),o=2*nt(He/(t=He+4*r*n)),i=.5*o*(n+nt(e*(2+e))),a=e*e,u=n*n;function s(s,c){var l,f,p=1-Ue(c);if(p&&p<2){var d,h=Ve-c,v=25;do{var m=Ue(h),g=Re(h),y=r+Ne(m,n-g),b=1+u-2*n*g;h-=d=(h-a*r-n*m+b*y-.5*p*t)/(2*n*m*y)}while(je(d)>We&&--v>0);l=o*nt(b),f=s*y/He}else l=o*(e+p),f=s*r/He;return[l*Ue(f),i-l*Re(f)]}return s.invert=function(e,s){var c=e*e+(s-=i)*s,l=(1+u-c/(o*o))/(2*n),f=tt(l),p=Ue(f),d=r+Ne(p,n-l);return[et(e/nt(c))*He/d,et(1-2*(f-a*r-n*p+(1+u-2*n*l)*d)/t)]},s}var Ir=function(){var e=1,t=Ce(Fr),n=t(e);return n.ratio=function(n){return arguments.length?t(e=+n):e},n.scale(167.774).center([0,18.67])},Br=.7109889596207567,zr=.0528035274542;function Ur(e,t){return t>-Br?((e=Ot(e,t))[1]+=zr,e):Nt(e,t)}Ur.invert=function(e,t){return t>-Br?Ot.invert(e,t-zr):Nt.invert(e,t)};var Gr=function(){return xe(Ur).rotate([-20,-55]).scale(164.263).center([0,-5.4036])};function qr(e,t){return je(t)>Br?((e=Ot(e,t))[1]-=t>0?zr:-zr,e):Nt(e,t)}qr.invert=function(e,t){return je(t)>Br?Ot.invert(e,t+(t>0?zr:-zr)):Nt.invert(e,t)};var Wr=function(){return xe(qr).scale(152.63)};function Hr(e,t){return je(e[0]-t[0])=0;--u)n=(t=e[1][u])[0][0],r=t[0][1],o=t[1][1],i=t[2][0],a=t[2][1],s.push(Vr([[i-qe,a-qe],[i-qe,o+qe],[n+qe,o+qe],[n+qe,r-qe]],30));return{type:"Polygon",coordinates:[Object(B.a)(s)]}}(t),r=(t=t.map((function(e){return e.map((function(e){return[[e[0][0]*$e,e[0][1]*$e],[e[1][0]*$e,e[1][1]*$e],[e[2][0]*$e,e[2][1]*$e]]}))}))).map((function(t){return t.map((function(t){var n,r=e(t[0][0],t[0][1])[0],o=e(t[2][0],t[2][1])[0],i=e(t[1][0],t[0][1])[1],a=e(t[1][0],t[1][1])[1];return i>a&&(n=i,i=a,a=n),[[r,i],[o,a]]}))}));function o(n,r){for(var o=r<0?-1:1,i=t[+(r<0)],a=0,u=i.length-1;ai[a][2][0];++a);var s=e(n-i[a][1][0],r);return s[0]+=e(i[a][1][0],o*r>o*i[a][0][1]?i[a][0][1]:r)[0],s}e.invert&&(o.invert=function(n,i){for(var a=r[+(i<0)],u=t[+(i<0)],s=0,c=a.length;s2)return null;var o=(t/=2)*t,i=(n/=2)*n,a=2*n/(1+o+i);return a=Ie((1+a)/(1-a),1/e),[Ne(2*t,1-o-i)/e,et((a-1)/(a+1))]},t}var co=function(){var e=.5,t=Ce(so),n=t(e);return n.spacing=function(n){return arguments.length?t(e=+n):e},n.scale(124.75)},lo=He/Ke;function fo(e,t){return[e*(1+nt(Re(t)))/2,t/(Re(t/2)*Re(e/6))]}fo.invert=function(e,t){var n=je(e),r=je(t),o=qe,i=Ve;rqe||je(m)>qe)&&--o>0);return o&&[n,r]};var vo=function(){return xe(ho).scale(139.98)};function mo(e,t){return[Ue(e)/Re(t),Ge(t)*Re(e)]}mo.invert=function(e,t){var n=e*e,r=t*t,o=r+1,i=e?Xe*nt((o-nt(n*n+2*n*(r-1)+o*o))/n+1):1/nt(o);return[et(e*i),ze(t)*tt(i)]};var go=function(){return xe(mo).scale(144.049).clipAngle(89.999)};function yo(e){var t=Re(e),n=Ge(Ye+e/2);function r(r,o){var i=o-e,a=je(i)=0;)f=(l=e[c])[0]+u*(o=f)-s*p,p=l[1]+u*p+s*o;return[f=u*(o=f)-s*p,p=u*p+s*o]}return n.invert=function(n,r){var o=20,i=n,a=r;do{for(var u,s=t,c=e[s],l=c[0],f=c[1],p=0,d=0;--s>=0;)p=l+i*(u=p)-a*d,d=f+i*d+a*u,l=(c=e[s])[0]+i*(u=l)-a*f,f=c[1]+i*f+a*u;var h,v,m=(p=l+i*(u=p)-a*d)*p+(d=f+i*d+a*u)*d;i-=h=((l=i*(u=l)-a*f-n)*p+(f=i*f+a*u-r)*d)/m,a-=v=(f*p-l*d)/m}while(je(h)+je(v)>qe*qe&&--o>0);if(o){var g=nt(i*i+a*a),y=2*ke(.5*g),b=Ue(y);return[Ne(i*b,g*Re(y)),g?et(a*b/g):0]}},n}var Po=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Oo=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],So=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],_o=[[.9245,0],[0,0],[.01943,0]],xo=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Co(){return Ao(Po,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function jo(){return Ao(Oo,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function ko(){return Ao(So,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function No(){return Ao(_o,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Ro(){return Ao(xo,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ao(e,t){var n=xe(Eo(e)).rotate(t).clipAngle(90),r=Q(t),o=n.center;return delete n.rotate,n.center=function(e){return arguments.length?o(r(e)):r.invert(o())},n}var To=nt(6),Lo=nt(7);function Do(e,t){var n=et(7*Ue(t)/(3*To));return[To*e*(2*Re(2*n/3)-1)/Lo,9*Ue(n/3)/Lo]}Do.invert=function(e,t){var n=3*et(t*Lo/9);return[e*Lo/(To*(2*Re(2*n/3)-1)),et(3*Ue(n)*To/7)]};var Fo=function(){return xe(Do).scale(164.859)};function Io(e,t){for(var n,r=(1+Xe)*Ue(t),o=t,i=0;i<25&&(o-=n=(Ue(o/2)+Ue(o)-r)/(.5*Re(o/2)+Re(o)),!(je(n)qe&&--o>0);return[e/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]};var qo=function(){return xe(Go).scale(175.295)};function Wo(e,t){return[e*(1+Re(t))/2,2*(t-Ge(t/2))]}Wo.invert=function(e,t){for(var n=t/2,r=0,o=1/0;r<10&&je(o)>qe;++r){var i=Re(t/2);t-=o=(t-Ge(t/2)-n)/(1-.5/(i*i))}return[2*e/(1+Re(t)),t]};var Ho=function(){return xe(Wo).scale(152.63)},Vo=1.0148,Yo=.23185,Xo=-.14499,Ko=.02406,Jo=Vo,Qo=5*Yo,Zo=7*Xo,$o=9*Ko;function ei(e,t){var n=t*t;return[e,t*(Vo+n*n*(Yo+n*(Xo+Ko*n)))]}ei.invert=function(e,t){t>1.790857183?t=1.790857183:t<-1.790857183&&(t=-1.790857183);var n,r=t;do{var o=r*r;r-=n=(r*(Vo+o*o*(Yo+o*(Xo+Ko*o)))-t)/(Jo+o*o*(Qo+o*(Zo+$o*o)))}while(je(n)>qe);return[e,r]};var ti=function(){return xe(ei).scale(139.319)};function ni(e,t){if(je(t)qe&&--i>0);return a=Ge(o),[(je(t)=0?1:-1,o=r*n,i=v(t=(t*=f)/2+s),a=m(t),u=ui*a,c=ai*i+u*v(o),l=u*r*m(o);ci.add(h(l,c)),ii=e,ai=i,ui=a}var mi,gi,yi,bi,wi,Mi,Ei,Pi,Oi,Si,_i=_(),xi={point:Ci,lineStart:ki,lineEnd:Ni,polygonStart:function(){xi.point=Ri,xi.lineStart=Ai,xi.lineEnd=Ti,_i.reset(),fi.polygonStart()},polygonEnd:function(){fi.polygonEnd(),xi.point=Ci,xi.lineStart=ki,xi.lineEnd=Ni,ci<0?(mi=-(yi=180),gi=-(bi=90)):_i>i?bi=90:_i<-i&&(gi=-90),Si[0]=mi,Si[1]=yi},sphere:function(){mi=-(yi=180),gi=-(bi=90)}};function Ci(e,t){Oi.push(Si=[mi=e,yi=e]),tbi&&(bi=t)}function ji(e,t){var n=N([e*f,t*f]);if(Pi){var r=A(Pi,n),o=A([r[1],-r[0],0],r);D(o),o=k(o);var i,a=e-wi,u=a>0?1:-1,s=o[0]*l*u,c=p(a)>180;c^(u*wibi&&(bi=i):c^(u*wi<(s=(s+360)%360-180)&&sbi&&(bi=t)),c?eLi(mi,yi)&&(yi=e):Li(e,yi)>Li(mi,yi)&&(mi=e):yi>=mi?(eyi&&(yi=e)):e>wi?Li(mi,e)>Li(mi,yi)&&(yi=e):Li(e,yi)>Li(mi,yi)&&(mi=e)}else Oi.push(Si=[mi=e,yi=e]);tbi&&(bi=t),Pi=n,wi=e}function ki(){xi.point=ji}function Ni(){Si[0]=mi,Si[1]=yi,xi.point=Ci,Pi=null}function Ri(e,t){if(Pi){var n=e-wi;_i.add(p(n)>180?n+(n>0?360:-360):n)}else Mi=e,Ei=t;fi.point(e,t),ji(e,t)}function Ai(){fi.lineStart()}function Ti(){Ri(Mi,Ei),fi.lineEnd(),p(_i)>i&&(mi=-(yi=180)),Si[0]=mi,Si[1]=yi,Pi=null}function Li(e,t){return(t-=e)<0?t+360:t}function Di(e,t){return e[0]-t[0]}function Fi(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tLi(r[0],r[1])&&(r[1]=o[1]),Li(o[0],r[1])>Li(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,t=0,r=i[n=i.length-1];t<=n;r=o,++t)o=i[t],(u=Li(r[1],o[0]))>a&&(a=u,mi=o[0],yi=r[1])}return Oi=Si=null,mi===1/0||gi===1/0?[[NaN,NaN],[NaN,NaN]]:[[mi,gi],[yi,bi]]},Bi=function(e,t){var n=e[0]*f,r=e[1]*f,o=t[0]*f,i=t[1]*f,a=v(r),u=m(r),s=v(i),c=m(i),p=a*v(n),d=a*m(n),g=s*v(o),b=s*m(o),E=2*w(y(M(i-r)+a*s*M(o-n))),P=m(E),O=E?function(e){var t=m(e*=E)/P,n=m(E-e)/P,r=n*p+t*g,o=n*d+t*b,i=n*u+t*c;return[h(o,r)*l,h(i,y(r*r+o*o))*l]}:function(){return[n*l,r*l]};return O.distance=E,O},zi=function(e,t){var n=Gi(e[1],e[0]),r=Gi(t[1],t[0]),o=function(e,t){return Ne(e[0]*t[1]-e[1]*t[0],e[0]*t[0]+e[1]*t[1])}(n,r),i=qi(n)/qi(r);return Ui([1,0,e[0][0],0,1,e[0][1]],Ui([i,0,0,0,i,0],Ui([Re(o),Ue(o),0,-Ue(o),Re(o),0],[1,0,-t[0][0],0,1,-t[0][1]])))};function Ui(e,t){return[e[0]*t[0]+e[1]*t[3],e[0]*t[1]+e[1]*t[4],e[0]*t[2]+e[1]*t[5]+e[2],e[3]*t[0]+e[4]*t[3],e[3]*t[1]+e[4]*t[4],e[3]*t[2]+e[4]*t[5]+e[5]]}function Gi(e,t){return[e[0]-t[0],e[1]-t[1]]}function qi(e){return nt(e[0]*e[0]+e[1]*e[1])}var Wi=function(e,t,n){function r(e,n){var r,o=t(e,n),i=o.project([e*Ze,n*Ze]);return(r=o.transform)?[r[0]*i[0]+r[1]*i[1]+r[2],-(r[3]*i[0]+r[4]*i[1]+r[5])]:(i[1]=-i[1],i)}(function e(t,n){if(t.edges=function(e){for(var t=e.length,n=[],r=e[t-1],o=0;o=0;)if(r=t[u],n[0]===r[0]&&n[1]===r[1]){if(i)return[i,n];i=n}}}(t.face,n.face),o=zi(r.map(n.project),r.map(t.project));t.transform=n.transform?Ui(n.transform,o):o;for(var i=n.edges,a=0,u=i.length;a0?[-t[0],0]:[180-t[0],180])};var t=Ji.map((function(t){return{face:t,project:e(t)}}));return[-1,0,0,1,0,1,4,5].forEach((function(e,n){var r=t[e];r&&(r.children||(r.children=[])).push(t[n])})),Wi(t[0],(function(e,n){return t[e<-He/2?n<0?6:4:e<0?n<0?2:0:er^d>r&&n<(p-c)*(r-l)/(d-l)+c&&(o=!o)}return o}(e[0],n))return e.push(t),!0}))||e.push([t])})),fa=[],e.length?e.length>1?{type:"MultiPolygon",coordinates:e}:{type:"Polygon",coordinates:e[0]}:null}},va=function(e){var t=e(Ve,0)[0]-e(-Ve,0)[0];function n(n,r){var o=je(n)0?n-He:n+He,r),a=(i[0]-i[1])*Xe,u=(i[0]+i[1])*Xe;if(o)return[a,u];var s=t*Xe,c=a>0^u>0?-1:1;return[c*a-ze(u)*s,c*u-ze(a)*s]}return e.invert&&(n.invert=function(n,r){var o=(n+r)*Xe,i=(r-n)*Xe,a=je(o)<.5*t&&je(i)<.5*t;if(!a){var u=t*Xe,s=o>0^i>0?-1:1,c=-s*(n+(i>0?1:-1)*u),l=-s*(r+(o>0?1:-1)*u);o=(-c-l)*Xe,i=(c-l)*Xe}var f=e.invert(o,i);return a||(f[0]+=o>0?He:-He),f}),xe(n).rotate([-90,-90,45]).clipAngle(179.999)},ma=function(){return va(wr).scale(176.423)},ga=function(){return va(Or).scale(111.48)},ya=function(e,t){if(!(0<=(t=+t)&&t<=20))throw new Error("invalid digits");function n(e){e[0]=+e[0].toFixed(t),e[1]=+e[1].toFixed(t)}function r(e){e.forEach(n)}function o(e){e.forEach(r)}function i(e){if(e)switch(e.type){case"GeometryCollection":e.geometries.forEach(i);break;case"Point":n(e.coordinates);break;case"MultiPoint":case"LineString":r(e.coordinates);break;case"MultiLineString":case"Polygon":o(e.coordinates);break;case"MultiPolygon":e.coordinates.forEach(o);break;default:return}}function a(e){i(e.geometry)}if(e)switch(e.type){case"Feature":a(e);break;case"FeatureCollection":e.features.forEach(a);break;default:i(e)}return e};function ba(e){var t=Ue(e);function n(n,r){var o=t?Ge(n*t/2)/t:n/2;if(!r)return[2*o,-e];var i=2*ke(o*Ue(r)),a=1/Ge(r);return[Ue(i)*a,r+(1-Re(i))*a-e]}return n.invert=function(n,r){if(je(r+=e)qe&&--u>0);var f=n*(s=Ge(a)),p=Ge(je(r)0?Ve:-Ve)*(c+i*(f-u)/2+i*i*(f-2*c+u)/2)]}Ma.forEach((function(e){e[1]*=1.0144})),Ea.invert=function(e,t){var n=t/Ve,r=90*n,o=Fe(18,je(r/5)),i=De(0,Te(o));do{var a=Ma[i][1],u=Ma[i+1][1],s=Ma[Fe(19,i+2)][1],c=s-a,l=s-2*u+a,f=2*(je(n)-u)/c,p=l/c,d=f*(1-p*f*(1-2*p*f));if(d>=0||1===i){r=(t>=0?5:-5)*(d+o);var h,v=50;do{d=(o=Fe(18,je(r)/5))-(i=Te(o)),a=Ma[i][1],u=Ma[i+1][1],s=Ma[Fe(19,i+2)][1],r-=(h=(t>=0?Ve:-Ve)*(u+d*(s-a)/2+d*d*(s-2*u+a)/2)-t)*Ze}while(je(h)>We&&--v>0);break}}while(--i>=0);var m=Ma[i][0],g=Ma[i+1][0],y=Ma[Fe(19,i+2)][0];return[e/(g+d*(y-m)/2+d*d*(y-2*g+m)/2),r*$e]};var Pa=function(){return xe(Ea).scale(152.63)};function Oa(e,t){var n=function(e){function t(t,n){var r=Re(n),o=(e-1)/(e-r*Re(t));return[o*r*Ue(t),o*Ue(n)]}return t.invert=function(t,n){var r=t*t+n*n,o=nt(r),i=(e-nt(1-r*(e+1)/(e-1)))/((e-1)/o+o/(e-1));return[Ne(t*i,o*nt(1-i*i)),o?et(n*i/o):0]},t}(e);if(!t)return n;var r=Re(t),o=Ue(t);function i(t,i){var a=n(t,i),u=a[1],s=u*o/(e-1)+r;return[a[0]*r/s,u/s]}return i.invert=function(t,i){var a=(e-1)/(e-1-i*o);return n.invert(a*t,a*i*r)},i}var Sa=function(){var e=2,t=0,n=Ce(Oa),r=n(e,t);return r.distance=function(r){return arguments.length?n(e=+r,t):e},r.tilt=function(r){return arguments.length?n(e,t=r*$e):t*Ze},r.scale(432.147).clipAngle(tt(1/e)*Ze-1e-6)},_a=1e4,xa=-180,Ca=xa+1e-4,ja=180,ka=ja-1e-4,Na=-90,Ra=Na+1e-4,Aa=90,Ta=Aa-1e-4;function La(e){return e===Na||e===Aa?[0,e]:[xa,(t=e,Math.floor(t*_a)/_a)];var t}function Da(e){e[0]<=Ca?e[0]=xa:e[0]>=ka&&(e[0]=ja),e[1]<=Ra?e[1]=Na:e[1]>=Ta&&(e[1]=Aa)}function Fa(e){e.forEach(Da)}function Ia(e,t){for(var n=0,r=e.length;n=ka||c<=Ra||c>=Ta){Da(u);for(var l=i+1;lCa&&pRa&&d=a)break;t.push(o=o.slice(l-1)),o[0]=La(o[0][1]),o.polygon=e,i=-1,a=o.length}}}e.length=0}function Ba(e){za(e.geometry)}function za(e){if(e){var t,n,r;switch(e.type){case"GeometryCollection":return void e.geometries.forEach(za);case"Point":Da(e.coordinates);break;case"MultiPoint":case"LineString":Fa(e.coordinates);break;case"MultiLineString":e.coordinates.forEach(Fa);break;case"Polygon":Ia(e.coordinates,t=[]);break;case"MultiPolygon":for(t=[],n=-1,r=e.coordinates.length;++n0?He-u:u)*Ze],c=xe(e(a)).rotate(s),l=Q(s),f=c.center;return delete c.rotate,c.center=function(e){return arguments.length?f(l(e)):l.invert(f())},c.clipAngle(90)};function Ha(e){var t=Re(e);function n(e,n){var r=Yi(e,n);return r[0]*=t,r}return n.invert=function(e,n){return Yi.invert(e/t,n)},n}function Va(){return Ya([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Ya(e,t){return Wa(Ha,e,t)}function Xa(e){if(!(e*=2))return bt;var t=-e/2,n=-t,r=e*e,o=Ge(n),i=.5/Ue(n);function a(o,i){var a=tt(Re(i)*Re(o-t)),u=tt(Re(i)*Re(o-n));return[((a*=a)-(u*=u))/(2*e),(i<0?-1:1)*nt(4*r*u-(r-a+u)*(r-a+u))/(2*e)]}return a.invert=function(e,r){var a,u,s=r*r,c=Re(nt(s+(a=e+t)*a)),l=Re(nt(s+(a=e+n)*a));return[Ne(u=c-l,a=(c+l)*o),(r<0?-1:1)*tt(nt(a*a+u*u)*i)]},a}function Ka(){return Ja([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Ja(e,t){return Wa(Xa,e,t)}function Qa(e,t){if(je(t)qe&&--u>0);return[ze(e)*(nt(o*o+4)+o)*He/4,Ve*a]};var ou=function(){return xe(ru).scale(127.16)},iu=4*He+3*nt(3),au=2*nt(2*He*nt(3)/iu),uu=Pt(au*nt(3)/He,au,iu/6),su=function(){return xe(uu).scale(176.84)};function cu(e,t){return[e*nt(1-3*t*t/(He*He)),t]}cu.invert=function(e,t){return[e/nt(1-3*t*t/(He*He)),t]};var lu=function(){return xe(cu).scale(152.63)};function fu(e,t){var n=.90631*Ue(t),r=nt(1-n*n),o=nt(2/(1+r*Re(e/=3)));return[2.66723*r*o*Ue(e),1.24104*n*o]}fu.invert=function(e,t){var n=e/2.66723,r=t/1.24104,o=nt(n*n+r*r),i=2*et(o/2);return[3*Ne(e*Ge(i),2.66723*o),o&&et(t*Ue(i)/(1.24104*.90631*o))]};var pu=function(){return xe(fu).scale(172.632)};function du(e,t){var n=Re(t),r=Re(e)*n,o=1-r,i=Re(e=Ne(Ue(e)*n,-Ue(t))),a=Ue(e);return[a*(n=nt(1-r*r))-i*o,-i*n-a*o]}du.invert=function(e,t){var n=(e*e+t*t)/-2,r=nt(-n*(2+n)),o=t*n+e*r,i=e*n-t*r,a=nt(i*i+o*o);return[Ne(r*o,a*(1+n)),a?-et(r*i/a):0]};var hu=function(){return xe(du).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)};function vu(e,t){var n=ut(e,t);return[(n[0]+e/Ve)/2,(n[1]+t)/2]}vu.invert=function(e,t){var n=e,r=t,o=25;do{var i,a=Re(r),u=Ue(r),s=Ue(2*r),c=u*u,l=a*a,f=Ue(n),p=Re(n/2),d=Ue(n/2),h=d*d,v=1-l*p*p,m=v?tt(a*p)*nt(i=1/v):i=0,g=.5*(2*m*a*d+n/Ve)-e,y=.5*(m*u+r)-t,b=.5*i*(l*h+m*a*p*c)+.5/Ve,w=i*(f*s/4-m*u*d),M=.125*i*(s*d-m*u*l*f),E=.5*i*(c*p+m*h*a)+.5,P=w*M-E*b,O=(y*w-g*E)/P,S=(g*M-y*b)/P;n-=O,r-=S}while((je(O)>qe||je(S)>qe)&&--o>0);return[n,r]};var mu=function(){return xe(vu).scale(158.837)}},o0o1:function(e,t,n){e.exports=n("ls82")},"oG+/":function(e,t,n){},qFS3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t=200&&n.status<400){var e=JSON.parse(n.responseText);t.setState({geographyPaths:t.parseGeographies(e)},(function(){t.props.onGeographyPathsLoaded&&t.props.onGeographyPathsLoaded(String(n.status))}))}else t.props.onGeographyPathsLoaded&&t.props.onGeographyPathsLoaded(String(n.status))},n.onerror=function(){console.log("There was a connection error...")},n.send(),this.cancelPendingRequest(),this._xhr=n}},{key:"cancelPendingRequest",value:function(){this._xhr&&(this._xhr.abort(),this._xhr=null)}}]),t}(i.Component);s.defaultProps={componentIdentifier:"Geographies",disableOptimization:!1,geography:""},t.default=s},rlHP:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},rq1c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;nM||(0,u.geoLength)(w)>M),P=n(r.coordinates.start),O=n(r.coordinates.end),S=p?p(P,O,r):"M "+P.join(" ")+" L "+O.join(" ");return a.default.createElement("path",{className:"rsm-line"+(v?" rsm-line--pressed":"")+(m?" rsm-line--hover":"")+" "+t,transform:""+g,style:o[E?"hidden":v||m?v?"pressed":"hover":"default"],onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.handleMouseClick,onMouseMove:this.handleMouseMove,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:i?0:-1,d:S,strokeWidth:d})}}]),t}(i.Component);s.defaultProps={style:{default:{},hover:{},pressed:{}},line:{coordinates:{start:[0,0],end:[-99.1,19.4]}},tabable:!0,preserveMarkerAspect:!0,strokeWidth:1,className:""},t.default=s},sDYk:function(e,t){e.exports=function(e,t){if(!e)throw new Error("No coordinates passed");return{type:"Feature",geometry:{type:"LineString",coordinates:e},properties:t||{}}}},sEfC:function(e,t,n){var r=n("GoyQ"),o=n("QIyF"),i=n("tLB3"),a="Expected a function",u=Math.max,s=Math.min;e.exports=function(e,t,n){var c,l,f,p,d,h,v=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError(a);function b(t){var n=c,r=l;return c=l=void 0,v=t,p=e.apply(r,n)}function w(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-v>=f}function M(){var e=o();if(w(e))return E(e);d=setTimeout(M,function(e){var n=t-(e-h);return g?s(n,f-(e-v)):n}(e))}function E(e){return d=void 0,y&&c?b(e):(c=l=void 0,p)}function P(){var e=o(),n=w(e);if(c=arguments,l=this,h=e,n){if(void 0===d)return function(e){return v=e,d=setTimeout(M,t),m?b(e):p}(h);if(g)return clearTimeout(d),d=setTimeout(M,t),b(h)}return void 0===d&&(d=setTimeout(M,t)),p}return t=i(t)||0,r(n)&&(m=!!n.leading,f=(g="maxWait"in n)?u(i(n.maxWait)||0,t):f,y="trailing"in n?!!n.trailing:y),P.cancel=function(){void 0!==d&&clearTimeout(d),v=0,c=h=l=d=void 0},P.flush=function(){return void 0===d?p:E(o())},P}},sMTQ:function(e,t,n){},tLB3:function(e,t,n){var r=n("GoyQ"),o=n("/9aa"),i=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):u.test(e)?i:+e}},tQ2B:function(e,t,n){"use strict";var r=n("xTJ+"),o=n("Rn+g"),i=n("MLWZ"),a=n("g7np"),u=n("w0Vi"),s=n("OTTw"),c=n("LYNF");e.exports=function(e){return new Promise((function(t,l){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password||"";p.Authorization="Basic "+btoa(h+":"+v)}var m=a(e.baseURL,e.url);if(d.open(e.method.toUpperCase(),i(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,d.onreadystatechange=function(){if(d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:e,request:d};o(t,l,r),d=null}},d.onabort=function(){d&&(l(c("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){l(c("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(t,e,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n("eqyj"),y=(e.withCredentials||s(m))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(p[e.xsrfHeaderName]=y)}if("setRequestHeader"in d&&r.forEach(p,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),e.responseType)try{d.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),l(e),d=null)})),void 0===f&&(f=null),d.send(f)}))}},uxza:function(e,t,n){},vBe5:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return a}));var r=function(e,t){return et?1:e>=t?0:NaN};var o=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return r(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}(r);o.right,o.left;var i=Array.prototype,a=(i.slice,i.map,function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r=0;)for(t=(r=e[o]).length;--t>=0;)n[--a]=r[t];return n}},vDqi:function(e,t,n){e.exports=n("zuR4")},w0Vi:function(e,t,n){"use strict";var r=n("xTJ+"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},w61o:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("4Vnt");Object.defineProperty(t,"ComposableMap",{enumerable:!0,get:function(){return m(r).default}});var o=n("aqGn");Object.defineProperty(t,"ZoomableGroup",{enumerable:!0,get:function(){return m(o).default}});var i=n("5KXR");Object.defineProperty(t,"ZoomableGlobe",{enumerable:!0,get:function(){return m(i).default}});var a=n("rS6m");Object.defineProperty(t,"Geographies",{enumerable:!0,get:function(){return m(a).default}});var u=n("hkTX");Object.defineProperty(t,"Geography",{enumerable:!0,get:function(){return m(u).default}});var s=n("cuJV");Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return m(s).default}});var c=n("egBM");Object.defineProperty(t,"Markers",{enumerable:!0,get:function(){return m(c).default}});var l=n("rq1c");Object.defineProperty(t,"Line",{enumerable:!0,get:function(){return m(l).default}});var f=n("+1In");Object.defineProperty(t,"Lines",{enumerable:!0,get:function(){return m(f).default}});var p=n("whuV");Object.defineProperty(t,"MapGroup",{enumerable:!0,get:function(){return m(p).default}});var d=n("M8NJ");Object.defineProperty(t,"Annotation",{enumerable:!0,get:function(){return m(d).default}});var h=n("li9F");Object.defineProperty(t,"Annotations",{enumerable:!0,get:function(){return m(h).default}});var v=n("bIsL");function m(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Graticule",{enumerable:!0,get:function(){return m(v).default}})},wTXl:function(e,t,n){},whuV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=function(){function e(e,t){for(var n=0;n-1}},"+K+b":function(t,e,n){var r=n("JHRd");t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},"+XsK":function(t,e,n){var r=n("1e5o"),o=(n("kGJw"),r()),i=o.findAndGetUrls.bind(o);o.findAndGetUrls=function(t,e){var n=t,r=i(n,e);return r},o.add("home","/","index"),o.add("explore","/explore","explore");var u=o;u.Link=o.Link,u.Router=o.Router,t.exports=u},"+iFO":function(t,e,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},"/9aa":function(t,e,n){var r=n("NykK"),o=n("ExA7"),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&r(t)==i}},"/MKj":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return F}));var r=n("q1tI"),o=n.n(r),i=(n("17x9"),o.a.createContext(null));var u=function(t){t()},a=function(){return u},c={notify:function(){}};var f=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=c,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var t=a(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=c)},t}();var s=function(t){var e=t.store,n=t.context,u=t.children,a=Object(r.useMemo)((function(){var t=new f(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),c=Object(r.useMemo)((function(){return e.getState()}),[e]);Object(r.useEffect)((function(){var t=a.subscription;return t.trySubscribe(),c!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[a,c]);var s=n||i;return o.a.createElement(s.Provider,{value:a},u)};function l(){return(l=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}var d=n("2mql"),v=n.n(d),y=n("TOwV"),h="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,b=[],g=[null,null];function m(t,e){var n=t[1];return[e.payload,n+1]}function O(t,e,n){h((function(){return t.apply(void 0,e)}),n)}function j(t,e,n,r,o,i,u){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,u())}function w(t,e,n,r,o,i,u,a,c,f){if(t){var s=!1,l=null,p=function(){if(!s){var t,n,p=e.getState();try{t=r(p,o.current)}catch(d){n=d,l=d}n||(l=null),t===i.current?u.current||c():(i.current=t,a.current=t,u.current=!0,f({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(s=!0,n.tryUnsubscribe(),n.onStateChange=null,l)throw l}}}var x=function(){return[null,0]};function S(t,e){void 0===e&&(e={});var n=e,u=n.getDisplayName,a=void 0===u?function(t){return"ConnectAdvanced("+t+")"}:u,c=n.methodName,s=void 0===c?"connectAdvanced":c,d=n.renderCountProp,h=void 0===d?void 0:d,S=n.shouldHandleStateChanges,E=void 0===S||S,P=n.storeKey,A=void 0===P?"store":P,C=(n.withRef,n.forwardRef),M=void 0!==C&&C,N=n.context,_=void 0===N?i:N,R=p(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),k=_;return function(e){var n=e.displayName||e.name||"Component",i=a(n),u=l({},R,{getDisplayName:a,methodName:s,renderCountProp:h,shouldHandleStateChanges:E,storeKey:A,displayName:i,wrappedComponentName:n,WrappedComponent:e}),c=R.pure;var d=c?r.useMemo:function(t){return t()};function S(n){var i=Object(r.useMemo)((function(){var t=n.forwardedRef,e=p(n,["forwardedRef"]);return[n.context,t,e]}),[n]),a=i[0],c=i[1],s=i[2],v=Object(r.useMemo)((function(){return a&&a.Consumer&&Object(y.isContextConsumer)(o.a.createElement(a.Consumer,null))?a:k}),[a,k]),h=Object(r.useContext)(v),S=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(h)&&Boolean(h.store);var P=S?n.store:h.store,A=Object(r.useMemo)((function(){return function(e){return t(e.dispatch,u)}(P)}),[P]),C=Object(r.useMemo)((function(){if(!E)return g;var t=new f(P,S?null:h.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[P,S,h]),M=C[0],N=C[1],_=Object(r.useMemo)((function(){return S?h:l({},h,{subscription:M})}),[S,h,M]),R=Object(r.useReducer)(m,b,x),T=R[0][0],I=R[1];if(T&&T.error)throw T.error;var D=Object(r.useRef)(),L=Object(r.useRef)(s),U=Object(r.useRef)(),z=Object(r.useRef)(!1),G=d((function(){return U.current&&s===L.current?U.current:A(P.getState(),s)}),[P,T,s]);O(j,[L,D,z,s,G,U,N]),O(w,[E,P,M,A,L,D,z,U,N,I],[P,M,A]);var F=Object(r.useMemo)((function(){return o.a.createElement(e,l({},G,{ref:c}))}),[c,e,G]);return Object(r.useMemo)((function(){return E?o.a.createElement(v.Provider,{value:_},F):F}),[v,F,_])}var P=c?o.a.memo(S):S;if(P.WrappedComponent=e,P.displayName=i,M){var C=o.a.forwardRef((function(t,e){return o.a.createElement(P,l({},t,{forwardedRef:e}))}));return C.displayName=i,C.WrappedComponent=e,v()(C,e)}return v()(P,e)}}function E(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function P(t,e){if(E(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function z(t,e){return t===e}function G(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?S:n,o=e.mapStateToPropsFactories,i=void 0===o?R:o,u=e.mapDispatchToPropsFactories,a=void 0===u?_:u,c=e.mergePropsFactories,f=void 0===c?T:c,s=e.selectorFactory,d=void 0===s?L:s;return function(t,e,n,o){void 0===o&&(o={});var u=o,c=u.pure,s=void 0===c||c,v=u.areStatesEqual,y=void 0===v?z:v,h=u.areOwnPropsEqual,b=void 0===h?P:h,g=u.areStatePropsEqual,m=void 0===g?P:g,O=u.areMergedPropsEqual,j=void 0===O?P:O,w=p(u,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=U(t,i,"mapStateToProps"),S=U(e,a,"mapDispatchToProps"),E=U(n,f,"mergeProps");return r(d,l({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:x,initMapDispatchToProps:S,initMergeProps:E,pure:s,areStatesEqual:y,areOwnPropsEqual:b,areStatePropsEqual:m,areMergedPropsEqual:j},w))}}var F=G();var B,K=n("i8i4");B=K.unstable_batchedUpdates,u=B},"03A+":function(t,e,n){var r=n("JTzB"),o=n("ExA7"),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},"0Cz8":function(t,e,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc"),u=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length-1&&(g=l[S],l=l.slice(0,S))}l&&(u.push(l),l="",v=!1);var E=""!==g&&void 0!==m&&m!==g,P="+"===x||"*"===x,A="?"===x||"*"===x,C=g||p,M=j||w;u.push({name:O||f++,prefix:g,delimiter:C,optional:A,repeat:P,partial:E,pattern:M?c(M):"[^"+a(C)+"]+?"})}}return(l||s-1;else{var b=h.repeat?"(?:"+h.pattern+")(?:"+a(h.delimiter)+"(?:"+h.pattern+"))*":h.pattern;e&&e.push(h),h.optional?h.partial?d+=a(h.prefix)+"("+b+")?":d+="(?:"+a(h.prefix)+"("+b+"))?":d+=a(h.prefix)+"("+b+")"}}return c?(i||(d+="(?:"+s+")?"),d+="$"===p?"$":"(?="+p+")"):(i||(d+="(?:"+s+"(?="+p+"))?"),v||(d+="(?="+s+"|"+p+")")),new RegExp(d,f(o))}function l(t,e,n){return t instanceof RegExp?function(t,e){if(!e)return t;var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},n=e.Link,r=void 0===n?u.default:n,o=e.Router,i=void 0===o?a.default:o;l(this,t),this.routes=[],this.Link=this.getLink(r),this.Router=this.getRouter(i)}return d(t,[{key:"add",value:function(t,e,n){var r;if(t instanceof Object?t=(r=t).name:("/"===t[0]&&(n=e,e=t,t=null),r={name:t,pattern:e,page:n}),this.findByName(t))throw new Error('Route "'.concat(t,'" already exists'));return this.routes.push(new y(r)),this}},{key:"findByName",value:function(t){if(t)return this.routes.filter((function(e){return e.name===t}))[0]}},{key:"match",value:function(t){var e=(0,i.parse)(t,!0),n=e.pathname,r=e.query;return this.routes.reduce((function(t,e){if(t.route)return t;var o=e.match(n);return o?f({},t,{route:e,params:o,query:f({},r,o)}):t}),{query:r,parsedUrl:e})}},{key:"findAndGetUrls",value:function(t,e){var n=this.findByName(t);if(n)return{route:n,urls:n.getUrls(e),byName:!0};var r=this.match(t),o=r.route,i=r.query,u=o?o.getHref(i):t;return{route:o,urls:{href:u,as:t}}}},{key:"getRequestHandler",value:function(t,e){var n=this,r=t.getRequestHandler();return function(o,i){var u=n.match(o.url),a=u.route,c=u.query,f=u.parsedUrl;a?e?e({req:o,res:i,route:a,query:c}):t.render(o,i,a.page,c):r(o,i,f)}}},{key:"getLink",value:function(t){var e=this;return function(n){var r=n.route,i=n.params,u=n.to,a=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,["route","params","to"]),c=r||u;return c&&Object.assign(a,e.findAndGetUrls(c,i).urls),o.default.createElement(t,a)}}},{key:"getRouter",value:function(t){var e=this,n=function(n){return function(r,o,i){var u=e.findAndGetUrls(r,o),a=u.byName,c=u.urls,f=c.as,s=c.href;return t[n](s,f,a?i:o)}};return t.pushRoute=n("push"),t.replaceRoute=n("replace"),t.prefetchRoute=n("prefetch"),t}}]),t}(),y=function(){function t(e){var n=e.name,o=e.pattern,i=e.page,u=void 0===i?n:i;if(l(this,t),!n&&!u)throw new Error('Missing page to render for route "'.concat(o,'"'));this.name=n,this.pattern=o||"/".concat(n),this.page=u.replace(/(^|\/)index$/,"").replace(/^\/?/,"/"),this.regex=(0,r.default)(this.pattern,this.keys=[]),this.keyNames=this.keys.map((function(t){return t.name})),this.toPath=r.default.compile(this.pattern)}return d(t,[{key:"match",value:function(t){var e=this.regex.exec(t);if(e)return this.valuesToParams(e.slice(1))}},{key:"valuesToParams",value:function(t){var e=this;return t.reduce((function(t,n,r){return void 0===n?t:Object.assign(t,s({},e.keys[r].name,decodeURIComponent(n)))}),{})}},{key:"getHref",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"".concat(this.page,"?").concat(h(t))}},{key:"getAs",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.toPath(e)||"/",r=Object.keys(e),o=r.filter((function(e){return-1===t.keyNames.indexOf(e)}));if(!o.length)return n;var i=o.reduce((function(t,n){return Object.assign(t,s({},n,e[n]))}),{});return"".concat(n,"?").concat(h(i))}},{key:"getUrls",value:function(t){return{as:this.getAs(t),href:this.getHref(t)}}}]),t}(),h=function(t){return Object.keys(t).filter((function(e){return null!==t[e]&&void 0!==t[e]})).map((function(e){var n=t[e];return Array.isArray(n)&&(n=n.join("/")),[encodeURIComponent(e),encodeURIComponent(n)].join("=")})).join("&")}},"2gN3":function(t,e,n){var r=n("Kz5y")["__core-js_shared__"];t.exports=r},"2mql":function(t,e,n){"use strict";var r=n("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(t){return r.isMemo(t)?u:a[t.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=u;var f=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,v=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(v){var o=d(n);o&&o!==v&&t(e,o,r)}var u=s(n);l&&(u=u.concat(l(n)));for(var a=c(e),y=c(n),h=0;h0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"9Nap":function(t,e,n){var r=n("/9aa"),o=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},"9ggG":function(t,e,n){var r=n("Z0cm"),o=n("/9aa"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(u.test(t)||!i.test(t)||null!=e&&t in Object(e))}},A90E:function(t,e,n){var r=n("6sVZ"),o=n("V6Ve"),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},ANjH:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return a}));var r=n("bCCX"),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function a(t,e,n){var o;if("function"===typeof e&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof e&&"undefined"===typeof n&&(n=e,e=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(t,e)}if("function"!==typeof t)throw new Error("Expected the reducer to be a function.");var c=t,f=e,s=[],l=s,p=!1;function d(){l===s&&(l=s.slice())}function v(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return f}function y(t){if("function"!==typeof t)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var e=!0;return d(),l.push(t),function(){if(e){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");e=!1,d();var n=l.indexOf(t);l.splice(n,1),s=null}}}function h(t){if(!u(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,f=c(f,t)}finally{p=!1}for(var e=s=l,n=0;n1?e-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return o(e,n,arguments)||(i=t.apply(null,arguments)),n=arguments,i}}))},G6z8:function(t,e,n){var r=n("fR/l"),o=n("oCl/"),i=n("mTTR");t.exports=function(t){return r(t,i,o)}},GNiM:function(t,e,n){var r=n("I01J"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=u},Gi0A:function(t,e,n){var r=n("QqLw"),o=n("ExA7"),i="[object Map]";t.exports=function(t){return o(t)&&r(t)==i}},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},H8j4:function(t,e,n){var r=n("QkVE");t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},HOxn:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Promise");t.exports=r},Hvzi:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},I01J:function(t,e,n){var r=n("44Ds"),o=500;t.exports=function(t){var e=r(t,(function(t){return n.size===o&&n.clear(),t})),n=e.cache;return e}},Ioao:function(t,e,n){var r=n("heNW"),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,u=-1,a=o(i.length-e,0),c=Array(a);++uo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),e=JSON.parse('{"vi":{"\u0110":"D","\u0111":"d"}}');function n(n,r){if("string"!==typeof n)throw new Error("slugify: string argument expected");var o=e[(r="string"===typeof r?{replacement:r}:r||{}).locale]||{},i=void 0===r.replacement?"-":r.replacement,u=n.split("").reduce((function(e,n){return e+(o[n]||t[n]||n).replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"").trim().replace(new RegExp("[\\s"+i+"]+","g"),i);return r.lower&&(u=u.toLowerCase()),r.strict&&(u=u.replace(new RegExp("[^a-zA-Z0-9"+i+"]","g"),"").replace(new RegExp("[\\s"+i+"]+","g"),i)),u}return n.extend=function(e){for(var n in e)t[n]=e[n]},n},t.exports=r(),t.exports.default=r()},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},NykK:function(t,e,n){var r=n("nmnc"),o=n("AP2z"),i=n("KfNM"),u="[object Null]",a="[object Undefined]",c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?a:u:c&&c in Object(t)?o(t):i(t)}},O0oS:function(t,e,n){var r=n("Cwc5"),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},OBhP:function(t,e,n){var r=n("fmRc"),o=n("gFfm"),i=n("MrPd"),u=n("WwFo"),a=n("Dw+G"),c=n("5Tg0"),f=n("Q1l4"),s=n("VOtZ"),l=n("EEGq"),p=n("qZTm"),d=n("G6z8"),v=n("QqLw"),y=n("yHx3"),h=n("wrZu"),b=n("+iFO"),g=n("Z0cm"),m=n("DSRE"),O=n("zEVN"),j=n("GoyQ"),w=n("1+5i"),x=n("7GkX"),S=1,E=2,P=4,A="[object Arguments]",C="[object Function]",M="[object GeneratorFunction]",N="[object Object]",_={};_[A]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[N]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[C]=_["[object WeakMap]"]=!1,t.exports=function t(e,n,R,k,T,I){var D,L=n&S,U=n&E,z=n&P;if(R&&(D=T?R(e,k,T,I):R(e)),void 0!==D)return D;if(!j(e))return e;var G=g(e);if(G){if(D=y(e),!L)return f(e,D)}else{var F=v(e),B=F==C||F==M;if(m(e))return c(e,L);if(F==N||F==A||B&&!T){if(D=U||B?{}:b(e),!L)return U?l(e,a(D,e)):s(e,u(D,e))}else{if(!_[F])return T?e:{};D=h(e,F,L)}}I||(I=new r);var K=I.get(e);if(K)return K;I.set(e,D),w(e)?e.forEach((function(r){D.add(t(r,n,R,r,e,I))})):O(e)&&e.forEach((function(r,o){D.set(o,t(r,n,R,o,e,I))}));var W=z?U?d:p:U?keysIn:x,q=G?void 0:W(e);return o(q||e,(function(r,o){q&&(r=e[o=r]),i(D,o,t(r,n,R,o,e,I))})),D}},ODXe:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("BsWD");function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"Of+w":function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");t.exports=r},Puqe:function(t,e,n){var r=n("eUgh"),o=n("OBhP"),i=n("S7Xf"),u=n("4uTw"),a=n("juv8"),c=n("4Oe1"),f=n("xs/l"),s=n("G6z8"),l=f((function(t,e){var n={};if(null==t)return n;var f=!1;e=r(e,(function(e){return e=u(e,t),f||(f=e.length>1),e})),a(t,s(t),n),f&&(n=o(n,7,c));for(var l=e.length;l--;)i(n,e[l]);return n}));t.exports=l},Q1l4:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n0&&i(s)?n>1?t(s,n-1,i,u,a):r(a,s):u||(a[a.length]=s)}return a}},XYm9:function(t,e,n){var r=n("+K+b");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},Xi7e:function(t,e,n){var r=n("KMkd"),o=n("adU4"),i=n("tMB7"),u=n("+6XX"),a=n("Z8oC");function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)&&(l.unobserve(t.target),b.delete(t.target),e())}}))}),{rootMargin:"200px"}):void 0)}var j=function(t){i(n,t);var e=c(n);function n(t){var o;return r(this,n),(o=e.call(this,t)).p=void 0,o.cleanUpListeners=function(){},o.formatUrls=function(t){var e=null,n=null,r=null;return function(o,i){if(r&&o===e&&i===n)return r;var u=t(o,i);return e=o,n=i,r=u,u}}((function(t,e){return{href:h(t),as:e?h(e):e}})),o.linkClicked=function(t){var e=t.currentTarget,n=e.nodeName,r=e.target;if("A"!==n||!(r&&"_self"!==r||t.metaKey||t.ctrlKey||t.shiftKey||t.nativeEvent&&2===t.nativeEvent.which)){var i=o.formatUrls(o.props.href,o.props.as),u=i.href,a=i.as;if(function(t){var e=(0,d.parse)(t,!1,!0),n=(0,d.parse)((0,v.getLocationOrigin)(),!1,!0);return!e.host||e.protocol===n.protocol&&e.host===n.host}(u)){var c=window.location.pathname;u=(0,d.resolve)(c,u),a=a?(0,d.resolve)(c,a):u,t.preventDefault();var f=o.props.scroll;null==f&&(f=a.indexOf("#")<0),y.default[o.props.replace?"replace":"push"](u,a,{shallow:o.props.shallow}).then((function(t){t&&f&&(window.scrollTo(0,0),document.body.focus())}))}}},o.p=!1!==t.prefetch,o}return o(n,[{key:"componentWillUnmount",value:function(){this.cleanUpListeners()}},{key:"getPaths",value:function(){var t=window.location.pathname,e=this.formatUrls(this.props.href,this.props.as),n=e.href,r=e.as,o=(0,d.resolve)(t,n);return[o,r?(0,d.resolve)(t,r):o]}},{key:"handleRef",value:function(t){var e=this;this.p&&g&&t&&t.tagName&&(this.cleanUpListeners(),m[this.getPaths().join("%")]||(this.cleanUpListeners=function(t,e){var n=O();return n?(n.observe(t),b.set(t,e),function(){try{n.unobserve(t)}catch(e){console.error(e)}b.delete(t)}):function(){}}(t,(function(){e.prefetch()}))))}},{key:"prefetch",value:function(t){if(this.p){var e=this.getPaths();y.default.prefetch(e[0],e[1],t).catch((function(t){0})),m[e.join("%")]=!0}}},{key:"render",value:function(){var t=this,e=this.props.children,n=this.formatUrls(this.props.href,this.props.as),r=n.href,o=n.as;"string"===typeof e&&(e=p.default.createElement("a",null,e));var i=p.Children.only(e),u={ref:function(e){t.handleRef(e),i&&"object"===typeof i&&i.ref&&("function"===typeof i.ref?i.ref(e):"object"===typeof i.ref&&(i.ref.current=e))},onMouseEnter:function(e){i.props&&"function"===typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),t.prefetch({priority:!0})},onClick:function(e){i.props&&"function"===typeof i.props.onClick&&i.props.onClick(e),e.defaultPrevented||t.linkClicked(e)}};return!this.props.passHref&&("a"!==i.type||"href"in i.props)||(u.href=o||r),p.default.cloneElement(i,u)}}]),n}(p.Component);e.default=j},cvCv:function(t,e){t.exports=function(t){return function(){return t}}},dD9F:function(t,e,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!u[r(t)]}},dTAl:function(t,e,n){var r=n("GoyQ"),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},dt0z:function(t,e,n){var r=n("zoYe");t.exports=function(t){return null==t?"":r(t)}},e4Nc:function(t,e,n){var r=n("fGT3"),o=n("k+1r"),i=n("JHgL"),u=n("pSRY"),a=n("H8j4");function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e1?e-1:0),r=1;r3?e.i-4:e.i:Array.isArray(t)?1:p(t)?2:d(t)?3:0}function c(t,e){return 2===a(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function f(t,e){return 2===a(t)?t.get(e):t[e]}function s(t,e,n){var r=a(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function l(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function p(t){return G&&t instanceof Map}function d(t){return F&&t instanceof Set}function v(t){return t.o||t.t}function y(t){if(Array.isArray(t))return t.slice();var e=$(t);delete e[q];for(var n=H(e),r=0;r1&&(t.set=t.add=t.clear=t.delete=b),Object.freeze(t),e&&u(t,(function(t,e){return h(e,!0)}),!0))}function b(){r(2)}function g(t){var e=Y[t];return e||r(19,t),e}function m(t,e){Y[t]=e}function O(){return U}function j(t,e){e&&(g("Patches"),t.u=[],t.s=[],t.v=e)}function w(t){x(t),t.p.forEach(E),t.p=null}function x(t){t===U&&(U=t.l)}function S(t){return U={p:[],l:U,h:t,m:!0,_:0}}function E(t){var e=t[q];0===e.i||1===e.i?e.j():e.O=!0}function P(t,e){e._=e.p.length;var n=e.p[0],o=void 0!==t&&t!==n;return e.h.g||g("ES5").S(e,t,o),o?(n[q].P&&(w(e),r(4)),i(t)&&(t=A(e,t),e.l||M(e,t)),e.u&&g("Patches").M(n[q],t,e.u,e.s)):t=A(e,n,[]),w(e),e.u&&e.v(e.u,e.s),t!==K?t:void 0}function A(t,e,n){if(null==(r=e)||"object"!=typeof r||Object.isFrozen(r))return e;var r,o=e[q];if(!o)return u(e,(function(r,i){return C(t,o,e,r,i,n)}),!0),e;if(o.A!==t)return e;if(!o.P)return M(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var i=4===o.i||5===o.i?o.o=y(o.k):o.o;u(i,(function(e,r){return C(t,o,i,e,r,n)})),M(t,i,!1),n&&t.u&&g("Patches").R(o,n,t.u,t.s)}return o.o}function C(t,e,n,r,u,a){if(o(u)){var f=A(t,u,a&&e&&3!==e.i&&!c(e.D,r)?a.concat(r):void 0);if(s(n,r,f),!o(f))return;t.m=!1}if(i(u)&&!Object.isFrozen(u)){if(!t.h.N&&t._<1)return;A(t,u),e&&e.A.l||M(t,u)}}function M(t,e,n){void 0===n&&(n=!1),t.h.N&&t.m&&h(e,n)}function N(t,e){var n=t[q];return(n?v(n):t)[e]}function _(t){t.P||(t.P=!0,t.l&&_(t.l))}function R(t){t.o||(t.o=y(t.t))}function k(t,e,n){var r=p(e)?g("MapSet").T(e,n):d(e)?g("MapSet").F(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:O(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},o=r,i=V;n&&(o=[r],i=Z);var u=Proxy.revocable(o,i),a=u.revoke,c=u.proxy;return r.k=c,r.j=a,c}(e,n):g("ES5").J(e,n);return(n?n.A:O()).p.push(r),r}function T(t){return o(t)||r(22,t),function t(e){if(!i(e))return e;var n,r=e[q],o=a(e);if(r){if(!r.P&&(r.i<4||!g("ES5").K(r)))return r.t;r.I=!0,n=I(e,o),r.I=!1}else n=I(e,o);return u(n,(function(e,o){r&&f(r.t,e)===o||s(n,e,t(o))})),3===o?new Set(n):n}(t)}function I(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return y(t)}function D(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[q];return V.get(e,t)},set:function(e){var n=this[q];V.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][q];if(!o.P)switch(o.i){case 5:r(o)&&_(o);break;case 4:n(o)&&_(o)}}}function n(t){for(var e=t.t,n=t.k,r=H(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==q){var u=e[i];if(void 0===u&&!c(e,i))return!0;var a=n[i],f=a&&a[q];if(f?f.t!==u:!l(a,u))return!0}}var s=!!e[q];return r.length!==H(e).length+(s?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);return!(!n||n.get)}var i={};m("ES5",{J:function(e,n){var r=Array.isArray(e),o=function(e,n){var r=$(n);e&&delete r.length,delete r[q];for(var o=H(r),i=0;i1?r-1:0),a=1;a1?n-1:0),i=1;i=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}var i=g("Patches").$;return o(t)?i(t,e):this.produce(t,(function(t){return i(t,e.slice(n+1))}))},t}()),J=X.produce,Q=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X),X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X),J),tt=n("ANjH");n("G4qV");function et(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(o){return"function"===typeof o?o(n,r,t):e(o)}}}}var nt=et();nt.withExtraArgument=et;var rt=nt;function ot(){return(ot=Object.assign||function(t){for(var e=1;e=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var u=i;"string"===typeof t[u]&&(e[u]=t[u])}return e}return{message:String(t)}};function wt(t,e,n){var r=yt(t+"/fulfilled",(function(t,e,n){return{payload:t,meta:{arg:n,requestId:e}}})),o=yt(t+"/pending",(function(t,e){return{payload:void 0,meta:{arg:e,requestId:t}}})),i=yt(t+"/rejected",(function(t,e,n,r){var o=!!t&&"AbortError"===t.name,i=!!t&&"ConditionError"===t.name;return{payload:r,error:jt(t||"Rejected"),meta:{arg:n,requestId:e,aborted:o,condition:i}}})),u="undefined"!==typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){}}}return t.prototype.abort=function(){0},t}();return Object.assign((function(t){return function(a,c,f){var s,l=gt(),p=new u,d=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:s||"Aborted"})}))})),v=!1;var y=function(){try{var u,s=function(t){return y?t:(n&&!n.dispatchConditionRejection&&i.match(u)&&u.meta.condition||a(u),u)},y=!1,h=function(t,e){try{var n=t()}catch(r){return e(r)}return n&&n.then?n.then(void 0,e):n}((function(){if(n&&n.condition&&!1===n.condition(t,{getState:c,extra:f}))throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=!0,a(o(l,t)),Promise.resolve(Promise.race([d,Promise.resolve(e(t,{dispatch:a,getState:c,extra:f,requestId:l,signal:p.signal,rejectWithValue:function(t){return new Ot(t)}})).then((function(e){return e instanceof Ot?i(null,l,t,e.value):r(e,l,t)}))])).then((function(t){u=t}))}),(function(e){u=i(e,l,t)}));return Promise.resolve(h&&h.then?h.then(s):s(h))}catch(b){return Promise.reject(b)}}();return Object.assign(y,{abort:function(t){v&&(s=t,p.abort())}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:t})}D()},juv8:function(t,e,n){var r=n("MrPd"),o=n("hypo");t.exports=function(t,e,n,i){var u=!n;n||(n={});for(var a=-1,c=e.length;++a-1&&t%1==0&&t<=n}},tMB7:function(t,e,n){var r=n("y1pI");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},tadb:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"DataView");t.exports=r},u8Dt:function(t,e,n){var r=n("YESw"),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===o?void 0:n}return i.call(e,t)?e[t]:void 0}},"w/wX":function(t,e,n){var r=n("QqLw"),o=n("ExA7"),i="[object Set]";t.exports=function(t){return o(t)&&r(t)==i}},wJg7:function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=typeof t;return!!(e=null==e?n:e)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t=o?t:r(t,e,n)}},"xs/l":function(t,e,n){var r=n("TYy9"),o=n("Ioao"),i=n("wclG");t.exports=function(t){return i(o(t,void 0,r),t+"")}},y1pI:function(t,e,n){var r=n("ljhN");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},yGk4:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Set");t.exports=r},yHx3:function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},yP5f:function(t,e,n){var r=n("+K+b");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},yeIB:function(t,e,n){"use strict";n.d(e,"d",(function(){return Rt})),n.d(e,"e",(function(){return kt})),n.d(e,"g",(function(){return Tt})),n.d(e,"f",(function(){return It})),n.d(e,"h",(function(){return Dt})),n.d(e,"b",(function(){return Lt})),n.d(e,"a",(function(){return Ut})),n.d(e,"c",(function(){return zt}));var r={};n.r(r),n.d(r,"SLICE_NAME",(function(){return C})),n.d(r,"selectSettings",(function(){return M})),n.d(r,"selectWidth",(function(){return N})),n.d(r,"selectHeight",(function(){return _})),n.d(r,"selectExporting",(function(){return R})),n.d(r,"selectSerializedState",(function(){return k})),n.d(r,"default",(function(){return T}));var o={};n.r(o),n.d(o,"SLICE_NAME",(function(){return B})),n.d(o,"selectSettings",(function(){return K})),n.d(o,"selectContextsLoading",(function(){return W})),n.d(o,"selectContexts",(function(){return q})),n.d(o,"selectColumnsLoading",(function(){return H})),n.d(o,"selectColumns",(function(){return $})),n.d(o,"selectCountry",(function(){return Y})),n.d(o,"selectCommodity",(function(){return V})),n.d(o,"selectYear",(function(){return Z})),n.d(o,"selectUnit",(function(){return X})),n.d(o,"selectRegionsLoading",(function(){return J})),n.d(o,"selectRegions",(function(){return Q})),n.d(o,"selectRegion",(function(){return tt})),n.d(o,"selectExportersLoading",(function(){return et})),n.d(o,"selectExporters",(function(){return nt})),n.d(o,"selectExporter",(function(){return rt})),n.d(o,"selectFlowsLoading",(function(){return ot})),n.d(o,"selectFlows",(function(){return it})),n.d(o,"selectCountriesLoading",(function(){return ut})),n.d(o,"selectCountries",(function(){return at})),n.d(o,"selectSourceCountryOptions",(function(){return ct})),n.d(o,"selectSourceCountryName",(function(){return ft})),n.d(o,"selectCommodityOptions",(function(){return st})),n.d(o,"selectCommodityName",(function(){return lt})),n.d(o,"selectContext",(function(){return pt})),n.d(o,"selectUnitOptions",(function(){return dt})),n.d(o,"selectYearOptions",(function(){return vt})),n.d(o,"selectRegionOptions",(function(){return yt})),n.d(o,"selectRegionName",(function(){return ht})),n.d(o,"selectExporterOptions",(function(){return bt})),n.d(o,"selectExporterName",(function(){return gt})),n.d(o,"selectRankingData",(function(){return mt})),n.d(o,"selectCountriesISODict",(function(){return Ot})),n.d(o,"selectFlowScale",(function(){return jt})),n.d(o,"selectCountryIso",(function(){return wt})),n.d(o,"selectDestinationCountriesIso",(function(){return xt})),n.d(o,"selectMapData",(function(){return St})),n.d(o,"selectLoading",(function(){return Et})),n.d(o,"selectSerializedState",(function(){return Pt})),n.d(o,"default",(function(){return At}));var i=n("rePB"),u=n("i7Pf"),a=n("G4qV"),c=(n("NmYn"),function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}),f=function(t){return(t=c(Math.abs(t)))?t[1]:NaN},s=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function l(t){if(!(e=s.exec(t)))throw new Error("invalid format: "+t);var e;return new p({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function p(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}l.prototype=p.prototype,p.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var d,v,y,h=function(t){t:for(var e,n=t.length,r=1,o=-1;r0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},b=function(t,e){var n=c(t,e);if(!n)return t+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},g={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return b(100*t,e)},r:b,s:function(t,e){var n=c(t,e);if(!n)return t+"";var r=n[0],o=n[1],i=o-(d=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=r.length;return i===u?r:i>u?r+new Array(i-u+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+c(t,Math.max(0,e+i-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},m=function(t){return t},O=Array.prototype.map,j=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];v=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?m:(e=O.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var o=t.length,i=[],u=0,a=e[0],c=0;o>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),i.push(t.substring(o-=a,o+a)),!((c+=a+1)>r));)a=e[u=(u+1)%e.length];return i.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?m:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(O.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"-":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function v(t){var e=(t=l(t)).fill,n=t.align,f=t.sign,v=t.symbol,y=t.zero,b=t.width,m=t.comma,O=t.precision,w=t.trim,x=t.type;"n"===x?(m=!0,x="g"):g[x]||(void 0===O&&(O=12),w=!0,x="g"),(y||"0"===e&&"="===n)&&(y=!0,e="0",n="=");var S="$"===v?o:"#"===v&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",E="$"===v?i:/[%p]/.test(x)?c:"",P=g[x],A=/[defgprs%]/.test(x);function C(t){var o,i,c,l=S,v=E;if("c"===x)v=P(t)+v,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?p:P(Math.abs(t),O),w&&(t=h(t)),g&&0===+t&&"+"!==f&&(g=!1),l=(g?"("===f?f:s:"-"===f||"("===f?"":f)+l,v=("s"===x?j[8+d/3]:"")+v+(g&&"("===f?")":""),A)for(o=-1,i=t.length;++o(c=t.charCodeAt(o))||c>57){v=(46===c?u+t.slice(o+1):t.slice(o))+v,t=t.slice(0,o);break}}m&&!y&&(t=r(t,1/0));var C=l.length+t.length+v.length,M=C>1)+l+t+v+M.slice(C);break;default:t=M+l+t+v}return a(t)}return O=void 0===O?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O)),C.toString=function(){return t+""},C}return{format:v,formatPrefix:function(t,e){var n=v(((t=l(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(f(e)/3))),o=Math.pow(10,-r),i=j[8+r/3];return function(t){return n(o*t)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),y=v.format,v.formatPrefix;var w=function(t){var e=t.num,n=t.unit;if(void 0===e||null===e)return"\u2212";if(""===n)return y(".2f")(e);var r="%"===n?"2":"3",o=".".concat(r,"%"===n?"r":"s");"counts"===n&&(o=",.0f");var i="%"===n?.1:1,u=e0?"< ".concat(i):y(o)(e);return"%"!==n&&e.01?u=y(".3r")(e):"ha"===n&&e<1e3?u=Math.round(e):e>0&&e<.01&&"%"!==n&&(u="<0.01"),"".concat(u," ").concat(n&&"counts"!==n?n:"")},x=n("1MgH"),S=n("ODXe"),E=n("Puqe"),P=n.n(E);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var C="export",M=function(t){return t[C]},N=Object(a.a)([M],(function(t){return t.width})),_=Object(a.a)([M],(function(t){return t.height})),R=Object(a.a)([M],(function(t){return t.exporting})),k=Object(a.a)([M],(function(t){return P()(t,"exporting","width","height")})),T=function(t){return Object(u.c)({name:C,initialState:{exporting:!1,width:900,height:600},reducers:{updateSettings:function(t,e){for(var n=0,r=Object.entries(e.payload);n1&&void 0!==arguments[1]?arguments[1]:{};try{return JSON.parse(atob(t))}catch(n){return e}}(Object(x.b)(n).state)}))},Mt=T(Ct),Nt=At(Ct),_t={selectSerializedState:Object(a.a)([k,Pt],(function(t,e){var n;return function(t){try{return btoa(JSON.stringify(t))}catch(e){return""}}((n={},Object(i.a)(n,C,t),Object(i.a)(n,B,e),n))}))},Rt=Ct,kt=_t,Tt=Nt.reducer,It=Nt.actions,Dt=o,Lt=Mt.reducer,Ut=Mt.actions,zt=r},zEVN:function(t,e,n){var r=n("Gi0A"),o=n("sEf8"),i=n("mdPL"),u=i&&i.isMap,a=u?o(u):r;t.exports=a},zZ0H:function(t,e){t.exports=function(t){return t}},zoYe:function(t,e,n){var r=n("nmnc"),o=n("eUgh"),i=n("Z0cm"),u=n("/9aa"),a=1/0,c=r?r.prototype:void 0,f=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(u(e))return f?f.call(e):"";var n=e+"";return"0"==n&&1/e==-a?"-0":n}}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+6XX":function(t,e,n){var r=n("y1pI");t.exports=function(t){return r(this.__data__,t)>-1}},"+K+b":function(t,e,n){var r=n("JHRd");t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},"+XsK":function(t,e,n){var r=n("1e5o"),o=(n("kGJw"),r()),i=o.findAndGetUrls.bind(o);o.findAndGetUrls=function(t,e){var n=t,r=i(n,e);return r},o.add("home","/","index"),o.add("explore","/explore","explore");var u=o;u.Link=o.Link,u.Router=o.Router,t.exports=u},"+iFO":function(t,e,n){var r=n("dTAl"),o=n("LcsW"),i=n("6sVZ");t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},"/9aa":function(t,e,n){var r=n("NykK"),o=n("ExA7"),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&r(t)==i}},"/MKj":function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return G}));var r=n("q1tI"),o=n.n(r),i=(n("17x9"),o.a.createContext(null));var u=function(t){t()},a=function(){return u},c={notify:function(){}};var f=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=c,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var t=a(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=c)},t}();var s=function(t){var e=t.store,n=t.context,u=t.children,a=Object(r.useMemo)((function(){var t=new f(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),c=Object(r.useMemo)((function(){return e.getState()}),[e]);Object(r.useEffect)((function(){var t=a.subscription;return t.trySubscribe(),c!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[a,c]);var s=n||i;return o.a.createElement(s.Provider,{value:a},u)};function l(){return(l=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}var d=n("2mql"),v=n.n(d),y=n("TOwV"),h="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,b=[],g=[null,null];function m(t,e){var n=t[1];return[e.payload,n+1]}function O(t,e,n){h((function(){return t.apply(void 0,e)}),n)}function j(t,e,n,r,o,i,u){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,u())}function w(t,e,n,r,o,i,u,a,c,f){if(t){var s=!1,l=null,p=function(){if(!s){var t,n,p=e.getState();try{t=r(p,o.current)}catch(d){n=d,l=d}n||(l=null),t===i.current?u.current||c():(i.current=t,a.current=t,u.current=!0,f({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(s=!0,n.tryUnsubscribe(),n.onStateChange=null,l)throw l}}}var x=function(){return[null,0]};function S(t,e){void 0===e&&(e={});var n=e,u=n.getDisplayName,a=void 0===u?function(t){return"ConnectAdvanced("+t+")"}:u,c=n.methodName,s=void 0===c?"connectAdvanced":c,d=n.renderCountProp,h=void 0===d?void 0:d,S=n.shouldHandleStateChanges,E=void 0===S||S,P=n.storeKey,A=void 0===P?"store":P,C=(n.withRef,n.forwardRef),M=void 0!==C&&C,N=n.context,R=void 0===N?i:N,_=p(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),k=R;return function(e){var n=e.displayName||e.name||"Component",i=a(n),u=l({},_,{getDisplayName:a,methodName:s,renderCountProp:h,shouldHandleStateChanges:E,storeKey:A,displayName:i,wrappedComponentName:n,WrappedComponent:e}),c=_.pure;var d=c?r.useMemo:function(t){return t()};function S(n){var i=Object(r.useMemo)((function(){var t=n.forwardedRef,e=p(n,["forwardedRef"]);return[n.context,t,e]}),[n]),a=i[0],c=i[1],s=i[2],v=Object(r.useMemo)((function(){return a&&a.Consumer&&Object(y.isContextConsumer)(o.a.createElement(a.Consumer,null))?a:k}),[a,k]),h=Object(r.useContext)(v),S=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(h)&&Boolean(h.store);var P=S?n.store:h.store,A=Object(r.useMemo)((function(){return function(e){return t(e.dispatch,u)}(P)}),[P]),C=Object(r.useMemo)((function(){if(!E)return g;var t=new f(P,S?null:h.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[P,S,h]),M=C[0],N=C[1],R=Object(r.useMemo)((function(){return S?h:l({},h,{subscription:M})}),[S,h,M]),_=Object(r.useReducer)(m,b,x),T=_[0][0],I=_[1];if(T&&T.error)throw T.error;var D=Object(r.useRef)(),L=Object(r.useRef)(s),U=Object(r.useRef)(),z=Object(r.useRef)(!1),F=d((function(){return U.current&&s===L.current?U.current:A(P.getState(),s)}),[P,T,s]);O(j,[L,D,z,s,F,U,N]),O(w,[E,P,M,A,L,D,z,U,N,I],[P,M,A]);var G=Object(r.useMemo)((function(){return o.a.createElement(e,l({},F,{ref:c}))}),[c,e,F]);return Object(r.useMemo)((function(){return E?o.a.createElement(v.Provider,{value:R},G):G}),[v,G,R])}var P=c?o.a.memo(S):S;if(P.WrappedComponent=e,P.displayName=i,M){var C=o.a.forwardRef((function(t,e){return o.a.createElement(P,l({},t,{forwardedRef:e}))}));return C.displayName=i,C.WrappedComponent=e,v()(C,e)}return v()(P,e)}}function E(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function P(t,e){if(E(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function z(t,e){return t===e}function F(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?S:n,o=e.mapStateToPropsFactories,i=void 0===o?_:o,u=e.mapDispatchToPropsFactories,a=void 0===u?R:u,c=e.mergePropsFactories,f=void 0===c?T:c,s=e.selectorFactory,d=void 0===s?L:s;return function(t,e,n,o){void 0===o&&(o={});var u=o,c=u.pure,s=void 0===c||c,v=u.areStatesEqual,y=void 0===v?z:v,h=u.areOwnPropsEqual,b=void 0===h?P:h,g=u.areStatePropsEqual,m=void 0===g?P:g,O=u.areMergedPropsEqual,j=void 0===O?P:O,w=p(u,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=U(t,i,"mapStateToProps"),S=U(e,a,"mapDispatchToProps"),E=U(n,f,"mergeProps");return r(d,l({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:x,initMapDispatchToProps:S,initMergeProps:E,pure:s,areStatesEqual:y,areOwnPropsEqual:b,areStatePropsEqual:m,areMergedPropsEqual:j},w))}}var G=F();var B,K=n("i8i4");B=K.unstable_batchedUpdates,u=B},"03A+":function(t,e,n){var r=n("JTzB"),o=n("ExA7"),i=Object.prototype,u=i.hasOwnProperty,a=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&u.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},"0Cz8":function(t,e,n){var r=n("Xi7e"),o=n("ebwN"),i=n("e4Nc"),u=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length-1&&(g=l[S],l=l.slice(0,S))}l&&(u.push(l),l="",v=!1);var E=""!==g&&void 0!==m&&m!==g,P="+"===x||"*"===x,A="?"===x||"*"===x,C=g||p,M=j||w;u.push({name:O||f++,prefix:g,delimiter:C,optional:A,repeat:P,partial:E,pattern:M?c(M):"[^"+a(C)+"]+?"})}}return(l||s-1;else{var b=h.repeat?"(?:"+h.pattern+")(?:"+a(h.delimiter)+"(?:"+h.pattern+"))*":h.pattern;e&&e.push(h),h.optional?h.partial?d+=a(h.prefix)+"("+b+")?":d+="(?:"+a(h.prefix)+"("+b+"))?":d+=a(h.prefix)+"("+b+")"}}return c?(i||(d+="(?:"+s+")?"),d+="$"===p?"$":"(?="+p+")"):(i||(d+="(?:"+s+"(?="+p+"))?"),v||(d+="(?="+s+"|"+p+")")),new RegExp(d,f(o))}function l(t,e,n){return t instanceof RegExp?function(t,e){if(!e)return t;var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},n=e.Link,r=void 0===n?u.default:n,o=e.Router,i=void 0===o?a.default:o;l(this,t),this.routes=[],this.Link=this.getLink(r),this.Router=this.getRouter(i)}return d(t,[{key:"add",value:function(t,e,n){var r;if(t instanceof Object?t=(r=t).name:("/"===t[0]&&(n=e,e=t,t=null),r={name:t,pattern:e,page:n}),this.findByName(t))throw new Error('Route "'.concat(t,'" already exists'));return this.routes.push(new y(r)),this}},{key:"findByName",value:function(t){if(t)return this.routes.filter((function(e){return e.name===t}))[0]}},{key:"match",value:function(t){var e=(0,i.parse)(t,!0),n=e.pathname,r=e.query;return this.routes.reduce((function(t,e){if(t.route)return t;var o=e.match(n);return o?f({},t,{route:e,params:o,query:f({},r,o)}):t}),{query:r,parsedUrl:e})}},{key:"findAndGetUrls",value:function(t,e){var n=this.findByName(t);if(n)return{route:n,urls:n.getUrls(e),byName:!0};var r=this.match(t),o=r.route,i=r.query,u=o?o.getHref(i):t;return{route:o,urls:{href:u,as:t}}}},{key:"getRequestHandler",value:function(t,e){var n=this,r=t.getRequestHandler();return function(o,i){var u=n.match(o.url),a=u.route,c=u.query,f=u.parsedUrl;a?e?e({req:o,res:i,route:a,query:c}):t.render(o,i,a.page,c):r(o,i,f)}}},{key:"getLink",value:function(t){var e=this;return function(n){var r=n.route,i=n.params,u=n.to,a=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r=0||(o[n]=t[n]);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,["route","params","to"]),c=r||u;return c&&Object.assign(a,e.findAndGetUrls(c,i).urls),o.default.createElement(t,a)}}},{key:"getRouter",value:function(t){var e=this,n=function(n){return function(r,o,i){var u=e.findAndGetUrls(r,o),a=u.byName,c=u.urls,f=c.as,s=c.href;return t[n](s,f,a?i:o)}};return t.pushRoute=n("push"),t.replaceRoute=n("replace"),t.prefetchRoute=n("prefetch"),t}}]),t}(),y=function(){function t(e){var n=e.name,o=e.pattern,i=e.page,u=void 0===i?n:i;if(l(this,t),!n&&!u)throw new Error('Missing page to render for route "'.concat(o,'"'));this.name=n,this.pattern=o||"/".concat(n),this.page=u.replace(/(^|\/)index$/,"").replace(/^\/?/,"/"),this.regex=(0,r.default)(this.pattern,this.keys=[]),this.keyNames=this.keys.map((function(t){return t.name})),this.toPath=r.default.compile(this.pattern)}return d(t,[{key:"match",value:function(t){var e=this.regex.exec(t);if(e)return this.valuesToParams(e.slice(1))}},{key:"valuesToParams",value:function(t){var e=this;return t.reduce((function(t,n,r){return void 0===n?t:Object.assign(t,s({},e.keys[r].name,decodeURIComponent(n)))}),{})}},{key:"getHref",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"".concat(this.page,"?").concat(h(t))}},{key:"getAs",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.toPath(e)||"/",r=Object.keys(e),o=r.filter((function(e){return-1===t.keyNames.indexOf(e)}));if(!o.length)return n;var i=o.reduce((function(t,n){return Object.assign(t,s({},n,e[n]))}),{});return"".concat(n,"?").concat(h(i))}},{key:"getUrls",value:function(t){return{as:this.getAs(t),href:this.getHref(t)}}}]),t}(),h=function(t){return Object.keys(t).filter((function(e){return null!==t[e]&&void 0!==t[e]})).map((function(e){var n=t[e];return Array.isArray(n)&&(n=n.join("/")),[encodeURIComponent(e),encodeURIComponent(n)].join("=")})).join("&")}},"2gN3":function(t,e,n){var r=n("Kz5y")["__core-js_shared__"];t.exports=r},"2mql":function(t,e,n){"use strict";var r=n("TOwV"),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function c(t){return r.isMemo(t)?u:a[t.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=u;var f=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,v=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(v){var o=d(n);o&&o!==v&&t(e,o,r)}var u=s(n);l&&(u=u.concat(l(n)));for(var a=c(e),y=c(n),h=0;h0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"9Nap":function(t,e,n){var r=n("/9aa"),o=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},"9ggG":function(t,e,n){var r=n("Z0cm"),o=n("/9aa"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(u.test(t)||!i.test(t)||null!=e&&t in Object(e))}},A90E:function(t,e,n){var r=n("6sVZ"),o=n("V6Ve"),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},ANjH:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return a}));var r=n("bCCX"),o=function(){return Math.random().toString(36).substring(7).split("").join(".")},i={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function u(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function a(t,e,n){var o;if("function"===typeof e&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof e&&"undefined"===typeof n&&(n=e,e=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error("Expected the enhancer to be a function.");return n(a)(t,e)}if("function"!==typeof t)throw new Error("Expected the reducer to be a function.");var c=t,f=e,s=[],l=s,p=!1;function d(){l===s&&(l=s.slice())}function v(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return f}function y(t){if("function"!==typeof t)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var e=!0;return d(),l.push(t),function(){if(e){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");e=!1,d();var n=l.indexOf(t);l.splice(n,1),s=null}}}function h(t){if(!u(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,f=c(f,t)}finally{p=!1}for(var e=s=l,n=0;n1?e-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return o(e,n,arguments)||(i=t.apply(null,arguments)),n=arguments,i}}))},G6z8:function(t,e,n){var r=n("fR/l"),o=n("oCl/"),i=n("mTTR");t.exports=function(t){return r(t,i,o)}},GNiM:function(t,e,n){var r=n("I01J"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=u},Gi0A:function(t,e,n){var r=n("QqLw"),o=n("ExA7"),i="[object Map]";t.exports=function(t){return o(t)&&r(t)==i}},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},H8j4:function(t,e,n){var r=n("QkVE");t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},HOxn:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Promise");t.exports=r},Hvzi:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},I01J:function(t,e,n){var r=n("44Ds"),o=500;t.exports=function(t){var e=r(t,(function(t){return n.size===o&&n.clear(),t})),n=e.cache;return e}},Ioao:function(t,e,n){var r=n("heNW"),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,u=-1,a=o(i.length-e,0),c=Array(a);++uo?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++r":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),e=JSON.parse('{"vi":{"\u0110":"D","\u0111":"d"}}');function n(n,r){if("string"!==typeof n)throw new Error("slugify: string argument expected");var o=e[(r="string"===typeof r?{replacement:r}:r||{}).locale]||{},i=void 0===r.replacement?"-":r.replacement,u=n.split("").reduce((function(e,n){return e+(o[n]||t[n]||n).replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"").trim().replace(new RegExp("[\\s"+i+"]+","g"),i);return r.lower&&(u=u.toLowerCase()),r.strict&&(u=u.replace(new RegExp("[^a-zA-Z0-9"+i+"]","g"),"").replace(new RegExp("[\\s"+i+"]+","g"),i)),u}return n.extend=function(e){for(var n in e)t[n]=e[n]},n},t.exports=r(),t.exports.default=r()},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},NykK:function(t,e,n){var r=n("nmnc"),o=n("AP2z"),i=n("KfNM"),u="[object Null]",a="[object Undefined]",c=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?a:u:c&&c in Object(t)?o(t):i(t)}},O0oS:function(t,e,n){var r=n("Cwc5"),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},OBhP:function(t,e,n){var r=n("fmRc"),o=n("gFfm"),i=n("MrPd"),u=n("WwFo"),a=n("Dw+G"),c=n("5Tg0"),f=n("Q1l4"),s=n("VOtZ"),l=n("EEGq"),p=n("qZTm"),d=n("G6z8"),v=n("QqLw"),y=n("yHx3"),h=n("wrZu"),b=n("+iFO"),g=n("Z0cm"),m=n("DSRE"),O=n("zEVN"),j=n("GoyQ"),w=n("1+5i"),x=n("7GkX"),S=1,E=2,P=4,A="[object Arguments]",C="[object Function]",M="[object GeneratorFunction]",N="[object Object]",R={};R[A]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[N]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[C]=R["[object WeakMap]"]=!1,t.exports=function t(e,n,_,k,T,I){var D,L=n&S,U=n&E,z=n&P;if(_&&(D=T?_(e,k,T,I):_(e)),void 0!==D)return D;if(!j(e))return e;var F=g(e);if(F){if(D=y(e),!L)return f(e,D)}else{var G=v(e),B=G==C||G==M;if(m(e))return c(e,L);if(G==N||G==A||B&&!T){if(D=U||B?{}:b(e),!L)return U?l(e,a(D,e)):s(e,u(D,e))}else{if(!R[G])return T?e:{};D=h(e,G,L)}}I||(I=new r);var K=I.get(e);if(K)return K;I.set(e,D),w(e)?e.forEach((function(r){D.add(t(r,n,_,r,e,I))})):O(e)&&e.forEach((function(r,o){D.set(o,t(r,n,_,o,e,I))}));var W=z?U?d:p:U?keysIn:x,q=F?void 0:W(e);return o(q||e,(function(r,o){q&&(r=e[o=r]),i(D,o,t(r,n,_,o,e,I))})),D}},ODXe:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("BsWD");function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=t[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!e||n.length!==e);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||Object(r.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"Of+w":function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");t.exports=r},Puqe:function(t,e,n){var r=n("eUgh"),o=n("OBhP"),i=n("S7Xf"),u=n("4uTw"),a=n("juv8"),c=n("4Oe1"),f=n("xs/l"),s=n("G6z8"),l=f((function(t,e){var n={};if(null==t)return n;var f=!1;e=r(e,(function(e){return e=u(e,t),f||(f=e.length>1),e})),a(t,s(t),n),f&&(n=o(n,7,c));for(var l=e.length;l--;)i(n,e[l]);return n}));t.exports=l},Q1l4:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n0&&i(s)?n>1?t(s,n-1,i,u,a):r(a,s):u||(a[a.length]=s)}return a}},XYm9:function(t,e,n){var r=n("+K+b");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},Xi7e:function(t,e,n){var r=n("KMkd"),o=n("adU4"),i=n("tMB7"),u=n("+6XX"),a=n("Z8oC");function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++et.length)&&(e=t.length);for(var n=0,r=new Array(e);n0)&&(l.unobserve(t.target),b.delete(t.target),e())}}))}),{rootMargin:"200px"}):void 0)}var j=function(t){i(n,t);var e=c(n);function n(t){var o;return r(this,n),(o=e.call(this,t)).p=void 0,o.cleanUpListeners=function(){},o.formatUrls=function(t){var e=null,n=null,r=null;return function(o,i){if(r&&o===e&&i===n)return r;var u=t(o,i);return e=o,n=i,r=u,u}}((function(t,e){return{href:h(t),as:e?h(e):e}})),o.linkClicked=function(t){var e=t.currentTarget,n=e.nodeName,r=e.target;if("A"!==n||!(r&&"_self"!==r||t.metaKey||t.ctrlKey||t.shiftKey||t.nativeEvent&&2===t.nativeEvent.which)){var i=o.formatUrls(o.props.href,o.props.as),u=i.href,a=i.as;if(function(t){var e=(0,d.parse)(t,!1,!0),n=(0,d.parse)((0,v.getLocationOrigin)(),!1,!0);return!e.host||e.protocol===n.protocol&&e.host===n.host}(u)){var c=window.location.pathname;u=(0,d.resolve)(c,u),a=a?(0,d.resolve)(c,a):u,t.preventDefault();var f=o.props.scroll;null==f&&(f=a.indexOf("#")<0),y.default[o.props.replace?"replace":"push"](u,a,{shallow:o.props.shallow}).then((function(t){t&&f&&(window.scrollTo(0,0),document.body.focus())}))}}},o.p=!1!==t.prefetch,o}return o(n,[{key:"componentWillUnmount",value:function(){this.cleanUpListeners()}},{key:"getPaths",value:function(){var t=window.location.pathname,e=this.formatUrls(this.props.href,this.props.as),n=e.href,r=e.as,o=(0,d.resolve)(t,n);return[o,r?(0,d.resolve)(t,r):o]}},{key:"handleRef",value:function(t){var e=this;this.p&&g&&t&&t.tagName&&(this.cleanUpListeners(),m[this.getPaths().join("%")]||(this.cleanUpListeners=function(t,e){var n=O();return n?(n.observe(t),b.set(t,e),function(){try{n.unobserve(t)}catch(e){console.error(e)}b.delete(t)}):function(){}}(t,(function(){e.prefetch()}))))}},{key:"prefetch",value:function(t){if(this.p){var e=this.getPaths();y.default.prefetch(e[0],e[1],t).catch((function(t){0})),m[e.join("%")]=!0}}},{key:"render",value:function(){var t=this,e=this.props.children,n=this.formatUrls(this.props.href,this.props.as),r=n.href,o=n.as;"string"===typeof e&&(e=p.default.createElement("a",null,e));var i=p.Children.only(e),u={ref:function(e){t.handleRef(e),i&&"object"===typeof i&&i.ref&&("function"===typeof i.ref?i.ref(e):"object"===typeof i.ref&&(i.ref.current=e))},onMouseEnter:function(e){i.props&&"function"===typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),t.prefetch({priority:!0})},onClick:function(e){i.props&&"function"===typeof i.props.onClick&&i.props.onClick(e),e.defaultPrevented||t.linkClicked(e)}};return!this.props.passHref&&("a"!==i.type||"href"in i.props)||(u.href=o||r),p.default.cloneElement(i,u)}}]),n}(p.Component);e.default=j},cvCv:function(t,e){t.exports=function(t){return function(){return t}}},dD9F:function(t,e,n){var r=n("NykK"),o=n("shjB"),i=n("ExA7"),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!u[r(t)]}},dTAl:function(t,e,n){var r=n("GoyQ"),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},dt0z:function(t,e,n){var r=n("zoYe");t.exports=function(t){return null==t?"":r(t)}},e4Nc:function(t,e,n){var r=n("fGT3"),o=n("k+1r"),i=n("JHgL"),u=n("pSRY"),a=n("H8j4");function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e1?e-1:0),r=1;r3?e.i-4:e.i:Array.isArray(t)?1:p(t)?2:d(t)?3:0}function c(t,e){return 2===a(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function f(t,e){return 2===a(t)?t.get(e):t[e]}function s(t,e,n){var r=a(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function l(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function p(t){return F&&t instanceof Map}function d(t){return G&&t instanceof Set}function v(t){return t.o||t.t}function y(t){if(Array.isArray(t))return t.slice();var e=$(t);delete e[q];for(var n=H(e),r=0;r1&&(t.set=t.add=t.clear=t.delete=b),Object.freeze(t),e&&u(t,(function(t,e){return h(e,!0)}),!0))}function b(){r(2)}function g(t){var e=Y[t];return e||r(19,t),e}function m(t,e){Y[t]=e}function O(){return U}function j(t,e){e&&(g("Patches"),t.u=[],t.s=[],t.v=e)}function w(t){x(t),t.p.forEach(E),t.p=null}function x(t){t===U&&(U=t.l)}function S(t){return U={p:[],l:U,h:t,m:!0,_:0}}function E(t){var e=t[q];0===e.i||1===e.i?e.j():e.O=!0}function P(t,e){e._=e.p.length;var n=e.p[0],o=void 0!==t&&t!==n;return e.h.g||g("ES5").S(e,t,o),o?(n[q].P&&(w(e),r(4)),i(t)&&(t=A(e,t),e.l||M(e,t)),e.u&&g("Patches").M(n[q],t,e.u,e.s)):t=A(e,n,[]),w(e),e.u&&e.v(e.u,e.s),t!==K?t:void 0}function A(t,e,n){if(null==(r=e)||"object"!=typeof r||Object.isFrozen(r))return e;var r,o=e[q];if(!o)return u(e,(function(r,i){return C(t,o,e,r,i,n)}),!0),e;if(o.A!==t)return e;if(!o.P)return M(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var i=4===o.i||5===o.i?o.o=y(o.k):o.o;u(i,(function(e,r){return C(t,o,i,e,r,n)})),M(t,i,!1),n&&t.u&&g("Patches").R(o,n,t.u,t.s)}return o.o}function C(t,e,n,r,u,a){if(o(u)){var f=A(t,u,a&&e&&3!==e.i&&!c(e.D,r)?a.concat(r):void 0);if(s(n,r,f),!o(f))return;t.m=!1}if(i(u)&&!Object.isFrozen(u)){if(!t.h.N&&t._<1)return;A(t,u),e&&e.A.l||M(t,u)}}function M(t,e,n){void 0===n&&(n=!1),t.h.N&&t.m&&h(e,n)}function N(t,e){var n=t[q];return(n?v(n):t)[e]}function R(t){t.P||(t.P=!0,t.l&&R(t.l))}function _(t){t.o||(t.o=y(t.t))}function k(t,e,n){var r=p(e)?g("MapSet").T(e,n):d(e)?g("MapSet").F(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:O(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},o=r,i=V;n&&(o=[r],i=Z);var u=Proxy.revocable(o,i),a=u.revoke,c=u.proxy;return r.k=c,r.j=a,c}(e,n):g("ES5").J(e,n);return(n?n.A:O()).p.push(r),r}function T(t){return o(t)||r(22,t),function t(e){if(!i(e))return e;var n,r=e[q],o=a(e);if(r){if(!r.P&&(r.i<4||!g("ES5").K(r)))return r.t;r.I=!0,n=I(e,o),r.I=!1}else n=I(e,o);return u(n,(function(e,o){r&&f(r.t,e)===o||s(n,e,t(o))})),3===o?new Set(n):n}(t)}function I(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return y(t)}function D(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[q];return V.get(e,t)},set:function(e){var n=this[q];V.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][q];if(!o.P)switch(o.i){case 5:r(o)&&R(o);break;case 4:n(o)&&R(o)}}}function n(t){for(var e=t.t,n=t.k,r=H(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==q){var u=e[i];if(void 0===u&&!c(e,i))return!0;var a=n[i],f=a&&a[q];if(f?f.t!==u:!l(a,u))return!0}}var s=!!e[q];return r.length!==H(e).length+(s?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);return!(!n||n.get)}var i={};m("ES5",{J:function(e,n){var r=Array.isArray(e),o=function(e,n){var r=$(n);e&&delete r.length,delete r[q];for(var o=H(r),i=0;i1?r-1:0),a=1;a1?n-1:0),i=1;i=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}var i=g("Patches").$;return o(t)?i(t,e):this.produce(t,(function(t){return i(t,e.slice(n+1))}))},t}()),J=X.produce,Q=(X.produceWithPatches.bind(X),X.setAutoFreeze.bind(X),X.setUseProxies.bind(X),X.applyPatches.bind(X),X.createDraft.bind(X),X.finishDraft.bind(X),J),tt=n("ANjH");n("G4qV");function et(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(o){return"function"===typeof o?o(n,r,t):e(o)}}}}var nt=et();nt.withExtraArgument=et;var rt=nt;function ot(){return(ot=Object.assign||function(t){for(var e=1;e=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var u=i;"string"===typeof t[u]&&(e[u]=t[u])}return e}return{message:String(t)}};function wt(t,e,n){var r=yt(t+"/fulfilled",(function(t,e,n){return{payload:t,meta:{arg:n,requestId:e}}})),o=yt(t+"/pending",(function(t,e){return{payload:void 0,meta:{arg:e,requestId:t}}})),i=yt(t+"/rejected",(function(t,e,n,r){var o=!!t&&"AbortError"===t.name,i=!!t&&"ConditionError"===t.name;return{payload:r,error:jt(t||"Rejected"),meta:{arg:n,requestId:e,aborted:o,condition:i}}})),u="undefined"!==typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){}}}return t.prototype.abort=function(){0},t}();return Object.assign((function(t){return function(a,c,f){var s,l=gt(),p=new u,d=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:s||"Aborted"})}))})),v=!1;var y=function(){try{var u,s=function(t){return y?t:(n&&!n.dispatchConditionRejection&&i.match(u)&&u.meta.condition||a(u),u)},y=!1,h=function(t,e){try{var n=t()}catch(r){return e(r)}return n&&n.then?n.then(void 0,e):n}((function(){if(n&&n.condition&&!1===n.condition(t,{getState:c,extra:f}))throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=!0,a(o(l,t)),Promise.resolve(Promise.race([d,Promise.resolve(e(t,{dispatch:a,getState:c,extra:f,requestId:l,signal:p.signal,rejectWithValue:function(t){return new Ot(t)}})).then((function(e){return e instanceof Ot?i(null,l,t,e.value):r(e,l,t)}))])).then((function(t){u=t}))}),(function(e){u=i(e,l,t)}));return Promise.resolve(h&&h.then?h.then(s):s(h))}catch(b){return Promise.reject(b)}}();return Object.assign(y,{abort:function(t){v&&(s=t,p.abort())}})}}),{pending:o,rejected:i,fulfilled:r,typePrefix:t})}D()},juv8:function(t,e,n){var r=n("MrPd"),o=n("hypo");t.exports=function(t,e,n,i){var u=!n;n||(n={});for(var a=-1,c=e.length;++a-1&&t%1==0&&t<=n}},tMB7:function(t,e,n){var r=n("y1pI");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},tadb:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"DataView");t.exports=r},u8Dt:function(t,e,n){var r=n("YESw"),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===o?void 0:n}return i.call(e,t)?e[t]:void 0}},"w/wX":function(t,e,n){var r=n("QqLw"),o=n("ExA7"),i="[object Set]";t.exports=function(t){return o(t)&&r(t)==i}},wJg7:function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=typeof t;return!!(e=null==e?n:e)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t=o?t:r(t,e,n)}},"xs/l":function(t,e,n){var r=n("TYy9"),o=n("Ioao"),i=n("wclG");t.exports=function(t){return i(o(t,void 0,r),t+"")}},y1pI:function(t,e,n){var r=n("ljhN");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},yGk4:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Set");t.exports=r},yHx3:function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},yP5f:function(t,e,n){var r=n("+K+b");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},yeIB:function(t,e,n){"use strict";n.d(e,"d",(function(){return _t})),n.d(e,"e",(function(){return kt})),n.d(e,"g",(function(){return Tt})),n.d(e,"f",(function(){return It})),n.d(e,"h",(function(){return Dt})),n.d(e,"b",(function(){return Lt})),n.d(e,"a",(function(){return Ut})),n.d(e,"c",(function(){return zt}));var r={};n.r(r),n.d(r,"SLICE_NAME",(function(){return C})),n.d(r,"selectSettings",(function(){return M})),n.d(r,"selectWidth",(function(){return N})),n.d(r,"selectHeight",(function(){return R})),n.d(r,"selectExporting",(function(){return _})),n.d(r,"selectSerializedState",(function(){return k})),n.d(r,"default",(function(){return T}));var o={};n.r(o),n.d(o,"SLICE_NAME",(function(){return B})),n.d(o,"selectSettings",(function(){return K})),n.d(o,"selectContextsLoading",(function(){return W})),n.d(o,"selectContexts",(function(){return q})),n.d(o,"selectColumnsLoading",(function(){return H})),n.d(o,"selectColumns",(function(){return $})),n.d(o,"selectCountry",(function(){return Y})),n.d(o,"selectCommodity",(function(){return V})),n.d(o,"selectYear",(function(){return Z})),n.d(o,"selectUnit",(function(){return X})),n.d(o,"selectRegionsLoading",(function(){return J})),n.d(o,"selectRegions",(function(){return Q})),n.d(o,"selectRegion",(function(){return tt})),n.d(o,"selectExportersLoading",(function(){return et})),n.d(o,"selectExporters",(function(){return nt})),n.d(o,"selectExporter",(function(){return rt})),n.d(o,"selectFlowsLoading",(function(){return ot})),n.d(o,"selectFlows",(function(){return it})),n.d(o,"selectCountriesLoading",(function(){return ut})),n.d(o,"selectCountries",(function(){return at})),n.d(o,"selectSourceCountryOptions",(function(){return ct})),n.d(o,"selectSourceCountryName",(function(){return ft})),n.d(o,"selectCommodityOptions",(function(){return st})),n.d(o,"selectCommodityName",(function(){return lt})),n.d(o,"selectContext",(function(){return pt})),n.d(o,"selectUnitOptions",(function(){return dt})),n.d(o,"selectYearOptions",(function(){return vt})),n.d(o,"selectRegionOptions",(function(){return yt})),n.d(o,"selectRegionName",(function(){return ht})),n.d(o,"selectExporterOptions",(function(){return bt})),n.d(o,"selectExporterName",(function(){return gt})),n.d(o,"selectRankingData",(function(){return mt})),n.d(o,"selectCountriesISODict",(function(){return Ot})),n.d(o,"selectFlowScale",(function(){return jt})),n.d(o,"selectCountryIso",(function(){return wt})),n.d(o,"selectDestinationCountriesIso",(function(){return xt})),n.d(o,"selectMapData",(function(){return St})),n.d(o,"selectLoading",(function(){return Et})),n.d(o,"selectSerializedState",(function(){return Pt})),n.d(o,"default",(function(){return At}));var i=n("rePB"),u=n("i7Pf"),a=n("G4qV"),c=(n("NmYn"),function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}),f=function(t){return(t=c(Math.abs(t)))?t[1]:NaN},s=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function l(t){if(!(e=s.exec(t)))throw new Error("invalid format: "+t);var e;return new p({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function p(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}l.prototype=p.prototype,p.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var d,v,y,h=function(t){t:for(var e,n=t.length,r=1,o=-1;r0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t},b=function(t,e){var n=c(t,e);if(!n)return t+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},g={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return b(100*t,e)},r:b,s:function(t,e){var n=c(t,e);if(!n)return t+"";var r=n[0],o=n[1],i=o-(d=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,u=r.length;return i===u?r:i>u?r+new Array(i-u+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+c(t,Math.max(0,e+i-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},m=function(t){return t},O=Array.prototype.map,j=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];v=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?m:(e=O.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var o=t.length,i=[],u=0,a=e[0],c=0;o>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),i.push(t.substring(o-=a,o+a)),!((c+=a+1)>r));)a=e[u=(u+1)%e.length];return i.reverse().join(n)}),o=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?m:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(O.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"-":t.minus+"",p=void 0===t.nan?"NaN":t.nan+"";function v(t){var e=(t=l(t)).fill,n=t.align,f=t.sign,v=t.symbol,y=t.zero,b=t.width,m=t.comma,O=t.precision,w=t.trim,x=t.type;"n"===x?(m=!0,x="g"):g[x]||(void 0===O&&(O=12),w=!0,x="g"),(y||"0"===e&&"="===n)&&(y=!0,e="0",n="=");var S="$"===v?o:"#"===v&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",E="$"===v?i:/[%p]/.test(x)?c:"",P=g[x],A=/[defgprs%]/.test(x);function C(t){var o,i,c,l=S,v=E;if("c"===x)v=P(t)+v,t="";else{var g=(t=+t)<0||1/t<0;if(t=isNaN(t)?p:P(Math.abs(t),O),w&&(t=h(t)),g&&0===+t&&"+"!==f&&(g=!1),l=(g?"("===f?f:s:"-"===f||"("===f?"":f)+l,v=("s"===x?j[8+d/3]:"")+v+(g&&"("===f?")":""),A)for(o=-1,i=t.length;++o(c=t.charCodeAt(o))||c>57){v=(46===c?u+t.slice(o+1):t.slice(o))+v,t=t.slice(0,o);break}}m&&!y&&(t=r(t,1/0));var C=l.length+t.length+v.length,M=C>1)+l+t+v+M.slice(C);break;default:t=M+l+t+v}return a(t)}return O=void 0===O?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,O)):Math.max(0,Math.min(20,O)),C.toString=function(){return t+""},C}return{format:v,formatPrefix:function(t,e){var n=v(((t=l(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(f(e)/3))),o=Math.pow(10,-r),i=j[8+r/3];return function(t){return n(o*t)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),y=v.format,v.formatPrefix;var w=function(t){var e=t.num,n=t.unit;if(void 0===e||null===e)return"\u2212";if(""===n)return y(".2f")(e);var r="%"===n?"2":"3",o=".".concat(r,"%"===n?"r":"s");"counts"===n&&(o=",.0f");var i="%"===n?.1:1,u=e0?"< ".concat(i):y(o)(e);return"%"!==n&&e.01?u=y(".3r")(e):"ha"===n&&e<1e3?u=Math.round(e):e>0&&e<.01&&"%"!==n&&(u="<0.01"),"".concat(u," ").concat(n&&"counts"!==n?n:"")},x=n("1MgH"),S=n("ODXe"),E=n("Puqe"),P=n.n(E);function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var C="export",M=function(t){return t[C]},N=Object(a.a)([M],(function(t){return t.width})),R=Object(a.a)([M],(function(t){return t.height})),_=Object(a.a)([M],(function(t){return t.exporting})),k=Object(a.a)([M],(function(t){return P()(t,"exporting","width","height")})),T=function(t){return Object(u.c)({name:C,initialState:{exporting:!1,width:900,height:600},reducers:{updateSettings:function(t,e){for(var n=0,r=Object.entries(e.payload);n1&&void 0!==arguments[1]?arguments[1]:{};try{return JSON.parse(atob(t))}catch(n){return e}}(Object(x.b)(n).state)}))},Mt=T(Ct),Nt=At(Ct),Rt={selectSerializedState:Object(a.a)([k,Pt],(function(t,e){var n;return function(t){try{return btoa(JSON.stringify(t))}catch(e){return""}}((n={},Object(i.a)(n,C,t),Object(i.a)(n,B,e),n))}))},_t=Ct,kt=Rt,Tt=Nt.reducer,It=Nt.actions,Dt=o,Lt=Mt.reducer,Ut=Mt.actions,zt=r},zEVN:function(t,e,n){var r=n("Gi0A"),o=n("sEf8"),i=n("mdPL"),u=i&&i.isMap,a=u?o(u):r;t.exports=a},zZ0H:function(t,e){t.exports=function(t){return t}},zoYe:function(t,e,n){var r=n("nmnc"),o=n("eUgh"),i=n("Z0cm"),u=n("/9aa"),a=1/0,c=r?r.prototype:void 0,f=c?c.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(u(e))return f?f.call(e):"";var n=e+"";return"0"==n&&1/e==-a?"-0":n}}}]); \ No newline at end of file diff --git a/_next/static/css/static/-rFC8lDoJ153UQ4_oFfPW/pages/_app.js.2deac0c6.chunk.css b/_next/static/css/static/9_Ffkx5n9m5f4kfgEbGUm/pages/_app.js.2deac0c6.chunk.css similarity index 100% rename from _next/static/css/static/-rFC8lDoJ153UQ4_oFfPW/pages/_app.js.2deac0c6.chunk.css rename to _next/static/css/static/9_Ffkx5n9m5f4kfgEbGUm/pages/_app.js.2deac0c6.chunk.css diff --git a/home/component.html b/home/component.html index 0ddaae7..8997df3 100644 --- a/home/component.html +++ b/home/component.html @@ -1,8 +1,8 @@ -Supply chain
Supply chain
Data provided by Trase
\ No newline at end of file + ">
Data provided by Trase
\ No newline at end of file diff --git a/index.html b/index.html index 769a569..6337026 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,8 @@ -Supply chain
Supply chain
Data provided by Trase
\ No newline at end of file + ">
Data provided by Trase
\ No newline at end of file