From 7ccc8cdbdc9a56e4cff1c5d3740141171c9a516e Mon Sep 17 00:00:00 2001 From: bartwr Date: Thu, 9 May 2024 11:41:50 +0200 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/{main.52052d48.js => main.0335a3ff.js} | 6 +++--- ...52052d48.js.LICENSE.txt => main.0335a3ff.js.LICENSE.txt} | 0 static/js/{main.52052d48.js.map => main.0335a3ff.js.map} | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) rename static/js/{main.52052d48.js => main.0335a3ff.js} (99%) rename static/js/{main.52052d48.js.LICENSE.txt => main.0335a3ff.js.LICENSE.txt} (100%) rename static/js/{main.52052d48.js.map => main.0335a3ff.js.map} (99%) diff --git a/asset-manifest.json b/asset-manifest.json index 19fcd57c..2589be21 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/static/css/main.c5429385.css", - "main.js": "/static/js/main.52052d48.js", + "main.js": "/static/js/main.0335a3ff.js", "static/js/200.12a20215.chunk.js": "/static/js/200.12a20215.chunk.js", "static/js/539.6d1aa9bb.chunk.js": "/static/js/539.6d1aa9bb.chunk.js", "static/js/787.a0871968.chunk.js": "/static/js/787.a0871968.chunk.js", @@ -40,13 +40,13 @@ "static/media/search-solid.svg": "/static/media/search-solid.6b31fe2388f30dcac021.svg", "static/media/controls-zoom-out.svg": "/static/media/controls-zoom-out.b83ce275d7125aca58c8.svg", "main.c5429385.css.map": "/static/css/main.c5429385.css.map", - "main.52052d48.js.map": "/static/js/main.52052d48.js.map", + "main.0335a3ff.js.map": "/static/js/main.0335a3ff.js.map", "200.12a20215.chunk.js.map": "/static/js/200.12a20215.chunk.js.map", "539.6d1aa9bb.chunk.js.map": "/static/js/539.6d1aa9bb.chunk.js.map", "787.a0871968.chunk.js.map": "/static/js/787.a0871968.chunk.js.map" }, "entrypoints": [ "static/css/main.c5429385.css", - "static/js/main.52052d48.js" + "static/js/main.0335a3ff.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index a230cc86..bb39810f 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Dashboard Deelmobiliteit | Een project van en voor overheden
\ No newline at end of file +Dashboard Deelmobiliteit | Een project van en voor overheden
\ No newline at end of file diff --git a/static/js/main.52052d48.js b/static/js/main.0335a3ff.js similarity index 99% rename from static/js/main.52052d48.js rename to static/js/main.0335a3ff.js index 108c3166..e4fd7410 100644 --- a/static/js/main.52052d48.js +++ b/static/js/main.0335a3ff.js @@ -1,3 +1,3 @@ -/*! For license information please see main.52052d48.js.LICENSE.txt */ -(()=>{var e={6351:e=>{var t=e.exports={};t.onSetup=function(){return this.setActionableState(),{}},t.toDisplayFeatures=function(e,t,n){n(t)}},4434:function(e,t,n){e.exports=function(){"use strict";var e=function(e,t){var n={drag:[],click:[],mousemove:[],mousedown:[],mouseup:[],mouseout:[],keydown:[],keyup:[],touchstart:[],touchmove:[],touchend:[],tap:[]},r={on:function(e,t,r){if(void 0===n[e])throw new Error("Invalid event type: "+e);n[e].push({selector:t,fn:r})},render:function(e){t.store.featureChanged(e)}},o=function(e,o){for(var i=n[e],a=i.length;a--;){var s=i[a];if(s.selector(o)){s.fn.call(r,o)||t.store.render(),t.ui.updateMapClasses();break}}};return e.start.call(r),{render:e.render,stop:function(){e.stop&&e.stop()},trash:function(){e.trash&&(e.trash(),t.store.render())},combineFeatures:function(){e.combineFeatures&&e.combineFeatures()},uncombineFeatures:function(){e.uncombineFeatures&&e.uncombineFeatures()},drag:function(e){o("drag",e)},click:function(e){o("click",e)},mousemove:function(e){o("mousemove",e)},mousedown:function(e){o("mousedown",e)},mouseup:function(e){o("mouseup",e)},mouseout:function(e){o("mouseout",e)},keydown:function(e){o("keydown",e)},keyup:function(e){o("keyup",e)},touchstart:function(e){o("touchstart",e)},touchmove:function(e){o("touchmove",e)},touchend:function(e){o("touchend",e)},tap:function(e){o("tap",e)}}};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var o={},i={RADIUS:6378137,FLATTENING:1/298.257223563,POLAR_RADIUS:6356752.3142};function a(e){var t=0;if(e&&e.length>0){t+=Math.abs(s(e[0]));for(var n=1;n2){for(s=0;s=Math.pow(2,e)?D(e,t):i};D.rack=function(e,t,n){var r=function(r){var i=0;do{if(i++>10){if(!n)throw new Error("too many ID collisions, use more bits");e+=n}var a=D(e,t)}while(Object.hasOwnProperty.call(o,a));return o[a]=r,a},o=r.hats={};return r.get=function(e){return r.hats[e]},r.set=function(e,t){return r.hats[e]=t,r},r.bits=e||128,r.base=t||16,r};var C=t(R.exports),N=function(e,t){this.ctx=e,this.properties=t.properties||{},this.coordinates=t.geometry.coordinates,this.id=t.id||C(),this.type=t.geometry.type};N.prototype.changed=function(){this.ctx.store.featureChanged(this.id)},N.prototype.incomingCoords=function(e){this.setCoordinates(e)},N.prototype.setCoordinates=function(e){this.coordinates=e,this.changed()},N.prototype.getCoordinates=function(){return JSON.parse(JSON.stringify(this.coordinates))},N.prototype.setProperty=function(e,t){this.properties[e]=t},N.prototype.toGeoJSON=function(){return JSON.parse(JSON.stringify({id:this.id,type:A.FEATURE,properties:this.properties,geometry:{coordinates:this.getCoordinates(),type:this.type}}))},N.prototype.internal=function(e){var t={id:this.id,meta:m.FEATURE,"meta:type":this.type,active:M.INACTIVE,mode:e};if(this.ctx.options.userProperties)for(var n in this.properties)t["user_"+n]=this.properties[n];return{type:A.FEATURE,properties:t,geometry:{coordinates:this.getCoordinates(),type:this.type}}};var P=function(e,t){N.call(this,e,t)};(P.prototype=Object.create(N.prototype)).isValid=function(){return"number"==typeof this.coordinates[0]&&"number"==typeof this.coordinates[1]},P.prototype.updateCoordinate=function(e,t,n){this.coordinates=3===arguments.length?[t,n]:[e,t],this.changed()},P.prototype.getCoordinate=function(){return this.getCoordinates()};var j=function(e,t){N.call(this,e,t)};(j.prototype=Object.create(N.prototype)).isValid=function(){return this.coordinates.length>1},j.prototype.addCoordinate=function(e,t,n){this.changed();var r=parseInt(e,10);this.coordinates.splice(r,0,[t,n])},j.prototype.getCoordinate=function(e){var t=parseInt(e,10);return JSON.parse(JSON.stringify(this.coordinates[t]))},j.prototype.removeCoordinate=function(e){this.changed(),this.coordinates.splice(parseInt(e,10),1)},j.prototype.updateCoordinate=function(e,t,n){var r=parseInt(e,10);this.coordinates[r]=[t,n],this.changed()};var B=function(e,t){N.call(this,e,t),this.coordinates=this.coordinates.map((function(e){return e.slice(0,-1)}))};(B.prototype=Object.create(N.prototype)).isValid=function(){return 0!==this.coordinates.length&&this.coordinates.every((function(e){return e.length>2}))},B.prototype.incomingCoords=function(e){this.coordinates=e.map((function(e){return e.slice(0,-1)})),this.changed()},B.prototype.setCoordinates=function(e){this.coordinates=e,this.changed()},B.prototype.addCoordinate=function(e,t,n){this.changed();var r=e.split(".").map((function(e){return parseInt(e,10)}));this.coordinates[r[0]].splice(r[1],0,[t,n])},B.prototype.removeCoordinate=function(e){this.changed();var t=e.split(".").map((function(e){return parseInt(e,10)})),n=this.coordinates[t[0]];n&&(n.splice(t[1],1),n.length<3&&this.coordinates.splice(t[0],1))},B.prototype.getCoordinate=function(e){var t=e.split(".").map((function(e){return parseInt(e,10)})),n=this.coordinates[t[0]];return JSON.parse(JSON.stringify(n[t[1]]))},B.prototype.getCoordinates=function(){return this.coordinates.map((function(e){return e.concat([e[0]])}))},B.prototype.updateCoordinate=function(e,t,n){this.changed();var r=e.split("."),o=parseInt(r[0],10),i=parseInt(r[1],10);void 0===this.coordinates[o]&&(this.coordinates[o]=[]),this.coordinates[o][i]=[t,n]};var I={MultiPoint:P,MultiLineString:j,MultiPolygon:B},F=function(e,t,n,r,o){var i=n.split("."),a=parseInt(i[0],10),s=i[1]?i.slice(1).join("."):null;return e[a][t](s,r,o)},Y=function(e,t){if(N.call(this,e,t),delete this.coordinates,this.model=I[t.geometry.type],void 0===this.model)throw new TypeError(t.geometry.type+" is not a valid type");this.features=this._coordinatesToFeatures(t.geometry.coordinates)};function X(e){this.map=e.map,this.drawConfig=JSON.parse(JSON.stringify(e.options||{})),this._ctx=e}(Y.prototype=Object.create(N.prototype))._coordinatesToFeatures=function(e){var t=this,n=this.model.bind(this);return e.map((function(e){return new n(t.ctx,{id:C(),type:A.FEATURE,properties:{},geometry:{coordinates:e,type:t.type.replace("Multi","")}})}))},Y.prototype.isValid=function(){return this.features.every((function(e){return e.isValid()}))},Y.prototype.setCoordinates=function(e){this.features=this._coordinatesToFeatures(e),this.changed()},Y.prototype.getCoordinate=function(e){return F(this.features,"getCoordinate",e)},Y.prototype.getCoordinates=function(){return JSON.parse(JSON.stringify(this.features.map((function(e){return e.type===A.POLYGON?e.getCoordinates():e.coordinates}))))},Y.prototype.updateCoordinate=function(e,t,n){F(this.features,"updateCoordinate",e,t,n),this.changed()},Y.prototype.addCoordinate=function(e,t,n){F(this.features,"addCoordinate",e,t,n),this.changed()},Y.prototype.removeCoordinate=function(e){F(this.features,"removeCoordinate",e),this.changed()},Y.prototype.getFeatures=function(){return this.features},X.prototype.setSelected=function(e){return this._ctx.store.setSelected(e)},X.prototype.setSelectedCoordinates=function(e){var t=this;this._ctx.store.setSelectedCoordinates(e),e.reduce((function(e,n){return void 0===e[n.feature_id]&&(e[n.feature_id]=!0,t._ctx.store.get(n.feature_id).changed()),e}),{})},X.prototype.getSelected=function(){return this._ctx.store.getSelected()},X.prototype.getSelectedIds=function(){return this._ctx.store.getSelectedIds()},X.prototype.isSelected=function(e){return this._ctx.store.isSelected(e)},X.prototype.getFeature=function(e){return this._ctx.store.get(e)},X.prototype.select=function(e){return this._ctx.store.select(e)},X.prototype.deselect=function(e){return this._ctx.store.deselect(e)},X.prototype.deleteFeature=function(e,t){return void 0===t&&(t={}),this._ctx.store.delete(e,t)},X.prototype.addFeature=function(e){return this._ctx.store.add(e)},X.prototype.clearSelectedFeatures=function(){return this._ctx.store.clearSelected()},X.prototype.clearSelectedCoordinates=function(){return this._ctx.store.clearSelectedCoordinates()},X.prototype.setActionableState=function(e){void 0===e&&(e={});var t={trash:e.trash||!1,combineFeatures:e.combineFeatures||!1,uncombineFeatures:e.uncombineFeatures||!1};return this._ctx.events.actionable(t)},X.prototype.changeMode=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this._ctx.events.changeMode(e,t,n)},X.prototype.updateUIClasses=function(e){return this._ctx.ui.queueMapClasses(e)},X.prototype.activateUIButton=function(e){return this._ctx.ui.setActiveButton(e)},X.prototype.featuresAt=function(e,t,n){if(void 0===n&&(n="click"),"click"!==n&&"touch"!==n)throw new Error("invalid buffer type");return k[n](e,t,this._ctx)},X.prototype.newFeature=function(e){var t=e.geometry.type;return t===A.POINT?new P(this._ctx,e):t===A.LINE_STRING?new j(this._ctx,e):t===A.POLYGON?new B(this._ctx,e):new Y(this._ctx,e)},X.prototype.isInstanceOf=function(e,t){if(e===A.POINT)return t instanceof P;if(e===A.LINE_STRING)return t instanceof j;if(e===A.POLYGON)return t instanceof B;if("MultiFeature"===e)return t instanceof Y;throw new Error("Unknown feature class: "+e)},X.prototype.doRender=function(e){return this._ctx.store.featureChanged(e)},X.prototype.onSetup=function(){},X.prototype.onDrag=function(){},X.prototype.onClick=function(){},X.prototype.onMouseMove=function(){},X.prototype.onMouseDown=function(){},X.prototype.onMouseUp=function(){},X.prototype.onMouseOut=function(){},X.prototype.onKeyUp=function(){},X.prototype.onKeyDown=function(){},X.prototype.onTouchStart=function(){},X.prototype.onTouchMove=function(){},X.prototype.onTouchEnd=function(){},X.prototype.onTap=function(){},X.prototype.onStop=function(){},X.prototype.onTrash=function(){},X.prototype.onCombineFeature=function(){},X.prototype.onUncombineFeature=function(){},X.prototype.toDisplayFeatures=function(){throw new Error("You must overwrite toDisplayFeatures")};var H={drag:"onDrag",click:"onClick",mousemove:"onMouseMove",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseout:"onMouseOut",keyup:"onKeyUp",keydown:"onKeyDown",touchstart:"onTouchStart",touchmove:"onTouchMove",touchend:"onTouchEnd",tap:"onTap"},U=Object.keys(H);function V(e){var t=Object.keys(e);return function(n,r){void 0===r&&(r={});var o={},i=t.reduce((function(t,n){return t[n]=e[n],t}),new X(n));return{start:function(){var t=this;o=i.onSetup(r),U.forEach((function(n){var r,a=H[n],s=function(){return!1};e[a]&&(s=function(){return!0}),t.on(n,s,(r=a,function(e){return i[r](o,e)}))}))},stop:function(){i.onStop(o)},trash:function(){i.onTrash(o)},combineFeatures:function(){i.onCombineFeatures(o)},uncombineFeatures:function(){i.onUncombineFeatures(o)},render:function(e,t){i.toDisplayFeatures(o,e,t)}}}}function G(e){return[].concat(e).filter((function(e){return void 0!==e}))}function Z(){var e=this;if(!e.ctx.map||void 0===e.ctx.map.getSource(u.HOT))return c();var t=e.ctx.events.currentModeName();e.ctx.ui.queueMapClasses({mode:t});var n=[],r=[];e.isDirty?r=e.getAllIds():(n=e.getChangedIds().filter((function(t){return void 0!==e.get(t)})),r=e.sources.hot.filter((function(t){return t.properties.id&&-1===n.indexOf(t.properties.id)&&void 0!==e.get(t.properties.id)})).map((function(e){return e.properties.id}))),e.sources.hot=[];var o=e.sources.cold.length;e.sources.cold=e.isDirty?[]:e.sources.cold.filter((function(e){var t=e.properties.id||e.properties.parent;return-1===n.indexOf(t)}));var i=o!==e.sources.cold.length||r.length>0;function a(n,r){var o=e.get(n).internal(t);e.ctx.events.currentModeRender(o,(function(t){e.sources[r].push(t)}))}if(n.forEach((function(e){return a(e,"hot")})),r.forEach((function(e){return a(e,"cold")})),i&&e.ctx.map.getSource(u.COLD).setData({type:A.FEATURE_COLLECTION,features:e.sources.cold}),e.ctx.map.getSource(u.HOT).setData({type:A.FEATURE_COLLECTION,features:e.sources.hot}),e._emitSelectionChange&&(e.ctx.map.fire(f.SELECTION_CHANGE,{features:e.getSelected().map((function(e){return e.toGeoJSON()})),points:e.getSelectedCoordinates().map((function(e){return{type:A.FEATURE,properties:{},geometry:{type:A.POINT,coordinates:e.coordinates}}}))}),e._emitSelectionChange=!1),e._deletedFeaturesToEmit.length){var s=e._deletedFeaturesToEmit.map((function(e){return e.toGeoJSON()}));e._deletedFeaturesToEmit=[],e.ctx.map.fire(f.DELETE,{features:s})}function c(){e.isDirty=!1,e.clearChangedIds()}c(),e.ctx.map.fire(f.RENDER,{})}function Q(e){var t,n=this;this._features={},this._featureIds=new x,this._selectedFeatureIds=new x,this._selectedCoordinates=[],this._changedFeatureIds=new x,this._deletedFeaturesToEmit=[],this._emitSelectionChange=!1,this._mapInitialConfig={},this.ctx=e,this.sources={hot:[],cold:[]},this.render=function(){t||(t=requestAnimationFrame((function(){t=null,Z.call(n)})))},this.isDirty=!1}function K(e,t){var n=e._selectedCoordinates.filter((function(t){return e._selectedFeatureIds.has(t.feature_id)}));e._selectedCoordinates.length===n.length||t.silent||(e._emitSelectionChange=!0),e._selectedCoordinates=n}Q.prototype.createRenderBatch=function(){var e=this,t=this.render,n=0;return this.render=function(){n++},function(){e.render=t,n>0&&e.render()}},Q.prototype.setDirty=function(){return this.isDirty=!0,this},Q.prototype.featureChanged=function(e){return this._changedFeatureIds.add(e),this},Q.prototype.getChangedIds=function(){return this._changedFeatureIds.values()},Q.prototype.clearChangedIds=function(){return this._changedFeatureIds.clear(),this},Q.prototype.getAllIds=function(){return this._featureIds.values()},Q.prototype.add=function(e){return this.featureChanged(e.id),this._features[e.id]=e,this._featureIds.add(e.id),this},Q.prototype.delete=function(e,t){var n=this;return void 0===t&&(t={}),G(e).forEach((function(e){n._featureIds.has(e)&&(n._featureIds.delete(e),n._selectedFeatureIds.delete(e),t.silent||-1===n._deletedFeaturesToEmit.indexOf(n._features[e])&&n._deletedFeaturesToEmit.push(n._features[e]),delete n._features[e],n.isDirty=!0)})),K(this,t),this},Q.prototype.get=function(e){return this._features[e]},Q.prototype.getAll=function(){var e=this;return Object.keys(this._features).map((function(t){return e._features[t]}))},Q.prototype.select=function(e,t){var n=this;return void 0===t&&(t={}),G(e).forEach((function(e){n._selectedFeatureIds.has(e)||(n._selectedFeatureIds.add(e),n._changedFeatureIds.add(e),t.silent||(n._emitSelectionChange=!0))})),this},Q.prototype.deselect=function(e,t){var n=this;return void 0===t&&(t={}),G(e).forEach((function(e){n._selectedFeatureIds.has(e)&&(n._selectedFeatureIds.delete(e),n._changedFeatureIds.add(e),t.silent||(n._emitSelectionChange=!0))})),K(this,t),this},Q.prototype.clearSelected=function(e){return void 0===e&&(e={}),this.deselect(this._selectedFeatureIds.values(),{silent:e.silent}),this},Q.prototype.setSelected=function(e,t){var n=this;return void 0===t&&(t={}),e=G(e),this.deselect(this._selectedFeatureIds.values().filter((function(t){return-1===e.indexOf(t)})),{silent:t.silent}),this.select(e.filter((function(e){return!n._selectedFeatureIds.has(e)})),{silent:t.silent}),this},Q.prototype.setSelectedCoordinates=function(e){return this._selectedCoordinates=e,this._emitSelectionChange=!0,this},Q.prototype.clearSelectedCoordinates=function(){return this._selectedCoordinates=[],this._emitSelectionChange=!0,this},Q.prototype.getSelectedIds=function(){return this._selectedFeatureIds.values()},Q.prototype.getSelected=function(){var e=this;return this._selectedFeatureIds.values().map((function(t){return e.get(t)}))},Q.prototype.getSelectedCoordinates=function(){var e=this;return this._selectedCoordinates.map((function(t){return{coordinates:e.get(t.feature_id).getCoordinate(t.coord_path)}}))},Q.prototype.isSelected=function(e){return this._selectedFeatureIds.has(e)},Q.prototype.setFeatureProperty=function(e,t,n){this.get(e).setProperty(t,n),this.featureChanged(e)},Q.prototype.storeMapConfig=function(){var e=this;g.forEach((function(t){e.ctx.map[t]&&(e._mapInitialConfig[t]=e.ctx.map[t].isEnabled())}))},Q.prototype.restoreMapConfig=function(){var e=this;Object.keys(this._mapInitialConfig).forEach((function(t){e._mapInitialConfig[t]?e.ctx.map[t].enable():e.ctx.map[t].disable()}))},Q.prototype.getInitialConfigValue=function(e){return void 0===this._mapInitialConfig[e]||this._mapInitialConfig[e]};var J=function(){for(var e=arguments,t={},n=0;n=48&&e<=57)};function l(r,o,i){void 0===i&&(i={}),s.stop();var c=n[r];if(void 0===c)throw new Error(r+" is not valid");a=r;var l=c(t,o);s=e(l,t),i.silent||t.map.fire(f.MODE_CHANGE,{mode:r}),t.store.setDirty(),t.store.render()}i.keydown=function(e){(e.srcElement||e.target).classList.contains("mapboxgl-canvas")&&(8!==e.keyCode&&46!==e.keyCode||!t.options.controls.trash?c(e.keyCode)?s.keydown(e):49===e.keyCode&&t.options.controls.point?l(h.DRAW_POINT):50===e.keyCode&&t.options.controls.line_string?l(h.DRAW_LINE_STRING):51===e.keyCode&&t.options.controls.polygon&&l(h.DRAW_POLYGON):(e.preventDefault(),s.trash()))},i.keyup=function(e){c(e.keyCode)&&s.keyup(e)},i.zoomend=function(){t.store.changeZoom()},i.data=function(e){if("style"===e.dataType){var n=t.setup,r=t.map,o=t.options,i=t.store;o.styles.some((function(e){return r.getLayer(e.id)}))||(n.addLayers(),i.setDirty(),i.render())}};var u={trash:!1,combineFeatures:!1,uncombineFeatures:!1};return{start:function(){a=t.options.defaultMode,s=e(n[a](t),t)},changeMode:l,actionable:function(e){var n=!1;Object.keys(e).forEach((function(t){if(void 0===u[t])throw new Error("Invalid action type");u[t]!==e[t]&&(n=!0),u[t]=e[t]})),n&&t.map.fire(f.ACTIONABLE,{actions:u})},currentModeName:function(){return a},currentModeRender:function(e,t){return s.render(e,t)},fire:function(e,t){i[e]&&i[e](t)},addEventListeners:function(){t.map.on("mousemove",i.mousemove),t.map.on("mousedown",i.mousedown),t.map.on("mouseup",i.mouseup),t.map.on("data",i.data),t.map.on("touchmove",i.touchmove),t.map.on("touchstart",i.touchstart),t.map.on("touchend",i.touchend),t.container.addEventListener("mouseout",i.mouseout),t.options.keybindings&&(t.container.addEventListener("keydown",i.keydown),t.container.addEventListener("keyup",i.keyup))},removeEventListeners:function(){t.map.off("mousemove",i.mousemove),t.map.off("mousedown",i.mousedown),t.map.off("mouseup",i.mouseup),t.map.off("data",i.data),t.map.off("touchmove",i.touchmove),t.map.off("touchstart",i.touchstart),t.map.off("touchend",i.touchend),t.container.removeEventListener("mouseout",i.mouseout),t.options.keybindings&&(t.container.removeEventListener("keydown",i.keydown),t.container.removeEventListener("keyup",i.keyup))},trash:function(e){s.trash(e)},combineFeatures:function(){s.combineFeatures()},uncombineFeatures:function(){s.uncombineFeatures()},getMode:function(){return a}}}(t),t.ui=function(e){var t={},n=null,r={mode:null,feature:null,mouse:null},o={mode:null,feature:null,mouse:null};function i(e){o=ee(o,e)}function a(){var t,n;if(e.container){var i=[],a=[];te.forEach((function(e){o[e]!==r[e]&&(i.push(e+"-"+r[e]),null!==o[e]&&a.push(e+"-"+o[e]))})),i.length>0&&(t=e.container.classList).remove.apply(t,i),a.length>0&&(n=e.container.classList).add.apply(n,a),r=ee(r,o)}}function s(e,t){void 0===t&&(t={});var r=document.createElement("button");return r.className=l.CONTROL_BUTTON+" "+t.className,r.setAttribute("title",t.title),t.container.appendChild(r),r.addEventListener("click",(function(r){if(r.preventDefault(),r.stopPropagation(),r.target===n)return c(),void t.onDeactivate();u(e),t.onActivate()}),!0),r}function c(){n&&(n.classList.remove(l.ACTIVE_BUTTON),n=null)}function u(e){c();var r=t[e];r&&r&&"trash"!==e&&(r.classList.add(l.ACTIVE_BUTTON),n=r)}return{setActiveButton:u,queueMapClasses:i,updateMapClasses:a,clearMapClasses:function(){i({mode:null,feature:null,mouse:null}),a()},addButtons:function(){var n=e.options.controls,r=document.createElement("div");return r.className=l.CONTROL_GROUP+" "+l.CONTROL_BASE,n?(n[d.LINE]&&(t[d.LINE]=s(d.LINE,{container:r,className:l.CONTROL_BUTTON_LINE,title:"LineString tool "+(e.options.keybindings?"(l)":""),onActivate:function(){return e.events.changeMode(h.DRAW_LINE_STRING)},onDeactivate:function(){return e.events.trash()}})),n[d.POLYGON]&&(t[d.POLYGON]=s(d.POLYGON,{container:r,className:l.CONTROL_BUTTON_POLYGON,title:"Polygon tool "+(e.options.keybindings?"(p)":""),onActivate:function(){return e.events.changeMode(h.DRAW_POLYGON)},onDeactivate:function(){return e.events.trash()}})),n[d.POINT]&&(t[d.POINT]=s(d.POINT,{container:r,className:l.CONTROL_BUTTON_POINT,title:"Marker tool "+(e.options.keybindings?"(m)":""),onActivate:function(){return e.events.changeMode(h.DRAW_POINT)},onDeactivate:function(){return e.events.trash()}})),n.trash&&(t.trash=s("trash",{container:r,className:l.CONTROL_BUTTON_TRASH,title:"Delete",onActivate:function(){e.events.trash()}})),n.combine_features&&(t.combine_features=s("combineFeatures",{container:r,className:l.CONTROL_BUTTON_COMBINE_FEATURES,title:"Combine",onActivate:function(){e.events.combineFeatures()}})),n.uncombine_features&&(t.uncombine_features=s("uncombineFeatures",{container:r,className:l.CONTROL_BUTTON_UNCOMBINE_FEATURES,title:"Uncombine",onActivate:function(){e.events.uncombineFeatures()}})),r):r},removeButtons:function(){Object.keys(t).forEach((function(e){var n=t[e];n.parentNode&&n.parentNode.removeChild(n),delete t[e]}))}}}(t),t.container=i.getContainer(),t.store=new Q(t),n=t.ui.addButtons(),t.options.boxSelect&&(t.boxZoomInitial=i.boxZoom.isEnabled(),i.boxZoom.disable(),i.dragPan.disable(),i.dragPan.enable()),i.loaded()?o.connect():(i.on("load",o.connect),r=setInterval((function(){i.loaded()&&o.connect()}),16)),t.events.start(),n},addLayers:function(){t.map.addSource(u.COLD,{data:{type:A.FEATURE_COLLECTION,features:[]},type:"geojson"}),t.map.addSource(u.HOT,{data:{type:A.FEATURE_COLLECTION,features:[]},type:"geojson"}),t.options.styles.forEach((function(e){t.map.addLayer(e)})),t.store.setDirty(!0),t.store.render()},removeLayers:function(){t.options.styles.forEach((function(e){t.map.getLayer(e.id)&&t.map.removeLayer(e.id)})),t.map.getSource(u.COLD)&&t.map.removeSource(u.COLD),t.map.getSource(u.HOT)&&t.map.removeSource(u.HOT)}};return t.setup=o,o}var re=[{id:"gl-draw-polygon-fill-inactive",type:"fill",filter:["all",["==","active","false"],["==","$type","Polygon"],["!=","mode","static"]],paint:{"fill-color":"#3bb2d0","fill-outline-color":"#3bb2d0","fill-opacity":.1}},{id:"gl-draw-polygon-fill-active",type:"fill",filter:["all",["==","active","true"],["==","$type","Polygon"]],paint:{"fill-color":"#fbb03b","fill-outline-color":"#fbb03b","fill-opacity":.1}},{id:"gl-draw-polygon-midpoint",type:"circle",filter:["all",["==","$type","Point"],["==","meta","midpoint"]],paint:{"circle-radius":3,"circle-color":"#fbb03b"}},{id:"gl-draw-polygon-stroke-inactive",type:"line",filter:["all",["==","active","false"],["==","$type","Polygon"],["!=","mode","static"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#3bb2d0","line-width":2}},{id:"gl-draw-polygon-stroke-active",type:"line",filter:["all",["==","active","true"],["==","$type","Polygon"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fbb03b","line-dasharray":[.2,2],"line-width":2}},{id:"gl-draw-line-inactive",type:"line",filter:["all",["==","active","false"],["==","$type","LineString"],["!=","mode","static"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#3bb2d0","line-width":2}},{id:"gl-draw-line-active",type:"line",filter:["all",["==","$type","LineString"],["==","active","true"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#fbb03b","line-dasharray":[.2,2],"line-width":2}},{id:"gl-draw-polygon-and-line-vertex-stroke-inactive",type:"circle",filter:["all",["==","meta","vertex"],["==","$type","Point"],["!=","mode","static"]],paint:{"circle-radius":5,"circle-color":"#fff"}},{id:"gl-draw-polygon-and-line-vertex-inactive",type:"circle",filter:["all",["==","meta","vertex"],["==","$type","Point"],["!=","mode","static"]],paint:{"circle-radius":3,"circle-color":"#fbb03b"}},{id:"gl-draw-point-point-stroke-inactive",type:"circle",filter:["all",["==","active","false"],["==","$type","Point"],["==","meta","feature"],["!=","mode","static"]],paint:{"circle-radius":5,"circle-opacity":1,"circle-color":"#fff"}},{id:"gl-draw-point-inactive",type:"circle",filter:["all",["==","active","false"],["==","$type","Point"],["==","meta","feature"],["!=","mode","static"]],paint:{"circle-radius":3,"circle-color":"#3bb2d0"}},{id:"gl-draw-point-stroke-active",type:"circle",filter:["all",["==","$type","Point"],["==","active","true"],["!=","meta","midpoint"]],paint:{"circle-radius":7,"circle-color":"#fff"}},{id:"gl-draw-point-active",type:"circle",filter:["all",["==","$type","Point"],["!=","meta","midpoint"],["==","active","true"]],paint:{"circle-radius":5,"circle-color":"#fbb03b"}},{id:"gl-draw-polygon-fill-static",type:"fill",filter:["all",["==","mode","static"],["==","$type","Polygon"]],paint:{"fill-color":"#404040","fill-outline-color":"#404040","fill-opacity":.1}},{id:"gl-draw-polygon-stroke-static",type:"line",filter:["all",["==","mode","static"],["==","$type","Polygon"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#404040","line-width":2}},{id:"gl-draw-line-static",type:"line",filter:["all",["==","mode","static"],["==","$type","LineString"]],layout:{"line-cap":"round","line-join":"round"},paint:{"line-color":"#404040","line-width":2}},{id:"gl-draw-point-static",type:"circle",filter:["all",["==","mode","static"],["==","$type","Point"]],paint:{"circle-radius":5,"circle-color":"#404040"}}];function oe(e){return function(t){var n=t.featureTarget;return!!n&&!!n.properties&&n.properties.meta===e}}function ie(e){return!!e.originalEvent&&!!e.originalEvent.shiftKey&&0===e.originalEvent.button}function ae(e){return!!e.featureTarget&&!!e.featureTarget.properties&&e.featureTarget.properties.active===M.ACTIVE&&e.featureTarget.properties.meta===m.FEATURE}function se(e){return!!e.featureTarget&&!!e.featureTarget.properties&&e.featureTarget.properties.active===M.INACTIVE&&e.featureTarget.properties.meta===m.FEATURE}function ce(e){return void 0===e.featureTarget}function le(e){return!!e.featureTarget&&!!e.featureTarget.properties&&e.featureTarget.properties.meta===m.FEATURE}function ue(e){var t=e.featureTarget;return!!t&&!!t.properties&&t.properties.meta===m.VERTEX}function pe(e){return!!e.originalEvent&&!0===e.originalEvent.shiftKey}function de(e){return 27===e.keyCode}function Ae(e){return 13===e.keyCode}var he=Object.freeze({__proto__:null,isOfMetaType:oe,isShiftMousedown:ie,isActiveFeature:ae,isInactiveFeature:se,noTarget:ce,isFeature:le,isVertex:ue,isShiftDown:pe,isEscapeKey:de,isEnterKey:Ae,isTrue:function(){return!0}}),fe=be;function be(e,t){this.x=e,this.y=t}be.prototype={clone:function(){return new be(this.x,this.y)},add:function(e){return this.clone()._add(e)},sub:function(e){return this.clone()._sub(e)},multByPoint:function(e){return this.clone()._multByPoint(e)},divByPoint:function(e){return this.clone()._divByPoint(e)},mult:function(e){return this.clone()._mult(e)},div:function(e){return this.clone()._div(e)},rotate:function(e){return this.clone()._rotate(e)},rotateAround:function(e,t){return this.clone()._rotateAround(e,t)},matMult:function(e){return this.clone()._matMult(e)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(e){return this.x===e.x&&this.y===e.y},dist:function(e){return Math.sqrt(this.distSqr(e))},distSqr:function(e){var t=e.x-this.x,n=e.y-this.y;return t*t+n*n},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(e){return Math.atan2(this.y-e.y,this.x-e.x)},angleWith:function(e){return this.angleWithSep(e.x,e.y)},angleWithSep:function(e,t){return Math.atan2(this.x*t-this.y*e,this.x*e+this.y*t)},_matMult:function(e){var t=e[0]*this.x+e[1]*this.y,n=e[2]*this.x+e[3]*this.y;return this.x=t,this.y=n,this},_add:function(e){return this.x+=e.x,this.y+=e.y,this},_sub:function(e){return this.x-=e.x,this.y-=e.y,this},_mult:function(e){return this.x*=e,this.y*=e,this},_div:function(e){return this.x/=e,this.y/=e,this},_multByPoint:function(e){return this.x*=e.x,this.y*=e.y,this},_divByPoint:function(e){return this.x/=e.x,this.y/=e.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var e=this.y;return this.y=this.x,this.x=-e,this},_rotate:function(e){var t=Math.cos(e),n=Math.sin(e),r=t*this.x-n*this.y,o=n*this.x+t*this.y;return this.x=r,this.y=o,this},_rotateAround:function(e,t){var n=Math.cos(e),r=Math.sin(e),o=t.x+n*(this.x-t.x)-r*(this.y-t.y),i=t.y+r*(this.x-t.x)+n*(this.y-t.y);return this.x=o,this.y=i,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},be.convert=function(e){return e instanceof be?e:Array.isArray(e)?new be(e[0],e[1]):e};var me=t(fe);function Me(e,t){var n=t.getBoundingClientRect();return new me(e.clientX-n.left-(t.clientLeft||0),e.clientY-n.top-(t.clientTop||0))}function ge(e,t,n,r){return{type:A.FEATURE,properties:{meta:m.VERTEX,parent:e,coord_path:n,active:r?M.ACTIVE:M.INACTIVE},geometry:{type:A.POINT,coordinates:t}}}function ze(e,t,n){var r=t.geometry.coordinates,o=n.geometry.coordinates;if(r[1]>85||r[1]85||o[1]=t&&this._bbox[3]>=n},Ye.prototype.intersect=function(e){return this._valid?(t=e instanceof Ye?e.bbox():e,!(this._bbox[0]>t[2]||this._bbox[2]t[3])):null;var t},Ye.prototype._fastContains=function(){if(!this._valid)return new Function("return null;");var e="return "+this._bbox[0]+"<= ll[0] &&"+this._bbox[1]+"<= ll[1] &&"+this._bbox[2]+">= ll[0] &&"+this._bbox[3]+">= ll[1]";return new Function("ll",e)},Ye.prototype.polygon=function(){return this._valid?{type:"Polygon",coordinates:[[[this._bbox[0],this._bbox[1]],[this._bbox[2],this._bbox[1]],[this._bbox[2],this._bbox[3]],[this._bbox[0],this._bbox[3]],[this._bbox[0],this._bbox[1]]]]}:null};var Xe=function(e){if(!e)return[];var t=Le(ke(e)),n=[];return t.features.forEach((function(e){e.geometry&&(n=n.concat(We(e.geometry.coordinates)))})),n},He=Ie,Ue=Fe,Ve={features:["FeatureCollection"],coordinates:["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"],geometry:["Feature"],geometries:["GeometryCollection"]},Ge=Object.keys(Ve);function Ze(e){for(var t=Ue(),n=Xe(e),r=0;rn&&(n=c),lo&&(o=l),cs&&(s=p)}));var c=t;return n+c.lat>85&&(c.lat=85-n),o+c.lat>90&&(c.lat=90-o),r+c.lat<-85&&(c.lat=-85-r),i+c.lat=270&&(c.lng-=360*Math.ceil(Math.abs(c.lng)/360)),c}function $e(e,t){var n=Je(e.map((function(e){return e.toGeoJSON()})),t);e.forEach((function(e){var t,r=e.getCoordinates(),o=function(e){var t={lng:e[0]+n.lng,lat:e[1]+n.lat};return[t.lng,t.lat]},i=function(e){return e.map((function(e){return o(e)}))};e.type===A.POINT?t=o(r):e.type===A.LINE_STRING||e.type===A.MULTI_POINT?t=r.map(o):e.type===A.POLYGON||e.type===A.MULTI_LINE_STRING?t=r.map(i):e.type===A.MULTI_POLYGON&&(t=r.map((function(e){return e.map((function(e){return i(e)}))}))),e.incomingCoords(t)}))}var et={onSetup:function(e){var t=this,n={dragMoveLocation:null,boxSelectStartLocation:null,boxSelectElement:void 0,boxSelecting:!1,canBoxSelect:!1,dragMoving:!1,canDragMove:!1,initiallySelectedFeatureIds:e.featureIds||[]};return this.setSelected(n.initiallySelectedFeatureIds.filter((function(e){return void 0!==t.getFeature(e)}))),this.fireActionable(),this.setActionableState({combineFeatures:!0,uncombineFeatures:!0,trash:!0}),n},fireUpdate:function(){this.map.fire(f.UPDATE,{action:b.MOVE,features:this.getSelected().map((function(e){return e.toGeoJSON()}))})},fireActionable:function(){var e=this,t=this.getSelected(),n=t.filter((function(t){return e.isInstanceOf("MultiFeature",t)})),r=!1;if(t.length>1){r=!0;var o=t[0].type.replace("Multi","");t.forEach((function(e){e.type.replace("Multi","")!==o&&(r=!1)}))}var i=n.length>0,a=t.length>0;this.setActionableState({combineFeatures:r,uncombineFeatures:i,trash:a})},getUniqueIds:function(e){return e.length?e.map((function(e){return e.properties.id})).filter((function(e){return void 0!==e})).reduce((function(e,t){return e.add(t),e}),new x).values():[]},stopExtendedInteractions:function(e){e.boxSelectElement&&(e.boxSelectElement.parentNode&&e.boxSelectElement.parentNode.removeChild(e.boxSelectElement),e.boxSelectElement=null),this.map.dragPan.enable(),e.boxSelecting=!1,e.canBoxSelect=!1,e.dragMoving=!1,e.canDragMove=!1},onStop:function(){ve.enable(this)},onMouseMove:function(e,t){return le(t)&&e.dragMoving&&this.fireUpdate(),this.stopExtendedInteractions(e),!0},onMouseOut:function(e){return!e.dragMoving||this.fireUpdate()}};et.onTap=et.onClick=function(e,t){return ce(t)?this.clickAnywhere(e,t):oe(m.VERTEX)(t)?this.clickOnVertex(e,t):le(t)?this.clickOnFeature(e,t):void 0},et.clickAnywhere=function(e){var t=this,n=this.getSelectedIds();n.length&&(this.clearSelectedFeatures(),n.forEach((function(e){return t.doRender(e)}))),ve.enable(this),this.stopExtendedInteractions(e)},et.clickOnVertex=function(e,t){this.changeMode(h.DIRECT_SELECT,{featureId:t.featureTarget.properties.parent,coordPath:t.featureTarget.properties.coord_path,startPos:t.lngLat}),this.updateUIClasses({mouse:p.MOVE})},et.startOnActiveFeature=function(e,t){this.stopExtendedInteractions(e),this.map.dragPan.disable(),this.doRender(t.featureTarget.properties.id),e.canDragMove=!0,e.dragMoveLocation=t.lngLat},et.clickOnFeature=function(e,t){var n=this;ve.disable(this),this.stopExtendedInteractions(e);var r=pe(t),o=this.getSelectedIds(),i=t.featureTarget.properties.id,a=this.isSelected(i);if(!r&&a&&this.getFeature(i).type!==A.POINT)return this.changeMode(h.DIRECT_SELECT,{featureId:i});a&&r?(this.deselect(i),this.updateUIClasses({mouse:p.POINTER}),1===o.length&&ve.enable(this)):!a&&r?(this.select(i),this.updateUIClasses({mouse:p.MOVE})):a||r||(o.forEach((function(e){return n.doRender(e)})),this.setSelected(i),this.updateUIClasses({mouse:p.MOVE})),this.doRender(i)},et.onMouseDown=function(e,t){return ae(t)?this.startOnActiveFeature(e,t):this.drawConfig.boxSelect&&ie(t)?this.startBoxSelect(e,t):void 0},et.startBoxSelect=function(e,t){this.stopExtendedInteractions(e),this.map.dragPan.disable(),e.boxSelectStartLocation=Me(t.originalEvent,this.map.getContainer()),e.canBoxSelect=!0},et.onTouchStart=function(e,t){if(ae(t))return this.startOnActiveFeature(e,t)},et.onDrag=function(e,t){return e.canDragMove?this.dragMove(e,t):this.drawConfig.boxSelect&&e.canBoxSelect?this.whileBoxSelect(e,t):void 0},et.whileBoxSelect=function(e,t){e.boxSelecting=!0,this.updateUIClasses({mouse:p.ADD}),e.boxSelectElement||(e.boxSelectElement=document.createElement("div"),e.boxSelectElement.classList.add(l.BOX_SELECT),this.map.getContainer().appendChild(e.boxSelectElement));var n=Me(t.originalEvent,this.map.getContainer()),r=Math.min(e.boxSelectStartLocation.x,n.x),o=Math.max(e.boxSelectStartLocation.x,n.x),i=Math.min(e.boxSelectStartLocation.y,n.y),a=Math.max(e.boxSelectStartLocation.y,n.y),s="translate("+r+"px, "+i+"px)";e.boxSelectElement.style.transform=s,e.boxSelectElement.style.WebkitTransform=s,e.boxSelectElement.style.width=o-r+"px",e.boxSelectElement.style.height=a-i+"px"},et.dragMove=function(e,t){e.dragMoving=!0,t.originalEvent.stopPropagation();var n={lng:t.lngLat.lng-e.dragMoveLocation.lng,lat:t.lngLat.lat-e.dragMoveLocation.lat};$e(this.getSelected(),n),e.dragMoveLocation=t.lngLat},et.onTouchEnd=et.onMouseUp=function(e,t){var n=this;if(e.dragMoving)this.fireUpdate();else if(e.boxSelecting){var r=[e.boxSelectStartLocation,Me(t.originalEvent,this.map.getContainer())],o=this.featuresAt(null,r,"click"),i=this.getUniqueIds(o).filter((function(e){return!n.isSelected(e)}));i.length&&(this.select(i),i.forEach((function(e){return n.doRender(e)})),this.updateUIClasses({mouse:p.MOVE}))}this.stopExtendedInteractions(e)},et.toDisplayFeatures=function(e,t,n){t.properties.active=this.isSelected(t.properties.id)?M.ACTIVE:M.INACTIVE,n(t),this.fireActionable(),t.properties.active===M.ACTIVE&&t.geometry.type!==A.POINT&&ye(t).forEach(n)},et.onTrash=function(){this.deleteFeature(this.getSelectedIds()),this.fireActionable()},et.onCombineFeatures=function(){var e=this.getSelected();if(!(0===e.length||e.length<2)){for(var t=[],n=[],r=e[0].type.replace("Multi",""),o=0;o1){var a=this.newFeature({type:A.FEATURE,properties:n[0].properties,geometry:{type:"Multi"+r,coordinates:t}});this.addFeature(a),this.deleteFeature(this.getSelectedIds(),{silent:!0}),this.setSelected([a.id]),this.map.fire(f.COMBINE_FEATURES,{createdFeatures:[a.toGeoJSON()],deletedFeatures:n})}this.fireActionable()}},et.onUncombineFeatures=function(){var e=this,t=this.getSelected();if(0!==t.length){for(var n=[],r=[],o=function(o){var i=t[o];e.isInstanceOf("MultiFeature",i)&&(i.getFeatures().forEach((function(t){e.addFeature(t),t.properties=i.properties,n.push(t.toGeoJSON()),e.select([t.id])})),e.deleteFeature(i.id,{silent:!0}),r.push(i.toGeoJSON()))},i=0;i1&&this.map.fire(f.UNCOMBINE_FEATURES,{createdFeatures:n,deletedFeatures:r}),this.fireActionable()}};var tt=oe(m.VERTEX),nt=oe(m.MIDPOINT),rt={fireUpdate:function(){this.map.fire(f.UPDATE,{action:b.CHANGE_COORDINATES,features:this.getSelected().map((function(e){return e.toGeoJSON()}))})},fireActionable:function(e){this.setActionableState({combineFeatures:!1,uncombineFeatures:!1,trash:e.selectedCoordPaths.length>0})},startDragging:function(e,t){this.map.dragPan.disable(),e.canDragMove=!0,e.dragMoveLocation=t.lngLat},stopDragging:function(e){this.map.dragPan.enable(),e.dragMoving=!1,e.canDragMove=!1,e.dragMoveLocation=null},onVertex:function(e,t){this.startDragging(e,t);var n=t.featureTarget.properties,r=e.selectedCoordPaths.indexOf(n.coord_path);pe(t)||-1!==r?pe(t)&&-1===r&&e.selectedCoordPaths.push(n.coord_path):e.selectedCoordPaths=[n.coord_path];var o=this.pathsToCoordinates(e.featureId,e.selectedCoordPaths);this.setSelectedCoordinates(o)},onMidpoint:function(e,t){this.startDragging(e,t);var n=t.featureTarget.properties;e.feature.addCoordinate(n.coord_path,n.lng,n.lat),this.fireUpdate(),e.selectedCoordPaths=[n.coord_path]},pathsToCoordinates:function(e,t){return t.map((function(t){return{feature_id:e,coord_path:t}}))},onFeature:function(e,t){0===e.selectedCoordPaths.length?this.startDragging(e,t):this.stopDragging(e)},dragFeature:function(e,t,n){$e(this.getSelected(),n),e.dragMoveLocation=t.lngLat},dragVertex:function(e,t,n){for(var r=e.selectedCoordPaths.map((function(t){return e.feature.getCoordinate(t)})),o=Je(r.map((function(e){return{type:A.FEATURE,properties:{},geometry:{type:A.POINT,coordinates:e}}})),n),i=0;i0?this.dragVertex(e,t,n):this.dragFeature(e,t,n),e.dragMoveLocation=t.lngLat}},rt.onClick=function(e,t){return ce(t)?this.clickNoTarget(e,t):ae(t)?this.clickActiveFeature(e,t):se(t)?this.clickInactive(e,t):void this.stopDragging(e)},rt.onTap=function(e,t){return ce(t)?this.clickNoTarget(e,t):ae(t)?this.clickActiveFeature(e,t):se(t)?this.clickInactive(e,t):void 0},rt.onTouchEnd=rt.onMouseUp=function(e){e.dragMoving&&this.fireUpdate(),this.stopDragging(e)};var ot={};function it(e,t){return!!e.lngLat&&e.lngLat.lng===t[0]&&e.lngLat.lat===t[1]}ot.onSetup=function(){var e=this.newFeature({type:A.FEATURE,properties:{},geometry:{type:A.POINT,coordinates:[]}});return this.addFeature(e),this.clearSelectedFeatures(),this.updateUIClasses({mouse:p.ADD}),this.activateUIButton(d.POINT),this.setActionableState({trash:!0}),{point:e}},ot.stopDrawingAndRemove=function(e){this.deleteFeature([e.point.id],{silent:!0}),this.changeMode(h.SIMPLE_SELECT)},ot.onTap=ot.onClick=function(e,t){this.updateUIClasses({mouse:p.MOVE}),e.point.updateCoordinate("",t.lngLat.lng,t.lngLat.lat),this.map.fire(f.CREATE,{features:[e.point.toGeoJSON()]}),this.changeMode(h.SIMPLE_SELECT,{featureIds:[e.point.id]})},ot.onStop=function(e){this.activateUIButton(),e.point.getCoordinate().length||this.deleteFeature([e.point.id],{silent:!0})},ot.toDisplayFeatures=function(e,t,n){var r=t.properties.id===e.point.id;if(t.properties.active=r?M.ACTIVE:M.INACTIVE,!r)return n(t)},ot.onTrash=ot.stopDrawingAndRemove,ot.onKeyUp=function(e,t){if(de(t)||Ae(t))return this.stopDrawingAndRemove(e,t)};var at={onSetup:function(){var e=this.newFeature({type:A.FEATURE,properties:{},geometry:{type:A.POLYGON,coordinates:[[]]}});return this.addFeature(e),this.clearSelectedFeatures(),ve.disable(this),this.updateUIClasses({mouse:p.ADD}),this.activateUIButton(d.POLYGON),this.setActionableState({trash:!0}),{polygon:e,currentVertexPosition:0}},clickAnywhere:function(e,t){if(e.currentVertexPosition>0&&it(t,e.polygon.coordinates[0][e.currentVertexPosition-1]))return this.changeMode(h.SIMPLE_SELECT,{featureIds:[e.polygon.id]});this.updateUIClasses({mouse:p.ADD}),e.polygon.updateCoordinate("0."+e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),e.currentVertexPosition++,e.polygon.updateCoordinate("0."+e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat)},clickOnVertex:function(e){return this.changeMode(h.SIMPLE_SELECT,{featureIds:[e.polygon.id]})},onMouseMove:function(e,t){e.polygon.updateCoordinate("0."+e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),ue(t)&&this.updateUIClasses({mouse:p.POINTER})}};at.onTap=at.onClick=function(e,t){return ue(t)?this.clickOnVertex(e,t):this.clickAnywhere(e,t)},at.onKeyUp=function(e,t){de(t)?(this.deleteFeature([e.polygon.id],{silent:!0}),this.changeMode(h.SIMPLE_SELECT)):Ae(t)&&this.changeMode(h.SIMPLE_SELECT,{featureIds:[e.polygon.id]})},at.onStop=function(e){this.updateUIClasses({mouse:p.NONE}),ve.enable(this),this.activateUIButton(),void 0!==this.getFeature(e.polygon.id)&&(e.polygon.removeCoordinate("0."+e.currentVertexPosition),e.polygon.isValid()?this.map.fire(f.CREATE,{features:[e.polygon.toGeoJSON()]}):(this.deleteFeature([e.polygon.id],{silent:!0}),this.changeMode(h.SIMPLE_SELECT,{},{silent:!0})))},at.toDisplayFeatures=function(e,t,n){var r=t.properties.id===e.polygon.id;if(t.properties.active=r?M.ACTIVE:M.INACTIVE,!r)return n(t);if(0!==t.geometry.coordinates.length){var o=t.geometry.coordinates[0].length;if(!(o<3)){if(t.properties.meta=m.FEATURE,n(ge(e.polygon.id,t.geometry.coordinates[0][0],"0.0",!1)),o>3){var i=t.geometry.coordinates[0].length-3;n(ge(e.polygon.id,t.geometry.coordinates[0][i],"0."+i,!1))}if(o<=4){var a=[[t.geometry.coordinates[0][0][0],t.geometry.coordinates[0][0][1]],[t.geometry.coordinates[0][1][0],t.geometry.coordinates[0][1][1]]];if(n({type:A.FEATURE,properties:t.properties,geometry:{coordinates:a,type:A.LINE_STRING}}),3===o)return}return n(t)}}},at.onTrash=function(e){this.deleteFeature([e.polygon.id],{silent:!0}),this.changeMode(h.SIMPLE_SELECT)};var st={onSetup:function(e){var t,n,r=(e=e||{}).featureId,o="forward";if(r){if(!(t=this.getFeature(r)))throw new Error("Could not find a feature with the provided featureId");var i=e.from;if(i&&"Feature"===i.type&&i.geometry&&"Point"===i.geometry.type&&(i=i.geometry),i&&"Point"===i.type&&i.coordinates&&2===i.coordinates.length&&(i=i.coordinates),!i||!Array.isArray(i))throw new Error("Please use the `from` property to indicate which point to continue the line from");var a=t.coordinates.length-1;if(t.coordinates[a][0]===i[0]&&t.coordinates[a][1]===i[1])n=a+1,t.addCoordinate.apply(t,[n].concat(t.coordinates[a]));else{if(t.coordinates[0][0]!==i[0]||t.coordinates[0][1]!==i[1])throw new Error("`from` should match the point at either the start or the end of the provided LineString");o="backwards",n=0,t.addCoordinate.apply(t,[n].concat(t.coordinates[0]))}}else t=this.newFeature({type:A.FEATURE,properties:{},geometry:{type:A.LINE_STRING,coordinates:[]}}),n=0,this.addFeature(t);return this.clearSelectedFeatures(),ve.disable(this),this.updateUIClasses({mouse:p.ADD}),this.activateUIButton(d.LINE),this.setActionableState({trash:!0}),{line:t,currentVertexPosition:n,direction:o}},clickAnywhere:function(e,t){if(e.currentVertexPosition>0&&it(t,e.line.coordinates[e.currentVertexPosition-1])||"backwards"===e.direction&&it(t,e.line.coordinates[e.currentVertexPosition+1]))return this.changeMode(h.SIMPLE_SELECT,{featureIds:[e.line.id]});this.updateUIClasses({mouse:p.ADD}),e.line.updateCoordinate(e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),"forward"===e.direction?(e.currentVertexPosition++,e.line.updateCoordinate(e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat)):e.line.addCoordinate(0,t.lngLat.lng,t.lngLat.lat)},clickOnVertex:function(e){return this.changeMode(h.SIMPLE_SELECT,{featureIds:[e.line.id]})},onMouseMove:function(e,t){e.line.updateCoordinate(e.currentVertexPosition,t.lngLat.lng,t.lngLat.lat),ue(t)&&this.updateUIClasses({mouse:p.POINTER})}};st.onTap=st.onClick=function(e,t){if(ue(t))return this.clickOnVertex(e,t);this.clickAnywhere(e,t)},st.onKeyUp=function(e,t){Ae(t)?this.changeMode(h.SIMPLE_SELECT,{featureIds:[e.line.id]}):de(t)&&(this.deleteFeature([e.line.id],{silent:!0}),this.changeMode(h.SIMPLE_SELECT))},st.onStop=function(e){ve.enable(this),this.activateUIButton(),void 0!==this.getFeature(e.line.id)&&(e.line.removeCoordinate(""+e.currentVertexPosition),e.line.isValid()?this.map.fire(f.CREATE,{features:[e.line.toGeoJSON()]}):(this.deleteFeature([e.line.id],{silent:!0}),this.changeMode(h.SIMPLE_SELECT,{},{silent:!0})))},st.onTrash=function(e){this.deleteFeature([e.line.id],{silent:!0}),this.changeMode(h.SIMPLE_SELECT)},st.toDisplayFeatures=function(e,t,n){var r=t.properties.id===e.line.id;if(t.properties.active=r?M.ACTIVE:M.INACTIVE,!r)return n(t);t.geometry.coordinates.length<2||(t.properties.meta=m.FEATURE,n(ge(e.line.id,t.geometry.coordinates["forward"===e.direction?t.geometry.coordinates.length-2:1],""+("forward"===e.direction?t.geometry.coordinates.length-2:1),!1)),n(t))};var ct={simple_select:et,direct_select:rt,draw_point:ot,draw_polygon:at,draw_line_string:st},lt={defaultMode:h.SIMPLE_SELECT,keybindings:!0,touchEnabled:!0,clickBuffer:2,touchBuffer:25,boxSelect:!0,displayControlsDefault:!0,styles:re,modes:ct,controls:{},userProperties:!1},ut={point:!0,line_string:!0,polygon:!0,trash:!0,combine_features:!0,uncombine_features:!0},pt={point:!1,line_string:!1,polygon:!1,trash:!1,combine_features:!1,uncombine_features:!1};function dt(e,t){return e.map((function(e){return e.source?e:ee(e,{id:e.id+"."+t,source:"hot"===t?u.HOT:u.COLD})}))}var At={exports:{}};!function(e,t){var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",c="[object Date]",l="[object Error]",u="[object Function]",p="[object Map]",d="[object Number]",A="[object Object]",h="[object Promise]",f="[object RegExp]",b="[object Set]",m="[object String]",M="[object Symbol]",g="[object WeakMap]",z="[object ArrayBuffer]",y="[object DataView]",v=/^\[object .+?Constructor\]$/,O=/^(?:0|[1-9]\d*)$/,_={};_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_[i]=_[a]=_[z]=_[s]=_[y]=_[c]=_[l]=_[u]=_[p]=_[d]=_[A]=_[f]=_[b]=_[m]=_[g]=!1;var w="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,x="object"==typeof self&&self&&self.Object===Object&&self,q=w||x||Function("return this")(),k=t&&!t.nodeType&&t,L=k&&e&&!e.nodeType&&e,W=L&&L.exports===k,S=W&&w.process,T=function(){try{return S&&S.binding&&S.binding("util")}catch(e){}}(),E=T&&T.isTypedArray;function R(e,t){for(var n=-1,r=null==e?0:e.length;++ns))return!1;var l=i.get(e);if(l&&i.get(t))return l==t;var u=-1,p=!0,d=2&n?new ze:void 0;for(i.set(e,t),i.set(t,e);++u-1},Me.prototype.set=function(e,t){var n=this.__data__,r=Oe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ge.prototype.clear=function(){this.size=0,this.__data__={hash:new me,map:new(ie||Me),string:new me}},ge.prototype.delete=function(e){var t=Se(this,e).delete(e);return this.size-=t?1:0,t},ge.prototype.get=function(e){return Se(this,e).get(e)},ge.prototype.has=function(e){return Se(this,e).has(e)},ge.prototype.set=function(e,t){var n=Se(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ze.prototype.add=ze.prototype.push=function(e){return this.__data__.set(e,r),this},ze.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.clear=function(){this.__data__=new Me,this.size=0},ye.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ye.prototype.get=function(e){return this.__data__.get(e)},ye.prototype.has=function(e){return this.__data__.has(e)},ye.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Me){var r=n.__data__;if(!ie||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ge(r)}return n.set(e,t),this.size=n.size,this};var Ee=te?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n-1&&e%1==0&&e-1&&e%1==0&&e<=o}function Ye(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Xe(e){return null!=e&&"object"==typeof e}var He=E?function(e){return function(t){return e(t)}}(E):function(e){return Xe(e)&&Fe(e.length)&&!!_[_e(e)]};function Ue(e){return null!=(t=e)&&Fe(t.length)&&!Ie(t)?ve(e):ke(e);var t}e.exports=function(e,t){return xe(e,t)}}(At,At.exports);var ht=t(At.exports);function ft(e,t){return e.length===t.length&&JSON.stringify(e.map((function(e){return e})).sort())===JSON.stringify(t.map((function(e){return e})).sort())}var bt={Polygon:B,LineString:j,Point:P,MultiPolygon:Y,MultiLineString:Y,MultiPoint:Y},mt=Object.freeze({__proto__:null,CommonSelectors:he,constrainFeatureMovement:Je,createMidPoint:ze,createSupplementaryPoints:ye,createVertex:ge,doubleClickZoom:ve,euclideanDistance:S,featuresAt:k,getFeatureAtAndSetCursors:W,isClick:T,isEventAtCoordinates:it,isTap:E,mapEventToBoundingBox:w,ModeHandler:e,moveFeatures:$e,sortFeatures:_,stringSetsAreEqual:ft,StringSet:x,theme:re,toDenseArray:G}),Mt=function(e,t){var n={options:e=function(e){void 0===e&&(e={});var t=ee(e);return e.controls||(t.controls={}),!1===e.displayControlsDefault?t.controls=ee(pt,e.controls):t.controls=ee(ut,e.controls),(t=ee(lt,t)).styles=dt(t.styles,"cold").concat(dt(t.styles,"hot")),t}(e)};t=function(e,t){return t.modes=h,t.getFeatureIdsAt=function(t){return k.click({point:t},null,e).map((function(e){return e.properties.id}))},t.getSelectedIds=function(){return e.store.getSelectedIds()},t.getSelected=function(){return{type:A.FEATURE_COLLECTION,features:e.store.getSelectedIds().map((function(t){return e.store.get(t)})).map((function(e){return e.toGeoJSON()}))}},t.getSelectedPoints=function(){return{type:A.FEATURE_COLLECTION,features:e.store.getSelectedCoordinates().map((function(e){return{type:A.FEATURE,properties:{},geometry:{type:A.POINT,coordinates:e.coordinates}}}))}},t.set=function(n){if(void 0===n.type||n.type!==A.FEATURE_COLLECTION||!Array.isArray(n.features))throw new Error("Invalid FeatureCollection");var r=e.store.createRenderBatch(),o=e.store.getAllIds().slice(),i=t.add(n),a=new x(i);return(o=o.filter((function(e){return!a.has(e)}))).length&&t.delete(o),r(),i},t.add=function(t){var n=JSON.parse(JSON.stringify(xe(t))).features.map((function(t){if(t.id=t.id||C(),null===t.geometry)throw new Error("Invalid geometry: null");if(void 0===e.store.get(t.id)||e.store.get(t.id).type!==t.geometry.type){var n=bt[t.geometry.type];if(void 0===n)throw new Error("Invalid geometry type: "+t.geometry.type+".");var r=new n(e,t);e.store.add(r)}else{var o=e.store.get(t.id);o.properties=t.properties,ht(o.properties,t.properties)||e.store.featureChanged(o.id),ht(o.getCoordinates(),t.geometry.coordinates)||o.incomingCoords(t.geometry.coordinates)}return t.id}));return e.store.render(),n},t.get=function(t){var n=e.store.get(t);if(n)return n.toGeoJSON()},t.getAll=function(){return{type:A.FEATURE_COLLECTION,features:e.store.getAll().map((function(e){return e.toGeoJSON()}))}},t.delete=function(n){return e.store.delete(n,{silent:!0}),t.getMode()!==h.DIRECT_SELECT||e.store.getSelectedIds().length?e.store.render():e.events.changeMode(h.SIMPLE_SELECT,void 0,{silent:!0}),t},t.deleteAll=function(){return e.store.delete(e.store.getAllIds(),{silent:!0}),t.getMode()===h.DIRECT_SELECT?e.events.changeMode(h.SIMPLE_SELECT,void 0,{silent:!0}):e.store.render(),t},t.changeMode=function(n,r){return void 0===r&&(r={}),n===h.SIMPLE_SELECT&&t.getMode()===h.SIMPLE_SELECT?(ft(r.featureIds||[],e.store.getSelectedIds())||(e.store.setSelected(r.featureIds,{silent:!0}),e.store.render()),t):(n===h.DIRECT_SELECT&&t.getMode()===h.DIRECT_SELECT&&r.featureId===e.store.getSelectedIds()[0]||e.events.changeMode(n,r,{silent:!0}),t)},t.getMode=function(){return e.events.getMode()},t.trash=function(){return e.events.trash({silent:!0}),t},t.combineFeatures=function(){return e.events.combineFeatures({silent:!0}),t},t.uncombineFeatures=function(){return e.events.uncombineFeatures({silent:!0}),t},t.setFeatureProperty=function(n,r,o){return e.store.setFeatureProperty(n,r,o),t},t}(n,t),n.api=t;var r=ne(n);return t.onAdd=r.onAdd,t.onRemove=r.onRemove,t.types=d,t.options=e,t};function gt(e){Mt(e,this)}return gt.modes=ct,gt.constants=y,gt.lib=mt,gt}()},7797:(e,t,n)=>{"use strict";function r(e,t,n){return function(r,o){void 0===o&&(o=n);var i=e(r)+o;return t(i)}}function o(e){return function(t){return new Date(e(t).getTime()-1)}}function i(e,t){return function(n){return[e(n),t(n)]}}function a(e){if(e instanceof Date)return e.getFullYear();if("number"===typeof e)return e;var t=parseInt(e,10);if("string"===typeof e&&!isNaN(t))return t;throw new Error("Failed to get year from date: ".concat(e,"."))}function s(e){if(e instanceof Date)return e.getMonth();throw new Error("Failed to get month from date: ".concat(e,"."))}function c(e){if(e instanceof Date)return e.getMonth()+1;throw new Error("Failed to get human-readable month from date: ".concat(e,"."))}function l(e){if(e instanceof Date)return e.getDate();throw new Error("Failed to get year from date: ".concat(e,"."))}function u(e){if(e instanceof Date)return e.getHours();if("string"===typeof e){var t=e.split(":");if(t.length>=2){var n=t[0];if(n){var r=parseInt(n,10);if(!isNaN(r))return r}}}throw new Error("Failed to get hours from date: ".concat(e,"."))}function p(e){if(e instanceof Date)return e.getMinutes();if("string"===typeof e){var t=e.split(":");if(t.length>=2){var n=t[1]||"0",r=parseInt(n,10);if(!isNaN(r))return r}}throw new Error("Failed to get minutes from date: ".concat(e,"."))}function d(e){if(e instanceof Date)return e.getSeconds();if("string"===typeof e){var t=e.split(":");if(t.length>=2){var n=t[2]||"0",r=parseInt(n,10);if(!isNaN(r))return r}}throw new Error("Failed to get seconds from date: ".concat(e,"."))}function A(e){var t=a(e),n=t+(1-t)%100,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}n.r(t),n.d(t,{getCenturyEnd:()=>b,getCenturyRange:()=>g,getCenturyStart:()=>A,getDate:()=>l,getDayEnd:()=>U,getDayRange:()=>Z,getDayStart:()=>Y,getDaysInMonth:()=>Q,getDecadeEnd:()=>O,getDecadeRange:()=>x,getDecadeStart:()=>z,getHours:()=>u,getHoursMinutes:()=>J,getHoursMinutesSeconds:()=>$,getISOLocalDate:()=>te,getISOLocalDateTime:()=>ne,getISOLocalMonth:()=>ee,getMinutes:()=>p,getMonth:()=>s,getMonthEnd:()=>P,getMonthHuman:()=>c,getMonthRange:()=>I,getMonthStart:()=>D,getNextCenturyEnd:()=>M,getNextCenturyStart:()=>f,getNextDayEnd:()=>G,getNextDayStart:()=>H,getNextDecadeEnd:()=>w,getNextDecadeStart:()=>v,getNextMonthEnd:()=>B,getNextMonthStart:()=>N,getNextYearEnd:()=>T,getNextYearStart:()=>L,getPreviousCenturyEnd:()=>m,getPreviousCenturyStart:()=>h,getPreviousDayEnd:()=>V,getPreviousDayStart:()=>X,getPreviousDecadeEnd:()=>_,getPreviousDecadeStart:()=>y,getPreviousMonthEnd:()=>j,getPreviousMonthStart:()=>C,getPreviousYearEnd:()=>S,getPreviousYearStart:()=>k,getSeconds:()=>d,getYear:()=>a,getYearEnd:()=>W,getYearRange:()=>E,getYearStart:()=>q});var h=r(a,A,-100),f=r(a,A,100),b=o(f),m=r(a,b,-100),M=r(a,b,100),g=i(A,b);function z(e){var t=a(e),n=t+(1-t)%10,r=new Date;return r.setFullYear(n,0,1),r.setHours(0,0,0,0),r}var y=r(a,z,-10),v=r(a,z,10),O=o(v),_=r(a,O,-10),w=r(a,O,10),x=i(z,O);function q(e){var t=a(e),n=new Date;return n.setFullYear(t,0,1),n.setHours(0,0,0,0),n}var k=r(a,q,-1),L=r(a,q,1),W=o(L),S=r(a,W,-1),T=r(a,W,1),E=i(q,W);function R(e,t){return function(n,r){void 0===r&&(r=t);var o=a(n),i=s(n)+r,c=new Date;return c.setFullYear(o,i,1),c.setHours(0,0,0,0),e(c)}}function D(e){var t=a(e),n=s(e),r=new Date;return r.setFullYear(t,n,1),r.setHours(0,0,0,0),r}var C=R(D,-1),N=R(D,1),P=o(N),j=R(P,-1),B=R(P,1),I=i(D,P);function F(e,t){return function(n,r){void 0===r&&(r=t);var o=a(n),i=s(n),c=l(n)+r,u=new Date;return u.setFullYear(o,i,c),u.setHours(0,0,0,0),e(u)}}function Y(e){var t=a(e),n=s(e),r=l(e),o=new Date;return o.setFullYear(t,n,r),o.setHours(0,0,0,0),o}var X=F(Y,-1),H=F(Y,1),U=o(H),V=F(U,-1),G=F(U,1),Z=i(Y,U);function Q(e){return l(P(e))}function K(e,t){void 0===t&&(t=2);var n="".concat(e);return n.length>=t?e:"0000".concat(n).slice(-t)}function J(e){var t=K(u(e)),n=K(p(e));return"".concat(t,":").concat(n)}function $(e){var t=K(u(e)),n=K(p(e)),r=K(d(e));return"".concat(t,":").concat(n,":").concat(r)}function ee(e){var t=K(a(e),4),n=K(c(e));return"".concat(t,"-").concat(n)}function te(e){var t=K(a(e),4),n=K(c(e)),r=K(l(e));return"".concat(t,"-").concat(n,"-").concat(r)}function ne(e){return"".concat(te(e),"T").concat($(e))}},4383:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r>>6-2*o);return n}};e.exports=n}()},4890:e=>{var t={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};e.exports=function(e,n,r,o){if(!t.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!t[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);var i=t[r][n]*e;return!1!==o?(o=Math.pow(10,parseInt(o)||5),Math.round(i*o)/o):i}},6674:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};const o=function(e,t,n){var o,i=r[e];return o="string"===typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function i(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var a={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var s={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function c(e){return function(t,n){var r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!==n&&void 0!==n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!==n&&void 0!==n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;var a,s=i[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(c)?function(e,t){for(var n=0;n20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:c({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:c({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:c({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:c({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:c({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(u={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(u.matchPattern);if(!n)return null;var r=n[0],o=e.match(u.parsePattern);if(!o)return null;var i=u.valueCallback?u.valueCallback(o[0]):o[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},4408:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r={};function o(){return r}},3462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};const i={p:o,P:function(e,t){var n,i=e.match(/(P+)(p+)?/)||[],a=i[1],s=i[2];if(!s)return r(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",r(a,t)).replace("{{time}}",o(s,t))}}},4697:(e,t,n)=>{"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:()=>r})},9153:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(8527),o=n(9853),i=n(5611),a=n(4522);var s=6048e5;function c(e){(0,a.Z)(1,arguments);var t=(0,r.default)(e),n=(0,o.Z)(t).getTime()-function(e){(0,a.Z)(1,arguments);var t=(0,i.Z)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.Z)(n)}(t).getTime();return Math.round(n/s)+1}},5611:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(8527),o=n(4522),i=n(9853);function a(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getUTCFullYear(),a=new Date(0);a.setUTCFullYear(n+1,0,4),a.setUTCHours(0,0,0,0);var s=(0,i.Z)(a),c=new Date(0);c.setUTCFullYear(n,0,4),c.setUTCHours(0,0,0,0);var l=(0,i.Z)(c);return t.getTime()>=s.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}},9934:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(8527),o=n(1230),i=n(9726),a=n(4522),s=n(9297),c=n(4408);var l=6048e5;function u(e,t){(0,a.Z)(1,arguments);var n=(0,r.default)(e),u=(0,o.Z)(n,t).getTime()-function(e,t){var n,r,l,u,p,d,A,h;(0,a.Z)(1,arguments);var f=(0,c.j)(),b=(0,s.Z)(null!==(n=null!==(r=null!==(l=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(p=t.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:f.firstWeekContainsDate)&&void 0!==r?r:null===(A=f.locale)||void 0===A||null===(h=A.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),m=(0,i.Z)(e,t),M=new Date(0);return M.setUTCFullYear(m,0,b),M.setUTCHours(0,0,0,0),(0,o.Z)(M,t)}(n,t).getTime();return Math.round(u/l)+1}},9726:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(8527),o=n(4522),i=n(1230),a=n(9297),s=n(4408);function c(e,t){var n,c,l,u,p,d,A,h;(0,o.Z)(1,arguments);var f=(0,r.default)(e),b=f.getUTCFullYear(),m=(0,s.j)(),M=(0,a.Z)(null!==(n=null!==(c=null!==(l=null!==(u=null===t||void 0===t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null===t||void 0===t||null===(p=t.locale)||void 0===p||null===(d=p.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==c?c:null===(A=m.locale)||void 0===A||null===(h=A.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(M>=1&&M<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(b+1,0,M),g.setUTCHours(0,0,0,0);var z=(0,i.Z)(g,t),y=new Date(0);y.setUTCFullYear(b,0,M),y.setUTCHours(0,0,0,0);var v=(0,i.Z)(y,t);return f.getTime()>=z.getTime()?b+1:f.getTime()>=v.getTime()?b:b-1}},8552:(e,t,n)=>{"use strict";n.d(t,{Do:()=>a,Iu:()=>i,qp:()=>s});var r=["D","DD"],o=["YY","YYYY"];function i(e){return-1!==r.indexOf(e)}function a(e){return-1!==o.indexOf(e)}function s(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},4522:(e,t,n)=>{"use strict";function r(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:()=>r})},9853:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getUTCDay(),i=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}},1230:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8527),o=n(4522),i=n(9297),a=n(4408);function s(e,t){var n,s,c,l,u,p,d,A;(0,o.Z)(1,arguments);var h=(0,a.j)(),f=(0,i.Z)(null!==(n=null!==(s=null!==(c=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(d=h.locale)||void 0===d||null===(A=d.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=(0,r.default)(e),m=b.getUTCDay(),M=(m{"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:()=>r})},9040:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},2074:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9297),o=n(4377),i=n(4522),a=36e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,n*a)}},4377:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e).getTime(),a=(0,r.Z)(t);return new Date(n+a)}},1518:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9297),o=n(4377),i=n(4522),a=6e4;function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,n*a)}},1104:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),c=new Date(n.getTime());return c.setMonth(n.getMonth()+a+1,0),s>=c.getDate()?c:(n.setFullYear(c.getFullYear(),c.getMonth(),s),n)}},6689:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(1104),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=3*(0,r.Z)(t);return(0,o.default)(e,n)}},20:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(9040),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=7*(0,r.Z)(t);return(0,o.default)(e,n)}},5105:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(1104),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,12*n)}},2729:(e,t,n)=>{"use strict";n.d(t,{qk:()=>i,vh:()=>o,yJ:()=>r});Math.pow(10,8);var r=6e4,o=36e5,i=1e3},9759:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(4697),o=n(8347),i=n(4522),a=864e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),s=(0,o.default)(t),c=n.getTime()-(0,r.Z)(n),l=s.getTime()-(0,r.Z)(s);return Math.round((c-l)/a)}},5951:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return 12*(n.getFullYear()-i.getFullYear())+(n.getMonth()-i.getMonth())}},7223:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9254),o=n(4697),i=n(4522),a=6048e5;function s(e,t,n){(0,i.Z)(2,arguments);var s=(0,r.default)(e,n),c=(0,r.default)(t,n),l=s.getTime()-(0,o.Z)(s),u=c.getTime()-(0,o.Z)(c);return Math.round((l-u)/a)}},7415:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()-i.getFullYear()}},786:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},4888:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},4565:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(4408),o=n(8527),i=n(9297),a=n(4522);function s(e,t){var n,s,c,l,u,p,d,A;(0,a.Z)(1,arguments);var h=(0,r.j)(),f=(0,i.Z)(null!==(n=null!==(s=null!==(c=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(d=h.locale)||void 0===d||null===(A=d.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=(0,o.default)(e),m=b.getDay(),M=6+(m{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}},1951:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R});var r=n(9314),o=n(1633),i=n(8527),a=n(4522);var s=n(9153),c=n(5611),l=n(9934),u=n(9726);function p(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length0?n:1-n;return p("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):p(n+1,2)},d:function(e,t){return p(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return p(e.getUTCHours()%12||12,t.length)},H:function(e,t){return p(e.getUTCHours(),t.length)},m:function(e,t){return p(e.getUTCMinutes(),t.length)},s:function(e,t){return p(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return p(Math.floor(r*Math.pow(10,n-3)),t.length)}};var A="midnight",h="noon",f="morning",b="afternoon",m="evening",M="night";function g(e,t){var n=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=r%60;if(0===i)return n+String(o);var a=t||"";return n+String(o)+a+p(i,2)}function z(e,t){return e%60===0?(e>0?"-":"+")+p(Math.abs(e)/60,2):y(e,t)}function y(e,t){var n=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+p(Math.floor(o/60),2)+n+p(o%60,2)}const v={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return d.y(e,t)},Y:function(e,t,n,r){var o=(0,u.Z)(e,r),i=o>0?o:1-o;return"YY"===t?p(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):p(i,t.length)},R:function(e,t){return p((0,c.Z)(e),t.length)},u:function(e,t){return p(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return p(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return p(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return d.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return p(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var o=(0,l.Z)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):p(o,t.length)},I:function(e,t,n){var r=(0,s.Z)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):p(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):d.d(e,t)},D:function(e,t,n){var r=function(e){(0,a.Z)(1,arguments);var t=(0,i.default)(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):p(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return p(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var o=e.getUTCDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return p(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return p(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,o=e.getUTCHours();switch(r=12===o?h:0===o?A:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,o=e.getUTCHours();switch(r=o>=17?m:o>=12?b:o>=4?f:M,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return d.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):d.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):p(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):p(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):d.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):d.s(e,t)},S:function(e,t){return d.S(e,t)},X:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return z(o);case"XXXX":case"XX":return y(o);default:return y(o,":")}},x:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return z(o);case"xxxx":case"xx":return y(o);default:return y(o,":")}},O:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(o,":");default:return"GMT"+y(o,":")}},z:function(e,t,n,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(o,":");default:return"GMT"+y(o,":")}},t:function(e,t,n,r){var o=r._originalDate||e;return p(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,n,r){return p((r._originalDate||e).getTime(),t.length)}};var O=n(3462),_=n(4697),w=n(8552),x=n(9297),q=n(4408),k=n(6674),L=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,S=/^'([^]*?)'?$/,T=/''/g,E=/[a-zA-Z]/;function R(e,t,n){var s,c,l,u,p,d,A,h,f,b,m,M,g,z,y,R,D,C;(0,a.Z)(2,arguments);var N=String(t),P=(0,q.j)(),j=null!==(s=null!==(c=null===n||void 0===n?void 0:n.locale)&&void 0!==c?c:P.locale)&&void 0!==s?s:k.Z,B=(0,x.Z)(null!==(l=null!==(u=null!==(p=null!==(d=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==d?d:null===n||void 0===n||null===(A=n.locale)||void 0===A||null===(h=A.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==p?p:P.firstWeekContainsDate)&&void 0!==u?u:null===(f=P.locale)||void 0===f||null===(b=f.options)||void 0===b?void 0:b.firstWeekContainsDate)&&void 0!==l?l:1);if(!(B>=1&&B<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=(0,x.Z)(null!==(m=null!==(M=null!==(g=null!==(z=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==z?z:null===n||void 0===n||null===(y=n.locale)||void 0===y||null===(R=y.options)||void 0===R?void 0:R.weekStartsOn)&&void 0!==g?g:P.weekStartsOn)&&void 0!==M?M:null===(D=P.locale)||void 0===D||null===(C=D.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==m?m:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!j.localize)throw new RangeError("locale must contain localize property");if(!j.formatLong)throw new RangeError("locale must contain formatLong property");var F=(0,i.default)(e);if(!(0,r.default)(F))throw new RangeError("Invalid time value");var Y=(0,_.Z)(F),X=(0,o.Z)(F,Y),H={firstWeekContainsDate:B,weekStartsOn:I,locale:j,_originalDate:F};return N.match(W).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,O.Z[t])(e,j.formatLong):e})).join("").match(L).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return function(e){var t=e.match(S);if(!t)return e;return t[1].replace(T,"'")}(r);var i=v[o];if(i)return null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,w.Do)(r)||(0,w.qp)(r,t,String(e)),null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,w.Iu)(r)||(0,w.qp)(r,t,String(e)),i(X,r,j.localize,H);if(o.match(E))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("")}},6114:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getDate()}},467:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getDay()}},1537:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getHours()}},6975:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(8527),o=n(9254),i=n(4522);function a(e){return(0,i.Z)(1,arguments),(0,o.default)(e,{weekStartsOn:1})}function s(e){(0,i.Z)(1,arguments);var t=function(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var s=a(o),c=new Date(0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);var l=a(c);return t.getTime()>=s.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}(e),n=new Date(0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),a(n)}var c=6048e5;function l(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=a(t).getTime()-s(t).getTime();return Math.round(n/c)+1}},4424:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getMinutes()}},3747:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getMonth()}},639:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return Math.floor(t.getMonth()/3)+1}},2295:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getSeconds()}},4460:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getTime()}},2599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getFullYear()}},9420:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()>i.getTime()}},9579:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime(){"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1002),o=n(4522);function i(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},7508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},4690:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8347),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},5375:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},4845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3006),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},1750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()}},9314:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(6971),o=n(8527),i=n(4522);function a(e){if((0,i.Z)(1,arguments),!(0,r.default)(e)&&"number"!==typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))}},7262:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e).getTime(),i=(0,r.default)(t.start).getTime(),a=(0,r.default)(t.end).getTime();if(!(i<=a))throw new RangeError("Invalid interval");return n>=i&&n<=a}},9333:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1002),o=n(8527),i=n(4522);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.default)(e);(void 0===n||n{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1002),o=n(8527),i=n(4522);function a(e){var t,n;if((0,i.Z)(1,arguments),e&&"function"===typeof e.forEach)t=e;else{if("object"!==(0,r.Z)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,o.default)(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},6448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Je});var r=n(1002),o=n(181);function i(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,o.Z)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw a}}}}var a=n(6674),s=n(1633),c=n(8527);function l(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var u=n(3462),p=n(4697),d=n(8552),A=n(9297),h=n(4522),f=n(7326),b=n(9340),m=n(8557),M=n(5671),g=n(3144),z=n(4942),y=function(){function e(){(0,M.Z)(this,e),(0,z.Z)(this,"priority",void 0),(0,z.Z)(this,"subPriority",0)}return(0,g.Z)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),v=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(e,r,o,i,a){var s;return(0,M.Z)(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=o,s.priority=i,a&&(s.subPriority=a),s}return(0,g.Z)(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(y),O=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0,o=r?t:1-t;if(o<=50)n=e||100;else{var i=o+50;n=e+100*Math.floor(i/100)-(e>=i%100?100:0)}return r?n:1-n}function ie(e){return e%400===0||e%4===0&&e%100!==0}var ae=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var o=oe(n.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var i="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(_),se=n(9726),ce=n(1230),le=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i0}},{key:"set",value:function(e,t,n,r){var o=(0,se.Z)(e,r);if(n.isTwoDigitYear){var i=oe(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ce.Z)(e,r)}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,ce.Z)(e,r)}}]),n}(_),ue=n(9853),pe=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(_),he=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(_),fe=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(_),be=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(_),me=n(9934);var Me=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,ce.Z)(function(e,t,n){(0,h.Z)(2,arguments);var r=(0,c.default)(e),o=(0,A.Z)(t),i=(0,me.Z)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*i),r}(e,n,r),r)}}]),n}(_),ge=n(9153);var ze=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,ue.Z)(function(e,t){(0,h.Z)(2,arguments);var n=(0,c.default)(e),r=(0,A.Z)(t),o=(0,ge.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}]),n}(_),ye=[31,28,31,30,31,30,31,31,30,31,30,31],ve=[31,29,31,30,31,30,31,31,30,31,30,31],Oe=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=ve[r]:t>=1&&t<=ye[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(_),_e=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(_),we=n(4408);function xe(e,t,n){var r,o,i,a,s,l,u,p;(0,h.Z)(2,arguments);var d=(0,we.j)(),f=(0,A.Z)(null!==(r=null!==(o=null!==(i=null!==(a=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==a?a:null===n||void 0===n||null===(s=n.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:d.weekStartsOn)&&void 0!==o?o:null===(u=d.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==r?r:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=(0,c.default)(e),m=(0,A.Z)(t),M=((m%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=xe(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(_),ke=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=xe(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(_),Le=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=xe(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(_);var We=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){(0,h.Z)(2,arguments);var n=(0,A.Z)(t);n%7===0&&(n-=7);var r=(0,c.default)(e),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(_),Se=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(_),De=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(_),Ce=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(_),Ne=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(_),Pe=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(_),je=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(_),Be=function(e){(0,b.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,M.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=(0,A.Z)(null!==(x=null!==(q=null!==(k=null!==(L=null===o||void 0===o?void 0:o.weekStartsOn)&&void 0!==L?L:null===o||void 0===o||null===(W=o.locale)||void 0===W||null===(S=W.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==k?k:C.weekStartsOn)&&void 0!==q?q:null===(T=C.locale)||void 0===T||null===(E=T.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==x?x:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===D)return""===R?(0,c.default)(n):new Date(NaN);var B,I={firstWeekContainsDate:P,weekStartsOn:j,locale:N},F=[new O],Y=D.match(Ve).map((function(e){var t=e[0];return t in u.Z?(0,u.Z[t])(e,N.formatLong):e})).join("").match(Ue),X=[],H=i(Y);try{var U=function(){var t=B.value;null!==o&&void 0!==o&&o.useAdditionalWeekYearTokens||!(0,d.Do)(t)||(0,d.qp)(t,D,e),null!==o&&void 0!==o&&o.useAdditionalDayOfYearTokens||!(0,d.Iu)(t)||(0,d.qp)(t,D,e);var n=t[0],r=He[n];if(r){var i=r.incompatibleTokens;if(Array.isArray(i)){var a=X.find((function(e){return i.includes(e.token)||e.token===n}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===r.incompatibleTokens&&X.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));X.push({token:n,fullToken:t});var s=r.run(R,t,N.match,I);if(!s)return{v:new Date(NaN)};F.push(s.setter),R=s.rest}else{if(n.match(Ke))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(Ge)[1].replace(Ze,"'")),0!==R.indexOf(t))return{v:new Date(NaN)};R=R.slice(t.length)}};for(H.s();!(B=H.n()).done;){var V=U();if("object"===(0,r.Z)(V))return V.v}}catch(ne){H.e(ne)}finally{H.f()}if(R.length>0&&Qe.test(R))return new Date(NaN);var G=F.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,n){return n.indexOf(e)===t})).map((function(e){return F.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),Z=(0,c.default)(n);if(isNaN(Z.getTime()))return new Date(NaN);var Q,K=(0,s.Z)(Z,(0,p.Z)(Z)),J={},$=i(G);try{for($.s();!(Q=$.n()).done;){var ee=Q.value;if(!ee.validate(K,I))return new Date(NaN);var te=ee.set(K,J,I);Array.isArray(te)?(K=te[0],l(J,te[1])):K=te}}catch(ne){$.e(ne)}finally{$.f()}return K}},9831:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(2729),o=n(4522),i=n(9297);function a(e,t){var n;(0,o.Z)(1,arguments);var a=(0,i.Z)(null!==(n=null===t||void 0===t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==a&&1!==a&&0!==a)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!==typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var f,b=function(e){var t,n={},r=e.split(s.dateTimeDelimiter);if(r.length>2)return n;/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.timeZoneDelimiter.test(n.date)&&(n.date=e.split(s.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length)));if(t){var o=s.timezone.exec(t);o?(n.time=t.replace(o[1],""),n.timezone=o[1]):n.time=t}return n}(e);if(b.date){var m=function(e,t){var n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(b.date,a);f=function(e,t){if(null===t)return new Date(NaN);var n=e.match(c);if(!n)return new Date(NaN);var r=!!n[4],o=p(n[1]),i=p(n[2])-1,a=p(n[3]),s=p(n[4]),l=p(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,l)?function(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var o=r.getUTCDay()||7,i=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(t,s,l):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(A[t]||(h(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(h(e)?366:365)}(t,o)?(u.setUTCFullYear(t,i,Math.max(o,a)),u):new Date(NaN)}(m.restDateString,m.year)}if(!f||isNaN(f.getTime()))return new Date(NaN);var M,g=f.getTime(),z=0;if(b.time&&(z=function(e){var t=e.match(l);if(!t)return NaN;var n=d(t[1]),o=d(t[2]),i=d(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,o,i))return NaN;return n*r.vh+o*r.yJ+1e3*i}(b.time),isNaN(z)))return new Date(NaN);if(!b.timezone){var y=new Date(g+z),v=new Date(0);return v.setFullYear(y.getUTCFullYear(),y.getUTCMonth(),y.getUTCDate()),v.setHours(y.getUTCHours(),y.getUTCMinutes(),y.getUTCSeconds(),y.getUTCMilliseconds()),v}return M=function(e){if("Z"===e)return 0;var t=e.match(u);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,i))return NaN;return n*(o*r.vh+i*r.yJ)}(b.timezone),isNaN(M)?new Date(NaN):new Date(g+z+M)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},c=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,l=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function p(e){return e?parseInt(e):1}function d(e){return e&&parseFloat(e.replace(",","."))||0}var A=[31,null,31,30,31,30,31,31,30,31,30,31];function h(e){return e%400===0||e%4===0&&e%100!==0}},7152:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(1002),o=n(8527),i=n(2363),a=n(9297),s=n(4522);function c(e,t){if((0,s.Z)(2,arguments),"object"!==(0,r.Z)(t)||null===t)throw new RangeError("values parameter must be an object");var n=(0,o.default)(e);return isNaN(n.getTime())?new Date(NaN):(null!=t.year&&n.setFullYear(t.year),null!=t.month&&(n=(0,i.default)(n,t.month)),null!=t.date&&n.setDate((0,a.Z)(t.date)),null!=t.hours&&n.setHours((0,a.Z)(t.hours)),null!=t.minutes&&n.setMinutes((0,a.Z)(t.minutes)),null!=t.seconds&&n.setSeconds((0,a.Z)(t.seconds)),null!=t.milliseconds&&n.setMilliseconds((0,a.Z)(t.milliseconds)),n)}},2618:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setHours(a),n}},7227:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setMinutes(a),n}},2363:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t),s=n.getFullYear(),c=n.getDate(),l=new Date(0);l.setFullYear(s,a,15),l.setHours(0,0,0,0);var u=function(e){(0,i.Z)(1,arguments);var t=(0,o.default)(e),n=t.getFullYear(),r=t.getMonth(),a=new Date(0);return a.setFullYear(n,r+1,0),a.setHours(0,0,0,0),a.getDate()}(l);return n.setMonth(a,Math.min(c,u)),n}},5765:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9297),o=n(8527),i=n(2363),a=n(4522);function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.default)(e),s=(0,r.Z)(t)-(Math.floor(n.getMonth()/3)+1);return(0,i.default)(n,n.getMonth()+3*s)}},9292:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return n.setSeconds(a),n}},5617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(8527),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),a=(0,r.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(a),n)}},8347:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},5719:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},3006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}},9254:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(8527),o=n(9297),i=n(4522),a=n(4408);function s(e,t){var n,s,c,l,u,p,d,A;(0,i.Z)(1,arguments);var h=(0,a.j)(),f=(0,o.Z)(null!==(n=null!==(s=null!==(c=null!==(l=null===t||void 0===t?void 0:t.weekStartsOn)&&void 0!==l?l:null===t||void 0===t||null===(u=t.locale)||void 0===u||null===(p=u.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==c?c:h.weekStartsOn)&&void 0!==s?s:null===(d=h.locale)||void 0===d||null===(A=d.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=(0,r.default)(e),m=b.getDay(),M=(m{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(8527),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},6753:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9040),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},4433:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(2074),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},1633:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(4377),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,-n)}},4851:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(1518),o=n(4522),i=n(9297);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},8030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(1104),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},6794:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(6689),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},7503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(20),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},7602:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(9297),o=n(5105),i=n(4522);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},8527:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(1002),o=n(4522);function i(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,r.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}},4234:function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},c=!0,l="[DecimalError] ",u=l+"Invalid argument: ",p=l+"Exponent out of range: ",d=Math.floor,A=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,f=1e7,b=7,m=9007199254740991,M=d(m/b),g={};function z(e,t){var n,r,o,i,a,s,l,u,p=e.constructor,d=p.precision;if(!e.s||!t.s)return t.s||(t=new p(e)),c?W(t,d):t;if(l=e.d,u=t.d,a=e.e,o=t.e,l=l.slice(),i=a-o){for(i<0?(r=l,i=-i,s=u.length):(r=u,o=a,s=l.length),i>(s=(a=Math.ceil(d/b))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=l.length)-(i=u.length)<0&&(i=s,r=u,u=l,l=r),n=0;i;)n=(l[--i]=l[i]+u[i]+n)/f|0,l[i]%=f;for(n&&(l.unshift(n),++o),s=l.length;0==l[--s];)l.pop();return t.d=l,t.e=o,c?W(t,d):t}function y(e,t,n){if(e!==~~e||en)throw Error(u+e)}function v(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;te.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;te.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*b;if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return O(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return W(O(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return w(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(l+"NaN");if(n.s<1)throw Error(l+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(c=!1,t=O(k(n,a),k(e,a),a),c=!0,W(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?S(t,e):z(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(l+"NaN");return n.s?(c=!1,t=O(n,e,0,1).times(e),c=!0,n.minus(t)):W(new r(n),o)},g.naturalExponential=g.exp=function(){return _(this)},g.naturalLogarithm=g.ln=function(){return k(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?z(t,e):S(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=w(o)+1,n=(r=o.d.length-1)*b+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,i,a,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(l+"NaN")}for(e=w(s),c=!1,0==(o=Math.sqrt(+s))||o==1/0?(((t=v(s.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(O(s,i,a+2)).times(.5),v(i.d).slice(0,a)===(t=v(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(W(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if("9999"!=t)break;a+=4}return c=!0,W(r,n)},g.times=g.mul=function(e){var t,n,r,o,i,a,s,l,u,p=this,d=p.constructor,A=p.d,h=(e=new d(e)).d;if(!p.s||!e.s)return new d(0);for(e.s*=p.s,n=p.e+e.e,(l=A.length)<(u=h.length)&&(i=A,A=h,h=i,a=l,l=u,u=a),i=[],r=a=l+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=l+r;o>r;)s=i[o]+h[r]*A[o-r-1]+t,i[o--]=s%f|0,t=s/f|0;i[o]=(i[o]+t)%f|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,c?W(e,d.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(y(e,0,a),void 0===t?t=r.rounding:y(t,0,8),W(n,e+w(n)+1,t))},g.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=T(r,!0):(y(e,0,a),void 0===t?t=o.rounding:y(t,0,8),n=T(r=W(new o(r),e+1,t),!0,e+1)),n},g.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?T(o):(y(e,0,a),void 0===t?t=i.rounding:y(t,0,8),n=T((r=W(new i(o),e+w(o)+1,t)).abs(),!1,e+w(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return W(new t(e),w(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,a,s,u=this,p=u.constructor,A=+(e=new p(e));if(!e.s)return new p(i);if(!(u=new p(u)).s){if(e.s<1)throw Error(l+"Infinity");return u}if(u.eq(i))return u;if(r=p.precision,e.eq(i))return W(u,r);if(s=(t=e.e)>=(n=e.d.length-1),a=u.s,s){if((n=A<0?-A:A)<=m){for(o=new p(i),t=Math.ceil(r/b+4),c=!1;n%2&&E((o=o.times(u)).d,t),0!==(n=d(n/2));)E((u=u.times(u)).d,t);return c=!0,e.s<0?new p(i).div(o):W(o,r)}}else if(a<0)throw Error(l+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,c=!1,o=e.times(k(u,r+12)),c=!0,(o=_(o)).s=a,o},g.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=T(o,(n=w(o))<=i.toExpNeg||n>=i.toExpPos):(y(e,1,a),void 0===t?t=i.rounding:y(t,0,8),r=T(o=W(new i(o),e,t),e<=(n=w(o))||n<=i.toExpNeg,e)),r},g.toSignificantDigits=g.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(y(e,1,a),void 0===t?t=n.rounding:y(t,0,8)),W(new n(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=w(e),n=e.constructor;return T(e,t<=n.toExpNeg||t>=n.toExpPos)};var O=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,o,i,a){var s,c,u,p,d,A,h,m,M,g,z,y,v,O,_,x,q,k,L=r.constructor,S=r.s==o.s?1:-1,T=r.d,E=o.d;if(!r.s)return new L(r);if(!o.s)throw Error(l+"Division by zero");for(c=r.e-o.e,q=E.length,_=T.length,m=(h=new L(S)).d=[],u=0;E[u]==(T[u]||0);)++u;if(E[u]>(T[u]||0)&&--c,(y=null==i?i=L.precision:a?i+(w(r)-w(o))+1:i)<0)return new L(0);if(y=y/b+2|0,u=0,1==q)for(p=0,E=E[0],y++;(u<_||p)&&y--;u++)v=p*f+(T[u]||0),m[u]=v/E|0,p=v%E|0;else{for((p=f/(E[0]+1)|0)>1&&(E=e(E,p),T=e(T,p),q=E.length,_=T.length),O=q,g=(M=T.slice(0,q)).length;g=f/2&&++x;do{p=0,(s=t(E,M,q,g))<0?(z=M[0],q!=g&&(z=z*f+(M[1]||0)),(p=z/x|0)>1?(p>=f&&(p=f-1),1==(s=t(d=e(E,p),M,A=d.length,g=M.length))&&(p--,n(d,q16)throw Error(p+w(e));if(!e.s)return new d(i);for(null==t?(c=!1,s=h):s=t,a=new d(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(s+=Math.log(A(2,u))/Math.LN10*2+5|0,n=r=o=new d(i),d.precision=s;;){if(r=W(r.times(e),s),n=n.times(++l),v((a=o.plus(O(r,n,s))).d).slice(0,s)===v(o.d).slice(0,s)){for(;u--;)o=W(o.times(o),s);return d.precision=h,null==t?(c=!0,W(o,h)):o}o=a}}function w(e){for(var t=e.e*b,n=e.d[0];n>=10;n/=10)t++;return t}function x(e,t,n){if(t>e.LN10.sd())throw c=!0,n&&(e.precision=n),Error(l+"LN10 precision limit exceeded");return W(new e(e.LN10),t)}function q(e){for(var t="";e--;)t+="0";return t}function k(e,t){var n,r,o,a,s,u,p,d,A,h=1,f=e,b=f.d,m=f.constructor,M=m.precision;if(f.s<1)throw Error(l+(f.s?"NaN":"-Infinity"));if(f.eq(i))return new m(0);if(null==t?(c=!1,d=M):d=t,f.eq(10))return null==t&&(c=!0),x(m,d);if(d+=10,m.precision=d,r=(n=v(b)).charAt(0),a=w(f),!(Math.abs(a)<15e14))return p=x(m,d+2,M).times(a+""),f=k(new m(r+"."+n.slice(1)),d-10).plus(p),m.precision=M,null==t?(c=!0,W(f,M)):f;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=v((f=f.times(e)).d)).charAt(0),h++;for(a=w(f),r>1?(f=new m("0."+n),a++):f=new m(r+"."+n.slice(1)),u=s=f=O(f.minus(i),f.plus(i),d),A=W(f.times(f),d),o=3;;){if(s=W(s.times(A),d),v((p=u.plus(O(s,new m(o),d))).d).slice(0,d)===v(u.d).slice(0,d))return u=u.times(2),0!==a&&(u=u.plus(x(m,d+2,M).times(a+""))),u=O(u,new m(h),d),m.precision=M,null==t?(c=!0,W(u,M)):u;u=p,o+=2}}function L(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=d(n/b),e.d=[],r=(n+1)%b,n<0&&(r+=b),rM||e.e<-M))throw Error(p+n)}else e.s=0,e.e=0,e.d=[0];return e}function W(e,t,n){var r,o,i,a,s,l,u,h,m=e.d;for(a=1,i=m[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=b,o=t,u=m[h=0];else{if((h=Math.ceil((r+1)/b))>=(i=m.length))return e;for(u=i=m[h],a=1;i>=10;i/=10)a++;o=(r%=b)-b+a}if(void 0!==n&&(s=u/(i=A(10,a-o-1))%10|0,l=t<0||void 0!==m[h+1]||u%i,l=n<4?(s||l)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(r>0?o>0?u/A(10,a-o):0:m[h-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return l?(i=w(e),m.length=1,t=t-i-1,m[0]=A(10,(b-t%b)%b),e.e=d(-t/b)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(0==r?(m.length=h,i=1,h--):(m.length=h+1,i=A(10,b-r),m[h]=o>0?(u/A(10,a-o)%A(10,o)|0)*i:0),l)for(;;){if(0==h){(m[0]+=i)==f&&(m[0]=1,++e.e);break}if(m[h]+=i,m[h]!=f)break;m[h--]=0,i=1}for(r=m.length;0===m[--r];)m.pop();if(c&&(e.e>M||e.e<-M))throw Error(p+w(e));return e}function S(e,t){var n,r,o,i,a,s,l,u,p,d,A=e.constructor,h=A.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new A(e),c?W(t,h):t;if(l=e.d,d=t.d,r=t.e,u=e.e,l=l.slice(),a=u-r){for((p=a<0)?(n=l,a=-a,s=d.length):(n=d,r=u,s=l.length),a>(o=Math.max(Math.ceil(h/b),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((p=(o=l.length)<(s=d.length))&&(s=o),o=0;o0;--o)l[s++]=0;for(o=d.length;o>a;){if(l[--o]0?i=i.charAt(0)+"."+i.slice(1)+q(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+q(-o-1)+i,n&&(r=n-a)>0&&(i+=q(r))):o>=a?(i+=q(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+q(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=q(r))),e.s<0?"-"+i:i}function E(e,t){if(e.length>t)return e.length=t,!0}function R(e){if(!e||"object"!==typeof e)throw Error(l+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}s=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):L(t,e.toString())}if("string"!==typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(u+e);L(t,e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=R,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!==typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0===--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,n){var s=a.URL||a.webkitURL,c=document.createElement("a");t=t||e.name||"download",c.download=t,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?i(c):o(c.href)?r(e,t,n):i(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){i(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(o(e))r(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var i="application/octet-stream"===e.type,c=/constructor/i.test(a.HTMLElement)||a.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||i&&c||s)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},u.readAsDataURL(e)}else{var p=a.URL||a.webkitURL,d=p.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout((function(){p.revokeObjectURL(d)}),4e4)}});a.saveAs=c.saveAs=c,e.exports=c})?r.apply(t,o):r)||(e.exports=i)},9779:e=>{!function(){function t(e,n){for(var r=(n=n||[]).length,o=0;o{var r=n(8991),o="Feature",i="FeatureCollection",a="Polygon",s="MultiPolygon";function c(e){for(var t=null,n=0;n1,c=i?s:a,l=i?n:n[0]||[];return{type:o,properties:t,geometry:{type:c,coordinates:l}}},h3SetToMultiPolygonFeature:function(e,t){void 0===t&&(t={});var n=e.map((function(e){return[r.h3ToGeoBoundary(e,{geoJson:!0})]}));return{type:o,properties:t,geometry:{type:s,coordinates:n}}},h3SetToFeatureCollection:function(e,t){for(var n=[],r=0;r{e.exports=n(9402)},8991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UNITS:()=>m,cellArea:()=>he,compact:()=>$,degsToRads:()=>ye,edgeLength:()=>me,exactEdgeLength:()=>fe,experimentalH3ToLocalIj:()=>pe,experimentalLocalIjToH3:()=>de,geoToH3:()=>F,getDestinationH3IndexFromUnidirectionalEdge:()=>oe,getH3IndexesFromUnidirectionalEdge:()=>ae,getH3UnidirectionalEdge:()=>ne,getH3UnidirectionalEdgeBoundary:()=>ce,getH3UnidirectionalEdgesFromHexagon:()=>se,getOriginH3IndexFromUnidirectionalEdge:()=>re,getPentagonIndexes:()=>ze,getRes0Indexes:()=>ge,h3Distance:()=>le,h3GetBaseCell:()=>j,h3GetFaces:()=>B,h3GetResolution:()=>I,h3IndexToSplitLong:()=>z,h3IndexesAreNeighbors:()=>te,h3IsPentagon:()=>N,h3IsResClassIII:()=>P,h3IsValid:()=>C,h3Line:()=>ue,h3SetToMultiPolygon:()=>J,h3ToCenterChild:()=>V,h3ToChildren:()=>U,h3ToGeo:()=>Y,h3ToGeoBoundary:()=>X,h3ToParent:()=>H,h3UnidirectionalEdgeIsValid:()=>ie,hexArea:()=>be,hexRing:()=>Q,kRing:()=>G,kRingDistances:()=>Z,numHexagons:()=>Me,pointDist:()=>Ae,polyfill:()=>K,radsToDegs:()=>ve,splitLongToh3Index:()=>v,uncompact:()=>ee});var r=function(e){var t,n="undefined"!==typeof(e=e||{})?e:{},r={};for(t in n)n.hasOwnProperty(t)&&(r[t]=n[t]);var o,i=[],a="";document.currentScript&&(a=document.currentScript.src),a=0!==a.indexOf("blob:")?a.substr(0,a.lastIndexOf("/")+1):"",o=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){if(200==r.status||0==r.status&&r.response)t(r.response);else{var o=Z(e);o?t(o.buffer):n()}},r.onerror=n,r.send(null)};var s=n.print||console.log.bind(console),c=n.printErr||console.warn.bind(console);for(t in r)r.hasOwnProperty(t)&&(n[t]=r[t]);r=null,n.arguments&&(i=n.arguments);var l=0,u=function(){return l};var p=!1;function d(e){var t,r=n["_"+e];return t="Cannot call unknown function "+e+", make sure it is exported",r||se("Assertion failed: "+t),r}function A(e,t,n,r,o){var i={string:function(e){var t=0;if(null!==e&&void 0!==e&&0!==e){var n=1+(e.length<<2);(function(e,t,n){(function(e,t,n,r){if(!(r>0))return 0;for(var o=n,i=n+r-1,a=0;a=55296&&s<=57343)s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a);if(s<=127){if(n>=i)break;t[n++]=s}else if(s<=2047){if(n+1>=i)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=i)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+3>=i)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}}t[n]=0})(e,M,t,n)})(e,t=$(n),n)}return t},array:function(e){var t=$(e.length);return function(e,t){m.set(e,t)}(e,t),t}};var a=d(e),s=[],c=0;if(r)for(var l=0;l=r);)++o;if(o-t>16&&e.subarray&&h)return h.decode(e.subarray(t,o));for(var i="";t>10,56320|1023&l)}}else i+=String.fromCharCode((31&a)<<6|s)}else i+=String.fromCharCode(a)}return i}(M,e,t):""}var b,m,M,g,z,y,v;"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");function O(e,t){return e%t>0&&(e+=t-e%t),e}function _(e){b=e,n.HEAP8=m=new Int8Array(e),n.HEAP16=g=new Int16Array(e),n.HEAP32=z=new Int32Array(e),n.HEAPU8=M=new Uint8Array(e),n.HEAPU16=new Uint16Array(e),n.HEAPU32=new Uint32Array(e),n.HEAPF32=y=new Float32Array(e),n.HEAPF64=v=new Float64Array(e)}var w=n.TOTAL_MEMORY||33554432;function x(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var r=t.func;"number"===typeof r?void 0===t.arg?n.dynCall_v(r):n.dynCall_vi(r,t.arg):r(void 0===t.arg?null:t.arg)}else t()}}w=(b=n.buffer?n.buffer:new ArrayBuffer(w)).byteLength,_(b),z[6004]=5266928;var q=[],k=[],L=[],W=[];var S=Math.abs,T=Math.ceil,E=Math.floor,R=Math.min,D=0,C=null,N=null;n.preloadedImages={},n.preloadedAudios={};var P,j,B=null,I="data:application/octet-stream;base64,";function F(e){return String.prototype.startsWith?e.startsWith(I):0===e.indexOf(I)}B="data:application/octet-stream;base64,AAAAAAAAAAACAAAAAwAAAAEAAAAFAAAABAAAAAYAAAAAAAAAAAAAAAAAAAABAAAAAgAAAAMAAAAEAAAABQAAAAYAAAABAAAABAAAAAMAAAAGAAAABQAAAAIAAAAAAAAAAgAAAAMAAAABAAAABAAAAAYAAAAAAAAABQAAAAMAAAAG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X778ytsuHaADGvzUYObdf1+k/74auECWhw7+cjSACjzniv8CZ+wUhN9I/1uGEKzup6z+/GYr/04bavwmkNHp7xee/F2NMZVAA1z+82s+x2BLivwr2ytbJ9em/KwEH1sMS1r8yp/2LhTfev81i5RexJsy/BlIKPVwR5b95Wyu0/Qjnv5DjoT7YYcs/nBhKZ6zrwr8wRYS7Nebuv3OW6geh+Lu/SLrixebL3j+pcyymN9Xrv8rHIFfWehZAMBwUdlo0DECTUc17EOb2PxpVB1SWChdAzjbhb9pTDUDQhmdvECX5P9FlMKCC9+g/IIAzjELgE0DajDngMv8GQFhWDmDPjNs/y1guLh96EkAxPi8k7DIEQJCc4URlhRhA3eLKKLwkEECqpNAyTBD/P6xpjXcDiwVAFtl//cQm4z+Ibt3XKiYTQM7mCLUb3QdAoM1t8yVv7D8aLZv2Nk8UQEAJPV5nQwxAtSsfTCoE9z9TPjXLXIIWQBVanC5W9AtAYM3d7Adm9j++5mQz1FoWQBUThyaVBghAwH5muQsV7T89Q1qv82MUQJoWGOfNuBdAzrkClkmwDkDQjKq77t37Py+g0dtitsE/ZwAMTwVPEUBojepluNwBQGYbtuW+t9w/HNWIJs6MEkDTNuQUSlgEQKxktPP5TcQ/ixbLB8JjEUCwuWjXMQYCQAS/R09FkRdAowpiZjhhDkB7LmlczD/7P01iQmhhsAVAnrtTwDy84z/Z6jfQ2TgTQChOCXMnWwpAhrW3daoz8z/HYJvVPI4VQLT3ik5FcA5Angi7LOZd+z+NNVzDy5gXQBXdvVTFUA1AYNMgOeYe+T8+qHXGCwkXQKQTOKwa5AJA8gFVoEMW0T+FwzJyttIRQAEAAAD/////BwAAAP////8xAAAA/////1cBAAD/////YQkAAP////+nQQAA/////5HLAQD/////95AMAP/////B9lcAAAAAAAAAAAAAAAAAAgAAAP////8OAAAA/////2IAAAD/////rgIAAP/////CEgAA/////06DAAD/////IpcDAP/////uIRkA/////4LtrwAAAAAAAAAAAAAAAAAAAAAAAgAAAP//////////AQAAAAMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAgAAAP///////////////wMAAAD//////////////////////////////////////////////////////////wIAAAD//////////wEAAAAAAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA/////////////////////wEAAAD///////////////8CAAAA////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAA////////////////AgAAAAEAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AQAAAAIAAAD///////////////8AAAAA/////////////////////wMAAAD///////////////////////////////8CAAAA////////////////AQAAAP////////////////////8AAAAA/////////////////////wMAAAD/////////////////////////////////////////////////////AwAAAP////////////////////8AAAAAAQAAAP//////////AgAAAP//////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAP///////////////wIAAAAAAAAAAQAAAP//////////////////////////////////////////////////////////////////////////AwAAAAEAAAD//////////wIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAgAAAAAAAAACAAAAAQAAAAEAAAACAAAAAgAAAAAAAAAFAAAABQAAAAAAAAACAAAAAgAAAAMAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAABAAAA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wAAAAYAAAACAAAABQAAAAEAAAAEAAAAAAAAAAAAAAAFAAAAAwAAAAEAAAAGAAAABAAAAAIAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAA/////wAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAP////8AAAAAAAAAAAEAAAABAAAAAAAAAAAAAAD/////AAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAA/////wUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAP////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////AAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/////////////////////////////////////wAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAUAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////////////////////8AAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAABAAAAAQAAAAEAAAAAAAAAAQAAAAAAAAAFAAAAAQAAAAEAAAAAAAAAAAAAAAEAAAABAAAAAAAAAAEAAAABAAAA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lQb2x5Z29uAGJib3hlcyAhPSBOVUxMAGNhbmRpZGF0ZXMgIT0gTlVMTABmaW5kUG9seWdvbkZvckhvbGUAY2FuZGlkYXRlQkJveGVzICE9IE5VTEwAcmV2RGlyICE9IElOVkFMSURfRElHSVQAbG9jYWxpai5jAGgzVG9Mb2NhbElqawBiYXNlQ2VsbCAhPSBvcmlnaW5CYXNlQ2VsbAAhKG9yaWdpbk9uUGVudCAmJiBpbmRleE9uUGVudCkAcGVudGFnb25Sb3RhdGlvbnMgPj0gMABkaXJlY3Rpb25Sb3RhdGlvbnMgPj0gMABiYXNlQ2VsbCA9PSBvcmlnaW5CYXNlQ2VsbABiYXNlQ2VsbCAhPSBJTlZBTElEX0JBU0VfQ0VMTABsb2NhbElqa1RvSDMAIV9pc0Jhc2VDZWxsUGVudGFnb24oYmFzZUNlbGwpAGJhc2VDZWxsUm90YXRpb25zID49IDAAd2l0aGluUGVudGFnb25Sb3RhdGlvbnMgPj0gMABncmFwaC0+YnVja2V0cyAhPSBOVUxMAHZlcnRleEdyYXBoLmMAaW5pdFZlcnRleEdyYXBoAG5vZGUgIT0gTlVMTABhZGRWZXJ0ZXhOb2Rl";function Y(e){return e}function X(e){return e.replace(/\b__Z[\w\d_]+/g,(function(e){return e===e?e:e+" ["+e+"]"}))}function H(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function U(){return m.length}function V(e){try{var t=new ArrayBuffer(e);if(t.byteLength!=e)return;return new Int8Array(t).set(m),J(t),_(t),1}catch(n){}}var G="function"===typeof atob?atob:function(e){var t,n,r,o,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{t=s.indexOf(e.charAt(l++))<<2|(o=s.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(i=s.indexOf(e.charAt(l++)))>>2,r=(3&i)<<6|(a=s.indexOf(e.charAt(l++))),c+=String.fromCharCode(t),64!==i&&(c+=String.fromCharCode(n)),64!==a&&(c+=String.fromCharCode(r))}while(l>2]=e,o[s+4>>2]=t,(s=0!=(0|i))&&(o[i>>2]=0),0|Re(e,t))return W=a,0|(h=1);o[h>>2]=0;e:do{if((0|n)>=1)if(s)for(p=0,d=1,A=1,c=0,s=e;;){if(!(c|p)){if(0==(0|(s=0|R(s,t,4,h)))&0==(0|(t=0|O()))){s=2;break e}if(0|Re(s,t)){s=1;break e}}if(0==(0|(s=0|R(s,t,0|o[16+(p<<2)>>2],h)))&0==(0|(t=0|O()))){s=2;break e}if(o[(e=r+(A<<3)|0)>>2]=s,o[e+4>>2]=t,o[i+(A<<2)>>2]=d,e=(0|(c=c+1|0))==(0|d),u=6==(0|(l=p+1|0)),0|Re(s,t)){s=1;break e}if((0|(d=d+(u&e&1)|0))>(0|n)){s=0;break}p=e?u?0:l:p,A=A+1|0,c=e?0:c}else for(p=0,d=1,A=1,c=0,s=e;;){if(!(c|p)){if(0==(0|(s=0|R(s,t,4,h)))&0==(0|(t=0|O()))){s=2;break e}if(0|Re(s,t)){s=1;break e}}if(0==(0|(s=0|R(s,t,0|o[16+(p<<2)>>2],h)))&0==(0|(t=0|O()))){s=2;break e}if(o[(e=r+(A<<3)|0)>>2]=s,o[e+4>>2]=t,e=(0|(c=c+1|0))==(0|d),u=6==(0|(l=p+1|0)),0|Re(s,t)){s=1;break e}if((0|(d=d+(u&e&1)|0))>(0|n)){s=0;break}p=e?u?0:l:p,A=A+1|0,c=e?0:c}else s=0}while(0);return W=a,0|(h=s)}function E(e,t,n,r,i,a,s){n|=0,r|=0,i|=0,a|=0,s|=0;var c,l,u=0,p=0,d=0,A=0,h=0;if(l=W,W=W+16|0,c=l,0==(0|(e|=0))&0==(0|(t|=0)))W=l;else{if(u=0|Ot(0|e,0|t,0|a,((0|a)<0)<<31>>31|0),O(),!(0==(0|(h=0|o[(A=p=r+(u<<3)|0)>>2]))&0==(0|(A=0|o[A+4>>2]))|(d=(0|h)==(0|e)&(0|A)==(0|t))))do{d=(0|(A=0|o[(h=p=r+((u=(u+1|0)%(0|a)|0)<<3)|0)>>2]))==(0|e)&(0|(h=0|o[h+4>>2]))==(0|t)}while(!(0==(0|A)&0==(0|h)|d));u=i+(u<<2)|0,d&&(0|o[u>>2])<=(0|s)||(o[(h=p)>>2]=e,o[h+4>>2]=t,o[u>>2]=s,(0|s)>=(0|n)||(h=s+1|0,o[c>>2]=0,E(A=0|R(e,t,2,c),0|O(),n,r,i,a,h),o[c>>2]=0,E(A=0|R(e,t,3,c),0|O(),n,r,i,a,h),o[c>>2]=0,E(A=0|R(e,t,1,c),0|O(),n,r,i,a,h),o[c>>2]=0,E(A=0|R(e,t,5,c),0|O(),n,r,i,a,h),o[c>>2]=0,E(A=0|R(e,t,4,c),0|O(),n,r,i,a,h),o[c>>2]=0,E(A=0|R(e,t,6,c),0|O(),n,r,i,a,h))),W=l}}function R(e,t,n,r){e|=0,t|=0,n|=0;var i,a,s=0,c=0,l=0,u=0,p=0,d=0,A=0;if((0|o[(r|=0)>>2])>0){s=0;do{n=0|ce(n),s=s+1|0}while((0|s)<(0|o[r>>2]))}i=0|_t(0|e,0|t,45),O(),a=127&i,c=0|De(e,t),s=0|_t(0|e,0|t,52),O(),s&=15;e:do{if(s)for(;;){if(d=0|_t(0|e,0|t,0|(p=3*(15-s|0)|0)),O(),d&=7,A=0==(0|Be(s)),s=s+-1|0,u=0|wt(7,0,0|p),t&=~(0|O()),e=(p=0|wt(0|o[(A?464:48)+(28*d|0)+(n<<2)>>2],0,0|p))|e&~u,t|=0|O(),!(n=0|o[(A?672:256)+(28*d|0)+(n<<2)>>2])){n=0;break e}if(!s){l=6;break}}else l=6}while(0);6==(0|l)&&(e|=d=0|wt(0|(A=0|o[880+(28*a|0)+(n<<2)>>2]),0,45),t=0|O()|-1040385&t,n=0|o[4304+(28*a|0)+(n<<2)>>2],127==(127&A|0)&&(A=0|wt(0|o[880+(28*a|0)+20>>2],0,45),t=0|O()|-1040385&t,n=0|o[4304+(28*a|0)+20>>2],e=0|Ne(A|e,t),t=0|O(),o[r>>2]=1+(0|o[r>>2]))),l=0|_t(0|e,0|t,45),O(),l&=127;e:do{if(0|C(l)){t:do{if(1==(0|De(e,t))){if((0|a)!=(0|l)){if(0|B(l,0|o[7728+(28*a|0)>>2])){e=0|je(e,t),c=1,t=0|O();break}e=0|Ne(e,t),c=1,t=0|O();break}switch(0|c){case 5:e=0|je(e,t),t=0|O(),o[r>>2]=5+(0|o[r>>2]),c=0;break t;case 3:e=0|Ne(e,t),t=0|O(),o[r>>2]=1+(0|o[r>>2]),c=0;break t;default:return A=0,v(0|(d=0)),0|A}}else c=0}while(0);if((0|n)>0){s=0;do{e=0|Ce(e,t),t=0|O(),s=s+1|0}while((0|s)!=(0|n))}if((0|a)!=(0|l)){if(!(0|N(l))){if(0!=(0|c)|5!=(0|De(e,t)))break;o[r>>2]=1+(0|o[r>>2]);break}switch(127&i){case 8:case 118:break e}3!=(0|De(e,t))&&(o[r>>2]=1+(0|o[r>>2]))}}else if((0|n)>0){s=0;do{e=0|Ne(e,t),t=0|O(),s=s+1|0}while((0|s)!=(0|n))}}while(0);return o[r>>2]=((0|o[r>>2])+n|0)%6|0,A=e,v(0|(d=t)),0|A}function D(e,t,n,r,a,s){t|=0,n|=0,r|=0,a|=0,s|=0;var c,l,u,p,d,A,h,f,b,m=0,M=0,g=0,z=0,y=0,v=0,_=0,w=0,x=0,q=0,k=0,L=0,S=0,T=0;if(b=W,W=W+48|0,A=b+32|0,h=b+16|0,f=b,(0|(m=0|o[(e|=0)>>2]))<=0)return W=b,0|(L=0);c=e+4|0,l=A+8|0,u=h+8|0,p=f+8|0,d=((0|t)<0)<<31>>31,k=0;e:for(;;){x=(M=0|o[c>>2])+(k<<4)|0,o[A>>2]=o[x>>2],o[A+4>>2]=o[x+4>>2],o[A+8>>2]=o[x+8>>2],o[A+12>>2]=o[x+12>>2],(0|k)==(m+-1|0)?(o[h>>2]=o[M>>2],o[h+4>>2]=o[M+4>>2],o[h+8>>2]=o[M+8>>2],o[h+12>>2]=o[M+12>>2]):(x=M+(k+1<<4)|0,o[h>>2]=o[x>>2],o[h+4>>2]=o[x+4>>2],o[h+8>>2]=o[x+8>>2],o[h+12>>2]=o[x+12>>2]),x=0|U(A,h,n);t:do{if((0|x)>0){q=+(0|x),w=0;n:for(;;){T=+(x-w|0),S=+(0|w),i[f>>3]=+i[A>>3]*T/q+ +i[h>>3]*S/q,i[p>>3]=+i[l>>3]*T/q+ +i[u>>3]*S/q,M=0|Ot(0|(v=0|Ie(f,n)),0|(_=0|O()),0|t,0|d),O(),z=0|o[(g=m=s+(M<<3)|0)>>2],g=0|o[g+4>>2];r:do{if(0==(0|z)&0==(0|g))L=14;else for(y=0;;){if((0|y)>(0|t)){m=1;break r}if((0|z)==(0|v)&(0|g)==(0|_)){m=7;break r}if(0==(0|(z=0|o[(g=m=s+((M=(M+1|0)%(0|t)|0)<<3)|0)>>2]))&0==(0|(g=0|o[g+4>>2]))){L=14;break}y=y+1|0}}while(0);switch(14==(0|L)&&(L=0,0==(0|v)&0==(0|_)?m=7:(o[m>>2]=v,o[m+4>>2]=_,m=0|o[r>>2],o[(y=a+(m<<3)|0)>>2]=v,o[y+4>>2]=_,o[r>>2]=m+1,m=0)),7&m){case 7:case 0:break;default:break n}if((0|x)<=(0|(w=w+1|0))){L=8;break t}}if(0|m){m=-1,L=20;break e}}else L=8}while(0);if(8==(0|L)&&(L=0),(0|(k=k+1|0))>=(0|(m=0|o[e>>2]))){m=0,L=20;break}}return 20==(0|L)?(W=b,0|m):0}function C(e){return 0|o[7728+(28*(e|=0)|0)+16>>2]}function N(e){return 4==(0|(e|=0))|117==(0|e)|0}function P(e){return 0|o[11152+(216*(0|o[(e|=0)>>2])|0)+(72*(0|o[e+4>>2])|0)+(24*(0|o[e+8>>2])|0)+(o[e+12>>2]<<3)>>2]}function j(e){return 0|o[11152+(216*(0|o[(e|=0)>>2])|0)+(72*(0|o[e+4>>2])|0)+(24*(0|o[e+8>>2])|0)+(o[e+12>>2]<<3)+4>>2]}function B(e,t){return t|=0,(0|o[7728+(28*(e|=0)|0)+20>>2])==(0|t)?0|(t=1):0|(t=(0|o[7728+(28*e|0)+24>>2])==(0|t))}function I(e,t){return 0|o[880+(28*(e|=0)|0)+((t|=0)<<2)>>2]}function F(e,t){return t|=0,(0|o[880+(28*(e|=0)|0)>>2])==(0|t)?0|(t=0):(0|o[880+(28*e|0)+4>>2])==(0|t)?0|(t=1):(0|o[880+(28*e|0)+8>>2])==(0|t)?0|(t=2):(0|o[880+(28*e|0)+12>>2])==(0|t)?0|(t=3):(0|o[880+(28*e|0)+16>>2])==(0|t)?0|(t=4):(0|o[880+(28*e|0)+20>>2])==(0|t)?0|(t=5):0|((0|o[880+(28*e|0)+24>>2])==(0|t)?6:7)}function Y(e){return+i[(e|=0)+16>>3]<+i[e+24>>3]|0}function X(e,t){e|=0;var n,r,o=0;return(o=+i[(t|=0)>>3])>=+i[e+8>>3]&&o<=+i[e>>3]?(n=+i[e+16>>3],o=+i[e+24>>3],t=(r=+i[t+8>>3])>=o,e=r<=n&1,n>2]=0,p=p+4|0}while((0|p)<(0|d));return Ue(t,a),Xe(d=0|o[(p=a)>>2],p=0|o[p+4>>2],n),He(d,p,r),l=+ke(n,r+8|0),i[n>>3]=+i[e>>3],i[(p=n+8|0)>>3]=+i[e+16>>3],i[r>>3]=+i[e+8>>3],i[(d=r+8|0)>>3]=+i[e+24>>3],u=+ke(n,r),d=~~+M(+u*u/+xt(+ +c(+(+i[p>>3]-+i[d>>3])/(+i[n>>3]-+i[r>>3])),3)/(l*(2.59807621135*l)*.8)),W=s,0|(0==(0|d)?1:d)}function U(e,t,n){e|=0,t|=0,n|=0;var r,i,a,s,c,l=0,u=0;s=W,W=W+288|0,r=s+264|0,i=s+96|0,u=(l=a=s)+96|0;do{o[l>>2]=0,l=l+4|0}while((0|l)<(0|u));return Ue(n,a),Xe(l=0|o[(u=a)>>2],u=0|o[u+4>>2],r),He(l,u,i),c=+ke(r,i+8|0),u=~~+M(+ +ke(e,t)/(2*c)),W=s,0|(0==(0|u)?1:u)}function V(e,t,n,r){t|=0,n|=0,r|=0,o[(e|=0)>>2]=t,o[e+4>>2]=n,o[e+8>>2]=r}function G(e,t){e|=0;var n,r,a,s,l=0,u=0,p=0,d=0,A=0,h=0,f=0;o[(s=(t|=0)+8|0)>>2]=0,r=+i[e>>3],d=+c(+r),a=+i[e+8>>3],d+=.5*(A=+c(+a)/.8660254037844386),d-=+(0|(l=~~d)),A-=+(0|(e=~~A));do{if(d<.5){if(d<.3333333333333333){if(o[t>>2]=l,A<.5*(d+1)){o[t+4>>2]=e;break}e=e+1|0,o[t+4>>2]=e;break}if(e=(1&!(A<(f=1-d)))+e|0,o[t+4>>2]=e,f<=A&A<2*d){l=l+1|0,o[t>>2]=l;break}o[t>>2]=l;break}if(!(d<.6666666666666666)){if(l=l+1|0,o[t>>2]=l,A<.5*d){o[t+4>>2]=e;break}e=e+1|0,o[t+4>>2]=e;break}if(A<1-d){if(o[t+4>>2]=e,2*d-1>2]=l;break}}else e=e+1|0,o[t+4>>2]=e;l=l+1|0,o[t>>2]=l}while(0);do{if(r<0){if(1&e){l=~~(+(0|l)-(2*(+((h=0|zt(0|l,((0|l)<0)<<31>>31|0,0|(h=(e+1|0)/2|0),((0|h)<0)<<31>>31|0))>>>0)+4294967296*+(0|O()))+1)),o[t>>2]=l;break}l=~~(+(0|l)-2*(+((h=0|zt(0|l,((0|l)<0)<<31>>31|0,0|(h=(0|e)/2|0),((0|h)<0)<<31>>31|0))>>>0)+4294967296*+(0|O()))),o[t>>2]=l;break}}while(0);h=t+4|0,a<0&&(l=l-((1|e<<1)/2|0)|0,o[t>>2]=l,e=0-e|0,o[h>>2]=e),u=e-l|0,(0|l)<0?(p=0-l|0,o[h>>2]=u,o[s>>2]=p,o[t>>2]=0,e=u,l=0):p=0,(0|e)<0&&(l=l-e|0,o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8|0)>>2],t),o[e>>2]=t}function ee(e){var t,n,r=0,i=0,a=0,s=0,c=0;c=(0|(n=0|o[(e|=0)>>2]))<0,e=(e=(i=(0|(s=((t=(0|(a=(0|o[e+4>>2])-(c?n:0)|0))<0)?0-a|0:0)+((0|o[e+8>>2])-(c?n:0))|0))<0)?0:s)-((a=(0|(i=(0|e)<(0|(i=(0|(r=(t?0:a)-(i?s:0)|0))<(0|(s=(c?0:n)-(t?a:0)-(i?s:0)|0))?r:s))?e:i))>0)?i:0)|0,r=r-(a?i:0)|0;e:do{switch(s-(a?i:0)|0){case 0:switch(0|r){case 0:return 0|(c=0==(0|e)?0:1==(0|e)?1:7);case 1:return 0|(c=0==(0|e)?2:1==(0|e)?3:7);default:break e}case 1:switch(0|r){case 0:return 0|(c=0==(0|e)?4:1==(0|e)?5:7);case 1:if(e)break e;return 0|(e=6);default:break e}}}while(0);return 0|(c=7)}function te(e){var t,n,r=0,i=0,a=0,s=0,c=0;i=0|o[(t=(e|=0)+8|0)>>2],a=0|bt(+((3*(r=(0|o[e>>2])-i|0)|0)-(i=(0|o[(n=e+4|0)>>2])-i|0)|0)/7),o[e>>2]=a,r=0|bt(+((i<<1)+r|0)/7),o[n>>2]=r,o[t>>2]=0,i=r-a|0,(0|a)<0?(c=0-a|0,o[n>>2]=i,o[t>>2]=c,o[e>>2]=0,r=i,a=0,i=c):i=0,(0|r)<0&&(a=a-r|0,o[e>>2]=a,i=i-r|0,o[t>>2]=i,o[n>>2]=0,r=0),c=a-i|0,s=r-i|0,(0|i)<0?(o[e>>2]=c,o[n>>2]=s,o[t>>2]=0,r=s,s=c,i=0):s=a,(0|(a=(0|i)<(0|(a=(0|r)<(0|s)?r:s))?i:a))<=0||(o[e>>2]=s-a,o[n>>2]=r-a,o[t>>2]=i-a)}function ne(e){var t,n,r=0,i=0,a=0,s=0,c=0;i=0|o[(t=(e|=0)+8|0)>>2],a=0|bt(+(((r=(0|o[e>>2])-i|0)<<1)+(i=(0|o[(n=e+4|0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0|s)?c:s))?i:a))<=0||(o[e>>2]=s-a,o[n>>2]=c-a,o[r>>2]=i-a)}function se(e){var t,n,r,i=0,a=0,s=0,c=0;i=0|o[(e|=0)>>2],s=0|o[(n=e+4|0)>>2],a=0|o[(r=e+8|0)>>2],c=s+i|0,o[e>>2]=c,s=a+s|0,o[n>>2]=s,i=a+i|0,o[r>>2]=i,a=s-c|0,(0|c)<0?(i=i-c|0,o[n>>2]=a,o[r>>2]=i,o[e>>2]=0,s=0):(a=s,s=c),(0|a)<0&&(s=s-a|0,o[e>>2]=s,i=i-a|0,o[r>>2]=i,o[n>>2]=0,a=0),t=s-i|0,c=a-i|0,(0|i)<0?(o[e>>2]=t,o[n>>2]=c,o[r>>2]=0,s=t,i=0):c=a,(0|(a=(0|i)<(0|(a=(0|c)<(0|s)?c:s))?i:a))<=0||(o[e>>2]=s-a,o[n>>2]=c-a,o[r>>2]=i-a)}function ce(e){switch(0|(e|=0)){case 1:e=5;break;case 5:e=4;break;case 4:e=6;break;case 6:e=2;break;case 2:e=3;break;case 3:e=1}return 0|e}function le(e){switch(0|(e|=0)){case 1:e=3;break;case 3:e=2;break;case 2:e=6;break;case 6:e=4;break;case 4:e=5;break;case 5:e=1}return 0|e}function ue(e){var t,n,r,i=0,a=0,s=0,c=0;i=0|o[(e|=0)>>2],a=0|o[(n=e+4|0)>>2],s=0|o[(r=e+8|0)>>2],c=a+(i<<1)|0,o[e>>2]=c,a=s+(a<<1)|0,o[n>>2]=a,i=(s<<1)+i|0,o[r>>2]=i,s=a-c|0,(0|c)<0?(i=i-c|0,o[n>>2]=s,o[r>>2]=i,o[e>>2]=0,a=s,s=0):s=c,(0|a)<0&&(s=s-a|0,o[e>>2]=s,i=i-a|0,o[r>>2]=i,o[n>>2]=0,a=0),t=s-i|0,c=a-i|0,(0|i)<0?(o[e>>2]=t,o[n>>2]=c,o[r>>2]=0,s=t,i=0):c=a,(0|(a=(0|i)<(0|(a=(0|c)<(0|s)?c:s))?i:a))<=0||(o[e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]=1,s=l),(l=+ct(15936,c))>2]=2,s=l),(l=+ct(15960,c))>2]=3,s=l),(l=+ct(15984,c))>2]=4,s=l),(l=+ct(16008,c))>2]=5,s=l),(l=+ct(16032,c))>2]=6,s=l),(l=+ct(16056,c))>2]=7,s=l),(l=+ct(16080,c))>2]=8,s=l),(l=+ct(16104,c))>2]=9,s=l),(l=+ct(16128,c))>2]=10,s=l),(l=+ct(16152,c))>2]=11,s=l),(l=+ct(16176,c))>2]=12,s=l),(l=+ct(16200,c))>2]=13,s=l),(l=+ct(16224,c))>2]=14,s=l),(l=+ct(16248,c))>2]=15,s=l),(l=+ct(16272,c))>2]=16,s=l),(l=+ct(16296,c))>2]=17,s=l),(l=+ct(16320,c))>2]=18,s=l),(l=+ct(16344,c))>2]=19,s=l),(l=+h(+(1-.5*s)))<1e-16)return o[r>>2]=0,o[r+4>>2]=0,o[r+8>>2]=0,o[r+12>>2]=0,void(W=a);if(n=0|o[n>>2],s=+xe((s=+i[16368+(24*n|0)>>3])-+xe(+function(e,t){e|=0,t|=0;var n=0,r=0,o=0,a=0,s=0;return a=+i[t>>3],r=+p(+a),o=+i[t+8>>3]-+i[e+8>>3],s=r*+d(+o),n=+i[e>>3],+ +m(+s,+(+d(+a)*+p(+n)-+p(+o)*(r*+d(+n))))}(15568+(n<<4)|0,e))),u=0|Be(t)?+xe(s+-.3334731722518321):s,s=+A(+l)/.381966011250105,(0|t)>0){c=0;do{s*=2.6457513110645907,c=c+1|0}while((0|c)!=(0|t))}l=+p(+u)*s,i[r>>3]=l,u=+d(+u)*s,i[r+8>>3]=u,W=a}function Me(e,t,n,r,a){t|=0,n|=0,r|=0,a|=0;var s=0,u=0;if(s=+function(e){e|=0;var t=0,n=0;return n=+i[e>>3],t=+i[e+8>>3],+ +l(+(n*n+t*t))}(e|=0),s<1e-16)return t=15568+(t<<4)|0,o[a>>2]=o[t>>2],o[a+4>>2]=o[t+4>>2],o[a+8>>2]=o[t+8>>2],void(o[a+12>>2]=o[t+12>>2]);if(u=+m(+ +i[e+8>>3],+ +i[e>>3]),(0|n)>0){e=0;do{s/=2.6457513110645907,e=e+1|0}while((0|e)!=(0|n))}r?(s/=3,n=0==(0|Be(n)),s=+b(.381966011250105*(n?s:s/2.6457513110645907))):(s=+b(.381966011250105*s),0|Be(n)&&(u=+xe(u+.3334731722518321))),function(e,t,n,r){e|=0,t=+t,n=+n,r|=0;var a=0,s=0,l=0,u=0;if(n<1e-16)return o[r>>2]=o[e>>2],o[r+4>>2]=o[e+4>>2],o[r+8>>2]=o[e+8>>2],void(o[r+12>>2]=o[e+12>>2]);s=t<0?t+6.283185307179586:t,s=t>=6.283185307179586?s+-6.283185307179586:s;do{if(!(s<1e-16)){if(a=+c(+(s+-3.141592653589793))<1e-16,t=+i[e>>3],a){t-=n,i[r>>3]=t,a=r;break}if(l=+p(+n),n=+d(+n),t=l*+d(+t)+ +p(+s)*(n*+p(+t)),t=+f(+((t=t>1?1:t)<-1?-1:t)),i[r>>3]=t,+c(+(t+-1.5707963267948966))<1e-16)return i[r>>3]=1.5707963267948966,void(i[r+8>>3]=0);if(+c(+(t+1.5707963267948966))<1e-16)return i[r>>3]=-1.5707963267948966,void(i[r+8>>3]=0);if(u=+p(+t),s=n*+d(+s)/u,n=+i[e>>3],t=(l-+d(+t)*+d(+n))/+p(+n)/u,l=s>1?1:s,t=t>1?1:t,(t=+i[e+8>>3]+ +m(+(l<-1?-1:l),+(t<-1?-1:t)))>3.141592653589793)do{t+=-6.283185307179586}while(t>3.141592653589793);if(t<-3.141592653589793)do{t+=6.283185307179586}while(t<-3.141592653589793);return void(i[r+8>>3]=t)}t=+i[e>>3]+n,i[r>>3]=t,a=r}while(0);if(+c(+(t+-1.5707963267948966))<1e-16)return i[a>>3]=1.5707963267948966,void(i[r+8>>3]=0);if(+c(+(t+1.5707963267948966))<1e-16)return i[a>>3]=-1.5707963267948966,void(i[r+8>>3]=0);if(t=+i[e+8>>3],t>3.141592653589793)do{t+=-6.283185307179586}while(t>3.141592653589793);if(t<-3.141592653589793)do{t+=6.283185307179586}while(t<-3.141592653589793);i[r+8>>3]=t}(15568+(t<<4)|0,+xe(+i[16368+(24*t|0)>>3]-u),s,a)}function ge(e,t,n){t|=0,n|=0;var r,i;r=W,W=W+16|0,Q((e|=0)+4|0,i=r),Me(i,0|o[e>>2],t,0,n),W=r}function ze(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var s,c,l,u,p,d,A,h,f,b,m,M,g,z,y,v,O,w,x,q,k,L,S=0,T=0,E=0,R=0,D=0,C=0;if(L=W,W=W+272|0,R=L+240|0,x=L,q=L+224|0,k=L+208|0,m=L+176|0,M=L+160|0,g=L+192|0,z=L+144|0,y=L+128|0,v=L+112|0,O=L+96|0,w=L+80|0,o[(S=L+256|0)>>2]=t,o[R>>2]=o[e>>2],o[R+4>>2]=o[e+4>>2],o[R+8>>2]=o[e+8>>2],o[R+12>>2]=o[e+12>>2],ye(R,S,x),o[a>>2]=0,(0|(R=r+n+(5==(0|r)&1)|0))<=(0|n))W=L;else{c=q+4|0,l=m+4|0,u=n+5|0,p=16848+((s=0|o[S>>2])<<2)|0,d=16928+(s<<2)|0,A=y+8|0,h=v+8|0,f=O+8|0,b=k+4|0,E=n;e:for(;;){T=x+(((0|E)%5|0)<<4)|0,o[k>>2]=o[T>>2],o[k+4>>2]=o[T+4>>2],o[k+8>>2]=o[T+8>>2],o[k+12>>2]=o[T+12>>2];do{}while(2==(0|ve(k,s,0,1)));if((0|E)>(0|n)&0!=(0|Be(t))){if(o[m>>2]=o[k>>2],o[m+4>>2]=o[k+4>>2],o[m+8>>2]=o[k+8>>2],o[m+12>>2]=o[k+12>>2],Q(c,M),r=0|o[m>>2],S=0|o[17008+(80*r|0)+(o[q>>2]<<2)>>2],o[m>>2]=o[18608+(80*r|0)+(20*S|0)>>2],(0|(T=0|o[18608+(80*r|0)+(20*S|0)+16>>2]))>0){e=0;do{ae(l),e=e+1|0}while((0|e)<(0|T))}switch(T=18608+(80*r|0)+(20*S|0)+4|0,o[g>>2]=o[T>>2],o[g+4>>2]=o[T+4>>2],o[g+8>>2]=o[T+8>>2],$(g,3*(0|o[p>>2])|0),K(l,g,l),Z(l),Q(l,z),D=+(0|o[d>>2]),i[y>>3]=3*D,i[A>>3]=0,C=-1.5*D,i[v>>3]=C,i[h>>3]=2.598076211353316*D,i[O>>3]=C,i[f>>3]=-2.598076211353316*D,0|o[17008+(80*(0|o[m>>2])|0)+(o[k>>2]<<2)>>2]){case 1:e=v,r=y;break;case 3:e=O,r=v;break;case 2:e=y,r=O;break;default:e=12;break e}at(M,z,r,e,w),Me(w,0|o[m>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2])}if((0|E)<(0|u)&&(Q(b,m),Me(m,0|o[k>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2])),o[q>>2]=o[k>>2],o[q+4>>2]=o[k+4>>2],o[q+8>>2]=o[k+8>>2],o[q+12>>2]=o[k+12>>2],(0|(E=E+1|0))>=(0|R)){e=3;break}}3!=(0|e)?12==(0|e)&&_(22474,22521,581,22531):W=L}}function ye(e,t,n){e|=0,t|=0,n|=0;var r,i=0,a=0,s=0,c=0,l=0;r=W,W=W+128|0,a=r,c=20208,l=(s=i=r+64|0)+60|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));c=20272,l=(s=a)+60|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));i=(l=0==(0|Be(0|o[t>>2])))?i:a,ue(a=e+4|0),pe(a),0|Be(0|o[t>>2])&&(oe(a),o[t>>2]=1+(0|o[t>>2])),o[n>>2]=o[e>>2],K(a,i,t=n+4|0),Z(t),o[n+16>>2]=o[e>>2],K(a,i+12|0,t=n+20|0),Z(t),o[n+32>>2]=o[e>>2],K(a,i+24|0,t=n+36|0),Z(t),o[n+48>>2]=o[e>>2],K(a,i+36|0,t=n+52|0),Z(t),o[n+64>>2]=o[e>>2],K(a,i+48|0,n=n+68|0),Z(n),W=r}function ve(e,t,n,r){n|=0,r|=0;var i,a,s,c,l,u,p=0,d=0,A=0,h=0,f=0;if(u=W,W=W+32|0,l=u+12|0,a=u,f=(e|=0)+4|0,h=0|o[16928+((t|=0)<<2)>>2],h=(c=0!=(0|r))?3*h|0:h,p=0|o[f>>2],i=0|o[(s=e+8|0)>>2],c){if((0|(p=i+p+(r=0|o[(d=e+12|0)>>2])|0))==(0|h))return W=u,0|(f=1);A=d}else p=i+p+(r=0|o[(A=e+12|0)>>2])|0;if((0|p)<=(0|h))return W=u,0|(f=0);do{if((0|r)>0){if(r=0|o[e>>2],(0|i)>0){d=18608+(80*r|0)+60|0,r=e;break}r=18608+(80*r|0)+40|0,n?(V(l,h,0,0),J(f,l,a),se(a),K(a,l,f),d=r,r=e):(d=r,r=e)}else d=18608+(80*(0|o[e>>2])|0)+20|0,r=e}while(0);if(o[r>>2]=o[d>>2],(0|o[(p=d+16|0)>>2])>0){r=0;do{ae(f),r=r+1|0}while((0|r)<(0|o[p>>2]))}return e=d+4|0,o[l>>2]=o[e>>2],o[l+4>>2]=o[e+4>>2],o[l+8>>2]=o[e+8>>2],t=0|o[16848+(t<<2)>>2],$(l,c?3*t|0:t),K(f,l,f),Z(f),r=c&&((0|o[s>>2])+(0|o[f>>2])+(0|o[A>>2])|0)==(0|h)?1:2,W=u,0|(f=r)}function Oe(e,t){e|=0,t|=0;var n=0;do{n=0|ve(e,t,0,1)}while(2==(0|n));return 0|n}function _e(e,t,n,r,a){e|=0,t|=0,n|=0,r|=0,a|=0;var s,c,l,u,p,d,A,h,f,b,m,M,g,z,y,v,O,w,x=0,q=0,k=0,L=0,S=0;if(w=W,W=W+240|0,z=w+208|0,y=w,v=w+192|0,O=w+176|0,f=w+160|0,b=w+144|0,m=w+128|0,M=w+112|0,g=w+96|0,o[(x=w+224|0)>>2]=t,o[z>>2]=o[e>>2],o[z+4>>2]=o[e+4>>2],o[z+8>>2]=o[e+8>>2],o[z+12>>2]=o[e+12>>2],we(z,x,y),o[a>>2]=0,(0|(h=r+n+(6==(0|r)&1)|0))<=(0|n))W=w;else{c=n+6|0,l=16928+((s=0|o[x>>2])<<2)|0,u=b+8|0,p=m+8|0,d=M+8|0,A=v+4|0,q=0,k=n,r=-1;e:for(;;){if(e=y+((x=(0|k)%6|0)<<4)|0,o[v>>2]=o[e>>2],o[v+4>>2]=o[e+4>>2],o[v+8>>2]=o[e+8>>2],o[v+12>>2]=o[e+12>>2],e=q,q=0|ve(v,s,0,1),(0|k)>(0|n)&0!=(0|Be(t))&&(1!=(0|e)&&(0|o[v>>2])!=(0|r))){switch(Q(y+(((x+5|0)%6|0)<<4)+4|0,O),Q(y+(x<<4)+4|0,f),L=+(0|o[l>>2]),i[b>>3]=3*L,i[u>>3]=0,S=-1.5*L,i[m>>3]=S,i[p>>3]=2.598076211353316*L,i[M>>3]=S,i[d>>3]=-2.598076211353316*L,x=0|o[z>>2],0|o[17008+(80*x|0)+(((0|r)==(0|x)?0|o[v>>2]:r)<<2)>>2]){case 1:e=m,r=b;break;case 3:e=M,r=m;break;case 2:e=b,r=M;break;default:e=8;break e}at(O,f,r,e,g),0|st(O,g)||0|st(f,g)||(Me(g,0|o[z>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2]))}if((0|k)<(0|c)&&(Q(A,O),Me(O,0|o[v>>2],s,1,a+8+(o[a>>2]<<4)|0),o[a>>2]=1+(0|o[a>>2])),(0|(k=k+1|0))>=(0|h)){e=3;break}r=0|o[v>>2]}3!=(0|e)?8==(0|e)&&_(22557,22521,746,22602):W=w}}function we(e,t,n){e|=0,t|=0,n|=0;var r,i=0,a=0,s=0,c=0,l=0;r=W,W=W+160|0,a=r,c=20336,l=(s=i=r+80|0)+72|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));c=20416,l=(s=a)+72|0;do{o[s>>2]=o[c>>2],s=s+4|0,c=c+4|0}while((0|s)<(0|l));i=(l=0==(0|Be(0|o[t>>2])))?i:a,ue(a=e+4|0),pe(a),0|Be(0|o[t>>2])&&(oe(a),o[t>>2]=1+(0|o[t>>2])),o[n>>2]=o[e>>2],K(a,i,t=n+4|0),Z(t),o[n+16>>2]=o[e>>2],K(a,i+12|0,t=n+20|0),Z(t),o[n+32>>2]=o[e>>2],K(a,i+24|0,t=n+36|0),Z(t),o[n+48>>2]=o[e>>2],K(a,i+36|0,t=n+52|0),Z(t),o[n+64>>2]=o[e>>2],K(a,i+48|0,t=n+68|0),Z(t),o[n+80>>2]=o[e>>2],K(a,i+60|0,n=n+84|0),Z(n),W=r}function xe(e){var t;return t=(e=+e)<0?e+6.283185307179586:e,+(e>=6.283185307179586?t+-6.283185307179586:t)}function qe(e,t){return t|=0,+c(+(+i[(e|=0)>>3]-+i[t>>3]))<17453292519943298e-27?0|(t=+c(+(+i[e+8>>3]-+i[t+8>>3]))<17453292519943298e-27):0|(t=0)}function ke(e,t){e|=0;var n,r,o,a=0;return r=+i[(t|=0)>>3],n=+i[e>>3],a=(o=+d(.5*(r-n)))*o+(a=+d(.5*(+i[t+8>>3]-+i[e+8>>3])))*(+p(+r)*+p(+n)*a),2*+m(+ +l(+a),+ +l(+(1-a)))*6371.007180918475}function Le(e,t,n){e|=0,n|=0;var r,o,a,s,c=0,u=0,h=0,f=0,M=0,g=0;return g=+i[(t|=0)>>3],a=+i[e>>3],M=+d(.5*(g-a)),h=+i[t+8>>3],o=+i[e+8>>3],f=+d(.5*(h-o)),r=+p(+a),s=+p(+g),f=2*+m(+ +l(+(f=M*M+f*(s*r*f))),+ +l(+(1-f))),M=+i[n>>3],g=+d(.5*(M-g)),c=+i[n+8>>3],h=+d(.5*(c-h)),u=+p(+M),h=2*+m(+ +l(+(h=g*g+h*(s*u*h))),+ +l(+(1-h))),M=+d(.5*(a-M)),c=+d(.5*(o-c)),c=2*+m(+ +l(+(c=M*M+c*(r*u*c))),+ +l(+(1-c))),4*+b(+ +l(+ +A(.5*(u=.5*(f+h+c)))*+A(.5*(u-f))*+A(.5*(u-h))*+A(.5*(u-c))))}function We(e,t){return t=0|_t(0|(e|=0),0|(t|=0),45),O(),127&t|0}function Se(e,t){var n=0,r=0,o=0,i=0,a=0,s=0;if(!(!0&134217728==(-16777216&(t|=0)|0)))return 0|(t=0);if(a=0|_t(0|(e|=0),0|t,45),O(),(a&=127)>>>0>121)return 0|(t=0);n=0|_t(0|e,0|t,52),O(),n&=15;do{if(0|n){for(o=1,r=0;;){if(i=0|_t(0|e,0|t,3*(15-o|0)|0),O(),0!=(0|(i&=7))&(1^r)){if(1==(0|i)&0!=(0|C(a))){s=0,r=13;break}r=1}if(7==(0|i)){s=0,r=13;break}if(!(o>>>0>>0)){r=9;break}o=o+1|0}if(9==(0|r)){if(15!=(0|n))break;return 0|(s=1)}if(13==(0|r))return 0|s}}while(0);for(;;){if(s=0|_t(0|e,0|t,3*(14-n|0)|0),O(),!(7==(7&s|0)&!0)){s=0,r=13;break}if(!(n>>>0<14)){s=1,r=13;break}n=n+1|0}return 13==(0|r)?0|s:0}function Te(e,t,n){n|=0;var r=0,o=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),O(),(0|(r&=15))>=(0|n)){if((0|r)!=(0|n))if(n>>>0<=15){if(e|=o=0|wt(0|n,0,52),t=0|O()|-15728641&t,(0|r)>(0|n))do{o=0|wt(7,0,3*(14-n|0)|0),n=n+1|0,e|=o,t=0|O()|t}while((0|n)<(0|r))}else t=0,e=0}else t=0,e=0;return v(0|t),0|e}function Ee(e,t,n,r){n|=0,r|=0;var i,a=0,s=0,c=0,l=0,u=0,p=0;if(c=0|_t(0|(e|=0),0|(t|=0),52),O(),(0|n)<16&(0|(c&=15))<=(0|n)){if((0|c)==(0|n))return o[(n=r)>>2]=e,void(o[n+4>>2]=t);if(i=(0|(u=0|tt(7,n-c|0)))/7|0,l=0|_t(0|e,0|t,45),O(),0|C(127&l)){e:do{if(c)for(s=1;;){if(a=0|_t(0|e,0|t,3*(15-s|0)|0),O(),0|(a&=7))break e;if(!(s>>>0>>0)){a=0;break}s=s+1|0}else a=0}while(0);s=0==(0|a)}else s=0;if(p=0|wt(c+1|0,0,52),a=0|O()|-15728641&t,Ee(t=(p|e)&~(t=0|wt(7,0,0|(l=3*(14-c|0)|0))),c=a&~(0|O()),n,r),a=r+(i<<3)|0,!s)return Ee((p=0|wt(1,0,0|l))|t,0|O()|c,n,a),p=a+(i<<3)|0,Ee((u=0|wt(2,0,0|l))|t,0|O()|c,n,p),p=p+(i<<3)|0,Ee((u=0|wt(3,0,0|l))|t,0|O()|c,n,p),p=p+(i<<3)|0,Ee((u=0|wt(4,0,0|l))|t,0|O()|c,n,p),p=p+(i<<3)|0,Ee((u=0|wt(5,0,0|l))|t,0|O()|c,n,p),void Ee((u=0|wt(6,0,0|l))|t,0|O()|c,n,p+(i<<3)|0);s=a+(i<<3)|0,(0|u)>6&&(Lt(0|a,0,(p=(s>>>0>(u=a+8|0)>>>0?s:u)+-1+(0-a)|0)+8&-8|0),a=u+(p>>>3<<3)|0),Ee((p=0|wt(2,0,0|l))|t,0|O()|c,n,a),p=a+(i<<3)|0,Ee((u=0|wt(3,0,0|l))|t,0|O()|c,n,p),p=p+(i<<3)|0,Ee((u=0|wt(4,0,0|l))|t,0|O()|c,n,p),p=p+(i<<3)|0,Ee((u=0|wt(5,0,0|l))|t,0|O()|c,n,p),Ee((u=0|wt(6,0,0|l))|t,0|O()|c,n,p+(i<<3)|0)}}function Re(e,t){var n=0,r=0,o=0;if(o=0|_t(0|(e|=0),0|(t|=0),45),O(),!(0|C(127&o)))return 0|(o=0);o=0|_t(0|e,0|t,52),O(),o&=15;e:do{if(o)for(r=1;;){if(n=0|_t(0|e,0|t,3*(15-r|0)|0),O(),0|(n&=7))break e;if(!(r>>>0>>0)){n=0;break}r=r+1|0}else n=0}while(0);return 0|(o=0==(0|n)&1)}function De(e,t){var n=0,r=0,o=0;if(o=0|_t(0|(e|=0),0|(t|=0),52),O(),!(o&=15))return 0|(o=0);for(r=1;;){if(n=0|_t(0|e,0|t,3*(15-r|0)|0),O(),0|(n&=7)){r=5;break}if(!(r>>>0>>0)){n=0,r=5;break}r=r+1|0}return 5==(0|r)?0|n:0}function Ce(e,t){var n=0,r=0,o=0,i=0,a=0,s=0,c=0;if(c=0|_t(0|(e|=0),0|(t|=0),52),O(),!(c&=15))return c=e,v(0|(s=t)),0|c;for(s=1,n=0;;){r=0|wt(7,0,0|(i=3*(15-s|0)|0)),o=0|O(),a=0|_t(0|e,0|t,0|i),O(),e=(i=0|wt(0|ce(7&a),0,0|i))|e&~r,t=(a=0|O())|t&~o;e:do{if(!n)if(0==(i&r|0)&0==(a&o|0))n=0;else if(r=0|_t(0|e,0|t,52),O(),r&=15){n=1;t:for(;;){switch(a=0|_t(0|e,0|t,3*(15-n|0)|0),O(),7&a){case 1:break t;case 0:break;default:n=1;break e}if(!(n>>>0>>0)){n=1;break e}n=n+1|0}for(n=1;;){if(o=0|_t(0|e,0|t,0|(a=3*(15-n|0)|0)),O(),i=0|wt(7,0,0|a),t&=~(0|O()),e=e&~i|(a=0|wt(0|ce(7&o),0,0|a)),t=0|t|O(),!(n>>>0>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(s>>>0>>0))break;s=s+1|0}return v(0|t),0|e}function Ne(e,t){var n=0,r=0,o=0,i=0,a=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),O(),!(r&=15))return r=e,v(0|(n=t)),0|r;for(n=1;a=0|_t(0|e,0|t,0|(i=3*(15-n|0)|0)),O(),o=0|wt(7,0,0|i),t&=~(0|O()),e=(i=0|wt(0|ce(7&a),0,0|i))|e&~o,t=0|O()|t,n>>>0>>0;)n=n+1|0;return v(0|t),0|e}function Pe(e,t){var n=0,r=0,o=0,i=0,a=0,s=0,c=0;if(c=0|_t(0|(e|=0),0|(t|=0),52),O(),!(c&=15))return c=e,v(0|(s=t)),0|c;for(s=1,n=0;;){r=0|wt(7,0,0|(i=3*(15-s|0)|0)),o=0|O(),a=0|_t(0|e,0|t,0|i),O(),e=(i=0|wt(0|le(7&a),0,0|i))|e&~r,t=(a=0|O())|t&~o;e:do{if(!n)if(0==(i&r|0)&0==(a&o|0))n=0;else if(r=0|_t(0|e,0|t,52),O(),r&=15){n=1;t:for(;;){switch(a=0|_t(0|e,0|t,3*(15-n|0)|0),O(),7&a){case 1:break t;case 0:break;default:n=1;break e}if(!(n>>>0>>0)){n=1;break e}n=n+1|0}for(n=1;;){if(i=0|wt(7,0,0|(o=3*(15-n|0)|0)),a=t&~(0|O()),t=0|_t(0|e,0|t,0|o),O(),e=e&~i|(t=0|wt(0|le(7&t),0,0|o)),t=0|a|O(),!(n>>>0>>0)){n=1;break}n=n+1|0}}else n=1}while(0);if(!(s>>>0>>0))break;s=s+1|0}return v(0|t),0|e}function je(e,t){var n=0,r=0,o=0,i=0,a=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),O(),!(r&=15))return r=e,v(0|(n=t)),0|r;for(n=1;i=0|wt(7,0,0|(a=3*(15-n|0)|0)),o=t&~(0|O()),t=0|_t(0|e,0|t,0|a),O(),e=(t=0|wt(0|le(7&t),0,0|a))|e&~i,t=0|O()|o,n>>>0>>0;)n=n+1|0;return v(0|t),0|e}function Be(e){return 0|(0|(e|=0))%2}function Ie(e,t){e|=0;var n,r;return r=W,W=W+16|0,n=r,(t|=0)>>>0<=15&&2146435072!=(2146435072&o[e+4>>2]|0)&&2146435072!=(2146435072&o[e+8+4>>2]|0)?(!function(e,t,n){var r,o;r=W,W=W+16|0,me(e|=0,t|=0,n|=0,o=r),G(o,n+4|0),W=r}(e,t,n),t=0|function(e,t){e|=0;var n,r=0,i=0,a=0,s=0,c=0,l=0,u=0,p=0;if(n=W,W=W+64|0,l=n+40|0,i=n+24|0,a=n+12|0,s=n,wt(0|(t|=0),0,52),r=134225919|O(),!t)return(0|o[e+4>>2])>2||(0|o[e+8>>2])>2||(0|o[e+12>>2])>2?(l=0,v(0|(c=0)),W=n,0|l):(wt(0|P(e),0,45),c=0|O()|r,l=-1,v(0|c),W=n,0|l);if(o[l>>2]=o[e>>2],o[l+4>>2]=o[e+4>>2],o[l+8>>2]=o[e+8>>2],o[l+12>>2]=o[e+12>>2],c=l+4|0,(0|t)>0)for(e=-1;o[i>>2]=o[c>>2],o[i+4>>2]=o[c+4>>2],o[i+8>>2]=o[c+8>>2],1&t?(te(c),o[a>>2]=o[c>>2],o[a+4>>2]=o[c+4>>2],o[a+8>>2]=o[c+8>>2],re(a)):(ne(c),o[a>>2]=o[c>>2],o[a+4>>2]=o[c+4>>2],o[a+8>>2]=o[c+8>>2],oe(a)),J(i,a,s),Z(s),u=0|wt(7,0,0|(p=3*(15-t|0)|0)),r&=~(0|O()),e=(p=0|wt(0|ee(s),0,0|p))|e&~u,r=0|O()|r,(0|t)>1;)t=t+-1|0;else e=-1;e:do{if((0|o[c>>2])<=2&&(0|o[l+8>>2])<=2&&(0|o[l+12>>2])<=2){if(t=0|wt(0|(i=0|P(l)),0,45),t|=e,e=0|O()|-1040385&r,s=0|j(l),!(0|C(i))){if((0|s)<=0)break;for(a=0;;){if(i=0|_t(0|t,0|e,52),O(),i&=15)for(r=1;l=0|_t(0|t,0|e,0|(p=3*(15-r|0)|0)),O(),u=0|wt(7,0,0|p),e&=~(0|O()),t=t&~u|(p=0|wt(0|ce(7&l),0,0|p)),e=0|e|O(),r>>>0>>0;)r=r+1|0;if((0|(a=a+1|0))==(0|s))break e}}a=0|_t(0|t,0|e,52),O(),a&=15;t:do{if(a){r=1;n:for(;;){switch(p=0|_t(0|t,0|e,3*(15-r|0)|0),O(),7&p){case 1:break n;case 0:break;default:break t}if(!(r>>>0>>0))break t;r=r+1|0}if(0|B(i,0|o[l>>2]))for(r=1;u=0|wt(7,0,0|(l=3*(15-r|0)|0)),p=e&~(0|O()),e=0|_t(0|t,0|e,0|l),O(),t=t&~u|(e=0|wt(0|le(7&e),0,0|l)),e=0|p|O(),r>>>0>>0;)r=r+1|0;else for(r=1;l=0|_t(0|t,0|e,0|(p=3*(15-r|0)|0)),O(),u=0|wt(7,0,0|p),e&=~(0|O()),t=t&~u|(p=0|wt(0|ce(7&l),0,0|p)),e=0|e|O(),r>>>0>>0;)r=r+1|0}}while(0);if((0|s)>0){r=0;do{t=0|Ce(t,e),e=0|O(),r=r+1|0}while((0|r)!=(0|s))}}else t=0,e=0}while(0);return p=t,v(0|(u=e)),W=n,0|p}(n,t),e=0|O()):(e=0,t=0),v(0|e),W=r,0|t}function Fe(e,t,n){var r,i=0,a=0,s=0;if(r=(n|=0)+4|0,a=0|_t(0|(e|=0),0|(t|=0),52),O(),a&=15,s=0|_t(0|e,0|t,45),O(),i=0==(0|a),0|C(127&s)){if(i)return 0|(s=1);i=1}else{if(i)return 0|(s=0);i=0==(0|o[r>>2])&&0==(0|o[n+8>>2])?0!=(0|o[n+12>>2])&1:1}for(n=1;1&n?re(r):oe(r),s=0|_t(0|e,0|t,3*(15-n|0)|0),O(),ie(r,7&s),n>>>0>>0;)n=n+1|0;return 0|i}function Ye(e,t,n){n|=0;var r,i,a=0,s=0,c=0,l=0,u=0,p=0;i=W,W=W+16|0,r=i,p=0|_t(0|(e|=0),0|(t|=0),45),O(),p&=127;e:do{if(0!=(0|C(p))&&(c=0|_t(0|e,0|t,52),O(),0!=(0|(c&=15)))){a=1;t:for(;;){switch(u=0|_t(0|e,0|t,3*(15-a|0)|0),O(),7&u){case 5:break t;case 0:break;default:a=t;break e}if(!(a>>>0>>0)){a=t;break e}a=a+1|0}for(s=1,a=t;l=0|wt(7,0,0|(t=3*(15-s|0)|0)),u=a&~(0|O()),a=0|_t(0|e,0|a,0|t),O(),e=e&~l|(a=0|wt(0|le(7&a),0,0|t)),a=0|u|O(),s>>>0>>0;)s=s+1|0}else a=t}while(0);if(u=7728+(28*p|0)|0,o[n>>2]=o[u>>2],o[n+4>>2]=o[u+4>>2],o[n+8>>2]=o[u+8>>2],o[n+12>>2]=o[u+12>>2],0|Fe(e,a,n)){if(l=n+4|0,o[r>>2]=o[l>>2],o[r+4>>2]=o[l+4>>2],o[r+8>>2]=o[l+8>>2],c=0|_t(0|e,0|a,52),O(),u=15&c,1&c?(oe(l),c=u+1|0):c=u,0|C(p)){e:do{if(u)for(t=1;;){if(s=0|_t(0|e,0|a,3*(15-t|0)|0),O(),0|(s&=7)){a=s;break e}if(!(t>>>0>>0)){a=0;break}t=t+1|0}else a=0}while(0);a=4==(0|a)&1}else a=0;if(0|ve(n,c,a,0)){if(0|C(p))do{}while(0!=(0|ve(n,c,0,0)));(0|c)!=(0|u)&&ne(l)}else(0|c)!=(0|u)&&(o[l>>2]=o[r>>2],o[l+4>>2]=o[r+4>>2],o[l+8>>2]=o[r+8>>2]);W=i}else W=i}function Xe(e,t,n){n|=0;var r,o;r=W,W=W+16|0,Ye(e|=0,t|=0,o=r),t=0|_t(0|e,0|t,52),O(),ge(o,15&t,n),W=r}function He(e,t,n){n|=0;var r,o,i=0,a=0;o=W,W=W+16|0,Ye(e|=0,t|=0,r=o),i=0|_t(0|e,0|t,45),O(),i=0==(0|C(127&i)),a=0|_t(0|e,0|t,52),O(),a&=15;e:do{if(!i){if(0|a)for(i=1;;){if(!(0==((0|wt(7,0,3*(15-i|0)|0))&e|0)&0==((0|O())&t|0)))break e;if(!(i>>>0>>0))break;i=i+1|0}return ze(r,a,0,5,n),void(W=o)}}while(0);_e(r,a,0,6,n),W=o}function Ue(e,t){t|=0;var n,r=0,i=0,a=0,s=0,c=0,l=0;if(wt(0|(e|=0),0,52),n=134225919|O(),(0|e)<1){i=0,r=0;do{0|C(i)&&(wt(0|i,0,45),c=0|n|O(),o[(e=t+(r<<3)|0)>>2]=-1,o[e+4>>2]=c,r=r+1|0),i=i+1|0}while(122!=(0|i))}else{c=0,r=0;do{if(0|C(c)){for(wt(0|c,0,45),i=1,a=-1,s=0|n|O();a&=~(l=0|wt(7,0,3*(15-i|0)|0)),s&=~(0|O()),(0|i)!=(0|e);)i=i+1|0;o[(l=t+(r<<3)|0)>>2]=a,o[l+4>>2]=s,r=r+1|0}c=c+1|0}while(122!=(0|c))}}function Ve(e,t,n,r){var i,a=0,s=0,c=0,l=0,u=0;if(i=W,W=W+64|0,c=i,(0|(e|=0))==(0|(n|=0))&(0|(t|=0))==(0|(r|=0))|!1|134217728!=(2013265920&t|0)|!1|134217728!=(2013265920&r|0))return W=i,0|(c=0);if(a=0|_t(0|e,0|t,52),O(),a&=15,s=0|_t(0|n,0|r,52),O(),(0|a)!=(15&s|0))return W=i,0|(c=0);if(s=a+-1|0,a>>>0>1&&(u=0|Te(e,t,s),l=0|O(),(0|u)==(0|(s=0|Te(n,r,s)))&(0|l)==(0|O()))){if(a=0|_t(0|e,0|t,0|(s=3*(15^a)|0)),O(),a&=7,s=0|_t(0|n,0|r,0|s),O(),0==(0|a)|0==(0|(s&=7)))return W=i,0|(u=1);if((0|o[21136+(a<<2)>>2])==(0|s))return W=i,0|(u=1);if((0|o[21168+(a<<2)>>2])==(0|s))return W=i,0|(u=1)}s=(a=c)+56|0;do{o[a>>2]=0,a=a+4|0}while((0|a)<(0|s));return S(e,t,1,c),a=(0|o[(u=c)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+8|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+16|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+24|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+32|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)||(0|o[(u=c+40|0)>>2])==(0|n)&&(0|o[u+4>>2])==(0|r)?1:1&((0|o[(a=c+48|0)>>2])==(0|n)?(0|o[a+4>>2])==(0|r):0),W=i,0|(u=a)}function Ge(e,t,n){n|=0;var r,i,a,s,c=0;if(a=W,W=W+16|0,i=a,c=0|_t(0|(e|=0),0|(t|=0),56),O(),t=0|function(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0;if(r=0|Re(e,t),(n+-1|0)>>>0>5)return 0|(n=-1);if(i=0!=(0|r),1==(0|n)&i)return 0|(n=-1);return r=0|function(e,t){e|=0,t|=0;var n=0,r=0,i=0,a=0,s=0,c=0,l=0,u=0;if(u=W,W=W+32|0,i=u+16|0,a=u,Ye(e,t,i),s=0|We(e,t),l=0|De(e,t),function(e,t){e=7728+(28*(e|=0)|0)|0,o[(t|=0)>>2]=o[e>>2],o[t+4>>2]=o[e+4>>2],o[t+8>>2]=o[e+8>>2],o[t+12>>2]=o[e+12>>2]}(s,a),t=0|function(e,t){e|=0;var n=0,r=0;if((t|=0)>>>0>20)return-1;do{if((0|o[11152+(216*t|0)>>2])!=(0|e))if((0|o[11152+(216*t|0)+8>>2])!=(0|e))if((0|o[11152+(216*t|0)+16>>2])!=(0|e))if((0|o[11152+(216*t|0)+24>>2])!=(0|e))if((0|o[11152+(216*t|0)+32>>2])!=(0|e))if((0|o[11152+(216*t|0)+40>>2])!=(0|e))if((0|o[11152+(216*t|0)+48>>2])!=(0|e))if((0|o[11152+(216*t|0)+56>>2])!=(0|e))if((0|o[11152+(216*t|0)+64>>2])!=(0|e))if((0|o[11152+(216*t|0)+72>>2])!=(0|e))if((0|o[11152+(216*t|0)+80>>2])!=(0|e))if((0|o[11152+(216*t|0)+88>>2])!=(0|e))if((0|o[11152+(216*t|0)+96>>2])!=(0|e))if((0|o[11152+(216*t|0)+104>>2])!=(0|e))if((0|o[11152+(216*t|0)+112>>2])!=(0|e))if((0|o[11152+(216*t|0)+120>>2])!=(0|e))if((0|o[11152+(216*t|0)+128>>2])!=(0|e)){if((0|o[11152+(216*t|0)+136>>2])!=(0|e)){if((0|o[11152+(216*t|0)+144>>2])==(0|e)){e=0,n=2,r=0;break}if((0|o[11152+(216*t|0)+152>>2])==(0|e)){e=0,n=2,r=1;break}if((0|o[11152+(216*t|0)+160>>2])==(0|e)){e=0,n=2,r=2;break}if((0|o[11152+(216*t|0)+168>>2])==(0|e)){e=1,n=2,r=0;break}if((0|o[11152+(216*t|0)+176>>2])==(0|e)){e=1,n=2,r=1;break}if((0|o[11152+(216*t|0)+184>>2])==(0|e)){e=1,n=2,r=2;break}if((0|o[11152+(216*t|0)+192>>2])==(0|e)){e=2,n=2,r=0;break}if((0|o[11152+(216*t|0)+200>>2])==(0|e)){e=2,n=2,r=1;break}if((0|o[11152+(216*t|0)+208>>2])==(0|e)){e=2,n=2,r=2;break}return-1}e=2,n=1,r=2}else e=2,n=1,r=1;else e=2,n=1,r=0;else e=1,n=1,r=2;else e=1,n=1,r=1;else e=1,n=1,r=0;else e=0,n=1,r=2;else e=0,n=1,r=1;else e=0,n=1,r=0;else e=2,n=0,r=2;else e=2,n=0,r=1;else e=2,n=0,r=0;else e=1,n=0,r=2;else e=1,n=0,r=1;else e=1,n=0,r=0;else e=0,n=0,r=2;else e=0,n=0,r=1;else e=0,n=0,r=0}while(0);return 0|o[11152+(216*t|0)+(72*n|0)+(24*e|0)+(r<<3)+4>>2]}(s,0|o[i>>2]),!(0|C(s)))return W=u,0|(l=t);switch(0|s){case 4:e=0,n=14;break;case 14:e=1,n=14;break;case 24:e=2,n=14;break;case 38:e=3,n=14;break;case 49:e=4,n=14;break;case 58:e=5,n=14;break;case 63:e=6,n=14;break;case 72:e=7,n=14;break;case 83:e=8,n=14;break;case 97:e=9,n=14;break;case 107:e=10,n=14;break;case 117:e=11,n=14;break;default:c=0,r=0}14==(0|n)&&(c=0|o[22096+(24*e|0)+8>>2],r=0|o[22096+(24*e|0)+16>>2]);e=0|o[i>>2],(0|e)!=(0|o[a>>2])&&(s=0|N(s))|(0|(e=0|o[i>>2]))==(0|r)&&(t=(t+1|0)%6|0);if(3==(0|l)&(0|e)==(0|r))return W=u,0|(l=(t+5|0)%6|0);if(!(5==(0|l)&(0|e)==(0|c)))return W=u,0|(l=t);return l=(t+1|0)%6|0,W=u,0|l}(e,t),i?0|(n=(5-r+(0|o[22384+(n<<2)>>2])|0)%5|0):0|(n=(6-r+(0|o[22416+(n<<2)>>2])|0)%6|0)}(r=(s=!0&268435456==(2013265920&t|0))?e:0,e=s?-2130706433&t|134217728:0,7&c),-1==(0|t))return o[n>>2]=0,void(W=a);Ye(r,e,i),c=0|_t(0|r,0|e,52),O(),c&=15,0|Re(r,e)?ze(i,c,t,2,n):_e(i,c,t,2,n),W=a}function Ze(e){e|=0;var t,n,r=0;return(t=0|gt(1,12))||_(22691,22646,49,22704),0|(r=0|o[(n=e+4|0)>>2])?(o[(r=r+8|0)>>2]=t,o[n>>2]=t,0|t):(0|o[e>>2]&&_(22721,22646,61,22744),o[(r=e)>>2]=t,o[n>>2]=t,0|t)}function Qe(e,t){e|=0,t|=0;var n,r;return(r=0|mt(24))||_(22758,22646,78,22772),o[r>>2]=o[t>>2],o[r+4>>2]=o[t+4>>2],o[r+8>>2]=o[t+8>>2],o[r+12>>2]=o[t+12>>2],o[r+16>>2]=0,0|(n=0|o[(t=e+4|0)>>2])?(o[n+16>>2]=r,o[t>>2]=r,0|r):(0|o[e>>2]&&_(22787,22646,82,22772),o[e>>2]=r,o[t>>2]=r,0|r)}function Ke(e){var t,n,r=0,a=0,s=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0,y=0,v=0,O=0,w=0,x=0,q=0,k=0,L=0,W=0,S=0,T=0,E=0,R=0,D=0,C=0;if(0|o[(l=(e|=0)+8|0)>>2])return 0|(C=1);if(!(s=0|o[e>>2]))return 0|(C=0);r=s,a=0;do{a=a+1|0,r=0|o[r+8>>2]}while(0!=(0|r));if(a>>>0<2)return 0|(C=0);(n=0|mt(a<<2))||_(22807,22646,317,22826),(t=0|mt(a<<5))||_(22848,22646,321,22826),o[e>>2]=0,o[(k=e+4|0)>>2]=0,o[l>>2]=0,a=0,R=0,q=0,b=0;e:for(;;){if(f=0|o[s>>2]){u=0,p=f;do{if(A=+i[p+8>>3],r=p,p=0|o[p+16>>2],d=+i[(l=(h=0==(0|p))?f:p)+8>>3],+c(+(A-d))>3.141592653589793){C=14;break}u+=(d-A)*(+i[r>>3]+ +i[l>>3])}while(!h);if(14==(0|C)){C=0,u=0,r=f;do{x=+i[r+8>>3],T=0|o[(E=r+16|0)>>2],w=+i[(T=0==(0|T)?f:T)+8>>3],u+=(+i[r>>3]+ +i[T>>3])*((w<0?w+6.283185307179586:w)-(x<0?x+6.283185307179586:x)),r=0|o[(0==(0|r)?s:E)>>2]}while(0!=(0|r))}u>0?(o[n+(R<<2)>>2]=s,R=R+1|0,l=q,r=b):C=19}else C=19;if(19==(0|C)){C=0;do{if(!a){if(b){l=k,p=b+8|0,r=s,a=e;break}if(0|o[e>>2]){C=27;break e}l=k,p=e,r=s,a=e;break}if(0|o[(r=a+8|0)>>2]){C=21;break e}if(!(a=0|gt(1,12))){C=23;break e}o[r>>2]=a,l=a+4|0,p=a,r=b}while(0);if(o[p>>2]=s,o[l>>2]=s,p=t+(q<<5)|0,h=0|o[s>>2]){for(i[(f=t+(q<<5)+8|0)>>3]=17976931348623157e292,i[(b=t+(q<<5)+24|0)>>3]=17976931348623157e292,i[p>>3]=-17976931348623157e292,i[(m=t+(q<<5)+16|0)>>3]=-17976931348623157e292,v=17976931348623157e292,O=-17976931348623157e292,l=0,M=h,A=17976931348623157e292,z=17976931348623157e292,y=-17976931348623157e292,d=-17976931348623157e292;u=+i[M>>3],x=+i[M+8>>3],M=0|o[M+16>>2],w=+i[((g=0==(0|M))?h:M)+8>>3],u>3]=u,A=u),x>3]=x,z=x),u>y?i[p>>3]=u:u=y,x>d&&(i[m>>3]=x,d=x),v=x>0&xO?x:O,l|=+c(+(x-w))>3.141592653589793,!g;)y=u;l&&(i[m>>3]=O,i[b>>3]=v)}else o[p>>2]=0,o[p+4>>2]=0,o[p+8>>2]=0,o[p+12>>2]=0,o[p+16>>2]=0,o[p+20>>2]=0,o[p+24>>2]=0,o[p+28>>2]=0;l=q+1|0}if(s=0|o[(E=s+8|0)>>2],o[E>>2]=0,!s){C=45;break}q=l,b=r}if(21==(0|C))_(22624,22646,35,22658);else if(23==(0|C))_(22678,22646,37,22658);else if(27==(0|C))_(22721,22646,61,22744);else if(45==(0|C)){e:do{if((0|R)>0){for(E=0==(0|l),S=l<<2,T=0==(0|e),W=0,r=0;;){if(L=0|o[n+(W<<2)>>2],E)C=73;else{if(!(q=0|mt(S))){C=50;break}if(!(k=0|mt(S))){C=52;break}t:do{if(T)a=0;else{for(l=0,a=0,p=e;s=t+(l<<5)|0,0|Je(0|o[p>>2],s,0|o[L>>2])?(o[q+(a<<2)>>2]=p,o[k+(a<<2)>>2]=s,g=a+1|0):g=a,p=0|o[p+8>>2];)l=l+1|0,a=g;if((0|g)>0)if(s=0|o[q>>2],1==(0|g))a=s;else for(m=0,M=-1,a=s,b=s;;){for(h=0|o[b>>2],s=0,p=0;f=(0|(l=0|o[o[q+(p<<2)>>2]>>2]))==(0|h)?s:s+(1&(0|Je(l,0|o[k+(p<<2)>>2],0|o[h>>2])))|0,(0|(p=p+1|0))!=(0|g);)s=f;if(a=(l=(0|f)>(0|M))?b:a,(0|(s=m+1|0))==(0|g))break t;m=s,M=l?f:M,b=0|o[q+(s<<2)>>2]}else a=0}}while(0);if(Mt(q),Mt(k),a){if(s=0|o[(l=a+4|0)>>2])a=s+8|0;else if(0|o[a>>2]){C=70;break}o[a>>2]=L,o[l>>2]=L}else C=73}if(73==(0|C)){if(C=0,0|(r=0|o[L>>2]))do{k=r,r=0|o[r+16>>2],Mt(k)}while(0!=(0|r));Mt(L),r=2}if((0|(W=W+1|0))>=(0|R)){D=r;break e}}50==(0|C)?_(22863,22646,249,22882):52==(0|C)?_(22901,22646,252,22882):70==(0|C)&&_(22721,22646,61,22744)}else D=0}while(0);return Mt(n),Mt(t),0|(C=D)}return 0}function Je(e,t,n){e|=0;var r,a=0,s=0,c=0,l=0,u=0,p=0,d=0;if(!(0|X(t|=0,n|=0)))return 0|(e=0);if(t=0|Y(t),r=+i[n>>3],a=t&(a=+i[n+8>>3])<0?a+6.283185307179586:a,!(e=0|o[e>>2]))return 0|(e=0);if(t){t=0,n=e;e:for(;;){for(;l=+i[n>>3],p=+i[n+8>>3],d=0|o[(n=n+16|0)>>2],c=+i[(d=0==(0|d)?e:d)>>3],s=+i[d+8>>3],l>c?(u=l,l=p):(u=c,c=l,l=s,s=p),ru;)if(!(n=0|o[n>>2])){n=22;break e}if(a=(l=l<0?l+6.283185307179586:l)==a|(p=s<0?s+6.283185307179586:s)==a?a+-2220446049250313e-31:a,((p+=(r-c)/(u-c)*(l-p))<0?p+6.283185307179586:p)>a&&(t^=1),!(n=0|o[n>>2])){n=22;break}}if(22==(0|n))return 0|t}else{t=0,n=e;e:for(;;){for(;l=+i[n>>3],p=+i[n+8>>3],d=0|o[(n=n+16|0)>>2],c=+i[(d=0==(0|d)?e:d)>>3],s=+i[d+8>>3],l>c?(u=l,l=p):(u=c,c=l,l=s,s=p),ru;)if(!(n=0|o[n>>2])){n=22;break e}if(s+(r-c)/(u-c)*(l-s)>(a=l==a|s==a?a+-2220446049250313e-31:a)&&(t^=1),!(n=0|o[n>>2])){n=22;break}}if(22==(0|n))return 0|t}return 0}function $e(e,t,n,i,a){n|=0,i|=0,a|=0;var s,c,l,u,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0;if(u=W,W=W+32|0,z=u+16|0,l=u,p=0|_t(0|(e|=0),0|(t|=0),52),O(),p&=15,m=0|_t(0|n,0|i,52),O(),(0|p)!=(15&m|0))return W=u,0|(z=1);if(f=0|_t(0|e,0|t,45),O(),f&=127,b=0|_t(0|n,0|i,45),O(),m=(0|f)!=(0|(b&=127))){if(7==(0|(A=0|F(f,b))))return W=u,0|(z=2);7==(0|(h=0|F(b,f)))?_(22925,22949,151,22959):(M=A,d=h)}else M=0,d=0;s=0|C(f),c=0|C(b),o[z>>2]=0,o[z+4>>2]=0,o[z+8>>2]=0,o[z+12>>2]=0;do{if(M){if(A=(0|(b=0|o[4304+(28*f|0)+(M<<2)>>2]))>0,c)if(A){f=0,h=n,A=i;do{h=0|Pe(h,A),A=0|O(),1==(0|(d=0|le(d)))&&(d=0|le(1)),f=f+1|0}while((0|f)!=(0|b));b=d,f=h,h=A}else b=d,f=n,h=i;else if(A){f=0,h=n,A=i;do{h=0|je(h,A),A=0|O(),d=0|le(d),f=f+1|0}while((0|f)!=(0|b));b=d,f=h,h=A}else b=d,f=n,h=i;if(Fe(f,h,z),m||_(22972,22949,181,22959),(A=0!=(0|s))&(d=0!=(0|c))&&_(22999,22949,182,22959),A){if(d=0|De(e,t),0|r[22032+(7*d|0)+M>>0]){p=3;break}f=h=0|o[21200+(28*d|0)+(M<<2)>>2],g=26}else if(d){if(d=0|De(f,h),0|r[22032+(7*d|0)+b>>0]){p=4;break}f=0,h=0|o[21200+(28*b|0)+(d<<2)>>2],g=26}else d=0;if(26==(0|g))if((0|h)<=-1&&_(23030,22949,212,22959),(0|f)<=-1&&_(23053,22949,213,22959),(0|h)>0){A=z+4|0,d=0;do{se(A),d=d+1|0}while((0|d)!=(0|h));d=f}else d=f;if(o[l>>2]=0,o[l+4>>2]=0,o[l+8>>2]=0,ie(l,M),0|p)for(;0|Be(p)?re(l):oe(l),(0|p)>1;)p=p+-1|0;if((0|d)>0){p=0;do{se(l),p=p+1|0}while((0|p)!=(0|d))}K(g=z+4|0,l,g),Z(g),g=50}else if(Fe(n,i,z),0!=(0|s)&0!=(0|c))if((0|b)!=(0|f)&&_(23077,22949,243,22959),d=0|De(e,t),p=0|De(n,i),0|r[22032+(7*d|0)+p>>0])p=5;else if((0|(d=0|o[21200+(28*d|0)+(p<<2)>>2]))>0){A=z+4|0,p=0;do{se(A),p=p+1|0}while((0|p)!=(0|d));g=50}else g=50;else g=50}while(0);return 50==(0|g)&&(p=z+4|0,o[a>>2]=o[p>>2],o[a+4>>2]=o[p+4>>2],o[a+8>>2]=o[p+8>>2],p=0),W=u,0|(z=p)}function et(e,t,n,r){n|=0,r|=0;var i,a,s=0,c=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0;if(a=W,W=W+48|0,l=a+36|0,u=a+24|0,p=a+12|0,d=a,c=0|_t(0|(e|=0),0|(t|=0),52),O(),c&=15,h=0|_t(0|e,0|t,45),O(),i=0|C(h&=127),wt(0|c,0,52),m=134225919|O(),o[(b=r)>>2]=-1,o[b+4>>2]=m,!c)return(0|o[n>>2])>1||(0|o[n+4>>2])>1||(0|o[n+8>>2])>1||127==(0|(s=0|I(h,0|ee(n))))?(W=a,0|(m=1)):(f=0|wt(0|s,0,45),b=0|O(),b=-1040385&o[(h=r)+4>>2]|b,o[(m=r)>>2]=o[h>>2]|f,o[m+4>>2]=b,W=a,0|(m=0));for(o[l>>2]=o[n>>2],o[l+4>>2]=o[n+4>>2],o[l+8>>2]=o[n+8>>2];o[u>>2]=o[l>>2],o[u+4>>2]=o[l+4>>2],o[u+8>>2]=o[l+8>>2],0|Be(c)?(te(l),o[p>>2]=o[l>>2],o[p+4>>2]=o[l+4>>2],o[p+8>>2]=o[l+8>>2],re(p)):(ne(l),o[p>>2]=o[l>>2],o[p+4>>2]=o[l+4>>2],o[p+8>>2]=o[l+8>>2],oe(p)),J(u,p,d),Z(d),M=0|o[(b=r)>>2],b=0|o[b+4>>2],n=0|wt(7,0,0|(g=3*(15-c|0)|0)),b&=~(0|O()),g=0|wt(0|ee(d),0,0|g),b=0|O()|b,o[(m=r)>>2]=g|M&~n,o[m+4>>2]=b,(0|c)>1;)c=c+-1|0;e:do{if((0|o[l>>2])<=1&&(0|o[l+4>>2])<=1&&(0|o[l+8>>2])<=1){d=127==(0|(u=0|I(h,c=0|ee(l))))?0:0|C(u);t:do{if(c){if(i){if(l=21408+(28*(0|De(e,t))|0)+(c<<2)|0,(0|(l=0|o[l>>2]))>0){n=0;do{c=0|ce(c),n=n+1|0}while((0|n)!=(0|l))}if(1==(0|c)){s=3;break e}127==(0|(n=0|I(h,c)))&&_(23104,22949,376,23134),0|C(n)?_(23147,22949,377,23134):(f=l,A=c,s=n)}else f=0,A=c,s=u;if((0|(p=0|o[4304+(28*h|0)+(A<<2)>>2]))<=-1&&_(23178,22949,384,23134),!d){if((0|f)<=-1&&_(23030,22949,417,23134),0|f){c=0,n=0|o[(l=r)>>2],l=0|o[l+4>>2];do{n=0|Ne(n,l),l=0|O(),o[(g=r)>>2]=n,o[g+4>>2]=l,c=c+1|0}while((0|c)<(0|f))}if((0|p)<=0){c=54;break}for(c=0,n=0|o[(l=r)>>2],l=0|o[l+4>>2];;)if(n=0|Ne(n,l),l=0|O(),o[(g=r)>>2]=n,o[g+4>>2]=l,(0|(c=c+1|0))==(0|p)){c=54;break t}}if(7==(0|(u=0|F(s,h)))&&_(22925,22949,393,23134),n=0|o[(c=r)>>2],c=0|o[c+4>>2],(0|p)>0){l=0;do{n=0|Ne(n,c),c=0|O(),o[(g=r)>>2]=n,o[g+4>>2]=c,l=l+1|0}while((0|l)!=(0|p))}if(n=0|De(n,c),g=0|N(s),(0|(n=0|o[(g?21824:21616)+(28*u|0)+(n<<2)>>2]))<=-1&&_(23030,22949,412,23134),n){c=0,l=0|o[(u=r)>>2],u=0|o[u+4>>2];do{l=0|Ce(l,u),u=0|O(),o[(g=r)>>2]=l,o[g+4>>2]=u,c=c+1|0}while((0|c)<(0|n));c=54}else c=54}else if(0!=(0|i)&0!=(0|d))if(c=21408+(28*(g=0|De(e,t))|0)+((0|De(0|o[(c=r)>>2],0|o[c+4>>2]))<<2)|0,(0|(c=0|o[c>>2]))<=-1&&_(23201,22949,433,23134),c){s=0,n=0|o[(l=r)>>2],l=0|o[l+4>>2];do{n=0|Ne(n,l),l=0|O(),o[(g=r)>>2]=n,o[g+4>>2]=l,s=s+1|0}while((0|s)<(0|c));s=u,c=54}else s=u,c=55;else s=u,c=54}while(0);if(54==(0|c)&&d&&(c=55),55==(0|c)&&1==(0|De(0|o[(g=r)>>2],0|o[g+4>>2]))){s=4;break}m=0|o[(g=r)>>2],g=-1040385&o[g+4>>2],M=0|wt(0|s,0,45),g=0|g|O(),o[(s=r)>>2]=m|M,o[s+4>>2]=g,s=0}else s=2}while(0);return W=a,0|(g=s)}function tt(e,t){var n=0;if(!(t|=0))return 0|(n=1);n=e|=0,e=1;do{e=0|g(0==(1&t|0)?1:n,e),t>>=1,n=0|g(n,n)}while(0!=(0|t));return 0|e}function nt(e,t,n){e|=0;var r,a,s=0,c=0,l=0,u=0,p=0,d=0,A=0,h=0;if(!(0|X(t|=0,n|=0)))return 0|(h=0);if(t=0|Y(t),a=+i[n>>3],s=t&(s=+i[n+8>>3])<0?s+6.283185307179586:s,(0|(h=0|o[e>>2]))<=0)return 0|(h=0);if(r=0|o[e+4>>2],t){t=0,n=-1,e=0;e:for(;;){for(A=e;u=+i[r+(A<<4)>>3],d=+i[r+(A<<4)+8>>3],l=+i[r+((e=(n+2|0)%(0|h)|0)<<4)>>3],c=+i[r+(e<<4)+8>>3],u>l?(p=u,u=d):(p=l,l=u,u=c,c=d),ap;){if(!((0|(n=A+1|0))<(0|h))){n=22;break e}e=A,A=n,n=e}if(s=(u=u<0?u+6.283185307179586:u)==s|(d=c<0?c+6.283185307179586:c)==s?s+-2220446049250313e-31:s,((d+=(a-l)/(p-l)*(u-d))<0?d+6.283185307179586:d)>s&&(t^=1),(0|(e=A+1|0))>=(0|h)){n=22;break}n=A}if(22==(0|n))return 0|t}else{t=0,n=-1,e=0;e:for(;;){for(A=e;u=+i[r+(A<<4)>>3],d=+i[r+(A<<4)+8>>3],l=+i[r+((e=(n+2|0)%(0|h)|0)<<4)>>3],c=+i[r+(e<<4)+8>>3],u>l?(p=u,u=d):(p=l,l=u,u=c,c=d),ap;){if(!((0|(n=A+1|0))<(0|h))){n=22;break e}e=A,A=n,n=e}if(c+(a-l)/(p-l)*(u-c)>(s=u==s|c==s?s+-2220446049250313e-31:s)&&(t^=1),(0|(e=A+1|0))>=(0|h)){n=22;break}n=A}if(22==(0|n))return 0|t}return 0}function rt(e,t){t|=0;var n,r,a,s,l,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0,y=0;if(!(r=0|o[(e|=0)>>2]))return o[t>>2]=0,o[t+4>>2]=0,o[t+8>>2]=0,o[t+12>>2]=0,o[t+16>>2]=0,o[t+20>>2]=0,o[t+24>>2]=0,void(o[t+28>>2]=0);if(i[(a=t+8|0)>>3]=17976931348623157e292,i[(s=t+24|0)>>3]=17976931348623157e292,i[t>>3]=-17976931348623157e292,i[(l=t+16|0)>>3]=-17976931348623157e292,!((0|r)<=0)){for(n=0|o[e+4>>2],m=17976931348623157e292,M=-17976931348623157e292,g=0,e=-1,A=17976931348623157e292,h=17976931348623157e292,b=-17976931348623157e292,p=-17976931348623157e292,z=0;u=+i[n+(z<<4)>>3],f=+i[n+(z<<4)+8>>3],d=+i[n+(((0|(e=e+2|0))==(0|r)?0:e)<<4)+8>>3],u>3]=u,A=u),f>3]=f,h=f),u>b?i[t>>3]=u:u=b,f>p&&(i[l>>3]=f,p=f),m=f>0&fM?f:M,g|=+c(+(f-d))>3.141592653589793,(0|(e=z+1|0))!=(0|r);)y=z,b=u,z=e,e=y;g&&(i[l>>3]=M,i[s>>3]=m)}}function ot(e,t){t|=0;var n,r=0,a=0,s=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0,y=0,v=0,O=0,_=0,w=0,x=0;if(M=0|o[(e|=0)>>2]){if(i[(g=t+8|0)>>3]=17976931348623157e292,i[(z=t+24|0)>>3]=17976931348623157e292,i[t>>3]=-17976931348623157e292,i[(y=t+16|0)>>3]=-17976931348623157e292,(0|M)>0){for(s=0|o[e+4>>2],b=17976931348623157e292,m=-17976931348623157e292,a=0,r=-1,d=17976931348623157e292,A=17976931348623157e292,f=-17976931348623157e292,u=-17976931348623157e292,v=0;l=+i[s+(v<<4)>>3],h=+i[s+(v<<4)+8>>3],p=+i[s+(((0|(w=r+2|0))==(0|M)?0:w)<<4)+8>>3],l>3]=l,d=l),h>3]=h,A=h),l>f?i[t>>3]=l:l=f,h>u&&(i[y>>3]=h,u=h),b=h>0&hm?h:m,a|=+c(+(h-p))>3.141592653589793,(0|(r=v+1|0))!=(0|M);)w=v,f=l,v=r,r=w;a&&(i[y>>3]=m,i[z>>3]=b)}}else o[t>>2]=0,o[t+4>>2]=0,o[t+8>>2]=0,o[t+12>>2]=0,o[t+16>>2]=0,o[t+20>>2]=0,o[t+24>>2]=0,o[t+28>>2]=0;if(!((0|(r=0|o[(w=e+8|0)>>2]))<=0)){n=e+12|0,_=0;do{if(s=0|o[n>>2],a=_,z=t+((_=_+1|0)<<5)|0,y=0|o[s+(a<<3)>>2]){if(i[(v=t+(_<<5)+8|0)>>3]=17976931348623157e292,i[(e=t+(_<<5)+24|0)>>3]=17976931348623157e292,i[z>>3]=-17976931348623157e292,i[(O=t+(_<<5)+16|0)>>3]=-17976931348623157e292,(0|y)>0){for(M=0|o[s+(a<<3)+4>>2],b=17976931348623157e292,m=-17976931348623157e292,s=0,a=-1,g=0,d=17976931348623157e292,A=17976931348623157e292,h=-17976931348623157e292,u=-17976931348623157e292;l=+i[M+(g<<4)>>3],f=+i[M+(g<<4)+8>>3],p=+i[M+(((0|(a=a+2|0))==(0|y)?0:a)<<4)+8>>3],l>3]=l,d=l),f>3]=f,A=f),l>h?i[z>>3]=l:l=h,f>u&&(i[O>>3]=f,u=f),b=f>0&fm?f:m,s|=+c(+(f-p))>3.141592653589793,(0|(a=g+1|0))!=(0|y);)x=g,g=a,h=l,a=x;s&&(i[O>>3]=m,i[e>>3]=b)}}else o[z>>2]=0,o[z+4>>2]=0,o[z+8>>2]=0,o[z+12>>2]=0,o[z+16>>2]=0,o[z+20>>2]=0,o[z+24>>2]=0,o[z+28>>2]=0,r=0|o[w>>2]}while((0|_)<(0|r))}}function it(e,t,n){var r=0,i=0,a=0;if(!(0|nt(e|=0,t|=0,n|=0)))return 0|(i=0);if((0|o[(i=e+8|0)>>2])<=0)return 0|(i=1);for(r=e+12|0,e=0;;){if(a=e,e=e+1|0,0|nt((0|o[r>>2])+(a<<3)|0,t+(e<<5)|0,n)){e=0,r=6;break}if((0|e)>=(0|o[i>>2])){e=1,r=6;break}}return 6==(0|r)?0|e:0}function at(e,t,n,r,o){t|=0,n|=0,r|=0,o|=0;var a,s,c,l,u,p,d,A=0;l=+i[(e|=0)>>3],c=+i[t>>3]-l,s=+i[e+8>>3],a=+i[t+8>>3]-s,p=+i[n>>3],A=((A=+i[r>>3]-p)*(s-(d=+i[n+8>>3]))-(l-p)*(u=+i[r+8>>3]-d))/(c*u-a*A),i[o>>3]=l+c*A,i[o+8>>3]=s+a*A}function st(e,t){return t|=0,+i[(e|=0)>>3]!=+i[t>>3]?0|(t=0):0|(t=+i[e+8>>3]==+i[t+8>>3])}function ct(e,t){t|=0;var n,r,o;return+((o=+i[(e|=0)>>3]-+i[t>>3])*o+(r=+i[e+8>>3]-+i[t+8>>3])*r+(n=+i[e+16>>3]-+i[t+16>>3])*n)}function lt(e,t,n){e|=0,n|=0;var r=0;(0|(t|=0))>0?(r=0|gt(t,4),o[e>>2]=r,r||_(23230,23253,40,23267)):o[e>>2]=0,o[e+4>>2]=t,o[e+8>>2]=0,o[e+12>>2]=n}function ut(e){var t,n,r,a=0,s=0,l=0,p=0;t=(e|=0)+4|0,n=e+12|0,r=e+8|0;e:for(;;){for(s=0|o[t>>2],a=0;;){if((0|a)>=(0|s))break e;if(l=0|o[e>>2],p=0|o[l+(a<<2)>>2])break;a=a+1|0}a=l+(~~(+c(+ +u(10,+ +(15-(0|o[n>>2])|0))*(+i[p>>3]+ +i[p+8>>3]))%+(0|s))>>>0<<2)|0,s=0|o[a>>2];t:do{if(0|s){if(l=p+32|0,(0|s)==(0|p))o[a>>2]=o[l>>2];else{if(!(a=0|o[(s=s+32|0)>>2]))break;for(;(0|a)!=(0|p);)if(!(a=0|o[(s=a+32|0)>>2]))break t;o[s>>2]=o[l>>2]}Mt(p),o[r>>2]=(0|o[r>>2])-1}}while(0)}Mt(0|o[e>>2])}function pt(e){var t,n=0,r=0;for(t=0|o[(e|=0)+4>>2],r=0;;){if((0|r)>=(0|t)){n=0,r=4;break}if(n=0|o[(0|o[e>>2])+(r<<2)>>2]){r=4;break}r=r+1|0}return 4==(0|r)?0|n:0}function dt(e,t){t|=0;var n=0,r=0,a=0,s=0;if(n=~~(+c(+ +u(10,+ +(15-(0|o[(e|=0)+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,n=(0|o[e>>2])+(n<<2)|0,!(r=0|o[n>>2]))return 0|(s=1);s=t+32|0;do{if((0|r)!=(0|t)){if(!(n=0|o[r+32>>2]))return 0|(s=1);for(a=n;;){if((0|a)==(0|t)){a=8;break}if(!(n=0|o[a+32>>2])){n=1,a=10;break}r=a,a=n}if(8==(0|a)){o[r+32>>2]=o[s>>2];break}if(10==(0|a))return 0|n}else o[n>>2]=o[s>>2]}while(0);return Mt(t),o[(s=e+8|0)>>2]=(0|o[s>>2])-1,0|(s=0)}function At(e,t,n){e|=0,t|=0,n|=0;var r,a=0,s=0,l=0;(r=0|mt(40))||_(23283,23253,98,23296),o[r>>2]=o[t>>2],o[r+4>>2]=o[t+4>>2],o[r+8>>2]=o[t+8>>2],o[r+12>>2]=o[t+12>>2],o[(s=r+16|0)>>2]=o[n>>2],o[s+4>>2]=o[n+4>>2],o[s+8>>2]=o[n+8>>2],o[s+12>>2]=o[n+12>>2],o[r+32>>2]=0,s=~~(+c(+ +u(10,+ +(15-(0|o[e+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,s=(0|o[e>>2])+(s<<2)|0,a=0|o[s>>2];do{if(a){for(;!(0|qe(a,t)&&0|qe(a+16|0,n));)if(s=0|o[a+32>>2],!(0|o[(a=0==(0|s)?a:s)+32>>2])){l=10;break}if(10==(0|l)){o[a+32>>2]=r;break}return Mt(r),0|(l=a)}o[s>>2]=r}while(0);return o[(l=e+8|0)>>2]=1+(0|o[l>>2]),0|(l=r)}function ht(e,t,n){t|=0,n|=0;var r=0,a=0;if(a=~~(+c(+ +u(10,+ +(15-(0|o[(e|=0)+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,!(a=0|o[(0|o[e>>2])+(a<<2)>>2]))return 0|(n=0);if(!n){for(e=a;;){if(0|qe(e,t)){r=10;break}if(!(e=0|o[e+32>>2])){e=0,r=10;break}}if(10==(0|r))return 0|e}for(e=a;;){if(0|qe(e,t)&&0|qe(e+16|0,n)){r=10;break}if(!(e=0|o[e+32>>2])){e=0,r=10;break}}return 10==(0|r)?0|e:0}function ft(e,t){t|=0;var n=0;if(n=~~(+c(+ +u(10,+ +(15-(0|o[(e|=0)+12>>2])|0))*(+i[t>>3]+ +i[t+8>>3]))%+(0|o[e+4>>2]))>>>0,!(e=0|o[(0|o[e>>2])+(n<<2)>>2]))return 0|(n=0);for(;;){if(0|qe(e,t)){t=5;break}if(!(e=0|o[e+32>>2])){e=0,t=5;break}}return 5==(0|t)?0|e:0}function bt(e){return 0|~~+function(e){return+ +Wt(+(e=+e))}(e=+e)}function mt(e){e|=0;var t,n=0,r=0,i=0,a=0,s=0,c=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0,y=0,v=0;t=W,W=W+16|0,h=t;do{if(e>>>0<245){if(e=(p=e>>>0<11?16:e+11&-8)>>>3,3&(r=(A=0|o[5829])>>>e)|0)return i=0|o[(r=(e=23356+((n=(1&r^1)+e|0)<<1<<2)|0)+8|0)>>2],(0|(s=0|o[(a=i+8|0)>>2]))==(0|e)?o[5829]=A&~(1<>2]=e,o[r>>2]=s),v=n<<3,o[i+4>>2]=3|v,o[(v=i+v+4|0)>>2]=1|o[v>>2],W=t,0|(v=a);if(p>>>0>(d=0|o[5831])>>>0){if(0|r)return n=((n=r<>>=l=n>>>12&16)>>>5&8)|l|(s=(n>>>=r)>>>2&4)|(e=(n>>>=s)>>>1&2)|(i=(n>>>=e)>>>1&1))+(n>>>i)|0)<<1<<2)|0)+8|0)>>2],(0|(r=0|o[(l=s+8|0)>>2]))==(0|n)?(e=A&~(1<>2]=n,o[e>>2]=r,e=A),c=(v=i<<3)-p|0,o[s+4>>2]=3|p,o[(a=s+p|0)+4>>2]=1|c,o[s+v>>2]=c,0|d&&(i=0|o[5834],r=23356+((n=d>>>3)<<1<<2)|0,e&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=i,o[n+12>>2]=i,o[i+8>>2]=n,o[i+12>>2]=r),o[5831]=c,o[5834]=a,W=t,0|(v=l);if(s=0|o[5830]){for(r=(s&0-s)-1|0,r=u=0|o[23620+(((i=(r>>>=a=r>>>12&16)>>>5&8)|a|(c=(r>>>=i)>>>2&4)|(l=(r>>>=c)>>>1&2)|(u=(r>>>=l)>>>1&1))+(r>>>u)<<2)>>2],l=u,u=(-8&o[u+4>>2])-p|0;(e=0|o[r+16>>2])||(e=0|o[r+20>>2]);)r=e,l=(a=(c=(-8&o[e+4>>2])-p|0)>>>0>>0)?e:l,u=a?c:u;if((c=l+p|0)>>>0>l>>>0){a=0|o[l+24>>2],n=0|o[l+12>>2];do{if((0|n)==(0|l)){if(!(n=0|o[(e=l+20|0)>>2])&&!(n=0|o[(e=l+16|0)>>2])){r=0;break}for(;;)if(r=0|o[(i=n+20|0)>>2])n=r,e=i;else{if(!(r=0|o[(i=n+16|0)>>2]))break;n=r,e=i}o[e>>2]=0,r=n}else r=0|o[l+8>>2],o[r+12>>2]=n,o[n+8>>2]=r,r=n}while(0);do{if(0|a){if(n=0|o[l+28>>2],(0|l)==(0|o[(e=23620+(n<<2)|0)>>2])){if(o[e>>2]=r,!r){o[5830]=s&~(1<>2])==(0|l)?v:a+20|0)>>2]=r,!r)break;o[r+24>>2]=a,0|(n=0|o[l+16>>2])&&(o[r+16>>2]=n,o[n+24>>2]=r),0|(n=0|o[l+20>>2])&&(o[r+20>>2]=n,o[n+24>>2]=r)}}while(0);return u>>>0<16?(v=u+p|0,o[l+4>>2]=3|v,o[(v=l+v+4|0)>>2]=1|o[v>>2]):(o[l+4>>2]=3|p,o[c+4>>2]=1|u,o[c+u>>2]=u,0|d&&(i=0|o[5834],r=23356+((n=d>>>3)<<1<<2)|0,(n=1<>2]:(o[5829]=n|A,n=r,e=r+8|0),o[e>>2]=i,o[n+12>>2]=i,o[i+8>>2]=n,o[i+12>>2]=r),o[5831]=u,o[5834]=c),W=t,0|(v=l+8|0)}A=p}else A=p}else A=p}else if(e>>>0<=4294967231)if(p=-8&(e=e+11|0),i=0|o[5830]){a=0-p|0,u=(e>>>=8)?p>>>0>16777215?31:p>>>((u=14-((l=((m=e<<(A=(e+1048320|0)>>>16&8))+520192|0)>>>16&4)|A|(u=((m<<=l)+245760|0)>>>16&2))+(m<>>15)|0)+7|0)&1|u<<1:0,r=0|o[23620+(u<<2)>>2];e:do{if(r)for(e=0,l=p<<(31==(0|u)?0:25-(u>>>1)|0),s=0;;){if((c=(-8&o[r+4>>2])-p|0)>>>0>>0){if(!c){e=r,a=0,m=65;break e}e=r,a=c}if(s=0==(0|(m=0|o[r+20>>2]))|(0|m)==(0|(r=0|o[r+16+(l>>>31<<2)>>2]))?s:m,!r){r=s,m=61;break}l<<=1}else r=0,e=0,m=61}while(0);if(61==(0|m)){if(0==(0|r)&0==(0|e)){if(!(e=((e=2<>>=c=A>>>12&16)>>>5&8)|c|(l=(A>>>=s)>>>2&4)|(u=(A>>>=l)>>>1&2)|(r=(A>>>=u)>>>1&1))+(A>>>r)<<2)>>2]}r?m=65:(l=e,c=a)}if(65==(0|m))for(s=r;;){if(a=(r=(A=(-8&o[s+4>>2])-p|0)>>>0>>0)?A:a,e=r?s:e,(r=0|o[s+16>>2])||(r=0|o[s+20>>2]),!r){l=e,c=a;break}s=r}if(0!=(0|l)&&c>>>0<((0|o[5831])-p|0)>>>0&&(d=l+p|0)>>>0>l>>>0){s=0|o[l+24>>2],n=0|o[l+12>>2];do{if((0|n)==(0|l)){if(!(n=0|o[(e=l+20|0)>>2])&&!(n=0|o[(e=l+16|0)>>2])){n=0;break}for(;;)if(r=0|o[(a=n+20|0)>>2])n=r,e=a;else{if(!(r=0|o[(a=n+16|0)>>2]))break;n=r,e=a}o[e>>2]=0}else v=0|o[l+8>>2],o[v+12>>2]=n,o[n+8>>2]=v}while(0);do{if(s){if(e=0|o[l+28>>2],(0|l)==(0|o[(r=23620+(e<<2)|0)>>2])){if(o[r>>2]=n,!n){i&=~(1<>2])==(0|l)?v:s+20|0)>>2]=n,!n)break;o[n+24>>2]=s,0|(e=0|o[l+16>>2])&&(o[n+16>>2]=e,o[e+24>>2]=n),(e=0|o[l+20>>2])&&(o[n+20>>2]=e,o[e+24>>2]=n)}}while(0);e:do{if(c>>>0<16)v=c+p|0,o[l+4>>2]=3|v,o[(v=l+v+4|0)>>2]=1|o[v>>2];else{if(o[l+4>>2]=3|p,o[d+4>>2]=1|c,o[d+c>>2]=c,n=c>>>3,c>>>0<256){r=23356+(n<<1<<2)|0,(e=0|o[5829])&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=d,o[n+12>>2]=d,o[d+8>>2]=n,o[d+12>>2]=r;break}if(n=23620+((r=(n=c>>>8)?c>>>0>16777215?31:c>>>((r=14-((z=((v=n<<(y=(n+1048320|0)>>>16&8))+520192|0)>>>16&4)|y|(r=((v<<=z)+245760|0)>>>16&2))+(v<>>15)|0)+7|0)&1|r<<1:0)<<2)|0,o[d+28>>2]=r,o[(e=d+16|0)+4>>2]=0,o[e>>2]=0,!(i&(e=1<>2]=d,o[d+24>>2]=n,o[d+12>>2]=d,o[d+8>>2]=d;break}n=0|o[n>>2];t:do{if((-8&o[n+4>>2]|0)!=(0|c)){for(i=c<<(31==(0|r)?0:25-(r>>>1)|0);e=0|o[(r=n+16+(i>>>31<<2)|0)>>2];){if((-8&o[e+4>>2]|0)==(0|c)){n=e;break t}i<<=1,n=e}o[r>>2]=d,o[d+24>>2]=n,o[d+12>>2]=d,o[d+8>>2]=d;break e}}while(0);v=0|o[(y=n+8|0)>>2],o[v+12>>2]=d,o[y>>2]=d,o[d+8>>2]=v,o[d+12>>2]=n,o[d+24>>2]=0}}while(0);return W=t,0|(v=l+8|0)}A=p}else A=p;else A=-1}while(0);if((r=0|o[5831])>>>0>=A>>>0)return n=r-A|0,e=0|o[5834],n>>>0>15?(v=e+A|0,o[5834]=v,o[5831]=n,o[v+4>>2]=1|n,o[e+r>>2]=n,o[e+4>>2]=3|A):(o[5831]=0,o[5834]=0,o[e+4>>2]=3|r,o[(v=e+r+4|0)>>2]=1|o[v>>2]),W=t,0|(v=e+8|0);if((c=0|o[5832])>>>0>A>>>0)return z=c-A|0,o[5832]=z,y=(v=0|o[5835])+A|0,o[5835]=y,o[y+4>>2]=1|z,o[v+4>>2]=3|A,W=t,0|(v=v+8|0);if(0|o[5947]?e=0|o[5949]:(o[5949]=4096,o[5948]=4096,o[5950]=-1,o[5951]=-1,o[5952]=0,o[5940]=0,o[5947]=-16&h^1431655768,e=4096),l=A+48|0,(p=(s=e+(u=A+47|0)|0)&(a=0-e|0))>>>0<=A>>>0)return W=t,0|(v=0);if(0|(e=0|o[5939])&&(h=(d=0|o[5937])+p|0)>>>0<=d>>>0|h>>>0>e>>>0)return W=t,0|(v=0);e:do{if(4&o[5940])n=0,m=143;else{r=0|o[5835];t:do{if(r){for(i=23764;!((h=0|o[i>>2])>>>0<=r>>>0&&(h+(0|o[i+4>>2])|0)>>>0>r>>>0);){if(!(e=0|o[i+8>>2])){m=128;break t}i=e}if((n=s-c&a)>>>0<2147483647)if((0|(e=0|St(0|n)))==((0|o[i>>2])+(0|o[i+4>>2])|0)){if(-1!=(0|e)){c=n,s=e,m=145;break e}}else i=e,m=136;else n=0}else m=128}while(0);do{if(128==(0|m))if(-1!=(0|(r=0|St(0)))&&(n=r,b=(n=(0==((b=(f=0|o[5948])+-1|0)&n|0)?0:(b+n&0-f)-n|0)+p|0)+(f=0|o[5937])|0,n>>>0>A>>>0&n>>>0<2147483647)){if(0|(h=0|o[5939])&&b>>>0<=f>>>0|b>>>0>h>>>0){n=0;break}if((0|(e=0|St(0|n)))==(0|r)){c=n,s=r,m=145;break e}i=e,m=136}else n=0}while(0);do{if(136==(0|m)){if(r=0-n|0,!(l>>>0>n>>>0&n>>>0<2147483647&-1!=(0|i))){if(-1==(0|i)){n=0;break}c=n,s=i,m=145;break e}if((e=u-n+(e=0|o[5949])&0-e)>>>0>=2147483647){c=n,s=i,m=145;break e}if(-1==(0|St(0|e))){St(0|r),n=0;break}c=e+n|0,s=i,m=145;break e}}while(0);o[5940]=4|o[5940],m=143}}while(0);if(143==(0|m)&&p>>>0<2147483647&&!(-1==(0|(z=0|St(0|p)))|1^(g=(M=(b=0|St(0))-z|0)>>>0>(A+40|0)>>>0)|z>>>0>>0&-1!=(0|z)&-1!=(0|b)^1)&&(c=g?M:n,s=z,m=145),145==(0|m)){n=(0|o[5937])+c|0,o[5937]=n,n>>>0>(0|o[5938])>>>0&&(o[5938]=n),u=0|o[5835];e:do{if(u){for(n=23764;;){if((0|s)==((e=0|o[n>>2])+(r=0|o[n+4>>2])|0)){m=154;break}if(!(i=0|o[n+8>>2]))break;n=i}if(154==(0|m)&&(y=n+4|0,0==(8&o[n+12>>2]|0))&&s>>>0>u>>>0&e>>>0<=u>>>0){o[y>>2]=r+c,y=u+(z=0==(7&(z=u+8|0)|0)?0:0-z&7)|0,z=(v=(0|o[5832])+c|0)-z|0,o[5835]=y,o[5832]=z,o[y+4>>2]=1|z,o[u+v+4>>2]=40,o[5836]=o[5951];break}for(s>>>0<(0|o[5833])>>>0&&(o[5833]=s),r=s+c|0,n=23764;;){if((0|o[n>>2])==(0|r)){m=162;break}if(!(e=0|o[n+8>>2]))break;n=e}if(162==(0|m)&&0==(8&o[n+12>>2]|0)){o[n>>2]=s,o[(d=n+4|0)>>2]=(0|o[d>>2])+c,p=(d=s+(0==(7&(d=s+8|0)|0)?0:0-d&7)|0)+A|0,l=(n=r+(0==(7&(n=r+8|0)|0)?0:0-n&7)|0)-d-A|0,o[d+4>>2]=3|A;t:do{if((0|u)==(0|n))v=(0|o[5832])+l|0,o[5832]=v,o[5835]=p,o[p+4>>2]=1|v;else{if((0|o[5834])==(0|n)){v=(0|o[5831])+l|0,o[5831]=v,o[5834]=p,o[p+4>>2]=1|v,o[p+v>>2]=v;break}if(1==(3&(e=0|o[n+4>>2])|0)){c=-8&e,i=e>>>3;n:do{if(e>>>0<256){if(e=0|o[n+8>>2],(0|(r=0|o[n+12>>2]))==(0|e)){o[5829]=o[5829]&~(1<>2]=r,o[r+8>>2]=e;break}s=0|o[n+24>>2],e=0|o[n+12>>2];do{if((0|e)==(0|n)){if(e=0|o[(i=(r=n+16|0)+4|0)>>2])r=i;else if(!(e=0|o[r>>2])){e=0;break}for(;;)if(i=0|o[(a=e+20|0)>>2])e=i,r=a;else{if(!(i=0|o[(a=e+16|0)>>2]))break;e=i,r=a}o[r>>2]=0}else v=0|o[n+8>>2],o[v+12>>2]=e,o[e+8>>2]=v}while(0);if(!s)break;i=23620+((r=0|o[n+28>>2])<<2)|0;do{if((0|o[i>>2])==(0|n)){if(o[i>>2]=e,0|e)break;o[5830]=o[5830]&~(1<>2])==(0|n)?v:s+20|0)>>2]=e,!e)break n}while(0);if(o[e+24>>2]=s,0|(i=0|o[(r=n+16|0)>>2])&&(o[e+16>>2]=i,o[i+24>>2]=e),!(r=0|o[r+4>>2]))break;o[e+20>>2]=r,o[r+24>>2]=e}while(0);n=n+c|0,a=c+l|0}else a=l;if(o[(n=n+4|0)>>2]=-2&o[n>>2],o[p+4>>2]=1|a,o[p+a>>2]=a,n=a>>>3,a>>>0<256){r=23356+(n<<1<<2)|0,(e=0|o[5829])&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=p,o[n+12>>2]=p,o[p+8>>2]=n,o[p+12>>2]=r;break}n=a>>>8;do{if(n){if(a>>>0>16777215){i=31;break}i=a>>>((i=14-((z=((v=n<<(y=(n+1048320|0)>>>16&8))+520192|0)>>>16&4)|y|(i=((v<<=z)+245760|0)>>>16&2))+(v<>>15)|0)+7|0)&1|i<<1}else i=0}while(0);if(n=23620+(i<<2)|0,o[p+28>>2]=i,o[(e=p+16|0)+4>>2]=0,o[e>>2]=0,!((e=0|o[5830])&(r=1<>2]=p,o[p+24>>2]=n,o[p+12>>2]=p,o[p+8>>2]=p;break}n=0|o[n>>2];n:do{if((-8&o[n+4>>2]|0)!=(0|a)){for(i=a<<(31==(0|i)?0:25-(i>>>1)|0);e=0|o[(r=n+16+(i>>>31<<2)|0)>>2];){if((-8&o[e+4>>2]|0)==(0|a)){n=e;break n}i<<=1,n=e}o[r>>2]=p,o[p+24>>2]=n,o[p+12>>2]=p,o[p+8>>2]=p;break t}}while(0);v=0|o[(y=n+8|0)>>2],o[v+12>>2]=p,o[y>>2]=p,o[p+8>>2]=v,o[p+12>>2]=n,o[p+24>>2]=0}}while(0);return W=t,0|(v=d+8|0)}for(n=23764;!((e=0|o[n>>2])>>>0<=u>>>0&&(v=e+(0|o[n+4>>2])|0)>>>0>u>>>0);)n=0|o[n+8>>2];n=(e=(e=(a=v+-47|0)+(0==(7&(e=a+8|0)|0)?0:0-e&7)|0)>>>0<(a=u+16|0)>>>0?u:e)+8|0,y=s+(z=0==(7&(z=s+8|0)|0)?0:0-z&7)|0,z=(r=c+-40|0)-z|0,o[5835]=y,o[5832]=z,o[y+4>>2]=1|z,o[s+r+4>>2]=40,o[5836]=o[5951],o[(r=e+4|0)>>2]=27,o[n>>2]=o[5941],o[n+4>>2]=o[5942],o[n+8>>2]=o[5943],o[n+12>>2]=o[5944],o[5941]=s,o[5942]=c,o[5944]=0,o[5943]=n,n=e+24|0;do{y=n,o[(n=n+4|0)>>2]=7}while((y+8|0)>>>0>>0);if((0|e)!=(0|u)){if(s=e-u|0,o[r>>2]=-2&o[r>>2],o[u+4>>2]=1|s,o[e>>2]=s,n=s>>>3,s>>>0<256){r=23356+(n<<1<<2)|0,(e=0|o[5829])&(n=1<>2]:(o[5829]=e|n,n=r,e=r+8|0),o[e>>2]=u,o[n+12>>2]=u,o[u+8>>2]=n,o[u+12>>2]=r;break}if(r=23620+((i=(n=s>>>8)?s>>>0>16777215?31:s>>>((i=14-((z=((v=n<<(y=(n+1048320|0)>>>16&8))+520192|0)>>>16&4)|y|(i=((v<<=z)+245760|0)>>>16&2))+(v<>>15)|0)+7|0)&1|i<<1:0)<<2)|0,o[u+28>>2]=i,o[u+20>>2]=0,o[a>>2]=0,!((n=0|o[5830])&(e=1<>2]=u,o[u+24>>2]=r,o[u+12>>2]=u,o[u+8>>2]=u;break}n=0|o[r>>2];t:do{if((-8&o[n+4>>2]|0)!=(0|s)){for(i=s<<(31==(0|i)?0:25-(i>>>1)|0);e=0|o[(r=n+16+(i>>>31<<2)|0)>>2];){if((-8&o[e+4>>2]|0)==(0|s)){n=e;break t}i<<=1,n=e}o[r>>2]=u,o[u+24>>2]=n,o[u+12>>2]=u,o[u+8>>2]=u;break e}}while(0);v=0|o[(y=n+8|0)>>2],o[v+12>>2]=u,o[y>>2]=u,o[u+8>>2]=v,o[u+12>>2]=n,o[u+24>>2]=0}}else 0==(0|(v=0|o[5833]))|s>>>0>>0&&(o[5833]=s),o[5941]=s,o[5942]=c,o[5944]=0,o[5838]=o[5947],o[5837]=-1,o[5842]=23356,o[5841]=23356,o[5844]=23364,o[5843]=23364,o[5846]=23372,o[5845]=23372,o[5848]=23380,o[5847]=23380,o[5850]=23388,o[5849]=23388,o[5852]=23396,o[5851]=23396,o[5854]=23404,o[5853]=23404,o[5856]=23412,o[5855]=23412,o[5858]=23420,o[5857]=23420,o[5860]=23428,o[5859]=23428,o[5862]=23436,o[5861]=23436,o[5864]=23444,o[5863]=23444,o[5866]=23452,o[5865]=23452,o[5868]=23460,o[5867]=23460,o[5870]=23468,o[5869]=23468,o[5872]=23476,o[5871]=23476,o[5874]=23484,o[5873]=23484,o[5876]=23492,o[5875]=23492,o[5878]=23500,o[5877]=23500,o[5880]=23508,o[5879]=23508,o[5882]=23516,o[5881]=23516,o[5884]=23524,o[5883]=23524,o[5886]=23532,o[5885]=23532,o[5888]=23540,o[5887]=23540,o[5890]=23548,o[5889]=23548,o[5892]=23556,o[5891]=23556,o[5894]=23564,o[5893]=23564,o[5896]=23572,o[5895]=23572,o[5898]=23580,o[5897]=23580,o[5900]=23588,o[5899]=23588,o[5902]=23596,o[5901]=23596,o[5904]=23604,o[5903]=23604,y=s+(z=0==(7&(z=s+8|0)|0)?0:0-z&7)|0,z=(v=c+-40|0)-z|0,o[5835]=y,o[5832]=z,o[y+4>>2]=1|z,o[s+v+4>>2]=40,o[5836]=o[5951]}while(0);if((n=0|o[5832])>>>0>A>>>0)return z=n-A|0,o[5832]=z,y=(v=0|o[5835])+A|0,o[5835]=y,o[y+4>>2]=1|z,o[v+4>>2]=3|A,W=t,0|(v=v+8|0)}return o[(v=23312)>>2]=12,W=t,0|(v=0)}function Mt(e){var t=0,n=0,r=0,i=0,a=0,s=0,c=0,l=0;if(e|=0){n=e+-8|0,i=0|o[5833],l=n+(t=-8&(e=0|o[e+-4>>2]))|0;do{if(1&e)c=n,s=n;else{if(r=0|o[n>>2],!(3&e))return;if(a=r+t|0,(s=n+(0-r)|0)>>>0>>0)return;if((0|o[5834])==(0|s)){if(3!=(3&(t=0|o[(e=l+4|0)>>2])|0)){c=s,t=a;break}return o[5831]=a,o[e>>2]=-2&t,o[s+4>>2]=1|a,void(o[s+a>>2]=a)}if(n=r>>>3,r>>>0<256){if(e=0|o[s+8>>2],(0|(t=0|o[s+12>>2]))==(0|e)){o[5829]=o[5829]&~(1<>2]=t,o[t+8>>2]=e,c=s,t=a;break}i=0|o[s+24>>2],e=0|o[s+12>>2];do{if((0|e)==(0|s)){if(e=0|o[(n=(t=s+16|0)+4|0)>>2])t=n;else if(!(e=0|o[t>>2])){e=0;break}for(;;)if(n=0|o[(r=e+20|0)>>2])e=n,t=r;else{if(!(n=0|o[(r=e+16|0)>>2]))break;e=n,t=r}o[t>>2]=0}else c=0|o[s+8>>2],o[c+12>>2]=e,o[e+8>>2]=c}while(0);if(i){if(t=0|o[s+28>>2],(0|o[(n=23620+(t<<2)|0)>>2])==(0|s)){if(o[n>>2]=e,!e){o[5830]=o[5830]&~(1<>2])==(0|s)?c:i+20|0)>>2]=e,!e){c=s,t=a;break}o[e+24>>2]=i,0|(n=0|o[(t=s+16|0)>>2])&&(o[e+16>>2]=n,o[n+24>>2]=e),(t=0|o[t+4>>2])?(o[e+20>>2]=t,o[t+24>>2]=e,c=s,t=a):(c=s,t=a)}else c=s,t=a}}while(0);if(!(s>>>0>=l>>>0)&&1&(r=0|o[(e=l+4|0)>>2])){if(2&r)o[e>>2]=-2&r,o[c+4>>2]=1|t,o[s+t>>2]=t,i=t;else{if((0|o[5835])==(0|l)){if(l=(0|o[5832])+t|0,o[5832]=l,o[5835]=c,o[c+4>>2]=1|l,(0|c)!=(0|o[5834]))return;return o[5834]=0,void(o[5831]=0)}if((0|o[5834])==(0|l))return l=(0|o[5831])+t|0,o[5831]=l,o[5834]=s,o[c+4>>2]=1|l,void(o[s+l>>2]=l);i=(-8&r)+t|0,n=r>>>3;do{if(r>>>0<256){if(t=0|o[l+8>>2],(0|(e=0|o[l+12>>2]))==(0|t)){o[5829]=o[5829]&~(1<>2]=e,o[e+8>>2]=t;break}a=0|o[l+24>>2],e=0|o[l+12>>2];do{if((0|e)==(0|l)){if(e=0|o[(n=(t=l+16|0)+4|0)>>2])t=n;else if(!(e=0|o[t>>2])){n=0;break}for(;;)if(n=0|o[(r=e+20|0)>>2])e=n,t=r;else{if(!(n=0|o[(r=e+16|0)>>2]))break;e=n,t=r}o[t>>2]=0,n=e}else n=0|o[l+8>>2],o[n+12>>2]=e,o[e+8>>2]=n,n=e}while(0);if(0|a){if(e=0|o[l+28>>2],(0|o[(t=23620+(e<<2)|0)>>2])==(0|l)){if(o[t>>2]=n,!n){o[5830]=o[5830]&~(1<>2])==(0|l)?r:a+20|0)>>2]=n,!n)break;o[n+24>>2]=a,0|(t=0|o[(e=l+16|0)>>2])&&(o[n+16>>2]=t,o[t+24>>2]=n),0|(e=0|o[e+4>>2])&&(o[n+20>>2]=e,o[e+24>>2]=n)}}while(0);if(o[c+4>>2]=1|i,o[s+i>>2]=i,(0|c)==(0|o[5834]))return void(o[5831]=i)}if(e=i>>>3,i>>>0<256)return n=23356+(e<<1<<2)|0,(t=0|o[5829])&(e=1<>2]:(o[5829]=t|e,e=n,t=n+8|0),o[t>>2]=c,o[e+12>>2]=c,o[c+8>>2]=e,void(o[c+12>>2]=n);e=23620+((r=(e=i>>>8)?i>>>0>16777215?31:i>>>((r=14-((a=((l=e<<(s=(e+1048320|0)>>>16&8))+520192|0)>>>16&4)|s|(r=((l<<=a)+245760|0)>>>16&2))+(l<>>15)|0)+7|0)&1|r<<1:0)<<2)|0,o[c+28>>2]=r,o[c+20>>2]=0,o[c+16>>2]=0,t=0|o[5830],n=1<>2];t:do{if((-8&o[e+4>>2]|0)!=(0|i)){for(r=i<<(31==(0|r)?0:25-(r>>>1)|0);t=0|o[(n=e+16+(r>>>31<<2)|0)>>2];){if((-8&o[t+4>>2]|0)==(0|i)){e=t;break t}r<<=1,e=t}o[n>>2]=c,o[c+24>>2]=e,o[c+12>>2]=c,o[c+8>>2]=c;break e}}while(0);l=0|o[(s=e+8|0)>>2],o[l+12>>2]=c,o[s>>2]=c,o[c+8>>2]=l,o[c+12>>2]=e,o[c+24>>2]=0}else o[5830]=t|n,o[e>>2]=c,o[c+24>>2]=e,o[c+12>>2]=c,o[c+8>>2]=c}while(0);if(l=(0|o[5837])-1|0,o[5837]=l,!(0|l)){for(e=23772;e=0|o[e>>2];)e=e+8|0;o[5837]=-1}}}}function gt(e,t){t|=0;var n=0;return(e|=0)?(n=0|g(t,e),(t|e)>>>0>65535&&(n=(0|(n>>>0)/(e>>>0))==(0|t)?n:-1)):n=0,(e=0|mt(n))&&3&o[e+-4>>2]?(Lt(0|e,0,0|n),0|e):0|e}function zt(e,t,n,r){return 0|(v(0|(r=(t|=0)-(r|=0)-((n|=0)>>>0>(e|=0)>>>0|0)>>>0)),e-n>>>0|0)}function yt(e){return 0|((e|=0)?31-(0|y(e^e-1))|0:32)}function vt(e,t,n,r,i){i|=0;var a=0,s=0,c=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0;if(p=e|=0,s=n|=0,c=A=r|=0,!(u=l=t|=0))return a=0!=(0|i),c?a?(o[i>>2]=0|e,o[i+4>>2]=0&t,i=0,0|(v(0|(A=0)),i)):(i=0,0|(v(0|(A=0)),i)):(a&&(o[i>>2]=(p>>>0)%(s>>>0),o[i+4>>2]=0),i=(p>>>0)/(s>>>0)>>>0,0|(v(0|(A=0)),i));a=0==(0|c);do{if(s){if(!a){if((a=(0|y(0|c))-(0|y(0|u))|0)>>>0<=31){s=d=a+1|0,e=p>>>(d>>>0)&(t=a-31>>31)|u<<(c=31-a|0),t&=u>>>(d>>>0),a=0,c=p<>2]=0|e,o[i+4>>2]=l|0&t,i=0,0|(v(0|(A=0)),i)):(i=0,0|(v(0|(A=0)),i))}if((a=s-1|0)&s|0){s=c=33+(0|y(0|s))-(0|y(0|u))|0,e=(d=32-c|0)-1>>31&u>>>((h=c-32|0)>>>0)|(u<>>(c>>>0))&(t=h>>31),t&=u>>>(c>>>0),a=p<<(f=64-c|0)&(l=d>>31),c=(u<>>(h>>>0))&l|p<>31;break}return 0|i&&(o[i>>2]=a&p,o[i+4>>2]=0),1==(0|s)?(f=0|e,0|(v(0|(h=l|0&t)),f)):(h=u>>>((f=0|yt(0|s))>>>0)|0,f=u<<32-f|p>>>(f>>>0)|0,0|(v(0|h),f))}if(a)return 0|i&&(o[i>>2]=(u>>>0)%(s>>>0),o[i+4>>2]=0),f=(u>>>0)/(s>>>0)>>>0,0|(v(0|(h=0)),f);if(!p)return 0|i&&(o[i>>2]=0,o[i+4>>2]=(u>>>0)%(c>>>0)),f=(u>>>0)/(c>>>0)>>>0,0|(v(0|(h=0)),f);if(!((a=c-1|0)&c))return 0|i&&(o[i>>2]=0|e,o[i+4>>2]=a&u|0&t),h=0,f=u>>>((0|yt(0|c))>>>0),0|(v(0|h),f);if((a=(0|y(0|c))-(0|y(0|u))|0)>>>0<=30){s=t=a+1|0,e=u<<(c=31-a|0)|p>>>(t>>>0),t=u>>>(t>>>0),a=0,c=p<>2]=0|e,o[i+4>>2]=l|0&t,f=0,0|(v(0|(h=0)),f)):(f=0,0|(v(0|(h=0)),f))}while(0);if(s){u=0|function(e,t,n,r){return 0|(v((t|=0)+(r|=0)+((n=(e|=0)+(n|=0)>>>0)>>>0>>0|0)>>>0|0),0|n)}(0|(d=0|n),0|(p=A|0&r),-1,-1),n=0|O(),l=c,c=0;do{r=l,l=a>>>31|l<<1,a=c|a<<1,zt(0|u,0|n,0|(r=e<<1|r>>>31|0),0|(A=e>>>31|t<<1|0)),c=1&(h=(f=0|O())>>31|((0|f)<0?-1:0)<<1),e=0|zt(0|r,0|A,h&d|0,(((0|f)<0?-1:0)>>31|((0|f)<0?-1:0)<<1)&p|0),t=0|O(),s=s-1|0}while(0!=(0|s));u=l,l=0}else u=c,l=0,c=0;return s=0,0|i&&(o[i>>2]=e,o[i+4>>2]=t),f=-2&(a<<1|0)|c,0|(v(0|(h=(0|a)>>>31|(u|s)<<1|0&(s<<1|a>>>31)|l)),f)}function Ot(e,t,n,r){var i,a;return a=W,W=W+16|0,vt(e|=0,t|=0,n|=0,r|=0,i=0|a),W=a,0|(v(0|o[i+4>>2]),0|o[i>>2])}function _t(e,t,n){return e|=0,t|=0,(0|(n|=0))<32?(v(t>>>n|0),e>>>n|(t&(1<>>n-32|0)}function wt(e,t,n){return e|=0,t|=0,(0|(n|=0))<32?(v(t<>>32-n|0),e<=0?+s(e+.5):+M(e-.5)}function kt(e,t,n){e|=0,t|=0;var i,a,s=0;if((0|(n|=0))>=8192)return q(0|e,0|t,0|n),0|e;if(a=0|e,i=e+n|0,(3&e)==(3&t)){for(;3&e;){if(!n)return 0|a;r[e>>0]=0|r[t>>0],e=e+1|0,t=t+1|0,n=n-1|0}for(s=(n=-4&i|0)-64|0;(0|e)<=(0|s);)o[e>>2]=o[t>>2],o[e+4>>2]=o[t+4>>2],o[e+8>>2]=o[t+8>>2],o[e+12>>2]=o[t+12>>2],o[e+16>>2]=o[t+16>>2],o[e+20>>2]=o[t+20>>2],o[e+24>>2]=o[t+24>>2],o[e+28>>2]=o[t+28>>2],o[e+32>>2]=o[t+32>>2],o[e+36>>2]=o[t+36>>2],o[e+40>>2]=o[t+40>>2],o[e+44>>2]=o[t+44>>2],o[e+48>>2]=o[t+48>>2],o[e+52>>2]=o[t+52>>2],o[e+56>>2]=o[t+56>>2],o[e+60>>2]=o[t+60>>2],e=e+64|0,t=t+64|0;for(;(0|e)<(0|n);)o[e>>2]=o[t>>2],e=e+4|0,t=t+4|0}else for(n=i-4|0;(0|e)<(0|n);)r[e>>0]=0|r[t>>0],r[e+1>>0]=0|r[t+1>>0],r[e+2>>0]=0|r[t+2>>0],r[e+3>>0]=0|r[t+3>>0],e=e+4|0,t=t+4|0;for(;(0|e)<(0|i);)r[e>>0]=0|r[t>>0],e=e+1|0,t=t+1|0;return 0|a}function Lt(e,t,n){t|=0;var i,a=0,s=0,c=0;if(i=(e|=0)+(n|=0)|0,t&=255,(0|n)>=67){for(;3&e;)r[e>>0]=t,e=e+1|0;for(c=t|t<<8|t<<16|t<<24,s=(a=-4&i|0)-64|0;(0|e)<=(0|s);)o[e>>2]=c,o[e+4>>2]=c,o[e+8>>2]=c,o[e+12>>2]=c,o[e+16>>2]=c,o[e+20>>2]=c,o[e+24>>2]=c,o[e+28>>2]=c,o[e+32>>2]=c,o[e+36>>2]=c,o[e+40>>2]=c,o[e+44>>2]=c,o[e+48>>2]=c,o[e+52>>2]=c,o[e+56>>2]=c,o[e+60>>2]=c,e=e+64|0;for(;(0|e)<(0|a);)o[e>>2]=c,e=e+4|0}for(;(0|e)<(0|i);)r[e>>0]=t,e=e+1|0;return i-n|0}function Wt(e){return(e=+e)>=0?+s(e+.5):+M(e-.5)}function St(e){e|=0;var t,n,r;return r=0|x(),(0|e)>0&(0|(t=(n=0|o[a>>2])+e|0))<(0|n)|(0|t)<0?(L(0|t),w(12),-1):(0|t)>(0|r)&&!(0|k(0|t))?(w(12),-1):(o[a>>2]=t,0|n)}return{___uremdi3:Ot,_bitshift64Lshr:_t,_bitshift64Shl:wt,_calloc:gt,_cellAreaKm2:function(e,t){var n,r,i,a=0;if(i=W,W=W+192|0,r=i,Xe(e|=0,t|=0,n=i+168|0),He(e,t,r),(0|(t=0|o[r>>2]))>0){if(a=+Le(r+8|0,r+8+((1!=(0|t)&1)<<4)|0,n)+0,1!=(0|t)){e=1;do{a+=+Le(r+8+(e<<4)|0,r+8+(((0|(e=e+1|0))%(0|t)|0)<<4)|0,n)}while((0|e)<(0|t))}}else a=0;return W=i,6371.007180918475*a*6371.007180918475},_cellAreaM2:function(e,t){var n,r,i,a=0;if(i=W,W=W+192|0,r=i,Xe(e|=0,t|=0,n=i+168|0),He(e,t,r),(0|(t=0|o[r>>2]))>0){if(a=+Le(r+8|0,r+8+((1!=(0|t)&1)<<4)|0,n)+0,1!=(0|t)){e=1;do{a+=+Le(r+8+(e<<4)|0,r+8+(((0|(e=e+1|0))%(0|t)|0)<<4)|0,n)}while((0|e)<(0|t))}}else a=0;return W=i,6371.007180918475*a*6371.007180918475*1e3*1e3},_cellAreaRads2:function(e,t){var n,r,i,a=0;if(i=W,W=W+192|0,r=i,Xe(e|=0,t|=0,n=i+168|0),He(e,t,r),(0|(t=0|o[r>>2]))<=0)return W=i,+(a=0);if(a=+Le(r+8|0,r+8+((1!=(0|t)&1)<<4)|0,n)+0,1==(0|t))return W=i,+a;e=1;do{a+=+Le(r+8+(e<<4)|0,r+8+(((0|(e=e+1|0))%(0|t)|0)<<4)|0,n)}while((0|e)<(0|t));return W=i,+a},_compact:function(e,t,n){t|=0;var r,i=0,a=0,s=0,c=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0,y=0,v=0,_=0,w=0,x=0;if(!(n|=0))return 0|(w=0);if(i=0|o[(a=e|=0)>>2],!0&0==(15728640&(a=0|o[a+4>>2])|0)){if((0|n)<=0)return 0|(w=0);if(o[(w=t)>>2]=i,o[w+4>>2]=a,1==(0|n))return 0|(w=0);i=1;do{_=0|o[(v=e+(i<<3)|0)+4>>2],o[(w=t+(i<<3)|0)>>2]=o[v>>2],o[w+4>>2]=_,i=i+1|0}while((0|i)!=(0|n));return 0|(i=0)}if(!(_=0|mt(v=n<<3)))return 0|(w=-3);if(kt(0|_,0|e,0|v),!(r=0|gt(n,8)))return Mt(_),0|(w=-3);i=n;e:for(;;){z=0|_t(0|(d=0|o[(c=_)>>2]),0|(c=0|o[c+4>>2]),52),O(),y=(z&=15)+-1|0,g=(0|i)>0;t:do{if(g){if(M=((0|i)<0)<<31>>31,b=0|wt(0|y,0,52),m=0|O(),y>>>0>15)for(a=0,e=d,n=c;;){if(!(0==(0|e)&0==(0|n))){if(s=0|_t(0|e,0|n,52),O(),l=(0|(s&=15))<(0|y),s=(0|s)==(0|y),n=0|Ot(0|(p=l?0:s?e:0),0|(e=l?0:s?n:0),0|i,0|M),O(),0==(0|(u=0|o[(l=s=r+(n<<3)|0)>>2]))&0==(0|(l=0|o[l+4>>2])))n=p;else for(b=0,f=n,h=l,n=p;;){if((0|b)>(0|i)){w=41;break e}if((0|u)==(0|n)&(-117440513&h|0)==(0|e)){p=0|_t(0|u,0|h,56),O(),A=(p&=7)+1|0,m=0|_t(0|u,0|h,45),O();n:do{if(0|C(127&m)){if(u=0|_t(0|u,0|h,52),O(),!(u&=15)){l=6;break}for(l=1;;){if(!(0==((m=0|wt(7,0,3*(15-l|0)|0))&n|0)&0==((0|O())&e|0))){l=7;break n}if(!(l>>>0>>0)){l=6;break}l=l+1|0}}else l=7}while(0);if((p+2|0)>>>0>l>>>0){w=51;break e}m=0|wt(0|A,0,56),e=0|O()|-117440513&e,o[(l=s)>>2]=0,o[l+4>>2]=0,l=f,n|=m}else l=(f+1|0)%(0|i)|0;if(0==(0|(u=0|o[(h=s=r+(l<<3)|0)>>2]))&0==(0|(h=0|o[h+4>>2])))break;b=b+1|0,f=l}o[(m=s)>>2]=n,o[m+4>>2]=e}if((0|(a=a+1|0))>=(0|i))break t;e=0|o[(n=_+(a<<3)|0)>>2],n=0|o[n+4>>2]}for(a=0,e=d,n=c;;){if(!(0==(0|e)&0==(0|n))){if(l=0|_t(0|e,0|n,52),O(),(0|(l&=15))>=(0|y)){if((0|l)!=(0|y)&&(e|=b,n=-15728641&n|m,l>>>0>=z>>>0)){s=y;do{f=0|wt(7,0,3*(14-s|0)|0),s=s+1|0,e|=f,n=0|O()|n}while(s>>>0>>0)}}else e=0,n=0;if(l=0|Ot(0|e,0|n,0|i,0|M),O(),!(0==(0|(p=0|o[(u=s=r+(l<<3)|0)>>2]))&0==(0|(u=0|o[u+4>>2]))))for(f=0;;){if((0|f)>(0|i)){w=41;break e}if((0|p)==(0|e)&(-117440513&u|0)==(0|n)){A=0|_t(0|p,0|u,56),O(),h=(A&=7)+1|0,x=0|_t(0|p,0|u,45),O();n:do{if(0|C(127&x)){if(p=0|_t(0|p,0|u,52),O(),!(p&=15)){u=6;break}for(u=1;;){if(!(0==((x=0|wt(7,0,3*(15-u|0)|0))&e|0)&0==((0|O())&n|0))){u=7;break n}if(!(u>>>0

>>0)){u=6;break}u=u+1|0}}else u=7}while(0);if((A+2|0)>>>0>u>>>0){w=51;break e}x=0|wt(0|h,0,56),n=0|O()|-117440513&n,o[(h=s)>>2]=0,o[h+4>>2]=0,e|=x}else l=(l+1|0)%(0|i)|0;if(0==(0|(p=0|o[(u=s=r+(l<<3)|0)>>2]))&0==(0|(u=0|o[u+4>>2])))break;f=f+1|0}o[(x=s)>>2]=e,o[x+4>>2]=n}if((0|(a=a+1|0))>=(0|i))break t;e=0|o[(n=_+(a<<3)|0)>>2],n=0|o[n+4>>2]}}}while(0);if((i+5|0)>>>0<11){w=99;break}if(!(m=0|gt((0|i)/6|0,8))){w=58;break}t:do{if(g){f=0,h=0;do{if(!(0==(0|(a=0|o[(e=l=r+(f<<3)|0)>>2]))&0==(0|(e=0|o[e+4>>2])))){u=0|_t(0|a,0|e,56),O(),n=(u&=7)+1|0,p=-117440513&e,x=0|_t(0|a,0|e,45),O();n:do{if(0|C(127&x)){if(A=0|_t(0|a,0|e,52),O(),0|(A&=15))for(s=1;;){if(!(0==(a&(x=0|wt(7,0,3*(15-s|0)|0))|0)&0==(p&(0|O())|0)))break n;if(!(s>>>0>>0))break;s=s+1|0}a|=e=0|wt(0|n,0,56),e=0|O()|p,o[(n=l)>>2]=a,o[n+4>>2]=e,n=u+2|0}}while(0);7==(0|n)&&(o[(x=m+(h<<3)|0)>>2]=a,o[x+4>>2]=-117440513&e,h=h+1|0)}f=f+1|0}while((0|f)!=(0|i));if(g){if(b=((0|i)<0)<<31>>31,A=0|wt(0|y,0,52),f=0|O(),y>>>0>15)for(e=0,a=0;;){do{if(!(0==(0|d)&0==(0|c))){for(u=0|_t(0|d,0|c,52),O(),s=(0|(u&=15))<(0|y),u=(0|u)==(0|y),s=0|Ot(0|(l=s?0:u?d:0),0|(u=s?0:u?c:0),0|i,0|b),O(),n=0;;){if((0|n)>(0|i)){w=98;break e}if((-117440513&(p=0|o[(x=r+(s<<3)|0)+4>>2])|0)==(0|u)&&(0|o[x>>2])==(0|l)){w=70;break}if((0|o[(x=r+((s=(s+1|0)%(0|i)|0)<<3)|0)>>2])==(0|l)&&(0|o[x+4>>2])==(0|u))break;n=n+1|0}if(70==(0|w)&&(w=0,!0&100663296==(117440512&p|0)))break;o[(x=t+(a<<3)|0)>>2]=d,o[x+4>>2]=c,a=a+1|0}}while(0);if((0|(e=e+1|0))>=(0|i)){i=h;break t}d=0|o[(c=_+(e<<3)|0)>>2],c=0|o[c+4>>2]}for(e=0,a=0;;){do{if(!(0==(0|d)&0==(0|c))){if(u=0|_t(0|d,0|c,52),O(),(0|(u&=15))>=(0|y))if((0|u)!=(0|y))if(n=d|A,s=-15728641&c|f,u>>>0>>0)u=s;else{l=y;do{x=0|wt(7,0,3*(14-l|0)|0),l=l+1|0,n|=x,s=0|O()|s}while(l>>>0>>0);u=s}else n=d,u=c;else n=0,u=0;for(l=0|Ot(0|n,0|u,0|i,0|b),O(),s=0;;){if((0|s)>(0|i)){w=98;break e}if((-117440513&(p=0|o[(x=r+(l<<3)|0)+4>>2])|0)==(0|u)&&(0|o[x>>2])==(0|n)){w=93;break}if((0|o[(x=r+((l=(l+1|0)%(0|i)|0)<<3)|0)>>2])==(0|n)&&(0|o[x+4>>2])==(0|u))break;s=s+1|0}if(93==(0|w)&&(w=0,!0&100663296==(117440512&p|0)))break;o[(x=t+(a<<3)|0)>>2]=d,o[x+4>>2]=c,a=a+1|0}}while(0);if((0|(e=e+1|0))>=(0|i)){i=h;break t}d=0|o[(c=_+(e<<3)|0)>>2],c=0|o[c+4>>2]}}else a=0,i=h}else a=0,i=0}while(0);if(Lt(0|r,0,0|v),kt(0|_,0|m,i<<3|0),Mt(m),!i)break;t=t+(a<<3)|0}return 41==(0|w)?(Mt(_),Mt(r),0|(x=-1)):51==(0|w)?(Mt(_),Mt(r),0|(x=-2)):58==(0|w)?(Mt(_),Mt(r),0|(x=-3)):98==(0|w)?(Mt(m),Mt(_),Mt(r),0|(x=-1)):(99==(0|w)&&kt(0|t,0|_,i<<3|0),Mt(_),Mt(r),0|(x=0))},_destroyLinkedPolygon:function(e){var t=0,n=0,r=0,i=0;if(e|=0)for(r=1;;){if(0|(t=0|o[e>>2]))do{if(0|(n=0|o[t>>2]))do{i=n,n=0|o[n+16>>2],Mt(i)}while(0!=(0|n));i=t,t=0|o[t+8>>2],Mt(i)}while(0!=(0|t));if(t=e,e=0|o[e+8>>2],r||Mt(t),!e)break;r=0}},_edgeLengthKm:function(e){return+ +i[20752+((e|=0)<<3)>>3]},_edgeLengthM:function(e){return+ +i[20880+((e|=0)<<3)>>3]},_emscripten_replace_memory:function(e){return r=new Int8Array(e),new Uint8Array(e),o=new Int32Array(e),new Float32Array(e),i=new Float64Array(e),n=e,!0},_exactEdgeLengthKm:function(e,t){var n,r,a=0,s=0,c=0,u=0,A=0,h=0;if(r=W,W=W+176|0,Ge(e|=0,t|=0,n=r),(0|(e=0|o[n>>2]))<=1)return W=r,+(c=0);t=e+-1|0,e=0,a=0,s=+i[n+8>>3],c=+i[n+16>>3];do{A=s,s=+i[n+8+((e=e+1|0)<<4)>>3],h=+d(.5*(s-A)),u=c,c=+i[n+8+(e<<4)+8>>3],u=h*h+(u=+d(.5*(c-u)))*(+p(+A)*+p(+s)*u),a+=2*+m(+ +l(+u),+ +l(+(1-u)))}while((0|e)!=(0|t));return W=r,+(h=6371.007180918475*a)},_exactEdgeLengthM:function(e,t){var n,r,a=0,s=0,c=0,u=0,A=0,h=0;if(r=W,W=W+176|0,Ge(e|=0,t|=0,n=r),(0|(e=0|o[n>>2]))<=1)return W=r,+(c=0);t=e+-1|0,e=0,a=0,s=+i[n+8>>3],c=+i[n+16>>3];do{A=s,s=+i[n+8+((e=e+1|0)<<4)>>3],h=+d(.5*(s-A)),u=c,c=+i[n+8+(e<<4)+8>>3],u=h*h+(u=+d(.5*(c-u)))*(+p(+A)*+p(+s)*u),a+=2*+m(+ +l(+u),+ +l(+(1-u)))}while((0|e)!=(0|t));return W=r,+(h=6371.007180918475*a*1e3)},_exactEdgeLengthRads:function(e,t){var n,r,a=0,s=0,c=0,u=0,A=0,h=0;if(r=W,W=W+176|0,Ge(e|=0,t|=0,n=r),(0|(e=0|o[n>>2]))<=1)return W=r,+(c=0);t=e+-1|0,e=0,a=0,s=+i[n+8>>3],c=+i[n+16>>3];do{A=s,s=+i[n+8+((e=e+1|0)<<4)>>3],h=+d(.5*(s-A)),u=c,c=+i[n+8+(e<<4)+8>>3],u=h*h+(u=+d(.5*(c-u)))*(+p(+s)*+p(+A)*u),a+=2*+m(+ +l(+u),+ +l(+(1-u)))}while((0|e)<(0|t));return W=r,+a},_experimentalH3ToLocalIj:function(e,t,n,r,o){var i,a;return o|=0,a=W,W=W+16|0,(e=0|$e(e|=0,t|=0,n|=0,r|=0,i=a))||(Ae(i,o),e=0),W=a,0|e},_experimentalLocalIjToH3:function(e,t,n,r){var o,i;return e|=0,t|=0,r|=0,o=W,W=W+16|0,he(n|=0,i=o),r=0|et(e,t,i,r),W=o,0|r},_free:Mt,_geoToH3:Ie,_getDestinationH3IndexFromUnidirectionalEdge:function(e,t){e|=0;var n,r,i=0;return n=W,W=W+16|0,i=n,!0&268435456==(2013265920&(t|=0)|0)?(r=0|_t(0|e,0|t,56),O(),o[i>>2]=0,i=0|R(e,-2130706433&t|134217728,7&r,i),t=0|O(),v(0|t),W=n,0|i):(i=0,v(0|(t=0)),W=n,0|i)},_getH3IndexesFromUnidirectionalEdge:function(e,t,n){e|=0;var r,i,a,s,c=0;a=W,W=W+16|0,r=a,s=!0&268435456==(2013265920&(t|=0)|0),i=-2130706433&t|134217728,o[(c=n|=0)>>2]=s?e:0,o[c+4>>2]=s?i:0,s?(t=0|_t(0|e,0|t,56),O(),o[r>>2]=0,e=0|R(e,i,7&t,r),t=0|O()):(e=0,t=0),o[(c=n+8|0)>>2]=e,o[c+4>>2]=t,W=a},_getH3UnidirectionalEdge:function(e,t,n,r){var i,a,s=0,c=0,l=0,u=0,p=0;if(a=W,W=W+16|0,i=a,!(0|Ve(e|=0,t|=0,n|=0,r|=0)))return u=0,v(0|(l=0)),W=a,0|u;for(l=-2130706433&t,s=(s=0==(0|Re(e,t)))?1:2;o[i>>2]=0,c=s+1|0,!((0|(p=0|R(e,t,s,i)))==(0|n)&(0|O())==(0|r));){if(!(c>>>0<7)){s=0,e=0,u=6;break}s=c}return 6==(0|u)?(v(0|s),W=a,0|e):(p=0|wt(0|s,0,56),u=0|l|O()|268435456,p|=e,v(0|u),W=a,0|p)},_getH3UnidirectionalEdgeBoundary:Ge,_getH3UnidirectionalEdgesFromHexagon:function(e,t,n){n|=0;var r,i=0;r=0==(0|Re(e|=0,t|=0)),t&=-2130706433,o[(i=n)>>2]=r?e:0,o[i+4>>2]=r?285212672|t:0,o[(i=n+8|0)>>2]=e,o[i+4>>2]=301989888|t,o[(i=n+16|0)>>2]=e,o[i+4>>2]=318767104|t,o[(i=n+24|0)>>2]=e,o[i+4>>2]=335544320|t,o[(i=n+32|0)>>2]=e,o[i+4>>2]=352321536|t,o[(n=n+40|0)>>2]=e,o[n+4>>2]=369098752|t},_getOriginH3IndexFromUnidirectionalEdge:function(e,t){var n;return e|=0,v(0|((n=!0&268435456==(2013265920&(t|=0)|0))?-2130706433&t|134217728:0)),0|(n?e:0)},_getPentagonIndexes:Ue,_getRes0Indexes:function(e){e|=0;var t=0,n=0,r=0;t=0;do{wt(0|t,0,45),r=134225919|O(),o[(n=e+(t<<3)|0)>>2]=-1,o[n+4>>2]=r,t=t+1|0}while(122!=(0|t))},_h3Distance:function(e,t,n,r){var o,i,a;return n|=0,r|=0,a=W,W=W+32|0,i=a,e=0==(0|$e(e|=0,t|=0,e,t,o=a+12|0))&&0==(0|$e(e,t,n,r,i))?0|de(o,i):-1,W=a,0|e},_h3GetBaseCell:We,_h3GetFaces:function e(t,n,r){r|=0;var i,a=0,s=0,c=0,l=0,u=0,p=0,d=0,A=0;i=W,W=W+128|0,d=i+112|0,c=i+96|0,A=i,s=0|_t(0|(t|=0),0|(n|=0),52),O(),u=15&s,o[d>>2]=u,l=0|_t(0|t,0|n,45),O(),l&=127;e:do{if(0|C(l)){if(0|u)for(a=1;;){if(!(0==((p=0|wt(7,0,3*(15-a|0)|0))&t|0)&0==((0|O())&n|0))){s=0;break e}if(!(a>>>0>>0))break;a=a+1|0}if(!(1&s))return p=0|wt(u+1|0,0,52),A=0|O()|-15728641&n,e((p|t)&~(d=0|wt(7,0,3*(14-u|0)|0)),A&~(0|O()),r),void(W=i);s=1}else s=0}while(0);Ye(t,n,c),s?(ye(c,d,A),p=5):(we(c,d,A),p=6);e:do{if(0|C(l))if(u)for(a=1;;){if(!(0==((l=0|wt(7,0,3*(15-a|0)|0))&t|0)&0==((0|O())&n|0))){a=8;break e}if(!(a>>>0>>0)){a=20;break}a=a+1|0}else a=20;else a=8}while(0);if(Lt(0|r,-1,0|a),s){s=0;do{for(Oe(c=A+(s<<4)|0,0|o[d>>2]),c=0|o[c>>2],a=0;!(-1==(0|(u=0|o[(l=r+(a<<2)|0)>>2]))|(0|u)==(0|c));)a=a+1|0;o[l>>2]=c,s=s+1|0}while((0|s)!=(0|p))}else{s=0;do{for(ve(c=A+(s<<4)|0,0|o[d>>2],0,1),c=0|o[c>>2],a=0;!(-1==(0|(u=0|o[(l=r+(a<<2)|0)>>2]))|(0|u)==(0|c));)a=a+1|0;o[l>>2]=c,s=s+1|0}while((0|s)!=(0|p))}W=i},_h3GetResolution:function(e,t){return t=0|_t(0|(e|=0),0|(t|=0),52),O(),15&t|0},_h3IndexesAreNeighbors:Ve,_h3IsPentagon:Re,_h3IsResClassIII:function(e,t){return t=0|_t(0|(e|=0),0|(t|=0),52),O(),1&t|0},_h3IsValid:Se,_h3Line:function(e,t,n,r,i){n|=0,r|=0,i|=0;var a,s=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0,y=0,v=0,O=0,_=0;if(a=W,W=W+48|0,l=a+12|0,O=a,0==(0|$e(e|=0,t|=0,e,t,s=a+24|0))&&0==(0|$e(e,t,n,r,l))){if((0|(v=0|de(s,l)))<0)return W=a,0|(O=v);for(o[s>>2]=0,o[s+4>>2]=0,o[s+8>>2]=0,o[l>>2]=0,o[l+4>>2]=0,o[l+8>>2]=0,$e(e,t,e,t,s),$e(e,t,n,r,l),fe(s),fe(l),v?(b=+(0|v),y=s,n=A=0|o[s>>2],r=h=0|o[(g=s+4|0)>>2],s=f=0|o[(z=s+8|0)>>2],m=+((0|o[l>>2])-A|0)/b,M=+((0|o[l+4>>2])-h|0)/b,b=+((0|o[l+8>>2])-f|0)/b):(g=r=s+4|0,z=f=s+8|0,y=s,n=0|o[s>>2],r=0|o[r>>2],s=0|o[f>>2],m=0,M=0,b=0),o[O>>2]=n,o[(f=O+4|0)>>2]=r,o[(h=O+8|0)>>2]=s,A=0;;){_=m*(p=+(0|A))+ +(0|n),u=M*p+ +(0|o[g>>2]),p=b*p+ +(0|o[z>>2]),r=~~+qt(+_),l=~~+qt(+u),n=~~+qt(+p),_=+c(+(+(0|r)-_)),u=+c(+(+(0|l)-u)),p=+c(+(+(0|n)-p));do{if(!(_>u&_>p)){if(d=0-r|0,u>p){s=d-n|0;break}s=l,n=d-l|0;break}r=0-(l+n)|0,s=l}while(0);if(o[O>>2]=r,o[f>>2]=s,o[h>>2]=n,be(O),et(e,t,O,i+(A<<3)|0),(0|A)==(0|v))break;A=A+1|0,n=0|o[y>>2]}return W=a,0|(O=0)}return W=a,0|(O=-1)},_h3LineSize:function(e,t,n,r){var o,i,a;return n|=0,r|=0,a=W,W=W+32|0,i=a,e=0==(0|$e(e|=0,t|=0,e,t,o=a+12|0))&&0==(0|$e(e,t,n,r,i))?0|de(o,i):-1,W=a,(e>>>31^1)+e|0},_h3SetToLinkedGeo:function(e,t,n){n|=0;var r,i,a,s=0;if(a=W,W=W+32|0,r=a,function(e,t,n){e|=0,n|=0;var r,i,a=0,s=0,c=0,l=0,u=0;if(i=W,W=W+176|0,r=i,(0|(t|=0))<1)return lt(n,0,0),void(W=i);l=0|_t(0|o[(l=e)>>2],0|o[l+4>>2],52),O(),lt(n,(0|t)>6?t:6,15&l),l=0;do{if(He(0|o[(a=e+(l<<3)|0)>>2],0|o[a+4>>2],r),(0|(a=0|o[r>>2]))>0){u=0;do{c=r+8+(u<<4)|0,(s=0|ht(n,a=r+8+(((0|(u=u+1|0))%(0|a)|0)<<4)|0,c))?dt(n,s):At(n,c,a),a=0|o[r>>2]}while((0|u)<(0|a))}l=l+1|0}while((0|l)!=(0|t));W=i}(e|=0,t|=0,i=a+16|0),o[n>>2]=0,o[n+4>>2]=0,o[n+8>>2]=0,!(e=0|pt(i)))return Ke(n),ut(i),void(W=a);do{t=0|Ze(n);do{Qe(t,e),s=e+16|0,o[r>>2]=o[s>>2],o[r+4>>2]=o[s+4>>2],o[r+8>>2]=o[s+8>>2],o[r+12>>2]=o[s+12>>2],dt(i,e),e=0|ft(i,r)}while(0!=(0|e));e=0|pt(i)}while(0!=(0|e));Ke(n),ut(i),W=a},_h3ToCenterChild:function(e,t,n){n|=0;var r=0,o=0;if(r=0|_t(0|(e|=0),0|(t|=0),52),O(),(0|n)<16&(0|(r&=15))<=(0|n)){if((0|r)!=(0|n)&&(e|=o=0|wt(0|n,0,52),t=0|O()|-15728641&t,(0|r)<(0|n)))do{o=0|wt(7,0,3*(14-r|0)|0),r=r+1|0,e&=~o,t&=~(0|O())}while((0|r)<(0|n))}else t=0,e=0;return v(0|t),0|e},_h3ToChildren:Ee,_h3ToGeo:Xe,_h3ToGeoBoundary:He,_h3ToParent:Te,_h3UnidirectionalEdgeIsValid:function(e,t){var n=0;if(!(!0&268435456==(2013265920&(t|=0)|0)))return 0|(n=0);switch(n=0|_t(0|(e|=0),0|t,56),O(),7&n){case 0:case 7:return 0|(n=0)}return!0&16777216==(117440512&t|0)&0!=(0|Re(e,n=-2130706433&t|134217728))?0|(n=0):0|(n=0|Se(e,n))},_hexAreaKm2:function(e){return+ +i[20496+((e|=0)<<3)>>3]},_hexAreaM2:function(e){return+ +i[20624+((e|=0)<<3)>>3]},_hexRing:function(e,t,n,r){e|=0,t|=0,r|=0;var i,a=0,s=0,c=0,l=0,u=0,p=0,d=0;if(i=W,W=W+16|0,d=i,!(n|=0))return o[(d=r)>>2]=e,o[d+4>>2]=t,W=i,0|(d=0);o[d>>2]=0;e:do{if(0|Re(e,t))e=1;else{if(s=(0|n)>0){a=0,p=e;do{if(0==(0|(p=0|R(p,t,4,d)))&0==(0|(t=0|O()))){e=2;break e}if(a=a+1|0,0|Re(p,t)){e=1;break e}}while((0|a)<(0|n));if(o[(u=r)>>2]=p,o[u+4>>2]=t,u=n+-1|0,s){s=0,c=1,a=p,e=t;do{if(0==(0|(a=0|R(a,e,2,d)))&0==(0|(e=0|O()))){e=2;break e}if(o[(l=r+(c<<3)|0)>>2]=a,o[l+4>>2]=e,c=c+1|0,0|Re(a,e)){e=1;break e}s=s+1|0}while((0|s)<(0|n));l=0,s=c;do{if(0==(0|(a=0|R(a,e,3,d)))&0==(0|(e=0|O()))){e=2;break e}if(o[(c=r+(s<<3)|0)>>2]=a,o[c+4>>2]=e,s=s+1|0,0|Re(a,e)){e=1;break e}l=l+1|0}while((0|l)<(0|n));c=0;do{if(0==(0|(a=0|R(a,e,1,d)))&0==(0|(e=0|O()))){e=2;break e}if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,s=s+1|0,0|Re(a,e)){e=1;break e}c=c+1|0}while((0|c)<(0|n));c=0;do{if(0==(0|(a=0|R(a,e,5,d)))&0==(0|(e=0|O()))){e=2;break e}if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,s=s+1|0,0|Re(a,e)){e=1;break e}c=c+1|0}while((0|c)<(0|n));c=0;do{if(0==(0|(a=0|R(a,e,4,d)))&0==(0|(e=0|O()))){e=2;break e}if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,s=s+1|0,0|Re(a,e)){e=1;break e}c=c+1|0}while((0|c)<(0|n));for(c=0;;){if(0==(0|(a=0|R(a,e,6,d)))&0==(0|(e=0|O()))){e=2;break e}if((0|c)!=(0|u)){if(o[(l=r+(s<<3)|0)>>2]=a,o[l+4>>2]=e,0|Re(a,e)){e=1;break e}s=s+1|0}if((0|(c=c+1|0))>=(0|n)){c=p,s=t;break}}}else c=p,a=p,s=t,e=t}else o[(c=r)>>2]=e,o[c+4>>2]=t,c=e,a=e,s=t,e=t;e=1&((0|c)!=(0|a)|(0|s)!=(0|e))}}while(0);return W=i,0|(d=e)},_i64Subtract:zt,_kRing:S,_kRingDistances:function(e,t,n,r,o){var i;if(0|T(e|=0,t|=0,n|=0,r|=0,o|=0)){if(Lt(0|r,0,(i=1+(0|g(3*n|0,n+1|0))|0)<<3|0),0|o)return Lt(0|o,0,i<<2|0),void E(e,t,n,r,o,i,0);(o=0|gt(i,4))&&(E(e,t,n,r,o,i,0),Mt(o))}},_llvm_minnum_f64:xt,_llvm_round_f64:qt,_malloc:mt,_maxFaceCount:function(e,t){var n=0,r=0;if(r=0|_t(0|(e|=0),0|(t|=0),45),O(),!(0|C(127&r)))return 0|(r=2);if(r=0|_t(0|e,0|t,52),O(),!(r&=15))return 0|(r=5);for(n=1;;){if(!(0==((0|wt(7,0,3*(15-n|0)|0))&e|0)&0==((0|O())&t|0))){n=2,e=6;break}if(!(n>>>0>>0)){n=5,e=6;break}n=n+1|0}return 6==(0|e)?0|n:0},_maxH3ToChildrenSize:function(e,t,n){return n|=0,e=0|_t(0|(e|=0),0|(t|=0),52),O(),(0|n)<16&(0|(e&=15))<=(0|n)?0|(n=0|tt(7,n-e|0)):0|(n=0)},_maxKringSize:function(e){return 1+(0|g(3*(e|=0)|0,e+1|0))|0},_maxPolyfillSize:function(e,t){t|=0;var n,r=0,i=0,a=0,s=0,c=0;if(n=W,W=W+48|0,a=n+8|0,i=n,s=0|o[(c=e|=0)+4>>2],o[(r=i)>>2]=o[c>>2],o[r+4>>2]=s,rt(i,a),a=0|H(a,t),t=0|o[i>>2],(0|(i=0|o[e+8>>2]))<=0)return W=n,0|(c=(c=(s=(0|a)<(0|(c=t)))?c:a)+12|0);r=0|o[e+12>>2],e=0;do{t=(0|o[r+(e<<3)>>2])+t|0,e=e+1|0}while((0|e)<(0|i));return W=n,0|(c=(c=(c=(0|a)<(0|t))?t:a)+12|0)},_maxUncompactSize:function(e,t,n){e|=0,n|=0;var r=0,i=0,a=0,s=0;if((0|(t|=0))<=0)return 0|(n=0);if((0|n)>=16){for(r=0;;){if(!(0==(0|o[(s=e+(r<<3)|0)>>2])&0==(0|o[s+4>>2]))){r=-1,i=13;break}if((0|(r=r+1|0))>=(0|t)){r=0,i=13;break}}if(13==(0|i))return 0|r}r=0,s=0;e:for(;;){a=0|o[(i=e+(s<<3)|0)>>2],i=0|o[i+4>>2];do{if(!(0==(0|a)&0==(0|i))){if(i=0|_t(0|a,0|i,52),O(),(0|(i&=15))>(0|n)){r=-1,i=13;break e}if((0|i)==(0|n)){r=r+1|0;break}r=(0|tt(7,n-i|0))+r|0;break}}while(0);if((0|(s=s+1|0))>=(0|t)){i=13;break}}return 13==(0|i)?0|r:0},_memcpy:kt,_memset:Lt,_numHexagons:function(e){var t;return e=0|o[(t=21008+((e|=0)<<3)|0)>>2],v(0|o[t+4>>2]),0|e},_pentagonIndexCount:function(){return 12},_pointDistKm:ke,_pointDistM:function(e,t){e|=0;var n,r,o,a=0;return r=+i[(t|=0)>>3],n=+i[e>>3],a=(o=+d(.5*(r-n)))*o+(a=+d(.5*(+i[t+8>>3]-+i[e+8>>3])))*(+p(+r)*+p(+n)*a),2*+m(+ +l(+a),+ +l(+(1-a)))*6371.007180918475*1e3},_pointDistRads:function(e,t){e|=0;var n,r,o,a=0;return r=+i[(t|=0)>>3],n=+i[e>>3],a=(o=+d(.5*(r-n)))*o+(a=+d(.5*(+i[t+8>>3]-+i[e+8>>3])))*(+p(+r)*+p(+n)*a),2*+m(+ +l(+a),+ +l(+(1-a)))},_polyfill:function(e,t,n){var r,i=0,a=0,s=0,c=0,l=0;if(r=W,W=W+48|0,i=r+8|0,a=r,0|function(e,t,n){e|=0,t|=0,n|=0;var r=0,i=0,a=0,s=0,c=0,l=0,u=0,p=0,d=0,A=0,h=0,f=0,b=0,m=0,M=0,g=0,z=0,y=0,v=0,w=0,x=0,q=0,k=0,L=0,S=0,R=0,C=0,N=0,P=0,j=0;j=W,W=W+112|0,R=j+80|0,l=j+72|0,C=j,N=j+56|0,u=e+8|0,P=0|mt(32+(o[u>>2]<<5)|0),P||_(22848,22448,800,22456);if(ot(e,P),a=e,r=0|o[a+4>>2],c=l,o[c>>2]=o[a>>2],o[c+4>>2]=r,rt(l,R),c=0|H(R,t),r=0|o[l>>2],a=0|o[u>>2],(0|a)>0){s=0|o[e+12>>2],i=0;do{r=(0|o[s+(i<<3)>>2])+r|0,i=i+1|0}while((0|i)!=(0|a))}if(c=(0|c)<(0|r)?r:c,S=c+12|0,i=0|gt(S,8),p=0|gt(S,8),o[R>>2]=0,k=e,L=0|o[k+4>>2],r=l,o[r>>2]=o[k>>2],o[r+4>>2]=L,r=0|D(l,S,t,R,i,p),0|r)return Mt(i),Mt(p),Mt(P),W=j,0|(P=r);e:do{if((0|o[u>>2])>0){for(a=e+12|0,r=0;s=0|D((0|o[a>>2])+(r<<3)|0,S,t,R,i,p),r=r+1|0,!(0|s);)if((0|r)>=(0|o[u>>2]))break e;return Mt(i),Mt(p),Mt(P),W=j,0|(P=s)}}while(0);(0|c)>-12&&Lt(0|p,0,((0|S)>1?S:1)<<3|0);e:do{if((0|o[R>>2])>0){L=((0|S)<0)<<31>>31,y=i,v=p,w=i,x=i,q=p,k=i,r=i,m=i,M=p,g=p,z=p,i=p;t:for(;;){for(b=0|o[R>>2],h=0,f=0,a=0;;){c=(s=C)+56|0;do{o[s>>2]=0,s=s+4|0}while((0|s)<(0|c));if(0|T(l=0|o[(t=y+(h<<3)|0)>>2],t=0|o[t+4>>2],1,C,0)){c=(s=C)+56|0;do{o[s>>2]=0,s=s+4|0}while((0|s)<(0|c));0|(s=0|gt(7,4))&&(E(l,t,1,C,s,7,0),Mt(s))}A=0;do{p=0|o[(d=C+(A<<3)|0)>>2],d=0|o[d+4>>2];n:do{if(!(0==(0|p)&0==(0|d))){if(l=0|Ot(0|p,0|d,0|S,0|L),O(),!(0==(0|(t=0|o[(c=s=n+(l<<3)|0)>>2]))&0==(0|(c=0|o[c+4>>2]))))for(u=0;;){if((0|u)>(0|S))break t;if((0|t)==(0|p)&(0|c)==(0|d))break n;if(0==(0|(t=0|o[(c=s=n+((l=(l+1|0)%(0|S)|0)<<3)|0)>>2]))&0==(0|(c=0|o[c+4>>2])))break;u=u+1|0}0==(0|p)&0==(0|d)||(Xe(p,d,N),0|it(e,P,N)&&(o[(u=s)>>2]=p,o[u+4>>2]=d,o[(u=v+(a<<3)|0)>>2]=p,o[u+4>>2]=d,a=a+1|0))}}while(0);A=A+1|0}while(A>>>0<7);if((0|(f=f+1|0))>=(0|b))break;h=h+1|0}if((0|b)>0&&Lt(0|w,0,b<<3|0),o[R>>2]=a,!((0|a)>0))break e;p=i,d=z,A=k,h=g,f=M,b=v,i=m,z=r,g=x,M=w,m=p,r=d,k=q,q=A,x=h,w=f,v=y,y=b}return Mt(x),Mt(q),Mt(P),W=j,0|(P=-1)}r=p}while(0);return Mt(P),Mt(i),Mt(r),P=0,W=j,0|P}(e|=0,t|=0,n|=0)){if(s=0|o[(l=e)+4>>2],o[(c=a)>>2]=o[l>>2],o[c+4>>2]=s,rt(a,i),c=0|H(i,t),t=0|o[a>>2],(0|(s=0|o[e+8>>2]))>0){a=0|o[e+12>>2],i=0;do{t=(0|o[a+(i<<3)>>2])+t|0,i=i+1|0}while((0|i)!=(0|s))}(0|(t=(0|c)<(0|t)?t:c))<=-12||Lt(0|n,0,8+(((0|(l=t+11|0))>0?l:0)<<3)|0),W=r}else W=r},_res0IndexCount:function(){return 122},_round:Wt,_sbrk:St,_sizeOfCoordIJ:function(){return 8},_sizeOfGeoBoundary:function(){return 168},_sizeOfGeoCoord:function(){return 16},_sizeOfGeoPolygon:function(){return 16},_sizeOfGeofence:function(){return 8},_sizeOfH3Index:function(){return 8},_sizeOfLinkedGeoPolygon:function(){return 12},_uncompact:function(e,t,n,r,i){e|=0,n|=0,r|=0,i|=0;var a=0,s=0,c=0,l=0,u=0,p=0;if((0|(t|=0))<=0)return 0|(i=0);if((0|i)>=16){for(a=0;;){if(!(0==(0|o[(p=e+(a<<3)|0)>>2])&0==(0|o[p+4>>2]))){a=14;break}if((0|(a=a+1|0))>=(0|t)){s=0,a=16;break}}if(14==(0|a))return 0|((0|r)>0?-2:-1);if(16==(0|a))return 0|s}a=0,p=0;e:for(;;){s=0|o[(c=u=e+(p<<3)|0)>>2],c=0|o[c+4>>2];do{if(!(0==(0|s)&0==(0|c))){if((0|a)>=(0|r)){s=-1,a=16;break e}if(l=0|_t(0|s,0|c,52),O(),(0|(l&=15))>(0|i)){s=-2,a=16;break e}if((0|l)==(0|i)){o[(u=n+(a<<3)|0)>>2]=s,o[u+4>>2]=c,a=a+1|0;break}if((0|(s=(0|tt(7,i-l|0))+a|0))>(0|r)){s=-1,a=16;break e}Ee(0|o[u>>2],0|o[u+4>>2],i,n+(a<<3)|0),a=s}}while(0);if((0|(p=p+1|0))>=(0|t)){s=0,a=16;break}}return 16==(0|a)?0|s:0},establishStackSpace:function(e,t){W=e|=0},stackAlloc:function(e){var t;return t=W,W=(W=W+(e|=0)|0)+15&-16,0|t},stackRestore:function(e){W=e|=0},stackSave:function(){return 0|W}}}({Math:Math,Int8Array:Int8Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Float32Array:Float32Array,Float64Array:Float64Array},{a:se,b:function(e){l=e},c:u,d:function(e,t,n,r){se("Assertion failed: "+f(e)+", at: "+[t?f(t):"unknown filename",n,r?f(r):"unknown function"])},e:function(e){return n.___errno_location&&(z[n.___errno_location()>>2]=e),e},f:U,g:function(e,t,n){M.set(M.subarray(t,t+n),e)},h:function(e){var t=U(),n=16777216,r=2130706432;if(e>r)return!1;for(var o=Math.max(t,16777216);o>0]=t;break;case"i16":g[e>>1]=t;break;case"i32":z[e>>2]=t;break;case"i64":j=[t>>>0,(P=t,+S(P)>=1?P>0?(0|R(+E(P/4294967296),4294967295))>>>0:~~+T((P-+(~~P>>>0))/4294967296)>>>0:0)],z[e>>2]=j[0],z[e+4>>2]=j[1];break;case"float":y[e>>2]=t;break;case"double":v[e>>3]=t;break;default:se("invalid type for setValue: "+n)}},n.getValue=function(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return m[e>>0];case"i16":return g[e>>1];case"i32":case"i64":return z[e>>2];case"float":return y[e>>2];case"double":return v[e>>3];default:se("invalid type for getValue: "+t)}return null},n.getTempRet0=u,B){F(B)||(B=function(e){return n.locateFile?n.locateFile(e,a):a+e}(B)),D++,n.monitorRunDependencies&&n.monitorRunDependencies(D);var ne=function(e){e.byteLength&&(e=new Uint8Array(e)),M.set(e,8),n.memoryInitializerRequest&&delete n.memoryInitializerRequest.response,function(e){if(D--,n.monitorRunDependencies&&n.monitorRunDependencies(D),0==D&&(null!==C&&(clearInterval(C),C=null),N)){var t=N;N=null,t()}}()},re=function(){o(B,ne,(function(){throw"could not load memory initializer "+B}))},oe=Z(B);if(oe)ne(oe.buffer);else if(n.memoryInitializerRequest){var ie=function(){var e=n.memoryInitializerRequest,t=e.response;if(200!==e.status&&0!==e.status){var r=Z(n.memoryInitializerRequestURL);if(!r)return console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+e.status+", retrying "+B),void re();t=r.buffer}ne(t)};n.memoryInitializerRequest.response?setTimeout(ie,0):n.memoryInitializerRequest.addEventListener("load",ie)}else re()}function ae(e){function t(){Q||(Q=!0,p||(x(k),x(L),n.onRuntimeInitialized&&n.onRuntimeInitialized(),function(){if(n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;)e=n.postRun.shift(),W.unshift(e);var e;x(W)}()))}e=e||i,D>0||(!function(){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)e=n.preRun.shift(),q.unshift(e);var e;x(q)}(),D>0||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),t()}),1)):t()))}function se(e){throw n.onAbort&&n.onAbort(e),s(e+=""),c(e),p=!0,"abort("+e+"). Build with -s ASSERTIONS=1 for more info."}if(N=function e(){Q||ae(),Q||(N=e)},n.run=ae,n.abort=se,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.pop()();return ae(),e}("object"===typeof r?r:{}),o="number",i={};[["sizeOfH3Index",o],["sizeOfGeoCoord",o],["sizeOfGeoBoundary",o],["sizeOfGeoPolygon",o],["sizeOfGeofence",o],["sizeOfLinkedGeoPolygon",o],["sizeOfCoordIJ",o],["h3IsValid",o,[o,o]],["geoToH3",o,[o,o,o]],["h3ToGeo",null,[o,o,o]],["h3ToGeoBoundary",null,[o,o,o]],["maxKringSize",o,[o]],["kRing",null,[o,o,o,o]],["kRingDistances",null,[o,o,o,o,o]],["hexRing",null,[o,o,o,o]],["maxPolyfillSize",o,[o,o]],["polyfill",null,[o,o,o]],["h3SetToLinkedGeo",null,[o,o,o]],["destroyLinkedPolygon",null,[o]],["compact",o,[o,o,o]],["uncompact",o,[o,o,o,o,o]],["maxUncompactSize",o,[o,o,o]],["h3IsPentagon",o,[o,o]],["h3IsResClassIII",o,[o,o]],["h3GetBaseCell",o,[o,o]],["h3GetResolution",o,[o,o]],["maxFaceCount",o,[o,o]],["h3GetFaces",null,[o,o,o]],["h3ToParent",o,[o,o,o]],["h3ToChildren",null,[o,o,o,o]],["h3ToCenterChild",o,[o,o,o]],["maxH3ToChildrenSize",o,[o,o,o]],["h3IndexesAreNeighbors",o,[o,o,o,o]],["getH3UnidirectionalEdge",o,[o,o,o,o]],["getOriginH3IndexFromUnidirectionalEdge",o,[o,o]],["getDestinationH3IndexFromUnidirectionalEdge",o,[o,o]],["h3UnidirectionalEdgeIsValid",o,[o,o]],["getH3IndexesFromUnidirectionalEdge",null,[o,o,o]],["getH3UnidirectionalEdgesFromHexagon",null,[o,o,o]],["getH3UnidirectionalEdgeBoundary",null,[o,o,o]],["h3Distance",o,[o,o,o,o]],["h3Line",o,[o,o,o,o,o]],["h3LineSize",o,[o,o,o,o]],["experimentalH3ToLocalIj",o,[o,o,o,o,o]],["experimentalLocalIjToH3",o,[o,o,o,o]],["hexAreaM2",o,[o]],["hexAreaKm2",o,[o]],["edgeLengthM",o,[o]],["edgeLengthKm",o,[o]],["pointDistM",o,[o,o]],["pointDistKm",o,[o,o]],["pointDistRads",o,[o,o]],["cellAreaM2",o,[o,o]],["cellAreaKm2",o,[o,o]],["cellAreaRads2",o,[o,o]],["exactEdgeLengthM",o,[o,o]],["exactEdgeLengthKm",o,[o,o]],["exactEdgeLengthRads",o,[o,o]],["numHexagons",o,[o]],["getRes0Indexes",null,[o]],["res0IndexCount",o],["getPentagonIndexes",null,[o,o]],["pentagonIndexCount",o]].forEach((function(e){i[e[0]]=r.cwrap.apply(r,e)}));var a=16,s=4,c=4,l=8,u=i.sizeOfH3Index(),p=i.sizeOfGeoCoord(),d=i.sizeOfGeoBoundary(),A=i.sizeOfGeoPolygon(),h=i.sizeOfGeofence(),f=i.sizeOfLinkedGeoPolygon(),b=i.sizeOfCoordIJ(),m={m:"m",m2:"m2",km:"km",km2:"km2",rads:"rads",rads2:"rads2"};function M(e){if("number"!==typeof e||e<0||e>15||Math.floor(e)!==e)throw new Error("Invalid resolution: "+e)}var g=/[^0-9a-fA-F]/;function z(e){if(Array.isArray(e)&&2===e.length&&Number.isInteger(e[0])&&Number.isInteger(e[1]))return e;if("string"!==typeof e||g.test(e))return[0,0];var t=parseInt(e.substring(0,e.length-8),a);return[parseInt(e.substring(e.length-8),a),t]}function y(e){if(e>=0)return e.toString(a);var t=O(8,(e&=2147483647).toString(a));return t=(parseInt(t[0],a)+8).toString(a)+t.substring(1)}function v(e,t){return y(t)+O(8,y(e))}function O(e,t){for(var n=e-t.length,r="",o=0;o=0&&n.push(i)}return n}(c,a);return r._free(c),l}function I(e){var t=z(e),n=t[0],r=t[1];return i.h3IsValid(n,r)?i.h3GetResolution(n,r):-1}function F(e,t,n){var o=r._malloc(p);r.HEAPF64.set([e,t].map(ye),o/l);var a=x(i.geoToH3(o,n));return r._free(o),a}function Y(e){var t=r._malloc(p),n=z(e),o=n[0],a=n[1];i.h3ToGeo(o,a,t);var s=E(t);return r._free(t),s}function X(e,t){var n=r._malloc(d),o=z(e),a=o[0],s=o[1];i.h3ToGeoBoundary(a,s,n);var c=D(n,t,t);return r._free(n),c}function H(e,t){var n=z(e),r=n[0],o=n[1];return x(i.h3ToParent(r,o,t))}function U(e,t){if(!C(e))return[];var n=z(e),o=n[0],a=n[1],s=i.maxH3ToChildrenSize(o,a,t),c=r._calloc(s,u);i.h3ToChildren(o,a,t,c);var l=L(c,s);return r._free(c),l}function V(e,t){var n=z(e),r=n[0],o=n[1];return x(i.h3ToCenterChild(r,o,t))}function G(e,t){var n=z(e),o=n[0],a=n[1],s=i.maxKringSize(t),c=r._calloc(s,u);i.kRing(o,a,t,c);var l=L(c,s);return r._free(c),l}function Z(e,t){var n=z(e),o=n[0],a=n[1],c=i.maxKringSize(t),l=r._calloc(c,u),p=r._calloc(c,s);i.kRingDistances(o,a,t,l,p);for(var d=[],A=0;A0){n=r._calloc(o,h);for(var l=0;l0){for(var a=r.getValue(e+n,"i32"),c=0;c{"use strict";n.r(t),n.d(t,{default:()=>c,getUserLocale:()=>s,getUserLocales:()=>a});var r=n(9498),o=n.n(r);function i(e){return JSON.stringify(e)}var a=o()((function(e){var t,n=void 0===e?{}:e,r=n.useFallbackLocale,o=void 0===r||r,i=n.fallbackLocale,a=void 0===i?"en-US":i,s=[];if("undefined"!==typeof window){var c=window.navigator;s=s.concat(c.languages,c.language,c.userLanguage,c.browserLanguage,c.systemLanguage)}return o&&s.push(a),function(e){return e.map((function(e){if(!e||-1===e.indexOf("-")||e.toLowerCase()!==e)return e;var t=e.split("-");return t[0]+"-"+t[1].toUpperCase()}))}((t=s).filter((function(e,n){return e&&t.indexOf(e)===n})))}),i);var s=o()((function(e){return a(e)[0]||null}),i);const c=s},2110:(e,t,n)=>{"use strict";var r=n(8309),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,A=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=A(n);o&&o!==h&&e(t,o,r)}var a=u(n);p&&(a=a.concat(p(n)));for(var s=c(t),f=c(n),b=0;b{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,A=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,M=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,z=n?Symbol.for("react.scope"):60119;function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case p:case i:case s:case a:case A:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case f:case c:return e;default:return t}}case o:return t}}}function v(e){return y(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=b,t.Memo=f,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=A,t.isAsyncMode=function(e){return v(e)||y(e)===u},t.isConcurrentMode=v,t.isContextConsumer=function(e){return y(e)===l},t.isContextProvider=function(e){return y(e)===c},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return y(e)===d},t.isFragment=function(e){return y(e)===i},t.isLazy=function(e){return y(e)===b},t.isMemo=function(e){return y(e)===f},t.isPortal=function(e){return y(e)===o},t.isProfiler=function(e){return y(e)===s},t.isStrictMode=function(e){return y(e)===a},t.isSuspense=function(e){return y(e)===A},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===p||e===s||e===a||e===A||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===f||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===M||e.$$typeof===g||e.$$typeof===z||e.$$typeof===m)},t.typeOf=y},8309:(e,t,n)=>{"use strict";e.exports=n(746)},5586:e=>{function t(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},8890:function(e,t){var n;!function(t,n){"use strict";"object"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!==typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,u=i.indexOf,p={},d=p.toString,A=p.hasOwnProperty,h=A.toString,f=h.call(Object),b={},m=function(e){return"function"===typeof e&&"number"!==typeof e.nodeType&&"function"!==typeof e.item},M=function(e){return null!=e&&e===e.window},g=r.document,z={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,o,i=(n=n||g).createElement("script");if(i.text=e,t)for(r in z)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function v(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?p[d.call(e)]||"object":typeof e}var O="3.7.0",_=/HTML$/i,w=function(e,t){return new w.fn.init(e,t)};function x(e){var t=!!e&&"length"in e&&e.length,n=v(e);return!m(e)&&!M(e)&&("array"===n||0===t||"number"===typeof t&&t>0&&t-1 in e)}function q(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}w.fn=w.prototype={jquery:O,constructor:w,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+S+")"+S+"*"),I=new RegExp(S+"|>"),F=new RegExp(N),Y=new RegExp("^"+E+"$"),X={ID:new RegExp("^#("+E+")"),CLASS:new RegExp("^\\.("+E+")"),TAG:new RegExp("^("+E+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+S+"*(even|odd|(([+-]|)(\\d*)n|)"+S+"*(?:([+-]|)"+S+"*(\\d+)|))"+S+"*\\)|)","i"),bool:new RegExp("^(?:"+x+")$","i"),needsContext:new RegExp("^"+S+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+S+"*((?:-\\d)?\\d*)"+S+"*\\)|)(?=[^-]|$)","i")},H=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,V=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/[+~]/,Z=new RegExp("\\\\[\\da-fA-F]{1,6}"+S+"?|\\\\([^\\r\\n\\f])","g"),Q=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},K=function(){ce()},J=de((function(e){return!0===e.disabled&&q(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{f.apply(i=s.call(D.childNodes),D.childNodes),i[D.childNodes.length].nodeType}catch(ge){f={apply:function(e,t){C.apply(e,s.call(t))},call:function(e){C.apply(e,s.call(arguments,1))}}}function $(e,t,n,r){var o,i,a,s,l,u,A,h=t&&t.ownerDocument,M=t?t.nodeType:9;if(n=n||[],"string"!==typeof e||!e||1!==M&&9!==M&&11!==M)return n;if(!r&&(ce(t),t=t||c,p)){if(11!==M&&(l=V.exec(e)))if(o=l[1]){if(9===M){if(!(a=t.getElementById(o)))return n;if(a.id===o)return f.call(n,a),n}else if(h&&(a=h.getElementById(o))&&$.contains(t,a)&&a.id===o)return f.call(n,a),n}else{if(l[2])return f.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&t.getElementsByClassName)return f.apply(n,t.getElementsByClassName(o)),n}if(!O[e+" "]&&(!d||!d.test(e))){if(A=e,h=t,1===M&&(I.test(e)||B.test(e))){for((h=G.test(e)&&se(t.parentNode)||t)==t&&b.scope||((s=t.getAttribute("id"))?s=w.escapeSelector(s):t.setAttribute("id",s=m)),i=(u=ue(e)).length;i--;)u[i]=(s?"#"+s:":scope")+" "+pe(u[i]);A=u.join(",")}try{return f.apply(n,h.querySelectorAll(A)),n}catch(g){O(e,!0)}finally{s===m&&t.removeAttribute("id")}}}return Me(e.replace(T,"$1"),t,n,r)}function ee(){var e=[];return function n(r,o){return e.push(r+" ")>t.cacheLength&&delete n[e.shift()],n[r+" "]=o}}function te(e){return e[m]=!0,e}function ne(e){var t=c.createElement("fieldset");try{return!!e(t)}catch(ge){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function re(e){return function(t){return q(t,"input")&&t.type===e}}function oe(e){return function(t){return(q(t,"input")||q(t,"button"))&&t.type===e}}function ie(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&J(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te((function(t){return t=+t,te((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function se(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}function ce(e){var n,r=e?e.ownerDocument||e:D;return r!=c&&9===r.nodeType&&r.documentElement?(l=(c=r).documentElement,p=!w.isXMLDoc(c),h=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,D!=c&&(n=c.defaultView)&&n.top!==n&&n.addEventListener("unload",K),b.getById=ne((function(e){return l.appendChild(e).id=w.expando,!c.getElementsByName||!c.getElementsByName(w.expando).length})),b.disconnectedMatch=ne((function(e){return h.call(e,"*")})),b.scope=ne((function(){return c.querySelectorAll(":scope")})),b.cssHas=ne((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(ge){return!0}})),b.getById?(t.filter.ID=function(e){var t=e.replace(Z,Q);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Z,Q);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&p){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),t.find.TAG=function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if("undefined"!==typeof t.getElementsByClassName&&p)return t.getElementsByClassName(e)},d=[],ne((function(e){var t;l.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+S+"*(?:value|"+x+")"),e.querySelectorAll("[id~="+m+"-]").length||d.push("~="),e.querySelectorAll("a#"+m+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=c.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),l.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=c.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+S+"*name"+S+"*="+S+"*(?:''|\"\")")})),b.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),_=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===c||e.ownerDocument==D&&$.contains(D,e)?-1:t===c||t.ownerDocument==D&&$.contains(D,t)?1:o?u.call(o,e)-u.call(o,t):0:4&n?-1:1)},c):c}for(e in $.matches=function(e,t){return $(e,null,null,t)},$.matchesSelector=function(e,t){if(ce(e),p&&!O[t+" "]&&(!d||!d.test(t)))try{var n=h.call(e,t);if(n||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(ge){O(t,!0)}return $(t,c,null,[e]).length>0},$.contains=function(e,t){return(e.ownerDocument||e)!=c&&ce(e),w.contains(e,t)},$.attr=function(e,n){(e.ownerDocument||e)!=c&&ce(e);var r=t.attrHandle[n.toLowerCase()],o=r&&A.call(t.attrHandle,n.toLowerCase())?r(e,n,!p):void 0;return void 0!==o?o:e.getAttribute(n)},$.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!b.sortStable,o=!b.sortStable&&s.call(e,0),L.call(e,_),a){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)W.call(e,n[r],1)}return o=null,e},w.fn.uniqueSort=function(){return this.pushStack(w.uniqueSort(s.apply(this)))},t=w.expr={cacheLength:50,createPseudo:te,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,Q),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,Q),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||$.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&$.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&F.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,Q).toLowerCase();return"*"===e?function(){return!0}:function(e){return q(e,t)}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+S+")"+e+"("+S+"|$)"))&&z(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=$.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(P," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var l,u,p,d,A,h=i!==a?"nextSibling":"previousSibling",f=t.parentNode,b=s&&t.nodeName.toLowerCase(),g=!c&&!s,z=!1;if(f){if(i){for(;h;){for(p=t;p=p[h];)if(s?q(p,b):1===p.nodeType)return!1;A=h="only"===e&&!A&&"nextSibling"}return!0}if(A=[a?f.firstChild:f.lastChild],a&&g){for(z=(d=(l=(u=f[m]||(f[m]={}))[e]||[])[0]===M&&l[1])&&l[2],p=d&&f.childNodes[d];p=++d&&p&&p[h]||(z=d=0)||A.pop();)if(1===p.nodeType&&++z&&p===t){u[e]=[M,d,z];break}}else if(g&&(z=d=(l=(u=t[m]||(t[m]={}))[e]||[])[0]===M&&l[1]),!1===z)for(;(p=++d&&p&&p[h]||(z=d=0)||A.pop())&&(!(s?q(p,b):1===p.nodeType)||!++z||(g&&((u=p[m]||(p[m]={}))[e]=[M,z]),p!==t)););return(z-=o)===r||z%r===0&&z/r>=0}}},PSEUDO:function(e,n){var r,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||$.error("unsupported pseudo: "+e);return o[m]?o(n):o.length>1?(r=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=u.call(e,i[a])]=!(t[r]=i[a])})):function(e){return o(e,0,r)}):o}},pseudos:{not:te((function(e){var t=[],n=[],r=me(e.replace(T,"$1"));return r[m]?te((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return $(e,t).length>0}})),contains:te((function(e){return e=e.replace(Z,Q),function(t){return(t.textContent||w.text(t)).indexOf(e)>-1}})),lang:te((function(e){return Y.test(e||"")||$.error("unsupported lang: "+e),e=e.replace(Z,Q).toLowerCase(),function(t){var n;do{if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===l},focus:function(e){return e===function(){try{return c.activeElement}catch(e){}}()&&c.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:ie(!1),disabled:ie(!0),checked:function(e){return q(e,"input")&&!!e.checked||q(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return H.test(e.nodeName)},button:function(e){return q(e,"input")&&"button"===e.type||q(e,"button")},text:function(e){var t;return q(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae((function(){return[0]})),last:ae((function(e,t){return[t-1]})),eq:ae((function(e,t,n){return[n<0?n+t:n]})),even:ae((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:ae((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function he(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,l=null!=t;s-1&&(i[l]=!(a[l]=d))}}else A=he(A===a?A.splice(m,A.length):A),o?o(null,a,A,c):f.apply(a,A)}))}function be(e){for(var r,o,i,a=e.length,s=t.relative[e[0].type],c=s||t.relative[" "],l=s?1:0,p=de((function(e){return e===r}),c,!0),d=de((function(e){return u.call(r,e)>-1}),c,!0),A=[function(e,t,o){var i=!s&&(o||t!=n)||((r=t).nodeType?p(e,t,o):d(e,t,o));return r=null,i}];l1&&Ae(A),l>1&&pe(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(T,"$1"),o,l0,i=e.length>0,a=function(a,s,l,u,d){var A,h,b,m=0,g="0",z=a&&[],y=[],v=n,O=a||i&&t.find.TAG("*",d),_=M+=null==v?1:Math.random()||.1,x=O.length;for(d&&(n=s==c||s||d);g!==x&&null!=(A=O[g]);g++){if(i&&A){for(h=0,s||A.ownerDocument==c||(ce(A),l=!p);b=e[h++];)if(b(A,s||c,l)){f.call(u,A);break}d&&(M=_)}o&&((A=!b&&A)&&m--,a&&z.push(A))}if(m+=g,o&&g!==m){for(h=0;b=r[h++];)b(z,y,s,l);if(a){if(m>0)for(;g--;)z[g]||y[g]||(y[g]=k.call(u));y=he(y)}f.apply(u,y),d&&!a&&y.length>0&&m+r.length>1&&w.uniqueSort(u)}return d&&(M=_,n=v),z};return o?te(a):a}(a,i)),s.selector=e}return s}function Me(e,n,r,o){var i,a,s,c,l,u="function"===typeof e&&e,d=!o&&ue(e=u.selector||e);if(r=r||[],1===d.length){if((a=d[0]=d[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&p&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(Z,Q),n)||[])[0]))return r;u&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(i=X.needsContext.test(e)?0:a.length;i--&&(s=a[i],!t.relative[c=s.type]);)if((l=t.find[c])&&(o=l(s.matches[0].replace(Z,Q),G.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(i,1),!(e=o.length&&pe(a)))return f.apply(r,o),r;break}}return(u||me(e,d))(o,n,!p,r,!n||G.test(e)&&se(n.parentNode)||n),r}le.prototype=t.filters=t.pseudos,t.setFilters=new le,b.sortStable=m.split("").sort(_).join("")===m,ce(),b.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(c.createElement("fieldset"))})),w.find=$,w.expr[":"]=w.expr.pseudos,w.unique=w.uniqueSort,$.compile=me,$.select=Me,$.setDocument=ce,$.escape=w.escapeSelector,$.getText=w.text,$.isXML=w.isXMLDoc,$.selectors=w.expr,$.support=w.support,$.uniqueSort=w.uniqueSort}();var N=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&w(e).is(n))break;r.push(e)}return r},P=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},j=w.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return m(t)?w.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?w.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?w.grep(e,(function(e){return u.call(t,e)>-1!==n})):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,(function(e){return 1===e.nodeType})))},w.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!==typeof e)return this.pushStack(w(e).filter((function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"===typeof e&&j.test(e)?w(e):e||[],!1).length}});var F,Y=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||F,"string"===typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Y.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),B.test(r[1])&&w.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=g.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,F=w(g);var X=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function U(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?w.uniqueSort(i):i)},index:function(e){return e?"string"===typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return N(e,"parentNode")},parentsUntil:function(e,t,n){return N(e,"parentNode",n)},next:function(e){return U(e,"nextSibling")},prev:function(e){return U(e,"previousSibling")},nextAll:function(e){return N(e,"nextSibling")},prevAll:function(e){return N(e,"previousSibling")},nextUntil:function(e,t,n){return N(e,"nextSibling",n)},prevUntil:function(e,t,n){return N(e,"previousSibling",n)},siblings:function(e){return P((e.parentNode||{}).firstChild,e)},children:function(e){return P(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(q(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},(function(e,t){w.fn[e]=function(n,r){var o=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"===typeof r&&(o=w.filter(r,o)),this.length>1&&(H[e]||w.uniqueSort(o),X.test(e)&&o.reverse()),this.pushStack(o)}}));var V=/[^\x20\t\r\n\f]+/g;function G(e){return e}function Z(e){throw e}function Q(e,t,n,r){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return w.each(e.match(V)||[],(function(e,n){t[n]=!0})),t}(e):w.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?w.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},w.extend({Deferred:function(e){var t=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(n){w.each(t,(function(t,r){var o=m(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&m(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(e=i&&(n!==Z&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?u():(w.Deferred.getErrorHook?u.error=w.Deferred.getErrorHook():w.Deferred.getStackHook&&(u.error=w.Deferred.getStackHook()),r.setTimeout(u))}}return w.Deferred((function(r){t[0][3].add(a(0,r,m(o)?o:G,r.notifyWith)),t[1][3].add(a(0,r,m(e)?e:G)),t[2][3].add(a(0,r,m(n)?n:Z))})).promise()},promise:function(e){return null!=e?w.extend(e,o):o}},i={};return w.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=w.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(Q(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||m(o[n]&&o[n].then)))return i.then();for(;n--;)Q(o[n],a(n),i.reject);return i.promise()}});var K=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&K.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},w.readyException=function(e){r.setTimeout((function(){throw e}))};var J=w.Deferred();function $(){g.removeEventListener("DOMContentLoaded",$),r.removeEventListener("load",$),w.ready()}w.fn.ready=function(e){return J.then(e).catch((function(e){w.readyException(e)})),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||J.resolveWith(g,[w]))}}),w.ready.then=J.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?r.setTimeout(w.ready):(g.addEventListener("DOMContentLoaded",$),r.addEventListener("load",$));var ee=function(e,t,n,r,o,i,a){var s=0,c=e.length,l=null==n;if("object"===v(n))for(s in o=!0,n)ee(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){ce.remove(this,e)}))}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=se.get(e,t),n&&(!r||Array.isArray(n)?r=se.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,o=n.shift(),i=w._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){w.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return se.get(e,n)||se.access(e,n,{empty:w.Callbacks("once memory").add((function(){se.remove(e,[t+"queue",n])}))})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,we=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=g.createDocumentFragment().appendChild(g.createElement("div")),t=g.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),b.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",b.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,e.innerHTML="",b.option=!!e.lastChild}();var xe={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function qe(e,t){var n;return n="undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!==typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&q(e,t)?w.merge([e],n):n}function ke(e,t){for(var n=0,r=e.length;n",""]);var Le=/<|&#?\w+;/;function We(e,t,n,r,o){for(var i,a,s,c,l,u,p=t.createDocumentFragment(),d=[],A=0,h=e.length;A-1)o&&o.push(i);else if(l=be(i),a=qe(p.appendChild(i),"script"),l&&ke(a),n)for(u=0;i=a[u++];)we.test(i.type||"")&&n.push(i);return p}var Se=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ee(){return!1}function Re(e,t,n,r,o,i){var a,s;if("object"===typeof t){for(s in"string"!==typeof n&&(r=r||n,n=void 0),t)Re(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"===typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ee;else if(!o)return e;return 1===i&&(a=o,o=function(e){return w().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=w.guid++)),e.each((function(){w.event.add(this,t,o,r,n)}))}function De(e,t,n){n?(se.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var n,r=se.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),se.set(this,t,r),this[t](),n=se.get(this,t),se.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(se.set(this,t,w.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Te)}})):void 0===se.get(e,t)&&w.event.add(e,t,Te)}w.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,l,u,p,d,A,h,f,b=se.get(e);if(ie(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&w.find.matchesSelector(fe,o),n.guid||(n.guid=w.guid++),(c=b.events)||(c=b.events=Object.create(null)),(a=b.handle)||(a=b.handle=function(t){return"undefined"!==typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(V)||[""]).length;l--;)A=f=(s=Se.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),A&&(p=w.event.special[A]||{},A=(o?p.delegateType:p.bindType)||A,p=w.event.special[A]||{},u=w.extend({type:A,origType:f,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=c[A])||((d=c[A]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(A,a)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),w.event.global[A]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,l,u,p,d,A,h,f,b=se.hasData(e)&&se.get(e);if(b&&(c=b.events)){for(l=(t=(t||"").match(V)||[""]).length;l--;)if(A=f=(s=Se.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),A){for(p=w.event.special[A]||{},d=c[A=(r?p.delegateType:p.bindType)||A]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)u=d[i],!o&&f!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(i,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,b.handle)||w.removeEvent(e,A,b.handle),delete c[A])}else for(A in c)w.event.remove(e,A+t[l],n,r,!0);w.isEmptyObject(c)&&se.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=w.event.fix(e),l=(se.get(this,"events")||Object.create(null))[c.type]||[],u=w.event.special[c.type]||{};for(s[0]=c,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n-1:w.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,c\s*$/g;function je(e,t){return q(e,"table")&&q(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(se.hasData(e)&&(s=se.get(e).events))for(o in se.remove(t,"handle events"),s)for(n=0,r=s[o].length;n1&&"string"===typeof h&&!b.checkClone&&Ne.test(h))return e.each((function(o){var i=e.eq(o);f&&(t[0]=h.call(this,o,i.html())),Xe(i,t,n,r)}));if(d&&(i=(o=We(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=w.map(qe(o,"script"),Be)).length;p0&&ke(a,!c&&qe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=w.event.special,i=0;void 0!==(n=e[i]);i++)if(ie(n)){if(t=n[se.expando]){if(t.events)for(r in t.events)o[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[se.expando]=void 0}n[ce.expando]&&(n[ce.expando]=void 0)}}}),w.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?w.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Xe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||je(this,e).appendChild(e)}))},prepend:function(){return Xe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=je(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Xe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Xe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(qe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return w.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!Ce.test(e)&&!xe[(_e.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c+l}function ct(e,t,n){var r=Ge(e),o=(!b.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,r),i=o,a=Ke(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(a)){if(!n)return a;a="auto"}return(!b.boxSizingReliable()&&o||!b.reliableTrDimensions()&&q(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===w.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===w.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+st(e,t,n||(o?"border":"content"),i,r,a)+"px"}function lt(e,t,n,r,o){return new lt.prototype.init(e,t,n,r,o)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ke(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=oe(t),c=Ve.test(t),l=e.style;if(c||(t=nt(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"===(i=typeof n)&&(o=Ae.exec(n))&&o[1]&&(n=ge(e,t,o),i="number"),null!=n&&n===n&&("number"!==i||c||(n+=o&&o[3]||(w.cssNumber[s]?"":"px")),b.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=oe(t);return Ve.test(t)||(t=nt(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ke(e,t,r)),"normal"===o&&t in it&&(o=it[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!rt.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,r):Ze(e,ot,(function(){return ct(e,t,r)}))},set:function(e,n,r){var o,i=Ge(e),a=!b.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===w.css(e,"boxSizing",!1,i),c=r?st(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-st(e,t,"border",!1,i)-.5)),c&&(o=Ae.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),at(0,n,c)}}})),w.cssHooks.marginLeft=Je(b.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ke(e,"marginLeft"))||e.getBoundingClientRect().left-Ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"===typeof n?n.split(" "):[n];r<4;r++)o[e+he[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(w.cssHooks[e+t].set=at)})),w.fn.extend({css:function(e,t){return ee(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ge(e),o=t.length;a1)}}),w.Tween=lt,lt.prototype={constructor:lt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(w.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[nt(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=lt.prototype.init,w.fx.step={};var ut,pt,dt=/^(?:toggle|show|hide)$/,At=/queueHooks$/;function ht(){pt&&(!1===g.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ht):r.setTimeout(ht,w.fx.interval),w.fx.tick())}function ft(){return r.setTimeout((function(){ut=void 0})),ut=Date.now()}function bt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=he[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function mt(e,t,n){for(var r,o=(Mt.tweeners[t]||[]).concat(Mt.tweeners["*"]),i=0,a=o.length;i1)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}}),w.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"===typeof e.getAttribute?w.prop(e,t,n):(1===i&&w.isXMLDoc(e)||(o=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?gt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!b.radioValue&&"radio"===t&&q(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(V);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),gt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=zt[t]||w.find.attr;zt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=zt[a],zt[a]=o,o=null!=n(e,t,r)?a:null,zt[a]=i),o}}));var yt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function Ot(e){return(e.match(V)||[]).join(" ")}function _t(e){return e.getAttribute&&e.getAttribute("class")||""}function wt(e){return Array.isArray(e)?e:"string"===typeof e&&e.match(V)||[]}w.fn.extend({prop:function(e,t){return ee(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}}),w.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&w.isXMLDoc(e)||(t=w.propFix[t]||t,o=w.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),b.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this})),w.fn.extend({addClass:function(e){var t,n,r,o,i,a;return m(e)?this.each((function(t){w(this).addClass(e.call(this,t,_t(this)))})):(t=wt(e)).length?this.each((function(){if(r=_t(this),n=1===this.nodeType&&" "+Ot(r)+" "){for(i=0;i-1;)n=n.replace(" "+o+" "," ");a=Ot(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return m(e)?this.each((function(n){w(this).toggleClass(e.call(this,n,_t(this),t),t)})):"boolean"===typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=wt(e),this.each((function(){if(s)for(i=w(this),o=0;o-1)return!0;return!1}});var xt=/\r/g;w.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=m(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,w(this).val()):e)?o="":"number"===typeof o?o+="":Array.isArray(o)&&(o=w.map(o,(function(e){return null==e?"":e+""}))),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=w.valHooks[o.type]||w.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"===typeof(n=o.value)?n.replace(xt,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:Ot(w.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},b.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var qt=r.location,kt={guid:Date.now()},Lt=/\?/;w.parseXML=function(e){var t,n;if(!e||"string"!==typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(o){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||w.error("Invalid XML: "+(n?w.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Wt=/^(?:focusinfocus|focusoutblur)$/,St=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(e,t,n,o){var i,a,s,c,l,u,p,d,h=[n||g],f=A.call(e,"type")?e.type:e,b=A.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||g,3!==n.nodeType&&8!==n.nodeType&&!Wt.test(f+w.event.triggered)&&(f.indexOf(".")>-1&&(b=f.split("."),f=b.shift(),b.sort()),l=f.indexOf(":")<0&&"on"+f,(e=e[w.expando]?e:new w.Event(f,"object"===typeof e&&e)).isTrigger=o?2:3,e.namespace=b.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),p=w.event.special[f]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!M(n)){for(c=p.delegateType||f,Wt.test(c+f)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||g)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?c:p.bindType||f,(u=(se.get(a,"events")||Object.create(null))[e.type]&&se.get(a,"handle"))&&u.apply(a,t),(u=l&&a[l])&&u.apply&&ie(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=f,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!ie(n)||l&&m(n[f])&&!M(n)&&((s=n[l])&&(n[l]=null),w.event.triggered=f,e.isPropagationStopped()&&d.addEventListener(f,St),n[f](),e.isPropagationStopped()&&d.removeEventListener(f,St),w.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}});var Tt=/\[\]$/,Et=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function Ct(e,t,n,r){var o;if(Array.isArray(t))w.each(t,(function(t,o){n||Tt.test(e)?r(e,o):Ct(e+"["+("object"===typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==v(t))r(e,t);else for(o in t)Ct(e+"["+o+"]",t[o],n,r)}w.param=function(e,t){var n,r=[],o=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,(function(){o(this.name,this.value)}));else for(n in e)Ct(n,e[n],t,o);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&Dt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!Oe.test(e))})).map((function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,(function(e){return{name:t.name,value:e.replace(Et,"\r\n")}})):{name:t.name,value:n.replace(Et,"\r\n")}})).get()}});var Nt=/%20/g,Pt=/#.*$/,jt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Ft=/^\/\//,Yt={},Xt={},Ht="*/".concat("*"),Ut=g.createElement("a");function Vt(e){return function(t,n){"string"!==typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(V)||[];if(m(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Gt(e,t,n,r){var o={},i=e===Xt;function a(s){var c;return o[s]=!0,w.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!==typeof l||i||o[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Zt(e,t){var n,r,o=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}Ut.href=qt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:qt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(qt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,w.ajaxSettings),t):Zt(w.ajaxSettings,e)},ajaxPrefilter:Vt(Yt),ajaxTransport:Vt(Xt),ajax:function(e,t){"object"===typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,l,u,p,d,A=w.ajaxSetup({},t),h=A.context||A,f=A.context&&(h.nodeType||h.jquery)?w(h):w.event,b=w.Deferred(),m=w.Callbacks("once memory"),M=A.statusCode||{},z={},y={},v="canceled",O={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Bt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=y[e.toLowerCase()]=y[e.toLowerCase()]||e,z[e]=t),this},overrideMimeType:function(e){return null==l&&(A.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)O.always(e[O.status]);else for(t in e)M[t]=[M[t],e[t]];return this},abort:function(e){var t=e||v;return n&&n.abort(t),_(0,t),this}};if(b.promise(O),A.url=((e||A.url||qt.href)+"").replace(Ft,qt.protocol+"//"),A.type=t.method||t.type||A.method||A.type,A.dataTypes=(A.dataType||"*").toLowerCase().match(V)||[""],null==A.crossDomain){c=g.createElement("a");try{c.href=A.url,c.href=c.href,A.crossDomain=Ut.protocol+"//"+Ut.host!==c.protocol+"//"+c.host}catch(x){A.crossDomain=!0}}if(A.data&&A.processData&&"string"!==typeof A.data&&(A.data=w.param(A.data,A.traditional)),Gt(Yt,A,t,O),l)return O;for(p in(u=w.event&&A.global)&&0===w.active++&&w.event.trigger("ajaxStart"),A.type=A.type.toUpperCase(),A.hasContent=!It.test(A.type),o=A.url.replace(Pt,""),A.hasContent?A.data&&A.processData&&0===(A.contentType||"").indexOf("application/x-www-form-urlencoded")&&(A.data=A.data.replace(Nt,"+")):(d=A.url.slice(o.length),A.data&&(A.processData||"string"===typeof A.data)&&(o+=(Lt.test(o)?"&":"?")+A.data,delete A.data),!1===A.cache&&(o=o.replace(jt,"$1"),d=(Lt.test(o)?"&":"?")+"_="+kt.guid+++d),A.url=o+d),A.ifModified&&(w.lastModified[o]&&O.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&O.setRequestHeader("If-None-Match",w.etag[o])),(A.data&&A.hasContent&&!1!==A.contentType||t.contentType)&&O.setRequestHeader("Content-Type",A.contentType),O.setRequestHeader("Accept",A.dataTypes[0]&&A.accepts[A.dataTypes[0]]?A.accepts[A.dataTypes[0]]+("*"!==A.dataTypes[0]?", "+Ht+"; q=0.01":""):A.accepts["*"]),A.headers)O.setRequestHeader(p,A.headers[p]);if(A.beforeSend&&(!1===A.beforeSend.call(h,O,A)||l))return O.abort();if(v="abort",m.add(A.complete),O.done(A.success),O.fail(A.error),n=Gt(Xt,A,t,O)){if(O.readyState=1,u&&f.trigger("ajaxSend",[O,A]),l)return O;A.async&&A.timeout>0&&(s=r.setTimeout((function(){O.abort("timeout")}),A.timeout));try{l=!1,n.send(z,_)}catch(x){if(l)throw x;_(-1,x)}}else _(-1,"No Transport");function _(e,t,a,c){var p,d,g,z,y,v=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",O.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(z=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(A,O,a)),!p&&w.inArray("script",A.dataTypes)>-1&&w.inArray("json",A.dataTypes)<0&&(A.converters["text script"]=function(){}),z=function(e,t,n,r){var o,i,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=l[c+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(x){return{state:"parsererror",error:a?x:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(A,z,O,p),p?(A.ifModified&&((y=O.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=y),(y=O.getResponseHeader("etag"))&&(w.etag[o]=y)),204===e||"HEAD"===A.type?v="nocontent":304===e?v="notmodified":(v=z.state,d=z.data,p=!(g=z.error))):(g=v,!e&&v||(v="error",e<0&&(e=0))),O.status=e,O.statusText=(t||v)+"",p?b.resolveWith(h,[d,v,O]):b.rejectWith(h,[O,v,g]),O.statusCode(M),M=void 0,u&&f.trigger(p?"ajaxSuccess":"ajaxError",[O,A,p?d:g]),m.fireWith(h,[O,v]),u&&(f.trigger("ajaxComplete",[O,A]),--w.active||w.event.trigger("ajaxStop")))}return O},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],(function(e,t){w[t]=function(e,n,r,o){return m(n)&&(o=o||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:o,data:n,success:r},w.isPlainObject(e)&&e))}})),w.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return m(e)?this.each((function(t){w(this).wrapInner(e.call(this,t))})):this.each((function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=m(e);return this.each((function(n){w(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)})),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Kt=w.ajaxSettings.xhr();b.cors=!!Kt&&"withCredentials"in Kt,b.ajax=Kt=!!Kt,w.ajaxTransport((function(e){var t,n;if(b.cors||Kt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!==typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!==typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(c){if(t)throw c}},abort:function(){t&&t()}}})),w.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),w.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=w("