diff --git a/public/js/app.js b/public/js/app.js
index db4373a12..69bb99f65 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -1,2 +1,2 @@
/*! For license information please see app.js.LICENSE.txt */
-!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=0)}({"+0tX":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Teams","dashboard":"Dashboard","join-a-team":"Sluit je aan bij een Team","create-a-team":"Maak een Team aan","your-teams":"Jouw Teams","leaderboard":"Team Scoreboard","settings":"Instellingen","teams-dashboard":"Teams Dashboard","photos-uploaded":"Foto\'s ge-upload","litter-tagged":"Afval voorzien van kenmerken","members-uploaded":"Teamleden hebben geupload","all-teams":"Alle Teams","times":{"today":"Vandaag","week":"Deze week","month":"Deze maand","year":"Dit jaar","all":"Alle tijden","created_at":"Geupload op","datetime":"Genomen op"}}')},"+4ci":function(t){t.exports=JSON.parse('{"admin":"Admin","admin-verify-photos":"ADMIN - Verify Photos","admin-horizon":"ADMIN - Horizon","admin-verify-boxes":"ADMIN - Verify Boxes","about":"Acerca","global-map":"Mapa Global","world-cup":"Copa Mundial","upload":"Subir","more":"Más","tag-litter":"Etiquetar Basura","profile":"Perfil","settings":"Ajustes","bounding-boxes":"Bounding Boxes","logout":"Cerrar Sesión","login":"Iniciar Sesión","signup":"Registrarse","teams":"Equipos"}')},"+7PB":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Plastic pollution is out of control","help-us":"Help us create the world\'s most advanced open database on litter, brands & plastic pollution","why-collect-data":"Why should we collect data","visibility":"Visibility","our-maps-reveal-litter-normality":"For many people, litter has become normal and invisible. Maps are powerful because they communicate what we cannot usually see","science":"Problem solving","our-data-open-source":"Our data is open and accessible. Everyone has equal, open and unlimited rights to download all of our data and use it for any purpose","community":"Community","must-work-together":"We need your help to create a paradigm shift in how we understand and respond to pollution","how-does-it-work":"How does it work","take-a-photo":"Take a photo","device-captures-info":"Your device can capture valuable information about the location, time, object, material and brand.","tag-the-litter":"Tag the litter","tag-litter-you-see":"Just tag what litter you see in the photo. You can tag if the litter has been picked up or if it\'s still there. You can upload your photos anytime","share-results":"Share your results","share":"Share the maps or download our data. Let\'s show everyone how badly polluted the world really is","verified":"Your email has been confirmed! You can now log in.","close":"Close"}')},"+7ij":function(t){t.exports=JSON.parse('{"finance":"Financier de ontwikkeling van OpenLitterMap","help":"We hebben jouw hulp nodig.","support":"Steun Open Data over Plastic Pollution","help-costs":"Help ons onze kosten te dekken","help-hire":"Huur ontwikkelaars, ontwerpers en afgestudeerden in","help-produce":"Maak videos","help-write":"Schrijf documenten","help-outreach":"Conferenties & outreach","help-incentivize":"Stimulier data verzamelen door Littercoin","more-soon":"Meer spannende updates volgen snel","click-to-support":"Klik hier om te helpen"}')},"+LEQ":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function o(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var a={name:"Privacy",data:function(){return{btn:"button is-medium is-info",processing:!1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},createdby_name:{get:function(){return this.user.show_name_createdby},set:function(t){this.$store.commit("privacy",{column:"show_name_createdby",v:t})}},createdby_username:{get:function(){return this.user.show_username_createdby},set:function(t){this.$store.commit("privacy",{column:"show_username_createdby",v:t})}},leaderboard_name:{get:function(){return this.user.show_name},set:function(t){this.$store.commit("privacy",{column:"show_name",v:t})}},leaderboard_username:{get:function(){return this.user.show_username},set:function(t){this.$store.commit("privacy",{column:"show_username",v:t})}},maps_name:{get:function(){return this.user.show_name_maps},set:function(t){this.$store.commit("privacy",{column:"show_name_maps",v:t})}},maps_username:{get:function(){return this.user.show_username_maps},set:function(t){this.$store.commit("privacy",{column:"show_username_maps",v:t})}},user:function(){return this.$store.state.user.user}},methods:{submit:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("SAVE_PRIVACY_SETTINGS");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function s(t){o(a,i,r,s,l,"next",t)}function l(t){o(a,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=n("KHd+"),l=Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.privacy.change-privacy")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column one-third is-offset-1"},[n("div",{staticClass:"field"},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.privacy.maps"))+":")]),t._v(" "),n("label",{staticClass:"checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.maps_name,expression:"maps_name"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.maps_name)?t._i(t.maps_name,null)>-1:t.maps_name},on:{change:function(e){var n=t.maps_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.maps_name=n.concat([null])):o>-1&&(t.maps_name=n.slice(0,o).concat(n.slice(o+1)))}else t.maps_name=r}}}),t._v("\n\t\t\t\t \t"+t._s(t.$t("settings.privacy.credit-name"))+"\n\t\t\t\t ")]),t._v(" "),n("br"),t._v(" "),n("label",{staticClass:"checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.maps_username,expression:"maps_username"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.maps_username)?t._i(t.maps_username,null)>-1:t.maps_username},on:{change:function(e){var n=t.maps_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.maps_username=n.concat([null])):o>-1&&(t.maps_username=n.slice(0,o).concat(n.slice(o+1)))}else t.maps_username=r}}}),t._v("\n\t\t\t\t \t"+t._s(t.$t("settings.privacy.credit-username"))+"\n\t\t\t\t ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:t.maps_name,expression:"maps_name"}],staticClass:"title is-6",staticStyle:{"margin-bottom":"5px"}},[n("strong",{staticStyle:{color:"green"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.name-imgs-yes"))+".\n\t\t\t\t\t\t")])]),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:t.maps_username,expression:"maps_username"}],staticClass:"title is-6"},[n("strong",{staticStyle:{color:"green"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.username-imgs-yes"))+".\n\t\t\t\t\t\t")])]),t._v(" "),n("br",{directives:[{name:"show",rawName:"v-show",value:t.maps_name||t.maps_username,expression:"maps_name || maps_username"}]}),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:!t.maps_name&&!t.maps_username,expression:"! maps_name && ! maps_username"}],staticClass:"title is-6"},[n("strong",{staticStyle:{color:"red"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.name-username-map-no"))+".\n\t\t\t\t\t\t")])]),t._v(" "),n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.privacy.leaderboards"))+":")]),t._v(" "),n("label",{staticClass:"checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.leaderboard_name,expression:"leaderboard_name"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.leaderboard_name)?t._i(t.leaderboard_name,null)>-1:t.leaderboard_name},on:{change:function(e){var n=t.leaderboard_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.leaderboard_name=n.concat([null])):o>-1&&(t.leaderboard_name=n.slice(0,o).concat(n.slice(o+1)))}else t.leaderboard_name=r}}}),t._v("\n\t\t\t\t "+t._s(t.$t("settings.privacy.credit-my-name"))+"\n\t\t\t\t ")]),t._v(" "),n("br"),t._v(" "),n("label",{staticClass:"checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.leaderboard_username,expression:"leaderboard_username"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.leaderboard_username)?t._i(t.leaderboard_username,null)>-1:t.leaderboard_username},on:{change:function(e){var n=t.leaderboard_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.leaderboard_username=n.concat([null])):o>-1&&(t.leaderboard_username=n.slice(0,o).concat(n.slice(o+1)))}else t.leaderboard_username=r}}}),t._v("\n\t\t\t\t \t"+t._s(t.$t("settings.privacy.credit-my-username"))+"\n\t\t\t\t ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:t.leaderboard_name,expression:"leaderboard_name"}],staticClass:"title is-6",staticStyle:{"margin-bottom":"5px"}},[n("strong",{staticStyle:{color:"green"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.name-leaderboards-yes"))+".\n\t\t\t\t\t\t")])]),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:t.leaderboard_username,expression:"leaderboard_username"}],staticClass:"title is-6"},[n("strong",{staticStyle:{color:"green"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.username-leaderboards-yes"))+".\n\t\t\t\t\t\t")])]),t._v(" "),n("br",{directives:[{name:"show",rawName:"v-show",value:t.leaderboard_name||t.leaderboard_username,expression:"leaderboard_name || leaderboard_username"}]}),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:!t.leaderboard_name&&!t.leaderboard_username,expression:"! leaderboard_name && ! leaderboard_username"}],staticClass:"title is-6"},[n("strong",{staticStyle:{color:"red"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.name-username-leaderboards-no"))+".\n\t\t\t\t\t\t")])]),t._v(" "),n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.privacy.created-by"))+":")]),t._v(" "),n("label",{staticClass:"checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createdby_name,expression:"createdby_name"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.createdby_name)?t._i(t.createdby_name,null)>-1:t.createdby_name},on:{change:function(e){var n=t.createdby_name,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.createdby_name=n.concat([null])):o>-1&&(t.createdby_name=n.slice(0,o).concat(n.slice(o+1)))}else t.createdby_name=r}}}),t._v("\n\t\t\t\t \t"+t._s(t.$t("settings.privacy.name-locations-yes"))+"\n\t\t\t\t ")]),t._v(" "),n("br"),t._v(" "),n("label",{staticClass:"checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createdby_username,expression:"createdby_username"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.createdby_username)?t._i(t.createdby_username,null)>-1:t.createdby_username},on:{change:function(e){var n=t.createdby_username,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.createdby_username=n.concat([null])):o>-1&&(t.createdby_username=n.slice(0,o).concat(n.slice(o+1)))}else t.createdby_username=r}}}),t._v("\n\t\t\t\t \t"+t._s(t.$t("settings.privacy.username-locations-yes"))+"\n\t\t\t\t ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:t.createdby_name,expression:"createdby_name"}],staticClass:"title is-6",staticStyle:{"margin-bottom":"5px"}},[n("strong",{staticStyle:{color:"green"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.name-username-locations-yes"))+"\n\t\t\t\t\t\t")])]),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:t.createdby_username,expression:"createdby_username"}],staticClass:"title is-6",staticStyle:{"margin-bottom":"5px"}},[n("strong",{staticStyle:{color:"green"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.name-username-locations-yes"))+".\n\t\t\t\t\t\t")])]),t._v(" "),n("br",{directives:[{name:"show",rawName:"v-show",value:t.createdby_name||t.createdby_username,expression:"createdby_name || createdby_username"}]}),t._v(" "),n("h1",{directives:[{name:"show",rawName:"v-show",value:!t.createdby_name&&!t.createdby_username,expression:"! createdby_name && ! createdby_username"}],staticClass:"title is-6"},[n("strong",{staticStyle:{color:"red"}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("settings.privacy.name-username-locations-yes"))+".\n\t\t\t\t\t\t")])])]),t._v(" "),n("br"),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing},on:{click:t.submit}},[t._v(t._s(t.$t("settings.privacy.update")))])])])])}),[],!1,null,null,null);e.default=l.exports},"+Vbd":function(t,e,n){"use strict";n.r(e);var i,r,o,a,s,l,u,c,d,h,f,p,m,g,v=n("o0o1"),y=n.n(v),_=n("kGIl"),b=n.n(_),w=(n("5A0h"),n("4R65")),x=n.n(w),k=n("Kuz/"),C=n("wd/R"),L=n.n(C),S=n("gaDp"),M=n("ZoWG");n("YFMt");function T(t){return t>60?"#800026":t>20?"#BD0026":t>10?"#E31A1C":t>4?"#FD8D3C":t>2?"#FED976":"#FFEDA0"}function E(t){return{weight:2,opacity:1,color:"white",dashArray:"3",fillOpacity:.7,fillColor:T(t.properties.total)}}function O(t,e){e.on({mouseover:P,mouseout:D,click:A})}function P(t){var e=t.target;e.setStyle({weight:5,color:"#666",dashArray:"",fillOpacity:.7}),x.a.Browser.ie||x.a.Browser.opera||x.a.Browser.edge||e.bringToFront(),i.update(e.feature.properties)}function D(t){r.resetStyle(t.target),i.update()}function A(t){}var I={name:"CityMap",mounted:function(){var t=x.a.map(this.$refs.map,{center:this.$store.state.citymap.center,zoom:this.$store.state.citymap.zoom,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1}),e=(new Date).getFullYear();if(x.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:20,minZoom:1}).addTo(t),t.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+e),this.geojson){r=x.a.geoJson(this.aggregate,{style:E,onEachFeature:O,filter:function(t,e){if(t.properties.values.length>0){for(var n=0,i=0;i0}}).addTo(t),(i=x.a.control()).onAdd=function(t){return this._div=x.a.DomUtil.create("div","info"),this.update(),this._div};var n=this.$t("locations.cityVueMap.meter-hex-grids"),v=this.$t("locations.cityVueMap.hover-to-count"),y=this.$t("locations.cityVueMap.pieces-of-litter"),_=this.$t("locations.cityVueMap.hover-polygons-to-count"),b=this.hex;i.update=function(t){this._div.innerHTML=""+b+" ".concat(n,"
")+(t?"".concat(v,"
")+t.total+" ".concat(y):"".concat(_,"."))},i.addTo(t);var w=x.a.control({position:"bottomleft"});w.onAdd=function(t){for(var e,n,i=x.a.DomUtil.create("div","info legend"),r=[1,3,6,10,20],o=[],a=0;a '+e+(n?"–"+n:"+"));return i.innerHTML=o.join("
"),i},w.addTo(t)}o=new x.a.LayerGroup,a=new x.a.LayerGroup,s=new x.a.LayerGroup,l=new x.a.LayerGroup,u=(new x.a.LayerGroup).addTo(t),c=new x.a.LayerGroup,d=new x.a.LayerGroup,h=new x.a.LayerGroup,f=new x.a.LayerGroup,p=new x.a.LayerGroup,m=new x.a.LayerGroup,g=new x.a.LayerGroup,this.addDataToLayerGroups();var k={Alcohol:l,Brands:f,Coastal:h,Coffee:s,Dumping:m,Food:a,Industrial:g,Other:d,PetSurprise:p,Sanitary:c,Smoking:o,SoftDrinks:u};x.a.control.layers(null,k).addTo(t)},computed:{aggregate:function(){var t=k.bbox(this.geojson),e=k.hexGrid(t,this.hex,"meters");return e=JSON.parse(JSON.stringify(e)),k.collect(e,this.geojson,"total_litter","values")},center:function(){return this.$store.state.citymap.center},geojson:function(){return this.$store.state.citymap.data},hex:function(){return this.$store.state.citymap.hex},zoom:function(){return this.$store.state.citymap.zoom}},methods:{addDataToLayerGroups:function(){var t=this,e={smoking:o,food:a,coffee:s,alcohol:l,softdrinks:u,sanitary:c,other:d,coastal:h,brands:f,dogshit:p,industrial:g,dumping:m};this.geojson.features.map((function(n){var i="",r="";n.properties.name&&(i=n.properties.name),n.properties.username&&(r=" @"+n.properties.username),""===i&&""===r&&(i="Anonymous"),S.a.map((function(o){if(n.properties[o]){var a="";M.a[o].map((function(s){n.properties[o][s.key]&&(a+=t.$t("litter."+[o]+"."+[s.key])+": "+n.properties[o][s.key]+"
",x.a.marker([n.properties.lat,n.properties.lon]).addTo(e[o]).bindPopup(a+'
'+t.$t("locations.cityVueMap.taken-on")+" "+L()(n.properties.datetime).format("LLL")+" "+t.$t("locations.cityVueMap.with-a")+" "+n.properties.model+"
"+t.$t("locations.cityVueMap.by")+": "+i+r+"
"))}))}}))}))}}},N=(n("NTNo"),n("KHd+")),R=Object(N.a)(I,(function(){var t=this.$createElement;return(this._self._c||t)("div",{ref:"map",attrs:{id:"hexmap"}})}),[],!1,null,"00b8ed32",null).exports;function j(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var z={name:"CityMapContainer",components:{Loading:b.a,CityMap:R},data:function(){return{loading:!0}},created:function(){var t,e=this;return(t=y.a.mark((function t(){var n,i,r,o;return y.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.loading=!0,n=window.location.href.split("/"),i=null,r=null,o=null,11===n.length&&(i=n[8],r=n[9],o=n[10]),t.next=8,e.$store.dispatch("GET_CITY_DATA",{city:n[6],min:i,max:r,hex:o});case 8:e.loading=!1;case 9:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){j(o,i,r,a,s,"next",t)}function s(t){j(o,i,r,a,s,"throw",t)}a(void 0)}))})()}},Y=(n("0pI5"),Object(N.a)(z,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cmc"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("CityMap")],1)}),[],!1,null,"74f720b2",null));e.default=Y.exports},"+fGu":function(t,e,n){"use strict";var i=n("OxD6");n.n(i).a},"+g/T":function(t,e,n){var i=n("800r");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"+pLR":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.marker-cluster-small {\r\n\tbackground-color: rgba(181, 226, 140, 0.6);\r\n\t}\r\n.marker-cluster-small div {\r\n\tbackground-color: rgba(110, 204, 57, 0.6);\r\n\t}\r\n\r\n.marker-cluster-medium {\r\n\tbackground-color: rgba(241, 211, 87, 0.6);\r\n\t}\r\n.marker-cluster-medium div {\r\n\tbackground-color: rgba(240, 194, 12, 0.6);\r\n\t}\r\n\r\n.marker-cluster-large {\r\n\tbackground-color: rgba(253, 156, 115, 0.6);\r\n\t}\r\n.marker-cluster-large div {\r\n\tbackground-color: rgba(241, 128, 23, 0.6);\r\n\t}\r\n\r\n\t/* IE 6-8 fallback colors */\r\n.leaflet-oldie .marker-cluster-small {\r\n\tbackground-color: rgb(181, 226, 140);\r\n\t}\r\n.leaflet-oldie .marker-cluster-small div {\r\n\tbackground-color: rgb(110, 204, 57);\r\n\t}\r\n\r\n.leaflet-oldie .marker-cluster-medium {\r\n\tbackground-color: rgb(241, 211, 87);\r\n\t}\r\n.leaflet-oldie .marker-cluster-medium div {\r\n\tbackground-color: rgb(240, 194, 12);\r\n\t}\r\n\r\n.leaflet-oldie .marker-cluster-large {\r\n\tbackground-color: rgb(253, 156, 115);\r\n\t}\r\n.leaflet-oldie .marker-cluster-large div {\r\n\tbackground-color: rgb(241, 128, 23);\r\n}\r\n\r\n.marker-cluster {\r\n\tbackground-clip: padding-box;\r\n\tborder-radius: 20px;\r\n\t}\r\n.marker-cluster div {\r\n\twidth: 30px;\r\n\theight: 30px;\r\n\tmargin-left: 5px;\r\n\tmargin-top: 5px;\r\n\r\n\ttext-align: center;\r\n\tborder-radius: 15px;\r\n\tfont: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;\r\n\t}\r\n.marker-cluster span {\r\n\tline-height: 30px;\r\n\t}',""])},"+s0g":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(t,e,n){!function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/HxI":function(t){t.exports=JSON.parse('{"ready-to-join":"Gotowy do przyłączenia się do rewolucji geoprzestrzennej?","join-subtitle":"Jeśli podoba Ci się nasza praca, OpenLitterMap przyda się twoja pomoc.","free-plan":"Darmowy","free-plan-feature1":"Prześlij 1000 obrazów dziennie.","free-plan-feature2":"Odblokuj odznaki + nagrody.","free-plan-feature3":"Zdobywaj Littercoin.","free-plan-feature4":"Rywalizuj w wielu różnych rankingach.","free-plan-join":"Wchodze w to","startup-plan":"STARTUP","startup-plan-donation":"5 € miesięcznie","startup-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","startup-plan-feature2":"Pomóż nam pokryć nasze koszty.","startup-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","startup-plan-join":"Wspieram to!","basic-plan":"BASIC","basic-plan-donation":"9,99 € miesięcznie","basic-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","basic-plan-feature2":"Pomóż nam pokryć nasze koszty.","basic-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","basic-plan-join":"Wspieram to!","advanced-plan":"ADVANCED","advanced-plan-donation":"€20 miesięcznie","advanced-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","advanced-plan-feature2":"Pomóż nam pokryć nasze koszty.","advanced-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","advanced-plan-join":"Wspieram to!","pro-plan":"PRO","pro-plan-donation":"€30 miesięcznie","pro-plan-feature1":"Sfinansuj rozwój OpenLitterMap.","pro-plan-feature2":"Pomóż nam pokryć nasze koszty.","pro-plan-feature3":"Usiądź wygodnie i ciesz się aktualizacjami.","pro-plan-join":"Wspieram to!"}')},"/X5v":function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/yRl":function(t,e,n){"use strict";var i={name:"Presence",computed:{remaining:function(){return this.$store.state.litter.presence},remainingText:function(){return this.$store.state.litter.presence?this.$t("litter.presence.picked-up-text"):this.$t("litter.presence.still-there-text")},toggle_class:function(){return this.remaining?"button is-danger":"button is-success"}},methods:{toggle:function(){this.$store.commit("togglePresence")}}},r=n("KHd+"),o=Object(r.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"expand-mobile"},[n("strong",{style:{color:t.remaining?"green":"red"}},[t._t("default",[t._v(t._s(t.remainingText))])],2),t._v(" "),n("br"),t._v(" "),n("button",{class:t.toggle_class,on:{click:t.toggle}},[t.remaining?t._t("default",[t._v(t._s(t.$t("litter.presence.still-there")))]):t._t("default",[t._v(t._s(t.$t("litter.presence.picked-up")))])],2)])}),[],!1,null,null,null);e.a=o.exports},0:function(t,e,n){n("bUC5"),t.exports=n("pyCd")},"09JO":function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"La contaminación por plásticos está fuera de control","help-us":"Ayúdanos a crear la base de datos abiertos sobre basura, marcas y contaminación por plásticos más avanzada del mundo","why-collect-data":"¿Por qué deberíamos recolectar estos datos","visibility":"Visibilidad","our-maps-reveal-litter-normality":"Para muchas personas, la basura se ha convertido en algo normal e invisible. Los mapas son poderosos instrumentos porque comunican lo que normalmente no podemos ver","science":"Resolución de problemas","our-data-open-source":"Nuestros datos son abiertos y accesibles. Todo el mundo tiene el mismo derecho, abierto e ilimitado para descargar todos nuestros datos y utilizarlos para cualquier fin","community":"Comunidad","must-work-together":"Necesitamos tu ayuda para crear un cambio de paradigma en la forma de entender y responder a la contaminación","how-does-it-work":"¿Cómo funciona","take-a-photo":"Haz una foto","device-captures-info":"Tu dispositivo móvil puede capturar información valiosa sobre la localización, la hora, el objeto, el material y la marca.","tag-the-litter":"Etiqueta la basura","tag-litter-you-see":"Sólo etiqueta la basura que ves en la foto. Puedes marcar si se ha recogido la basura o si todavía sigue ahí. ¡Puedes subir tus fotos en cualquier momento","share-results":"Comparte tus resultados","share":"Comparte los mapas o descarga nuestros datos. ¡Demostremos a todos cuán contaminado está realmente el mundo","verified":"¡Tu correo electrónico ha sido confirmado! Ahora ya puedes iniciar sesión","close":"Cerrar"}')},"0Ajk":function(t){t.exports=JSON.parse('{"de":{"name":"Alemania","lang":"Aleman"},"en":{"name":"UK","lang":"English"},"es":{"name":"España","lang":"Español"},"fr":{"name":"Francia","lang":"Francés"},"ie":{"name":"Irlanda","lang":"Irlandés"},"it":{"name":"Italia","lang":"Italiano"},"ms":{"name":"Malasia","lang":"Malayo"},"nl":{"name":"Holanda","lang":"Nederlands"},"tk":{"name":"Turquía","lang":"Turco"},"uk":{"name":"UK","lang":"English"},"pl":{"name":"Poland","lang":"Polski"}}')},"0NR4":function(t){t.exports=JSON.parse('{"ready-to-join":"¿Listo para unirte a la revolución geoespacial?","join-subtitle":"Si te gusta nuestro trabajo, OpenLitterMap puede hacer mucho con tu ayuda.","free-plan":"GRATIS","free-plan-feature1":"Sube 1000 imágenes por día.","free-plan-feature2":"Desbloquea Insignias + Recompensas.","free-plan-feature3":"Gana Littercoin.","free-plan-feature4":"Compite en varias tablas de clasificación diferentes","free-plan-join":"¡Estoy dentro!","startup-plan":"STARTUP","startup-plan-donation":"€5 por mes","startup-plan-feature1":"Financia el desarrollo de OpenLitterMap.","startup-plan-feature2":"Ayúdanos a cubrir nuestros costes","startup-plan-feature3":"Siéntate y disfruta de las actualizaciones.","startup-plan-join":"¡Quiero ayudar!","basic-plan":"BÁSICO","basic-plan-donation":"€9.99 por mes","basic-plan-feature1":"Financia el desarrollo de OpenLitterMap.","basic-plan-feature2":"Ayúdanos a cubrir nuestros costes","basic-plan-feature3":"Siéntate y disfruta de las actualizaciones.","basic-plan-join":"¡Quiero ayudar!","advanced-plan":"AVANZADO","advanced-plan-donation":"€20 por mes","advanced-plan-feature1":"Financia el desarrollo de OpenLitterMap.","advanced-plan-feature2":"Ayúdanos a cubrir nuestros costes","advanced-plan-feature3":"Siéntate y disfruta de las actualizaciones.","advanced-plan-join":"¡Quiero ayudar!","pro-plan":"PRO","pro-plan-donation":"€30 por mes","pro-plan-feature1":"Financia el desarrollo de OpenLitterMap.","pro-plan-feature2":"Ayúdanos a cubrir nuestros costes","pro-plan-feature3":"Siéntate y disfruta de las actualizaciones.","pro-plan-join":"¡Esto es asunto serio!"}')},"0TQV":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),o=n("kGIl"),a=n.n(o),s=(n("5A0h"),{name:"BrandsBox",computed:{brands:{get:function(){return this.$store.state.bbox.brands},set:function(t){this.$store.commit("setBrandsBox",t)}},selectedBrandIndex:function(){return this.$store.state.bbox.selectedBrandIndex}},methods:{brandClass:function(t){return this.selectedBrandIndex===t?"is-brand-card selected":"is-brand-card"},isSelected:function(t){return this.selectedBrandIndex===t?" - selected":""},select:function(t){this.$store.commit("selectBrandBoxIndex",t)}}}),l=(n("LB33"),n("KHd+")),u=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"fit-content",on:{click:function(t){t.stopPropagation()}}},[n("p",{directives:[{name:"show",rawName:"v-show",value:t.brands.length>0,expression:"brands.length > 0"}]},[t._v("Select a brand to add to a box")]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:null!==t.selectedBrandIndex,expression:"selectedBrandIndex !== null"}],staticClass:"mb1"},[t._v("When a box is selected, click a box to add the brand")]),t._v(" "),t._l(t.brands,(function(e,i){return n("div",{key:e+i,class:t.brandClass(i),on:{mousedown:function(e){return t.select(i)}}},[t._v(t._s(e)+" "+t._s(t.isSelected(i)))])}))],2)}),[],!1,null,"6090c5f2",null).exports,c={name:"Boxes",components:{BrandsBox:u},computed:{boxes:function(){return this.$store.state.bbox.boxes},boxHidden:function(){return this.$store.state.bbox.boxes.find((function(t){return t.hidden}))},manyBoxes:function(){return this.$store.state.bbox.boxes.length>1}},methods:{activateAndCheckBox:function(t){this.$store.commit("activateBox",t),null!==this.$store.state.bbox.selectedBrandIndex&&this.$store.commit("addSelectedBrandToBox",t)},boxClass:function(t){return t?"is-box is-active":"is-box"},duplicate:function(t){this.$store.commit("duplicateBox",t)},getCategories:function(t){var e=[];return Object.entries(t).map((function(t){Object.keys(t[1]).length>0&&e.push({category:t[0],tags:t[1]})})),e},getCategory:function(t){return this.$i18n.t("litter.categories."+t)},getTags:function(t,e){return this.$i18n.t("litter."+t+"."+e)+": 1"},hideInactive:function(){this.$store.commit("toggleHiddenBoxes")},removeTag:function(t,e){this.$store.commit("removeBboxTag",{category:t,tag_key:e})},rotate:function(t){this.$store.commit("rotateBox",t)},showAll:function(){this.$store.commit("showAllBoxes")},toggleLabel:function(t){this.$store.commit("toggleBoxLabel",t)}}},d=(n("nvJ6"),Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"column is-one-third pl3 pt7"},[n("BrandsBox"),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.manyBoxes,expression:"manyBoxes"}],staticClass:"button is-small is-primary mb1",on:{click:function(e){return e.stopPropagation(),t.hideInactive(e)}}},[t._v("Hide boxes")]),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:t.boxHidden,expression:"boxHidden"}],staticClass:"button is-small is-info mb1",on:{click:t.showAll}},[t._v("Show boxes")]),t._v(" "),t._l(t.boxes,(function(e,i){return n("div",{key:e.id,class:t.boxClass(e.active),on:{click:function(n){return n.stopPropagation(),t.activateAndCheckBox(e.id)}}},[n("p",{staticClass:"ma"},[t._v("Box: "),n("span",{staticClass:"is-bold"},[t._v(t._s(e.id))])]),t._v(" "),n("button",{staticClass:"button is-small duplicate-box",attrs:{disabled:""},on:{click:function(n){return t.duplicate(e.id)}}},[t._v("Todo - Duplicate Box")]),t._v(" "),n("button",{staticClass:"button is-small toggle-box",on:{click:function(n){return t.toggleLabel(e.id)}}},[t._v("Toggle Label")]),t._v(" "),n("button",{staticClass:"button is-small is-dark rotate-box",on:{click:function(n){return t.rotate(e.id)}}},[t._v("Rotate")]),t._v(" "),n("p",[t._v("Left: "+t._s(e.left))]),t._v(" "),n("p",[t._v("Top: "+t._s(e.top))]),t._v(" "),n("p",[t._v("Width: "+t._s(e.width))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Height: "+t._s(e.height))]),t._v(" "),n("div",{staticClass:"container"},[n("div",{staticClass:"box-categories"},[n("span",{staticClass:"box-category"},[t._v(t._s(t.getCategory(e.category)))]),t._v(" "),n("span",{staticClass:"tag is-medium is-info box-label",domProps:{innerHTML:t._s(t.getTags(e.category,e.tag))},on:{click:function(n){return t.removeTag(e.category,e.tag)}}}),t._v(" "),e.brand?n("div",[n("p",{staticClass:"box-category"},[t._v("Brand")]),t._v(" "),n("span",{staticClass:"tag is-medium is-info box-label w100",domProps:{innerHTML:t._s(t.getTags("brands",e.brand))},on:{click:function(n){return t.removeTag("brands",e.brand)}}})]):t._e()])])])}))],2)}),[],!1,null,"4bd574db",null).exports),h=n("vne5"),f=n("n2md"),p=n("O1jo"),m=n.n(p),g=n("5n2/"),v=n.n(g);function y(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function _(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){y(o,i,r,a,s,"next",t)}function s(t){y(o,i,r,a,s,"throw",t)}a(void 0)}))}}var b={name:"BoundingBox",components:{Loading:a.a,Tags:h.a,AddTags:f.a,Boxes:d,VueDragResize:m.a,BrandsBox:u},directives:{ClickOutside:v.a},created:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.innerWidth<1e3&&(t.isMobile=!0,t.stickSize=30),window.location.href.includes("verify")?(t.isVerifying=!0,t.$store.dispatch("GET_NEXT_BOXES_TO_VERIFY")):t.$store.dispatch("GET_NEXT_BBOX");case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{stickSize:6,skip_processing:!1,update_processing:!1,wrong_tags_processing:!1,isMobile:!1,isVerifying:!1}},mounted:function(){var t=this;document.addEventListener("keydown",(function(e){var n=e.key;"ArrowUp"===n?(e.preventDefault(),t.$store.commit("moveBoxUp")):"ArrowRight"===n?(e.preventDefault(),t.$store.commit("moveBoxRight")):"ArrowDown"===n?(e.preventDefault(),t.$store.commit("moveBoxDown")):"ArrowLeft"===n&&(e.preventDefault(),t.$store.commit("moveBoxLeft"))}))},computed:{boxes:function(){return this.$store.state.bbox.boxes},disabled:function(){return this.skip_processing||this.update_processing||this.wrong_tags_processing},getTitle:function(){return this.isVerifying?"Verify boxes for image # ".concat(this.imageId):"Add bounding box to image # ".concat(this.imageId)},image:function(){return"backgroundImage: url("+this.$store.state.admin.filename+")"},imageId:function(){return this.$store.state.admin.id},isAdmin:function(){return this.$store.state.user.admin||this.$store.state.user.helper},littercoinEarned:function(){return this.$store.state.user.user.littercoin_owed+this.$store.state.user.user.littercoin_allowance},littercoinProgress:function(){return this.$store.state.user.user.bbox_verification_count+"%"},loading:function(){return this.$store.state.admin.loading},skipButton:function(){var t="button is-medium is-warning mt1 ";return this.skip_processing?t+" is-loading":t},totalBoxCount:function(){return this.$store.state.bbox.totalBoxCount},usersBoxCount:function(){return this.$store.state.bbox.usersBoxCount},updateButton:function(){var t="button is-medium is-primary mt1 ";return this.update_processing?t+"is-loading":t},wrongTagsButton:function(){var t="button is-medium is-primary mt1 ";return this.wrong_tags_processing?t+"is-loading":t}},methods:{activated:function(t){this.$store.commit("activateBox",t)},boxText:function(t,e,n,i){return e?this.$t("litter.".concat(n,".").concat(i)):t},deactivate:function(){this.$store.commit("deactivateBoxes")},dragging:function(t){this.$store.commit("updateBoxPosition",t)},resize:function(t){this.stickSize=1,this.$store.commit("updateBoxPosition",t)},resizestop:function(){this.stickSize=this.isMobile?30:6},skip:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.skip_processing=!0,e.next=3,t.$store.dispatch("BBOX_SKIP_IMAGE",t.isVerifying);case 3:t.skip_processing=!1;case 4:case"end":return e.stop()}}),e)})))()},update:function(){var t=this;return _(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.update_processing=!0,e.next=3,t.$store.dispatch("BBOX_UPDATE_TAGS");case 3:t.update_processing=!1;case 4:case"end":return e.stop()}}),e)})))()},wrongTags:function(){this.wrong_tags_processing=!0,this.$store.dispatch("BBOX_WRONG_TAGS"),this.wrong_tags_processing=!1}}},w=(n("WA2R"),Object(l.a)(b,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"relative h100",on:{click:t.deactivate}},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"columns mt1"},[n("Boxes"),t._v(" "),n("div",{staticClass:"column is-one-third"},[n("h1",{staticClass:"title is-2 has-text-centered"},[t._v(t._s(t.getTitle))]),t._v(" "),n("div",{staticClass:"display-inline-grid",on:{click:function(t){t.stopPropagation()}}},[n("div",{ref:"img",style:t.image,attrs:{id:"image-wrapper"}},t._l(t.boxes,(function(e){return n("VueDragResize",{directives:[{name:"show",rawName:"v-show",value:!e.hidden,expression:"! box.hidden"}],key:e.id,attrs:{w:e.width,h:e.height,x:e.left,y:e.top,isActive:e.active,minw:5,minh:5,stickSize:t.stickSize,parentLimitation:!0,z:e.id},on:{clicked:function(n){return t.activated(e.id)},dragging:t.dragging,resizing:t.resize,resizestop:t.resizestop}},[n("p",{staticClass:"box-tag"},[t._v(t._s(t.boxText(e.id,e.showLabel,e.category,e.tag)))])])})),1),t._v(" "),n("add-tags",{directives:[{name:"show",rawName:"v-show",value:t.isAdmin,expression:"isAdmin"}],attrs:{id:t.imageId,annotations:!0,isVerifying:t.isVerifying}})],1)]),t._v(" "),n("div",{staticClass:"column is-2 is-offset-1 has-text-centered"},[n("Tags",{attrs:{admin:t.isAdmin}}),t._v(" "),t.isAdmin?n("button",{class:t.updateButton,attrs:{disabled:t.disabled},on:{click:t.update}},[t._v("Update Tags")]):n("button",{class:t.wrongTagsButton,attrs:{disabled:t.disabled},on:{click:t.wrongTags}},[t._v("Wrong Tags")]),t._v(" "),n("button",{class:t.skipButton,attrs:{disabled:t.disabled},on:{click:t.skip}},[t._v("Cannot use this image")])],1)],1),t._v(" "),n("div",{staticClass:"littercoin-pos"},[n("p",[t._v("Your boxes: "+t._s(this.usersBoxCount))]),t._v(" "),n("p",[t._v("Total Boxes: "+t._s(this.totalBoxCount))]),t._v(" "),n("p",[t._v("Littercoin earned: "+t._s(this.littercoinEarned))]),t._v(" "),n("p",[t._v("Next Littercoin: "+t._s(this.littercoinProgress))])])],1)}),[],!1,null,null,null));e.default=w.exports},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&t>=4||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(n("wd/R"))},"0pI5":function(t,e,n){"use strict";var i=n("79uH");n.n(i).a},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})}(n("wd/R"))},"15/P":function(t){t.exports=JSON.parse('{"login-btn":"Inloggen","signup-text":"Aanmelden","forgot-password":"Wachtwoord vergeten?"}')},"152u":function(t,e,n){var i=n("tITq");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"15wQ":function(t){t.exports=JSON.parse('{"address":"Address","add-tag":"Add Tag","coordinates":"Coordinates","device":"Device","next":"Next Image","no-tags":"You don\'t have anything to tag at the moment.","picked-up-title":"Picked Up?","please-upload":"Upload more photos","previous":"Previous Image","removed":"The litter has been removed","still-there":"The litter is still there","taken":"Taken","to-tag":"Images left to tag","total-uploaded":"Total images uploaded","uploaded":"Uploaded","confirm-delete":"Do you want to delete this image? This cannot be undone.","recently-tags":"Recently used tags: ","clear-tags":"Clear recent tags?","clear-tags-btn":"Clear recent tags"}')},"1C48":function(t,e,n){var i=n("822n");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"1C7U":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.captcha {\n display: flex;\n justify-content: center;\n}\n.call-container {\n padding-top: 5em;\n margin-bottom: 2em;\n margin-left: auto;\n margin-right: auto;\n max-width: 50em;\n}\n.field {\n padding-top: 0.5em;\n}\n.input-group {\n\t\tpadding-bottom: 1em;\n}\n.is-danger {\n\t\tcolor: red;\n}\n.signup-container {\n margin: auto;\n width: 35em;\n}\n\n /* Small screens */\n@media only screen and (max-width: 600px)\n {\n.call-container {\n padding: 2em 1em;\n margin-bottom: 0 !important;\n}\n.signup-container {\n width: 20em;\n}\n}\n\n",""])},"1Fcm":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),o=n("kGIl"),a=n.n(o),s=(n("5A0h"),n("n2md")),l=n("vne5"),u=n("wd/R"),c=n.n(u);function d(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function h(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){d(o,i,r,a,s,"next",t)}function s(t){d(o,i,r,a,s,"throw",t)}a(void 0)}))}}var f={name:"VerifyPhotos",components:{Loading:a.a,AddTags:s.a,Tags:l.a},created:function(){var t=this;return h(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.loading=!0,t.$store.dispatch("GET_NEXT_ADMIN_PHOTO"),t.loading=!1;case 3:case"end":return e.stop()}}),e)})))()},data:function(){return{loading:!0,processing:!1,btn:"button is-large is-success",deleteButton:"button is-large is-danger mb1",deleteVerify:"button is-large is-warning mb1",verifyClass:"button is-large is-success mb1"}},computed:{checkUpdateTagsDisabled:function(){return!(!this.processing&&!1!==this.$store.state.litter.hasAddedNewTag)},delete_button:function(){return this.processing?this.deleteButton+" is-loading":this.deleteButton},delete_verify_button:function(){return this.processing?this.deleteVerify+" is-loading":this.deleteVerify},photo:function(){return this.$store.state.admin.photo},photosNotProcessed:function(){return this.$store.state.admin.not_processed},photosAwaitingVerification:function(){return this.$store.state.admin.awaiting_verification},update_new_tags_button:function(){return this.processing?this.verifyClass+" is-loading":this.verifyClass},uploadedTime:function(){return c()(this.photo.created_at).format("LLL")},verify_correct_button:function(){return this.processing?this.btn+" is-loading":this.btn}},methods:{adminDelete:function(t){var e=this;return h(r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("ADMIN_DELETE_IMAGE");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})))()},clearTags:function(){this.$store.commit("setAllTagsToZero")},clearRecentTags:function(){this.$store.commit("initRecentTags",{}),this.$localStorage.remove("recentTags")},incorrect:function(){var t=this;return h(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_RESET_TAGS");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},verifyCorrect:function(){var t=this;return h(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_VERIFY_CORRECT");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},verifyDelete:function(){var t=this;return h(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_VERIFY_DELETE");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()},updateNewTags:function(){var t=this;return h(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("ADMIN_UPDATE_WITH_NEW_TAGS");case 3:t.processing=!1;case 4:case"end":return e.stop()}}),e)})))()}}},p=(n("ipjU"),n("KHd+")),m=Object(p.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container mt3"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",[0===this.photosAwaitingVerification&&0===this.photosNotProcessed?n("div",[n("p",{staticClass:"title is-3"},[t._v("All done.")])]):n("div",[n("h1",{staticClass:"title is-2 has-text-centered",staticStyle:{"margin-bottom":"1em"}},[t._v("\n\t\t\t\t\t#"+t._s(this.photo.id)+" Uploaded "+t._s(this.uploadedTime)+"\n\t\t\t\t")]),t._v(" "),n("p",{staticClass:"subtitle is-5 has-text-centered",staticStyle:{"margin-bottom":"4em"}},[t._v("\n\t\t\t \t\t"+t._s(this.photo.display_name)+"\n\t\t\t \t")]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column has-text-centered"},[n("p",{staticClass:"subtitle is-5"},[t._v("Uploaded, not tagged: "+t._s(this.photosNotProcessed))]),t._v(" "),n("p",{staticClass:"subtitle is-5"},[t._v("Tagged, awaiting verification: "+t._s(this.photosAwaitingVerification))]),t._v(" "),n("div",{staticStyle:{"padding-top":"20%"}},[n("p",[t._v("Accept data, verify, but delete the image.")]),t._v(" "),n("button",{class:t.delete_verify_button,attrs:{disabled:t.processing},on:{click:t.verifyDelete}},[t._v("\n\t\t\t\t\t \tVerify & Delete\n\t\t\t\t\t ")]),t._v(" "),n("p",[t._v("Delete the image.")]),t._v(" "),n("button",{class:t.delete_button,attrs:{disabled:t.processing},on:{click:t.adminDelete}},[t._v("\n\t\t\t\t\t \tDELETE\n\t\t\t\t\t ")]),t._v(" "),n("br"),t._v(" "),n("button",{on:{click:t.clearRecentTags}},[t._v("Clear recent tags")])])]),t._v(" "),n("div",{staticClass:"column is-half",staticStyle:{"text-align":"center"}},[n("img",{attrs:{src:this.photo.filename,width:"300",height:"250"}})]),t._v(" "),n("div",{staticClass:"column has-text-centered",staticStyle:{position:"relative"}},[n("Tags",{attrs:{admin:!0}}),t._v(" "),n("div",{staticStyle:{"padding-top":"3em"}},[n("button",{staticClass:"button is-medium is-dark",on:{click:t.clearTags}},[t._v("Clear user input")]),t._v(" "),n("p",[t._v("To undo this, just refresh the page")])])],1)]),t._v(" "),n("div",{staticClass:"has-text-centered mb1"},[n("button",{class:t.verify_correct_button,attrs:{disabled:t.processing},on:{click:t.verifyCorrect}},[t._v("VERIFY CORRECT")]),t._v(" "),n("button",{staticClass:"button is-large is-danger",attrs:{disabled:t.processing},on:{click:t.incorrect}},[t._v("FALSE")])]),t._v(" "),n("add-tags",{attrs:{admin:!0,id:t.photo.id}}),t._v(" "),n("div",{staticStyle:{"padding-top":"1em","text-align":"center"}},[n("p",{staticClass:"strong"},[t._v("Update the image and save the new data")]),t._v(" "),n("button",{class:t.update_new_tags_button,attrs:{disabled:t.checkUpdateTagsDisabled},on:{click:t.updateNewTags}},[t._v("\n\t\t\t\t\t\tUpdate with new tags\n\t\t\t\t\t")])])],1)])],1)}),[],!1,null,"3c8fef5e",null);e.default=m.exports},"1FiT":function(t){t.exports=JSON.parse('{"privacy-title":"Controla tu privacidad","privacy-text":"Controla tu privacidad para cada equipo al que te hayas unido.","maps":{"team-map":"Mapa del equipo","name-will-appear":"Tu nombre aparecerá en los mapas","username-will-appear":"Tu nombre de usuario aparecerá en los mapas","will-not-appear":"Tu nombre y nombre de usuario aparecerán en los mapas"},"leaderboards":{"team-leaderboard":"Tabla de clasificación del equipo","name-will-appear":"Tu nombre aparecerá en las tablas de clasificación","username-will-appear":"Tu nombre de usuario aparecerá en las tablas de clasificación","will-not-appear":"Tu nombre y nombre de usuario aparecerán en las tablas de clasificación"},"submit-one-team":"Guardar para este equipo","apply-all-teams":"Aplicar a todos los equipos"}')},"1Hnl":function(t,e,n){var i=n("NOax");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"1O6V":function(t){t.exports=JSON.parse('{"email-you":"Want us to email you occasionally with good news","subscribe":"Subscribe","subscribed-success-msg":"You have been subscribed to the good news! You can unsubscribe at any time","need-your-help":"We need your help to create the world\'s most advanced and accessible database on pollution","read":"READ","blog":"Blog","research-paper":"Research Paper","watch":"WATCH","help":"HELP","join-the-team":"Join the Team","join-slack":"Join Slack","create-account":"Create Account","fb-group":"Facebook Group","single-donation":"Single Donation","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap is a flagship product of GeoTech Innovations Ltd., a startup in Ireland pioneering essential citizen science services #650323","enter-email":"Enter your email address","references":"References","credits":"Credits"}')},"1SYZ":function(t){t.exports=JSON.parse('{"olm-teams":"Equipos de OpenLitterMap","dashboard":"Dashboard","join-a-team":"Únete a un equipo","create-a-team":"Crea un equipo","your-teams":"Tus equipos","leaderboard":"Tabla de clasificación","settings":"Ajustes","teams-dashboard":"Dashboard de equipos ","photos-uploaded":"Fotos subidas","litter-tagged":"Basura etiquetada","members-uploaded":"Miembros del equipo con fotos subidas","all-teams":"Todos los equipos","times":{"today":"Hoy","week":"Esta semana","month":"Este mes","year":"Este año","all":"Todos los años","created_at":"Subida el","datetime":"Tomada el"}}')},"1VgY":function(t,e,n){"use strict";var i=n("1C48");n.n(i).a},"1WXE":function(t,e,n){"use strict";var i=n("L5yb");n.n(i).a},"1k10":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".grid-container[data-v-65329fa1] {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr 1fr;\n grid-column-gap: 1em;\n grid-row-gap: 1em;\n padding-bottom: 2em;\n}\n@media screen and (max-width: 1000px) {\n.grid-container[data-v-65329fa1] {\n grid-template-columns: 1fr 1fr;\n grid-row-gap: 2em !important;\n}\n}\n@media screen and (max-width: 600px) {\n.grid-container[data-v-65329fa1] {\n grid-template-columns: 1fr;\n grid-row-gap: 2em !important;\n}\n}",""])},"1lel":function(t){t.exports=JSON.parse('{"littercoin-header":"Littercoin (LTRX)","back-later":"Esto volverá más tarde","claim-tokens":"Si quieres simplemente reclamar tus tokens y acceder a tu monedero desde otro lugar, introduce el ID de tu monedero y se te enviarán tus ganancias."}')},"1ppg":function(t,e,n){!function(t){"use strict";t.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rPI":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Teams","dashboard":"Dashboard","join-a-team":"Join a Team","create-a-team":"Create a Team","your-teams":"Yours Teams","leaderboard":"Leaderboard","settings":"Settings","teams-dashboard":"Teams Dashboard","photos-uploaded":"Photos uploaded","litter-tagged":"Litter tagged","members-uploaded":"Team members uploaded","all-teams":"All Teams","times":{"today":"Today","week":"This week","month":"This month","year":"This year","all":"All time","created_at":"Uploaded at","datetime":"Taken at"}}')},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1rbm":function(t){t.exports=JSON.parse('{"maps1":"We are creating Open Data on Plastic Pollution","maps2":"Anyone can download the data and use it.","maps3":"See Global Map","global-leaderboard":"Global Leaderboard","position":"Position","name":"Name","xp":"XP","previous-target":"Previous Target","next-target":"Next Target","litter":"Litter","total-verified-litter":"Total Litter","total-verified-photos":"Total Photos","total-littercoin-issued":"Total Littercoin","number-of-contributors":"Number of Contributors","avg-img-per-person":"Average Image per Person","avg-litter-per-person":"Average Litter per Person","leaderboard":"Leaderboard","time-series":"Time-series","options":"Options","most-data":"Most Open Data","most-data-person":"Most Open Data Per Person","download-open-verified-data":"Free and Open Verified Citizen Science Data on Plastic Pollution.","stop-plastic-ocean":"Let\'s stop plastic going into the ocean.","enter-email-sent-data":"Please enter an email address to which the data will be sent:"}')},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"22Q+":function(t,e,n){"use strict";var i=n("2AZE");n.n(i).a},"2AZE":function(t,e,n){var i=n("3jFI");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"2SVd":function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},"2Uk4":function(t){t.exports=JSON.parse('{"card-number":"Card Number","card-holder":"Card Holder\'s Name","exp":"Expiration Date","cvv":"CVV","placeholders":{"card-number":"Your 16 digit card number","card-holder":"Card holder\'s name","exp-month":"Month","exp-year":"Year","cvv":"***"}}')},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"30qX":function(t){t.exports=JSON.parse('{"do-you-pickup":"zdbierasz śmieci, czy je tam zostawiasz?","save-def-settings":"Tutaj możesz zapisać swoje domyślne ustawienie.","change-value-of-litter":"Możesz także zmienić wartość każdego odpadu podczas ich oznaczania.","status":"Aktualny status","toggle-presence":"Przełącz obecność","pickup?":"zbierz?"}')},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?t>=10?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})}(n("wd/R"))},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3e7H":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.ref-title[data-v-74757076] {\n font-size: 2em;\n font-weight: 600;\n}\n\n",""])},"3jFI":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".list-enter-active, .list-leave-active {\n transition: all 1s;\n}\n.list-enter, .list-leave-to {\n transform: translateX(30px);\n}\n.list-item {\n display: grid;\n}\n.list-move {\n transition: all 1s ease-in-out;\n}\n.new-user-text-narrow {\n display: none;\n}\n.sidebar-menu {\n position: absolute;\n top: 0;\n width: 20%;\n margin-left: 80%;\n display: table-row;\n height: 100%;\n overflow-y: scroll;\n padding-top: 30px;\n z-index: 999;\n pointer-events: none;\n}\n@media (max-width: 910px) {\n.sidebar-menu {\n width: 25%;\n margin-left: 75%;\n}\n}\n@media (max-width: 730px) {\n.sidebar-menu {\n width: 30%;\n margin-left: 70%;\n}\n}\n@media (max-width: 620px) {\n.sidebar-menu {\n width: 35%;\n margin-left: 65%;\n}\n}\n@media (max-width: 530px) {\n.sidebar-menu {\n width: 35%;\n margin-left: 65%;\n}\n.city-name {\n display: none;\n}\n}\n@media (max-width: 500px) {\n.sidebar-menu {\n width: 45%;\n margin-left: 55%;\n}\n.city-name {\n display: none;\n}\n}\n.sidebar-title {\n padding: 20px;\n text-align: center;\n font-size: 24px;\n font-weight: 700;\n}\n.event {\n border-radius: 6px;\n width: 80%;\n margin-left: 10%;\n margin-bottom: 10px;\n display: grid;\n grid-template-columns: 1fr 3fr;\n}\n.event-title {\n padding: 10px;\n}\n.grid-img {\n margin: auto;\n font-size: 22px;\n text-align: center;\n}\n.grid-main {\n margin-top: auto;\n margin-bottom: auto;\n padding: 10px;\n}\n.ltr-icon {\n max-width: 55%;\n padding-top: 0.5em;\n}\n.ltr-strong {\n font-weight: 600;\n}",""])},"4CRn":function(t){t.exports=JSON.parse('{"categories":{"alcohol":"Alcohol","art":"Kunst","brands":"Merken","coastal":"Kust","coffee":"Koffie","dumping":"Lozingen","food":"Voedsel","industrial":"Industrieel","sanitary":"Hygiëne","softdrinks":"Frisdrank","smoking":"Rookwaar","other":"Overig","dogshit":"Huisdieren"},"smoking":{"butts":"Sigaretten/Peuken","lighters":"Aanstekers","cigaretteBox":"Sigarettenpakje","tobaccoPouch":"Tabakszak","skins":"Vloeipapier","smoking_plastic":"Sigarettenpakplastic","filters":"Filters","filterbox":"Filterverpakking","vape_pen":"Vape pen","vape_oil":"Vape olie","smokingOther":"Rookwaar-Overig"},"alcohol":{"beerBottle":"Bier Flessen","spiritBottle":"Sterke Drank Flessen","wineBottle":"Wijn Flessen","beerCan":"Bier Blikken","brokenGlass":"Gebroken Glas","bottleTops":"Bierfles Doppen","paperCardAlcoholPackaging":"Papieren Verpakking","plasticAlcoholPackaging":"Plastic Verpakking","pint":"Bierglas","six_pack_rings":"Six-pack keelclips","alcohol_plastic_cups":"Plastic Bekers","alcoholOther":"Alcohol-Overig"},"coffee":{"coffeeCups":"Koffie Bekers","coffeeLids":"Koffie Deksels","coffeeOther":"Koffie-Overig"},"food":{"sweetWrappers":"Snoep Papiertjes","paperFoodPackaging":"Papier/Karton Verpakking","plasticFoodPackaging":"Plastic Verpakking","plasticCutlery":"Plastic Bestek","crisp_small":"Chips Verpakking (klein)","crisp_large":"Chips Verpakking (groot)","styrofoam_plate":"Piepschuim bord","napkins":"Servetten","sauce_packet":"Saus Bakjes","glass_jar":"Glazen Pot","glass_jar_lid":"Glazen Pot Deksel","aluminium_foil":"Aluminium folie","pizza_box":"Pizza Doos","foodOther":"Voedsel-Overig"},"softdrinks":{"waterBottle":"Plastic Water Fles","fizzyDrinkBottle":"Plastic Frisdrank Fles","tinCan":"Blikje","bottleLid":"Fles Dop","bottleLabel":"Fles Label","sportsDrink":"Sportdrank Fles","straws":"Rietjes","plastic_cups":"Plastic Bekers","plastic_cup_tops":"Plastic Beker Deksel","milk_bottle":"Melk Fles","milk_carton":"Melk Karton","paper_cups":"Papieren Beker","juice_cartons":"Sap Karton","juice_bottles":"Sap Fles","juice_packet":"Juice Packet","ice_tea_bottles":"IJsthee Fles","ice_tea_can":"IJsthee Blikje","energy_can":"Energie Blikje","pullring":"Blik Lipje","strawpacket":"Rietjes Verpakking","styro_cup":"Piepschuim Beker","broken_glass":"Gebroken Glas","softDrinkOther":"Frisdrank-Overig"},"sanitary":{"gloves":"Handschoenen","facemask":"Mondkapje","condoms":"Condoom","nappies":"Luier","menstral":"Maandverband","deodorant":"Deodorant","ear_swabs":"Wattenstaaf","tooth_pick":"Tandenstoker","tooth_brush":"Tandenborstel","wetwipes":"Natte Doekjes","hand_sanitiser":"Hand Reiniger","sanitaryOther":"Hygiëne-Overig"},"dumping":{"small":"Klein","medium":"Middel","large":"Groot"},"industrial":{"oil":"Olie","industrial_plastic":"Plastic","chemical":"Chemicaliën","bricks":"Stenen","tape":"Plakband","industrial_other":"Industrieel-Overig"},"coastal":{"microplastics":"Microplastic","mediumplastics":"Middelplastics","macroplastics":"Grootplastics","rope_small":"Klein touw","rope_medium":"Middel touw","rope_large":"Groot touw","fishing_gear_nets":"Vistuig/net","ghost_nets":"Ghost nets","buoys":"Boei","degraded_plasticbottle":"Gedegradeerde Plastic Fles","degraded_plasticbag":"Gedegradeerde Plastic Tas","degraded_straws":"Gedegradeerde Rietjes","degraded_lighters":"Gedegradeerde Aanstekers","balloons":"Ballonnen","lego":"Lego","shotgun_cartridges":"Geweer Patronen","styro_small":"Piepschuim klein","styro_medium":"Piepschuim middel","styro_large":"Piepschuim groot","coastal_other":"Kust-Overig"},"brands":{"adidas":"Adidas","aldi":"Aldi","amazon":"Amazon","apple":"Apple","applegreen":"Applegreen","asahi":"Asahi","avoca":"Avoca","ballygowan":"Ballygowan","bewleys":"Bewleys","brambles":"Brambles","budweiser":"Budweiser","bulmers":"Bulmers","burgerking":"Burgerking","butlers":"Butlers","cadburys":"Cadburys","cafenero":"Cafenero","camel":"Camel","carlsberg":"Carlsberg","centra":"Centra","circlek":"Circlek","coke":"Coca-Cola","coles":"Coles","colgate":"Colgate","corona":"Corona","costa":"Costa","doritos":"Doritos","drpepper":"DrPepper","dunnes":"Dunnes","duracell":"Duracell","durex":"Durex","esquires":"Esquires","evian":"Evian","fosters":"Fosters","frank_and_honest":"Frank-and-Honest","fritolay":"Frito-Lay","gatorade":"Gatorade","gillette":"Gillette","guinness":"Guinness","haribo":"Haribo","heineken":"Heineken","insomnia":"Insomnia","kellogs":"Kellogs","kfc":"KFC","lego":"Lego","lidl":"Lidl","lindenvillage":"Lindenvillage","lolly_and_cookes":"Lolly-and-cookes","loreal":"Loreal","lucozade":"Lucozade","marlboro":"Marlboro","mars":"Mars","mcdonalds":"McDonalds","nero":"Nero","nescafe":"Nescafe","nestle":"Nestle","nike":"Nike","obriens":"O-Briens","pepsi":"Pepsi","powerade":"Powerade","redbull":"Redbull","ribena":"Ribena","sainsburys":"Sainsburys","samsung":"Samsung","spar":"Spar","starbucks":"Starbucks","stella":"Stella","subway":"Subway","supermacs":"Supermacs","supervalu":"Supervalu","tayto":"Tayto","tesco":"Tesco","thins":"Thins","volvic":"Volvic","waitrose":"Waitrose","walkers":"Walkers","wilde_and_greene":"Wilde-and-Greene","woolworths":"Woolworths","wrigleys":"Wrigleys"},"trashdog":{"trashdog":"Hond bij Afval","littercat":"Kat bij Afval","duck":"Eend bij Afval"},"other":{"dogshit":"Hondendrol","pooinbag":"Hondendrol in zakje","automobile":"Auto","clothing":"Kleding","traffic_cone":"Verkeerspilon","life_buoy":"Levensboei","plastic":"Onbekend Plastic","dump":"Illegale Dumping","metal":"Metalen Object","plastic_bags":"Plastic Tas","election_posters":"Verkiezingsposter","forsale_posters":"Tekoop Poster","books":"Boeken","magazine":"Tijdschrift","paper":"Krant","stationary":"Briefpapier","washing_up":"Afwasmiddel Fles","hair_tie":"Haar Elastiek","ear_plugs":"Oordopjes (muziek)","batteries":"Batterijen","elec_small":"Elektrisch klein","elec_large":"Elektrisch groot","random_litter":"Willekeurig afval","balloons":"Ballonnen","bags_litter":"Vuilniszakken met afval","overflowing_bins":"Uitpuilende vuilnisbakken","tyre":"Band","cable_tie":"plastic binder (tie rip)","other":"Overig-Overig"},"presence":{"picked-up":"Ik heb het opgeruimd!","still-there":"Het ligt er nog.","picked-up-text":"Het is opgeruimd.","still-there-text":"Het afval is er nog!"},"no-tags":"Geen kenmerken","not-verified":"In afwachting van verificatie","dogshit":{"poo":"Hondendrol!","poo_in_bag":"Hondendrol in zakje!"}}')},"4Cft":function(t,e,n){var i=n("wa5x");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?t>=10?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(n("wd/R"))},"4Plr":function(t){t.exports=JSON.parse('{"olm-teams":"OpenLitterMap Teams","dashboard":"Panel nawigacyjny","join-a-team":"Dołącz do drużyny","create-a-team":"Stwórz drużyne","your-teams":"Twoje drużyny","leaderboard":"Tablica wyników","settings":"Ustawienia","teams-dashboard":"Panel zespołów","photos-uploaded":"Zdjęcia przesłane","litter-tagged":"Otagowane odpady","members-uploaded":"Członkowie drużyny przesłali","all-teams":"Wszystkie drużyny","times":{"today":"Dzisiaj","week":"W tym tygodniu","month":"Ten miesiąc","year":"Ten rok","all":"Cały okres","created_at":"Przesłane w","datetime":"Zrobiono o godzinie"}}')},"4R65":function(t,e,n){!function(t){"use strict";function e(t){var e,n,i,r;for(n=1,i=arguments.length;n0?Math.floor(t):Math.ceil(t)};function A(t,e,n){return t instanceof P?t:g(t)?new P(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new P(t.x,t.y):new P(t,e,n)}function I(t,e){if(t)for(var n=e?[t,e]:t,i=0,r=n.length;i=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,o=r.x>=e.x&&i.x<=n.x,a=r.y>=e.y&&i.y<=n.y;return o&&a},overlaps:function(t){t=N(t);var e=this.min,n=this.max,i=t.min,r=t.max,o=r.x>e.x&&i.xe.y&&i.y=i.lat&&n.lat<=r.lat&&e.lng>=i.lng&&n.lng<=r.lng},intersects:function(t){t=j(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),o=r.lat>=e.lat&&i.lat<=n.lat,a=r.lng>=e.lng&&i.lng<=n.lng;return o&&a},overlaps:function(t){t=j(t);var e=this._southWest,n=this._northEast,i=t.getSouthWest(),r=t.getNorthEast(),o=r.lat>e.lat&&i.late.lng&&i.lng1,Lt=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",l,e),window.removeEventListener("testPassiveEventSupport",l,e)}catch(t){}return t}(),St=!!document.createElement("canvas").getContext,Mt=!(!document.createElementNS||!q("svg").createSVGRect),Tt=!Mt&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}();function Et(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var Ot={ie:J,ielt9:K,edge:Q,webkit:tt,android:et,android23:nt,androidStock:rt,opera:ot,chrome:at,gecko:st,safari:lt,phantom:ut,opera12:ct,win:dt,ie3d:ht,webkit3d:ft,gecko3d:pt,any3d:mt,mobile:gt,mobileWebkit:vt,mobileWebkit3d:yt,msPointer:_t,pointer:bt,touch:wt,mobileOpera:xt,mobileGecko:kt,retina:Ct,passiveEvents:Lt,canvas:St,svg:Mt,vml:Tt},Pt=_t?"MSPointerDown":"pointerdown",Dt=_t?"MSPointerMove":"pointermove",At=_t?"MSPointerUp":"pointerup",It=_t?"MSPointerCancel":"pointercancel",Nt={},Rt=!1;function jt(t,e,n,r){return"touchstart"===e?function(t,e,n){var r=i((function(t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&Ie(t),Bt(t,e)}));t["_leaflet_touchstart"+n]=r,t.addEventListener(Pt,r,!1),Rt||(document.addEventListener(Pt,zt,!0),document.addEventListener(Dt,Yt,!0),document.addEventListener(At,Ft,!0),document.addEventListener(It,Ft,!0),Rt=!0)}(t,n,r):"touchmove"===e?function(t,e,n){var i=function(t){t.pointerType===(t.MSPOINTER_TYPE_MOUSE||"mouse")&&0===t.buttons||Bt(t,e)};t["_leaflet_touchmove"+n]=i,t.addEventListener(Dt,i,!1)}(t,n,r):"touchend"===e&&function(t,e,n){var i=function(t){Bt(t,e)};t["_leaflet_touchend"+n]=i,t.addEventListener(At,i,!1),t.addEventListener(It,i,!1)}(t,n,r),this}function zt(t){Nt[t.pointerId]=t}function Yt(t){Nt[t.pointerId]&&(Nt[t.pointerId]=t)}function Ft(t){delete Nt[t.pointerId]}function Bt(t,e){for(var n in t.touches=[],Nt)t.touches.push(Nt[n]);t.changedTouches=[t],e(t)}var $t,Ht,Ut,Vt,Wt,Gt=_t?"MSPointerDown":bt?"pointerdown":"touchstart",qt=_t?"MSPointerUp":bt?"pointerup":"touchend",Zt="_leaflet_",Xt=he(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Jt=he(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Kt="webkitTransition"===Jt||"OTransition"===Jt?Jt+"End":"transitionend";function Qt(t){return"string"==typeof t?document.getElementById(t):t}function te(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(t,null);n=i?i[e]:null}return"auto"===n?null:n}function ee(t,e,n){var i=document.createElement(t);return i.className=e||"",n&&n.appendChild(i),i}function ne(t){var e=t.parentNode;e&&e.removeChild(t)}function ie(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function re(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function oe(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function ae(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=ce(t);return n.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(n)}function se(t,e){if(void 0!==t.classList)for(var n=d(e),i=0,r=n.length;i1)return;var e=Date.now(),n=e-(i||e);r=t.touches?t.touches[0]:t,o=n>0&&n<=250,i=e}function s(t){if(o&&!r.cancelBubble){if(bt){if("mouse"===t.pointerType)return;var n,a,s={};for(a in r)n=r[a],s[a]=n&&n.bind?n.bind(r):n;r=s}r.type="dblclick",r.button=0,e(r),i=null}}t[Zt+Gt+n]=a,t[Zt+qt+n]=s,t[Zt+"dblclick"+n]=e,t.addEventListener(Gt,a,!!Lt&&{passive:!1}),t.addEventListener(qt,s,!!Lt&&{passive:!1}),t.addEventListener("dblclick",e,!1)}(t,a,r):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(Te[e]||e,a,!!Lt&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?(a=function(e){e=e||window.event,$e(t,e)&&s(e)},t.addEventListener(Te[e],a,!1)):t.addEventListener(e,s,!1):"attachEvent"in t&&t.attachEvent("on"+e,a),t[Le]=t[Le]||{},t[Le][r]=a}function Oe(t,e,n,i){var r=e+o(n)+(i?"_"+o(i):""),a=t[Le]&&t[Le][r];if(!a)return this;bt&&0===e.indexOf("touch")?function(t,e,n){var i=t["_leaflet_"+e+n];"touchstart"===e?t.removeEventListener(Pt,i,!1):"touchmove"===e?t.removeEventListener(Dt,i,!1):"touchend"===e&&(t.removeEventListener(At,i,!1),t.removeEventListener(It,i,!1))}(t,e,r):wt&&"dblclick"===e&&!Me()?function(t,e){var n=t[Zt+Gt+e],i=t[Zt+qt+e],r=t[Zt+"dblclick"+e];t.removeEventListener(Gt,n,!!Lt&&{passive:!1}),t.removeEventListener(qt,i,!!Lt&&{passive:!1}),t.removeEventListener("dblclick",r,!1)}(t,r):"removeEventListener"in t?t.removeEventListener(Te[e]||e,a,!1):"detachEvent"in t&&t.detachEvent("on"+e,a),t[Le][r]=null}function Pe(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,Be(t),this}function De(t){return Ee(t,"wheel",Pe),this}function Ae(t){return Ce(t,"mousedown touchstart dblclick",Pe),Ee(t,"click",Fe),this}function Ie(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function Ne(t){return Ie(t),Pe(t),this}function Re(t,e){if(!e)return new P(t.clientX,t.clientY);var n=xe(e),i=n.boundingClientRect;return new P((t.clientX-i.left)/n.x-e.clientLeft,(t.clientY-i.top)/n.y-e.clientTop)}var je=dt&&at?2*window.devicePixelRatio:st?window.devicePixelRatio:1;function ze(t){return Q?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/je:t.deltaY&&1===t.deltaMode?20*-t.deltaY:t.deltaY&&2===t.deltaMode?60*-t.deltaY:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?20*-t.detail:t.detail?t.detail/-32765*60:0}var Ye={};function Fe(t){Ye[t.type]=!0}function Be(t){var e=Ye[t.type];return Ye[t.type]=!1,e}function $e(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var He={on:Ce,off:Se,stopPropagation:Pe,disableScrollPropagation:De,disableClickPropagation:Ae,preventDefault:Ie,stop:Ne,getMousePosition:Re,getWheelDelta:ze,fakeStop:Fe,skipped:Be,isExternalTarget:$e,addListener:Ce,removeListener:Se},Ue=O.extend({run:function(t,e,n,i){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=me(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=C(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,j(t));return n.equals(i)||this.panTo(i,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=A((e=e||{}).paddingTopLeft||e.padding||[0,0]),i=A(e.paddingBottomRight||e.padding||[0,0]),r=this.getCenter(),o=this.project(r),a=this.project(t),s=this.getPixelBounds(),l=s.getSize().divideBy(2),u=N([s.min.add(n),s.max.subtract(i)]);if(!u.contains(a)){this._enforcingBounds=!0;var c=o.subtract(a),d=A(a.x+c.x,a.y+c.y);(a.xu.max.x)&&(d.x=o.x-c.x,c.x>0?d.x+=l.x-n.x:d.x-=l.x-i.x),(a.yu.max.y)&&(d.y=o.y-c.y,c.y>0?d.y+=l.y-n.y:d.y-=l.y-i.y),this.panTo(this.unproject(d),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var r=this.getSize(),o=n.divideBy(2).round(),a=r.divideBy(2).round(),s=o.subtract(a);return s.x||s.y?(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:r})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=e({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),r=i(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,r,t):navigator.geolocation.getCurrentPosition(n,r,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e=t.code,n=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(t){var e=new z(t.coords.latitude,t.coords.longitude),n=e.toBounds(2*t.coords.accuracy),i=this._locateOptions;if(i.setView){var r=this.getBoundsZoom(n);this.setView(e,i.maxZoom?Math.min(r,i.maxZoom):r)}var o={latlng:e,bounds:n,timestamp:t.timestamp};for(var a in t.coords)"number"==typeof t.coords[a]&&(o[a]=t.coords[a]);this.fire("locationfound",o)},addHandler:function(t,e){if(!e)return this;var n=this[t]=new e(this);return this._handlers.push(n),this.options[t]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var t;for(t in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),ne(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(S(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[t].remove();for(t in this._panes)ne(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var n=ee("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new R(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=j(t),n=A(n||[0,0]);var i=this.getZoom()||0,r=this.getMinZoom(),o=this.getMaxZoom(),a=t.getNorthWest(),s=t.getSouthEast(),l=this.getSize().subtract(n),u=N(this.project(s,i),this.project(a,i)).getSize(),c=mt?this.options.zoomSnap:1,d=l.x/u.x,h=l.y/u.y,f=e?Math.max(d,h):Math.min(d,h);return i=this.getScaleZoom(f,i),c&&(i=Math.round(i/(c/100))*(c/100),i=e?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(r,Math.min(o,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new P(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var n=this._getTopLeftPoint(t,e);return new I(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs;e=void 0===e?this._zoom:e;var i=n.zoom(t*n.scale(e));return isNaN(i)?1/0:i},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(Y(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(A(t),e)},layerPointToLatLng:function(t){var e=A(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){return this.project(Y(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(Y(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(j(t))},distance:function(t,e){return this.options.crs.distance(Y(t),Y(e))},containerPointToLayerPoint:function(t){return A(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return A(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(A(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(Y(t)))},mouseEventToContainerPoint:function(t){return Re(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Qt(t);if(!e)throw new Error("Map container not found.");if(e._leaflet_id)throw new Error("Map container is already initialized.");Ce(e,"scroll",this._onScroll,this),this._containerId=o(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&mt,se(t,"leaflet-container"+(wt?" leaflet-touch":"")+(Ct?" leaflet-retina":"")+(K?" leaflet-oldie":"")+(lt?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=te(t,"position");"absolute"!==e&&"relative"!==e&&"fixed"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),pe(this._mapPane,new P(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(se(t.markerPane,"leaflet-zoom-hide"),se(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e){pe(this._mapPane,new P(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var i=this._zoom!==e;this._moveStart(i,!1)._move(t,e)._moveEnd(i),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n){void 0===e&&(e=this._zoom);var i=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),(i||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return S(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){pe(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[o(this._container)]=this;var e=t?Se:Ce;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),mt&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){S(this._resizeRequest),this._resizeRequest=C((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,i=[],r="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,s=!1;a;){if((n=this._targets[o(a)])&&("click"===e||"preclick"===e)&&!t._simulated&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(e,!0)){if(r&&!$e(a,t))break;if(i.push(n),r)break}if(a===this._container)break;a=a.parentNode}return i.length||s||r||!$e(a,t)||(i=[this]),i},_handleDOMEvent:function(t){if(this._loaded&&!Be(t)){var e=t.type;"mousedown"!==e&&"keypress"!==e&&"keyup"!==e&&"keydown"!==e||_e(t.target||t.srcElement),this._fireDOMEvent(t,e)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,i){if("click"===t.type){var r=e({},t);r.type="preclick",this._fireDOMEvent(r,r.type,i)}if(!t._stopped&&(i=(i||[]).concat(this._findEventTargets(t,n))).length){var o=i[0];"contextmenu"===n&&o.listens(n,!0)&&Ie(t);var a={originalEvent:t};if("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type){var s=o.getLatLng&&(!o._radius||o._radius<=10);a.containerPoint=s?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(t),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=s?o.getLatLng():this.layerPointToLatLng(a.layerPoint)}for(var l=0;l0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),i=mt?this.options.zoomSnap:1;return i&&(t=Math.round(t/i)*i),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){le(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var n=this._getCenterOffset(t)._trunc();return!(!0!==(e&&e.animate)&&!this.getSize().contains(n)||(this.panBy(n,e),0))},_createAnimProxy:function(){var t=this._proxy=ee("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",(function(t){var e=Xt,n=this._proxy.style[e];fe(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),n===this._proxy.style[e]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ne(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();fe(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(e),r=this._getCenterOffset(t)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(r)||(C((function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)}),this),0))},_animateZoom:function(t,e,n,r){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,se(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:r}),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&le(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),C((function(){this._moveEnd(!0)}),this))}}),We=T.extend({options:{position:"topright"},initialize:function(t){h(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),i=t._controlCorners[n];return se(e,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(e,i.firstChild):i.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ne(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Ge=function(t){return new We(t)};Ve.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=ee("div",e+"control-container",this._container);function i(i,r){var o=e+i+" "+e+r;t[i+r]=ee("div",o,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)ne(this._controlCorners[t]);ne(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var qe=We.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,i){return n1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(o(t.target)),n=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;n&&this._map.fire(n,e)},_createRadioElement:function(t,e){var n='",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(t){var e,n=document.createElement("label"),i=this._map.hasLayer(t.layer);t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=i):e=this._createRadioElement("leaflet-base-layers_"+o(this),i),this._layerControlInputs.push(e),e.layerId=o(t.layer),Ce(e,"click",this._onInputClick,this);var r=document.createElement("span");r.innerHTML=" "+t.name;var a=document.createElement("div");return n.appendChild(a),a.appendChild(e),a.appendChild(r),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var t,e,n=this._layerControlInputs,i=[],r=[];this._handlingClick=!0;for(var o=n.length-1;o>=0;o--)t=n[o],e=this._getLayer(t.layerId).layer,t.checked?i.push(e):t.checked||r.push(e);for(o=0;o=0;r--)t=n[r],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&ie.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),Ze=We.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"−",zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=ee("div",e+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,i,r){var o=ee("a",n,i);return o.innerHTML=t,o.href="#",o.title=e,o.setAttribute("role","button"),o.setAttribute("aria-label",e),Ae(o),Ce(o,"click",Ne),Ce(o,"click",r,this),Ce(o,"click",this._refocusOnMap,this),o},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";le(this._zoomInButton,e),le(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMinZoom())&&se(this._zoomOutButton,e),(this._disabled||t._zoom===t.getMaxZoom())&&se(this._zoomInButton,e)}});Ve.mergeOptions({zoomControl:!0}),Ve.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Ze,this.addControl(this.zoomControl))}));var Xe=We.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e=ee("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",e),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),e},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=ee("div",e,n)),t.imperial&&(this._iScale=ee("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,n=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(n)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),n=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,n,e/t)},_updateImperial:function(t){var e,n,i,r=3.2808399*t;r>5280?(e=r/5280,n=this._getRoundNum(e),this._updateScale(this._iScale,n+" mi",n/e)):(i=this._getRoundNum(r),this._updateScale(this._iScale,i+" ft",i/r))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),n=t/e;return e*(n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Je=We.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(t){h(this,t),this._attributions={}},onAdd:function(t){for(var e in t.attributionControl=this,this._container=ee("div","leaflet-control-attribution"),Ae(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),this._container},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var n=[];this.options.prefix&&n.push(this.options.prefix),t.length&&n.push(t.join(", ")),this._container.innerHTML=n.join(" | ")}}});Ve.mergeOptions({attributionControl:!0}),Ve.addInitHook((function(){this.options.attributionControl&&(new Je).addTo(this)})),We.Layers=qe,We.Zoom=Ze,We.Scale=Xe,We.Attribution=Je,Ge.layers=function(t,e,n){return new qe(t,e,n)},Ge.zoom=function(t){return new Ze(t)},Ge.scale=function(t){return new Xe(t)},Ge.attribution=function(t){return new Je(t)};var Ke=T.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Ke.addTo=function(t,e){return t.addHandler(e,this),this};var Qe,tn={Events:E},en=wt?"touchstart mousedown":"mousedown",nn={mousedown:"mouseup",touchstart:"touchend",pointerdown:"touchend",MSPointerDown:"touchend"},rn={mousedown:"mousemove",touchstart:"touchmove",pointerdown:"touchmove",MSPointerDown:"touchmove"},on=O.extend({options:{clickTolerance:3},initialize:function(t,e,n,i){h(this,i),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(Ce(this._dragStartTarget,en,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(on._dragging===this&&this.finishDrag(),Se(this._dragStartTarget,en,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(!t._simulated&&this._enabled&&(this._moved=!1,!ae(this._element,"leaflet-zoom-anim")&&!(on._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||(on._dragging=this,this._preventOutline&&_e(this._element),ve(),$t(),this._moving)))){this.fire("down");var e=t.touches?t.touches[0]:t,n=we(this._element);this._startPoint=new P(e.clientX,e.clientY),this._parentScale=xe(n),Ce(document,rn[t.type],this._onMove,this),Ce(document,nn[t.type],this._onUp,this)}},_onMove:function(t){if(!t._simulated&&this._enabled)if(t.touches&&t.touches.length>1)this._moved=!0;else{var e=t.touches&&1===t.touches.length?t.touches[0]:t,n=new P(e.clientX,e.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)u&&(a=s,u=l);u>i&&(n[a]=1,t(e,n,i,r,a),t(e,n,i,a,o))}(t,i,e,0,n-1);var r,o=[];for(r=0;re&&(n.push(t[i]),r=i);var a,s,l,u;return re.max.x&&(n|=2),t.ye.max.y&&(n|=8),n}function dn(t,e,n,i){var r,o=e.x,a=e.y,s=n.x-o,l=n.y-a,u=s*s+l*l;return u>0&&((r=((t.x-o)*s+(t.y-a)*l)/u)>1?(o=n.x,a=n.y):r>0&&(o+=s*r,a+=l*r)),s=t.x-o,l=t.y-a,i?s*s+l*l:new P(o,a)}function hn(t){return!g(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function fn(t){return hn(t)}var pn={simplify:an,pointToSegmentDistance:sn,closestPointOnSegment:function(t,e,n){return dn(t,e,n)},clipSegment:ln,_getEdgeIntersection:un,_getBitCode:cn,_sqClosestPointOnSegment:dn,isFlat:hn,_flat:fn};function mn(t,e,n){var i,r,o,a,s,l,u,c,d,h=[1,4,2,8];for(r=0,u=t.length;r1e-7;l++)e=o*Math.sin(s),e=Math.pow((1-e)/(1+e),o/2),s+=u=Math.PI/2-2*Math.atan(a*e)-s;return new z(s*n,t.x*n/i)}},_n={LonLat:vn,Mercator:yn,SphericalMercator:H},bn=e({},$,{code:"EPSG:3395",projection:yn,transformation:function(){var t=.5/(Math.PI*yn.R);return V(t,.5,-t,.5)}()}),wn=e({},$,{code:"EPSG:4326",projection:vn,transformation:V(1/180,1,-1/180,.5)}),xn=e({},B,{projection:vn,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,i=e.lat-t.lat;return Math.sqrt(n*n+i*i)},infinite:!0});B.Earth=$,B.EPSG3395=bn,B.EPSG3857=W,B.EPSG900913=G,B.EPSG4326=wn,B.Simple=xn;var kn=O.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[o(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[o(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var n=this.getEvents();e.on(n,this),this.once("remove",(function(){e.off(n,this)}),this)}this.onAdd(e),this.getAttribution&&e.attributionControl&&e.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),e.fire("layeradd",{layer:this})}}});Ve.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=o(t);return this._layers[e]||(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this},removeLayer:function(t){var e=o(t);return this._layers[e]?(this._loaded&&t.onRemove(this),t.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(t.getAttribution()),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return!!t&&o(t)in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?g(t)?t:[t]:[]).length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()e)return a=(i-e)/n,this._map.layerPointToLatLng([o.x-a*(o.x-r.x),o.y-a*(o.y-r.y)])},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=Y(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new R,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return hn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=hn(t),i=0,r=t.length;i=2&&e[0]instanceof z&&e[0].equals(e[n-1])&&e.pop(),e},_setLatLngs:function(t){An.prototype._setLatLngs.call(this,t),hn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return hn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,n=new P(e,e);if(t=new I(t.min.subtract(n),t.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(t))if(this.options.noClip)this._parts=this._rings;else for(var i,r=0,o=this._rings.length;rt.y!=i.y>t.y&&t.x<(i.x-n.x)*(t.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||An.prototype._containsPoint.call(this,t,!0)}}),Nn=Ln.extend({initialize:function(t,e){h(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,i,r=g(t)?t:t.features;if(r){for(e=0,n=r.length;e0?r:[e.src]}else{g(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted;for(var a=0;ar?(e.height=r+"px",se(t,"leaflet-popup-scrolled")):le(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),n=this._getAnchor();pe(this._container,e.add(n))},_adjustPan:function(){if(this.options.autoPan){this._map._panAnim&&this._map._panAnim.stop();var t=this._map,e=parseInt(te(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+e,i=this._containerWidth,r=new P(this._containerLeft,-n-this._containerBottom);r._add(me(this._container));var o=t.layerPointToContainerPoint(r),a=A(this.options.autoPanPadding),s=A(this.options.autoPanPaddingTopLeft||a),l=A(this.options.autoPanPaddingBottomRight||a),u=t.getSize(),c=0,d=0;o.x+i+l.x>u.x&&(c=o.x+i-u.x+l.x),o.x-c-s.x<0&&(c=o.x-s.x),o.y+n+l.y>u.y&&(d=o.y+n-u.y+l.y),o.y-d-s.y<0&&(d=o.y-s.y),(c||d)&&t.fire("autopanstart").panBy([c,d])}},_onCloseButtonClick:function(t){this._close(),Ne(t)},_getAnchor:function(){return A(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Ve.mergeOptions({closePopupOnClick:!0}),Ve.include({openPopup:function(t,e,n){return t instanceof Jn||(t=new Jn(n).setContent(t)),e&&t.setLatLng(e),this.hasLayer(t)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=t,this.addLayer(t))},closePopup:function(t){return t&&t!==this._popup||(t=this._popup,this._popup=null),t&&this.removeLayer(t),this}}),kn.include({bindPopup:function(t,e){return t instanceof Jn?(h(t,e),this._popup=t,t._source=this):(this._popup&&!e||(this._popup=new Jn(e,this)),this._popup.setContent(t)),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t,e){return this._popup&&this._map&&(e=this._popup._prepareOpen(this,t,e),this._map.openPopup(this._popup,e)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(t){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(t)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e=t.layer||t.target;this._popup&&this._map&&(Ne(t),e instanceof On?this.openPopup(t.layer||t.target,t.latlng):this._map.hasLayer(this._popup)&&this._popup._source===e?this.closePopup():this.openPopup(e,t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}});var Kn=Xn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(t){Xn.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(t){Xn.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var t=Xn.prototype.getEvents.call(this);return wt&&!this.options.permanent&&(t.preclick=this._close),t},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=ee("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n,i=this._map,r=this._container,o=i.latLngToContainerPoint(i.getCenter()),a=i.layerPointToContainerPoint(t),s=this.options.direction,l=r.offsetWidth,u=r.offsetHeight,c=A(this.options.offset),d=this._getAnchor();"top"===s?(e=l/2,n=u):"bottom"===s?(e=l/2,n=0):"center"===s?(e=l/2,n=u/2):"right"===s?(e=0,n=u/2):"left"===s?(e=l,n=u/2):a.xthis.options.maxZoom||ni&&this._retainParent(r,o,a,i))},_retainChildren:function(t,e,n,i){for(var r=2*t;r<2*t+2;r++)for(var o=2*e;o<2*e+2;o++){var a=new P(r,o);a.z=n+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||void 0!==this.options.minZoom&&r1)this._setView(t,n);else{for(var d=r.min.y;d<=r.max.y;d++)for(var h=r.min.x;h<=r.max.x;h++){var f=new P(h,d);if(f.z=this._tileZoom,this._isValidTile(f)){var p=this._tiles[this._tileCoordsToKey(f)];p?p.current=!0:a.push(f)}}if(a.sort((function(t,e){return t.distanceTo(o)-e.distanceTo(o)})),0!==a.length){this._loading||(this._loading=!0,this.fire("loading"));var m=document.createDocumentFragment();for(h=0;hn.max.x)||!e.wrapLat&&(t.yn.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(t);return j(this.options.bounds).overlaps(i)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),i=t.scaleBy(n),r=i.add(n);return[e.unproject(i,t.z),e.unproject(r,t.z)]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),n=new R(e[0],e[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),n=new P(+e[0],+e[1]);return n.z=+e[2],n},_removeTile:function(t){var e=this._tiles[t];e&&(ne(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){se(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=l,t.onmousemove=l,K&&this.options.opacity<1&&de(t,this.options.opacity),et&&!nt&&(t.style.WebkitBackfaceVisibility="hidden")},_addTile:function(t,e){var n=this._getTilePos(t),r=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),i(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&C(i(this._tileReady,this,t,null,o)),pe(o,n),this._tiles[r]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var r=this._tileCoordsToKey(t);(n=this._tiles[r])&&(n.loaded=+new Date,this._map._fadeAnimated?(de(n.el,0),S(this._fadeFrame),this._fadeFrame=C(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(se(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),K||!this._map._fadeAnimated?C(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new P(this._wrapX?s(t.x,this._wrapX):t.x,this._wrapY?s(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new I(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ei=ti.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(t,e){this._url=t,(e=h(this,e)).detectRetina&&Ct&&e.maxZoom>0&&(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom++):(e.zoomOffset++,e.maxZoom--),e.minZoom=Math.max(0,e.minZoom)),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),et||this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return Ce(n,"load",i(this._tileOnLoad,this,e,n)),Ce(n,"error",i(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:Ct?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(n.y=i),n["-y"]=i}return m(this._url,e(n,this.options))},_tileOnLoad:function(t,e){K?setTimeout(i(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var i=this.options.errorTileUrl;i&&e.getAttribute("src")!==i&&(e.src=i),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return this.options.zoomReverse&&(t=e-t),t+this.options.zoomOffset},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((e=this._tiles[t].el).onload=l,e.onerror=l,e.complete||(e.src=y,ne(e),delete this._tiles[t]))},_removeTile:function(t){var e=this._tiles[t];if(e)return rt||e.el.setAttribute("src",y),ti.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==y))return ti.prototype._tileReady.call(this,t,e,n)}});function ni(t,e){return new ei(t,e)}var ii=ei.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var i=e({},this.defaultWmsParams);for(var r in n)r in this.options||(i[r]=n[r]);var o=(n=h(this,n)).detectRetina&&Ct?2:1,a=this.getTileSize();i.width=a.x*o,i.height=a.y*o,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,ei.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,i=N(n.project(e[0]),n.project(e[1])),r=i.min,o=i.max,a=(this._wmsVersion>=1.3&&this._crs===wn?[r.y,r.x,o.y,o.x]:[r.x,r.y,o.x,o.y]).join(","),s=ei.prototype.getTileUrl.call(this,t);return s+f(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+a},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ei.WMS=ii,ni.wms=function(t,e){return new ii(t,e)};var ri=kn.extend({options:{padding:.1,tolerance:0},initialize:function(t){h(this,t),o(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&se(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),i=me(this._container),r=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),a=this._map.project(t,e).subtract(o),s=r.multiplyBy(-n).add(i).add(r).subtract(a);mt?fe(this._container,s,n):pe(this._container,s)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new I(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),oi=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ri.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");Ce(t,"mousemove",this._onMouseMove,this),Ce(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Ce(t,"mouseout",this._handleMouseOut,this),this._ctx=t.getContext("2d")},_destroyContainer:function(){S(this._redrawRequest),delete this._ctx,ne(this._container),Se(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=this._container,n=t.getSize(),i=Ct?2:1;pe(e,t.min),e.width=i*n.x,e.height=i*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",Ct&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ri.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[o(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,i=e.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete t._order,delete this._layers[o(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){var e,n,i=t.options.dashArray.split(/[, ]+/),r=[];for(n=0;n')}}catch(t){return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}(),li={_initContainer:function(){this._container=ee("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ri.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=si("shape");se(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=si("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;ne(e),t.removeInteractiveTarget(e),delete this._layers[o(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,i=t.options,r=t._container;r.stroked=!!i.stroke,r.filled=!!i.fill,i.stroke?(e||(e=t._stroke=si("stroke")),r.appendChild(e),e.weight=i.weight+"px",e.color=i.color,e.opacity=i.opacity,i.dashArray?e.dashStyle=g(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=i.lineCap.replace("butt","flat"),e.joinstyle=i.lineJoin):e&&(r.removeChild(e),t._stroke=null),i.fill?(n||(n=t._fill=si("fill")),r.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(r.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),i=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+i+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){re(t._container)},_bringToBack:function(t){oe(t._container)}},ui=Tt?si:q,ci=ri.extend({getEvents:function(){var t=ri.prototype.getEvents.call(this);return t.zoomstart=this._onZoomStart,t},_initContainer:function(){this._container=ui("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ui("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ne(this._container),Se(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_onZoomStart:function(){this._update()},_update:function(){if(!this._map._animatingZoom||!this._bounds){ri.prototype._update.call(this);var t=this._bounds,e=t.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),pe(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=ui("path");t.options.className&&se(e,t.options.className),t.options.interactive&&se(e,"leaflet-interactive"),this._updateStyle(t),this._layers[o(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){ne(t._path),t.removeInteractiveTarget(t._path),delete this._layers[o(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,n=t.options;e&&(n.stroke?(e.setAttribute("stroke",n.color),e.setAttribute("stroke-opacity",n.opacity),e.setAttribute("stroke-width",n.weight),e.setAttribute("stroke-linecap",n.lineCap),e.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?e.setAttribute("stroke-dasharray",n.dashArray):e.removeAttribute("stroke-dasharray"),n.dashOffset?e.setAttribute("stroke-dashoffset",n.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),n.fill?(e.setAttribute("fill",n.fillColor||n.color),e.setAttribute("fill-opacity",n.fillOpacity),e.setAttribute("fill-rule",n.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,Z(t._parts,e))},_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),i="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",r=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(t,r)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){re(t._path)},_bringToBack:function(t){oe(t._path)}});function di(t){return Mt||Tt?new ci(t):null}Tt&&ci.include(li),Ve.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if("overlayPane"===t||void 0===t)return!1;var e=this._paneRenderers[t];return void 0===e&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&ai(t)||di(t)}});var hi=In.extend({initialize:function(t,e){In.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return[(t=j(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ci.create=ui,ci.pointsToPath=Z,Nn.geometryToLayer=Rn,Nn.coordsToLatLng=zn,Nn.coordsToLatLngs=Yn,Nn.latLngToCoords=Fn,Nn.latLngsToCoords=Bn,Nn.getFeature=$n,Nn.asFeature=Hn,Ve.mergeOptions({boxZoom:!0});var fi=Ke.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){Ce(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Se(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ne(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),$t(),ve(),this._startPoint=this._map.mouseEventToContainerPoint(t),Ce(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=ee("div","leaflet-zoom-box",this._container),se(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new I(this._point,this._startPoint),n=e.getSize();pe(this._box,e.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(ne(this._box),le(this._container,"leaflet-crosshair")),Ht(),ye(),Se(document,{contextmenu:Ne,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if((1===t.which||1===t.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var e=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){27===t.keyCode&&this._finish()}});Ve.addInitHook("addHandler","boxZoom",fi),Ve.mergeOptions({doubleClickZoom:!0});var pi=Ke.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),i=e.options.zoomDelta,r=t.originalEvent.shiftKey?n-i:n+i;"center"===e.options.doubleClickZoom?e.setZoom(r):e.setZoomAround(t.containerPoint,r)}});Ve.addInitHook("addHandler","doubleClickZoom",pi),Ve.mergeOptions({dragging:!0,inertia:!nt,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var mi=Ke.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new on(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}se(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){le(this._map._container,"leaflet-grab"),le(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=j(this._map.options.maxBounds);this._offsetLimit=N(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,r=(i-e+n)%t+e-n,o=(i+e+n)%t-e-n,a=Math.abs(r+n)0?o:-o))-e;this._delta=0,this._startTime=null,a&&("center"===t.options.scrollWheelZoom?t.setZoom(e+a):t.setZoomAround(this._lastMousePos,e+a))}});Ve.addInitHook("addHandler","scrollWheelZoom",vi),Ve.mergeOptions({tap:!0,tapTolerance:15});var yi=Ke.extend({addHooks:function(){Ce(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Se(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(t.touches){if(Ie(t),this._fireClick=!0,t.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var e=t.touches[0],n=e.target;this._startPos=this._newPos=new P(e.clientX,e.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&se(n,"leaflet-active"),this._holdTimeout=setTimeout(i((function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",e))}),this),1e3),this._simulateEvent("mousedown",e),Ce(document,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(t){if(clearTimeout(this._holdTimeout),Se(document,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&t&&t.changedTouches){var e=t.changedTouches[0],n=e.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&le(n,"leaflet-active"),this._simulateEvent("mouseup",e),this._isTapValid()&&this._simulateEvent("click",e)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(t){var e=t.touches[0];this._newPos=new P(e.clientX,e.clientY),this._simulateEvent("mousemove",e)},_simulateEvent:function(t,e){var n=document.createEvent("MouseEvents");n._simulated=!0,e.target._simulatedClick=!0,n.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(n)}});!wt||bt&&!lt||Ve.addInitHook("addHandler","tap",yi),Ve.mergeOptions({touchZoom:wt&&!nt,bounceAtZoomLimits:!0});var _i=Ke.extend({addHooks:function(){se(this._map._container,"leaflet-touch-zoom"),Ce(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){le(this._map._container,"leaflet-touch-zoom"),Se(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(t.touches&&2===t.touches.length&&!e._animatingZoom&&!this._zooming){var n=e.mouseEventToContainerPoint(t.touches[0]),i=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),"center"!==e.options.touchZoom&&(this._pinchStartLatLng=e.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),Ce(document,"touchmove",this._onTouchMove,this),Ce(document,"touchend",this._onTouchEnd,this),Ie(t)}},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),r=e.mouseEventToContainerPoint(t.touches[1]),o=n.distanceTo(r)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var a=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===a.x&&0===a.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),S(this._animRequest);var s=i(e._move,e,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=C(s,this,!0),Ie(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,S(this._animRequest),Se(document,"touchmove",this._onTouchMove,this),Se(document,"touchend",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Ve.addInitHook("addHandler","touchZoom",_i),Ve.BoxZoom=fi,Ve.DoubleClickZoom=pi,Ve.Drag=mi,Ve.Keyboard=gi,Ve.ScrollWheelZoom=vi,Ve.Tap=yi,Ve.TouchZoom=_i,t.version="1.7.1",t.Control=We,t.control=Ge,t.Browser=Ot,t.Evented=O,t.Mixin=tn,t.Util=M,t.Class=T,t.Handler=Ke,t.extend=e,t.bind=i,t.stamp=o,t.setOptions=h,t.DomEvent=He,t.DomUtil=ke,t.PosAnimation=Ue,t.Draggable=on,t.LineUtil=pn,t.PolyUtil=gn,t.Point=P,t.point=A,t.Bounds=I,t.bounds=N,t.Transformation=U,t.transformation=V,t.Projection=_n,t.LatLng=z,t.latLng=Y,t.LatLngBounds=R,t.latLngBounds=j,t.CRS=B,t.GeoJSON=Nn,t.geoJSON=Vn,t.geoJson=Wn,t.Layer=kn,t.LayerGroup=Cn,t.layerGroup=function(t,e){return new Cn(t,e)},t.FeatureGroup=Ln,t.featureGroup=function(t,e){return new Ln(t,e)},t.ImageOverlay=Gn,t.imageOverlay=function(t,e,n){return new Gn(t,e,n)},t.VideoOverlay=qn,t.videoOverlay=function(t,e,n){return new qn(t,e,n)},t.SVGOverlay=Zn,t.svgOverlay=function(t,e,n){return new Zn(t,e,n)},t.DivOverlay=Xn,t.Popup=Jn,t.popup=function(t,e){return new Jn(t,e)},t.Tooltip=Kn,t.tooltip=function(t,e){return new Kn(t,e)},t.Icon=Sn,t.icon=function(t){return new Sn(t)},t.DivIcon=Qn,t.divIcon=function(t){return new Qn(t)},t.Marker=En,t.marker=function(t,e){return new En(t,e)},t.TileLayer=ei,t.tileLayer=ni,t.GridLayer=ti,t.gridLayer=function(t){return new ti(t)},t.SVG=ci,t.svg=di,t.Renderer=ri,t.Canvas=oi,t.canvas=ai,t.Path=On,t.CircleMarker=Pn,t.circleMarker=function(t,e){return new Pn(t,e)},t.Circle=Dn,t.circle=function(t,e,n){return new Dn(t,e,n)},t.Polyline=An,t.polyline=function(t,e){return new An(t,e)},t.Polygon=In,t.polygon=function(t,e){return new In(t,e)},t.Rectangle=hi,t.rectangle=function(t,e){return new hi(t,e)},t.Map=Ve,t.map=function(t,e){return new Ve(t,e)};var bi=window.L;t.noConflict=function(){return window.L=bi,this},window.L=t}(e)},"4SqR":function(t,e,n){"use strict";var i=n("TzP/");n.n(i).a},"4VCk":function(t,e,n){var i=n("pkEZ");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"4loq":function(t){t.exports=JSON.parse('{"do-you-pickup":"Do you pick up the litter or leave it there?","save-def-settings":"You can save your default setting here.","change-value-of-litter":"You can also change the value of each litter item as you are tagging them.","status":"Current Status","toggle-presence":"Toggle Presence","pickup?":"Pick up?"}')},"5/+K":function(t,e,n){var i=n("nyqT");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"55Cu":function(t,e,n){var i=n("V3s9");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"56Dk":function(t){t.exports=JSON.parse('{"delete-account":"Eliminar mi cuenta","delete-account?":"¿Quieres elimar tu cuenta?","enter-password":"Introduce tu contraseña"}')},"5A0h":function(t,e,n){var i=n("WJbV");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"5QBx":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function o(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function s(t){o(a,i,r,s,l,"next",t)}function l(t){o(a,i,r,s,l,"throw",t)}s(void 0)}))}}var s={name:"Account",created:function(){var t=this;return a(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("GET_PLANS");case 2:case"end":return e.stop()}}),e)})))()},data:function(){return{btn:"button is-danger",processing:!1,password:""}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},errors:function(){return this.$store.state.user.errors},plans:function(){return this.$store.state.createaccount.plans}},methods:{clearError:function(t){this.errors[t]&&this.$store.commit("deleteUserError",t)},getFirstError:function(t){return this.errors[t][0]},errorExists:function(t){return this.errors.hasOwnProperty(t)},submit:function(){var t=this;return a(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.next=3,t.$store.dispatch("DELETE_ACCOUNT",t.password);case 3:t.processing=!1,t.password="";case 5:case"end":return e.stop()}}),e)})))()}}},l=n("KHd+"),u=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.account.delete-account")))]),t._v(" "),n("hr"),t._v(" "),n("p",[t._v(t._s(t.$t("settings.account.delete-account")))]),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-one-third is-offset-1"},[n("div",{staticClass:"row"},[n("form",{attrs:{method:"POST"},on:{submit:function(e){return e.preventDefault(),t.submit(e)},keydown:function(e){return t.clearError(e.target.name)}}},[n("label",{attrs:{for:"password"}},[t._v(t._s(t.$t("settings.account.delete-account?")))]),t._v(" "),t.errorExists("password")?n("span",{staticClass:"is-danger",domProps:{textContent:t._s(t.getFirstError("password"))}}):t._e(),t._v(" "),n("div",{staticClass:"field"},[n("div",{staticClass:"control"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.password,expression:"password"}],staticClass:"input",attrs:{type:"password",name:"password",id:"password",placeholder:"******",required:""},domProps:{value:t.password},on:{input:function(e){e.target.composing||(t.password=e.target.value)}}})])]),t._v(" "),n("button",{class:t.button},[t._v(t._s(t.$t("settings.account.enter-password")))])])])])])])}),[],!1,null,null,null);e.default=u.exports},"5S+d":function(t){t.exports=JSON.parse('{"taken-on":"Taken on","with-a":"With a","by":"By","meter-hex-grids":"meter hex grids","hover-to-count":"Hover over to count","pieces-of-litter":"pieces of litter","hover-polygons-to-count":"Hover over polygons to count"}')},"5fw7":function(t,e,n){(e=t.exports=n("I1BE")(!1)).i(n("mtZm"),""),e.i(n("+pLR"),""),e.push([t.i,".btn-map-fullscreen {\n position: absolute;\n top: 1em;\n right: 1em;\n z-index: 1234;\n}\n\n/* remove padding on mobile */\n.profile-map-container {\n height: 100%;\n position: relative;\n}\n.leaflet-popup-content {\n width: 180px !important;\n}\n.lealet-popup {\n left: -106px !important;\n}\n.img-tag {\n margin-bottom: 5px;\n color: black !important;\n}",""])},"5n2/":function(t,e){function n(t){return"function"==typeof t.value}function i(t){return void 0!==t.componentInstance&&t.componentInstance.$isServer}t.exports={bind:function(t,e,r){if(!n(e))return;function o(e){if(r.context){var n=e.path||e.composedPath&&e.composedPath();n&&n.length>0&&n.unshift(e.target),t.contains(e.target)||function(t,e){if(!t||!e)return!1;for(var n=0,i=e.length;n=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"61Kv":function(t){t.exports=JSON.parse('{"change-details":"Verander Persoonlijke Details","your-name":"Jouw Naam","unique-id":"Uniek Kenmerk","email":"Email","update-details":"Details Bijwerken"}')},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},n={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(t){return"ល្ងាច"===t},meridiem:function(t,e,n){return t<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(t){return t.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6mC8":function(t){t.exports=JSON.parse('{"change-details":"Change Personal Details","your-name":"Your name","unique-id":"Unique Identifier","email":"Email","update-details":"Update Details"}')},"6tWx":function(t,e,n){(function(e){t.exports=function(){"use strict";var t=function(){this._properties={},this._namespace="",this._isSupported=!0},n={namespace:{}};n.namespace.get=function(){return this._namespace},n.namespace.set=function(t){this._namespace=t?t+".":""},t.prototype._getLsKey=function(t){return""+this._namespace+t},t.prototype._lsSet=function(t,e,n){var i=this._getLsKey(t),r=n&&[Array,Object].includes(n)?JSON.stringify(e):e;window.localStorage.setItem(i,r)},t.prototype._lsGet=function(t){var e=this._getLsKey(t);return window.localStorage[e]},t.prototype.get=function(t,e,n){if(void 0===e&&(e=null),void 0===n&&(n=String),!this._isSupported)return null;if(this._lsGet(t)){var i=n;for(var r in this._properties)if(r===t){i=this._properties[r].type;break}return this._process(i,this._lsGet(t))}return null!==e?e:null},t.prototype.set=function(t,e){if(!this._isSupported)return null;for(var n in this._properties){var i=this._properties[n].type;if(n===t)return this._lsSet(t,e,i),e}return this._lsSet(t,e),e},t.prototype.remove=function(t){return this._isSupported?window.localStorage.removeItem(t):null},t.prototype.addProperty=function(t,e,n){void 0===n&&(n=void 0),e=e||String,this._properties[t]={type:e},this._lsGet(t)||null===n||this._lsSet(t,n,e)},t.prototype._process=function(t,e){switch(t){case Boolean:return"true"===e;case Number:return parseFloat(e);case Array:try{var n=JSON.parse(e);return Array.isArray(n)?n:[]}catch(t){return[]}case Object:try{return JSON.parse(e)}catch(t){return{}}default:return e}},Object.defineProperties(t.prototype,n);var i=new t;return{install:function(t,n){if(void 0===n&&(n={}),void 0===e||!(e.server||e.SERVER_BUILD||e.env&&"server"===e.env.VUE_ENV)){var r=!0;try{var o="__vue-localstorage-test__";window.localStorage.setItem(o,o),window.localStorage.removeItem(o)}catch(t){r=!1,i._isSupported=!1}var a=n.name||"localStorage",s=n.bind;n.namespace&&(i.namespace=n.namespace),t.mixin({beforeCreate:function(){var e=this;r&&this.$options[a]&&Object.keys(this.$options[a]).forEach((function(n){var r=e.$options[a][n],o=[r.type,r.default],l=o[0],u=o[1];if(i.addProperty(n,l,u),Object.getOwnPropertyDescriptor(i,n))t.config.silent;else{var c={get:function(){return t.localStorage.get(n,u)},set:function(e){return t.localStorage.set(n,e)},configurable:!0};Object.defineProperty(i,n,c),t.util.defineReactive(i,n,u)}(s||r.bind)&&!1!==r.bind&&(e.$options.computed=e.$options.computed||{},e.$options.computed[n]||(e.$options.computed[n]={get:function(){return t.localStorage[n]},set:function(e){t.localStorage[n]=e}}))}))}}),t[a]=i,t.prototype["$"+a]=i}}}}()}).call(this,n("8oxB"))},"6xtA":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),o=n("ksP6"),a=n.n(o),s=n("XuX8"),l=n.n(s);function u(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var c={name:"Upload",components:{vueDropzone:a.a},data:function(){return{options:{url:"/submit",thumbnailWidth:150,maxFilesize:20,headers:{"X-CSRF-TOKEN":window.axios.defaults.headers.common["X-CSRF-TOKEN"]},includeStyling:!0,duplicateCheck:!0,paramName:"file"},showTagLitterButton:!0}},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object.keys(0===e.$store.state.user.user.length)){t.next=3;break}return t.next=3,e.$store.dispatch("GET_CURRENT_USER");case 3:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){u(o,i,r,a,s,"next",t)}function s(t){u(o,i,r,a,s,"throw",t)}a(void 0)}))})()},methods:{failed:function(t,e){var n=document.querySelectorAll(".dz-error-message span");n[n.length-1].textContent=e.message;var i=this.$t("notifications.error"),r=e.message;l.a.$vToastify.error({title:i,body:r,position:"top-right",type:"error"})},uploadStarted:function(t){this.showTagLitterButton=!1},uploadCompleted:function(t){this.showTagLitterButton=!0},tag:function(){this.$router.push({path:"/tag"})}}},d=(n("V6Zk"),n("KHd+")),h=Object(d.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"section hero fullheight is-warning is-bold upload-section"},[n("div",{staticClass:"container ma has-text-centered",staticStyle:{"flex-grow":"0",width:"100%"}},[n("h1",{staticClass:"title is-1 drop-title"},[t._v("\n "+t._s(t.$t("upload.click-to-upload"))+"\n ")]),t._v(" "),n("vue-dropzone",{attrs:{id:"customdropzone",options:t.options,"use-custom-slot":!0},on:{"vdropzone-error":t.failed,"vdropzone-files-added":t.uploadStarted,"vdropzone-file-added":t.uploadStarted,"vdropzone-complete-multiple":t.uploadCompleted,"vdropzone-complete":t.uploadCompleted}},[n("i",{staticClass:"fa fa-image upload-icon",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("h2",{staticClass:"title is-2"},[t._v("\n "+t._s(t.$t("upload.thank-you"))+"\n ")]),t._v(" "),n("h3",{staticClass:"title is-3 mb2r"},[t._v("\n "+t._s(t.$t("upload.need-tag-litter"))+"\n ")]),t._v(" "),t.showTagLitterButton?n("button",{staticClass:"button is-medium is-info hov",on:{click:t.tag}},[t._v("\n "+t._s(t.$t("upload.tag-litter"))),n("i",{staticClass:"fa fa-arrow-right",attrs:{"aria-hidden":"true"}})]):t._e()],1)])}),[],!1,null,"10353884",null);e.default=h.exports},"6zfT":function(t,e,n){"use strict";n.r(e);var i,r,o=n("o0o1"),a=n.n(o),s=n("kGIl"),l=n.n(s),u=(n("5A0h"),n("xTv8")),c=(n("Vjiq"),n("eC5B"),{name:"live-events",channel:"main",echo:{ImageUploaded:function(t,e){document.title="OpenLitterMap ("+(e.events.length+1)+")",e.events.unshift({type:"image",city:t.city,state:t.state,country:t.country,imageName:t.imageName,teamName:t.teamName,countryCode:t.countryCode})},NewCountryAdded:function(t,e){document.title="OpenLitterMap ("+(e.events.length+1)+")",e.events.unshift({type:"country",country:t.country,countryId:t.countryId})},NewStateAdded:function(t,e){document.title="OpenLitterMap ("+(e.events.length+1)+")",e.events.unshift({type:"state",state:t.state,stateId:t.stateId})},NewCityAdded:function(t,e){document.title="OpenLitterMap ("+(e.events.length+1)+")",e.events.unshift({type:"city",city:t.city,cityId:t.cityId})},UserSignedUp:function(t,e){document.title="OpenLitterMap ("+(e.events.length+1)+")",e.events.unshift({type:"new-user",now:t.now})},TeamCreated:function(t,e){document.title="OpenLitterMap ("+(e.events.length+1)+")",e.events.unshift({type:"team-created",name:t.name})},".App\\Events\\Littercoin\\LittercoinMined":function(t,e){document.title="OpenLitterMap ("+(e.events.length+1)+")",e.events.unshift({type:"littercoin-mined",reason:t.reason,userId:t.userId})}},data:function(){return{dir:"/assets/icons/flags/",events:[]}},methods:{countryFlag:function(t){return t?(t=t.toLowerCase(),this.dir+t+".png"):""},getKey:function(t){return"image"===t.type?t.type+t.imageName:"country"===t.type?t.type+t.countryId:"state"===t.type?t.type+t.stateId:"city"===t.type?t.type+t.cityId:"new-user"===t.type?t.type+t.now:"team-created"===t.type?t.type+t.name:"littercoin-mined"===t.type?t.type+t.userId+t.now:this.events.length},getLittercoinReason:function(t){return"verified-box"===t?"100 OpenLitterAI boxes verified":"100-images-verified"===t?"100 images verified":void 0}}}),d=(n("22Q+"),n("KHd+")),h=Object(d.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-menu"},[n("transition-group",{attrs:{name:"list"}},t._l(t.events,(function(e){return n("span",{key:t.getKey(e),staticClass:"list-item"},["image"===e.type?n("div",{staticClass:"event",staticStyle:{"background-color":"#88d267"}},[n("aside",{staticClass:"grid-img"},[e.countryCode?n("img",{attrs:{src:t.countryFlag(e.countryCode),width:"35"}}):n("i",{staticClass:"fa fa-image"})]),t._v(" "),n("div",{staticClass:"grid-main"},[n("strong",[t._v("New image")]),t._v(" "),n("br"),t._v(" "),n("i",{staticClass:"event-subtitle city-name"},[t._v(t._s(e.city)+", "+t._s(e.state))]),t._v(" "),n("p",{staticClass:"event-subtitle"},[t._v(t._s(e.country))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:e.teamName,expression:"event.teamName"}]},[t._v("By Team: "),n("strong",[t._v(t._s(e.teamName))])])])]):"country"===e.type?n("div",{staticClass:"event",staticStyle:{"background-color":"#4bb0e0"}},[n("aside",{staticClass:"grid-img"},[n("i",{staticClass:"fa fa-flag"})]),t._v(" "),n("div",{staticClass:"grid-main"},[n("strong",[t._v("New Country")]),t._v(" "),n("p",[t._v("Say hello to "),n("i",[t._v(t._s(e.country))])])])]):"state"===e.type?n("div",{staticClass:"event",staticStyle:{"background-color":"#4bb0e0"}},[n("aside",{staticClass:"grid-img"},[n("i",{staticClass:"fa fa-flag"})]),t._v(" "),n("div",{staticClass:"grid-main"},[n("strong",[t._v("New State")]),t._v(" "),n("p",[t._v("Say hello to "),n("i",[t._v(t._s(e.state))])])])]):"city"===e.type?n("div",{staticClass:"event",staticStyle:{"background-color":"#4bb0e0"}},[n("aside",{staticClass:"grid-img"},[n("i",{staticClass:"fa fa-flag"})]),t._v(" "),n("div",{staticClass:"grid-main"},[n("strong",[t._v("New City")]),t._v(" "),n("p",[t._v("Say hello to "),n("i",[t._v(t._s(e.city))])])])]):"new-user"===e.type?n("div",{staticClass:"event",staticStyle:{"background-color":"#f1c40f"}},[n("aside",{staticClass:"grid-img"},[n("i",{staticClass:"fa fa-user"})]),t._v(" "),n("div",{staticClass:"grid-main"},[n("p",{staticClass:"new-user-text-wide"},[t._v("A new user has signed up!")])])]):"team-created"===e.type?n("div",{staticClass:"event",staticStyle:{"background-color":"#e256fff0"}},[n("aside",{staticClass:"grid-img"},[n("i",{staticClass:"fa fa-users"})]),t._v(" "),n("div",{staticClass:"grid-main"},[n("p",[t._v("A new Team has been created!")]),t._v(" "),n("i",[t._v("Say hello to "),n("strong",[t._v(t._s(e.name))]),t._v("!")])])]):"littercoin-mined"===e.type?n("div",{staticClass:"event",staticStyle:{"background-color":"#e256fff0"}},[n("aside",{staticClass:"grid-img"},[n("img",{staticClass:"ltr-icon",attrs:{src:"/assets/icons/mining.png"}})]),t._v(" "),n("div",{staticClass:"grid-main"},[n("p",[t._v("A Littercoin has been mined!")]),t._v(" "),n("i",[t._v("Reason: "),n("span",{staticClass:"ltr-strong"},[t._v(t._s(t.getLittercoinReason(e.reason)))])])])]):n("div")])})),0)],1)}),[],!1,null,null,null).exports,f=n("YFMt"),p=n("4R65"),m=n.n(p),g=n("wd/R"),v=n.n(g),y=(n("tmUW"),n("ltXA")),_=n("UZfx"),b=n.n(_);function w(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function x(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){w(o,i,r,a,s,"next",t)}function s(t){w(o,i,r,a,s,"throw",t)}a(void 0)}))}}var k=f.e,C=m.a.icon({iconUrl:"./images/vendor/leaflet/dist/dot.png",iconSize:[10,10]}),L=m.a.icon({iconUrl:"./images/vendor/leaflet/dist/grey-dot.jpg",iconSize:[13,10]});function S(t,e){if(!t.properties.cluster)return 2===t.properties.verified?m.a.marker(e,{icon:C}):m.a.marker(e,{icon:L});var n=t.properties.point_count,i=n'+t.properties.point_count_abbreviated+"",className:"marker-cluster-"+i,iconSize:m.a.point(40,40)});return m.a.marker(e,{icon:r})}function M(t,e){t.properties.cluster&&e.on("click",(function(t){i.setView(t.latlng,i.getZoom()+f.f)}))}function T(){return(T=x(a.a.mark((function t(){var e,n,o;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=i.getBounds(),n={left:e.getWest(),bottom:e.getSouth(),right:e.getEast(),top:e.getNorth()},2!==(o=Math.round(i.getZoom()))||o!==k){t.next=5;break}return t.abrupt("return");case 5:if(3!==o||o!==k){t.next=7;break}return t.abrupt("return");case 7:if(4!==o||o!==k){t.next=9;break}return t.abrupt("return");case 9:if(5!==o||o!==k){t.next=11;break}return t.abrupt("return");case 11:if(!(o'+a+'

Taken on '+v()(o.properties.datetime).format("LLL")+"
"+l+u).openOn(i)}}})})).catch((function(t){}));case 18:k=o;case 19:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var E={name:"Supercluster",components:{Languages:u.a,LiveEvents:h},mounted:function(){(i=m.a.map("super",{center:[0,0],zoom:f.e,scrollWheelZoom:!1,smoothWheelZoom:!0,smoothSensitivity:1})).scrollWheelZoom=!0;var t=(new Date).getFullYear();m.a.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'Map data © OpenStreetMap & Contributors',maxZoom:f.c,minZoom:f.e}).addTo(i),i.attributionControl.addAttribution("Litter data © OpenLitterMap & Contributors "+t+" Clustering @ MapBox"),(r=m.a.geoJSON(null,{pointToLayer:S,onEachFeature:M}).addTo(i)).addData(this.$store.state.globalmap.geojson.features),i.on("moveend",(function(){!function(){T.apply(this,arguments)}()}))},methods:{closeButtons:function(){this.$store.commit("closeDatesButton"),this.$store.commit("closeLangsButton")}}},O=(n("uszs"),Object(d.a)(E,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{height:"100%"},on:{click:this.closeButtons}},[e("div",{ref:"super",attrs:{id:"super"}}),this._v(" "),e("live-events")],1)}),[],!1,null,null,null).exports);function P(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function D(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){P(o,i,r,a,s,"next",t)}function s(t){P(o,i,r,a,s,"throw",t)}a(void 0)}))}}var A={name:"GlobalMapContainer",components:{Loading:l.a,Supercluster:O},data:function(){return{mapHeight:window.outerHeight-72}},created:function(){var t=this;return D(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.isMobile&&t.addEventListenerIfMobile(),e.next=3,t.$store.dispatch("GET_CLUSTERS",2);case 3:case"end":return e.stop()}}),e)})))()},destroyed:function(){var t=this;return D(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:window.removeEventListener("resize",t.resizeHandler);case 1:case"end":return e.stop()}}),e)})))()},computed:{loading:function(){return this.$store.state.globalmap.loading},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}},methods:{addEventListenerIfMobile:function(){this.mapHeight=window.innerHeight-72+"px",window.addEventListener("resize",this.resizeHandler)},resizeHandler:function(){this.mapHeight=window.innerHeight-72+"px"}}},I=(n("wqw9"),Object(d.a)(A,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"global-map-container",style:{height:t.mapHeight}},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("supercluster")],1)}),[],!1,null,"5ecbc164",null));e.default=I.exports},"73T2":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n.vue-simple-suggest > ul {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n.vue-simple-suggest.designed {\n position: relative;\n}\n\n.vue-simple-suggest.designed, .vue-simple-suggest.designed * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n\n.vue-simple-suggest.designed .input-wrapper input {\n display: block;\n width: 100%;\n padding: 10px;\n border: 1px solid #cde;\n border-radius: 3px;\n color: black;\n background: white;\n outline:none;\n -webkit-transition: all .1s;\n transition: all .1s;\n -webkit-transition-delay: .05s;\n transition-delay: .05s\n}\n\n.vue-simple-suggest.designed.focus .input-wrapper input {\n border: 1px solid #aaa;\n}\n\n.vue-simple-suggest.designed .suggestions {\n position: absolute;\n left: 0;\n right: 0;\n top: 100%;\n top: calc(100% + 5px);\n border-radius: 3px;\n border: 1px solid #aaa;\n background-color: #fff;\n opacity: 1;\n z-index: 1000;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item,\n.vue-simple-suggest.designed .suggestions .misc-item {\n padding: 5px 10px;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item.hover {\n background-color: #2874D5 !important;\n color: #fff !important;\n}\n\n.vue-simple-suggest.designed .suggestions .suggest-item.selected {\n background-color: #2832D5;\n color: #fff;\n}\n",""])},"78c4":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".drop-title[data-v-10353884] {\n margin-bottom: 1.5em;\n text-align: center;\n}\n.upload-section[data-v-10353884] {\n padding: 5rem;\n}\n.upload-section .fa-arrow-right[data-v-10353884] {\n margin-left: 10px;\n}\n#customdropzone[data-v-10353884] {\n border: 2px #80d8f2 dashed;\n border-radius: 10px;\n margin-bottom: 3rem;\n}\n@media (min-width: 992px) {\n#customdropzone[data-v-10353884] {\n margin-left: 4rem;\n margin-right: 4rem;\n}\n}\n@media (max-width: 575.98px) {\n.drop-title[data-v-10353884] {\n font-size: 2.5rem;\n}\n.upload-section[data-v-10353884] {\n padding: 2rem;\n}\n}\n.upload-icon[data-v-10353884] {\n font-size: 60px;\n}\n.upload-icon[data-v-10353884]:hover {\n transform: translate(0px, -5px);\n transition-duration: 0.3s;\n}",""])},"79uH":function(t,e,n){var i=n("XG6s");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7QOT":function(t){t.exports=JSON.parse('{"taken-on":"Genomen op","with-a":"Met een","by":"Door","meter-hex-grids":"meter hex rooster","hover-to-count":"Ga er met de muis overheen om te tellen","pieces-of-litter":"aantal items","hover-polygons-to-count":"Ga met de muis over de polygons om te tellen"}')},"7VP3":function(t){t.exports=JSON.parse('{"login-btn":"Iniciar sesión","signup-text":"Regístrate","forgot-password":"¿Olvidaste tu contraseña?"}')},"7aV9":function(t,e,n){!function(t){"use strict";t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return t>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})}(n("wd/R"))},"7dii":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.vfc-popover-container:focus {\n outline: none;\n}\n.vfc-single-input, .vfc-multiple-input input {\n font-size: inherit;\n -webkit-transition: width 200ms;\n transition: width 200ms;\n padding: 7px;\n width: 143px;\n color: #aaaaaa;\n border: 1px solid #efefef;\n text-align: center;\n outline: none;\n}\n.vfc-single-input {\n border-radius: 10px;\n}\n.vfc-multiple-input input:first-child {\n border-radius: 10px 0 0 10px;\n}\n.vfc-multiple-input input:last-child {\n border-radius: 0 10px 10px 0;\n}\n.vfc-tags-input {\n display: -moz-flex;\n display: -ms-flex;\n display: -o-flex;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-tags-input input {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n background: transparent;\n border: none;\n}\n.vfc-tags-input input[type=text] {\n color: #495057;\n}\n.vfc-tags-input input:focus {\n outline: none;\n}\n.vfc-tags-input span {\n margin-right: 0.3em;\n margin-bottom: 0.3em;\n padding-right: 0.75em;\n padding-left: 0.6em;\n border-radius: 10em;\n}\n.vfc-tags-input-wrapper-default {\n width: 295px;\n padding: 0.5em 0.25em;\n min-height: 15px;\n background: #ffffff;\n border: 1px solid #dbdbdb;\n border-radius: 10px;\n}\n.vfc-tags-input-badge {\n width: 85px;\n background-color: #f0f1f2;\n position: relative;\n display: inline-block;\n padding: 0.25em 0.4em;\n font-size: 75%;\n font-weight: 700;\n line-height: 1;\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: 0.25em;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.vfc-tags-input-remove {\n cursor: pointer;\n position: absolute;\n display: inline-block;\n right: 0.3em;\n top: 0.3em;\n padding: 0.5em;\n overflow: hidden;\n}\n.vfc-tags-input-remove::before, .vfc-tags-input-remove::after {\n content: "";\n position: absolute;\n width: 75%;\n left: 0.15em;\n background: #ff8498;\n height: 2px;\n margin-top: -1px;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-tags-input-remove::after {\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-dark.vfc-multiple-input input {\n border-color: #28456c;\n background-color: #1a202c;\n}\n.vfc-dark .vfc-single-input {\n border-color: #28456c;\n background-color: #1a202c;\n}\n.vfc-dark.vfc-tags-input-root .vfc-tags-input-wrapper-default {\n background-color: #1a202c;\n border-color: #28456c;\n}\n.vfc-dark.vfc-tags-input-root .vfc-tags-input-wrapper-default.vfc-tags-input .vfc-tags-input-badge {\n background-color: #ffffff;\n}\n.vfc-main-container {\n position: relative;\n border-radius: 0.28571429rem;\n -webkit-box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);\n box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.25);\n font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", serif;\n background-color: #ffffff;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.vfc-main-container.vfc-modal {\n position: absolute;\n width: inherit;\n z-index: 1000;\n}\n.vfc-main-container > * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n}\n.vfc-main-container.vfc-dark {\n background-color: #1a202c;\n}\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-right,\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-right,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-left {\n border-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-left:active,\n.vfc-main-container.vfc-dark .vfc-navigation-buttons div .vfc-arrow-right:active,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-left:active,\n.vfc-main-container.vfc-dark .vfc-separately-navigation-buttons div .vfc-arrow-right:active {\n border-color: #d9d9d9;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-right {\n border-color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date.vfc-underline {\n -webkit-text-decoration: underline dotted #66b3cc;\n text-decoration: underline dotted #66b3cc;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar .vfc-months-container .vfc-content .vfc-months div.vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span.vfc-underline {\n -webkit-text-decoration: underline #4299e1;\n text-decoration: underline #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-top-date span.vfc-underline.vfc-underline-active {\n -webkit-text-decoration-color: #ffffff;\n text-decoration-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-dayNames span {\n color: #bfbfbf;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week .vfc-week-number {\n border-color: #38b2ac;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day .vfc-base-start,\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day .vfc-base-end {\n background-color: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-today {\n background-color: #38b2ac;\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked {\n background-color: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-borderd, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked:not(.vfc-start-marked):not(.vfc-end-marked):before {\n background-color: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked:after {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-marked.vfc-hide {\n color: #bfbfbf;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hide {\n color: #464646;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-disabled {\n color: rgba(133, 133, 133, 0.2);\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day:after {\n color: #000000;\n}\n.vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hover:hover, .vfc-main-container.vfc-dark .vfc-calendars .vfc-calendar div.vfc-content .vfc-week div.vfc-day span.vfc-span-day.vfc-hovered {\n z-index: 1;\n background-color: #4682b4;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list .vfc-time-picker__item {\n color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list .vfc-time-picker__item--selected {\n color: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list::-webkit-scrollbar-track {\n background: #28456c;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-time-picker__list::-webkit-scrollbar-thumb {\n background: #4299e1;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-close:before,\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-close:after {\n background-color: #ffffff;\n}\n.vfc-main-container.vfc-dark .vfc-time-picker-container .vfc-modal-time-mechanic .vfc-modal-time-line {\n background-color: #4299e1;\n color: #ffffff;\n}\n.vfc-time-picker::after {\n content: "";\n display: table;\n clear: both;\n}\n.vfc-time-picker-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-time-picker__list {\n float: left;\n width: 50%;\n height: 200px;\n overflow-y: scroll;\n}\n.vfc-time-picker__list::-webkit-scrollbar {\n width: 3px;\n}\n.vfc-time-picker__list::-webkit-scrollbar-track {\n background: #efefef;\n}\n.vfc-time-picker__list::-webkit-scrollbar-thumb {\n background: #cccccc;\n}\n.vfc-time-picker__with-suffix .vfc-time-picker__list {\n width: 33.333333%;\n}\n.vfc-time-picker__item {\n padding: 10px 0;\n font-size: 20px;\n text-align: center;\n cursor: pointer;\n -webkit-transition: font-size 0.3s;\n transition: font-size 0.3s;\n}\n.vfc-time-picker__item:hover {\n font-size: 32px;\n}\n.vfc-time-picker__item--selected {\n color: #66b3cc;\n font-size: 32px;\n}\n.vfc-time-picker__item--disabled {\n opacity: 0.4;\n cursor: default;\n font-size: 20px !important;\n}\n.vfc-close {\n position: absolute;\n right: 12px;\n top: 16px;\n width: 32px;\n height: 32px;\n opacity: 0.3;\n z-index: 100;\n}\n.vfc-close:hover {\n opacity: 1;\n}\n.vfc-close::before, .vfc-close::after {\n position: absolute;\n left: 15px;\n content: " ";\n height: 26px;\n width: 2px;\n background-color: #ffffff;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-close::after {\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-modal-time-mechanic {\n position: relative;\n margin: 0 auto;\n width: 100%;\n}\n.vfc-modal-time-line {\n width: 100%;\n background-color: #66b3cc;\n text-align: left;\n color: #ffffff;\n font-size: 16px;\n padding-top: 15px;\n padding-bottom: 15px;\n border-radius: 0.28571429rem 0.28571429rem 0 0;\n}\n.vfc-modal-time-line span {\n margin-left: 15px;\n}\n.vfc-modal-time-line span span.vfc-active {\n text-decoration: underline;\n}\n.vfc-modal-append {\n color: #7d7d7d;\n font-weight: normal;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-modal-midle {\n display: inline-block;\n}\n.vfc-modal-midle-dig {\n display: inline-block;\n text-align: center;\n}\n.vfc-modal-digits {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n font-size: 50px;\n}\n.vfc-modal-digits select {\n margin: 5px 0;\n width: 100%;\n text-align: center;\n -moz-text-align-last: center;\n text-align-last: center;\n}\n.vfc-arrow {\n opacity: 0.3;\n -webkit-transition: 0.2s;\n transition: 0.2s;\n}\n.vfc-arrow:hover {\n opacity: 1;\n}\n.vfc-arrow-up {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-bottom: 20px solid #333333;\n}\n.vfc-arrow-down {\n width: 0;\n height: 0;\n border-left: 20px solid transparent;\n border-right: 20px solid transparent;\n border-top: 20px solid #333333;\n}\n.vfc-separately-navigation-buttons {\n margin-bottom: -80px;\n}\n.vfc-navigation-buttons {\n width: 100%;\n position: absolute;\n}\n.vfc-navigation-buttons, .vfc-separately-navigation-buttons {\n -webkit-box-flex: 0;\n -ms-flex: 0 1 15%;\n flex: 0 1 15%;\n margin-top: -10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-navigation-buttons.vfc-left, .vfc-separately-navigation-buttons.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}\n.vfc-navigation-buttons.vfc-right, .vfc-separately-navigation-buttons.vfc-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.vfc-navigation-buttons.vfc-space-between, .vfc-separately-navigation-buttons.vfc-space-between {\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-navigation-buttons div, .vfc-separately-navigation-buttons div {\n z-index: 200;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n color: #000000;\n font-size: 18px;\n margin: 20px 10px;\n}\n.vfc-navigation-buttons div.vfc-cursor-pointer, .vfc-separately-navigation-buttons div.vfc-cursor-pointer {\n cursor: pointer;\n}\n.vfc-navigation-buttons div .vfc-arrow-left, .vfc-separately-navigation-buttons div .vfc-arrow-left {\n width: 12px;\n height: 12px;\n border-top: 2px solid;\n border-left: 2px solid;\n border-color: #0a0c19;\n -webkit-transform: rotate(-45deg);\n transform: rotate(-45deg);\n}\n.vfc-navigation-buttons div .vfc-arrow-left:active,\n.vfc-navigation-buttons div .vfc-arrow-right:active, .vfc-separately-navigation-buttons div .vfc-arrow-left:active,\n.vfc-separately-navigation-buttons div .vfc-arrow-right:active {\n border-color: #ddd;\n}\n.vfc-navigation-buttons div .vfc-arrow-left.vfc-disabled,\n.vfc-navigation-buttons div .vfc-arrow-right.vfc-disabled, .vfc-separately-navigation-buttons div .vfc-arrow-left.vfc-disabled,\n.vfc-separately-navigation-buttons div .vfc-arrow-right.vfc-disabled {\n border-color: #dddddd;\n}\n.vfc-navigation-buttons div .vfc-arrow-right, .vfc-separately-navigation-buttons div .vfc-arrow-right {\n width: 12px;\n height: 12px;\n border-top: 2px solid;\n border-right: 2px solid;\n border-color: #0a0c19;\n -webkit-transform: rotate(45deg);\n transform: rotate(45deg);\n}\n.vfc-calendar {\n position: relative;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: auto;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-flow: column nowrap;\n flex-flow: column nowrap;\n -webkit-box-align: stretch;\n -ms-flex-align: stretch;\n align-items: stretch;\n}\n.vfc-calendar .vfc-content {\n margin-bottom: 20px;\n}\n.vfc-calendars {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.vfc-calendars-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n position: relative;\n overflow: hidden;\n}\n.vfc-calendar-fade-enter-active, .vfc-calendar-fade-leave-active, .vfc-calendar-slide-down-enter-active, .vfc-calendar-slide-down-leave-active, .vfc-calendar-slide-left-enter-active, .vfc-calendar-slide-left-leave-active, .vfc-calendar-slide-right-enter-active, .vfc-calendar-slide-right-leave-active, .vfc-calendar-slide-up-enter-active, .vfc-calendar-slide-up-leave-active {\n -webkit-transition: all 0.25s ease-in-out;\n transition: all 0.25s ease-in-out;\n}\n.vfc-calendar-fade-leave-active, .vfc-calendar-none-leave-active, .vfc-calendar-slide-down-leave-active, .vfc-calendar-slide-left-leave-active, .vfc-calendar-slide-right-leave-active, .vfc-calendar-slide-up-leave-active {\n position: absolute;\n}\n.vfc-calendar-none-enter-active, .vfc-calendar-none-leave-active {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n}\n.vfc-calendar-slide-left-enter, .vfc-calendar-slide-right-leave-to {\n opacity: 0;\n -webkit-transform: translateX(25px);\n transform: translateX(25px);\n}\n.vfc-calendar-slide-left-leave-to, .vfc-calendar-slide-right-enter {\n opacity: 0;\n -webkit-transform: translateX(-25px);\n transform: translateX(-25px);\n}\n.vfc-calendar-slide-down-leave-to, .vfc-calendar-slide-up-enter {\n opacity: 0;\n -webkit-transform: translateY(20px);\n transform: translateY(20px);\n}\n.vfc-calendar-slide-down-enter, .vfc-calendar-slide-up-leave-to {\n opacity: 0;\n -webkit-transform: translateY(-20px);\n transform: translateY(-20px);\n}\n.vfc-months {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n padding: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months .vfc-item {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: 30%;\n flex-basis: 30%;\n margin: 3px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n text-align: center;\n outline-style: none;\n border-radius: 5px;\n}\n.vfc-months .vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n -webkit-transition: background-color 0.2s ease-in-out;\n transition: background-color 0.2s ease-in-out;\n cursor: pointer;\n}\n.vfc-months .vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.vfc-months-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n margin-left: -20px;\n}\n.vfc-months-container.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n margin-left: 0;\n}\n.vfc-months-container.vfc-left .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: 45px;\n}\n.vfc-months-container.vfc-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n margin-left: 0;\n}\n.vfc-months-container.vfc-left .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: 45px;\n}\n.vfc-months-container.vfc-center {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-months-container.vfc-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.vfc-months-container.vfc-right .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n left: calc(100% - 90px);\n}\n.vfc-months-container .vfc-content {\n width: 45%;\n min-width: 133px;\n position: absolute;\n z-index: 1000;\n background-color: #2d3748;\n border: 1px solid;\n border-radius: 5px;\n top: 55px;\n color: #ffffff;\n padding: 5px 0;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons {\n position: unset;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div {\n margin: 10px 10px;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover {\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover .vfc-arrow-left,\n.vfc-months-container .vfc-content .vfc-navigation-buttons div:hover .vfc-arrow-right {\n border-color: #4299e1;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-left,\n.vfc-months-container .vfc-content .vfc-navigation-buttons div .vfc-arrow-right {\n border-color: #ffffff;\n width: 8px;\n height: 8px;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date {\n font-size: 18px;\n font-weight: bold;\n margin: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date-has-delta:hover {\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date .vfc-popover-caret {\n content: "";\n position: absolute;\n display: block;\n width: 12px;\n height: 12px;\n border-top: inherit;\n border-left: inherit;\n background: inherit;\n z-index: -1;\n background-color: #2d3748;\n -webkit-transform: translateY(-40%) rotate(45deg);\n transform: translateY(-40%) rotate(45deg);\n top: 0;\n left: 50%;\n}\n.vfc-months-container .vfc-content .vfc-navigation-buttons .vfc-top-date.vfc-underline {\n cursor: pointer;\n -webkit-text-decoration: underline dotted #66b3cc;\n text-decoration: underline dotted #66b3cc;\n}\n.vfc-months-container .vfc-content .vfc-months {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 75%;\n flex: 1 1 75%;\n padding: 0;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n -ms-flex-preferred-size: 30%;\n flex-basis: 30%;\n margin: 3px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n text-align: center;\n outline-style: none;\n border-radius: 5px;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item:hover {\n background-color: rgba(113, 113, 113, 0.3);\n -webkit-transition: background-color 0.2s ease-in-out;\n transition: background-color 0.2s ease-in-out;\n cursor: pointer;\n}\n.vfc-months-container .vfc-content .vfc-months div.vfc-item.vfc-selected {\n background-color: #4299e1;\n color: #ffffff;\n text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\n}\n.vfc-content {\n margin: 0 20px;\n z-index: 100;\n}\n.vfc-top-date {\n margin: 25px;\n font-size: 18px;\n font-weight: normal;\n}\n.vfc-top-date.vfc-left {\n text-align: left;\n}\n.vfc-top-date.vfc-right {\n text-align: right;\n}\n.vfc-top-date.vfc-center {\n text-align: center;\n}\n.vfc-top-date span {\n cursor: default;\n text-decoration: unset;\n margin: 0 2px;\n color: #000000;\n}\n.vfc-top-date span.vfc-cursor-pointer {\n cursor: pointer;\n}\n.vfc-top-date span.vfc-underline {\n cursor: pointer;\n -webkit-text-decoration: underline #66b3cc;\n text-decoration: underline #66b3cc;\n}\n.vfc-top-date span.vfc-underline.vfc-underline-active {\n -webkit-text-decoration-color: #000000;\n text-decoration-color: #000000;\n}\n.vfc-dayNames, .vfc-week {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.vfc-dayNames {\n -webkit-box-flex: 30px;\n -ms-flex: 30px 0 0px;\n flex: 30px 0 0;\n margin-bottom: 10px;\n}\n.vfc-dayNames span {\n width: 100%;\n margin-right: 5px;\n color: #333333;\n text-align: center;\n}\n.vfc-dayNames span:last-child {\n margin-right: 0;\n}\n.vfc-week-number {\n border-right: 1px solid #ff8498;\n}\n.vfc-week .vfc-day {\n position: relative;\n width: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n margin-top: 3px;\n /* Weekends */\n}\n.vfc-week .vfc-day .vfc-base-start,\n.vfc-week .vfc-day .vfc-base-end {\n position: absolute;\n background: #8fd8ec;\n width: 50% !important;\n border-radius: 0 !important;\n border-right-width: 0 !important;\n height: 100%;\n}\n.vfc-week .vfc-day .vfc-base-start {\n right: 0;\n}\n.vfc-week .vfc-day .vfc-base-end {\n left: 0;\n}\n.vfc-week .vfc-day span.vfc-span-day {\n display: inline-block;\n text-align: center;\n width: 30px;\n line-height: 30px;\n border-radius: 50%;\n margin: 0 auto;\n vertical-align: middle;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-today {\n background-color: #ff8498;\n color: #ffffff;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-cursor-not-allowed {\n cursor: not-allowed;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked {\n margin: auto;\n background-color: #66b3cc;\n border-radius: 50%;\n opacity: 1;\n z-index: 1;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-borderd, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked {\n color: #ffffff;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-borderd:before, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-start-marked:before, .vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-end-marked:before {\n background: transparent;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked:before {\n top: 0;\n left: 0;\n content: "";\n position: absolute;\n background-color: #8fd8ec;\n width: 100%;\n height: 100%;\n z-index: -1;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked:after {\n color: #000000;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-marked.vfc-hide {\n color: #d9d9d9;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-hide {\n color: #bfbfbf;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-disabled {\n margin: auto;\n color: rgba(0, 0, 0, 0.2);\n border-radius: 50%;\n opacity: 1;\n z-index: 2;\n}\n.vfc-week .vfc-day span.vfc-span-day:after {\n z-index: 2;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n content: attr(data-date);\n color: #000000;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.vfc-week .vfc-day span.vfc-span-day.vfc-hover:hover, .vfc-week .vfc-day span.vfc-span-day.vfc-hovered {\n background-color: #dadada;\n z-index: 100;\n}\n.vfc-week .vfc-day:last-child {\n color: #000000;\n}\n.rangeCleaner {\n padding: 5px 0 10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.rangeCleaner span {\n color: white;\n border-radius: 5px;\n border: none;\n padding: 5px;\n}\n.rangeCleaner span.active {\n background-color: #66b3cc;\n}\n.rangeCleaner span.active:hover {\n background-color: #4f8a9e;\n cursor: pointer;\n}\n.rangeCleaner span.disabled {\n background-color: #949494;\n}',""])},"7kWm":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n#image-wrapper {\n height: 500px;\n width: 500px;\n background-repeat: no-repeat;\n position: relative;\n background-size: 500px 500px;\n margin: 0 auto 1em auto;\n}\n.vdr {\n border: 1px solid red;\n}\n.vdr.active:before {\n outline: 0;\n}\n.box-tag {\n background-color: red;\n position: absolute;\n top: -1.5em;\n right: 0;\n padding: 0 5px;\n margin-right: -3px;\n}\n.display-inline-grid {\n display: inline-grid;\n}\n.filler {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n.littercoin-pos {\n position: fixed;\n background: white;\n bottom: 0;\n left: 1em;\n margin-bottom: 1em;\n}\n\n",""])},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},n={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?t>=10?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(n("wd/R"))},"800r":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".locations-main[data-v-07420f14] {\n background-color: #23d160;\n min-height: 100%;\n background-color: #23d160;\n min-height: 100%;\n}\n.l-tab.is-active[data-v-07420f14] {\n border-bottom: 2px solid white !important;\n}\n.h65pc[data-v-07420f14] {\n height: 65%;\n}\n.world-cup-title[data-v-07420f14] {\n color: #34495e;\n}",""])},"822n":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.ctc[data-v-3a1dae60] {\n margin-top: 1em;\n margin-left: 5em;\n}\n@media screen and (max-width: 768px)\n{\n.ctc[data-v-3a1dae60] {\n margin-top: 0;\n margin-left: 0;\n}\n}\n",""])},"8ClP":function(t){t.exports=JSON.parse('{"email-you":"Chcesz, abyśmy od czasu do czasu wysyłali Ci e-maile z dobrymi wiadomościami","subscribe":"Subskrybuj","subscribed-success-msg":"Zasubskrybowano do dobrych wieści! W każdej chwili możesz zrezygnować z subskrypcji","need-your-help":"Potrzebujemy Twojej pomocy, aby stworzyć najbardziej zaawansowaną i dostępną na świecie bazę danych o zanieczyszczeniach","read":"Czytaj","blog":"Blog","research-paper":"Artykuł badawczy","watch":"Oglądaj","help":"Pomoc","join-the-team":"Dołącz do drużyny","join-slack":"dołącz do Slack","create-account":"Załóż konto","fb-group":"Grupa Facebook","single-donation":"Pojedyncza dotacja","crowdfunding":"Crowdfunding","olm-is-flagship":"OpenLitterMap to flagowy produkt GeoTech Innovations Ltd., startupu z Irlandii, który jest pionierem w zakresie podstawowych usług naukowych dla obywateli # 650323","enter-email":"Wpisz swój adres e-mail","references":"Referencje","credits":"Zasługi"}')},"8Vc/":function(t,e,n){var i=n("3e7H");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},"8oxB":function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var t=s(h);c=!0;for(var e=u.length;e;){for(l=u,u=[];++d1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:document.body,r=arguments[1];if(l&&!i()){r=n.i(a.a)(!0,{},s,r);var o=e,u=void 0;r.wrap&&((u=document.createElement("div")).style["overflow-y"]="auto",u.style.background=r.background,u.style.width="100%",u.style.height="100%",o.parentNode.insertBefore(u,o),u.appendChild(o),r.exitOnClickWrapper&&u.addEventListener("click",(function(t){t.target===this&&n.i(a.d)()}))),o.classList.add(r.fullscreenClass),n.i(a.f)(t),n.i(a.g)(r.wrap?u:o)}}function o(){l&&i()&&n.i(a.d)()}var a=n(0),s={wrap:!0,exitOnClickWrapper:!0,background:"#333",callback:function(){},fullscreenClass:"fullscreen"},l=n.i(a.b)();e.a={getState:i,support:l,toggle:function(t,e,n){l&&(void 0===n?i()?o():r(t,e):n?r(t,e):o())},enter:r,exit:o}},function(t,e,n){var i=n(5)(n(4),n(6),null,null);t.exports=i.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(2),r=n.n(i),o=n(1),a=n(0);e.default={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.name||"fullscreen";t.component(i,n.i(a.a)(r.a,{name:i})),t.prototype["$"+i]=o.a}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(0);e.default={props:{exitOnClickWrapper:{type:Boolean,default:!0},background:{type:String,default:"#333"},fullscreenClass:{type:String,default:"fullscreen"},fullscreen:{type:Boolean,default:!1}},data:function(){return{supportFullScreen:!1,isFullscreen:!1}},computed:{wrapperStyle:function(){return{background:this.background,"overflow-y":"auto",width:"100%",height:"100%"}}},methods:{toggle:function(t){void 0===t?n.i(i.c)()?this.exit():this.enter():t?this.enter():this.exit()},enter:function(){this.supportFullScreen&&(n.i(i.f)(this.fullScreenCallback),n.i(i.g)(this.$el))},exit:function(){this.supportFullScreen&&this.getState()&&n.i(i.d)()},getState:function(){return n.i(i.c)()},shadeClick:function(t){t.target===this.$el&&this.exitOnClickWrapper&&this.exit()},fullScreenCallback:function(){this.isFullscreen=n.i(i.c)(),this.isFullscreen||n.i(i.e)(this.fullScreenCallback),this.$emit("change",this.isFullscreen),this.$emit("update:fullscreen",this.isFullscreen)}},watch:{fullscreen:function(t){t!==n.i(i.c)()&&(t?this.enter():this.exit())}},created:function(){this.supportFullScreen=n.i(i.b)()}}},function(t,e){t.exports=function(t,e,n,i){var r,o=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(r=t,o=t.default);var s="function"==typeof o?o.options:o;if(e&&(s.render=e.render,s.staticRenderFns=e.staticRenderFns),n&&(s._scopeId=n),i){var l=Object.create(s.computed||null);Object.keys(i).forEach((function(t){var e=i[t];l[t]=function(){return e}})),s.computed=l}return{esModule:r,exports:o,options:s}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.isFullscreen?[t.fullscreenClass]:[],style:t.isFullscreen?[t.wrapperStyle]:[],on:{click:function(e){t.shadeClick(e)}}},[t._t("default")],2)},staticRenderFns:[]}}])},A85c:function(t){t.exports=JSON.parse('{"maps1":"Wij creëren Open Data over Plastic Vervuiling","maps2":"Iedereen kan de data downloaden en gebruiken.","maps3":"Bekijk de landkaart","global-leaderboard":"Wereldwijde scorebord","position":"Positie","name":"Naam","xp":"XP","previous-target":"Vorig doel","next-target":"Volgende doel","litter":"Litter","total-verified-litter":"Totaal Aantal Gecontroleerde Items","total-verified-photos":"Totaal Aantal Gecontroleerde Foto\'s","total-littercoin-issued":"Totaal Aantal Uitgedeelde Littercoins","number-of-contributors":"Aantal Bijdragers","avg-img-per-person":"Gemiddeld Aantal Foto\'s per Persoon","avg-litter-per-person":"Gemiddeld Aantal Items per Persoon","maps16":"Gemaakt door","leaderboard":"Scorebord","time-series":"Tijdreeks","options":"Options","most-data":"Most Open Data","most-data-person":"Most Open Data Per Person","download-open-verified-data":"Free and Open Verified Citizen Science Data on Plastic Pollution.","stop-plastic-ocean":"Let\'s stop plastic going into the ocean.","enter-email-sent-data":"Please enter an email address to which the data will be sent:"}')},AElL:function(t){t.exports=JSON.parse('{"welcome":"Witamy w swoim nowym profilu","out-of":"Z {total} użytkowników","rank":"Jesteś na {rank} miejscu","have-uploaded":"Przesłałeś","photos":"photos","tags":"tagi","all-photos":"wszystkie zdjęcia","all-tags":"wszystkie tagi","your-level":"Twój poziom","reached-level":"Osiągnąłeś poziom","have-xp":"i nasz","need-xp":"potrzebujesz","to-reach-level":"aby zdobyć następny poziom.","total-categories":"Wszystkie kategorie","calendar-load-data":"Załaduj dane","download-data":"Pobierz moje dane","email-send-msg":"Na adres, którego używasz do logowania, zostanie wysłana wiadomość e-mail.","timeseries-verified-photos":"Zweryfikowane zdjęcia","manage-my-photos":"Przeglądaj swoje zdjęcia, zaznacz wiele, usuń je lub dodaj tagi!","view-my-photos":"Wyświetl moje zdjęcia","my-photos":"Moje zdjęcia","add-tags":"Dodaj tagi"}')},AFg3:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i);function o(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var a={name:"Footer",data:function(){return{email:"",socials:[{icon:"facebook2.png",url:"https://facebook.com/openlittermap"},{icon:"ig2.png",url:"https://instagram.com/openlittermap"},{icon:"twitter2.png",url:"https://twitter.com/openlittermap"},{icon:"reddit.png",url:"https://reddit.com/r/openlittermap"},{icon:"tumblr.png",url:"https://tumblr.com/openlittermap"}]}},computed:{errors:function(){return this.$store.state.subscriber.errors},hasErrors:function(){return Object.keys(this.errors).length>0},subscribed:function(){return this.$store.state.subscriber.just_subscribed}},methods:{clearErrors:function(){this.$store.commit("clearSubscriberErrors")},getError:function(t){return this.errors[t][0]},icon:function(t){return"/assets/icons/"+t},open:function(t){window.open(t,"_blank")},subscribe:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("SUBSCRIBE",e.email);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var a=t.apply(e,n);function s(t){o(a,i,r,s,l,"next",t)}function l(t){o(a,i,r,s,l,"throw",t)}s(void 0)}))})()}}},s=(n("qL8O"),n("KHd+")),l={name:"Welcome",components:{Footer:Object(s.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"foot"},[n("div",{staticClass:"container"},[n("div",{staticClass:"inner-footer-container has-text-centered"},[n("p",{staticClass:"top-footer-title"},[t._v(t._s(t.$t("home.footer.email-you"))+"?")]),t._v(" "),t.hasErrors?n("div",{staticClass:"notification is-danger mb1em"},t._l(Object.keys(this.errors),(function(e){return n("div",{key:e},[n("p",[t._v(t._s(t.getError(e)))])])})),0):t._e(),t._v(" "),n("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.subscribe(e)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"input f-input",attrs:{placeholder:t.$t("home.footer.enter-email"),required:"",type:"email"},domProps:{value:t.email},on:{input:[function(e){e.target.composing||(t.email=e.target.value)},t.clearErrors]}}),t._v(" "),n("br"),t._v(" "),n("button",{staticClass:"button is-medium is-primary hov mb2"},[t._v(t._s(t.$t("home.footer.subscribe")))]),t._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:t.subscribed,expression:"subscribed"}],staticClass:"footer-success"},[t._v("\n "+t._s(t.$t("home.footer.subscribed-success-msg"))+".\n ")])])]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-half foot-container-left"},[n("p",{staticClass:"olm-title"},[t._v("#OpenLitterMap")]),t._v(" "),n("p",{staticClass:"footer-text mb1"},[t._v(t._s(t.$t("home.footer.need-your-help"))+".")]),t._v(" "),t._l(t.socials,(function(e){return n("img",{staticClass:"footer-icon",attrs:{src:t.icon(e.icon)},on:{click:function(n){return t.open(e.url)}}})})),t._v(" "),n("br")],2),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.read")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://medium.com/@littercoin")}}},[t._v(t._s(t.$t("home.footer.blog")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://opengeospatialdata.springeropen.com/articles/10.1186/s40965-018-0050-y")}}},[t._v(t._s(t.$t("home.footer.research-paper")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/references"}},[t._v(t._s(t.$t("home.footer.references")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{tag:"p",to:"/credits"}},[t._v(t._s(t.$t("home.footer.credits")))])],1),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.watch")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=my7Cx-kZhT4")}}},[t._v("TEDx 2017")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=E_qhEhHwUGM")}}},[t._v("State of the Map 2019")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=T8rGf1ScR1I")}}},[t._v("Datapub 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=5HuaQNeHuZ8")}}},[t._v("ESA PhiWeek 2020")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.youtube.com/watch?v=QhLsA0WIfTA")}}},[t._v("Geneva Form, UN 2020")])]),t._v(" "),n("div",{staticClass:"column is-2"},[n("p",{staticClass:"olm-subtitle"},[t._v(t._s(t.$t("home.footer.help")))]),t._v(" "),n("p",{staticClass:"footer-link"},[t._v(t._s(t.$t("home.footer.create-account")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://angel.co/openlittermap/jobs")}}},[t._v(t._s(t.$t("home.footer.join-the-team")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://join.slack.com/t/openlittermap/shared_invite/zt-fdctasud-mu~OBQKReRdC9Ai9KgGROw")}}},[t._v(t._s(t.$t("home.footer.join-slack")))]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://github.com/openlittermap")}}},[t._v("GitHub")]),t._v(" "),n("p",{staticClass:"footer-link",on:{click:function(e){return t.open("https://www.facebook.com/pg/openlittermap/groups/")}}},[t._v(t._s(t.$t("home.footer.fb-group")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{to:"/donate"}},[t._v(t._s(t.$t("home.footer.single-donation")))]),t._v(" "),n("router-link",{staticClass:"footer-link",attrs:{to:"/signup"}},[t._v(t._s(t.$t("home.footer.crowdfunding")))])],1)])]),t._v(" "),n("div",{staticClass:"footer-bottom"},[n("p",{staticClass:"footer-text"},[t._v(t._s(t.$t("home.footer.olm-is-flagship")))])])])}),[],!1,null,"0425df6c",null).exports},computed:{modal:function(){return this.$store.state.modal.show}},methods:{android:function(){window.open("https://play.google.com/store/apps/details?id=com.geotech.openlittermap","_blank")},ios:function(){window.open("https://apps.apple.com/us/app/openlittermap/id1475982147","_blank")}}},u=(n("ykbU"),Object(s.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"container home-container"},[n("div",{staticClass:"columns c-1"},[n("div",{staticClass:"column is-half"},[n("h1",{staticClass:"main-title"},[t._v("\n "+t._s(t.$t("home.welcome.plastic-pollution-out-of-control"))+".\n ")]),t._v(" "),n("h2",{staticClass:"subtitle is-3 home-img-padding"},[t._v("\n "+t._s(t.$t("home.welcome.help-us"))+".\n ")]),t._v(" "),n("div",{staticClass:"flex"},[n("img",{staticClass:"app-icon",staticStyle:{"margin-right":"1em"},attrs:{src:"/assets/icons/ios.png"},on:{click:t.ios}}),t._v(" "),n("img",{staticClass:"app-icon",attrs:{src:"/assets/icons/android.png"},on:{click:t.android}})])]),t._v(" "),t._m(0)]),t._v(" "),n("div",{staticClass:"why-container"},[n("h1",{staticClass:"main-title"},[t._v(t._s(t.$t("home.welcome.why-collect-data"))+"?")]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(1),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("1. "+t._s(t.$t("home.welcome.visibility")))]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v(t._s(t.$t("home.welcome.our-maps-reveal-litter-normality"))+".")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(2),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("2. "+t._s(t.$t("home.welcome.science")))]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v(t._s(t.$t("home.welcome.our-data-open-source"))+".")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(3),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("3. "+t._s(t.$t("home.welcome.community")))]),t._v(" "),n("h3",{staticClass:"welcome-subtitle"},[t._v(t._s(t.$t("home.welcome.must-work-together"))+".")])])])]),t._v(" "),n("div",[n("h1",{staticClass:"main-title"},[t._v(t._s(t.$t("home.welcome.how-does-it-work"))+"?")]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(4),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("1. "+t._s(t.$t("home.welcome.take-a-photo")))]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v(t._s(t.$t("home.welcome.device-captures-info")))])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(5),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("2. "+t._s(t.$t("home.welcome.tag-the-litter")))]),t._v(" "),n("h3",{staticClass:"welcome-subtitle mb1em"},[t._v(t._s(t.$t("home.welcome.tag-litter-you-see"))+"!")])])]),t._v(" "),n("div",{staticClass:"columns welcome-mb"},[t._m(6),t._v(" "),n("div",{staticClass:"column ma"},[n("h2",{staticClass:"main-subtitle"},[t._v("3. "+t._s(t.$t("home.welcome.share-results")))]),t._v(" "),n("h3",{staticClass:"welcome-subtitle"},[t._v(t._s(t.$t("home.welcome.share"))+"!")])])])])]),t._v(" "),n("Footer")],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-half"},[e("img",{attrs:{src:"/assets/plastic_bottles.jpg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/world.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/microscope.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/tree.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/camera.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/home/phone.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"column is-one-quarter icon-center"},[e("img",{staticClass:"about-icon",attrs:{src:"/assets/icons/twitter2.png"}})])}],!1,null,"16293954",null));e.default=u.exports},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AYZs:function(t){t.exports=JSON.parse('{"card-number":"Numer karty","card-holder":"Imię i nazwisko posiadacza karty","exp":"Termin ważności","cvv":"CVV","placeholders":{"card-number":"Twój 16-cyfrowy numer karty","card-holder":"Imię i nazwisko posiadacza karty","exp-month":"Miesiąc","exp-year":"Rok","cvv":"***"}}')},AsT3:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.is-purp[data-v-41670ab3] {\n color: #8e7fd6;\n}\n.is-white[data-v-41670ab3] {\n color: white !important;\n}\n.is-secondary[data-v-41670ab3] {\n color: #1DD3B0;\n}\n",""])},AvvY:function(t,e,n){!function(t){"use strict";t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&t>=4||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})}(n("wd/R"))},"B/ql":function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),o=n("kGIl"),a=n.n(o);n("5A0h");function s(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){s(o,i,r,a,l,"next",t)}function l(t){s(o,i,r,a,l,"throw",t)}a(void 0)}))}}var u={name:"Payments",components:{Loading:a.a},created:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.loading=!0,0!==t.$store.state.plans.plans.length){e.next=4;break}return e.next=4,t.$store.dispatch("GET_PLANS");case 4:if(!t.$store.state.user.user.stripe_id){e.next=7;break}return e.next=7,t.$store.dispatch("GET_USERS_SUBSCRIPTIONS");case 7:t.loading=!1;case 8:case"end":return e.stop()}}),e)})))()},data:function(){return{loading:!0,plan:"Startup"}},computed:{check_for_stripe_id:function(){return this.$store.state.user.user.stripe_id},current_plan:function(){var t=this;return this.plans.find((function(e){return e.name===t.subscription.name}))},plans:function(){return this.$store.state.plans.plans},subscription:function(){return this.$store.state.subscriber.subscription}},methods:{cancel_active_subscription:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("DELETE_ACTIVE_SUBSCRIPTION");case 2:case"end":return e.stop()}}),e)})))()},resubscribe:function(){var t=this;return l(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("RESUBSCRIBE",t.plan);case 2:case"end":return e.stop()}}),e)})))()},subscribe:function(){}}},c=n("KHd+"),d=Object(c.a)(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"padding-left":"1em","padding-right":"1em"}},[n("h1",{staticClass:"title is-4"},[t._v(t._s(t.$t("settings.payments.finance")))]),t._v(" "),n("hr"),t._v(" "),n("br"),t._v(" "),n("div",{staticClass:"columns"},[t.loading?n("loading",{attrs:{active:t.loading,"is-full-page":!0},on:{"update:active":function(e){t.loading=e}}}):n("div",{staticClass:"column one-third is-offset-1"},[t.check_for_stripe_id?n("div",["active"===t.subscription.stripe_status?n("div",[n("p",[t._v("You are currently subscribed to the "),n("strong",{staticClass:"green"},[t._v(t._s(t.subscription.name))]),t._v(" plan")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Helping us with "),n("strong",{staticClass:"green"},[t._v("€"+t._s(t.current_plan.price/100))]),t._v(" per month")]),t._v(" "),n("p",[t._v("Thank you for helping the development of OpenLitterMap!")]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("You can change or cancel your subscription at any time.")]),t._v(" "),n("button",{staticClass:"button is-medium is-danger",on:{click:t.cancel_active_subscription}},[t._v("Cancel Subscription")])]):n("div",[n("p",{staticClass:"mb1"},[t._v("You have unsubscribed from "),n("strong",{staticClass:"green"},[t._v(t._s(t.subscription.name))])]),t._v(" "),n("p",{staticClass:"mb1"},[t._v("Thank you for supporting the development of OpenLitterMap")]),t._v(" "),n("p",[t._v("Please contact us if you would like to resubscribe, or else create a new account. Thanks!")])])]):n("div",[n("p",[t._v(t._s(t.$t("settings.payments.help")))]),t._v(" "),n("ul",[n("li",[t._v("- "+t._s(t.$t("settings.payments.support")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-costs")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-hire")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-produce")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-write")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-outreach")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.help-incentivize")))]),t._v(" "),n("li",[t._v("- "+t._s(t.$t("settings.payments.more-soon")))])]),t._v(" "),n("button",{staticClass:"button is-medium is-primary",on:{click:t.subscribe}},[t._v(t._s(t.$t("settings.payments.click-to-support")))])])])],1)])}),[],!1,null,null,null);e.default=d.exports},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(t,e){return"元"===e[1]?1:parseInt(e[1]||t,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(t){return t.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(t){return this.week()!==t.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"y":return 1===t?"元年":t+"年";case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(n("wd/R"))},B8Gz:function(t){t.exports=JSON.parse('{"privacy-title":"Control your Privacy","privacy-text":"Control your privacy for every team you have joined.","maps":{"team-map":"Team Map","name-will-appear":"Your name will appear on the maps","username-will-appear":"Your username will appear on the maps","will-not-appear":"Your name and username will not appear on the maps"},"leaderboards":{"team-leaderboard":"Team Leaderboard","name-will-appear":"Your name will appear on the leaderboards","username-will-appear":"Your username will appear on the leaderboards","will-not-appear":"Your name and username will not appear on the leaderboards"},"submit-one-team":"Save for this Team","apply-all-teams":"Apply for all Teams"}')},BDmR:function(t){t.exports=JSON.parse('{"finance":"Finance the development of OpenLitterMap","help":"We need your help.","support":"Support Open Data on Plastic Pollution","help-costs":"Help cover our costs","help-hire":"Hire developers, designers & graduates","help-produce":"Produce videos","help-write":"Write papers","help-outreach":"Conferences & outreach","help-incentivize":"Incentivize data collection with Littercoin","more-soon":"More exciting updates coming soon","click-to-support":"Click here to support"}')},BE1l:function(t){t.exports=JSON.parse('{"toggle-email":"Włącz/wyłącz subskrypcję e-mail","we-send-updates":"Od czasu do czasu wysyłamy e-maile z aktualizacjami i dobrymi wieściami","subscribe":"Tutaj możesz zasubskrybować lub zrezygnować z otrzymywania naszych e-maili","current-status":"Aktualny Status","change-status":"Zmień Status"}')},BGUB:function(t){t.exports=JSON.parse('{"olm-dependent-on-donations":"OpenLitterMap is op dit moment volledig afhankelijk van giften.","its-important":"Het is belangrijk"}')},BHx8:function(t,e,n){var i=n("HI13");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,i,r){var o=t+" ";switch(i){case"s":return n||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return e(t)?o+(n||r?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return e(t)?o+(n||r?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return e(t)?o+(n||r?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?o+"dagar":o+(r?"daga":"dögum"):n?o+"dagur":o+(r?"dag":"degi");case"M":return n?"mánuður":r?"mánuð":"mánuði";case"MM":return e(t)?n?o+"mánuðir":o+(r?"mánuði":"mánuðum"):n?o+"mánuður":o+(r?"mánuð":"mánuði");case"y":return n||r?"ár":"ári";case"yy":return e(t)?o+(n||r?"ár":"árum"):o+(n||r?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Bj9c:function(t){t.exports=JSON.parse('{"de":{"name":"Niemcy","lang":"Niemiecki"},"en":{"name":"Wielka Brytania","lang":"English"},"es":{"name":"Hiszpania","lang":"Español"},"fr":{"name":"Francja","lang":"Francuski"},"ie":{"name":"Irlandia","lang":"Irlandzki"},"it":{"name":"Włochy","lang":"Włoski"},"ms":{"name":"Malezja","lang":"Malay"},"nl":{"name":"Holandia","lang":"Nederlands"},"tk":{"name":"Turcja","lang":"Turecki"},"uk":{"name":"UK","lang":"English"},"pl":{"name":"Polska","lang":"Polski"}}')},"BqL+":function(t){t.exports=JSON.parse('{"click-to-upload":"Kliknij lub upuść swoje zdjęcia aby przesłać","thank-you":"Dziękuję!","need-tag-litter":"Następnie musisz oznaczyć śmieci","tag-litter":"Oznacz śmieci"}')},ByF4:function(t,e,n){!function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},C2ZQ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n.green[data-v-54d871ca] {\n color: green !important;\n}\n.panel-block[data-v-54d871ca] {\n color: black;\n background-color: white;\n}\n/* .location-container {\n padding-top: 3em;\n padding-bottom: 5em;\n } */\n.location-title[data-v-54d871ca]:hover {\n color: green !important;\n border-bottom: 1px solid green;\n}\n.total-photos-percentage[data-v-54d871ca] {\n color: green;\n font-weight: 700;\n}\n.img-flag[data-v-54d871ca] {\n padding-right: 1.5em; \n border-radius: 1px; \n flex: 0.1;\n}\n\n",""])},"C3+9":function(t,e,n){var i=n("1k10");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CASQ:function(t,e,n){var i=n("ODgP");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CJub:function(t,e,n){var i=n("CqVK");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},CO0D:function(t){t.exports=JSON.parse('{"address":"Dirección","add-tag":"Añadir etiqueta","coordinates":"Coordenadas","device":"Dispositivo","next":"Imagen siguiente","no-tags":"No tienes nada que etiquetar en este momento.","picked-up-title":"¿Basura recogida?","please-upload":"Subir más fotos","previous":"Imagen anterior","removed":"La basura ha sido retirada","still-there":"La basura sigue ahí","taken":"Tomada","to-tag":"Imágenes restantes por etiquetar","total-uploaded":"Total de imágenes subidas","uploaded":"Subida","confirm-delete":"¿Quieres eliminar esta imagen? Esto no se puede deshacer.","recently-tags":"Etiquetas usadas recientemente: ","clear-tags":"¿Borrar etiquetas recientes?","clear-tags-btn":"Borrar etiquetas recientes"}')},CgaS:function(t,e,n){"use strict";var i=n("xTJ+"),r=n("MLWZ"),o=n("9rSQ"),a=n("UnBK"),s=n("SntB");function l(t){this.defaults=t,this.interceptors={request:new o,response:new o}}l.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},l.prototype.getUri=function(t){return t=s(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,i){return this.request(s(i||{},{method:t,url:e,data:n}))}})),t.exports=l},CjzT:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})}(n("wd/R"))},CqVK:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".footerCon[data-v-f57c853e] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n margin: 0 20px 20px;\n}",""])},"D+42":function(t,e,n){(e=t.exports=n("I1BE")(!1)).i(n("mtZm"),""),e.i(n("+pLR"),""),e.push([t.i,"/* remove padding on mobile */\n.team-map-container {\n height: 500px;\n margin: 0;\n position: relative;\n padding-top: 1em;\n}\n.leaflet-popup-content {\n width: 180px !important;\n}\n.lealet-popup {\n left: -106px !important;\n}\n@media (max-width: 575.98px) {\n.team-map-container {\n margin-left: -3em;\n margin-right: -3em;\n}\n.temp-info {\n text-align: center;\n margin-top: 1em;\n}\n}",""])},"D/JM":function(t,e,n){!function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},DArN:function(t,e,n){var i=n("MBEJ");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},"DC+A":function(t,e,n){var i=n("cY1A");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},DIPp:function(t){t.exports=JSON.parse('{"title":"Ben je er klaar voor?","subtitle":"Meld je nu aan om een afval expert te worden en help ons de plastic vervuiling te bestreiden.","crowdfunding-message":"Overweeg alsjeblieft om ons werk te steunen middels Crowdfunding. Je kunt OpenLitterMap al helpen voor slechts 6 cent per dag met een maandelijkse deelname om te helpen dit belangrijke platform te laten groeien.","form-create-account":"Maak je account","form-field-name":"Naam","form-field-unique-id":"Uniek Kenmerk","form-field-email":"E-Mail Adres","form-field-password":"Wachtwoord. Moet minimaal een hoofdletter, een kleine letter en een getal bevatten.","form-field-pass-confirm":"Bevestig Wachtwoord","form-account-conditions":"Ik heb de Gebruiksvoorwaarden en Privacybeleid gelezen en ben daarmee akkoord","form-btn":"Aanmelden","create-account-note":"Opmerking: Als je geen bevestigingsmail in je in-box krijgt, controleer dan de spam-box."}')},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}t.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},DfZB:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(t){return"ös"===t||"ÖS"===t},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'ıncı";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+4Y":function(t){t.exports=JSON.parse('{"privacy-title":"Kontroluj swoją prywatność","privacy-text":"Kontroluj swoją prywatność każdej drużyny, do której dołączyłeś.","maps":{"team-map":"Mapa drużyny","name-will-appear":"Twoje imię pojawi się na mapach","username-will-appear":"Twoja nazwa użytkownika pojawi się na mapach","will-not-appear":"Twoje imię oraz nazwa użytkownika nie pojawią się na mapach"},"leaderboards":{"team-leaderboard":"Ranking drużyny","name-will-appear":"Twoje imię i nazwisko pojawi się w rankingach","username-will-appear":"Twoja nazwa użytkownika pojawi się w rankingach","will-not-appear":"Twoje imię oraz nazwa użytkownika nie pojawią się w rankingach"},"submit-one-team":"Zapisz dla tego zespołu","apply-all-teams":"Zapisz dla wszystkich zespołów"}')},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"дан",dd:e.translate,M:"месец",MM:e.translate,y:"годину",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},E6oU:function(t){t.exports=JSON.parse('{"title":"¿Estas lista?","subtitle":"Regístrate para convertirte en un \'mapper\' de basura experto y ayúdanos a vencer la contaminación por plásticos.","crowdfunding-message":"Por favor, considera apoyar nuestro trabajo mediante el crowdfunding de OpenLitterMap con tan sólo 6 céntimos al día con una suscripción mensual para ayudar a crecer y desarrollar esta importante plataforma.","form-create-account":"Crea tu cuenta","form-field-name":"Nombre","form-field-unique-id":"Identificador único","form-field-email":"Dirección de correo electrónico","form-field-password":"Contraseña. Debe contener mayúsculas, minúsculas y un número.","form-field-pass-confirm":"Confirmar contraseña","form-account-conditions":"He leído y acepto los Términos y Condiciones de Uso y la Política de privacidad","form-btn":"Registrarme","create-account-note":"Nota: Si no recibes el correo electrónico de verificación en tu bandeja de entrada, comprueba en la carpeta de correo no deseado."}')},EDOO:function(t){t.exports=JSON.parse('{"enter-team-identifier":"Enter an identifier to join a team.","team-identifier":"Join team by identifier","enter-id-to-join-placeholder":"Enter ID to join a team","join-team":"Join Team"}')},EHpN:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".vfc-day[data-v-03906378] {\n position: relative;\n}\n.vfc-day .times[data-v-03906378] {\n position: absolute;\n top: -5px;\n background-color: red;\n color: white;\n border-radius: 50%;\n width: 15px;\n z-index: 20;\n height: 15px;\n line-height: 15px;\n}\n.vfc-day .times[data-v-03906378]:hover {\n cursor: pointer;\n background-color: #c70000;\n}\n.vfc-day .number[data-v-03906378] {\n position: absolute;\n top: -5px;\n right: calc(50% + 7px);\n background-color: green;\n color: white;\n font-size: 10px;\n border-radius: 50%;\n width: 15px;\n z-index: 30;\n height: 15px;\n line-height: 15px;\n}\n.vfc-day .number[data-v-03906378]:hover {\n background-color: #005e00;\n}\n.vfc-day .toolTip[data-v-03906378] {\n position: absolute;\n top: -20px;\n left: 0;\n padding: 5px;\n max-width: 108px;\n word-wrap: break-word;\n border-radius: 5px;\n z-index: 200;\n background-color: #005e00;\n}",""])},EHzo:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),o=n("wd/R"),a=n.n(o),s=n("kGIl"),l=n.n(s),u=(n("5A0h"),n("n2md")),c=n("/yRl"),d=n("vne5"),h=n("Whpc");function f(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){f(o,i,r,a,s,"next",t)}function s(t){f(o,i,r,a,s,"throw",t)}a(void 0)}))}}var m={name:"Tag",components:{Loading:l.a,AddTags:u.a,Presence:c.a,Tags:d.a,ProfileDelete:h.a},created:function(){var t=this;return p(r.a.mark((function e(){return r.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.next=3,t.$store.dispatch("GET_PHOTOS_FOR_TAGGING");case 3:t.loading=!1;case 4:case"end":return e.stop()}}),e)})))()},data:function(){return{loading:!0}},computed:{current_page:function(){return this.$store.state.photos.paginate.current_page},hasRecentTags:function(){return Object.keys(this.$store.state.litter.recentTags).length>0},photos:function(){var t,e,n;return null===(t=this.$store.state)||void 0===t||null===(e=t.photos)||void 0===e||null===(n=e.paginate)||void 0===n?void 0:n.data},previous_page:function(){var t;return null===(t=this.$store.state.photos.paginate)||void 0===t?void 0:t.prev_page_url},remaining:function(){return this.$store.state.photos.remaining},show_current_page:function(){return this.$store.state.photos.paginate.current_page>1},show_next_page:function(){return this.$store.state.photos.paginate.next_page_url},total:function(){return this.$store.state.photos.total},user:function(){return this.$store.state.user.user}},methods:{clearRecentTags:function(){this.$store.commit("initRecentTags",{}),this.$localStorage.remove("recentTags")},confirmDelete:function(t){var e=this;return p(r.a.mark((function n(){return r.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!confirm(e.$i18n.t("confirm-delete"))){n.next=5;break}return n.next=3,axios.post("/en/profile/photos/delete",{photoid:t}).then((function(t){200===t.status&&(window.location.href=window.location.href)})).catch((function(t){}));case 3:n.next=6;break;case 5:case 6:case"end":return n.stop()}}),n)})))()},getDate:function(t){return a()(t).format("LLL")},goToPage:function(t){this.$store.dispatch("SELECT_IMAGE",t)},nextImage:function(){this.$store.dispatch("NEXT_IMAGE")},previousImage:function(){this.$store.dispatch("PREVIOUS_IMAGE")}}},g=(n("Rksp"),n("KHd+")),v=Object(g.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"hero fullheight is-primary is-bold tag-container"},[t.loading?n("loading",{attrs:{"is-full-page":!0},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}}):n("div",{staticClass:"pt2"},[0===t.photos.length?n("div",{staticClass:"hero-body"},[n("div",{staticClass:"container has-text-centered"},[n("h3",{staticClass:"subtitle is-1"},[t._v("\n "+t._s(t.$t("tags.no-tags"))+"\n ")]),t._v(" "),n("h3",{staticClass:"subtitle button is-medium is-info hov"},[n("router-link",{attrs:{to:"/submit"}},[t._v("\n "+t._s(t.$t("tags.please-upload"))+"\n ")])],1)])]):n("div",t._l(t.photos,(function(e){return n("div",{key:e.id,staticClass:"mb2"},[n("h2",{staticClass:"taken"},[n("strong",{staticStyle:{color:"#fff"}},[t._v("#"+t._s(e.id))]),t._v(" "),t._v("\n "+t._s(t.$t("tags.taken"))+": "+t._s(t.getDate(e.datetime))+"\n ")]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column",attrs:{id:"image-metadata"}},[n("div",{staticClass:"box"},[n("p",[n("strong",[t._v(t._s(t.$t("tags.coordinates"))+": ")]),t._v(t._s(e.lat)+", "+t._s(e.lon))]),t._v(" "),n("br"),t._v(" "),n("p",[n("strong",[t._v(t._s(t.$t("tags.address"))+": ")]),t._v(t._s(e.display_name))]),t._v(" "),n("br"),t._v(" "),n("div",[n("strong",[t._v(t._s(t.$t("tags.picked-up-title")))]),t._v(" "),n("presence")],1),t._v(" "),n("br"),t._v(" "),n("p",[n("strong",[t._v(t._s(t.$t("tags.device"))+": ")]),t._v(t._s(e.model))]),t._v(" "),n("br"),t._v(" "),n("profile-delete",{attrs:{photoid:e.id}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.hasRecentTags,expression:"hasRecentTags"}]},[n("br"),t._v(" "),n("p",{staticClass:"strong"},[t._v(t._s(t.$t("tags.clear-tags")))]),t._v(" "),n("button",{on:{click:t.clearRecentTags}},[t._v(t._s(t.$t("tags.clear-tags-btn")))])])],1)]),t._v(" "),n("div",{staticClass:"column is-6 image-wrapper"},[n("div",{staticClass:"image-content"},[n("img",{staticClass:"img",attrs:{src:e.filename}})])]),t._v(" "),n("div",{staticClass:"column is-3",attrs:{id:"image-counts"}},[n("div",{staticClass:"box"},[n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("tags.to-tag"))+": "+t._s(t.remaining)+"\n ")]),t._v(" "),n("li",{staticClass:"list-group-item"},[t._v("\n "+t._s(t.$t("tags.total-uploaded"))+": "+t._s(t.user.photos_count)+"\n ")])]),t._v(" "),n("Tags")],1)]),t._v(" "),n("div",{staticClass:"columns"},[n("div",{staticClass:"column is-10 is-offset-1"},[n("add-tags",{attrs:{id:e.id}})],1)]),t._v(" "),n("div",{staticClass:"column",staticStyle:{"text-align":"center"}},[n("div",{staticClass:"has-text-centered mt3em"},[n("a",{directives:[{name:"show",rawName:"v-show",value:t.previous_page,expression:"previous_page"}],staticClass:"pagination-previous has-background-link has-text-white",on:{click:t.previousImage}},[t._v(t._s(t.$t("tags.previous")))]),t._v(" "),n("a",{directives:[{name:"show",rawName:"v-show",value:t.remaining>t.current_page,expression:"remaining > current_page"}],staticClass:"pagination-next has-background-link has-text-white",on:{click:t.nextImage}},[t._v(t._s(t.$t("tags.next")))])])]),t._v(" "),n("div",{staticClass:"column"},[n("nav",{staticClass:"pagination is-centered",attrs:{role:"navigation","aria-label":"pagination"}},[n("ul",{staticClass:"pagination-list"},t._l(t.remaining,(function(e){return n("li",{key:e},[n("a",{class:e===t.current_page?"pagination-link is-current":"pagination-link",attrs:{"aria-label":"page"+t.current_page,"aria-current":t.current_page},on:{click:function(n){return t.goToPage(e)}}},[t._v(t._s(e))])])})),0)])])])})),0)])],1)}),[],!1,null,"ada27238",null);e.default=v.exports},"EL+l":function(t,e,n){var i=n("bvo4");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(n("wd/R"))},F90D:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent!important;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::-moz-placeholder, .swal2-input::-moz-placeholder, .swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder, .swal2-input:-ms-input-placeholder, .swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder, .swal2-input::-ms-input-placeholder, .swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}',""])},Fjwm:function(t,e){t.exports="/images/vendor/leaflet/dist/layers.png?a6137456ed160d7606981aa57c559898"},Fnuy:function(t,e,n){!function(t){"use strict";t.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},G0Uy:function(t,e,n){!function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n("wd/R"))},G57Y:function(t,e,n){var i=n("lL9X");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},G6KL:function(t){t.exports=JSON.parse('{"general":"Generalne","password":"Hasło","details":"Dane osobowe","account":"Moje konto","payments":"Moje płatności","privacy":"Prywatności","littercoin":"Littercoin (LTRX)","presence":"Obecność","emails":"E-maile","show-flag":"Pokaż flage","teams":"Drużyny"}')},GBDE:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".profile-container {\n min-height: calc(100vh - 82px);\n background-color: #341f97;\n display: grid;\n grid-template-columns: 1fr 2fr 1fr;\n grid-template-rows: 0.5fr 1fr 1fr;\n -moz-column-gap: 1em;\n column-gap: 1em;\n row-gap: 1em;\n padding: 3em;\n}\n.profile-card {\n background-color: #292f45;\n border-radius: 6px;\n box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);\n color: #4a4a4a;\n display: block;\n padding: 1.25rem;\n}\n.profile-card p {\n color: white;\n}",""])},GGJd:function(t){t.exports=JSON.parse('{"general":"General","password":"Password","details":"Personal Details","account":"My Account","payments":"My Payments","privacy":"Privacy","littercoin":"Littercoin (LTRX)","presence":"Presence","emails":"Emails","show-flag":"Show Flag","teams":"Teams"}')},GK9Q:function(t,e,n){"use strict";n.r(e);var i={name:"Terms"},r=n("KHd+"),o=Object(r.a)(i,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("h1",[t._v("PLEASE READ CAREFULLY BEFORE USING OPEN LITTER MAP")]),t._v(" "),n("p",[n("i",[t._v("\n Last updated: 17"),n("sup",[t._v("th")]),t._v("\n Feb 2018\n ")])]),t._v(" "),n("br"),t._v('\n\n This END USER LICENCE AGREEMENT (the “EULA” or the "Licence") is a legal agreement between you (the "Licensee" or "you") and Seán Lynch trading as OpenLitterMap.com (“OpenLitterMap”, the “Licensor”, “our” or "we") for your licensed use of and access to www.OpenLitterMap.com (the “Website”), the internet based user interface (the “Web Application”) and the multi-platform smartphone and tablet software application (the “Mobile Application”) which will launch soon (together the Website, the Web Application and the Mobile Application are hereafter described as the “Platform”) and your access to the data-logging process which provides a means for Citzien Scientists (you) to contribute and attribute geotagged images of litter (eg. "cigarette butts", "plastic bottles", etc.) through our content-sharing platform (the "Services") in accordance with the terms of this Agreement.\n '),n("br"),t._v("\n The Terms of Service (hereforth referred to as the “Terms”) govern access and use of the OpenLitterMap website. These Terms are a legal agreement between you and us. By using these Services you are agreeing to these Terms.\n "),n("br"),t._v("\n OpenLitterMap data is "),n("a",{attrs:{href:"https://opendatacommons.org/licenses/odbl/"}},[t._v("Open Data, licensed by the Open Database Licence")]),t._v(" (ODBl - https://opendatacommons.org/licenses/odbl/). Any rights in individual contents of the database are licenced under the Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/\n "),n("br"),t._v('\n This means that anyone is free to copy, distribute, share and use our data, as long as you credit OpenLitterMap and its contributors with "© OpenLitterMap & Contributors".\n\n '),n("br"),t._v(" "),n("br"),t._v(" "),n("b",[t._v("DISCLAIMER: OpenLitterMap is not intended for use by individuals in an emergency situation nor is it currently being used to notify law enforcement or public bodies of the existence of real time litter issues. It is currently being used for geostatistical and awareness-raising purposes only. If you wish to report a specific issue of concern regarding the collection and removal of litter, please contact your local authority. We are not yet in contact with Local Authorities and we cannot guarantee that our 3rd party communication with them will enable their response to be as effective as contact from a concerned member of the public. However, with your ongoing participation we hope to achieve this to solve problems such as the millions of tonnes of plastic entering the ocean of our only habitable planet.")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",[t._v("PLEASE BE CAREFUL AND REMAIN VIGILANT WHEN DEALING WITH LITTER, PARTICULARLY DRUG-RELATED LITTER (EG. NEEDLES & INJECTING EQUIPMENT), AS IT POSES A SIGNIFICANT THREAT TO YOUR PERSONAL HEALTH AND WELL-BEING. YOU ARE ENTIRELY RESPONISBLE FOR YOURSELF WHEN YOU ARE DEALING WITH LITTER IN ANY WAY INCLUDING LOOKING FOR, PHOTOGRAPHING, COLLECTING DATA ON, REMOVING, ATTEMPTING TO REMOVE AND/OR ANY OTHER MEANS OF COMING INTO CONTACT WITH LITTER AND/OR DRUG-RELATED LITTER. UNDER NO CIRCUMSTANCES CAN WE BE HELD ACCOUNTABLE FOR PERSONAL INJURUES OR ANY OTHER CLAIMS RESULTING FROM ANY CONTENT PUBLISHED TO OR COMING FROM THIS WEBSITE INCLUDING PERSONAL INJURIES FROM NEEDLES, NEEDLE-STICKS OR ANY OTHER FORM OF DRUG PARAPHANALIA OR HARM THAT MAY BE CAUSED FROM ACCIDENTS, DISCOVERY OF, MISHANDLING OF AND THE USE OR IMPROPER USE OF DRUG PARAPHANALIA OR DRUG-RELATED LITTER."),n("b",[t._v(" YOU UNRESERVEDLY AGREE TO REMOVE OUR LIABILITY FROM ANY DAMAGES THAT MAY OCCUR FROM USE OR ACCESS OF THESE SERVICES OR FROM INFORMATION SHARED BY A 3RD PARTY.")])]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("BY REGISTERING FOR, UPLOADING TO AND/OR DOWNLOADING DATA AND INFORMATION FROM THE PLATFORM AND YOUR SUBSEQUENT CONTINUED USE OF THE PLATFORM AND THE SERVICES, YOU CONSENT TO BE BOUND BY THIS LICENCE. BY TICKING THE BOX ON REGISTRATION, AND AT ANY OTHER TIME ON LOGGING IN TO THE PLATFORM AND THROUGH YOUR CONTINUED USE OF THE SERVICES AND THE PLATFORM, YOU AGREE TO BE BOUND TO THE TERMS OF THIS LICENCE. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT REGISTER FOR THE PLATFORM, OR USE ANY OF THE SERVICES. BY TICKING THE BOX YOU CONFIRM THAT YOU HAVE READ, YOU DO ACCEPT AND UNDERSTAND THE TERMS OF THIS LICENCE AGREEMENT; THAT YOU ALSO CONSENT TO USE ELECTRONIC SIGNATURES AND ACKNOWLEDGE YOUR TICKING OF BOX TO BE AN ELECTRONIC SIGNATURE SUFFICIENT TO BIND YOU TO THE TERMS OF THIS LICENCE AGREEMENT.")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 1. GRANT AND SCOPE OF LICENCE")]),t._v(" "),n("div",{staticClass:"container"},[n("p",[t._v("1.1\tGeneral: ")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n OpenLitterMap provides you with access to the services through its platform. All verified litter data (120+ items, lat, lon, timestamp and OpenStreetMap address at each location) is Free and Open to download by Country, State or City and can be used for your own research, educational or commercial purposes, available through the Open Database Licence (ODbl - https://opendatacommons.org/licenses/odbl/). Link "),n("a",{attrs:{href:"https://opendatacommons.org/licenses/odbl/"}},[t._v("here")]),t._v(".\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.2\tDefinitions:")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n 1.2.1\tContent: the Services and the Platform provides information including images, time and location data of litter that is supplied by our community of contributors, which is designed to raise awareness of litter and to provide hyper-geostatistical information to public bodies, various stakeholders and other interested parties to assist and inform the decisions made in relation littering to challenge the destructive plastic pollution paradigm; and\n "),n("br"),t._v(" "),n("br"),t._v("1.2.2\tUser Generated Content: the information, images or content provided by an End User posted to the Platform.\n ")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.3 Licence:")]),t._v(" "),n("div",{staticClass:"container"},[t._v("\n OpenLitterMap hereby grants to you a limited, personal or commercial, non- exclusive, non-transferable, temporary, revocable, non-assignable, non-sub-licensable licence and right to access the Platform and the Services though a generally available web browser in consideration of your strict and continued compliance with the following conditions:\n "),n("br"),t._v(" "),n("br"),t._v("1.3.1\tyour agreement, as evidenced by your acceptance of this EULA and your continued use of the Platform and the Services, to abide by the terms of this Licence;\n "),n("br"),t._v(" "),n("br"),t._v("1.3.2\tyour continuing compliance with the terms of this EULA and the Privacy Policy posted on the Website (which is hereby incorporated by this reference); and\n "),n("br"),t._v(" "),n("br"),t._v("1.3.3\tnot to use scraping, spidering, crawling or other technology or software of a malicious nature to access or make available to third parties information or data secured by the Platform, whether such data or information relates to OpenLitterMap , the Platform, the Services or Content without the express written consent of OpenLitterMap.\n ")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.4\tUse: Any use of the Platform, its software and/or Services or any part thereof in a manner contrary to the scope and purpose of this Licence is strictly prohibited and a violation of this Agreement, terminable in accordance with Section 12. OpenLitterMap is not intended for emergency use and users should apply extreme caution to their personal safety when using the Platform and engaging with or photographing litter, particularly needles, needle-sticks, syringes or any other form of drug-related litter. This Platform and the Content should only be used as an educational, statistics gathering tool and for aiding decision support. It is not intended to override or replace the obligation and necessity for reporting of litter to the appropriate authority in the geographical area in which the litter is identified. This Platform and the Content is currently only available directly as a web app from www.OpenLitterMap.com. Sourcing this Platform from another source without the consent of OpenLitterMap is not permitted and a direct breach of the terms of this Agreement.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("1.5\tIntellectual Property:")]),t._v(" "),n("div",{staticClass:"container"},[n("br"),t._v("1.5.1\t“Intellectual Property Right(s)” includes any patent, trade or other mark, registered design, topography right, copyright, database right or any other right in the nature of any of the foregoing (or application, or right to apply for, any of the foregoing), and trade or business name, invention, discovery, improvement, design, technique, confidential process or information or know how, in each case subsisting anywhere in the world and whether registered, unregistered, or unregisterable, and any licence or right of user of any of the foregoing, and the full right to all legal protection relating to the same;\n "),n("br"),t._v(" "),n("br"),t._v("1.5.2\tSeán Lynch reserves all Intellectual Property Rights in and to the Platform, the Content and the Services and any such Intellectual Property Right shall at all times be and for all purposes remain vested in OpenLitterMap and/or its licensors, including all copies made of the Website and the Web with Section 10.\n ")]),t._v(" "),n("br"),t._v("1.6\tReciprocal Licence: End Users grant to OpenLitterMap and its licensors an irrevocable, royalty free and non-exclusive licence to use, copy, modify, adapt, translate and distribute anonymised or personally or organisationally attributed geostatistical or operational information relating to the uses made of the Application by End Users, or about the Device and related software, hardware and peripherals, information relating to their Device and the Platform and content on the Device (“Metadata”) to provide services and to develop and improve the Platform. Metadata expressly does not include personal data the use, control and processing of which is governed by our Privacy Policy."),n("p")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 2. ACCESS TO THE SERVICES")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("2.1.\tYour Account: OpenLitterMap is offering access to and use of the Platform and the Services solely for use by the person or entity in whose name an account is registered and not for the use or benefit of any third party. OpenLitterMap may change, suspend or discontinue any part of the Platform, the Content and/or the Services at any time, including the availability of any feature, database, or content.\n "),n("br"),t._v(" "),n("br"),t._v("2.2 Account Limitation: The Licensor may also impose limits on certain features of the Platform and the Services or restrict your access to parts or all of the Services without notice or liability. For as long as the Licensor continues to offer the Platform and the Services, we shall provide and seek to update, improve and expand. Therefore, OpenLitterMap reserves the right, at its discretion, to modify this EULA at any time by posting a notice on the Platform, or by sending you a notice via e-mail, and you consent to the receipt of such notice. You shall be responsible for reviewing and becoming familiar with any such modifications. Your use of the Platform and the Services following such notification constitutes your acceptance of the terms and conditions of this EULA as modified. Any new features that materially augment or enhance the Platform and/or the Services currently available, including the release of new tools and resources, shall be subject to this Agreement (as updated). You can review the most current version of the EULA at any time at: www.OpenLitterMap.com/terms.\n "),n("br"),t._v(" "),n("br"),t._v("2.3\tAccount Availability: The Licensor will use reasonable efforts to ensure that the Platform and the Services are available twenty-four hours a day, seven days a week. However, access to the Platform and Services shall be as they may exist and be available on any given day and the Licensor has no other obligation, except as expressly stated in this EULA. There will be occasions when the Platform and the Services will be unavailable or interrupted for maintenance, upgrades and emergency repairs or due to failure of telecommunications links and equipment. Every reasonable step will be taken by OpenLitterMap to minimize such disruption where it is within OpenLitterMap's reasonable control. YOU AGREE THAT OpenLitterMap WILL NOT BE LIABLE IN ANY EVENT TO YOU OR ANY OTHER PARTY FOR ANY SUSPENSION, MODIFICATION, DISCONTINUANCE OR LACK OF AVAILABILITY OF THE PLATFORM, SERVICES OR OTHER CONTENT. The Licensor retains the right to create limits on use and storage with respect to the Platform and the Services determined at its sole discretion at any time with or without notice.\n "),n("br"),t._v(" "),n("br"),t._v("2.4\tEligibility: To be eligible to use the Platform and the Services, you must meet the following criteria and represent and warrant that you:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("2.4.1\tare not currently restricted from use of the Platform and the Services, or not otherwise prohibited from having an account with OpenLitterMap;\n "),n("br"),t._v(" "),n("br"),t._v("2.4.2\twill only maintain one End User Account at any given time (unless explicitly consented to by OpenLitterMap );\n "),n("br"),n("br"),n("br"),t._v("2.4.3\twill not violate any rights of OpenLitterMap, including Intellectual Property Rights such as copyright, patent, design or trademark rights;\n "),n("br"),n("br"),t._v("2.4.4\tagree to provide at your cost all equipment, software, and internet access necessary to use the Platform and the Services;\n "),n("br"),t._v("2.4.5\tunderstand and agree that use of the Platform and the Services may entail the applicability of certain incidental usage charges (“Incidental Charges”) during the installation and use of the Service. These Incidental Charges may, among others, be levied by your mobile network operator or your internet service provider. You are advised to consult your mobile data or internet data plan to identify the Incidental Charges which may be incurred prior to the installation and operation of these Services; and\n "),n("br"),t._v("2.4.6\tyou are responsible for your own personal safety if you come into contact with people engaged in illegal behaviour and you are wholly and completely independently responsible for your own personal belongings. You are responsible for any personal decisions made arising from our services including personal injury or injuries from gathering data on litter paricularly drug-related litter or for visiting areas known to be frequented by people who choose to consume illicit substances or engage in anti-social behaviour particularly in areas where hazardous injecting equipment lays idle and exposed.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("2.5\tSuitability: You certify to OpenLitterMap that you are legally permitted to use the Platform and the Services, and take full responsibility for the selection and use of the Platform and the Services.\n "),n("br"),t._v(" "),n("br"),t._v("2.6\tProhibition by law: This Agreement is void where prohibited by law, and the right to use the Platform and Services are revoked in such jurisdictions. OpenLitterMap makes no claim that the Services may be lawfully used or that User Generated Content may be uploaded or downloaded in any jurisdiction save the jurisdiction specified by this EULA. Access to the Content made available via the Platform may not be legally permitted by certain persons or in certain countries. If you use the Services or the Platform from outside Ireland, you do so at your own risk and you are responsible for compliance with the laws of that jurisdiction. Furthermore, if you believe that you are entitled or obligated to act contrary to this Agreement under any mandatory law, you agree to provide us with a detailed and substantiated explanation of your reasons in writing at least 30 days before you act contrary to this Agreement, to allow us to assess whether we may, at our sole discretion, provide an alternative remedy for the situation, though we are under no obligation to do so.\n "),n("br"),t._v(" "),n("br"),t._v("2.7.\tPrivacy:\t Please note that privacy is very important to us. You should not enter and should also protect sensitive personal information such as your phone number, street address, or other information that is confidential in nature, by avoiding inputting them in fields that would present in a public manner or as identifying information. Please see our Privacy Policy which governs the manner in which your personal information is used and displayed by OpenLitterMap. By using this Platform and availing of the Services, you understand and agree that we are a content-sharing platform providing you with a means to view, locate and upload geo-tagged photos and other materials that are intended to be made public. This means that any geo-tagged photo you share, once properly attributed with the contents exhibited and once passes our verification system, will have a visible spatial (eg. centimeter accurate GPS location) and temporal (eg. a specific point in time to the second, minute, hour, day, month, year) stamp that will identify the contributors location at a specific location in time. You confirm that we may access this location identification mechanism and we may share this with information third parties and users of this Platform. Any registered User may view or potentially re-use your content that you provide to the Service. By default, the images you post will remain anonymous, however if you wish, you have the option to attribute either your full name or the unique username /organisation you are legally entitled to represent on all or none of the images you submit through your account. This can be changed in the settings section at openlittermap.com/settings/privacy.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 3. REGISTRATION")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("3.1\tRegistration Process:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("3.1.1\tInformation: If you choose to create an End-User Account, you agree to provide only accurate and complete registration information and you will keep that information up-to-date if it changes. We will retain this information in accordance with the terms of our Privacy Policy.\n "),n("br"),t._v(" "),n("br"),t._v("3.1.2\tRegistering: When you register, you will be required to generate a unique log-in credential (a password) which relates to your own personal email address. Your password will be subject to certain limitations as regards availability, at the sole discretion of OpenLitterMap and must contain a minimum of 6 characters including one uppercase, one lowercase, one numeric digit and one special character. We reserve the right to the forfeiture of your password at any time. The combination of your email address and password permits us to verify you as the permitted and authorised user of the particular End-User Account, as well as providing access to the secure parts of the Platform and the Services such as uploading, attributing, verifying and downloading data. Access to the secure aspects of the Platform and the Services is not permitted for any other person or entity using your email and password and you are responsible for preventing such unauthorized use. Upon successful completion of the registration process, you will be afforded access to your End-User Account. You will be required to validate your End User Account through a validation process by email which will grant you authorized access to the Service.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("3.2\tAccess Denial: Individuals whose access to the Platform or use of the Services has previously been terminated by OpenLitterMap may not register for another account, nor may you designate another individual to use an account on your behalf. OpenLitterMap expressly reserves the right not to grant access to anyone they may choose, to the Services, the Platform or to create an End-User Account for any reason.\n "),n("br"),t._v(" "),n("br"),t._v("3.3\tAuthentication: The Website and Application rely on email addresses and passwords to know whether the person accessing the Platform and utilising the Services are authorized to do so. If someone accesses the Platform and or the Services using an email address and/or password that you have provided us with, we will rely on that email address and password and will assume that access has been made by you. You are recommended to change your password regularly to prevent unauthorised use. You are solely responsible for any and all access to the Platform, your End-User Account and/or use of the Services by persons using your email address and password. Please notify us immediately if you believe or become aware that your End-User Account is being used without your authorization.\n "),n("br"),t._v(" "),n("br"),t._v("3.4:\tAccess Indemnity: You indemnify us and hold us harmless for all damages and losses related to your failure to comply with the provisions of this Section 3, including, without limitation, your failure to secure your End-User Account from third party access.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 4. AGE AND RESPONSIBILITY")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("4.1\tAge: Any individual making use of the Platform or the Services must be over 18 years of age to register or utilise them.\n "),n("br"),t._v(" "),n("br"),t._v("4.2\tResponsibility:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("4.2.1\tBy using and registering for the Platform and the Services, you understand that you are financially responsible for the applicable costs (if any) of using the services as detailed in this Agreement.\n "),n("br"),t._v(" "),n("br"),t._v("4.2.2\tYou agree to notify us immediately of any unauthorised use of your log-on information or any other breach of security.\n "),n("br"),t._v(" "),n("br"),t._v("4.2.3\tThis Platform shall currently only be used as a tool to raise public awareness and to aid and inform decision making to curb the destructive plastic pollution paradigm. It is not intended to be used in an emergency nor is it intended to override the roles of law enforcement or public administration. It is the obligation of the End User to confirm the information provided by way of the Content through independent sources. This Platform must not be considered complete or comprehensive due to possible errors in the database, limitations on volunteer contributions and the associated Content. Use of the Platform is solely at the End User’s risk.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 5. USER UNDERTAKINGS")]),t._v(" "),n("p",[t._v("5.1\tUndertaking: Except as expressly set out in this Licence or as permitted by any local law, you undertake not to:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("5.1.1.\tuse the Services for any unlawful or illegal purpose;\n "),n("br"),t._v("5.1.2.\tact dishonestly or fraudulently by engaging in objectionable conduct, or by posting inappropriate, inaccurate, or objectionable content to or through the Platform;\n "),n("br"),t._v("5.1.3\tpublish inaccurate information in the designated fields on registration for the service (e.g. do not include a link or an email address in your name field)\n "),n("br"),t._v("5.1.4.\tmake any translation, adaptation, arrangement or any other alteration of the permanent aspects of the Platform or any of the software contained in either or both;\n "),n("br"),t._v("5.1.5.\tmake any form of distribution to the public of the content of the Platform, the software, in whole or in part, or of copies thereof;\n "),n("br"),t._v("5.1.6.\tmake any form of distribution to the public of the Content or any other content on the Platform save as in accordance with the terms of this EULA;\n "),n("br"),t._v("5.1.7.\tremove or alter any copyright, meta-tags or other proprietary notice from the Platform, the Software and/or the Content;\n "),n("br"),t._v("5.1.8\tdisseminate, sell, give away, hire, lease, offer or expose for sale or distribute the content of the Platform, the Content or another associated data, information, product or content wholly or partially derived from any of the foregoing;\n "),n("br"),t._v("5.1.9.\tcreate an End-User Account for anyone other than a natural person;\n "),n("br"),t._v("5.1.10.\tharass, abuse or harm another person, including sending unwelcomed communications to others using the Services;\n "),n("br"),t._v("5.1.11.\tuse or attempt to use another End Users account without authorization from OpenLitterMap or that End User or create a false identity on the Website and/or the Application;\n "),n("br"),t._v("5.1.12.\tUpload, post, email, transmit or otherwise make available or initiate any content that:\n a)\tfalsely states, impersonates or otherwise misrepresents your identity to OpenLitterMap , including but not limited to the use of a pseudonym;\n b)\tis unlawful, libellous, abusive, obscene, discriminatory or otherwise objectionable;\n c)\tadds to a content field such content that is not intended for such field (i.e. submitting a telephone number in the “Name” or any other field, or including telephone numbers, email addresses, street addresses or any personally identifiable information for which there is not a field provided by OpenLitterMap );\n d)\tincludes information that you do not have the right to disclose or make available under any law or under contractual or fiduciary relationships.\n e)\tinfringes upon patents, trademarks, trade secrets, copyrights or other proprietary rights; and/or\n f)\tincludes any unsolicited or unauthorised communication, advertising, promotional materials, “junk mail,” “spam,” “chain letters,” “pyramid schemes,” or any other form of solicitation. This prohibition includes but is not limited to (i) using OpenLitterMap to send messages to people who have not expressly consented to the receipt of such contact through the privacy controls on the system; (ii) sending messages to distribution lists, newsgroup aliases, or group aliases.\n "),n("br"),t._v("5.1.13.\timply or state, directly or indirectly, that you are affiliated with or endorsed by OpenLitterMap unless you have entered into a written agreement with OpenLitterMap;\n "),n("br"),t._v("5.1.14.\treverse engineer, decompile, disassemble, decipher or otherwise attempt to derive the source code for any underlying intellectual property used in the Platform or to provide the Services, or any part thereof;\n "),n("br"),t._v("5.1.15.\tuse manual or automated software, devices, scripts robots, other means or processes to access, “scrape,” “crawl” or “spider” any web pages or other services contained in the Platform;\n "),n("br"),t._v("5.1.16.\tinfringe or use the OpenLitterMap brand, logos and/or trademarks, including, without limitation, using the word “OpenLitterMap” in any business name, email, or URL or including OpenLitterMap’s trademarks and logos except as expressly permitted by Seán Lynch post April 2017;\n "),n("br"),t._v("5.1.17\tuse bots or other automated methods to access the Platform, add or download contacts, send or redirect messages, or perform other activities through the Platform, unless explicitly permitted by OpenLitterMap ;\n "),n("br"),t._v("5.1.18.\tEngage in “framing,” “mirroring,” or otherwise simulating the appearance or function of the Platform;\n "),n("br"),t._v("5.1.19.\tAttempt to or actually access the Platform by any means other than through the interfaces provided by OpenLitterMap. This prohibition includes accessing or attempting to access OpenLitterMap using any third-party service, including software-as-a-service platforms that aggregate access to multiple services, including OpenLitterMap and proxy services;\n "),n("br"),t._v("5.1.20.\tDeep-link to the Platform for any purpose, (i.e. including a link to OpenLitterMap other than the home page) unless expressly authorized in writing by OpenLitterMap or for the purpose of authorised promotion;\n "),n("br"),t._v("5.1.21. Engage in any action that directly or indirectly interferes with the proper working of or places an unreasonable load on OpenLitterMap infrastructure, including, but not limited to, sending unsolicited communications to other Users or OpenLitterMap personnel, attempting to gain unauthorised access to OpenLitterMap , or transmitting or activating computer viruses through or on the Platform.\n ")]),t._v(" "),n("br"),t._v(" "),n("br"),t._v("5.2.\tCompliance Indemnity: You hereby agree to indemnify and hold OpenLitterMap and its licensors harmless from and against any liabilities, damages, judgments, costs and expenses (including reasonable legal fees and indirect and consequential loss) (“Losses”) arising out of your registration for or use of the Website, any downloading, installation and use of the Application software, or use of the Services in a manner inconsistent with this EULA.\n "),n("br"),t._v(" "),n("br"),t._v("5.3\tWarranty: You represent and warrant that you have the legal right and capacity to enter into this EULA in your jurisdiction.\n "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 6. OpenLitterMap 'UNDERTAKINGS'")]),t._v(" "),n("p",[t._v("6.1\tOpenLitterMap Indemnity: We shall indemnify you against any claim that your use of or access to the Platform or Services infringes the copyright of any third party provided:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("6.1.1\tsuch claim relates to the technology and software underlying the Platform and or the Services;\n "),n("br"),t._v("6.1.2\twe are immediately notified of any such claim;\n "),n("br"),t._v("6.1.3\tyou do not make any admission of liability;\n "),n("br"),t._v("6.1.4\twe are given immediate and complete control of such claim, including the right to conduct the defence of any claim and to make any settlements as appropriate; and\n "),n("br"),t._v("6.1.5\tthe claim does not arise on foot of any of the circumstances set out in Section 5 above.\n ")]),t._v(" "),n("br"),t._v("6.2\tRemedies: We shall have the right at our discretion, to replace, modify or change the software incorporated in the Services to make any such software non-infringing. The maximum aggregate liability of OpenLitterMap shall be equal to that which is set out in section 9 of this Agreement. This states the entire liability of OpenLitterMap to you in respect of the infringement of the Intellectual Property Rights of any third parties.\n "),n("br"),t._v(" "),n("br"),t._v("6.3.\tDisclosure of End User Information:\n "),n("div",{staticClass:"container"},[n("br"),t._v("6.3.1.\tYou acknowledge, consent and agree that we may access, preserve, and disclose your registration and any other information you provide to us, if required to do so by law or we, in good faith believe that such access, preservation or disclosure is reasonably necessary in our opinion to:\n (a)\tcomply with legal process, including, but not limited to, civil and criminal subpoenas, court orders or other compulsory disclosures;\n (b)\tenforce this Agreement;\n (c)\trespond to claims of a violation of the rights of third parties, whether or not the third party is a User, individual, or government agency;\n (d)\trespond to customer service inquiries; or\n (e)\tprotect the rights, property, or personal safety of OpenLitterMap developers/employees, our users or the public.\n "),n("br"),t._v("6.3.2.\tDisclosures of user information to third parties other than those required to provide customer support, to administer this EULA, or to comply with legal requirements are addressed in the Privacy Policy.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 7. THIRD PARTY SITES")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("7.1\tLinks: OpenLitterMap if it includes links to third party web sites in its Content (“Third Party Site(s)”) is not responsible for and does not endorse any features, content, advertising, products or other materials on or available from Third Party Sites or applications. If you decide to access Third Party Sites, you do so at your own risk and agree that your use of any Third Party Sites is on an “as-is” basis without any warranty, and your use of any Third Party Site is subject to the terms and conditions contained therein.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 8. WARRANTY & DISCLAIMER ")]),t._v(" "),n("br"),n("p",[t._v("8.1\tANY INFORMATION OR CONTENT CONTAINED IN THE PLATFORM OR PROVIDED VIA THE SERVICES IS PROVIDED “AS IS” OR “AS AVAILABLE”. WHILE OpenLitterMap STRIVES TO PROVIDE YOU WITH USEFUL AND ACCURATE EVIDENCE BASED INFORMATION, OpenLitterMap DOES NOT WARRANT, AND EXPRESSLY DISCLAIMS, THAT THE INFORMATION CONTAINED IN CONTENT PROVIDED BY THIS PLATFORM IS UP-TO- DATE AND COMPLETE.\n "),n("br"),t._v(" "),n("br"),t._v("8.2\tAN END USER OF THE PLATFORM IS RESPONSIBLE FOR ANY AND ALL DAMAGES ARISING FROM PERSONAL CONTACT WITH LITTER INCLUDING NEEDLES, NEEDLE-STICKS OR ANY FORM OF DRUG-RELATED LITTER THAT MAY ARISE AS A CONSEQUENCE OF THEIR SEARCH FOR OR COLLECTION OF LITTER INCLUDING HANDLING OR MISHANDLING LITTER THAT MAY CAUSE HARM TO THE END USER’S PERSONAL HEALTH AND WELL-BEING. THE END USER HEREBY FULLY ACKNOWLEDGES THAT THEY ARE RESPONSIBLE FOR THEIR OWN ACTIONS AND THAT UNDER NO CIRCUMSTANCES CAN THE LICENSOR BE HELD RESPONSIBLE FOR SUCH ACTIONS. BY VOLUNTEERING TO SUBMIT AND CATEGORIZE GEOTAGGED PHOTOS OF LITTER WE STRIVE TO REDUCE THE HARMS CAUSED BY LITTER TO SOCIETY.\n "),n("br"),t._v(" "),n("br"),t._v("8.3\tTO THE FULLEST EXTENT PERMISSIBLE UNDER APPLICABLE LAW, WE DISCLAIM ANY AND ALL IMPLIED WARRANTIES AND REPRESENTATIONS, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, ACCURACY OF DATA, AND NONINFRINGEMENT. IF YOU ARE DISSATISFIED WITH THE PLATFORM, THE SERVICES, OR DO NOT AGREE WITH THE TERMS OF THIS EULA, YOU MAY CLOSE YOUR OpenLitterMap ACCOUNT AND TERMINATE THIS EULA IN ACCORDANCE WITH SECTION 12 (“TERMINATION”) AND SUCH TERMINATION SHALL BE YOUR SOLE AND EXCLUSIVE REMEDY. THIS PLATFORM AND THE CONTENT PROVIDED BY IT, MUST NOT BE CONSIDERED COMPLETE OR COMPREHENSIVE DUE TO POSSIBLE ERRORS IN THE DATABASE AND OUR INTERNAL TECHNICAL METHODS.\n "),n("br"),t._v(" "),n("br"),t._v("8.4\tOpenLitterMap IS NOT RESPONSIBLE AND MAKES NO REPRESENTATIONS OR WARRANTIES FOR THE DELIVERY OF ANY MESSAGES OR COMMUNICATION (SUCH AS EMAILS, FORUM POSTINGS OR TRANSMISSION OF ANY OTHER USER GENERATED CONTENT) UPLOADED TO THE PLATFORM. THE TRANSMISSION OF ANY SUCH MESSAGES, IMAGES OR COMMUNICATION SHALL BE ENTIRELY THE RESPONSIBILITY OF THE MOBILE NETWORK OPERATOR OR BROADBAND INTERNET PROVIDER. IN ADDITION, WE NEITHER WARRANT NOR REPRESENT THAT YOUR PERSONAL USE OF THE SERVICE WILL NOT INFRINGE THE RIGHTS OF THIRD PARTIES. ANY MATERIAL, SERVICE, OR TECHNOLOGY DESCRIBED OR USED ON THE PLATFORM MAY BE SUBJECT TO INTELLECTUAL PROPERTY RIGHTS OWNED BY THIRD PARTIES WHO HAVE LICENSED SUCH MATERIAL, SERVICE, OR TECHNOLOGY TO US.\n "),n("br"),t._v(" "),n("br"),t._v("8.5\tOpenLitterMap DOES NOT HAVE ANY OBLIGATION TO VERIFY THE IDENTITY OF THE PERSONS SUBSCRIBING FOR ITS SERVICES, NOR DOES IT HAVE ANY OBLIGATION TO MONITOR THE USE OF ITS SERVICES BY OTHER USERS; THEREFORE, OpenLitterMap DISCLAIMS ALL LIABILITY FOR IDENTITY THEFT OR ANY OTHER MISUSE OF YOUR IDENTITY OR INFORMATION.\n "),n("br"),t._v(" "),n("br"),t._v("8.6\tOpenLitterMap DOES NOT GUARANTEE THAT THE SERVICES IT PROVIDES WILL FUNCTION WITHOUT INTERRUPTION OR ERRORS IN OPERATION. IN PARTICULAR, THE OPERATION OF THE SERVICES MAY BE INTERRUPTED DUE TO MAINTENANCE, UPDATES, OR SYSTEM OR NETWORK FAILURES. OpenLitterMap DISCLAIMS ALL LIABILITY FOR DAMAGES CAUSED BY ANY SUCH INTERRUPTION OR ERRORS IN FUNCTIONALITY. FURTHERMORE, OpenLitterMap DISCLAIMS ALL LIABILITY FOR ANY MALFUNCTIONING, IMPOSSIBILITY OF ACCESS, OR POOR USE CONDITIONS OF THE PLATFORM DUE TO INAPPROPRIATE EQUIPMENT, DISTURBANCES RELATED TO INTERNET SERVICE PROVIDERS, TO THE SATURATION OF THE INTERNET NETWORK, AND FOR ANY OTHER REASON.\n")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 9: LIMITATION OF LIABILITY.")]),t._v(" "),n("br"),t._v(" "),n("p",[t._v("9.1\tPrecedence: This Section prevails over all other provisions of this EULA and sets out the entire liability of OpenLitterMap in respect of:\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("9.1.1\tthe performance, non-performance, purported performance or delay in performance by OpenLitterMap of its obligations under this EULA; and\n "),n("br"),t._v("9.1.2\totherwise in relation to this Agreement or the entering into or performance of this EULA.\n ")]),t._v(" "),n("br"),t._v("9.2\tLosses not excluded: Nothing in this EULA shall exclude or limit OpenLitterMap liability specifically;\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.2.1\tunder the tort of deceit;\n "),n("br"),t._v("9.2.2\tfor death or personal injury caused by any breach of duty;\n "),n("br"),t._v("9.2.3\tany breach of an obligation implied by the Sale of Goods Act 1893 and/or the Sale of Goods, Supply of Services Act 1980 (if any); or\n "),n("br"),t._v("9.2.4\tany other liability to the extent that under applicable law it cannot be excluded or limited.\n ")]),t._v(" "),n("br"),t._v("9.3\tLosses specifically excluded: OpenLitterMap disclaims all responsibility in respect of and for the personal safety of volunteers collecting and collating Content for upload on the Platform. End Users hereby hold the Licensor harmless from any damages, liabilities, Losses or any claims resulting from personal contact with litter such as needles, needle-sticks or any form of litter that may occur as a result of an End User’s search for or collection of litter including handling or mishandling or litter that may result in causing harm to the personal health and well-being of the End User or any other third party. Please be careful.\n "),n("br"),t._v(" "),n("br"),t._v("9.4\tNo Implied Terms: The terms of this EULA are in lieu of all other conditions, warranties and other terms concerning the supply or purported supply of, or failure to supply or delay in supplying, any services (except for those arising under the Sale of Goods Act 1893 and/or the Sale of Goods, Supply of Services Act 1980 (if any) which might but for this Clause have effect between OpenLitterMap and you or would otherwise be implied or incorporated into this EULA or any collateral contract, whether by statue, common law, or otherwise (including the implied conditions, warranties or other terms as to satisfactory quality, fitness for purpose or as to the use of reasonable skill and care), all of which are hereby excluded.\n "),n("br"),t._v(" "),n("br"),t._v("9.5\tNon-Contractual Liability: Subject to 9.2 and 9.3, OpenLitterMap does not accept, and excludes all liability for breach of any obligation or duty to take reasonable care or exercise reasonable skill other than any such obligation or duty arising under this EULA.\n "),n("br"),t._v(" "),n("br"),t._v("9.6\tIndirect Loss: Subject to 9.2, OpenLitterMap shall not be liable in contract, tort or otherwise howsoever for any of the following losses or damage, (whether or not such damage was foreseen, foreseeable, known or otherwise):\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.6.1\trevenue, actual or anticipated profits, contracts, use of money, anticipated savings, business, opportunity, goodwill, reputation, changes in the value of assets, damage or corruption of data ; or\n "),n("br"),t._v("9.6.2\tany indirect or consequential loss howsoever caused (including, for the avoidance of doubt, whether such loss or damage is of a type specified in 9.6.1).\n "),n("br"),t._v("9.6.3 any other entities that claim a right to the same name.\n ")]),t._v(" "),n("br"),t._v("9.7\tBreach of Warranty: For the avoidance of doubt, OpenLitterMap shall have no liability to remedy a breach of warranty where such breach arises as a result of any of the following circumstances:\n "),n("div",{staticClass:"container"},[n("br"),t._v("9.7.1.\tany use of the Services by you other than in accordance with the terms of this Agreement or use of the Services for a purpose for which they were not designed;\n "),n("br"),t._v("9.7.2.\tany temporary or permanent reproduction by any means and in any form, in whole or in part, of the Platform;\n "),n("br"),t._v("9.7.3.\tany reverse assembly, reverse compilation, reverse engineering or adaptation of the whole or part of the Platform;\n "),n("br"),t._v("9.7.4.\tany alteration, modification, adjustment, translation, adaptation or enhancement made by you to the Website or the Application or any combination, connection, operation or use of the Platform with any other equipment, software or documentation;\n "),n("br"),t._v("9.7.5\tany dissemination, sale, hire, lease offer or exposure for sale or distribution of the Platform;\n "),n("br"),t._v("9.7.6\tany item of third party hardware or software, even if forming part of the software or if the Licensor has recommended such third party hardware or software;\n "),n("br"),t._v("9.7.7\tany breach by you of your obligations under this Agreement or of the Licensor’s Intellectual Property Rights; or\n "),n("br"),t._v("9.7.8\tany act, omission, negligence, fraud or default of or by you.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 10. INTELLECTUAL PROPERTY RIGHTS ")]),t._v(" "),n("p",[t._v("10.1\tVesting: You acknowledge that all Intellectual Property Rights, title and interest in the Platform and the Services contained therein, throughout the world belong to Seán Lynch, that rights in the these are licensed (not sold) to you, and that you have no rights in, or to, the Platform and the Services other than the right to use them in accordance with the terms of this EULA.\n "),n("br"),t._v("10.2\tContributions: Currently OpenLitterMap only accepts feedback to seanlynch@umail.ucc.ie. Please note that as OpenLitterMap develops we welcome your information, ideas, suggestions or other materials which you may supply. Any ideas, suggestions, documents, improvements, comments, proposals or feedback in relation to the operation of the Platform and or the Services (“Feedback”) in whatever manner or form facilitated by the Platform; any such communication with OpenLitterMap whether verbally, via postings on blogs, forums, questionnaires, email and the like (“Communication”), you acknowledge and agree that such Feedback and or Communication (together “Contributions”):\n ")]),n("div",{staticClass:"container"},[n("br"),t._v("10.2.1.\tdo not contain confidential or proprietary information;\n "),n("br"),t._v("10.2.2.\tdo not create any express or implied obligation of confidentiality in respect of OpenLitterMap;\n "),n("br"),t._v("10.2.3.\tOpenLitterMap is free to use or disclose (or choose not to use or disclose) such Contributions for any purpose, in any way, in any media worldwide;\n "),n("br"),t._v("10.2.4.\tdoes not preclude OpenLitterMap from having something similar to the Contributions already under consideration or in development;\n "),n("br"),t._v("10.2.5.\tthat you irrevocably waive and assign all right, title and interest in and to the Contributions to OpenLitterMap;\n "),n("br"),t._v("10.2.6.\tdoes not entitle you to any compensation, royalty or reimbursement of any kind from OpenLitterMap under any circumstances; and\n "),n("br"),t._v("10.2.7\tyou further agree to provide OpenLitterMap with such assistance as may be required in documenting, perfecting and maintaining OpenLitterMap’s rights in and to any such Contributions.\n ")]),t._v(" "),n("p"),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 11. INTEGRITY OF DATA")]),t._v(" "),n("p",[t._v("11.1\tNot Bespoke: You acknowledge that the Platform, the Services and the software have not been developed to meet your individual requirements and that it is therefore your responsibility to ensure that the facilities and functions of the Platform and the Services as described on the Website, meet your requirements.\n "),n("br"),t._v("11.2\tMinor Errors: You acknowledge that the Platform and the Services may not be free of bugs or errors and you agree that the existence of any errors shall not constitute a breach of this Licence.\n "),n("br"),t._v("11.3\tInsurance: You agree that you are the best judge of the value and importance of the data held on your End-User Account and that you will be solely responsible for taking out any insurance policy or other financial cover for loss or damage which may arise from loss of data for any reason.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 12. TERMINATION")]),t._v(" "),n("p",[t._v("12.1\tDuration: This Licence is effective either until deactivated by you by emailing us at seanlynch@umail.ucc.ie\n "),n("br"),t._v("12.2\tImmediate Termination: OpenLitterMap may terminate this Licence immediately if:\n "),n("br"),t._v("12.2.1\tyou commit a material or persistent breach of this Licence which you fail to remedy (if remediable) within 14 days after the service on you of notice requiring you to do so;\n "),n("br"),t._v("12.2.2\ta petition for a bankruptcy order to be made against you has been presented to the court;\n "),n("br"),t._v("12.2.3.\tif OpenLitterMap believes, at its sole discretion, that you are not adhering to the terms and conditions of this EULA or the Privacy Policy; or\n "),n("br"),t._v("12.2.4\tfor just cause at the sole discretion of OpenLitterMap to include, but not limited to the abuse of any fair usage policy or for the breach of any matter outlined under Section 5.1 above.\n "),n("br"),t._v("12.4\tUpon termination for any reason:\n "),n("br"),t._v("12.4.1\tall rights granted to you under this Licence shall cease;\n "),n("br"),t._v("12.4.2\tyou must cease all activities authorised by this Licence;\n "),n("br"),t._v("12.4.3\tyou must immediately pay to the Licensor any sums due to the Licensor under this Licence if applicable; and\n "),n("br"),t._v("12.4.4\tAll data stored and retained in the System will be deleted within a reasonable period.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 13. DATA PROTECTION")]),t._v(" "),n("p",[t._v("OpenLitterMap shall comply with the Data Protection requirements set out in our Privacy Policy.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 14. NOTICES")]),t._v(" "),n("p",[t._v("14.1\tService messages: For the purposes of service messages and notices about the Services to you, OpenLitterMap may place a banner notice across the Platform to alert you to certain changes such as modifications to this EULA. Alternatively, notice may consist of an email from OpenLitterMap to an email address associated with your account or via a digital distribution platform for mobile applications, applicable to your particular device should we choose to facilitate this in the future.\n "),n("br"),t._v("14.2:\tGeneral Communication: You also agree that OpenLitterMap may communicate with you through your account or through other means including email about your account or services associated with OpenLitterMap. To unsubscribe from any communication we circulate to you, please click on the unsubscribe mechanism at the bottom of the communication. You acknowledge and agree that we shall have no liability associated with or arising from your failure to do so, to maintain accurate contact or other information, including, but not limited to, your failure to receive critical information about the Platform and Services.\n "),n("br"),t._v("14.3\tContacting OpenLitterMap : You may contact OpenLitterMap directly by email at seanlynch@umail.ucc.ie\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 15. AMENDMENTS TO THE LICENCE")]),t._v(" "),n("p",[t._v("15.1\tAmendments: OpenLitterMap reserves the right, at our sole discretion, to amend, add or delete any of the terms and conditions of this Licence. OpenLitterMap will post notifications of any such changes to this Licence on the Website or in the Application, will provide a link to the revised version of this Licence, and may provide such other notice as the Licensor may elect in its sole discretion. If any future changes to this Licence are unacceptable to you or cause you to no longer be in compliance with this Licence, you may terminate this Licence in accordance with the terms herein.\n "),n("br"),t._v("15.2\tEvidence of Acceptance: Your installation, download and/or use of any updated or modified Software (if any) and/or your continued use of the Website, the Application or the Services following notice of changes to this Licence as described above means you accept any and all such changes. OpenLitterMap may change, modify, suspend, or discontinue any aspect of the Website, the Application and/or the Services at any time.\n "),n("br"),t._v("15.3\tLimits: OpenLitterMap may also impose limits on certain features without notice or liability. You disclaim any right, title or interest, monetary or otherwise, in any feature or content contained in the Platform and/or the Services.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 16. WAIVER")]),t._v(" "),n("p",[t._v("16.1\tStrict Performance: If OpenLitterMap fails, at any time during the term of this Licence, to insist on strict performance of any of your obligations under this Licence, or if OpenLitterMap fails to exercise any of the rights or remedies to which it is entitled under this Licence, this shall not constitute a waiver of such rights or remedies and shall not relieve you from compliance with such obligations.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 17. CONFIDENTIAL INFORMATION")]),t._v(" "),n("p",[t._v("17.1\tNon-Confidential Relationship: You acknowledge and agree that your relationship with OpenLitterMap is not a confidential, fiduciary, or other type of special relationship, and that your decision to submit any User Generated Content does not place OpenLitterMap in a position that is any different from the position held by members of the general public, including with regard to your User Generated Content. None of your User Generated Content will be subject to any obligation of confidence on the part of OpenLitterMap, and OpenLitterMap will not be liable for any use or disclosure of any Content you provide, subject at all times to the terms of the Privacy Policy.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 18. SEVERABILITY")]),t._v(" "),n("p",[t._v("If any of the terms of this Licence are determined by any competent authority to be invalid, unlawful or unenforceable to any extent, such term, condition or provision will to that extent be severed from the remaining terms, conditions and provisions which will continue to be valid to the fullest extent permitted by law.")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 19. ENTIRE AGREEMENT")]),t._v(" "),n("p",[t._v("This EULA and any document expressly referred to in it represents the entire agreement between you and Seán Lynch trading as OpenLitterMap, in relation to the license hereunder and supersedes any prior agreement, representation, understanding or arrangement between us, whether oral or in writing. Both Parties hereunder acknowledge that, in entering into this EULA, neither Party has relied on any representation, undertaking or promise given by the other or implied from anything said or written in negotiations between us before entering into this Licence except as expressly stated in this Licence. ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 20. LAW AND JURISDICTION")]),t._v(" "),n("p",[t._v("20.1\tJurisdiction: This EULA is governed by Irish law. Any dispute arising from, or related to, any term of this EULA shall be subject to the exclusive jurisdiction of the Irish courts.\n "),n("br"),t._v("20.2\tLanguage: Any dispute arising from, or related to, any term of this EULA arising between the Parties, shall be resolved or determined based on the English language version alone. These terms were originally written in English. In the event that these terms are translated into any other language, the translation shall be for review purposes only and have no legal effect.\n ")]),t._v(" "),n("br"),t._v(" "),n("h3",[t._v("SECTION 21. Relationship")]),t._v(" "),n("p",[t._v("Nothing in this Agreement shall create, evidence or imply any agency, partnership or joint venture between you and OpenLitterMap. Neither you nor OpenLitterMap shall act or describe itself as the agent of the other; nor shall either party represent that it has any authority to make commitments on behalf of the other.")])])}],!1,null,"2eec2650",null);e.default=o.exports},GKyZ:function(t){t.exports=JSON.parse('{"general":"Algemeen","password":"Wachtwoord","details":"Persoonlijke Details","account":"Mijn Account","payments":"Mijn Betalingen","privacy":"Privacy","littercoin":"Littercoin (LTRX)","presence":"Aanwezigheid","emails":"Emails","show-flag":"Toon vlag","teams":"Teams"}')},GvbF:function(t){t.exports=JSON.parse('{"card-number":"Kaart nummer","card-holder":"Naam van kaart eigenaar","exp":"Verval datum","cvv":"CVV","placeholders":{"card-number":"Je 16 cijferig kaart nummer","card-holder":"Naam van de kaart eigenaar","exp-month":"Maand","exp-year":"Jaar","cvv":"***"}}')},H8ED:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i,r;return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+(i=+t,r={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},H8ri:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return l})),n.d(e,"d",(function(){return u}));var i=n("MO+k"),r=n.n(i);function o(t,e){return{render:function(t){return t("div",{style:this.styles,class:this.cssClasses},[t("canvas",{attrs:{id:this.chartId,width:this.width,height:this.height},ref:"canvas"})])},props:{chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:function(){return[]}}},data:function(){return{_chart:null,_plugins:this.plugins}},methods:{addPlugin:function(t){this.$data._plugins.push(t)},generateLegend:function(){if(this.$data._chart)return this.$data._chart.generateLegend()},renderChart:function(t,n){this.$data._chart&&this.$data._chart.destroy(),this.$data._chart=new r.a(this.$refs.canvas.getContext("2d"),{type:e,data:t,options:n,plugins:this.$data._plugins})}},beforeDestroy:function(){this.$data._chart&&this.$data._chart.destroy()}}}var a=o("bar-chart","bar"),s=(o("horizontalbar-chart","horizontalBar"),o("doughnut-chart","doughnut")),l=o("line-chart","line"),u=(o("pie-chart","pie"),o("polar-chart","polarArea"),o("radar-chart","radar"));o("bubble-chart","bubble"),o("scatter-chart","scatter")},HI13:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n@media only screen and (max-width: 900px) {\n.container[data-v-a33e70aa] {\n display: flex;\n overflow-x: auto;\n}\n.admin-item[data-v-a33e70aa] {\n padding: 10px;\n}\n}\n.category[data-v-a33e70aa] {\n font-size: 1.25em;\n display: flex;\n justify-content: center;\n margin-bottom: 0.5em;\n}\n.litter-tag[data-v-a33e70aa] {\n cursor: pointer;\n margin-bottom: 10px;\n width: 100%;\n}\n\n",""])},HOht:function(t){t.exports=JSON.parse('{"cancel":"Cancel","submit":"Submit","download":"Download","delete":"Delete","delete-image":"Delete the image?","confirm-delete":"Confirm Delete","loading":"Loading...","created_at":"Uploaded at","created":"Created","created-by":"Created by","datetime":"Taken at","day-names":["Mo","Tu","We","Th","Fr","Sa","Su"],"month-names":["January","February","March","April","May","June","July","August","September","October","November","December"],"short-month-names":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"next":"Next","previous":"Previous","next-page":"Next page","add-tags":"Add Tags","add-many-tags":"Add Many Tags","select-all":"Select all","de-select-all":"De-select all","choose-dates":"Choose Dates","not-verified":"Not Verified","verified":"Verified","search-by-id":"Search by ID","active":"Active","inactive":"Inactive","your-email":"you@email.com"}')},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(t){return function(e,r,o,a){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,e)}},o=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},HSsa:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),i=0;i=0&&Math.floor(e)===e&&isFinite(t)}function h(t){return o(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function f(t){return null==t?"":Array.isArray(t)||c(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function w(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var x=/-(\w)/g,k=w((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),C=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),L=/\B([A-Z])/g,S=w((function(t){return t.replace(L,"-$1").toLowerCase()})),M=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function T(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function E(t,e){for(var n in e)t[n]=e[n];return t}function O(t){for(var e={},n=0;n0,K=Z&&Z.indexOf("edge/")>0,Q=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===q),tt=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),et={}.watch,nt=!1;if(W)try{var it={};Object.defineProperty(it,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,it)}catch(i){}var rt=function(){return void 0===H&&(H=!W&&!G&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),H},ot=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,lt="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);st="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=P,ct=0,dt=function(){this.id=ct++,this.subs=[]};dt.prototype.addSub=function(t){this.subs.push(t)},dt.prototype.removeSub=function(t){y(this.subs,t)},dt.prototype.depend=function(){dt.target&&dt.target.addDep(this)},dt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!b(r,"default"))a=!1;else if(""===a||a===S(t)){var l=Bt(String,r.type);(l<0||s0&&(ce((l=t(l,(n||"")+"_"+i))[0])&&ce(c)&&(d[u]=yt(c.text+l[0].text),l.shift()),d.push.apply(d,l)):s(l)?ce(c)?d[u]=yt(c.text+l):""!==l&&d.push(yt(l)):ce(l)&&ce(c)?d[u]=yt(c.text+l.text):(a(e._isVList)&&o(l.tag)&&r(l.key)&&o(n)&&(l.key="__vlist"+n+"_"+i+"__"),d.push(l)));return d}(t):void 0}function ce(t){return o(t)&&o(t.text)&&!1===t.isComment}function de(t,e){if(t){for(var n=Object.create(null),i=lt?Reflect.ownKeys(t):Object.keys(t),r=0;r0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==i&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var l in r={},t)t[l]&&"$"!==l[0]&&(r[l]=me(e,l,t[l]))}else r={};for(var u in e)u in r||(r[u]=ge(e,u));return t&&Object.isExtensible(t)&&(t._normalized=r),$(r,"$stable",a),$(r,"$key",s),$(r,"$hasNormal",o),r}function me(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:ue(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function ge(t,e){return function(){return t[e]}}function ve(t,e){var n,i,r,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,r=t.length;idocument.createEvent("Event").timeStamp&&(ln=function(){return un.now()})}function cn(){var t,e;for(sn=ln(),on=!0,tn.sort((function(t,e){return t.id-e.id})),an=0;anan&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,ee(cn))}}(this)},hn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){$t(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var fn={enumerable:!0,configurable:!0,get:P,set:P};function pn(t,e,n){fn.get=function(){return this[e][n]},fn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,fn)}var mn={lazy:!0};function gn(t,e,n){var i=!rt();"function"==typeof n?(fn.get=i?vn(e):yn(n),fn.set=P):(fn.get=n.get?i&&!1!==n.cache?vn(e):yn(n.get):P,fn.set=n.set||P),Object.defineProperty(t,e,fn)}function vn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),dt.target&&e.depend(),e.value}}function yn(t){return function(){return t.call(this,this)}}function _n(t,e,n,i){return c(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var bn=0;function wn(t){var e=t.options;if(t.super){var n=wn(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&E(t.extendOptions,i),(e=t.options=Rt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function xn(t){this._init(t)}function kn(t){return t&&(t.Ctor.options.name||t.tag)}function Cn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===u.call(n)&&t.test(e));var n}function Ln(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=kn(a.componentOptions);s&&!e(s)&&Sn(n,o,i,r)}}}function Sn(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,y(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=bn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Rt(wn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&qe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=he(e._renderChildren,r),t.$scopedSlots=i,t._c=function(e,n,i,r){return Ye(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return Ye(t,e,n,i,r,!0)};var o=n&&n.data;Mt(t,"$attrs",o&&o.attrs||i,null,!0),Mt(t,"$listeners",e._parentListeners||i,null,!0)}(e),Qe(e,"beforeCreate"),function(t){var e=de(t.$options.inject,t);e&&(Ct(!1),Object.keys(e).forEach((function(n){Mt(t,n,e[n])})),Ct(!0))}(e),function(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[];t.$parent&&Ct(!1);var o=function(o){r.push(o);var a=zt(o,e,n,t);Mt(i,o,a),o in t||pn(t,"_props",o)};for(var a in e)o(a);Ct(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]="function"!=typeof e[n]?P:M(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return $t(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});for(var n,i=Object.keys(e),r=t.$options.props,o=(t.$options.methods,i.length);o--;){var a=i[o];r&&b(r,a)||(void 0,36!==(n=(a+"").charCodeAt(0))&&95!==n&&pn(t,"_data",a))}St(e,!0)}(t):St(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=rt();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;i||(n[r]=new hn(t,a||P,P,mn)),r in t||gn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==et&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r1?T(e):e;for(var n=T(arguments,1),i='event handler for "'+t+'"',r=0,o=e.length;rparseInt(this.max)&&Sn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return F}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:E,mergeOptions:Rt,defineReactive:Mt},t.set=Tt,t.delete=Et,t.nextTick=ee,t.observable=function(t){return St(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,E(t.options.components,Tn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Rt(this.options,t),this}}(t),function(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Rt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)pn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)gn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),r[i]=a,a}}(t),function(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(xn),Object.defineProperty(xn.prototype,"$isServer",{get:rt}),Object.defineProperty(xn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xn,"FunctionalRenderContext",{value:De}),xn.version="2.6.11";var En=m("style,class"),On=m("input,textarea,option,select,progress"),Pn=function(t,e,n){return"value"===n&&On(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Dn=m("contenteditable,draggable,spellcheck"),An=m("events,caret,typing,plaintext-only"),In=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Nn="http://www.w3.org/1999/xlink",Rn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},jn=function(t){return Rn(t)?t.slice(6,t.length):""},zn=function(t){return null==t||!1===t};function Yn(t,e){return{staticClass:Fn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Fn(t,e){return t?e?t+" "+e:t:e||""}function Bn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?hi(t,e,n):In(e)?zn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Dn(e)?t.setAttribute(e,function(t,e){return zn(e)||"false"===e?"false":"contenteditable"===t&&An(e)?e:"true"}(e,n)):Rn(e)?zn(n)?t.removeAttributeNS(Nn,jn(e)):t.setAttributeNS(Nn,e,n):hi(t,e,n)}function hi(t,e,n){if(zn(n))t.removeAttribute(e);else{if(X&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var fi={create:ci,update:ci};function pi(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=function(t){for(var e=t.data,n=t,i=t;o(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Yn(i.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Yn(e,n.data));return function(t,e){return o(t)||o(e)?Fn(t,Bn(e)):""}(e.staticClass,e.class)}(e),l=n._transitionClasses;o(l)&&(s=Fn(s,Bn(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var mi,gi,vi,yi,_i,bi,wi={create:pi,update:pi},xi=/[\w).+\-_$\]]/;function ki(t){var e,n,i,r,o,a=!1,s=!1,l=!1,u=!1,c=0,d=0,h=0,f=0;for(i=0;i=0&&" "===(m=t.charAt(p));p--);m&&xi.test(m)||(u=!0)}}else void 0===r?(f=i+1,r=t.slice(0,i).trim()):g();function g(){(o||(o=[])).push(t.slice(f,i).trim()),f=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==f&&g(),o)for(i=0;i-1?{exp:t.slice(0,yi),key:'"'+t.slice(yi+1)+'"'}:{exp:t,key:null};for(gi=t,yi=_i=bi=0;!Fi();)Bi(vi=Yi())?Hi(vi):91===vi&&$i(vi);return{exp:t.slice(0,_i),key:t.slice(_i+1,bi)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Yi(){return gi.charCodeAt(++yi)}function Fi(){return yi>=mi}function Bi(t){return 34===t||39===t}function $i(t){var e=1;for(_i=yi;!Fi();)if(Bi(t=Yi()))Hi(t);else if(91===t&&e++,93===t&&e--,0===e){bi=yi;break}}function Hi(t){for(var e=t;!Fi()&&(t=Yi())!==e;);}var Ui,Vi="__r";function Wi(t,e,n){var i=Ui;return function r(){null!==e.apply(null,arguments)&&Zi(t,r,n,i)}}var Gi=Gt&&!(tt&&Number(tt[1])<=53);function qi(t,e,n,i){if(Gi){var r=sn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Ui.addEventListener(t,e,nt?{capture:n,passive:i}:n)}function Zi(t,e,n,i){(i||Ui).removeEventListener(t,e._wrapper||e,n)}function Xi(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Ui=e.elm,function(t){if(o(t.__r)){var e=X?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}o(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),ae(n,i,qi,Zi,Wi,e.context),Ui=void 0}}var Ji,Ki={create:Xi,update:Xi};function Qi(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(n in o(l.__ob__)&&(l=e.data.domProps=E({},l)),s)n in l||(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=i;var u=r(i)?"":String(i);tr(a,u)&&(a.value=u)}else if("innerHTML"===n&&Un(a.tagName)&&r(a.innerHTML)){(Ji=Ji||document.createElement("div")).innerHTML="";for(var c=Ji.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;c.firstChild;)a.appendChild(c.firstChild)}else if(i!==s[n])try{a[n]=i}catch(t){}}}}function tr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(o(i)){if(i.number)return p(n)!==p(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var er={create:Qi,update:Qi},nr=w((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function ir(t){var e=rr(t.style);return t.staticStyle?E(t.staticStyle,e):e}function rr(t){return Array.isArray(t)?O(t):"string"==typeof t?nr(t):t}var or,ar=/^--/,sr=/\s*!important$/,lr=function(t,e,n){if(ar.test(e))t.style.setProperty(e,n);else if(sr.test(n))t.style.setProperty(S(e),n.replace(sr,""),"important");else{var i=cr(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split(fr).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function mr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fr).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function gr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,vr(t.name||"v")),E(e,t),e}return"string"==typeof t?vr(t):void 0}}var vr=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),yr=W&&!J,_r="transition",br="animation",wr="transition",xr="transitionend",kr="animation",Cr="animationend";yr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(wr="WebkitTransition",xr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(kr="WebkitAnimation",Cr="webkitAnimationEnd"));var Lr=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Sr(t){Lr((function(){Lr(t)}))}function Mr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),pr(t,e))}function Tr(t,e){t._transitionClasses&&y(t._transitionClasses,e),mr(t,e)}function Er(t,e,n){var i=Pr(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===_r?xr:Cr,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l0&&(n=_r,c=a,d=o.length):e===br?u>0&&(n=br,c=u,d=l.length):d=(n=(c=Math.max(a,u))>0?a>u?_r:br:null)?n===_r?o.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:n===_r&&Or.test(i[wr+"Property"])}}function Dr(t,e){for(;t.length1}function zr(t,e){!0!==e.data.show&&Ir(e)}var Yr=function(t){var e,n,i={},l=t.modules,u=t.nodeOps;for(e=0;ep?_(t,r(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(e,h,p)}(h,m,v,n,c):o(v)?(o(t.text)&&u.setTextContent(h,""),_(h,null,v,0,v.length-1,n)):o(m)?w(m,0,m.length-1):o(t.text)&&u.setTextContent(h,""):t.text!==e.text&&u.setTextContent(h,e.text),o(p)&&o(f=p.hook)&&o(f=f.postpatch)&&f(t,e)}}}function L(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,a.selected!==o&&(a.selected=o);else if(I(Ur(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Hr(t,e){return e.every((function(e){return!I(e,t)}))}function Ur(t){return"_value"in t?t._value:t.value}function Vr(t){t.target.composing=!0}function Wr(t){t.target.composing&&(t.target.composing=!1,Gr(t.target,"input"))}function Gr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function qr(t){return!t.componentInstance||t.data&&t.data.transition?t:qr(t.componentInstance._vnode)}var Zr={model:Fr,show:{bind:function(t,e,n){var i=e.value,r=(n=qr(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Ir(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=qr(n)).data&&n.data.transition?(n.data.show=!0,i?Ir(n,(function(){t.style.display=t.__vOriginalDisplay})):Nr(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},Xr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Jr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Jr(Ue(e.children)):t}function Kr(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[k(o)]=r[o];return e}function Qr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var to=function(t){return t.tag||He(t)},eo=function(t){return"show"===t.name},no={name:"transition",props:Xr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(to)).length){var i=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=Jr(r);if(!o)return r;if(this._leaving)return Qr(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=Kr(this),u=this._vnode,c=Jr(u);if(o.data.directives&&o.data.directives.some(eo)&&(o.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,c)&&!He(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var d=c.data.transition=E({},l);if("out-in"===i)return this._leaving=!0,se(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Qr(t,r);if("in-out"===i){if(He(o))return u;var h,f=function(){h()};se(l,"afterEnter",f),se(l,"enterCancelled",f),se(d,"delayLeave",(function(t){h=t}))}}return r}}},io=E({tag:String,moveClass:String},Xr);function ro(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function oo(t){t.data.newPos=t.elm.getBoundingClientRect()}function ao(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}delete io.mode;var so={Transition:no,TransitionGroup:{props:io,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Xe(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Kr(this),s=0;s-1?Gn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Gn[t]=/HTMLUnknownElement/.test(e.toString())},E(xn.options.directives,Zr),E(xn.options.components,so),xn.prototype.__patch__=W?Yr:P,xn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=vt),Qe(t,"beforeMount"),i=function(){t._update(t._render(),n)},new hn(t,i,P,{before:function(){t._isMounted&&!t._isDestroyed&&Qe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Qe(t,"mounted")),t}(this,t=t&&W?Zn(t):void 0,e)},W&&setTimeout((function(){F.devtools&&ot&&ot.emit("init",xn)}),0);var lo,uo=/\{\{((?:.|\r?\n)+?)\}\}/g,co=/[-.*+?^${}()|[\]\/\\]/g,ho=w((function(t){var e=t[0].replace(co,"\\$&"),n=t[1].replace(co,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")})),fo={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Ii(t,"class");n&&(t.staticClass=JSON.stringify(n));var i=Ai(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},po={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Ii(t,"style");n&&(t.staticStyle=JSON.stringify(nr(n)));var i=Ai(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},mo=m("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),go=m("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),vo=m("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),yo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_o=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,bo="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+B.source+"]*",wo="((?:"+bo+"\\:)?"+bo+")",xo=new RegExp("^<"+wo),ko=/^\s*(\/?)>/,Co=new RegExp("^<\\/"+wo+"[^>]*>"),Lo=/^]+>/i,So=/^",""":'"',"&":"&","
":"\n"," ":"\t","'":"'"},Po=/&(?:lt|gt|quot|amp|#39);/g,Do=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ao=m("pre,textarea",!0),Io=function(t,e){return t&&Ao(t)&&"\n"===e[0]};function No(t,e){var n=e?Do:Po;return t.replace(n,(function(t){return Oo[t]}))}var Ro,jo,zo,Yo,Fo,Bo,$o,Ho,Uo=/^@|^v-on:/,Vo=/^v-|^@|^:|^#/,Wo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Go=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,qo=/^\(|\)$/g,Zo=/^\[.*\]$/,Xo=/:(.*)$/,Jo=/^:|^\.|^v-bind:/,Ko=/\.[^.\]]+(?=[^\]]*$)/g,Qo=/^v-slot(:|$)|^#/,ta=/[\r\n]/,ea=/\s+/g,na=w((function(t){return(lo=lo||document.createElement("div")).innerHTML=t,lo.textContent})),ia="_empty_";function ra(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ca(e),rawAttrsMap:{},parent:n,children:[]}}function oa(t,e){var n,i;(i=Ai(n=t,"key"))&&(n.key=i),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Ai(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Ii(t,"scope"),t.slotScope=e||Ii(t,"slot-scope")):(e=Ii(t,"slot-scope"))&&(t.slotScope=e);var n=Ai(t,"slot");if(n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||Ti(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot"))),"template"===t.tag){var i=Ni(t,Qo);if(i){var r=la(i),o=r.name,a=r.dynamic;t.slotTarget=o,t.slotTargetDynamic=a,t.slotScope=i.value||ia}}else{var s=Ni(t,Qo);if(s){var l=t.scopedSlots||(t.scopedSlots={}),u=la(s),c=u.name,d=u.dynamic,h=l[c]=ra("template",[],t);h.slotTarget=c,h.slotTargetDynamic=d,h.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=h,!0})),h.slotScope=s.value||ia,t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Ai(t,"name"))}(t),function(t){var e;(e=Ai(t,"is"))&&(t.component=e),null!=Ii(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Di(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+zi(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zi(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zi(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=Ai(t,"value")||"null";Mi(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),Di(t,"change",zi(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,u=o?"change":"range"===i?Vi:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var d=zi(e,c);l&&(d="if($event.target.composing)return;"+d),Mi(t,"value","("+e+")"),Di(t,u,d,null,!0),(s||a)&&Di(t,"blur","$forceUpdate()")}(t,i,r);else if(!F.isReservedTag(o))return ji(t,i,r),!1;return!0},text:function(t,e){e.value&&Mi(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Mi(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:mo,mustUseProp:Pn,canBeLeftOpenTag:go,isReservedTag:Vn,getTagNamespace:Wn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ga)},ya=w((function(t){return m("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));var _a=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,ba=/\([^)]*?\);*$/,wa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,xa={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ka={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Ca=function(t){return"if("+t+")return null;"},La={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Ca("$event.target !== $event.currentTarget"),ctrl:Ca("!$event.ctrlKey"),shift:Ca("!$event.shiftKey"),alt:Ca("!$event.altKey"),meta:Ca("!$event.metaKey"),left:Ca("'button' in $event && $event.button !== 0"),middle:Ca("'button' in $event && $event.button !== 1"),right:Ca("'button' in $event && $event.button !== 2")};function Sa(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=Ma(t[o]);t[o]&&t[o].dynamic?r+=o+","+a+",":i+='"'+o+'":'+a+","}return i="{"+i.slice(0,-1)+"}",r?n+"_d("+i+",["+r.slice(0,-1)+"])":n+i}function Ma(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ma(t)})).join(",")+"]";var e=wa.test(t.value),n=_a.test(t.value),i=wa.test(t.value.replace(ba,""));if(t.modifiers){var r="",o="",a=[];for(var s in t.modifiers)if(La[s])o+=La[s],xa[s]&&a.push(s);else if("exact"===s){var l=t.modifiers;o+=Ca(["ctrl","shift","alt","meta"].filter((function(t){return!l[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else a.push(s);return a.length&&(r+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Ta).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":i?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(i?"return "+t.value:t.value)+"}"}function Ta(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=xa[t],i=ka[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(i)+")"}var Ea={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:P},Oa=function(t){this.options=t,this.warn=t.warn||Li,this.transforms=Si(t.modules,"transformCode"),this.dataGenFns=Si(t.modules,"genData"),this.directives=E(E({},Ea),t.directives);var e=t.isReservedTag||D;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Pa(t,e){var n=new Oa(e);return{render:"with(this){return "+(t?Da(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Da(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Aa(t,e);if(t.once&&!t.onceProcessed)return Ia(t,e);if(t.for&&!t.forProcessed)return Ra(t,e);if(t.if&&!t.ifProcessed)return Na(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=Fa(t,e),r="_t("+n+(i?","+i:""),o=t.attrs||t.dynamicAttrs?Ha((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:k(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:Fa(e,n,!0);return"_c("+t+","+ja(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i;(!t.plain||t.pre&&e.maybeComponent(t))&&(i=ja(t,e));var r=t.inlineTemplate?null:Fa(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o>>0}(a):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];if(n&&1===n.type){var i=Pa(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Ha(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function za(t){return 1===t.type&&("slot"===t.tag||t.children.some(za))}function Ya(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Na(t,e,Ya,"null");if(t.for&&!t.forProcessed)return Ra(t,e,Ya);var i=t.slotScope===ia?"":String(t.slotScope),r="function("+i+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Fa(t,e)||"undefined")+":undefined":Fa(t,e)||"undefined":Da(t,e))+"}",o=i?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+o+"}"}function Fa(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return""+(i||Da)(a,e)+s}var l=n?function(t,e){for(var n=0,i=0;i]*>)","i")),h=t.replace(d,(function(t,n,i){return u=i.length,To(c)||"noscript"===c||(n=n.replace(//g,"$1").replace(//g,"$1")),Io(c,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));l+=t.length-h.length,t=h,S(c,l-u,l)}else{var f=t.indexOf("<");if(0===f){if(So.test(t)){var p=t.indexOf("--\x3e");if(p>=0){e.shouldKeepComment&&e.comment(t.substring(4,p),l,l+p+3),k(p+3);continue}}if(Mo.test(t)){var m=t.indexOf("]>");if(m>=0){k(m+2);continue}}var g=t.match(Lo);if(g){k(g[0].length);continue}var v=t.match(Co);if(v){var y=l;k(v[0].length),S(v[1],y,l);continue}var _=C();if(_){L(_),Io(_.tagName,t)&&k(1);continue}}var b=void 0,w=void 0,x=void 0;if(f>=0){for(w=t.slice(f);!(Co.test(w)||xo.test(w)||So.test(w)||Mo.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=t.slice(f);b=t.substring(0,f)}f<0&&(b=t),b&&k(b.length),e.chars&&b&&e.chars(b,l-b.length,l)}if(t===n){e.chars&&e.chars(t);break}}function k(e){l+=e,t=t.substring(e)}function C(){var e=t.match(xo);if(e){var n,i,r={tagName:e[1],attrs:[],start:l};for(k(e[0].length);!(n=t.match(ko))&&(i=t.match(_o)||t.match(yo));)i.start=l,k(i[0].length),i.end=l,r.attrs.push(i);if(n)return r.unarySlash=n[1],k(n[0].length),r.end=l,r}}function L(t){var n=t.tagName,l=t.unarySlash;o&&("p"===i&&vo(n)&&S(i),s(n)&&i===n&&S(n));for(var u=a(n)||!!l,c=t.attrs.length,d=new Array(c),h=0;h=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=r.length-1;u>=a;u--)e.end&&e.end(r[u].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}S()}(t,{warn:Ro,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,o,a,c,d){var h=i&&i.ns||Ho(t);X&&"svg"===h&&(o=function(t){for(var e=[],n=0;nl&&(s.push(o=t.slice(l,r)),a.push(JSON.stringify(o)));var u=ki(i[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),l=r+i[0].length}return l':'',qa.innerHTML.indexOf("
")>0}var Ka=!!W&&Ja(!1),Qa=!!W&&Ja(!0),ts=w((function(t){var e=Zn(t);return e&&e.innerHTML})),es=xn.prototype.$mount;xn.prototype.$mount=function(t,e){if((t=t&&Zn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ts(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){var r=Xa(i,{outputSourceRange:!1,shouldDecodeNewlines:Ka,shouldDecodeNewlinesForHref:Qa,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return es.call(this,t,e)},xn.compile=Xa,t.exports=xn}).call(this,n("yLpj"),n("URgk").setImmediate)},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})}(n("wd/R"))},"JCF/":function(t,e,n){!function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},i=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];t.defineLocale("ku",{months:i,monthsShort:i,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(t){return/ئێواره/.test(t)},meridiem:function(t,e,n){return t<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(t){return n[t]})).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(n("wd/R"))},JEQr:function(t,e,n){"use strict";(function(e){var i=n("xTJ+"),r=n("yK9s"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(s=n("tQ2B")),s),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){l.headers[t]=i.merge(o)})),t.exports=l}).call(this,n("8oxB"))},JN9a:function(t,e,n){var i=n("vaEP");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return i+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return i+=1===t?"dan":"dana";case"MM":return i+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return i+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JWC4:function(t,e,n){var i=n("kg4N");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},JXP8:function(t,e,n){!function(t){"use strict";var e=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var e=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,e?this._withAnimation:this._noAnimation),this._markerCluster=e?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(t){if(t instanceof L.LayerGroup)return this.addLayers([t]);if(!t.getLatLng)return this._nonPointGroup.addLayer(t),this.fire("layeradd",{layer:t}),this;if(!this._map)return this._needsClustering.push(t),this.fire("layeradd",{layer:t}),this;if(this.hasLayer(t))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(t,this._maxZoom),this.fire("layeradd",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var e=t,n=this._zoom;if(t.__parent)for(;e.__parent._zoom>=n;)e=e.__parent;return this._currentShownBounds.contains(e.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(t,e):this._animationAddLayerNonAnimated(t,e)),this},removeLayer:function(t){return t instanceof L.LayerGroup?this.removeLayers([t]):t.getLatLng?this._map?t.__parent?(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(t)),this._removeLayer(t,!0),this.fire("layerremove",{layer:t}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),t.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(t)&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow()),this):this:(!this._arraySplice(this._needsClustering,t)&&this.hasLayer(t)&&this._needsRemoving.push({layer:t,latlng:t._latlng}),this.fire("layerremove",{layer:t}),this):(this._nonPointGroup.removeLayer(t),this.fire("layerremove",{layer:t}),this)},addLayers:function(t,e){if(!L.Util.isArray(t))return this.addLayer(t);var n,i=this._featureGroup,r=this._nonPointGroup,o=this.options.chunkedLoading,a=this.options.chunkInterval,s=this.options.chunkProgress,l=t.length,u=0,c=!0;if(this._map){var d=(new Date).getTime(),h=L.bind((function(){for(var f=(new Date).getTime();ua);u++)if((n=t[u])instanceof L.LayerGroup)c&&(t=t.slice(),c=!1),this._extractNonGroupLayers(n,t),l=t.length;else if(n.getLatLng){if(!this.hasLayer(n)&&(this._addLayer(n,this._maxZoom),e||this.fire("layeradd",{layer:n}),n.__parent&&2===n.__parent.getChildCount())){var p=n.__parent.getAllChildMarkers(),m=p[0]===n?p[1]:p[0];i.removeLayer(m)}}else r.addLayer(n),e||this.fire("layeradd",{layer:n});s&&s(u,l,(new Date).getTime()-d),u===l?(this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),this._topClusterLevel._recursivelyAddChildrenToMap(null,this._zoom,this._currentShownBounds)):setTimeout(h,this.options.chunkDelay)}),this);h()}else for(var f=this._needsClustering;u=0;e--)t.extend(this._needsClustering[e].getLatLng());return t.extend(this._nonPointGroup.getBounds()),t},eachLayer:function(t,e){var n,i,r,o=this._needsClustering.slice(),a=this._needsRemoving;for(this._topClusterLevel&&this._topClusterLevel.getAllChildMarkers(o),i=o.length-1;i>=0;i--){for(n=!0,r=a.length-1;r>=0;r--)if(a[r].layer===o[i]){n=!1;break}n&&t.call(e,o[i])}this._nonPointGroup.eachLayer(t,e)},getLayers:function(){var t=[];return this.eachLayer((function(e){t.push(e)})),t},getLayer:function(t){var e=null;return t=parseInt(t,10),this.eachLayer((function(n){L.stamp(n)===t&&(e=n)})),e},hasLayer:function(t){if(!t)return!1;var e,n=this._needsClustering;for(e=n.length-1;e>=0;e--)if(n[e]===t)return!0;for(e=(n=this._needsRemoving).length-1;e>=0;e--)if(n[e].layer===t)return!1;return!(!t.__parent||t.__parent._group!==this)||this._nonPointGroup.hasLayer(t)},zoomToShowLayer:function(t,e){"function"!=typeof e&&(e=function(){});var n=function(){!t._icon&&!t.__parent._icon||this._inZoomAnimation||(this._map.off("moveend",n,this),this.off("animationend",n,this),t._icon?e():t.__parent._icon&&(this.once("spiderfied",e,this),t.__parent.spiderfy()))};t._icon&&this._map.getBounds().contains(t.getLatLng())?e():t.__parent._zoom=0;n--)if(t[n]===e)return t.splice(n,1),!0},_removeFromGridUnclustered:function(t,e){for(var n=this._map,i=this._gridUnclustered,r=Math.floor(this._map.getMinZoom());e>=r&&i[e].removeObject(t,n.project(t.getLatLng(),e));e--);},_childMarkerDragStart:function(t){t.target.__dragStart=t.target._latlng},_childMarkerMoved:function(t){if(!this._ignoreMove&&!t.target.__dragStart){var e=t.target._popup&&t.target._popup.isOpen();this._moveChild(t.target,t.oldLatLng,t.latlng),e&&t.target.openPopup()}},_moveChild:function(t,e,n){t._latlng=e,this.removeLayer(t),t._latlng=n,this.addLayer(t)},_childMarkerDragEnd:function(t){var e=t.target.__dragStart;delete t.target.__dragStart,e&&this._moveChild(t.target,e,t.target._latlng)},_removeLayer:function(t,e,n){var i=this._gridClusters,r=this._gridUnclustered,o=this._featureGroup,a=this._map,s=Math.floor(this._map.getMinZoom());e&&this._removeFromGridUnclustered(t,this._maxZoom);var l,u=t.__parent,c=u._markers;for(this._arraySplice(c,t);u&&(u._childCount--,u._boundsNeedUpdate=!0,!(u._zoom"+e+"",className:"marker-cluster"+n,iconSize:new L.Point(40,40)})},_bindEvents:function(){var t=this._map,e=this.options.spiderfyOnMaxZoom,n=this.options.showCoverageOnHover,i=this.options.zoomToBoundsOnClick;(e||i)&&this.on("clusterclick",this._zoomOrSpiderfy,this),n&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),t.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(t){for(var e=t.layer,n=e;1===n._childClusters.length;)n=n._childClusters[0];n._zoom===this._maxZoom&&n._childCount===e._childCount&&this.options.spiderfyOnMaxZoom?e.spiderfy():this.options.zoomToBoundsOnClick&&e.zoomToBounds(),t.originalEvent&&13===t.originalEvent.keyCode&&this._map._container.focus()},_showCoverage:function(t){var e=this._map;this._inZoomAnimation||(this._shownPolygon&&e.removeLayer(this._shownPolygon),t.layer.getChildCount()>2&&t.layer!==this._spiderfied&&(this._shownPolygon=new L.Polygon(t.layer.getConvexHull(),this.options.polygonOptions),e.addLayer(this._shownPolygon)))},_hideCoverage:function(){this._shownPolygon&&(this._map.removeLayer(this._shownPolygon),this._shownPolygon=null)},_unbindEvents:function(){var t=this.options.spiderfyOnMaxZoom,e=this.options.showCoverageOnHover,n=this.options.zoomToBoundsOnClick,i=this._map;(t||n)&&this.off("clusterclick",this._zoomOrSpiderfy,this),e&&(this.off("clustermouseover",this._showCoverage,this),this.off("clustermouseout",this._hideCoverage,this),i.off("zoomend",this._hideCoverage,this))},_zoomEnd:function(){this._map&&(this._mergeSplitClusters(),this._zoom=Math.round(this._map._zoom),this._currentShownBounds=this._getExpandedVisibleBounds())},_moveEnd:function(){if(!this._inZoomAnimation){var t=this._getExpandedVisibleBounds();this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),this._zoom,t),this._topClusterLevel._recursivelyAddChildrenToMap(null,Math.round(this._map._zoom),t),this._currentShownBounds=t}},_generateInitialClusters:function(){var t=Math.ceil(this._map.getMaxZoom()),e=Math.floor(this._map.getMinZoom()),n=this.options.maxClusterRadius,i=n;"function"!=typeof n&&(i=function(){return n}),null!==this.options.disableClusteringAtZoom&&(t=this.options.disableClusteringAtZoom-1),this._maxZoom=t,this._gridClusters={},this._gridUnclustered={};for(var r=t;r>=e;r--)this._gridClusters[r]=new L.DistanceGrid(i(r)),this._gridUnclustered[r]=new L.DistanceGrid(i(r));this._topClusterLevel=new this._markerCluster(this,e-1)},_addLayer:function(t,e){var n,i,r=this._gridClusters,o=this._gridUnclustered,a=Math.floor(this._map.getMinZoom());for(this.options.singleMarkerMode&&this._overrideMarkerIcon(t),t.on(this._childMarkerEventHandlers,this);e>=a;e--){n=this._map.project(t.getLatLng(),e);var s=r[e].getNearObject(n);if(s)return s._addChild(t),void(t.__parent=s);if(s=o[e].getNearObject(n)){var l=s.__parent;l&&this._removeLayer(s,!1);var u=new this._markerCluster(this,e,s,t);r[e].addObject(u,this._map.project(u._cLatLng,e)),s.__parent=u,t.__parent=u;var c=u;for(i=e-1;i>l._zoom;i--)c=new this._markerCluster(this,i,c),r[i].addObject(c,this._map.project(s.getLatLng(),i));return l._addChild(c),void this._removeFromGridUnclustered(s,e)}o[e].addObject(t,n)}this._topClusterLevel._addChild(t),t.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer((function(t){t instanceof L.MarkerCluster&&t._iconNeedsUpdate&&t._updateIcon()}))},_enqueue:function(t){this._queue.push(t),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var t=0;tt?(this._animationStart(),this._animationZoomOut(this._zoom,t)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(t){var e=this._maxLat;return void 0!==e&&(t.getNorth()>=e&&(t._northEast.lat=1/0),t.getSouth()<=-e&&(t._southWest.lat=-1/0)),t},_animationAddLayerNonAnimated:function(t,e){if(e===t)this._featureGroup.addLayer(t);else if(2===e._childCount){e._addToMap();var n=e.getAllChildMarkers();this._featureGroup.removeLayer(n[0]),this._featureGroup.removeLayer(n[1])}else e._updateIcon()},_extractNonGroupLayers:function(t,e){var n,i=t.getLayers(),r=0;for(e=e||[];r=0;n--)a=l[n],i.contains(a._latlng)||r.removeLayer(a)})),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(i,e),r.eachLayer((function(t){t instanceof L.MarkerCluster||!t._icon||t.clusterShow()})),this._topClusterLevel._recursively(i,t,e,(function(t){t._recursivelyRestoreChildPositions(e)})),this._ignoreMove=!1,this._enqueue((function(){this._topClusterLevel._recursively(i,t,o,(function(t){r.removeLayer(t),t.clusterShow()})),this._animationEnd()}))},_animationZoomOut:function(t,e){this._animationZoomOutSingle(this._topClusterLevel,t-1,e),this._topClusterLevel._recursivelyAddChildrenToMap(null,e,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),t,this._getExpandedVisibleBounds())},_animationAddLayer:function(t,e){var n=this,i=this._featureGroup;i.addLayer(t),e!==t&&(e._childCount>2?(e._updateIcon(),this._forceLayout(),this._animationStart(),t._setPos(this._map.latLngToLayerPoint(e.getLatLng())),t.clusterHide(),this._enqueue((function(){i.removeLayer(t),t.clusterShow(),n._animationEnd()}))):(this._forceLayout(),n._animationStart(),n._animationZoomOutSingle(e,this._map.getMaxZoom(),this._zoom)))}},_animationZoomOutSingle:function(t,e,n){var i=this._getExpandedVisibleBounds(),r=Math.floor(this._map.getMinZoom());t._recursivelyAnimateChildrenInAndAddSelfToMap(i,r,e+1,n);var o=this;this._forceLayout(),t._recursivelyBecomeVisible(i,n),this._enqueue((function(){if(1===t._childCount){var a=t._markers[0];this._ignoreMove=!0,a.setLatLng(a.getLatLng()),this._ignoreMove=!1,a.clusterShow&&a.clusterShow()}else t._recursively(i,n,r,(function(t){t._recursivelyRemoveChildrenFromMap(i,r,e+1)}));o._animationEnd()}))},_animationEnd:function(){this._map&&(this._map._mapPane.className=this._map._mapPane.className.replace(" leaflet-cluster-anim","")),this._inZoomAnimation--,this.fire("animationend")},_forceLayout:function(){L.Util.falseFn(document.body.offsetWidth)}}),L.markerClusterGroup=function(t){return new L.MarkerClusterGroup(t)};var n=L.MarkerCluster=L.Marker.extend({options:L.Icon.prototype.options,initialize:function(t,e,n,i){L.Marker.prototype.initialize.call(this,n?n._cLatLng||n.getLatLng():new L.LatLng(0,0),{icon:this,pane:t.options.clusterPane}),this._group=t,this._zoom=e,this._markers=[],this._childClusters=[],this._childCount=0,this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._bounds=new L.LatLngBounds,n&&this._addChild(n),i&&this._addChild(i)},getAllChildMarkers:function(t,e){t=t||[];for(var n=this._childClusters.length-1;n>=0;n--)this._childClusters[n].getAllChildMarkers(t);for(var i=this._markers.length-1;i>=0;i--)e&&this._markers[i].__dragStart||t.push(this._markers[i]);return t},getChildCount:function(){return this._childCount},zoomToBounds:function(t){for(var e,n=this._childClusters.slice(),i=this._group._map,r=i.getBoundsZoom(this._bounds),o=this._zoom+1,a=i.getZoom();n.length>0&&r>o;){o++;var s=[];for(e=0;eo?this._group._map.setView(this._latlng,o):r<=a?this._group._map.setView(this._latlng,a+1):this._group._map.fitBounds(this._bounds,t)},getBounds:function(){var t=new L.LatLngBounds;return t.extend(this._bounds),t},_updateIcon:function(){this._iconNeedsUpdate=!0,this._icon&&this.setIcon(this)},createIcon:function(){return this._iconNeedsUpdate&&(this._iconObj=this._group.options.iconCreateFunction(this),this._iconNeedsUpdate=!1),this._iconObj.createIcon()},createShadow:function(){return this._iconObj.createShadow()},_addChild:function(t,e){this._iconNeedsUpdate=!0,this._boundsNeedUpdate=!0,this._setClusterCenter(t),t instanceof L.MarkerCluster?(e||(this._childClusters.push(t),t.__parent=this),this._childCount+=t._childCount):(e||this._markers.push(t),this._childCount++),this.__parent&&this.__parent._addChild(t,!0)},_setClusterCenter:function(t){this._cLatLng||(this._cLatLng=t._cLatLng||t._latlng)},_resetBounds:function(){var t=this._bounds;t._southWest&&(t._southWest.lat=1/0,t._southWest.lng=1/0),t._northEast&&(t._northEast.lat=-1/0,t._northEast.lng=-1/0)},_recalculateBounds:function(){var t,e,n,i,r=this._markers,o=this._childClusters,a=0,s=0,l=this._childCount;if(0!==l){for(this._resetBounds(),t=0;t=0;n--)(i=r[n])._icon&&(i._setPos(e),i.clusterHide())}),(function(t){var n,i,r=t._childClusters;for(n=r.length-1;n>=0;n--)(i=r[n])._icon&&(i._setPos(e),i.clusterHide())}))},_recursivelyAnimateChildrenInAndAddSelfToMap:function(t,e,n,i){this._recursively(t,i,e,(function(r){r._recursivelyAnimateChildrenIn(t,r._group._map.latLngToLayerPoint(r.getLatLng()).round(),n),r._isSingleParent()&&n-1===i?(r.clusterShow(),r._recursivelyRemoveChildrenFromMap(t,e,n)):r.clusterHide(),r._addToMap()}))},_recursivelyBecomeVisible:function(t,e){this._recursively(t,this._group._map.getMinZoom(),e,null,(function(t){t.clusterShow()}))},_recursivelyAddChildrenToMap:function(t,e,n){this._recursively(n,this._group._map.getMinZoom()-1,e,(function(i){if(e!==i._zoom)for(var r=i._markers.length-1;r>=0;r--){var o=i._markers[r];n.contains(o._latlng)&&(t&&(o._backupLatlng=o.getLatLng(),o.setLatLng(t),o.clusterHide&&o.clusterHide()),i._group._featureGroup.addLayer(o))}}),(function(e){e._addToMap(t)}))},_recursivelyRestoreChildPositions:function(t){for(var e=this._markers.length-1;e>=0;e--){var n=this._markers[e];n._backupLatlng&&(n.setLatLng(n._backupLatlng),delete n._backupLatlng)}if(t-1===this._zoom)for(var i=this._childClusters.length-1;i>=0;i--)this._childClusters[i]._restorePosition();else for(var r=this._childClusters.length-1;r>=0;r--)this._childClusters[r]._recursivelyRestoreChildPositions(t)},_restorePosition:function(){this._backupLatlng&&(this.setLatLng(this._backupLatlng),delete this._backupLatlng)},_recursivelyRemoveChildrenFromMap:function(t,e,n,i){var r,o;this._recursively(t,e-1,n-1,(function(t){for(o=t._markers.length-1;o>=0;o--)r=t._markers[o],i&&i.contains(r._latlng)||(t._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())}),(function(t){for(o=t._childClusters.length-1;o>=0;o--)r=t._childClusters[o],i&&i.contains(r._latlng)||(t._group._featureGroup.removeLayer(r),r.clusterShow&&r.clusterShow())}))},_recursively:function(t,e,n,i,r){var o,a,s=this._childClusters,l=this._zoom;if(e<=l&&(i&&i(this),r&&l===n&&r(this)),l=0;o--)(a=s[o])._boundsNeedUpdate&&a._recalculateBounds(),t.intersects(a._bounds)&&a._recursively(t,e,n,i,r)},_isSingleParent:function(){return this._childClusters.length>0&&this._childClusters[0]._childCount===this._childCount}});L.Marker.include({clusterHide:function(){var t=this.options.opacity;return this.setOpacity(0),this.options.opacity=t,this},clusterShow:function(){return this.setOpacity(this.options.opacity)}}),L.DistanceGrid=function(t){this._cellSize=t,this._sqCellSize=t*t,this._grid={},this._objectPoint={}},L.DistanceGrid.prototype={addObject:function(t,e){var n=this._getCoord(e.x),i=this._getCoord(e.y),r=this._grid,o=r[i]=r[i]||{},a=o[n]=o[n]||[],s=L.Util.stamp(t);this._objectPoint[s]=e,a.push(t)},updateObject:function(t,e){this.removeObject(t),this.addObject(t,e)},removeObject:function(t,e){var n,i,r=this._getCoord(e.x),o=this._getCoord(e.y),a=this._grid,s=a[o]=a[o]||{},l=s[r]=s[r]||[];for(delete this._objectPoint[L.Util.stamp(t)],n=0,i=l.length;n=0;n--)i=e[n],(r=this.getDistant(i,t))>0&&(s.push(i),r>o&&(o=r,a=i));return{maxPoint:a,newPoints:s}},buildConvexHull:function(t,e){var n=[],i=this.findMostDistantPointFromBaseLine(t,e);return i.maxPoint?n=(n=n.concat(this.buildConvexHull([t[0],i.maxPoint],i.newPoints))).concat(this.buildConvexHull([i.maxPoint,t[1]],i.newPoints)):[t[0]]},getConvexHull:function(t){var e,n=!1,i=!1,r=!1,o=!1,a=null,s=null,l=null,u=null,c=null,d=null;for(e=t.length-1;e>=0;e--){var h=t[e];(!1===n||h.lat>n)&&(a=h,n=h.lat),(!1===i||h.latr)&&(l=h,r=h.lng),(!1===o||h.lng=0;e--)t=n[e].getLatLng(),i.push(t);return L.QuickHull.getConvexHull(i)}}),L.MarkerCluster.include({_2PI:2*Math.PI,_circleFootSeparation:25,_circleStartAngle:0,_spiralFootSeparation:28,_spiralLengthStart:11,_spiralLengthFactor:5,_circleSpiralSwitchover:9,spiderfy:function(){if(this._group._spiderfied!==this&&!this._group._inZoomAnimation){var t,e=this.getAllChildMarkers(null,!0),n=this._group._map.latLngToLayerPoint(this._latlng);this._group._unspiderfy(),this._group._spiderfied=this,e.length>=this._circleSpiralSwitchover?t=this._generatePointsSpiral(e.length,n):(n.y+=10,t=this._generatePointsCircle(e.length,n)),this._animationSpiderfy(e,t)}},unspiderfy:function(t){this._group._inZoomAnimation||(this._animationUnspiderfy(t),this._group._spiderfied=null)},_generatePointsCircle:function(t,e){var n,i,r=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+t)/this._2PI,o=this._2PI/t,a=[];for(r=Math.max(r,35),a.length=t,n=0;n=0;n--)n=0;e--)t=o[e],r.removeLayer(t),t._preSpiderfyLatlng&&(t.setLatLng(t._preSpiderfyLatlng),delete t._preSpiderfyLatlng),t.setZIndexOffset&&t.setZIndexOffset(0),t._spiderLeg&&(i.removeLayer(t._spiderLeg),delete t._spiderLeg);n.fire("unspiderfied",{cluster:this,markers:o}),n._ignoreMove=!1,n._spiderfied=null}}),L.MarkerClusterNonAnimated=L.MarkerCluster.extend({_animationSpiderfy:function(t,e){var n,i,r,o,a=this._group,s=a._map,l=a._featureGroup,u=this._group.options.spiderLegPolylineOptions;for(a._ignoreMove=!0,n=0;n=0;n--)s=c.layerPointToLatLng(e[n]),(i=t[n])._preSpiderfyLatlng=i._latlng,i.setLatLng(s),i.clusterShow&&i.clusterShow(),p&&((o=(r=i._spiderLeg)._path).style.strokeDashoffset=0,r.setStyle({opacity:g}));this.setOpacity(.3),u._ignoreMove=!1,setTimeout((function(){u._animationEnd(),u.fire("spiderfied",{cluster:l,markers:t})}),200)},_animationUnspiderfy:function(t){var e,n,i,r,o,a,s=this,l=this._group,u=l._map,c=l._featureGroup,d=t?u._latLngToNewLayerPoint(this._latlng,t.zoom,t.center):u.latLngToLayerPoint(this._latlng),h=this.getAllChildMarkers(null,!0),f=L.Path.SVG;for(l._ignoreMove=!0,l._animationStart(),this.setOpacity(1),n=h.length-1;n>=0;n--)(e=h[n])._preSpiderfyLatlng&&(e.closePopup(),e.setLatLng(e._preSpiderfyLatlng),delete e._preSpiderfyLatlng,a=!0,e._setPos&&(e._setPos(d),a=!1),e.clusterHide&&(e.clusterHide(),a=!1),a&&c.removeLayer(e),f&&(o=(r=(i=e._spiderLeg)._path).getTotalLength()+.1,r.style.strokeDashoffset=o,i.setStyle({opacity:0})));l._ignoreMove=!1,setTimeout((function(){var t=0;for(n=h.length-1;n>=0;n--)(e=h[n])._spiderLeg&&t++;for(n=h.length-1;n>=0;n--)(e=h[n])._spiderLeg&&(e.clusterShow&&e.clusterShow(),e.setZIndexOffset&&e.setZIndexOffset(0),t>1&&c.removeLayer(e),u.removeLayer(e._spiderLeg),delete e._spiderLeg);l._animationEnd(),l.fire("unspiderfied",{cluster:s,markers:h})}),200)}}),L.MarkerClusterGroup.include({_spiderfied:null,unspiderfy:function(){this._unspiderfy.apply(this,arguments)},_spiderfierOnAdd:function(){this._map.on("click",this._unspiderfyWrapper,this),this._map.options.zoomAnimation&&this._map.on("zoomstart",this._unspiderfyZoomStart,this),this._map.on("zoomend",this._noanimationUnspiderfy,this),L.Browser.touch||this._map.getRenderer(this)},_spiderfierOnRemove:function(){this._map.off("click",this._unspiderfyWrapper,this),this._map.off("zoomstart",this._unspiderfyZoomStart,this),this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._map.off("zoomend",this._noanimationUnspiderfy,this),this._noanimationUnspiderfy()},_unspiderfyZoomStart:function(){this._map&&this._map.on("zoomanim",this._unspiderfyZoomAnim,this)},_unspiderfyZoomAnim:function(t){L.DomUtil.hasClass(this._map._mapPane,"leaflet-touching")||(this._map.off("zoomanim",this._unspiderfyZoomAnim,this),this._unspiderfy(t))},_unspiderfyWrapper:function(){this._unspiderfy()},_unspiderfy:function(t){this._spiderfied&&this._spiderfied.unspiderfy(t)},_noanimationUnspiderfy:function(){this._spiderfied&&this._spiderfied._noanimationUnspiderfy()},_unspiderfyLayer:function(t){t._spiderLeg&&(this._featureGroup.removeLayer(t),t.clusterShow&&t.clusterShow(),t.setZIndexOffset&&t.setZIndexOffset(0),this._map.removeLayer(t._spiderLeg),delete t._spiderLeg)}}),L.MarkerClusterGroup.include({refreshClusters:function(t){return t?t instanceof L.MarkerClusterGroup?t=t._topClusterLevel.getAllChildMarkers():t instanceof L.LayerGroup?t=t._layers:t instanceof L.MarkerCluster?t=t.getAllChildMarkers():t instanceof L.Marker&&(t=[t]):t=this._topClusterLevel.getAllChildMarkers(),this._flagParentsIconsNeedUpdate(t),this._refreshClustersIcons(),this.options.singleMarkerMode&&this._refreshSingleMarkerModeMarkers(t),this},_flagParentsIconsNeedUpdate:function(t){var e,n;for(e in t)for(n=t[e].__parent;n;)n._iconNeedsUpdate=!0,n=n.__parent},_refreshSingleMarkerModeMarkers:function(t){var e,n;for(e in t)n=t[e],this.hasLayer(n)&&n.setIcon(this._overrideMarkerIcon(n))}}),L.Marker.include({refreshIconOptions:function(t,e){var n=this.options.icon;return L.setOptions(n,t),this.setIcon(n),e&&this.__parent&&this.__parent._group.refreshClusters(this),this}}),t.MarkerClusterGroup=e,t.MarkerCluster=n}(e)},JpmB:function(t,e,n){"use strict";var i=n("4R65"),r=function(t){var e={};for(var n in t){var i=t[n];null!=i&&(e[n]=i)}return e},o={name:"LMap",mixins:[{props:{options:{type:Object,default:function(){return{}}}}}],props:{center:{type:[Object,Array],custom:!0,default:function(){return[0,0]}},bounds:{type:[Array,Object],custom:!0,default:null},maxBounds:{type:[Array,Object],default:null},zoom:{type:Number,custom:!0,default:0},minZoom:{type:Number,default:null},maxZoom:{type:Number,default:null},paddingBottomRight:{type:Array,custom:!0,default:null},paddingTopLeft:{type:Array,custom:!0,default:null},padding:{type:Array,custom:!0,default:null},worldCopyJump:{type:Boolean,default:!1},crs:{type:Object,custom:!0,default:function(){return i.CRS.EPSG3857}},maxBoundsViscosity:{type:Number,default:null},inertia:{type:Boolean,default:null},inertiaDeceleration:{type:Number,default:null},inertiaMaxSpeed:{type:Number,default:null},easeLinearity:{type:Number,default:null},zoomAnimation:{type:Boolean,default:null},zoomAnimationThreshold:{type:Number,default:null},fadeAnimation:{type:Boolean,default:null},markerZoomAnimation:{type:Boolean,default:null},noBlockingAnimations:{type:Boolean,default:!1}},data:function(){return{ready:!1,lastSetCenter:null,lastSetBounds:null,lastSetZoom:null,layerControl:void 0,layersToAdd:[],layersInControl:[]}},computed:{fitBoundsOptions:function(){var t={animate:!this.noBlockingAnimations&&null};return this.padding?t.padding=this.padding:(this.paddingBottomRight&&(t.paddingBottomRight=this.paddingBottomRight),this.paddingTopLeft&&(t.paddingTopLeft=this.paddingTopLeft)),t}},beforeDestroy:function(){this.mapObject&&this.mapObject.remove()},mounted:function(){var t,e,n,o=this,a=function(t,e){var n=e.options&&e.options.constructor===Object?e.options:{};t=t&&t.constructor===Object?t:{};var i=r(n);t=r(t);var o=e.$options.props;for(var a in t){var s=o[a]?o[a].default:Symbol("unique");i[a]&&s!==t[a]?i[a]=t[a]:i[a]||(i[a]=t[a])}return i}({minZoom:this.minZoom,maxZoom:this.maxZoom,maxBounds:this.maxBounds,maxBoundsViscosity:this.maxBoundsViscosity,worldCopyJump:this.worldCopyJump,crs:this.crs,center:this.center,zoom:this.zoom,inertia:this.inertia,inertiaDeceleration:this.inertiaDeceleration,inertiaMaxSpeed:this.inertiaMaxSpeed,easeLinearity:this.easeLinearity,zoomAnimation:this.zoomAnimation,zoomAnimationThreshold:this.zoomAnimationThreshold,fadeAnimation:this.fadeAnimation,markerZoomAnimation:this.markerZoomAnimation},this);this.mapObject=Object(i.map)(this.$el,a),this.setBounds(this.bounds),this.mapObject.on("moveend",(t=this.moveEndHandler,e=100,function(){for(var i=[],r=arguments.length;r--;)i[r]=arguments[r];var o=this;n&&clearTimeout(n),n=setTimeout((function(){t.apply(o,i),n=null}),e)})),this.mapObject.on("overlayadd",this.overlayAddHandler),this.mapObject.on("overlayremove",this.overlayRemoveHandler),i.DomEvent.on(this.mapObject,this.$listeners),function(t,e,n,r){var o=function(r){var o,a="set"+((o=r)&&"function"==typeof o.charAt?o.charAt(0).toUpperCase()+o.slice(1):o),s=n[r].type===Object||n[r].type===Array||Array.isArray(n[r].type);n[r].custom&&t[a]?t.$watch(r,(function(e,n){t[a](e,n)}),{deep:s}):"setOptions"===a?t.$watch(r,(function(t,n){Object(i.setOptions)(e,t)}),{deep:s}):e[a]&&t.$watch(r,(function(t,n){e[a](t)}),{deep:s})};for(var a in n)o(a)}(this,this.mapObject,this.$options.props),this.ready=!0,this.$emit("leaflet:load"),this.$nextTick((function(){o.$emit("ready",o.mapObject)}))},methods:{registerLayerControl:function(t){var e=this;this.layerControl=t,this.mapObject.addControl(t.mapObject),this.layersToAdd.forEach((function(t){e.layerControl.addLayer(t)})),this.layersToAdd=[]},addLayer:function(t,e){void 0!==t.layerType&&(void 0===this.layerControl?this.layersToAdd.push(t):this.layersInControl.find((function(e){return e.mapObject._leaflet_id===t.mapObject._leaflet_id}))||(this.layerControl.addLayer(t),this.layersInControl.push(t)));e||!1===t.visible||this.mapObject.addLayer(t.mapObject)},hideLayer:function(t){this.mapObject.removeLayer(t.mapObject)},removeLayer:function(t,e){void 0!==t.layerType&&(void 0===this.layerControl?this.layersToAdd=this.layersToAdd.filter((function(e){return e.name!==t.name})):(this.layerControl.removeLayer(t),this.layersInControl=this.layersInControl.filter((function(e){return e.mapObject._leaflet_id!==t.mapObject._leaflet_id})))),e||this.mapObject.removeLayer(t.mapObject)},setZoom:function(t,e){this.mapObject.setZoom(t,{animate:!this.noBlockingAnimations&&null})},setCenter:function(t,e){if(null!=t){var n=Object(i.latLng)(t),r=this.lastSetCenter||this.mapObject.getCenter();r.lat===n.lat&&r.lng===n.lng||(this.lastSetCenter=n,this.mapObject.panTo(n,{animate:!this.noBlockingAnimations&&null}))}},setBounds:function(t,e){if(t){var n=Object(i.latLngBounds)(t);if(n.isValid())!(this.lastSetBounds||this.mapObject.getBounds()).equals(n,0)&&(this.lastSetBounds=n,this.mapObject.fitBounds(n,this.fitBoundsOptions))}},setPaddingBottomRight:function(t,e){this.paddingBottomRight=t},setPaddingTopLeft:function(t,e){this.paddingTopLeft=t},setPadding:function(t,e){this.padding=t},setCrs:function(t,e){},fitBounds:function(t){this.mapObject.fitBounds(t,{animate:!this.noBlockingAnimations&&null})},moveEndHandler:function(){this.$emit("update:zoom",this.mapObject.getZoom());var t=this.mapObject.getCenter();this.$emit("update:center",t);var e=this.mapObject.getBounds();this.$emit("update:bounds",e)},overlayAddHandler:function(t){var e=this.layersInControl.find((function(e){return e.name===t.name}));e&&e.updateVisibleProp(!0)},overlayRemoveHandler:function(t){var e=this.layersInControl.find((function(e){return e.name===t.name}));e&&e.updateVisibleProp(!1)}}};var a,s="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var l={};var u=function(t,e,n,i,r,o,a,s,l,u){"boolean"!=typeof a&&(l=s,s=a,a=!1);var c,d="function"==typeof n?n.options:n;if(t&&t.render&&(d.render=t.render,d.staticRenderFns=t.staticRenderFns,d._compiled=!0,r&&(d.functional=!0)),i&&(d._scopeId=i),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=c):e&&(c=a?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,s(t))}),c)if(d.functional){var h=d.render;d.render=function(t,e){return c.call(e),h(t,e)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,c):[c]}return n}({render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"vue2leaflet-map"},[this.ready?this._t("default"):this._e()],2)},staticRenderFns:[]},(function(t){t&&t("data-v-49b28618_0",{source:".vue2leaflet-map{height:100%;width:100%}",map:void 0,media:void 0})}),o,void 0,!1,void 0,!1,(function(t){return function(t,e){return function(t,e){var n=s?e.media||"default":t,i=l[n]||(l[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);var r=e.source;if(e.map&&(r+="\n/*# sourceURL="+e.map.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===a&&(a=document.head||document.getElementsByTagName("head")[0]),a.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(r),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{var o=i.ids.size-1,u=document.createTextNode(r),c=i.element.childNodes;c[o]&&i.element.removeChild(c[o]),c.length?i.element.insertBefore(u,c[o]):i.element.appendChild(u)}}}(t,e)}}),void 0,void 0);e.a=u},Jqpr:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,'.cc-wrapper[data-v-a433f3dc] {\n display: flex;\n padding: 50px 15px;\n}\n@media screen and (max-width: 700px), (max-height: 500px) {\n.cc-wrapper[data-v-a433f3dc] {\n flex-wrap: wrap;\n flex-direction: column;\n}\n}\n.border-danger[data-v-a433f3dc] {\n border-color: red !important;\n}\n.label-danger[data-v-a433f3dc] {\n color: red !important;\n}\n.error-message[data-v-a433f3dc] {\n text-align: left;\n color: red;\n font-size: 14px;\n margin-top: 4px;\n}\n.error-month[data-v-a433f3dc] {\n position: absolute;\n bottom: -2em;\n left: 1em;\n}\n.error-year[data-v-a433f3dc] {\n position: absolute;\n bottom: -2em;\n left: 11em;\n}\n.error-cvc[data-v-a433f3dc] {\n position: absolute;\n bottom: -2em;\n left: 1em;\n}\n.card-form[data-v-a433f3dc] {\n max-width: 570px;\n margin: auto;\n width: 100%;\n}\n@media screen and (max-width: 576px) {\n.card-form[data-v-a433f3dc] {\n margin: 0 auto;\n}\n}\n.card-form__inner[data-v-a433f3dc] {\n background: #fff;\n box-shadow: 0 30px 60px 0 rgba(90, 116, 148, 0.4);\n border-radius: 10px;\n padding: 35px;\n padding-top: 180px;\n}\n@media screen and (max-width: 480px) {\n.card-form__inner[data-v-a433f3dc] {\n padding: 25px;\n padding-top: 165px;\n}\n}\n@media screen and (max-width: 360px) {\n.card-form__inner[data-v-a433f3dc] {\n padding: 15px;\n padding-top: 165px;\n}\n}\n.card-form__row[data-v-a433f3dc] {\n display: flex;\n align-items: flex-start;\n}\n@media screen and (max-width: 480px) {\n.card-form__row[data-v-a433f3dc] {\n flex-wrap: wrap;\n}\n}\n.card-form__col[data-v-a433f3dc] {\n flex: auto;\n margin-right: 35px;\n}\n.card-form__col[data-v-a433f3dc]:last-child {\n margin-right: 0;\n}\n@media screen and (max-width: 480px) {\n.card-form__col[data-v-a433f3dc] {\n margin-right: 0;\n flex: unset;\n width: 100%;\n margin-bottom: 20px;\n}\n.card-form__col[data-v-a433f3dc]:last-child {\n margin-bottom: 0;\n}\n}\n.card-form__col.-cvv[data-v-a433f3dc] {\n max-width: 150px;\n position: relative;\n}\n@media screen and (max-width: 480px) {\n.card-form__col.-cvv[data-v-a433f3dc] {\n max-width: initial;\n}\n}\n.card-form__group[data-v-a433f3dc] {\n display: flex;\n align-items: flex-start;\n flex-wrap: wrap;\n position: relative;\n}\n.card-form__group .card-input__input[data-v-a433f3dc] {\n flex: 1;\n margin-right: 15px;\n}\n.card-form__group .card-input__input[data-v-a433f3dc]:last-child {\n margin-right: 0;\n}\n.card-form__button[data-v-a433f3dc] {\n width: 100%;\n height: 55px;\n background: #7957d5;\n border: none;\n border-radius: 5px;\n font-size: 22px;\n font-weight: 500;\n font-family: "Source Sans Pro", sans-serif;\n /*box-shadow: 3px 10px 20px 0px rgba(35, 100, 210, 0.3);*/\n color: #fff;\n margin-top: 20px;\n cursor: pointer;\n}\n@media screen and (max-width: 480px) {\n.card-form__button[data-v-a433f3dc] {\n margin-top: 10px;\n}\n}\n.card-input[data-v-a433f3dc] {\n margin-bottom: 20px;\n}\n.card-input__label[data-v-a433f3dc] {\n font-size: 14px;\n margin-bottom: 5px;\n font-weight: 500;\n color: #1a3b5d;\n width: 100%;\n display: block;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.card-input__input[data-v-a433f3dc] {\n width: 100%;\n height: 50px;\n border-radius: 5px;\n /*box-shadow: none;*/\n border: 1px solid #ced6e0;\n transition: all 0.3s ease-in-out;\n font-size: 18px;\n padding: 5px 15px;\n background: none;\n color: #1a3b5d;\n font-family: "Source Sans Pro", sans-serif;\n}\n.card-input__input[data-v-a433f3dc]:hover, .card-input__input[data-v-a433f3dc]:focus {\n border-color: #3d9cff;\n}\n.card-input__input[data-v-a433f3dc]:focus {\n box-shadow: 0px 10px 20px -13px rgba(32, 56, 117, 0.35);\n}\n.card-input__input.-select[data-v-a433f3dc] {\n -webkit-appearance: none;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAeCAYAAABuUU38AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUxJREFUeNrM1sEJwkAQBdCsngXPHsQO9O5FS7AAMVYgdqAd2IGCDWgFnryLFQiCZ8EGnJUNimiyM/tnk4HNEAg/8y6ZmMRVqz9eUJvRaSbvutCZ347bXVJy/ZnvTmdJ862Me+hAbZCTs6GHpyUi1tTSvPnqTpoWZPUa7W7ncT3vK4h4zVejy8QzM3WhVUO8ykI6jOxoGA4ig3BLHcNFSCGqGAkig2yqgpEiMsjSfY9LxYQg7L6r0X6wS29YJiYQYecemY+wHrXD1+bklGhpAhBDeu/JfIVGxaAQ9sb8CI+CQSJ+QmJg0Ii/EE2MBiIXooHRQhRCkBhNhBcEhLkwf05ZCG8ICCOpk0MULmvDSY2M8UawIRExLIQIEgHDRoghihgRIgiigBEjgiFATBACAgFgghEwSAAGgoBCBBgYAg5hYKAIFYgHBo6w9RRgAFfy160QuV8NAAAAAElFTkSuQmCC");\n background-size: 12px;\n background-position: 90% center;\n background-repeat: no-repeat;\n padding-right: 30px;\n}\n.github-btn[data-v-a433f3dc] {\n position: absolute;\n right: 40px;\n bottom: 50px;\n text-decoration: none;\n padding: 15px 25px;\n border-radius: 4px;\n box-shadow: 0px 4px 30px -6px rgba(36, 52, 70, 0.65);\n background: #24292e;\n color: #fff;\n font-weight: bold;\n letter-spacing: 1px;\n font-size: 16px;\n text-align: center;\n transition: all 0.3s ease-in-out;\n}\n@media screen and (min-width: 500px) {\n.github-btn[data-v-a433f3dc]:hover {\n transform: scale(1.1);\n box-shadow: 0px 17px 20px -6px rgba(36, 52, 70, 0.36);\n}\n}\n@media screen and (max-width: 700px) {\n.github-btn[data-v-a433f3dc] {\n position: relative;\n bottom: auto;\n right: auto;\n margin-top: 20px;\n}\n.github-btn[data-v-a433f3dc]:active {\n transform: scale(1.1);\n box-shadow: 0px 17px 20px -6px rgba(36, 52, 70, 0.36);\n}\n}\n\n/* Extra small devices (phones, 600px and down) */\n@media only screen and (max-width: 600px) {\n.margin-mobile[data-v-a433f3dc] {\n margin-top: 1em;\n}\n}',""])},JumI:function(t){t.exports=JSON.parse('{"finance":"Financiar el desarrollo de OpenLitterMap","help":"Necesitamos tu ayuda.","support":"Apoyar los Datos Abiertos sobre la contaminación por plásticos","help-costs":"Ayudar a cubrir nuestros gastos","help-hire":"Contratar desarrolladores, diseñadores y graduados","help-produce":"Producir videos","help-write":"Escribir artículos científicos","help-outreach":"Conferencias y divulgación","help-incentivize":"Incentivar la recogida de datos con Littercoin","more-soon":"Pronto habrá más actualizaciones interesantes","click-to-support":"Haz clic aquí para apoyar"}')},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function o(t,e,o,a){var s=t+" ";return 1===t?s+n(0,e,o[0],a):e?s+(i(t)?r(o)[1]:r(o)[0]):a?s+r(o)[1]:s+(i(t)?r(o)[1]:r(o)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,n,i){return e?"kelios sekundės":i?"kelių sekundžių":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K2z1:function(t,e,n){"use strict";n.r(e);var i=n("o0o1"),r=n.n(i),o=n("wd/R"),a=n.n(o),s={name:"ProfileWelcome",computed:{name:function(){return this.user.user.name},totalUsers:function(){return this.user.totalUsers},usersPosition:function(){return a.a.localeData().ordinal(this.user.position)},user:function(){return this.$store.state.user}}},l=n("KHd+"),u=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("profile.dashboard.welcome"))+", "+t._s(t.name))]),t._v(" "),n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("profile.dashboard.out-of",{total:t.totalUsers})))]),t._v(" "),n("p",[t._v(t._s(t.$t("profile.dashboard.rank",{rank:t.usersPosition})))])])}),[],!1,null,"4a21534c",null).exports,c={name:"ProfileStats",computed:{photoPercent:function(){return this.user.photoPercent},tagPercent:function(){return this.user.tagPercent},userTagsCount:function(){return this.user.user.total_litter+this.user.user.total_brands},userPhotoCount:function(){return this.user.user.total_images},user:function(){return this.$store.state.user}}},d=(n("Y2KF"),Object(l.a)(c,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("profile.dashboard.have-uploaded")))]),t._v(" "),n("div",{staticClass:"flex"},[n("div",{staticClass:"profile-stat-card"},[n("img",{attrs:{src:"/assets/icons/home/camera.png"}}),t._v(" "),n("div",[n("p",{staticClass:"profile-stat"},[t._v(t._s(t.userPhotoCount))]),t._v(" "),n("p",{staticClass:"profile-text"},[t._v(t._s(t.$t("profile.dashboard.photos")))])])]),t._v(" "),n("div",{staticClass:"profile-stat-card"},[n("img",{attrs:{src:"/assets/icons/home/phone.png"}}),t._v(" "),n("div",[n("p",{staticClass:"profile-stat"},[t._v(t._s(t.userTagsCount))]),t._v(" "),n("p",{staticClass:"profile-text"},[t._v(t._s(t.$t("profile.dashboard.tags")))])])]),t._v(" "),n("div",{staticClass:"profile-stat-card"},[n("p",{staticClass:"profile-percent"},[t._v("%")]),t._v(" "),n("div",[n("p",{staticClass:"profile-stat"},[t._v(t._s(t.photoPercent))]),t._v(" "),n("p",{staticClass:"profile-text"},[t._v(t._s(t.$t("profile.dashboard.all-photos")))])])]),t._v(" "),n("div",{staticClass:"profile-stat-card"},[n("p",{staticClass:"profile-percent"},[t._v("%")]),t._v(" "),n("div",[n("p",{staticClass:"profile-stat"},[t._v(t._s(t.tagPercent))]),t._v(" "),n("p",{staticClass:"profile-text"},[t._v(t._s(t.$t("profile.dashboard.all-tags")))])])])])])}),[],!1,null,"28f13f8e",null).exports),h={name:"ProfileNextTarget",computed:{currentLevel:function(){return this.user.level},currentXp:function(){return this.user.xp},neededXp:function(){return this.$store.state.user.requiredXp},user:function(){return this.$store.state.user.user}}},f=(n("OBbp"),Object(l.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("profile.dashboard.your-level")))]),t._v(" "),n("p",{staticClass:"is-secondary"},[t._v(t._s(t.$t("profile.dashboard.reached-level"))+" "),n("strong",{staticClass:"is-white"},[t._v(t._s(t.currentLevel))])]),t._v(" "),n("p",{staticClass:"is-secondary mb1"},[t._v(t._s(t.$t("profile.dashboard.have-xp"))+" "),n("strong",{staticClass:"is-white"},[t._v(t._s(t.currentXp)+" xp")])]),t._v(" "),n("p",{staticClass:"is-secondary mb2"},[t._v(t._s(t.$t("profile.dashboard.need-xp"))+" "),n("strong",{staticClass:"is-white"},[t._v(t._s(t.neededXp)+" xp")]),t._v(" "+t._s(t.$t("profile.dashboard.to-reach-level")))])])}),[],!1,null,"41670ab3",null).exports),p=n("H8ri"),m=n("gaDp"),g={extends:p.d,name:"Radar",props:["categories"],mounted:function(){var t=this,e=[];m.a.filter((function(t){return"art"!==t&&"dogshit"!==t})).map((function(n){e.push(t.$t("litter.categories."+n))})),this.renderChart({labels:e,datasets:[{label:this.$t("profile.dashboard.total-categories"),backgroundColor:"#1DD3B0",data:this.categories,fill:!0,borderColor:"#1DD3B0",maxBarThickness:"10"}]},{responsive:!0,maintainAspectRatio:!1,legend:{labels:{fontColor:"#1DD3B0"}},scale:{pointLabels:{fontColor:"white"}}})}},v={name:"ProfileCategories",components:{Radar:Object(l.a)(g,void 0,void 0,!1,null,null,null).exports},computed:{categories:function(){return[this.user.total_categories.smoking,this.user.total_categories.food,this.user.total_categories.coffee,this.user.total_categories.softdrinks,this.user.total_categories.alcohol,this.user.total_categories.other,this.user.total_categories.coastal,this.user.total_categories.sanitary,this.user.total_categories.dumping,this.user.total_categories.industrial,this.user.total_categories.brands]},user:function(){return this.$store.state.user.user}}},y=Object(l.a)(v,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card"},[e("Radar",{attrs:{categories:this.categories}})],1)}),[],!1,null,"39054c59",null).exports,_=n("JpmB"),b=n("pArE"),w=n("Tith"),x=n("9g/y"),k=n("yp/A"),C=n.n(k),S=n("ltXA");function M(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var T={name:"ProfileMap",components:{LMap:_.a,LTileLayer:b.a,LMarker:w.a,LPopup:x.a,"v-marker-cluster":C.a},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.attribution+=(new Date).getFullYear();case 1:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){M(o,i,r,a,s,"next",t)}function s(t){M(o,i,r,a,s,"throw",t)}a(void 0)}))})()},data:function(){return{zoom:2,center:L.latLng(0,0),url:"https://{s}.tile.osm.org/{z}/{x}/{y}.png",attribution:'Map Data © OpenStreetMap contributors, Litter data © OpenLitterMap & Contributors ',loading:!0,fullscreen:!1}},computed:{geojson:function(){return this.$store.state.user.geojson.features}},methods:{content:function(t,e,n){if(e){var i=e.split(",");i.pop();var r="";return i.forEach((function(t){var e=t.split(" ");r+=S.a.t("litter."+e[0])+": "+e[1]+"
"})),''+r+'

Taken on '+a()(n).format("LLL")+"
"}},fullscreenChange:function(t){this.fullscreen=t},toggle:function(){this.$refs.fullscreen.toggle()}}},E=(n("jRYP"),Object(l.a)(T,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card",staticStyle:{padding:"0 !important"}},[n("fullscreen",{ref:"fullscreen",staticClass:"profile-map-container",on:{change:t.fullscreenChange}},[n("button",{staticClass:"btn-map-fullscreen",on:{click:t.toggle}},[n("i",{staticClass:"fa fa-expand"})]),t._v(" "),n("l-map",{attrs:{zoom:t.zoom,center:t.center,minZoom:1}},[n("l-tile-layer",{attrs:{url:t.url,attribution:t.attribution}}),t._v(" "),t.geojson.length>0?n("v-marker-cluster",t._l(t.geojson,(function(e){return n("l-marker",{key:e.properties.id,attrs:{"lat-lng":e.properties.latlng}},[n("l-popup",{attrs:{content:t.content(e.properties.img,e.properties.text,e.properties.datetime)}})],1)})),1):t._e()],1)],1)],1)}),[],!1,null,null,null).exports);function O(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var P={name:"ProfileCalendar",components:{FunctionalCalendar:n("R5vI").a},data:function(){return{btn:"button long-purp",calendarData:{},period:"created_at",periods:["created_at","datetime"]}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn},disabled:function(){return!!this.processing||(!this.calendarData.hasOwnProperty("dateRange")||!this.calendarData.dateRange.hasOwnProperty("start")&&!this.calendarData.dateRange.hasOwnProperty("end"))}},methods:{changePeriod:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.disabled){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.$store.dispatch("GET_USERS_PROFILE_MAP_DATA",{period:e.period,start:e.calendarData.dateRange.start,end:e.calendarData.dateRange.end});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){O(o,i,r,a,s,"next",t)}function s(t){O(o,i,r,a,s,"throw",t)}a(void 0)}))})()},getPeriod:function(t){return t||(t=this.period),this.$t("teams.dashboard.times."+t)}}},D=(n("xvX3"),Object(l.a)(P,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("FunctionalCalendar",{attrs:{"day-names":t.$t("common.day-names"),"month-names":t.$t("common.month-names"),"short-month-names":t.$t("common.short-month-names"),sundayStart:!1,"date-format":"yyyy-mm-dd","is-date-range":!0,"is-date-picker":!1,"change-month-function":!0,"change-year-function":!0},model:{value:t.calendarData,callback:function(e){t.calendarData=e},expression:"calendarData"}}),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.period,expression:"period"}],staticClass:"input mt1 mb1",on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.period=e.target.multiple?n:n[0]}}},t._l(t.periods,(function(e){return n("option",{domProps:{value:e}},[t._v(t._s(t.getPeriod(e)))])})),0),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.disabled},on:{click:t.changePeriod}},[t._v(t._s(t.$t("profile.dashboard.calendar-load-data")))])],1)}),[],!1,null,"709d4682",null).exports);function A(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var I={name:"ProfileDownload",data:function(){return{btn:"button is-medium is-purp",processing:!1}},computed:{button:function(){return this.processing?this.btn+" is-loading":this.btn}},methods:{download:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.processing=!0,t.next=3,e.$store.dispatch("DOWNLOAD_MY_DATA");case 3:e.processing=!1;case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){A(o,i,r,a,s,"next",t)}function s(t){A(o,i,r,a,s,"throw",t)}a(void 0)}))})()}}},N=(n("Zqlq"),Object(l.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("p",{staticClass:"profile-dl-title"},[t._v(t._s(t.$t("profile.dashboard.download-data")))]),t._v(" "),n("p",{staticClass:"profile-dl-subtitle"},[t._v(t._s(t.$t("profile.dashboard.email-send-msg")))]),t._v(" "),n("button",{class:t.button,attrs:{disabled:t.processing},on:{click:t.download}},[t._v(t._s(t.$t("common.download")))])])}),[],!1,null,"2d0b0290",null).exports),R={extends:p.c,name:"TimeSeriesLine",props:["ppm"],data:function(){return{months:this.$t("common.short-month-names")}},mounted:function(){var t=JSON.parse(this.ppm),e=[],n=[];for(var i in t)e.push(this.months[parseInt(i.substring(0,2))-1]+i.substring(2,5)),n.push(t[i]);this.renderChart({labels:e,datasets:[{label:this.$t("profile.dashboard.timeseries-verified-photos"),backgroundColor:"#1DD3B0",data:n,fill:!1,borderColor:"#1DD3B0",maxBarThickness:"50"}]},{responsive:!0,maintainAspectRatio:!1,legend:{labels:{fontColor:"#1DD3B0"}},scales:{xAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#1DD3B0"}}],yAxes:[{gridLines:{color:"rgba(255,255,255,0.5)",display:!0,drawBorder:!0,drawOnChartArea:!1},ticks:{fontColor:"#1DD3B0"}}]}})}},j={name:"ProfileTimeSeries",components:{TimeSeriesLine:Object(l.a)(R,void 0,void 0,!1,null,null,null).exports},computed:{ppm:function(){return this.$store.state.user.user.photos_per_month}}};function z(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Y={name:"ProfilePhotos",methods:{load:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.$store.commit("resetPhotoState"),t.next=3,e.$store.dispatch("LOAD_MY_PHOTOS");case 3:e.$store.commit("showModal",{type:"MyPhotos",title:e.$t("profile.dashboard.my-photos")});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){z(o,i,r,a,s,"next",t)}function s(t){z(o,i,r,a,s,"throw",t)}a(void 0)}))})()}}};function F(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var B={name:"Profile",components:{ProfileWelcome:u,ProfileTimeSeries:Object(l.a)(j,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"profile-card"},[e("TimeSeriesLine",{attrs:{ppm:this.ppm}})],1)}),[],!1,null,"f09fa5e0",null).exports,ProfileStats:d,ProfileNextTarget:f,ProfileCategories:y,ProfileMap:E,ProfileCalendar:D,ProfileDownload:N,ProfilePhotos:Object(l.a)(Y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"profile-card"},[n("p",{staticClass:"mb1"},[t._v(t._s(t.$t("profile.dashboard.manage-my-photos")))]),t._v(" "),n("button",{staticClass:"button is-medium is-primary",on:{click:t.load}},[t._v(t._s(t.$t("profile.dashboard.view-my-photos")))])])}),[],!1,null,"10a8d132",null).exports},created:function(){var t,e=this;return(t=r.a.mark((function t(){return r.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("GET_USERS_PROFILE_DATA");case 2:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){F(o,i,r,a,s,"next",t)}function s(t){F(o,i,r,a,s,"throw",t)}a(void 0)}))})()}},$=(n("ilIf"),Object(l.a)(B,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"profile-container"},[n("ProfileWelcome"),t._v(" "),n("ProfileStats"),t._v(" "),n("ProfileNextTarget"),t._v(" "),n("ProfileCategories"),t._v(" "),n("ProfileMap"),t._v(" "),n("ProfileCalendar"),t._v(" "),n("ProfileDownload"),t._v(" "),n("ProfileTimeSeries"),t._v(" "),n("ProfilePhotos")],1)}),[],!1,null,null,null));e.default=$.exports},"KHd+":function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(t,e){return l.call(e),c(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},KMoH:function(t,e,n){var i=n("eXKq");"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n("aET+")(i,r);i.locals&&(t.exports=i.locals)},KNCH:function(t){t.exports=JSON.parse('{"plastic-pollution-out-of-control":"Plastic vervuiling is op hol geslagen","help-us":"Help ons om de meest geavanceerde database te maken met data over afval, merken en plastic vervuiling","why-collect-data":"Waarom zouden we data moeten verzamelen","visibility":"Zichtbaarheid","our-maps-reveal-litter-normality":"Onze plattegronden laten zien wat inmiddels normaal en onzichtbaar is geworden. Dit is van belang om het afval weer letterlijk op de kaart te zetten","science":"Onderzoek","our-data-open-source":"Onze data is open en toegankelijk. Iedereen kan deze data downloaden en gebruiken, ongeacht het doel","community":"Gemeenschap","must-work-together":"Alleen door samen te werken kunnen we een enorme verschuiving maken in de manier waarop we naar vervuiling kijken en hoe we erop moeten reageren","how-does-it-work":"Hoe gaat dat in z\'n werk","take-a-photo":"Neem een foto","device-captures-info":"Jouw toestel is in staat om veel waardevolle data vast te leggen, zoals de locatie, de datum en tijd, het object, het materiaal en het merk.","tag-the-litter":"Geef het afval een label","tag-litter-you-see":"Geef aan wat voor afval je op de foto ziet. Je kan aangeven of het afval daadwerkelijk is opgeruimd, of dat het er nog ligt","share-results":"Deel je resultaten","share":"Deel de plattegronden en download onze data. Laat iedereen zien hoe het gesteld is met de vervuiling op de wereld","verified":"Jouw email is bevestigd! Je kunt nu inloggen.","close":"Sluiten"}')},KSF8:function(t,e,n){!function(t){"use strict";t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KSRL:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".vfc-time-picker-container[data-v-56eeb0da] {\n min-width: 250px;\n}\n.vfc-time-picker-container .vfc-modal-time-line > span > span[data-v-56eeb0da]:not(:nth-child(2)):not(.vfc-active):hover {\n cursor: pointer;\n}\n.vfc-time-picker-container .titles[data-v-56eeb0da] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n padding: 10px 0;\n}\n.vfc-time-picker-container .titles > div[data-v-56eeb0da] {\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n text-align: center;\n color: #66b3cc;\n word-break: break-all;\n font-size: 25px;\n}\n.vfc-time-picker-container .vfc-time-picker[data-v-56eeb0da] {\n padding-bottom: 20px;\n}",""])},KTUv:function(t,e,n){"use strict";var i=n("w/Vo");n.n(i).a},KTz0:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kb5C:function(t){t.exports=JSON.parse('{"click-to-upload":"Klik om te uploaden of drop hier je foto\'s","thank-you":"Dank je!","need-tag-litter":"Volgende stap: het afval identificeren/taggen","tag-litter":"Tag het afval"}')},KuTZ:function(t,e,n){"use strict";var i=n("152u");n.n(i).a},"Kuz/":function(t,e,n){(function(n){var r,o,a,s;function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(){return function t(e,n,i){function r(a,s){if(!n[a]){if(!e[a]){if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};e[a][0].call(u.exports,(function(t){var n=e[a][1][t];return r(n||t)}),u,u.exports,t,e,n,i)}return n[a].exports}for(var o=!1,a=0;a=l&&u===s.length-1);u++){if(l>=e){var c=e-l;if(c){var d=o(s[u],s[u-1])-180;return a(s[u],c,d,n)}return r(s[u])}l+=i(s[u],s[u+1],n)}return r(s[s.length-1])}},{"@turf/bearing":3,"@turf/destination":5,"@turf/distance":8,"@turf/helpers":11}],3:[function(t,e,n){var i=t("@turf/invariant").getCoord;function r(t,e,n){if(!0===n)return function(t,e){var n=r(e,t);return n=(n+180)%360}(t,e);var o=Math.PI/180,a=180/Math.PI,s=i(t),l=i(e),u=o*s[0],c=o*l[0],d=o*s[1],h=o*l[1],f=Math.sin(c-u)*Math.cos(h),p=Math.cos(d)*Math.sin(h)-Math.sin(d)*Math.cos(h)*Math.cos(c-u);return a*Math.atan2(f,p)}e.exports=r},{"@turf/invariant":4}],4:[function(t,e,n){function i(t){if(!t)throw new Error("No obj passed");var e;if(t.length?e=t:t.coordinates?e=t.coordinates:t.geometry&&t.geometry.coordinates&&(e=t.geometry.coordinates),e)return function t(e){if(e.length>1&&"number"==typeof e[0]&&"number"==typeof e[1])return!0;if(e[0].length)return t(e[0]);throw new Error("coordinates must only contain numbers")}(e),e;throw new Error("No valid coordinates")}e.exports.geojsonType=function(t,e,n){if(!e||!n)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+n+": must be a "+e+", given "+t.type)},e.exports.collectionOf=function(t,e,n){if(!t)throw new Error("No featureCollection passed");if(!n)throw new Error(".collectionOf() requires a name");if(!t||"FeatureCollection"!==t.type)throw new Error("Invalid input to "+n+", FeatureCollection required");for(var i=0;i1&&"number"==typeof e[0]&&"number"==typeof e[1])return e;throw new Error("Coordinate is not a valid Point")},e.exports.getCoords=i},{}],5:[function(t,e,n){var i=t("@turf/invariant").getCoord,r=t("@turf/helpers"),o=r.point,a=r.distanceToRadians;e.exports=function(t,e,n,r){var s=Math.PI/180,l=180/Math.PI,u=i(t),c=s*u[0],d=s*u[1],h=s*n,f=a(e,r),p=Math.asin(Math.sin(d)*Math.cos(f)+Math.cos(d)*Math.sin(f)*Math.cos(h)),m=c+Math.atan2(Math.sin(h)*Math.sin(f)*Math.cos(d),Math.cos(f)-Math.sin(d)*Math.sin(p));return o([l*m,l*p])}},{"@turf/helpers":6,"@turf/invariant":7}],6:[function(t,e,n){function i(t,e){if(!t)throw new Error("No geometry passed");return{type:"Feature",properties:e||{},geometry:t}}e.exports.feature=i,e.exports.point=function(t,e){if(!t)throw new Error("No coordinates passed");if(void 0===t.length)throw new Error("Coordinates must be an array");if(t.length<2)throw new Error("Coordinates must be at least 2 numbers long");if("number"!=typeof t[0]||"number"!=typeof t[1])throw new Error("Coordinates must numbers");return i({type:"Point",coordinates:t},e)},e.exports.polygon=function(t,e){if(!t)throw new Error("No coordinates passed");for(var n=0;n0){e+=Math.abs(o(t[0]));for(var n=1;n2){for(l=0;lt[0]&&(e[0]=t[0]),e[1]>t[1]&&(e[1]=t[1]),e[2]t&&(e.push(i),n=r)}return e},i.prototype.vector=function(t){var e=this.pos(t+10),n=this.pos(t-10);return{angle:180*Math.atan2(e.y-n.y,e.x-n.x)/3.14,speed:Math.sqrt((n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y)+(n.z-e.z)*(n.z-e.z))}},i.prototype.pos=function(t){var e=t-this.delay;e<0&&(e=0),e>this.duration&&(e=this.duration-1);var n=e/this.duration;if(n>=1)return this.points[this.length-1];var i=Math.floor((this.points.length-1)*n);return function(t,e,n,i,r){var o=function(t){var e=t*t;return[e*t,3*e*(1-t),3*t*(1-t)*(1-t),(1-t)*(1-t)*(1-t)]}(t);return{x:r.x*o[0]+i.x*o[1]+n.x*o[2]+e.x*o[3],y:r.y*o[0]+i.y*o[1]+n.y*o[2]+e.y*o[3],z:r.z*o[0]+i.z*o[1]+n.z*o[2]+e.z*o[3]}}((this.length-1)*n-i,this.points[i],this.controls[i][1],this.controls[i+1][0],this.points[i+1])},e.exports=i},{}],25:[function(t,e,n){var i=t("@turf/helpers"),r=i.featureCollection,o=t("jsts"),a=t("@mapbox/geojson-normalize");e.exports=function(t,e,n){var s=i.distanceToDegrees(e,n),l=a(t),u=a(r(l.features.map((function(t){return function(t,e){var n=(new o.io.GeoJSONReader).read(t.geometry).buffer(e),i=new o.io.GeoJSONWriter;return{type:"Feature",geometry:n=i.write(n),properties:{}}}(t,s)}))));return u.features.length>1?u:1===u.features.length?u.features[0]:void 0}},{"@mapbox/geojson-normalize":26,"@turf/helpers":27,jsts:28}],26:[function(t,e,n){e.exports=function(t){if(!t||!t.type)return null;var e=i[t.type];return e?"geometry"===e?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:t}]}:"feature"===e?{type:"FeatureCollection",features:[t]}:"featurecollection"===e?t:void 0:null};var i={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featurecollection"}},{}],27:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],28:[function(t,e,n){!function(t,i){"object"==l(n)&&void 0!==e?i(n):i(t.jsts=t.jsts||{})}(this,(function(t){"use strict";function e(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}function n(){}function i(){}function r(){}function o(){}function a(){}function s(){}function l(){}function u(t){this.name="RuntimeException",this.message=t,this.stack=(new Error).stack,Error.call(this,t)}function c(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t}function d(){if(0===arguments.length)u.call(this);else if(1===arguments.length){var t=arguments[0];u.call(this,t)}}function h(){}function f(){if(this.x=null,this.y=null,this.z=null,0===arguments.length)f.call(this,0,0);else if(1===arguments.length){var t=arguments[0];f.call(this,t.x,t.y,t.z)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];f.call(this,e,n,f.NULL_ORDINATE)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];this.x=i,this.y=r,this.z=o}}function p(){if(this.dimensionsToTest=2,0===arguments.length)p.call(this,2);else if(1===arguments.length){var t=arguments[0];if(2!==t&&3!==t)throw new i("only 2 or 3 dimensions may be specified");this.dimensionsToTest=t}}function m(){}function g(){}function v(t){this.message=t||""}function y(){}function _(t){this.message=t||""}function b(t){this.message=t||""}function w(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function x(){if(w.apply(this),0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.ensureCapacity(t.length),this.add(t,!0)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.ensureCapacity(e.length),this.add(e,n)}}function k(){if(this.minx=null,this.maxx=null,this.miny=null,this.maxy=null,0===arguments.length)this.init();else if(1===arguments.length){if(arguments[0]instanceof f){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof k){var e=arguments[0];this.init(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.init(n.x,i.x,n.y,i.y)}else if(4===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];this.init(r,o,a,s)}}function C(){}function L(){C.call(this,"Projective point not representable on the Cartesian plane.")}function S(){}function M(t,e){return t.interfaces_&&t.interfaces_().indexOf(e)>-1}function T(){}function E(t){this.str=t}function O(t){this.value=t}function P(){}function D(){if(this.hi=0,this.lo=0,0===arguments.length)this.init(0);else if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];this.init(t)}else if(arguments[0]instanceof D){var e=arguments[0];this.init(e)}else if("string"==typeof arguments[0]){var n=arguments[0];D.call(this,D.parse(n))}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.init(i,r)}}function A(){}function I(){}function N(){}function R(){if(this.x=null,this.y=null,this.w=null,0===arguments.length)this.x=0,this.y=0,this.w=1;else if(1===arguments.length){var t=arguments[0];this.x=t.x,this.y=t.y,this.w=1}else if(2===arguments.length){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var e=arguments[0],n=arguments[1];this.x=e,this.y=n,this.w=1}else if(arguments[0]instanceof R&&arguments[1]instanceof R){var i=arguments[0],r=arguments[1];this.x=i.y*r.w-r.y*i.w,this.y=r.x*i.w-i.x*r.w,this.w=i.x*r.y-r.x*i.y}else if(arguments[0]instanceof f&&arguments[1]instanceof f){var o=arguments[0],a=arguments[1];this.x=o.y-a.y,this.y=a.x-o.x,this.w=o.x*a.y-a.x*o.y}}else if(3===arguments.length){var s=arguments[0],l=arguments[1],u=arguments[2];this.x=s,this.y=l,this.w=u}else if(4===arguments.length){var c=arguments[0],d=arguments[1],h=arguments[2],p=arguments[3],m=c.y-d.y,g=d.x-c.x,v=c.x*d.y-d.x*c.y,y=h.y-p.y,_=p.x-h.x,b=h.x*p.y-p.x*h.y;this.x=g*b-_*v,this.y=y*v-m*b,this.w=m*_-y*g}}function j(){}function z(){}function Y(){this.envelope=null,this.factory=null,this.SRID=null,this.userData=null;var t=arguments[0];this.factory=t,this.SRID=t.getSRID()}function F(){}function B(){}function $(){}function H(){}function U(){}function V(){}function W(){}function G(){}function q(){}function Z(){}function X(){}function J(){}function K(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function Q(t){return null==t?Bo:t.color}function tt(t){return null==t?null:t.parent}function et(t,e){null!==t&&(t.color=e)}function nt(t){return null==t?null:t.left}function it(t){return null==t?null:t.right}function rt(){this.root_=null,this.size_=0}function ot(){}function at(){}function st(){this.array_=[],arguments[0]instanceof g&&this.addAll(arguments[0])}function lt(){}function ut(){}function ct(){}function dt(){}function ht(){this.geometries=null;var t=arguments[0],e=arguments[1];if(Y.call(this,e),null===t&&(t=[]),Y.hasNullElements(t))throw new i("geometries must not contain null elements");this.geometries=t}function ft(){var t=arguments[0],e=arguments[1];ht.call(this,t,e)}function pt(){if(this.geom=null,this.geomFact=null,this.bnRule=null,this.endpointMap=null,1===arguments.length){var t=arguments[0];pt.call(this,t,B.MOD2_BOUNDARY_RULE)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.geom=e,this.geomFact=e.getFactory(),this.bnRule=n}}function mt(){this.count=null}function gt(){}function vt(){}function yt(){}function _t(){}function bt(){}function wt(){}function xt(){}function kt(){this.points=null;var t=arguments[0],e=arguments[1];Y.call(this,e),this.init(t)}function Ct(){}function Lt(){this.coordinates=null;var t=arguments[0],e=arguments[1];Y.call(this,e),this.init(t)}function St(){}function Mt(){this.shell=null,this.holes=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(Y.call(this,n),null===t&&(t=this.getFactory().createLinearRing()),null===e&&(e=[]),Y.hasNullElements(e))throw new i("holes must not contain null elements");if(t.isEmpty()&&Y.hasNonEmptyElements(e))throw new i("shell is empty but holes are not");this.shell=t,this.holes=e}function Tt(){var t=arguments[0],e=arguments[1];ht.call(this,t,e)}function Et(){if(arguments[0]instanceof f&&arguments[1]instanceof Wt){var t=arguments[0],e=arguments[1];Et.call(this,e.getCoordinateSequenceFactory().create(t),e)}else if(M(arguments[0],I)&&arguments[1]instanceof Wt){var n=arguments[0],i=arguments[1];kt.call(this,n,i),this.validateConstruction()}}function Ot(){var t=arguments[0],e=arguments[1];ht.call(this,t,e)}function Pt(){if(this.factory=null,this.isUserDataCopied=!1,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.factory=t}}function Dt(){}function At(){}function It(){}function Nt(){}function Rt(){if(this.dimension=3,this.coordinates=null,1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];Rt.call(this,t,3)}else if(Number.isInteger(arguments[0])){var e=arguments[0];this.coordinates=new Array(e).fill(null);for(var n=0;n-1}function Bt(t,e,n){var i=[0],r=!1;return t.push(i),{next:function(){var o,a=i[0];return!r&&a1,"Node capacity must be greater than 1"),this.nodeCapacity=t}}function Ee(){}function Oe(){if(0===arguments.length)Oe.call(this,Oe.DEFAULT_NODE_CAPACITY);else if(1===arguments.length){var t=arguments[0];Te.call(this,t)}}function Pe(){var t=arguments[0];Se.call(this,t)}function De(){}function Ae(){this.segString=null,this.coord=null,this.segmentIndex=null,this.segmentOctant=null,this._isInterior=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.segString=t,this.coord=new f(e),this.segmentIndex=n,this.segmentOctant=i,this._isInterior=!e.equals2D(t.getCoordinate(n))}function Ie(){this.nodeMap=new rt,this.edge=null;var t=arguments[0];this.edge=t}function Ne(){this.nodeList=null,this.edge=null,this.nodeIt=null,this.currNode=null,this.nextNode=null,this.currSegIndex=0;var t=arguments[0];this.nodeList=t,this.edge=t.getEdge(),this.nodeIt=t.iterator(),this.readNextNode()}function Re(){}function je(){this.nodeList=new Ie(this),this.pts=null,this.data=null;var t=arguments[0],e=arguments[1];this.pts=t,this.data=e}function ze(){this.tempEnv1=new k,this.tempEnv2=new k,this.overlapSeg1=new te,this.overlapSeg2=new te}function Ye(){this.pts=null,this.start=null,this.end=null,this.env=null,this.context=null,this.id=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.pts=t,this.start=e,this.end=n,this.context=i}function Fe(){}function Be(){}function $e(){}function He(){if(this.segInt=null,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setSegmentIntersector(t)}}function Ue(){if(this.monoChains=new w,this.index=new Oe,this.idCounter=0,this.nodedSegStrings=null,this.nOverlaps=0,0===arguments.length);else if(1===arguments.length){var t=arguments[0];He.call(this,t)}}function Ve(){ze.apply(this),this.si=null;var t=arguments[0];this.si=t}function We(){if(this.pt=null,1===arguments.length){var t=arguments[0];u.call(this,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];u.call(this,We.msgWithCoord(e,n)),this.name="TopologyException",this.pt=new f(n)}}function Ge(){}function qe(){this.findAllIntersections=!1,this.isCheckEndSegmentsOnly=!1,this.li=null,this.interiorIntersection=null,this.intSegments=null,this.intersections=new w,this.intersectionCount=0,this.keepIntersections=!0;var t=arguments[0];this.li=t,this.interiorIntersection=null}function Ze(){this.li=new Xt,this.segStrings=null,this.findAllIntersections=!1,this.segInt=null,this._isValid=!0;var t=arguments[0];this.segStrings=t}function Xe(){this.nv=null;var t=arguments[0];this.nv=new Ze(Xe.toSegmentStrings(t))}function Je(){this.mapOp=null;var t=arguments[0];this.mapOp=t}function Ke(){}function Qe(){if(this.location=null,1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];this.init(t.length)}else if(Number.isInteger(arguments[0])){var e=arguments[0];this.init(1),this.location[Ke.ON]=e}else if(arguments[0]instanceof Qe){var n=arguments[0];if(this.init(n.location.length),null!==n)for(var i=0;i=0?this.setComputationPrecision(i.getPrecisionModel()):this.setComputationPrecision(r.getPrecisionModel()),this.arg=new Array(2).fill(null),this.arg[0]=new Bn(0,i,o),this.arg[1]=new Bn(1,r,o)}}function Hn(){this.pts=null,this._orientation=null;var t=arguments[0];this.pts=t,this._orientation=Hn.orientation(t)}function Un(){this.edges=new w,this.ocaMap=new rt}function Vn(){this.ptLocator=new ve,this.geomFact=null,this.resultGeom=null,this.graph=null,this.edgeList=new Un,this.resultPolyList=new w,this.resultLineList=new w,this.resultPointList=new w;var t=arguments[0],e=arguments[1];$n.call(this,t,e),this.graph=new dn(new _n),this.geomFact=t.getFactory()}function Wn(){this.geom=new Array(2).fill(null),this.snapTolerance=null,this.cbr=null;var t=arguments[0],e=arguments[1];this.geom[0]=t,this.geom[1]=e,this.computeSnapTolerance()}function Gn(){this.geom=new Array(2).fill(null);var t=arguments[0],e=arguments[1];this.geom[0]=t,this.geom[1]=e}function qn(){this.factory=null,this.interiorPoint=null,this.maxWidth=0;var t=arguments[0];this.factory=t.getFactory(),this.add(t)}function Zn(){this.poly=null,this.centreY=null,this.hiY=r.MAX_VALUE,this.loY=-r.MAX_VALUE;var t=arguments[0];this.poly=t,this.hiY=t.getEnvelopeInternal().getMaxY(),this.loY=t.getEnvelopeInternal().getMinY(),this.centreY=qn.avg(this.loY,this.hiY)}function Xn(){this.centroid=null,this.minDistance=r.MAX_VALUE,this.interiorPoint=null;var t=arguments[0];this.centroid=t.getCentroid().getCoordinate(),this.addInterior(t),null===this.interiorPoint&&this.addEndpoints(t)}function Jn(){this.centroid=null,this.minDistance=r.MAX_VALUE,this.interiorPoint=null;var t=arguments[0];this.centroid=t.getCentroid().getCoordinate(),this.add(t)}function Kn(){this.tempEnv1=new k,this.selectedSegment=new te}function Qn(){this.items=new w,this.subnode=[null,null]}function ti(){if(this.min=null,this.max=null,0===arguments.length)this.min=0,this.max=0;else if(1===arguments.length){var t=arguments[0];this.init(t.min,t.max)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.init(e,n)}}function ei(){}function ni(){this.pt=0,this.level=0,this.interval=null;var t=arguments[0];this.computeKey(t)}function ii(){Qn.apply(this),this.interval=null,this.centre=null,this.level=null;var t=arguments[0],e=arguments[1];this.interval=t,this.level=e,this.centre=(t.getMin()+t.getMax())/2}function ri(){}function oi(){Qn.apply(this)}function ai(){this.root=null,this.minExtent=1,this.root=new oi}function si(){}function li(){this.ring=null,this.tree=null,this.crossings=0,this.interval=new ti;var t=arguments[0];this.ring=t,this.buildIndex()}function ui(){Kn.apply(this),this.mcp=null,this.p=null;var t=arguments[0],e=arguments[1];this.mcp=t,this.p=e}function ci(){}function di(){this.p0=null,this.p1=null,this.p2=null;var t=arguments[0],e=arguments[1],n=arguments[2];this.p0=t,this.p1=e,this.p2=n}function hi(){this.input=null,this.extremalPts=null,this.centre=null,this.radius=0;var t=arguments[0];this.input=t}function fi(){if(this.inputGeom=null,this.isConvex=null,this.convexHullPts=null,this.minBaseSeg=new te,this.minWidthPt=null,this.minPtIndex=null,this.minWidth=0,1===arguments.length){var t=arguments[0];fi.call(this,t,!1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.inputGeom=e,this.isConvex=n}}function pi(){this.inputGeom=null,this.distanceTolerance=null;var t=arguments[0];this.inputGeom=t}function mi(){le.apply(this),this.distanceTolerance=null;var t=arguments[0];this.distanceTolerance=t}function gi(){this._orig=null,this._sym=null,this._next=null;var t=arguments[0];this._orig=t}function vi(){this._isMarked=!1;var t=arguments[0];gi.call(this,t)}function yi(){this.vertexMap=new Ht}function _i(){this._isStart=!1;var t=arguments[0];vi.call(this,t)}function bi(){yi.apply(this)}function wi(){this.result=null,this.factory=null,this.graph=null,this.lines=new w,this.nodeEdgeStack=new re,this.ringStartEdge=null,this.graph=new bi}function xi(){this.items=new w,this.subnode=new Array(4).fill(null)}function ki(){this.pt=new f,this.level=0,this.env=null;var t=arguments[0];this.computeKey(t)}function Ci(){xi.apply(this),this.env=null,this.centrex=null,this.centrey=null,this.level=null;var t=arguments[0],e=arguments[1];this.env=t,this.level=e,this.centrex=(t.getMinX()+t.getMaxX())/2,this.centrey=(t.getMinY()+t.getMaxY())/2}function Li(){xi.apply(this)}function Si(){this.root=null,this.minExtent=1,this.root=new Li}function Mi(t){this.geometryFactory=t||new Wt}function Ti(t){this.geometryFactory=t||new Wt,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new Mi(this.geometryFactory)}function Ei(){this.parser=new Mi(this.geometryFactory)}function Oi(t){this.geometryFactory=t||new Wt,this.precisionModel=this.geometryFactory.getPrecisionModel(),this.parser=new Gt(this.geometryFactory)}function Pi(t){return[t.x,t.y]}function Di(t,e){this.geometryFactory=t||new Wt,this.ol=e||"undefined"!=typeof ol&&ol}function Ai(){if(this.noder=null,this.scaleFactor=null,this.offsetX=null,this.offsetY=null,this.isScaled=!1,2===arguments.length){var t=arguments[0],e=arguments[1];Ai.call(this,t,e,0,0)}else if(4===arguments.length){var n=arguments[0],i=arguments[1];this.noder=n,this.scaleFactor=i,this.isScaled=!this.isIntegerPrecision()}}function Ii(){if(this.inputGeom=null,this.isClosedEndpointsInInterior=!0,this.nonSimpleLocation=null,1===arguments.length){var t=arguments[0];this.inputGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.inputGeom=e,this.isClosedEndpointsInInterior=!n.isInBoundary(2)}}function Ni(){this.pt=null,this.isClosed=null,this.degree=null;var t=arguments[0];this.pt=t,this.isClosed=!1,this.degree=0}function Ri(){if(this.quadrantSegments=Ri.DEFAULT_QUADRANT_SEGMENTS,this.endCapStyle=Ri.CAP_ROUND,this.joinStyle=Ri.JOIN_ROUND,this.mitreLimit=Ri.DEFAULT_MITRE_LIMIT,this._isSingleSided=!1,this.simplifyFactor=Ri.DEFAULT_SIMPLIFY_FACTOR,0===arguments.length);else if(1===arguments.length){var t=arguments[0];this.setQuadrantSegments(t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.setQuadrantSegments(e),this.setEndCapStyle(n)}else if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3];this.setQuadrantSegments(i),this.setEndCapStyle(r),this.setJoinStyle(o),this.setMitreLimit(a)}}function ji(){this.minIndex=-1,this.minCoord=null,this.minDe=null,this.orientedDe=null}function zi(){this.array_=[]}function Yi(){this.finder=null,this.dirEdgeList=new w,this.nodes=new w,this.rightMostCoord=null,this.env=null,this.finder=new ji}function Fi(){this.inputLine=null,this.distanceTol=null,this.isDeleted=null,this.angleOrientation=Qt.COUNTERCLOCKWISE;var t=arguments[0];this.inputLine=t}function Bi(){this.ptList=null,this.precisionModel=null,this.minimimVertexDistance=0,this.ptList=new w}function $i(){this.maxCurveSegmentError=0,this.filletAngleQuantum=null,this.closingSegLengthFactor=1,this.segList=null,this.distance=0,this.precisionModel=null,this.bufParams=null,this.li=null,this.s0=null,this.s1=null,this.s2=null,this.seg0=new te,this.seg1=new te,this.offset0=new te,this.offset1=new te,this.side=0,this._hasNarrowConcaveAngle=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this.precisionModel=t,this.bufParams=e,this.li=new Xt,this.filletAngleQuantum=Math.PI/2/e.getQuadrantSegments(),e.getQuadrantSegments()>=8&&e.getJoinStyle()===Ri.JOIN_ROUND&&(this.closingSegLengthFactor=$i.MAX_CLOSING_SEG_LEN_FACTOR),this.init(n)}function Hi(){this.distance=0,this.precisionModel=null,this.bufParams=null;var t=arguments[0],e=arguments[1];this.precisionModel=t,this.bufParams=e}function Ui(){this.subgraphs=null,this.seg=new te,this.cga=new Qt;var t=arguments[0];this.subgraphs=t}function Vi(){this.upwardSeg=null,this.leftDepth=null;var t=arguments[0],e=arguments[1];this.upwardSeg=new te(t),this.leftDepth=e}function Wi(){this.inputGeom=null,this.distance=null,this.curveBuilder=null,this.curveList=new w;var t=arguments[0],e=arguments[1],n=arguments[2];this.inputGeom=t,this.distance=e,this.curveBuilder=n}function Gi(){this._hasIntersection=!1,this.hasProper=!1,this.hasProperInterior=!1,this.hasInterior=!1,this.properIntersectionPoint=null,this.li=null,this.isSelfIntersection=null,this.numIntersections=0,this.numInteriorIntersections=0,this.numProperIntersections=0,this.numTests=0;var t=arguments[0];this.li=t}function qi(){this.bufParams=null,this.workingPrecisionModel=null,this.workingNoder=null,this.geomFact=null,this.graph=null,this.edgeList=new Un;var t=arguments[0];this.bufParams=t}function Zi(){this.li=new Xt,this.segStrings=null;var t=arguments[0];this.segStrings=t}function Xi(){this.li=null,this.pt=null,this.originalPt=null,this.ptScaled=null,this.p0Scaled=null,this.p1Scaled=null,this.scaleFactor=null,this.minx=null,this.maxx=null,this.miny=null,this.maxy=null,this.corner=new Array(4).fill(null),this.safeEnv=null;var t=arguments[0],e=arguments[1],n=arguments[2];if(this.originalPt=t,this.pt=t,this.scaleFactor=e,this.li=n,e<=0)throw new i("Scale factor must be non-zero");1!==e&&(this.pt=new f(this.scale(t.x),this.scale(t.y)),this.p0Scaled=new f,this.p1Scaled=new f),this.initCorners(this.pt)}function Ji(){this.index=null;var t=arguments[0];this.index=t}function Ki(){Kn.apply(this),this.hotPixel=null,this.parentEdge=null,this.hotPixelVertexIndex=null,this._isNodeAdded=!1;var t=arguments[0],e=arguments[1],n=arguments[2];this.hotPixel=t,this.parentEdge=e,this.hotPixelVertexIndex=n}function Qi(){this.li=null,this.interiorIntersections=null;var t=arguments[0];this.li=t,this.interiorIntersections=new w}function tr(){this.pm=null,this.li=null,this.scaleFactor=null,this.noder=null,this.pointSnapper=null,this.nodedSegStrings=null;var t=arguments[0];this.pm=t,this.li=new Xt,this.li.setPrecisionModel(t),this.scaleFactor=t.getScale()}function er(){if(this.argGeom=null,this.distance=null,this.bufParams=new Ri,this.resultGeometry=null,this.saveException=null,1===arguments.length){var t=arguments[0];this.argGeom=t}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.argGeom=e,this.bufParams=n}}function nr(){this.comps=null;var t=arguments[0];this.comps=t}function ir(){if(this.component=null,this.segIndex=null,this.pt=null,2===arguments.length){var t=arguments[0],e=arguments[1];ir.call(this,t,ir.INSIDE_AREA,e)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.component=n,this.segIndex=i,this.pt=r}}function rr(){this.pts=null;var t=arguments[0];this.pts=t}function or(){this.locations=null;var t=arguments[0];this.locations=t}function ar(){if(this.geom=null,this.terminateDistance=0,this.ptLocator=new ve,this.minDistanceLocation=null,this.minDistance=r.MAX_VALUE,2===arguments.length){var t=arguments[0],e=arguments[1];ar.call(this,t,e,0)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],o=arguments[2];this.geom=new Array(2).fill(null),this.geom[0]=n,this.geom[1]=i,this.terminateDistance=o}}function sr(){this.factory=null,this.directedEdges=new w,this.coordinates=null;var t=arguments[0];this.factory=t}function lr(){this._isMarked=!1,this._isVisited=!1,this.data=null}function ur(){lr.apply(this),this.parentEdge=null,this.from=null,this.to=null,this.p0=null,this.p1=null,this.sym=null,this.edgeDirection=null,this.quadrant=null,this.angle=null;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];this.from=t,this.to=e,this.edgeDirection=i,this.p0=t.getCoordinate(),this.p1=n;var r=this.p1.x-this.p0.x,o=this.p1.y-this.p0.y;this.quadrant=Fe.quadrant(r,o),this.angle=Math.atan2(o,r)}function cr(){var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];ur.call(this,t,e,n,i)}function dr(){if(lr.apply(this),this.dirEdge=null,0===arguments.length);else if(2===arguments.length){var t=arguments[0],e=arguments[1];this.setDirectedEdges(t,e)}}function hr(){this.outEdges=new w,this.sorted=!1}function fr(){if(lr.apply(this),this.pt=null,this.deStar=null,1===arguments.length){var t=arguments[0];fr.call(this,t,new hr)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.pt=e,this.deStar=n}}function pr(){dr.apply(this),this.line=null;var t=arguments[0];this.line=t}function mr(){this.nodeMap=new rt}function gr(){this.edges=new K,this.dirEdges=new K,this.nodeMap=new mr}function vr(){gr.apply(this)}function yr(){this.graph=new vr,this.mergedLineStrings=null,this.factory=null,this.edgeStrings=null}function _r(){this.edgeRing=null,this.next=null,this.label=-1;var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3];ur.call(this,t,e,n,i)}function br(){dr.apply(this),this.line=null;var t=arguments[0];this.line=t}function wr(){this.geometryFactory=new Wt,this.geomGraph=null,this.disconnectedRingcoord=null;var t=arguments[0];this.geomGraph=t}function xr(){}function kr(){if(this.edgeEnds=new w,1===arguments.length){var t=arguments[0];kr.call(this,null,t)}else if(2===arguments.length){var e=arguments[1];ln.call(this,e.getEdge(),e.getCoordinate(),e.getDirectedCoordinate(),new tn(e.getLabel())),this.insert(e)}}function Cr(){vn.apply(this)}function Lr(){var t=arguments[0],e=arguments[1];an.call(this,t,e)}function Sr(){cn.apply(this)}function Mr(){this.nodes=new sn(new Sr)}function Tr(){this.li=new Xt,this.geomGraph=null,this.nodeGraph=new Mr,this.invalidPoint=null;var t=arguments[0];this.geomGraph=t}function Er(){this.graph=null,this.rings=new w,this.totalEnv=new k,this.index=null,this.nestedPt=null;var t=arguments[0];this.graph=t}function Or(){if(this.errorType=null,this.pt=null,1===arguments.length){var t=arguments[0];Or.call(this,t,null)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.errorType=e,null!==n&&(this.pt=n.copy())}}function Pr(){this.parentGeometry=null,this.isSelfTouchingRingFormingHoleValid=!1,this.validErr=null;var t=arguments[0];this.parentGeometry=t}function Dr(){this.factory=null,this.deList=new w,this.lowestEdge=null,this.ring=null,this.ringPts=null,this.holes=null,this.shell=null,this._isHole=null,this._isProcessed=!1,this._isIncludedSet=!1,this._isIncluded=!1;var t=arguments[0];this.factory=t}function Ar(){}function Ir(){gr.apply(this),this.factory=null;var t=arguments[0];this.factory=t}function Nr(){if(this.lineStringAdder=new Rr(this),this.graph=null,this.dangles=new w,this.cutEdges=new w,this.invalidRingLines=new w,this.holeList=null,this.shellList=null,this.polyList=null,this.isCheckingRingsValid=!0,this.extractOnlyPolygonal=null,this.geomFactory=null,0===arguments.length)Nr.call(this,!1);else if(1===arguments.length){var t=arguments[0];this.extractOnlyPolygonal=t}}function Rr(){this.p=null;var t=arguments[0];this.p=t}function jr(){this.li=new Xt,this.ptLocator=new ve,this.arg=null,this.nodes=new sn(new Sr),this.im=null,this.isolatedEdges=new w,this.invalidPoint=null;var t=arguments[0];this.arg=t}function zr(){this.rectEnv=null;var t=arguments[0];this.rectEnv=t.getEnvelopeInternal()}function Yr(){this.li=new Xt,this.rectEnv=null,this.diagUp0=null,this.diagUp1=null,this.diagDown0=null,this.diagDown1=null;var t=arguments[0];this.rectEnv=t,this.diagUp0=new f(t.getMinX(),t.getMinY()),this.diagUp1=new f(t.getMaxX(),t.getMaxY()),this.diagDown0=new f(t.getMinX(),t.getMaxY()),this.diagDown1=new f(t.getMaxX(),t.getMinY())}function Fr(){this._isDone=!1}function Br(){this.rectangle=null,this.rectEnv=null;var t=arguments[0];this.rectangle=t,this.rectEnv=t.getEnvelopeInternal()}function $r(){Fr.apply(this),this.rectEnv=null,this._intersects=!1;var t=arguments[0];this.rectEnv=t}function Hr(){Fr.apply(this),this.rectSeq=null,this.rectEnv=null,this._containsPoint=!1;var t=arguments[0];this.rectSeq=t.getExteriorRing().getCoordinateSequence(),this.rectEnv=t.getEnvelopeInternal()}function Ur(){Fr.apply(this),this.rectEnv=null,this.rectIntersector=null,this.hasIntersection=!1,this.p0=new f,this.p1=new f;var t=arguments[0];this.rectEnv=t.getEnvelopeInternal(),this.rectIntersector=new Yr(this.rectEnv)}function Vr(){if(this._relate=null,2===arguments.length){var t=arguments[0],e=arguments[1];$n.call(this,t,e),this._relate=new jr(this.arg)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];$n.call(this,n,i,r),this._relate=new jr(this.arg)}}function Wr(){this.geomFactory=null,this.skipEmpty=!1,this.inputGeoms=null;var t=arguments[0];this.geomFactory=Wr.extractFactory(t),this.inputGeoms=t}function Gr(){this.pointGeom=null,this.otherGeom=null,this.geomFact=null;var t=arguments[0],e=arguments[1];this.pointGeom=t,this.otherGeom=e,this.geomFact=e.getFactory()}function qr(){this.sortIndex=-1,this.comps=null;var t=arguments[0],e=arguments[1];this.sortIndex=t,this.comps=e}function Zr(){this.inputPolys=null,this.geomFactory=null;var t=arguments[0];this.inputPolys=t,null===this.inputPolys&&(this.inputPolys=new w)}function Xr(){if(this.polygons=new w,this.lines=new w,this.points=new w,this.geomFact=null,1===arguments.length){if(M(arguments[0],g)){var t=arguments[0];this.extract(t)}else if(arguments[0]instanceof Y){var e=arguments[0];this.extract(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.geomFact=i,this.extract(n)}}function Jr(){Pt.CoordinateOperation.apply(this),this.targetPM=null,this.removeCollapsed=!0;var t=arguments[0],e=arguments[1];this.targetPM=t,this.removeCollapsed=e}function Kr(){this.targetPM=null,this.removeCollapsed=!0,this.changePrecisionModel=!1,this.isPointwise=!1;var t=arguments[0];this.targetPM=t}function Qr(){this.pts=null,this.usePt=null,this.distanceTolerance=null,this.seg=new te;var t=arguments[0];this.pts=t}function to(){this.inputGeom=null,this.distanceTolerance=null,this.isEnsureValidTopology=!0;var t=arguments[0];this.inputGeom=t}function eo(){le.apply(this),this.isEnsureValidTopology=!0,this.distanceTolerance=null;var t=arguments[0],e=arguments[1];this.isEnsureValidTopology=t,this.distanceTolerance=e}function no(){if(this.parent=null,this.index=null,2===arguments.length){var t=arguments[0],e=arguments[1];no.call(this,t,e,null,-1)}else if(4===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2],o=arguments[3];te.call(this,n,i),this.parent=r,this.index=o}}function io(){if(this.parentLine=null,this.segs=null,this.resultSegs=new w,this.minimumSize=null,1===arguments.length){var t=arguments[0];io.call(this,t,2)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.parentLine=e,this.minimumSize=n,this.init()}}function ro(){this.index=new Si}function oo(){this.querySeg=null,this.items=new w;var t=arguments[0];this.querySeg=t}function ao(){this.li=new Xt,this.inputIndex=new ro,this.outputIndex=new ro,this.line=null,this.linePts=null,this.distanceTolerance=0;var t=arguments[0],e=arguments[1];this.inputIndex=t,this.outputIndex=e}function so(){this.inputIndex=new ro,this.outputIndex=new ro,this.distanceTolerance=0}function lo(){this.inputGeom=null,this.lineSimplifier=new so,this.linestringMap=null;var t=arguments[0];this.inputGeom=t}function uo(){le.apply(this),this.linestringMap=null;var t=arguments[0];this.linestringMap=t}function co(){this.tps=null;var t=arguments[0];this.tps=t}function ho(){this.seg=null,this.segLen=null,this.splitPt=null,this.minimumLen=0;var t=arguments[0];this.seg=t,this.segLen=t.getLength()}function fo(){}function po(){}function mo(){}function go(){if(this.p=null,1===arguments.length){var t=arguments[0];this.p=new f(t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];this.p=new f(e,n)}else if(3===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2];this.p=new f(i,r,o)}}function vo(){this._isOnConstraint=null,this.constraint=null;var t=arguments[0];go.call(this,t)}function yo(){this._rot=null,this.vertex=null,this.next=null,this.data=null}function _o(){this.subdiv=null,this.isUsingTolerance=!1;var t=arguments[0];this.subdiv=t,this.isUsingTolerance=t.getTolerance()>0}function bo(){}function wo(){this.subdiv=null,this.lastEdge=null;var t=arguments[0];this.subdiv=t,this.init()}function xo(){if(this.seg=null,1===arguments.length){if("string"==typeof arguments[0]){var t=arguments[0];u.call(this,t)}else if(arguments[0]instanceof te){var e=arguments[0];u.call(this,"Locate failed to converge (at edge: "+e+"). Possible causes include invalid Subdivision topology or very close sites"),this.seg=new te(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];u.call(this,xo.msgWithSpatial(n,i)),this.seg=new te(i)}}function ko(){}function Co(){this.visitedKey=0,this.quadEdges=new w,this.startingEdge=null,this.tolerance=null,this.edgeCoincidenceTolerance=null,this.frameVertex=new Array(3).fill(null),this.frameEnv=null,this.locator=null,this.seg=new te,this.triEdges=new Array(3).fill(null);var t=arguments[0],e=arguments[1];this.tolerance=e,this.edgeCoincidenceTolerance=e/Co.EDGE_COINCIDENCE_TOL_FACTOR,this.createFrame(t),this.startingEdge=this.initSubdiv(),this.locator=new wo(this)}function Lo(){}function So(){this.triList=new w}function Mo(){this.triList=new w}function To(){this.coordList=new x,this.triCoords=new w}function Eo(){if(this.ls=null,this.data=null,2===arguments.length){var t=arguments[0],e=arguments[1];this.ls=new te(t,e)}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.ls=new te(n,i),this.data=r}else if(6===arguments.length){var o=arguments[0],a=arguments[1],s=arguments[2],l=arguments[3],u=arguments[4],c=arguments[5];Eo.call(this,new f(o,a,s),new f(l,u,c))}else if(7===arguments.length){var d=arguments[0],h=arguments[1],p=arguments[2],m=arguments[3],g=arguments[4],v=arguments[5],y=arguments[6];Eo.call(this,new f(d,h,p),new f(m,g,v),y)}}function Oo(){}function Po(){if(this.p=null,this.data=null,this.left=null,this.right=null,this.count=null,2===arguments.length){var t=arguments[0],e=arguments[1];this.p=new f(t),this.left=null,this.right=null,this.count=1,this.data=e}else if(3===arguments.length){var n=arguments[0],i=arguments[1],r=arguments[2];this.p=new f(n,i),this.left=null,this.right=null,this.count=1,this.data=r}}function Do(){if(this.root=null,this.numberOfNodes=null,this.tolerance=null,0===arguments.length)Do.call(this,0);else if(1===arguments.length){var t=arguments[0];this.tolerance=t}}function Ao(){this.tolerance=null,this.matchNode=null,this.matchDist=0,this.p=null;var t=arguments[0],e=arguments[1];this.p=t,this.tolerance=e}function Io(){this.initialVertices=null,this.segVertices=null,this.segments=new w,this.subdiv=null,this.incDel=null,this.convexHull=null,this.splitFinder=new po,this.kdt=null,this.vertexFactory=null,this.computeAreaEnv=null,this.splitPt=null,this.tolerance=null;var t=arguments[0],e=arguments[1];this.initialVertices=new w(t),this.tolerance=e,this.kdt=new Do(e)}function No(){this.siteCoords=null,this.tolerance=0,this.subdiv=null}function Ro(){this.siteCoords=null,this.constraintLines=null,this.tolerance=0,this.subdiv=null,this.constraintVertexMap=new rt}function jo(){this.siteCoords=null,this.tolerance=0,this.subdiv=null,this.clipEnv=null,this.diagramEnv=null}function zo(){}"fill"in Array.prototype||Object.defineProperty(Array.prototype,"fill",{configurable:!0,value:function(t){if(null==this)throw new TypeError(this+" is not an object");var e=Object(this),n=Math.max(Math.min(e.length,9007199254740991),0)||0,i=1 in arguments&&parseInt(Number(arguments[1]),10)||0;i=i<0?Math.max(n+i,0):Math.min(i,n);var r=2 in arguments&&void 0!==arguments[2]?parseInt(Number(arguments[2]),10)||0:n;for(r=r<0?Math.max(n+arguments[2],0):Math.min(r,n);ie.x?1:this.ye.y?1:0},clone:function(){try{var t=null;return null}catch(t){if(t instanceof CloneNotSupportedException)return h.shouldNeverReachHere("this shouldn't happen because this class is Cloneable"),null;throw t}},copy:function(){return new f(this)},toString:function(){return"("+this.x+", "+this.y+", "+this.z+")"},distance3D:function(t){var e=this.x-t.x,n=this.y-t.y,i=this.z-t.z;return Math.sqrt(e*e+n*n+i*i)},distance:function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},hashCode:function(){var t=17;return 37*(t=37*t+f.hashCode(this.x))+f.hashCode(this.y)},setCoordinate:function(t){this.x=t.x,this.y=t.y,this.z=t.z},interfaces_:function(){return[o,a,l]},getClass:function(){return f}}),f.hashCode=function(){if(1===arguments.length){var t=arguments[0],e=r.doubleToLongBits(t);return Math.trunc(e^e>>>32)}},e(p.prototype,{compare:function(t,e){var n=t,i=e,r=p.compare(n.x,i.x);if(0!==r)return r;var o=p.compare(n.y,i.y);return 0!==o?o:this.dimensionsToTest<=2?0:p.compare(n.z,i.z)},interfaces_:function(){return[s]},getClass:function(){return p}}),p.compare=function(t,e){return te?1:r.isNaN(t)?r.isNaN(e)?0:-1:r.isNaN(e)?1:0},f.DimensionalComparator=p,f.serialVersionUID=0x5cbf2c235c7e5800,f.NULL_ORDINATE=r.NaN,f.X=0,f.Y=1,f.Z=2,m.prototype.hasNext=function(){},m.prototype.next=function(){},m.prototype.remove=function(){},g.prototype.add=function(){},g.prototype.addAll=function(){},g.prototype.isEmpty=function(){},g.prototype.iterator=function(){},g.prototype.size=function(){},g.prototype.toArray=function(){},g.prototype.remove=function(){},v.prototype=new Error,v.prototype.name="IndexOutOfBoundsException",y.prototype=Object.create(g.prototype),y.prototype.constructor=y,y.prototype.get=function(){},y.prototype.set=function(){},y.prototype.isEmpty=function(){},_.prototype=new Error,_.prototype.name="NoSuchElementException",b.prototype=new Error,b.prototype.name="OperationNotSupported",w.prototype=Object.create(y.prototype),w.prototype.constructor=w,w.prototype.ensureCapacity=function(){},w.prototype.interfaces_=function(){return[y,g]},w.prototype.add=function(t){return 1===arguments.length?this.array_.push(t):this.array_.splice(arguments[0],arguments[1]),!0},w.prototype.clear=function(){this.array_=[]},w.prototype.addAll=function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next());return!0},w.prototype.set=function(t,e){var n=this.array_[t];return this.array_[t]=e,n},w.prototype.iterator=function(){return new Yo(this)},w.prototype.get=function(t){if(t<0||t>=this.size())throw new v;return this.array_[t]},w.prototype.isEmpty=function(){return 0===this.array_.length},w.prototype.size=function(){return this.array_.length},w.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e=1){var o=this.get(this.size()-1);if(o.equals2D(i))return null}w.prototype.add.call(this,i)}else if(arguments[0]instanceof Object&&"boolean"==typeof arguments[1]){var a=arguments[0],s=arguments[1];return this.add(a,s),!0}}else if(3===arguments.length){if("boolean"==typeof arguments[2]&&arguments[0]instanceof Array&&"boolean"==typeof arguments[1]){var l=arguments[0],u=arguments[1],c=arguments[2];if(c)for(var d=0;d=0;d--)this.add(l[d],u);return!0}if("boolean"==typeof arguments[2]&&Number.isInteger(arguments[0])&&arguments[1]instanceof f){var h=arguments[0],p=arguments[1],m=arguments[2];if(!m){var g=this.size();if(g>0){if(h>0){var v=this.get(h-1);if(v.equals2D(p))return null}if(hk&&(C=-1),d=x;d!==k;d+=C)this.add(_[d],b);return!0}},closeRing:function(){this.size()>0&&this.add(new f(this.get(0)),!1)},interfaces_:function(){return[]},getClass:function(){return x}}),x.coordArrayType=new Array(0).fill(null),e(k.prototype,{getArea:function(){return this.getWidth()*this.getHeight()},equals:function(t){if(!(t instanceof k))return!1;var e=t;return this.isNull()?e.isNull():this.maxx===e.getMaxX()&&this.maxy===e.getMaxY()&&this.minx===e.getMinX()&&this.miny===e.getMinY()},intersection:function(t){if(this.isNull()||t.isNull()||!this.intersects(t))return new k;var e=this.minx>t.minx?this.minx:t.minx,n=this.miny>t.miny?this.miny:t.miny;return new k(e,this.maxx=this.minx&&e.getMaxX()<=this.maxx&&e.getMinY()>=this.miny&&e.getMaxY()<=this.maxy}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return!this.isNull()&&n>=this.minx&&n<=this.maxx&&i>=this.miny&&i<=this.maxy}},intersects:function(){if(1===arguments.length){if(arguments[0]instanceof k){var t=arguments[0];return!this.isNull()&&!t.isNull()&&!(t.minx>this.maxx||t.maxxthis.maxy||t.maxythis.maxx||nthis.maxy||ithis.maxx&&(this.maxx=e.maxx),e.minythis.maxy&&(this.maxy=e.maxy))}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.isNull()?(this.minx=n,this.maxx=n,this.miny=i,this.maxy=i):(nthis.maxx&&(this.maxx=n),ithis.maxy&&(this.maxy=i))}},minExtent:function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return te.minx?1:this.minye.miny?1:this.maxxe.maxx?1:this.maxye.maxy?1:0},translate:function(t,e){return this.isNull()?null:void this.init(this.getMinX()+t,this.getMaxX()+t,this.getMinY()+e,this.getMaxY()+e)},toString:function(){return"Env["+this.minx+" : "+this.maxx+", "+this.miny+" : "+this.maxy+"]"},setToNull:function(){this.minx=0,this.maxx=-1,this.miny=0,this.maxy=-1},getHeight:function(){return this.isNull()?0:this.maxy-this.miny},maxExtent:function(){if(this.isNull())return 0;var t=this.getWidth(),e=this.getHeight();return t>e?t:e},expandBy:function(){if(1===arguments.length){var t=arguments[0];this.expandBy(t,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1];if(this.isNull())return null;this.minx-=e,this.maxx+=e,this.miny-=n,this.maxy+=n,(this.minx>this.maxx||this.miny>this.maxy)&&this.setToNull()}},contains:function(){if(1===arguments.length){if(arguments[0]instanceof k){var t=arguments[0];return this.covers(t)}if(arguments[0]instanceof f){var e=arguments[0];return this.covers(e)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return this.covers(n,i)}},centre:function(){return this.isNull()?null:new f((this.getMinX()+this.getMaxX())/2,(this.getMinY()+this.getMaxY())/2)},init:function(){if(0===arguments.length)this.setToNull();else if(1===arguments.length){if(arguments[0]instanceof f){var t=arguments[0];this.init(t.x,t.x,t.y,t.y)}else if(arguments[0]instanceof k){var e=arguments[0];this.minx=e.minx,this.maxx=e.maxx,this.miny=e.miny,this.maxy=e.maxy}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];this.init(n.x,i.x,n.y,i.y)}else if(4===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];rt.maxx&&(e=this.minx-t.maxx);var n=0;return this.maxyt.maxy&&(n=this.miny-t.maxy),0===e?n:0===n?e:Math.sqrt(e*e+n*n)},hashCode:function(){var t=17;return 37*(t=37*(t=37*(t=37*t+f.hashCode(this.minx))+f.hashCode(this.maxx))+f.hashCode(this.miny))+f.hashCode(this.maxy)},interfaces_:function(){return[o,l]},getClass:function(){return k}}),k.intersects=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return n.x>=(t.xe.x?t.x:e.x)&&n.y>=(t.ye.y?t.y:e.y)}if(4===arguments.length){var i=arguments[0],r=arguments[1],o=arguments[2],a=arguments[3],s=Math.min(o.x,a.x),l=Math.max(o.x,a.x),u=Math.min(i.x,r.x),c=Math.max(i.x,r.x);return!(u>l||cl||cn?n:t}if(Number.isInteger(arguments[2])&&Number.isInteger(arguments[0])&&Number.isInteger(arguments[1])){var i=arguments[0],r=arguments[1],o=arguments[2];return io?o:i}},T.wrap=function(t,e){return t<0?e- -t%e:t%e},T.max=function(){if(3===arguments.length){var t=arguments[0],e=arguments[1],n=arguments[2];return e>(i=t)&&(i=e),n>i&&(i=n),i}if(4===arguments.length){var i,r=arguments[0],o=arguments[1],a=arguments[2],s=arguments[3];return o>(i=r)&&(i=o),a>i&&(i=a),s>i&&(i=s),i}},T.average=function(t,e){return(t+e)/2},T.LOG_10=Math.log(10),E.prototype.append=function(t){this.str+=t},E.prototype.setCharAt=function(t,e){this.str=this.str.substr(0,t)+e+this.str.substr(t+1)},E.prototype.toString=function(t){return this.str},O.prototype.intValue=function(){return this.value},O.prototype.compareTo=function(t){return this.valuet?1:0},O.isNaN=function(t){return Number.isNaN(t)},P.isWhitespace=function(t){return t<=32&&t>=0||127==t},P.toUpperCase=function(t){return t.toUpperCase()},e(D.prototype,{le:function(t){return this.hi9?(c=!0,d="9"):d="0"+u,a.append(d),n=n.subtract(D.valueOf(u)).multiply(D.TEN),c&&n.selfAdd(D.TEN);var h=!0,f=D.magnitude(n.hi);if(f<0&&Math.abs(f)>=s-l&&(h=!1),!h)break}return e[0]=i,a.toString()},sqr:function(){return this.multiply(this)},doubleValue:function(){return this.hi+this.lo},subtract:function(){if(arguments[0]instanceof D){var t=arguments[0];return this.add(t.negate())}if("number"==typeof arguments[0]){var e=arguments[0];return this.add(-e)}},equals:function(){if(1===arguments.length){var t=arguments[0];return this.hi===t.hi&&this.lo===t.lo}},isZero:function(){return 0===this.hi&&0===this.lo},selfSubtract:function(){if(arguments[0]instanceof D){var t=arguments[0];return this.isNaN()?this:this.selfAdd(-t.hi,-t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.isNaN()?this:this.selfAdd(-e,0)}},getSpecialNumberString:function(){return this.isZero()?"0.0":this.isNaN()?"NaN ":null},min:function(t){return this.le(t)?this:t},selfDivide:function(){if(1===arguments.length){if(arguments[0]instanceof D){var t=arguments[0];return this.selfDivide(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfDivide(e,0)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=null,o=null,a=null,s=null,l=null,u=null,c=null,d=null;return l=this.hi/n,d=(r=(u=D.SPLIT*l)-(r=u-l))*(a=(d=D.SPLIT*n)-(a=d-n))-(c=l*n)+r*(s=n-a)+(o=l-r)*a+o*s,d=l+(u=(this.hi-c-d+this.lo-l*i)/n),this.hi=d,this.lo=l-d+u,this}},dump:function(){return"DD<"+this.hi+", "+this.lo+">"},divide:function(){if(arguments[0]instanceof D){var t=arguments[0],e=null,n=null,i=null,o=null,a=null,s=null,l=null,u=null;n=(a=this.hi/t.hi)-(e=(s=D.SPLIT*a)-(e=s-a)),u=e*(i=(u=D.SPLIT*t.hi)-(i=u-t.hi))-(l=a*t.hi)+e*(o=t.hi-i)+n*i+n*o;var c=u=a+(s=(this.hi-l-u+this.lo-a*t.lo)/t.hi),d=a-u+s;return new D(c,d)}if("number"==typeof arguments[0]){var h=arguments[0];return r.isNaN(h)?D.createNaN():D.copy(this).selfDivide(h,0)}},ge:function(t){return this.hi>t.hi||this.hi===t.hi&&this.lo>=t.lo},pow:function(t){if(0===t)return D.valueOf(1);var e=new D(this),n=D.valueOf(1),i=Math.abs(t);if(i>1)for(;i>0;)i%2==1&&n.selfMultiply(e),(i/=2)>0&&(e=e.sqr());else n=e;return t<0?n.reciprocal():n},ceil:function(){if(this.isNaN())return D.NaN;var t=Math.ceil(this.hi),e=0;return t===this.hi&&(e=Math.ceil(this.lo)),new D(t,e)},compareTo:function(t){var e=t;return this.hie.hi?1:this.loe.lo?1:0},rint:function(){return this.isNaN()?this:this.add(.5).floor()},setValue:function(){if(arguments[0]instanceof D){var t=arguments[0];return this.init(t),this}if("number"==typeof arguments[0]){var e=arguments[0];return this.init(e),this}},max:function(t){return this.ge(t)?this:t},sqrt:function(){if(this.isZero())return D.valueOf(0);if(this.isNegative())return D.NaN;var t=1/Math.sqrt(this.hi),e=this.hi*t,n=D.valueOf(e),i=this.subtract(n.sqr()).hi*(.5*t);return n.add(i)},selfAdd:function(){if(1===arguments.length){if(arguments[0]instanceof D){var t=arguments[0];return this.selfAdd(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0],n=null,i=null,r=null,o=null,a=null,s=null;return o=(r=this.hi+e)-(a=r-this.hi),i=(s=(o=e-a+(this.hi-o))+this.lo)+(r-(n=r+s)),this.hi=n+i,this.lo=i+(n-this.hi),this}}else if(2===arguments.length){var l=arguments[0],u=arguments[1],c=(n=null,i=null,null),d=null;r=null,o=null,a=null,s=null,r=this.hi+l,c=this.lo+u,o=r-(a=r-this.hi),d=c-(s=c-this.lo);var h=(n=r+(a=(o=l-a+(this.hi-o))+c))+(a=(d=u-s+(this.lo-d))+(i=a+(r-n))),f=a+(n-h);return this.hi=h,this.lo=f,this}},selfMultiply:function(){if(1===arguments.length){if(arguments[0]instanceof D){var t=arguments[0];return this.selfMultiply(t.hi,t.lo)}if("number"==typeof arguments[0]){var e=arguments[0];return this.selfMultiply(e,0)}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=null,o=null,a=null,s=null,l=null,u=null;r=(l=D.SPLIT*this.hi)-this.hi,u=D.SPLIT*n,r=l-r,o=this.hi-r,a=u-n;var c=(l=this.hi*n)+(u=r*(a=u-a)-l+r*(s=n-a)+o*a+o*s+(this.hi*i+this.lo*n)),d=u+(r=l-c);return this.hi=c,this.lo=d,this}},selfSqr:function(){return this.selfMultiply(this)},floor:function(){if(this.isNaN())return D.NaN;var t=Math.floor(this.hi),e=0;return t===this.hi&&(e=Math.floor(this.lo)),new D(t,e)},negate:function(){return this.isNaN()?this:new D(-this.hi,-this.lo)},clone:function(){try{return null}catch(t){if(t instanceof CloneNotSupportedException)return null;throw t}},multiply:function(){if(arguments[0]instanceof D){var t=arguments[0];return t.isNaN()?D.createNaN():D.copy(this).selfMultiply(t)}if("number"==typeof arguments[0]){var e=arguments[0];return r.isNaN(e)?D.createNaN():D.copy(this).selfMultiply(e,0)}},isNaN:function(){return r.isNaN(this.hi)},intValue:function(){return Math.trunc(this.hi)},toString:function(){var t=D.magnitude(this.hi);return t>=-3&&t<=20?this.toStandardNotation():this.toSciNotation()},toStandardNotation:function(){var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!0,e),i=e[0]+1,r=n;if("."===n.charAt(0))r="0"+n;else if(i<0)r="0."+D.stringOfChar("0",-i)+n;else if(-1===n.indexOf(".")){var o=i-n.length;r=n+D.stringOfChar("0",o)+".0"}return this.isNegative()?"-"+r:r},reciprocal:function(){var t,e,n,i,r=null,o=null,a=null,s=null;t=(n=1/this.hi)-(r=(a=D.SPLIT*n)-(r=a-n)),o=(s=D.SPLIT*this.hi)-this.hi;var l=n+(a=(1-(i=n*this.hi)-(s=r*(o=s-o)-i+r*(e=this.hi-o)+t*o+t*e)-n*this.lo)/this.hi);return new D(l,n-l+a)},toSciNotation:function(){if(this.isZero())return D.SCI_NOT_ZERO;var t=this.getSpecialNumberString();if(null!==t)return t;var e=new Array(1).fill(null),n=this.extractSignificantDigits(!1,e),i=D.SCI_NOT_EXPONENT_CHAR+e[0];if("0"===n.charAt(0))throw new IllegalStateException("Found leading zero: "+n);var r="";n.length>1&&(r=n.substring(1));var o=n.charAt(0)+"."+r;return this.isNegative()?"-"+o+i:o+i},abs:function(){return this.isNaN()?D.NaN:this.isNegative()?this.negate():new D(this)},isPositive:function(){return this.hi>0||0===this.hi&&this.lo>0},lt:function(t){return this.hit.hi||this.hi===t.hi&&this.lo>t.lo},isNegative:function(){return this.hi<0||0===this.hi&&this.lo<0},trunc:function(){return this.isNaN()?D.NaN:this.isPositive()?this.floor():this.ceil()},signum:function(){return this.hi>0?1:this.hi<0?-1:this.lo>0?1:this.lo<0?-1:0},interfaces_:function(){return[l,o,a]},getClass:function(){return D}}),D.sqr=function(t){return D.valueOf(t).selfMultiply(t)},D.valueOf=function(){if("string"==typeof arguments[0]){var t=arguments[0];return D.parse(t)}if("number"==typeof arguments[0]){var e=arguments[0];return new D(e)}},D.sqrt=function(t){return D.valueOf(t).sqrt()},D.parse=function(t){for(var e=0,n=t.length;P.isWhitespace(t.charAt(e));)e++;var i=!1;if(e=n);){var u=t.charAt(e);if(e++,P.isDigit(u)){var c=u-"0";o.selfMultiply(D.TEN),o.selfAdd(c),a++}else{if("."!==u){if("e"===u||"E"===u){var d=t.substring(e);try{l=O.parseInt(d)}catch(e){throw e instanceof NumberFormatException?new NumberFormatException("Invalid exponent "+d+" in string "+t):e}break}throw new NumberFormatException("Unexpected character '"+u+"' at position "+e+" in string "+t)}s=a}}var h=o,f=a-s-l;if(0===f)h=o;else if(f>0){var p=D.TEN.pow(f);h=o.divide(p)}else f<0&&(p=D.TEN.pow(-f),h=o.multiply(p));return i?h.negate():h},D.createNaN=function(){return new D(r.NaN,r.NaN)},D.copy=function(t){return new D(t)},D.magnitude=function(t){var e=Math.abs(t),n=Math.log(e)/Math.log(10),i=Math.trunc(Math.floor(n));return 10*Math.pow(10,i)<=e&&(i+=1),i},D.stringOfChar=function(t,e){for(var n=new E,i=0;i0){if(o<=0)return A.signum(a);i=r+o}else{if(!(r<0))return A.signum(a);if(o>=0)return A.signum(a);i=-r-o}var s=A.DP_SAFE_EPSILON*i;return a>=s||-a>=s?A.signum(a):2},A.signum=function(t){return t>0?1:t<0?-1:0},A.DP_SAFE_EPSILON=1e-15,e(I.prototype,{setOrdinate:function(t,e,n){},size:function(){},getOrdinate:function(t,e){},getCoordinate:function(){},getCoordinateCopy:function(t){},getDimension:function(){},getX:function(t){},clone:function(){},expandEnvelope:function(t){},copy:function(){},getY:function(t){},toCoordinateArray:function(){},interfaces_:function(){return[a]},getClass:function(){return I}}),I.X=0,I.Y=1,I.Z=2,I.M=3,N.arraycopy=function(t,e,n,i,r){for(var o=0,a=e;a0},interfaces_:function(){return[B]},getClass:function(){return H}}),e(U.prototype,{isInBoundary:function(t){return t>1},interfaces_:function(){return[B]},getClass:function(){return U}}),e(V.prototype,{isInBoundary:function(t){return 1===t},interfaces_:function(){return[B]},getClass:function(){return V}}),B.Mod2BoundaryNodeRule=$,B.EndPointBoundaryNodeRule=H,B.MultiValentEndPointBoundaryNodeRule=U,B.MonoValentEndPointBoundaryNodeRule=V,B.MOD2_BOUNDARY_RULE=new $,B.ENDPOINT_BOUNDARY_RULE=new H,B.MULTIVALENT_ENDPOINT_BOUNDARY_RULE=new U,B.MONOVALENT_ENDPOINT_BOUNDARY_RULE=new V,B.OGC_SFS_BOUNDARY_RULE=B.MOD2_BOUNDARY_RULE,e(W.prototype,{interfaces_:function(){return[]},getClass:function(){return W}}),W.isRing=function(t){return!(t.length<4||!t[0].equals2D(t[t.length-1]))},W.ptNotInList=function(t,e){for(var n=0;n=t?e:[]},W.indexOf=function(t,e){for(var n=0;n0)&&(e=t[n]);return e},W.extract=function(t,e,n){e=T.clamp(e,0,t.length);var i=(n=T.clamp(n,-1,t.length))-e+1;n<0&&(i=0),e>=t.length&&(i=0),ni.length)return 1;if(0===n.length)return 0;var r=W.compare(n,i);return W.isEqualReversed(n,i)?0:r},OLDcompare:function(t,e){var n=t,i=e;if(n.lengthi.length)return 1;if(0===n.length)return 0;for(var r=W.increasingDirection(n),o=W.increasingDirection(i),a=r>0?0:n.length-1,s=o>0?0:n.length-1,l=0;l0))return e.value;e=e.right}}return null},rt.prototype.put=function(t,e){if(null===this.root_)return this.root_={key:t,value:e,left:null,right:null,parent:null,color:Bo,getValue:function(){return this.value},getKey:function(){return this.key}},this.size_=1,null;var n,i,r=this.root_;do{if(n=r,(i=t.compareTo(r.key))<0)r=r.left;else{if(!(i>0)){var o=r.value;return r.value=e,o}r=r.right}}while(null!==r);var a={key:t,left:null,right:null,value:e,parent:n,color:Bo,getValue:function(){return this.value},getKey:function(){return this.key}};return i<0?n.left=a:n.right=a,this.fixAfterInsertion(a),this.size_++,null},rt.prototype.fixAfterInsertion=function(t){for(t.color=1;null!=t&&t!=this.root_&&1==t.parent.color;){var e;tt(t)==nt(tt(tt(t)))?1==Q(e=it(tt(tt(t))))?(et(tt(t),Bo),et(e,Bo),et(tt(tt(t)),1),t=tt(tt(t))):(t==it(tt(t))&&(t=tt(t),this.rotateLeft(t)),et(tt(t),Bo),et(tt(tt(t)),1),this.rotateRight(tt(tt(t)))):1==Q(e=nt(tt(tt(t))))?(et(tt(t),Bo),et(e,Bo),et(tt(tt(t)),1),t=tt(tt(t))):(t==nt(tt(t))&&(t=tt(t),this.rotateRight(t)),et(tt(t),Bo),et(tt(tt(t)),1),this.rotateLeft(tt(tt(t))))}this.root_.color=Bo},rt.prototype.values=function(){var t=new w,e=this.getFirstEntry();if(null!==e)for(t.add(e.value);null!==(e=rt.successor(e));)t.add(e.value);return t},rt.prototype.entrySet=function(){var t=new K,e=this.getFirstEntry();if(null!==e)for(t.add(e);null!==(e=rt.successor(e));)t.add(e);return t},rt.prototype.rotateLeft=function(t){if(null!=t){var e=t.right;t.right=e.left,null!=e.left&&(e.left.parent=t),e.parent=t.parent,null==t.parent?this.root_=e:t.parent.left==t?t.parent.left=e:t.parent.right=e,e.left=t,t.parent=e}},rt.prototype.rotateRight=function(t){if(null!=t){var e=t.left;t.left=e.right,null!=e.right&&(e.right.parent=t),e.parent=t.parent,null==t.parent?this.root_=e:t.parent.right==t?t.parent.right=e:t.parent.left=e,e.right=t,t.parent=e}},rt.prototype.getFirstEntry=function(){var t=this.root_;if(null!=t)for(;null!=t.left;)t=t.left;return t},rt.successor=function(t){if(null===t)return null;if(null!==t.right){for(var e=t.right;null!==e.left;)e=e.left;return e}e=t.parent;for(var n=t;null!==e&&n===e.right;)n=e,e=e.parent;return e},rt.prototype.size=function(){return this.size_},e(ot.prototype,{interfaces_:function(){return[]},getClass:function(){return ot}}),at.prototype=new J,st.prototype=new at,st.prototype.contains=function(t){for(var e=0,n=this.array_.length;e=0;){var a=r.substring(0,o);i.add(a),o=(r=r.substring(o+n)).indexOf(e)}r.length>0&&i.add(r);for(var s=new Array(i.size()).fill(null),l=0;l0)for(var o=r;o0&&i.append(" ");for(var o=0;o0&&i.append(","),i.append(wt.toString(t.getOrdinate(r,o)))}return i.append(")"),i.toString()}},xt.ensureValidRing=function(t,e){var n=e.size();return 0===n?e:n<=3?xt.createClosedRing(t,e,4):e.getOrdinate(0,I.X)===e.getOrdinate(n-1,I.X)&&e.getOrdinate(0,I.Y)===e.getOrdinate(n-1,I.Y)?e:xt.createClosedRing(t,e,n+1)},xt.createClosedRing=function(t,e,n){var i=t.create(n,e.getDimension()),r=e.size();xt.copy(e,0,i,0,r);for(var o=r;o0&&xt.reverse(this.points),null}},getCoordinate:function(){return this.isEmpty()?null:this.points.getCoordinate(0)},getBoundaryDimension:function(){return this.isClosed()?ut.FALSE:0},isClosed:function(){return!this.isEmpty()&&this.getCoordinateN(0).equals2D(this.getCoordinateN(this.getNumPoints()-1))},getEndPoint:function(){return this.isEmpty()?null:this.getPointN(this.getNumPoints()-1)},getDimension:function(){return 1},getLength:function(){return Qt.computeLength(this.points)},getNumPoints:function(){return this.points.size()},reverse:function(){var t=this.points.copy();return xt.reverse(t),this.getFactory().createLineString(t)},compareToSameClass:function(){if(1===arguments.length){for(var t=arguments[0],e=t,n=0,i=0;n= 2)");this.points=t},isCoordinate:function(t){for(var e=0;e=1&&this.getCoordinateSequence().size()= 4)")},getGeometryType:function(){return"LinearRing"},copy:function(){return new Et(this.points.copy(),this.factory)},interfaces_:function(){return[]},getClass:function(){return Et}}),Et.MINIMUM_VALID_SIZE=4,Et.serialVersionUID=-0x3b229e262367a600,c(Ot,ht),e(Ot.prototype,{getSortIndex:function(){return Y.SORTINDEX_MULTIPOLYGON},equalsExact:function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];return!!this.isEquivalentClass(t)&&ht.prototype.equalsExact.call(this,t,e)}return ht.prototype.equalsExact.apply(this,arguments)},getBoundaryDimension:function(){return 1},getDimension:function(){return 2},reverse:function(){for(var t=this.geometries.length,e=new Array(t).fill(null),n=0;n0?e.createPoint(n[0]):e.createPoint():t},interfaces_:function(){return[Dt]},getClass:function(){return It}}),e(Nt.prototype,{edit:function(t,e){return t instanceof Et?e.createLinearRing(this.edit(t.getCoordinateSequence(),t)):t instanceof kt?e.createLineString(this.edit(t.getCoordinateSequence(),t)):t instanceof Lt?e.createPoint(this.edit(t.getCoordinateSequence(),t)):t},interfaces_:function(){return[Dt]},getClass:function(){return Nt}}),Pt.NoOpGeometryOperation=At,Pt.CoordinateOperation=It,Pt.CoordinateSequenceOperation=Nt,e(Rt.prototype,{setOrdinate:function(t,e,n){switch(e){case I.X:this.coordinates[t].x=n;break;case I.Y:this.coordinates[t].y=n;break;case I.Z:this.coordinates[t].z=n;break;default:throw new i("invalid ordinateIndex")}},size:function(){return this.coordinates.length},getOrdinate:function(t,e){switch(e){case I.X:return this.coordinates[t].x;case I.Y:return this.coordinates[t].y;case I.Z:return this.coordinates[t].z}return r.NaN},getCoordinate:function(){if(1===arguments.length){var t=arguments[0];return this.coordinates[t]}if(2===arguments.length){var e=arguments[0],n=arguments[1];n.x=this.coordinates[e].x,n.y=this.coordinates[e].y,n.z=this.coordinates[e].z}},getCoordinateCopy:function(t){return new f(this.coordinates[t])},getDimension:function(){return this.dimension},getX:function(t){return this.coordinates[t].x},clone:function(){for(var t=new Array(this.size()).fill(null),e=0;e0){var t=new E(17*this.coordinates.length);t.append("("),t.append(this.coordinates[0]);for(var e=1;e3&&(i=3),i<2?new Rt(n):new Rt(n,i)}},interfaces_:function(){return[j,l]},getClass:function(){return jt}}),jt.instance=function(){return jt.instanceObject},jt.serialVersionUID=-0x38e49fa6cf6f2e00,jt.instanceObject=new jt;var Ho,Uo=Object.defineProperty,Vo=function(t,e){function n(t){return this&&this.constructor===n?(this._keys=[],this._values=[],this._itp=[],this.objectOnly=e,void(t&&Yt.call(this,t))):new n(t)}return e||Uo(t,"size",{get:$t}),t.constructor=n,n.prototype=t,n}({delete:function(t){return this.has(t)&&(this._keys.splice(Ho,1),this._values.splice(Ho,1),this._itp.forEach((function(t){Ho-1},has:function(t){return Ft.call(this,this._keys,t)},get:function(t){return this.has(t)?this._values[Ho]:void 0},set:function(t,e){return this.has(t)?this._values[Ho]=e:this._values[this._keys.push(t)-1]=e,this},keys:function(){return Bt(this._itp,this._keys)},values:function(){return Bt(this._itp,this._values)},entries:function(){return Bt(this._itp,this._keys,this._values)},forEach:function(t,e){for(var n=this.entries();;){var i=n.next();if(i.done)break;t.call(e,i.value[1],i.value[0],this)}},clear:function(){(this._keys||0).length=this._values.length=0}}),Wo="undefined"!=typeof Map&&Map.prototype.values?Map:Vo;Ht.prototype=new Z,Ht.prototype.get=function(t){return this.map_.get(t)||null},Ht.prototype.put=function(t,e){return this.map_.set(t,e),e},Ht.prototype.values=function(){for(var t=new w,e=this.map_.values(),n=e.next();!n.done;)t.add(n.value),n=e.next();return t},Ht.prototype.entrySet=function(){var t=new K;return this.map_.entries().forEach((function(e){return t.add(e)})),t},Ht.prototype.size=function(){return this.map_.size()},e(Ut.prototype,{equals:function(t){if(!(t instanceof Ut))return!1;var e=t;return this.modelType===e.modelType&&this.scale===e.scale},compareTo:function(t){var e=t,n=this.getMaximumSignificantDigits(),i=e.getMaximumSignificantDigits();return new O(n).compareTo(new O(i))},getScale:function(){return this.scale},isFloating:function(){return this.modelType===Ut.FLOATING||this.modelType===Ut.FLOATING_SINGLE},getType:function(){return this.modelType},toString:function(){var t="UNKNOWN";return this.modelType===Ut.FLOATING?t="Floating":this.modelType===Ut.FLOATING_SINGLE?t="Floating-Single":this.modelType===Ut.FIXED&&(t="Fixed (Scale="+this.getScale()+")"),t},makePrecise:function(){if("number"==typeof arguments[0]){var t=arguments[0];return r.isNaN(t)||this.modelType===Ut.FLOATING_SINGLE?t:this.modelType===Ut.FIXED?Math.round(t*this.scale)/this.scale:t}if(arguments[0]instanceof f){var e=arguments[0];if(this.modelType===Ut.FLOATING)return null;e.x=this.makePrecise(e.x),e.y=this.makePrecise(e.y)}},getMaximumSignificantDigits:function(){var t=16;return this.modelType===Ut.FLOATING?t=16:this.modelType===Ut.FLOATING_SINGLE?t=6:this.modelType===Ut.FIXED&&(t=1+Math.trunc(Math.ceil(Math.log(this.getScale())/Math.log(10)))),t},setScale:function(t){this.scale=Math.abs(t)},interfaces_:function(){return[l,o]},getClass:function(){return Ut}}),Ut.mostPrecise=function(t,e){return t.compareTo(e)>=0?t:e},e(Vt.prototype,{readResolve:function(){return Vt.nameToTypeMap.get(this.name)},toString:function(){return this.name},interfaces_:function(){return[l]},getClass:function(){return Vt}}),Vt.serialVersionUID=-552860263173159e4,Vt.nameToTypeMap=new Ht,Ut.Type=Vt,Ut.serialVersionUID=0x6bee6404e9a25c00,Ut.FIXED=new Vt("FIXED"),Ut.FLOATING=new Vt("FLOATING"),Ut.FLOATING_SINGLE=new Vt("FLOATING SINGLE"),Ut.maximumPreciseValue=9007199254740992,e(Wt.prototype,{toGeometry:function(t){return t.isNull()?this.createPoint(null):t.getMinX()===t.getMaxX()&&t.getMinY()===t.getMaxY()?this.createPoint(new f(t.getMinX(),t.getMinY())):t.getMinX()===t.getMaxX()||t.getMinY()===t.getMaxY()?this.createLineString([new f(t.getMinX(),t.getMinY()),new f(t.getMaxX(),t.getMaxY())]):this.createPolygon(this.createLinearRing([new f(t.getMinX(),t.getMinY()),new f(t.getMinX(),t.getMaxY()),new f(t.getMaxX(),t.getMaxY()),new f(t.getMaxX(),t.getMinY()),new f(t.getMinX(),t.getMinY())]),null)},createLineString:function(){if(0===arguments.length)return this.createLineString(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLineString(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(M(arguments[0],I)){var e=arguments[0];return new kt(e,this)}}},createMultiLineString:function(){if(0===arguments.length)return new ft(null,this);if(1===arguments.length){var t=arguments[0];return new ft(t,this)}},buildGeometry:function(t){for(var e=null,n=!1,i=!1,r=t.iterator();r.hasNext();){var o=r.next(),a=o.getClass();null===e&&(e=a),a!==e&&(n=!0),o.isGeometryCollectionOrDerived()&&(i=!0)}if(null===e)return this.createGeometryCollection();if(n||i)return this.createGeometryCollection(Wt.toGeometryArray(t));var s=t.iterator().next();if(t.size()>1){if(s instanceof Mt)return this.createMultiPolygon(Wt.toPolygonArray(t));if(s instanceof kt)return this.createMultiLineString(Wt.toLineStringArray(t));if(s instanceof Lt)return this.createMultiPoint(Wt.toPointArray(t));h.shouldNeverReachHere("Unhandled class: "+s.getClass().getName())}return s},createMultiPointFromCoords:function(t){return this.createMultiPoint(null!==t?this.getCoordinateSequenceFactory().create(t):null)},createPoint:function(){if(0===arguments.length)return this.createPoint(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof f){var t=arguments[0];return this.createPoint(null!==t?this.getCoordinateSequenceFactory().create([t]):null)}if(M(arguments[0],I)){var e=arguments[0];return new Lt(e,this)}}},getCoordinateSequenceFactory:function(){return this.coordinateSequenceFactory},createPolygon:function(){if(0===arguments.length)return new Mt(null,null,this);if(1===arguments.length){if(M(arguments[0],I)){var t=arguments[0];return this.createPolygon(this.createLinearRing(t))}if(arguments[0]instanceof Array){var e=arguments[0];return this.createPolygon(this.createLinearRing(e))}if(arguments[0]instanceof Et){var n=arguments[0];return this.createPolygon(n,null)}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];return new Mt(i,r,this)}},getSRID:function(){return this.SRID},createGeometryCollection:function(){if(0===arguments.length)return new ht(null,this);if(1===arguments.length){var t=arguments[0];return new ht(t,this)}},createGeometry:function(t){return new Pt(this).edit(t,{edit:function(){if(2===arguments.length){var t=arguments[0];return this.coordinateSequenceFactory.create(t)}}})},getPrecisionModel:function(){return this.precisionModel},createLinearRing:function(){if(0===arguments.length)return this.createLinearRing(this.getCoordinateSequenceFactory().create([]));if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return this.createLinearRing(null!==t?this.getCoordinateSequenceFactory().create(t):null)}if(M(arguments[0],I)){var e=arguments[0];return new Et(e,this)}}},createMultiPolygon:function(){if(0===arguments.length)return new Ot(null,this);if(1===arguments.length){var t=arguments[0];return new Ot(t,this)}},createMultiPoint:function(){if(0===arguments.length)return new Tt(null,this);if(1===arguments.length){if(arguments[0]instanceof Array){var t=arguments[0];return new Tt(t,this)}if(arguments[0]instanceof Array){var e=arguments[0];return this.createMultiPoint(null!==e?this.getCoordinateSequenceFactory().create(e):null)}if(M(arguments[0],I)){var n=arguments[0];if(null===n)return this.createMultiPoint(new Array(0).fill(null));for(var i=new Array(n.size()).fill(null),r=0;rn?(this.intLineIndex[t][0]=0,this.intLineIndex[t][1]=1):(this.intLineIndex[t][0]=1,this.intLineIndex[t][1]=0)}},isProper:function(){return this.hasIntersection()&&this._isProper},setPrecisionModel:function(t){this.precisionModel=t},isInteriorIntersection:function(){if(0===arguments.length)return!!this.isInteriorIntersection(0)||!!this.isInteriorIntersection(1);if(1===arguments.length){for(var t=arguments[0],e=0;er?i:r;else{var a=Math.abs(t.x-e.x),s=Math.abs(t.y-e.y);0!==(o=i>r?a:s)||t.equals(e)||(o=Math.max(a,s))}return h.isTrue(!(0===o&&!t.equals(e)),"Bad distance calculation"),o},Zt.nonRobustComputeEdgeDistance=function(t,e,n){var i=t.x-e.x,r=t.y-e.y,o=Math.sqrt(i*i+r*r);return h.isTrue(!(0===o&&!t.equals(e)),"Invalid distance calculation"),o},Zt.DONT_INTERSECT=0,Zt.DO_INTERSECT=1,Zt.COLLINEAR=2,Zt.NO_INTERSECTION=0,Zt.POINT_INTERSECTION=1,Zt.COLLINEAR_INTERSECTION=2,c(Xt,Zt),e(Xt.prototype,{isInSegmentEnvelopes:function(t){var e=new k(this.inputLines[0][0],this.inputLines[0][1]),n=new k(this.inputLines[1][0],this.inputLines[1][1]);return e.contains(t)&&n.contains(t)},computeIntersection:function(){if(3!==arguments.length)return Zt.prototype.computeIntersection.apply(this,arguments);var t=arguments[0],e=arguments[1],n=arguments[2];return this._isProper=!1,k.intersects(e,n,t)&&0===Qt.orientationIndex(e,n,t)&&0===Qt.orientationIndex(n,e,t)?(this._isProper=!0,(t.equals(e)||t.equals(n))&&(this._isProper=!1),this.result=Zt.POINT_INTERSECTION,null):void(this.result=Zt.NO_INTERSECTION)},normalizeToMinimum:function(t,e,n,i,r){r.x=this.smallestInAbsValue(t.x,e.x,n.x,i.x),r.y=this.smallestInAbsValue(t.y,e.y,n.y,i.y),t.x-=r.x,t.y-=r.y,e.x-=r.x,e.y-=r.y,n.x-=r.x,n.y-=r.y,i.x-=r.x,i.y-=r.y},safeHCoordinateIntersection:function(t,e,n,i){var r=null;try{r=R.intersection(t,e,n,i)}catch(o){if(!(o instanceof L))throw o;r=Xt.nearestEndpoint(t,e,n,i)}return r},intersection:function(t,e,n,i){var r=this.intersectionWithNormalization(t,e,n,i);return this.isInSegmentEnvelopes(r)||(r=new f(Xt.nearestEndpoint(t,e,n,i))),null!==this.precisionModel&&this.precisionModel.makePrecise(r),r},smallestInAbsValue:function(t,e,n,i){var r=t,o=Math.abs(r);return Math.abs(e)1e-4&&N.out.println("Distance = "+r.distance(o))},intersectionWithNormalization:function(t,e,n,i){var r=new f(t),o=new f(e),a=new f(n),s=new f(i),l=new f;this.normalizeToEnvCentre(r,o,a,s,l);var u=this.safeHCoordinateIntersection(r,o,a,s);return u.x+=l.x,u.y+=l.y,u},computeCollinearIntersection:function(t,e,n,i){var r=k.intersects(t,e,n),o=k.intersects(t,e,i),a=k.intersects(n,i,t),s=k.intersects(n,i,e);return r&&o?(this.intPt[0]=n,this.intPt[1]=i,Zt.COLLINEAR_INTERSECTION):a&&s?(this.intPt[0]=t,this.intPt[1]=e,Zt.COLLINEAR_INTERSECTION):r&&a?(this.intPt[0]=n,this.intPt[1]=t,!n.equals(t)||o||s?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):r&&s?(this.intPt[0]=n,this.intPt[1]=e,!n.equals(e)||o||a?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):o&&a?(this.intPt[0]=i,this.intPt[1]=t,!i.equals(t)||r||s?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):o&&s?(this.intPt[0]=i,this.intPt[1]=e,!i.equals(e)||r||a?Zt.COLLINEAR_INTERSECTION:Zt.POINT_INTERSECTION):Zt.NO_INTERSECTION},normalizeToEnvCentre:function(t,e,n,i,r){var o=t.xe.x?t.x:e.x,l=t.y>e.y?t.y:e.y,u=n.xi.x?n.x:i.x,h=n.y>i.y?n.y:i.y,f=((o>u?o:u)+(sc?a:c)+(l0&&o>0||r<0&&o<0)return Zt.NO_INTERSECTION;var a=Qt.orientationIndex(n,i,t),s=Qt.orientationIndex(n,i,e);return a>0&&s>0||a<0&&s<0?Zt.NO_INTERSECTION:0===r&&0===o&&0===a&&0===s?this.computeCollinearIntersection(t,e,n,i):(0===r||0===o||0===a||0===s?(this._isProper=!1,t.equals2D(n)||t.equals2D(i)?this.intPt[0]=t:e.equals2D(n)||e.equals2D(i)?this.intPt[0]=e:0===r?this.intPt[0]=new f(n):0===o?this.intPt[0]=new f(i):0===a?this.intPt[0]=new f(t):0===s&&(this.intPt[0]=new f(e))):(this._isProper=!0,this.intPt[0]=this.intersection(t,e,n,i)),Zt.POINT_INTERSECTION)},interfaces_:function(){return[]},getClass:function(){return Xt}}),Xt.nearestEndpoint=function(t,e,n,i){var r=t,o=Qt.distancePointLine(t,n,i),a=Qt.distancePointLine(e,n,i);return a0?n>0?-r:r:n>0?r:-r;if(0===e||0===n)return i>0?t>0?r:-r:t>0?-r:r;if(0=i?(t=-t,e=-e,n=-n,i=-i):(r=-r,o=-t,t=-n,n=o,o=-e,e=-i,i=o),0=n))return-r;r=-r,t=-t,n=-n}for(;;){if((i-=(a=Math.floor(n/t))*e)<0)return-r;if(i>e)return r;if(t>(n-=a*t)+n){if(ei+i)return-r;n=t-n,i=e-i,r=-r}if(0===i)return 0===n?0:-r;if(0===n)return r;if((e-=(a=Math.floor(t/n))*i)<0)return r;if(e>i)return-r;if(n>(t-=a*n)+t){if(ie+e)return r;t=n-t,e=i-e,r=-r}if(0===e)return 0===t?0:r;if(0===t)return-r}},e(Kt.prototype,{countSegment:function(t,e){if(t.xi&&(n=e.x,i=t.x),this.p.x>=n&&this.p.x<=i&&(this.isPointOnSegment=!0),null}if(t.y>this.p.y&&e.y<=this.p.y||e.y>this.p.y&&t.y<=this.p.y){var r=t.x-this.p.x,o=t.y-this.p.y,a=e.x-this.p.x,s=e.y-this.p.y,l=Jt.signOfDet2x2(r,o,a,s);if(0===l)return this.isPointOnSegment=!0,null;s0&&this.crossingCount++}},isPointInPolygon:function(){return this.getLocation()!==S.EXTERIOR},getLocation:function(){return this.isPointOnSegment?S.BOUNDARY:this.crossingCount%2==1?S.INTERIOR:S.EXTERIOR},isOnSegment:function(){return this.isPointOnSegment},interfaces_:function(){return[]},getClass:function(){return Kt}}),Kt.locatePointInRing=function(){if(arguments[0]instanceof f&&M(arguments[1],I)){for(var t=arguments[0],e=arguments[1],n=new Kt(t),i=new f,r=new f,o=1;o1||s<0||s>1)&&(r=!0)}}else r=!0;return r?T.min(Qt.distancePointLine(t,n,i),Qt.distancePointLine(e,n,i),Qt.distancePointLine(n,t,e),Qt.distancePointLine(i,t,e)):0},Qt.isPointInRing=function(t,e){return Qt.locatePointInRing(t,e)!==S.EXTERIOR},Qt.computeLength=function(t){var e=t.size();if(e<=1)return 0;var n=0,i=new f;t.getCoordinate(0,i);for(var r=i.x,o=i.y,a=1;an.y&&(n=a,r=o)}var s=r;do{(s-=1)<0&&(s=e)}while(t[s].equals2D(n)&&s!==r);var l=r;do{l=(l+1)%e}while(t[l].equals2D(n)&&l!==r);var u=t[s],c=t[l];if(u.equals2D(n)||c.equals2D(n)||u.equals2D(c))return!1;var d=Qt.computeOrientation(u,n,c);return 0===d?u.x>c.x:d>0},Qt.locatePointInRing=function(t,e){return Kt.locatePointInRing(t,e)},Qt.distancePointLinePerpendicular=function(t,e,n){var i=(n.x-e.x)*(n.x-e.x)+(n.y-e.y)*(n.y-e.y),r=((e.y-t.y)*(n.x-e.x)-(e.x-t.x)*(n.y-e.y))/i;return Math.abs(r)*Math.sqrt(i)},Qt.computeOrientation=function(t,e,n){return Qt.orientationIndex(t,e,n)},Qt.distancePointLine=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1];if(0===e.length)throw new i("Line array must contain at least one vertex");for(var n=t.distance(e[0]),r=0;r=1)return a.distance(l);var d=((s.y-a.y)*(l.x-s.x)-(s.x-a.x)*(l.y-s.y))/u;return Math.abs(d)*Math.sqrt(u)}},Qt.isOnLine=function(t,e){for(var n=new Xt,i=1;i=0&&n>=0||e<=0&&n<=0?Math.max(e,n):0}if(arguments[0]instanceof f){var i=arguments[0];return Qt.orientationIndex(this.p0,this.p1,i)}},toGeometry:function(t){return t.createLineString([this.p0,this.p1])},isVertical:function(){return this.p0.x===this.p1.x},equals:function(t){if(!(t instanceof te))return!1;var e=t;return this.p0.equals(e.p0)&&this.p1.equals(e.p1)},intersection:function(t){var e=new Xt;return e.computeIntersection(this.p0,this.p1,t.p0,t.p1),e.hasIntersection()?e.getIntersection(0):null},project:function(){if(arguments[0]instanceof f){var t=arguments[0];if(t.equals(this.p0)||t.equals(this.p1))return new f(t);var e=this.projectionFactor(t),n=new f;return n.x=this.p0.x+e*(this.p1.x-this.p0.x),n.y=this.p0.y+e*(this.p1.y-this.p0.y),n}if(arguments[0]instanceof te){var i=arguments[0],r=this.projectionFactor(i.p0),o=this.projectionFactor(i.p1);if(r>=1&&o>=1)return null;if(r<=0&&o<=0)return null;var a=this.project(i.p0);r<0&&(a=this.p0),r>1&&(a=this.p1);var s=this.project(i.p1);return o<0&&(s=this.p0),o>1&&(s=this.p1),new te(a,s)}},normalize:function(){this.p1.compareTo(this.p0)<0&&this.reverse()},angle:function(){return Math.atan2(this.p1.y-this.p0.y,this.p1.x-this.p0.x)},getCoordinate:function(t){return 0===t?this.p0:this.p1},distancePerpendicular:function(t){return Qt.distancePointLinePerpendicular(t,this.p0,this.p1)},minY:function(){return Math.min(this.p0.y,this.p1.y)},midPoint:function(){return te.midPoint(this.p0,this.p1)},projectionFactor:function(t){if(t.equals(this.p0))return 0;if(t.equals(this.p1))return 1;var e=this.p1.x-this.p0.x,n=this.p1.y-this.p0.y,i=e*e+n*n;return i<=0?r.NaN:((t.x-this.p0.x)*e+(t.y-this.p0.y)*n)/i},closestPoints:function(t){var e=this.intersection(t);if(null!==e)return[e,e];var n=new Array(2).fill(null),i=r.MAX_VALUE,o=null,a=this.closestPoint(t.p0);i=a.distance(t.p0),n[0]=a,n[1]=t.p0;var s=this.closestPoint(t.p1);(o=s.distance(t.p1))0&&e<1?this.project(t):this.p0.distance(t)1||r.isNaN(e))&&(e=1),e},toString:function(){return"LINESTRING( "+this.p0.x+" "+this.p0.y+", "+this.p1.x+" "+this.p1.y+")"},isHorizontal:function(){return this.p0.y===this.p1.y},distance:function(){if(arguments[0]instanceof te){var t=arguments[0];return Qt.distanceLineLine(this.p0,this.p1,t.p0,t.p1)}if(arguments[0]instanceof f){var e=arguments[0];return Qt.distancePointLine(e,this.p0,this.p1)}},pointAlong:function(t){var e=new f;return e.x=this.p0.x+t*(this.p1.x-this.p0.x),e.y=this.p0.y+t*(this.p1.y-this.p0.y),e},hashCode:function(){var t=java.lang.Double.doubleToLongBits(this.p0.x);t^=31*java.lang.Double.doubleToLongBits(this.p0.y);var e=Math.trunc(t)^Math.trunc(t>>32),n=java.lang.Double.doubleToLongBits(this.p1.x);return n^=31*java.lang.Double.doubleToLongBits(this.p1.y),e^Math.trunc(n)^Math.trunc(n>>32)},interfaces_:function(){return[o,l]},getClass:function(){return te}}),te.midPoint=function(t,e){return new f((t.x+e.x)/2,(t.y+e.y)/2)},te.serialVersionUID=0x2d2172135f411c00,e(ee.prototype,{isIntersects:function(){return!this.isDisjoint()},isCovers:function(){return(ee.isTrue(this.matrix[S.INTERIOR][S.INTERIOR])||ee.isTrue(this.matrix[S.INTERIOR][S.BOUNDARY])||ee.isTrue(this.matrix[S.BOUNDARY][S.INTERIOR])||ee.isTrue(this.matrix[S.BOUNDARY][S.BOUNDARY]))&&this.matrix[S.EXTERIOR][S.INTERIOR]===ut.FALSE&&this.matrix[S.EXTERIOR][S.BOUNDARY]===ut.FALSE},isCoveredBy:function(){return(ee.isTrue(this.matrix[S.INTERIOR][S.INTERIOR])||ee.isTrue(this.matrix[S.INTERIOR][S.BOUNDARY])||ee.isTrue(this.matrix[S.BOUNDARY][S.INTERIOR])||ee.isTrue(this.matrix[S.BOUNDARY][S.BOUNDARY]))&&this.matrix[S.INTERIOR][S.EXTERIOR]===ut.FALSE&&this.matrix[S.BOUNDARY][S.EXTERIOR]===ut.FALSE},set:function(){if(1===arguments.length)for(var t=arguments[0],e=0;e=0&&e>=0&&this.setAtLeast(t,e,n)},isWithin:function(){return ee.isTrue(this.matrix[S.INTERIOR][S.INTERIOR])&&this.matrix[S.INTERIOR][S.EXTERIOR]===ut.FALSE&&this.matrix[S.BOUNDARY][S.EXTERIOR]===ut.FALSE},isTouches:function(t,e){return t>e?this.isTouches(e,t):(t===ut.A&&e===ut.A||t===ut.L&&e===ut.L||t===ut.L&&e===ut.A||t===ut.P&&e===ut.A||t===ut.P&&e===ut.L)&&this.matrix[S.INTERIOR][S.INTERIOR]===ut.FALSE&&(ee.isTrue(this.matrix[S.INTERIOR][S.BOUNDARY])||ee.isTrue(this.matrix[S.BOUNDARY][S.INTERIOR])||ee.isTrue(this.matrix[S.BOUNDARY][S.BOUNDARY]))},isOverlaps:function(t,e){return t===ut.P&&e===ut.P||t===ut.A&&e===ut.A?ee.isTrue(this.matrix[S.INTERIOR][S.INTERIOR])&&ee.isTrue(this.matrix[S.INTERIOR][S.EXTERIOR])&&ee.isTrue(this.matrix[S.EXTERIOR][S.INTERIOR]):t===ut.L&&e===ut.L&&1===this.matrix[S.INTERIOR][S.INTERIOR]&&ee.isTrue(this.matrix[S.INTERIOR][S.EXTERIOR])&&ee.isTrue(this.matrix[S.EXTERIOR][S.INTERIOR])},isEquals:function(t,e){return t===e&&ee.isTrue(this.matrix[S.INTERIOR][S.INTERIOR])&&this.matrix[S.INTERIOR][S.EXTERIOR]===ut.FALSE&&this.matrix[S.BOUNDARY][S.EXTERIOR]===ut.FALSE&&this.matrix[S.EXTERIOR][S.INTERIOR]===ut.FALSE&&this.matrix[S.EXTERIOR][S.BOUNDARY]===ut.FALSE},toString:function(){for(var t=new E("123456789"),e=0;e<3;e++)for(var n=0;n<3;n++)t.setCharAt(3*e+n,ut.toDimensionSymbol(this.matrix[e][n]));return t.toString()},setAll:function(t){for(var e=0;e<3;e++)for(var n=0;n<3;n++)this.matrix[e][n]=t},get:function(t,e){return this.matrix[t][e]},transpose:function(){var t=this.matrix[1][0];return this.matrix[1][0]=this.matrix[0][1],this.matrix[0][1]=t,t=this.matrix[2][0],this.matrix[2][0]=this.matrix[0][2],this.matrix[0][2]=t,t=this.matrix[2][1],this.matrix[2][1]=this.matrix[1][2],this.matrix[1][2]=t,this},matches:function(t){if(9!==t.length)throw new i("Should be length 9: "+t);for(var e=0;e<3;e++)for(var n=0;n<3;n++)if(!ee.matches(this.matrix[e][n],t.charAt(3*e+n)))return!1;return!0},add:function(t){for(var e=0;e<3;e++)for(var n=0;n<3;n++)this.setAtLeast(e,n,t.get(e,n))},isDisjoint:function(){return this.matrix[S.INTERIOR][S.INTERIOR]===ut.FALSE&&this.matrix[S.INTERIOR][S.BOUNDARY]===ut.FALSE&&this.matrix[S.BOUNDARY][S.INTERIOR]===ut.FALSE&&this.matrix[S.BOUNDARY][S.BOUNDARY]===ut.FALSE},isCrosses:function(t,e){return t===ut.P&&e===ut.L||t===ut.P&&e===ut.A||t===ut.L&&e===ut.A?ee.isTrue(this.matrix[S.INTERIOR][S.INTERIOR])&&ee.isTrue(this.matrix[S.INTERIOR][S.EXTERIOR]):t===ut.L&&e===ut.P||t===ut.A&&e===ut.P||t===ut.A&&e===ut.L?ee.isTrue(this.matrix[S.INTERIOR][S.INTERIOR])&&ee.isTrue(this.matrix[S.EXTERIOR][S.INTERIOR]):t===ut.L&&e===ut.L&&0===this.matrix[S.INTERIOR][S.INTERIOR]},interfaces_:function(){return[a]},getClass:function(){return ee}}),ee.matches=function(){if(Number.isInteger(arguments[0])&&"string"==typeof arguments[1]){var t=arguments[0],e=arguments[1];return e===ut.SYM_DONTCARE||e===ut.SYM_TRUE&&(t>=0||t===ut.TRUE)||e===ut.SYM_FALSE&&t===ut.FALSE||e===ut.SYM_P&&t===ut.P||e===ut.SYM_L&&t===ut.L||e===ut.SYM_A&&t===ut.A}if("string"==typeof arguments[0]&&"string"==typeof arguments[1]){var n=arguments[0],i=arguments[1],r=new ee(n);return r.matches(i)}},ee.isTrue=function(t){return t>=0||t===ut.TRUE};var Xo=Object.freeze({Coordinate:f,CoordinateList:x,Envelope:k,LineSegment:te,GeometryFactory:Wt,Geometry:Y,Point:Lt,LineString:kt,LinearRing:Et,Polygon:Mt,GeometryCollection:ht,MultiPoint:Tt,MultiLineString:ft,MultiPolygon:Ot,Dimension:ut,IntersectionMatrix:ee,PrecisionModel:Ut});e(ne.prototype,{addPoint:function(t){this.ptCount+=1,this.ptCentSum.x+=t.x,this.ptCentSum.y+=t.y},setBasePoint:function(t){null===this.areaBasePt&&(this.areaBasePt=t)},addLineSegments:function(t){for(var e=0,n=0;n0&&this.addPoint(t[0])},addHole:function(t){for(var e=Qt.isCCW(t),n=0;n0)t.x=this.cg3.x/3/this.areasum2,t.y=this.cg3.y/3/this.areasum2;else if(this.totalLength>0)t.x=this.lineCentSum.x/this.totalLength,t.y=this.lineCentSum.y/this.totalLength;else{if(!(this.ptCount>0))return null;t.x=this.ptCentSum.x/this.ptCount,t.y=this.ptCentSum.y/this.ptCount}return t},addShell:function(t){t.length>0&&this.setBasePoint(t[0]);for(var e=!Qt.isCCW(t),n=0;n=this.size())throw new IndexOutOfBoundsException;return this.array_[t]},re.prototype.push=function(t){return this.array_.push(t),t},re.prototype.pop=function(t){if(0===this.array_.length)throw new ie;return this.array_.pop()},re.prototype.peek=function(){if(0===this.array_.length)throw new ie;return this.array_[this.array_.length-1]},re.prototype.empty=function(){return 0===this.array_.length},re.prototype.isEmpty=function(){return this.empty()},re.prototype.search=function(t){return this.array_.indexOf(t)},re.prototype.size=function(){return this.array_.length},re.prototype.toArray=function(){for(var t=[],e=0,n=this.array_.length;e50&&(t=this.reduce(this.inputPts));var e=this.preSort(t),n=this.grahamScan(e),i=this.toCoordinateArray(n);return this.lineOrPolygon(i)},padArray3:function(t){for(var e=new Array(3).fill(null),n=0;ne[2].y&&(e[2]=t[i]),t[i].x+t[i].y>e[3].x+e[3].y&&(e[3]=t[i]),t[i].x>e[4].x&&(e[4]=t[i]),t[i].x-t[i].y>e[5].x-e[5].y&&(e[5]=t[i]),t[i].y0;)e=n.pop();e=n.push(e),e=n.push(t[i])}return e=n.push(t[0]),n},interfaces_:function(){return[]},getClass:function(){return ae}}),ae.extractCoordinates=function(t){var e=new oe;return t.apply(e),e.getCoordinates()},e(se.prototype,{compare:function(t,e){var n=t,i=e;return se.polarCompare(this.origin,n,i)},interfaces_:function(){return[s]},getClass:function(){return se}}),se.polarCompare=function(t,e,n){var i=e.x-t.x,r=e.y-t.y,o=n.x-t.x,a=n.y-t.y,s=Qt.computeOrientation(t,e,n);if(s===Qt.COUNTERCLOCKWISE)return 1;if(s===Qt.CLOCKWISE)return-1;var l=i*i+r*r,u=o*o+a*a;return lu?1:0},ae.RadialComparator=se,e(le.prototype,{transformPoint:function(t,e){return this.factory.createPoint(this.transformCoordinates(t.getCoordinateSequence(),t))},transformPolygon:function(t,e){var n=!0,i=this.transformLinearRing(t.getExteriorRing(),t);null!==i&&i instanceof Et&&!i.isEmpty()||(n=!1);for(var r=new w,o=0;o0&&i<4&&!this.preserveType?this.factory.createLineString(n):this.factory.createLinearRing(n)},interfaces_:function(){return[]},getClass:function(){return le}}),e(ue.prototype,{snapVertices:function(t,e){for(var n=this._isClosed?t.size()-1:t.size(),i=0;i=0&&t.add(o+1,new f(r),!1)}},findSegmentIndexToSnap:function(t,e){for(var n=r.MAX_VALUE,i=-1,o=0;oe&&(e=i)}return e}if(2===arguments.length){var r=arguments[0],o=arguments[1];return Math.min(ce.computeOverlaySnapTolerance(r),ce.computeOverlaySnapTolerance(o))}},ce.computeSizeBasedSnapTolerance=function(t){var e=t.getEnvelopeInternal();return Math.min(e.getHeight(),e.getWidth())*ce.SNAP_PRECISION_FACTOR},ce.snapToSelf=function(t,e,n){return new ce(t).snapToSelf(e,n)},ce.SNAP_PRECISION_FACTOR=1e-9,c(de,le),e(de.prototype,{snapLine:function(t,e){var n=new ue(t,this.snapTolerance);return n.setAllowSnappingToSourceVertices(this.isSelfSnap),n.snapTo(e)},transformCoordinates:function(t,e){var n=t.toCoordinateArray(),i=this.snapLine(n,this.snapPts);return this.factory.getCoordinateSequenceFactory().create(i)},interfaces_:function(){return[]},getClass:function(){return de}}),e(he.prototype,{getCommon:function(){return r.longBitsToDouble(this.commonBits)},add:function(t){var e=r.doubleToLongBits(t);return this.isFirst?(this.commonBits=e,this.commonSignExp=he.signExpBits(this.commonBits),this.isFirst=!1,null):he.signExpBits(e)!==this.commonSignExp?(this.commonBits=0,null):(this.commonMantissaBitsCount=he.numCommonMostSigMantissaBits(this.commonBits,e),void(this.commonBits=he.zeroLowerBits(this.commonBits,64-(12+this.commonMantissaBitsCount))))},toString:function(){if(1===arguments.length){var t=arguments[0],e=r.longBitsToDouble(t),n=Long.toBinaryString(t),i="0000000000000000000000000000000000000000000000000000000000000000"+n,o=i.substring(i.length-64),a=o.substring(0,1)+" "+o.substring(1,12)+"(exp) "+o.substring(12)+" [ "+e+" ]";return a}},interfaces_:function(){return[]},getClass:function(){return he}}),he.getBit=function(t,e){return 0!=(t&1<>52},he.zeroLowerBits=function(t,e){return t&~((1<=0;i--){if(he.getBit(t,i)!==he.getBit(e,i))return n;n++}return 52},e(fe.prototype,{addCommonBits:function(t){var e=new me(this.commonCoord);t.apply(e),t.geometryChanged()},removeCommonBits:function(t){if(0===this.commonCoord.x&&0===this.commonCoord.y)return t;var e=new f(this.commonCoord);e.x=-e.x,e.y=-e.y;var n=new me(e);return t.apply(n),t.geometryChanged(),t},getCommonCoordinate:function(){return this.commonCoord},add:function(t){t.apply(this.ccFilter),this.commonCoord=this.ccFilter.getCommonCoordinate()},interfaces_:function(){return[]},getClass:function(){return fe}}),e(pe.prototype,{filter:function(t){this.commonBitsX.add(t.x),this.commonBitsY.add(t.y)},getCommonCoordinate:function(){return new f(this.commonBitsX.getCommon(),this.commonBitsY.getCommon())},interfaces_:function(){return[F]},getClass:function(){return pe}}),e(me.prototype,{filter:function(t,e){var n=t.getOrdinate(e,0)+this.trans.x,i=t.getOrdinate(e,1)+this.trans.y;t.setOrdinate(e,0,n),t.setOrdinate(e,1,i)},isDone:function(){return!1},isGeometryChanged:function(){return!0},interfaces_:function(){return[dt]},getClass:function(){return me}}),fe.CommonCoordinateFilter=pe,fe.Translater=me,e(ge.prototype,{next:function(){if(this.atStart)return this.atStart=!1,ge.isAtomic(this.parent)&&this.index++,this.parent;if(null!==this.subcollectionIterator){if(this.subcollectionIterator.hasNext())return this.subcollectionIterator.next();this.subcollectionIterator=null}if(this.index>=this.max)throw new _;var t=this.parent.getGeometryN(this.index++);return t instanceof ht?(this.subcollectionIterator=new ge(t),this.subcollectionIterator.next()):t},remove:function(){throw new UnsupportedOperationException(this.getClass().getName())},hasNext:function(){if(this.atStart)return!0;if(null!==this.subcollectionIterator){if(this.subcollectionIterator.hasNext())return!0;this.subcollectionIterator=null}return!(this.index>=this.max)},interfaces_:function(){return[m]},getClass:function(){return ge}}),ge.isAtomic=function(t){return!(t instanceof ht)},e(ve.prototype,{locateInternal:function(){if(arguments[0]instanceof f&&arguments[1]instanceof Mt){var t=arguments[0],e=arguments[1];if(e.isEmpty())return S.EXTERIOR;var n=e.getExteriorRing(),i=this.locateInPolygonRing(t,n);if(i===S.EXTERIOR)return S.EXTERIOR;if(i===S.BOUNDARY)return S.BOUNDARY;for(var r=0;r0||this.isIn?S.INTERIOR:S.EXTERIOR)},interfaces_:function(){return[]},getClass:function(){return ve}}),e(ye.prototype,{interfaces_:function(){return[]},getClass:function(){return ye}}),ye.octant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new i("Cannot compute the octant for point ( "+t+", "+e+" )");var n=Math.abs(t),r=Math.abs(e);return t>=0?e>=0?n>=r?0:1:n>=r?7:6:e>=0?n>=r?3:2:n>=r?4:5}if(arguments[0]instanceof f&&arguments[1]instanceof f){var o=arguments[0],a=arguments[1],s=a.x-o.x,l=a.y-o.y;if(0===s&&0===l)throw new i("Cannot compute the octant for two identical points "+o);return ye.octant(s,l)}},e(_e.prototype,{getCoordinates:function(){},size:function(){},getCoordinate:function(t){},isClosed:function(){},setData:function(t){},getData:function(){},interfaces_:function(){return[]},getClass:function(){return _e}}),e(be.prototype,{getCoordinates:function(){return this.pts},size:function(){return this.pts.length},getCoordinate:function(t){return this.pts[t]},isClosed:function(){return this.pts[0].equals(this.pts[this.pts.length-1])},getSegmentOctant:function(t){return t===this.pts.length-1?-1:ye.octant(this.getCoordinate(t),this.getCoordinate(t+1))},setData:function(t){this.data=t},getData:function(){return this.data},toString:function(){return qt.toLineString(new Rt(this.pts))},interfaces_:function(){return[_e]},getClass:function(){return be}}),e(we.prototype,{getBounds:function(){},interfaces_:function(){return[]},getClass:function(){return we}}),e(xe.prototype,{getItem:function(){return this.item},getBounds:function(){return this.bounds},interfaces_:function(){return[we,l]},getClass:function(){return xe}}),e(ke.prototype,{poll:function(){if(this.isEmpty())return null;var t=this.items.get(1);return this.items.set(1,this.items.get(this._size)),this._size-=1,this.reorder(1),t},size:function(){return this._size},reorder:function(t){for(var e=null,n=this.items.get(t);2*t<=this._size&&((e=2*t)!==this._size&&this.items.get(e+1).compareTo(this.items.get(e))<0&&e++,this.items.get(e).compareTo(n)<0);t=e)this.items.set(t,this.items.get(e));this.items.set(t,n)},clear:function(){this._size=0,this.items.clear()},isEmpty:function(){return 0===this._size},add:function(t){this.items.add(null),this._size+=1;var e=this._size;for(this.items.set(0,t);t.compareTo(this.items.get(Math.trunc(e/2)))<0;e/=2)this.items.set(e,this.items.get(Math.trunc(e/2)));this.items.set(e,t)},interfaces_:function(){return[]},getClass:function(){return ke}}),e(Ce.prototype,{visitItem:function(t){},interfaces_:function(){return[]},getClass:function(){return Ce}}),e(Le.prototype,{insert:function(t,e){},remove:function(t,e){},query:function(){},interfaces_:function(){return[]},getClass:function(){return Le}}),e(Se.prototype,{getLevel:function(){return this.level},size:function(){return this.childBoundables.size()},getChildBoundables:function(){return this.childBoundables},addChildBoundable:function(t){h.isTrue(null===this.bounds),this.childBoundables.add(t)},isEmpty:function(){return this.childBoundables.isEmpty()},getBounds:function(){return null===this.bounds&&(this.bounds=this.computeBounds()),this.bounds},interfaces_:function(){return[we,l]},getClass:function(){return Se}}),Se.serialVersionUID=0x5a1e55ec41369800;var Jo={reverseOrder:function(){return{compare:function(t,e){return e.compareTo(t)}}},min:function(t){return Jo.sort(t),t.get(0)},sort:function(t,e){var n=t.toArray();e?lt.sort(n,e):lt.sort(n);for(var i=t.iterator(),r=0,o=n.length;rMe.area(this.boundable2)?(this.expand(this.boundable1,this.boundable2,t,e),null):(this.expand(this.boundable2,this.boundable1,t,e),null);if(n)return this.expand(this.boundable1,this.boundable2,t,e),null;if(r)return this.expand(this.boundable2,this.boundable1,t,e),null;throw new i("neither boundable is composite")},isLeaves:function(){return!(Me.isComposite(this.boundable1)||Me.isComposite(this.boundable2))},compareTo:function(t){var e=t;return this._distancee._distance?1:0},expand:function(t,e,n,i){for(var r=t.getChildBoundables().iterator();r.hasNext();){var o=new Me(r.next(),e,this.itemDistance);o.getDistance()-2),i.getLevel()===n)return r.add(i),null;for(var o=i.getChildBoundables().iterator();o.hasNext();){var a=o.next();a instanceof Se?this.boundablesAtLevel(n,a,r):(h.isTrue(a instanceof xe),-1===n&&r.add(a))}return null}},query:function(){if(1===arguments.length){var t=arguments[0];this.build();var e=new w;return this.isEmpty()||this.getIntersectsOp().intersects(this.root.getBounds(),t)&&this.query(t,this.root,e),e}if(2===arguments.length){var n=arguments[0],i=arguments[1];if(this.build(),this.isEmpty())return null;this.getIntersectsOp().intersects(this.root.getBounds(),n)&&this.query(n,this.root,i)}else if(3===arguments.length)if(M(arguments[2],Ce)&&arguments[0]instanceof Object&&arguments[1]instanceof Se)for(var r=arguments[0],o=arguments[1],a=arguments[2],s=o.getChildBoundables(),l=0;le&&(e=r)}}return e+1}},createParentBoundables:function(t,e){h.isTrue(!t.isEmpty());var n=new w;n.add(this.createNode(e));var i=new w(t);Jo.sort(i,this.getComparator());for(var r=i.iterator();r.hasNext();){var o=r.next();this.lastNode(n).getChildBoundables().size()===this.getNodeCapacity()&&n.add(this.createNode(e)),this.lastNode(n).addChildBoundable(o)}return n},isEmpty:function(){return this.built?this.root.isEmpty():this.itemBoundables.isEmpty()},interfaces_:function(){return[l]},getClass:function(){return Te}}),Te.compareDoubles=function(t,e){return t>e?1:t0);for(var n=new w,i=0;i0;){var d=c.poll(),h=d.getDistance();if(h>=l)break;d.isLeaves()?(l=h,u=d):d.expandToQueue(c,l)}return[u.getBoundable(0).getItem(),u.getBoundable(1).getItem()]}}else if(3===arguments.length){var f=arguments[0],p=arguments[1],m=arguments[2],g=new xe(f,p);return e=new Me(this.getRoot(),g,m),this.nearestNeighbour(e)[0]}},interfaces_:function(){return[Le,l]},getClass:function(){return Oe}}),Oe.centreX=function(t){return Oe.avg(t.getMinX(),t.getMaxX())},Oe.avg=function(t,e){return(t+e)/2},Oe.centreY=function(t){return Oe.avg(t.getMinY(),t.getMaxY())},c(Pe,Se),e(Pe.prototype,{computeBounds:function(){for(var t=null,e=this.getChildBoundables().iterator();e.hasNext();){var n=e.next();null===t?t=new k(n.getBounds()):t.expandToInclude(n.getBounds())}return t},interfaces_:function(){return[]},getClass:function(){return Pe}}),Oe.STRtreeNode=Pe,Oe.serialVersionUID=0x39920f7d5f261e0,Oe.xComparator={interfaces_:function(){return[s]},compare:function(t,e){return Te.compareDoubles(Oe.centreX(t.getBounds()),Oe.centreX(e.getBounds()))}},Oe.yComparator={interfaces_:function(){return[s]},compare:function(t,e){return Te.compareDoubles(Oe.centreY(t.getBounds()),Oe.centreY(e.getBounds()))}},Oe.intersectsOp={interfaces_:function(){return[IntersectsOp]},intersects:function(t,e){return t.intersects(e)}},Oe.DEFAULT_NODE_CAPACITY=10,e(De.prototype,{interfaces_:function(){return[]},getClass:function(){return De}}),De.relativeSign=function(t,e){return te?1:0},De.compare=function(t,e,n){if(e.equals2D(n))return 0;var i=De.relativeSign(e.x,n.x),r=De.relativeSign(e.y,n.y);switch(t){case 0:return De.compareValue(i,r);case 1:return De.compareValue(r,i);case 2:return De.compareValue(r,-i);case 3:return De.compareValue(-i,r);case 4:return De.compareValue(-i,-r);case 5:return De.compareValue(-r,-i);case 6:return De.compareValue(-r,i);case 7:return De.compareValue(i,-r)}return h.shouldNeverReachHere("invalid octant value"),0},De.compareValue=function(t,e){return t<0?-1:t>0?1:e<0?-1:e>0?1:0},e(Ae.prototype,{getCoordinate:function(){return this.coord},print:function(t){t.print(this.coord),t.print(" seg # = "+this.segmentIndex)},compareTo:function(t){var e=t;return this.segmentIndexe.segmentIndex?1:this.coord.equals2D(e.coord)?0:De.compare(this.segmentOctant,this.coord,e.coord)},isEndPoint:function(t){return 0===this.segmentIndex&&!this._isInterior||this.segmentIndex===t},isInterior:function(){return this._isInterior},interfaces_:function(){return[o]},getClass:function(){return Ae}}),e(Ie.prototype,{getSplitCoordinates:function(){var t=new x;this.addEndpoints();for(var e=this.iterator(),n=e.next();e.hasNext();){var i=e.next();this.addEdgeCoordinates(n,i,t),n=i}return t.toCoordinateArray()},addCollapsedNodes:function(){var t=new w;this.findCollapsesFromInsertedNodes(t),this.findCollapsesFromExistingVertices(t);for(var e=t.iterator();e.hasNext();){var n=e.next().intValue();this.add(this.edge.getCoordinate(n),n)}},print:function(t){t.println("Intersections:");for(var e=this.iterator();e.hasNext();)e.next().print(t)},findCollapsesFromExistingVertices:function(t){for(var e=0;ee?t:e)?3:n},Fe.isInHalfPlane=function(t,e){return e===Fe.SE?t===Fe.SE||t===Fe.SW:t===e||t===e+1},Fe.quadrant=function(){if("number"==typeof arguments[0]&&"number"==typeof arguments[1]){var t=arguments[0],e=arguments[1];if(0===t&&0===e)throw new i("Cannot compute the quadrant for point ( "+t+", "+e+" )");return t>=0?e>=0?Fe.NE:Fe.SE:e>=0?Fe.NW:Fe.SW}if(arguments[0]instanceof f&&arguments[1]instanceof f){var n=arguments[0],r=arguments[1];if(r.x===n.x&&r.y===n.y)throw new i("Cannot compute the quadrant for two identical points "+n);return r.x>=n.x?r.y>=n.y?Fe.NE:Fe.SE:r.y>=n.y?Fe.NW:Fe.SW}},Fe.NE=0,Fe.NW=1,Fe.SW=2,Fe.SE=3,e(Be.prototype,{interfaces_:function(){return[]},getClass:function(){return Be}}),Be.getChainStartIndices=function(t){var e=0,n=new w;n.add(new O(e));do{var i=Be.findChainEnd(t,e);n.add(new O(i)),e=i}while(e=t.length-1)return t.length-1;for(var i=Fe.quadrant(t[n],t[n+1]),r=e+1;rn.getId()&&(n.computeOverlaps(r,t),this.nOverlaps++),this.segInt.isDone())return null}},interfaces_:function(){return[]},getClass:function(){return Ue}}),c(Ve,ze),e(Ve.prototype,{overlap:function(){if(4!==arguments.length)return ze.prototype.overlap.apply(this,arguments);var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=t.getContext(),o=n.getContext();this.si.processIntersections(r,e,o,i)},interfaces_:function(){return[]},getClass:function(){return Ve}}),Ue.SegmentOverlapAction=Ve,c(We,u),e(We.prototype,{getCoordinate:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return We}}),We.msgWithCoord=function(t,e){return null!==e?t+" [ "+e+" ]":t},e(Ge.prototype,{processIntersections:function(t,e,n,i){},isDone:function(){},interfaces_:function(){return[]},getClass:function(){return Ge}}),e(qe.prototype,{getInteriorIntersection:function(){return this.interiorIntersection},setCheckEndSegmentsOnly:function(t){this.isCheckEndSegmentsOnly=t},getIntersectionSegments:function(){return this.intSegments},count:function(){return this.intersectionCount},getIntersections:function(){return this.intersections},setFindAllIntersections:function(t){this.findAllIntersections=t},setKeepIntersections:function(t){this.keepIntersections=t},processIntersections:function(t,e,n,i){if(!this.findAllIntersections&&this.hasIntersection())return null;if(t===n&&e===i)return null;if(this.isCheckEndSegmentsOnly&&!this.isEndSegment(t,e)&&!this.isEndSegment(n,i))return null;var r=t.getCoordinates()[e],o=t.getCoordinates()[e+1],a=n.getCoordinates()[i],s=n.getCoordinates()[i+1];this.li.computeIntersection(r,o,a,s),this.li.hasIntersection()&&this.li.isInteriorIntersection()&&(this.intSegments=new Array(4).fill(null),this.intSegments[0]=r,this.intSegments[1]=o,this.intSegments[2]=a,this.intSegments[3]=s,this.interiorIntersection=this.li.getIntersection(0),this.keepIntersections&&this.intersections.add(this.interiorIntersection),this.intersectionCount++)},isEndSegment:function(t,e){return 0===e||e>=t.size()-2},hasIntersection:function(){return null!==this.interiorIntersection},isDone:function(){return!this.findAllIntersections&&null!==this.interiorIntersection},interfaces_:function(){return[Ge]},getClass:function(){return qe}}),qe.createAllIntersectionsFinder=function(t){var e=new qe(t);return e.setFindAllIntersections(!0),e},qe.createAnyIntersectionFinder=function(t){return new qe(t)},qe.createIntersectionCounter=function(t){var e=new qe(t);return e.setFindAllIntersections(!0),e.setKeepIntersections(!1),e},e(Ze.prototype,{execute:function(){return null!==this.segInt?null:void this.checkInteriorIntersections()},getIntersections:function(){return this.segInt.getIntersections()},isValid:function(){return this.execute(),this._isValid},setFindAllIntersections:function(t){this.findAllIntersections=t},checkInteriorIntersections:function(){this._isValid=!0,this.segInt=new qe(this.li),this.segInt.setFindAllIntersections(this.findAllIntersections);var t=new Ue;if(t.setSegmentIntersector(this.segInt),t.computeNodes(this.segStrings),this.segInt.hasIntersection())return this._isValid=!1,null},checkValid:function(){if(this.execute(),!this._isValid)throw new We(this.getErrorMessage(),this.segInt.getInteriorIntersection())},getErrorMessage:function(){if(this._isValid)return"no intersections found";var t=this.segInt.getIntersectionSegments();return"found non-noded intersection between "+qt.toLineString(t[0],t[1])+" and "+qt.toLineString(t[2],t[3])},interfaces_:function(){return[]},getClass:function(){return Ze}}),Ze.computeIntersections=function(t){var e=new Ze(t);return e.setFindAllIntersections(!0),e.isValid(),e.getIntersections()},e(Xe.prototype,{checkValid:function(){this.nv.checkValid()},interfaces_:function(){return[]},getClass:function(){return Xe}}),Xe.toSegmentStrings=function(t){for(var e=new w,n=t.iterator();n.hasNext();){var i=n.next();e.add(new be(i.getCoordinates(),i))}return e},Xe.checkValid=function(t){new Xe(t).checkValid()},e(Je.prototype,{map:function(t){for(var e=new w,n=0;nthis.location.length){var e=new Array(3).fill(null);e[Ke.ON]=this.location[Ke.ON],e[Ke.LEFT]=S.NONE,e[Ke.RIGHT]=S.NONE,this.location=e}for(var n=0;n1&&t.append(S.toLocationSymbol(this.location[Ke.LEFT])),t.append(S.toLocationSymbol(this.location[Ke.ON])),this.location.length>1&&t.append(S.toLocationSymbol(this.location[Ke.RIGHT])),t.toString()},setLocations:function(t,e,n){this.location[Ke.ON]=t,this.location[Ke.LEFT]=e,this.location[Ke.RIGHT]=n},get:function(t){return t1},isAnyNull:function(){for(var t=0;tthis.maxNodeDegree&&(this.maxNodeDegree=e),t=this.getNext(t)}while(t!==this.startDe);this.maxNodeDegree*=2},addPoints:function(t,e,n){var i=t.getCoordinates();if(e){var r=1;n&&(r=0);for(var o=r;o=0;o--)this.pts.add(i[o])},isHole:function(){return this._isHole},setInResult:function(){var t=this.startDe;do{t.getEdge().setInResult(!0),t=t.getNext()}while(t!==this.startDe)},containsPoint:function(t){var e=this.getLinearRing();if(!e.getEnvelopeInternal().contains(t))return!1;if(!Qt.isPointInRing(t,e.getCoordinates()))return!1;for(var n=this.holes.iterator();n.hasNext();)if(n.next().containsPoint(t))return!1;return!0},addHole:function(t){this.holes.add(t)},isShell:function(){return null===this.shell},getLabel:function(){return this.label},getEdges:function(){return this.edges},getMaxNodeDegree:function(){return this.maxNodeDegree<0&&this.computeMaxNodeDegree(),this.maxNodeDegree},getShell:function(){return this.shell},mergeLabel:function(){if(1===arguments.length){var t=arguments[0];this.mergeLabel(t,0),this.mergeLabel(t,1)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=e.getLocation(n,Ke.RIGHT);if(i===S.NONE)return null;if(this.label.getLocation(n)===S.NONE)return this.label.setLocation(n,i),null}},setShell:function(t){this.shell=t,null!==t&&t.addHole(this)},toPolygon:function(t){for(var e=new Array(this.holes.size()).fill(null),n=0;n=2,"found partial label"),this.computeIM(t)},isInResult:function(){return this._isInResult},isVisited:function(){return this._isVisited},interfaces_:function(){return[]},getClass:function(){return on}}),c(an,on),e(an.prototype,{isIncidentEdgeInResult:function(){for(var t=this.getEdges().getEdges().iterator();t.hasNext();)if(t.next().getEdge().isInResult())return!0;return!1},isIsolated:function(){return 1===this.label.getGeometryCount()},getCoordinate:function(){return this.coord},print:function(t){t.println("node "+this.coord+" lbl: "+this.label)},computeIM:function(t){},computeMergedLocation:function(t,e){var n=S.NONE;if(n=this.label.getLocation(e),!t.isNull(e)){var i=t.getLocation(e);n!==S.BOUNDARY&&(n=i)}return n},setLabel:function(){if(2!==arguments.length)return on.prototype.setLabel.apply(this,arguments);var t=arguments[0],e=arguments[1];null===this.label?this.label=new tn(t,e):this.label.setLocation(t,e)},getEdges:function(){return this.edges},mergeLabel:function(){if(arguments[0]instanceof an){var t=arguments[0];this.mergeLabel(t.label)}else if(arguments[0]instanceof tn)for(var e=arguments[0],n=0;n<2;n++){var i=this.computeMergedLocation(e,n),r=this.label.getLocation(n);r===S.NONE&&this.label.setLocation(n,i)}},add:function(t){this.edges.insert(t),t.setNode(this)},setLabelBoundary:function(t){if(null===this.label)return null;var e=S.NONE;null!==this.label&&(e=this.label.getLocation(t));var n=null;switch(e){case S.BOUNDARY:n=S.INTERIOR;break;case S.INTERIOR:n=S.BOUNDARY;break;default:n=S.BOUNDARY}this.label.setLocation(t,n)},interfaces_:function(){return[]},getClass:function(){return an}}),e(sn.prototype,{find:function(t){return this.nodeMap.get(t)},addNode:function(){if(arguments[0]instanceof f){var t=arguments[0];return null===(e=this.nodeMap.get(t))&&(e=this.nodeFact.createNode(t),this.nodeMap.put(t,e)),e}if(arguments[0]instanceof an){var e,n=arguments[0];return null===(e=this.nodeMap.get(n.getCoordinate()))?(this.nodeMap.put(n.getCoordinate(),n),n):(e.mergeLabel(n),e)}},print:function(t){for(var e=this.iterator();e.hasNext();)e.next().print(t)},iterator:function(){return this.nodeMap.values().iterator()},values:function(){return this.nodeMap.values()},getBoundaryNodes:function(t){for(var e=new w,n=this.iterator();n.hasNext();){var i=n.next();i.getLabel().getLocation(t)===S.BOUNDARY&&e.add(i)}return e},add:function(t){var e=t.getCoordinate();this.addNode(e).add(t)},interfaces_:function(){return[]},getClass:function(){return sn}}),e(ln.prototype,{compareDirection:function(t){return this.dx===t.dx&&this.dy===t.dy?0:this.quadrant>t.quadrant?1:this.quadrant2){o.linkDirectedEdgesForMinimalEdgeRings();var a=o.buildMinimalRings(),s=this.findShell(a);null!==s?(this.placePolygonHoles(s,a),e.add(s)):n.addAll(a)}else i.add(o)}return i},containsPoint:function(t){for(var e=this.shellList.iterator();e.hasNext();)if(e.next().containsPoint(t))return!0;return!1},buildMaximalEdgeRings:function(t){for(var e=new w,n=t.iterator();n.hasNext();){var i=n.next();if(i.isInResult()&&i.getLabel().isArea()&&null===i.getEdgeRing()){var r=new rn(i,this.geometryFactory);e.add(r),r.setInResult()}}return e},placePolygonHoles:function(t,e){for(var n=e.iterator();n.hasNext();){var i=n.next();i.isHole()&&i.setShell(t)}},getPolygons:function(){return this.computePolygons(this.shellList)},findEdgeRingContaining:function(t,e){for(var n=t.getLinearRing(),i=n.getEnvelopeInternal(),r=n.getCoordinateN(0),o=null,a=null,s=e.iterator();s.hasNext();){var l=s.next(),u=l.getLinearRing(),c=u.getEnvelopeInternal();null!==o&&(a=o.getLinearRing().getEnvelopeInternal());var d=!1;c.contains(i)&&Qt.isPointInRing(r,u.getCoordinates())&&(d=!0),d&&(null===o||a.contains(c))&&(o=l)}return o},findShell:function(t){for(var e=0,n=null,i=t.iterator();i.hasNext();){var r=i.next();r.isHole()||(n=r,e++)}return h.isTrue(e<=1,"found two shells in MinimalEdgeRing list"),n},add:function(){if(1===arguments.length){var t=arguments[0];this.add(t.getEdgeEnds(),t.getNodes())}else if(2===arguments.length){var e=arguments[0],n=arguments[1];dn.linkResultDirectedEdges(n);var i=this.buildMaximalEdgeRings(e),r=new w,o=this.buildMinimalEdgeRings(i,this.shellList,r);this.sortShellsAndHoles(o,this.shellList,r),this.placeFreeHoles(this.shellList,r)}},interfaces_:function(){return[]},getClass:function(){return hn}}),e(fn.prototype,{collectLines:function(t){for(var e=this.op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next();this.collectLineEdge(n,t,this.lineEdgesList),this.collectBoundaryTouchEdge(n,t,this.lineEdgesList)}},labelIsolatedLine:function(t,e){var n=this.ptLocator.locate(t.getCoordinate(),this.op.getArgGeometry(e));t.getLabel().setLocation(e,n)},build:function(t){return this.findCoveredLineEdges(),this.collectLines(t),this.buildLines(t),this.resultLineList},collectLineEdge:function(t,e,n){var i=t.getLabel(),r=t.getEdge();t.isLineEdge()&&(t.isVisited()||!Vn.isResultOfOp(i,e)||r.isCovered()||(n.add(r),t.setVisitedEdge(!0)))},findCoveredLineEdges:function(){for(var t=this.op.getGraph().getNodes().iterator();t.hasNext();)t.next().getEdges().findCoveredLineEdges();for(var e=this.op.getGraph().getEdgeEnds().iterator();e.hasNext();){var n=e.next(),i=n.getEdge();if(n.isLineEdge()&&!i.isCoveredSet()){var r=this.op.isCoveredByA(n.getCoordinate());i.setCovered(r)}}},labelIsolatedLines:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getLabel();n.isIsolated()&&(i.isNull(0)?this.labelIsolatedLine(n,0):this.labelIsolatedLine(n,1))}},buildLines:function(t){for(var e=this.lineEdgesList.iterator();e.hasNext();){var n=e.next(),i=(n.getLabel(),this.geometryFactory.createLineString(n.getCoordinates()));this.resultLineList.add(i),n.setInResult(!0)}},collectBoundaryTouchEdge:function(t,e,n){var i=t.getLabel();return t.isLineEdge()||t.isVisited()||t.isInteriorAreaEdge()||t.getEdge().isInResult()?null:(h.isTrue(!(t.isInResult()||t.getSym().isInResult())||!t.getEdge().isInResult()),void(Vn.isResultOfOp(i,e)&&e===Vn.INTERSECTION&&(n.add(t.getEdge()),t.setVisitedEdge(!0))))},interfaces_:function(){return[]},getClass:function(){return fn}}),e(pn.prototype,{filterCoveredNodeToPoint:function(t){var e=t.getCoordinate();if(!this.op.isCoveredByLA(e)){var n=this.geometryFactory.createPoint(e);this.resultPointList.add(n)}},extractNonCoveredResultNodes:function(t){for(var e=this.op.getGraph().getNodes().iterator();e.hasNext();){var n=e.next();if(!(n.isInResult()||n.isIncidentEdgeInResult()||0!==n.getEdges().getDegree()&&t!==Vn.INTERSECTION)){var i=n.getLabel();Vn.isResultOfOp(i,t)&&this.filterCoveredNodeToPoint(n)}}},build:function(t){return this.extractNonCoveredResultNodes(t),this.resultPointList},interfaces_:function(){return[]},getClass:function(){return pn}}),e(mn.prototype,{locate:function(t){},interfaces_:function(){return[]},getClass:function(){return mn}}),e(gn.prototype,{locate:function(t){return gn.locate(t,this.geom)},interfaces_:function(){return[mn]},getClass:function(){return gn}}),gn.isPointInRing=function(t,e){return!!e.getEnvelopeInternal().intersects(t)&&Qt.isPointInRing(t,e.getCoordinates())},gn.containsPointInPolygon=function(t,e){if(e.isEmpty())return!1;var n=e.getExteriorRing();if(!gn.isPointInRing(t,n))return!1;for(var i=0;i=0;n--){var i=this.edgeList.get(n),r=i.getSym();null===e&&(e=r),null!==t&&r.setNext(t),t=i}e.setNext(t)},computeDepths:function(){if(1===arguments.length){var t=arguments[0],e=this.findIndex(t),n=(t.getLabel(),t.getDepth(Ke.LEFT)),i=t.getDepth(Ke.RIGHT),r=this.computeDepths(e+1,this.edgeList.size(),n),o=this.computeDepths(0,e,r);if(o!==i)throw new We("depth mismatch at "+t.getCoordinate())}else if(3===arguments.length){for(var a=arguments[0],s=arguments[1],l=arguments[2],u=l,c=a;c=0;r--){var o=this.resultAreaEdgeList.get(r),a=o.getSym();switch(null===e&&o.getEdgeRing()===t&&(e=o),i){case this.SCANNING_FOR_INCOMING:if(a.getEdgeRing()!==t)continue;n=a,i=this.LINKING_TO_OUTGOING;break;case this.LINKING_TO_OUTGOING:if(o.getEdgeRing()!==t)continue;n.setNextMin(o),i=this.SCANNING_FOR_INCOMING}}i===this.LINKING_TO_OUTGOING&&(h.isTrue(null!==e,"found null for first outgoing dirEdge"),h.isTrue(e.getEdgeRing()===t,"unable to link last incoming dirEdge"),n.setNextMin(e))},getOutgoingDegree:function(){if(0===arguments.length){for(var t=0,e=this.iterator();e.hasNext();)e.next().isInResult()&&t++;return t}if(1===arguments.length){var n=arguments[0];for(t=0,e=this.iterator();e.hasNext();)e.next().getEdgeRing()===n&&t++;return t}},getLabel:function(){return this.label},findCoveredLineEdges:function(){for(var t=S.NONE,e=this.iterator();e.hasNext();){var n=(r=e.next()).getSym();if(!r.isLineEdge()){if(r.isInResult()){t=S.INTERIOR;break}if(n.isInResult()){t=S.EXTERIOR;break}}}if(t===S.NONE)return null;var i=t;for(e=this.iterator();e.hasNext();){var r;n=(r=e.next()).getSym(),r.isLineEdge()?r.getEdge().setCovered(i===S.INTERIOR):(r.isInResult()&&(i=S.EXTERIOR),n.isInResult()&&(i=S.INTERIOR))}},computeLabelling:function(t){vn.prototype.computeLabelling.call(this,t),this.label=new tn(S.NONE);for(var e=this.iterator();e.hasNext();)for(var n=e.next().getEdge().getLabel(),i=0;i<2;i++){var r=n.getLocation(i);r!==S.INTERIOR&&r!==S.BOUNDARY||this.label.setLocation(i,S.INTERIOR)}},interfaces_:function(){return[]},getClass:function(){return yn}}),c(_n,cn),e(_n.prototype,{createNode:function(t){return new an(t,new yn)},interfaces_:function(){return[]},getClass:function(){return _n}}),e(bn.prototype,{computeIntersections:function(t,e){this.mce.computeIntersectsForChain(this.chainIndex,t.mce,t.chainIndex,e)},interfaces_:function(){return[]},getClass:function(){return bn}}),e(wn.prototype,{isDelete:function(){return this.eventType===wn.DELETE},setDeleteEventIndex:function(t){this.deleteEventIndex=t},getObject:function(){return this.obj},compareTo:function(t){var e=t;return this.xValuee.xValue?1:this.eventTypee.eventType?1:0},getInsertEvent:function(){return this.insertEvent},isInsert:function(){return this.eventType===wn.INSERT},isSameLabel:function(t){return null!==this.label&&this.label===t.label},getDeleteEventIndex:function(){return this.deleteEventIndex},interfaces_:function(){return[o]},getClass:function(){return wn}}),wn.INSERT=1,wn.DELETE=2,e(xn.prototype,{interfaces_:function(){return[]},getClass:function(){return xn}}),e(kn.prototype,{isTrivialIntersection:function(t,e,n,i){if(t===n&&1===this.li.getIntersectionNum()){if(kn.isAdjacentSegments(e,i))return!0;if(t.isClosed()){var r=t.getNumPoints()-1;if(0===e&&i===r||0===i&&e===r)return!0}}return!1},getProperIntersectionPoint:function(){return this.properIntersectionPoint},setIsDoneIfProperInt:function(t){this.isDoneWhenProperInt=t},hasProperInteriorIntersection:function(){return this.hasProperInterior},isBoundaryPointInternal:function(t,e){for(var n=e.iterator();n.hasNext();){var i=n.next().getCoordinate();if(t.isIntersection(i))return!0}return!1},hasProperIntersection:function(){return this.hasProper},hasIntersection:function(){return this._hasIntersection},isDone:function(){return this._isDone},isBoundaryPoint:function(t,e){return!(null===e||!this.isBoundaryPointInternal(t,e[0])&&!this.isBoundaryPointInternal(t,e[1]))},setBoundaryNodes:function(t,e){this.bdyNodes=new Array(2).fill(null),this.bdyNodes[0]=t,this.bdyNodes[1]=e},addIntersections:function(t,e,n,i){if(t===n&&e===i)return null;this.numTests++;var r=t.getCoordinates()[e],o=t.getCoordinates()[e+1],a=n.getCoordinates()[i],s=n.getCoordinates()[i+1];this.li.computeIntersection(r,o,a,s),this.li.hasIntersection()&&(this.recordIsolated&&(t.setIsolated(!1),n.setIsolated(!1)),this.numIntersections++,this.isTrivialIntersection(t,e,n,i)||(this._hasIntersection=!0,!this.includeProper&&this.li.isProper()||(t.addIntersections(this.li,e,0),n.addIntersections(this.li,i,1)),this.li.isProper()&&(this.properIntersectionPoint=this.li.getIntersection(0).copy(),this.hasProper=!0,this.isDoneWhenProperInt&&(this._isDone=!0),this.isBoundaryPoint(this.li,this.bdyNodes)||(this.hasProperInterior=!0))))},interfaces_:function(){return[]},getClass:function(){return kn}}),kn.isAdjacentSegments=function(t,e){return 1===Math.abs(t-e)},c(Cn,xn),e(Cn.prototype,{prepareEvents:function(){Jo.sort(this.events);for(var t=0;te||this.maxo?1:0},interfaces_:function(){return[s]},getClass:function(){return Sn}}),Ln.NodeComparator=Sn,c(Mn,Ln),e(Mn.prototype,{query:function(t,e,n){return this.intersects(t,e)?void n.visitItem(this.item):null},interfaces_:function(){return[]},getClass:function(){return Mn}}),c(Tn,Ln),e(Tn.prototype,{buildExtent:function(t,e){this.min=Math.min(t.min,e.min),this.max=Math.max(t.max,e.max)},query:function(t,e,n){return this.intersects(t,e)?(null!==this.node1&&this.node1.query(t,e,n),void(null!==this.node2&&this.node2.query(t,e,n))):null},interfaces_:function(){return[]},getClass:function(){return Tn}}),e(En.prototype,{buildTree:function(){Jo.sort(this.leaves,new IntervalRTreeNode.NodeComparator);for(var t=this.leaves,e=null,n=new w;;){if(this.buildLevel(t,n),1===n.size())return n.get(0);e=t,t=n,n=e}},insert:function(t,e,n){if(null!==this.root)throw new IllegalStateException("Index cannot be added to once it has been queried");this.leaves.add(new Mn(t,e,n))},query:function(t,e,n){this.init(),this.root.query(t,e,n)},buildRoot:function(){return null!==this.root?null:void(this.root=this.buildTree())},printNode:function(t){N.out.println(qt.toLineString(new f(t.min,this.level),new f(t.max,this.level)))},init:function(){return null!==this.root?null:void this.buildRoot()},buildLevel:function(t,e){this.level++,e.clear();for(var n=0;n0||!e.coord.equals2D(i);r||n--;var o=new Array(n).fill(null),a=0;o[a++]=new f(t.coord);for(var s=t.segmentIndex+1;s<=e.segmentIndex;s++)o[a++]=this.edge.pts[s];return r&&(o[a]=e.coord),new Fn(o,new tn(this.edge.label))},add:function(t,e,n){var i=new Nn(t,e,n),r=this.nodeMap.get(i);return null!==r?r:(this.nodeMap.put(i,i),i)},isIntersection:function(t){for(var e=this.iterator();e.hasNext();)if(e.next().coord.equals(t))return!0;return!1},interfaces_:function(){return[]},getClass:function(){return Rn}}),e(jn.prototype,{getChainStartIndices:function(t){var e=0,n=new w;n.add(new O(e));do{var i=this.findChainEnd(t,e);n.add(new O(i)),e=i}while(en?e:n},getMinX:function(t){var e=this.pts[this.startIndex[t]].x,n=this.pts[this.startIndex[t+1]].x;return ee&&(i=1),this.depth[t][n]=i}}},getDelta:function(t){return this.depth[t][Ke.RIGHT]-this.depth[t][Ke.LEFT]},getLocation:function(t,e){return this.depth[t][e]<=0?S.EXTERIOR:S.INTERIOR},toString:function(){return"A: "+this.depth[0][1]+","+this.depth[0][2]+" B: "+this.depth[1][1]+","+this.depth[1][2]},add:function(){if(1===arguments.length)for(var t=arguments[0],e=0;e<2;e++)for(var n=1;n<3;n++){var i=t.getLocation(e,n);i!==S.EXTERIOR&&i!==S.INTERIOR||(this.isNull(e,n)?this.depth[e][n]=Yn.depthAtLocation(i):this.depth[e][n]+=Yn.depthAtLocation(i))}else if(3===arguments.length){var r=arguments[0],o=arguments[1],a=arguments[2];a===S.INTERIOR&&this.depth[r][o]++}},interfaces_:function(){return[]},getClass:function(){return Yn}}),Yn.depthAtLocation=function(t){return t===S.EXTERIOR?0:t===S.INTERIOR?1:Yn.NULL_VALUE},Yn.NULL_VALUE=-1,c(Fn,on),e(Fn.prototype,{getDepth:function(){return this.depth},getCollapsedEdge:function(){var t=new Array(2).fill(null);return t[0]=this.pts[0],t[1]=this.pts[1],new Fn(t,tn.toLineLabel(this.label))},isIsolated:function(){return this._isIsolated},getCoordinates:function(){return this.pts},setIsolated:function(t){this._isIsolated=t},setName:function(t){this.name=t},equals:function(t){if(!(t instanceof Fn))return!1;var e=t;if(this.pts.length!==e.pts.length)return!1;for(var n=!0,i=!0,r=this.pts.length,o=0;o0?this.pts[0]:null;if(1===arguments.length){var t=arguments[0];return this.pts[t]}},print:function(t){t.print("edge "+this.name+": "),t.print("LINESTRING (");for(var e=0;e0&&t.print(","),t.print(this.pts[e].x+" "+this.pts[e].y);t.print(") "+this.label+" "+this.depthDelta)},computeIM:function(t){Fn.updateIM(this.label,t)},isCollapsed:function(){return!!this.label.isArea()&&3===this.pts.length&&!!this.pts[0].equals(this.pts[2])},isClosed:function(){return this.pts[0].equals(this.pts[this.pts.length-1])},getMaximumSegmentIndex:function(){return this.pts.length-1},getDepthDelta:function(){return this.depthDelta},getNumPoints:function(){return this.pts.length},printReverse:function(t){t.print("edge "+this.name+": ");for(var e=this.pts.length-1;e>=0;e--)t.print(this.pts[e]+" ");t.println("")},getMonotoneChainEdge:function(){return null===this.mce&&(this.mce=new zn(this)),this.mce},getEnvelope:function(){if(null===this.env){this.env=new k;for(var t=0;t0&&t.append(","),t.append(this.pts[e].x+" "+this.pts[e].y);return t.append(") "+this.label+" "+this.depthDelta),t.toString()},isPointwiseEqual:function(t){if(this.pts.length!==t.pts.length)return!1;for(var e=0;e=2,"found LineString with single point"),this.insertBoundaryPoint(this.argIndex,e[0]),this.insertBoundaryPoint(this.argIndex,e[e.length-1])},getInvalidPoint:function(){return this.invalidPoint},getBoundaryPoints:function(){for(var t=this.getBoundaryNodes(),e=new Array(t.size()).fill(null),n=0,i=t.iterator();i.hasNext();){var r=i.next();e[n++]=r.getCoordinate().copy()}return e},getBoundaryNodes:function(){return null===this.boundaryNodes&&(this.boundaryNodes=this.nodes.getBoundaryNodes(this.argIndex)),this.boundaryNodes},addSelfIntersectionNode:function(t,e,n){return this.isBoundaryNode(t,e)?null:void(n===S.BOUNDARY&&this.useBoundaryDeterminationRule?this.insertBoundaryPoint(t,e):this.insertPoint(t,e,n))},addPolygonRing:function(t,e,n){if(t.isEmpty())return null;var i=W.removeRepeatedPoints(t.getCoordinates());if(i.length<4)return this._hasTooFewPoints=!0,this.invalidPoint=i[0],null;var r=e,o=n;Qt.isCCW(i)&&(r=n,o=e);var a=new Fn(i,new tn(this.argIndex,S.BOUNDARY,r,o));this.lineEdgeMap.put(t,a),this.insertEdge(a),this.insertPoint(this.argIndex,i[0],S.BOUNDARY)},insertPoint:function(t,e,n){var i=this.nodes.addNode(e),r=i.getLabel();null===r?i.label=new tn(t,n):r.setLocation(t,n)},createEdgeSetIntersector:function(){return new Cn},addSelfIntersectionNodes:function(t){for(var e=this.edges.iterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.eiList.iterator();r.hasNext();){var o=r.next();this.addSelfIntersectionNode(t,o.coord,i)}},add:function(){if(1!==arguments.length)return dn.prototype.add.apply(this,arguments);var t=arguments[0];if(t.isEmpty())return null;if(t instanceof Ot&&(this.useBoundaryDeterminationRule=!1),t instanceof Mt)this.addPolygon(t);else if(t instanceof kt)this.addLineString(t);else if(t instanceof Lt)this.addPoint(t);else if(t instanceof Tt)this.addCollection(t);else if(t instanceof ft)this.addCollection(t);else if(t instanceof Ot)this.addCollection(t);else{if(!(t instanceof ht))throw new UnsupportedOperationException(t.getClass().getName());this.addCollection(t)}},addCollection:function(t){for(var e=0;e50?(null===this.areaPtLocator&&(this.areaPtLocator=new Dn(this.parentGeom)),this.areaPtLocator.locate(t)):this.ptLocator.locate(t,this.parentGeom)},findEdge:function(){if(1===arguments.length){var t=arguments[0];return this.lineEdgeMap.get(t)}return dn.prototype.findEdge.apply(this,arguments)},interfaces_:function(){return[]},getClass:function(){return Bn}}),Bn.determineBoundary=function(t,e){return t.isInBoundary(e)?S.BOUNDARY:S.INTERIOR},e($n.prototype,{getArgGeometry:function(t){return this.arg[t].getGeometry()},setComputationPrecision:function(t){this.resultPrecisionModel=t,this.li.setPrecisionModel(this.resultPrecisionModel)},interfaces_:function(){return[]},getClass:function(){return $n}}),e(Hn.prototype,{compareTo:function(t){var e=t;return Hn.compareOriented(this.pts,this._orientation,e.pts,e._orientation)},interfaces_:function(){return[o]},getClass:function(){return Hn}}),Hn.orientation=function(t){return 1===W.increasingDirection(t)},Hn.compareOriented=function(t,e,n,i){for(var r=e?1:-1,o=i?1:-1,a=e?t.length:-1,s=i?n.length:-1,l=e?0:t.length-1,u=i?0:n.length-1;;){var c=t[l].compareTo(n[u]);if(0!==c)return c;var d=(l+=r)===a,h=(u+=o)===s;if(d&&!h)return-1;if(!d&&h)return 1;if(d&&h)return 0}},e(Un.prototype,{print:function(t){t.print("MULTILINESTRING ( ");for(var e=0;e0&&t.print(","),t.print("(");for(var i=n.getCoordinates(),r=0;r0&&t.print(","),t.print(i[r].x+" "+i[r].y);t.println(")")}t.print(") ")},addAll:function(t){for(var e=t.iterator();e.hasNext();)this.add(e.next())},findEdgeIndex:function(t){for(var e=0;ethis.maxWidth)&&(this.interiorPoint=e,this.maxWidth=n)},getInteriorPoint:function(){return this.interiorPoint},widestGeometry:function(){if(arguments[0]instanceof ht){var t=arguments[0];if(t.isEmpty())return t;for(var e=t.getGeometryN(0),n=1;ne.getEnvelopeInternal().getWidth()&&(e=t.getGeometryN(n));return e}if(arguments[0]instanceof Y){var i=arguments[0];return i instanceof ht?this.widestGeometry(i):i}},horizontalBisector:function(t){var e=t.getEnvelopeInternal(),n=Zn.getBisectorY(t);return this.factory.createLineString([new f(e.getMinX(),n),new f(e.getMaxX(),n)])},add:function(t){if(t instanceof Mt)this.addPolygon(t);else if(t instanceof ht)for(var e=t,n=0;nthis.loY&&(this.loY=t):t>this.centreY&&tt&&(t=n)}return t+1},nodeSize:function(){for(var t=0,e=0;e<2;e++)null!==this.subnode[e]&&(t+=this.subnode[e].nodeSize());return t+1},add:function(t){this.items.add(t)},interfaces_:function(){return[]},getClass:function(){return Qn}}),Qn.getSubnodeIndex=function(t,e){var n=-1;return t.min>=e&&(n=1),t.max<=e&&(n=0),n},e(ti.prototype,{expandToInclude:function(t){t.max>this.max&&(this.max=t.max),t.minn||this.max=this.min&&e<=this.max}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return n>=this.min&&i<=this.max}},init:function(t,e){this.min=t,this.max=e,t>e&&(this.min=e,this.max=t)},getMax:function(){return this.max},interfaces_:function(){return[]},getClass:function(){return ti}}),ei.exponent=function(t){return function(t,e){var n,i,r,o,a={32:8,64:11}[t];if(o||(n=e<0||1/e<0,isFinite(e)||(o={32:{d:127,c:128,b:0,a:0},64:{d:32752,c:0,b:0,a:0}}[t],n&&(o.d+=1<=2;)i++,r/=2;for(;r<1&&i>0;)i--,r*=2;i<=0&&(r/=2),32===t&&i>254&&(o={d:n?255:127,c:128,b:0,a:0},i=Math.pow(2,a)-1,r=0)}return i}(64,t)-1023},ei.powerOf2=function(t){return Math.pow(2,t)},e(ni.prototype,{getInterval:function(){return this.interval},getLevel:function(){return this.level},computeKey:function(t){for(this.level=ni.computeLevel(t),this.interval=new ti,this.computeInterval(this.level,t);!this.interval.contains(t);)this.level+=1,this.computeInterval(this.level,t)},computeInterval:function(t,e){var n=ei.powerOf2(t);this.pt=Math.floor(e.getMin()/n)*n,this.interval.init(this.pt,this.pt+n)},getPoint:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return ni}}),ni.computeLevel=function(t){var e=t.getWidth();return ei.exponent(e)+1},c(ii,Qn),e(ii.prototype,{getInterval:function(){return this.interval},find:function(t){var e=Qn.getSubnodeIndex(t,this.centre);return-1===e?this:null!==this.subnode[e]?this.subnode[e].find(t):this},insert:function(t){h.isTrue(null===this.interval||this.interval.contains(t.interval));var e=Qn.getSubnodeIndex(t.interval,this.centre);if(t.level===this.level-1)this.subnode[e]=t;else{var n=this.createSubnode(e);n.insert(t),this.subnode[e]=n}},isSearchMatch:function(t){return t.overlaps(this.interval)},getSubnode:function(t){return null===this.subnode[t]&&(this.subnode[t]=this.createSubnode(t)),this.subnode[t]},getNode:function(t){var e=Qn.getSubnodeIndex(t,this.centre);return-1!==e?this.getSubnode(e).getNode(t):this},createSubnode:function(t){var e=0,n=0;switch(t){case 0:e=this.interval.getMin(),n=this.centre;break;case 1:e=this.centre,n=this.interval.getMax()}return new ii(new ti(e,n),this.level-1)},interfaces_:function(){return[]},getClass:function(){return ii}}),ii.createNode=function(t){var e=new ni(t);return new ii(e.getInterval(),e.getLevel())},ii.createExpanded=function(t,e){var n=new ti(e);null!==t&&n.expandToInclude(t.interval);var i=ii.createNode(n);return null!==t&&i.insert(t),i},e(ri.prototype,{interfaces_:function(){return[]},getClass:function(){return ri}}),ri.isZeroWidth=function(t,e){var n=e-t;if(0===n)return!0;var i=n/Math.max(Math.abs(t),Math.abs(e));return ei.exponent(i)<=ri.MIN_BINARY_EXPONENT},ri.MIN_BINARY_EXPONENT=-50,c(oi,Qn),e(oi.prototype,{insert:function(t,e){var n=Qn.getSubnodeIndex(t,oi.origin);if(-1===n)return this.add(e),null;var i=this.subnode[n];if(null===i||!i.getInterval().contains(t)){var r=ii.createExpanded(i,t);this.subnode[n]=r}this.insertContained(this.subnode[n],t,e)},isSearchMatch:function(t){return!0},insertContained:function(t,e,n){h.isTrue(t.getInterval().contains(e)),(ri.isZeroWidth(e.getMin(),e.getMax())?t.find(e):t.getNode(e)).add(n)},interfaces_:function(){return[]},getClass:function(){return oi}}),oi.origin=0,e(ai.prototype,{size:function(){return null!==this.root?this.root.size():0},insert:function(t,e){this.collectStats(t);var n=ai.ensureExtent(t,this.minExtent);this.root.insert(n,e)},query:function(){if(1===arguments.length){if("number"==typeof arguments[0]){var t=arguments[0];return this.query(new ti(t,t))}if(arguments[0]instanceof ti){var e=arguments[0],n=new w;return this.query(e,n),n}}else if(2===arguments.length){var i=arguments[0],r=arguments[1];this.root.addAllItemsFromOverlapping(i,r)}},iterator:function(){var t=new w;return this.root.addAllItems(t),t.iterator()},remove:function(t,e){var n=ai.ensureExtent(t,this.minExtent);return this.root.remove(n,e)},collectStats:function(t){var e=t.getWidth();e0&&(this.minExtent=e)},depth:function(){return null!==this.root?this.root.depth():0},nodeSize:function(){return null!==this.root?this.root.nodeSize():0},interfaces_:function(){return[]},getClass:function(){return ai}}),ai.ensureExtent=function(t,e){var n=t.getMin(),i=t.getMax();return n!==i?t:(n===i&&(i=(n-=e/2)+e/2),new ti(n,i))},e(si.prototype,{isInside:function(t){},interfaces_:function(){return[]},getClass:function(){return si}}),e(li.prototype,{testLineSegment:function(t,e){var n,i,r,o,a=e.p0,s=e.p1;n=a.x-t.x,i=a.y-t.y,r=s.x-t.x,o=s.y-t.y,(i>0&&o<=0||o>0&&i<=0)&&0Math.PI;)t-=ci.PI_TIMES_2;for(;t<=-Math.PI;)t+=ci.PI_TIMES_2;return t},ci.angle=function(){if(1===arguments.length){var t=arguments[0];return Math.atan2(t.y,t.x)}if(2===arguments.length){var e=arguments[0],n=arguments[1],i=n.x-e.x,r=n.y-e.y;return Math.atan2(r,i)}},ci.isAcute=function(t,e,n){var i=t.x-e.x,r=t.y-e.y;return i*(n.x-e.x)+r*(n.y-e.y)>0},ci.isObtuse=function(t,e,n){var i=t.x-e.x,r=t.y-e.y;return i*(n.x-e.x)+r*(n.y-e.y)<0},ci.interiorAngle=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n);return Math.abs(r-i)},ci.normalizePositive=function(t){if(t<0){for(;t<0;)t+=ci.PI_TIMES_2;t>=ci.PI_TIMES_2&&(t=0)}else{for(;t>=ci.PI_TIMES_2;)t-=ci.PI_TIMES_2;t<0&&(t=0)}return t},ci.angleBetween=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n);return ci.diff(i,r)},ci.diff=function(t,e){var n=null;return(n=tMath.PI&&(n=2*Math.PI-n),n},ci.toRadians=function(t){return t*Math.PI/180},ci.getTurn=function(t,e){var n=Math.sin(e-t);return n>0?ci.COUNTERCLOCKWISE:n<0?ci.CLOCKWISE:ci.NONE},ci.angleBetweenOriented=function(t,e,n){var i=ci.angle(e,t),r=ci.angle(e,n)-i;return r<=-Math.PI?r+ci.PI_TIMES_2:r>Math.PI?r-ci.PI_TIMES_2:r},ci.PI_TIMES_2=2*Math.PI,ci.PI_OVER_2=Math.PI/2,ci.PI_OVER_4=Math.PI/4,ci.COUNTERCLOCKWISE=Qt.COUNTERCLOCKWISE,ci.CLOCKWISE=Qt.CLOCKWISE,ci.NONE=Qt.COLLINEAR,e(di.prototype,{area:function(){return di.area(this.p0,this.p1,this.p2)},signedArea:function(){return di.signedArea(this.p0,this.p1,this.p2)},interpolateZ:function(t){if(null===t)throw new i("Supplied point is null.");return di.interpolateZ(t,this.p0,this.p1,this.p2)},longestSideLength:function(){return di.longestSideLength(this.p0,this.p1,this.p2)},isAcute:function(){return di.isAcute(this.p0,this.p1,this.p2)},circumcentre:function(){return di.circumcentre(this.p0,this.p1,this.p2)},area3D:function(){return di.area3D(this.p0,this.p1,this.p2)},centroid:function(){return di.centroid(this.p0,this.p1,this.p2)},inCentre:function(){return di.inCentre(this.p0,this.p1,this.p2)},interfaces_:function(){return[]},getClass:function(){return di}}),di.area=function(t,e,n){return Math.abs(((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2)},di.signedArea=function(t,e,n){return((n.x-t.x)*(e.y-t.y)-(e.x-t.x)*(n.y-t.y))/2},di.det=function(t,e,n,i){return t*i-e*n},di.interpolateZ=function(t,e,n,i){var r=e.x,o=e.y,a=n.x-r,s=i.x-r,l=n.y-o,u=i.y-o,c=a*u-s*l,d=t.x-r,h=t.y-o,f=(u*d-s*h)/c,p=(-l*d+a*h)/c;return e.z+f*(n.z-e.z)+p*(i.z-e.z)},di.longestSideLength=function(t,e,n){var i=t.distance(e),r=e.distance(n),o=n.distance(t),a=i;return r>a&&(a=r),o>a&&(a=o),a},di.isAcute=function(t,e,n){return!!ci.isAcute(t,e,n)&&!!ci.isAcute(e,n,t)&&!!ci.isAcute(n,t,e)},di.circumcentre=function(t,e,n){var i=n.x,r=n.y,o=t.x-i,a=t.y-r,s=e.x-i,l=e.y-r,u=2*di.det(o,a,s,l);return new f(i-di.det(a,o*o+a*a,l,s*s+l*l)/u,r+di.det(o,o*o+a*a,s,s*s+l*l)/u)},di.perpendicularBisector=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=new R(t.x+n/2,t.y+i/2,1),o=new R(t.x-i+n/2,t.y+n+i/2,1);return new R(r,o)},di.angleBisector=function(t,e,n){var i=e.distance(t),r=i/(i+e.distance(n)),o=n.x-t.x,a=n.y-t.y;return new f(t.x+r*o,t.y+r*a)},di.area3D=function(t,e,n){var i=e.x-t.x,r=e.y-t.y,o=e.z-t.z,a=n.x-t.x,s=n.y-t.y,l=n.z-t.z,u=r*l-o*s,c=o*a-i*l,d=i*s-r*a,h=u*u+c*c+d*d;return Math.sqrt(h)/2},di.centroid=function(t,e,n){return new f((t.x+e.x+n.x)/3,(t.y+e.y+n.y)/3)},di.inCentre=function(t,e,n){var i=e.distance(n),r=t.distance(n),o=t.distance(e),a=i+r+o;return new f((i*t.x+r*e.x+o*n.x)/a,(i*t.y+r*e.y+o*n.y)/a)},e(hi.prototype,{getRadius:function(){return this.compute(),this.radius},getDiameter:function(){switch(this.compute(),this.extremalPts.length){case 0:return this.input.getFactory().createLineString();case 1:return this.input.getFactory().createPoint(this.centre)}var t=this.extremalPts[0],e=this.extremalPts[1];return this.input.getFactory().createLineString([t,e])},getExtremalPoints:function(){return this.compute(),this.extremalPts},computeCirclePoints:function(){if(this.input.isEmpty())return this.extremalPts=new Array(0).fill(null),null;if(1===this.input.getNumPoints()){var t=this.input.getCoordinates();return this.extremalPts=[new f(t[0])],null}var e=this.input.convexHull().getCoordinates();if(t=e,e[0].equals2D(e[e.length-1])&&(t=new Array(e.length-1).fill(null),W.copyDeep(e,0,t,0,e.length-1)),t.length<=2)return this.extremalPts=W.copyDeep(t),null;for(var n=hi.lowestPoint(t),i=hi.pointWitMinAngleWithX(t,n),r=0;r=i;)i=r,o=a,a=fi.nextIndex(t,o),r=e.distancePerpendicular(t[a]);return ii&&(i=l),la&&(a=u),u=t.length&&(e=0),e},fi.computeC=function(t,e,n){return t*n.y-e*n.x},fi.getMinimumDiameter=function(t){return new fi(t).getDiameter()},fi.getMinimumRectangle=function(t){return new fi(t).getMinimumRectangle()},fi.computeSegmentForLine=function(t,e,n){var i=null,r=null;return Math.abs(e)>Math.abs(t)?(i=new f(0,n/e),r=new f(1,n/e-t/e)):(i=new f(n/t,0),r=new f(n/t-e/t,1)),new te(i,r)};var Ko=Object.freeze({Centroid:ne,CGAlgorithms:Qt,ConvexHull:ae,InteriorPointArea:qn,InteriorPointLine:Xn,InteriorPointPoint:Jn,RobustLineIntersector:Xt,MCPointInRing:li,MinimumBoundingCircle:hi,MinimumDiameter:fi});e(pi.prototype,{getResultGeometry:function(){return new mi(this.distanceTolerance).transform(this.inputGeom)},setDistanceTolerance:function(t){if(t<=0)throw new i("Tolerance must be positive");this.distanceTolerance=t},interfaces_:function(){return[]},getClass:function(){return pi}}),pi.densifyPoints=function(t,e,n){for(var i=new te,r=new x,o=0;o1)for(var l=a/s,u=1;ua?1:ot&&(t=n)}return t+1},isEmpty:function(){var t=!0;this.items.isEmpty()||(t=!1);for(var e=0;e<4;e++)null!==this.subnode[e]&&(this.subnode[e].isEmpty()||(t=!1));return t},add:function(t){this.items.add(t)},interfaces_:function(){return[l]},getClass:function(){return xi}}),xi.getSubnodeIndex=function(t,e,n){var i=-1;return t.getMinX()>=e&&(t.getMinY()>=n&&(i=3),t.getMaxY()<=n&&(i=1)),t.getMaxX()<=e&&(t.getMinY()>=n&&(i=2),t.getMaxY()<=n&&(i=0)),i},e(ki.prototype,{getLevel:function(){return this.level},computeKey:function(){if(1===arguments.length){var t=arguments[0];for(this.level=ki.computeQuadLevel(t),this.env=new k,this.computeKey(this.level,t);!this.env.contains(t);)this.level+=1,this.computeKey(this.level,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=ei.powerOf2(e);this.pt.x=Math.floor(n.getMinX()/i)*i,this.pt.y=Math.floor(n.getMinY()/i)*i,this.env.init(this.pt.x,this.pt.x+i,this.pt.y,this.pt.y+i)}},getEnvelope:function(){return this.env},getCentre:function(){return new f((this.env.getMinX()+this.env.getMaxX())/2,(this.env.getMinY()+this.env.getMaxY())/2)},getPoint:function(){return this.pt},interfaces_:function(){return[]},getClass:function(){return ki}}),ki.computeQuadLevel=function(t){var e=t.getWidth(),n=t.getHeight(),i=e>n?e:n;return ei.exponent(i)+1},c(Ci,xi),e(Ci.prototype,{find:function(t){var e=xi.getSubnodeIndex(t,this.centrex,this.centrey);return-1===e?this:null!==this.subnode[e]?this.subnode[e].find(t):this},isSearchMatch:function(t){return this.env.intersects(t)},getSubnode:function(t){return null===this.subnode[t]&&(this.subnode[t]=this.createSubnode(t)),this.subnode[t]},getEnvelope:function(){return this.env},getNode:function(t){var e=xi.getSubnodeIndex(t,this.centrex,this.centrey);return-1!==e?this.getSubnode(e).getNode(t):this},createSubnode:function(t){var e=0,n=0,i=0,r=0;switch(t){case 0:e=this.env.getMinX(),n=this.centrex,i=this.env.getMinY(),r=this.centrey;break;case 1:e=this.centrex,n=this.env.getMaxX(),i=this.env.getMinY(),r=this.centrey;break;case 2:e=this.env.getMinX(),n=this.centrex,i=this.centrey,r=this.env.getMaxY();break;case 3:e=this.centrex,n=this.env.getMaxX(),i=this.centrey,r=this.env.getMaxY()}return new Ci(new k(e,n,i,r),this.level-1)},insertNode:function(t){h.isTrue(null===this.env||this.env.contains(t.env));var e=xi.getSubnodeIndex(t.env,this.centrex,this.centrey);if(t.level===this.level-1)this.subnode[e]=t;else{var n=this.createSubnode(e);n.insertNode(t),this.subnode[e]=n}},interfaces_:function(){return[]},getClass:function(){return Ci}}),Ci.createNode=function(t){var e=new ki(t);return new Ci(e.getEnvelope(),e.getLevel())},Ci.createExpanded=function(t,e){var n=new k(e);null!==t&&n.expandToInclude(t.env);var i=Ci.createNode(n);return null!==t&&i.insertNode(t),i},c(Li,xi),e(Li.prototype,{insert:function(t,e){var n=xi.getSubnodeIndex(t,Li.origin.x,Li.origin.y);if(-1===n)return this.add(e),null;var i=this.subnode[n];if(null===i||!i.getEnvelope().contains(t)){var r=Ci.createExpanded(i,t);this.subnode[n]=r}this.insertContained(this.subnode[n],t,e)},isSearchMatch:function(t){return!0},insertContained:function(t,e,n){h.isTrue(t.getEnvelope().contains(e));var i=ri.isZeroWidth(e.getMinX(),e.getMaxX()),r=ri.isZeroWidth(e.getMinY(),e.getMaxY());(i||r?t.find(e):t.getNode(e)).add(n)},interfaces_:function(){return[]},getClass:function(){return Li}}),Li.origin=new f(0,0),e(Si.prototype,{size:function(){return null!==this.root?this.root.size():0},insert:function(t,e){this.collectStats(t);var n=Si.ensureExtent(t,this.minExtent);this.root.insert(n,e)},query:function(){if(1===arguments.length){var t=arguments[0],e=new Pn;return this.query(t,e),e.getItems()}if(2===arguments.length){var n=arguments[0],i=arguments[1];this.root.visit(n,i)}},queryAll:function(){var t=new w;return this.root.addAllItems(t),t},remove:function(t,e){var n=Si.ensureExtent(t,this.minExtent);return this.root.remove(n,e)},collectStats:function(t){var e=t.getWidth();e0&&(this.minExtent=e);var n=t.getHeight();n0&&(this.minExtent=n)},depth:function(){return null!==this.root?this.root.depth():0},isEmpty:function(){return null===this.root},interfaces_:function(){return[Le,l]},getClass:function(){return Si}}),Si.ensureExtent=function(t,e){var n=t.getMinX(),i=t.getMaxX(),r=t.getMinY(),o=t.getMaxY();return n!==i&&r!==o?t:(n===i&&(i=(n-=e/2)+e/2),r===o&&(o=(r-=e/2)+e/2),new k(n,i,r,o))},Si.serialVersionUID=-0x678b60c967a25400;var na=Object.freeze({Quadtree:Si}),ia=Object.freeze({STRtree:Oe}),ra=Object.freeze({quadtree:na,strtree:ia}),oa=["Point","MultiPoint","LineString","MultiLineString","Polygon","MultiPolygon"];e(Mi.prototype,{read:function(t){var e,n=(e="string"==typeof t?JSON.parse(t):t).type;if(!aa[n])throw new Error("Unknown GeoJSON type: "+e.type);return-1!==oa.indexOf(n)?aa[n].apply(this,[e.coordinates]):"GeometryCollection"===n?aa[n].apply(this,[e.geometries]):aa[n].apply(this,[e])},write:function(t){var e=t.getGeometryType();if(!sa[e])throw new Error("Geometry is not supported");return sa[e].apply(this,[t])}});var aa={Feature:function(t){var e={};for(var n in t)e[n]=t[n];if(t.geometry){var i=t.geometry.type;if(!aa[i])throw new Error("Unknown GeoJSON type: "+t.type);e.geometry=this.read(t.geometry)}return t.bbox&&(e.bbox=aa.bbox.apply(this,[t.bbox])),e},FeatureCollection:function(t){var e={};if(t.features){e.features=[];for(var n=0;n0&&this.minIndexthis.minCoord.y&&n.y>this.minCoord.y&&i===Qt.CLOCKWISE)&&(r=!0),r&&(this.minIndex=this.minIndex-1)},getRightmostSideOfSegment:function(t,e){var n=t.getEdge().getCoordinates();if(e<0||e+1>=n.length)return-1;if(n[e].y===n[e+1].y)return-1;var i=Ke.LEFT;return n[e].ythis.minCoord.x)&&(this.minDe=t,this.minIndex=n,this.minCoord=e[n])},findRightmostEdgeAtNode:function(){var t=this.minDe.getNode().getEdges();this.minDe=t.getRightmostEdge(),this.minDe.isForward()||(this.minDe=this.minDe.getSym(),this.minIndex=this.minDe.getEdge().getCoordinates().length-1)},findEdge:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();n.isForward()&&this.checkForRightmostCoordinate(n)}h.isTrue(0!==this.minIndex||this.minCoord.equals(this.minDe.getCoordinate()),"inconsistency in rightmost processing"),0===this.minIndex?this.findRightmostEdgeAtNode():this.findRightmostEdgeAtVertex(),this.orientedDe=this.minDe,this.getRightmostSide(this.minDe,this.minIndex)===Ke.LEFT&&(this.orientedDe=this.minDe.getSym())},interfaces_:function(){return[]},getClass:function(){return ji}}),zi.prototype.addLast=function(t){this.array_.push(t)},zi.prototype.removeFirst=function(){return this.array_.shift()},zi.prototype.isEmpty=function(){return 0===this.array_.length},e(Yi.prototype,{clearVisitedEdges:function(){for(var t=this.dirEdgeList.iterator();t.hasNext();)t.next().setVisited(!1)},getRightmostCoordinate:function(){return this.rightMostCoord},computeNodeDepth:function(t){for(var e=null,n=t.getEdges().iterator();n.hasNext();)if((i=n.next()).isVisited()||i.getSym().isVisited()){e=i;break}if(null===e)throw new We("unable to find edge to compute depths at "+t.getCoordinate());for(t.getEdges().computeDepths(e),n=t.getEdges().iterator();n.hasNext();){var i;(i=n.next()).setVisited(!0),this.copySymDepths(i)}},computeDepth:function(t){this.clearVisitedEdges();var e=this.finder.getEdge();e.getNode(),e.getLabel(),e.setEdgeDepths(Ke.RIGHT,t),this.copySymDepths(e),this.computeDepths(e)},create:function(t){this.addReachable(t),this.finder.findEdge(this.dirEdgeList),this.rightMostCoord=this.finder.getCoordinate()},findResultEdges:function(){for(var t=this.dirEdgeList.iterator();t.hasNext();){var e=t.next();e.getDepth(Ke.RIGHT)>=1&&e.getDepth(Ke.LEFT)<=0&&!e.isInteriorAreaEdge()&&e.setInResult(!0)}},computeDepths:function(t){var e=new K,n=new zi,i=t.getNode();for(n.addLast(i),e.add(i),t.setVisited(!0);!n.isEmpty();){var r=n.removeFirst();e.add(r),this.computeNodeDepth(r);for(var o=r.getEdges().iterator();o.hasNext();){var a=o.next().getSym();if(!a.isVisited()){var s=a.getNode();e.contains(s)||(n.addLast(s),e.add(s))}}}},compareTo:function(t){var e=t;return this.rightMostCoord.xe.rightMostCoord.x?1:0},getEnvelope:function(){if(null===this.env){for(var t=new k,e=this.dirEdgeList.iterator();e.hasNext();)for(var n=e.next().getEdge().getCoordinates(),i=0;i=0;n--)this.addPt(t[n])},isRedundant:function(t){if(this.ptList.size()<1)return!1;var e=this.ptList.get(this.ptList.size()-1);return t.distance(e)=2&&this.ptList.get(this.ptList.size()-2),t.equals(e)?null:void this.ptList.add(t)},setMinimumVertexDistance:function(t){this.minimimVertexDistance=t},interfaces_:function(){return[]},getClass:function(){return Bi}}),Bi.COORDINATE_ARRAY_TYPE=new Array(0).fill(null),e($i.prototype,{addNextSegment:function(t,e){if(this.s0=this.s1,this.s1=this.s2,this.s2=t,this.seg0.setCoordinates(this.s0,this.s1),this.computeOffsetSegment(this.seg0,this.side,this.distance,this.offset0),this.seg1.setCoordinates(this.s1,this.s2),this.computeOffsetSegment(this.seg1,this.side,this.distance,this.offset1),this.s1.equals(this.s2))return null;var n=Qt.computeOrientation(this.s0,this.s1,this.s2),i=n===Qt.CLOCKWISE&&this.side===Ke.LEFT||n===Qt.COUNTERCLOCKWISE&&this.side===Ke.RIGHT;0===n?this.addCollinear(e):i?this.addOutsideTurn(n,e):this.addInsideTurn(n,e)},addLineEndCap:function(t,e){var n=new te(t,e),i=new te;this.computeOffsetSegment(n,Ke.LEFT,this.distance,i);var r=new te;this.computeOffsetSegment(n,Ke.RIGHT,this.distance,r);var o=e.x-t.x,a=e.y-t.y,s=Math.atan2(a,o);switch(this.bufParams.getEndCapStyle()){case Ri.CAP_ROUND:this.segList.addPt(i.p1),this.addFilletArc(e,s+Math.PI/2,s-Math.PI/2,Qt.CLOCKWISE,this.distance),this.segList.addPt(r.p1);break;case Ri.CAP_FLAT:this.segList.addPt(i.p1),this.segList.addPt(r.p1);break;case Ri.CAP_SQUARE:var l=new f;l.x=Math.abs(this.distance)*Math.cos(s),l.y=Math.abs(this.distance)*Math.sin(s);var u=new f(i.p1.x+l.x,i.p1.y+l.y),c=new f(r.p1.x+l.x,r.p1.y+l.y);this.segList.addPt(u),this.segList.addPt(c)}},getCoordinates:function(){return this.segList.getCoordinates()},addMitreJoin:function(t,e,n,i){var r=!0,o=null;try{o=R.intersection(e.p0,e.p1,n.p0,n.p1),(i<=0?1:o.distance(t)/Math.abs(i))>this.bufParams.getMitreLimit()&&(r=!1)}catch(t){if(!(t instanceof L))throw t;o=new f(0,0),r=!1}r?this.segList.addPt(o):this.addLimitedMitreJoin(e,n,i,this.bufParams.getMitreLimit())},addFilletCorner:function(t,e,n,i,r){var o=e.x-t.x,a=e.y-t.y,s=Math.atan2(a,o),l=n.x-t.x,u=n.y-t.y,c=Math.atan2(u,l);i===Qt.CLOCKWISE?s<=c&&(s+=2*Math.PI):s>=c&&(s-=2*Math.PI),this.segList.addPt(e),this.addFilletArc(t,s,c,i,r),this.segList.addPt(n)},addOutsideTurn:function(t,e){return this.offset0.p1.distance(this.offset1.p0)0){var n=new f((this.closingSegLengthFactor*this.offset0.p1.x+this.s1.x)/(this.closingSegLengthFactor+1),(this.closingSegLengthFactor*this.offset0.p1.y+this.s1.y)/(this.closingSegLengthFactor+1));this.segList.addPt(n);var i=new f((this.closingSegLengthFactor*this.offset1.p0.x+this.s1.x)/(this.closingSegLengthFactor+1),(this.closingSegLengthFactor*this.offset1.p0.y+this.s1.y)/(this.closingSegLengthFactor+1));this.segList.addPt(i)}else this.segList.addPt(this.s1);this.segList.addPt(this.offset1.p0)}},createCircle:function(t){var e=new f(t.x+this.distance,t.y);this.segList.addPt(e),this.addFilletArc(t,0,2*Math.PI,-1,this.distance),this.segList.closeRing()},addBevelJoin:function(t,e){this.segList.addPt(t.p1),this.segList.addPt(e.p0)},init:function(t){this.distance=t,this.maxCurveSegmentError=t*(1-Math.cos(this.filletAngleQuantum/2)),this.segList=new Bi,this.segList.setPrecisionModel(this.precisionModel),this.segList.setMinimumVertexDistance(t*$i.CURVE_VERTEX_SNAP_DISTANCE_FACTOR)},addCollinear:function(t){this.li.computeIntersection(this.s0,this.s1,this.s1,this.s2),this.li.getIntersectionNum()>=2&&(this.bufParams.getJoinStyle()===Ri.JOIN_BEVEL||this.bufParams.getJoinStyle()===Ri.JOIN_MITRE?(t&&this.segList.addPt(this.offset0.p1),this.segList.addPt(this.offset1.p0)):this.addFilletCorner(this.s1,this.offset0.p1,this.offset1.p0,Qt.CLOCKWISE,this.distance))},closeRing:function(){this.segList.closeRing()},hasNarrowConcaveAngle:function(){return this._hasNarrowConcaveAngle},interfaces_:function(){return[]},getClass:function(){return $i}}),$i.OFFSET_SEGMENT_SEPARATION_FACTOR=.001,$i.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR=.001,$i.CURVE_VERTEX_SNAP_DISTANCE_FACTOR=1e-6,$i.MAX_CLOSING_SEG_LEN_FACTOR=80,e(Hi.prototype,{getOffsetCurve:function(t,e){if(this.distance=e,0===e)return null;var n=e<0,i=Math.abs(e),r=this.getSegGen(i);t.length<=1?this.computePointCurve(t[0],r):this.computeOffsetCurve(t,n,r);var o=r.getCoordinates();return n&&W.reverse(o),o},computeSingleSidedBufferCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);if(e){n.addSegments(t,!0);var r=Fi.simplify(t,-i),o=r.length-1;n.initSideSegments(r[o],r[o-1],Ke.LEFT),n.addFirstSegment();for(var a=o-2;a>=0;a--)n.addNextSegment(r[a],!0)}else{n.addSegments(t,!1);var s=Fi.simplify(t,i),l=s.length-1;for(n.initSideSegments(s[0],s[1],Ke.LEFT),n.addFirstSegment(),a=2;a<=l;a++)n.addNextSegment(s[a],!0)}n.addLastSegment(),n.closeRing()},computeRingBufferCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);e===Ke.RIGHT&&(i=-i);var r=Fi.simplify(t,i),o=r.length-1;n.initSideSegments(r[o-1],r[0],e);for(var a=1;a<=o;a++){var s=1!==a;n.addNextSegment(r[a],s)}n.closeRing()},computeLineBufferCurve:function(t,e){var n=this.simplifyTolerance(this.distance),i=Fi.simplify(t,n),r=i.length-1;e.initSideSegments(i[0],i[1],Ke.LEFT);for(var o=2;o<=r;o++)e.addNextSegment(i[o],!0);e.addLastSegment(),e.addLineEndCap(i[r-1],i[r]);var a=Fi.simplify(t,-n),s=a.length-1;for(e.initSideSegments(a[s],a[s-1],Ke.LEFT),o=s-2;o>=0;o--)e.addNextSegment(a[o],!0);e.addLastSegment(),e.addLineEndCap(a[1],a[0]),e.closeRing()},computePointCurve:function(t,e){switch(this.bufParams.getEndCapStyle()){case Ri.CAP_ROUND:e.createCircle(t);break;case Ri.CAP_SQUARE:e.createSquare(t)}},getLineCurve:function(t,e){if(this.distance=e,e<0&&!this.bufParams.isSingleSided())return null;if(0===e)return null;var n=Math.abs(e),i=this.getSegGen(n);if(t.length<=1)this.computePointCurve(t[0],i);else if(this.bufParams.isSingleSided()){var r=e<0;this.computeSingleSidedBufferCurve(t,r,i)}else this.computeLineBufferCurve(t,i);return i.getCoordinates()},getBufferParameters:function(){return this.bufParams},simplifyTolerance:function(t){return t*this.bufParams.getSimplifyFactor()},getRingCurve:function(t,e,n){if(this.distance=n,t.length<=2)return this.getLineCurve(t,n);if(0===n)return Hi.copyCoordinates(t);var i=this.getSegGen(n);return this.computeRingBufferCurve(t,e,i),i.getCoordinates()},computeOffsetCurve:function(t,e,n){var i=this.simplifyTolerance(this.distance);if(e){var r=Fi.simplify(t,-i),o=r.length-1;n.initSideSegments(r[o],r[o-1],Ke.LEFT),n.addFirstSegment();for(var a=o-2;a>=0;a--)n.addNextSegment(r[a],!0)}else{var s=Fi.simplify(t,i),l=s.length-1;for(n.initSideSegments(s[0],s[1],Ke.LEFT),n.addFirstSegment(),a=2;a<=l;a++)n.addNextSegment(s[a],!0)}n.addLastSegment()},getSegGen:function(t){return new $i(this.precisionModel,this.bufParams,t)},interfaces_:function(){return[]},getClass:function(){return Hi}}),Hi.copyCoordinates=function(t){for(var e=new Array(t.length).fill(null),n=0;nr.getMaxY()||this.findStabbedSegments(t,i.getDirectedEdges(),e)}return e}if(3===arguments.length)if(M(arguments[2],y)&&arguments[0]instanceof f&&arguments[1]instanceof un){var o=arguments[0],a=arguments[1],s=arguments[2],l=a.getEdge().getCoordinates();for(n=0;nthis.seg.p1.y&&this.seg.reverse();var u=Math.max(this.seg.p0.x,this.seg.p1.x);if(!(uthis.seg.p1.y||Qt.computeOrientation(this.seg.p0,this.seg.p1,o)===Qt.RIGHT)){var c=a.getDepth(Ke.LEFT);this.seg.p0.equals(l[n])||(c=a.getDepth(Ke.RIGHT));var d=new Vi(this.seg,c);s.add(d)}}}else if(M(arguments[2],y)&&arguments[0]instanceof f&&M(arguments[1],y)){var h=arguments[0],p=arguments[1],m=arguments[2];for(n=p.iterator();n.hasNext();){var g=n.next();g.isForward()&&this.findStabbedSegments(h,g,m)}}},getDepth:function(t){var e=this.findStabbedSegments(t);return 0===e.size()?0:Jo.min(e).leftDepth},interfaces_:function(){return[]},getClass:function(){return Ui}}),e(Vi.prototype,{compareTo:function(t){var e=t;if(this.upwardSeg.minX()>=e.upwardSeg.maxX())return 1;if(this.upwardSeg.maxX()<=e.upwardSeg.minX())return-1;var n=this.upwardSeg.orientationIndex(e.upwardSeg);return 0!==n||0!=(n=-1*e.upwardSeg.orientationIndex(this.upwardSeg))?n:this.upwardSeg.compareTo(e.upwardSeg)},compareX:function(t,e){var n=t.p0.compareTo(e.p0);return 0!==n?n:t.p1.compareTo(e.p1)},toString:function(){return this.upwardSeg.toString()},interfaces_:function(){return[o]},getClass:function(){return Vi}}),Ui.DepthSegment=Vi,e(Wi.prototype,{addPoint:function(t){if(this.distance<=0)return null;var e=t.getCoordinates(),n=this.curveBuilder.getLineCurve(e,this.distance);this.addCurve(n,S.EXTERIOR,S.INTERIOR)},addPolygon:function(t){var e=this.distance,n=Ke.LEFT;this.distance<0&&(e=-this.distance,n=Ke.RIGHT);var i=t.getExteriorRing(),r=W.removeRepeatedPoints(i.getCoordinates());if(this.distance<0&&this.isErodedCompletely(i,this.distance))return null;if(this.distance<=0&&r.length<3)return null;this.addPolygonRing(r,e,n,S.EXTERIOR,S.INTERIOR);for(var o=0;o0&&this.isErodedCompletely(a,-this.distance)||this.addPolygonRing(s,e,Ke.opposite(n),S.INTERIOR,S.EXTERIOR)}},isTriangleErodedCompletely:function(t,e){var n=new di(t[0],t[1],t[2]),i=n.inCentre();return Qt.distancePointLine(i,n.p0,n.p1)=Et.MINIMUM_VALID_SIZE&&Qt.isCCW(t)&&(o=r,a=i,n=Ke.opposite(n));var s=this.curveBuilder.getRingCurve(t,n,e);this.addCurve(s,o,a)},add:function(t){if(t.isEmpty())return null;if(t instanceof Mt)this.addPolygon(t);else if(t instanceof kt)this.addLineString(t);else if(t instanceof Lt)this.addPoint(t);else if(t instanceof Tt)this.addCollection(t);else if(t instanceof ft)this.addCollection(t);else if(t instanceof Ot)this.addCollection(t);else{if(!(t instanceof ht))throw new UnsupportedOperationException(t.getClass().getName());this.addCollection(t)}},isErodedCompletely:function(t,e){var n=t.getCoordinates();if(n.length<4)return e<0;if(4===n.length)return this.isTriangleErodedCompletely(n,e);var i=t.getEnvelopeInternal(),r=Math.min(i.getHeight(),i.getWidth());return e<0&&2*Math.abs(e)>r},addCollection:function(t){for(var e=0;ei||this.maxyo;if(a)return!1;var s=this.intersectsToleranceSquare(t,e);return h.isTrue(!(a&&s),"Found bad envelope test"),s},initCorners:function(t){var e=.5;this.minx=t.x-e,this.maxx=t.x+e,this.miny=t.y-e,this.maxy=t.y+e,this.corner[0]=new f(this.maxx,this.maxy),this.corner[1]=new f(this.minx,this.maxy),this.corner[2]=new f(this.minx,this.miny),this.corner[3]=new f(this.maxx,this.miny)},intersects:function(t,e){return 1===this.scaleFactor?this.intersectsScaled(t,e):(this.copyScaled(t,this.p0Scaled),this.copyScaled(e,this.p1Scaled),this.intersectsScaled(this.p0Scaled,this.p1Scaled))},scale:function(t){return Math.round(t*this.scaleFactor)},getCoordinate:function(){return this.originalPt},copyScaled:function(t,e){e.x=this.scale(t.x),e.y=this.scale(t.y)},getSafeEnvelope:function(){if(null===this.safeEnv){var t=Xi.SAFE_ENV_EXPANSION_FACTOR/this.scaleFactor;this.safeEnv=new k(this.originalPt.x-t,this.originalPt.x+t,this.originalPt.y-t,this.originalPt.y+t)}return this.safeEnv},intersectsPixelClosure:function(t,e){return this.li.computeIntersection(t,e,this.corner[0],this.corner[1]),!!(this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[1],this.corner[2]),this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[2],this.corner[3]),this.li.hasIntersection()||(this.li.computeIntersection(t,e,this.corner[3],this.corner[0]),this.li.hasIntersection()))))},intersectsToleranceSquare:function(t,e){var n=!1,i=!1;return this.li.computeIntersection(t,e,this.corner[0],this.corner[1]),!!(this.li.isProper()||(this.li.computeIntersection(t,e,this.corner[1],this.corner[2]),this.li.isProper()||(this.li.hasIntersection()&&(n=!0),this.li.computeIntersection(t,e,this.corner[2],this.corner[3]),this.li.isProper()||(this.li.hasIntersection()&&(i=!0),this.li.computeIntersection(t,e,this.corner[3],this.corner[0]),this.li.isProper()||n&&i||t.equals(this.pt)||e.equals(this.pt)))))},addSnappedNode:function(t,e){var n=t.getCoordinate(e),i=t.getCoordinate(e+1);return!!this.intersects(n,i)&&(t.addIntersection(this.getCoordinate(),e),!0)},interfaces_:function(){return[]},getClass:function(){return Xi}}),Xi.SAFE_ENV_EXPANSION_FACTOR=.75,e(Ji.prototype,{snap:function(){if(1===arguments.length){var t=arguments[0];return this.snap(t,null,-1)}if(3===arguments.length){var e=arguments[0],n=arguments[1],i=arguments[2],r=e.getSafeEnvelope(),o=new Ki(e,n,i);return this.index.query(r,{interfaces_:function(){return[Ce]},visitItem:function(t){t.select(r,o)}}),o.isNodeAdded()}},interfaces_:function(){return[]},getClass:function(){return Ji}}),c(Ki,Kn),e(Ki.prototype,{isNodeAdded:function(){return this._isNodeAdded},select:function(){if(2!==arguments.length)return Kn.prototype.select.apply(this,arguments);var t=arguments[0],e=arguments[1],n=t.getContext();return null!==this.parentEdge&&n===this.parentEdge&&e===this.hotPixelVertexIndex?null:void(this._isNodeAdded=this.hotPixel.addSnappedNode(n,e))},interfaces_:function(){return[]},getClass:function(){return Ki}}),Ji.HotPixelSnapAction=Ki,e(Qi.prototype,{processIntersections:function(t,e,n,i){if(t===n&&e===i)return null;var r=t.getCoordinates()[e],o=t.getCoordinates()[e+1],a=n.getCoordinates()[i],s=n.getCoordinates()[i+1];if(this.li.computeIntersection(r,o,a,s),this.li.hasIntersection()&&this.li.isInteriorIntersection()){for(var l=0;l=0;t--){try{this.bufferReducedPrecision(t)}catch(t){if(!(t instanceof We))throw t;this.saveException=t}if(null!==this.resultGeometry)return null}throw this.saveException}if(1===arguments.length){var e=arguments[0],n=er.precisionScaleFactor(this.argGeom,this.distance,e),i=new Ut(n);this.bufferFixedPrecision(i)}},computeGeometry:function(){if(this.bufferOriginalPrecision(),null!==this.resultGeometry)return null;var t=this.argGeom.getFactory().getPrecisionModel();t.getType()===Ut.FIXED?this.bufferFixedPrecision(t):this.bufferReducedPrecision()},setQuadrantSegments:function(t){this.bufParams.setQuadrantSegments(t)},bufferOriginalPrecision:function(){try{var t=new qi(this.bufParams);this.resultGeometry=t.buffer(this.argGeom,this.distance)}catch(t){if(!(t instanceof u))throw t;this.saveException=t}},getResultGeometry:function(t){return this.distance=t,this.computeGeometry(),this.resultGeometry},setEndCapStyle:function(t){this.bufParams.setEndCapStyle(t)},interfaces_:function(){return[]},getClass:function(){return er}}),er.bufferOp=function(){if(2===arguments.length){var t=arguments[0],e=arguments[1],n=new er(t);return n.getResultGeometry(e)}if(3===arguments.length){if(Number.isInteger(arguments[2])&&arguments[0]instanceof Y&&"number"==typeof arguments[1]){var i=arguments[0],r=arguments[1],o=arguments[2];return(u=new er(i)).setQuadrantSegments(o),u.getResultGeometry(r)}if(arguments[2]instanceof Ri&&arguments[0]instanceof Y&&"number"==typeof arguments[1]){var a=arguments[0],s=arguments[1],l=arguments[2];return(u=new er(a,l)).getResultGeometry(s)}}else if(4===arguments.length){var u,c=arguments[0],d=arguments[1],h=arguments[2],f=arguments[3];return(u=new er(c)).setQuadrantSegments(h),u.setEndCapStyle(f),u.getResultGeometry(d)}},er.precisionScaleFactor=function(t,e,n){var i=t.getEnvelopeInternal(),r=T.max(Math.abs(i.getMaxX()),Math.abs(i.getMaxY()),Math.abs(i.getMinX()),Math.abs(i.getMinY()))+2*(e>0?e:0),o=n-Math.trunc(Math.log(r)/Math.log(10)+1);return Math.pow(10,o)},er.CAP_ROUND=Ri.CAP_ROUND,er.CAP_BUTT=Ri.CAP_FLAT,er.CAP_FLAT=Ri.CAP_FLAT,er.CAP_SQUARE=Ri.CAP_SQUARE,er.MAX_PRECISION_DIGITS=12;var ca=Object.freeze({BufferOp:er,BufferParameters:Ri});e(nr.prototype,{filter:function(t){t instanceof Mt&&this.comps.add(t)},interfaces_:function(){return[ct]},getClass:function(){return nr}}),nr.getPolygons=function(){if(1===arguments.length){var t=arguments[0];return nr.getPolygons(t,new w)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof Mt?n.add(e):e instanceof ht&&e.apply(new nr(n)),n}},e(ir.prototype,{isInsideArea:function(){return this.segIndex===ir.INSIDE_AREA},getCoordinate:function(){return this.pt},getGeometryComponent:function(){return this.component},getSegmentIndex:function(){return this.segIndex},interfaces_:function(){return[]},getClass:function(){return ir}}),ir.INSIDE_AREA=-1,e(rr.prototype,{filter:function(t){t instanceof Lt&&this.pts.add(t)},interfaces_:function(){return[ct]},getClass:function(){return rr}}),rr.getPoints=function(){if(1===arguments.length){var t=arguments[0];return t instanceof Lt?Jo.singletonList(t):rr.getPoints(t,new w)}if(2===arguments.length){var e=arguments[0],n=arguments[1];return e instanceof Lt?n.add(e):e instanceof ht&&e.apply(new rr(n)),n}},e(or.prototype,{filter:function(t){(t instanceof Lt||t instanceof kt||t instanceof Mt)&&this.locations.add(new ir(t,0,t.getCoordinate()))},interfaces_:function(){return[ct]},getClass:function(){return or}}),or.getLocations=function(t){var e=new w;return t.apply(new or(e)),e},e(ar.prototype,{computeContainmentDistance:function(){if(0===arguments.length){var t=new Array(2).fill(null);if(this.computeContainmentDistance(0,t),this.minDistance<=this.terminateDistance)return null;this.computeContainmentDistance(1,t)}else if(2===arguments.length){var e=arguments[0],n=arguments[1],i=1-e,r=nr.getPolygons(this.geom[e]);if(r.size()>0){var o=or.getLocations(this.geom[i]);if(this.computeContainmentDistance(o,r,n),this.minDistance<=this.terminateDistance)return this.minDistanceLocation[i]=n[0],this.minDistanceLocation[e]=n[1],null}}else if(3===arguments.length)if(arguments[2]instanceof Array&&M(arguments[0],y)&&M(arguments[1],y)){for(var a=arguments[0],s=arguments[1],l=arguments[2],u=0;uthis.minDistance)return null;for(var i=t.getCoordinates(),r=e.getCoordinate(),o=0;othis.minDistance)return null;i=l.getCoordinates();var d=u.getCoordinates();for(o=0;ot&&W.reverse(this.coordinates)}return this.coordinates},toLineString:function(){return this.factory.createLineString(this.getCoordinates())},add:function(t){this.directedEdges.add(t)},interfaces_:function(){return[]},getClass:function(){return sr}}),e(lr.prototype,{setVisited:function(t){this._isVisited=t},isMarked:function(){return this._isMarked},setData:function(t){this.data=t},getData:function(){return this.data},setMarked:function(t){this._isMarked=t},getContext:function(){return this.data},isVisited:function(){return this._isVisited},setContext:function(t){this.data=t},interfaces_:function(){return[]},getClass:function(){return lr}}),lr.getComponentWithVisitedState=function(t,e){for(;t.hasNext();){var n=t.next();if(n.isVisited()===e)return n}return null},lr.setVisited=function(t,e){for(;t.hasNext();)t.next().setVisited(e)},lr.setMarked=function(t,e){for(;t.hasNext();)t.next().setMarked(e)},c(ur,lr),e(ur.prototype,{isRemoved:function(){return null===this.parentEdge},compareDirection:function(t){return this.quadrant>t.quadrant?1:this.quadrant=t.getNumPoints()&&null===i)return null;var o=t.getCoordinate(r);null!==i&&i.segmentIndex===n.segmentIndex&&(o=i.coord);var a=new ln(t,n.coord,o,new tn(t.getLabel()));e.add(a)},createEdgeEndForPrev:function(t,e,n,i){var r=n.segmentIndex;if(0===n.dist){if(0===r)return null;r--}var o=t.getCoordinate(r);null!==i&&i.segmentIndex>=r&&(o=i.coord);var a=new tn(t.getLabel());a.flip();var s=new ln(t,n.coord,o,a);e.add(s)},computeEdgeEnds:function(){if(1===arguments.length){for(var t=arguments[0],e=new w,n=t;n.hasNext();){var i=n.next();this.computeEdgeEnds(i,e)}return e}if(2===arguments.length){var r=arguments[0],o=arguments[1],a=r.getEdgeIntersectionList();a.addEndpoints();var s=a.iterator(),l=null,u=null;if(!s.hasNext())return null;var c=s.next();do{l=u,u=c,c=null,s.hasNext()&&(c=s.next()),null!==u&&(this.createEdgeEndForPrev(r,o,u,l),this.createEdgeEndForNext(r,o,u,c))}while(null!==u)}},interfaces_:function(){return[]},getClass:function(){return xr}}),c(kr,ln),e(kr.prototype,{insert:function(t){this.edgeEnds.add(t)},print:function(t){t.println("EdgeEndBundle--\x3e Label: "+this.label);for(var e=this.iterator();e.hasNext();)e.next().print(t),t.println()},iterator:function(){return this.edgeEnds.iterator()},getEdgeEnds:function(){return this.edgeEnds},computeLabelOn:function(t,e){for(var n=0,i=!1,r=this.iterator();r.hasNext();)(o=r.next().getLabel().getLocation(t))===S.BOUNDARY&&n++,o===S.INTERIOR&&(i=!0);var o=S.NONE;i&&(o=S.INTERIOR),n>0&&(o=Bn.determineBoundary(e,n)),this.label.setLocation(t,o)},computeLabelSide:function(t,e){for(var n=this.iterator();n.hasNext();){var i=n.next();if(i.getLabel().isArea()){var r=i.getLabel().getLocation(t,e);if(r===S.INTERIOR)return this.label.setLocation(t,e,S.INTERIOR),null;r===S.EXTERIOR&&this.label.setLocation(t,e,S.EXTERIOR)}}},getLabel:function(){return this.label},computeLabelSides:function(t){this.computeLabelSide(t,Ke.LEFT),this.computeLabelSide(t,Ke.RIGHT)},updateIM:function(t){Fn.updateIM(this.label,t)},computeLabel:function(t){for(var e=!1,n=this.iterator();n.hasNext();)n.next().getLabel().isArea()&&(e=!0);this.label=e?new tn(S.NONE,S.NONE,S.NONE):new tn(S.NONE);for(var i=0;i<2;i++)this.computeLabelOn(i,t),e&&this.computeLabelSides(i)},interfaces_:function(){return[]},getClass:function(){return kr}}),c(Cr,vn),e(Cr.prototype,{updateIM:function(t){for(var e=this.iterator();e.hasNext();)e.next().updateIM(t)},insert:function(t){var e=this.edgeMap.get(t);null===e?(e=new kr(t),this.insertEdgeEnd(t,e)):e.insert(t)},interfaces_:function(){return[]},getClass:function(){return Cr}}),c(Lr,an),e(Lr.prototype,{updateIMFromEdges:function(t){this.edges.updateIM(t)},computeIM:function(t){t.setAtLeastIfValid(this.label.getLocation(0),this.label.getLocation(1),0)},interfaces_:function(){return[]},getClass:function(){return Lr}}),c(Sr,cn),e(Sr.prototype,{createNode:function(t){return new Lr(t,new Cr)},interfaces_:function(){return[]},getClass:function(){return Sr}}),e(Mr.prototype,{insertEdgeEnds:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.nodes.add(n)}},getNodeIterator:function(){return this.nodes.iterator()},copyNodesAndLabels:function(t,e){for(var n=t.getNodeIterator();n.hasNext();){var i=n.next();this.nodes.addNode(i.getCoordinate()).setLabel(e,i.getLabel().getLocation(e))}},build:function(t){this.computeIntersectionNodes(t,0),this.copyNodesAndLabels(t,0);var e=(new xr).computeEdgeEnds(t.getEdgeIterator());this.insertEdgeEnds(e)},computeIntersectionNodes:function(t,e){for(var n=t.getEdgeIterator();n.hasNext();)for(var i=n.next(),r=i.getLabel().getLocation(e),o=i.getEdgeIntersectionList().iterator();o.hasNext();){var a=o.next(),s=this.nodes.addNode(a.coord);r===S.BOUNDARY?s.setLabelBoundary(e):s.getLabel().isNull(e)&&s.setLabel(e,S.INTERIOR)}},interfaces_:function(){return[]},getClass:function(){return Mr}}),e(Tr.prototype,{isNodeEdgeAreaLabelsConsistent:function(){for(var t=this.nodeGraph.getNodeIterator();t.hasNext();){var e=t.next();if(!e.getEdges().isAreaLabelsConsistent(this.geomGraph))return this.invalidPoint=e.getCoordinate().copy(),!1}return!0},getInvalidPoint:function(){return this.invalidPoint},hasDuplicateRings:function(){for(var t=this.nodeGraph.getNodeIterator();t.hasNext();)for(var e=t.next().getEdges().iterator();e.hasNext();){var n=e.next();if(n.getEdgeEnds().size()>1)return this.invalidPoint=n.getEdge().getCoordinate(0),!0}return!1},isNodeConsistentArea:function(){var t=this.geomGraph.computeSelfNodes(this.li,!0,!0);return t.hasProperIntersection()?(this.invalidPoint=t.getProperIntersectionPoint(),!1):(this.nodeGraph.build(this.geomGraph),this.isNodeEdgeAreaLabelsConsistent())},interfaces_:function(){return[]},getClass:function(){return Tr}}),e(Er.prototype,{buildIndex:function(){this.index=new Oe;for(var t=0;t=1&&(e=t.getCoordinateN(0)),this.validErr=new Or(Or.RING_NOT_CLOSED,e)}},checkShellsNotNested:function(t,e){for(var n=0;n=0;i--)n.add(t[i],!1)},Dr.findEdgeRingContaining=function(t,e){for(var n=t.getRing(),i=n.getEnvelopeInternal(),r=n.getCoordinateN(0),o=null,a=null,s=e.iterator();s.hasNext();){var l=s.next(),u=l.getRing(),c=u.getEnvelopeInternal();if(!c.equals(i)&&c.contains(i)){r=W.ptNotInList(n.getCoordinates(),u.getCoordinates());var d=!1;Qt.isPointInRing(r,u.getCoordinates())&&(d=!0),d&&(null===o||a.contains(c))&&(a=(o=l).getRing().getEnvelopeInternal())}}return o},e(Ar.prototype,{compare:function(t,e){var n=e;return t.getRing().getEnvelope().compareTo(n.getRing().getEnvelope())},interfaces_:function(){return[s]},getClass:function(){return Ar}}),Dr.EnvelopeComparator=Ar,c(Ir,gr),e(Ir.prototype,{findEdgeRing:function(t){var e=new Dr(this.factory);return e.build(t),e},computeDepthParity:function(){if(0===arguments.length)for(;;){var t=null;if(null===t)return null;this.computeDepthParity(t)}},computeNextCWEdges:function(){for(var t=this.nodeIterator();t.hasNext();){var e=t.next();Ir.computeNextCWEdges(e)}},addEdge:function(t){if(t.isEmpty())return null;var e=W.removeRepeatedPoints(t.getCoordinates());if(e.length<2)return null;var n=e[0],i=e[e.length-1],r=this.getNode(n),o=this.getNode(i),a=new _r(r,o,e[1],!0),s=new _r(o,r,e[e.length-2],!1),l=new br(t);l.setDirectedEdges(a,s),this.add(l)},deleteCutEdges:function(){this.computeNextCWEdges(),Ir.findLabeledEdgeRings(this.dirEdges);for(var t=new w,e=this.dirEdges.iterator();e.hasNext();){var n=e.next();if(!n.isMarked()){var i=n.getSym();if(n.getLabel()===i.getLabel()){n.setMarked(!0),i.setMarked(!0);var r=n.getEdge();t.add(r.getLine())}}}return t},getEdgeRings:function(){this.computeNextCWEdges(),Ir.label(this.dirEdges,-1);var t=Ir.findLabeledEdgeRings(this.dirEdges);this.convertMaximalToMinimalEdgeRings(t);for(var e=new w,n=this.dirEdges.iterator();n.hasNext();){var i=n.next();if(!i.isMarked()&&!i.isInRing()){var r=this.findEdgeRing(i);e.add(r)}}return e},getNode:function(t){var e=this.findNode(t);return null===e&&(e=new fr(t),this.add(e)),e},convertMaximalToMinimalEdgeRings:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getLabel(),r=Ir.findIntersectionNodes(n,i);if(null!==r)for(var o=r.iterator();o.hasNext();){var a=o.next();Ir.computeNextCCWEdges(a,i)}}},deleteDangles:function(){for(var t=this.findNodesOfDegree(1),e=new K,n=new re,i=t.iterator();i.hasNext();)n.push(i.next());for(;!n.isEmpty();){var r=n.pop();for(Ir.deleteAllEdges(r),i=r.getOutEdges().getEdges().iterator();i.hasNext();){var o=i.next();o.setMarked(!0);var a=o.getSym();null!==a&&a.setMarked(!0);var s=o.getEdge();e.add(s.getLine());var l=o.getToNode();1===Ir.getDegreeNonDeleted(l)&&n.push(l)}}return e},interfaces_:function(){return[]},getClass:function(){return Ir}}),Ir.findLabeledEdgeRings=function(t){for(var e=new w,n=1,i=t.iterator();i.hasNext();){var r=i.next();if(!(r.isMarked()||r.getLabel()>=0)){e.add(r);var o=Dr.findDirEdgesInRing(r);Ir.label(o,n),n++}}return e},Ir.getDegreeNonDeleted=function(t){for(var e=0,n=t.getOutEdges().getEdges().iterator();n.hasNext();)n.next().isMarked()||e++;return e},Ir.deleteAllEdges=function(t){for(var e=t.getOutEdges().getEdges().iterator();e.hasNext();){var n=e.next();n.setMarked(!0);var i=n.getSym();null!==i&&i.setMarked(!0)}},Ir.label=function(t,e){for(var n=t.iterator();n.hasNext();)n.next().setLabel(e)},Ir.computeNextCWEdges=function(t){for(var e=null,n=null,i=t.getOutEdges().getEdges().iterator();i.hasNext();){var r=i.next();r.isMarked()||(null===e&&(e=r),null!==n&&n.getSym().setNext(r),n=r)}null!==n&&n.getSym().setNext(e)},Ir.computeNextCCWEdges=function(t,e){for(var n=null,i=null,r=t.getOutEdges().getEdges(),o=r.size()-1;o>=0;o--){var a=r.get(o),s=a.getSym(),l=null;a.getLabel()===e&&(l=a);var u=null;s.getLabel()===e&&(u=s),null===l&&null===u||(null!==u&&(i=u),null!==l&&(null!==i&&(i.setNext(l),i=null),null===n&&(n=l)))}null!==i&&(h.isTrue(null!==n),i.setNext(n))},Ir.getDegree=function(t,e){for(var n=0,i=t.getOutEdges().getEdges().iterator();i.hasNext();)i.next().getLabel()===e&&n++;return n},Ir.findIntersectionNodes=function(t,e){var n=t,i=null;do{var r=n.getFromNode();Ir.getDegree(r,e)>1&&(null===i&&(i=new w),i.add(r)),n=n.getNext(),h.isTrue(null!==n,"found null DE in ring"),h.isTrue(n===t||!n.isInRing(),"found DE already in ring")}while(n!==t);return i},e(Nr.prototype,{getGeometry:function(){return null===this.geomFactory&&(this.geomFactory=new Wt),this.polygonize(),this.extractOnlyPolygonal?this.geomFactory.buildGeometry(this.polyList):this.geomFactory.createGeometryCollection(Wt.toGeometryArray(this.polyList))},getInvalidRingLines:function(){return this.polygonize(),this.invalidRingLines},findValidRings:function(t,e,n){for(var i=t.iterator();i.hasNext();){var r=i.next();r.isValid()?e.add(r):n.add(r.getLineString())}},polygonize:function(){if(null!==this.polyList)return null;if(this.polyList=new w,null===this.graph)return null;this.dangles=this.graph.deleteDangles(),this.cutEdges=this.graph.deleteCutEdges();var t=this.graph.getEdgeRings(),e=new w;this.invalidRingLines=new w,this.isCheckingRingsValid?this.findValidRings(t,e,this.invalidRingLines):e=t,this.findShellsAndHoles(e),Nr.assignHolesToShells(this.holeList,this.shellList),Jo.sort(this.shellList,new Dr.EnvelopeComparator);var n=!0;this.extractOnlyPolygonal&&(Nr.findDisjointShells(this.shellList),n=!1),this.polyList=Nr.extractPolygons(this.shellList,n)},getDangles:function(){return this.polygonize(),this.dangles},getCutEdges:function(){return this.polygonize(),this.cutEdges},getPolygons:function(){return this.polygonize(),this.polyList},add:function(){if(M(arguments[0],g))for(var t=arguments[0],e=t.iterator();e.hasNext();){var n=e.next();this.add(n)}else if(arguments[0]instanceof kt){var i=arguments[0];this.geomFactory=i.getFactory(),null===this.graph&&(this.graph=new Ir(this.geomFactory)),this.graph.addEdge(i)}else if(arguments[0]instanceof Y){var r=arguments[0];r.apply(this.lineStringAdder)}},setCheckRingsValid:function(t){this.isCheckingRingsValid=t},findShellsAndHoles:function(t){this.holeList=new w,this.shellList=new w;for(var e=t.iterator();e.hasNext();){var n=e.next();n.computeHole(),n.isHole()?this.holeList.add(n):this.shellList.add(n)}},interfaces_:function(){return[]},getClass:function(){return Nr}}),Nr.findOuterShells=function(t){for(var e=t.iterator();e.hasNext();){var n=e.next(),i=n.getOuterHole();null===i||i.isProcessed()||(n.setIncluded(!0),i.setProcessed(!0))}},Nr.extractPolygons=function(t,e){for(var n=new w,i=t.iterator();i.hasNext();){var r=i.next();(e||r.isIncluded())&&n.add(r.getPolygon())}return n},Nr.assignHolesToShells=function(t,e){for(var n=t.iterator();n.hasNext();){var i=n.next();Nr.assignHoleToShell(i,e)}},Nr.assignHoleToShell=function(t,e){var n=Dr.findEdgeRingContaining(t,e);null!==n&&n.addHole(t)},Nr.findDisjointShells=function(t){Nr.findOuterShells(t);var e=null;do{e=!1;for(var n=t.iterator();n.hasNext();){var i=n.next();i.isIncludedSet()||(i.updateIncluded(),i.isIncludedSet()||(e=!0))}}while(e)},e(Rr.prototype,{filter:function(t){t instanceof kt&&this.p.add(t)},interfaces_:function(){return[z]},getClass:function(){return Rr}}),Nr.LineStringAdder=Rr;var pa=Object.freeze({Polygonizer:Nr});e(jr.prototype,{insertEdgeEnds:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();this.nodes.add(n)}},computeProperIntersectionIM:function(t,e){var n=this.arg[0].getGeometry().getDimension(),i=this.arg[1].getGeometry().getDimension(),r=t.hasProperIntersection(),o=t.hasProperInteriorIntersection();2===n&&2===i?r&&e.setAtLeast("212101212"):2===n&&1===i?(r&&e.setAtLeast("FFF0FFFF2"),o&&e.setAtLeast("1FFFFF1FF")):1===n&&2===i?(r&&e.setAtLeast("F0FFFFFF2"),o&&e.setAtLeast("1F1FFFFFF")):1===n&&1===i&&o&&e.setAtLeast("0FFFFFFFF")},labelIsolatedEdges:function(t,e){for(var n=this.arg[t].getEdgeIterator();n.hasNext();){var i=n.next();i.isIsolated()&&(this.labelIsolatedEdge(i,e,this.arg[e].getGeometry()),this.isolatedEdges.add(i))}},labelIsolatedEdge:function(t,e,n){if(n.getDimension()>0){var i=this.ptLocator.locate(t.getCoordinate(),n);t.getLabel().setAllLocations(e,i)}else t.getLabel().setAllLocations(e,S.EXTERIOR)},computeIM:function(){var t=new ee;if(t.set(S.EXTERIOR,S.EXTERIOR,2),!this.arg[0].getGeometry().getEnvelopeInternal().intersects(this.arg[1].getGeometry().getEnvelopeInternal()))return this.computeDisjointIM(t),t;this.arg[0].computeSelfNodes(this.li,!1),this.arg[1].computeSelfNodes(this.li,!1);var e=this.arg[0].computeEdgeIntersections(this.arg[1],this.li,!1);this.computeIntersectionNodes(0),this.computeIntersectionNodes(1),this.copyNodesAndLabels(0),this.copyNodesAndLabels(1),this.labelIsolatedNodes(),this.computeProperIntersectionIM(e,t);var n=new xr,i=n.computeEdgeEnds(this.arg[0].getEdgeIterator());this.insertEdgeEnds(i);var r=n.computeEdgeEnds(this.arg[1].getEdgeIterator());return this.insertEdgeEnds(r),this.labelNodeEdges(),this.labelIsolatedEdges(0,1),this.labelIsolatedEdges(1,0),this.updateIM(t),t},labelNodeEdges:function(){for(var t=this.nodes.iterator();t.hasNext();)t.next().getEdges().computeLabelling(this.arg)},copyNodesAndLabels:function(t){for(var e=this.arg[t].getNodeIterator();e.hasNext();){var n=e.next();this.nodes.addNode(n.getCoordinate()).setLabel(t,n.getLabel().getLocation(t))}},labelIntersectionNodes:function(t){for(var e=this.arg[t].getEdgeIterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.getEdgeIntersectionList().iterator();r.hasNext();){var o=r.next(),a=this.nodes.find(o.coord);a.getLabel().isNull(t)&&(i===S.BOUNDARY?a.setLabelBoundary(t):a.setLabel(t,S.INTERIOR))}},labelIsolatedNode:function(t,e){var n=this.ptLocator.locate(t.getCoordinate(),this.arg[e].getGeometry());t.getLabel().setAllLocations(e,n)},computeIntersectionNodes:function(t){for(var e=this.arg[t].getEdgeIterator();e.hasNext();)for(var n=e.next(),i=n.getLabel().getLocation(t),r=n.getEdgeIntersectionList().iterator();r.hasNext();){var o=r.next(),a=this.nodes.addNode(o.coord);i===S.BOUNDARY?a.setLabelBoundary(t):a.getLabel().isNull(t)&&a.setLabel(t,S.INTERIOR)}},labelIsolatedNodes:function(){for(var t=this.nodes.iterator();t.hasNext();){var e=t.next(),n=e.getLabel();h.isTrue(n.getGeometryCount()>0,"node with empty label found"),e.isIsolated()&&(n.isNull(0)?this.labelIsolatedNode(e,0):this.labelIsolatedNode(e,1))}},updateIM:function(t){for(var e=this.isolatedEdges.iterator();e.hasNext();)e.next().updateIM(t);for(var n=this.nodes.iterator();n.hasNext();){var i=n.next();i.updateIM(t),i.updateIMFromEdges(t)}},computeDisjointIM:function(t){var e=this.arg[0].getGeometry();e.isEmpty()||(t.set(S.INTERIOR,S.EXTERIOR,e.getDimension()),t.set(S.BOUNDARY,S.EXTERIOR,e.getBoundaryDimension()));var n=this.arg[1].getGeometry();n.isEmpty()||(t.set(S.EXTERIOR,S.INTERIOR,n.getDimension()),t.set(S.EXTERIOR,S.BOUNDARY,n.getBoundaryDimension()))},interfaces_:function(){return[]},getClass:function(){return jr}}),e(zr.prototype,{isContainedInBoundary:function(t){if(t instanceof Mt)return!1;if(t instanceof Lt)return this.isPointContainedInBoundary(t);if(t instanceof kt)return this.isLineStringContainedInBoundary(t);for(var e=0;e0){var i=t;t=e,e=i}var r=!1;return e.y>t.y&&(r=!0),r?this.li.computeIntersection(t,e,this.diagDown0,this.diagDown1):this.li.computeIntersection(t,e,this.diagUp0,this.diagUp1),!!this.li.hasIntersection()},interfaces_:function(){return[]},getClass:function(){return Yr}}),e(Fr.prototype,{applyTo:function(t){for(var e=0;e=this.rectEnv.getMinX()&&e.getMaxX()<=this.rectEnv.getMaxX()||e.getMinY()>=this.rectEnv.getMinY()&&e.getMaxY()<=this.rectEnv.getMaxY()?(this._intersects=!0,null):void 0:null},intersects:function(){return this._intersects},interfaces_:function(){return[]},getClass:function(){return $r}}),c(Hr,Fr),e(Hr.prototype,{isDone:function(){return!0===this._containsPoint},visit:function(t){if(!(t instanceof Mt))return null;var e=t.getEnvelopeInternal();if(!this.rectEnv.intersects(e))return null;for(var n=new f,i=0;i<4;i++)if(this.rectSeq.getCoordinate(i,n),e.contains(n)&&gn.containsPointInPolygon(n,t))return this._containsPoint=!0,null},containsPoint:function(){return this._containsPoint},interfaces_:function(){return[]},getClass:function(){return Hr}}),c(Ur,Fr),e(Ur.prototype,{intersects:function(){return this.hasIntersection},isDone:function(){return!0===this.hasIntersection},visit:function(t){var e=t.getEnvelopeInternal();if(!this.rectEnv.intersects(e))return null;var n=On.getLines(t);this.checkIntersectionWithLineStrings(n)},checkIntersectionWithLineStrings:function(t){for(var e=t.iterator();e.hasNext();){var n=e.next();if(this.checkIntersectionWithSegments(n),this.hasIntersection)return null}},checkIntersectionWithSegments:function(t){for(var e=t.getCoordinateSequence(),n=1;n=t.size()?null:t.get(e)},Zr.union=function(t){return new Zr(t).union()},Zr.STRTREE_NODE_CAPACITY=4,e(Xr.prototype,{unionNoOpt:function(t){var e=this.geomFact.createPoint();return Gn.overlayOp(t,e,Vn.UNION)},unionWithNull:function(t,e){return null===t&&null===e?null:null===e?t:null===t?e:t.union(e)},extract:function(){if(M(arguments[0],g))for(var t=arguments[0],e=t.iterator();e.hasNext();){var n=e.next();this.extract(n)}else if(arguments[0]instanceof Y){var i=arguments[0];null===this.geomFact&&(this.geomFact=i.getFactory()),qr.extract(i,Y.SORTINDEX_POLYGON,this.polygons),qr.extract(i,Y.SORTINDEX_LINESTRING,this.lines),qr.extract(i,Y.SORTINDEX_POINT,this.points)}},union:function(){if(null===this.geomFact)return null;var t=null;if(this.points.size()>0){var e=this.geomFact.buildGeometry(this.points);t=this.unionNoOpt(e)}var n=null;if(this.lines.size()>0){var i=this.geomFact.buildGeometry(this.lines);n=this.unionNoOpt(i)}var r=null;this.polygons.size()>0&&(r=Zr.union(this.polygons));var o=this.unionWithNull(n,r),a=null;return a=null===t?o:null===o?t:Gr.union(t,o),null===a?this.geomFact.createGeometryCollection():a},interfaces_:function(){return[]},getClass:function(){return Xr}}),Xr.union=function(){if(1===arguments.length){if(M(arguments[0],g)){var t=arguments[0];return new Xr(t).union()}if(arguments[0]instanceof Y){var e=arguments[0];return new Xr(e).union()}}else if(2===arguments.length){var n=arguments[0],i=arguments[1];return new Xr(n,i).union()}};var ga=Object.freeze({UnaryUnionOp:Xr}),va=Object.freeze({IsValidOp:Pr,ConsistentAreaTester:Tr}),ya=Object.freeze({BoundaryOp:pt,IsSimpleOp:Ii,buffer:ca,distance:da,linemerge:ha,overlay:fa,polygonize:pa,relate:ma,union:ga,valid:va});c(Jr,Pt.CoordinateOperation),e(Jr.prototype,{editCoordinates:function(t,e){if(0===t.length)return null;for(var n=new Array(t.length).fill(null),i=0;i=2&&(n=!0),e.edit(t,new Jr(this.targetPM,n))},changePM:function(t,e){return this.createEditor(t.getFactory(),e).edit(t,new Pt.NoOpGeometryOperation)},setRemoveCollapsedComponents:function(t){this.removeCollapsed=t},createFactory:function(t,e){return new Wt(e,t.getSRID(),t.getCoordinateSequenceFactory())},setChangePrecisionModel:function(t){this.changePrecisionModel=t},reduce:function(t){var e=this.reducePointwise(t);return this.isPointwise?e:M(e,St)?e.isValid()?e:this.fixPolygonalTopology(e):e},setPointwise:function(t){this.isPointwise=t},createEditor:function(t,e){return t.getPrecisionModel()===e?new Pt:new Pt(this.createFactory(t,e))},interfaces_:function(){return[]},getClass:function(){return Kr}}),Kr.reduce=function(t,e){return new Kr(e).reduce(t)},Kr.reducePointwise=function(t,e){var n=new Kr(e);return n.setPointwise(!0),n.reduce(t)};var _a=Object.freeze({GeometryPrecisionReducer:Kr});e(Qr.prototype,{simplifySection:function(t,e){if(t+1===e)return null;this.seg.p0=this.pts[t],this.seg.p1=this.pts[e];for(var n=-1,i=t,r=t+1;rn&&(n=o,i=r)}if(n<=this.distanceTolerance)for(r=t+1;rthis.distanceTolerance&&(o=!1);var l=new te;if(l.p0=this.linePts[t],l.p1=this.linePts[e],i[0]=t,i[1]=e,this.hasBadIntersection(this.line,i,l)&&(o=!1),o)return r=this.flatten(t,e),this.line.addToResult(r),null;this.simplifySection(t,s,n),this.simplifySection(s,e,n)},hasBadOutputIntersection:function(t){for(var e=this.outputIndex.query(t).iterator();e.hasNext();){var n=e.next();if(this.hasInteriorIntersection(n,t))return!0}return!1},findFurthestPoint:function(t,e,n,i){var r=new te;r.p0=t[e],r.p1=t[n];for(var o=-1,a=e,s=e+1;so&&(o=u,a=s)}return i[0]=o,a},simplify:function(t){this.line=t,this.linePts=t.getParentCoordinates(),this.simplifySection(0,this.linePts.length-1,0)},remove:function(t,e,n){for(var i=e;i=e[0]&&ii&&(a=i),r.setMinimumLength(a),r.splitAt(o),r.getSplitPoint()},interfaces_:function(){return[fo]},getClass:function(){return po}}),po.projectedSplitPoint=function(t,e){return t.getLineSegment().project(e)},e(mo.prototype,{interfaces_:function(){return[]},getClass:function(){return mo}}),mo.triArea=function(t,e,n){return(e.x-t.x)*(n.y-t.y)-(e.y-t.y)*(n.x-t.x)},mo.isInCircleDDNormalized=function(t,e,n,i){var r=D.valueOf(t.x).selfSubtract(i.x),o=D.valueOf(t.y).selfSubtract(i.y),a=D.valueOf(e.x).selfSubtract(i.x),s=D.valueOf(e.y).selfSubtract(i.y),l=D.valueOf(n.x).selfSubtract(i.x),u=D.valueOf(n.y).selfSubtract(i.y),c=r.multiply(s).selfSubtract(a.multiply(o)),d=a.multiply(u).selfSubtract(l.multiply(s)),h=l.multiply(o).selfSubtract(r.multiply(u)),f=r.multiply(r).selfAdd(o.multiply(o)),p=a.multiply(a).selfAdd(s.multiply(s)),m=l.multiply(l).selfAdd(u.multiply(u));return f.selfMultiply(d).selfAdd(p.selfMultiply(h)).selfAdd(m.selfMultiply(c)).doubleValue()>0},mo.checkRobustInCircle=function(t,e,n,i){var r=mo.isInCircleNonRobust(t,e,n,i),o=mo.isInCircleDDSlow(t,e,n,i),a=mo.isInCircleCC(t,e,n,i),s=di.circumcentre(t,e,n);N.out.println("p radius diff a = "+Math.abs(i.distance(s)-t.distance(s))/t.distance(s)),r===o&&r===a||(N.out.println("inCircle robustness failure (double result = "+r+", DD result = "+o+", CC result = "+a+")"),N.out.println(qt.toLineString(new Rt([t,e,n,i]))),N.out.println("Circumcentre = "+qt.toPoint(s)+" radius = "+t.distance(s)),N.out.println("p radius diff a = "+Math.abs(i.distance(s)/t.distance(s)-1)),N.out.println("p radius diff b = "+Math.abs(i.distance(s)/e.distance(s)-1)),N.out.println("p radius diff c = "+Math.abs(i.distance(s)/n.distance(s)-1)),N.out.println())},mo.isInCircleDDFast=function(t,e,n,i){var r=D.sqr(t.x).selfAdd(D.sqr(t.y)).selfMultiply(mo.triAreaDDFast(e,n,i)),o=D.sqr(e.x).selfAdd(D.sqr(e.y)).selfMultiply(mo.triAreaDDFast(t,n,i)),a=D.sqr(n.x).selfAdd(D.sqr(n.y)).selfMultiply(mo.triAreaDDFast(t,e,i)),s=D.sqr(i.x).selfAdd(D.sqr(i.y)).selfMultiply(mo.triAreaDDFast(t,e,n));return r.selfSubtract(o).selfAdd(a).selfSubtract(s).doubleValue()>0},mo.isInCircleCC=function(t,e,n,i){var r=di.circumcentre(t,e,n),o=t.distance(r);return i.distance(r)-o<=0},mo.isInCircleNormalized=function(t,e,n,i){var r=t.x-i.x,o=t.y-i.y,a=e.x-i.x,s=e.y-i.y,l=n.x-i.x,u=n.y-i.y;return(r*r+o*o)*(a*u-l*s)+(a*a+s*s)*(l*o-r*u)+(l*l+u*u)*(r*s-a*o)>0},mo.isInCircleDDSlow=function(t,e,n,i){var r=D.valueOf(i.x),o=D.valueOf(i.y),a=D.valueOf(t.x),s=D.valueOf(t.y),l=D.valueOf(e.x),u=D.valueOf(e.y),c=D.valueOf(n.x),d=D.valueOf(n.y),h=a.multiply(a).add(s.multiply(s)).multiply(mo.triAreaDDSlow(l,u,c,d,r,o)),f=l.multiply(l).add(u.multiply(u)).multiply(mo.triAreaDDSlow(a,s,c,d,r,o)),p=c.multiply(c).add(d.multiply(d)).multiply(mo.triAreaDDSlow(a,s,l,u,r,o)),m=r.multiply(r).add(o.multiply(o)).multiply(mo.triAreaDDSlow(a,s,l,u,c,d));return h.subtract(f).add(p).subtract(m).doubleValue()>0},mo.isInCircleNonRobust=function(t,e,n,i){return(t.x*t.x+t.y*t.y)*mo.triArea(e,n,i)-(e.x*e.x+e.y*e.y)*mo.triArea(t,n,i)+(n.x*n.x+n.y*n.y)*mo.triArea(t,e,i)-(i.x*i.x+i.y*i.y)*mo.triArea(t,e,n)>0},mo.isInCircleRobust=function(t,e,n,i){return mo.isInCircleNormalized(t,e,n,i)},mo.triAreaDDSlow=function(t,e,n,i,r,o){return n.subtract(t).multiply(o.subtract(e)).subtract(i.subtract(e).multiply(r.subtract(t)))},mo.triAreaDDFast=function(t,e,n){var i=D.valueOf(e.x).selfSubtract(t.x).selfMultiply(D.valueOf(n.y).selfSubtract(t.y)),r=D.valueOf(e.y).selfSubtract(t.y).selfMultiply(D.valueOf(n.x).selfSubtract(t.x));return i.selfSubtract(r)},e(go.prototype,{circleCenter:function(t,e){var n,i=new go(this.getX(),this.getY()),r=new R(this.bisector(i,t),this.bisector(t,e)),o=null;try{o=new go(r.getX(),r.getY())}catch(n){if(!(n instanceof L))throw n;N.err.println("a: "+i+" b: "+t+" c: "+e),N.err.println(n)}return o},dot:function(t){return this.p.x*t.getX()+this.p.y*t.getY()},magn:function(){return Math.sqrt(this.p.x*this.p.x+this.p.y*this.p.y)},getZ:function(){return this.p.z},bisector:function(t,e){var n=e.getX()-t.getX(),i=e.getY()-t.getY(),r=new R(t.getX()+n/2,t.getY()+i/2,1),o=new R(t.getX()-i+n/2,t.getY()+n+i/2,1);return new R(r,o)},equals:function(){if(1===arguments.length){var t=arguments[0];return this.p.x===t.getX()&&this.p.y===t.getY()}if(2===arguments.length){var e=arguments[0],n=arguments[1];return this.p.distance(e.getCoordinate())0},getX:function(){return this.p.x},crossProduct:function(t){return this.p.x*t.getY()-this.p.y*t.getX()},setZ:function(t){this.p.z=t},times:function(t){return new go(t*this.p.x,t*this.p.y)},cross:function(){return new go(this.p.y,-this.p.x)},leftOf:function(t){return this.isCCW(t.orig(),t.dest())},toString:function(){return"POINT ("+this.p.x+" "+this.p.y+")"},sub:function(t){return new go(this.p.x-t.getX(),this.p.y-t.getY())},getY:function(){return this.p.y},classify:function(t,e){var n=this,i=e.sub(t),r=n.sub(t),o=i.crossProduct(r);return o>0?go.LEFT:o<0?go.RIGHT:i.getX()*r.getX()<0||i.getY()*r.getY()<0?go.BEHIND:i.magn()i?10*n:10*i,this.frameVertex[0]=new go((t.getMaxX()+t.getMinX())/2,t.getMaxY()+e),this.frameVertex[1]=new go(t.getMinX()-e,t.getMinY()-e),this.frameVertex[2]=new go(t.getMaxX()+e,t.getMinY()-e),this.frameEnv=new k(this.frameVertex[0].getCoordinate(),this.frameVertex[1].getCoordinate()),this.frameEnv.expandToInclude(this.frameVertex[2].getCoordinate())},getTriangleCoordinates:function(t){var e=new To;return this.visitTriangles(e,t),e.getTriangles()},getVertices:function(t){for(var e=new K,n=this.quadEdges.iterator();n.hasNext();){var i=n.next(),r=i.orig();!t&&this.isFrameVertex(r)||e.add(r);var o=i.dest();!t&&this.isFrameVertex(o)||e.add(o)}return e},fetchTriangleToVisit:function(t,e,n,i){var r=t,o=0,a=!1;do{this.triEdges[o]=r,this.isFrameEdge(r)&&(a=!0);var s=r.sym();i.contains(s)||e.push(s),i.add(r),o++,r=r.lNext()}while(r!==t);return a&&!n?null:this.triEdges},getEdges:function(){if(0===arguments.length)return this.quadEdges;if(1===arguments.length){for(var t=arguments[0],e=this.getPrimaryEdges(!1),n=new Array(e.size()).fill(null),i=0,r=e.iterator();r.hasNext();){var o=r.next();n[i++]=t.createLineString([o.orig().getCoordinate(),o.dest().getCoordinate()])}return t.createMultiLineString(n)}},getVertexUniqueEdges:function(t){for(var e=new w,n=new K,i=this.quadEdges.iterator();i.hasNext();){var r=i.next(),o=r.orig();n.contains(o)||(n.add(o),!t&&this.isFrameVertex(o)||e.add(r));var a=r.sym(),s=a.orig();n.contains(s)||(n.add(s),!t&&this.isFrameVertex(s)||e.add(a))}return e},getTriangleEdges:function(t){var e=new So;return this.visitTriangles(e,t),e.getTriangleEdges()},getPrimaryEdges:function(t){this.visitedKey++;var e=new w,n=new re;n.push(this.startingEdge);for(var i=new K;!n.empty();){var r=n.pop();if(!i.contains(r)){var o=r.getPrimary();!t&&this.isFrameEdge(o)||e.add(o),n.push(r.oNext()),n.push(r.sym().oNext()),i.add(r),i.add(r.sym())}}return e},delete:function(t){yo.splice(t,t.oPrev()),yo.splice(t.sym(),t.sym().oPrev());var e=t.sym(),n=t.rot(),i=t.rot().sym();this.quadEdges.remove(t),this.quadEdges.remove(e),this.quadEdges.remove(n),this.quadEdges.remove(i),t.delete(),e.delete(),n.delete(),i.delete()},locateFromEdge:function(t,e){for(var n=0,i=this.quadEdges.size(),r=e;;){if(++n>i)throw new xo(r.toLineSegment());if(t.equals(r.orig())||t.equals(r.dest()))break;if(t.rightOf(r))r=r.sym();else if(t.rightOf(r.oNext())){if(t.rightOf(r.dPrev()))break;r=r.dPrev()}else r=r.oNext()}return r},getTolerance:function(){return this.tolerance},getVoronoiCellPolygons:function(t){this.visitTriangles(new Lo,!0);for(var e=new w,n=this.getVertexUniqueEdges(!1).iterator();n.hasNext();){var i=n.next();e.add(this.getVoronoiCellPolygon(i,t))}return e},getVoronoiDiagram:function(t){var e=this.getVoronoiCellPolygons(t);return t.createGeometryCollection(Wt.toGeometryArray(e))},getTriangles:function(t){for(var e=this.getTriangleCoordinates(!1),n=new Array(e.size()).fill(null),i=0,r=e.iterator();r.hasNext();){var o=r.next();n[i++]=t.createPolygon(t.createLinearRing(o),null)}return t.createGeometryCollection(n)},insertSite:function(t){var e=this.locate(t);if(t.equals(e.orig(),this.tolerance)||t.equals(e.dest(),this.tolerance))return e;var n=this.makeEdge(e.orig(),t);yo.splice(n,e);var i=n;do{e=(n=this.connect(e,n.sym())).oPrev()}while(e.lNext()!==i);return i},locate:function(){if(1===arguments.length){if(arguments[0]instanceof go){var t=arguments[0];return this.locator.locate(t)}if(arguments[0]instanceof f){var e=arguments[0];return this.locator.locate(new go(e))}}else if(2===arguments.length){var n=arguments[0],i=arguments[1],r=this.locator.locate(new go(n));if(null===r)return null;var o=r;r.dest().getCoordinate().equals2D(n)&&(o=r.sym());var a=o;do{if(a.dest().getCoordinate().equals2D(i))return a;a=a.oNext()}while(a!==o);return null}},interfaces_:function(){return[]},getClass:function(){return Co}}),Co.getTriangleEdges=function(t,e){if(e[0]=t,e[1]=e[0].lNext(),e[2]=e[1].lNext(),e[2].lNext()!==e[0])throw new i("Edges do not form a triangle")},e(Lo.prototype,{visit:function(t){for(var e=t[0].orig().getCoordinate(),n=t[1].orig().getCoordinate(),i=t[2].orig().getCoordinate(),r=new go(di.circumcentre(e,n,i)),o=0;o<3;o++)t[o].rot().setOrig(r)},interfaces_:function(){return[ko]},getClass:function(){return Lo}}),e(So.prototype,{getTriangleEdges:function(){return this.triList},visit:function(t){this.triList.add(t.clone())},interfaces_:function(){return[ko]},getClass:function(){return So}}),e(Mo.prototype,{visit:function(t){this.triList.add([t[0].orig(),t[1].orig(),t[2].orig()])},getTriangleVertices:function(){return this.triList},interfaces_:function(){return[ko]},getClass:function(){return Mo}}),e(To.prototype,{checkTriangleSize:function(t){t.length>=2?qt.toLineString(t[0],t[1]):t.length>=1&&qt.toPoint(t[0])},visit:function(t){this.coordList.clear();for(var e=0;e<3;e++){var n=t[e].orig();this.coordList.add(n.getCoordinate())}if(this.coordList.size()>0){this.coordList.closeRing();var i=this.coordList.toCoordinateArray();if(4!==i.length)return null;this.triCoords.add(i)}},getTriangles:function(){return this.triCoords},interfaces_:function(){return[ko]},getClass:function(){return To}}),Co.TriangleCircumcentreVisitor=Lo,Co.TriangleEdgesListVisitor=So,Co.TriangleVertexListVisitor=Mo,Co.TriangleCoordinatesVisitor=To,Co.EDGE_COINCIDENCE_TOL_FACTOR=1e3,e(Eo.prototype,{getLineSegment:function(){return this.ls},getEndZ:function(){return this.ls.getCoordinate(1).z},getStartZ:function(){return this.ls.getCoordinate(0).z},intersection:function(t){return this.ls.intersection(t.getLineSegment())},getStart:function(){return this.ls.getCoordinate(0)},getEnd:function(){return this.ls.getCoordinate(1)},getEndY:function(){return this.ls.getCoordinate(1).y},getStartX:function(){return this.ls.getCoordinate(0).x},equalsTopo:function(t){return this.ls.equalsTopo(t.getLineSegment())},getStartY:function(){return this.ls.getCoordinate(0).y},setData:function(t){this.data=t},getData:function(){return this.data},getEndX:function(){return this.ls.getCoordinate(1).x},toString:function(){return this.ls.toString()},interfaces_:function(){return[]},getClass:function(){return Eo}}),e(Oo.prototype,{visit:function(t){},interfaces_:function(){return[]},getClass:function(){return Oo}}),e(Po.prototype,{isRepeated:function(){return this.count>1},getRight:function(){return this.right},getCoordinate:function(){return this.p},setLeft:function(t){this.left=t},getX:function(){return this.p.x},getData:function(){return this.data},getCount:function(){return this.count},getLeft:function(){return this.left},getY:function(){return this.p.y},increment:function(){this.count=this.count+1},setRight:function(t){this.right=t},interfaces_:function(){return[]},getClass:function(){return Po}}),e(Do.prototype,{insert:function(){if(1===arguments.length){var t=arguments[0];return this.insert(t,null)}if(2===arguments.length){var e=arguments[0],n=arguments[1];if(null===this.root)return this.root=new Po(e,n),this.root;if(this.tolerance>0){var i=this.findBestMatchNode(e);if(null!==i)return i.increment(),i}return this.insertExact(e,n)}},query:function(){var t=arguments,e=this;if(1===arguments.length){var n=arguments[0],i=new w;return this.query(n,i),i}if(2===arguments.length)if(arguments[0]instanceof k&&M(arguments[1],y))!function(){var n=t[0],i=t[1];e.queryNode(e.root,n,!0,{interfaces_:function(){return[Oo]},visit:function(t){i.add(t)}})}();else if(arguments[0]instanceof k&&M(arguments[1],Oo)){var r=arguments[0],o=arguments[1];this.queryNode(this.root,r,!0,o)}},queryNode:function(t,e,n,i){if(null===t)return null;var r=null,o=null,a=null;n?(r=e.getMinX(),o=e.getMaxX(),a=t.getX()):(r=e.getMinY(),o=e.getMaxY(),a=t.getY());var s=a<=o;r0&&te)&&ar.isWithinDistance(this,t,e)},distance:function(t){return ar.distance(this,t)},isEquivalentClass:function(t){return this.getClass()===t.getClass()}}),t.version="1.3.0 (6e65adb)",t.algorithm=Ko,t.densify=Qo,t.dissolve=ta,t.geom=Xo,t.geomgraph=ea,t.index=ra,t.io=la,t.noding=ua,t.operation=ya,t.precision=_a,t.simplify=ba,t.triangulate=xa,Object.defineProperty(t,"__esModule",{value:!0})}))},{}],29:[function(t,e,n){var i=t("@turf/meta").coordEach,r=t("@turf/centroid"),o=t("@turf/convex"),a=t("@turf/explode"),s=t("@turf/helpers").point;e.exports=function(t){if("Feature"===t.type&&"Polygon"===t.geometry.type){var n=[];i(t,(function(t){n.push(t)}));var l,u,c,d,h,f,p,m,g=r(t),v=g.geometry.coordinates,y=0,_=0,b=0,w=n.map((function(t){return[t[0]-v[0],t[1]-v[1]]}));for(l=0;l=3){for(var a=[],s=0;s0)-(t<0)},n.abs=function(t){var e=t>>31;return(t^e)-e},n.min=function(t,e){return e^(t^e)&-(t65535)<<4,e|=n=((t>>>=e)>255)<<3,e|=n=((t>>>=n)>15)<<2,(e|=n=((t>>>=n)>3)<<1)|(t>>>=n)>>1},n.log10=function(t){return t>=1e9?9:t>=1e8?8:t>=1e7?7:t>=1e6?6:t>=1e5?5:t>=1e4?4:t>=1e3?3:t>=100?2:t>=10?1:0},n.popCount=function(t){return 16843009*((t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135)>>>24},n.countTrailingZeros=i,n.nextPow2=function(t){return t+=0===t,--t,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,1+(t|=t>>>16)},n.prevPow2=function(t){return t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,(t|=t>>>16)-(t>>>1)},n.parity=function(t){return t^=t>>>16,t^=t>>>8,t^=t>>>4,27030>>>(t&=15)&1};var r=new Array(256);!function(t){for(var e=0;e<256;++e){var n=e,i=e,r=7;for(n>>>=1;n;n>>>=1)i<<=1,i|=1&n,--r;t[e]=i<>>8&255]<<16|r[t>>>16&255]<<8|r[t>>>24&255]},n.interleave2=function(t,e){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t&=65535)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e&=65535)|e<<8))|e<<4))|e<<2))|e<<1))<<1},n.deinterleave2=function(t,e){return(t=65535&((t=16711935&((t=252645135&((t=858993459&((t=t>>>e&1431655765)|t>>>1))|t>>>2))|t>>>4))|t>>>16))<<16>>16},n.interleave3=function(t,e,n){return t=1227133513&((t=3272356035&((t=251719695&((t=4278190335&((t&=1023)|t<<16))|t<<8))|t<<4))|t<<2),(t|=(e=1227133513&((e=3272356035&((e=251719695&((e=4278190335&((e&=1023)|e<<16))|e<<8))|e<<4))|e<<2))<<1)|(n=1227133513&((n=3272356035&((n=251719695&((n=4278190335&((n&=1023)|n<<16))|n<<8))|n<<4))|n<<2))<<2},n.deinterleave3=function(t,e){return(t=1023&((t=4278190335&((t=251719695&((t=3272356035&((t=t>>>e&1227133513)|t>>>2))|t>>>4))|t>>>8))|t>>>16))<<22>>22},n.nextCombination=function(t){var e=t|t-1;return e+1|(~e&-~e)-1>>>i(t)+1}},{}],38:[function(t,e,n){"use strict";var i=t("./lib/ch1d"),r=t("./lib/ch2d"),o=t("./lib/chnd");e.exports=function(t){var e=t.length;if(0===e)return[];if(1===e)return[[0]];var n=t[0].length;return 0===n?[]:1===n?i(t):2===n?r(t):o(t,n)}},{"./lib/ch1d":39,"./lib/ch2d":40,"./lib/chnd":41}],39:[function(t,e,n){"use strict";e.exports=function(t){for(var e=0,n=0,i=1;it[n][0]&&(n=i);return en?[[n],[e]]:[[e]]}},{}],40:[function(t,e,n){"use strict";e.exports=function(t){var e=i(t),n=e.length;if(n<=2)return[];for(var r=new Array(n),o=e[n-1],a=0;a=e[l]&&(s+=1);o[a]=s}}return t}(i(o,!0),n)}};var i=t("incremental-convex-hull"),r=t("affine-hull")},{"affine-hull":36,"incremental-convex-hull":42}],42:[function(t,e,n){"use strict";e.exports=function(t,e){var n=t.length;if(0===n)throw new Error("Must have at least d+1 points");var r=t[0].length;if(n<=r)throw new Error("Must input at least d+1 points");var a=t.slice(0,r+1),s=i.apply(void 0,a);if(0===s)throw new Error("Input not in general position");for(var l=new Array(r+1),c=0;c<=r;++c)l[c]=c;s<0&&(l[0]=1,l[1]=0);var d=new o(l,new Array(r+1),!1),h=d.adjacent,f=new Array(r+2);for(c=0;c<=r;++c){for(var p=l.slice(),m=0;m<=r;++m)m===c&&(p[m]=-1);var g=p[0];p[0]=p[1],p[1]=g;var v=new o(p,new Array(r+1),!0);h[c]=v,f[c]=v}for(f[r+1]=d,c=0;c<=r;++c){p=h[c].vertices;var y=h[c].adjacent;for(m=0;m<=r;++m){var _=p[m];if(_<0)y[m]=d;else for(var b=0;b<=r;++b)h[b].vertices.indexOf(_)<0&&(y[m]=h[b])}}var w=new u(r,a,f),x=!!e;for(c=r+1;c0&&e.push(","),e.push("tuple[",n,"]");e.push(")}return orient");var r=new Function("test",e.join("")),o=i[t+1];return o||(o=i),r(o)}(t)),this.orient=o}var c=u.prototype;c.handleBoundaryDegeneracy=function(t,e){var n=this.dimension,i=this.vertices.length-1,r=this.tuple,o=this.vertices,a=[t];for(t.lastVisited=-i;a.length>0;){(t=a.pop()).vertices;for(var s=t.adjacent,l=0;l<=n;++l){var u=s[l];if(u.boundary&&!(u.lastVisited<=-i)){for(var c=u.vertices,d=0;d<=n;++d){var h=c[d];r[d]=h<0?e:o[h]}var f=this.orient();if(f>0)return u;u.lastVisited=-i,0===f&&a.push(u)}}}return null},c.walk=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,o=this.tuple,a=e?this.interior.length*Math.random()|0:this.interior.length-1,s=this.interior[a];t:for(;!s.boundary;){for(var l=s.vertices,u=s.adjacent,c=0;c<=i;++c)o[c]=r[l[c]];for(s.lastVisited=n,c=0;c<=i;++c){var d=u[c];if(!(d.lastVisited>=n)){var h=o[c];o[c]=t;var f=this.orient();if(o[c]=h,f<0){s=d;continue t}d.boundary?d.lastVisited=-n:d.lastVisited=n}}return}return s},c.addPeaks=function(t,e){var n=this.vertices.length-1,i=this.dimension,r=this.vertices,l=this.tuple,u=this.interior,c=this.simplices,d=[e];e.lastVisited=n,e.vertices[e.vertices.indexOf(-1)]=n,e.boundary=!1,u.push(e);for(var h=[];d.length>0;){var f=(e=d.pop()).vertices,p=e.adjacent,m=f.indexOf(n);if(!(m<0))for(var g=0;g<=i;++g)if(g!==m){var v=p[g];if(v.boundary&&!(v.lastVisited>=n)){var y=v.vertices;if(v.lastVisited!==-n){for(var _=0,b=0;b<=i;++b)y[b]<0?(_=b,l[b]=t):l[b]=r[y[b]];if(this.orient()>0){y[_]=n,v.boundary=!1,u.push(v),d.push(v),v.lastVisited=n;continue}v.lastVisited=-n}var w=v.adjacent,x=f.slice(),k=p.slice(),C=new o(x,k,!0);c.push(C);var L=w.indexOf(e);if(!(L<0))for(w[L]=C,k[m]=v,x[g]=-1,k[g]=e,p[g]=C,C.flip(),b=0;b<=i;++b){var S=x[b];if(!(S<0||S===n)){for(var M=new Array(i-1),T=0,E=0;E<=i;++E){var O=x[E];O<0||E===b||(M[T++]=O)}h.push(new a(M,C,b))}}}}}for(h.sort(s),g=0;g+1=0?a[l++]=s[c]:u=1&c;if(u===(1&t)){var d=a[0];a[0]=a[1],a[1]=d}e.push(a)}}return e}},{"robust-orientation":44,"simplicial-complex":48}],43:[function(t,e,n){"use strict";e.exports=function(t){var e=t.length;if(e<3){for(var n=new Array(e),r=0;r1&&i(t[a[c-2]],t[a[c-1]],u)<=0;)c-=1,a.pop();for(a.push(l),c=s.length;c>1&&i(t[s[c-2]],t[s[c-1]],u)>=0;)c-=1,s.pop();s.push(l)}n=new Array(s.length+a.length-2);for(var d=0,h=(r=0,a.length);r0;--f)n[d++]=s[f];return n};var i=t("robust-orientation")[3]},{"robust-orientation":44}],44:[function(t,e,n){"use strict";var i=t("two-product"),r=t("robust-sum"),o=t("robust-scale"),a=t("robust-subtract");function s(t,e){for(var n=new Array(t.length-1),i=1;i>1;return["sum(",l(t.slice(0,e)),",",l(t.slice(e)),")"].join("")}function u(t){if(2===t.length)return[["sum(prod(",t[0][0],",",t[1][1],"),prod(-",t[0][1],",",t[1][0],"))"].join("")];for(var e=[],n=0;n0){if(o<=0)return a;i=r+o}else{if(!(r<0))return a;if(o>=0)return a;i=-(r+o)}var s=33306690738754716e-32*i;return a>=s||a<=-s?a:d(t,e,n)},function(t,e,n,i){var r=t[0]-i[0],o=e[0]-i[0],a=n[0]-i[0],s=t[1]-i[1],l=e[1]-i[1],u=n[1]-i[1],c=t[2]-i[2],d=e[2]-i[2],f=n[2]-i[2],p=o*u,m=a*l,g=a*s,v=r*u,y=r*l,_=o*s,b=c*(p-m)+d*(g-v)+f*(y-_),w=7771561172376103e-31*((Math.abs(p)+Math.abs(m))*Math.abs(c)+(Math.abs(g)+Math.abs(v))*Math.abs(d)+(Math.abs(y)+Math.abs(_))*Math.abs(f));return b>w||-b>w?b:h(t,e,n,i)}];function p(t){var e=f[t.length];return e||(e=f[t.length]=c(t.length)),e.apply(void 0,t)}!function(){for(;f.length<=5;)f.push(c(f.length));for(var t=[],n=["slow"],i=0;i<=5;++i)t.push("a"+i),n.push("o"+i);var r=["function getOrientation(",t.join(),"){switch(arguments.length){case 0:case 1:return 0;"];for(i=2;i<=5;++i)r.push("case ",i,":return o",i,"(",t.slice(0,i).join(),");");r.push("}var s=new Array(arguments.length);for(var i=0;i=i?(r=d,(l+=1)=i?(r=d,(l+=1)>1,s=o(t[a],e);s<=0?(0===s&&(r=a),n=a+1):s>0&&(i=a-1)}return r}function c(t,e){for(var n=new Array(t.length),r=0,a=n.length;r=t.length||0!==o(t[g],s)););}return n}function d(t,e){if(e<0)return[];for(var n=[],r=(1<>>c&1&&u.push(r[c]);e.push(u)}return s(e)},n.skeleton=d,n.boundary=function(t){for(var e=[],n=0,i=t.length;nt[1]!=u>t[1]&&t[0]<(l-a)*(t[1]-s)/(u-s)+a&&(i=!i)}return i}e.exports=function(t,e){var n=i.getCoord(t),o=e.geometry.coordinates;"Polygon"===e.geometry.type&&(o=[o]);for(var a=0,s=!1;ae?1:0}e.exports=function t(e,n,o,a,s){for(o=o||0,a=a||e.length-1,s=s||r;a>o;){if(a-o>600){var l=a-o+1,u=n-o+1,c=Math.log(l),d=.5*Math.exp(2*c/3),h=.5*Math.sqrt(c*d*(l-d)/l)*(u-l/2<0?-1:1),f=Math.max(o,Math.floor(n-u*d/l+h)),p=Math.min(a,Math.floor(n+(l-u)*d/l+h));t(e,n,f,p,s)}var m=e[n],g=o,v=a;for(i(e,o,n),s(e[a],m)>0&&i(e,o,a);g0;)v--}0===s(e[o],m)?i(e,o,v):(v++,i(e,v,a)),v<=n&&(o=v+1),n<=v&&(a=v-1)}}},{}],75:[function(t,e,n){"use strict";e.exports=r;var i=t("quickselect");function r(t,e){if(!(this instanceof r))return new r(t,e);this._maxEntries=Math.max(4,t||9),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),e&&this._initFormat(e),this.clear()}function o(t,e,n){if(!n)return e.indexOf(t);for(var i=0;i=t.minX&&e.maxY>=t.minY}function m(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(t,e,n,r,o){for(var a,s=[e,n];s.length;)(n=s.pop())-(e=s.pop())<=r||(a=e+Math.ceil((n-e)/r/2)*r,i(t,a,e,n,o),s.push(e,a,a,n))}r.prototype={all:function(){return this._all(this.data,[])},search:function(t){var e=this.data,n=[],i=this.toBBox;if(!p(t,e))return n;for(var r,o,a,s,l=[];e;){for(r=0,o=e.children.length;r=0&&o[e].children.length>this._maxEntries;)this._split(o,e),e--;this._adjustParentBBoxes(r,o,e)},_split:function(t,e){var n=t[e],i=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,i);var o=this._chooseSplitIndex(n,r,i),s=m(n.children.splice(o,n.children.length-o));s.height=n.height,s.leaf=n.leaf,a(n,this.toBBox),a(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},_splitRoot:function(t,e){this.data=m([t,e]),this.data.height=t.height+1,this.data.leaf=!1,a(this.data,this.toBBox)},_chooseSplitIndex:function(t,e,n){var i,r,o,a,l,u,c,h,f,p,m,g,v,y;for(u=c=1/0,i=e;i<=n-e;i++)r=s(t,0,i,this.toBBox),o=s(t,i,n,this.toBBox),f=r,p=o,m=void 0,g=void 0,v=void 0,y=void 0,m=Math.max(f.minX,p.minX),g=Math.max(f.minY,p.minY),v=Math.min(f.maxX,p.maxX),y=Math.min(f.maxY,p.maxY),a=Math.max(0,v-m)*Math.max(0,y-g),l=d(r)+d(o),a=e;r--)o=t.children[r],l(c,t.leaf?a(o):o),d+=h(c);return d},_adjustParentBBoxes:function(t,e,n){for(var i=n;i>=0;i--)l(e[i],t)},_condense:function(t){for(var e,n=t.length-1;n>=0;n--)0===t[n].children.length?n>0?(e=t[n-1].children).splice(e.indexOf(t[n]),1):this.clear():a(t[n],this.toBBox)},_initFormat:function(t){var e=["return a"," - b",";"];this.compareMinX=new Function("a","b",e.join(t[0])),this.compareMinY=new Function("a","b",e.join(t[1])),this.toBBox=new Function("a","return {minX: a"+t[0]+", minY: a"+t[1]+", maxX: a"+t[2]+", maxY: a"+t[3]+"};")}}},{quickselect:74}],76:[function(t,e,n){var i=t("@turf/meta");e.exports=function(t){var e={MultiPoint:{coordinates:[],properties:[]},MultiLineString:{coordinates:[],properties:[]},MultiPolygon:{coordinates:[],properties:[]}},n=Object.keys(e).reduce((function(t,e){return t[e.replace("Multi","")]=e,t}),{});function r(t,n,i){i?e[n].coordinates=e[n].coordinates.concat(t.geometry.coordinates):e[n].coordinates.push(t.geometry.coordinates),e[n].properties.push(t.properties)}return i.featureEach(t,(function(t){t.geometry&&(e[t.geometry.type]?r(t,t.geometry.type,!0):n[t.geometry.type]&&r(t,n[t.geometry.type],!1))})),{type:"FeatureCollection",features:Object.keys(e).filter((function(t){return e[t].coordinates.length})).sort().map((function(t){return{type:"Feature",properties:{collectedProperties:e[t].properties},geometry:{type:t,coordinates:e[t].coordinates}}}))}}},{"@turf/meta":77}],77:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],78:[function(t,e,n){var i=t("@turf/tin"),r=t("@turf/union"),o=t("@turf/distance");e.exports=function(t,e,n){if("number"!=typeof e)throw new Error("maxEdge parameter is required");var a=i(t),s=a.features.filter((function(t){var i=t.geometry.coordinates[0][0],r=t.geometry.coordinates[0][1],a=t.geometry.coordinates[0][2],s=o(i,r,n),l=o(r,a,n),u=o(i,a,n);return s<=e&&l<=e&&u<=e}));if(a.features=s,a.features.length<1)throw new Error("too few polygons found to compute concave hull");return function(t){for(var e=JSON.parse(JSON.stringify(t.features[0])),n=t.features,i=0,o=n.length;ip&&(p=t[c].y);var m,g=h-d,v=p-f,y=g>v?g:v,_=.5*(h+d),b=.5*(p+f),w=[new o({x:_-20*y,y:b-y,__sentinel:!0},{x:_,y:b+20*y,__sentinel:!0},{x:_+20*y,y:b-y,__sentinel:!0})],x=[],k=[];for(c=t.length;c--;){for(k.length=0,m=w.length;m--;)(g=t[c].x-w[m].x)>0&&g*g>w[m].r?(x.push(w[m]),w.splice(m,1)):(v=t[c].y-w[m].y,g*g+v*v>w[m].r||(k.push(w[m].a,w[m].b,w[m].b,w[m].c,w[m].c,w[m].a),w.splice(m,1)));for(s(k),m=k.length;m;)n=k[--m],e=k[--m],i=t[c],r=n.x-e.x,l=n.y-e.y,u=2*(r*(i.y-n.y)-l*(i.x-n.x)),Math.abs(u)>1e-12&&w.push(new o(e,n,i))}for(Array.prototype.push.apply(x,w),c=x.length;c--;)(x[c].a.__sentinel||x[c].b.__sentinel||x[c].c.__sentinel)&&x.splice(c,1);return x}(t.features.map((function(t){var n={x:t.geometry.coordinates[0],y:t.geometry.coordinates[1]};return e&&(n.z=t.properties[e]),n}))).map((function(t){return i([[[t.a.x,t.a.y],[t.b.x,t.b.y],[t.c.x,t.c.y],[t.a.x,t.a.y]]],{a:t.a.z,b:t.b.z,c:t.c.z})})))}},{"@turf/helpers":83}],83:[function(t,e,n){arguments[4][6][0].apply(n,arguments)},{dup:6}],84:[function(t,e,n){var i=t("jsts");e.exports=function(){for(var t=new i.io.GeoJSONReader,e=t.read(JSON.stringify(arguments[0].geometry)),n=1;n0&&0!==k)if(k>n[n.length-1])k-=n.length;else{var C=u.greaterNumber(k,n);0!==C&&(k-=C)}if(k!==g){var L=t.features[k];if(void 0===l(e)||L.properties[e]===v.properties[e]){var S=r(v,L);if(!S){var M=JSON.stringify(v),T=JSON.stringify(L),E=c(JSON.parse(M)),O=c(JSON.parse(T));S=s.lineStringsIntersect(E.geometry,O.geometry)}S&&(t.features[g]=i(v,L),n.push(b[x].origIndexPosition),n.sort((function(t,e){return t-e})),h.remove(b[x]),t.features.splice(k,1),_.origIndexPosition=g,h.remove(_,(function(t,e){return t.origIndexPosition===e.origIndexPosition})),w=!0)}}}if(w){var P=o(v);h.insert({minX:P[0],minY:P[1],maxX:P[2],maxY:P[3],origIndexPosition:g}),g--}}return t}},{"@turf/bbox":111,"@turf/union":113,"geojson-utils":115,"get-closest":116,rbush:118,"turf-overlaps":120}],111:[function(t,e,n){arguments[4][18][0].apply(n,arguments)},{"@turf/meta":112,dup:18}],112:[function(t,e,n){arguments[4][14][0].apply(n,arguments)},{dup:14}],113:[function(t,e,n){arguments[4][84][0].apply(n,arguments)},{dup:84,jsts:114}],114:[function(t,e,n){arguments[4][28][0].apply(n,arguments)},{dup:28}],115:[function(t,e,n){!function(){var t=this.gju={};function n(t){for(var e=[],n=[],i=0;ie!=i[o][0]>e&&t<(i[o][1]-i[r][1])*(e-i[r][0])/(i[o][0]-i[r][0])+i[r][1]&&(a=!a);return a}void 0!==e&&e.exports&&(e.exports=t),t.lineStringsIntersect=function(t,e){for(var n=[],i=0;i<=t.coordinates.length-2;++i)for(var r=0;r<=e.coordinates.length-2;++r){var o={x:t.coordinates[i][1],y:t.coordinates[i][0]},a={x:t.coordinates[i+1][1],y:t.coordinates[i+1][0]},s={x:e.coordinates[r][1],y:e.coordinates[r][0]},l={x:e.coordinates[r+1][1],y:e.coordinates[r+1][0]},u=(l.y-s.y)*(a.x-o.x)-(l.x-s.x)*(a.y-o.y);if(0!=u){var c=((l.x-s.x)*(o.y-s.y)-(l.y-s.y)*(o.x-s.x))/u,d=((a.x-o.x)*(o.y-s.y)-(a.y-o.y)*(o.x-s.x))/u;0<=c&&c<=1&&0<=d&&d<=1&&n.push({type:"Point",coordinates:[o.x+c*(a.x-o.x),o.y+c*(a.y-o.y)]})}}return 0==n.length&&(n=!1),n},t.pointInBoundingBox=function(t,e){return!(t.coordinates[1]e[1][0]||t.coordinates[0]e[1][1])},t.pointInPolygon=function(e,r){for(var o="Polygon"==r.type?[r.coordinates]:r.coordinates,a=!1,s=0;si)return!1}return!0},t.area=function(t){for(var e=0,n=t.coordinates[0],i=n.length-1,r=0;r0;)if(o=x[i-1],a=k[i-1],i--,a-o>1){for(d=t[a].lng()-t[o].lng(),h=t[a].lat()-t[o].lat(),Math.abs(d)>180&&(d=360-Math.abs(d)),f=(d*=Math.cos(b*(t[a].lat()+t[o].lat())))*d+h*h,L=o+1,s=o,u=-1;L180&&(p=360-Math.abs(p)),g=(p*=Math.cos(b*(t[L].lat()+t[o].lat())))*p+m*m,v=t[L].lng()-t[a].lng(),y=t[L].lat()-t[a].lat(),Math.abs(v)>180&&(v=360-Math.abs(v)),(l=g>=f+(_=(v*=Math.cos(b*(t[L].lat()+t[a].lat())))*v+y*y)?_:_>=f+g?g:(p*h-m*d)*(p*h-m*d)/f)>u&&(s=L,u=l);u