h2o-wave 0.25.1__py3-none-manylinux1_x86_64.whl → 0.25.2__py3-none-manylinux1_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of h2o-wave might be problematic. Click here for more details.
- h2o_wave/server.py +21 -8
- h2o_wave/version.py +1 -1
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/waved +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/index.html +2 -2
- h2o_wave-0.25.1.data/data/www/wave-static/LocalizationProvider-791c84a4.js → h2o_wave-0.25.2.data/data/www/wave-static/LocalizationProvider-37783156.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/LocalizationProvider-legacy-aa8cc478.js → h2o_wave-0.25.2.data/data/www/wave-static/LocalizationProvider-legacy-96f60a66.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/Paper-fd23f413.js → h2o_wave-0.25.2.data/data/www/wave-static/Paper-4d147184.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/Paper-legacy-550282b4.js → h2o_wave-0.25.2.data/data/www/wave-static/Paper-legacy-121b08d0.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-63586f9a.js → h2o_wave-0.25.2.data/data/www/wave-static/index-3c25791d.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-00a392ce.js → h2o_wave-0.25.2.data/data/www/wave-static/index-48ed503e.js +1 -1
- h2o_wave-0.25.2.data/data/www/wave-static/index-529168e3.js +1 -0
- h2o_wave-0.25.1.data/data/www/wave-static/index-9fe5cfc3.js → h2o_wave-0.25.2.data/data/www/wave-static/index-98d98a8e.js +3 -3
- h2o_wave-0.25.1.data/data/www/wave-static/index-e58cf482.js → h2o_wave-0.25.2.data/data/www/wave-static/index-c3265590.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-682349f7.js → h2o_wave-0.25.2.data/data/www/wave-static/index-e8d47765.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-legacy-36514a26.js → h2o_wave-0.25.2.data/data/www/wave-static/index-legacy-0ee9233a.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-legacy-80452473.js → h2o_wave-0.25.2.data/data/www/wave-static/index-legacy-2d3fc744.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-legacy-cbdef2e3.js → h2o_wave-0.25.2.data/data/www/wave-static/index-legacy-8a2eff9d.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-legacy-a2eccf8a.js → h2o_wave-0.25.2.data/data/www/wave-static/index-legacy-becb296d.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-legacy-7de39754.js → h2o_wave-0.25.2.data/data/www/wave-static/index-legacy-c5ead357.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-legacy-b5f51a1c.js → h2o_wave-0.25.2.data/data/www/wave-static/index-legacy-ed0338c4.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/useThemeProps-4c07ccd3.js → h2o_wave-0.25.2.data/data/www/wave-static/useThemeProps-fea5f4d7.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/useThemeProps-legacy-59cea0af.js → h2o_wave-0.25.2.data/data/www/wave-static/useThemeProps-legacy-a789ba38.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/vega-embed.module-e67823b9.js → h2o_wave-0.25.2.data/data/www/wave-static/vega-embed.module-7711e462.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/vega-embed.module-legacy-178a3b56.js → h2o_wave-0.25.2.data/data/www/wave-static/vega-embed.module-legacy-5d1c4396.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/vega.module-a696f830.js → h2o_wave-0.25.2.data/data/www/wave-static/vega.module-5ec44502.js +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/vega.module-legacy-f95e6434.js → h2o_wave-0.25.2.data/data/www/wave-static/vega.module-legacy-f9b103ce.js +1 -1
- {h2o_wave-0.25.1.dist-info → h2o_wave-0.25.2.dist-info}/METADATA +1 -1
- h2o_wave-0.25.2.dist-info/RECORD +78 -0
- {h2o_wave-0.25.1.dist-info → h2o_wave-0.25.2.dist-info}/WHEEL +1 -1
- h2o_wave-0.25.1.data/data/www/wave-static/index-8fcb8163.js +0 -1
- h2o_wave-0.25.1.dist-info/RECORD +0 -78
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/project_templates/README.md +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/project_templates/header.py +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/project_templates/header_nav.py +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/project_templates/header_sidebar_nav.py +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/project_templates/hello_world.py +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/project_templates/sidebar_nav.py +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/favicon.ico +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/logo192.png +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/logo512.png +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/manifest.json +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/robots.txt +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Black-8b21d5be.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Black-fc10113c.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Bold-3e242080.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Bold-c63158ba.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-ExtraBold-307d9809.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-ExtraBold-f053602c.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-ExtraLight-015dad27.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-ExtraLight-b6cd094a.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Light-36b86832.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Light-4871aed0.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Medium-1b498b95.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Medium-53deda46.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Regular-d612f121.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Regular-ef1f23c0.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-SemiBold-15226129.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-SemiBold-653fed7a.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Thin-77d96c1c.woff2 +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/Inter-Thin-e6bced8e.woff +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/index-17424b44.js +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/index-ac9b477c.css +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/index-legacy-7034fa46.js +0 -0
- {h2o_wave-0.25.1.data → h2o_wave-0.25.2.data}/data/www/wave-static/polyfills-legacy-d6764e4c.js +0 -0
- {h2o_wave-0.25.1.dist-info → h2o_wave-0.25.2.dist-info}/LICENSE +0 -0
- {h2o_wave-0.25.1.dist-info → h2o_wave-0.25.2.dist-info}/entry_points.txt +0 -0
- {h2o_wave-0.25.1.dist-info → h2o_wave-0.25.2.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){function e(){return e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,r){var i=t(e,n);if(i){var a=Object.getOwnPropertyDescriptor(i,n);return a.get?a.get.call(arguments.length<3?e:r):a.value}},e.apply(this,arguments)}function t(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function r(e){var t=l();return function(){var n,r=o(e);if(t){var a=o(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return i(this,n)}}function i(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function c(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n){return u=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&s(i,n.prototype),i},u.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function f(e,t){return p(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,c=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(s){l=!0,i=s}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return c}}(e,t)||m(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e){if(Array.isArray(e))return e}function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||h(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=m(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function m(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(C){u=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var a=t&&t.prototype instanceof d?t:d,o=Object.create(a.prototype),c=new D(i||[]);return r(o,"_invoke",{value:w(e,n,c)}),o}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}e.wrap=l;var f={};function d(){}function p(){}function v(){}var h={};u(h,a,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(F([])));m&&m!==t&&n.call(m,a)&&(h=m);var y=v.prototype=d.prototype=Object.create(h);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function i(r,a,o,c){var u=s(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==j(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,o,c)}),(function(e){i("throw",e,o,c)})):t.resolve(f).then((function(e){l.value=e,o(l)}),(function(e){return i("throw",e,o,c)}))}c(u.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return S()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var c=k(o,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,f;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function F(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=v,r(y,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:p,configurable:!0}),p.displayName=u(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,c,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},O(x.prototype),u(x.prototype,o,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new x(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},O(y),u(y,c,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=F,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:F(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function w(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function k(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===j(t)?t:String(t)}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}System.register(["./vega.module-legacy-f95e6434.js","./index-legacy-80452473.js"],(function(t,i){"use strict";var l,s,y,x,k,E,A,D,F,S,C,_,P,N,T,B,L,R;return{setters:[function(e){l=e.h,s=e.i,y=e.a,x=e.w,k=e.s,E=e.$,A=e.t,D=e.b,F=e.c,S=e.l,C=e.W,_=e.d,P=e.e,N=e.f,T=e.m,B=e.g,L=e.j,R=e.v},null],execute:function(){t({default:function(e,t){return _x.apply(this,arguments)},guessMode:Fx});
|
|
1
|
+
!function(){function e(){return e="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,n,r){var i=t(e,n);if(i){var a=Object.getOwnPropertyDescriptor(i,n);return a.get?a.get.call(arguments.length<3?e:r):a.value}},e.apply(this,arguments)}function t(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function r(e){var t=l();return function(){var n,r=o(e);if(t){var a=o(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return i(this,n)}}function i(e,t){if(t&&("object"===j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function c(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n){return u=l()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&s(i,n.prototype),i},u.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function f(e,t){return p(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,c=[],u=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(c.push(r.value),c.length!==t);u=!0);}catch(s){l=!0,i=s}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return c}}(e,t)||m(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e){if(Array.isArray(e))return e}function v(e){return function(e){if(Array.isArray(e))return y(e)}(e)||h(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=m(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){c=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(c)throw a}}}}function m(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */b=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(C){u=function(e,t,n){return e[t]=n}}function l(e,t,n,i){var a=t&&t.prototype instanceof d?t:d,o=Object.create(a.prototype),c=new D(i||[]);return r(o,"_invoke",{value:w(e,n,c)}),o}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(C){return{type:"throw",arg:C}}}e.wrap=l;var f={};function d(){}function p(){}function v(){}var h={};u(h,a,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(F([])));m&&m!==t&&n.call(m,a)&&(h=m);var y=v.prototype=d.prototype=Object.create(h);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function i(r,a,o,c){var u=s(e[r],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==j(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){i("next",e,o,c)}),(function(e){i("throw",e,o,c)})):t.resolve(f).then((function(e){l.value=e,o(l)}),(function(e){return i("throw",e,o,c)}))}c(u.arg)}var a;r(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function w(e,t,n){var r="suspendedStart";return function(i,a){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw a;return S()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var c=k(o,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=s(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,f;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function F(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:S}}function S(){return{value:void 0,done:!0}}return p.prototype=v,r(y,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:p,configurable:!0}),p.displayName=u(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,c,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},O(x.prototype),u(x.prototype,o,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,i,a){void 0===a&&(a=Promise);var o=new x(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},O(y),u(y,c,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=F,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:F(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function w(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function k(e){var t=function(e,t){if("object"!==j(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===j(t)?t:String(t)}function j(e){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j(e)}System.register(["./vega.module-legacy-f9b103ce.js","./index-legacy-2d3fc744.js"],(function(t,i){"use strict";var l,s,y,x,k,E,A,D,F,S,C,_,P,N,T,B,L,R;return{setters:[function(e){l=e.h,s=e.i,y=e.a,x=e.w,k=e.s,E=e.$,A=e.t,D=e.b,F=e.c,S=e.l,C=e.W,_=e.d,P=e.e,N=e.f,T=e.m,B=e.g,L=e.j,R=e.v},null],execute:function(){t({default:function(e,t){return _x.apply(this,arguments)},guessMode:Fx});
|
|
2
2
|
/*!
|
|
3
3
|
* https://github.com/Starcounter-Jack/JSON-Patch
|
|
4
4
|
* (c) 2017 Joachim Wester
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{R as Rf,r as nw,j as gg,k as pg,C as mg,l as Dy,m as $y,n as uu,o as yl,p as Fy,q as g6,s as p6,u as m6,v as y6,w as v6,x as rw,t as x6,y as b6}from"./index-9fe5cfc3.js";function iw(t){for(var e=t.length,n,r=-1,i=0,a,o;++r<e;)i+=t[r].length;for(a=new Array(i);--e>=0;)for(o=t[e],n=o.length;--n>=0;)a[--i]=o[n];return a}var aw=Math.PI/180,ow=180/Math.PI,vl=18,uw=.96422,sw=1,lw=.82521,fw=4/29,ma=6/29,cw=3*ma*ma,w6=ma*ma*ma;function hw(t){if(t instanceof Un)return new Un(t.l,t.a,t.b,t.opacity);if(t instanceof lr)return dw(t);t instanceof Rf||(t=nw(t));var e=Kc(t.r),n=Kc(t.g),r=Kc(t.b),i=Vc((.2225045*e+.7168786*n+.0606169*r)/sw),a,o;return e===n&&n===r?a=o=i:(a=Vc((.4360747*e+.3850649*n+.1430804*r)/uw),o=Vc((.0139322*e+.0971045*n+.7141733*r)/lw)),new Un(116*i-16,500*(a-i),200*(i-o),t.opacity)}function d0(t,e,n,r){return arguments.length===1?hw(t):new Un(t,e,n,r==null?1:r)}function Un(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}gg(Un,d0,pg(mg,{brighter:function(t){return new Un(this.l+vl*(t==null?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Un(this.l-vl*(t==null?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=uw*Xc(e),t=sw*Xc(t),n=lw*Xc(n),new Rf(Zc(3.1338561*e-1.6168667*t-.4906146*n),Zc(-.9787684*e+1.9161415*t+.033454*n),Zc(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Vc(t){return t>w6?Math.pow(t,1/3):t/cw+fw}function Xc(t){return t>ma?t*t*t:cw*(t-fw)}function Zc(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Kc(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _6(t){if(t instanceof lr)return new lr(t.h,t.c,t.l,t.opacity);if(t instanceof Un||(t=hw(t)),t.a===0&&t.b===0)return new lr(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ow;return new lr(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function g0(t,e,n,r){return arguments.length===1?_6(t):new lr(t,e,n,r==null?1:r)}function lr(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function dw(t){if(isNaN(t.h))return new Un(t.l,0,0,t.opacity);var e=t.h*aw;return new Un(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}gg(lr,g0,pg(mg,{brighter:function(t){return new lr(this.h,this.c,this.l+vl*(t==null?1:t),this.opacity)},darker:function(t){return new lr(this.h,this.c,this.l-vl*(t==null?1:t),this.opacity)},rgb:function(){return dw(this).rgb()}}));var gw=-.14861,yg=1.78277,vg=-.29227,Nf=-.90649,su=1.97294,Ty=su*Nf,Ry=su*yg,Ny=yg*vg-Nf*gw;function M6(t){if(t instanceof xi)return new xi(t.h,t.s,t.l,t.opacity);t instanceof Rf||(t=nw(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Ny*r+Ty*e-Ry*n)/(Ny+Ty-Ry),a=r-i,o=(su*(n-i)-vg*a)/Nf,u=Math.sqrt(o*o+a*a)/(su*i*(1-i)),s=u?Math.atan2(o,a)*ow-120:NaN;return new xi(s<0?s+360:s,u,i,t.opacity)}function p0(t,e,n,r){return arguments.length===1?M6(t):new xi(t,e,n,r==null?1:r)}function xi(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}gg(xi,p0,pg(mg,{brighter:function(t){return t=t==null?Dy:Math.pow(Dy,t),new xi(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?$y:Math.pow($y,t),new xi(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*aw,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new Rf(255*(e+n*(gw*r+yg*i)),255*(e+n*(vg*r+Nf*i)),255*(e+n*(su*r)),this.opacity)}}));function k6(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return pw(this.cover(e,n),e,n,t)}function pw(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,a=t._root,o={data:r},u=t._x0,s=t._y0,l=t._x1,f=t._y1,c,h,d,g,p,m,y,v;if(!a)return t._root=o,t;for(;a.length;)if((p=e>=(c=(u+l)/2))?u=c:l=c,(m=n>=(h=(s+f)/2))?s=h:f=h,i=a,!(a=a[y=m<<1|p]))return i[y]=o,t;if(d=+t._x.call(null,a.data),g=+t._y.call(null,a.data),e===d&&n===g)return o.next=a,i?i[y]=o:t._root=o,t;do i=i?i[y]=new Array(4):t._root=new Array(4),(p=e>=(c=(u+l)/2))?u=c:l=c,(m=n>=(h=(s+f)/2))?s=h:f=h;while((y=m<<1|p)===(v=(g>=h)<<1|d>=c));return i[v]=a,i[y]=o,t}function A6(t){var e,n,r=t.length,i,a,o=new Array(r),u=new Array(r),s=1/0,l=1/0,f=-1/0,c=-1/0;for(n=0;n<r;++n)isNaN(i=+this._x.call(null,e=t[n]))||isNaN(a=+this._y.call(null,e))||(o[n]=i,u[n]=a,i<s&&(s=i),i>f&&(f=i),a<l&&(l=a),a>c&&(c=a));if(s>f||l>c)return this;for(this.cover(s,l).cover(f,c),n=0;n<r;++n)pw(this,o[n],u[n],t[n]);return this}function E6(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,a=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,a=(r=Math.floor(e))+1;else{for(var o=i-n,u=this._root,s,l;n>t||t>=i||r>e||e>=a;)switch(l=(e<r)<<1|t<n,s=new Array(4),s[l]=u,u=s,o*=2,l){case 0:i=n+o,a=r+o;break;case 1:n=i-o,a=r+o;break;case 2:i=n+o,r=a-o;break;case 3:n=i-o,r=a-o;break}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=i,this._y1=a,this}function C6(){var t=[];return this.visit(function(e){if(!e.length)do t.push(e.data);while(e=e.next)}),t}function S6(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function Me(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function D6(t,e,n){var r,i=this._x0,a=this._y0,o,u,s,l,f=this._x1,c=this._y1,h=[],d=this._root,g,p;for(d&&h.push(new Me(d,i,a,f,c)),n==null?n=1/0:(i=t-n,a=e-n,f=t+n,c=e+n,n*=n);g=h.pop();)if(!(!(d=g.node)||(o=g.x0)>f||(u=g.y0)>c||(s=g.x1)<i||(l=g.y1)<a))if(d.length){var m=(o+s)/2,y=(u+l)/2;h.push(new Me(d[3],m,y,s,l),new Me(d[2],o,y,m,l),new Me(d[1],m,u,s,y),new Me(d[0],o,u,m,y)),(p=(e>=y)<<1|t>=m)&&(g=h[h.length-1],h[h.length-1]=h[h.length-1-p],h[h.length-1-p]=g)}else{var v=t-+this._x.call(null,d.data),x=e-+this._y.call(null,d.data),b=v*v+x*x;if(b<n){var _=Math.sqrt(n=b);i=t-_,a=e-_,f=t+_,c=e+_,r=d.data}}return r}function $6(t){if(isNaN(f=+this._x.call(null,t))||isNaN(c=+this._y.call(null,t)))return this;var e,n=this._root,r,i,a,o=this._x0,u=this._y0,s=this._x1,l=this._y1,f,c,h,d,g,p,m,y;if(!n)return this;if(n.length)for(;;){if((g=f>=(h=(o+s)/2))?o=h:s=h,(p=c>=(d=(u+l)/2))?u=d:l=d,e=n,!(n=n[m=p<<1|g]))return this;if(!n.length)break;(e[m+1&3]||e[m+2&3]||e[m+3&3])&&(r=e,y=m)}for(;n.data!==t;)if(i=n,!(n=n.next))return this;return(a=n.next)&&delete n.next,i?(a?i.next=a:delete i.next,this):e?(a?e[m]=a:delete e[m],(n=e[0]||e[1]||e[2]||e[3])&&n===(e[3]||e[2]||e[1]||e[0])&&!n.length&&(r?r[y]=n:this._root=n),this):(this._root=a,this)}function F6(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this}function T6(){return this._root}function R6(){var t=0;return this.visit(function(e){if(!e.length)do++t;while(e=e.next)}),t}function N6(t){var e=[],n,r=this._root,i,a,o,u,s;for(r&&e.push(new Me(r,this._x0,this._y0,this._x1,this._y1));n=e.pop();)if(!t(r=n.node,a=n.x0,o=n.y0,u=n.x1,s=n.y1)&&r.length){var l=(a+u)/2,f=(o+s)/2;(i=r[3])&&e.push(new Me(i,l,f,u,s)),(i=r[2])&&e.push(new Me(i,a,f,l,s)),(i=r[1])&&e.push(new Me(i,l,o,u,f)),(i=r[0])&&e.push(new Me(i,a,o,l,f))}return this}function O6(t){var e=[],n=[],r;for(this._root&&e.push(new Me(this._root,this._x0,this._y0,this._x1,this._y1));r=e.pop();){var i=r.node;if(i.length){var a,o=r.x0,u=r.y0,s=r.x1,l=r.y1,f=(o+s)/2,c=(u+l)/2;(a=i[0])&&e.push(new Me(a,o,u,f,c)),(a=i[1])&&e.push(new Me(a,f,u,s,c)),(a=i[2])&&e.push(new Me(a,o,c,f,l)),(a=i[3])&&e.push(new Me(a,f,c,s,l))}n.push(r)}for(;r=n.pop();)t(r.node,r.x0,r.y0,r.x1,r.y1);return this}function z6(t){return t[0]}function L6(t){return arguments.length?(this._x=t,this):this._x}function B6(t){return t[1]}function P6(t){return arguments.length?(this._y=t,this):this._y}function xg(t,e,n){var r=new bg(e==null?z6:e,n==null?B6:n,NaN,NaN,NaN,NaN);return t==null?r:r.addAll(t)}function bg(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function Oy(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var De=xg.prototype=bg.prototype;De.copy=function(){var t=new bg(this._x,this._y,this._x0,this._y0,this._x1,this._y1),e=this._root,n,r;if(!e)return t;if(!e.length)return t._root=Oy(e),t;for(n=[{source:e,target:t._root=new Array(4)}];e=n.pop();)for(var i=0;i<4;++i)(r=e.source[i])&&(r.length?n.push({source:r,target:e.target[i]=new Array(4)}):e.target[i]=Oy(r));return t};De.add=k6;De.addAll=A6;De.cover=E6;De.data=C6;De.extent=S6;De.find=D6;De.remove=$6;De.removeAll=F6;De.root=T6;De.size=R6;De.visit=N6;De.visitAfter=O6;De.x=L6;De.y=P6;function U6(){return new xl}function xl(){this.reset()}xl.prototype={constructor:xl,reset:function(){this.s=this.t=0},add:function(t){zy(ds,t,this.t),zy(this,ds.s,this.s),this.s?this.t+=ds.t:this.s=ds.t},valueOf:function(){return this.s}};var ds=new xl;function zy(t,e,n){var r=t.s=e+n,i=r-e,a=r-i;t.t=e-a+(n-i)}var Mt=1e-6,ut=Math.PI,tn=ut/2,Ly=ut/4,Mn=ut*2,nr=180/ut,je=ut/180,Bt=Math.abs,I6=Math.atan,lu=Math.atan2,zt=Math.cos,Lt=Math.sin,q6=Math.sign||function(t){return t>0?1:t<0?-1:0},Of=Math.sqrt;function j6(t){return t>1?0:t<-1?ut:Math.acos(t)}function fu(t){return t>1?tn:t<-1?-tn:Math.asin(t)}function Eo(){}function bl(t,e){t&&Py.hasOwnProperty(t.type)&&Py[t.type](t,e)}var By={Feature:function(t,e){bl(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)bl(n[r].geometry,e)}},Py={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){m0(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)m0(n[r],e,0)},Polygon:function(t,e){Uy(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Uy(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)bl(n[r],e)}};function m0(t,e,n){var r=-1,i=t.length-n,a;for(e.lineStart();++r<i;)a=t[r],e.point(a[0],a[1],a[2]);e.lineEnd()}function Uy(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)m0(t[n],e,1);e.polygonEnd()}function Y6(t,e){t&&By.hasOwnProperty(t.type)?By[t.type](t,e):bl(t,e)}function y0(t){return[lu(t[1],t[0]),fu(t[2])]}function Ma(t){var e=t[0],n=t[1],r=zt(n);return[r*zt(e),r*Lt(e),Lt(n)]}function gs(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function wl(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Qc(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ps(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function v0(t){var e=Of(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function x0(t,e){function n(r,i){return r=t(r,i),e(r[0],r[1])}return t.invert&&e.invert&&(n.invert=function(r,i){return r=e.invert(r,i),r&&t.invert(r[0],r[1])}),n}function b0(t,e){return[Bt(t)>ut?t+Math.round(-t/Mn)*Mn:t,e]}b0.invert=b0;function W6(t,e,n){return(t%=Mn)?e||n?x0(qy(t),jy(e,n)):qy(t):e||n?jy(e,n):b0}function Iy(t){return function(e,n){return e+=t,[e>ut?e-Mn:e<-ut?e+Mn:e,n]}}function qy(t){var e=Iy(t);return e.invert=Iy(-t),e}function jy(t,e){var n=zt(t),r=Lt(t),i=zt(e),a=Lt(e);function o(u,s){var l=zt(s),f=zt(u)*l,c=Lt(u)*l,h=Lt(s),d=h*n+f*r;return[lu(c*i-d*a,f*n-h*r),fu(d*i+c*a)]}return o.invert=function(u,s){var l=zt(s),f=zt(u)*l,c=Lt(u)*l,h=Lt(s),d=h*i-c*a;return[lu(c*i+h*a,f*n+d*r),fu(d*n-f*r)]},o}function H6(t,e,n,r,i,a){if(n){var o=zt(e),u=Lt(e),s=r*n;i==null?(i=e+r*Mn,a=e-s/2):(i=Yy(o,i),a=Yy(o,a),(r>0?i<a:i>a)&&(i+=r*Mn));for(var l,f=i;r>0?f>a:f<a;f-=s)l=y0([o,-u*zt(f),-u*Lt(f)]),t.point(l[0],l[1])}}function Yy(t,e){e=Ma(e),e[0]-=t,v0(e);var n=j6(-e[1]);return((-e[2]<0?-n:n)+Mn-Mt)%Mn}function mw(){var t=[],e;return{point:function(n,r,i){e.push([n,r,i])},lineStart:function(){t.push(e=[])},lineEnd:Eo,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function Vs(t,e){return Bt(t[0]-e[0])<Mt&&Bt(t[1]-e[1])<Mt}function ms(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function yw(t,e,n,r,i){var a=[],o=[],u,s;if(t.forEach(function(g){if(!((p=g.length-1)<=0)){var p,m=g[0],y=g[p],v;if(Vs(m,y)){if(!m[2]&&!y[2]){for(i.lineStart(),u=0;u<p;++u)i.point((m=g[u])[0],m[1]);i.lineEnd();return}y[0]+=2*Mt}a.push(v=new ms(m,g,null,!0)),o.push(v.o=new ms(m,null,v,!1)),a.push(v=new ms(y,g,null,!1)),o.push(v.o=new ms(y,null,v,!0))}}),!!a.length){for(o.sort(e),Wy(a),Wy(o),u=0,s=o.length;u<s;++u)o[u].e=n=!n;for(var l=a[0],f,c;;){for(var h=l,d=!0;h.v;)if((h=h.n)===l)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(u=0,s=f.length;u<s;++u)i.point((c=f[u])[0],c[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(f=h.p.z,u=f.length-1;u>=0;--u)i.point((c=f[u])[0],c[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,f=h.z,d=!d}while(!h.v);i.lineEnd()}}}function Wy(t){if(e=t.length){for(var e,n=0,r=t[0],i;++n<e;)r.n=i=t[n],i.p=r,r=i;r.n=i=t[0],i.p=r}}var Jc=U6();function th(t){return Bt(t[0])<=ut?t[0]:q6(t[0])*((Bt(t[0])+ut)%Mn-ut)}function G6(t,e){var n=th(e),r=e[1],i=Lt(r),a=[Lt(n),-zt(n),0],o=0,u=0;Jc.reset(),i===1?r=tn+Mt:i===-1&&(r=-tn-Mt);for(var s=0,l=t.length;s<l;++s)if(c=(f=t[s]).length)for(var f,c,h=f[c-1],d=th(h),g=h[1]/2+Ly,p=Lt(g),m=zt(g),y=0;y<c;++y,d=x,p=_,m=M,h=v){var v=f[y],x=th(v),b=v[1]/2+Ly,_=Lt(b),M=zt(b),w=x-d,A=w>=0?1:-1,S=A*w,C=S>ut,E=p*_;if(Jc.add(lu(E*A*Lt(S),m*M+E*zt(S))),o+=C?w+A*Mn:w,C^d>=n^x>=n){var $=wl(Ma(h),Ma(v));v0($);var F=wl(a,$);v0(F);var L=(C^w>=0?-1:1)*fu(F[2]);(r>L||r===L&&($[0]||$[1]))&&(u+=C^w>=0?1:-1)}}return(o<-Mt||o<Mt&&Jc<-Mt)^u&1}function vw(t,e,n,r){return function(i){var a=e(i),o=mw(),u=e(o),s=!1,l,f,c,h={point:d,lineStart:p,lineEnd:m,polygonStart:function(){h.point=y,h.lineStart=v,h.lineEnd=x,f=[],l=[]},polygonEnd:function(){h.point=d,h.lineStart=p,h.lineEnd=m,f=iw(f);var b=G6(l,r);f.length?(s||(i.polygonStart(),s=!0),yw(f,X6,b,n,i)):b&&(s||(i.polygonStart(),s=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),s&&(i.polygonEnd(),s=!1),f=l=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(b,_){t(b,_)&&i.point(b,_)}function g(b,_){a.point(b,_)}function p(){h.point=g,a.lineStart()}function m(){h.point=d,a.lineEnd()}function y(b,_){c.push([b,_]),u.point(b,_)}function v(){u.lineStart(),c=[]}function x(){y(c[0][0],c[0][1]),u.lineEnd();var b=u.clean(),_=o.result(),M,w=_.length,A,S,C;if(c.pop(),l.push(c),c=null,!!w){if(b&1){if(S=_[0],(A=S.length-1)>0){for(s||(i.polygonStart(),s=!0),i.lineStart(),M=0;M<A;++M)i.point((C=S[M])[0],C[1]);i.lineEnd()}return}w>1&&b&2&&_.push(_.pop().concat(_.shift())),f.push(_.filter(V6))}}return h}}function V6(t){return t.length>1}function X6(t,e){return((t=t.x)[0]<0?t[1]-tn-Mt:tn-t[1])-((e=e.x)[0]<0?e[1]-tn-Mt:tn-e[1])}const Hy=vw(function(){return!0},Z6,Q6,[-ut,-tn]);function Z6(t){var e=NaN,n=NaN,r=NaN,i;return{lineStart:function(){t.lineStart(),i=1},point:function(a,o){var u=a>0?ut:-ut,s=Bt(a-e);Bt(s-ut)<Mt?(t.point(e,n=(n+o)/2>0?tn:-tn),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(u,n),t.point(a,n),i=0):r!==u&&s>=ut&&(Bt(e-r)<Mt&&(e-=r*Mt),Bt(a-u)<Mt&&(a-=u*Mt),n=K6(e,n,a,o),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(u,n),i=0),t.point(e=a,n=o),r=u},lineEnd:function(){t.lineEnd(),e=n=NaN},clean:function(){return 2-i}}}function K6(t,e,n,r){var i,a,o=Lt(t-n);return Bt(o)>Mt?I6((Lt(e)*(a=zt(r))*Lt(n)-Lt(r)*(i=zt(e))*Lt(t))/(i*a*o)):(e+r)/2}function Q6(t,e,n,r){var i;if(t==null)i=n*tn,r.point(-ut,i),r.point(0,i),r.point(ut,i),r.point(ut,0),r.point(ut,-i),r.point(0,-i),r.point(-ut,-i),r.point(-ut,0),r.point(-ut,i);else if(Bt(t[0]-e[0])>Mt){var a=t[0]<e[0]?ut:-ut;i=n*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(e[0],e[1])}function J6(t){var e=zt(t),n=6*je,r=e>0,i=Bt(e)>Mt;function a(f,c,h,d){H6(d,t,n,h,f,c)}function o(f,c){return zt(f)*zt(c)>e}function u(f){var c,h,d,g,p;return{lineStart:function(){g=d=!1,p=1},point:function(m,y){var v=[m,y],x,b=o(m,y),_=r?b?0:l(m,y):b?l(m+(m<0?ut:-ut),y):0;if(!c&&(g=d=b)&&f.lineStart(),b!==d&&(x=s(c,v),(!x||Vs(c,x)||Vs(v,x))&&(v[2]=1)),b!==d)p=0,b?(f.lineStart(),x=s(v,c),f.point(x[0],x[1])):(x=s(c,v),f.point(x[0],x[1],2),f.lineEnd()),c=x;else if(i&&c&&r^b){var M;!(_&h)&&(M=s(v,c,!0))&&(p=0,r?(f.lineStart(),f.point(M[0][0],M[0][1]),f.point(M[1][0],M[1][1]),f.lineEnd()):(f.point(M[1][0],M[1][1]),f.lineEnd(),f.lineStart(),f.point(M[0][0],M[0][1],3)))}b&&(!c||!Vs(c,v))&&f.point(v[0],v[1]),c=v,d=b,h=_},lineEnd:function(){d&&f.lineEnd(),c=null},clean:function(){return p|(g&&d)<<1}}}function s(f,c,h){var d=Ma(f),g=Ma(c),p=[1,0,0],m=wl(d,g),y=gs(m,m),v=m[0],x=y-v*v;if(!x)return!h&&f;var b=e*y/x,_=-e*v/x,M=wl(p,m),w=ps(p,b),A=ps(m,_);Qc(w,A);var S=M,C=gs(w,S),E=gs(S,S),$=C*C-E*(gs(w,w)-1);if(!($<0)){var F=Of($),L=ps(S,(-C-F)/E);if(Qc(L,w),L=y0(L),!h)return L;var k=f[0],T=c[0],B=f[1],U=c[1],q;T<k&&(q=k,k=T,T=q);var it=T-k,lt=Bt(it-ut)<Mt,At=lt||it<Mt;if(!lt&&U<B&&(q=B,B=U,U=q),At?lt?B+U>0^L[1]<(Bt(L[0]-k)<Mt?B:U):B<=L[1]&&L[1]<=U:it>ut^(k<=L[0]&&L[0]<=T)){var bt=ps(S,(-C+F)/E);return Qc(bt,w),[L,y0(bt)]}}}function l(f,c){var h=r?t:ut-t,d=0;return f<-h?d|=1:f>h&&(d|=2),c<-h?d|=4:c>h&&(d|=8),d}return vw(o,u,a,r?[0,-t]:[-ut,t-ut])}function t4(t,e,n,r,i,a){var o=t[0],u=t[1],s=e[0],l=e[1],f=0,c=1,h=s-o,d=l-u,g;if(g=n-o,!(!h&&g>0)){if(g/=h,h<0){if(g<f)return;g<c&&(c=g)}else if(h>0){if(g>c)return;g>f&&(f=g)}if(g=i-o,!(!h&&g<0)){if(g/=h,h<0){if(g>c)return;g>f&&(f=g)}else if(h>0){if(g<f)return;g<c&&(c=g)}if(g=r-u,!(!d&&g>0)){if(g/=d,d<0){if(g<f)return;g<c&&(c=g)}else if(d>0){if(g>c)return;g>f&&(f=g)}if(g=a-u,!(!d&&g<0)){if(g/=d,d<0){if(g>c)return;g>f&&(f=g)}else if(d>0){if(g<f)return;g<c&&(c=g)}return f>0&&(t[0]=o+f*h,t[1]=u+f*d),c<1&&(e[0]=o+c*h,e[1]=u+c*d),!0}}}}}var Co=1e9,ys=-Co;function e4(t,e,n,r){function i(l,f){return t<=l&&l<=n&&e<=f&&f<=r}function a(l,f,c,h){var d=0,g=0;if(l==null||(d=o(l,c))!==(g=o(f,c))||s(l,f)<0^c>0)do h.point(d===0||d===3?t:n,d>1?r:e);while((d=(d+c+4)%4)!==g);else h.point(f[0],f[1])}function o(l,f){return Bt(l[0]-t)<Mt?f>0?0:3:Bt(l[0]-n)<Mt?f>0?2:1:Bt(l[1]-e)<Mt?f>0?1:0:f>0?3:2}function u(l,f){return s(l.x,f.x)}function s(l,f){var c=o(l,1),h=o(f,1);return c!==h?c-h:c===0?f[1]-l[1]:c===1?l[0]-f[0]:c===2?l[1]-f[1]:f[0]-l[0]}return function(l){var f=l,c=mw(),h,d,g,p,m,y,v,x,b,_,M,w={point:A,lineStart:$,lineEnd:F,polygonStart:C,polygonEnd:E};function A(k,T){i(k,T)&&f.point(k,T)}function S(){for(var k=0,T=0,B=d.length;T<B;++T)for(var U=d[T],q=1,it=U.length,lt=U[0],At,bt,Dt=lt[0],Ot=lt[1];q<it;++q)At=Dt,bt=Ot,lt=U[q],Dt=lt[0],Ot=lt[1],bt<=r?Ot>r&&(Dt-At)*(r-bt)>(Ot-bt)*(t-At)&&++k:Ot<=r&&(Dt-At)*(r-bt)<(Ot-bt)*(t-At)&&--k;return k}function C(){f=c,h=[],d=[],M=!0}function E(){var k=S(),T=M&&k,B=(h=iw(h)).length;(T||B)&&(l.polygonStart(),T&&(l.lineStart(),a(null,null,1,l),l.lineEnd()),B&&yw(h,u,k,a,l),l.polygonEnd()),f=l,h=d=g=null}function $(){w.point=L,d&&d.push(g=[]),_=!0,b=!1,v=x=NaN}function F(){h&&(L(p,m),y&&b&&c.rejoin(),h.push(c.result())),w.point=A,b&&f.lineEnd()}function L(k,T){var B=i(k,T);if(d&&g.push([k,T]),_)p=k,m=T,y=B,_=!1,B&&(f.lineStart(),f.point(k,T));else if(B&&b)f.point(k,T);else{var U=[v=Math.max(ys,Math.min(Co,v)),x=Math.max(ys,Math.min(Co,x))],q=[k=Math.max(ys,Math.min(Co,k)),T=Math.max(ys,Math.min(Co,T))];t4(U,q,t,e,n,r)?(b||(f.lineStart(),f.point(U[0],U[1])),f.point(q[0],q[1]),B||f.lineEnd(),M=!1):B&&(f.lineStart(),f.point(k,T),M=!1)}v=k,x=T,b=B}return w}}function Gy(t){return t}var ka=1/0,_l=ka,cu=-ka,Ml=cu,n4={point:r4,lineStart:Eo,lineEnd:Eo,polygonStart:Eo,polygonEnd:Eo,result:function(){var t=[[ka,_l],[cu,Ml]];return cu=Ml=-(_l=ka=1/0),t}};function r4(t,e){t<ka&&(ka=t),t>cu&&(cu=t),e<_l&&(_l=e),e>Ml&&(Ml=e)}const Vy=n4;function wg(t){return function(e){var n=new w0;for(var r in t)n[r]=t[r];return n.stream=e,n}}function w0(){}w0.prototype={constructor:w0,point:function(t,e){this.stream.point(t,e)},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()}};function _g(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),r!=null&&t.clipExtent(null),Y6(n,t.stream(Vy)),e(Vy.result()),r!=null&&t.clipExtent(r),t}function xw(t,e,n){return _g(t,function(r){var i=e[1][0]-e[0][0],a=e[1][1]-e[0][1],o=Math.min(i/(r[1][0]-r[0][0]),a/(r[1][1]-r[0][1])),u=+e[0][0]+(i-o*(r[1][0]+r[0][0]))/2,s=+e[0][1]+(a-o*(r[1][1]+r[0][1]))/2;t.scale(150*o).translate([u,s])},n)}function i4(t,e,n){return xw(t,[[0,0],e],n)}function a4(t,e,n){return _g(t,function(r){var i=+e,a=i/(r[1][0]-r[0][0]),o=(i-a*(r[1][0]+r[0][0]))/2,u=-a*r[0][1];t.scale(150*a).translate([o,u])},n)}function o4(t,e,n){return _g(t,function(r){var i=+e,a=i/(r[1][1]-r[0][1]),o=-a*r[0][0],u=(i-a*(r[1][1]+r[0][1]))/2;t.scale(150*a).translate([o,u])},n)}var Xy=16,u4=zt(30*je);function Zy(t,e){return+e?l4(t,e):s4(t)}function s4(t){return wg({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function l4(t,e){function n(r,i,a,o,u,s,l,f,c,h,d,g,p,m){var y=l-r,v=f-i,x=y*y+v*v;if(x>4*e&&p--){var b=o+h,_=u+d,M=s+g,w=Of(b*b+_*_+M*M),A=fu(M/=w),S=Bt(Bt(M)-1)<Mt||Bt(a-c)<Mt?(a+c)/2:lu(_,b),C=t(S,A),E=C[0],$=C[1],F=E-r,L=$-i,k=v*F-y*L;(k*k/x>e||Bt((y*F+v*L)/x-.5)>.3||o*h+u*d+s*g<u4)&&(n(r,i,a,o,u,s,E,$,S,b/=w,_/=w,M,p,m),m.point(E,$),n(E,$,S,b,_,M,l,f,c,h,d,g,p,m))}}return function(r){var i,a,o,u,s,l,f,c,h,d,g,p,m={point:y,lineStart:v,lineEnd:b,polygonStart:function(){r.polygonStart(),m.lineStart=_},polygonEnd:function(){r.polygonEnd(),m.lineStart=v}};function y(A,S){A=t(A,S),r.point(A[0],A[1])}function v(){c=NaN,m.point=x,r.lineStart()}function x(A,S){var C=Ma([A,S]),E=t(A,S);n(c,h,f,d,g,p,c=E[0],h=E[1],f=A,d=C[0],g=C[1],p=C[2],Xy,r),r.point(c,h)}function b(){m.point=y,r.lineEnd()}function _(){v(),m.point=M,m.lineEnd=w}function M(A,S){x(i=A,S),a=c,o=h,u=d,s=g,l=p,m.point=x}function w(){n(c,h,f,d,g,p,a,o,i,u,s,l,Xy,r),m.lineEnd=b,b()}return m}}var f4=wg({point:function(t,e){this.stream.point(t*je,e*je)}});function c4(t){return wg({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}function h4(t,e,n,r,i){function a(o,u){return o*=r,u*=i,[e+t*o,n-t*u]}return a.invert=function(o,u){return[(o-e)/t*r,(n-u)/t*i]},a}function Ky(t,e,n,r,i,a){var o=zt(a),u=Lt(a),s=o*t,l=u*t,f=o/t,c=u/t,h=(u*n-o*e)/t,d=(u*e+o*n)/t;function g(p,m){return p*=r,m*=i,[s*p-l*m+e,n-l*p-s*m]}return g.invert=function(p,m){return[r*(f*p-c*m+h),i*(d-c*p-f*m)]},g}function d4(t){return g4(function(){return t})()}function g4(t){var e,n=150,r=480,i=250,a=0,o=0,u=0,s=0,l=0,f,c=0,h=1,d=1,g=null,p=Hy,m=null,y,v,x,b=Gy,_=.5,M,w,A,S,C;function E(k){return A(k[0]*je,k[1]*je)}function $(k){return k=A.invert(k[0],k[1]),k&&[k[0]*nr,k[1]*nr]}E.stream=function(k){return S&&C===k?S:S=f4(c4(f)(p(M(b(C=k)))))},E.preclip=function(k){return arguments.length?(p=k,g=void 0,L()):p},E.postclip=function(k){return arguments.length?(b=k,m=y=v=x=null,L()):b},E.clipAngle=function(k){return arguments.length?(p=+k?J6(g=k*je):(g=null,Hy),L()):g*nr},E.clipExtent=function(k){return arguments.length?(b=k==null?(m=y=v=x=null,Gy):e4(m=+k[0][0],y=+k[0][1],v=+k[1][0],x=+k[1][1]),L()):m==null?null:[[m,y],[v,x]]},E.scale=function(k){return arguments.length?(n=+k,F()):n},E.translate=function(k){return arguments.length?(r=+k[0],i=+k[1],F()):[r,i]},E.center=function(k){return arguments.length?(a=k[0]%360*je,o=k[1]%360*je,F()):[a*nr,o*nr]},E.rotate=function(k){return arguments.length?(u=k[0]%360*je,s=k[1]%360*je,l=k.length>2?k[2]%360*je:0,F()):[u*nr,s*nr,l*nr]},E.angle=function(k){return arguments.length?(c=k%360*je,F()):c*nr},E.reflectX=function(k){return arguments.length?(h=k?-1:1,F()):h<0},E.reflectY=function(k){return arguments.length?(d=k?-1:1,F()):d<0},E.precision=function(k){return arguments.length?(M=Zy(w,_=k*k),L()):Of(_)},E.fitExtent=function(k,T){return xw(E,k,T)},E.fitSize=function(k,T){return i4(E,k,T)},E.fitWidth=function(k,T){return a4(E,k,T)},E.fitHeight=function(k,T){return o4(E,k,T)};function F(){var k=Ky(n,0,0,h,d,c).apply(null,e(a,o)),T=(c?Ky:h4)(n,r-k[0],i-k[1],h,d,c);return f=W6(u,s,l),w=x0(e,T),A=x0(f,w),M=Zy(w,_),L()}function L(){return S=C=null,E}return function(){return e=t.apply(this,arguments),E.invert=e.invert&&$,F()}}var eh=new Date,nh=new Date;function yr(t,e,n,r){function i(a){return t(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return t(a=new Date(+a)),a},i.ceil=function(a){return t(a=new Date(a-1)),e(a,1),t(a),a},i.round=function(a){var o=i(a),u=i.ceil(a);return a-o<u-a?o:u},i.offset=function(a,o){return e(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,u){var s=[],l;if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return s;do s.push(l=new Date(+a)),e(a,u),t(a);while(l<a&&a<o);return s},i.filter=function(a){return yr(function(o){if(o>=o)for(;t(o),!a(o);)o.setTime(o-1)},function(o,u){if(o>=o)if(u<0)for(;++u<=0;)for(;e(o,-1),!a(o););else for(;--u>=0;)for(;e(o,1),!a(o););})},n&&(i.count=function(a,o){return eh.setTime(+a),nh.setTime(+o),t(eh),t(nh),Math.floor(n(eh,nh))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?function(o){return r(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}var bw=6e4,ww=864e5,_w=6048e5,Mw=yr(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*bw)/ww},function(t){return t.getDate()-1});const zf=Mw;Mw.range;function Ni(t){return yr(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,n){e.setDate(e.getDate()+n*7)},function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*bw)/_w})}var Mg=Ni(0),_i=Ni(1),p4=Ni(2),m4=Ni(3),kn=Ni(4),y4=Ni(5),v4=Ni(6);Mg.range;_i.range;p4.range;m4.range;kn.range;y4.range;v4.range;var kg=yr(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});kg.every=function(t){return!isFinite(t=Math.floor(t))||!(t>0)?null:yr(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)})};const Hn=kg;kg.range;var kw=yr(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/ww},function(t){return t.getUTCDate()-1});const Lf=kw;kw.range;function Oi(t){return yr(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCDate(e.getUTCDate()+n*7)},function(e,n){return(n-e)/_w})}var Ag=Oi(0),Mi=Oi(1),x4=Oi(2),b4=Oi(3),An=Oi(4),w4=Oi(5),_4=Oi(6);Ag.range;Mi.range;x4.range;b4.range;An.range;w4.range;_4.range;var Eg=yr(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Eg.every=function(t){return!isFinite(t=Math.floor(t))||!(t>0)?null:yr(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})};const Gn=Eg;Eg.range;function rh(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ih(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function eo(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function M4(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,u=t.months,s=t.shortMonths,l=no(i),f=ro(i),c=no(a),h=ro(a),d=no(o),g=ro(o),p=no(u),m=ro(u),y=no(s),v=ro(s),x={a:B,A:U,b:q,B:it,c:null,d:r2,e:r2,f:H4,g:nS,G:iS,H:j4,I:Y4,j:W4,L:Aw,m:G4,M:V4,p:lt,q:At,Q:o2,s:u2,S:X4,u:Z4,U:K4,V:Q4,w:J4,W:tS,x:null,X:null,y:eS,Y:rS,Z:aS,"%":a2},b={a:bt,A:Dt,b:Ot,B:ri,c:null,d:i2,e:i2,f:lS,g:xS,G:wS,H:oS,I:uS,j:sS,L:Cw,m:fS,M:cS,p:ii,q:ai,Q:o2,s:u2,S:hS,u:dS,U:gS,V:pS,w:mS,W:yS,x:null,X:null,y:vS,Y:bS,Z:_S,"%":a2},_={a:C,A:E,b:$,B:F,c:L,d:e2,e:e2,f:P4,g:t2,G:Jy,H:n2,I:n2,j:O4,L:B4,m:N4,M:z4,p:S,q:R4,Q:I4,s:q4,S:L4,u:S4,U:D4,V:$4,w:C4,W:F4,x:k,X:T,y:t2,Y:Jy,Z:T4,"%":U4};x.x=M(n,x),x.X=M(r,x),x.c=M(e,x),b.x=M(n,b),b.X=M(r,b),b.c=M(e,b);function M(N,I){return function(j){var D=[],mt=-1,X=0,wt=N.length,_t,me,to;for(j instanceof Date||(j=new Date(+j));++mt<wt;)N.charCodeAt(mt)===37&&(D.push(N.slice(X,mt)),(me=Qy[_t=N.charAt(++mt)])!=null?_t=N.charAt(++mt):me=_t==="e"?" ":"0",(to=I[_t])&&(_t=to(j,me)),D.push(_t),X=mt+1);return D.push(N.slice(X,mt)),D.join("")}}function w(N,I){return function(j){var D=eo(1900,void 0,1),mt=A(D,N,j+="",0),X,wt;if(mt!=j.length)return null;if("Q"in D)return new Date(D.Q);if("s"in D)return new Date(D.s*1e3+("L"in D?D.L:0));if(I&&!("Z"in D)&&(D.Z=0),"p"in D&&(D.H=D.H%12+D.p*12),D.m===void 0&&(D.m="q"in D?D.q:0),"V"in D){if(D.V<1||D.V>53)return null;"w"in D||(D.w=1),"Z"in D?(X=ih(eo(D.y,0,1)),wt=X.getUTCDay(),X=wt>4||wt===0?Mi.ceil(X):Mi(X),X=Lf.offset(X,(D.V-1)*7),D.y=X.getUTCFullYear(),D.m=X.getUTCMonth(),D.d=X.getUTCDate()+(D.w+6)%7):(X=rh(eo(D.y,0,1)),wt=X.getDay(),X=wt>4||wt===0?_i.ceil(X):_i(X),X=zf.offset(X,(D.V-1)*7),D.y=X.getFullYear(),D.m=X.getMonth(),D.d=X.getDate()+(D.w+6)%7)}else("W"in D||"U"in D)&&("w"in D||(D.w="u"in D?D.u%7:"W"in D?1:0),wt="Z"in D?ih(eo(D.y,0,1)).getUTCDay():rh(eo(D.y,0,1)).getDay(),D.m=0,D.d="W"in D?(D.w+6)%7+D.W*7-(wt+5)%7:D.w+D.U*7-(wt+6)%7);return"Z"in D?(D.H+=D.Z/100|0,D.M+=D.Z%100,ih(D)):rh(D)}}function A(N,I,j,D){for(var mt=0,X=I.length,wt=j.length,_t,me;mt<X;){if(D>=wt)return-1;if(_t=I.charCodeAt(mt++),_t===37){if(_t=I.charAt(mt++),me=_[_t in Qy?I.charAt(mt++):_t],!me||(D=me(N,j,D))<0)return-1}else if(_t!=j.charCodeAt(D++))return-1}return D}function S(N,I,j){var D=l.exec(I.slice(j));return D?(N.p=f[D[0].toLowerCase()],j+D[0].length):-1}function C(N,I,j){var D=d.exec(I.slice(j));return D?(N.w=g[D[0].toLowerCase()],j+D[0].length):-1}function E(N,I,j){var D=c.exec(I.slice(j));return D?(N.w=h[D[0].toLowerCase()],j+D[0].length):-1}function $(N,I,j){var D=y.exec(I.slice(j));return D?(N.m=v[D[0].toLowerCase()],j+D[0].length):-1}function F(N,I,j){var D=p.exec(I.slice(j));return D?(N.m=m[D[0].toLowerCase()],j+D[0].length):-1}function L(N,I,j){return A(N,e,I,j)}function k(N,I,j){return A(N,n,I,j)}function T(N,I,j){return A(N,r,I,j)}function B(N){return o[N.getDay()]}function U(N){return a[N.getDay()]}function q(N){return s[N.getMonth()]}function it(N){return u[N.getMonth()]}function lt(N){return i[+(N.getHours()>=12)]}function At(N){return 1+~~(N.getMonth()/3)}function bt(N){return o[N.getUTCDay()]}function Dt(N){return a[N.getUTCDay()]}function Ot(N){return s[N.getUTCMonth()]}function ri(N){return u[N.getUTCMonth()]}function ii(N){return i[+(N.getUTCHours()>=12)]}function ai(N){return 1+~~(N.getUTCMonth()/3)}return{format:function(N){var I=M(N+="",x);return I.toString=function(){return N},I},parse:function(N){var I=w(N+="",!1);return I.toString=function(){return N},I},utcFormat:function(N){var I=M(N+="",b);return I.toString=function(){return N},I},utcParse:function(N){var I=w(N+="",!0);return I.toString=function(){return N},I}}}var Qy={"-":"",_:" ",0:"0"},Xt=/^\s*\d+/,k4=/^%/,A4=/[\\^$*+?|[\]().{}]/g;function ct(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function E4(t){return t.replace(A4,"\\$&")}function no(t){return new RegExp("^(?:"+t.map(E4).join("|")+")","i")}function ro(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function C4(t,e,n){var r=Xt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function S4(t,e,n){var r=Xt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function D4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function $4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function F4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Jy(t,e,n){var r=Xt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function t2(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function T4(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function R4(t,e,n){var r=Xt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function N4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function e2(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function O4(t,e,n){var r=Xt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function n2(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function z4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function L4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function B4(t,e,n){var r=Xt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function P4(t,e,n){var r=Xt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function U4(t,e,n){var r=k4.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function I4(t,e,n){var r=Xt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function q4(t,e,n){var r=Xt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function r2(t,e){return ct(t.getDate(),e,2)}function j4(t,e){return ct(t.getHours(),e,2)}function Y4(t,e){return ct(t.getHours()%12||12,e,2)}function W4(t,e){return ct(1+zf.count(Hn(t),t),e,3)}function Aw(t,e){return ct(t.getMilliseconds(),e,3)}function H4(t,e){return Aw(t,e)+"000"}function G4(t,e){return ct(t.getMonth()+1,e,2)}function V4(t,e){return ct(t.getMinutes(),e,2)}function X4(t,e){return ct(t.getSeconds(),e,2)}function Z4(t){var e=t.getDay();return e===0?7:e}function K4(t,e){return ct(Mg.count(Hn(t)-1,t),e,2)}function Ew(t){var e=t.getDay();return e>=4||e===0?kn(t):kn.ceil(t)}function Q4(t,e){return t=Ew(t),ct(kn.count(Hn(t),t)+(Hn(t).getDay()===4),e,2)}function J4(t){return t.getDay()}function tS(t,e){return ct(_i.count(Hn(t)-1,t),e,2)}function eS(t,e){return ct(t.getFullYear()%100,e,2)}function nS(t,e){return t=Ew(t),ct(t.getFullYear()%100,e,2)}function rS(t,e){return ct(t.getFullYear()%1e4,e,4)}function iS(t,e){var n=t.getDay();return t=n>=4||n===0?kn(t):kn.ceil(t),ct(t.getFullYear()%1e4,e,4)}function aS(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ct(e/60|0,"0",2)+ct(e%60,"0",2)}function i2(t,e){return ct(t.getUTCDate(),e,2)}function oS(t,e){return ct(t.getUTCHours(),e,2)}function uS(t,e){return ct(t.getUTCHours()%12||12,e,2)}function sS(t,e){return ct(1+Lf.count(Gn(t),t),e,3)}function Cw(t,e){return ct(t.getUTCMilliseconds(),e,3)}function lS(t,e){return Cw(t,e)+"000"}function fS(t,e){return ct(t.getUTCMonth()+1,e,2)}function cS(t,e){return ct(t.getUTCMinutes(),e,2)}function hS(t,e){return ct(t.getUTCSeconds(),e,2)}function dS(t){var e=t.getUTCDay();return e===0?7:e}function gS(t,e){return ct(Ag.count(Gn(t)-1,t),e,2)}function Sw(t){var e=t.getUTCDay();return e>=4||e===0?An(t):An.ceil(t)}function pS(t,e){return t=Sw(t),ct(An.count(Gn(t),t)+(Gn(t).getUTCDay()===4),e,2)}function mS(t){return t.getUTCDay()}function yS(t,e){return ct(Mi.count(Gn(t)-1,t),e,2)}function vS(t,e){return ct(t.getUTCFullYear()%100,e,2)}function xS(t,e){return t=Sw(t),ct(t.getUTCFullYear()%100,e,2)}function bS(t,e){return ct(t.getUTCFullYear()%1e4,e,4)}function wS(t,e){var n=t.getUTCDay();return t=n>=4||n===0?An(t):An.ceil(t),ct(t.getUTCFullYear()%1e4,e,4)}function _S(){return"+0000"}function a2(){return"%"}function o2(t){return+t}function u2(t){return Math.floor(+t/1e3)}var Zi,Dw,$w;MS({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function MS(t){return Zi=M4(t),Dw=Zi.format,Zi.parse,$w=Zi.utcFormat,Zi.utcParse,Zi}function Ie(t,e,n){return t.fields=e||[],t.fname=n,t}function Nt(t){return t==null?null:t.fname}function fe(t){return t==null?null:t.fields}function Fw(t){return t.length===1?kS(t[0]):AS(t)}const kS=t=>function(e){return e[t]},AS=t=>{const e=t.length;return function(n){for(let r=0;r<e;++r)n=n[t[r]];return n}};function z(t){throw Error(t)}function Bf(t){const e=[],n=t.length;let r=null,i=0,a="",o,u,s;t=t+"";function l(){e.push(a+t.substring(o,u)),a="",o=u+1}for(o=u=0;u<n;++u)if(s=t[u],s==="\\")a+=t.substring(o,u),a+=t.substring(++u,++u),o=u;else if(s===r)l(),r=null,i=-1;else{if(r)continue;o===i&&s==='"'||o===i&&s==="'"?(o=u+1,r=s):s==="."&&!i?u>o?l():o=u+1:s==="["?(u>o&&l(),i=o=u+1):s==="]"&&(i||z("Access path missing open bracket: "+t),i>0&&l(),i=0,o=u+1)}return i&&z("Access path missing closing bracket: "+t),r&&z("Access path missing closing quote: "+t),u>o&&(u++,l()),e}function Le(t,e,n){const r=Bf(t);return t=r.length===1?r[0]:t,Ie((n&&n.get||Fw)(r),[t],e||t)}const zu=Le("id"),Ee=Ie(t=>t,[],"identity"),$r=Ie(()=>0,[],"zero"),qa=Ie(()=>1,[],"one"),sn=Ie(()=>!0,[],"true"),Mr=Ie(()=>!1,[],"false");function vs(t,e,n){const r=[e].concat([].slice.call(n));console[t].apply(console,r)}const Tw=0,Cg=1,Rw=2,Nw=3,Ow=4;function zw(t,e){let n=t||Tw;return{level(r){return arguments.length?(n=+r,this):n},error(){return n>=Cg&&vs(e||"error","ERROR",arguments),this},warn(){return n>=Rw&&vs(e||"warn","WARN",arguments),this},info(){return n>=Nw&&vs(e||"log","INFO",arguments),this},debug(){return n>=Ow&&vs(e||"log","DEBUG",arguments),this}}}var G=Array.isArray;function et(t){return t===Object(t)}const s2=t=>t!=="__proto__";function Lw(...t){return t.reduce((e,n)=>{for(const r in n)if(r==="signals")e.signals=ES(e.signals,n.signals);else{const i=r==="legend"?{layout:1}:r==="style"?!0:null;Sg(e,r,n[r],i)}return e},{})}function Sg(t,e,n,r){if(!s2(e))return;let i,a;if(et(n)&&!G(n)){a=et(t[e])?t[e]:t[e]={};for(i in n)r&&(r===!0||r[i])?Sg(a,i,n[i]):s2(i)&&(a[i]=n[i])}else t[e]=n}function ES(t,e){if(t==null)return e;const n={},r=[];function i(a){n[a.name]||(n[a.name]=1,r.push(a))}return e.forEach(i),t.forEach(i),r}function ot(t){return t[t.length-1]}function le(t){return t==null||t===""?null:+t}const Bw=t=>e=>t*Math.exp(e),Pw=t=>e=>Math.log(t*e),Uw=t=>e=>Math.sign(e)*Math.log1p(Math.abs(e/t)),Iw=t=>e=>Math.sign(e)*Math.expm1(Math.abs(e))*t,kl=t=>e=>e<0?-Math.pow(-e,t):Math.pow(e,t);function Pf(t,e,n,r){const i=n(t[0]),a=n(ot(t)),o=(a-i)*e;return[r(i-o),r(a-o)]}function qw(t,e){return Pf(t,e,le,Ee)}function jw(t,e){var n=Math.sign(t[0]);return Pf(t,e,Pw(n),Bw(n))}function Yw(t,e,n){return Pf(t,e,kl(n),kl(1/n))}function Ww(t,e,n){return Pf(t,e,Uw(n),Iw(n))}function Uf(t,e,n,r,i){const a=r(t[0]),o=r(ot(t)),u=e!=null?r(e):(a+o)/2;return[i(u+(a-u)*n),i(u+(o-u)*n)]}function Dg(t,e,n){return Uf(t,e,n,le,Ee)}function $g(t,e,n){const r=Math.sign(t[0]);return Uf(t,e,n,Pw(r),Bw(r))}function Al(t,e,n,r){return Uf(t,e,n,kl(r),kl(1/r))}function Fg(t,e,n,r){return Uf(t,e,n,Uw(r),Iw(r))}function Hw(t){return 1+~~(new Date(t).getMonth()/3)}function Gw(t){return 1+~~(new Date(t).getUTCMonth()/3)}function Z(t){return t!=null?G(t)?t:[t]:[]}function Vw(t,e,n){let r=t[0],i=t[1],a;return i<r&&(a=i,i=r,r=a),a=i-r,a>=n-e?[e,n]:[r=Math.min(Math.max(r,e),n-a),r+a]}function nt(t){return typeof t=="function"}const CS="descending";function Tg(t,e,n){n=n||{},e=Z(e)||[];const r=[],i=[],a={},o=n.comparator||SS;return Z(t).forEach((u,s)=>{u!=null&&(r.push(e[s]===CS?-1:1),i.push(u=nt(u)?u:Le(u,null,n)),(fe(u)||[]).forEach(l=>a[l]=1))}),i.length===0?null:Ie(o(i,r),Object.keys(a))}const If=(t,e)=>(t<e||t==null)&&e!=null?-1:(t>e||e==null)&&t!=null?1:(e=e instanceof Date?+e:e,(t=t instanceof Date?+t:t)!==t&&e===e?-1:e!==e&&t===t?1:0),SS=(t,e)=>t.length===1?DS(t[0],e[0]):$S(t,e,t.length),DS=(t,e)=>function(n,r){return If(t(n),t(r))*e},$S=(t,e,n)=>(e.push(0),function(r,i){let a,o=0,u=-1;for(;o===0&&++u<n;)a=t[u],o=If(a(r),a(i));return o*e[u]});function ge(t){return nt(t)?t:()=>t}function Rg(t,e){let n;return r=>{n&&clearTimeout(n),n=setTimeout(()=>(e(r),n=null),t)}}function tt(t){for(let e,n,r=1,i=arguments.length;r<i;++r){e=arguments[r];for(n in e)t[n]=e[n]}return t}function Vn(t,e){let n=0,r,i,a,o;if(t&&(r=t.length))if(e==null){for(i=t[n];n<r&&(i==null||i!==i);i=t[++n]);for(a=o=i;n<r;++n)i=t[n],i!=null&&(i<a&&(a=i),i>o&&(o=i))}else{for(i=e(t[n]);n<r&&(i==null||i!==i);i=e(t[++n]));for(a=o=i;n<r;++n)i=e(t[n]),i!=null&&(i<a&&(a=i),i>o&&(o=i))}return[a,o]}function Xw(t,e){const n=t.length;let r=-1,i,a,o,u,s;if(e==null){for(;++r<n;)if(a=t[r],a!=null&&a>=a){i=o=a;break}if(r===n)return[-1,-1];for(u=s=r;++r<n;)a=t[r],a!=null&&(i>a&&(i=a,u=r),o<a&&(o=a,s=r))}else{for(;++r<n;)if(a=e(t[r],r,t),a!=null&&a>=a){i=o=a;break}if(r===n)return[-1,-1];for(u=s=r;++r<n;)a=e(t[r],r,t),a!=null&&(i>a&&(i=a,u=r),o<a&&(o=a,s=r))}return[u,s]}const FS=Object.prototype.hasOwnProperty;function K(t,e){return FS.call(t,e)}const xs={};function ja(t){let e={},n;function r(a){return K(e,a)&&e[a]!==xs}const i={size:0,empty:0,object:e,has:r,get(a){return r(a)?e[a]:void 0},set(a,o){return r(a)||(++i.size,e[a]===xs&&--i.empty),e[a]=o,this},delete(a){return r(a)&&(--i.size,++i.empty,e[a]=xs),this},clear(){i.size=i.empty=0,i.object=e={}},test(a){return arguments.length?(n=a,i):n},clean(){const a={};let o=0;for(const u in e){const s=e[u];s!==xs&&(!n||!n(s))&&(a[u]=s,++o)}i.size=o,i.empty=0,i.object=e=a}};return t&&Object.keys(t).forEach(a=>{i.set(a,t[a])}),i}function Zw(t,e,n,r,i,a){if(!n&&n!==0)return a;const o=+n;let u=t[0],s=ot(t),l;s<u&&(l=u,u=s,s=l),l=Math.abs(e-u);const f=Math.abs(s-e);return l<f&&l<=o?r:f<=o?i:a}function P(t,e,n){const r=t.prototype=Object.create(e.prototype);return Object.defineProperty(r,"constructor",{value:t,writable:!0,enumerable:!0,configurable:!0}),tt(r,n)}function sa(t,e,n,r){let i=e[0],a=e[e.length-1],o;return i>a&&(o=i,i=a,a=o),n=n===void 0||n,r=r===void 0||r,(n?i<=t:i<t)&&(r?t<=a:t<a)}function Kw(t){return typeof t=="boolean"}function Ur(t){return Object.prototype.toString.call(t)==="[object Date]"}function Qw(t){return t&&nt(t[Symbol.iterator])}function Yr(t){return typeof t=="number"}function Jw(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function Ct(t){return typeof t=="string"}function Ng(t,e,n){t&&(t=e?Z(t).map(u=>u.replace(/\\(.)/g,"$1")):Z(t));const r=t&&t.length,i=n&&n.get||Fw,a=u=>i(e?[u]:Bf(u));let o;if(!r)o=function(){return""};else if(r===1){const u=a(t[0]);o=function(s){return""+u(s)}}else{const u=t.map(a);o=function(s){let l=""+u[0](s),f=0;for(;++f<r;)l+="|"+u[f](s);return l}}return Ie(o,t,"key")}function t_(t,e){const n=t[0],r=ot(t),i=+e;return i?i===1?r:n+i*(r-n):n}const TS=1e4;function e_(t){t=+t||TS;let e,n,r;const i=()=>{e={},n={},r=0},a=(o,u)=>(++r>t&&(n=e,e={},r=1),e[o]=u);return i(),{clear:i,has:o=>K(e,o)||K(n,o),get:o=>K(e,o)?e[o]:K(n,o)?a(o,n[o]):void 0,set:(o,u)=>K(e,o)?e[o]=u:a(o,u)}}function n_(t,e,n,r){const i=e.length,a=n.length;if(!a)return e;if(!i)return n;const o=r||new e.constructor(i+a);let u=0,s=0,l=0;for(;u<i&&s<a;++l)o[l]=t(e[u],n[s])>0?n[s++]:e[u++];for(;u<i;++u,++l)o[l]=e[u];for(;s<a;++s,++l)o[l]=n[s];return o}function So(t,e){let n="";for(;--e>=0;)n+=t;return n}function r_(t,e,n,r){const i=n||" ",a=t+"",o=e-a.length;return o<=0?a:r==="left"?So(i,o)+a:r==="center"?So(i,~~(o/2))+a+So(i,Math.ceil(o/2)):a+So(i,o)}function Lu(t){return t&&ot(t)-t[0]||0}function V(t){return G(t)?"["+t.map(V)+"]":et(t)||Ct(t)?JSON.stringify(t).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):t}function Og(t){return t==null||t===""?null:!t||t==="false"||t==="0"?!1:!!t}const RS=t=>Yr(t)||Ur(t)?t:Date.parse(t);function zg(t,e){return e=e||RS,t==null||t===""?null:e(t)}function Lg(t){return t==null||t===""?null:t+""}function En(t){const e={},n=t.length;for(let r=0;r<n;++r)e[t[r]]=!0;return e}function i_(t,e,n,r){const i=r!=null?r:"…",a=t+"",o=a.length,u=Math.max(0,e-i.length);return o<=e?a:n==="left"?i+a.slice(o-u):n==="center"?a.slice(0,Math.ceil(u/2))+i+a.slice(o-~~(u/2)):a.slice(0,u)+i}function Ar(t,e,n){if(t)if(e){const r=t.length;for(let i=0;i<r;++i){const a=e(t[i]);a&&n(a,i,t)}}else t.forEach(n)}const NS=/^([A-Za-z]+:)?\/\//,OS=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,zS=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,l2="file://";function LS(t,e){return n=>({options:n||{},sanitize:PS,load:BS,fileAccess:!!e,file:US(e),http:qS(t)})}async function BS(t,e){const n=await this.sanitize(t,e),r=n.href;return n.localFile?this.file(r):this.http(r,e)}async function PS(t,e){e=tt({},this.options,e);const n=this.fileAccess,r={href:null};let i,a,o;const u=OS.test(t.replace(zS,""));(t==null||typeof t!="string"||!u)&&z("Sanitize failure, invalid URI: "+V(t));const s=NS.test(t);return(o=e.baseURL)&&!s&&(!t.startsWith("/")&&o[o.length-1]!=="/"&&(t="/"+t),t=o+t),a=(i=t.startsWith(l2))||e.mode==="file"||e.mode!=="http"&&!s&&n,i?t=t.slice(l2.length):t.startsWith("//")&&(e.defaultProtocol==="file"?(t=t.slice(2),a=!0):t=(e.defaultProtocol||"http")+":"+t),Object.defineProperty(r,"localFile",{value:!!a}),r.href=t,e.target&&(r.target=e.target+""),e.rel&&(r.rel=e.rel+""),e.context==="image"&&e.crossOrigin&&(r.crossOrigin=e.crossOrigin+""),r}function US(t){return t?e=>new Promise((n,r)=>{t.readFile(e,(i,a)=>{i?r(i):n(a)})}):IS}async function IS(){z("No file system access.")}function qS(t){return t?async function(e,n){const r=tt({},this.options.http,n),i=n&&n.response,a=await t(e,r);return a.ok?nt(a[i])?a[i]():a.text():z(a.status+""+a.statusText)}:jS}async function jS(){z("No HTTP fetch method available.")}const YS=t=>t!=null&&t===t,WS=t=>t==="true"||t==="false"||t===!0||t===!1,HS=t=>!Number.isNaN(Date.parse(t)),a_=t=>!Number.isNaN(+t)&&!(t instanceof Date),GS=t=>a_(t)&&Number.isInteger(+t),_0={boolean:Og,integer:le,number:le,date:zg,string:Lg,unknown:Ee},bs=[WS,GS,a_,HS],VS=["boolean","integer","number","date"];function o_(t,e){if(!t||!t.length)return"unknown";const n=t.length,r=bs.length,i=bs.map((a,o)=>o+1);for(let a=0,o=0,u,s;a<n;++a)for(s=e?t[a][e]:t[a],u=0;u<r;++u)if(i[u]&&YS(s)&&!bs[u](s)&&(i[u]=0,++o,o===bs.length))return"string";return VS[i.reduce((a,o)=>a===0?o:a,0)-1]}function u_(t,e){return e.reduce((n,r)=>(n[r]=o_(t,r),n),{})}var f2={},ah={},oh=34,io=10,uh=13;function s_(t){return new Function("d","return {"+t.map(function(e,n){return JSON.stringify(e)+": d["+n+'] || ""'}).join(",")+"}")}function XS(t,e){var n=s_(t);return function(r,i){return e(n(r),i,t)}}function c2(t){var e=Object.create(null),n=[];return t.forEach(function(r){for(var i in r)i in e||n.push(e[i]=i)}),n}function $e(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function ZS(t){return t<0?"-"+$e(-t,6):t>9999?"+"+$e(t,6):$e(t,4)}function KS(t){var e=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":ZS(t.getUTCFullYear())+"-"+$e(t.getUTCMonth()+1,2)+"-"+$e(t.getUTCDate(),2)+(i?"T"+$e(e,2)+":"+$e(n,2)+":"+$e(r,2)+"."+$e(i,3)+"Z":r?"T"+$e(e,2)+":"+$e(n,2)+":"+$e(r,2)+"Z":n||e?"T"+$e(e,2)+":"+$e(n,2)+"Z":"")}function QS(t){var e=new RegExp('["'+t+`
|
|
1
|
+
import{R as Rf,r as nw,j as gg,k as pg,C as mg,l as Dy,m as $y,n as uu,o as yl,p as Fy,q as g6,s as p6,u as m6,v as y6,w as v6,x as rw,t as x6,y as b6}from"./index-98d98a8e.js";function iw(t){for(var e=t.length,n,r=-1,i=0,a,o;++r<e;)i+=t[r].length;for(a=new Array(i);--e>=0;)for(o=t[e],n=o.length;--n>=0;)a[--i]=o[n];return a}var aw=Math.PI/180,ow=180/Math.PI,vl=18,uw=.96422,sw=1,lw=.82521,fw=4/29,ma=6/29,cw=3*ma*ma,w6=ma*ma*ma;function hw(t){if(t instanceof Un)return new Un(t.l,t.a,t.b,t.opacity);if(t instanceof lr)return dw(t);t instanceof Rf||(t=nw(t));var e=Kc(t.r),n=Kc(t.g),r=Kc(t.b),i=Vc((.2225045*e+.7168786*n+.0606169*r)/sw),a,o;return e===n&&n===r?a=o=i:(a=Vc((.4360747*e+.3850649*n+.1430804*r)/uw),o=Vc((.0139322*e+.0971045*n+.7141733*r)/lw)),new Un(116*i-16,500*(a-i),200*(i-o),t.opacity)}function d0(t,e,n,r){return arguments.length===1?hw(t):new Un(t,e,n,r==null?1:r)}function Un(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}gg(Un,d0,pg(mg,{brighter:function(t){return new Un(this.l+vl*(t==null?1:t),this.a,this.b,this.opacity)},darker:function(t){return new Un(this.l-vl*(t==null?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=uw*Xc(e),t=sw*Xc(t),n=lw*Xc(n),new Rf(Zc(3.1338561*e-1.6168667*t-.4906146*n),Zc(-.9787684*e+1.9161415*t+.033454*n),Zc(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Vc(t){return t>w6?Math.pow(t,1/3):t/cw+fw}function Xc(t){return t>ma?t*t*t:cw*(t-fw)}function Zc(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Kc(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _6(t){if(t instanceof lr)return new lr(t.h,t.c,t.l,t.opacity);if(t instanceof Un||(t=hw(t)),t.a===0&&t.b===0)return new lr(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ow;return new lr(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function g0(t,e,n,r){return arguments.length===1?_6(t):new lr(t,e,n,r==null?1:r)}function lr(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function dw(t){if(isNaN(t.h))return new Un(t.l,0,0,t.opacity);var e=t.h*aw;return new Un(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}gg(lr,g0,pg(mg,{brighter:function(t){return new lr(this.h,this.c,this.l+vl*(t==null?1:t),this.opacity)},darker:function(t){return new lr(this.h,this.c,this.l-vl*(t==null?1:t),this.opacity)},rgb:function(){return dw(this).rgb()}}));var gw=-.14861,yg=1.78277,vg=-.29227,Nf=-.90649,su=1.97294,Ty=su*Nf,Ry=su*yg,Ny=yg*vg-Nf*gw;function M6(t){if(t instanceof xi)return new xi(t.h,t.s,t.l,t.opacity);t instanceof Rf||(t=nw(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Ny*r+Ty*e-Ry*n)/(Ny+Ty-Ry),a=r-i,o=(su*(n-i)-vg*a)/Nf,u=Math.sqrt(o*o+a*a)/(su*i*(1-i)),s=u?Math.atan2(o,a)*ow-120:NaN;return new xi(s<0?s+360:s,u,i,t.opacity)}function p0(t,e,n,r){return arguments.length===1?M6(t):new xi(t,e,n,r==null?1:r)}function xi(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}gg(xi,p0,pg(mg,{brighter:function(t){return t=t==null?Dy:Math.pow(Dy,t),new xi(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=t==null?$y:Math.pow($y,t),new xi(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*aw,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new Rf(255*(e+n*(gw*r+yg*i)),255*(e+n*(vg*r+Nf*i)),255*(e+n*(su*r)),this.opacity)}}));function k6(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return pw(this.cover(e,n),e,n,t)}function pw(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,a=t._root,o={data:r},u=t._x0,s=t._y0,l=t._x1,f=t._y1,c,h,d,g,p,m,y,v;if(!a)return t._root=o,t;for(;a.length;)if((p=e>=(c=(u+l)/2))?u=c:l=c,(m=n>=(h=(s+f)/2))?s=h:f=h,i=a,!(a=a[y=m<<1|p]))return i[y]=o,t;if(d=+t._x.call(null,a.data),g=+t._y.call(null,a.data),e===d&&n===g)return o.next=a,i?i[y]=o:t._root=o,t;do i=i?i[y]=new Array(4):t._root=new Array(4),(p=e>=(c=(u+l)/2))?u=c:l=c,(m=n>=(h=(s+f)/2))?s=h:f=h;while((y=m<<1|p)===(v=(g>=h)<<1|d>=c));return i[v]=a,i[y]=o,t}function A6(t){var e,n,r=t.length,i,a,o=new Array(r),u=new Array(r),s=1/0,l=1/0,f=-1/0,c=-1/0;for(n=0;n<r;++n)isNaN(i=+this._x.call(null,e=t[n]))||isNaN(a=+this._y.call(null,e))||(o[n]=i,u[n]=a,i<s&&(s=i),i>f&&(f=i),a<l&&(l=a),a>c&&(c=a));if(s>f||l>c)return this;for(this.cover(s,l).cover(f,c),n=0;n<r;++n)pw(this,o[n],u[n],t[n]);return this}function E6(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,a=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,a=(r=Math.floor(e))+1;else{for(var o=i-n,u=this._root,s,l;n>t||t>=i||r>e||e>=a;)switch(l=(e<r)<<1|t<n,s=new Array(4),s[l]=u,u=s,o*=2,l){case 0:i=n+o,a=r+o;break;case 1:n=i-o,a=r+o;break;case 2:i=n+o,r=a-o;break;case 3:n=i-o,r=a-o;break}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=i,this._y1=a,this}function C6(){var t=[];return this.visit(function(e){if(!e.length)do t.push(e.data);while(e=e.next)}),t}function S6(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function Me(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i}function D6(t,e,n){var r,i=this._x0,a=this._y0,o,u,s,l,f=this._x1,c=this._y1,h=[],d=this._root,g,p;for(d&&h.push(new Me(d,i,a,f,c)),n==null?n=1/0:(i=t-n,a=e-n,f=t+n,c=e+n,n*=n);g=h.pop();)if(!(!(d=g.node)||(o=g.x0)>f||(u=g.y0)>c||(s=g.x1)<i||(l=g.y1)<a))if(d.length){var m=(o+s)/2,y=(u+l)/2;h.push(new Me(d[3],m,y,s,l),new Me(d[2],o,y,m,l),new Me(d[1],m,u,s,y),new Me(d[0],o,u,m,y)),(p=(e>=y)<<1|t>=m)&&(g=h[h.length-1],h[h.length-1]=h[h.length-1-p],h[h.length-1-p]=g)}else{var v=t-+this._x.call(null,d.data),x=e-+this._y.call(null,d.data),b=v*v+x*x;if(b<n){var _=Math.sqrt(n=b);i=t-_,a=e-_,f=t+_,c=e+_,r=d.data}}return r}function $6(t){if(isNaN(f=+this._x.call(null,t))||isNaN(c=+this._y.call(null,t)))return this;var e,n=this._root,r,i,a,o=this._x0,u=this._y0,s=this._x1,l=this._y1,f,c,h,d,g,p,m,y;if(!n)return this;if(n.length)for(;;){if((g=f>=(h=(o+s)/2))?o=h:s=h,(p=c>=(d=(u+l)/2))?u=d:l=d,e=n,!(n=n[m=p<<1|g]))return this;if(!n.length)break;(e[m+1&3]||e[m+2&3]||e[m+3&3])&&(r=e,y=m)}for(;n.data!==t;)if(i=n,!(n=n.next))return this;return(a=n.next)&&delete n.next,i?(a?i.next=a:delete i.next,this):e?(a?e[m]=a:delete e[m],(n=e[0]||e[1]||e[2]||e[3])&&n===(e[3]||e[2]||e[1]||e[0])&&!n.length&&(r?r[y]=n:this._root=n),this):(this._root=a,this)}function F6(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this}function T6(){return this._root}function R6(){var t=0;return this.visit(function(e){if(!e.length)do++t;while(e=e.next)}),t}function N6(t){var e=[],n,r=this._root,i,a,o,u,s;for(r&&e.push(new Me(r,this._x0,this._y0,this._x1,this._y1));n=e.pop();)if(!t(r=n.node,a=n.x0,o=n.y0,u=n.x1,s=n.y1)&&r.length){var l=(a+u)/2,f=(o+s)/2;(i=r[3])&&e.push(new Me(i,l,f,u,s)),(i=r[2])&&e.push(new Me(i,a,f,l,s)),(i=r[1])&&e.push(new Me(i,l,o,u,f)),(i=r[0])&&e.push(new Me(i,a,o,l,f))}return this}function O6(t){var e=[],n=[],r;for(this._root&&e.push(new Me(this._root,this._x0,this._y0,this._x1,this._y1));r=e.pop();){var i=r.node;if(i.length){var a,o=r.x0,u=r.y0,s=r.x1,l=r.y1,f=(o+s)/2,c=(u+l)/2;(a=i[0])&&e.push(new Me(a,o,u,f,c)),(a=i[1])&&e.push(new Me(a,f,u,s,c)),(a=i[2])&&e.push(new Me(a,o,c,f,l)),(a=i[3])&&e.push(new Me(a,f,c,s,l))}n.push(r)}for(;r=n.pop();)t(r.node,r.x0,r.y0,r.x1,r.y1);return this}function z6(t){return t[0]}function L6(t){return arguments.length?(this._x=t,this):this._x}function B6(t){return t[1]}function P6(t){return arguments.length?(this._y=t,this):this._y}function xg(t,e,n){var r=new bg(e==null?z6:e,n==null?B6:n,NaN,NaN,NaN,NaN);return t==null?r:r.addAll(t)}function bg(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function Oy(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var De=xg.prototype=bg.prototype;De.copy=function(){var t=new bg(this._x,this._y,this._x0,this._y0,this._x1,this._y1),e=this._root,n,r;if(!e)return t;if(!e.length)return t._root=Oy(e),t;for(n=[{source:e,target:t._root=new Array(4)}];e=n.pop();)for(var i=0;i<4;++i)(r=e.source[i])&&(r.length?n.push({source:r,target:e.target[i]=new Array(4)}):e.target[i]=Oy(r));return t};De.add=k6;De.addAll=A6;De.cover=E6;De.data=C6;De.extent=S6;De.find=D6;De.remove=$6;De.removeAll=F6;De.root=T6;De.size=R6;De.visit=N6;De.visitAfter=O6;De.x=L6;De.y=P6;function U6(){return new xl}function xl(){this.reset()}xl.prototype={constructor:xl,reset:function(){this.s=this.t=0},add:function(t){zy(ds,t,this.t),zy(this,ds.s,this.s),this.s?this.t+=ds.t:this.s=ds.t},valueOf:function(){return this.s}};var ds=new xl;function zy(t,e,n){var r=t.s=e+n,i=r-e,a=r-i;t.t=e-a+(n-i)}var Mt=1e-6,ut=Math.PI,tn=ut/2,Ly=ut/4,Mn=ut*2,nr=180/ut,je=ut/180,Bt=Math.abs,I6=Math.atan,lu=Math.atan2,zt=Math.cos,Lt=Math.sin,q6=Math.sign||function(t){return t>0?1:t<0?-1:0},Of=Math.sqrt;function j6(t){return t>1?0:t<-1?ut:Math.acos(t)}function fu(t){return t>1?tn:t<-1?-tn:Math.asin(t)}function Eo(){}function bl(t,e){t&&Py.hasOwnProperty(t.type)&&Py[t.type](t,e)}var By={Feature:function(t,e){bl(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)bl(n[r].geometry,e)}},Py={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){m0(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)m0(n[r],e,0)},Polygon:function(t,e){Uy(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Uy(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)bl(n[r],e)}};function m0(t,e,n){var r=-1,i=t.length-n,a;for(e.lineStart();++r<i;)a=t[r],e.point(a[0],a[1],a[2]);e.lineEnd()}function Uy(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)m0(t[n],e,1);e.polygonEnd()}function Y6(t,e){t&&By.hasOwnProperty(t.type)?By[t.type](t,e):bl(t,e)}function y0(t){return[lu(t[1],t[0]),fu(t[2])]}function Ma(t){var e=t[0],n=t[1],r=zt(n);return[r*zt(e),r*Lt(e),Lt(n)]}function gs(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function wl(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Qc(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ps(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function v0(t){var e=Of(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function x0(t,e){function n(r,i){return r=t(r,i),e(r[0],r[1])}return t.invert&&e.invert&&(n.invert=function(r,i){return r=e.invert(r,i),r&&t.invert(r[0],r[1])}),n}function b0(t,e){return[Bt(t)>ut?t+Math.round(-t/Mn)*Mn:t,e]}b0.invert=b0;function W6(t,e,n){return(t%=Mn)?e||n?x0(qy(t),jy(e,n)):qy(t):e||n?jy(e,n):b0}function Iy(t){return function(e,n){return e+=t,[e>ut?e-Mn:e<-ut?e+Mn:e,n]}}function qy(t){var e=Iy(t);return e.invert=Iy(-t),e}function jy(t,e){var n=zt(t),r=Lt(t),i=zt(e),a=Lt(e);function o(u,s){var l=zt(s),f=zt(u)*l,c=Lt(u)*l,h=Lt(s),d=h*n+f*r;return[lu(c*i-d*a,f*n-h*r),fu(d*i+c*a)]}return o.invert=function(u,s){var l=zt(s),f=zt(u)*l,c=Lt(u)*l,h=Lt(s),d=h*i-c*a;return[lu(c*i+h*a,f*n+d*r),fu(d*n-f*r)]},o}function H6(t,e,n,r,i,a){if(n){var o=zt(e),u=Lt(e),s=r*n;i==null?(i=e+r*Mn,a=e-s/2):(i=Yy(o,i),a=Yy(o,a),(r>0?i<a:i>a)&&(i+=r*Mn));for(var l,f=i;r>0?f>a:f<a;f-=s)l=y0([o,-u*zt(f),-u*Lt(f)]),t.point(l[0],l[1])}}function Yy(t,e){e=Ma(e),e[0]-=t,v0(e);var n=j6(-e[1]);return((-e[2]<0?-n:n)+Mn-Mt)%Mn}function mw(){var t=[],e;return{point:function(n,r,i){e.push([n,r,i])},lineStart:function(){t.push(e=[])},lineEnd:Eo,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function Vs(t,e){return Bt(t[0]-e[0])<Mt&&Bt(t[1]-e[1])<Mt}function ms(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function yw(t,e,n,r,i){var a=[],o=[],u,s;if(t.forEach(function(g){if(!((p=g.length-1)<=0)){var p,m=g[0],y=g[p],v;if(Vs(m,y)){if(!m[2]&&!y[2]){for(i.lineStart(),u=0;u<p;++u)i.point((m=g[u])[0],m[1]);i.lineEnd();return}y[0]+=2*Mt}a.push(v=new ms(m,g,null,!0)),o.push(v.o=new ms(m,null,v,!1)),a.push(v=new ms(y,g,null,!1)),o.push(v.o=new ms(y,null,v,!0))}}),!!a.length){for(o.sort(e),Wy(a),Wy(o),u=0,s=o.length;u<s;++u)o[u].e=n=!n;for(var l=a[0],f,c;;){for(var h=l,d=!0;h.v;)if((h=h.n)===l)return;f=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(u=0,s=f.length;u<s;++u)i.point((c=f[u])[0],c[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(f=h.p.z,u=f.length-1;u>=0;--u)i.point((c=f[u])[0],c[1]);else r(h.x,h.p.x,-1,i);h=h.p}h=h.o,f=h.z,d=!d}while(!h.v);i.lineEnd()}}}function Wy(t){if(e=t.length){for(var e,n=0,r=t[0],i;++n<e;)r.n=i=t[n],i.p=r,r=i;r.n=i=t[0],i.p=r}}var Jc=U6();function th(t){return Bt(t[0])<=ut?t[0]:q6(t[0])*((Bt(t[0])+ut)%Mn-ut)}function G6(t,e){var n=th(e),r=e[1],i=Lt(r),a=[Lt(n),-zt(n),0],o=0,u=0;Jc.reset(),i===1?r=tn+Mt:i===-1&&(r=-tn-Mt);for(var s=0,l=t.length;s<l;++s)if(c=(f=t[s]).length)for(var f,c,h=f[c-1],d=th(h),g=h[1]/2+Ly,p=Lt(g),m=zt(g),y=0;y<c;++y,d=x,p=_,m=M,h=v){var v=f[y],x=th(v),b=v[1]/2+Ly,_=Lt(b),M=zt(b),w=x-d,A=w>=0?1:-1,S=A*w,C=S>ut,E=p*_;if(Jc.add(lu(E*A*Lt(S),m*M+E*zt(S))),o+=C?w+A*Mn:w,C^d>=n^x>=n){var $=wl(Ma(h),Ma(v));v0($);var F=wl(a,$);v0(F);var L=(C^w>=0?-1:1)*fu(F[2]);(r>L||r===L&&($[0]||$[1]))&&(u+=C^w>=0?1:-1)}}return(o<-Mt||o<Mt&&Jc<-Mt)^u&1}function vw(t,e,n,r){return function(i){var a=e(i),o=mw(),u=e(o),s=!1,l,f,c,h={point:d,lineStart:p,lineEnd:m,polygonStart:function(){h.point=y,h.lineStart=v,h.lineEnd=x,f=[],l=[]},polygonEnd:function(){h.point=d,h.lineStart=p,h.lineEnd=m,f=iw(f);var b=G6(l,r);f.length?(s||(i.polygonStart(),s=!0),yw(f,X6,b,n,i)):b&&(s||(i.polygonStart(),s=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),s&&(i.polygonEnd(),s=!1),f=l=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(b,_){t(b,_)&&i.point(b,_)}function g(b,_){a.point(b,_)}function p(){h.point=g,a.lineStart()}function m(){h.point=d,a.lineEnd()}function y(b,_){c.push([b,_]),u.point(b,_)}function v(){u.lineStart(),c=[]}function x(){y(c[0][0],c[0][1]),u.lineEnd();var b=u.clean(),_=o.result(),M,w=_.length,A,S,C;if(c.pop(),l.push(c),c=null,!!w){if(b&1){if(S=_[0],(A=S.length-1)>0){for(s||(i.polygonStart(),s=!0),i.lineStart(),M=0;M<A;++M)i.point((C=S[M])[0],C[1]);i.lineEnd()}return}w>1&&b&2&&_.push(_.pop().concat(_.shift())),f.push(_.filter(V6))}}return h}}function V6(t){return t.length>1}function X6(t,e){return((t=t.x)[0]<0?t[1]-tn-Mt:tn-t[1])-((e=e.x)[0]<0?e[1]-tn-Mt:tn-e[1])}const Hy=vw(function(){return!0},Z6,Q6,[-ut,-tn]);function Z6(t){var e=NaN,n=NaN,r=NaN,i;return{lineStart:function(){t.lineStart(),i=1},point:function(a,o){var u=a>0?ut:-ut,s=Bt(a-e);Bt(s-ut)<Mt?(t.point(e,n=(n+o)/2>0?tn:-tn),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(u,n),t.point(a,n),i=0):r!==u&&s>=ut&&(Bt(e-r)<Mt&&(e-=r*Mt),Bt(a-u)<Mt&&(a-=u*Mt),n=K6(e,n,a,o),t.point(r,n),t.lineEnd(),t.lineStart(),t.point(u,n),i=0),t.point(e=a,n=o),r=u},lineEnd:function(){t.lineEnd(),e=n=NaN},clean:function(){return 2-i}}}function K6(t,e,n,r){var i,a,o=Lt(t-n);return Bt(o)>Mt?I6((Lt(e)*(a=zt(r))*Lt(n)-Lt(r)*(i=zt(e))*Lt(t))/(i*a*o)):(e+r)/2}function Q6(t,e,n,r){var i;if(t==null)i=n*tn,r.point(-ut,i),r.point(0,i),r.point(ut,i),r.point(ut,0),r.point(ut,-i),r.point(0,-i),r.point(-ut,-i),r.point(-ut,0),r.point(-ut,i);else if(Bt(t[0]-e[0])>Mt){var a=t[0]<e[0]?ut:-ut;i=n*a/2,r.point(-a,i),r.point(0,i),r.point(a,i)}else r.point(e[0],e[1])}function J6(t){var e=zt(t),n=6*je,r=e>0,i=Bt(e)>Mt;function a(f,c,h,d){H6(d,t,n,h,f,c)}function o(f,c){return zt(f)*zt(c)>e}function u(f){var c,h,d,g,p;return{lineStart:function(){g=d=!1,p=1},point:function(m,y){var v=[m,y],x,b=o(m,y),_=r?b?0:l(m,y):b?l(m+(m<0?ut:-ut),y):0;if(!c&&(g=d=b)&&f.lineStart(),b!==d&&(x=s(c,v),(!x||Vs(c,x)||Vs(v,x))&&(v[2]=1)),b!==d)p=0,b?(f.lineStart(),x=s(v,c),f.point(x[0],x[1])):(x=s(c,v),f.point(x[0],x[1],2),f.lineEnd()),c=x;else if(i&&c&&r^b){var M;!(_&h)&&(M=s(v,c,!0))&&(p=0,r?(f.lineStart(),f.point(M[0][0],M[0][1]),f.point(M[1][0],M[1][1]),f.lineEnd()):(f.point(M[1][0],M[1][1]),f.lineEnd(),f.lineStart(),f.point(M[0][0],M[0][1],3)))}b&&(!c||!Vs(c,v))&&f.point(v[0],v[1]),c=v,d=b,h=_},lineEnd:function(){d&&f.lineEnd(),c=null},clean:function(){return p|(g&&d)<<1}}}function s(f,c,h){var d=Ma(f),g=Ma(c),p=[1,0,0],m=wl(d,g),y=gs(m,m),v=m[0],x=y-v*v;if(!x)return!h&&f;var b=e*y/x,_=-e*v/x,M=wl(p,m),w=ps(p,b),A=ps(m,_);Qc(w,A);var S=M,C=gs(w,S),E=gs(S,S),$=C*C-E*(gs(w,w)-1);if(!($<0)){var F=Of($),L=ps(S,(-C-F)/E);if(Qc(L,w),L=y0(L),!h)return L;var k=f[0],T=c[0],B=f[1],U=c[1],q;T<k&&(q=k,k=T,T=q);var it=T-k,lt=Bt(it-ut)<Mt,At=lt||it<Mt;if(!lt&&U<B&&(q=B,B=U,U=q),At?lt?B+U>0^L[1]<(Bt(L[0]-k)<Mt?B:U):B<=L[1]&&L[1]<=U:it>ut^(k<=L[0]&&L[0]<=T)){var bt=ps(S,(-C+F)/E);return Qc(bt,w),[L,y0(bt)]}}}function l(f,c){var h=r?t:ut-t,d=0;return f<-h?d|=1:f>h&&(d|=2),c<-h?d|=4:c>h&&(d|=8),d}return vw(o,u,a,r?[0,-t]:[-ut,t-ut])}function t4(t,e,n,r,i,a){var o=t[0],u=t[1],s=e[0],l=e[1],f=0,c=1,h=s-o,d=l-u,g;if(g=n-o,!(!h&&g>0)){if(g/=h,h<0){if(g<f)return;g<c&&(c=g)}else if(h>0){if(g>c)return;g>f&&(f=g)}if(g=i-o,!(!h&&g<0)){if(g/=h,h<0){if(g>c)return;g>f&&(f=g)}else if(h>0){if(g<f)return;g<c&&(c=g)}if(g=r-u,!(!d&&g>0)){if(g/=d,d<0){if(g<f)return;g<c&&(c=g)}else if(d>0){if(g>c)return;g>f&&(f=g)}if(g=a-u,!(!d&&g<0)){if(g/=d,d<0){if(g>c)return;g>f&&(f=g)}else if(d>0){if(g<f)return;g<c&&(c=g)}return f>0&&(t[0]=o+f*h,t[1]=u+f*d),c<1&&(e[0]=o+c*h,e[1]=u+c*d),!0}}}}}var Co=1e9,ys=-Co;function e4(t,e,n,r){function i(l,f){return t<=l&&l<=n&&e<=f&&f<=r}function a(l,f,c,h){var d=0,g=0;if(l==null||(d=o(l,c))!==(g=o(f,c))||s(l,f)<0^c>0)do h.point(d===0||d===3?t:n,d>1?r:e);while((d=(d+c+4)%4)!==g);else h.point(f[0],f[1])}function o(l,f){return Bt(l[0]-t)<Mt?f>0?0:3:Bt(l[0]-n)<Mt?f>0?2:1:Bt(l[1]-e)<Mt?f>0?1:0:f>0?3:2}function u(l,f){return s(l.x,f.x)}function s(l,f){var c=o(l,1),h=o(f,1);return c!==h?c-h:c===0?f[1]-l[1]:c===1?l[0]-f[0]:c===2?l[1]-f[1]:f[0]-l[0]}return function(l){var f=l,c=mw(),h,d,g,p,m,y,v,x,b,_,M,w={point:A,lineStart:$,lineEnd:F,polygonStart:C,polygonEnd:E};function A(k,T){i(k,T)&&f.point(k,T)}function S(){for(var k=0,T=0,B=d.length;T<B;++T)for(var U=d[T],q=1,it=U.length,lt=U[0],At,bt,Dt=lt[0],Ot=lt[1];q<it;++q)At=Dt,bt=Ot,lt=U[q],Dt=lt[0],Ot=lt[1],bt<=r?Ot>r&&(Dt-At)*(r-bt)>(Ot-bt)*(t-At)&&++k:Ot<=r&&(Dt-At)*(r-bt)<(Ot-bt)*(t-At)&&--k;return k}function C(){f=c,h=[],d=[],M=!0}function E(){var k=S(),T=M&&k,B=(h=iw(h)).length;(T||B)&&(l.polygonStart(),T&&(l.lineStart(),a(null,null,1,l),l.lineEnd()),B&&yw(h,u,k,a,l),l.polygonEnd()),f=l,h=d=g=null}function $(){w.point=L,d&&d.push(g=[]),_=!0,b=!1,v=x=NaN}function F(){h&&(L(p,m),y&&b&&c.rejoin(),h.push(c.result())),w.point=A,b&&f.lineEnd()}function L(k,T){var B=i(k,T);if(d&&g.push([k,T]),_)p=k,m=T,y=B,_=!1,B&&(f.lineStart(),f.point(k,T));else if(B&&b)f.point(k,T);else{var U=[v=Math.max(ys,Math.min(Co,v)),x=Math.max(ys,Math.min(Co,x))],q=[k=Math.max(ys,Math.min(Co,k)),T=Math.max(ys,Math.min(Co,T))];t4(U,q,t,e,n,r)?(b||(f.lineStart(),f.point(U[0],U[1])),f.point(q[0],q[1]),B||f.lineEnd(),M=!1):B&&(f.lineStart(),f.point(k,T),M=!1)}v=k,x=T,b=B}return w}}function Gy(t){return t}var ka=1/0,_l=ka,cu=-ka,Ml=cu,n4={point:r4,lineStart:Eo,lineEnd:Eo,polygonStart:Eo,polygonEnd:Eo,result:function(){var t=[[ka,_l],[cu,Ml]];return cu=Ml=-(_l=ka=1/0),t}};function r4(t,e){t<ka&&(ka=t),t>cu&&(cu=t),e<_l&&(_l=e),e>Ml&&(Ml=e)}const Vy=n4;function wg(t){return function(e){var n=new w0;for(var r in t)n[r]=t[r];return n.stream=e,n}}function w0(){}w0.prototype={constructor:w0,point:function(t,e){this.stream.point(t,e)},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()}};function _g(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),r!=null&&t.clipExtent(null),Y6(n,t.stream(Vy)),e(Vy.result()),r!=null&&t.clipExtent(r),t}function xw(t,e,n){return _g(t,function(r){var i=e[1][0]-e[0][0],a=e[1][1]-e[0][1],o=Math.min(i/(r[1][0]-r[0][0]),a/(r[1][1]-r[0][1])),u=+e[0][0]+(i-o*(r[1][0]+r[0][0]))/2,s=+e[0][1]+(a-o*(r[1][1]+r[0][1]))/2;t.scale(150*o).translate([u,s])},n)}function i4(t,e,n){return xw(t,[[0,0],e],n)}function a4(t,e,n){return _g(t,function(r){var i=+e,a=i/(r[1][0]-r[0][0]),o=(i-a*(r[1][0]+r[0][0]))/2,u=-a*r[0][1];t.scale(150*a).translate([o,u])},n)}function o4(t,e,n){return _g(t,function(r){var i=+e,a=i/(r[1][1]-r[0][1]),o=-a*r[0][0],u=(i-a*(r[1][1]+r[0][1]))/2;t.scale(150*a).translate([o,u])},n)}var Xy=16,u4=zt(30*je);function Zy(t,e){return+e?l4(t,e):s4(t)}function s4(t){return wg({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function l4(t,e){function n(r,i,a,o,u,s,l,f,c,h,d,g,p,m){var y=l-r,v=f-i,x=y*y+v*v;if(x>4*e&&p--){var b=o+h,_=u+d,M=s+g,w=Of(b*b+_*_+M*M),A=fu(M/=w),S=Bt(Bt(M)-1)<Mt||Bt(a-c)<Mt?(a+c)/2:lu(_,b),C=t(S,A),E=C[0],$=C[1],F=E-r,L=$-i,k=v*F-y*L;(k*k/x>e||Bt((y*F+v*L)/x-.5)>.3||o*h+u*d+s*g<u4)&&(n(r,i,a,o,u,s,E,$,S,b/=w,_/=w,M,p,m),m.point(E,$),n(E,$,S,b,_,M,l,f,c,h,d,g,p,m))}}return function(r){var i,a,o,u,s,l,f,c,h,d,g,p,m={point:y,lineStart:v,lineEnd:b,polygonStart:function(){r.polygonStart(),m.lineStart=_},polygonEnd:function(){r.polygonEnd(),m.lineStart=v}};function y(A,S){A=t(A,S),r.point(A[0],A[1])}function v(){c=NaN,m.point=x,r.lineStart()}function x(A,S){var C=Ma([A,S]),E=t(A,S);n(c,h,f,d,g,p,c=E[0],h=E[1],f=A,d=C[0],g=C[1],p=C[2],Xy,r),r.point(c,h)}function b(){m.point=y,r.lineEnd()}function _(){v(),m.point=M,m.lineEnd=w}function M(A,S){x(i=A,S),a=c,o=h,u=d,s=g,l=p,m.point=x}function w(){n(c,h,f,d,g,p,a,o,i,u,s,l,Xy,r),m.lineEnd=b,b()}return m}}var f4=wg({point:function(t,e){this.stream.point(t*je,e*je)}});function c4(t){return wg({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}function h4(t,e,n,r,i){function a(o,u){return o*=r,u*=i,[e+t*o,n-t*u]}return a.invert=function(o,u){return[(o-e)/t*r,(n-u)/t*i]},a}function Ky(t,e,n,r,i,a){var o=zt(a),u=Lt(a),s=o*t,l=u*t,f=o/t,c=u/t,h=(u*n-o*e)/t,d=(u*e+o*n)/t;function g(p,m){return p*=r,m*=i,[s*p-l*m+e,n-l*p-s*m]}return g.invert=function(p,m){return[r*(f*p-c*m+h),i*(d-c*p-f*m)]},g}function d4(t){return g4(function(){return t})()}function g4(t){var e,n=150,r=480,i=250,a=0,o=0,u=0,s=0,l=0,f,c=0,h=1,d=1,g=null,p=Hy,m=null,y,v,x,b=Gy,_=.5,M,w,A,S,C;function E(k){return A(k[0]*je,k[1]*je)}function $(k){return k=A.invert(k[0],k[1]),k&&[k[0]*nr,k[1]*nr]}E.stream=function(k){return S&&C===k?S:S=f4(c4(f)(p(M(b(C=k)))))},E.preclip=function(k){return arguments.length?(p=k,g=void 0,L()):p},E.postclip=function(k){return arguments.length?(b=k,m=y=v=x=null,L()):b},E.clipAngle=function(k){return arguments.length?(p=+k?J6(g=k*je):(g=null,Hy),L()):g*nr},E.clipExtent=function(k){return arguments.length?(b=k==null?(m=y=v=x=null,Gy):e4(m=+k[0][0],y=+k[0][1],v=+k[1][0],x=+k[1][1]),L()):m==null?null:[[m,y],[v,x]]},E.scale=function(k){return arguments.length?(n=+k,F()):n},E.translate=function(k){return arguments.length?(r=+k[0],i=+k[1],F()):[r,i]},E.center=function(k){return arguments.length?(a=k[0]%360*je,o=k[1]%360*je,F()):[a*nr,o*nr]},E.rotate=function(k){return arguments.length?(u=k[0]%360*je,s=k[1]%360*je,l=k.length>2?k[2]%360*je:0,F()):[u*nr,s*nr,l*nr]},E.angle=function(k){return arguments.length?(c=k%360*je,F()):c*nr},E.reflectX=function(k){return arguments.length?(h=k?-1:1,F()):h<0},E.reflectY=function(k){return arguments.length?(d=k?-1:1,F()):d<0},E.precision=function(k){return arguments.length?(M=Zy(w,_=k*k),L()):Of(_)},E.fitExtent=function(k,T){return xw(E,k,T)},E.fitSize=function(k,T){return i4(E,k,T)},E.fitWidth=function(k,T){return a4(E,k,T)},E.fitHeight=function(k,T){return o4(E,k,T)};function F(){var k=Ky(n,0,0,h,d,c).apply(null,e(a,o)),T=(c?Ky:h4)(n,r-k[0],i-k[1],h,d,c);return f=W6(u,s,l),w=x0(e,T),A=x0(f,w),M=Zy(w,_),L()}function L(){return S=C=null,E}return function(){return e=t.apply(this,arguments),E.invert=e.invert&&$,F()}}var eh=new Date,nh=new Date;function yr(t,e,n,r){function i(a){return t(a=arguments.length===0?new Date:new Date(+a)),a}return i.floor=function(a){return t(a=new Date(+a)),a},i.ceil=function(a){return t(a=new Date(a-1)),e(a,1),t(a),a},i.round=function(a){var o=i(a),u=i.ceil(a);return a-o<u-a?o:u},i.offset=function(a,o){return e(a=new Date(+a),o==null?1:Math.floor(o)),a},i.range=function(a,o,u){var s=[],l;if(a=i.ceil(a),u=u==null?1:Math.floor(u),!(a<o)||!(u>0))return s;do s.push(l=new Date(+a)),e(a,u),t(a);while(l<a&&a<o);return s},i.filter=function(a){return yr(function(o){if(o>=o)for(;t(o),!a(o);)o.setTime(o-1)},function(o,u){if(o>=o)if(u<0)for(;++u<=0;)for(;e(o,-1),!a(o););else for(;--u>=0;)for(;e(o,1),!a(o););})},n&&(i.count=function(a,o){return eh.setTime(+a),nh.setTime(+o),t(eh),t(nh),Math.floor(n(eh,nh))},i.every=function(a){return a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?i.filter(r?function(o){return r(o)%a===0}:function(o){return i.count(0,o)%a===0}):i}),i}var bw=6e4,ww=864e5,_w=6048e5,Mw=yr(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*bw)/ww},function(t){return t.getDate()-1});const zf=Mw;Mw.range;function Ni(t){return yr(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(e,n){e.setDate(e.getDate()+n*7)},function(e,n){return(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*bw)/_w})}var Mg=Ni(0),_i=Ni(1),p4=Ni(2),m4=Ni(3),kn=Ni(4),y4=Ni(5),v4=Ni(6);Mg.range;_i.range;p4.range;m4.range;kn.range;y4.range;v4.range;var kg=yr(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});kg.every=function(t){return!isFinite(t=Math.floor(t))||!(t>0)?null:yr(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)})};const Hn=kg;kg.range;var kw=yr(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/ww},function(t){return t.getUTCDate()-1});const Lf=kw;kw.range;function Oi(t){return yr(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCDate(e.getUTCDate()+n*7)},function(e,n){return(n-e)/_w})}var Ag=Oi(0),Mi=Oi(1),x4=Oi(2),b4=Oi(3),An=Oi(4),w4=Oi(5),_4=Oi(6);Ag.range;Mi.range;x4.range;b4.range;An.range;w4.range;_4.range;var Eg=yr(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Eg.every=function(t){return!isFinite(t=Math.floor(t))||!(t>0)?null:yr(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})};const Gn=Eg;Eg.range;function rh(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ih(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function eo(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function M4(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,u=t.months,s=t.shortMonths,l=no(i),f=ro(i),c=no(a),h=ro(a),d=no(o),g=ro(o),p=no(u),m=ro(u),y=no(s),v=ro(s),x={a:B,A:U,b:q,B:it,c:null,d:r2,e:r2,f:H4,g:nS,G:iS,H:j4,I:Y4,j:W4,L:Aw,m:G4,M:V4,p:lt,q:At,Q:o2,s:u2,S:X4,u:Z4,U:K4,V:Q4,w:J4,W:tS,x:null,X:null,y:eS,Y:rS,Z:aS,"%":a2},b={a:bt,A:Dt,b:Ot,B:ri,c:null,d:i2,e:i2,f:lS,g:xS,G:wS,H:oS,I:uS,j:sS,L:Cw,m:fS,M:cS,p:ii,q:ai,Q:o2,s:u2,S:hS,u:dS,U:gS,V:pS,w:mS,W:yS,x:null,X:null,y:vS,Y:bS,Z:_S,"%":a2},_={a:C,A:E,b:$,B:F,c:L,d:e2,e:e2,f:P4,g:t2,G:Jy,H:n2,I:n2,j:O4,L:B4,m:N4,M:z4,p:S,q:R4,Q:I4,s:q4,S:L4,u:S4,U:D4,V:$4,w:C4,W:F4,x:k,X:T,y:t2,Y:Jy,Z:T4,"%":U4};x.x=M(n,x),x.X=M(r,x),x.c=M(e,x),b.x=M(n,b),b.X=M(r,b),b.c=M(e,b);function M(N,I){return function(j){var D=[],mt=-1,X=0,wt=N.length,_t,me,to;for(j instanceof Date||(j=new Date(+j));++mt<wt;)N.charCodeAt(mt)===37&&(D.push(N.slice(X,mt)),(me=Qy[_t=N.charAt(++mt)])!=null?_t=N.charAt(++mt):me=_t==="e"?" ":"0",(to=I[_t])&&(_t=to(j,me)),D.push(_t),X=mt+1);return D.push(N.slice(X,mt)),D.join("")}}function w(N,I){return function(j){var D=eo(1900,void 0,1),mt=A(D,N,j+="",0),X,wt;if(mt!=j.length)return null;if("Q"in D)return new Date(D.Q);if("s"in D)return new Date(D.s*1e3+("L"in D?D.L:0));if(I&&!("Z"in D)&&(D.Z=0),"p"in D&&(D.H=D.H%12+D.p*12),D.m===void 0&&(D.m="q"in D?D.q:0),"V"in D){if(D.V<1||D.V>53)return null;"w"in D||(D.w=1),"Z"in D?(X=ih(eo(D.y,0,1)),wt=X.getUTCDay(),X=wt>4||wt===0?Mi.ceil(X):Mi(X),X=Lf.offset(X,(D.V-1)*7),D.y=X.getUTCFullYear(),D.m=X.getUTCMonth(),D.d=X.getUTCDate()+(D.w+6)%7):(X=rh(eo(D.y,0,1)),wt=X.getDay(),X=wt>4||wt===0?_i.ceil(X):_i(X),X=zf.offset(X,(D.V-1)*7),D.y=X.getFullYear(),D.m=X.getMonth(),D.d=X.getDate()+(D.w+6)%7)}else("W"in D||"U"in D)&&("w"in D||(D.w="u"in D?D.u%7:"W"in D?1:0),wt="Z"in D?ih(eo(D.y,0,1)).getUTCDay():rh(eo(D.y,0,1)).getDay(),D.m=0,D.d="W"in D?(D.w+6)%7+D.W*7-(wt+5)%7:D.w+D.U*7-(wt+6)%7);return"Z"in D?(D.H+=D.Z/100|0,D.M+=D.Z%100,ih(D)):rh(D)}}function A(N,I,j,D){for(var mt=0,X=I.length,wt=j.length,_t,me;mt<X;){if(D>=wt)return-1;if(_t=I.charCodeAt(mt++),_t===37){if(_t=I.charAt(mt++),me=_[_t in Qy?I.charAt(mt++):_t],!me||(D=me(N,j,D))<0)return-1}else if(_t!=j.charCodeAt(D++))return-1}return D}function S(N,I,j){var D=l.exec(I.slice(j));return D?(N.p=f[D[0].toLowerCase()],j+D[0].length):-1}function C(N,I,j){var D=d.exec(I.slice(j));return D?(N.w=g[D[0].toLowerCase()],j+D[0].length):-1}function E(N,I,j){var D=c.exec(I.slice(j));return D?(N.w=h[D[0].toLowerCase()],j+D[0].length):-1}function $(N,I,j){var D=y.exec(I.slice(j));return D?(N.m=v[D[0].toLowerCase()],j+D[0].length):-1}function F(N,I,j){var D=p.exec(I.slice(j));return D?(N.m=m[D[0].toLowerCase()],j+D[0].length):-1}function L(N,I,j){return A(N,e,I,j)}function k(N,I,j){return A(N,n,I,j)}function T(N,I,j){return A(N,r,I,j)}function B(N){return o[N.getDay()]}function U(N){return a[N.getDay()]}function q(N){return s[N.getMonth()]}function it(N){return u[N.getMonth()]}function lt(N){return i[+(N.getHours()>=12)]}function At(N){return 1+~~(N.getMonth()/3)}function bt(N){return o[N.getUTCDay()]}function Dt(N){return a[N.getUTCDay()]}function Ot(N){return s[N.getUTCMonth()]}function ri(N){return u[N.getUTCMonth()]}function ii(N){return i[+(N.getUTCHours()>=12)]}function ai(N){return 1+~~(N.getUTCMonth()/3)}return{format:function(N){var I=M(N+="",x);return I.toString=function(){return N},I},parse:function(N){var I=w(N+="",!1);return I.toString=function(){return N},I},utcFormat:function(N){var I=M(N+="",b);return I.toString=function(){return N},I},utcParse:function(N){var I=w(N+="",!0);return I.toString=function(){return N},I}}}var Qy={"-":"",_:" ",0:"0"},Xt=/^\s*\d+/,k4=/^%/,A4=/[\\^$*+?|[\]().{}]/g;function ct(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function E4(t){return t.replace(A4,"\\$&")}function no(t){return new RegExp("^(?:"+t.map(E4).join("|")+")","i")}function ro(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function C4(t,e,n){var r=Xt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function S4(t,e,n){var r=Xt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function D4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function $4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function F4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Jy(t,e,n){var r=Xt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function t2(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function T4(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function R4(t,e,n){var r=Xt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function N4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function e2(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function O4(t,e,n){var r=Xt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function n2(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function z4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function L4(t,e,n){var r=Xt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function B4(t,e,n){var r=Xt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function P4(t,e,n){var r=Xt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function U4(t,e,n){var r=k4.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function I4(t,e,n){var r=Xt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function q4(t,e,n){var r=Xt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function r2(t,e){return ct(t.getDate(),e,2)}function j4(t,e){return ct(t.getHours(),e,2)}function Y4(t,e){return ct(t.getHours()%12||12,e,2)}function W4(t,e){return ct(1+zf.count(Hn(t),t),e,3)}function Aw(t,e){return ct(t.getMilliseconds(),e,3)}function H4(t,e){return Aw(t,e)+"000"}function G4(t,e){return ct(t.getMonth()+1,e,2)}function V4(t,e){return ct(t.getMinutes(),e,2)}function X4(t,e){return ct(t.getSeconds(),e,2)}function Z4(t){var e=t.getDay();return e===0?7:e}function K4(t,e){return ct(Mg.count(Hn(t)-1,t),e,2)}function Ew(t){var e=t.getDay();return e>=4||e===0?kn(t):kn.ceil(t)}function Q4(t,e){return t=Ew(t),ct(kn.count(Hn(t),t)+(Hn(t).getDay()===4),e,2)}function J4(t){return t.getDay()}function tS(t,e){return ct(_i.count(Hn(t)-1,t),e,2)}function eS(t,e){return ct(t.getFullYear()%100,e,2)}function nS(t,e){return t=Ew(t),ct(t.getFullYear()%100,e,2)}function rS(t,e){return ct(t.getFullYear()%1e4,e,4)}function iS(t,e){var n=t.getDay();return t=n>=4||n===0?kn(t):kn.ceil(t),ct(t.getFullYear()%1e4,e,4)}function aS(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ct(e/60|0,"0",2)+ct(e%60,"0",2)}function i2(t,e){return ct(t.getUTCDate(),e,2)}function oS(t,e){return ct(t.getUTCHours(),e,2)}function uS(t,e){return ct(t.getUTCHours()%12||12,e,2)}function sS(t,e){return ct(1+Lf.count(Gn(t),t),e,3)}function Cw(t,e){return ct(t.getUTCMilliseconds(),e,3)}function lS(t,e){return Cw(t,e)+"000"}function fS(t,e){return ct(t.getUTCMonth()+1,e,2)}function cS(t,e){return ct(t.getUTCMinutes(),e,2)}function hS(t,e){return ct(t.getUTCSeconds(),e,2)}function dS(t){var e=t.getUTCDay();return e===0?7:e}function gS(t,e){return ct(Ag.count(Gn(t)-1,t),e,2)}function Sw(t){var e=t.getUTCDay();return e>=4||e===0?An(t):An.ceil(t)}function pS(t,e){return t=Sw(t),ct(An.count(Gn(t),t)+(Gn(t).getUTCDay()===4),e,2)}function mS(t){return t.getUTCDay()}function yS(t,e){return ct(Mi.count(Gn(t)-1,t),e,2)}function vS(t,e){return ct(t.getUTCFullYear()%100,e,2)}function xS(t,e){return t=Sw(t),ct(t.getUTCFullYear()%100,e,2)}function bS(t,e){return ct(t.getUTCFullYear()%1e4,e,4)}function wS(t,e){var n=t.getUTCDay();return t=n>=4||n===0?An(t):An.ceil(t),ct(t.getUTCFullYear()%1e4,e,4)}function _S(){return"+0000"}function a2(){return"%"}function o2(t){return+t}function u2(t){return Math.floor(+t/1e3)}var Zi,Dw,$w;MS({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function MS(t){return Zi=M4(t),Dw=Zi.format,Zi.parse,$w=Zi.utcFormat,Zi.utcParse,Zi}function Ie(t,e,n){return t.fields=e||[],t.fname=n,t}function Nt(t){return t==null?null:t.fname}function fe(t){return t==null?null:t.fields}function Fw(t){return t.length===1?kS(t[0]):AS(t)}const kS=t=>function(e){return e[t]},AS=t=>{const e=t.length;return function(n){for(let r=0;r<e;++r)n=n[t[r]];return n}};function z(t){throw Error(t)}function Bf(t){const e=[],n=t.length;let r=null,i=0,a="",o,u,s;t=t+"";function l(){e.push(a+t.substring(o,u)),a="",o=u+1}for(o=u=0;u<n;++u)if(s=t[u],s==="\\")a+=t.substring(o,u),a+=t.substring(++u,++u),o=u;else if(s===r)l(),r=null,i=-1;else{if(r)continue;o===i&&s==='"'||o===i&&s==="'"?(o=u+1,r=s):s==="."&&!i?u>o?l():o=u+1:s==="["?(u>o&&l(),i=o=u+1):s==="]"&&(i||z("Access path missing open bracket: "+t),i>0&&l(),i=0,o=u+1)}return i&&z("Access path missing closing bracket: "+t),r&&z("Access path missing closing quote: "+t),u>o&&(u++,l()),e}function Le(t,e,n){const r=Bf(t);return t=r.length===1?r[0]:t,Ie((n&&n.get||Fw)(r),[t],e||t)}const zu=Le("id"),Ee=Ie(t=>t,[],"identity"),$r=Ie(()=>0,[],"zero"),qa=Ie(()=>1,[],"one"),sn=Ie(()=>!0,[],"true"),Mr=Ie(()=>!1,[],"false");function vs(t,e,n){const r=[e].concat([].slice.call(n));console[t].apply(console,r)}const Tw=0,Cg=1,Rw=2,Nw=3,Ow=4;function zw(t,e){let n=t||Tw;return{level(r){return arguments.length?(n=+r,this):n},error(){return n>=Cg&&vs(e||"error","ERROR",arguments),this},warn(){return n>=Rw&&vs(e||"warn","WARN",arguments),this},info(){return n>=Nw&&vs(e||"log","INFO",arguments),this},debug(){return n>=Ow&&vs(e||"log","DEBUG",arguments),this}}}var G=Array.isArray;function et(t){return t===Object(t)}const s2=t=>t!=="__proto__";function Lw(...t){return t.reduce((e,n)=>{for(const r in n)if(r==="signals")e.signals=ES(e.signals,n.signals);else{const i=r==="legend"?{layout:1}:r==="style"?!0:null;Sg(e,r,n[r],i)}return e},{})}function Sg(t,e,n,r){if(!s2(e))return;let i,a;if(et(n)&&!G(n)){a=et(t[e])?t[e]:t[e]={};for(i in n)r&&(r===!0||r[i])?Sg(a,i,n[i]):s2(i)&&(a[i]=n[i])}else t[e]=n}function ES(t,e){if(t==null)return e;const n={},r=[];function i(a){n[a.name]||(n[a.name]=1,r.push(a))}return e.forEach(i),t.forEach(i),r}function ot(t){return t[t.length-1]}function le(t){return t==null||t===""?null:+t}const Bw=t=>e=>t*Math.exp(e),Pw=t=>e=>Math.log(t*e),Uw=t=>e=>Math.sign(e)*Math.log1p(Math.abs(e/t)),Iw=t=>e=>Math.sign(e)*Math.expm1(Math.abs(e))*t,kl=t=>e=>e<0?-Math.pow(-e,t):Math.pow(e,t);function Pf(t,e,n,r){const i=n(t[0]),a=n(ot(t)),o=(a-i)*e;return[r(i-o),r(a-o)]}function qw(t,e){return Pf(t,e,le,Ee)}function jw(t,e){var n=Math.sign(t[0]);return Pf(t,e,Pw(n),Bw(n))}function Yw(t,e,n){return Pf(t,e,kl(n),kl(1/n))}function Ww(t,e,n){return Pf(t,e,Uw(n),Iw(n))}function Uf(t,e,n,r,i){const a=r(t[0]),o=r(ot(t)),u=e!=null?r(e):(a+o)/2;return[i(u+(a-u)*n),i(u+(o-u)*n)]}function Dg(t,e,n){return Uf(t,e,n,le,Ee)}function $g(t,e,n){const r=Math.sign(t[0]);return Uf(t,e,n,Pw(r),Bw(r))}function Al(t,e,n,r){return Uf(t,e,n,kl(r),kl(1/r))}function Fg(t,e,n,r){return Uf(t,e,n,Uw(r),Iw(r))}function Hw(t){return 1+~~(new Date(t).getMonth()/3)}function Gw(t){return 1+~~(new Date(t).getUTCMonth()/3)}function Z(t){return t!=null?G(t)?t:[t]:[]}function Vw(t,e,n){let r=t[0],i=t[1],a;return i<r&&(a=i,i=r,r=a),a=i-r,a>=n-e?[e,n]:[r=Math.min(Math.max(r,e),n-a),r+a]}function nt(t){return typeof t=="function"}const CS="descending";function Tg(t,e,n){n=n||{},e=Z(e)||[];const r=[],i=[],a={},o=n.comparator||SS;return Z(t).forEach((u,s)=>{u!=null&&(r.push(e[s]===CS?-1:1),i.push(u=nt(u)?u:Le(u,null,n)),(fe(u)||[]).forEach(l=>a[l]=1))}),i.length===0?null:Ie(o(i,r),Object.keys(a))}const If=(t,e)=>(t<e||t==null)&&e!=null?-1:(t>e||e==null)&&t!=null?1:(e=e instanceof Date?+e:e,(t=t instanceof Date?+t:t)!==t&&e===e?-1:e!==e&&t===t?1:0),SS=(t,e)=>t.length===1?DS(t[0],e[0]):$S(t,e,t.length),DS=(t,e)=>function(n,r){return If(t(n),t(r))*e},$S=(t,e,n)=>(e.push(0),function(r,i){let a,o=0,u=-1;for(;o===0&&++u<n;)a=t[u],o=If(a(r),a(i));return o*e[u]});function ge(t){return nt(t)?t:()=>t}function Rg(t,e){let n;return r=>{n&&clearTimeout(n),n=setTimeout(()=>(e(r),n=null),t)}}function tt(t){for(let e,n,r=1,i=arguments.length;r<i;++r){e=arguments[r];for(n in e)t[n]=e[n]}return t}function Vn(t,e){let n=0,r,i,a,o;if(t&&(r=t.length))if(e==null){for(i=t[n];n<r&&(i==null||i!==i);i=t[++n]);for(a=o=i;n<r;++n)i=t[n],i!=null&&(i<a&&(a=i),i>o&&(o=i))}else{for(i=e(t[n]);n<r&&(i==null||i!==i);i=e(t[++n]));for(a=o=i;n<r;++n)i=e(t[n]),i!=null&&(i<a&&(a=i),i>o&&(o=i))}return[a,o]}function Xw(t,e){const n=t.length;let r=-1,i,a,o,u,s;if(e==null){for(;++r<n;)if(a=t[r],a!=null&&a>=a){i=o=a;break}if(r===n)return[-1,-1];for(u=s=r;++r<n;)a=t[r],a!=null&&(i>a&&(i=a,u=r),o<a&&(o=a,s=r))}else{for(;++r<n;)if(a=e(t[r],r,t),a!=null&&a>=a){i=o=a;break}if(r===n)return[-1,-1];for(u=s=r;++r<n;)a=e(t[r],r,t),a!=null&&(i>a&&(i=a,u=r),o<a&&(o=a,s=r))}return[u,s]}const FS=Object.prototype.hasOwnProperty;function K(t,e){return FS.call(t,e)}const xs={};function ja(t){let e={},n;function r(a){return K(e,a)&&e[a]!==xs}const i={size:0,empty:0,object:e,has:r,get(a){return r(a)?e[a]:void 0},set(a,o){return r(a)||(++i.size,e[a]===xs&&--i.empty),e[a]=o,this},delete(a){return r(a)&&(--i.size,++i.empty,e[a]=xs),this},clear(){i.size=i.empty=0,i.object=e={}},test(a){return arguments.length?(n=a,i):n},clean(){const a={};let o=0;for(const u in e){const s=e[u];s!==xs&&(!n||!n(s))&&(a[u]=s,++o)}i.size=o,i.empty=0,i.object=e=a}};return t&&Object.keys(t).forEach(a=>{i.set(a,t[a])}),i}function Zw(t,e,n,r,i,a){if(!n&&n!==0)return a;const o=+n;let u=t[0],s=ot(t),l;s<u&&(l=u,u=s,s=l),l=Math.abs(e-u);const f=Math.abs(s-e);return l<f&&l<=o?r:f<=o?i:a}function P(t,e,n){const r=t.prototype=Object.create(e.prototype);return Object.defineProperty(r,"constructor",{value:t,writable:!0,enumerable:!0,configurable:!0}),tt(r,n)}function sa(t,e,n,r){let i=e[0],a=e[e.length-1],o;return i>a&&(o=i,i=a,a=o),n=n===void 0||n,r=r===void 0||r,(n?i<=t:i<t)&&(r?t<=a:t<a)}function Kw(t){return typeof t=="boolean"}function Ur(t){return Object.prototype.toString.call(t)==="[object Date]"}function Qw(t){return t&&nt(t[Symbol.iterator])}function Yr(t){return typeof t=="number"}function Jw(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function Ct(t){return typeof t=="string"}function Ng(t,e,n){t&&(t=e?Z(t).map(u=>u.replace(/\\(.)/g,"$1")):Z(t));const r=t&&t.length,i=n&&n.get||Fw,a=u=>i(e?[u]:Bf(u));let o;if(!r)o=function(){return""};else if(r===1){const u=a(t[0]);o=function(s){return""+u(s)}}else{const u=t.map(a);o=function(s){let l=""+u[0](s),f=0;for(;++f<r;)l+="|"+u[f](s);return l}}return Ie(o,t,"key")}function t_(t,e){const n=t[0],r=ot(t),i=+e;return i?i===1?r:n+i*(r-n):n}const TS=1e4;function e_(t){t=+t||TS;let e,n,r;const i=()=>{e={},n={},r=0},a=(o,u)=>(++r>t&&(n=e,e={},r=1),e[o]=u);return i(),{clear:i,has:o=>K(e,o)||K(n,o),get:o=>K(e,o)?e[o]:K(n,o)?a(o,n[o]):void 0,set:(o,u)=>K(e,o)?e[o]=u:a(o,u)}}function n_(t,e,n,r){const i=e.length,a=n.length;if(!a)return e;if(!i)return n;const o=r||new e.constructor(i+a);let u=0,s=0,l=0;for(;u<i&&s<a;++l)o[l]=t(e[u],n[s])>0?n[s++]:e[u++];for(;u<i;++u,++l)o[l]=e[u];for(;s<a;++s,++l)o[l]=n[s];return o}function So(t,e){let n="";for(;--e>=0;)n+=t;return n}function r_(t,e,n,r){const i=n||" ",a=t+"",o=e-a.length;return o<=0?a:r==="left"?So(i,o)+a:r==="center"?So(i,~~(o/2))+a+So(i,Math.ceil(o/2)):a+So(i,o)}function Lu(t){return t&&ot(t)-t[0]||0}function V(t){return G(t)?"["+t.map(V)+"]":et(t)||Ct(t)?JSON.stringify(t).replace("\u2028","\\u2028").replace("\u2029","\\u2029"):t}function Og(t){return t==null||t===""?null:!t||t==="false"||t==="0"?!1:!!t}const RS=t=>Yr(t)||Ur(t)?t:Date.parse(t);function zg(t,e){return e=e||RS,t==null||t===""?null:e(t)}function Lg(t){return t==null||t===""?null:t+""}function En(t){const e={},n=t.length;for(let r=0;r<n;++r)e[t[r]]=!0;return e}function i_(t,e,n,r){const i=r!=null?r:"…",a=t+"",o=a.length,u=Math.max(0,e-i.length);return o<=e?a:n==="left"?i+a.slice(o-u):n==="center"?a.slice(0,Math.ceil(u/2))+i+a.slice(o-~~(u/2)):a.slice(0,u)+i}function Ar(t,e,n){if(t)if(e){const r=t.length;for(let i=0;i<r;++i){const a=e(t[i]);a&&n(a,i,t)}}else t.forEach(n)}const NS=/^([A-Za-z]+:)?\/\//,OS=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,zS=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,l2="file://";function LS(t,e){return n=>({options:n||{},sanitize:PS,load:BS,fileAccess:!!e,file:US(e),http:qS(t)})}async function BS(t,e){const n=await this.sanitize(t,e),r=n.href;return n.localFile?this.file(r):this.http(r,e)}async function PS(t,e){e=tt({},this.options,e);const n=this.fileAccess,r={href:null};let i,a,o;const u=OS.test(t.replace(zS,""));(t==null||typeof t!="string"||!u)&&z("Sanitize failure, invalid URI: "+V(t));const s=NS.test(t);return(o=e.baseURL)&&!s&&(!t.startsWith("/")&&o[o.length-1]!=="/"&&(t="/"+t),t=o+t),a=(i=t.startsWith(l2))||e.mode==="file"||e.mode!=="http"&&!s&&n,i?t=t.slice(l2.length):t.startsWith("//")&&(e.defaultProtocol==="file"?(t=t.slice(2),a=!0):t=(e.defaultProtocol||"http")+":"+t),Object.defineProperty(r,"localFile",{value:!!a}),r.href=t,e.target&&(r.target=e.target+""),e.rel&&(r.rel=e.rel+""),e.context==="image"&&e.crossOrigin&&(r.crossOrigin=e.crossOrigin+""),r}function US(t){return t?e=>new Promise((n,r)=>{t.readFile(e,(i,a)=>{i?r(i):n(a)})}):IS}async function IS(){z("No file system access.")}function qS(t){return t?async function(e,n){const r=tt({},this.options.http,n),i=n&&n.response,a=await t(e,r);return a.ok?nt(a[i])?a[i]():a.text():z(a.status+""+a.statusText)}:jS}async function jS(){z("No HTTP fetch method available.")}const YS=t=>t!=null&&t===t,WS=t=>t==="true"||t==="false"||t===!0||t===!1,HS=t=>!Number.isNaN(Date.parse(t)),a_=t=>!Number.isNaN(+t)&&!(t instanceof Date),GS=t=>a_(t)&&Number.isInteger(+t),_0={boolean:Og,integer:le,number:le,date:zg,string:Lg,unknown:Ee},bs=[WS,GS,a_,HS],VS=["boolean","integer","number","date"];function o_(t,e){if(!t||!t.length)return"unknown";const n=t.length,r=bs.length,i=bs.map((a,o)=>o+1);for(let a=0,o=0,u,s;a<n;++a)for(s=e?t[a][e]:t[a],u=0;u<r;++u)if(i[u]&&YS(s)&&!bs[u](s)&&(i[u]=0,++o,o===bs.length))return"string";return VS[i.reduce((a,o)=>a===0?o:a,0)-1]}function u_(t,e){return e.reduce((n,r)=>(n[r]=o_(t,r),n),{})}var f2={},ah={},oh=34,io=10,uh=13;function s_(t){return new Function("d","return {"+t.map(function(e,n){return JSON.stringify(e)+": d["+n+'] || ""'}).join(",")+"}")}function XS(t,e){var n=s_(t);return function(r,i){return e(n(r),i,t)}}function c2(t){var e=Object.create(null),n=[];return t.forEach(function(r){for(var i in r)i in e||n.push(e[i]=i)}),n}function $e(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function ZS(t){return t<0?"-"+$e(-t,6):t>9999?"+"+$e(t,6):$e(t,4)}function KS(t){var e=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":ZS(t.getUTCFullYear())+"-"+$e(t.getUTCMonth()+1,2)+"-"+$e(t.getUTCDate(),2)+(i?"T"+$e(e,2)+":"+$e(n,2)+":"+$e(r,2)+"."+$e(i,3)+"Z":r?"T"+$e(e,2)+":"+$e(n,2)+":"+$e(r,2)+"Z":n||e?"T"+$e(e,2)+":"+$e(n,2)+"Z":"")}function QS(t){var e=new RegExp('["'+t+`
|
|
2
2
|
\r]`),n=t.charCodeAt(0);function r(c,h){var d,g,p=i(c,function(m,y){if(d)return d(m,y-1);g=m,d=h?XS(m,h):s_(m)});return p.columns=g||[],p}function i(c,h){var d=[],g=c.length,p=0,m=0,y,v=g<=0,x=!1;c.charCodeAt(g-1)===io&&--g,c.charCodeAt(g-1)===uh&&--g;function b(){if(v)return ah;if(x)return x=!1,f2;var M,w=p,A;if(c.charCodeAt(w)===oh){for(;p++<g&&c.charCodeAt(p)!==oh||c.charCodeAt(++p)===oh;);return(M=p)>=g?v=!0:(A=c.charCodeAt(p++))===io?x=!0:A===uh&&(x=!0,c.charCodeAt(p)===io&&++p),c.slice(w+1,M-1).replace(/""/g,'"')}for(;p<g;){if((A=c.charCodeAt(M=p++))===io)x=!0;else if(A===uh)x=!0,c.charCodeAt(p)===io&&++p;else if(A!==n)continue;return c.slice(w,M)}return v=!0,c.slice(w,g)}for(;(y=b())!==ah;){for(var _=[];y!==f2&&y!==ah;)_.push(y),y=b();h&&(_=h(_,m++))==null||d.push(_)}return d}function a(c,h){return c.map(function(d){return h.map(function(g){return f(d[g])}).join(t)})}function o(c,h){return h==null&&(h=c2(c)),[h.map(f).join(t)].concat(a(c,h)).join(`
|
|
3
3
|
`)}function u(c,h){return h==null&&(h=c2(c)),a(c,h).join(`
|
|
4
4
|
`)}function s(c){return c.map(l).join(`
|