1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[338],{3404:(t,e,r)=>{"use strict";var n=r(22350),o=r(70220),i=r(32322);t.exports=n?function(t){return n(t)}:o?function(t){if(!t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("getProto: not an object");return o(t)}:i?function(t){return i(t)}:null},4394:(t,e,r)=>{t.exports&&(t.exports={DBSCAN:r(74949),KMEANS:r(93715),OPTICS:r(84720),PriorityQueue:r(41085)})},4853:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},8707:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(11083);function o(t,e,r){if(null!==t)for(var n,i,a,s,u,l,c,f,h=0,p=0,d=t.type,y="FeatureCollection"===d,v="Feature"===d,g=y?t.features.length:1,m=0;m<g;m++){u=(f=!!(c=y?t.features[m].geometry:v?t.geometry:t)&&"GeometryCollection"===c.type)?c.geometries.length:1;for(var x=0;x<u;x++){var b=0,w=0;if(null!==(s=f?c.geometries[x]:c)){l=s.coordinates;var E=s.type;switch(h=r&&("Polygon"===E||"MultiPolygon"===E)?1:0,E){case null:break;case"Point":if(!1===e(l,p,m,b,w))return!1;p++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<l.length;n++){if(!1===e(l[n],p,m,b,w))return!1;p++,"MultiPoint"===E&&b++}"LineString"===E&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<l.length;n++){for(i=0;i<l[n].length-h;i++){if(!1===e(l[n][i],p,m,b,w))return!1;p++}"MultiLineString"===E&&b++,"Polygon"===E&&w++}"Polygon"===E&&b++;break;case"MultiPolygon":for(n=0;n<l.length;n++){for(i=0,w=0;i<l[n].length;i++){for(a=0;a<l[n][i].length-h;a++){if(!1===e(l[n][i][a],p,m,b,w))return!1;p++}w++}b++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(!1===o(s.geometries[n],e,r))return!1;break;default:throw Error("Unknown Geometry Type")}}}}}function i(t,e){var r;switch(t.type){case"FeatureCollection":for(r=0;r<t.features.length&&!1!==e(t.features[r].properties,r);r++);break;case"Feature":e(t.properties,0)}}function a(t,e){if("Feature"===t.type)e(t,0);else if("FeatureCollection"===t.type)for(var r=0;r<t.features.length&&!1!==e(t.features[r],r);r++);}function s(t,e){var r,n,o,i,a,s,u,l,c,f,h=0,p="FeatureCollection"===t.type,d="Feature"===t.type,y=p?t.features.length:1;for(r=0;r<y;r++){for(o=0,s=p?t.features[r].geometry:d?t.geometry:t,l=p?t.features[r].properties:d?t.properties:{},c=p?t.features[r].bbox:d?t.bbox:void 0,f=p?t.features[r].id:d?t.id:void 0,a=(u=!!s&&"GeometryCollection"===s.type)?s.geometries.length:1;o<a;o++){if(null===(i=u?s.geometries[o]:s)){if(!1===e(null,h,l,c,f))return!1;continue}switch(i.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===e(i,h,l,c,f))return!1;break;case"GeometryCollection":for(n=0;n<i.geometries.length;n++)if(!1===e(i.geometries[n],h,l,c,f))return!1;break;default:throw Error("Unknown Geometry Type")}}h++}}function u(t,e){s(t,function(t,r,o,i,a){var s,u=null===t?null:t.type;switch(u){case null:case"Point":case"LineString":case"Polygon":if(!1===e(n.feature(t,o,{bbox:i,id:a}),r,0))return!1;return}switch(u){case"MultiPoint":s="Point";break;case"MultiLineString":s="LineString";break;case"MultiPolygon":s="Polygon"}for(var l=0;l<t.coordinates.length;l++){var c={type:s,coordinates:t.coordinates[l]};if(!1===e(n.feature(c,o),r,l))return!1}})}function l(t,e){u(t,function(t,r,i){var a,s=0;if(t.geometry){var u=t.geometry.type;if("Point"!==u&&"MultiPoint"!==u){var l=0,c=0,f=0;if(!1===o(t,function(o,u,h,p,d){if(void 0===a||r>l||p>c||d>f){a=o,l=r,c=p,f=d,s=0;return}if(!1===e(n.lineString([a,o],t.properties),r,i,d,s))return!1;s++,a=o}))return!1}}})}function c(t,e){if(!t)throw Error("geojson is required");u(t,function(t,r,o){if(null!==t.geometry){var i=t.geometry.type,a=t.geometry.coordinates;switch(i){case"LineString":if(!1===e(t,r,o,0,0))return!1;break;case"Polygon":for(var s=0;s<a.length;s++)if(!1===e(n.lineString(a[s],t.properties),r,o,s))return!1}}})}e.coordAll=function(t){var e=[];return o(t,function(t){e.push(t)}),e},e.coordEach=o,e.coordReduce=function(t,e,r,n){var i=r;return o(t,function(t,n,o,a,s){i=0===n&&void 0===r?t:e(i,t,n,o,a,s)},n),i}
1,e.featureEach=a,e.featureReduce=function(t,e,r){var n=r;return a(t,function(t,o){n=0===o&&void 0===r?t:e(n,t,o)}),n},e.findPoint=function(t,e){if(e=e||{},!n.isObject(e))throw Error("options is invalid");var r,o=e.featureIndex||0,i=e.multiFeatureIndex||0,a=e.geometryIndex||0,s=e.coordIndex||0,u=e.properties;switch(t.type){case"FeatureCollection":o<0&&(o=t.features.length+o),u=u||t.features[o].properties,r=t.features[o].geometry;break;case"Feature":u=u||t.properties,r=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=t;break;default:throw Error("geojson is invalid")}if(null===r)return null;var l=r.coordinates;switch(r.type){case"Point":return n.point(l,u,e);case"MultiPoint":return i<0&&(i=l.length+i),n.point(l[i],u,e);case"LineString":return s<0&&(s=l.length+s),n.point(l[s],u,e);case"Polygon":return a<0&&(a=l.length+a),s<0&&(s=l[a].length+s),n.point(l[a][s],u,e);case"MultiLineString":return i<0&&(i=l.length+i),s<0&&(s=l[i].length+s),n.point(l[i][s],u,e);case"MultiPolygon":return i<0&&(i=l.length+i),a<0&&(a=l[i].length+a),s<0&&(s=l[i][a].length-s),n.point(l[i][a][s],u,e)}throw Error("geojson is invalid")},e.findSegment=function(t,e){if(e=e||{},!n.isObject(e))throw Error("options is invalid");var r,o=e.featureIndex||0,i=e.multiFeatureIndex||0,a=e.geometryIndex||0,s=e.segmentIndex||0,u=e.properties;switch(t.type){case"FeatureCollection":o<0&&(o=t.features.length+o),u=u||t.features[o].properties,r=t.features[o].geometry;break;case"Feature":u=u||t.properties,r=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":r=t;break;default:throw Error("geojson is invalid")}if(null===r)return null;var l=r.coordinates;switch(r.type){case"Point":case"MultiPoint":return null;case"LineString":return s<0&&(s=l.length+s-1),n.lineString([l[s],l[s+1]],u,e);case"Polygon":return a<0&&(a=l.length+a),s<0&&(s=l[a].length+s-1),n.lineString([l[a][s],l[a][s+1]],u,e);case"MultiLineString":return i<0&&(i=l.length+i),s<0&&(s=l[i].length+s-1),n.lineString([l[i][s],l[i][s+1]],u,e);case"MultiPolygon":return i<0&&(i=l.length+i),a<0&&(a=l[i].length+a),s<0&&(s=l[i][a].length-s-1),n.lineString([l[i][a][s],l[i][a][s+1]],u,e)}throw Error("geojson is invalid")},e.flattenEach=u,e.flattenReduce=function(t,e,r){var n=r;return u(t,function(t,o,i){n=0===o&&0===i&&void 0===r?t:e(n,t,o,i)}),n},e.geomEach=s,e.geomReduce=function(t,e,r){var n=r;return s(t,function(t,o,i,a,s){n=0===o&&void 0===r?t:e(n,t,o,i,a,s)}),n},e.lineEach=c,e.lineReduce=function(t,e,r){var n=r;return c(t,function(t,o,i,a){n=0===o&&void 0===r?t:e(n,t,o,i,a)}),n},e.propEach=i,e.propReduce=function(t,e,r){var n=r;return i(t,function(t,o){n=0===o&&void 0===r?t:e(n,t,o)}),n},e.segmentEach=l,e.segmentReduce=function(t,e,r){var n=r,o=!1;return l(t,function(t,i,a,s,u){n=!1===o&&void 0===r?t:e(n,t,i,a,s,u),o=!0}),n}},9578:t=>{"use strict";t.exports=()=>{let t={};return t.promise=new Promise((e,r)=>{t.resolve=e,t.reject=r}),t}},9732:t=>{"use strict";t.exports=Math.pow},10522:(t,e,r)=>{"use strict";var n=r(72268),o=r(61676);t.exports=function(){var t=n();return o(Object,{is:t},{is:function(){return Object.is!==t}}),t}},10778:t=>{"use strict";t.exports=Function.prototype.apply},11083:(t,e)=>{"use strict";function r(t,e,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}function n(t,e,n){if(void 0===n&&(n={}),!t)throw Error("coordinates is required");if(!Array.isArray(t))throw Error("coordinates must be an Array");if(t.length<2)throw Error("coordinates must be at least 2 numbers long");if(!p(t[0])||!p(t[1]))throw Error("coordinates must contain numbers");return r({type:"Point",coordinates:t},e,n)}function o(t,e,n){void 0===n&&(n={});for(var o=0;o<t.length;o++){var i=t[o];if(i.length<4)throw Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var a=0;a<i[i.length-1].length;a++)if(i[i.length-1][a]!==i[0][a])throw Error("First and last Position are not equivalent.")}return r({type:"Polygon",coordinates:t},e,n)}function i(t,e,n){if(void 0===n&&(n={}),t.length<2)throw Error("coordinates must be an array of two or more positions");return r({type:"LineString",coordinates:t},e,n)}function a(t,e){void 0===e&&(e={});var r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function s(t,e,n){return void 0===n&&(n={}),r({type:"MultiLineString",coordinates:t},e,n)}function u(t,e,n){return void 0===n&&(n={}),r({type:"MultiPoint",coordinates:t},e,n)}function l(t,e,n){return void 0===n&&(n={}),r({type:"MultiPolygon",coordinates:t},e,n)}function c(t,r){void 0===r&&(r="kilometers");var n=e.factors[r];
1if(!n)throw Error(r+" units is invalid");return t*n}function f(t,r){void 0===r&&(r="kilometers");var n=e.factors[r];if(!n)throw Error(r+" units is invalid");return t/n}function h(t){return t%(2*Math.PI)*180/Math.PI}function p(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.earthRadius=6371008.8,e.factors={centimeters:100*e.earthRadius,centimetres:100*e.earthRadius,degrees:e.earthRadius/111325,feet:3.28084*e.earthRadius,inches:39.37*e.earthRadius,kilometers:e.earthRadius/1e3,kilometres:e.earthRadius/1e3,meters:e.earthRadius,metres:e.earthRadius,miles:e.earthRadius/1609.344,millimeters:1e3*e.earthRadius,millimetres:1e3*e.earthRadius,nauticalmiles:e.earthRadius/1852,radians:1,yards:1.0936*e.earthRadius},e.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:.001,kilometres:.001,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/e.earthRadius,yards:1.0936133},e.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046},e.feature=r,e.geometry=function(t,e,r){switch(void 0===r&&(r={}),t){case"Point":return n(e).geometry;case"LineString":return i(e).geometry;case"Polygon":return o(e).geometry;case"MultiPoint":return u(e).geometry;case"MultiLineString":return s(e).geometry;case"MultiPolygon":return l(e).geometry;default:throw Error(t+" is invalid")}},e.point=n,e.points=function(t,e,r){return void 0===r&&(r={}),a(t.map(function(t){return n(t,e)}),r)},e.polygon=o,e.polygons=function(t,e,r){return void 0===r&&(r={}),a(t.map(function(t){return o(t,e)}),r)},e.lineString=i,e.lineStrings=function(t,e,r){return void 0===r&&(r={}),a(t.map(function(t){return i(t,e)}),r)},e.featureCollection=a,e.multiLineString=s,e.multiPoint=u,e.multiPolygon=l,e.geometryCollection=function(t,e,n){return void 0===n&&(n={}),r({type:"GeometryCollection",geometries:t},e,n)},e.round=function(t,e){if(void 0===e&&(e=0),e&&!(e>=0))throw Error("precision must be a positive number");var r=Math.pow(10,e||0);return Math.round(t*r)/r},e.radiansToLength=c,e.lengthToRadians=f,e.lengthToDegrees=function(t,e){return h(f(t,e))},e.bearingToAzimuth=function(t){var e=t%360;return e<0&&(e+=360),e},e.radiansToDegrees=h,e.degreesToRadians=function(t){return t%360*Math.PI/180},e.convertLength=function(t,e,r){if(void 0===e&&(e="kilometers"),void 0===r&&(r="kilometers"),!(t>=0))throw Error("length must be a positive number");return c(f(t,e),r)},e.convertArea=function(t,r,n){if(void 0===r&&(r="meters"),void 0===n&&(n="kilometers"),!(t>=0))throw Error("area must be a positive number");var o=e.areaFactors[r];if(!o)throw Error("invalid original units");var i=e.areaFactors[n];if(!i)throw Error("invalid final units");return t/o*i},e.isNumber=p,e.isObject=function(t){return!!t&&t.constructor===Object},e.validateBBox=function(t){if(!t)throw Error("bbox is required");if(!Array.isArray(t))throw Error("bbox must be an Array");if(4!==t.length&&6!==t.length)throw Error("bbox must be an Array of 4 or 6 numbers");t.forEach(function(t){if(!p(t))throw Error("bbox must only contain numbers")})},e.validateId=function(t){if(!t)throw Error("id is required");if(-1===["string","number"].indexOf(typeof t))throw Error("id must be a number or a string")}},11678:(t,e,r)=>{"use strict";r.d(e,{f:()=>E});var n=r(98407),o=r(48977),i=r(52691),a=r(51760),s=r(12115),u=(0,a.B0)([i.wf,o.ws],[i.s1,o.aN]),l=u.useContext;u.useScopedContext,u.useProviderContext,u.ContextProvider,u.ScopedContextProvider;var c=r(29033),f=r(51467),h=r(51898),p=r(23600),d=r(75976),y=r(48864),v=r(35248),g=r(73025),m=r(62974);function x(t={}){var{composite:e,combobox:r}=t,n=(0,m.YG)(t,["composite","combobox"]);let o=["items","renderedItems","moves","orientation","virtualFocus","includesBaseElement","baseElement","focusLoop","focusShift","focusWrap"],i=(0,v.od)(n.store,(0,v.cJ)(e,o),(0,v.cJ)(r,o)),a=null==i?void 0:i.getState(),s=(0,d.z)((0,m.ko)((0,m.IA)({},n),{store:i,includesBaseElement:(0,g.Jh)(n.includesBaseElement,null==a?void 0:a.includesBaseElement,!1),orientation:(0,g.Jh)(n.orientation,null==a?void 0:a.orientation,"horizontal"),focusLoop:(0,g.Jh)(n.focusLoop,null==a?void 0:a.focusLoop,!0)})),u=(0,y.I)(),l=(0,m.ko)((0,m.IA)({},s.getState()),{selectedId:(0,g.Jh)(n.selectedId,null==a?void 0:a.selectedId,n.defaultSelectedId),selectOnMove:(0,g.Jh)(n.selectOnMove,null==a?void 0:a.selectOnMove,!0)}),c=(0,v.y$)(l,s,i);(0,v.mj)(c,()=>(0,v.OH)(c,["moves"],()=>{let{activeId:t,selectOnMove:e}=c.getState();if(!e||!t)return;let r=s.item(t);r&&!r.dimmed&&(r.disabled||c.setState("selectedId",r.id))}));let f=!0;(0,v.mj)(c,()=>(0,v.vA)(c,["selectedId"],(t,r)=>{if(!f){f=!0;return}e&&t.selectedId===r.selectedId||c.setState("activeId",t.selectedId)})),(0,v.mj)(c,()=>(0,v.OH)(c,["selectedId","renderedItems"],t=>{if(void 0!==t.selectedId)return;let{activeId:e,renderedItems:r}=c.getState(),n=s.item(e);if(!n||n.disabled||n.dimmed){let t=r.find(t=>!t.disabled&&!t.dimmed);c.setState("selectedId",null==t?void 0:t.id)}else c.setState("selectedId",n.id)})),(0,v.mj)(c,()=>(0,v.OH)(c,["renderedItems"],t=>{let e=t.renderedItems;if(e.length)return(0,v.OH)(u,["renderedItems"],t=>{let r=t.renderedItems;r.some(t=>!t.tabId)&&r.forEach((t,r)=>{if(t.tabId)return;let n=e[r];n&&u.renderItem((0,m.ko)((0,m.IA)({},t),{tabId:n.id}))})})}));let h=null;return(0,v.mj)(c,()=>{let t=()=>{h=c.getState().selectedId},n=()=>
1{f=!1,c.setState("selectedId",h)};return e&&"setSelectElement"in e?(0,g.cy)((0,v.OH)(e,["value"],t),(0,v.OH)(e,["mounted"],n)):r?(0,g.cy)((0,v.OH)(r,["selectedValue"],t),(0,v.OH)(r,["mounted"],n)):void 0}),(0,m.ko)((0,m.IA)((0,m.IA)({},s),c),{panels:u,setSelectedId:t=>c.setState("selectedId",t),select:t=>{c.setState("selectedId",t),s.move(t)}})}var b=r(71953),w=r(95155);function E(t={}){let e=function(t={}){let e=(0,n.Ay)(),r=l()||e;t=(0,p.ko)((0,p.IA)({},t),{composite:void 0!==t.composite?t.composite:r,combobox:void 0!==t.combobox?t.combobox:e});let[o,i]=(0,f.Pj)(x,t);var a=o,u=t;(0,h.w5)(i,[u.composite,u.combobox]),a=(0,c.YO)(a,i,u),(0,f.Tz)(a,u,"selectedId","setSelectedId"),(0,f.Tz)(a,u,"selectOnMove");let[d,y]=(0,f.Pj)(()=>a.panels,{});return(0,h.w5)(y,[a,y]),Object.assign((0,s.useMemo)(()=>(0,p.ko)((0,p.IA)({},a),{panels:d}),[a,d]),{composite:u.composite,combobox:u.combobox})}(t);return(0,w.jsx)(b.cm,{value:e,children:t.children})}},13620:t=>{"use strict";t.exports={eudist:function(t,e,r){for(var n=t.length,o=0,i=0;i<n;i++){var a=(t[i]||0)-(e[i]||0);o+=a*a}return r?Math.sqrt(o):o},mandist:function(t,e,r){for(var n=t.length,o=0,i=0;i<n;i++)o+=Math.abs((t[i]||0)-(e[i]||0));return r?Math.sqrt(o):o},dist:function(t,e,r){var n=Math.abs(t-e);return r?n:n*n}}},14766:t=>{"use strict";t.exports=Object.assign.bind(Object),t.exports.default=t.exports},15650:t=>{"use strict";function e(t,e,c){c=c||2;var f,d,v,g,m,x,b,w=e&&e.length,E=w?e[0]*c:t.length,_=r(t,0,E,c,!0),S=[];if(!_||_.next===_.prev)return S;if(w&&(_=function(t,e,i,u){var l,c,f,d,y,v=[];for(l=0,c=e.length;l<c;l++)f=e[l]*u,d=l<c-1?e[l+1]*u:t.length,(y=r(t,f,d,u,!1))===y.next&&(y.steiner=!0),v.push(function(t){var e=t,r=t;do(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;while(e!==t);return r}(y));for(v.sort(o),l=0;l<v.length;l++)i=function(t,e){var r=function(t,e){var r,n,o,i=e,u=t.x,l=t.y,c=-1/0;do{if(l<=i.y&&l>=i.next.y&&i.next.y!==i.y){var f=i.x+(l-i.y)*(i.next.x-i.x)/(i.next.y-i.y);if(f<=u&&f>c&&(c=f,o=i.x<i.next.x?i:i.next,f===u))return o}i=i.next}while(i!==e);if(!o)return null;var p,d=o,y=o.x,v=o.y,g=1/0;i=o;do{u>=i.x&&i.x>=y&&u!==i.x&&a(l<v?u:c,l,y,v,l<v?c:u,l,i.x,i.y)&&(p=Math.abs(l-i.y)/(u-i.x),h(i,t)&&(p<g||p===g&&(i.x>o.x||i.x===o.x&&(r=o,n=i,0>s(r.prev,r,n.prev)&&0>s(n.next,r,r.next))))&&(o=i,g=p)),i=i.next}while(i!==d);return o}(t,e);if(!r)return e;var o=p(r,t);return n(o,o.next),n(r,r.next)}(v[l],i);return i}(t,e,_,c)),t.length>80*c){f=v=t[0],d=g=t[1];for(var O=c;O<E;O+=c)m=t[O],x=t[O+1],m<f&&(f=m),x<d&&(d=x),m>v&&(v=m),x>g&&(g=x);b=0!==(b=Math.max(v-f,g-d))?32767/b:0}return function t(e,r,o,c,f,d,v){if(e){!v&&d&&function(t,e,r,n){var o=t;do 0===o.z&&(o.z=i(o.x,o.y,e,r,n)),o.prevZ=o.prev,o.nextZ=o.next,o=o.next;while(o!==t);o.prevZ.nextZ=null,o.prevZ=null,function(t){var e,r,n,o,i,a,s,u,l=1;do{for(r=t,t=null,i=null,a=0;r;){for(a++,n=r,s=0,e=0;e<l&&(s++,n=n.nextZ);e++);for(u=l;s>0||u>0&&n;)0!==s&&(0===u||!n||r.z<=n.z)?(o=r,r=r.nextZ,s--):(o=n,n=n.nextZ,u--),i?i.nextZ=o:t=o,o.prevZ=i,i=o;r=n}i.nextZ=null,l*=2}while(a>1)}(o)}(e,c,f,d);for(var g,m,x=e;e.prev!==e.next;){if(g=e.prev,m=e.next,d?function(t,e,r,n){var o=t.prev,u=t.next;if(s(o,t,u)>=0)return!1;for(var l=o.x,c=t.x,f=u.x,h=o.y,p=t.y,d=u.y,y=l<c?l<f?l:f:c<f?c:f,v=h<p?h<d?h:d:p<d?p:d,g=l>c?l>f?l:f:c>f?c:f,m=h>p?h>d?h:d:p>d?p:d,x=i(y,v,e,r,n),b=i(g,m,e,r,n),w=t.prevZ,E=t.nextZ;w&&w.z>=x&&E&&E.z<=b;){if(w.x>=y&&w.x<=g&&w.y>=v&&w.y<=m&&w!==o&&w!==u&&a(l,h,c,p,f,d,w.x,w.y)&&s(w.prev,w,w.next)>=0||(w=w.prevZ,E.x>=y&&E.x<=g&&E.y>=v&&E.y<=m&&E!==o&&E!==u&&a(l,h,c,p,f,d,E.x,E.y)&&s(E.prev,E,E.next)>=0))return!1;E=E.nextZ}for(;w&&w.z>=x;){if(w.x>=y&&w.x<=g&&w.y>=v&&w.y<=m&&w!==o&&w!==u&&a(l,h,c,p,f,d,w.x,w.y)&&s(w.prev,w,w.next)>=0)return!1;w=w.prevZ}for(;E&&E.z<=b;){if(E.x>=y&&E.x<=g&&E.y>=v&&E.y<=m&&E!==o&&E!==u&&a(l,h,c,p,f,d,E.x,E.y)&&s(E.prev,E,E.next)>=0)return!1;E=E.nextZ}return!0}(e,c,f,d):function(t){var e=t.prev,r=t.next;if(s(e,t,r)>=0)return!1;for(var n=e.x,o=t.x,i=r.x,u=e.y,l=t.y,c=r.y,f=n<o?n<i?n:i:o<i?o:i,h=u<l?u<c?u:c:l<c?l:c,p=n>o?n>i?n:i:o>i?o:i,d=u>l?u>c?u:c:l>c?l:c,y=r.next;y!==e;){if(y.x>=f&&y.x<=p&&y.y>=h&&y.y<=d&&a(n,u,o,l,i,c,y.x,y.y)&&s(y.prev,y,y.next)>=0)return!1;y=y.next}return!0}(e)){r.push(g.i/o|0),r.push(e.i/o|0),r.push(m.i/o|0),y(e),e=m.next,x=m.next;continue}if((e=m)===x){v?1===v?t(e=function(t,e,r){var o=t;do{var i=o.prev,a=o.next.next;!u(i,a)&&l(i,o,o.next,a)&&h(i,a)&&h(a,i)&&(e.push(i.i/r|0),e.push(o.i/r|0),e.push(a.i/r|0),y(o),y(o.next),o=t=a),o=o.next}while(o!==t);return n(o)}(n(e),r,o),r,o,c,f,d,2):2===v&&function(e,r,o,i,a,c){var f=e;do{for(var d,y,v=f.next.next;v!==f.prev;){if(f.i!==v.i&&(d=f,y=v,d.next.i!==y.i&&d.prev.i!==y.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&l(r,r.next,t,e))return!0;r=r.next}
1while(r!==t);return!1}(d,y)&&(h(d,y)&&h(y,d)&&function(t,e){var r=t,n=!1,o=(t.x+e.x)/2,i=(t.y+e.y)/2;do r.y>i!=r.next.y>i&&r.next.y!==r.y&&o<(r.next.x-r.x)*(i-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;while(r!==t);return n}(d,y)&&(s(d.prev,d,y.prev)||s(d,y.prev,y))||u(d,y)&&s(d.prev,d,d.next)>0&&s(y.prev,y,y.next)>0))){var g=p(f,v);f=n(f,f.next),g=n(g,g.next),t(f,r,o,i,a,c,0),t(g,r,o,i,a,c,0);return}v=v.next}f=f.next}while(f!==e)}(e,r,o,c,f,d):t(n(e),r,o,c,f,d,1);break}}}}(_,S,c,f,d,b,0),S}function r(t,e,r,n,o){var i,a;if(o===g(t,e,r,n)>0)for(i=e;i<r;i+=n)a=d(i,t[i],t[i+1],a);else for(i=r-n;i>=e;i-=n)a=d(i,t[i],t[i+1],a);return a&&u(a,a.next)&&(y(a),a=a.next),a}function n(t,e){if(!t)return t;e||(e=t);var r,n=t;do if(r=!1,!n.steiner&&(u(n,n.next)||0===s(n.prev,n,n.next))){if(y(n),(n=e=n.prev)===n.next)break;r=!0}else n=n.next;while(r||n!==e);return e}function o(t,e){return t.x-e.x}function i(t,e,r,n,o){return(t=((t=((t=((t=((t=(t-r)*o|0)|t<<8)&0xff00ff)|t<<4)&0xf0f0f0f)|t<<2)&0x33333333)|t<<1)&0x55555555)|(e=((e=((e=((e=((e=(e-n)*o|0)|e<<8)&0xff00ff)|e<<4)&0xf0f0f0f)|e<<2)&0x33333333)|e<<1)&0x55555555)<<1}function a(t,e,r,n,o,i,a,s){return(o-a)*(e-s)>=(t-a)*(i-s)&&(t-a)*(n-s)>=(r-a)*(e-s)&&(r-a)*(i-s)>=(o-a)*(n-s)}function s(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function u(t,e){return t.x===e.x&&t.y===e.y}function l(t,e,r,n){var o=f(s(t,e,r)),i=f(s(t,e,n)),a=f(s(r,n,t)),u=f(s(r,n,e));return!!(o!==i&&a!==u||0===o&&c(t,r,e)||0===i&&c(t,n,e)||0===a&&c(r,t,n)||0===u&&c(r,e,n))}function c(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function f(t){return t>0?1:t<0?-1:0}function h(t,e){return 0>s(t.prev,t,t.next)?s(t,e,t.next)>=0&&s(t,t.prev,e)>=0:0>s(t,e,t.prev)||0>s(t,t.next,e)}function p(t,e){var r=new v(t.i,t.x,t.y),n=new v(e.i,e.x,e.y),o=t.next,i=e.prev;return t.next=e,e.prev=t,r.next=o,o.prev=r,n.next=r,r.prev=n,i.next=n,n.prev=i,n}function d(t,e,r,n){var o=new v(t,e,r);return n?(o.next=n.next,o.prev=n,n.next.prev=o,n.next=o):(o.prev=o,o.next=o),o}function y(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ)}function v(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function g(t,e,r,n){for(var o=0,i=e,a=r-n;i<r;i+=n)o+=(t[a]-t[i])*(t[i+1]+t[a+1]),a=i;return o}t.exports=e,t.exports.default=e,e.deviation=function(t,e,r,n){var o=e&&e.length,i=o?e[0]*r:t.length,a=Math.abs(g(t,0,i,r));if(o)for(var s=0,u=e.length;s<u;s++){var l=e[s]*r,c=s<u-1?e[s+1]*r:t.length;a-=Math.abs(g(t,l,c,r))}var f=0;for(s=0;s<n.length;s+=3){var h=n[s]*r,p=n[s+1]*r,d=n[s+2]*r;f+=Math.abs((t[h]-t[d])*(t[p+1]-t[h+1])-(t[h]-t[p])*(t[d+1]-t[h+1]))}return 0===a&&0===f?0:Math.abs((f-a)/a)},e.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,o=0;o<t.length;o++){for(var i=0;i<t[o].length;i++)for(var a=0;a<e;a++)r.vertices.push(t[o][i][a]);o>0&&(n+=t[o-1].length,r.holes.push(n))}return r}},15840:(t,e,r)=>{"use strict";var n=r(61676).supportsDescriptors,o=r(21822),i=r(27349),a=Object.defineProperty,s=r(90123),u=r(3404),l=/a/;t.exports=function(){if(!n||!u)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=o(),e=u(l),r=i(e,"flags");return r&&r.get===t||a(e,"flags",{configurable:!0,enumerable:!1,get:t}),t}},16029:(t,e,r)=>{"use strict";var n=r(61676),o=r(57759),i=r(38369),a=r(72268),s=r(10522),u=o(a(),Object);n(u,{getPolyfill:a,implementation:i,shim:s}),t.exports=u},16873:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e||"[object Symbol]"!==Object.prototype.toString.call(e)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,e);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},17311:(t,e,r)=>{"use strict";var n=r(61676),o=r(57759),i=r(81559),a=r(21822),s=r(15840),u=o(a());n(u,{getPolyfill:a,implementation:i,shim:s}),t.exports=u},19683:t=>{"use strict";
1t.exports=EvalError},20535:(t,e,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty;t.exports=r(61807).call(n,o)},21581:(t,e,r)=>{"use strict";var n=r(8707);function o(t){var e=[1/0,1/0,-1/0,-1/0];return n.coordEach(t,function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])}),e}o.default=o,e.A=o},21627:function(t,e,r){"use strict";var n=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function s(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){t.done?o(t.value):new r(function(e){e(t.value)}).then(a,s)}u((n=n.apply(t,e||[])).next())})},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});let i=o(r(9578));function a(t,e="maxAge"){let r,o,s,u=()=>n(this,void 0,void 0,function*(){if(void 0!==r)return;let a=a=>n(this,void 0,void 0,function*(){s=i.default();let n=a[1][e]-Date.now();if(n<=0){t.delete(a[0]),s.resolve();return}return r=a[0],"function"==typeof(o=setTimeout(()=>{t.delete(a[0]),s&&s.resolve()},n)).unref&&o.unref(),s.promise});try{for(let e of t)yield a(e)}catch(t){}r=void 0}),l=t.set.bind(t);return t.set=(e,n)=>{t.has(e)&&t.delete(e);let i=l(e,n);return r&&r===e&&(r=void 0,void 0!==o&&(clearTimeout(o),o=void 0),void 0!==s&&(s.reject(void 0),s=void 0)),u(),i},u(),t}e.default=a,t.exports=a,t.exports.default=a},21747:(t,e,r)=>{"use strict";function n(t,e,r){void 0===r&&(r={});var n={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}function o(t,e,r){if(void 0===r&&(r={}),!t)throw Error("coordinates is required");if(!Array.isArray(t))throw Error("coordinates must be an Array");if(t.length<2)throw Error("coordinates must be at least 2 numbers long");if(!u(t[0])||!u(t[1]))throw Error("coordinates must contain numbers");return n({type:"Point",coordinates:t},e,r)}function i(t,e,r){void 0===r&&(r={});for(var o=0;o<t.length;o++){var i=t[o];if(i.length<4)throw Error("Each LinearRing of a Polygon must have 4 or more Positions.");for(var a=0;a<i[i.length-1].length;a++)if(i[i.length-1][a]!==i[0][a])throw Error("First and last Position are not equivalent.")}return n({type:"Polygon",coordinates:t},e,r)}function a(t,e){void 0===e&&(e={});var r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function s(t,e,r){return void 0===r&&(r={}),n({type:"MultiPolygon",coordinates:t},e,r)}function u(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)}function l(t,e,r){if(null!==t)for(var n,o,i,a,s,u,c,f,h=0,p=0,d=t.type,y="FeatureCollection"===d,v="Feature"===d,g=y?t.features.length:1,m=0;m<g;m++){s=(f=!!(c=y?t.features[m].geometry:v?t.geometry:t)&&"GeometryCollection"===c.type)?c.geometries.length:1;for(var x=0;x<s;x++){var b=0,w=0;if(null!==(a=f?c.geometries[x]:c)){u=a.coordinates;var E=a.type;switch(h=r&&("Polygon"===E||"MultiPolygon"===E)?1:0,E){case null:break;case"Point":if(!1===e(u,p,m,b,w))return!1;p++,b++;break;case"LineString":case"MultiPoint":for(n=0;n<u.length;n++){if(!1===e(u[n],p,m,b,w))return!1;p++,"MultiPoint"===E&&b++}"LineString"===E&&b++;break;case"Polygon":case"MultiLineString":for(n=0;n<u.length;n++){for(o=0;o<u[n].length-h;o++){if(!1===e(u[n][o],p,m,b,w))return!1;p++}"MultiLineString"===E&&b++,"Polygon"===E&&w++}"Polygon"===E&&b++;break;case"MultiPolygon":for(n=0;n<u.length;n++){for(o=0,w=0;o<u[n].length;o++){for(i=0;i<u[n][o].length-h;i++){if(!1===e(u[n][o][i],p,m,b,w))return!1;p++}w++}b++}break;case"GeometryCollection":for(n=0;n<a.geometries.length;n++)if(!1===l(a.geometries[n],e,r))return!1;break;default:throw Error("Unknown Geometry Type")}}}}}function c(t){var e=[1/0,1/0,-1/0,-1/0];return l(t,function(t){e[0]>t[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]<t[0]&&(e[2]=t[0]),e[3]<t[1]&&(e[3]=t[1])}),e}r.d(e,{Qk1:()=>f,iv2:()=>tH,Lrk:()=>a,dKf:()=>no}),c.default=c;let f=c;function h(t){return"Feature"===t.type?t.geometry:t}function p(t,e,r){if(void 0===r&&(r={}),!t)throw Error("point is required");if(!e)throw Error("polygon is required");
1var n,o,i=function(t){if(!t)throw Error("coord is required");if(!Array.isArray(t)){if("Feature"===t.type&&null!==t.geometry&&"Point"===t.geometry.type)return t.geometry.coordinates;if("Point"===t.type)return t.coordinates}if(Array.isArray(t)&&t.length>=2&&!Array.isArray(t[0])&&!Array.isArray(t[1]))return t;throw Error("coord must be GeoJSON Point or an Array of numbers")}(t),a=h(e),s=a.type,u=e.bbox,l=a.coordinates;if(u&&!1==(n=i,(o=u)[0]<=n[0]&&o[1]<=n[1]&&o[2]>=n[0]&&o[3]>=n[1]))return!1;"Polygon"===s&&(l=[l]);for(var c=!1,f=0;f<l.length&&!c;f++)if(d(i,l[f][0],r.ignoreBoundary)){for(var p=!1,y=1;y<l[f].length&&!p;)d(i,l[f][y],!r.ignoreBoundary)&&(p=!0),y++;p||(c=!0)}return c}function d(t,e,r){var n=!1;e[0][0]===e[e.length-1][0]&&e[0][1]===e[e.length-1][1]&&(e=e.slice(0,e.length-1));for(var o=0,i=e.length-1;o<e.length;i=o++){var a=e[o][0],s=e[o][1],u=e[i][0],l=e[i][1];if(t[1]*(a-u)+s*(u-t[0])+l*(t[0]-a)==0&&(a-t[0])*(u-t[0])<=0&&(s-t[1])*(l-t[1])<=0)return!r;s>t[1]!=l>t[1]&&t[0]<(u-a)*(t[1]-s)/(l-s)+a&&(n=!n)}return n}r(14766),r(93740),Object.prototype.hasOwnProperty;var y,v,g,m,x,b,w=new ArrayBuffer(16);new Float64Array(w),new Uint32Array(w),r(43703),function(){function t(t){this.points=t.points||[],this.duration=t.duration||1e4,this.sharpness=t.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=t.stepLength||60,this.length=this.points.length,this.delay=0;for(var e=0;e<this.length;e++)this.points[e].z=this.points[e].z||0;for(var e=0;e<this.length-1;e++){var r=this.points[e],n=this.points[e+1];this.centers.push({x:(r.x+n.x)/2,y:(r.y+n.y)/2,z:(r.z+n.z)/2})}this.controls.push([this.points[0],this.points[0]]);for(var e=0;e<this.centers.length-1;e++){var o=this.points[e+1].x-(this.centers[e].x+this.centers[e+1].x)/2,i=this.points[e+1].y-(this.centers[e].y+this.centers[e+1].y)/2,a=this.points[e+1].z-(this.centers[e].y+this.centers[e+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e].x+o),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e].y+i),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e].z+a)},{x:(1-this.sharpness)*this.points[e+1].x+this.sharpness*(this.centers[e+1].x+o),y:(1-this.sharpness)*this.points[e+1].y+this.sharpness*(this.centers[e+1].y+i),z:(1-this.sharpness)*this.points[e+1].z+this.sharpness*(this.centers[e+1].z+a)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this}t.prototype.cacheSteps=function(t){var e=[],r=this.pos(0);e.push(0);for(var n=0;n<this.duration;n+=10){var o=this.pos(n);Math.sqrt((o.x-r.x)*(o.x-r.x)+(o.y-r.y)*(o.y-r.y)+(o.z-r.z)*(o.z-r.z))>t&&(e.push(n),r=o)}return e},t.prototype.vector=function(t){var e=this.pos(t+10),r=this.pos(t-10);return{angle:180*Math.atan2(e.y-r.y,e.x-r.x)/3.14,speed:Math.sqrt((r.x-e.x)*(r.x-e.x)+(r.y-e.y)*(r.y-e.y)+(r.z-e.z)*(r.z-e.z))}},t.prototype.pos=function(t){var e,r,n,o,i,a,s,u,l=t-this.delay;l<0&&(l=0),l>this.duration&&(l=this.duration-1);var c=l/this.duration;if(c>=1)return this.points[this.length-1];var f=Math.floor((this.points.length-1)*c);return e=(this.length-1)*c-f,r=this.points[f],n=this.controls[f][1],o=this.controls[f+1][0],i=this.points[f+1],u=[(s=(a=e)*a)*a,3*s*(1-a),3*a*(1-a)*(1-a),(1-a)*(1-a)*(1-a)],{x:i.x*u[0]+o.x*u[1]+n.x*u[2]+r.x*u[3],y:i.y*u[0]+o.y*u[1]+n.y*u[2]+r.y*u[3],z:i.z*u[0]+o.z*u[1]+n.z*u[2]+r.z*u[3]}}}(),r(15650),r(87837);var E=Math.PI/180,_=180/Math.PI,S=function(t,e){this.lon=t,this.lat=e,this.x=E*t,this.y=E*e};S.prototype.view=function(){return String(this.lon).slice(0,4)+","+String(this.lat).slice(0,4)},S.prototype.antipode=function(){var t=-1*this.lat;return new S(this.lon<0?180+this.lon:-((180-this.lon)*1),t)};var O=function(){this.coords=[],this.length=0};O.prototype.move_to=function(t){this.length++,this.coords.push(t)};var M=function(t){this.properties=t||{},this.geometries=[]};M.prototype.json=function(){if(this.geometries.length<=0)return{geometry:{type:"LineString",coordinates:null},type:"Feature",properties:this.properties};if(1===this.geometries.length)return{geometry:{type:"LineString",coordinates:this.geometries[0].c
1oords},type:"Feature",properties:this.properties};for(var t=[],e=0;e<this.geometries.length;e++)t.push(this.geometries[e].coords);return{geometry:{type:"MultiLineString",coordinates:t},type:"Feature",properties:this.properties}},M.prototype.wkt=function(){for(var t="",e="LINESTRING(",r=function(t){e+=t[0]+" "+t[1]+","},n=0;n<this.geometries.length;n++)if(0===this.geometries[n].coords.length)return"LINESTRING(empty)";else this.geometries[n].coords.forEach(r),t+=e.substring(0,e.length-1)+")";return t};var P=function(t,e,r){if(!t||void 0===t.x||void 0===t.y||!e||void 0===e.x||void 0===e.y)throw Error("GreatCircle constructor expects two args: start and end objects with x and y properties");this.start=new S(t.x,t.y),this.end=new S(e.x,e.y),this.properties=r||{};var n=this.start.x-this.end.x,o=Math.pow(Math.sin((this.start.y-this.end.y)/2),2)+Math.cos(this.start.y)*Math.cos(this.end.y)*Math.pow(Math.sin(n/2),2);if(this.g=2*Math.asin(Math.sqrt(o)),this.g===Math.PI)throw Error("it appears "+t.view()+" and "+e.view()+" are 'antipodal', e.g diametrically opposite, thus there is no single route but rather infinite");if(isNaN(this.g))throw Error("could not calculate great circle between "+t+" and "+e)};P.prototype.interpolate=function(t){var e=Math.sin((1-t)*this.g)/Math.sin(this.g),r=Math.sin(t*this.g)/Math.sin(this.g),n=e*Math.cos(this.start.y)*Math.cos(this.start.x)+r*Math.cos(this.end.y)*Math.cos(this.end.x),o=e*Math.cos(this.start.y)*Math.sin(this.start.x)+r*Math.cos(this.end.y)*Math.sin(this.end.x),i=_*Math.atan2(e*Math.sin(this.start.y)+r*Math.sin(this.end.y),Math.sqrt(Math.pow(n,2)+Math.pow(o,2)));return[_*Math.atan2(o,n),i]},P.prototype.Arc=function(t,e){var r=[];if(!t||t<=2)r.push([this.start.lon,this.start.lat]),r.push([this.end.lon,this.end.lat]);else for(var n=1/(t-1),o=0;o<t;++o){var i=n*o,a=this.interpolate(i);r.push(a)}for(var s=!1,u=0,l=e&&e.offset?e.offset:10,c=180-l,f=-180+l,h=360-l,p=1;p<r.length;++p){var d=r[p-1][0],y=r[p][0],v=Math.abs(y-d);v>h&&(y>c&&d<f||d>c&&y<f)?s=!0:v>u&&(u=v)}var g=[];if(s&&u<l){var m=[];g.push(m);for(var x=0;x<r.length;++x){var b=parseFloat(r[x][0]);if(x>0&&Math.abs(b-r[x-1][0])>h){var w=parseFloat(r[x-1][0]),E=parseFloat(r[x-1][1]),_=parseFloat(r[x][0]),S=parseFloat(r[x][1]);if(w>-180&&w<f&&180===_&&x+1<r.length&&r[x-1][0]>-180&&r[x-1][0]<f){m.push([-180,r[x][1]]),x++,m.push([r[x][0],r[x][1]]);continue}if(w>c&&w<180&&-180===_&&x+1<r.length&&r[x-1][0]>c&&r[x-1][0]<180){m.push([180,r[x][1]]),x++,m.push([r[x][0],r[x][1]]);continue}if(w<f&&_>c){var P=w;w=_,_=P;var A=E;E=S,S=A}if(w>c&&_<f&&(_+=360),w<=180&&_>=180&&w<_){var k=(180-w)/(_-w),j=k*S+(1-k)*E;m.push([r[x-1][0]>c?180:-180,j]),(m=[]).push([r[x-1][0]>c?-180:180,j]),g.push(m)}else m=[],g.push(m);m.push([b,r[x][1]])}else m.push([r[x][0],r[x][1]])}}else{var I=[];g.push(I);for(var C=0;C<r.length;++C)I.push([r[C][0],r[C][1]])}for(var D=new M(this.properties),R=0;R<g.length;++R){var N=new O;D.geometries.push(N);for(var L=g[R],B=0;B<L.length;++B)N.move_to(L[B])}return D},r(42036);var A=[],k=[],j=[],I=[],C=[],D=[],R=[],N=[],L=[],B=[],Y=[],T=[],F=[],X=[],U=[],q=[],W=[],G=[],z=[],H=[],Z=[],$=[],J=[],V=[];R[85]=B[85]=-1,N[85]=Y[85]=0,L[85]=T[85]=1,z[85]=$[85]=1,H[85]=J[85]=0,Z[85]=V[85]=1,A[85]=I[85]=0,k[85]=C[85]=-1,j[85]=U[85]=0,q[85]=F[85]=0,W[85]=X[85]=1,D[85]=G[85]=1,$[1]=$[169]=0,J[1]=J[169]=-1,V[1]=V[169]=0,F[1]=F[169]=-1,X[1]=X[169]=0,U[1]=U[169]=0,B[4]=B[166]=0,Y[4]=Y[166]=-1,T[4]=T[166]=1,q[4]=q[166]=1,W[4]=W[166]=0,G[4]=G[166]=0,R[16]=R[154]=0,N[16]=N[154]=1,L[16]=L[154]=1,I[16]=I[154]=1,C[16]=C[154]=0,D[16]=D[154]=1,z[64]=z[106]=0,H[64]=H[106]=1,Z[64]=Z[106]=0,A[64]=A[106]=-1,k[64]=k[106]=0,j[64]=j[106]=1,z[2]=z[168]=0,H[2]=H[168]=-1,Z[2]=Z[168]=1,$[2]=$[168]=0,J[2]=J[168]=-1,V[2]=V[168]=0,F[2]=F[168]=-1,X[2]=X[168]=0,U[2]=U[168]=0,q[2]=q[168]=-1,W[2]=W[168]=0,G[2]=G[168]=1,R[8]=R[162]=0,N[8]=N[162]=-1,L[8]=L[162]=0,B[8]=B[162]=0,Y[8]=Y[162]=-1,T[8]=T[162]=1,F[8]=F[162]=1,X[8]=X[162]=0,U[8]=U[162]=1,q[8]=q[162]=1,W[8]=W[162]=0,G[8]=G[162]=0,R[32]=R[138]=0,N[32]=N[138]=1,L[32]=L[138]=1,B[32]=B[138]=0,Y[32]=Y[138]=1,T[32]=T[138]=0,A[32]=A[138]=1,k[32]=k[138]=0,j[32]=j[138]=0,I[32]=I[138]=1,C[32]=C[138]=0,D[32]=D[138]=1,$[128]=$[42]=0,J[128]=J[42]=1,V[128]=V[42]=1,z[128]=z[42]=0,H[128]=H[42]=1,Z[128]=Z[42]=0,A[128]=A[42]=-1,k[128]=k[42]=0,j[128]=j[42]=1,I[128]=I[42]=-1,C[128]=C[42]=0,D[128]=D[42]=0,B[5]=B[165]=-1,Y[5]=Y[165]=0,T[5]=T[165]=0,$[5]=$[165]=1,J[5]=J[165]=0,V[5]=V[165]=0,q[20]=q[150]=0,W[20]=W[150]=1,G[20]=G[150
1]=1,I[20]=I[150]=0,C[20]=C[150]=-1,D[20]=D[150]=1,R[80]=R[90]=-1,N[80]=N[90]=0,L[80]=L[90]=1,z[80]=z[90]=1,H[80]=H[90]=0,Z[80]=Z[90]=1,F[65]=F[105]=0,X[65]=X[105]=1,U[65]=U[105]=0,A[65]=A[105]=0,k[65]=k[105]=-1,j[65]=j[105]=0,R[160]=R[10]=-1,N[160]=N[10]=0,L[160]=L[10]=1,B[160]=B[10]=-1,Y[160]=Y[10]=0,T[160]=T[10]=0,$[160]=$[10]=1,J[160]=J[10]=0,V[160]=V[10]=0,z[160]=z[10]=1,H[160]=H[10]=0,Z[160]=Z[10]=1,q[130]=q[40]=0,W[130]=W[40]=1,G[130]=G[40]=1,F[130]=F[40]=0,X[130]=X[40]=1,U[130]=U[40]=0,A[130]=A[40]=0,k[130]=k[40]=-1,j[130]=j[40]=0,I[130]=I[40]=0,C[130]=C[40]=-1,D[130]=D[40]=1,B[37]=B[133]=0,Y[37]=Y[133]=1,T[37]=T[133]=1,$[37]=$[133]=0,J[37]=J[133]=1,V[37]=V[133]=0,A[37]=A[133]=-1,k[37]=k[133]=0,j[37]=j[133]=0,I[37]=I[133]=1,C[37]=C[133]=0,D[37]=D[133]=0,q[148]=q[22]=-1,W[148]=W[22]=0,G[148]=G[22]=0,$[148]=$[22]=0,J[148]=J[22]=-1,V[148]=V[22]=1,z[148]=z[22]=0,H[148]=H[22]=1,Z[148]=Z[22]=1,I[148]=I[22]=-1,C[148]=C[22]=0,D[148]=D[22]=1,R[82]=R[88]=0,N[82]=N[88]=-1,L[82]=L[88]=1,q[82]=q[88]=1,W[82]=W[88]=0,G[82]=G[88]=1,F[82]=F[88]=-1,X[82]=X[88]=0,U[82]=U[88]=1,z[82]=z[88]=0,H[82]=H[88]=-1,Z[82]=Z[88]=0,R[73]=R[97]=0,N[73]=N[97]=1,L[73]=L[97]=0,B[73]=B[97]=0,Y[73]=Y[97]=-1,T[73]=T[97]=0,F[73]=F[97]=1,X[73]=X[97]=0,U[73]=U[97]=0,A[73]=A[97]=1,k[73]=k[97]=0,j[73]=j[97]=1,R[145]=R[25]=0,N[145]=N[25]=-1,L[145]=L[25]=0,F[145]=F[25]=1,X[145]=X[25]=0,U[145]=U[25]=1,$[145]=$[25]=0,J[145]=J[25]=1,V[145]=V[25]=1,I[145]=I[25]=-1,C[145]=C[25]=0,D[145]=D[25]=0,B[70]=B[100]=0,Y[70]=Y[100]=1,T[70]=T[100]=0,q[70]=q[100]=-1,W[70]=W[100]=0,G[70]=G[100]=1,z[70]=z[100]=0,H[70]=H[100]=-1,Z[70]=Z[100]=1,A[70]=A[100]=1,k[70]=k[100]=0,j[70]=j[100]=0,B[101]=B[69]=0,Y[101]=Y[69]=1,T[101]=T[69]=0,A[101]=A[69]=1,k[101]=k[69]=0,j[101]=j[69]=0,$[149]=$[21]=0,J[149]=J[21]=1,V[149]=V[21]=1,I[149]=I[21]=-1,C[149]=C[21]=0,D[149]=D[21]=0,q[86]=q[84]=-1,W[86]=W[84]=0,G[86]=G[84]=1,z[86]=z[84]=0,H[86]=H[84]=-1,Z[86]=Z[84]=1,R[89]=R[81]=0,N[89]=N[81]=-1,L[89]=L[81]=0,F[89]=F[81]=1,X[89]=X[81]=0,U[89]=U[81]=1,R[96]=R[74]=0,N[96]=N[74]=1,L[96]=L[74]=0,B[96]=B[74]=-1,Y[96]=Y[74]=0,T[96]=T[74]=1,z[96]=z[74]=1,H[96]=H[74]=0,Z[96]=Z[74]=0,A[96]=A[74]=1,k[96]=k[74]=0,j[96]=j[74]=1,R[24]=R[146]=0,N[24]=N[146]=-1,L[24]=L[146]=1,q[24]=q[146]=1,W[24]=W[146]=0,G[24]=G[146]=1,F[24]=F[146]=0,X[24]=X[146]=1,U[24]=U[146]=1,I[24]=I[146]=0,C[24]=C[146]=-1,D[24]=D[146]=0,B[6]=B[164]=-1,Y[6]=Y[164]=0,T[6]=T[164]=1,q[6]=q[164]=-1,W[6]=W[164]=0,G[6]=G[164]=0,$[6]=$[164]=0,J[6]=J[164]=-1,V[6]=V[164]=1,z[6]=z[164]=1,H[6]=H[164]=0,Z[6]=Z[164]=0,F[129]=F[41]=0,X[129]=X[41]=1,U[129]=U[41]=1,$[129]=$[41]=0,J[129]=J[41]=1,V[129]=V[41]=0,A[129]=A[41]=-1,k[129]=k[41]=0,j[129]=j[41]=0,I[129]=I[41]=0,C[129]=C[41]=-1,D[129]=D[41]=0,q[66]=q[104]=0,W[66]=W[104]=1,G[66]=G[104]=0,F[66]=F[104]=-1,X[66]=X[104]=0,U[66]=U[104]=1,z[66]=z[104]=0,H[66]=H[104]=-1,Z[66]=Z[104]=0,A[66]=A[104]=0,k[66]=k[104]=-1,j[66]=j[104]=1,R[144]=R[26]=-1,N[144]=N[26]=0,L[144]=L[26]=0,$[144]=$[26]=1,J[144]=J[26]=0,V[144]=V[26]=1,z[144]=z[26]=0,H[144]=H[26]=1,Z[144]=Z[26]=1,I[144]=I[26]=-1,C[144]=C[26]=0,D[144]=D[26]=1,B[36]=B[134]=0,Y[36]=Y[134]=1,T[36]=T[134]=1,q[36]=q[134]=0,W[36]=W[134]=1,G[36]=G[134]=0,A[36]=A[134]=0,k[36]=k[134]=-1,j[36]=j[134]=1,I[36]=I[134]=1,C[36]=C[134]=0,D[36]=D[134]=0,R[9]=R[161]=-1,N[9]=N[161]=0,L[9]=L[161]=0,B[9]=B[161]=0,Y[9]=Y[161]=-1,T[9]=T[161]=0,F[9]=F[161]=1,X[9]=X[161]=0,U[9]=U[161]=0,$[9]=$[161]=1,J[9]=J[161]=0,V[9]=V[161]=1,R[136]=0,N[136]=1,L[136]=1,B[136]=0,Y[136]=1,T[136]=0,q[136]=-1,W[136]=0,G[136]=1,F[136]=-1,X[136]=0,U[136]=0,$[136]=0,J[136]=-1,V[136]=0,z[136]=0,H[136]=-1,Z[136]=1,A[136]=1,k[136]=0,j[136]=0,I[136]=1,C[136]=0,D[136]=1,R[34]=0,N[34]=-1,L[34]=0,B[34]=0,Y[34]=-1,T[34]=1,q[34]=1,W[34]=0,G[34]=0,F[34]=1,X[34]=0,U[34]=1,$[34]=0,J[34]=1,V[34]=1,z[34]=0,H[34]=1,Z[34]=0,A[34]=-1,k[34]=0,j[34]=1,I[34]=-1,C[34]=0,D[34]=0,R[35]=0,N[35]=1,L[35]=1,B[35]=0,Y[35]=-1,T[35]=1,q[35]=1,W[35]=0,G[35]=0,F[35]=-1,X[35]=0,U[35]=0,$[35]=0,J[35]=-1,V[35]=0,z[35]=0,H[35]=1,Z[35]=0,A[35]=-1,k[35]=0,j[35]=1,I[35]=1,C[35]=0,D[35]=1,R[153]=0,N[153]=1,L[153]=1,F[153]=-1,X[153]=0,U[153]=0,$[153]=0,J[153]=-1,V[153]=0,I[153]=1,C[153]=0,D[153]=1,B[102]=0,Y[102]=-1,T[102]=1,q[102]=1,W[102]=0,G[102]=0,z[102]=0,H[102]=1,Z[102]=0,A[102]=-1,k[102]=0,j[102]=1,R[155]=0,N[155]=-1,L[155]=0,F[155]=1,X[155]=0,U[155]=1,$[155]=0,J[155]=1,V[155]=1,I[155]=-1,C[
1155]=0,D[155]=0,B[103]=0,Y[103]=1,T[103]=0,q[103]=-1,W[103]=0,G[103]=1,z[103]=0,H[103]=-1,Z[103]=1,A[103]=1,k[103]=0,j[103]=0,R[152]=0,N[152]=1,L[152]=1,q[152]=-1,W[152]=0,G[152]=1,F[152]=-1,X[152]=0,U[152]=0,$[152]=0,J[152]=-1,V[152]=0,z[152]=0,H[152]=-1,Z[152]=1,I[152]=1,C[152]=0,D[152]=1,R[156]=0,N[156]=-1,L[156]=1,q[156]=1,W[156]=0,G[156]=1,F[156]=-1,X[156]=0,U[156]=0,$[156]=0,J[156]=-1,V[156]=0,z[156]=0,H[156]=1,Z[156]=1,I[156]=-1,C[156]=0,D[156]=1,R[137]=0,N[137]=1,L[137]=1,B[137]=0,Y[137]=1,T[137]=0,F[137]=-1,X[137]=0,U[137]=0,$[137]=0,J[137]=-1,V[137]=0,A[137]=1,k[137]=0,j[137]=0,I[137]=1,C[137]=0,D[137]=1,R[139]=0,N[139]=1,L[139]=1,B[139]=0,Y[139]=-1,T[139]=0,F[139]=1,X[139]=0,U[139]=0,$[139]=0,J[139]=1,V[139]=0,A[139]=-1,k[139]=0,j[139]=0,I[139]=1,C[139]=0,D[139]=1,R[98]=0,N[98]=-1,L[98]=0,B[98]=0,Y[98]=-1,T[98]=1,q[98]=1,W[98]=0,G[98]=0,F[98]=1,X[98]=0,U[98]=1,z[98]=0,H[98]=1,Z[98]=0,A[98]=-1,k[98]=0,j[98]=1,R[99]=0,N[99]=1,L[99]=0,B[99]=0,Y[99]=-1,T[99]=1,q[99]=1,W[99]=0,G[99]=0,F[99]=-1,X[99]=0,U[99]=1,z[99]=0,H[99]=-1,Z[99]=0,A[99]=1,k[99]=0,j[99]=1,B[38]=0,Y[38]=-1,T[38]=1,q[38]=1,W[38]=0,G[38]=0,$[38]=0,J[38]=1,V[38]=1,z[38]=0,H[38]=1,Z[38]=0,A[38]=-1,k[38]=0,j[38]=1,I[38]=-1,C[38]=0,D[38]=0,B[39]=0,Y[39]=1,T[39]=1,q[39]=-1,W[39]=0,G[39]=0,$[39]=0,J[39]=-1,V[39]=1,z[39]=0,H[39]=1,Z[39]=0,A[39]=-1,k[39]=0,j[39]=1,I[39]=1,C[39]=0,D[39]=0;var Q=function(t){return[[t.bottomleft,0],[0,0],[0,t.leftbottom]]},K=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0]]},tt=function(t){return[[t.topright,1],[1,1],[1,t.righttop]]},te=function(t){return[[0,t.lefttop],[0,1],[t.topleft,1]]},tr=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop]]},tn=function(t){return[[t.bottomright,0],[t.bottomleft,0],[1,t.righttop],[1,t.rightbottom]]},to=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.topleft,1],[t.topright,1]]},ti=function(t){return[[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},ta=[],ts=[],tu=[],tl=[],tc=[],tf=[],th=[],tp=[];tl[1]=tc[1]=18,tl[169]=tc[169]=18,tu[4]=ts[4]=12,tu[166]=ts[166]=12,ta[16]=tp[16]=4,ta[154]=tp[154]=4,tf[64]=th[64]=22,tf[106]=th[106]=22,tu[2]=tf[2]=17,tl[2]=tc[2]=18,tu[168]=tf[168]=17,tl[168]=tc[168]=18,ta[8]=tl[8]=9,ts[8]=tu[8]=12,ta[162]=tl[162]=9,ts[162]=tu[162]=12,ta[32]=tp[32]=4,ts[32]=th[32]=1,ta[138]=tp[138]=4,ts[138]=th[138]=1,tc[128]=tp[128]=21,tf[128]=th[128]=22,tc[42]=tp[42]=21,tf[42]=th[42]=22,ts[5]=tc[5]=14,ts[165]=tc[165]=14,tu[20]=tp[20]=6,tu[150]=tp[150]=6,ta[80]=tf[80]=11,ta[90]=tf[90]=11,tl[65]=th[65]=3,tl[105]=th[105]=3,ta[160]=tf[160]=11,ts[160]=tc[160]=14,ta[10]=tf[10]=11,ts[10]=tc[10]=14,tu[130]=tp[130]=6,tl[130]=th[130]=3,tu[40]=tp[40]=6,tl[40]=th[40]=3,ts[101]=th[101]=1,ts[69]=th[69]=1,tc[149]=tp[149]=21,tc[21]=tp[21]=21,tu[86]=tf[86]=17,tu[84]=tf[84]=17,ta[89]=tl[89]=9,ta[81]=tl[81]=9,ta[96]=th[96]=0,ts[96]=tf[96]=15,ta[74]=th[74]=0,ts[74]=tf[74]=15,ta[24]=tu[24]=8,tl[24]=tp[24]=7,ta[146]=tu[146]=8,tl[146]=tp[146]=7,ts[6]=tf[6]=15,tu[6]=tc[6]=16,ts[164]=tf[164]=15,tu[164]=tc[164]=16,tl[129]=tp[129]=7,tc[129]=th[129]=20,tl[41]=tp[41]=7,tc[41]=th[41]=20,tu[66]=th[66]=2,tl[66]=tf[66]=19,tu[104]=th[104]=2,tl[104]=tf[104]=19,ta[144]=tc[144]=10,tf[144]=tp[144]=23,ta[26]=tc[26]=10,tf[26]=tp[26]=23,ts[36]=tp[36]=5,tu[36]=th[36]=2,ts[134]=tp[134]=5,tu[134]=th[134]=2,ta[9]=tc[9]=10,ts[9]=tl[9]=13,ta[161]=tc[161]=10,ts[161]=tl[161]=13,ts[37]=tp[37]=5,tc[37]=th[37]=20,ts[133]=tp[133]=5,tc[133]=th[133]=20,tu[148]=tc[148]=16,tf[148]=tp[148]=23,tu[22]=tc[22]=16,tf[22]=tp[22]=23,ta[82]=tu[82]=8,tl[82]=tf[82]=19,ta[88]=tu[88]=8,tl[88]=tf[88]=19,ta[73]=th[73]=0,ts[73]=tl[73]=13,ta[97]=th[97]=0,ts[97]=tl[97]=13,ta[145]=tl[145]=9,tc[145]=tp[145]=21,ta[25]=tl[25]=9,tc[25]=tp[25]=21,ts[70]=th[70]=1,tu[70]=tf[70]=17,ts[100]=th[100]=1,tu[100]=tf[100]=17,ta[34]=tl[34]=9,ts[34]=tu[34]=12,tc[34]=tp[34]=21,tf[34]=th[34]=22,ta[136]=tp[136]=4,ts[136]=th[136]=1,tu[136]=tf[136]=17,tl[136]=tc[136]=18,ta[35]=tp[35]=4,ts[35]=tu[35]=12,tl[35]=tc[35]=18,tf[35]=th[35]=22,ta[153]=tp[153]=4,tl[153]=tc[153]=18,ts[102]=tu[102]=12,tf[102]=th[102]=22,ta[155]=tl[155]=9,tc[155]=tp[155]=23,ts[103]=th[103]=1,tu[103]=tf[103]=17,ta[152]=tp[152]=4,tu[152]=tf[152]=17,tl[152]=tc[152]=18,ta[156]=tu[156]=8,tl[156]=tc[156]=18,tf[156]=tp[156]=23,ta[137]=tp[137]=4,ts[137]=th[137]=1,tl[137]=tc[137]=18,ta[139]=tp[139]=4,ts[139]=tl[139]=13,tc[139]=th[139]=20,ta[98]=tl[98]=9,t
1s[98]=tu[98]=12,tf[98]=th[98]=22,ta[99]=th[99]=0,ts[99]=tu[99]=12,tl[99]=tf[99]=19,ts[38]=tu[38]=12,tc[38]=tp[38]=21,tf[38]=th[38]=22,ts[39]=tp[39]=5,tu[39]=tc[39]=16,tf[39]=th[39]=22;var td=[];function ty(t,e,r){var n,o=e[0]-t[0],i=e[1]-t[1],a=r[0]-e[0];return((n=o*(r[1]-e[1])-a*i)>0)-(n<0)||+n}function tv(t,e){return e.geometry.coordinates[0].every(function(e){return p(o(e),t)})}td[1]=td[169]=Q,td[4]=td[166]=K,td[16]=td[154]=tt,td[64]=td[106]=te,td[168]=td[2]=tr,td[162]=td[8]=tn,td[138]=td[32]=to,td[42]=td[128]=ti,td[5]=td[165]=function(t){return[[0,0],[0,t.leftbottom],[1,t.rightbottom],[1,0]]},td[20]=td[150]=function(t){return[[1,0],[t.bottomright,0],[t.topright,1],[1,1]]},td[80]=td[90]=function(t){return[[1,1],[1,t.righttop],[0,t.lefttop],[0,1]]},td[65]=td[105]=function(t){return[[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},td[160]=td[10]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.leftbottom],[0,t.lefttop]]},td[130]=td[40]=function(t){return[[t.topleft,1],[t.topright,1],[t.bottomright,0],[t.bottomleft,0]]},td[85]=function(){return[[0,0],[0,1],[1,1],[1,0]]},td[101]=td[69]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,1],[t.topleft,1]]},td[149]=td[21]=function(t){return[[t.topright,1],[1,1],[1,0],[0,0],[0,t.leftbottom]]},td[86]=td[84]=function(t){return[[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[1,1]]},td[89]=td[81]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,1]]},td[96]=td[74]=function(t){return[[1,t.righttop],[1,t.rightbottom],[0,t.lefttop],[0,1],[t.topleft,1]]},td[24]=td[146]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[t.topright,1]]},td[6]=td[164]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop]]},td[129]=td[41]=function(t){return[[t.topright,1],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1]]},td[66]=td[104]=function(t){return[[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},td[144]=td[26]=function(t){return[[1,1],[1,t.righttop],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},td[36]=td[134]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[t.topleft,1],[t.topright,1]]},td[9]=td[161]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom]]},td[37]=td[133]=function(t){return[[1,t.rightbottom],[1,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},td[148]=td[22]=function(t){return[[1,1],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},td[82]=td[88]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1]]},td[73]=td[97]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,1],[t.topleft,1]]},td[145]=td[25]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},td[70]=td[100]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},td[34]=function(t){return[ti(t),tn(t)]},td[35]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]},td[136]=function(t){return[to(t),tr(t)]},td[153]=function(t){return[tt(t),Q(t)]},td[102]=function(t){return[K(t),te(t)]},td[155]=function(t){return[[1,1],[1,t.righttop],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topright,1]]},td[103]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.lefttop],[0,1],[t.topleft,1]]},td[152]=function(t){return[tt(t),tr(t)]},td[156]=function(t){return[[1,1],[1,t.righttop],[t.bottomright,0],[t.bottomleft,0],[0,t.leftbottom],[0,t.lefttop],[t.topright,1]]},td[137]=function(t){return[to(t),Q(t)]},td[139]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomleft,0],[0,0],[0,t.leftbottom],[t.topleft,1],[t.topright,1]]},td[98]=function(t){return[tn(t),te(t)]},td[99]=function(t){return[[1,t.righttop],[1,t.rightbottom],[t.bottomright,0],[t.bottomleft,0],[0,t.lefttop],[0,1],[t.topleft,1]]},td[38]=function(t){return[K(t),ti(t)]},td[39]=function(t){return[[1,t.rightbottom],[1,0],[t.bottomright,0],[0,t.leftbottom],[0,t.lefttop],[t.topleft,1],[t.topright,1]]};var tg=function(){function t(e){this.id=t.buildId(e),this.coordinates=e,this.innerEdges=[],this.outerEdges=[],this.outerEdgesSorted=!1}return t.buildId=function(t){return t.join(",")},t.prototype.removeInnerEdge=function(t){this.innerEdges=this.innerEdges.filter(function(e){return e.from.id!==t.from.id})},t.prototype.removeOuterEdge=function(t){this.outerEdges=this.outerEdges.filter(function(e){return e.to.id!==t.to.id})},t.prototype.addOuterEdge=function(t){this.outerEdges.push(t),this.outerEdgesSorted=!1},t.prototype.sortOuterEdges=function(){var t=this;this.outerEdgesSorted||(this.outerEdges.sort(function(e,r){var n=e.to,o=r.to;if(n.coordinates[0]-t.coordinates[0]>=0&&o.coordinates[0]-t.coordinates[0]<0)return 1;if(n.coordinates[0]-t.coordinates[0]<0&&o.coordinates[0]-t.coordinates[0]>=0)return -1;if(n.coordinates[0]-t.coordinates[0]==0&&o.coordinates[0]-t.coordinates[0]==0)return n.coordinates[1]-t.coordinates[1]>=0||o.coordinates[1]-t.coordinates[1]>=0?n.coordinates[1]-o.coordinates[1]:o.coordinates[1]-n.coordinates[1];var i=ty(t.coordinates,n.coordinates,o.coordinates);return i<0?1:i>0?-1:Math.pow(n.coordinates[0]-t.coordinates[0],2)+Math.pow(n.coordinates[1]-t.coordinates[1],2)-(Math.pow(o.coordinates[0]-t.coordinates[0],2)+Math.pow(o.coordinates[1]-t.coordinates[1],2))}),this.outerEdgesSorted=!0)},t.prototype.getOuterEdges=function(){return this.sortOuterEdges(),this.outerEdges},t.prototype.getOuterEdge=function(t){return this.sortOuterEdges(),this.outerEdges[t]},t.prototype.addInnerEdge=function(t){this.innerEdges.push(t)},t}(),tm=function(){function t(t,e){this.from=t,this.to=e,this.next=void 0,this.label=void 0,this.symetric=void 0,this.ring=void 0,this.from.addOuterEdge(this),this.to.addInnerEdge(this)}return t.prototype.getSymetric=function(){return this.symetric||(this.symetric=new t(this.to,this.from),this.symetric.symetric=this),this.symetric},t.prototype.deleteEdge=function(){this.from.removeOuterEdge(this),this.to.removeInnerEdge(this)},t.prototype.isEqual=function(t){return this.from.id===t.from.id&&this.to.id===t.to.id},t.prototype.toString=function(){return"Edge { "+this.from.id+" -> "+this.to.id+" }"},t.prototype.toLineString=function(){return function(t,e,r){if(void 0===r&&(r={}),t.length<2)throw Error("coordinates must be an array of two or more positions");return n({type:"LineString",coordinates:t},void 0,r)}([this.from.coordinates,this.to.coordinates])},t.prototype.compareTo=function(t){return ty(t.from.coordinates,t.to.coordinates,this.to.coordinates)},t}(),tx=function(){function t(){this.edges=[],this.polygon=void 0,this.envelope=void 0}return t.prototype.push=function(t){this.edges.push(t),this.polygon=this.envelope=void 0},t.prototype.get=function(t){return this.edges[t]},Object.defineProperty(t.prototype,"length",{get:function(){return this.edges.length},enumerable:!0,configurable:!0}
1),t.prototype.forEach=function(t){this.edges.forEach(t)},t.prototype.map=function(t){return this.edges.map(t)},t.prototype.some=function(t){return this.edges.some(t)},t.prototype.isValid=function(){return!0},t.prototype.isHole=function(){var t=this,e=this.edges.reduce(function(e,r,n){return r.from.coordinates[1]>t.edges[e].from.coordinates[1]&&(e=n),e},0),r=(0===e?this.length:e)-1,n=(e+1)%this.length,o=ty(this.edges[r].from.coordinates,this.edges[e].from.coordinates,this.edges[n].from.coordinates);return 0===o?this.edges[r].from.coordinates[0]>this.edges[n].from.coordinates[0]:o>0},t.prototype.toMultiPoint=function(){var t,e;return t=this.edges.map(function(t){return t.from.coordinates}),void 0===e&&(e={}),n({type:"MultiPoint",coordinates:t},void 0,e)},t.prototype.toPolygon=function(){if(this.polygon)return this.polygon;var t=this.edges.map(function(t){return t.from.coordinates});return t.push(this.edges[0].from.coordinates),this.polygon=i([t])},t.prototype.getEnvelope=function(){return this.envelope?this.envelope:this.envelope=function(t,e){void 0===e&&(e={});var r=Number(t[0]),n=Number(t[1]),o=Number(t[2]),a=Number(t[3]);if(6===t.length)throw Error("@turf/bbox-polygon does not support BBox with 6 positions");var s=[r,n],u=[r,a],l=[o,a];return i([[s,[o,n],l,u,s]],e.properties,{bbox:t,id:e.id})}(f(this.toPolygon()))},t.findEdgeRingContaining=function(t,e){var r,n,i=t.getEnvelope();return e.forEach(function(e){var a,s,u,l,c=e.getEnvelope();if(n&&(r=n.getEnvelope()),a=c.geometry.coordinates[0].map(function(t){return t[0]}),s=c.geometry.coordinates[0].map(function(t){return t[1]}),u=i.geometry.coordinates[0].map(function(t){return t[0]}),l=i.geometry.coordinates[0].map(function(t){return t[1]}),(Math.max.apply(null,a)!==Math.max.apply(null,u)||Math.max.apply(null,s)!==Math.max.apply(null,l)||Math.min.apply(null,a)!==Math.min.apply(null,u)||Math.min.apply(null,s)!==Math.min.apply(null,l))&&tv(c,i)){for(var f=t.map(function(t){return t.from.coordinates}),h=void 0,p=function(t){e.some(function(e){var r;return r=e.from.coordinates,t[0]===r[0]&&t[1]===r[1]})||(h=t)},d=0;d<f.length;d++)p(f[d]);h&&e.inside(o(h))&&(!n||tv(r,c))&&(n=e)}}),n},t.prototype.inside=function(t){return p(t,this.toPolygon())},t}();function tb(t){for(var e=t,r=[];e.parent;)r.unshift(e),e=e.parent;return r}!function(){function t(){this.edges=[],this.nodes={}}t.fromGeoJson=function(e){if(!e)throw Error("No geojson passed");if("FeatureCollection"!==e.type&&"GeometryCollection"!==e.type&&"MultiLineString"!==e.type&&"LineString"!==e.type&&"Feature"!==e.type)throw Error("Invalid input type '"+e.type+"'. Geojson must be FeatureCollection, GeometryCollection, LineString, MultiLineString or Feature");var r,o=new t;return r=function(t){var e,r,n,i="LineString",a="Graph::fromGeoJson";if(!t)throw Error("No feature passed");if(!a)throw Error(".featureOf() requires a name");if(!t||"Feature"!==t.type||!t.geometry)throw Error("Invalid input to "+a+", Feature with geometry required");if(!t.geometry||t.geometry.type!==i)throw Error("Invalid input to "+a+": must be a "+i+", given "+t.geometry.type);e=function(t,e){if(t){var r=o.getNode(t),n=o.getNode(e);o.addEdge(r,n)}return e},n=void 0,l(t,function(t,o,i,a,s){n=0===o&&void 0===r?t:e(n,t,o,i,a,s)},void 0)},function(t,e){var r,n,o,i,a,s,u,l,c,f,h=0,p="FeatureCollection"===t.type,d="Feature"===t.type,y=p?t.features.length:1;for(r=0;r<y;r++){for(o=0,s=p?t.features[r].geometry:d?t.geometry:t,l=p?t.features[r].properties:d?t.properties:{},c=p?t.features[r].bbox:d?t.bbox:void 0,f=p?t.features[r].id:d?t.id:void 0,a=(u=!!s&&"GeometryCollection"===s.type)?s.geometries.length:1;o<a;o++){if(null===(i=u?s.geometries[o]:s)){if(!1===e(null,h,l,c,f))return!1;continue}switch(i.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":if(!1===e(i,h,l,c,f))return!1;break;case"GeometryCollection":for(n=0;n<i.geometries.length;n++)if(!1===e(i.geometries[n],h,l,c,f))return!1;break;default:throw Error("Unknown Geometry Type")}}h++}}(e,function(t,e,o,i,a){var s,u=null===t?null:t.type;switch(u){case null:case"Point":case"LineString":case"Polygon":if(!1===r(n(t,o,{bbox:i,id:a}),e,0))return!1;return}switch(u){case"MultiPoint":s="Point";break;case"MultiLineString":s="LineString";break;case"MultiPolygon":s="Polygon"}for(var l=0;l<t.coordinates.length;l++)if(!1===r(n({type:s,coordinates:t.coordinates[l]},o),e,l))return!1}),o},t.prototype.getNode=function(t){var e=tg.buildId(t),r=this.nodes[e];return r||(r=this.nodes[e]=new tg(t)),r},t.prototype.addEdge=function(t,e){var r=new tm(t,e),n=r.getSymetric();this.edges.push(r),this.edges.push(n)},t.prototype.deleteDangles=function(){var t=this;Object.keys(this.nodes).map(function(e){return t.nodes[e]}
1).forEach(function(e){return t._removeIfDangle(e)})},t.prototype._removeIfDangle=function(t){var e=this;if(t.innerEdges.length<=1){var r=t.getOuterEdges().map(function(t){return t.to});this.removeNode(t),r.forEach(function(t){return e._removeIfDangle(t)})}},t.prototype.deleteCutEdges=function(){var t=this;this._computeNextCWEdges(),this._findLabeledEdgeRings(),this.edges.forEach(function(e){e.label===e.symetric.label&&(t.removeEdge(e.symetric),t.removeEdge(e))})},t.prototype._computeNextCWEdges=function(t){var e=this;void 0===t?Object.keys(this.nodes).forEach(function(t){return e._computeNextCWEdges(e.nodes[t])}):t.getOuterEdges().forEach(function(e,r){t.getOuterEdge((0===r?t.getOuterEdges().length:r)-1).symetric.next=e})},t.prototype._computeNextCCWEdges=function(t,e){for(var r,n,o=t.getOuterEdges(),i=o.length-1;i>=0;--i){var a=o[i],s=a.symetric,u=void 0,l=void 0;a.label===e&&(u=a),s.label===e&&(l=s),u&&l&&(l&&(n=l),u&&(n&&(n.next=u,n=void 0),r||(r=u)))}n&&(n.next=r)},t.prototype._findLabeledEdgeRings=function(){var t=[],e=0;
1return this.edges.forEach(function(r){if(!(r.label>=0)){t.push(r);var n=r;do n.label=e,n=n.next;while(!r.isEqual(n));e++}}),t},t.prototype.getEdgeRings=function(){var t=this;this._computeNextCWEdges(),this.edges.forEach(function(t){t.label=void 0}),this._findLabeledEdgeRings().forEach(function(e){t._findIntersectionNodes(e).forEach(function(r){t._computeNextCCWEdges(r,e.label)})});var e=[];return this.edges.forEach(function(r){r.ring||e.push(t._findEdgeRing(r))}),e},t.prototype._findIntersectionNodes=function(t){var e=[],r=t;do!function(){var n=0;r.from.getOuterEdges().forEach(function(e){e.label===t.label&&++n}),n>1&&e.push(r.from),r=r.next}();while(!t.isEqual(r));return e},t.prototype._findEdgeRing=function(t){var e=t,r=new tx;do r.push(e),e.ring=r,e=e.next;while(!t.isEqual(e));return r},t.prototype.removeNode=function(t){var e=this;t.getOuterEdges().forEach(function(t){return e.removeEdge(t)}),t.innerEdges.forEach(function(t){return e.removeEdge(t)}),delete this.nodes[t.id]},t.prototype.removeEdge=function(t){this.edges=this.edges.filter(function(e){return!e.isEqual(t)}),t.deleteEdge()}}(),r(60473),r(4394),r(29190);var tw={search:function(t,e,r,n){t.cleanDirty();var o=(n=n||{}).heuristic||tw.heuristics.manhattan,i=n.closest||!1,a=new tS(function(t){return t.f}),s=e;for(e.h=o(e,r),a.push(e);a.size()>0;){var u=a.pop();if(u===r)return tb(u);u.closed=!0;for(var l=t.neighbors(u),c=0,f=l.length;c<f;++c){var h=l[c];if(!(h.closed||h.isWall())){var p=u.g+h.getCost(u),d=h.visited;(!d||p<h.g)&&(h.visited=!0,h.parent=u,h.h=h.h||o(h,r),h.g=p,h.f=h.g+h.h,t.markDirty(h),i&&(h.h<s.h||h.h===s.h&&h.g<s.g)&&(s=h),d?a.rescoreElement(h):a.push(h))}}}return i?tb(s):[]},heuristics:{manhattan:function(t,e){return Math.abs(e.x-t.x)+Math.abs(e.y-t.y)},diagonal:function(t,e){var r=Math.sqrt(2),n=Math.abs(e.x-t.x),o=Math.abs(e.y-t.y);return+(n+o)+(r-2)*Math.min(n,o)}},cleanNode:function(t){t.f=0,t.g=0,t.h=0,t.visited=!1,t.closed=!1,t.parent=null}};function tE(t,e){e=e||{},this.nodes=[],this.diagonal=!!e.diagonal,this.grid=[];for(var r=0;r<t.length;r++){this.grid[r]=[];for(var n=0,o=t[r];n<o.length;n++){var i=new t_(r,n,o[n]);this.grid[r][n]=i,this.nodes.push(i)}}this.init()}function t_(t,e,r){this.x=t,this.y=e,this.weight=r}function tS(t){this.content=[],this.scoreFunction=t}function tO(){this._=null}function tM(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function tP(t,e){var r=e.R,n=e.U;n?n.L===e?n.L=r:n.R=r:t._=r,r.U=n,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function tA(t,e){var r=e.L,n=e.U;n?n.L===e?n.L=r:n.R=r:t._=r,r.U=n,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function tk(t){for(;t.L;)t=t.L;return t}function tj(t,e,r,n){var o=[null,null],i=ec.push(o)-1;return o.left=t,o.right=e,r&&tC(o,t,e,r),n&&tC(o,e,t,n),eu[t.index].halfedges.push(i),eu[e.index].halfedges.push(i),o}function tI(t,e,r){var n=[e,r];return n.left=t,n}function tC(t,e,r,n){t[0]||t[1]?t.left===r?t[1]=n:t[0]=n:(t[0]=n,t.left=e,t.right=r)}function tD(t,e){return e[+(e.left!==t.site)]}tE.prototype.init=function(){this.dirtyNodes=[];for(var t=0;t<this.nodes.length;t++)tw.cleanNode(this.nodes[t])},tE.prototype.cleanDirty=function(){for(var t=0;t<this.dirtyNodes.length;t++)tw.cleanNode(this.dirtyNodes[t]);this.dirtyNodes=[]},tE.prototype.markDirty=function(t){this.dirtyNodes.push(t)},tE.prototype.neighbors=function(t){var e=[],r=t.x,n=t.y,o=this.grid;return o[r-1]&&o[r-1][n]&&e.push(o[r-1][n]),o[r+1]&&o[r+1][n]&&e.push(o[r+1][n]),o[r]&&o[r][n-1]&&e.push(o[r][n-1]),o[r]&&o[r][n+1]&&e.push(o[r][n+1]),this.diagonal&&(o[r-1]&&o[r-1][n-1]&&e.push(o[r-1][n-1]),o[r+1]&&o[r+1][n-1]&&e.push(o[r+1][n-1]),o[r-1]&&o[r-1][n+1]&&e.push(o[r-1][n+1]),o[r+1]&&o[r+1][n+1]&&e.push(o[r+1][n+1])),e},tE.prototype.toString=function(){for(var t,e,r,n,o=[],i=this.grid,a=0,s=i.length;a<s;a++){for(r=0,t=[],n=(e=i[a]).length;r<n;r++)t.push(e[r].weight);o.push(t.join(" "))}return o.join("\n")},t_.prototype.toString=function(){return"["+this.x+" "+this.y+"]"},t_.prototype.getCost=function(t){return t&&t.x!==this.x&&t.y!==this.y?1.41421*this.weight:this.weight},t_.prototype.isWall=function(){return 0===this.weight},tS.prototype={push:function(t){this.content.push(t),this.sinkDown(this.content.length-1)},pop:function(){var t=this.content[0],e=this.content.pop();return this.content.length>0&&(this.content[0]=e,this.bubbleUp(0)),t},remove:function(t){var e=this.content.indexOf(t),r=this.content.pop();e!==this.content.length-1&&(this.content[e]=r,this.scoreFunction(r)<this.scoreFunction(t)?this.sinkDown(e):this.bubbleUp(e))},size:function(){return this.content.length},rescoreElement:function(t){this.sinkDown(this.content.indexOf(t))},sinkDown:function(t){for(var e=this.content[t];t>0;){var r=(t+1>>1)-1,n=this.content[r];if(this.scoreFunction(e)<this.scoreFunction(n))this.content[r]=e,this.content[t]=n,t=r;else break}},bubbleUp:function(t){for(var e=this.content.length,r=this.content[t],n=this.scoreFunction(r);;){var o,i=t+1<<1,a=i-1,s=null;if(a<e){var u=this.content[a];(o=this.scoreFunction(u))<n&&(s=a)}if(i<e){var l=this.content[i];this.scoreFunction(l)<(null===s?n:o)&&(s=i)}if(null!==s)this.content[t]=this.content[s],this.content[s]=r,t=s;else break}}},tO.prototype={constructor:tO,insert:function(t,e){var r,n,o;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;r=t}else this._?(t=tk(this._),e.P=null,e.N=t,t.P=t.L=e,r=t):(e.P=e.N=null,this._=e,r=null);for(e.L=e.R=null,e.U=r,e.C=!0,t=e;r&&r.C;)n=r.U,r===n.L?(o=n.R)&&o.C?(r.C=o.C=!1,n.C=!0,t=n):(t===r.R&&(tP(this,r),r=(t=r).U),r.C=!1,n.C=!0,tA(this,n)):(o=n.L)&&o.C?(r.C=o.C=!1,n.C=!0,t=n):(t===r.L&&(tA(this,r),r=(t=r).U),r.C=!1,n.C=!0,tP(this,n)),r=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,r,n,o=t.U,i=t.L,a=t.R;if(r=i?a?tk(a):i:a,o?o.L===t?o.L=r:o.R=r:this._=r,i&&a?(n=r.C,r.C=t.C,r.L=i,i.U=r,r!==a?(o=r.U,r.U=t.U,t=r.R,o.L=t,r.R=a,a.U=r):(r.U=o,o=r,t=r.R)):(n=t.C,t=r),t&&(t.U=o),!n){if(t&&t.C){t.C=!1;return}do{if(t===this._)break;
1if(t===o.L){if((e=o.R).C&&(e.C=!1,o.C=!0,tP(this,o),e=o.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,tA(this,e),e=o.R),e.C=o.C,o.C=e.R.C=!1,tP(this,o),t=this._;break}}else if((e=o.L).C&&(e.C=!1,o.C=!0,tA(this,o),e=o.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,tP(this,e),e=o.L),e.C=o.C,o.C=e.L.C=!1,tA(this,o),t=this._;break}e.C=!0,t=o,o=o.U}while(!t.C);t&&(t.C=!1)}}};var tR=[];function tN(){tM(this),this.x=this.y=this.arc=this.site=this.cy=null}function tL(t){var e=t.P,r=t.N;if(e&&r){var n=e.site,o=t.site,i=r.site;if(n!==i){var a=o[0],s=o[1],u=n[0]-a,l=n[1]-s,c=i[0]-a,f=i[1]-s,h=2*(u*f-l*c);if(!(h>=-tq)){var p=u*u+l*l,d=c*c+f*f,y=(f*p-l*d)/h,v=(u*d-c*p)/h,g=tR.pop()||new tN;g.arc=t,g.site=o,g.x=y+a,g.y=(g.cy=v+s)+Math.sqrt(y*y+v*v),t.circle=g;for(var m=null,x=el._;x;)if(g.y<x.y||g.y===x.y&&g.x<=x.x)if(x.L)x=x.L;else{m=x.P;break}else if(x.R)x=x.R;else{m=x;break}el.insert(m,g),m||(ea=g)}}}}function tB(t){var e=t.circle;e&&(e.P||(ea=e.N),el.remove(e),tR.push(e),tM(e),t.circle=null)}var tY=[];function tT(){tM(this),this.edge=this.site=this.circle=null}function tF(t){var e=tY.pop()||new tT;return e.site=t,e}function tX(t){tB(t),es.remove(t),tY.push(t),tM(t)}function tU(t,e){var r=t.site,n=r[0],o=r[1],i=o-e;if(!i)return n;var a=t.P;if(!a)return-1/0;var s=(r=a.site)[0],u=r[1],l=u-e;if(!l)return s;var c=s-n,f=1/i-1/l,h=c/l;return f?(-h+Math.sqrt(h*h-2*f*(c*c/(-2*l)-u+l/2+o-i/2)))/f+n:(n+s)/2}var tq=1e-12;function tW(t,e){return e[1]-t[1]||e[0]-t[0]}function tG(t,e){var r,n,o,i=t.sort(tW).pop();for(ec=[],eu=Array(t.length),es=new tO,el=new tO;;)if(o=ea,i&&(!o||i[1]<o.y||i[1]===o.y&&i[0]<o.x))(i[0]!==r||i[1]!==n)&&(!function(t){for(var e,r,n,o,i=t[0],a=t[1],s=es._;s;)if((n=tU(s,a)-i)>1e-6)s=s.L;else if((o=i-function(t,e){var r=t.N;if(r)return tU(r,e);var n=t.site;return n[1]===e?n[0]:1/0}(s,a))>1e-6){if(!s.R){e=s;break}s=s.R}else{n>-1e-6?(e=s.P,r=s):o>-1e-6?(e=s,r=s.N):e=r=s;break}eu[t.index]={site:t,halfedges:[]};var u=tF(t);if(es.insert(e,u),e||r){if(e===r){tB(e),r=tF(e.site),es.insert(u,r),u.edge=r.edge=tj(e.site,u.site),tL(e),tL(r);return}if(!r){u.edge=tj(e.site,u.site);return}tB(e),tB(r);var l=e.site,c=l[0],f=l[1],h=t[0]-c,p=t[1]-f,d=r.site,y=d[0]-c,v=d[1]-f,g=2*(h*v-p*y),m=h*h+p*p,x=y*y+v*v,b=[(v*m-p*x)/g+c,(h*x-y*m)/g+f];tC(r.edge,l,d,b),u.edge=tj(l,t,null,b),r.edge=tj(t,d,null,b),tL(e),tL(r)}}(i),r=i[0],n=i[1]),i=t.pop();else if(o)!function(t){var e=t.circle,r=e.x,n=e.cy,o=[r,n],i=t.P,a=t.N,s=[t];tX(t);for(var u=i;u.circle&&1e-6>Math.abs(r-u.circle.x)&&1e-6>Math.abs(n-u.circle.cy);)i=u.P,s.unshift(u),tX(u),u=i;s.unshift(u),tB(u);for(var l=a;l.circle&&1e-6>Math.abs(r-l.circle.x)&&1e-6>Math.abs(n-l.circle.cy);)a=l.N,s.push(l),tX(l),l=a;s.push(l),tB(l);var c,f=s.length;for(c=1;c<f;++c)l=s[c],u=s[c-1],tC(l.edge,u.site,l.site,o);u=s[0],(l=s[f-1]).edge=tj(u.site,l.site,null,o),tL(u),tL(l)}(o.arc);else break;if(!function(){for(var t,e,r,n,o=0,i=eu.length;o<i;++o)if((t=eu[o])&&(n=(e=t.halfedges).length)){var a=Array(n),s=Array(n);for(r=0;r<n;++r)a[r]=r,s[r]=function(t,e){var r=t.site,n=e.left,o=e.right;return(r===o&&(o=n,n=r),o)?Math.atan2(o[1]-n[1],o[0]-n[0]):(r===n?(n=e[1],o=e[0]):(n=e[0],o=e[1]),Math.atan2(n[0]-o[0],o[1]-n[1]))}(t,ec[e[r]]);for(a.sort(function(t,e){return s[e]-s[t]}),r=0;r<n;++r)s[r]=e[a[r]];for(r=0;r<n;++r)e[r]=s[r]}}(),e){for(var a,s=+e[0][0],u=+e[0][1],l=+e[1][0],c=+e[1][1],f=ec.length;f--;)(function(t,e,r,n,o){var i=t[1];if(i)return!0;var a,s,u=t[0],l=t.left,c=t.right,f=l[0],h=l[1],p=c[0],d=c[1],y=(f+p)/2;if(d===h){if(y<e||y>=n)return;if(f>p){if(u){if(u[1]>=o)return}else u=[y,r];i=[y,o]}else{if(u){if(u[1]<r)return}else u=[y,o];i=[y,r]}}else if(a=(f-p)/(d-h),s=(h+d)/2-a*y,a<-1||a>1)if(f>p){if(u){if(u[1]>=o)return}else u=[(r-s)/a,r];i=[(o-s)/a,o]}else{if(u){if(u[1]<r)return}else u=[(o-s)/a,o];i=[(r-s)/a,r]}else if(h<d){if(u){if(u[0]>=n)return}else u=[e,a*e+s];i=[n,a*n+s]}else{if(u){if(u[0]<e)return}else u=[n,a*n+s];i=[e,a*e+s]}return t[0]=u,t[1]=i,!0})(a=ec[f],s,u,l,c)&&function(t,e,r,n,o){var i,a=t[0],s=t[1],u=a[0],l=a[1],c=s[0],f=s[1],h=0,p=1,d=c-u,y=f-l;if(i=e-u,!d&&i>0)return;if(i/=d,d<0){if(i<h)return;i<p&&(p=i)}else if(d>0){if(i>p)return;i>h&&(h=i)}
1if(i=n-u,d||!(i<0)){if(i/=d,d<0){if(i>p)return;i>h&&(h=i)}else if(d>0){if(i<h)return;i<p&&(p=i)}if(i=r-l,y||!(i>0)){if(i/=y,y<0){if(i<h)return;i<p&&(p=i)}else if(y>0){if(i>p)return;i>h&&(h=i)}if(i=o-l,y||!(i<0)){if(i/=y,y<0){if(i>p)return;i>h&&(h=i)}else if(y>0){if(i<h)return;i<p&&(p=i)}return!(h>0)&&!(p<1)||(h>0&&(t[0]=[u+h*d,l+h*y]),p<1&&(t[1]=[u+p*d,l+p*y]),!0)}}}}(a,s,u,l,c)&&(Math.abs(a[0][0]-a[1][0])>1e-6||Math.abs(a[0][1]-a[1][1])>1e-6)||delete ec[f];!function(t,e,r,n){var o,i,a,s,u,l,c,f,h,p,d,y,v=eu.length,g=!0;for(o=0;o<v;++o)if(i=eu[o]){for(a=i.site,s=(u=i.halfedges).length;s--;)ec[u[s]]||u.splice(s,1);for(s=0,l=u.length;s<l;)m=i,d=(p=(x=ec[u[s]])[+(x.left===m.site)])[0],y=p[1],f=(c=tD(i,ec[u[++s%l]]))[0],h=c[1],(Math.abs(d-f)>1e-6||Math.abs(y-h)>1e-6)&&(u.splice(s,0,ec.push(tI(a,p,1e-6>Math.abs(d-t)&&n-y>1e-6?[t,1e-6>Math.abs(f-t)?h:n]:1e-6>Math.abs(y-n)&&r-d>1e-6?[1e-6>Math.abs(h-n)?f:r,n]:1e-6>Math.abs(d-r)&&y-e>1e-6?[r,1e-6>Math.abs(f-r)?h:e]:1e-6>Math.abs(y-e)&&d-t>1e-6?[1e-6>Math.abs(h-e)?f:t,e]:null))-1),++l);l&&(g=!1)}if(g){var m,x,b,w,E,_=1/0;for(o=0,g=null;o<v;++o)(i=eu[o])&&(E=(b=(a=i.site)[0]-t)*b+(w=a[1]-e)*w)<_&&(_=E,g=i);if(g){var S=[t,e],O=[t,n],M=[r,n],P=[r,e];g.halfedges.push(ec.push(tI(a=g.site,S,O))-1,ec.push(tI(a,O,M))-1,ec.push(tI(a,M,P))-1,ec.push(tI(a,P,S))-1)}}for(o=0;o<v;++o)(i=eu[o])&&!i.halfedges.length&&delete eu[o]}(s,u,l,c)}this.edges=ec,this.cells=eu,es=el=ec=eu=null}tG.prototype={constructor:tG,polygons:function(){var t=this.edges;return this.cells.map(function(e){var r=e.halfedges.map(function(r){return tD(e,t[r])});return r.data=e.site.data,r})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(r,n){if(a=(i=r.halfedges).length)for(var o,i,a,s,u=r.site,l=-1,c=e[i[a-1]],f=c.left===u?c.right:c.left;++l<a;)s=f,f=(c=e[i[l]]).left===u?c.right:c.left,s&&f&&n<s.index&&n<f.index&&0>(o=f,(u[0]-o[0])*(s[1]-u[1])-(u[0]-s[0])*(o[1]-u[1]))&&t.push([u.data,s.data,f.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,r){for(var n,o,i=this,a=i._found||0,s=i.cells.length;!(o=i.cells[a]);)if(++a>=s)return null;var u=t-o.site[0],l=e-o.site[1],c=u*u+l*l;
1do o=i.cells[n=a],a=null,o.halfedges.forEach(function(r){var n=i.edges[r],s=n.left;if(s!==o.site&&s||(s=n.right)){var u=t-s[0],l=e-s[1],f=u*u+l*l;f<c&&(c=f,a=s.index)}});while(null!==a);return i._found=n,null==r||c<=r*r?o.site:null}};var tz=r(44726);let tH=function(t,e){var r=h(t),n=h(e),o=t.properties||{},a=tz.difference(r.coordinates,n.coordinates);return 0===a.length?null:1===a.length?i(a[0],o):s(a,o)};function tZ(){return new t$}function t$(){this.reset()}r(1189),t$.prototype={constructor:t$,reset:function(){this.s=this.t=0},add:function(t){tV(tJ,t,this.t),tV(this,tJ.s,this.s),this.s?this.t+=tJ.t:this.s=tJ.t},valueOf:function(){return this.s}};var tJ=new t$;function tV(t,e,r){var n=t.s=e+r,o=n-e;t.t=e-(n-o)+(r-o)}var tQ=Math.PI,tK=tQ/2,t0=tQ/4,t1=2*tQ,t3=180/tQ,t2=tQ/180,t6=Math.abs,t4=Math.atan,t8=Math.atan2,t5=Math.cos,t9=Math.sin,t7=Math.sqrt;function et(t){return t>1?tK:t<-1?-tK:Math.asin(t)}function ee(){}function er(t,e){t&&en.hasOwnProperty(t.type)&&en[t.type](t,e)}var en={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 r=t.coordinates,n=-1,o=r.length;++n<o;)t=r[n],e.point(t[0],t[1],t[2])},LineString:function(t,e){eo(t.coordinates,e,0)},MultiLineString:function(t,e){for(var r=t.coordinates,n=-1,o=r.length;++n<o;)eo(r[n],e,0)},Polygon:function(t,e){ei(t.coordinates,e)},MultiPolygon:function(t,e){for(var r=t.coordinates,n=-1,o=r.length;++n<o;)ei(r[n],e)},GeometryCollection:function(t,e){for(var r=t.geometries,n=-1,o=r.length;++n<o;)er(r[n],e)}};function eo(t,e,r){var n,o=-1,i=t.length-r;for(e.lineStart();++o<i;)n=t[o],e.point(n[0],n[1],n[2]);e.lineEnd()}function ei(t,e){var r=-1,n=t.length;for(e.polygonStart();++r<n;)eo(t[r],e,1);e.polygonEnd()}var ea,es,eu,el,ec,ef,eh,ep,ed,ey,ev=tZ(),eg=tZ(),em={point:ee,lineStart:ee,lineEnd:ee,polygonStart:function(){ev.reset(),em.lineStart=ex,em.lineEnd=eb},polygonEnd:function(){var t=+ev;eg.add(t<0?t1+t:t),this.lineStart=this.lineEnd=this.point=ee},sphere:function(){eg.add(t1)}};function ex(){em.point=ew}function eb(){eE(ef,eh)}function ew(t,e){em.point=eE,ef=t,eh=e,t*=t2,e*=t2,ep=t,ed=t5(e=e/2+t0),ey=t9(e)}function eE(t,e){t*=t2,e*=t2;var r=t-ep,n=r>=0?1:-1,o=n*r,i=t5(e=e/2+t0),a=t9(e),s=ey*a,u=ed*i+s*t5(o),l=s*n*t9(o);ev.add(t8(l,u)),ep=t,ed=i,ey=a}function e_(t){var e=t[0],r=t[1],n=t5(r);return[n*t5(e),n*t9(e),t9(r)]}function eS(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 eO(t){var e=t7(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var eM,eP,eA,ek,ej,eI,eC,eD,eR,eN,eL=tZ(),eB={point:eY,lineStart:eF,lineEnd:eX,polygonStart:function(){eB.point=eU,eB.lineStart=eq,eB.lineEnd=eW,eL.reset(),em.polygonStart()},polygonEnd:function(){em.polygonEnd(),eB.point=eY,eB.lineStart=eF,eB.lineEnd=eX,ev<0?(eM=-(eA=180),eP=-(ek=90)):eL>1e-6?ek=90:eL<-1e-6&&(eP=-90),eN[0]=eM,eN[1]=eA}};function eY(t,e){eR.push(eN=[eM=t,eA=t]),e<eP&&(eP=e),e>ek&&(ek=e)}function eT(t,e){var r=e_([t*t2,e*t2]);if(eD){var n=eS(eD,r),o=eS([n[1],-n[0],0],n);eO(o),o=[t8((i=o)[1],i[0]),et(i[2])];var i,a,s=t-ej,u=s>0?1:-1,l=o[0]*t3*u,c=t6(s)>180;c^(u*ej<l&&l<u*t)?(a=o[1]*t3)>ek&&(ek=a):c^(u*ej<(l=(l+360)%360-180)&&l<u*t)?(a=-o[1]*t3)<eP&&(eP=a):(e<eP&&(eP=e),e>ek&&(ek=e)),c?t<ej?eG(eM,t)>eG(eM,eA)&&(eA=t):eG(t,eA)>eG(eM,eA)&&(eM=t):eA>=eM?(t<eM&&(eM=t),t>eA&&(eA=t)):t>ej?eG(eM,t)>eG(eM,eA)&&(eA=t):eG(t,eA)>eG(eM,eA)&&(eM=t)}else eR.push(eN=[eM=t,eA=t]);e<eP&&(eP=e),e>ek&&(ek=e),eD=r,ej=t}function eF(){eB.point=eT}function eX(){eN[0]=eM,eN[1]=eA,eB.point=eY,eD=null}function eU(t,e){if(eD){var r=t-ej;eL.add(t6(r)>180?r+(r>0?360:-360):r)}else eI=t,eC=e;em.point(t,e),eT(t,e)}function eq(){em.lineStart()}function eW(){eU(eI,eC),em.lineEnd(),t6(eL)>1e-6&&(eM=-(eA=180)),eN[0]=eM,eN[1]=eA,eD=null}function eG(t,e){return(e-=t)<0?e+360:e}var ez={sphere:ee,point:eH,lineStart:e$,lineEnd:eQ,polygonStart:function(){ez.lineStart=eK,ez.lineEnd=e0},polygonEnd:function(){ez.lineStart=e$,ez.lineEnd=eQ}};function eH(t,e){t*=t2;var r=t5(e*=t2);eZ(r*t5(t),r*t9(t),t9(e))}function eZ(t,e,r){++e5,e7+=(t-e7)/e5,rt+=(e-rt)/e5,re+=(r-re)/e5}function e$(){ez.point=eJ}function eJ(t,e){t*=t2;var r=t5(e*=t2);
1rc=r*t5(t),rf=r*t9(t),rh=t9(e),ez.point=eV,eZ(rc,rf,rh)}function eV(t,e){t*=t2;var r=t5(e*=t2),n=r*t5(t),o=r*t9(t),i=t9(e),a=t8(t7((a=rf*i-rh*o)*a+(a=rh*n-rc*i)*a+(a=rc*o-rf*n)*a),rc*n+rf*o+rh*i);e9+=a,rr+=a*(rc+(rc=n)),rn+=a*(rf+(rf=o)),ro+=a*(rh+(rh=i)),eZ(rc,rf,rh)}function eQ(){ez.point=eH}function eK(){ez.point=e1}function e0(){e3(ru,rl),ez.point=eH}function e1(t,e){ru=t,rl=e,t*=t2,e*=t2,ez.point=e3;var r=t5(e);rc=r*t5(t),rf=r*t9(t),rh=t9(e),eZ(rc,rf,rh)}function e3(t,e){t*=t2;var r=t5(e*=t2),n=r*t5(t),o=r*t9(t),i=t9(e),a=rf*i-rh*o,s=rh*n-rc*i,u=rc*o-rf*n,l=t7(a*a+s*s+u*u),c=et(l),f=l&&-c/l;ri+=f*a,ra+=f*s,rs+=f*u,e9+=c,rr+=c*(rc+(rc=n)),rn+=c*(rf+(rf=o)),ro+=c*(rh+(rh=i)),eZ(rc,rf,rh)}function e2(t,e){return[t>tQ?t-t1:t<-tQ?t+t1:t,e]}e2.invert=e2;function e6(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var e4=function(t){var e;return 1===t.length&&(e=t,t=function(t,r){return e6(e(t),r)}),{left:function(e,r,n,o){for(null==n&&(n=0),null==o&&(o=e.length);n<o;){var i=n+o>>>1;0>t(e[i],r)?n=i+1:o=i}return n},right:function(e,r,n,o){for(null==n&&(n=0),null==o&&(o=e.length);n<o;){var i=n+o>>>1;t(e[i],r)>0?o=i:n=i+1}return n}}}(e6);e4.right,e4.left;var e8=Array.prototype;e8.slice,e8.map;tZ();var e5,e9,e7,rt,re,rr,rn,ro,ri,ra,rs,ru,rl,rc,rf,rh,rp,rd,ry,rv=tZ(),rg={sphere:ee,point:ee,lineStart:function(){rg.point=rx,rg.lineEnd=rm},lineEnd:ee,polygonStart:ee,polygonEnd:ee};function rm(){rg.point=rg.lineEnd=ee}function rx(t,e){t*=t2,e*=t2,rp=t,rd=t9(e),ry=t5(e),rg.point=rb}function rb(t,e){t*=t2;var r=t9(e*=t2),n=t5(e),o=t6(t-rp),i=t5(o),a=n*t9(o),s=ry*r-rd*n*i,u=rd*r+ry*n*i;rv.add(t8(t7(a*a+s*s),u)),rp=t,rd=r,ry=n}var rw,rE,r_,rS,rO=tZ(),rM=tZ(),rP={point:ee,lineStart:ee,lineEnd:ee,polygonStart:function(){rP.lineStart=rA,rP.lineEnd=rI},polygonEnd:function(){rP.lineStart=rP.lineEnd=rP.point=ee,rO.add(t6(rM)),rM.reset()},result:function(){var t=rO/2;return rO.reset(),t}};function rA(){rP.point=rk}function rk(t,e){rP.point=rj,rw=r_=t,rE=rS=e}function rj(t,e){rM.add(rS*t-r_*e),r_=t,rS=e}function rI(){rj(rw,rE)}var rC,rD,rR,rN,rL=0,rB=0,rY=0,rT=0,rF=0,rX=0,rU=0,rq=0,rW=0,rG={point:rz,lineStart:rH,lineEnd:rJ,polygonStart:function(){rG.lineStart=rV,rG.lineEnd=rQ},polygonEnd:function(){rG.point=rz,rG.lineStart=rH,rG.lineEnd=rJ},result:function(){var t=rW?[rU/rW,rq/rW]:rX?[rT/rX,rF/rX]:rY?[rL/rY,rB/rY]:[NaN,NaN];return rL=rB=rY=rT=rF=rX=rU=rq=rW=0,t}};function rz(t,e){rL+=t,rB+=e,++rY}function rH(){rG.point=rZ}function rZ(t,e){rG.point=r$,rz(rR=t,rN=e)}function r$(t,e){var r=t-rR,n=e-rN,o=t7(r*r+n*n);rT+=o*(rR+t)/2,rF+=o*(rN+e)/2,rX+=o,rz(rR=t,rN=e)}function rJ(){rG.point=rz}function rV(){rG.point=rK}function rQ(){r0(rC,rD)}function rK(t,e){rG.point=r0,rz(rC=rR=t,rD=rN=e)}function r0(t,e){var r=t-rR,n=e-rN,o=t7(r*r+n*n);rT+=o*(rR+t)/2,rF+=o*(rN+e)/2,rX+=o,rU+=(o=rN*t-rR*e)*(rR+t),rq+=o*(rN+e),rW+=3*o,rz(rR=t,rN=e)}var r1,r3,r2,r6,r4,r8=tZ(),r5={point:ee,lineStart:function(){r5.point=r9},lineEnd:function(){r1&&r7(r3,r2),r5.point=ee},polygonStart:function(){r1=!0},polygonEnd:function(){r1=null},result:function(){var t=+r8;return r8.reset(),t}};function r9(t,e){r5.point=r7,r3=r6=t,r2=r4=e}function r7(t,e){r6-=t,r4-=e,r8.add(t7(r6*r6+r4*r4)),r6=t,r4=e}y=4.5;function nt(){}function ne(t){return function(e,r){var n=t5(e),o=t5(r),i=t(n*o);return[i*o*t9(e),i*t9(r)]}}function nr(t){return function(e,r){var n=t7(e*e+r*r),o=t(n),i=t9(o);return[t8(e*i,n*t5(o)),et(n&&r*i/n)]}}function nn(t,e){return[t,e]}v=0,g=0,m=0,x=0,nt.prototype={constructor:nt,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()}},t5(30*t2),b=0,ne(function(t){return t7(2/(1+t))}).invert=nr(function(t){return 2*et(t/2)}),ne(function(t){var e;return(t=(e=t)>1?0:e<-1?tQ:Math.acos(e))&&t/t9(t)}).invert=nr(function(t){return t}),nn.invert=nn,nr(t4),nr(et),nr(function(t){return 2*t4(t)});let no=function(t,e){var r,n,o=i((r=e)&&r.geometry.coordinates||[[[180,90],[-180,90],[-180,-90],[180,-90],[180,90]]]);return("FeatureCollection"===t.type?s(2===(n=t).features.length?tz.union(n.features[0].geometry.coordinates,n.features[1].geometry.coordinates):tz.union.apply(tz,n.features.map(function(t){return t.geometry.coordinates}))):s(tz.union(t.geometry.coordinates))).geometry.coordinates.forEac
1h(function(t){o.geometry.coordinates.push(t[0])}),o}},21822:(t,e,r)=>{"use strict";var n=r(81559),o=r(61676).supportsDescriptors,i=Object.getOwnPropertyDescriptor;t.exports=function(){if(o&&"gim"===/a/mig.flags){var t=i(RegExp.prototype,"flags");if(t&&"function"==typeof t.get&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var e="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){e+="d"}}),Object.defineProperty(r,"sticky",{get:function(){e+="y"}}),t.get.call(r),"dy"===e)return t.get}}return n}},22350:t=>{"use strict";t.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},23034:(t,e,r)=>{"use strict";var n=r(80045),o=r(28250),i=o([n("%String.prototype.indexOf%")]);t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o([r]):r}},25481:t=>{t.exports=function(t,e,r,n){var o=t[0],i=t[1],a=!1;void 0===r&&(r=0),void 0===n&&(n=e.length);for(var s=n-r,u=0,l=s-1;u<s;l=u++){var c=e[u+r][0],f=e[u+r][1],h=e[l+r][0],p=e[l+r][1];f>i!=p>i&&o<(h-c)*(i-f)/(p-f)+c&&(a=!a)}return a}},26561:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>eE});var n,o=r(95155),i=r(12115);let a=function(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=function t(e){var r,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(n=t(e[r]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}(t))&&(n&&(n+=" "),n+=e);return n};var s=r(32721);function u(t){return"string"==typeof t}function l(t,e,r){return r.indexOf(t)===e}function c(t){return -1===t.indexOf(",")?t:t.split(",")}var f=s(function(t){var e=void 0===t?{}:t,r=e.useFallbackLocale,n=e.fallbackLocale,o=[];if("undefined"!=typeof navigator){for(var i=navigator.languages||[],a=[],s=0;s<i.length;s++){var f=i[s];a=a.concat(c(f))}var h=navigator.language,p=h?c(h):h;o=o.concat(a,p)}return(void 0===r||r)&&o.push(void 0===n?"en-US":n),o.filter(u).map(function t(e){if(!e)return e;if("C"===e||"posix"===e||"POSIX"===e)return"en-US";if(-1!==e.indexOf(".")){var r=e.split(".")[0],n=void 0===r?"":r;return t(n)}if(-1!==e.indexOf("@")){var o=e.split("@")[0],n=void 0===o?"":o;return t(n)}if(-1===e.indexOf("-")||e.toLowerCase()!==e)return e;var i=e.split("-"),a=i[0],s=i[1];return"".concat(a,"-").concat((void 0===s?"":s).toUpperCase())}).filter(l)},{cacheKey:JSON.stringify}),h=s(function(t){return f(t)[0]||null},{cacheKey:JSON.stringify});function p(t,e,r){return function(n,o){return void 0===o&&(o=r),e(t(n)+o)}}function d(t){return function(e){return new Date(t(e).getTime()-1)}}function y(t,e){return function(r){return[t(r),e(r)]}}function v(t){if(t instanceof Date)return t.getFullYear();if("number"==typeof t)return t;var e=parseInt(t,10);if("string"==typeof t&&!isNaN(e))return e;throw Error("Failed to get year from date: ".concat(t,"."))}function g(t){if(t instanceof Date)return t.getMonth();throw Error("Failed to get month from date: ".concat(t,"."))}function m(t){if(t instanceof Date)return t.getDate();throw Error("Failed to get year from date: ".concat(t,"."))}function x(t){var e=v(t),r=new Date;return r.setFullYear(e+(-e+1)%100,0,1),r.setHours(0,0,0,0),r}var b=p(v,x,-100),w=p(v,x,100),E=d(w),_=p(v,E,-100);p(v,E,100);var S=y(x,E);function O(t){var e=v(t),r=new Date;return r.setFullYear(e+(-e+1)%10,0,1),r.setHours(0,0,0,0),r}var M=p(v,O,-10),P=p(v,O,10),A=d(P),k=p(v,A,-10);p(v,A,10);var j=y(O,A);function I(t){var e=v(t),r=new Date;return r.setFullYear(e,0,1),r.setHours(0,0,0,0),r}var C=p(v,I,-1),D=p(v,I,1),R=d(D),N=p(v,R,-1);p(v,R,1);var L=y(I,R);function B(t,e){return function(r,n){void 0===n&&(n=e);var o=v(r),i=g(r)+n,a=new Date;return a.setFullYear(o,i,1),a.setHours(0,0,0,0),t(a)}}function Y(t){var e=v(t),r=g(t),n=new Date;return n.setFullYear(e,r,1),n.setHours(0,0,0,0),n}var T=B(Y,-1),F=B(Y,1),X=d(F),U=B(X,-1);B(X,1);var q=y(Y,X);function W(t,e){return function(r,n){void 0===n&&(n=e);var o=v(r),i=g(r),a=m(r)+n,s=new Date;return s.setFullYear(o,i,a),s.setHours(0,0,0,0),t(s)}}function G(t){var e=v(t),r=g(t),n=m(t),o=new Date;return o.setFullYear(e,r,n),o.setHours(0,0,0,0),o}W(G,-1);var z=d(W(G,1));W(z,-1),W(z,1);var H=y(G,z),Z={GREGORY:"gregory",HEBREW:"hebrew",ISLAMIC:"islamic",ISO_8601:"iso8601"},$=((n={})[Z.GREGORY]=["en-CA","en-US","es-AR","es-BO","es-CL","es-CO","es-CR","es-DO","es-EC","es-GT","es-HN","es-MX","es-NI","es-PA","es-PE","es-PR","es-SV","es-VE","pt-B
1R"],n[Z.HEBREW]=["he","he-IL"],n[Z.ISLAMIC]=["ar","ar-AE","ar-BH","ar-DZ","ar-EG","ar-IQ","ar-JO","ar-KW","ar-LY","ar-OM","ar-QA","ar-SA","ar-SD","ar-SY","ar-YE","dv","dv-MV","ps","ps-AR"],n),J=new Map;function V(t){return function(e,r){return function(e,r){var n=e||h();J.has(n)||J.set(n,new Map);var o=J.get(n);return o.has(t)||o.set(t,new Intl.DateTimeFormat(n||void 0,t).format),o.get(t)(r)}(e,new Date(new Date(r).setHours(12)))}}V({day:"numeric",month:"numeric",year:"numeric"});var Q=V({day:"numeric"}),K=V({day:"numeric",month:"long",year:"numeric"}),tt=V({month:"long"}),te=V({month:"long",year:"numeric"}),tr=V({weekday:"short"}),tn=V({weekday:"long"}),to=V({year:"numeric"});function ti(t,e){void 0===e&&(e=Z.ISO_8601);var r=t.getDay();switch(e){case Z.ISO_8601:return(r+6)%7;case Z.ISLAMIC:return(r+1)%7;case Z.HEBREW:case Z.GREGORY:return r;default:throw Error("Unsupported calendar type.")}}function ta(t,e){return void 0===e&&(e=Z.ISO_8601),new Date(v(t),g(t),t.getDate()-ti(t,e))}function ts(t,e){switch(t){case"century":return x(e);case"decade":return O(e);case"year":return I(e);case"month":return Y(e);case"day":return G(e);default:throw Error("Invalid rangeType: ".concat(t))}}function tu(t,e){switch(t){case"century":return w(e);case"decade":return P(e);case"year":return D(e);case"month":return F(e);default:throw Error("Invalid rangeType: ".concat(t))}}function tl(t,e){switch(t){case"century":return E(e);case"decade":return A(e);case"year":return R(e);case"month":return X(e);case"day":return z(e);default:throw Error("Invalid rangeType: ".concat(t))}}function tc(t,e){switch(t){case"century":return S(e);case"decade":return j(e);case"year":return L(e);case"month":return q(e);case"day":return H(e);default:throw Error("Invalid rangeType: ".concat(t))}}function tf(t,e,r){return void 0===e&&(e=to),r.map(function(r){return e(t,r)}).join(" â ")}function th(t,e){void 0===e&&(e=Z.ISO_8601);var r=t.getDay();switch(e){case Z.ISLAMIC:case Z.HEBREW:return 5===r||6===r;case Z.ISO_8601:case Z.GREGORY:return 6===r||0===r;default:throw Error("Unsupported calendar type.")}}var tp="react-calendar__navigation";function td(t){var e,r=t.activeStartDate,n=t.drillUp,i=t.formatMonthYear,a=void 0===i?te:i,s=t.formatYear,u=void 0===s?to:s,l=t.locale,c=t.maxDate,f=t.minDate,p=t.navigationAriaLabel,d=t.navigationAriaLive,y=t.navigationLabel,v=t.next2AriaLabel,g=t.next2Label,m=void 0===g?"\xbb":g,x=t.nextAriaLabel,w=t.nextLabel,E=void 0===w?"âº":w,O=t.prev2AriaLabel,A=t.prev2Label,I=void 0===A?"\xab":A,R=t.prevAriaLabel,L=t.prevLabel,B=void 0===L?"â¹":L,Y=t.
1setActiveStartDate,X=t.showDoubleView,q=t.view,W=t.views.indexOf(q)>0,G="century"!==q,z=function(t,e){switch(t){case"century":return b(e);case"decade":return M(e);case"year":return C(e);case"month":return T(e);default:throw Error("Invalid rangeType: ".concat(t))}}(q,r),H=G?function(t,e){switch(t){case"decade":return M(e,-100);case"year":return C(e,-10);case"month":return T(e,-12);default:throw Error("Invalid rangeType: ".concat(t))}}(q,r):void 0,Z=tu(q,r),$=G?function(t,e){switch(t){case"decade":return P(e,100);case"year":return D(e,10);case"month":return F(e,12);default:throw Error("Invalid rangeType: ".concat(t))}}(q,r):void 0,J=function(){if(0>z.getFullYear())return!0;var t=function(t,e){switch(t){case"century":return _(e);case"decade":return k(e);case"year":return N(e);case"month":return U(e);default:throw Error("Invalid rangeType: ".concat(t))}}(q,r);return f&&f>=t}(),V=G&&function(){if(0>H.getFullYear())return!0;var t=function(t,e){switch(t){case"decade":return k(e,-100);case"year":return N(e,-10);case"month":return U(e,-12);default:throw Error("Invalid rangeType: ".concat(t))}}(q,r);return f&&f>=t}(),Q=c&&c<Z,K=G&&c&&c<$;function tt(t){var e=function(){switch(q){case"century":return tf(l,u,S(t));case"decade":return tf(l,u,j(t));case"year":return u(l,t);case"month":return a(l,t);default:throw Error("Invalid view: ".concat(q,"."))}}();return y?y({date:t,label:e,locale:l||h()||void 0,view:q}):e}return(0,o.jsxs)("div",{className:tp,children:[null!==I&&G?(0,o.jsx)("button",{"aria-label":void 0===O?"":O,className:"".concat(tp,"__arrow ").concat(tp,"__prev2-button"),disabled:V,onClick:function(){Y(H,"prev2")},type:"button",children:I}):null,null!==B&&(0,o.jsx)("button",{"aria-label":void 0===R?"":R,className:"".concat(tp,"__arrow ").concat(tp,"__prev-button"),disabled:J,onClick:function(){Y(z,"prev")},type:"button",children:B}),(e="".concat(tp,"__label"),(0,o.jsxs)("button",{"aria-label":void 0===p?"":p,"aria-live":d,className:e,disabled:!W,onClick:n,style:{flexGrow:1},type:"button",children:[(0,o.jsx)("span",{className:"".concat(e,"__labelText ").concat(e,"__labelText--from"),children:tt(r)}),X?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:"".concat(e,"__divider"),children:" â "}),(0,o.jsx)("span",{className:"".concat(e,"__labelText ").concat(e,"__labelText--to"),children:tt(Z)})]}):null]})),null!==E&&(0,o.jsx)("button",{"aria-label":void 0===x?"":x,className:"".concat(tp,"__arrow ").concat(tp,"__next-button"),disabled:Q,onClick:function(){Y(Z,"next")},type:"button",children:E}),null!==m&&G?(0,o.jsx)("button",{"aria-label":void 0===v?"":v,className:"".concat(tp,"__arrow ").concat(tp,"__next2-button"),disabled:K,onClick:function(){Y($,"next2")},type:"button",children:m}):null]})}var ty=function(){return(ty=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tv=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};function tg(t){return"".concat(t,"%")}function tm(t){var e=t.children,r=t.className,n=t.count,a=t.direction,s=t.offset,u=t.style,l=t.wrap,c=tv(t,["children","className","count","direction","offset","style","wrap"]);return(0,o.jsx)("div",ty({className:r,style:ty({display:"flex",flexDirection:a,flexWrap:l?"wrap":"nowrap"},u)},c,{children:i.Children.map(e,function(t,e){var r=s&&0===e?tg(100*s/n):null;return(0,i.cloneElement)(t,ty(ty({},t.props),{style:{flexBasis:tg(100/n),flexShrink:0,flexGrow:0,overflow:"hidden",marginLeft:r,marginInlineStart:r,marginInlineEnd:0}}))})}))}function tx(t,e){return e[0]<=t&&e[1]>=t}function tb(t,e){return tx(t[0],e)||tx(t[1],e)}function tw(t,e,r){var n=tb(e,t),o=[];if(n){o.push(r);var i=tx(t[0],e),a=tx(t[1],e);i&&o.push("".concat(r,"Start")),a&&o.push("".concat(r,"End")),i&&a&&o.push("".concat(r,"BothEnds"))}return o}function tE(t){for(var e=t.className,r=t.count,n=t.dateTransform,i=t.dateType,a=t.end,s=t.hover,u=t.offset,l=t.renderTile,c=t.start,f=t.step,h=void 0===f?1:f,p=t.value,d=t.valueType,y=[],v=c;v<=a;v+=h){var g=n(v);y.push(l({classes:function(t){if(!t)throw Error("args is required");var e=t.value,r=t.date,n=t.hover,o="react-calendar__tile",i=[o];if(!r)return i;var a=new Date,s=function(){if(Array.isArray(r))return r;var e=t.dateType;if(!e)throw Error("dateType is required when date is not an array of two dates");return tc(e,r)}();if(tx(a,s)&&i.push("".concat(o,"--now")),!e||!(Array.isArray(e)?null!==e[0]&&null!==e[1]:null!==e))return i;var u=function(){if(Array.isArray(e))return e;var r=t.valueType;if(!r)throw Error("valueType is required when value is not an array of two dates");return tc(r,e)}();u[0]<=s[0]&&u[1]>=s[1]?i.push("".concat(o,"--active")):tb(u,s)&&i.push("".concat(o,"--hasActive"));var l=tw(u,s,"".concat(o,"--range"));i.push.apply(i,l);var c=Array.isArray(e)?e:[e];
1if(n&&1===c.length){var f=tw(n>u[0]?[u[0],n]:[n,u[0]],s,"".concat(o,"--hover"));i.push.apply(i,f)}return i}({date:g,dateType:i,hover:s,value:p,valueType:d}),date:g}))}return(0,o.jsx)(tm,{className:e,count:void 0===r?3:r,offset:u,wrap:!0,children:y})}function t_(t){var e=t.activeStartDate,r=t.children,n=t.classes,s=t.date,u=t.formatAbbr,l=t.locale,c=t.maxDate,f=t.maxDateTransform,h=t.minDate,p=t.minDateTransform,d=t.onClick,y=t.onMouseOver,v=t.style,g=t.tileClassName,m=t.tileContent,x=t.tileDisabled,b=t.view,w=(0,i.useMemo)(function(){return"function"==typeof g?g({activeStartDate:e,date:s,view:b}):g},[e,s,g,b]),E=(0,i.useMemo)(function(){return"function"==typeof m?m({activeStartDate:e,date:s,view:b}):m},[e,s,m,b]);return(0,o.jsxs)("button",{className:a(n,w),disabled:h&&p(h)>s||c&&f(c)<s||x&&x({activeStartDate:e,date:s,view:b}),onClick:d?function(t){return d(s,t)}:void 0,onFocus:y?function(){return y(s)}:void 0,onMouseOver:y?function(){return y(s)}:void 0,style:v,type:"button",children:[u?(0,o.jsx)("abbr",{"aria-label":u(l,s),children:r}):r,E]})}var tS=function(){return(tS=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tO=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r},tM="react-calendar__century-view__decades__decade";function tP(t){var e=t.classes,r=void 0===e?[]:e,n=t.currentCentury,i=t.formatYear,a=tO(t,["classes","currentCentury","formatYear"]),s=a.date,u=a.locale,l=[];return r&&l.push.apply(l,r),tM&&l.push(tM),x(s).getFullYear()!==n&&l.push("".concat(tM,"--neighboringCentury")),(0,o.jsx)(t_,tS({},a,{classes:l,maxDateTransform:A,minDateTransform:O,view:"century",children:tf(u,void 0===i?to:i,j(s))}))}var tA=function(){return(tA=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tk=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};function tj(t){var e=t.activeStartDate,r=t.hover,n=t.showNeighboringCentury,i=t.value,a=t.valueType,s=tk(t,["activeStartDate","hover","showNeighboringCentury","value","valueType"]),u=v(x(e)),l=u+(n?119:99);return(0,o.jsx)(tE,{className:"react-calendar__century-view__decades",dateTransform:O,dateType:"decade",end:l,hover:r,renderTile:function(t){var r=t.date,n=tk(t,["date"]);return(0,o.jsx)(tP,tA({},s,n,{activeStartDate:e,currentCentury:u,date:r}),r.getTime())},start:u,step:10,value:i,valueType:a})}var tI=function(){return(tI=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function tC(t){return(0,o.jsx)("div",{className:"react-calendar__century-view",children:(0,o.jsx)(tj,tI({},t))})}var tD=function(){return(tD=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tR=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r},tN="react-calendar__decade-view__years__year";function tL(t){var e=t.classes,r=void 0===e?[]:e,n=t.currentDecade,i=t.formatYear,a=void 0===i?to:i,s=tR(t,["classes","currentDecade","formatYear"]),u=s.date,l=s.locale,c=[];return r&&c.push.apply(c,r),tN&&c.push(tN),O(u).getFullYear()!==n&&c.push("".concat(tN,"--neighboringDecade")),(0,o.jsx)(t_,tD({},s,{classes:c,maxDateTransform:R,minDateTransform:I,view:"decade",children:a(l,u)}))}var tB=function(){return(tB=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tY=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};function tT(t){var e=t.activeStartDate,r=t.hover,n=t.showNeighboringDecade,i=t.value,a=t.valueType,s=tY(t,["activeStartDate","hover","showNeighboringDecade","value","valueType"]),u=v(O(e)),l=u+(n?11:9);return(0,o.jsx)(tE,{className:"react-calendar__decade-view__years",dateTransform:I,dateType:"year",end:l,hover:r,renderTile:function(t){var r=t.date,n=tY(t,["date"]);return(0,o.jsx)(tL,tB({},s,n,{activeStartDate:e,currentDecade:u,date:r}),r.getTime())},start:u,value:i,valueType:a})}var tF=function(){return(tF=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function tX(t){return(0,o.jsx)("div",{className:"react-calendar__decade-view",children:(0,o.jsx)(tT,tF({},t))})}var tU=function(){return(tU=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tq=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r},tW=function(t,e,r){if(r||2==arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};function tG(t){var e=t.classes,r=t.formatMonth,n=t.formatMonthYear,i=tq(t,["classes","formatMonth","formatMonthYear"]),a=i.date,s=i.locale;return(0,o.jsx)(t_,tU({},i,{classes:tW(tW([],void 0===e?[]:e,!0),["react-calendar__year-view__months__month"],!1),formatAbbr:void 0===n?te:n,maxDateTransform:X,minDateTransform:Y,view:"year",children:(void 0===r?tt:r)(s,a)}))}var tz=function(){return(tz=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tH=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};function tZ(t){var e=t.activeStartDate,r=t.hover,n=t.value,i=t.valueType,a=tH(t,["activeStartDate","hover","value","valueType"]),s=v(e);return(0,o.jsx)(tE,{className:"react-calendar__year-view__months",dateTransform:function(t){var e=new Date;return e.setFullYear(s,t,1),Y(e)},dateType:"month",end:11,hover:r,renderTile:function(t){var r=t.date,n=tH(t,["date"]);return(0,o.jsx)(tG,tz({},a,n,{activeStartDate:e,date:r}),r.getTime())},start:0,value:n,valueType:i})}var t$=function(){return(t$=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function tJ(t){return(0,o.jsx)("div",{className:"react-calendar__year-view",children:(0,o.jsx)(tZ,t$({},t))})}var tV=function(){return(tV=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},tQ=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r},tK="react-calendar__month-view__days__day";function t0(t){var e=t.calendarType,r=t.classes,n=void 0===r?[]:r,
1i=t.currentMonthIndex,a=t.formatDay,s=t.formatLongDate,u=tQ(t,["calendarType","classes","currentMonthIndex","formatDay","formatLongDate"]),l=u.date,c=u.locale,f=[];return n&&f.push.apply(f,n),tK&&f.push(tK),th(l,e)&&f.push("".concat(tK,"--weekend")),l.getMonth()!==i&&f.push("".concat(tK,"--neighboringMonth")),(0,o.jsx)(t_,tV({},u,{classes:f,formatAbbr:void 0===s?K:s,maxDateTransform:z,minDateTransform:G,view:"month",children:(void 0===a?Q:a)(c,l)}))}var t1=function(){return(t1=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},t3=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};function t2(t){var e=t.activeStartDate,r=t.calendarType,n=t.hover,i=t.showFixedNumberOfWeeks,a=t.showNeighboringMonth,s=t.value,u=t.valueType,l=t3(t,["activeStartDate","calendarType","hover","showFixedNumberOfWeeks","showNeighboringMonth","value","valueType"]),c=v(e),f=g(e),h=i||a,p=ti(e,r),d=(h?-p:0)+1,y=function(){if(i)return d+42-1;var t=m(X(e));if(a){var n=new Date;return n.setFullYear(c,f,t),n.setHours(0,0,0,0),t+(7-ti(n,r)-1)}return t}();return(0,o.jsx)(tE,{className:"react-calendar__month-view__days",count:7,dateTransform:function(t){var e=new Date;return e.setFullYear(c,f,t),G(e)},dateType:"day",hover:n,end:y,renderTile:function(t){var n=t.date,i=t3(t,["date"]);return(0,o.jsx)(t0,t1({},l,i,{activeStartDate:e,calendarType:r,currentMonthIndex:f,date:n}),n.getTime())},offset:h?0:p,start:d,value:s,valueType:u})}var t6="react-calendar__month-view__weekdays",t4="".concat(t6,"__weekday");function t8(t){for(var e=t.calendarType,r=t.formatShortWeekday,n=void 0===r?tr:r,i=t.formatWeekday,s=void 0===i?tn:i,u=t.locale,l=t.onMouseLeave,c=Y(new Date),f=v(c),h=g(c),p=[],d=1;d<=7;d+=1){var y=new Date(f,h,d-ti(c,e)),m=s(u,y);p.push((0,o.jsx)("div",{className:a(t4,y.getDay()===new Date().getDay()&&"".concat(t4,"--current"),th(y,e)&&"".concat(t4,"--weekend")),children:(0,o.jsx)("abbr",{"aria-label":m,title:m,children:n(u,y).replace(".","")})},d))}return(0,o.jsx)(tm,{className:t6,count:7,onFocus:l,onMouseOver:l,children:p})}var t5=function(){return(t5=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},t9=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r},t7="react-calendar__tile";function et(t){var e=t.onClickWeekNumber,r=t.weekNumber,n=(0,o.jsx)("span",{children:r});if(e){var i=t.date,a=t.onClickWeekNumber,s=t.weekNumber,u=t9(t,["date","onClickWeekNumber","weekNumber"]);return(0,o.jsx)("button",t5({},u,{className:t7,onClick:function(t){return a(s,i,t)},type:"button",children:n}))}t.date,t.onClickWeekNumber,t.weekNumber;var u=t9(t,["date","onClickWeekNumber","weekNumber"]);return(0,o.jsx)("div",t5({},u,{className:t7,children:n}))}function ee(t){var e=t.activeStartDate,r=t.calendarType,n=t.onClickWeekNumber,i=t.onMouseLeave,a=t.showFixedNumberOfWeeks,s=a?6:1+Math.ceil((m(X(e))-(7-ti(e,r)))/7),u=function(){for(var t=v(e),n=g(e),o=m(e),i=[],a=0;a<s;a+=1)i.push(ta(new Date(t,n,o+7*a),r));return i}(),l=u.map(function(t){var e=r;void 0===e&&(e=Z.ISO_8601);var n,o=e===Z.GREGORY?Z.GREGORY:Z.ISO_8601,i=ta(t,e),a=v(t)+1;do n=ta(new Date(a,0,o===Z.ISO_8601?4:1),e),a-=1;while(t<n);return Math.round((i.getTime()-n.getTime())/(864e5*7))+1});return(0,o.jsx)(tm,{className:"react-calendar__month-view__weekNumbers",count:s,direction:"column",onFocus:i,onMouseOver:i,style:{flexBasis:"c
1alc(100% * (1 / 8)",flexShrink:0},children:l.map(function(t,e){var r=u[e];if(!r)throw Error("date is not defined");return(0,o.jsx)(et,{date:r,onClickWeekNumber:n,weekNumber:t},t)})})}var er=function(){return(er=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},en=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r};function eo(t){var e=t.activeStartDate,r=t.locale,n=t.onMouseLeave,i=t.showFixedNumberOfWeeks,s=t.calendarType,u=void 0===s?function(t){if(t)for(var e=0,r=Object.entries($);e<r.length;e++){var n=r[e],o=n[0];if(n[1].includes(t))return o}return Z.ISO_8601}(r):s,l=t.formatShortWeekday,c=t.formatWeekday,f=t.onClickWeekNumber,h=t.showWeekNumbers,p=en(t,["calendarType","formatShortWeekday","formatWeekday","onClickWeekNumber","showWeekNumbers"]),d="react-calendar__month-view";return(0,o.jsx)("div",{className:a(d,h?"".concat(d,"--weekNumbers"):""),children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"flex-end"},children:[h?(0,o.jsx)(ee,{activeStartDate:e,calendarType:u,onClickWeekNumber:f,onMouseLeave:n,showFixedNumberOfWeeks:i}):null,(0,o.jsxs)("div",{style:{flexGrow:1,width:"100%"},children:[(0,o.jsx)(t8,{calendarType:u,formatShortWeekday:l,formatWeekday:c,locale:r,onMouseLeave:n}),(0,o.jsx)(t2,er({calendarType:u},p))]})]})})}var ei=function(){return(ei=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},ea="react-calendar",es=["century","decade","year","month"],eu=["decade","year","month","day"],el=new Date;el.setFullYear(1,0,1),el.setHours(0,0,0,0);var ec=new Date(864e13);function ef(t){return t instanceof Date?t:new Date(t)}function eh(t,e){return es.slice(es.indexOf(t),es.indexOf(e)+1)}function ep(t,e,r){return t?-1!==eh(e,r).indexOf(t)?t:r:r}function ed(t){return eu[es.indexOf(t)]}function ey(t,e){var r,n=t.value,o=t.minDate,i=t.maxDate,a=t.maxDetail,s=function(t,e){var r=Array.isArray(t)?t[e]:t;if(!r)return null;var n=ef(r);if(isNaN(n.getTime()))throw Error("Invalid date: ".concat(t));return n}(n,e);if(!s)return null;var u=ed(a);return r=function(){switch(e){case 0:return ts(u,s);case 1:return tl(u,s);default:throw Error("Invalid index value: ".concat(e))}}(),o&&o>r?o:i&&i<r?i:r}var ev=function(t){return ey(t,0)},eg=function(t){return ey(t,1)},em=function(t){return[ev,eg].map(function(e){return e(t)})};function ex(t){var e=t.maxDate,r=t.maxDetail,n=t.minDate,o=t.minDetail,i=t.value;return ts(ep(t.view,o,r),ev({value:i,minDate:n,maxDate:e,maxDetail:r})||new Date)}function eb(t){return t&&(!Array.isArray(t)||1===t.length)}function ew(t,e){return t instanceof Date&&e instanceof Date&&t.getTime()===e.getTime()}let eE=(0,i.forwardRef)(function(t,e){var r,n,s,u,l,c,f,h,p,d,y,v,g,m,x=t.activeStartDate,b=t.allowPartialRange,w=t.calendarType,E=t.className,_=t.defaultActiveStartDate,S=t.defaultValue,O=t.defaultView,M=t.formatDay,P=t.formatLongDate,A=t.formatMonth,k=t.formatMonthYear,j=t.formatShortWeekday,I=t.formatWeekday,C=t.formatYear,D=t.goToRangeStartOnSelect,R=void 0===D||D,N=t.inputRef,L=t.locale,B=t.maxDate,Y=void 0===B?ec:B,T=t.maxDetail,F=void 0===T?"month":T,X=t.minDate,U=void 0===X?el:X,q=t.minDetail,W=void 0===q?"century":q,G=t.navigationAriaLabel,z=t.navigationAriaLive,H=t.navigationLabel,Z=t.next2AriaLabel,$=t.next2Label,J=t.nextAriaLabel,V=t.nextLabel,Q=t.onActiveStartDateChange,K=t.onChange,tt=t.onClickDay,te=t.onClickDecade,tr=t.onClickMonth,tn=t.onClickWeekNumber,to=t.onClickYear,ti=t.onDrillDown,ta=t.onDrillUp,tc=t.onViewChange,tf=t.prev2AriaLabel,th=t.prev2Label,tp=t.prevAriaLabel,ty=t.prevLabel,tv=t.returnValue,tg=void 0===tv?"start":tv,tm=t.selectRange,tx=t.showDoubleView,tb=t.showFixedNumberOfWeeks,tw=t.showNavigation,tE=t.showNeighboringCentury,t_=t.
1showNeighboringDecade,tS=t.showNeighboringMonth,tO=void 0===tS||tS,tM=t.showWeekNumbers,tP=t.tileClassName,tA=t.tileContent,tk=t.tileDisabled,tj=t.value,tI=t.view,tD=(0,i.useState)(_),tR=tD[0],tN=tD[1],tL=(0,i.useState)(null),tB=tL[0],tY=tL[1],tT=(0,i.useState)(Array.isArray(S)?S.map(function(t){return null!==t?ef(t):null}):null!=S?ef(S):null),tF=tT[0],tU=tT[1],tq=(0,i.useState)(O),tW=tq[0],tG=tq[1],tz=x||tR||(n=(r={activeStartDate:x,defaultActiveStartDate:_,defaultValue:S,defaultView:O,maxDate:Y,maxDetail:F,minDate:U,minDetail:W,value:tj,view:tI}).activeStartDate,s=r.defaultActiveStartDate,u=r.defaultValue,l=r.defaultView,c=r.maxDate,f=r.maxDetail,h=r.minDate,p=r.minDetail,d=r.value,v=ep(y=r.view,p,f),(g=n||s)?ts(v,g):ex({maxDate:c,maxDetail:f,minDate:h,minDetail:p,value:d||u,view:y||l})),tH=(m=tm&&eb(tF)?tF:void 0!==tj?tj:tF)?Array.isArray(m)?m.map(function(t){return null!==t?ef(t):null}):null!==m?ef(m):null:null,tZ=ed(F),t$=ep(tI||tW,W,F),tV=eh(W,F),tQ=tm?tB:null,tK=tV.indexOf(t$)<tV.length-1,t0=tV.indexOf(t$)>0,t1=(0,i.useCallback)(function(t){return(function(){switch(tg){case"start":return ev;case"end":return eg;case"range":return em;default:throw Error("Invalid returnValue.")}})()({maxDate:Y,maxDetail:F,minDate:U,value:t})},[Y,F,U,tg]),t3=(0,i.useCallback)(function(t,e){tN(t),Q&&!ew(tz,t)&&Q({action:e,activeStartDate:t,value:tH,view:t$})},[tz,Q,tH,t$]),t2=(0,i.useCallback)(function(t,e){var r=function(){switch(t$){case"century":return te;case"decade":return to;case"year":return tr;case"month":return tt;default:throw Error("Invalid view: ".concat(t$,"."))}}();r&&r(t,e)},[tt,te,tr,to,t$]),t6=(0,i.useCallback)(function(t,e){if(tK){t2(t,e);var r=tV[tV.indexOf(t$)+1];if(!r)throw Error("Attempted to drill down from the lowest view.");tN(t),tG(r);var n={action:"drillDown",activeStartDate:t,value:tH,view:r};Q&&!ew(tz,t)&&Q(n),tc&&t$!==r&&tc(n),ti&&ti(n)}},[tz,tK,Q,t2,ti,tc,tH,t$,tV]),t4=(0,i.useCallback)(function(){if(t0){var t=tV[tV.indexOf(t$)-1];if(!t)throw Error("Attempted to drill up from the highest view.");var e=ts(t,tz);tN(e),tG(t);var r={action:"drillUp",activeStartDate:e,value:tH,view:t};Q&&!ew(tz,e)&&Q(r),tc&&t$!==t&&tc(r),ta&&ta(r)}},[tz,t0,Q,ta,tc,tH,t$,tV]),t8=(0,i.useCallback)(function(t,e){t2(t,e);var r,n,o=tm&&!eb(tH);if(tm)if(o)r=ts(tZ,t);else{if(!tH)throw Error("previousValue is required");if(Array.isArray(tH))throw Error("previousValue must not be an array");r=[ts(tZ,(n=[tH,t].sort(function(t,e){return t.getTime()-e.getTime()}))[0]),tl(tZ,n[1])]}else r=t1(t);var i=!tm||o||R?ex({maxDate:Y,maxDetail:F,minDate:U,minDetail:W,value:r,view:t$}):null;e.persist(),tN(i),tU(r);var a={action:"onChange",activeStartDate:i,value:r,view:t$};if(Q&&!ew(tz,i)&&Q(a),K)if(tm)if(eb(r)){if(b){if(Array.isArray(r))throw Error("value must not be an array");K([r||null,null],e)}}else K(r||null,e);else K(r||null,e)},[tz,b,t1,R,Y,F,U,W,Q,K,t2,tm,tH,tZ,t$]);function t5(t){tY(t)}function t9(){tY(null)}function t7(t){var e={activeStartDate:t?tu(t$,tz):ts(t$,tz),hover:tQ,locale:L,maxDate:Y,minDate:U,onClick:tK?t6:t8,onMouseOver:tm?t5:void 0,tileClassName:tP,tileContent:tA,tileDisabled:tk,value:tH,valueType:tZ};switch(t$){case"century":return(0,o.jsx)(tC,ei({formatYear:C,showNeighboringCentury:tE},e));case"decade":return(0,o.jsx)(tX,ei({formatYear:C,showNeighboringDecade:t_},e));case"year":return(0,o.jsx)(tJ,ei({formatMonth:A,formatMonthYear:k},e));case"month":return(0,o.jsx)(eo,ei({calendarType:w,formatDay:M,formatLongDate:P,formatShortWeekday:j,formatWeekday:I,onClickWeekNumber:tn,onMouseLeave:tm?t9:void 0,showFixedNumberOfWeeks:void 0!==tb?tb:tx,showNeighboringMonth:tO,showWeekNumbers:tM},e));default:throw Error("Invalid view: ".concat(t$,"."))}}(0,i.useImperativeHandle)(e,function(){return{activeStartDate:tz,drillDown:t6,drillUp:t4,onChange:t8,setActiveStartDate:t3,value:tH,view:t$}},[tz,t6,t4,t8,t3,tH,t$]);var et=Array.isArray(tH)?tH:[tH];return(0,o.jsxs)("div",{className:a(ea,tm&&1===et.length&&"".concat(ea,"--selectRange"),tx&&"".concat(ea,"--doubleView"),E),ref:N,children:[void 0===tw||tw?(0,o.jsx)(td,{activeStartDate:tz,drillUp:t4,formatMonthYear:k,formatYear:C,locale:L,maxDate:Y,minDate:U,navigationAriaLabel:G,navigationAriaLive:z,navigationLabel:H,next2AriaLabel:Z,next2Label:$,nextAriaLabel:J,nextLabel:V,prev2AriaLabel:tf,prev2Label:th,prevAriaLabel:tp,prevLabel:ty,setActiveStartDate:t3,showDoubleView:tx,view:t$,views:tV}):null,(0,o.jsxs)("div",{className:"".concat(ea,"__viewContainer"),onBlur:tm?t9:void 0,onMouseLeave:tm?t9:void 0,children:[t7(),tx?t7(!0):null]})]})})},27349:(t,e,r)=>{"use strict";var n=r(59705);if(n)try{n([],"length")}catch(t){n=null}t.exports=n},28069:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var r=e.call(t),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),n}},28250:(t,e,r)=>{"use strict";var n=r(61807),o=r(94105),i=r(45726),a=r(49008);t.exports=function(t){if(t.length<1||"function"!=typeof t[0])throw new o("a function is required");return a(n,i,t)}},28664:t=>{"use strict";
1t.exports=Object},29190:(t,e,r)=>{"use strict";var n=r(13620),o=r(84766),i=n.eudist,a=(n.mandist,n.dist,o.kmrand),s=o.kmpp;function u(t,e,r){r=r||[];for(var n=0;n<t;n++)r[n]=e;return r}t.exports=function(t,e,r,n){var o=[],l=[],c=[],f=[],h=!1,p=n||1e4,d=t.length,y=t[0].length,v=y>0,g=[];if(r)o="kmrand"==r?a(t,e):"kmpp"==r?s(t,e):r;else for(var m={};o.length<e;){var x=Math.floor(Math.random()*d);m[x]||(m[x]=!0,o.push(t[x]))}do{u(e,0,g);for(var b=0;b<d;b++){for(var w=1/0,E=0,_=0;_<e;_++){var f=v?i(t[b],o[_]):Math.abs(t[b]-o[_]);f<=w&&(w=f,E=_)}c[b]=E,g[E]++}for(var S=[],l=[],O=0;O<e;O++)S[O]=v?u(y,0,S[O]):0,l[O]=o[O];if(v){for(var M=0;M<e;M++)o[M]=[];for(var P=0;P<d;P++)for(var A=S[c[P]],k=t[P],j=0;j<y;j++)A[j]+=k[j];h=!0;for(var I=0;I<e;I++){for(var C=o[I],D=S[I],R=l[I],N=g[I],L=0;L<y;L++)C[L]=D[L]/N||0;if(h){for(var B=0;B<y;B++)if(R[B]!=C[B]){h=!1;break}}}}else{for(var Y=0;Y<d;Y++){var T=c[Y];S[T]+=t[Y]}for(var F=0;F<e;F++)o[F]=S[F]/g[F]||0;h=!0;for(var X=0;X<e;X++)if(l[X]!=o[X]){h=!1;break}}h=h||--p<=0}while(!h);return{it:1e4-p,k:e,idxs:c,centroids:o}}},30334:t=>{"use strict";t.exports=RangeError},30553:(t,e,r)=>{"use strict";var n=r(61807),o=r(10778),i=r(49008);t.exports=function(){return i(n,o,arguments)}},31102:(t,e,r)=>{"use strict";r.d(e,{w:()=>f});var n=r(71953),o=r(23605),i=r(51760),a=r(51898),s=r(23600),u=r(73025),l=r(95155),c=(0,i.ab)(function(t){var{store:e}=t,r=(0,s.YG)(t,["store"]);let i=(0,n.np)();e=e||i,(0,u.V1)(e,!1);let c=e.useState(t=>"both"===t.orientation?void 0:t.orientation);return r=(0,a.w7)(r,t=>(0,l.jsx)(n.Cr,{value:e,children:t}),[e]),e.composite&&(r=(0,s.IA)({focusable:!1},r)),r=(0,s.IA)({role:"tablist","aria-orientation":c},r),r=(0,o.T)((0,s.IA)({store:e},r))}),f=(0,i.Rf)(function(t){let e=c(t);return(0,i.n)("div",e)})},32322:(t,e,r)=>{"use strict";var n,o=r(28250),i=r(27349);try{n=[].__proto__===Array.prototype}catch(t){if(!t||"object"!=typeof t||!("code"in t)||"ERR_PROTO_ACCESS"!==t.code)throw t}var a=!!n&&i&&i(Object.prototype,"__proto__"),s=Object,u=s.getPrototypeOf;t.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof u&&function(t){return u(null==t?t:s(t))}},32721:(t,e,r)=>{"use strict";let n=r(74919),o=r(21627),i=new WeakMap,a=new WeakMap,s=(t,{cacheKey:e,cache:r=new Map,maxAge:i}={})=>{"number"==typeof i&&o(r);let s=function(...n){let o=e?e(n):n[0],a=r.get(o);if(a)return a.data;let s=t.apply(this,n);return r.set(o,{data:s,maxAge:i?Date.now()+i:1/0}),s};return n(s,t,{ignoreNonConfigurable:!0}),a.set(s,r),s};s.decorator=(t={})=>(e,r,n)=>{let o=e[r];if("function"!=typeof o)throw TypeError("The decorated value must be a function");delete n.value,delete n.writable,n.get=function(){if(!i.has(this)){let e=s(o,t);return i.set(this,e),e}return i.get(this)}},s.clear=t=>{let e=a.get(t);if(!e)throw TypeError("Can't clear a function that was not memoized!");if("function"!=typeof e.clear)throw TypeError("The cache Map can't be cleared!");e.clear()},t.exports=s},33991:(t,e,r)=>{"use strict";var n=r(80045),o=r(57759),i=o(n("String.prototype.indexOf"));t.exports=function(t,e){var r=n(t,!!e);return"function"==typeof r&&i(t,".prototype.")>-1?o(r):r}},35820:t=>{"use strict";t.exports=Math.floor},37405:(t,e,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=r(28069),s=Object.prototype.propertyIsEnumerable,u=!s.call({toString:null},"toString"),l=s.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(t){var e=t.constructor;return e&&e.prototype===t},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!h["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{f(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),d=function(t){if("undefined"==typeof window||!p)return f(t);try{return f(t)}catch(t){return!1}};n=function(t){var e=null!==t&&"object"==typeof t,r="[object Function]"===i.call(t),n=a(t),s=e&&"[object String]"===i.call(t),f=[];if(!e&&!r&&!n)throw TypeError("Object.keys called on a non-object");var h=l&&r;if(s&&t.length>
10&&!o.call(t,0))for(var p=0;p<t.length;++p)f.push(String(p));if(n&&t.length>0)for(var y=0;y<t.length;++y)f.push(String(y));else for(var v in t)!(h&&"prototype"===v)&&o.call(t,v)&&f.push(String(v));if(u)for(var g=d(t),m=0;m<c.length;++m)!(g&&"constructor"===c[m])&&o.call(t,c[m])&&f.push(c[m]);return f}}t.exports=n},37971:t=>{"use strict";t.exports=Number.isNaN||function(t){return t!=t}},38369:t=>{"use strict";var e=function(t){return t!=t};t.exports=function(t,r){return 0===t&&0===r?1/t==1/r:!!(t===r||e(t)&&e(r))}},39497:(t,e,r)=>{"use strict";var n=r(80045),o=r(83051),i=r(90914)(),a=r(27349),s=r(94105),u=n("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new s("`fn` is not a function");if("number"!=typeof e||e<0||e>0xffffffff||u(e)!==e)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,l=!0;if("length"in t&&a){var c=a(t,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(l=!1)}return(n||l||!r)&&(i?o(t,"length",e,!0,!0):o(t,"length",e)),t}},41085:t=>{function e(t,e,r){this._queue=[],this._priorities=[],this._sorting="desc",this._init(t,e,r)}e.prototype.insert=function(t,e){for(var r=this._queue.length,n=r;n--;){var o=this._priorities[n];"desc"===this._sorting?e>o&&(r=n):e<o&&(r=n)}this._insertAt(t,e,r)},e.prototype.remove=function(t){for(var e=this._queue.length;e--;)if(t===this._queue[e]){this._queue.splice(e,1),this._priorities.splice(e,1);break}},e.prototype.forEach=function(t){this._queue.forEach(t)},e.prototype.getElements=function(){return this._queue},e.prototype.getElementPriority=function(t){return this._priorities[t]},e.prototype.getPriorities=function(){return this._priorities},e.prototype.getElementsWithPriorities=function(){for(var t=[],e=0,r=this._queue.length;e<r;e++)t.push([this._queue[e],this._priorities[e]]);return t},e.prototype._init=function(t,e,r){if(t&&e){if(this._queue=[],this._priorities=[],t.length!==e.length)throw Error("Arrays must have the same length");for(var n=0;n<t.length;n++)this.insert(t[n],e[n])}r&&(this._sorting=r)},e.prototype._insertAt=function(t,e,r){this._queue.length===r?(this._queue.push(t),this._priorities.push(e)):(this._queue.splice(r,0,t),this._priorities.splice(r,0,e))},t.exports&&(t.exports=e)},41402:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return g},handleClientScriptLoad:function(){return d},initScriptLoader:function(){return y}});let n=r(28140),o=r(49417),i=r(95155),a=n._(r(47650)),s=o._(r(12115)),u=r(82073),l=r(94681),c=r(4853),f=new Map,h=new Set,p=t=>{let{src:e,id:r,onLoad:n=()=>{},onReady:o=null,dangerouslySetInnerHTML:i,children:s="",strategy:u="afterInteractive",onError:c,stylesheets:p}=t,d=r||e;if(d&&h.has(d))return;if(f.has(e)){h.add(d),f.get(e).then(n,c);return}let y=()=>{o&&o(),h.add(d)},v=document.createElement("script"),g=new Promise((t,e)=>{v.addEventListener("load",function(e){t(),n&&n.call(this,e),y()}),v.addEventListener("error",function(t){e(t)})}).catch(function(t){c&&c(t)});i?(v.innerHTML=i.__html||"",y()):s?(v.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",y()):e&&(v.src=e,f.set(e,g)),(0,l.setAttributesFromProps)(v,t),"worker"===u&&v.setAttribute("type","text/partytown"),v.setAttribute("data-nscript",u),p&&(t=>{if(a.default.preinit)return t.forEach(t=>{a.default.preinit(t,{as:"style"})});{let e=document.head;t.forEach(t=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=t,e.appendChild(r)})}})(p),document.body.appendChild(v)};function d(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(t))}):p(t)}function y(t){t.forEach(d),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(t=>{let e=t.id||t.getAttribute("src");h.add(e)})}function v(t){let{id:e,src:r="",onLoad:n=()=>{},onReady:o=null,strategy:l="afterInteractive",onError:f,stylesheets:d,...y}=t,{updateScripts:v,scripts:g,getIsSsr:m,appDir:x,nonce:b}=(0,s.useContext)(u.HeadManagerContext);b=y.nonce||b;let w=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let t=e||r;w.current||(o&&t&&h.has(t)&&o(),w.current=!0)},[o,e,r]);let E=(0,s.useRef)(!1);if((0,s.useEffect)(()=>
1{if(!E.current){if("afterInteractive"===l)p(t);else"lazyOnload"===l&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(t)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(t))}));E.current=!0}},[t,l]),("beforeInteractive"===l||"worker"===l)&&(v?(g[l]=(g[l]||[]).concat([{id:e,src:r,onLoad:n,onReady:o,onError:f,...y,nonce:b}]),v(g)):m&&m()?h.add(e||r):m&&!m()&&p({...t,nonce:b})),x){if(d&&d.forEach(t=>{a.default.preinit(t,{as:"style"})}),"beforeInteractive"===l)if(!r)return y.dangerouslySetInnerHTML&&(y.children=y.dangerouslySetInnerHTML.__html,delete y.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...y,id:e}])+")"}});else return a.default.preload(r,y.integrity?{as:"script",integrity:y.integrity,nonce:b,crossOrigin:y.crossOrigin}:{as:"script",nonce:b,crossOrigin:y.crossOrigin}),(0,i.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...y,id:e}])+")"}});"afterInteractive"===l&&r&&a.default.preload(r,y.integrity?{as:"script",integrity:y.integrity,nonce:b,crossOrigin:y.crossOrigin}:{as:"script",nonce:b,crossOrigin:y.crossOrigin})}return null}Object.defineProperty(v,"__nextScript",{value:!0});let g=v;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},41466:(t,e,r)=>{"use strict";r.d(e,{As:()=>L,IT:()=>G,IZ:()=>q,SR:()=>X,nD:()=>O,r_:()=>z});var n,o=r(12115);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach(function(e){c(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function s(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e,r){return e&&u(t.prototype,e),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function h(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function v(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var r,n=p(t);r=e?Reflect.construct(n,arguments,p(this).constructor):n.apply(this,arguments);if(r&&("object"==typeof r||"function"==typeof r))return r;if(void 0!==r)throw TypeError("Derived constructors may only return object or undefined");return v(this)}}function m(t,e){if(t){if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var b=l(function t(e){var r=this,n=e.expanded,o=e.allowMultipleExpanded,i=e.allowZeroExpanded;s(this,t),c(this,"expanded",void 0),c(this,"allowMultipleExpanded",void 0),c(this,"allowZeroExpanded",void 0),c(this,"toggleExpanded",function(t){var e;return r.isItemDisabled(t)?r:r.isItemExpanded(t)?r.augment({expanded:r.expanded.filter(function(e){return e!==t})}):r.augment({expanded:r.allowMultipleExpanded?[].concat(function(t){if(Array.isArray(t))return x(t)}(e=r.expanded)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||m(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t]):[t]})}),c(this,"isItemDisabled",function(t){var e=r.isItemExpanded(t),n=1===r.expanded.length;return!!(e&&!r.allowZeroExpanded&&n)}),c(this,"isItemExpanded",function(t){return -1!==r.expanded.indexOf(t)}),c(this,"getPanelAttributes",function(t,e){var n=null!=e?e:r.isItemExpanded(t);return{role:r.allowMultipleExpanded?void 0:"region","aria-hidden":r.allowMultipleExpanded?!n:void 0,"aria-labelledby":r.getButtonId(t),id:r.getPanelId(t),hidden:!n||void 0}}),c(this,"getHeadingAttributes",function(){return{role:"heading"}}),c(this,"getButtonAttributes",function(t,e){var n=null!=e?e:r.isItemExpanded(t),o=r.isItemDisabled(t);return{id:r.getButtonId(t),"aria-disabled":o,"aria-expanded":n,"aria-controls":r.getPanelId(t),role:"button",tabIndex:0}}),c(this,"getPanelId",function(t){return"accordion__panel-".concat(t)}),c(this,"getButtonId",function(t){return"accordion__heading-".concat(t)}),c(this,"augment",function(e){return new t(a({expanded:r.expanded,allowMultipleExpanded:r.allowMultipleExpanded,allowZeroExpanded:r.allowZeroExpanded},e))}),this.expanded=void 0===n?[]:n,this.allowMultipleExpanded=void 0!==o&&o,this.allowZeroExpanded=void 0!==i&&i}),w=(0,o.createContext)(null),E=function(t){h(r,t);var e=g(r);function r(){var t;s(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return c(v(t=e.call.apply(e,[this].concat(o))),"state",new b({expanded:t.props.preExpanded,allowMultipleExpanded:t.props.allowMultipleExpanded,allowZeroExpanded:t.props.allowZeroExpanded})),c(v(t),"toggleExpanded",function(e){t.setState(function(t){return t.toggleExpanded(e)},function(){t.props.onChange&&t.props.onChange(t.state.expanded)})}),c(v(t),"isItemDisabled",function(e){return t.state.isItemDisabled(e)}),c(v(t),"isItemExpanded",function(e){return t.state.isItemExpanded(e)}),c(v(t),"getPanelAttributes",function(e,r){return t.state.getPanelAttributes(e,r)}),c(v(t),"getHeadingAttributes",function(){return t.state.getHeadingAttributes()}),c(v(t),"getButtonAttributes",function(e,r){return t.state.getButtonAttributes(e,r)}),t}return l(r,[{key:"render",value:function(){var t=this.state,e=t.allowZeroExpanded,r=t.allowMultipleExpanded;return(0,o.createElement)(w.Provider,{value:{allowMultipleExpanded:r,allowZeroExpanded:e,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),r}
1(o.PureComponent);c(E,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var _=function(t){h(r,t);var e=g(r);function r(){var t;s(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return c(v(t=e.call.apply(e,[this].concat(o))),"renderChildren",function(e){return e?t.props.children(e):null}),t}return l(r,[{key:"render",value:function(){return(0,o.createElement)(w.Consumer,null,this.renderChildren)}}]),r}(o.PureComponent),S=["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"],O=function(t){var e=t.className,r=t.allowMultipleExpanded,n=t.allowZeroExpanded,i=t.onChange,a=t.preExpanded,s=y(t,S);return(0,o.createElement)(E,{preExpanded:a,allowMultipleExpanded:r,allowZeroExpanded:n,onChange:i},(0,o.createElement)("div",f({"data-accordion-component":"Accordion",className:void 0===e?"accordion":e},s)))};!function(t){t.Accordion="Accordion",t.AccordionItem="AccordionItem",t.AccordionItemButton="AccordionItemButton",t.AccordionItemHeading="AccordionItemHeading",t.AccordionItemPanel="AccordionItemPanel"}(n||(n={}));var M=n,P=0,A=o.useId||function(){var t=P;return P+=1,"raa-".concat(t)},k=/[\u0009\u000a\u000c\u000d\u0020]/g;function j(t){return!(""===t||k.test(t))||(console.error('uuid must be a valid HTML5 id but was given "'.concat(t,'", ASCII whitespaces are forbidden')),!1)}var I=(0,o.createContext)(null),C=function(t){var e=t.children,r=t.uuid,n=t.accordionContext,i=t.dangerouslySetExpanded,a=function(){n.toggleExpanded(r)};return(0,o.createElement)(_,null,function(t){var n=null!=i?i:t.isItemExpanded(r),s=t.isItemDisabled(r),u=t.getPanelAttributes(r,i),l=t.getHeadingAttributes(r),c=t.getButtonAttributes(r,i);return(0,o.createElement)(I.Provider,{value:{uuid:r,expanded:n,disabled:s,toggleExpanded:a,panelAttributes:u,headingAttributes:l,buttonAttributes:c}},e)})},D=function(t){return(0,o.createElement)(_,null,function(e){return(0,o.createElement)(C,f({},t,{accordionContext:e}))})},R=function(t){var e=t.children;return(0,o.createElement)(I.Consumer,null,function(t){return t?e(t):null})},N=["uuid","dangerouslySetExpanded","className","activeClassName"],L=function(t){var e,r=t.uuid,n=t.dangerouslySetExpanded,i=t.className,a=void 0===i?"accordion__item":i,s=t.activeClassName,u=y(t,N),l=(function(t){if(Array.isArray(t))return t}(e=(0,o.useState)(A()))||function(t,e){var r,n,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(t);!(a=(r=o.next()).done)&&(i.push(r.value),i.length!==e);a=!0);}catch(t){s=!0,n=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw n}}return i}}(e,1)||m(e,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],c=null!=r?r:l;return j(c.toString()),u.id&&j(u.id),(0,o.createElement)(D,{uuid:c,dangerouslySetExpanded:n},(0,o.createElement)(R,null,function(t){var e=t.expanded;return(0,o.createElement)("div",f({"data-accordion-component":"AccordionItem",className:e&&s?s:a},u))}))};function B(t){var e=function t(e){return e&&(e.matches('[data-accordion-component="Accordion"]')?e:t(e.parentElement))}(t);return e&&Array.from(e.querySelectorAll('[data-accordion-component="AccordionItemButton"]'))}L.displayName=M.AccordionItem;var Y={END:"End",ENTER:"Enter",HOME:"Home",SPACE:" ",SPACE_DEPRECATED:"Spacebar",UP:"ArrowUp",DOWN:"ArrowDown",LEFT:"ArrowLeft",RIGHT:"ArrowRight"},T=["toggleExpanded","className"],F=function(t){var e=t.toggleExpanded,r=t.className,n=y(t,T);return n.id&&j(n.id),(0,o.createElement)("div",f({className:void 0===r?"accordion__button":r},n,{role:"button",tabIndex:0,onClick:e,onKeyDown:function(t){var r,n,o,i=t.key;if((i===Y.ENTER||i===Y.SPACE||i===Y.SPACE_DEPRECATED)&&(t.preventDefault(),e()),t.target instanceof HTMLElement)switch(i){case Y.HOME:t.preventDefault(),(r=(B(t.target)||[])[0])&&r.focus();break;case Y.END:t.preventDefault(),(o=(n=B(t.target)||[])[n.length-1])&&o.focus();break;case Y.LEFT:case Y.UP:t.preventDefault(),function(t){var e=B(t)||[],r=e.indexOf(t);if(-1!==r){var n=e[r-1];n&&n.focus()}}(t.target);break;case Y.RIGHT:case Y.DOWN:t.preventDefault(),function(t){var e=B(t)||[],r=e.indexOf(t);if(-1!==r){var n=e[r+1];n&&n.focus()}}(t.target)}},"data-accordion-component":"AccordionItemButton"}))},X=function(t){return(0,o.createElement)(R,null,function(e){var r=e.toggleExpanded,n=e.buttonAttributes;return(0,o.createElement)(F,f({toggleExpanded:r},t,n))})},U=function(t){h(r,t);var e=g(r);function r(){var t;s(this,r);for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return c(v(t=e.call.apply(e,[this].concat(o))),"ref",void 0),c(v(t),"setRef",function(e){t.ref=e}),t}
1return l(r,[{key:"componentDidUpdate",value:function(){r.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){r.VALIDATE(this.ref)}},{key:"render",value:function(){return(0,o.createElement)("div",f({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(t){if(void 0===t)throw Error("ref is undefined");if(!(1===t.childElementCount&&t.firstElementChild&&"AccordionItemButton"===t.firstElementChild.getAttribute("data-accordion-component")))throw Error("AccordionItemButton may contain only one child element, which must be an instance of AccordionItemButton.\n\nFrom the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):\n\nâThe button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.â\n\n")}}]),r}(o.PureComponent);c(U,"defaultProps",{className:"accordion__heading","aria-level":3});var q=function(t){return(0,o.createElement)(R,null,function(e){var r=e.headingAttributes;return t.id&&j(t.id),(0,o.createElement)(U,f({},t,r))})};q.displayName=M.AccordionItemHeading;var W=["className","region","id"],G=function(t){var e=t.className,r=void 0===e?"accordion__panel":e,n=t.region,i=t.id,s=y(t,W);return(0,o.createElement)(R,null,function(t){var e=t.panelAttributes;i&&j(i);var u=a(a({},e),{},{"aria-labelledby":n?e["aria-labelledby"]:void 0});return(0,o.createElement)("div",f({"data-accordion-component":"AccordionItemPanel",className:r},s,u,{role:n?"region":void 0}))})},z=function(t){var e=t.children;return(0,o.createElement)(R,null,function(t){var r=t.expanded,n=t.disabled;return(0,o.createElement)(o.Fragment,null,e({expanded:r,disabled:n}))})}},42036:(t,e,r)=>{var n=r(64953),o=r(70054),i=r(16029),a=r(66781),s=r(17311),u=r(70818),l=Date.prototype.getTime;function c(t){return!!t&&"object"==typeof t&&"number"==typeof t.length&&"function"==typeof t.copy&&"function"==typeof t.slice&&(!(t.length>0)||"number"==typeof t[0])}t.exports=function t(e,r,f){var h=f||{};
1return(h.strict?!!i(e,r):e===r)||(e&&r&&("object"==typeof e||"object"==typeof r)?function(e,r,i){if(typeof e!=typeof r||null==e||null==r||e.prototype!==r.prototype||o(e)!==o(r))return!1;var f,h,p=a(e),d=a(r);if(p!==d)return!1;if(p||d)return e.source===r.source&&s(e)===s(r);if(u(e)&&u(r))return l.call(e)===l.call(r);var y=c(e),v=c(r);if(y!==v)return!1;if(y||v){if(e.length!==r.length)return!1;for(f=0;f<e.length;f++)if(e[f]!==r[f])return!1;return!0}if(typeof e!=typeof r)return!1;try{var g=n(e),m=n(r)}catch(t){return!1}if(g.length!==m.length)return!1;for(g.sort(),m.sort(),f=g.length-1;f>=0;f--)if(g[f]!=m[f])return!1;for(f=g.length-1;f>=0;f--)if(!t(e[h=g[f]],r[h],i))return!1;return!0}(e,r,h):h.strict?i(e,r):e==r)}},43703:(t,e,r)=>{"use strict";t.exports=o,t.exports.default=o;var n=r(49219);function o(t,e){if(!(this instanceof o))return new o(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function i(t,e){a(t,0,t.children.length,e,t)}function a(t,e,r,n,o){o||(o=d(null)),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(var i,a=e;a<r;a++)i=t.children[a],s(o,t.leaf?n(i):i);return o}function s(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function u(t,e){return t.minX-e.minX}function l(t,e){return t.minY-e.minY}function c(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function f(t){return t.maxX-t.minX+(t.maxY-t.minY)}function h(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function p(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function d(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function y(t,e,r,o,i){for(var a,s=[e,r];s.length;)(r=s.pop())-(e=s.pop())<=o||(n(t,a=e+Math.ceil((r-e)/o/2)*o,e,r,i),s.push(e,a,a,r))}o.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,r=[],n=this.toBBox;if(!p(t,e))return r;for(var o,i,a,s,u=[];e;){for(o=0,i=e.children.length;o<i;o++)a=e.children[o],p(t,s=e.leaf?n(a):a)&&(e.leaf?r.push(a):h(t,s)?this._all(a,r):u.push(a));e=u.pop()}return r},collides:function(t){var e=this.data,r=this.toBBox;if(!p(t,e))return!1;for(var n,o,i,a,s=[];e;){for(n=0,o=e.children.length;n<o;n++)if(i=e.children[n],p(t,a=e.leaf?r(i):i)){if(e.leaf||h(t,a))return!0;s.push(i)}e=s.pop()}return!1},load:function(t){if(!(t&&t.length))return this;if(t.length<this._minEntries){for(var e=0,r=t.length;e<r;e++)this.insert(t[e]);return this}var n=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===n.height)this._splitRoot(this.data,n);else{if(this.data.height<n.height){var o=this.data;this.data=n,n=o}this._insert(n,this.data.height-n.height-1,!0)}else this.data=n;return this},insert:function(t){return t&&this._insert(t,this.data.height-1),this},clear:function(){return this.data=d([]),this},remove:function(t,e){if(!t)return this;for(var r,n,o,i,a=this.data,s=this.toBBox(t),u=[],l=[];a||u.length;){if(a||(a=u.pop(),n=u[u.length-1],r=l.pop(),i=!0),a.leaf&&-1!==(o=function(t,e,r){if(!r)return e.indexOf(t);for(var n=0;n<e.length;n++)if(r(t,e[n]))return n;return -1}(t,a.children,e))){a.children.splice(o,1),u.push(a),this._condense(u);break}!i&&!a.leaf&&h(a,s)?(u.push(a),l.push(r),r=0,n=a,a=a.children[0]):n?(r++,a=n.children[r],i=!1):a=null}return this},toBBox:function(t){return t},compareMinX:u,compareMinY:l,toJSON:function(){return this.data},fromJSON:function(t){return this.data=t,this},_all:function(t,e){for(var r=[];t;)t.leaf?e.push.apply(e,t.children):r.push.apply(r,t.children),t=r.pop();return e},_build:function(t,e,r,n){var o,a=r-e+1,s=this._maxEntries;if(a<=s)return i(o=d(t.slice(e,r+1)),this.toBBox),o;n||(n=Math.ceil(Math.log(a)/Math.log(s)),s=Math.ceil(a/Math.pow(s,n-1))),(o=d([])).leaf=!1,o.height=n;var u,l,c,f,h=Math.ceil(a/s),p=h*Math.ceil(Math.sqrt(s));for(y(t,e,r,p,this.compareMinX),u=e;u<=r;u+=p)for(c=Math.min(u+p-1,r),y(t,u,c,h,this.compareMinY),l=u;l<=c;l+=h)f=Math.min(l+h-1,c),o.children.push(this._build(t,l,f,n-1));return i(o,this.toBBox),o},_chooseSubtree:function(t,e,r,n){for(var o,i,a,s,u,l,f,h,p,d;n.push(e),!e.leaf&&n.length-1!==r;){for(o=0,f=h=1/0,i=e.children.length;o<i;o++){u=c(a=e.children[o]),(l=(p=t,(Math.max((d=a).maxX,p.maxX)-Math.min(d.minX,p.minX))*(Math.max(d.maxY,p.maxY)-Math.min(d.minY,p.minY))-u))<h?(h=l,f=u<f?u:f,s=a):l===h&&u<f&&(f=u,s=a)}e=s||e.children[0]}return e},_insert:function(t,e,r){var n=this.toBBox,o=r?t:n(t),i=[],a=this._chooseSubtree(o,this.data,e,i);for(a.children.push(t),s(a,o);e>=0;)if(i[e].children.length>this._maxEntries)this._split(i,e),e--;else break;this._adjustParentBBoxes(o,i,e)},_split:function(t,e){var r=t[e],n=r.children.length,o=this._minEntries;this._chooseSplitAxis(r,o,n);var a=this._chooseSplitIndex(r,o,n),s=d(r.children.splice(a,r.children.length-a));s.height=r.height,s.leaf=r.leaf,i(r,this.toBBox),i(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(r,s)},_splitRoot:function(t,e){this.data=d([t,e]),this.data.height=t.height+1,this.data.leaf=!1,i(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,r){var n,o,i,s,u,l,f,h;for(l=f=1/0,n=e;n<=r-e;n++)s=function(t,e){var r=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-r)*Math.max(0,Math.min(t.maxY,e.maxY)-n)}(o=a(t,0,n,this.toBBox),i=a(t,n,r,this.toBBox)),u=c(o)+c(i),s<l?(l=s,h=n,f=u<f?u:f):s===l&&u<f&&(f=u,h=n);return h},_chooseSplitAxis:function(t,e,r){var n=t.leaf?this.compareMinX:u,o=t.leaf?this.compareMinY:l;this._allDistMargin(t,e,r,n)<this._allDistMargin(t,e,r,o)&&t.children.sort(n)},_allDistMargin:function(t,e,r,n){t.children.sort(n);var o,i,u=this.toBBox,l=a(t,0,e,u),c=a(t,r-e,r,u),h=f(l)+f(c);for(o=e;o<r-e;o++)i=t.children[o],s(l,t.leaf?u(i):i),h+=f(l);for(o=r-e-1;o>=e;o--)i=t.children[o],s(c,t.leaf?u(i):i),h+=f(c);return h},_adjustParentBBoxes:function(t,e,r){for(var n=r;n>=0;n--)s(e[n],t)},_condense:function(t){for(var e,r=t.length-1;r>=0;r--)0===t[r].children.length?r>
10?(e=t[r-1].children).splice(e.indexOf(t[r]),1):this.clear():i(t[r],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=Function("a","b",e.join(t[0])),this.compareMinY=Function("a","b",e.join(t[1])),this.toBBox=Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},44726:function(t,e,r){var n=r(87358);t.exports=function(){"use strict";function t(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function e(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function r(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}var o=function(t,e){this.next=null,this.key=t,this.data=e,this.left=null,this.right=null};function i(t,e){return t>e?1:t<e?-1:0}function a(t,e,r){for(var n=new o(null,null),i=n,a=n;;){var s=r(t,e.key);if(s<0){if(null===e.left)break;if(0>r(t,e.left.key)){var u=e.left;if(e.left=u.right,u.right=e,null===(e=u).left)break}a.left=e,a=e,e=e.left}else if(s>0){if(null===e.right)break;if(r(t,e.right.key)>0){var u=e.right;if(e.right=u.left,u.left=e,null===(e=u).right)break}i.right=e,i=e,e=e.right}else break}return i.right=e.left,a.left=e.right,e.left=n.right,e.right=n.left,e}function s(t,e,r,n){var i=new o(t,e);if(null===r)return i.left=i.right=null,i;r=a(t,r,n);var s=n(t,r.key);return s<0?(i.left=r.left,i.right=r,r.left=null):s>=0&&(i.right=r.right,i.left=r,r.right=null),i}function u(t,e,r){var n=null,o=null;if(e){e=a(t,e,r);var i=r(e.key,t);0===i?(n=e.left,o=e.right):i<0?(o=e.right,e.right=null,n=e):(n=e.left,e.left=null,o=e)}return{left:n,right:o}}var l=function(){function t(t){void 0===t&&(t=i),this._root=null,this._size=0,this._comparator=t}return t.prototype.insert=function(t,e){return this._size++,this._root=s(t,e,this._root,this._comparator)},t.prototype.add=function(t,e){var r=new o(t,e);null===this._root&&(r.left=r.right=null,this._size++,this._root=r);var n=this._comparator,i=a(t,this._root,n),s=n(t,i.key);return 0===s?this._root=i:(s<0?(r.left=i.left,r.right=i,i.left=null):s>0&&(r.right=i.right,r.left=i,i.right=null),this._size++,this._root=r),this._root},t.prototype.remove=function(t){this._root=this._remove(t,this._root,this._comparator)},t.prototype._remove=function(t,e,r){var n;return null===e?null:(e=a(t,e,r),0===r(t,e.key))?(null===e.left?n=e.right:(n=a(t,e.left,r)).right=e.right,this._size--,n):e},t.prototype.pop=function(){var t=this._root;if(t){for(;t.left;)t=t.left;return this._root=a(t.key,this._root,this._comparator),this._root=this._remove(t.key,this._root,this._comparator),{key:t.key,data:t.data}}return null},t.prototype.findStatic=function(t){for(var e=this._root,r=this._comparator;e;){var n=r(t,e.key);if(0===n)return e;e=n<0?e.left:e.right}return null},t.prototype.find=function(t){return this._root&&(this._root=a(t,this._root,this._comparator),0!==this._comparator(t,this._root.key))?null:this._root},t.prototype.contains=function(t){for(var e=this._root,r=this._comparator;e;){var n=r(t,e.key);if(0===n)return!0;e=n<0?e.left:e.right}return!1},t.prototype.forEach=function(t,e){for(var r=this._root,n=[],o=!1;!o;)null!==r?(n.push(r),r=r.left):0!==n.length?(r=n.pop(),t.call(e,r),r=r.right):o=!0;return this},t.prototype.range=function(t,e,r,n){for(var o=[],i=this._comparator,a=this._root;0!==o.length||a;)if(a)o.push(a),a=a.left;else{if(i((a=o.pop()).key,e)>0)break;if(i(a.key,t)>=0&&r.call(n,a))return this;a=a.right}return this},t.prototype.keys=function(){var t=[];return this.forEach(function(e){var r=e.key;return t.push(r)}),t},t.prototype.values=function(){var t=[];return this.forEach(function(e){var r=e.data;return t.push(r)}),t},t.prototype.min=function(){return this._root?this.minNode(this._root).key:null},t.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},t.prototype.minNode=function(t){if(void 0===t&&(t=this._root),t)for(;t.left;)t=t.left;return t},t.prototype.maxNode=function(t){if(void 0===t&&(t=this._root),t)for(;t.right;)t=t.right;return t},t.prototype.at=function(t){for(var e=this._root,r=!1,n=0,o=[];!r;)if(e)o.push(e),e=e.left;else if(o.length>0){if(e=o.pop(),n===t)return e;n++,e=e.right}else r=!0;return null},t.prototype.next=function(t){var e=this._root,r=null;if(t.right){for(r=t.right;r.left;)r=r.left;return r}for(var n=this._comparator;e;){var o=n(t.key,e.key);if(0===o)break;o<0?(r=e,e=e.left):e=e.right}return r},t.prototype.prev=function(t){var e=this._root,r=null;if(null!==t.left){for(r=t.left;r.right;)r=r.right;return r}for(var n=this._comparator;e;){var o=n(t.key,e.key);if(0===o)break;o<0?e=e.left:(r=e,e=e.right)}return r},t.prototype.clear=function(){return this._root=null,this._size=0,this},t.prototype.toList=function(){return function(t){for(var e=t,r=[],n=!1,i=new o(null,null),a=i;!n;)e?(r.push(e),e=e.left):r.length>0?e=(e=a=a.next=r.pop()).right:n=!0;return a.next=null,i.next}(this._root)},t.prototype.load=function(t,e,r){void 0===e&&(e=[]),void 0===r&&(r=!1);var n=t.length,i=this._comparator;if(r&&function t(e,r,n,o,i){if(!(n>=o)){for(var a=e[n+o>>1],s=n-1,u=o+1;;){do s++;while(0>i(e[s],a));do u--;while(i(e[u],a)>0);if(s>=u)break;var l=e[s];e[s]=e[u],e[u]=l,l=r[s],r[s]=r[u],r[u]=l}t(e,r,n,u,i),t(e,r,u+1,o,i)}}(t,e,0,n-1,i),null===this._root)this._root=function t(e,r,n,i){var a=i-n;if(a>0){var s=n+Math.floor(a/2),u=new o(e[s],r[s]);return u.left=t(e,r,n,s),u.right=t(e,r,s+1,i),u}return null}(t,e,0,n),this._size=n;else{var a=function(t,e,r){for(var n=new o(null,null),i=n,a=t,s=e;null!==a&&null!==s;)0>r(a.key,s.key)?(i.next=a,a=a.next):(i.next=s,s=s.next),i=i.next;return null!==a?i.next=a:null!==s&&(i.next=s),n.next}(this.toList(),function(t,e){for(var r=new o(null,null),n=r,i=0;i<t.length;i++)n=n.next=new o(t[i],e[i]);return n.next=null,r.next}(t,e),i);n=this._size+n,this._root=function t(e,r,n){var o=n-r;if(o>0){var i=r+Math.floor(o/2),a=t(e,r,i),s=e.head;return s.left=a,e.head=e.head.next,s.right=t(e,i+1,n),s}return null}({head:a},0,n)}return this},t.prototype.isEmpty=function(){return null===this._root},Object.defineProperty(t.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),t.prototype.toString=function(t){void 0===t&&(t=function(t){return String(t.key)});var e=[];return!function t(e,r,n,o,i){if(e){o(""+r+(n?"âââ ":"âââ ")+i(e)+"\n");var a=r+(n?" ":"â ");e.left&&t(e.left,a,!1,o,i),e.right&&t(e.right,a,!0,o,i)}}(this._root,"",!0,function(t){return e.push(t)},t),e.join("")},t.prototype.update=function(t,e,r){var n,o,i=this._comparator,l=u(t,this._root,i),c=l.left,f=l.right;0>i(t,e)?f=s(e,r,f,i):c=s(e,r,c,i),this._root=(n=c,null===(o=f)?n:(null===n||((o=a(n.key,o,i)).left=n),o))},t.prototype.split=function(t){return u(t,this._root,this._comparator)},t}(),c=function(t,e){return t.ll.x<=e.x&&e.x<=t.ur.x&&t.ll.y<=e.y&&e.y<=t.ur.y},f=function(t,e){if(e.ur.x<t.ll.x||t.ur.x<e.ll.x||e.ur.y<t.ll.y||t.ur.y<e.ll.y)return null;var r=t.ll.x<e.ll.x?e.ll.x:t.ll.x,n=t.ur.x<e.ur.x?t.ur.x:e.ur.x;return{ll:{x:r,y:t.ll.y<e.ll.y?e.ll.y:t.ll.y}
1,ur:{x:n,y:t.ur.y<e.ur.y?t.ur.y:e.ur.y}}},h=Number.EPSILON;void 0===h&&(h=2220446049250313e-31);var p=h*h,d=function(t,e){if(-h<t&&t<h&&-h<e&&e<h)return 0;var r=t-e;return r*r<p*t*e?0:t<e?-1:1},y=function(){function e(){t(this,e),this.reset()}return r(e,[{key:"reset",value:function(){this.xRounder=new v,this.yRounder=new v}},{key:"round",value:function(t,e){return{x:this.xRounder.round(t),y:this.yRounder.round(e)}}}]),e}(),v=function(){function e(){t(this,e),this.tree=new l,this.round(0)}return r(e,[{key:"round",value:function(t){var e=this.tree.add(t),r=this.tree.prev(e);if(null!==r&&0===d(e.key,r.key))return this.tree.remove(t),r.key;var n=this.tree.next(e);return null!==n&&0===d(e.key,n.key)?(this.tree.remove(t),n.key):t}}]),e}(),g=new y,m=function(t,e){return t.x*e.y-t.y*e.x},x=function(t,e){return t.x*e.x+t.y*e.y},b=function(t,e,r){return d(m({x:e.x-t.x,y:e.y-t.y},{x:r.x-t.x,y:r.y-t.y}),0)},w=function(t){return Math.sqrt(x(t,t))},E=function(t,e,r){var n={x:e.x-t.x,y:e.y-t.y},o={x:r.x-t.x,y:r.y-t.y};return m(o,n)/w(o)/w(n)},_=function(t,e,r){var n={x:e.x-t.x,y:e.y-t.y},o={x:r.x-t.x,y:r.y-t.y};return x(o,n)/w(o)/w(n)},S=function(t,e,r){return 0===e.y?null:{x:t.x+e.x/e.y*(r-t.y),y:r}},O=function(t,e,r){return 0===e.x?null:{x:r,y:t.y+e.y/e.x*(r-t.x)}},M=function(t,e,r,n){if(0===e.x)return O(r,n,t.x);if(0===n.x)return O(t,e,r.x);if(0===e.y)return S(r,n,t.y);if(0===n.y)return S(t,e,r.y);var o=m(e,n);if(0==o)return null;var i={x:r.x-t.x,y:r.y-t.y},a=m(i,e)/o,s=m(i,n)/o;return{x:(t.x+s*e.x+(r.x+a*n.x))/2,y:(t.y+s*e.y+(r.y+a*n.y))/2}},P=function(){function e(r,n){t(this,e),void 0===r.events?r.events=[this]:r.events.push(this),this.point=r,this.isLeft=n}return r(e,null,[{key:"compare",value:function(t,r){var n=e.comparePoints(t.point,r.point);return 0!==n?n:(t.point!==r.point&&t.link(r),t.isLeft!==r.isLeft)?t.isLeft?1:-1:k.compare(t.segment,r.segment)}},{key:"comparePoints",value:function(t,e){return t.x<e.x?-1:t.x>e.x?1:t.y<e.y?-1:+(t.y>e.y)}}]),r(e,[{key:"link",value:function(t){if(t.point===this.point)throw Error("Tried to link already linked events");for(var e=t.point.events,r=0,n=e.length;r<n;r++){var o=e[r];this.point.events.push(o),o.point=this.point}this.checkForConsuming()}},{key:"checkForConsuming",value:function(){for(var t=this.point.events.length,e=0;e<t;e++){var r=this.point.events[e];if(void 0===r.segment.consumedBy)for(var n=e+1;n<t;n++){var o=this.point.events[n];void 0===o.consumedBy&&r.otherSE.point.events===o.otherSE.point.events&&r.segment.consume(o.segment)}}}},{key:"getAvailableLinkedEvents",value:function(){for(var t=[],e=0,r=this.point.events.length;e<r;e++){var n=this.point.events[e];n!==this&&!n.segment.ringOut&&n.segment.isInResult()&&t.push(n)}return t}},{key:"getLeftmostComparator",value:function(t){var e=this,r=new Map,n=function(n){var o=n.otherSE;r.set(n,{sine:E(e.point,t.point,o.point),cosine:_(e.point,t.point,o.point)})};return function(t,e){r.has(t)||n(t),r.has(e)||n(e);var o=r.get(t),i=o.sine,a=o.cosine,s=r.get(e),u=s.sine,l=s.cosine;return i>=0&&u>=0?a<l?1:a>l?-1:0:i<0&&u<0?a<l?-1:+(a>l):u<i?-1:+(u>i)}}}]),e}(),A=0,k=function(){function e(r,n,o,i){t(this,e),this.id=++A,this.leftSE=r,r.segment=this,r.otherSE=n,this.rightSE=n,n.segment=this,n.otherSE=r,this.rings=o,this.windings=i}return r(e,null,[{key:"compare",value:function(t,e){var r=t.leftSE.point.x,n=e.leftSE.point.x,o=t.rightSE.point.x,i=e.rightSE.point.x;if(i<r)return 1;if(o<n)return -1;var a=t.leftSE.point.y,s=e.leftSE.point.y,u=t.rightSE.point.y,l=e.rightSE.point.y;if(r<n){if(s<a&&s<u)return 1;if(s>a&&s>u)return -1;var c=t.comparePoint(e.leftSE.point);if(c<0)return 1;if(c>0)return -1;var f=e.comparePoint(t.rightSE.point);return 0!==f?f:-1}if(r>n){if(a<s&&a<l)return -1;if(a>s&&a>l)return 1;var h=e.comparePoint(t.leftSE.point);if(0!==h)return h;var p=t.comparePoint(e.rightSE.point);return p<0?1:p>0?-1:1}if(a<s)return -1;if(a>s)return 1;if(o<i){var d=e.comparePoint(t.rightSE.point);if(0!==d)return d}if(o>i){var y=t.comparePoint(e.rightSE.point);if(y<0)return 1;if(y>0)return -1}if(o!==i){var v=u-a,g=o-r,m=l-s,x=i-n;if(v>g&&m<x)return 1;if(v<g&&m>x)return -1}return o>i?1:o<i||u<l?-1:u>l?1:t.id<e.id?-1:+(t.id>e.id)}}]),r(e,[{key:"replaceRightSE",value:function(t){this.rightSE=t,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}},{key:"bbox",value:function(){var t=this.leftSE.point.y,e=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:t<e?t:e},ur:{x:this.rightSE.point.x,y:t>e?t:e}}}},{key:"vector",value:function(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}},{key:"isAnEndpoint",value:function(t){return t.x===this.leftSE.point.x&&t.y===this.leftSE.point.y||t.x===this.rightSE.point.x&&t.y===this.rightSE.point.y}},{key:"comparePoint",value:function(t){if(this.isAnEndpoint(t))return 0;
1var e=this.leftSE.point,r=this.rightSE.point,n=this.vector();if(e.x===r.x)return t.x===e.x?0:t.x<e.x?1:-1;var o=(t.y-e.y)/n.y,i=e.x+o*n.x;if(t.x===i)return 0;var a=(t.x-e.x)/n.x,s=e.y+a*n.y;return t.y===s?0:t.y<s?-1:1}},{key:"getIntersection",value:function(t){var e=this.bbox(),r=t.bbox(),n=f(e,r);if(null===n)return null;var o=this.leftSE.point,i=this.rightSE.point,a=t.leftSE.point,s=t.rightSE.point,u=c(e,a)&&0===this.comparePoint(a),l=c(r,o)&&0===t.comparePoint(o),h=c(e,s)&&0===this.comparePoint(s),p=c(r,i)&&0===t.comparePoint(i);if(l&&u)return p&&!h?i:!p&&h?s:null;if(l)return h&&o.x===s.x&&o.y===s.y?null:o;if(u)return p&&i.x===a.x&&i.y===a.y?null:a;if(p&&h)return null;if(p)return i;if(h)return s;var d=M(o,this.vector(),a,t.vector());return null!==d&&c(n,d)?g.round(d.x,d.y):null}},{key:"split",value:function(t){var r=[],n=void 0!==t.events,o=new P(t,!0),i=new P(t,!1),a=this.rightSE;this.replaceRightSE(i),r.push(i),r.push(o);var s=new e(o,a,this.rings.slice(),this.windings.slice());return P.comparePoints(s.leftSE.point,s.rightSE.point)>0&&s.swapEvents(),P.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),n&&(o.checkForConsuming(),i.checkForConsuming()),r}},{key:"swapEvents",value:function(){var t=this.rightSE;this.rightSE=this.leftSE,this.leftSE=t,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(var e=0,r=this.windings.length;e<r;e++)this.windings[e]*=-1}},{key:"consume",value:function(t){for(var r=this,n=t;r.consumedBy;)r=r.consumedBy;for(;n.consumedBy;)n=n.consumedBy;var o=e.compare(r,n);if(0!==o){if(o>0){var i=r;r=n,n=i}if(r.prev===n){var a=r;r=n,n=a}for(var s=0,u=n.rings.length;s<u;s++){var l=n.rings[s],c=n.windings[s],f=r.rings.indexOf(l);-1===f?(r.rings.push(l),r.windings.push(c)):r.windings[f]+=c}n.rings=null,n.windings=null,n.consumedBy=r,n.leftSE.consumedBy=r.leftSE,n.rightSE.consumedBy=r.rightSE}}},{key:"prevInResult",value:function(){return void 0!==this._prevInResult||(this.prev?this.prev.isInResult()?this._prevInResult=this.prev:this._prevInResult=this.prev.prevInResult():this._prevInResult=null),this._prevInResult}},{key:"beforeState",value:function(){if(void 0!==this._beforeState)return this._beforeState;if(this.prev){var t=this.prev.consumedBy||this.prev;this._beforeState=t.afterState()}else this._beforeState={rings:[],windings:[],multiPolys:[]};return this._beforeState}},{key:"afterState",value:function(){if(void 0!==this._afterState)return this._afterState;var t=this.beforeState();this._afterState={rings:t.rings.slice(0),windings:t.windings.slice(0),multiPolys:[]};for(var e=this._afterState.rings,r=this._afterState.windings,n=this._afterState.multiPolys,o=0,i=this.rings.length;o<i;o++){var a=this.rings[o],s=this.windings[o],u=e.indexOf(a);-1===u?(e.push(a),r.push(s)):r[u]+=s}for(var l=[],c=[],f=0,h=e.length;f<h;f++)if(0!==r[f]){var p=e[f],d=p.poly;if(-1===c.indexOf(d))if(p.isExterior)l.push(d);else{-1===c.indexOf(d)&&c.push(d);var y=l.indexOf(p.poly);-1!==y&&l.splice(y,1)}}for(var v=0,g=l.length;v<g;v++){var m=l[v].multiPoly;-1===n.indexOf(m)&&n.push(m)}return this._afterState}},{key:"isInResult",value:function(){if(this.consumedBy)return!1;if(void 0!==this._isInResult)return this._isInResult;var t,e,r=this.beforeState().multiPolys,n=this.afterState().multiPolys;switch(T.type){case"union":var o=0===r.length,i=0===n.length;this._isInResult=o!==i;break;case"intersection":r.length<n.length?(t=r.length,e=n.length):(t=n.length,e=r.length),this._isInResult=e===T.numMultiPolys&&t<e;break;case"xor":var a=Math.abs(r.length-n.length);this._isInResult=a%2==1;break;case"difference":var s=function(t){return 1===t.length&&t[0].isSubject};this._isInResult=s(r)!==s(n);break;default:throw Error("Unrecognized operation type found ".concat(T.type))}return this._isInResult}}],[{key:"fromRing",value:function(t,r,n){var o,i,a,s=P.comparePoints(t,r);if(s<0)o=t,i=r,a=1;else if(s>0)o=r,i=t,a=-1;else throw Error("Tried to create degenerate segment at [".concat(t.x,", ").concat(t.y,"]"));return new e(new P(o,!0),new P(i,!1),[n],[a])}}]),e}(),j=function(){function e(r,n,o){if(t(this,e),!Array.isArray(r)||0===r.length||(this.poly=n,this.isExterior=o,this.segments=[],"number"!=typeof r[0][0]||"number"!=typeof r[0][1]))throw Error("Input geometry is not a valid Polygon or MultiPolygon");var i=g.round(r[0][0],r[0][1]);this.bbox={ll:{x:i.x,y:i.y},ur:{x:i.x,y:i.y}};for(var a=i,s=1,u=r.length;s<u;s++){if("number"!=typeof r[s][0]||"number"!=typeof r[s][1])throw Error("Input geometry is not a valid Polygon or MultiPolygon");var l=g.round(r[s][0],r[s][1]);(l.x!==a.x||l.y!==a.y)&&(this.segments.push(k.fromRing(a,l,this)),l.x<this.bbox.ll.x&&(this.bbox.ll.x=l.x),l.y<this.bbox.ll.y&&(this.bbox.ll.y=l.y),l.x>this.bbox.ur.x&&(this.bbox.ur.x=l.x),l.y>this.bbox.ur.y&&(this.bbox.ur.y=l.y),a=l)}(i.x!==a.x||i.y!==a.y)&&this.segments.push(k.fromRing(a,i,this))}return r(e,[{key:"getSweepEvents",value:function(){for(var t=[],e=0,r=this.segments.length;e<r;e++){var n=this.segments[e];t.push(n.leftSE),t.push(n.rightSE)}return t}}]),e}(),I=function(){function e(r,n){if(t(this,e),!Array.isArray(r))throw Error("Input geometry is not a valid Polygon or MultiPolygon");this.exteriorRing=new j(r[0],this,!0),this.bbox={ll:{x:this.exteriorRing.bbox.ll.x,y:this.exteriorRing.bbox.ll.y}
1,ur:{x:this.exteriorRing.bbox.ur.x,y:this.exteriorRing.bbox.ur.y}},this.interiorRings=[];for(var o=1,i=r.length;o<i;o++){var a=new j(r[o],this,!1);a.bbox.ll.x<this.bbox.ll.x&&(this.bbox.ll.x=a.bbox.ll.x),a.bbox.ll.y<this.bbox.ll.y&&(this.bbox.ll.y=a.bbox.ll.y),a.bbox.ur.x>this.bbox.ur.x&&(this.bbox.ur.x=a.bbox.ur.x),a.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=a.bbox.ur.y),this.interiorRings.push(a)}this.multiPoly=n}return r(e,[{key:"getSweepEvents",value:function(){for(var t=this.exteriorRing.getSweepEvents(),e=0,r=this.interiorRings.length;e<r;e++)for(var n=this.interiorRings[e].getSweepEvents(),o=0,i=n.length;o<i;o++)t.push(n[o]);return t}}]),e}(),C=function(){function e(r,n){if(t(this,e),!Array.isArray(r))throw Error("Input geometry is not a valid Polygon or MultiPolygon");try{"number"==typeof r[0][0][0]&&(r=[r])}catch(t){}this.polys=[],this.bbox={ll:{x:1/0,y:1/0},ur:{x:-1/0,y:-1/0}};for(var o=0,i=r.length;o<i;o++){var a=new I(r[o],this);a.bbox.ll.x<this.bbox.ll.x&&(this.bbox.ll.x=a.bbox.ll.x),a.bbox.ll.y<this.bbox.ll.y&&(this.bbox.ll.y=a.bbox.ll.y),a.bbox.ur.x>this.bbox.ur.x&&(this.bbox.ur.x=a.bbox.ur.x),a.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=a.bbox.ur.y),this.polys.push(a)}this.isSubject=n}return r(e,[{key:"getSweepEvents",value:function(){for(var t=[],e=0,r=this.polys.length;e<r;e++)for(var n=this.polys[e].getSweepEvents(),o=0,i=n.length;o<i;o++)t.push(n[o]);return t}}]),e}(),D=function(){function e(r){t(this,e),this.events=r;for(var n=0,o=r.length;n<o;n++)r[n].segment.ringOut=this;this.poly=null}return r(e,null,[{key:"factory",value:function(t){for(var r=[],n=0,o=t.length;n<o;n++){var i=t[n];if(i.isInResult()&&!i.ringOut){for(var a=null,s=i.leftSE,u=i.rightSE,l=[s],c=s.point,f=[];a=s,s=u,l.push(s),s.point!==c;)for(;;){var h=s.getAvailableLinkedEvents();if(0===h.length){var p=l[0].point,d=l[l.length-1].point;throw Error("Unable to complete output ring starting at [".concat(p.x,",")+" ".concat(p.y,"]. Last matching segment found ends at")+" [".concat(d.x,", ").concat(d.y,"]."))}if(1===h.length){u=h[0].otherSE;break}for(var y=null,v=0,g=f.length;v<g;v++)if(f[v].point===s.point){y=v;break}if(null!==y){var m=f.splice(y)[0],x=l.splice(m.index);x.unshift(x[0].otherSE),r.push(new e(x.reverse()));continue}f.push({index:l.length,point:s.point});var b=s.getLeftmostComparator(a);u=h.sort(b)[0].otherSE;break}r.push(new e(l))}}return r}}]),r(e,[{key:"getGeom",value:function(){for(var t=this.events[0].point,e=[t],r=1,n=this.events.length-1;r<n;r++){var o=this.events[r].point;0!==b(o,t,this.events[r+1].point)&&(e.push(o),t=o)}if(1===e.length)return null;0===b(e[0],t,e[1])&&e.shift(),e.push(e[0]);for(var i=this.isExteriorRing()?1:-1,a=this.isExteriorRing()?0:e.length-1,s=this.isExteriorRing()?e.length:-1,u=[],l=a;l!=s;l+=i)u.push([e[l].x,e[l].y]);return u}},{key:"isExteriorRing",value:function(){if(void 0===this._isExteriorRing){var t=this.enclosingRing();this._isExteriorRing=!t||!t.isExteriorRing()}return this._isExteriorRing}},{key:"enclosingRing",value:function(){return void 0===this._enclosingRing&&(this._enclosingRing=this._calcEnclosingRing()),this._enclosingRing}},{key:"_calcEnclosingRing",value:function(){for(var t=this.events[0],e=1,r=this.events.length;e<r;e++){var n=this.events[e];P.compare(t,n)>0&&(t=n)}for(var o=t.segment.prevInResult(),i=o?o.prevInResult():null;;){if(!o)return null;if(!i)return o.ringOut;if(i.ringOut!==o.ringOut)if(i.ringOut.enclosingRing()!==o.ringOut)return o.ringOut;else return o.ringOut.enclosingRing();i=(o=i.prevInResult())?o.prevInResult():null}}}]),e}(),R=function(){function e(r){t(this,e),this.exteriorRing=r,r.poly=this,this.interiorRings=[]}return r(e,[{key:"addInterior",value:function(t){this.interiorRings.push(t),t.poly=this}},{key:"getGeom",value:function(){var t=[this.exteriorRing.getGeom()];if(null===t[0])return null;for(var e=0,r=this.interiorRings.length;e<r;e++){var n=this.interiorRings[e].getGeom();null!==n&&t.push(n)}return t}}]),e}(),N=function(){function e(r){t(this,e),this.rings=r,this.polys=this._composePolys(r)}return r(e,[{key:"getGeom",value:function(){for(var t=[],e=0,r=this.polys.length;e<r;e++){var n=this.polys[e].getGeom();null!==n&&t.push(n)}return t}},{key:"_composePolys",value:function(t){for(var e=[],r=0,n=t.length;r<n;r++){var o=t[r];if(!o.poly)if(o.isExteriorRing())e.push(new R(o));else{var i=o.enclosingRing();i.poly||e.push(new R(i)),i.poly.addInterior(o)}}return e}}]),e}(),L=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k.compare;t(this,e),this.queue=r,this.tree=new l(n),this.segments=[]}return r(e,[{key:"process",value:function(t){var e=t.segment,r=[];if(t.consumedBy)return t.isLeft?this.queue.remove(t.otherSE):this.tree.remove(e),r;var n=t.isLeft?this.tree.insert(e):this.tree.find(e);if(!n)throw Error("Unable to find segment #".concat(e.id," ")+"[".concat(e.leftSE.point.x,", ").concat(e.leftSE.point.y,"] -> ")+"[".concat(e.rightSE.point.x,", ").concat(e.rightSE.point.y,"] ")+"in SweepLine tree. Please submit a bug report.");for(var o=n,i=n,a=void 0,s=void 0;void 0===a;)null===(o=this.tree.prev(o))?a=null:void 0===o.key.consumedBy&&(a=o.key);for(;void 0===s;)null===(i=this.tree.next(i))?s=null:void 0===i.key.consumedBy&&(s=i.key);if(t.isLeft){var u=null;if(a){var l=a.getIntersection(e);
1if(null!==l&&(e.isAnEndpoint(l)||(u=l),!a.isAnEndpoint(l)))for(var c=this._splitSafely(a,l),f=0,h=c.length;f<h;f++)r.push(c[f])}var p=null;if(s){var d=s.getIntersection(e);if(null!==d&&(e.isAnEndpoint(d)||(p=d),!s.isAnEndpoint(d)))for(var y=this._splitSafely(s,d),v=0,g=y.length;v<g;v++)r.push(y[v])}if(null!==u||null!==p){var m=null;m=null===u?p:null===p||0>=P.comparePoints(u,p)?u:p,this.queue.remove(e.rightSE),r.push(e.rightSE);for(var x=e.split(m),b=0,w=x.length;b<w;b++)r.push(x[b])}r.length>0?(this.tree.remove(e),r.push(t)):(this.segments.push(e),e.prev=a)}else{if(a&&s){var E=a.getIntersection(s);if(null!==E){if(!a.isAnEndpoint(E))for(var _=this._splitSafely(a,E),S=0,O=_.length;S<O;S++)r.push(_[S]);if(!s.isAnEndpoint(E))for(var M=this._splitSafely(s,E),A=0,k=M.length;A<k;A++)r.push(M[A])}}this.tree.remove(e)}return r}},{key:"_splitSafely",value:function(t,e){this.tree.remove(t);var r=t.rightSE;this.queue.remove(r);var n=t.split(e);return n.push(r),void 0===t.consumedBy&&this.tree.insert(t),n}}]),e}(),B=void 0!==n&&n.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE||1e6,Y=void 0!==n&&n.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS||1e6,T=new(function(){function e(){t(this,e)}return r(e,[{key:"run",value:function(t,e,r){T.type=t,g.reset();for(var n=[new C(e,!0)],o=0,i=r.length;o<i;o++)n.push(new C(r[o],!1));if(T.numMultiPolys=n.length,"difference"===T.type)for(var a=n[0],s=1;s<n.length;)null!==f(n[s].bbox,a.bbox)?s++:n.splice(s,1);if("intersection"===T.type){for(var u=0,c=n.length;u<c;u++)for(var h=n[u],p=u+1,d=n.length;p<d;p++)if(null===f(h.bbox,n[p].bbox))return[]}for(var y=new l(P.compare),v=0,m=n.length;v<m;v++)for(var x=n[v].getSweepEvents(),b=0,w=x.length;b<w;b++)if(y.insert(x[b]),y.size>B)throw Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big). Please file a bug report.");for(var E=new L(y),_=y.size,S=y.pop();S;){var O=S.key;if(y.size===_){var M=O.segment;throw Error("Unable to pop() ".concat(O.isLeft?"left":"right"," SweepEvent ")+"[".concat(O.point.x,", ").concat(O.point.y,"] from segment #").concat(M.id," ")+"[".concat(M.leftSE.point.x,", ").concat(M.leftSE.point.y,"] -> ")+"[".concat(M.rightSE.point.x,", ").concat(M.rightSE.point.y,"] from queue. ")+"Please file a bug report.")}if(y.size>B)throw Error("Infinite loop when passing sweep line over endpoints (queue size too big). Please file a bug report.");if(E.segments.length>Y)throw Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments). Please file a bug report.");for(var A=E.process(O),k=0,j=A.length;k<j;k++){var I=A[k];void 0===I.consumedBy&&y.insert(I)}_=y.size,S=y.pop()}return g.reset(),new N(D.factory(E.segments)).getGeom()}}]),e}());return{union:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return T.run("union",t,r)},intersection:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return T.run("intersection",t,r)},xor:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return T.run("xor",t,r)},difference:function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return T.run("difference",t,r)}}}()},45514:(t,e,r)=>{var n=r(85077),o=r(25481);t.exports=function(t,e,r,i){return e.length>0&&Array.isArray(e[0])?o(t,e,r,i):n(t,e,r,i)},t.exports.nested=o,t.exports.flat=n},45726:t=>{"use strict";t.exports=Function.prototype.call},49008:(t,e,r)=>{"use strict";var n=r(61807),o=r(10778),i=r(45726);t.exports=r(60537)||n.call(i,o)},49219:function(t){t.exports=function(){"use strict";function t(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function e(t,e){return t<e?-1:+(t>e)}return function(r,n,o,i,a){!function e(r,n,o,i,a){for(;i>o;){if(i-o>600){var s=i-o+1,u=n-o+1,l=Math.log(s),c=.5*Math.exp(2*l/3),f=.5*Math.sqrt(l*c*(s-c)/s)*(u-s/2<0?-1:1),h=Math.max(o,Math.floor(n-u*c/s+f)),p=Math.min(i,Math.floor(n+(s-u)*c/s+f));e(r,n,h,p,a)}var d=r[n],y=o,v=i;for(t(r,o,n),a(r[i],d)>0&&t(r,o,i);y<v;){for(t(r,y,v),y++,v--;0>a(r[y],d);)y++;for(;a(r[v],d)>0;)v--}0===a(r[o],d)?t(r,o,v):t(r,++v,i),v<=n&&(o=v+1),n<=v&&(i=v-1)}}(r,n,o||0,i||r.length-1,a||e)}}()},53498:(t,e,r)=>{"use strict";var n=r(83051),o=r(90914)(),i=r(88892).functionsHaveConfigurableNames(),a=r(94105);t.exports=function(t,e){if("function"!=typeof t)throw new a("`fn` is not a function");var r=arguments.length>2&&!!arguments[2];return(!r||i)&&(o?n(t,"name",e,!0,!0):n(t,"name",e)),t}},57759:(t,e,r)=>{"use strict";var n=r(39497),o=r(65785),i=r(28250),a=r(30553);t.exports=function(t){var e=i(arguments),r=t.length-(arguments.length-1);return n(e,1+(r>0?r:0),!0)},o?o(t.exports,"apply",{value:a}):t.exports.apply=a},59705:t=>{"use strict";
1t.exports=Object.getOwnPropertyDescriptor},60473:(t,e,r)=>{var n=r(42036),o=function(t){this.precision=t&&t.precision?t.precision:17,this.direction=!!t&&!!t.direction&&t.direction,this.pseudoNode=!!t&&!!t.pseudoNode&&t.pseudoNode,this.objectComparator=t&&t.objectComparator?t.objectComparator:s};function i(t){return t.coordinates.map(function(e){return{type:t.type.replace("Multi",""),coordinates:e}})}function a(t,e){return t.hasOwnProperty("coordinates")?t.coordinates.length===e.coordinates.length:t.length===e.length}function s(t,e){return n(t,e,{strict:!0})}o.prototype.compare=function(t,e){if(t.type!==e.type||!a(t,e))return!1;switch(t.type){case"Point":return this.compareCoord(t.coordinates,e.coordinates);case"LineString":return this.compareLine(t.coordinates,e.coordinates,0,!1);case"Polygon":return this.comparePolygon(t,e);case"Feature":return this.compareFeature(t,e);default:if(0===t.type.indexOf("Multi")){var r=this,n=i(t),o=i(e);return n.every(function(t){return this.some(function(e){return r.compare(t,e)})},o)}}return!1},o.prototype.compareCoord=function(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(t[r].toFixed(this.precision)!==e[r].toFixed(this.precision))return!1;return!0},o.prototype.compareLine=function(t,e,r,n){if(!a(t,e))return!1;var o=this.pseudoNode?t:this.removePseudo(t),i=this.pseudoNode?e:this.removePseudo(e);if(!n||this.compareCoord(o[0],i[0])||(i=this.fixStartIndex(i,o))){var s=this.compareCoord(o[r],i[r]);return this.direction||s?this.comparePath(o,i):!!this.compareCoord(o[r],i[i.length-(1+r)])&&this.comparePath(o.slice().reverse(),i)}},o.prototype.fixStartIndex=function(t,e){for(var r,n=-1,o=0;o<t.length;o++)if(this.compareCoord(t[o],e[0])){n=o;break}return n>=0&&(r=[].concat(t.slice(n,t.length),t.slice(1,n+1))),r},o.prototype.comparePath=function(t,e){var r=this;return t.every(function(t,e){return r.compareCoord(t,this[e])},e)},o.prototype.comparePolygon=function(t,e){if(!this.compareLine(t.coordinates[0],e.coordinates[0],1,!0))return!1;var r=t.coordinates.slice(1,t.coordinates.length),n=e.coordinates.slice(1,e.coordinates.length),o=this;return r.every(function(t){return this.some(function(e){return o.compareLine(t,e,1,!0)})},n)},o.prototype.compareFeature=function(t,e){return t.id===e.id&&!!this.objectComparator(t.properties,e.properties)&&!!this.compareBBox(t,e)&&this.compare(t.geometry,e.geometry)},o.prototype.compareBBox=function(t,e){return!!(!t.bbox&&!e.bbox||t.bbox&&e.bbox&&this.compareCoord(t.bbox,e.bbox))},o.prototype.removePseudo=function(t){return t},t.exports=o},60537:t=>{"use strict";t.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},61219:function(t){t.exports=function(){"use strict";function t(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function e(t,e){return t<e?-1:+(t>e)}var r=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function n(t,e){o(t,0,t.children.length,e,t)}function o(t,e,r,n,o){o||(o=h(null)),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(var a=e;a<r;a++){var s=t.children[a];i(o,t.leaf?n(s):s)}return o}function i(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function a(t,e){return t.minX-e.minX}function s(t,e){return t.minY-e.minY}function u(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function l(t){return t.maxX-t.minX+(t.maxY-t.minY)}function c(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function f(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function h(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function p(r,n,o,i,a){for(var s=[n,o];s.length;)if(!((o=s.pop())-(n=s.pop())<=i)){var u=n+Math.ceil((o-n)/i/2)*i;(function e(r,n,o,i,a){for(;i>o;){if(i-o>600){var s=i-o+1,u=n-o+1,l=Math.log(s),c=.5*Math.exp(2*l/3),f=.5*Math.sqrt(l*c*(s-c)/s)*(u-s/2<0?-1:1),h=Math.max(o,Math.floor(n-u*c/s+f)),p=Math.min(i,Math.floor(n+(s-u)*c/s+f));e(r,n,h,p,a)}var d=r[n],y=o,v=i;for(t(r,o,n),a(r[i],d)>0&&t(r,o,i);y<v;){for(t(r,y,v),y++,v--;0>a(r[y],d);)y++;for(;a(r[v],d)>0;)v--}0===a(r[o],d)?t(r,o,v):t(r,++v,i),v<=n&&(o=v+1),n<=v&&(i=v-1)}})(r,u,n||0,o||r.length-1,a||e),s.push(n,u,u,o)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(t){var e=this.data,r=[];if(!f(t,e))return r;for(var n=this.toBBox,o=[];e;){for(var i=0;i<e.children.length;i++){var a=e.children[i],s=e.leaf?n(a):a;f(t,s)&&(e.leaf?r.push(a):c(t,s)?this._all(a,r):o.push(a))}e=o.pop()}return r},r.prototype.collides=function(t){var e=this.data;if(!f(t,e))return!1;for(var r=[];e;){for(var n=0;n<e.children.length;n++){var o=e.children[n],i=e.leaf?this.toBBox(o):o;if(f(t,i)){if(e.leaf||c(t,i))return!0;r.push(o)}}e=r.pop()}return!1},r.prototype.load=function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0;e<t.length;e++)this.insert(t[e]);return this}var r=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===r.height)this._splitRoot(this.data,r);else{if(this.data.height<r.height){var n=this.data;this.data=r,r=n}this._insert(r,this.data.height-r.height-1,!0)}else this.data=r;return this},r.prototype.insert=function(t){return t&&this._insert(t,this.data.height-1),this},r.prototype.clear=function(){return this.data=h([]),this},r.prototype.remove=function(t,e){if(!t)return this;for(var r,n,o,i=this.data,a=this.toBBox(t),s=[],u=[];i||s.length;){if(i||(i=s.pop(),n=s[s.length-1],r=u.pop(),o=!0),i.leaf){var l=function(t,e,r){if(!r)return e.indexOf(t);for(var n=0;n<e.length;n++)if(r(t,e[n]))return n;return -1}(t,i.children,e);if(-1!==l)return i.children.splice(l,1),s.push(i),this._condense(s),this}o||i.leaf||!c(i,a)?n?(r++,i=n.children[r],o=!1):i=null:(s.push(i),u.push(r),r=0,n=i,i=i.children[0])}return this},r.prototype.toBBox=function(t){return t},r.prototype.compareMinX=function(t,e){return t.minX-e.minX},r.prototype.compareMinY=function(t,e){return t.minY-e.minY},r.prototype.toJSON=function(){return this.data},r.prototype.fromJSON=function(t){return this.data=t,this},r.prototype._all=function(t,e){for(var r=[];t;)t.leaf?e.push.apply(e,t.children):r.push.apply(r,t.children),t=r.pop();return e},r.prototype._build=function(t,e,r,o){var i,a=r-e+1,s=this._maxEntries;if(a<=s)return n(i=h(t.slice(e,r+1)),this.toBBox),i;o||(o=Math.ceil(Math.log(a)/Math.log(s)),s=Math.ceil(a/Math.pow(s,o-1))),(i=h([])).leaf=!1,i.height=o;var u=Math.ceil(a/s),l=u*Math.ceil(Math.sqrt(s));p(t,e,r,l,this.compareMinX);for(var c=e;c<=r;c+=l){var f=Math.min(c+l-1,r);p(t,c,f,u,this.compareMinY);for(var d=c;d<=f;d+=u){var y=Math.min(d+u-1,f);i.children.push(this._build(t,d,y,o-1))}}return n(i,this.toBBox),i},r.prototype._chooseSubtree=function(t,e,r,n){for(;n.push(e),!e.leaf&&n.length-1!==r;){for(var o=1/0,i=1/0,a=void 0,s=0;s<e.children.length;s++){var l=e.children[s],c=u(l),f=(Math.max(l.maxX,t.maxX)-Math.min(l.minX,t.minX))*(Math.max(l.maxY,t.maxY)-Math.min(l.minY,t.minY))-c;f<i?(i=f,o=c<o?c:o,a=l):f===i&&c<o&&(o=c,a=l)}e=a||e.children[0]}return e},r.prototype._insert=function(t,e,r){var n=r?t:this.toBBox(t),o=[],a=this._chooseSubtree(n,this.data,e,o);for(a.children.push(t),i(a,n);e>=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(n,o,e)},r.prototype._split=function(t,e){var r=t[e],o=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,o);var a=this._chooseSplitIndex(r,i,o),s=h(r.children.splice(a,r.children.length-a));s.height=r.height,s.leaf=r.leaf,n(r,this.toBBox),n(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(r,s)},r.prototype._splitRoot=function(t,e){this.data=h([t,e]),this.data.height=t.height+1,this.data.leaf=!1,n(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(t,e,r){for(var n,i,a,s,l,c=1/0,f=1/0,h=e;h<=r-e;h++){var p=o(t,0,h,this.toBBox),d=o(t,h,r,this.toBBox),y=(i=void 0,a=void 0,s=void 0,i=Math.max(p.minX,d.minX),a=Math.max(p.minY,d.minY),Math.max(0,(s=Math.min(p.maxX,d.maxX))-i)*Math.max(0,Math.min(p.maxY,d.maxY)-a)),v=u(p)+u(d);y<c?(c=y,n=h,f=v<f?v:f):y===c&&v<f&&(f=v,n=h)}return n||r-e},r.prototype._chooseSplitAxis=function(t,e,r){var n=t.leaf?this.compareMinX:a,o=t.leaf?this.compareMinY:s;this._allDistMargin(t,e,r,n)<this._allDistMargin(t,e,r,o)&&t.children.sort(n)},r.prototype._allDistMargin=function(t,e,r,n){t.children.sort(n);for(var a=this.toBBox,s=o(t,0,e,a),u=o(t,r-e,r,a),c=l(s)+l(u),f=e;f<r-e;f++){var h=t.children[f];i(s,t.leaf?a(h):h),c+=l(s)}for(var p=r-e-1;p>=e;p--){var d=t.children[p];i(u,t.leaf?a(d):d),c+=l(u)}return c},r.prototype._adjustParentBBoxes=function(t,e,r){for(var n=r;n>=0;n--)i(e[n],t)},r.prototype._condense=function(t){for(var e=t.length-1,r=void 0;e>=0;e--)0===t[e].children.length?e>0?(r=t[e-1].children).splice(r.indexOf(t[e]),1):this.clear():n(t[e],this.toBBox)},r}()},61676:(t,e,r)=>{"use strict";var n=r(64953),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=r(83051),u=r(90914)(),l=function(t,e,r,n){if(e in t){if(!0===n){
1if(t[e]===r)return}else if("function"!=typeof n||"[object Function]"!==i.call(n)||!n())return}u?s(t,e,r,!0):s(t,e,r)},c=function(t,e){var r=arguments.length>2?arguments[2]:{},i=n(e);o&&(i=a.call(i,Object.getOwnPropertySymbols(e)));for(var s=0;s<i.length;s+=1)l(t,i[s],e[i[s]],r[i[s]])};c.supportsDescriptors=!!u,t.exports=c},61807:(t,e,r)=>{"use strict";var n=r(81831);t.exports=Function.prototype.bind||n},61836:t=>{"use strict";t.exports=Math.max},64953:(t,e,r)=>{"use strict";var n=Array.prototype.slice,o=r(28069),i=Object.keys,a=i?function(t){return i(t)}:r(37405),s=Object.keys;a.shim=function(){return Object.keys?!function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2)&&(Object.keys=function(t){return o(t)?s(n.call(t)):s(t)}):Object.keys=a,Object.keys||a},t.exports=a},65218:t=>{"use strict";t.exports=Math.round},65785:t=>{"use strict";var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}t.exports=e},66781:(t,e,r)=>{"use strict";var n,o=r(23034),i=r(93636)(),a=r(20535),s=r(27349);if(i){var u=o("RegExp.prototype.exec"),l={},c=function(){throw l},f={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(f[Symbol.toPrimitive]=c),n=function(t){if(!t||"object"!=typeof t)return!1;var e=s(t,"lastIndex");if(!(e&&a(e,"value")))return!1;try{u(t,f)}catch(t){return t===l}}}else{var h=o("Object.prototype.toString");n=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"[object RegExp]"===h(t)}}t.exports=n},68321:(t,e,r)=>{"use strict";r.d(e,{default:()=>o.a});var n=r(41402),o=r.n(n)},70054:(t,e,r)=>{"use strict";var n=r(93636)(),o=r(33991)("Object.prototype.toString"),i=function(t){return(!n||!t||"object"!=typeof t||!(Symbol.toStringTag in t))&&"[object Arguments]"===o(t)},a=function(t){return!!i(t)||null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==o(t)&&"[object Function]"===o(t.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,t.exports=s?i:a},70220:(t,e,r)=>{"use strict";t.exports=r(28664).getPrototypeOf||null},70818:(t,e,r)=>{"use strict";var n=r(23034),o=n("Date.prototype.getDay"),i=function(t){try{return o(t),!0}catch(t){return!1}},a=n("Object.prototype.toString"),s=r(93636)();t.exports=function(t){return"object"==typeof t&&null!==t&&(s?i(t):"[object Date]"===a(t))}},71953:(t,e,r)=>{"use strict";r.d(e,{Cr:()=>u,M_:()=>i,cm:()=>s,np:()=>a});var n=r(48977),o=(0,r(51760).B0)([n.ws],[n.aN]);o.useContext;var i=o.useScopedContext,a=o.useProviderContext,s=o.ContextProvider,u=o.ScopedContextProvider},72268:(t,e,r)=>{"use strict";var n=r(38369);t.exports=function(){return"function"==typeof Object.is?Object.is:n}},73133:function(t,e){(function(t){"use strict";function e(t,e,r,n,o){let i,a,s,u,l=e[0],c=n[0],f=0,h=0;c>l==c>-l?(i=l,l=e[++f]):(i=c,c=n[++h]);let p=0;if(f<t&&h<r)for(c>l==c>-l?(s=i-((a=l+i)-l),l=e[++f]):(s=i-((a=c+i)-c),c=n[++h]),i=a,0!==s&&(o[p++]=s);f<t&&h<r;)c>l==c>-l?(s=i-((a=i+l)-(u=a-i))+(l-u),l=e[++f]):(s=i-((a=i+c)-(u=a-i))+(c-u),c=n[++h]),i=a,0!==s&&(o[p++]=s);for(;f<t;)s=i-((a=i+l)-(u=a-i))+(l-u),l=e[++f],i=a,0!==s&&(o[p++]=s);for(;h<r;)s=i-((a=i+c)-(u=a-i))+(c-u),c=n[++h],i=a,0!==s&&(o[p++]=s);return 0===i&&0!==p||(o[p++]=i),p}function r(t){return new Float64Array(t)}let n=r(4),o=r(8),i=r(12),a=r(16),s=r(4);t.orient2d=function(t,r,u,l,c,f){let h=(r-f)*(u-c),p=(t-c)*(l-f),d=h-p;if(0===h||0===p||h>0!=p>0)return d;let y=Math.abs(h+p);return Math.abs(d)>=33306690738754716e-32*y?d:-function(t,r,u,l,c,f,h){let p,d,y,v,g,m,x,b,w,E,_,S,O,M,P,A,k,j,I=t-c,C=u-c,D=r-f,R=l-f;
1g=(P=(b=I-(x=(m=0x8000001*I)-(m-I)))*(E=R-(w=(m=0x8000001*R)-(m-R)))-((M=I*R)-x*w-b*w-x*E))-(_=P-(k=(b=D-(x=(m=0x8000001*D)-(m-D)))*(E=C-(w=(m=0x8000001*C)-(m-C)))-((A=D*C)-x*w-b*w-x*E))),n[0]=P-(_+g)+(g-k),g=(O=M-((S=M+_)-(g=S-M))+(_-g))-(_=O-A),n[1]=O-(_+g)+(g-A),g=(j=S+_)-S,n[2]=S-(j-g)+(_-g),n[3]=j;let N=function(t,e){let r=e[0];for(let t=1;t<4;t++)r+=e[t];return r}(0,n),L=22204460492503146e-32*h;if(N>=L||-N>=L||(p=t-(I+(g=t-I))+(g-c),y=u-(C+(g=u-C))+(g-c),d=r-(D+(g=r-D))+(g-f),v=l-(R+(g=l-R))+(g-f),0===p&&0===d&&0===y&&0===v)||(L=11093356479670487e-47*h+33306690738754706e-32*Math.abs(N),(N+=I*v+R*p-(D*y+C*d))>=L||-N>=L))return N;g=(P=(b=p-(x=(m=0x8000001*p)-(m-p)))*(E=R-(w=(m=0x8000001*R)-(m-R)))-((M=p*R)-x*w-b*w-x*E))-(_=P-(k=(b=d-(x=(m=0x8000001*d)-(m-d)))*(E=C-(w=(m=0x8000001*C)-(m-C)))-((A=d*C)-x*w-b*w-x*E))),s[0]=P-(_+g)+(g-k),g=(O=M-((S=M+_)-(g=S-M))+(_-g))-(_=O-A),s[1]=O-(_+g)+(g-A),g=(j=S+_)-S,s[2]=S-(j-g)+(_-g),s[3]=j;let B=e(4,n,4,s,o);g=(P=(b=I-(x=(m=0x8000001*I)-(m-I)))*(E=v-(w=(m=0x8000001*v)-(m-v)))-((M=I*v)-x*w-b*w-x*E))-(_=P-(k=(b=D-(x=(m=0x8000001*D)-(m-D)))*(E=y-(w=(m=0x8000001*y)-(m-y)))-((A=D*y)-x*w-b*w-x*E))),s[0]=P-(_+g)+(g-k),g=(O=M-((S=M+_)-(g=S-M))+(_-g))-(_=O-A),s[1]=O-(_+g)+(g-A),g=(j=S+_)-S,s[2]=S-(j-g)+(_-g),s[3]=j;let Y=e(B,o,4,s,i);g=(P=(b=p-(x=(m=0x8000001*p)-(m-p)))*(E=v-(w=(m=0x8000001*v)-(m-v)))-((M=p*v)-x*w-b*w-x*E))-(_=P-(k=(b=d-(x=(m=0x8000001*d)-(m-d)))*(E=y-(w=(m=0x8000001*y)-(m-y)))-((A=d*y)-x*w-b*w-x*E))),s[0]=P-(_+g)+(g-k),g=(O=M-((S=M+_)-(g=S-M))+(_-g))-(_=O-A),s[1]=O-(_+g)+(g-A),g=(j=S+_)-S,s[2]=S-(j-g)+(_-g),s[3]=j;let T=e(Y,i,4,s,a);return a[T-1]}(t,r,u,l,c,f,y)},t.orient2dfast=function(t,e,r,n,o,i){return(e-i)*(r-o)-(t-o)*(n-i)},Object.defineProperty(t,"__esModule",{value:!0})})(e)},73390:t=>{"use strict";t.exports=SyntaxError},74919:t=>{"use strict";let e=(t,e,n,o)=>{if("length"===n||"prototype"===n||"arguments"===n||"caller"===n)return;let i=Object.getOwnPropertyDescriptor(t,n),a=Object.getOwnPropertyDescriptor(e,n);(r(i,a)||!o)&&Object.defineProperty(t,n,a)},r=function(t,e){return void 0===t||t.configurable||t.writable===e.writable&&t.enumerable===e.enumerable&&t.configurable===e.configurable&&(t.writable||t.value===e.value)},n=(t,e)=>`/* Wrapped ${t}*/ 2${e}`,o=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),i=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name");t.exports=(t,r,{ignoreNonConfigurable:a=!1}={})=>{let{name:s}=t;for(let n of Reflect.ownKeys(r))e(t,r,n,a);return((t,e)=>{let r=Object.getPrototypeOf(e);r!==Object.getPrototypeOf(t)&&Object.setPrototypeOf(t,r)})(t,r),((t,e,r)=>{let a=""===r?"":`with ${r.trim()}() `,s=n.bind(null,a,e.toString());Object.defineProperty(s,"name",i),Object.defineProperty(t,"toString",{...o,value:s})})(t,r,s),t}},74949:t=>{function e(t,e,r,n){this.dataset=[],this.epsilon=1,this.minPts=2,this.distance=this._euclideanDistance,this.clusters=[],this.noise=[],this._visited=[],this._assigned=[],this._datasetLength=0,this._init(t,e,r,n)}e.prototype.run=function(t,e,r,n){this._init(t,e,r,n);for(var o=0;o<this._datasetLength;o++)if(1!==this._visited[o]){this._visited[o]=1;var i=this._regionQuery(o);if(i.length<this.minPts)this.noise.push(o);
2else{var a=this.clusters.length;this.clusters.push([]),this._addToCluster(o,a),this._expandCluster(a,i)}}return this.clusters},e.prototype._init=function(t,e,r,n){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this.noise=[],this._datasetLength=t.length,this._visited=Array(this._datasetLength),this._assigned=Array(this._datasetLength)}e&&(this.epsilon=e),r&&(this.minPts=r),n&&(this.distance=n)},e.prototype._expandCluster=function(t,e){for(var r=0;r<e.length;r++){var n=e[r];if(1!==this._visited[n]){this._visited[n]=1;var o=this._regionQuery(n);o.length>=this.minPts&&(e=this._mergeArrays(e,o))}1!==this._assigned[n]&&this._addToCluster(n,t)}},e.prototype._addToCluster=function(t,e){this.clusters[e].push(t),this._assigned[t]=1},e.prototype._regionQuery=function(t){for(var e=[],r=0;r<this._datasetLength;r++)this.distance(this.dataset[t],this.dataset[r])<this.epsilon&&e.push(r);return e},e.prototype._mergeArrays=function(t,e){for(var r=e.length,n=0;n<r;n++){var o=e[n];0>t.indexOf(o)&&t.push(o)}return t},e.prototype._euclideanDistance=function(t,e){for(var r=0,n=Math.min(t.length,e.length);n--;)r+=(t[n]-e[n])*(t[n]-e[n]);return Math.sqrt(r)},t.exports&&(t.exports=e)},80045:(t,e,r)=>{"use strict";var n,o=r(28664),i=r(90123),a=r(19683),s=r(30334),u=r(84666),l=r(73390),c=r(94105),f=r(86121),h=r(82922),p=r(35820),d=r(61836),y=r(91374),v=r(9732),g=r(65218),m=r(98735),x=Function,b=function(t){try{return x('"use strict"; return ('+t+").constructor;")()}catch(t){}},w=r(27349),E=r(65785),_=function(){throw new c},S=w?function(){try{return arguments.callee,_}catch(t){try{return w(arguments,"callee").get}catch(t){return _}}}():_,O=r(90035)(),M=r(3404),P=r(70220),A=r(22350),k=r(10778),j=r(45726),I={},C="undefined"!=typeof Uint8Array&&M?M(Uint8Array):n,D={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":O&&M?M([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":I,"%AsyncGenerator%":I,"%AsyncGeneratorFunction%":I,"%AsyncIteratorPrototype%":I,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":I,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":O&&M?M(M([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&O&&M?M(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&O&&M?M(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&M?M(""[Symbol.iterator]()):n,"%Symbol%":O?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":S,"%TypedArray%":C,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":f,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":k,"%Object.defineProperty%":E,"%Object.getPrototypeOf%":P,"%Math.abs%":h,"%Math.floor%":p,"%Math.max%":d,"%Math.min%":y,"%Math.pow%":v,"%Math.round%":g,"%Math.sign%":m,"%Reflect.getPrototypeOf%":A};if(M)try{null.error}catch(t){var R=M(M(t));D["%Error.prototype%"]=R}var N=function t(e){var r;if("%AsyncFunction%"===e)r=b("async function () {}");else if("%GeneratorFunction%"===e)r=b("function* () {}");else if("%AsyncGeneratorFunction%"===e)r=b("async function* () {}");else if("%AsyncGenerator%"===e){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&M&&(r=M(o.prototype))}return D[e]=r,r},L={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},B=r(61807),Y=r(20535),T=B.call(j,Array.prototype.concat),F=B.call(k,Array.prototype.splice),X=B.call(j,Str
2ing.prototype.replace),U=B.call(j,String.prototype.slice),q=B.call(j,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,z=function(t){var e=U(t,0,1),r=U(t,-1);if("%"===e&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==e)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return X(t,W,function(t,e,r,o){n[n.length]=r?X(o,G,"$1"):e||t}),n},H=function(t,e){var r,n=t;if(Y(L,n)&&(n="%"+(r=L[n])[0]+"%"),Y(D,n)){var o=D[n];if(o===I&&(o=N(n)),void 0===o&&!e)throw new c("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new l("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new c('"allowMissing" argument must be a boolean');if(null===q(/^%?[^%]*%?$/,t))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=z(t),n=r.length>0?r[0]:"",o=H("%"+n+"%",e),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],F(r,T([0,1],u)));for(var f=1,h=!0;f<r.length;f+=1){var p=r[f],d=U(p,0,1),y=U(p,-1);if(('"'===d||"'"===d||"`"===d||'"'===y||"'"===y||"`"===y)&&d!==y)throw new l("property names with quotes must have matching quotes");if("constructor"!==p&&h||(s=!0),n+="."+p,Y(D,i="%"+n+"%"))a=D[i];else if(null!=a){if(!(p in a)){if(!e)throw new c("base intrinsic for "+t+" exists, but the property is not available.");return}if(w&&f+1>=r.length){var v=w(a,p);a=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:a[p]}else h=Y(a,p),a=a[p];h&&!s&&(D[i]=a)}}return a}},81559:(t,e,r)=>{"use strict";var n=r(53498),o=r(94105),i=Object;t.exports=n(function(){if(this==null||this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0)},81831:t=>{"use strict";var e=Object.prototype.toString,r=Math.max,n=function(t,e){for(var r=[],n=0;n<t.length;n+=1)r[n]=t[n];for(var o=0;o<e.length;o+=1)r[o+t.length]=e[o];return r},o=function(t,e){for(var r=[],n=e||0,o=0;n<t.length;n+=1,o+=1)r[o]=t[n];return r},i=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r};t.exports=function(t){var a,s=this;if("function"!=typeof s||"[object Function]"!==e.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var u=o(arguments,1),l=r(0,s.length-u.length),c=[],f=0;f<l;f++)c[f]="$"+f;if(a=Function("binder","return function ("+i(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var e=s.apply(this,n(u,arguments));return Object(e)===e?e:this}return s.apply(t,n(u,arguments))}),s.prototype){var h=function(){};h.prototype=s.prototype,a.prototype=new h,h.prototype=null}return a}},82922:t=>{"use strict";t.exports=Math.abs},83051:(t,e,r)=>{"use strict";var n=r(65785),o=r(73390),i=r(94105),a=r(27349);t.exports=function(t,e,r){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new i("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],f=!!a&&a(t,e);if(n)n(t,e,{configurable:null===l&&f?f.configurable:!l,enumerable:null===s&&f?f.enumerable:!s,value:r,writable:null===u&&f?f.writable:!u});else if(!c&&(s||u||l))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else t[e]=r}},84666:t=>{"use strict";
2t.exports=ReferenceError},84720:(t,e,r)=>{if(t.exports)var n=r(41085);function o(t,e,r,n){this.epsilon=1,this.minPts=1,this.distance=this._euclideanDistance,this._reachability=[],this._processed=[],this._coreDistance=0,this._orderedList=[],this._init(t,e,r,n)}o.prototype.run=function(t,e,r,o){this._init(t,e,r,o);for(var i=0,a=this.dataset.length;i<a;i++)if(1!==this._processed[i]){this._processed[i]=1,this.clusters.push([i]);var s=this.clusters.length-1;this._orderedList.push(i);var u=new n(null,null,"asc"),l=this._regionQuery(i);void 0!==this._distanceToCore(i)&&(this._updateQueue(i,l,u),this._expandCluster(s,u))}return this.clusters},o.prototype.getReachabilityPlot=function(){for(var t=[],e=0,r=this._orderedList.length;e<r;e++){var n=this._orderedList[e],o=this._reachability[n];t.push([n,o])}return t},o.prototype._init=function(t,e,r,n){if(t){if(!(t instanceof Array))throw Error("Dataset must be of type array, "+typeof t+" given");this.dataset=t,this.clusters=[],this._reachability=Array(this.dataset.length),this._processed=Array(this.dataset.length),this._coreDistance=0,this._orderedList=[]}e&&(this.epsilon=e),r&&(this.minPts=r),n&&(this.distance=n)},o.prototype._updateQueue=function(t,e,r){var n=this;this._coreDistance=this._distanceToCore(t),e.forEach(function(e){if(void 0===n._processed[e]){var o=n.distance(n.dataset[t],n.dataset[e]),i=Math.max(n._coreDistance,o);void 0===n._reachability[e]?(n._reachability[e]=i,r.insert(e,i)):i<n._reachability[e]&&(n._reachability[e]=i,r.remove(e),r.insert(e,i))}})},o.prototype._expandCluster=function(t,e){for(var r=e.getElements(),n=0,o=r.length;n<o;n++){var i=r[n];if(void 0===this._processed[i]){var a=this._regionQuery(i);this._processed[i]=1,this.clusters[t].push(i),this._orderedList.push(i),void 0!==this._distanceToCore(i)&&(this._updateQueue(i,a,e),this._expandCluster(t,e))}}},o.prototype._distanceToCore=function(t){for(var e=this.epsilon,r=0;r<e;r++)if(this._regionQuery(t,r).length>=this.minPts)return r},o.prototype._regionQuery=function(t,e){e=e||this.epsilon;for(var r=[],n=0,o=this.dataset.length;n<o;n++)this.distance(this.dataset[t],this.dataset[n])<e&&r.push(n);return r},o.prototype._euclideanDistance=function(t,e){for(var r=0,n=Math.min(t.length,e.length);n--;)r+=(t[n]-e[n])*(t[n]-e[n]);return Math.sqrt(r)},t.exports&&(t.exports=o)},84766:(t,e,r)=>{"use strict";var n=r(13620),o=n.eudist,i=n.dist;t.exports={kmrand:function(t,e){for(var r={},n=[],o=e<<2,i=t.length,a=t[0].length>0;n.length<e&&o-- >0;){var s=t[Math.floor(Math.random()*i)],u=a?s.join("_"):""+s;r[u]||(r[u]=!0,n.push(s))}if(!(n.length<e))return n;throw Error("Error initializating clusters")},kmpp:function(t,e){var r=t[0].length?o:i,n=[],a=t.length,s=t[0].length>0,u=t[Math.floor(Math.random()*a)];for(s&&u.join("_"),n.push(u);n.length<e;){for(var l=[],c=n.length,f=0,h=[],p=0;p<a;p++){for(var d=1/0,y=0;y<c;y++){var v=r(t[p],n[y]);v<=d&&(d=v)}l[p]=d}for(var g=0;g<a;g++)f+=l[g];for(var m=0;m<a;m++)h[m]={i:m,v:t[m],pr:l[m]/f,cs:0};h.sort(function(t,e){return t.pr-e.pr}),h[0].cs=h[0].pr;for(var x=1;x<a;x++)h[x].cs=h[x-1].cs+h[x].pr;for(var b=Math.random(),w=0;w<a-1&&h[w++].cs<b;);n.push(h[w-1].v)}return n}}},85077:t=>{t.exports=function(t,e,r,n){var o=t[0],i=t[1],a=!1;void 0===r&&(r=0),void 0===n&&(n=e.length);for(var s=(n-r)/2,u=0,l=s-1;u<s;l=u++){var c=e[r+2*u+0],f=e[r+2*u+1],h=e[r+2*l+0],p=e[r+2*l+1];f>i!=p>i&&o<(h-c)*(i-f)/(p-f)+c&&(a=!a)}return a}},86121:t=>{"use strict";t.exports=URIError},86614:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>n});class n{constructor(t=[],e=o){if(this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(let t=(this.length>>1)-1;t>=0;t--)this._down(t)}push(t){this.data.push(t),this.length++,this._up(this.length-1)}pop(){if(0===this.length)return;let t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}peek(){return this.data[0]}_up(t){let{data:e,compare:r}=this,n=e[t];for(;t>0;){let o=t-1>>1,i=e[o];if(r(n,i)>=0)break;e[t]=i,t=o}e[t]=n}_down(t){let{data:e,compare:r}=this,n=this.length>>1,o=e[t];for(;t<n;){let n=(t<<1)+1,i=e[n],a=n+1;if(a<this.length&&0>r(e[a],i)&&(n=a,i=e[a]),r(i,o)>=0)break;e[t]=i,t=n}e[t]=o}}function o(t,e){return t<e?-1:+(t>e)}},86980:function(t){t.exports=function(){"use strict";function t(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function e(t,e){return t<e?-1:+(t>e)}var r=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function n(t,e){o(t,0,t.children.length,e,t)}function o(t,e,r,n,o){o||(o=h(null)),o.minX=1/0,o.minY=1/0,o.maxX=-1/0,o.maxY=-1/0;for(var a=e;a<r;a++){var s=t.children[a];i(o,t.leaf?n(s):s)}return o}function i(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function a(t,e){return t.minX-e.minX}function s(t,e){return t.minY-e.minY}
vendor: 5,569 bytes, line 2
2function u(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function l(t){return t.maxX-t.minX+(t.maxY-t.minY)}function c(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function f(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function h(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function p(r,n,o,i,a){for(var s=[n,o];s.length;)if(!((o=s.pop())-(n=s.pop())<=i)){var u=n+Math.ceil((o-n)/i/2)*i;(function e(r,n,o,i,a){for(;i>o;){if(i-o>600){var s=i-o+1,u=n-o+1,l=Math.log(s),c=.5*Math.exp(2*l/3),f=.5*Math.sqrt(l*c*(s-c)/s)*(u-s/2<0?-1:1),h=Math.max(o,Math.floor(n-u*c/s+f)),p=Math.min(i,Math.floor(n+(s-u)*c/s+f));e(r,n,h,p,a)}var d=r[n],y=o,v=i;for(t(r,o,n),a(r[i],d)>0&&t(r,o,i);y<v;){for(t(r,y,v),y++,v--;0>a(r[y],d);)y++;for(;a(r[v],d)>0;)v--}0===a(r[o],d)?t(r,o,v):t(r,++v,i),v<=n&&(o=v+1),n<=v&&(i=v-1)}})(r,u,n||0,o||r.length-1,a||e),s.push(n,u,u,o)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(t){var e=this.data,r=[];if(!f(t,e))return r;for(var n=this.toBBox,o=[];e;){for(var i=0;i<e.children.length;i++){var a=e.children[i],s=e.leaf?n(a):a;f(t,s)&&(e.leaf?r.push(a):c(t,s)?this._all(a,r):o.push(a))}e=o.pop()}return r},r.prototype.collides=function(t){var e=this.data;if(!f(t,e))return!1;for(var r=[];e;){for(var n=0;n<e.children.length;n++){var o=e.children[n],i=e.leaf?this.toBBox(o):o;if(f(t,i)){if(e.leaf||c(t,i))return!0;r.push(o)}}e=r.pop()}return!1},r.prototype.load=function(t){if(!t||!t.length)return this;if(t.length<this._minEntries){for(var e=0;e<t.length;e++)this.insert(t[e]);return this}var r=this._build(t.slice(),0,t.length-1,0);if(this.data.children.length)if(this.data.height===r.height)this._splitRoot(this.data,r);else{if(this.data.height<r.height){var n=this.data;this.data=r,r=n}this._insert(r,this.data.height-r.height-1,!0)}else this.data=r;return this},r.prototype.insert=function(t){return t&&this._insert(t,this.data.height-1),this},r.prototype.clear=function(){return this.data=h([]),this},r.prototype.remove=function(t,e){if(!t)return this;for(var r,n,o,i=this.data,a=this.toBBox(t),s=[],u=[];i||s.length;){if(i||(i=s.pop(),n=s[s.length-1],r=u.pop(),o=!0),i.leaf){var l=function(t,e,r){if(!r)return e.indexOf(t);for(var n=0;n<e.length;n++)if(r(t,e[n]))return n;return -1}(t,i.children,e);if(-1!==l)return i.children.splice(l,1),s.push(i),this._condense(s),this}o||i.leaf||!c(i,a)?n?(r++,i=n.children[r],o=!1):i=null:(s.push(i),u.push(r),r=0,n=i,i=i.children[0])}return this},r.prototype.toBBox=function(t){return t},r.prototype.compareMinX=function(t,e){return t.minX-e.minX},r.prototype.compareMinY=function(t,e){return t.minY-e.minY},r.prototype.toJSON=function(){return this.data},r.prototype.fromJSON=function(t){return this.data=t,this},r.prototype._all=function(t,e){for(var r=[];t;)t.leaf?e.push.apply(e,t.children):r.push.apply(r,t.children),t=r.pop();return e},r.prototype._build=function(t,e,r,o){var i,a=r-e+1,s=this._maxEntries;if(a<=s)return n(i=h(t.slice(e,r+1)),this.toBBox),i;o||(o=Math.ceil(Math.log(a)/Math.log(s)),s=Math.ceil(a/Math.pow(s,o-1))),(i=h([])).leaf=!1,i.height=o;var u=Math.ceil(a/s),l=u*Math.ceil(Math.sqrt(s));p(t,e,r,l,this.compareMinX);for(var c=e;c<=r;c+=l){var f=Math.min(c+l-1,r);p(t,c,f,u,this.compareMinY);for(var d=c;d<=f;d+=u){var y=Math.min(d+u-1,f);i.children.push(this._build(t,d,y,o-1))}}return n(i,this.toBBox),i},r.prototype._chooseSubtree=function(t,e,r,n){for(;n.push(e),!e.leaf&&n.length-1!==r;){for(var o=1/0,i=1/0,a=void 0,s=0;s<e.children.length;s++){var l=e.children[s],c=u(l),f=(Math.max(l.maxX,t.maxX)-Math.min(l.minX,t.minX))*(Math.max(l.maxY,t.maxY)-Math.min(l.minY,t.minY))-c;f<i?(i=f,o=c<o?c:o,a=l):f===i&&c<o&&(o=c,a=l)}e=a||e.children[0]}return e},r.prototype._insert=function(t,e,r){var n=r?t:this.toBBox(t),o=[],a=this._chooseSubtree(n,this.data,e,o);for(a.children.push(t),i(a,n);e>=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(n,o,e)},r.prototype._split=function(t,e){var r=t[e],o=r.children.length,i=this._minEntries;this._chooseSplitAxis(r,i,o);var a=this._chooseSplitIndex(r,i,o),s=h(r.children.splice(a,r.children.length-a));s.height=r.height,s.leaf=r.leaf,n(r,this.toBBox),n(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(r,s)},r.prototype._splitRoot=function(t,e){this.data=h([t,e]),this.data.height=t.height+1,this.data.leaf=!1,n(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(t,e,r){for(var n,i,a,s,l,c=1/0,f=1/0,h=e;h<=r-e;h++){var p=o(t,0,h,this.toBBox),d=o(t,h,r,this.toBBox),y=(i=void 0,a=void 0,s=void 0,i=Math.max(p.minX,d.minX),a=Math.max(p.minY,d.minY),Math.max(0,(s=Math.min(p.maxX,d.maxX))-i)*Math.max(0,Math.min(p.maxY,d.maxY)-a)),v=u(p)+u(d);y<c?(c=y,n=h,f=v<f?v:f):y===c&&v<f&&(f=v,n=h)}return n||r-e},r.prototype._chooseSplitAxis=function(t,e,r){var n=t.leaf?this.compareMinX:a,o=t.leaf?this.compareMinY:s;this._allDistMargin(t,e,r,n)<this._allDistMargin(t,e,r,o)&&t.children.sort(n)},r.prototype._allDistMargin=function(t,e,r,n){t.children.sort(n);for(var a=this.toBBox,s=o(t,0,e,a),u=o(t,r-e,r,a),c=l(s)+l(u),f=e;f<r-e;f++){var h=t.children[f];i(s,t.leaf?a(h):h),c+=l(s)}for(var p=r-e-1;p>=e;p--){var d=t.children[p];i(u,t.leaf?a(d):d),c+=l(u)}return c},r.prototype._adjustParentBBoxes=function(t,e,r){for(var n=r;n>=0;n--)i(e[n],t)},r.prototype._condense=function(t){for(var e=t.length-1,r=void 0;e>=0;e--)0===t[e].children.length?e>0?(r=t[e-1].children).splice(r.indexOf(t[e]),1):this.clear():n(t[e],this.toBBox)},r}()},87837:(t,e,r)=>
2{var n=r(61219),o=r(11083),i=r(8707),a=r(21581).A,s=i.featureEach;i.coordEach,o.polygon;var u=o.featureCollection;function l(t){var e=new n(t);return e.insert=function(t){if("Feature"!==t.type)throw Error("invalid feature");return t.bbox=t.bbox?t.bbox:a(t),n.prototype.insert.call(this,t)},e.load=function(t){var e=[];return Array.isArray(t)?t.forEach(function(t){if("Feature"!==t.type)throw Error("invalid features");t.bbox=t.bbox?t.bbox:a(t),e.push(t)}):s(t,function(t){if("Feature"!==t.type)throw Error("invalid features");t.bbox=t.bbox?t.bbox:a(t),e.push(t)}),n.prototype.load.call(this,e)},e.remove=function(t,e){if("Feature"!==t.type)throw Error("invalid feature");return t.bbox=t.bbox?t.bbox:a(t),n.prototype.remove.call(this,t,e)},e.clear=function(){return n.prototype.clear.call(this)},e.search=function(t){return u(n.prototype.search.call(this,this.toBBox(t)))},e.collides=function(t){return n.prototype.collides.call(this,this.toBBox(t))},e.all=function(){return u(n.prototype.all.call(this))},e.toJSON=function(){return n.prototype.toJSON.call(this)},e.fromJSON=function(t){return n.prototype.fromJSON.call(this,t)},e.toBBox=function(t){var e;if(t.bbox)e=t.bbox;else if(Array.isArray(t)&&4===t.length)e=t;else if(Array.isArray(t)&&6===t.length)e=[t[0],t[1],t[3],t[4]];else if("Feature"===t.type)e=a(t);else if("FeatureCollection"===t.type)e=a(t);else throw Error("invalid geojson");return{minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]}},e}t.exports=l,t.exports.default=l},88892:t=>{"use strict";var e=function(){return"string"==typeof(function(){}).name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],"length")}catch(t){r=null}e.functionsHaveConfigurableNames=function(){if(!e()||!r)return!1;var t=r(function(){},"name");return!!t&&!!t.configurable};var n=Function.prototype.bind;e.boundFunctionsHaveNames=function(){return e()&&"function"==typeof n&&""!==(function(){}).bind().name},t.exports=e},90035:(t,e,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(16873);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},90123:t=>{"use strict";t.exports=Error},90914:(t,e,r)=>{"use strict";var n=r(65785),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},91374:t=>{"use strict";t.exports=Math.min},91511:(t,e,r)=>{"use strict";r.d(e,{o:()=>p});var n=r(71953),o=r(624),i=r(51760),a=r(51467),s=r(51898),u=r(23600),l=r(73025),c=r(12115),f=r(95155),h=(0,i.ab)(function(t){var e,{store:r,getItem:i}=t,h=(0,u.YG)(t,["store","getItem"]);let p=(0,n.M_)();r=r||p,(0,l.V1)(r,!1);let d=(0,s.Bi)(),y=h.id||d,v=(0,l.$f)(h),g=(0,c.useCallback)(t=>{let e=(0,u.ko)((0,u.IA)({},t),{dimmed:v});return i?i(e):e},[v,i]),m=h.onClick,x=(0,s._q)(t=>{null==m||m(t),t.defaultPrevented||null==r||r.setSelectedId(y)}),b=r.panels.useState(t=>{var e;return null==(e=t.items.find(t=>t.tabId===y))?void 0:e.id}),w=!!d&&h.shouldRegisterItem,E=r.useState(t=>!!y&&t.activeId===y),_=r.useState(t=>!!y&&t.selectedId===y),S=r.useState(t=>!!r.item(t.activeId)),O=E||_&&!S,M=_||null==(e=h.accessibleWhenDisabled)||e;if((0,a.O$)(r.combobox||r.composite,"virtualFocus")&&(h=(0,u.ko)((0,u.IA)({},h),{tabIndex:-1})),h=(0,u.ko)((0,u.IA)({id:y,role:"tab","aria-selected":_,"aria-controls":b||void 0},h),{onClick:x}),r.composite){let t={id:y,accessibleWhenDisabled:M,store:r.composite,shouldRegisterItem:O&&w,rowId:h.rowId,render:h.render};h=(0,u.ko)((0,u.IA)({},h),{render:(0,f.jsx)(o.l,(0,u.ko)((0,u.IA)({},t),{render:r.combobox&&r.composite!==r.combobox?(0,f.jsx)(o.l,(0,u.ko)((0,u.IA)({},t),{store:r.combobox})):t.render}))})}return(0,o.k)((0,u.ko)((0,u.IA)({store:r},h),{accessibleWhenDisabled:M,getItem:g,shouldRegisterItem:w}))}),p=(0,i.ph)((0,i.Rf)(function(t){let e=h(t);return(0,i.n)("button",e)}))},93636:(t,e,r)=>{"use strict";var n=r(16873);t.exports=function(){return n()&&!!Symbol.toStringTag}},93715:t=>{function e(t,e,r){this.k=3,this.dataset=[],this.assignments=[],this.centroids=[],this.init(t,e,r)}e.prototype.init=function(t,e,r){this.assignments=[],this.centroids=[],void 0!==t&&(this.dataset=t),void 0!==e&&(this.k=e),void 0!==r&&(this.distance=r)},e.prototype.run=function(t,e){this.init(t,e);for(var r=this.dataset.length,n=0;n<this.k;n++)this.centroids[n]=this.randomCentroid();for(var o=!0;o;){o=this.assign();for(var i=0;i<this.k;i++){for(var a=Array(c),s=0,u=0;u<c;u++)a[u]=0;for(var l=0;l<r;l++){var c=this.dataset[l].length;if(i===this.assignments[l]){for(var u=0;u<c;u++)a[u]+=this.dataset[l][u];s++}}if(s>0){for(var u=0;u<c;u++)a[u]/=s;this.centroids[i]=a}else this.centroids[i]=this.randomCentroid(),o=!0}}return this.getClusters()},e.prototype.randomCentroid=function(){var t,e,r=this.dataset.length-1;do e=Math.round(Math.random()*r),t=this.dataset[e];while(this.centroids.indexOf(t)>=0);return t},e.prototype.assign=function(){for(var t,e=!1,r=this.dataset.length,n=0;n<r;n++)(t=this.argmin(this.dataset[n],this.centroids,this.distance))!=this.assignments[n]&&(this.assignments[n]=t,e=!0);return e},e.prototype.getClusters=function(){for(var t,e=Array(this.k),r=0;r<this.assignments.length;r++)void 0===e[t=this.assignments[r]]&&(e[t]=[]),e[t].push(r);return e},e.prototype.argmin=function(t,e,r){for(var n,o=Number.MAX_VALUE,i=0,a=e.length,s=0;s<a;s++)(n=r(t,e[s]))<o&&(o=n,i=s);return i},e.prototype.distance=function(t,e){for(var r=0,n=Math.min(t.length,e.length);n--;){var o=t[n]-e[n];r+=o*o}return Math.sqrt(r)},t.exports&&(t.exports=e)},93740:(t,e,r)=>{"use strict";
2var n=r(86980),o=r(86614),i=r(45514),a=r(73133).orient2d;function s(t,e,r){e=Math.max(0,void 0===e?2:e),r=r||0;var a=function(t){for(var e=t[0],r=t[0],n=t[0],o=t[0],a=0;a<t.length;a++){var s=t[a];s[0]<e[0]&&(e=s),s[0]>n[0]&&(n=s),s[1]<r[1]&&(r=s),s[1]>o[1]&&(o=s)}var u=[e,r,n,o],l=u.slice();for(a=0;a<t.length;a++)i(t[a],u)||l.push(t[a]);var c=l;c.sort(g);for(var h=[],p=0;p<c.length;p++){for(;h.length>=2&&0>=f(h[h.length-2],h[h.length-1],c[p]);)h.pop();h.push(c[p])}for(var d=[],y=c.length-1;y>=0;y--){for(;d.length>=2&&0>=f(d[d.length-2],d[d.length-1],c[y]);)d.pop();d.push(c[y])}return d.pop(),h.pop(),h.concat(d)}(t),s=new n(16);s.toBBox=function(t){return{minX:t[0],minY:t[1],maxX:t[0],maxY:t[1]}},s.compareMinX=function(t,e){return t[0]-e[0]},s.compareMinY=function(t,e){return t[1]-e[1]},s.load(t);for(var m,x=[],b=0;b<a.length;b++){var w=a[b];s.remove(w),m=p(w,m),x.push(m)}var E=new n(16);for(b=0;b<x.length;b++)E.insert(h(x[b]));for(var _=e*e,S=r*r;x.length;){var O=x.shift(),M=O.p,P=O.next.p,A=d(M,P);if(!(A<S)){var k=A/_;(w=function(t,e,r,n,i,a,s){for(var f=new o([],u),h=t.data;h;){for(var p=0;p<h.children.length;p++){var d=h.children[p],g=h.leaf?y(d,r,n):function(t,e,r){if(l(t,r)||l(e,r))return 0;var n=v(t[0],t[1],e[0],e[1],r.minX,r.minY,r.maxX,r.minY);if(0===n)return 0;var o=v(t[0],t[1],e[0],e[1],r.minX,r.minY,r.minX,r.maxY);if(0===o)return 0;var i=v(t[0],t[1],e[0],e[1],r.maxX,r.minY,r.maxX,r.maxY);if(0===i)return 0;var a=v(t[0],t[1],e[0],e[1],r.minX,r.maxY,r.maxX,r.maxY);return 0===a?0:Math.min(n,o,i,a)}(r,n,d);g>a||f.push({node:d,dist:g})}for(;f.length&&!f.peek().node.children;){var m=f.pop(),x=m.node,b=y(x,e,r),w=y(x,n,i);if(m.dist<b&&m.dist<w&&c(r,x,s)&&c(n,x,s))return x}(h=f.pop())&&(h=h.node)}return null}(s,O.prev.p,M,P,O.next.next.p,k,E))&&Math.min(d(w,M),d(w,P))<=k&&(x.push(O),x.push(p(w,O)),s.remove(w),E.remove(O),E.insert(h(O)),E.insert(h(O.next)))}}O=m;var j=[];do j.push(O.p),O=O.next;while(O!==m);return j.push(O.p),j}function u(t,e){return t.dist-e.dist}function l(t,e){return t[0]>=e.minX&&t[0]<=e.maxX&&t[1]>=e.minY&&t[1]<=e.maxY}function c(t,e,r){for(var n,o,i,a,s=Math.min(t[0],e[0]),u=Math.min(t[1],e[1]),l=Math.max(t[0],e[0]),c=Math.max(t[1],e[1]),h=r.search({minX:s,minY:u,maxX:l,maxY:c}),p=0;p<h.length;p++){if(n=h[p].p,o=h[p].next.p,i=t,n!==(a=e)&&o!==i&&f(n,o,i)>0!=f(n,o,a)>0&&f(i,a,n)>0!=f(i,a,o)>0)return!1}return!0}function f(t,e,r){return a(t[0],t[1],e[0],e[1],r[0],r[1])}function h(t){var e=t.p,r=t.next.p;return t.minX=Math.min(e[0],r[0]),t.minY=Math.min(e[1],r[1]),t.maxX=Math.max(e[0],r[0]),t.maxY=Math.max(e[1],r[1]),t}function p(t,e){var r={p:t,prev:null,next:null,minX:0,minY:0,maxX:0,maxY:0};return e?(r.next=e.next,r.prev=e,e.next.prev=r,e.next=r):(r.prev=r,r.next=r),r}function d(t,e){var r=t[0]-e[0],n=t[1]-e[1];return r*r+n*n}function y(t,e,r){var n=e[0],o=e[1],i=r[0]-n,a=r[1]-o;if(0!==i||0!==a){var s=((t[0]-n)*i+(t[1]-o)*a)/(i*i+a*a);s>1?(n=r[0],o=r[1]):s>0&&(n+=i*s,o+=a*s)}return(i=t[0]-n)*i+(a=t[1]-o)*a}function v(t,e,r,n,o,i,a,s){var u,l,c,f,h=r-t,p=n-e,d=a-o,y=s-i,v=t-o,g=e-i,m=h*h+p*p,x=h*d+p*y,b=d*d+y*y,w=h*v+p*g,E=d*v+y*g,_=m*b-x*x,S=_,O=_;0===_?(l=0,S=1,f=E,O=b):(l=x*E-b*w,f=m*E-x*w,l<0?(l=0,f=E,O=b):l>S&&(l=S,f=E+x,O=b)),f<0?(f=0,0>-w?l=0:-w>m?l=S:(l=-w,S=m)):f>O&&(f=O,-w+x<0?l=0:-w+x>m?l=S:(l=-w+x,S=m)),u=0===l?0:l/S;var M=(1-(c=0===f?0:f/O))*o+c*a-((1-u)*t+u*r),P=(1-c)*i+c*s-((1-u)*e+u*n);return M*M+P*P}function g(t,e){return t[0]===e[0]?t[1]-e[1]:t[0]-e[0]}o.default&&(o=o.default),t.exports=s,t.exports.default=s},94105:t=>{"use strict";t.exports=TypeError},98735:(t,e,r)=>{"use strict";var n=r(37971);t.exports=function(t){return n(t)||0===t?t:t<0?-1:1}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.